1 | ## API Report File for "@uifabric/merge-styles"
|
2 |
|
3 | > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
4 |
|
5 | ```ts
|
6 |
|
7 | // @public
|
8 | export function concatStyleSets<TStyleSet>(styleSet: TStyleSet | false | null | undefined): IConcatenatedStyleSet<ObjectOnly<TStyleSet>>;
|
9 |
|
10 | // @public
|
11 | export function concatStyleSets<TStyleSet1, TStyleSet2>(styleSet1: TStyleSet1 | false | null | undefined, styleSet2: TStyleSet2 | false | null | undefined): IConcatenatedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2>>;
|
12 |
|
13 | // @public
|
14 | export function concatStyleSets<TStyleSet1, TStyleSet2, TStyleSet3>(styleSet1: TStyleSet1 | false | null | undefined, styleSet2: TStyleSet2 | false | null | undefined, styleSet3: TStyleSet3 | false | null | undefined): IConcatenatedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3>>;
|
15 |
|
16 | // @public
|
17 | export function concatStyleSets<TStyleSet1, TStyleSet2, TStyleSet3, TStyleSet4>(styleSet1: TStyleSet1 | false | null | undefined, styleSet2: TStyleSet2 | false | null | undefined, styleSet3: TStyleSet3 | false | null | undefined, styleSet4: TStyleSet4 | false | null | undefined): IConcatenatedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3> & ObjectOnly<TStyleSet4>>;
|
18 |
|
19 | // @public
|
20 | export function concatStyleSets<TStyleSet1, TStyleSet2, TStyleSet3, TStyleSet4, TStyleSet5>(styleSet1: TStyleSet1 | false | null | undefined, styleSet2: TStyleSet2 | false | null | undefined, styleSet3: TStyleSet3 | false | null | undefined, styleSet4: TStyleSet4 | false | null | undefined, styleSet5: TStyleSet5 | false | null | undefined): IConcatenatedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3> & ObjectOnly<TStyleSet4> & ObjectOnly<TStyleSet5>>;
|
21 |
|
22 | // @public
|
23 | export function concatStyleSets<TStyleSet1, TStyleSet2, TStyleSet3, TStyleSet4, TStyleSet5, TStyleSet6>(styleSet1: TStyleSet1 | false | null | undefined, styleSet2: TStyleSet2 | false | null | undefined, styleSet3: TStyleSet3 | false | null | undefined, styleSet4: TStyleSet4 | false | null | undefined, styleSet5: TStyleSet5 | false | null | undefined, styleSet6: TStyleSet6 | false | null | undefined): IConcatenatedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3> & ObjectOnly<TStyleSet4> & ObjectOnly<TStyleSet5> & ObjectOnly<TStyleSet6>>;
|
24 |
|
25 | // @public
|
26 | export function concatStyleSets(...styleSets: (IStyleSet | false | null | undefined)[]): IConcatenatedStyleSet<any>;
|
27 |
|
28 | // @public
|
29 | export function concatStyleSetsWithProps<TStyleProps, TStyleSet extends IStyleSet<TStyleSet>>(styleProps: TStyleProps, ...allStyles: (IStyleFunctionOrObject<TStyleProps, TStyleSet> | undefined)[]): DeepPartial<TStyleSet>;
|
30 |
|
31 | // @public
|
32 | export type DeepPartial<T> = {
|
33 | [P in keyof T]?: T[P] extends (infer U)[] ? DeepPartial<U>[] : T[P] extends object ? DeepPartial<T[P]> : T[P];
|
34 | };
|
35 |
|
36 | // @public
|
37 | export function fontFace(font: IFontFace): void;
|
38 |
|
39 | // @public
|
40 | export type IConcatenatedStyleSet<TStyleSet extends IStyleSet<TStyleSet>> = {
|
41 | [P in keyof Omit<TStyleSet, 'subComponentStyles'>]: IStyle;
|
42 | } & {
|
43 | subComponentStyles?: {
|
44 | [P in keyof TStyleSet['subComponentStyles']]: IStyleFunction<any, any>;
|
45 | };
|
46 | };
|
47 |
|
48 | // @public
|
49 | export interface ICSPSettings {
|
50 | nonce?: string;
|
51 | }
|
52 |
|
53 | // @public (undocumented)
|
54 | export type ICSSRule = 'initial' | 'inherit' | 'unset';
|
55 |
|
56 | // @public
|
57 | export interface IFontFace extends IRawFontStyle {
|
58 | fontDisplay?: 'auto' | 'block' | 'swap' | 'fallback' | 'optional';
|
59 | fontFeatureSettings?: string;
|
60 | src?: string;
|
61 | unicodeRange?: ICSSRule | string;
|
62 | }
|
63 |
|
64 | // @public (undocumented)
|
65 | export type IFontWeight = ICSSRule | 'normal' | 'bold' | 'bolder' | 'lighter' | '100' | 100 | '200' | 200 | '300' | 300 | '400' | 400 | '500' | 500 | '600' | 600 | '700' | 700 | '800' | 800 | '900' | 900;
|
66 |
|
67 | // @public
|
68 | export type IKeyframes = Record<string, IRawStyle>;
|
69 |
|
70 | // @public (undocumented)
|
71 | export const InjectionMode: {
|
72 | none: 0;
|
73 | insertNode: 1;
|
74 | appendChild: 2;
|
75 | };
|
76 |
|
77 | // @public (undocumented)
|
78 | export type InjectionMode = typeof InjectionMode[keyof typeof InjectionMode];
|
79 |
|
80 | // @public
|
81 | export type IProcessedStyleSet<TStyleSet extends IStyleSet<TStyleSet>> = {
|
82 | [P in keyof Omit<TStyleSet, 'subComponentStyles'>]: string;
|
83 | } & {
|
84 | subComponentStyles: {
|
85 | [P in keyof TStyleSet['subComponentStyles']]: __MapToFunctionType<TStyleSet['subComponentStyles'] extends infer J ? (P extends keyof J ? J[P] : never) : never>;
|
86 | };
|
87 | };
|
88 |
|
89 | // @public
|
90 | export interface IRawFontStyle {
|
91 | font?: ICSSRule | string;
|
92 | fontFamily?: ICSSRule | string;
|
93 | fontKerning?: ICSSRule | string;
|
94 | // Warning: (ae-forgotten-export) The symbol "ICSSPixelUnitRule" needs to be exported by the entry point index.d.ts
|
95 | // Warning: (ae-forgotten-export) The symbol "ICSSPercentageRule" needs to be exported by the entry point index.d.ts
|
96 | fontSize?: ICSSRule | 'xx-small' | 'x-small' | 'small' | 'medium' | 'large' | 'x-large' | 'xx-large' | 'larger' | 'smaller' | ICSSPixelUnitRule | ICSSPercentageRule;
|
97 | fontSizeAdjust?: ICSSRule | 'none' | number | string;
|
98 | fontStretch?: ICSSRule | 'normal' | 'ultra-condensed' | 'extra-condensed' | 'condensed' | 'semi-condensed' | 'semi-expanded' | 'expanded' | 'extra-expanded' | 'ultra-expanded' | string;
|
99 | fontStyle?: ICSSRule | 'normal' | 'italic' | 'oblique' | string;
|
100 | fontSynthesis?: ICSSRule | string;
|
101 | fontVariant?: ICSSRule | string;
|
102 | fontVariantAlternates?: ICSSRule | string;
|
103 | fontWeight?: IFontWeight | string;
|
104 | }
|
105 |
|
106 | // @public
|
107 | export interface IRawStyle extends IRawStyleBase {
|
108 | [key: string]: any;
|
109 | displayName?: string;
|
110 | // @deprecated (undocumented)
|
111 | selectors?: {
|
112 | [key: string]: IStyle;
|
113 | };
|
114 | }
|
115 |
|
116 | // @public
|
117 | export interface IRawStyleBase extends IRawFontStyle {
|
118 | alignContent?: ICSSRule | 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'stretch' | string;
|
119 | alignItems?: ICSSRule | 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch' | string;
|
120 | alignmentAdjust?: ICSSRule | string;
|
121 | alignmentBaseline?: ICSSRule | string;
|
122 | // Warning: (ae-forgotten-export) The symbol "ICSSBaselinePositionRule" needs to be exported by the entry point index.d.ts
|
123 | // Warning: (ae-forgotten-export) The symbol "ICSSOverflowAndSelfPositionRule" needs to be exported by the entry point index.d.ts
|
124 | alignSelf?: ICSSRule | 'auto' | 'normal' | 'stretch' | ICSSBaselinePositionRule | ICSSOverflowAndSelfPositionRule | string;
|
125 | animation?: ICSSRule | string;
|
126 | animationDelay?: ICSSRule | string;
|
127 | animationDirection?: ICSSRule | string;
|
128 | animationDuration?: ICSSRule | string;
|
129 | animationFillMode?: ICSSRule | 'none' | 'forwards' | 'backwards' | 'both' | string;
|
130 | animationIterationCount?: ICSSRule | string;
|
131 | animationName?: ICSSRule | string;
|
132 | animationPlayState?: ICSSRule | string;
|
133 | animationTimingFunction?: ICSSRule | string;
|
134 | appearance?: ICSSRule | string;
|
135 | backdropFilter?: ICSSRule | string;
|
136 | backfaceVisibility?: ICSSRule | string;
|
137 | background?: ICSSRule | string;
|
138 | backgroundAttachment?: ICSSRule | 'scroll' | 'fixed' | 'local' | string;
|
139 | backgroundBlendMode?: ICSSRule | string;
|
140 | backgroundClip?: ICSSRule | 'border-box' | 'padding-box' | 'content-box' | 'text' | string;
|
141 | backgroundColor?: ICSSRule | string;
|
142 | backgroundComposite?: ICSSRule | string;
|
143 | backgroundImage?: ICSSRule | string;
|
144 | backgroundOrigin?: ICSSRule | string;
|
145 | backgroundPosition?: ICSSRule | string;
|
146 | backgroundRepeat?: ICSSRule | string;
|
147 | backgroundSize?: ICSSRule | string;
|
148 | border?: ICSSRule | 0 | string;
|
149 | borderBottom?: ICSSRule | ICSSPixelUnitRule;
|
150 | borderBottomColor?: ICSSRule | string;
|
151 | borderBottomLeftRadius?: ICSSRule | ICSSPixelUnitRule;
|
152 | borderBottomRightRadius?: ICSSRule | ICSSPixelUnitRule;
|
153 | borderBottomStyle?: ICSSRule | string;
|
154 | borderBottomWidth?: ICSSRule | ICSSPixelUnitRule;
|
155 | borderCollapse?: ICSSRule | string;
|
156 | borderColor?: ICSSRule | string;
|
157 | borderCornerShape?: ICSSRule | string;
|
158 | borderImageSource?: ICSSRule | string;
|
159 | borderImageWidth?: ICSSRule | ICSSPixelUnitRule;
|
160 | borderLeft?: ICSSRule | ICSSPixelUnitRule;
|
161 | borderLeftColor?: ICSSRule | string;
|
162 | borderLeftStyle?: ICSSRule | string;
|
163 | borderLeftWidth?: ICSSRule | ICSSPixelUnitRule;
|
164 | borderRadius?: ICSSRule | ICSSPixelUnitRule;
|
165 | borderRight?: ICSSRule | ICSSPixelUnitRule;
|
166 | borderRightColor?: ICSSRule | string;
|
167 | borderRightStyle?: ICSSRule | string;
|
168 | borderRightWidth?: ICSSRule | ICSSPixelUnitRule;
|
169 | borderSpacing?: ICSSRule | string;
|
170 | borderStyle?: ICSSRule | string;
|
171 | borderTop?: ICSSRule | ICSSPixelUnitRule;
|
172 | borderTopColor?: ICSSRule | string;
|
173 | borderTopLeftRadius?: ICSSRule | ICSSPixelUnitRule;
|
174 | borderTopRightRadius?: ICSSRule | ICSSPixelUnitRule;
|
175 | borderTopStyle?: ICSSRule | string;
|
176 | borderTopWidth?: ICSSRule | ICSSPixelUnitRule;
|
177 | borderWidth?: ICSSRule | ICSSPixelUnitRule;
|
178 | bottom?: ICSSRule | ICSSPixelUnitRule;
|
179 | boxDecorationBreak?: ICSSRule | string;
|
180 | boxShadow?: ICSSRule | string;
|
181 | boxSizing?: ICSSRule | 'border-box' | 'content-box' | string;
|
182 | breakAfter?: ICSSRule | string;
|
183 | breakBefore?: ICSSRule | string;
|
184 | breakInside?: ICSSRule | string;
|
185 | clear?: ICSSRule | string;
|
186 | clipRule?: ICSSRule | string;
|
187 | color?: ICSSRule | string;
|
188 | columnCount?: ICSSRule | number | 'auto' | string;
|
189 | columnFill?: ICSSRule | string;
|
190 | columnGap?: ICSSRule | string;
|
191 | columnRule?: ICSSRule | string;
|
192 | columnRuleColor?: ICSSRule | string;
|
193 | columnRuleWidth?: ICSSRule | ICSSPixelUnitRule;
|
194 | columns?: ICSSRule | string;
|
195 | columnSpan?: ICSSRule | string;
|
196 | columnWidth?: ICSSRule | ICSSPixelUnitRule;
|
197 | content?: string;
|
198 | counterIncrement?: ICSSRule | string;
|
199 | counterReset?: ICSSRule | string;
|
200 | cue?: ICSSRule | string;
|
201 | cueAfter?: ICSSRule | string;
|
202 | cursor?: ICSSRule | string;
|
203 | direction?: ICSSRule | string;
|
204 | // Warning: (ae-forgotten-export) The symbol "ICSSDisplayRule" needs to be exported by the entry point index.d.ts
|
205 | display?: ICSSRule | ICSSDisplayRule | string;
|
206 | fill?: ICSSRule | string;
|
207 | fillOpacity?: ICSSRule | number;
|
208 | fillRule?: ICSSRule | string;
|
209 | filter?: ICSSRule | string;
|
210 | flex?: ICSSRule | string | number;
|
211 | flexBasis?: ICSSRule | string | number;
|
212 | flexDirection?: ICSSRule | 'row' | 'row-reverse' | 'column' | 'column-reverse' | string;
|
213 | flexFlow?: ICSSRule | string;
|
214 | flexGrow?: ICSSRule | number | string;
|
215 | flexShrink?: ICSSRule | number | string;
|
216 | flexWrap?: ICSSRule | 'nowrap' | 'wrap' | 'wrap-reverse' | string;
|
217 | float?: ICSSRule | string;
|
218 | flowFrom?: ICSSRule | string;
|
219 | forcedColorAdjust?: 'auto' | 'none' | string;
|
220 | gridArea?: ICSSRule | string;
|
221 | gridAutoColumns?: ICSSRule | string;
|
222 | gridAutoFlow?: ICSSRule | string;
|
223 | gridAutoRows?: ICSSRule | string;
|
224 | gridColumn?: ICSSRule | string;
|
225 | gridColumnEnd?: ICSSRule | string;
|
226 | gridColumnGap?: ICSSRule | string;
|
227 | gridColumnStart?: ICSSRule | string;
|
228 | gridGap?: ICSSRule | string;
|
229 | gridRow?: ICSSRule | string;
|
230 | gridRowEnd?: ICSSRule | string;
|
231 | gridRowGap?: ICSSRule | string;
|
232 | gridRowPosition?: ICSSRule | string;
|
233 | gridRowStart?: ICSSRule | string;
|
234 | gridTemplate?: ICSSRule | string;
|
235 | gridTemplateAreas?: ICSSRule | string;
|
236 | gridTemplateColumns?: ICSSRule | string;
|
237 | gridTemplateRows?: ICSSRule | string;
|
238 | height?: ICSSRule | ICSSPixelUnitRule;
|
239 | hyphenateLimitChars?: ICSSRule | string;
|
240 | hyphenateLimitLines?: ICSSRule | string;
|
241 | hyphenateLimitZone?: ICSSRule | string;
|
242 | hyphens?: ICSSRule | string;
|
243 | justifyContent?: ICSSRule | 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'space-evenly' | 'stretch' | string;
|
244 | justifySelf?: ICSSRule | 'auto' | 'normal' | 'stretch' | ICSSBaselinePositionRule | ICSSOverflowAndSelfPositionRule | 'left' | 'right' | 'safe left' | 'safe right' | 'unsafe left' | 'unsafe right' | string;
|
245 | left?: ICSSRule | ICSSPixelUnitRule;
|
246 | letterSpacing?: ICSSRule | string;
|
247 | lineHeight?: ICSSRule | 'normal' | ICSSPixelUnitRule | ICSSPercentageRule;
|
248 | listStyle?: ICSSRule | string;
|
249 | listStyleImage?: ICSSRule | string;
|
250 | listStylePosition?: ICSSRule | string;
|
251 | listStyleType?: ICSSRule | string;
|
252 | margin?: ICSSRule | ICSSPixelUnitRule;
|
253 | marginBottom?: ICSSRule | ICSSPixelUnitRule;
|
254 | marginLeft?: ICSSRule | ICSSPixelUnitRule;
|
255 | marginRight?: ICSSRule | ICSSPixelUnitRule;
|
256 | marginTop?: ICSSRule | ICSSPixelUnitRule;
|
257 | marqueeDirection?: ICSSRule | string;
|
258 | marqueeStyle?: ICSSRule | string;
|
259 | mask?: ICSSRule | string;
|
260 | maskBorder?: ICSSRule | string;
|
261 | maskBorderRepeat?: ICSSRule | string;
|
262 | maskBorderSlice?: ICSSRule | string;
|
263 | maskBorderSource?: ICSSRule | string;
|
264 | maskBorderWidth?: ICSSRule | ICSSPixelUnitRule;
|
265 | maskClip?: ICSSRule | string;
|
266 | maskOrigin?: ICSSRule | string;
|
267 | maxFontSize?: ICSSRule | ICSSPixelUnitRule;
|
268 | maxHeight?: ICSSRule | ICSSPixelUnitRule;
|
269 | maxWidth?: ICSSRule | ICSSPixelUnitRule;
|
270 | minHeight?: ICSSRule | ICSSPixelUnitRule;
|
271 | minWidth?: ICSSRule | ICSSPixelUnitRule;
|
272 | // Warning: (ae-forgotten-export) The symbol "IMixBlendModes" needs to be exported by the entry point index.d.ts
|
273 | mixBlendMode?: ICSSRule | IMixBlendModes | string;
|
274 | MozOsxFontSmoothing?: 'none' | 'antialiased' | 'grayscale' | 'subpixel-antialiased' | string;
|
275 | MsHighContrastAdjust?: ICSSRule | string;
|
276 | MsOverflowStyle?: 'auto' | 'none' | 'scrollbar' | '-ms-autohiding-scrollbar' | string;
|
277 | objectFit?: ICSSRule | 'cover' | 'contain' | 'fill' | 'none' | string;
|
278 | opacity?: ICSSRule | number | string;
|
279 | order?: ICSSRule | number | string;
|
280 | orphans?: ICSSRule | number | string;
|
281 | outline?: ICSSRule | 0 | string;
|
282 | outlineColor?: ICSSRule | string;
|
283 | outlineOffset?: ICSSRule | string;
|
284 | overflow?: ICSSRule | 'auto' | 'hidden' | 'scroll' | 'visible';
|
285 | overflowStyle?: ICSSRule | string;
|
286 | overflowWrap?: ICSSRule | 'normal' | 'break-word' | string;
|
287 | overflowX?: ICSSRule | 'auto' | 'hidden' | 'scroll' | 'visible' | string;
|
288 | overflowY?: ICSSRule | 'auto' | 'hidden' | 'scroll' | 'visible' | string;
|
289 | padding?: ICSSRule | ICSSPixelUnitRule;
|
290 | paddingBlockEnd?: ICSSRule | ICSSPixelUnitRule;
|
291 | paddingBlockStart?: ICSSRule | ICSSPixelUnitRule;
|
292 | paddingBottom?: ICSSRule | ICSSPixelUnitRule;
|
293 | paddingInlineEnd?: ICSSRule | ICSSPixelUnitRule;
|
294 | paddingInlineStart?: ICSSRule | ICSSPixelUnitRule;
|
295 | paddingLeft?: ICSSRule | ICSSPixelUnitRule;
|
296 | paddingRight?: ICSSRule | ICSSPixelUnitRule;
|
297 | paddingTop?: ICSSRule | ICSSPixelUnitRule;
|
298 | pageBreakAfter?: ICSSRule | string;
|
299 | pageBreakBefore?: ICSSRule | string;
|
300 | pageBreakInside?: ICSSRule | string;
|
301 | pause?: ICSSRule | string;
|
302 | pauseAfter?: ICSSRule | string;
|
303 | pauseBefore?: ICSSRule | string;
|
304 | perspective?: ICSSRule | string;
|
305 | perspectiveOrigin?: ICSSRule | string;
|
306 | pointerEvents?: ICSSRule | string;
|
307 | position?: ICSSRule | 'static' | 'relative' | 'absolute' | 'fixed' | 'sticky';
|
308 | quotes?: ICSSRule | string;
|
309 | regionFragment?: ICSSRule | string;
|
310 | resize?: ICSSRule | 'none' | 'both' | 'horizontal' | 'vertical' | 'block' | 'inline' | string;
|
311 | restAfter?: ICSSRule | string;
|
312 | restBefore?: ICSSRule | string;
|
313 | right?: ICSSRule | ICSSPixelUnitRule;
|
314 | shapeImageThreshold?: ICSSRule | string;
|
315 | shapeInside?: ICSSRule | string;
|
316 | shapeMargin?: ICSSRule | string;
|
317 | shapeOutside?: ICSSRule | string;
|
318 | speak?: ICSSRule | string;
|
319 | speakAs?: ICSSRule | string;
|
320 | stroke?: ICSSRule | string;
|
321 | strokeLinecap?: ICSSRule | 'butt' | 'round' | 'square' | string;
|
322 | strokeOpacity?: ICSSRule | number | string;
|
323 | strokeWidth?: ICSSRule | ICSSPixelUnitRule;
|
324 | tableLayout?: ICSSRule | string;
|
325 | tabSize?: ICSSRule | string;
|
326 | textAlign?: ICSSRule | string;
|
327 | textAlignLast?: ICSSRule | string;
|
328 | textDecoration?: ICSSRule | string;
|
329 | textDecorationColor?: ICSSRule | string;
|
330 | textDecorationLine?: ICSSRule | string;
|
331 | textDecorationSkip?: ICSSRule | string;
|
332 | textDecorationStyle?: ICSSRule | string;
|
333 | textEmphasis?: ICSSRule | string;
|
334 | textEmphasisColor?: ICSSRule | string;
|
335 | textEmphasisStyle?: ICSSRule | string;
|
336 | textHeight?: ICSSRule | string;
|
337 | textIndent?: ICSSRule | string;
|
338 | textOverflow?: ICSSRule | string;
|
339 | textOverline?: ICSSRule | string;
|
340 | textOverlineColor?: ICSSRule | string;
|
341 | textOverlineMode?: ICSSRule | string;
|
342 | textOverlineStyle?: ICSSRule | string;
|
343 | textOverlineWidth?: ICSSRule | ICSSPixelUnitRule;
|
344 | textRendering?: ICSSRule | string;
|
345 | textShadow?: ICSSRule | string;
|
346 | textSizeAdjust?: 'none' | 'auto' | ICSSPercentageRule | ICSSRule;
|
347 | textTransform?: ICSSRule | string;
|
348 | textUnderlinePosition?: ICSSRule | string;
|
349 | textUnderlineStyle?: ICSSRule | string;
|
350 | top?: ICSSRule | ICSSPixelUnitRule;
|
351 | touchAction?: ICSSRule | string;
|
352 | transform?: ICSSRule | string;
|
353 | transformOrigin?: ICSSRule | string;
|
354 | transformOriginZ?: ICSSRule | string;
|
355 | transformStyle?: ICSSRule | string;
|
356 | transition?: ICSSRule | string;
|
357 | transitionDelay?: ICSSRule | string;
|
358 | transitionDuration?: ICSSRule | string;
|
359 | transitionProperty?: ICSSRule | string;
|
360 | transitionTimingFunction?: ICSSRule | string;
|
361 | unicodeBidi?: ICSSRule | string;
|
362 | userFocus?: ICSSRule | string;
|
363 | userInput?: ICSSRule | string;
|
364 | userSelect?: ICSSRule | 'none' | 'auto' | 'text' | 'all' | 'contain' | string;
|
365 | verticalAlign?: ICSSRule | string;
|
366 | visibility?: ICSSRule | string;
|
367 | voiceBalance?: ICSSRule | string;
|
368 | voiceDuration?: ICSSRule | string;
|
369 | voiceFamily?: ICSSRule | string;
|
370 | voicePitch?: ICSSRule | string;
|
371 | voiceRange?: ICSSRule | string;
|
372 | voiceRate?: ICSSRule | string;
|
373 | voiceStress?: ICSSRule | string;
|
374 | voiceVolume?: ICSSRule | string;
|
375 | WebkitBackdropFilter?: ICSSRule | string;
|
376 | WebkitFontSmoothing?: 'none' | 'antialiased' | 'grayscale' | 'subpixel-antialiased' | string;
|
377 | WebkitOverflowScrolling?: 'auto' | 'touch' | string;
|
378 | WebkitTapHighlightColor?: string;
|
379 | WebkitTextSizeAdjust?: 'none' | 'auto' | ICSSPercentageRule | ICSSRule | string;
|
380 | whiteSpace?: ICSSRule | string;
|
381 | widows?: ICSSRule | number | string;
|
382 | width?: ICSSRule | ICSSPixelUnitRule;
|
383 | wordBreak?: ICSSRule | string;
|
384 | wordSpacing?: ICSSRule | string;
|
385 | wordWrap?: ICSSRule | string;
|
386 | wrapFlow?: ICSSRule | string;
|
387 | wrapMargin?: ICSSRule | string;
|
388 | writingMode?: ICSSRule | string;
|
389 | zIndex?: ICSSRule | 'auto' | number | string;
|
390 | zoom?: ICSSRule | 'auto' | number | ICSSPercentageRule;
|
391 | }
|
392 |
|
393 | // @public
|
394 | export type IStyle = IStyleBase | IStyleBaseArray;
|
395 |
|
396 | // @public (undocumented)
|
397 | export type IStyleBase = IRawStyle | string | false | null | undefined;
|
398 |
|
399 | // @public (undocumented)
|
400 | export interface IStyleBaseArray extends Array<IStyle> {
|
401 | }
|
402 |
|
403 | // @public
|
404 | export type IStyleFunction<TStylesProps, TStyleSet extends IStyleSet<TStyleSet>> = (props: TStylesProps) => DeepPartial<TStyleSet>;
|
405 |
|
406 | // @public
|
407 | export type IStyleFunctionOrObject<TStylesProps, TStyleSet extends IStyleSet<TStyleSet>> = IStyleFunction<TStylesProps, TStyleSet> | DeepPartial<TStyleSet>;
|
408 |
|
409 | // @public
|
410 | export type IStyleSet<TStyleSet extends IStyleSet<TStyleSet> = {
|
411 | [key: string]: any;
|
412 | }> = {
|
413 | [P in keyof Omit<TStyleSet, 'subComponentStyles'>]: IStyle;
|
414 | } & {
|
415 | subComponentStyles?: {
|
416 | [P in keyof TStyleSet['subComponentStyles']]: IStyleFunctionOrObject<any, any>;
|
417 | };
|
418 | };
|
419 |
|
420 | // @public
|
421 | export interface IStyleSheetConfig {
|
422 | classNameCache?: {
|
423 | [key: string]: string;
|
424 | };
|
425 | cspSettings?: ICSPSettings;
|
426 | defaultPrefix?: string;
|
427 | injectionMode?: InjectionMode;
|
428 | namespace?: string;
|
429 | onInsertRule?: (rule: string) => void;
|
430 | rtl?: boolean;
|
431 | }
|
432 |
|
433 | // @public
|
434 | export function keyframes(timeline: IKeyframes): string;
|
435 |
|
436 | // Warning: (ae-forgotten-export) The symbol "IStyleOptions" needs to be exported by the entry point index.d.ts
|
437 | //
|
438 | // @public
|
439 | export function mergeCss(args: (IStyle | IStyleBaseArray | false | null | undefined) | (IStyle | IStyleBaseArray | false | null | undefined)[], options?: IStyleOptions): string;
|
440 |
|
441 | // @public
|
442 | export function mergeCssSets<TStyleSet>(styleSets: [TStyleSet | false | null | undefined], options?: IStyleOptions): IProcessedStyleSet<TStyleSet>;
|
443 |
|
444 | // @public
|
445 | export function mergeCssSets<TStyleSet1, TStyleSet2>(styleSets: [TStyleSet1 | false | null | undefined, TStyleSet2 | false | null | undefined], options?: IStyleOptions): IProcessedStyleSet<TStyleSet1 & TStyleSet2>;
|
446 |
|
447 | // @public
|
448 | export function mergeCssSets<TStyleSet1, TStyleSet2, TStyleSet3>(styleSets: [TStyleSet1 | false | null | undefined, TStyleSet2 | false | null | undefined, TStyleSet3 | false | null | undefined], options?: IStyleOptions): IProcessedStyleSet<TStyleSet1 & TStyleSet2 & TStyleSet3>;
|
449 |
|
450 | // @public
|
451 | export function mergeCssSets<TStyleSet1, TStyleSet2, TStyleSet3, TStyleSet4>(styleSets: [TStyleSet1 | false | null | undefined, TStyleSet2 | false | null | undefined, TStyleSet3 | false | null | undefined, TStyleSet4 | false | null | undefined], options?: IStyleOptions): IProcessedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3> & ObjectOnly<TStyleSet4>>;
|
452 |
|
453 | // @public
|
454 | export function mergeCssSets<TStyleSet>(styleSet: [TStyleSet | false | null | undefined], options?: IStyleOptions): IProcessedStyleSet<TStyleSet>;
|
455 |
|
456 | // @public
|
457 | export function mergeStyles(...args: (IStyle | IStyleBaseArray | false | null | undefined)[]): string;
|
458 |
|
459 | // @public
|
460 | export function mergeStyleSets<TStyleSet>(styleSet: TStyleSet | false | null | undefined): IProcessedStyleSet<ObjectOnly<TStyleSet>>;
|
461 |
|
462 | // @public
|
463 | export function mergeStyleSets<TStyleSet1, TStyleSet2>(styleSet1: TStyleSet1 | false | null | undefined, styleSet2: TStyleSet2 | false | null | undefined): IProcessedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2>>;
|
464 |
|
465 | // @public
|
466 | export function mergeStyleSets<TStyleSet1, TStyleSet2, TStyleSet3>(styleSet1: TStyleSet1 | false | null | undefined, styleSet2: TStyleSet2 | false | null | undefined, styleSet3: TStyleSet3 | false | null | undefined): IProcessedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3>>;
|
467 |
|
468 | // @public
|
469 | export function mergeStyleSets<TStyleSet1, TStyleSet2, TStyleSet3, TStyleSet4>(styleSet1: TStyleSet1 | false | null | undefined, styleSet2: TStyleSet2 | false | null | undefined, styleSet3: TStyleSet3 | false | null | undefined, styleSet4: TStyleSet4 | false | null | undefined): IProcessedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3> & ObjectOnly<TStyleSet4>>;
|
470 |
|
471 | // @public
|
472 | export function mergeStyleSets(...styleSets: Array<IStyleSet | undefined | false | null>): IProcessedStyleSet<any>;
|
473 |
|
474 | // @public (undocumented)
|
475 | export type ObjectOnly<TArg> = TArg extends {} ? TArg : {};
|
476 |
|
477 | // Warning: (ae-forgotten-export) The symbol "Diff" needs to be exported by the entry point index.d.ts
|
478 | //
|
479 | // @public (undocumented)
|
480 | export type Omit<U, K extends keyof U> = Pick<U, Diff<keyof U, K>>;
|
481 |
|
482 | // @public
|
483 | export function setRTL(isRTL: boolean): void;
|
484 |
|
485 | // @public
|
486 | export class Stylesheet {
|
487 | constructor(config?: IStyleSheetConfig);
|
488 | argsFromClassName(className: string): IStyle[] | undefined;
|
489 | cacheClassName(className: string, key: string, args: IStyle[], rules: string[]): void;
|
490 | classNameFromKey(key: string): string | undefined;
|
491 | getClassName(displayName?: string): string;
|
492 | getClassNameCache(): {
|
493 | [key: string]: string;
|
494 | };
|
495 | static getInstance(): Stylesheet;
|
496 | getRules(includePreservedRules?: boolean): string;
|
497 | insertedRulesFromClassName(className: string): string[] | undefined;
|
498 | insertRule(rule: string, preserve?: boolean): void;
|
499 | onReset(callback: () => void): void;
|
500 | reset(): void;
|
501 | // (undocumented)
|
502 | resetKeys(): void;
|
503 | setConfig(config?: IStyleSheetConfig): void;
|
504 | }
|
505 |
|
506 |
|
507 | // Warnings were encountered during analysis:
|
508 | //
|
509 | // lib/IStyleSet.d.ts:50:5 - (ae-forgotten-export) The symbol "__MapToFunctionType" needs to be exported by the entry point index.d.ts
|
510 |
|
511 | // (No @packageDocumentation comment for this package)
|
512 |
|
513 | ```
|