UNPKG

1.05 kBSource Map (JSON)View Raw
1{"version":3,"file":"IRawStyle.js","sourceRoot":"../src/","sources":["IRawStyle.ts"],"names":[],"mappings":"","sourcesContent":["import { IRawStyleBase } from './IRawStyleBase';\nimport { IStyle } from './IStyle';\n\n/**\n * IRawStyle extends a raw style object, but allows selectors to be defined\n * under the selectors node.\n * @public\n * {@docCategory IRawStyle}\n */\n\nexport interface IRawStyle extends IRawStyleBase {\n /**\n * Allow css variables, strings, objects. While we should have more strict typing\n * here, partners are broken in many unpredictable cases where typescript can't infer\n * the right typing. Loosening the typing to both allow for css variables and other things.\n */\n [key: string]: any;\n\n /**\n * Display name for the style.\n */\n displayName?: string;\n\n /**\n * @deprecated - The selectors wrapper is no longer required. You may add selectors as siblings to other\n * style properties, like most css-in-js libraries support.\n */\n selectors?: {\n [key: string]: IStyle;\n };\n}\n"]}
\No newline at end of file