@plumeria/core 10.3.3 → 10.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/csstypes.d.ts +246 -241
  2. package/package.json +1 -1
package/lib/csstypes.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  */
10
10
 
11
11
  type all = 'initial' | 'inherit' | 'unset';
12
- type strictString = string & {};
12
+ type StableString = Pick<string, keyof string>;
13
13
 
14
14
  type absoluteSize =
15
15
  | 'xx-small'
@@ -80,11 +80,11 @@ type alignSelf =
80
80
  | 'stretch'
81
81
  | 'safe center'
82
82
  | 'unsafe center';
83
- type alignTracks = string | number;
84
- type anchorName = string | number;
85
- type animatableFeature = 'scroll-position' | 'contents' | strictString;
86
- type animation = string | number;
87
- type animationComposition = string | number;
83
+ type alignTracks = number | StableString;
84
+ type anchorName = number | StableString;
85
+ type animatableFeature = 'scroll-position' | 'contents' | StableString;
86
+ type animation = number | StableString;
87
+ type animationComposition = number | StableString;
88
88
  type animationDelay = time;
89
89
  type animationDirection = singleAnimationDirection;
90
90
  type animationDuration = time;
@@ -92,16 +92,16 @@ type animationFillMode = singleAnimationFillMode;
92
92
  type animationIterationCount = singleAnimationIterationCount;
93
93
  type animationName = singleAnimationName;
94
94
  type animationPlayState = singleAnimationPlayState;
95
- type animationRange = string | number;
96
- type animationRangeEnd = string | number;
97
- type animationRangeStart = string | number;
98
- type animationTimeline = string | number;
95
+ type animationRange = number | StableString;
96
+ type animationRangeEnd = number | StableString;
97
+ type animationRangeStart = number | StableString;
98
+ type animationTimeline = number | StableString;
99
99
  type animationTimingFunction = singleTimingFunction;
100
100
  type appearance = 'auto' | 'none' | 'textfield';
101
- type aspectRatio = string | number;
101
+ type aspectRatio = number | StableString;
102
102
  type attachment = 'scroll' | 'fixed' | 'local';
103
- type azimuth = string | number;
104
- type backdropFilter = 'none' | strictString;
103
+ type azimuth = number | StableString;
104
+ type backdropFilter = 'none' | StableString;
105
105
  type backfaceVisibility = 'visible' | 'hidden';
106
106
  type background = finalBgLayer;
107
107
  type backgroundAttachment = attachment;
@@ -110,15 +110,15 @@ type backgroundClip = box | 'text';
110
110
  type backgroundColor = color;
111
111
  type backgroundImage = bgImage;
112
112
  type backgroundOrigin = box;
113
- type backgroundPosition = string;
114
- type backgroundPositionX = string;
115
- type backgroundPositionY = string;
113
+ type backgroundPosition = StableString;
114
+ type backgroundPositionX = StableString;
115
+ type backgroundPositionY = StableString;
116
116
  type backgroundRepeat = repeatStyle;
117
117
  type backgroundSize = bgSize;
118
118
  type baselineShift = 'baseline' | 'sub' | 'super' | svgLength;
119
- type behavior = string;
120
- type bgImage = 'none' | strictString;
121
- type bgSize = 'auto' | 'cover' | 'contain' | strictString;
119
+ type behavior = StableString;
120
+ type bgImage = 'none' | StableString;
121
+ type bgSize = 'auto' | 'cover' | 'contain' | StableString;
122
122
  type blendMode =
123
123
  | 'normal'
124
124
  | 'multiply'
@@ -161,11 +161,11 @@ type borderColor = color;
161
161
  type borderEndEndRadius = borderBottomRightRadius;
162
162
  type borderEndStartRadius = borderBottomLeftRadius;
163
163
  type borderImage = borderImageSource | borderImageSlice | borderImageRepeat;
164
- type borderImageOutset = string;
165
- type borderImageRepeat = string;
166
- type borderImageSlice = 'fill' | number | strictString;
167
- type borderImageSource = 'none' | strictString;
168
- type borderImageWidth = string;
164
+ type borderImageOutset = StableString;
165
+ type borderImageRepeat = StableString;
166
+ type borderImageSlice = 'fill' | number | StableString;
167
+ type borderImageSource = 'none' | StableString;
168
+ type borderImageWidth = StableString;
169
169
  type borderInline = borderInlineEnd;
170
170
  type borderInlineColor = borderInlineEndColor;
171
171
  type borderInlineEnd = borderWidth | borderStyle | color;
@@ -187,7 +187,7 @@ type borderRight = border;
187
187
  type borderRightColor = color;
188
188
  type borderRightStyle = brStyle;
189
189
  type borderRightWidth = borderWidth;
190
- type borderSpacing = number | string;
190
+ type borderSpacing = number | StableString;
191
191
  type borderStartEndRadius = borderTopRightRadius;
192
192
  type borderStartStartRadius = borderTopLeftRadius;
193
193
  type borderStyle = brStyle;
@@ -197,18 +197,18 @@ type borderTopLeftRadius = lengthPercentage;
197
197
  type borderTopRightRadius = lengthPercentage;
198
198
  type borderTopStyle = brStyle;
199
199
  type borderTopWidth = borderWidth;
200
- type borderWidth = 'thin' | 'medium' | 'thick' | number | strictString;
201
- type bottom = string | number;
200
+ type borderWidth = 'thin' | 'medium' | 'thick' | number | StableString;
201
+ type bottom = number | StableString;
202
202
  type box = 'border-box' | 'padding-box' | 'content-box';
203
203
  type boxAlign = 'start' | 'center' | 'end' | 'baseline' | 'stretch';
204
204
  type boxDecorationBreak = 'slice' | 'clone';
205
205
  type boxDirection = 'normal' | 'reverse';
206
- type boxFlex = number | string;
207
- type boxFlexGroup = number | string;
206
+ type boxFlex = number | StableString;
207
+ type boxFlexGroup = number | StableString;
208
208
  type boxLines = 'single' | 'multiple';
209
- type boxOrdinalGroup = number | string;
209
+ type boxOrdinalGroup = number | StableString;
210
210
  type boxOrient = 'horizontal' | 'vertical' | 'inline-axis' | 'block-axis';
211
- type boxShadow = 'none' | strictString;
211
+ type boxShadow = 'none' | StableString;
212
212
  type boxSizing = 'content-box' | 'border-box';
213
213
  type boxSuppress = 'show' | 'discard' | 'hide';
214
214
  type breakAfter =
@@ -261,14 +261,16 @@ type captionSide =
261
261
  | 'block-end'
262
262
  | 'inline-start'
263
263
  | 'inline-end';
264
- type caret = string | number;
264
+ type caret = number | StableString;
265
265
  type caretColor = color;
266
- type caretShape = string | number;
266
+ type caretShape = number | StableString;
267
267
  type clear = 'none' | 'left' | 'right' | 'both' | 'inline-start' | 'inline-end';
268
- type clip = 'auto' | strictString;
269
- type clipPath = 'none' | strictString;
268
+ type clip = 'auto' | StableString;
269
+ type clipPath = 'none' | StableString;
270
270
  type clipRule = 'nonzero' | 'evenodd';
271
- type color = NamedColor | strictString;
271
+ type color = NamedColor | StableString;
272
+ type colorInterpolation = 'auto' | 'sRGB' | 'linearRGB';
273
+ type colorInterpolationFilters = 'auto' | 'sRGB' | 'linearRGB';
272
274
  type colorScheme =
273
275
  | 'normal'
274
276
  | 'light'
@@ -276,27 +278,27 @@ type colorScheme =
276
278
  | 'light dark'
277
279
  | 'only light'
278
280
  | 'only dark';
279
- type columnCount = 'auto' | number | strictString;
281
+ type columnCount = 'auto' | number | StableString;
280
282
  type columnFill = 'auto' | 'balance';
281
- type columnGap = 'normal' | number | strictString;
283
+ type columnGap = 'normal' | number | StableString;
282
284
  type columnRule = columnRuleWidth | columnRuleStyle | columnRuleColor;
283
285
  type columnRuleColor = color;
284
286
  type columnRuleStyle = brStyle;
285
287
  type columnRuleWidth = borderWidth;
286
288
  type columns = columnWidth | columnCount;
287
289
  type columnSpan = 'none' | 'all';
288
- type columnWidth = 'auto' | number | strictString;
290
+ type columnWidth = 'auto' | number | StableString;
289
291
  type compositeOperator = 'add' | 'subtract' | 'intersect' | 'exclude';
290
- type contain = 'none' | 'strict' | 'content' | strictString;
291
- type container = string | number;
292
- type containerName = string | number;
292
+ type contain = 'none' | 'strict' | 'content' | StableString;
293
+ type container = number | StableString;
294
+ type containerName = number | StableString;
293
295
  type containerType = 'size' | 'inline-size' | 'normal';
294
- type containIntrinsicBlockSize = string | number;
295
- type containIntrinsicHeight = string | number;
296
- type containIntrinsicInlineSize = string | number;
297
- type containIntrinsicSize = string | number;
298
- type containIntrinsicWidth = string | number;
299
- type content = string;
296
+ type containIntrinsicBlockSize = number | StableString;
297
+ type containIntrinsicHeight = number | StableString;
298
+ type containIntrinsicInlineSize = number | StableString;
299
+ type containIntrinsicSize = number | StableString;
300
+ type containIntrinsicWidth = number | StableString;
301
+ type content = StableString;
300
302
  type contentVisibility = 'visible' | 'hidden' | 'auto';
301
303
  type cornerBottomLeftShape = cornerShape;
302
304
  type cornerBottomRightShape = cornerShape;
@@ -309,17 +311,17 @@ type cornerShape =
309
311
  | 'notch'
310
312
  | 'square'
311
313
  | 'squircle'
312
- | strictString;
314
+ | StableString;
313
315
  type cornerStartEndShape = cornerTopRightShape;
314
316
  type cornerStartStartShape = cornerTopLeftShape;
315
317
  type cornerTopLeftShape = cornerShape;
316
318
  type cornerTopRightShape = cornerShape;
317
- type counterIncrement = 'none' | strictString;
318
- type counterReset = 'none' | strictString;
319
- type counterSet = string | number;
319
+ type counterIncrement = 'none' | StableString;
320
+ type counterReset = 'none' | StableString;
321
+ type counterSet = number | StableString;
320
322
  type cue = cueBefore | cueAfter;
321
- type cueAfter = 'none' | number | strictString;
322
- type cueBefore = 'none' | number | strictString;
323
+ type cueAfter = 'none' | number | StableString;
324
+ type cueBefore = 'none' | number | StableString;
323
325
  type cursor =
324
326
  | 'auto'
325
327
  | 'default'
@@ -356,7 +358,8 @@ type cursor =
356
358
  | 'zoom-in'
357
359
  | 'zoom-out'
358
360
  | 'grab'
359
- | 'grabbing';
361
+ | 'grabbing'
362
+ | StableString;
360
363
  type direction = 'ltr' | 'rtl';
361
364
  type display =
362
365
  | 'none'
@@ -420,18 +423,18 @@ type dominantBaseline =
420
423
  | 'text-after-edge'
421
424
  | 'text-before-edge';
422
425
  type emptyCells = 'show' | 'hide';
423
- type end = string | number;
426
+ type end = number | StableString;
424
427
  type fill = paint;
425
- type fillOpacity = number | string;
428
+ type fillOpacity = number | StableString;
426
429
  type fillRule = 'nonzero' | 'evenodd';
427
- type filter = 'none' | strictString;
430
+ type filter = 'none' | StableString;
428
431
  type finalBgLayer = attachment | box | backgroundColor;
429
- type flex = 'none' | number | strictString;
430
- type flexBasis = 'content' | number | strictString;
432
+ type flex = 'none' | number | StableString;
433
+ type flexBasis = 'content' | number | StableString;
431
434
  type flexDirection = 'row' | 'row-reverse' | 'column' | 'column-reverse';
432
435
  type flexFlow = flexDirection | flexWrap;
433
- type flexGrow = all | number | string;
434
- type flexShrink = all | number | string;
436
+ type flexGrow = number | StableString;
437
+ type flexShrink = number | StableString;
435
438
  type flexWrap = 'nowrap' | 'wrap' | 'wrap-reverse';
436
439
  type float =
437
440
  | 'left'
@@ -441,13 +444,13 @@ type float =
441
444
  | 'end'
442
445
  | 'inline-start'
443
446
  | 'inline-end';
444
- type font = string | number;
445
- type fontFamily = string;
446
- type fontFeatureSettings = 'normal' | strictString;
447
+ type font = number | StableString;
448
+ type fontFamily = StableString;
449
+ type fontFeatureSettings = 'normal' | StableString;
447
450
  type fontKerning = 'auto' | 'normal' | 'none';
448
- type fontLanguageOverride = 'normal' | strictString;
451
+ type fontLanguageOverride = 'normal' | StableString;
449
452
  type fontOpticalSizing = 'auto' | 'none';
450
- type fontPalette = 'normal' | 'light' | 'dark' | strictString;
453
+ type fontPalette = 'normal' | 'light' | 'dark' | StableString;
451
454
  type fontSize = absoluteSize | relativeSize | lengthPercentage;
452
455
  type fontSizeAdjust = 'none';
453
456
  type fontStretch =
@@ -460,15 +463,15 @@ type fontStretch =
460
463
  | 'expanded'
461
464
  | 'extra-expanded'
462
465
  | 'ultra-expanded'
463
- | strictString;
466
+ | StableString;
464
467
  type fontStyle = 'normal' | 'italic' | 'oblique';
465
- type fontSynthesis = 'none' | strictString;
468
+ type fontSynthesis = 'none' | StableString;
466
469
  type fontSynthesisPosition = 'auto' | 'none';
467
470
  type fontSynthesisSmallCaps = 'auto' | 'none';
468
471
  type fontSynthesisStyle = 'auto' | 'none';
469
472
  type fontSynthesisWeight = 'auto' | 'none';
470
- type fontVariant = 'normal' | 'none' | strictString;
471
- type fontVariantAlternates = 'normal' | strictString;
473
+ type fontVariant = 'normal' | 'none' | StableString;
474
+ type fontVariantAlternates = 'normal' | StableString;
472
475
  type fontVariantCaps =
473
476
  | 'normal'
474
477
  | 'small-caps'
@@ -477,11 +480,11 @@ type fontVariantCaps =
477
480
  | 'all-petite-caps'
478
481
  | 'unicase'
479
482
  | 'titling-caps';
480
- type fontVariantEastAsian = 'normal' | strictString;
481
- type fontVariantLigatures = 'normal' | 'none' | strictString;
482
- type fontVariantNumeric = 'normal' | strictString;
483
+ type fontVariantEastAsian = 'normal' | StableString;
484
+ type fontVariantLigatures = 'normal' | 'none' | StableString;
485
+ type fontVariantNumeric = 'normal' | StableString;
483
486
  type fontVariantPosition = 'normal' | 'sub' | 'super';
484
- type fontVariationSettings = string | number;
487
+ type fontVariationSettings = number | StableString;
485
488
  type fontWeight =
486
489
  | 'inherit'
487
490
  | 'normal'
@@ -498,12 +501,12 @@ type fontWeight =
498
501
  | 800
499
502
  | 900
500
503
  | number
501
- | strictString;
504
+ | StableString;
502
505
  type forcedColorAdjust = 'auto' | 'none';
503
- type gap = number | string;
506
+ type gap = number | StableString;
504
507
  type geometryBox = shapeBox | 'fill-box' | 'stroke-box' | 'view-box';
505
- type glyphOrientationHorizontal = number | string;
506
- type glyphOrientationVertical = number | string;
508
+ type glyphOrientationHorizontal = number | StableString;
509
+ type glyphOrientationVertical = number | StableString;
507
510
  type grid = gridTemplate;
508
511
  type gridArea = gridLine;
509
512
  type gridAutoColumns = trackSize;
@@ -513,47 +516,47 @@ type gridAutoFlow =
513
516
  | 'dense'
514
517
  | 'row dense'
515
518
  | 'column dense'
516
- | strictString;
519
+ | StableString;
517
520
  type gridAutoRows = trackSize;
518
521
  type gridColumn = gridLine;
519
522
  type gridColumnEnd = gridLine;
520
523
  type gridColumnGap = lengthPercentage;
521
524
  type gridColumnStart = gridLine;
522
525
  type gridGap = gridRowGap | gridColumnGap;
523
- type gridLine = 'auto' | strictString;
526
+ type gridLine = 'auto' | number | StableString;
524
527
  type gridRow = gridLine;
525
528
  type gridRowEnd = gridLine;
526
529
  type gridRowGap = lengthPercentage;
527
530
  type gridRowStart = gridLine;
528
- type gridTemplate = 'none' | 'subgrid' | strictString;
529
- type gridTemplateAreas = 'none' | strictString;
530
- type gridTemplateColumns = 'none' | 'subgrid' | strictString;
531
- type gridTemplateRows = 'none' | 'subgrid' | strictString;
532
- type hangingPunctuation = string | number;
533
- type height = string | number;
534
- type hyphenateCharacter = string | number;
535
- type hyphenateLimitChars = string | number;
531
+ type gridTemplate = 'none' | 'subgrid' | StableString;
532
+ type gridTemplateAreas = 'none' | StableString;
533
+ type gridTemplateColumns = 'none' | 'subgrid' | StableString;
534
+ type gridTemplateRows = 'none' | 'subgrid' | StableString;
535
+ type hangingPunctuation = number | StableString;
536
+ type height = number | StableString;
537
+ type hyphenateCharacter = number | StableString;
538
+ type hyphenateLimitChars = number | StableString;
536
539
  type hyphens = 'none' | 'manual' | 'auto';
537
- type imageOrientation = 'from-image' | number | strictString;
540
+ type imageOrientation = 'from-image' | number | StableString;
538
541
  type imageRendering =
539
542
  | 'auto'
540
543
  | 'crisp-edges'
541
544
  | 'pixelated'
542
545
  | 'optimizeSpeed'
543
546
  | 'optimizeQuality'
544
- | strictString;
545
- type imageResolution = 'snap' | strictString;
547
+ | StableString;
548
+ type imageResolution = 'snap' | StableString;
546
549
  type imeMode = 'auto' | 'normal' | 'active' | 'inactive' | 'disabled';
547
- type initialLetter = 'normal' | strictString;
548
- type initialLetterAlign = string;
550
+ type initialLetter = 'normal' | number | StableString;
551
+ type initialLetterAlign = StableString;
549
552
  type inlineSize = width;
550
- type inset = string | number;
551
- type insetBlock = string | number;
552
- type insetBlockEnd = string | number;
553
- type insetBlockStart = string | number;
554
- type insetInline = string | number;
555
- type insetInlineEnd = string | number;
556
- type insetInlineStart = string | number;
553
+ type inset = number | StableString;
554
+ type insetBlock = number | StableString;
555
+ type insetBlockEnd = number | StableString;
556
+ type insetBlockStart = number | StableString;
557
+ type insetInline = number | StableString;
558
+ type insetInlineEnd = number | StableString;
559
+ type insetInlineStart = number | StableString;
557
560
  type interpolateSize = 'allow-keywords' | 'numeric-only';
558
561
  type isolation = 'auto' | 'isolate';
559
562
  type justifyContent =
@@ -609,43 +612,43 @@ type justifySelf =
609
612
  | 'last baseline'
610
613
  | 'safe center'
611
614
  | 'unsafe center';
612
- type justifyTracks = string | number;
615
+ type justifyTracks = number | StableString;
613
616
  type kerning = 'auto' | svgLength;
614
- type left = string | number;
615
- type lengthPercentage = number | strictString;
617
+ type left = number | StableString;
618
+ type lengthPercentage = number | StableString;
616
619
  type letterSpacing = 'normal' | lengthPercentage;
617
620
  type lineBreak = 'auto' | 'loose' | 'normal' | 'strict';
618
- type lineHeight = 'normal' | number | strictString;
619
- type lineHeightStep = string | number;
621
+ type lineHeight = 'normal' | number | StableString;
622
+ type lineHeightStep = number | StableString;
620
623
  type listStyle = listStyleType | listStylePosition | listStyleImage;
621
- type listStyleImage = 'none' | strictString;
624
+ type listStyleImage = 'none' | StableString;
622
625
  type listStylePosition = 'inside' | 'outside';
623
- type listStyleType = 'none' | strictString;
624
- type margin = number | string;
626
+ type listStyleType = 'none' | StableString;
627
+ type margin = number | StableString;
625
628
  type marginBlock = marginBlockEnd;
626
629
  type marginBlockEnd = marginLeft;
627
630
  type marginBlockStart = marginLeft;
628
- type marginBottom = 'auto' | number | strictString;
631
+ type marginBottom = 'auto' | number | StableString;
629
632
  type marginInline = marginInlineEnd;
630
633
  type marginInlineEnd = marginLeft;
631
634
  type marginInlineStart = marginLeft;
632
- type marginLeft = 'auto' | number | strictString;
633
- type marginRight = 'auto' | number | strictString;
634
- type marginTop = 'auto' | number | strictString;
635
- type marker = 'none' | strictString;
636
- type markerEnd = 'none' | strictString;
637
- type markerMid = 'none' | strictString;
638
- type markerOffset = 'auto' | number | strictString;
639
- type markerStart = 'none' | strictString;
635
+ type marginLeft = 'auto' | number | StableString;
636
+ type marginRight = 'auto' | number | StableString;
637
+ type marginTop = 'auto' | number | StableString;
638
+ type marker = 'none' | StableString;
639
+ type markerEnd = 'none' | StableString;
640
+ type markerMid = 'none' | StableString;
641
+ type markerOffset = 'auto' | number | StableString;
642
+ type markerStart = 'none' | StableString;
640
643
  type mask = maskLayer;
641
- type maskBorder = string | number;
644
+ type maskBorder = number | StableString;
642
645
  type maskBorderMode = 'alpha' | 'luminance';
643
- type maskBorderOutset = string | number;
646
+ type maskBorderOutset = number | StableString;
644
647
  type maskBorderRepeat = 'stretch' | 'repeat' | 'round' | 'space';
645
- type maskBorderSlice = string | number;
646
- type maskBorderSource = string | number;
647
- type maskBorderWidth = string | number;
648
- type maskClip = string;
648
+ type maskBorderSlice = number | StableString;
649
+ type maskBorderSource = number | StableString;
650
+ type maskBorderWidth = number | StableString;
651
+ type maskClip = StableString;
649
652
  type maskComposite = compositeOperator;
650
653
  type maskImage = maskReference;
651
654
  type maskingMode = 'alpha' | 'luminance' | 'match-source';
@@ -657,13 +660,13 @@ type maskLayer =
657
660
  | compositeOperator;
658
661
  type maskMode = maskingMode;
659
662
  type maskOrigin = geometryBox;
660
- type maskPosition = string;
661
- type maskReference = 'none' | strictString;
663
+ type maskPosition = StableString;
664
+ type maskReference = 'none' | StableString;
662
665
  type maskRepeat = repeatStyle;
663
666
  type maskSize = bgSize;
664
667
  type maskType = 'luminance' | 'alpha';
665
- type masonryAutoFlow = string | number;
666
- type mathDepth = string | number;
668
+ type masonryAutoFlow = number | StableString;
669
+ type mathDepth = number | StableString;
667
670
  type mathShift = 'normal' | 'compact';
668
671
  type mathStyle = 'normal' | 'compact';
669
672
  type maxBlockSize = maxWidth;
@@ -674,7 +677,7 @@ type maxHeight =
674
677
  | 'fit-content'
675
678
  | 'fill-available'
676
679
  | number
677
- | strictString;
680
+ | StableString;
678
681
  type maxInlineSize = maxWidth;
679
682
  type maxWidth =
680
683
  | 'none'
@@ -683,7 +686,7 @@ type maxWidth =
683
686
  | 'fit-content'
684
687
  | 'fill-available'
685
688
  | number
686
- | strictString;
689
+ | StableString;
687
690
  type minBlockSize = minWidth;
688
691
  type minHeight =
689
692
  | 'auto'
@@ -692,7 +695,7 @@ type minHeight =
692
695
  | 'fit-content'
693
696
  | 'fill-available'
694
697
  | number
695
- | strictString;
698
+ | StableString;
696
699
  type minInlineSize = minWidth;
697
700
  type minWidth =
698
701
  | 'auto'
@@ -701,12 +704,12 @@ type minWidth =
701
704
  | 'fit-content'
702
705
  | 'fill-available'
703
706
  | number
704
- | strictString;
707
+ | StableString;
705
708
  type mixBlendMode = blendMode;
706
709
  type motion = motionPath | motionOffset | motionRotation;
707
710
  type motionOffset = lengthPercentage;
708
- type motionPath = 'none' | geometryBox | strictString;
709
- type motionRotation = string | number;
711
+ type motionPath = 'none' | geometryBox | StableString;
712
+ type motionRotation = number | StableString;
710
713
  type MsOverflowStyle = 'auto' | 'none' | 'scrollbar';
711
714
  type NamedColor =
712
715
  | 'aliceblue'
@@ -860,26 +863,26 @@ type NamedColor =
860
863
  | 'yellowgreen';
861
864
  type nonStandardWordBreak = 'break-word';
862
865
  type objectFit = 'fill' | 'contain' | 'cover' | 'none' | 'scale-down';
863
- type objectPosition = string;
864
- type offset = string | number;
865
- type offsetAnchor = string | number;
866
- type offsetDistance = string | number;
867
- type offsetPath = string | number;
868
- type offsetPosition = string | number;
869
- type offsetRotate = string | number;
870
- type opacity = number | string;
871
- type order = number | string;
872
- type orphans = number | string;
873
- type outline = string;
866
+ type objectPosition = StableString;
867
+ type offset = number | StableString;
868
+ type offsetAnchor = number | StableString;
869
+ type offsetDistance = number | StableString;
870
+ type offsetPath = number | StableString;
871
+ type offsetPosition = number | StableString;
872
+ type offsetRotate = number | StableString;
873
+ type opacity = number | StableString;
874
+ type order = number | StableString;
875
+ type orphans = number | StableString;
876
+ type outline = StableString;
874
877
  type outlineColor = color | 'invert';
875
- type outlineOffset = number | string;
878
+ type outlineOffset = number | StableString;
876
879
  type outlineStyle = 'auto' | brStyle;
877
880
  type outlineWidth = borderWidth;
878
881
  type overflow = 'visible' | 'hidden' | 'clip' | 'scroll' | 'auto';
879
882
  type overflowAnchor = 'auto' | 'none';
880
883
  type overflowBlock = overflowY;
881
884
  type overflowBlockX = overflowX;
882
- type overflowClipMargin = string | number;
885
+ type overflowClipMargin = number | StableString;
883
886
  type overflowWrap = 'normal' | 'break-word' | 'anywhere';
884
887
  type overflowX = overflow;
885
888
  type overflowY = overflow;
@@ -888,23 +891,23 @@ type overscrollBehaviorBlock = overscrollBehaviorY;
888
891
  type overscrollBehaviorInline = overscrollBehaviorX;
889
892
  type overscrollBehaviorX = 'none' | 'contain' | 'auto';
890
893
  type overscrollBehaviorY = 'none' | 'contain' | 'auto';
891
- type padding = number | string;
894
+ type padding = number | StableString;
892
895
  type paddingBlock = paddingBlockEnd;
893
896
  type paddingBlockEnd = paddingLeft;
894
897
  type paddingBlockStart = paddingLeft;
895
- type paddingBottom = number | string;
898
+ type paddingBottom = number | StableString;
896
899
  type paddingInline = paddingBlockEnd;
897
900
  type paddingInlineEnd = paddingBlockEnd;
898
901
  type paddingInlineStart = paddingBlockStart;
899
- type paddingLeft = number | string;
900
- type paddingRight = number | string;
901
- type paddingTop = number | string;
902
- type page = string | number;
902
+ type paddingLeft = number | StableString;
903
+ type paddingRight = number | StableString;
904
+ type paddingTop = number | StableString;
905
+ type page = number | StableString;
903
906
  type pageBreakAfter = 'auto' | 'always' | 'avoid' | 'left' | 'right';
904
907
  type pageBreakBefore = 'auto' | 'always' | 'avoid' | 'left' | 'right';
905
908
  type pageBreakInside = 'auto' | 'avoid';
906
909
  type paintOrder = 'normal' | 'stroke' | 'fill' | 'markers';
907
- type paint = 'none' | 'currentColor' | color | strictString;
910
+ type paint = 'none' | 'currentColor' | color | StableString;
908
911
  type pause = pauseBefore | pauseAfter;
909
912
  type pauseAfter = 'none' | 'x-weak' | 'weak' | 'medium' | 'strong' | 'x-strong';
910
913
  type pauseBefore =
@@ -915,10 +918,10 @@ type pauseBefore =
915
918
  | 'strong'
916
919
  | 'x-strong';
917
920
  type perspective = 'none';
918
- type perspectiveOrigin = string;
919
- type placeContent = string | number;
920
- type placeItems = string | number;
921
- type placeSelf = string | number;
921
+ type perspectiveOrigin = StableString;
922
+ type placeContent = number | StableString;
923
+ type placeItems = number | StableString;
924
+ type placeSelf = number | StableString;
922
925
  type pointerEvents =
923
926
  | 'auto'
924
927
  | 'none'
@@ -931,7 +934,7 @@ type pointerEvents =
931
934
  | 'stroke'
932
935
  | 'all';
933
936
  type position = 'static' | 'relative' | 'absolute' | 'sticky' | 'fixed';
934
- type positionAnchor = string | number;
937
+ type positionAnchor = number | StableString;
935
938
  type positionArea =
936
939
  | 'top'
937
940
  | 'left'
@@ -946,12 +949,12 @@ type positionArea =
946
949
  | 'span-inline-end'
947
950
  | 'span-block-start'
948
951
  | 'span-block-end';
949
- type positionTry = string | number;
950
- type positionTryFallbacks = string | number;
951
- type positionTryOptions = string | number;
952
+ type positionTry = number | StableString;
953
+ type positionTryFallbacks = number | StableString;
954
+ type positionTryOptions = number | StableString;
952
955
  type positionVisibility = 'always' | 'anchors-visible' | 'no-overflow';
953
956
  type printColorAdjust = 'economy' | 'exact';
954
- type quotes = 'none' | strictString;
957
+ type quotes = 'none' | StableString;
955
958
  type relativeSize = 'larger' | 'smaller';
956
959
  type repeatStyle =
957
960
  | 'repeat'
@@ -960,44 +963,44 @@ type repeatStyle =
960
963
  | 'space'
961
964
  | 'round'
962
965
  | 'no-repeat'
963
- | strictString;
966
+ | StableString;
964
967
  type resize = 'none' | 'both' | 'horizontal' | 'vertical';
965
968
  type rest = restBefore | restAfter;
966
969
  type restAfter = 'none' | 'x-weak' | 'weak' | 'medium' | 'strong' | 'x-strong';
967
970
  type restBefore = 'none' | 'x-weak' | 'weak' | 'medium' | 'strong' | 'x-strong';
968
- type right = string | number;
969
- type rotate = string | number;
970
- type rowGap = number | string;
971
+ type right = number | StableString;
972
+ type rotate = number | StableString;
973
+ type rowGap = number | StableString;
971
974
  type rubyAlign = 'start' | 'center' | 'space-between' | 'space-around';
972
975
  type rubyMerge = 'separate' | 'collapse' | 'auto';
973
976
  type rubyPosition = 'over' | 'under' | 'inter-character';
974
- type scale = 'none' | number | strictString;
977
+ type scale = 'none' | number | StableString;
975
978
  type scrollbarColor = color;
976
979
  type scrollbarGutter = 'auto' | 'stable' | 'stable both-edges';
977
980
  type scrollbarWidth = 'auto' | 'thin' | 'none';
978
981
  type scrollBehavior = 'auto' | 'smooth';
979
- type scrollMargin = string | number;
980
- type scrollMarginBlock = string | number;
981
- type scrollMarginBlockEnd = string | number;
982
- type scrollMarginBlockStart = string | number;
983
- type scrollMarginBottom = string | number;
984
- type scrollMarginInline = string | number;
985
- type scrollMarginInlineEnd = string | number;
986
- type scrollMarginInlineStart = string | number;
987
- type scrollMarginLeft = string | number;
988
- type scrollMarginRight = string | number;
989
- type scrollMarginTop = string | number;
990
- type scrollPadding = string | number;
991
- type scrollPaddingBlock = string | number;
992
- type scrollPaddingBlockEnd = string | number;
993
- type scrollPaddingBlockStart = string | number;
994
- type scrollPaddingBottom = string | number;
995
- type scrollPaddingInline = string | number;
996
- type scrollPaddingInlineEnd = string | number;
997
- type scrollPaddingInlineStart = string | number;
998
- type scrollPaddingLeft = string | number;
999
- type scrollPaddingRight = string | number;
1000
- type scrollPaddingTop = string | number;
982
+ type scrollMargin = number | StableString;
983
+ type scrollMarginBlock = number | StableString;
984
+ type scrollMarginBlockEnd = number | StableString;
985
+ type scrollMarginBlockStart = number | StableString;
986
+ type scrollMarginBottom = number | StableString;
987
+ type scrollMarginInline = number | StableString;
988
+ type scrollMarginInlineEnd = number | StableString;
989
+ type scrollMarginInlineStart = number | StableString;
990
+ type scrollMarginLeft = number | StableString;
991
+ type scrollMarginRight = number | StableString;
992
+ type scrollMarginTop = number | StableString;
993
+ type scrollPadding = number | StableString;
994
+ type scrollPaddingBlock = number | StableString;
995
+ type scrollPaddingBlockEnd = number | StableString;
996
+ type scrollPaddingBlockStart = number | StableString;
997
+ type scrollPaddingBottom = number | StableString;
998
+ type scrollPaddingInline = number | StableString;
999
+ type scrollPaddingInlineEnd = number | StableString;
1000
+ type scrollPaddingInlineStart = number | StableString;
1001
+ type scrollPaddingLeft = number | StableString;
1002
+ type scrollPaddingRight = number | StableString;
1003
+ type scrollPaddingTop = number | StableString;
1001
1004
  type scrollSnapAlign = 'none' | 'start' | 'end' | 'center';
1002
1005
  type scrollSnapStop = 'normal' | 'always';
1003
1006
  type scrollSnapType =
@@ -1017,31 +1020,31 @@ type scrollSnapType =
1017
1020
  | 'y'
1018
1021
  | 'y mandatory'
1019
1022
  | 'y proximity';
1020
- type scrollTimeline = string | number;
1023
+ type scrollTimeline = number | StableString;
1021
1024
  type scrollTimelineAxis = 'block' | 'inline' | 'x' | 'y';
1022
- type scrollTimelineName = string | number;
1025
+ type scrollTimelineName = number | StableString;
1023
1026
  type shapeBox = box | 'margin-box';
1024
- type shapeImageThreshold = number | string;
1027
+ type shapeImageThreshold = number | StableString;
1025
1028
  type shapeMargin = lengthPercentage;
1026
- type shapeOutside = 'none' | shapeBox | strictString;
1029
+ type shapeOutside = 'none' | shapeBox | StableString;
1027
1030
  type shapeRendering =
1028
1031
  | 'auto'
1029
1032
  | 'optimizeSpeed'
1030
1033
  | 'crispEdges'
1031
1034
  | 'geometricPrecision';
1032
- type speakAs = 'normal' | 'spell-out' | 'digits' | strictString;
1035
+ type speakAs = 'normal' | 'spell-out' | 'digits' | StableString;
1033
1036
  type singleAnimationDirection =
1034
1037
  | 'normal'
1035
1038
  | 'reverse'
1036
1039
  | 'alternate'
1037
1040
  | 'alternate-reverse';
1038
1041
  type singleAnimationFillMode = 'none' | 'forwards' | 'backwards' | 'both';
1039
- type singleAnimationIterationCount = 'infinite';
1040
- type singleAnimationName = 'none' | strictString;
1042
+ type singleAnimationIterationCount = number | 'infinite';
1043
+ type singleAnimationName = 'none' | StableString;
1041
1044
  type singleAnimationPlayState = 'running' | 'paused';
1042
1045
  type singleTimingFunction = singleTransitionTimingFunction;
1043
1046
  type singleTransition = singleTransitionTimingFunction;
1044
- type singleTransitionProperty = 'all' | strictString;
1047
+ type singleTransitionProperty = 'all' | StableString;
1045
1048
  type singleTransitionTimingFunction =
1046
1049
  | 'ease'
1047
1050
  | 'linear'
@@ -1050,21 +1053,21 @@ type singleTransitionTimingFunction =
1050
1053
  | 'ease-in-out'
1051
1054
  | 'step-start'
1052
1055
  | 'step-end'
1053
- | strictString;
1054
- type src = string;
1055
- type start = string | number;
1056
+ | StableString;
1057
+ type src = StableString;
1058
+ type start = number | StableString;
1056
1059
  type stroke = paint;
1057
- type strokeDasharray = 'none' | strictString;
1060
+ type strokeDasharray = 'none' | svgLength;
1058
1061
  type strokeDashoffset = svgLength;
1059
1062
  type strokeLinecap = 'butt' | 'round' | 'square';
1060
1063
  type strokeLinejoin = 'miter' | 'round' | 'bevel';
1061
- type strokeMiterlimit = number | string;
1062
- type strokeOpacity = number | string;
1064
+ type strokeMiterlimit = number | StableString;
1065
+ type strokeOpacity = number | StableString;
1063
1066
  type strokeWidth = svgLength;
1064
- type svgLength = number | strictString;
1067
+ type svgLength = number | StableString;
1065
1068
  type svgWritingMode = 'lr-tb' | 'rl-tb' | 'tb-rl' | 'lr' | 'rl' | 'tb';
1066
1069
  type tableLayout = 'auto' | 'fixed';
1067
- type tabSize = number | string;
1070
+ type tabSize = number | StableString;
1068
1071
  type textAlign =
1069
1072
  | 'start'
1070
1073
  | 'end'
@@ -1082,56 +1085,56 @@ type textAlignLast =
1082
1085
  | 'center'
1083
1086
  | 'justify';
1084
1087
  type textAnchor = 'start' | 'middle' | 'end';
1085
- type textCombineUpright = 'none' | 'all' | strictString;
1088
+ type textCombineUpright = 'none' | 'all' | StableString;
1086
1089
  type textDecoration =
1087
1090
  | textDecorationLine
1088
1091
  | textDecorationStyle
1089
1092
  | textDecorationColor;
1090
1093
  type textDecorationColor = color;
1091
- type textDecorationLine = 'none' | strictString;
1092
- type textDecorationSkip = 'none' | strictString;
1094
+ type textDecorationLine = 'none' | StableString;
1095
+ type textDecorationSkip = 'none' | StableString;
1093
1096
  type textDecorationSkipInk = 'auto' | 'none' | 'all';
1094
1097
  type textDecorationStyle = 'solid' | 'double' | 'dotted' | 'dashed' | 'wavy';
1095
- type textDecorationThickness = string | number;
1098
+ type textDecorationThickness = number | StableString;
1096
1099
  type textEmphasis = textEmphasisStyle | textEmphasisColor;
1097
1100
  type textEmphasisColor = color;
1098
- type textEmphasisPosition = string;
1099
- type textEmphasisStyle = 'none' | strictString;
1101
+ type textEmphasisPosition = StableString;
1102
+ type textEmphasisStyle = 'none' | StableString;
1100
1103
  type textIndent = lengthPercentage | 'hanging' | 'each-line';
1101
1104
  type textOrientation = 'mixed' | 'upright' | 'sideways';
1102
- type textOverflow = string;
1105
+ type textOverflow = StableString;
1103
1106
  type textRendering =
1104
1107
  | 'auto'
1105
1108
  | 'optimizeSpeed'
1106
1109
  | 'optimizeLegibility'
1107
1110
  | 'geometricPrecision';
1108
- type textShadow = 'none' | strictString;
1109
- type textSizeAdjust = 'none' | 'auto' | strictString;
1111
+ type textShadow = 'none' | StableString;
1112
+ type textSizeAdjust = 'none' | 'auto' | StableString;
1110
1113
  type textTransform =
1111
1114
  | 'none'
1112
1115
  | 'capitalize'
1113
1116
  | 'uppercase'
1114
1117
  | 'lowercase'
1115
1118
  | 'full-width';
1116
- type textUnderlineOffset = string | number;
1117
- type textUnderlinePosition = 'auto' | strictString;
1119
+ type textUnderlineOffset = number | StableString;
1120
+ type textUnderlinePosition = 'auto' | StableString;
1118
1121
  type textWrap = 'wrap' | 'nowrap' | 'balance';
1119
- type time = string;
1120
- type timelineScope = string | number;
1121
- type top = number | string;
1122
- type touchAction = 'auto' | 'none' | 'manipulation' | strictString;
1122
+ type time = StableString;
1123
+ type timelineScope = number | StableString;
1124
+ type top = number | StableString;
1125
+ type touchAction = 'auto' | 'none' | 'manipulation' | StableString;
1123
1126
  type trackBreadth = 'min-content' | 'max-content' | 'auto' | lengthPercentage;
1124
1127
  type trackSize = trackBreadth;
1125
- type transform = 'none' | strictString;
1128
+ type transform = 'none' | StableString;
1126
1129
  type transformBox = 'border-box' | 'fill-box' | 'view-box';
1127
- type transformOrigin = string | number;
1130
+ type transformOrigin = number | StableString;
1128
1131
  type transformStyle = 'flat' | 'preserve-3d';
1129
1132
  type transition = singleTransition;
1130
1133
  type transitionDelay = time;
1131
1134
  type transitionDuration = time;
1132
1135
  type transitionProperty = 'none' | singleTransitionProperty;
1133
1136
  type transitionTimingFunction = singleTransitionTimingFunction;
1134
- type translate = string | number;
1137
+ type translate = number | StableString;
1135
1138
  type unicodeBidi =
1136
1139
  | 'normal'
1137
1140
  | 'embed'
@@ -1139,7 +1142,7 @@ type unicodeBidi =
1139
1142
  | 'bidi-override'
1140
1143
  | 'isolate-override'
1141
1144
  | 'plaintext';
1142
- type unicodeRange = string;
1145
+ type unicodeRange = StableString;
1143
1146
  type userSelect = 'auto' | 'text' | 'none' | 'contain' | 'all';
1144
1147
  type verticalAlign =
1145
1148
  | 'baseline'
@@ -1151,21 +1154,21 @@ type verticalAlign =
1151
1154
  | 'top'
1152
1155
  | 'bottom'
1153
1156
  | number
1154
- | strictString;
1155
- type viewTimeline = string | number;
1157
+ | StableString;
1158
+ type viewTimeline = number | StableString;
1156
1159
  type viewTimelineAxis = 'block' | 'inline' | 'x' | 'y';
1157
- type viewTimelineInset = string | number;
1158
- type viewTimelineName = string | number;
1159
- type viewTransitionName = string | number;
1160
+ type viewTimelineInset = number | StableString;
1161
+ type viewTimelineName = number | StableString;
1162
+ type viewTransitionName = number | StableString;
1160
1163
  type visibility = 'visible' | 'hidden' | 'collapse';
1161
1164
  type voiceBalance = 'left' | 'center' | 'right' | 'leftwards' | 'rightwards';
1162
- type voiceDuration = 'auto' | strictString;
1163
- type voiceFamily = 'preserve' | strictString;
1164
- type voicePitch = 'absolute' | number | strictString;
1165
- type voiceRange = 'absolute' | number | strictString;
1166
- type voiceRate = string;
1165
+ type voiceDuration = 'auto' | StableString;
1166
+ type voiceFamily = 'preserve' | StableString;
1167
+ type voicePitch = 'absolute' | number | StableString;
1168
+ type voiceRange = 'absolute' | number | StableString;
1169
+ type voiceRate = StableString;
1167
1170
  type voiceStress = 'normal' | 'strong' | 'moderate' | 'none' | 'reduced';
1168
- type voiceVolume = 'silent' | strictString;
1171
+ type voiceVolume = 'silent' | StableString;
1169
1172
  type WebkitBackgroundClip =
1170
1173
  | 'border-box'
1171
1174
  | 'padding-box'
@@ -1173,12 +1176,12 @@ type WebkitBackgroundClip =
1173
1176
  | 'text';
1174
1177
  type WebkitBoxOrient = 'vertical' | 'horizontal' | 'inline-axis' | 'block-axis';
1175
1178
  type WebkitFontSmoothing = 'antialiased';
1176
- type WebkitLineClamp = string | number;
1179
+ type WebkitLineClamp = number | StableString;
1177
1180
  type WebkitMaskImage = maskImage;
1178
1181
  type WebkitTapHighlightColor = color;
1179
1182
  type WebkitTextFillColor = color;
1180
1183
  type WebkitTextStrokeColor = color;
1181
- type WebkitTextStrokeWidth = string | number;
1184
+ type WebkitTextStrokeWidth = number | StableString;
1182
1185
  type whiteSpace = 'normal' | 'pre' | 'nowrap' | 'pre-wrap' | 'pre-line';
1183
1186
  type whiteSpaceCollapse =
1184
1187
  | 'collapse'
@@ -1187,7 +1190,7 @@ type whiteSpaceCollapse =
1187
1190
  | 'preserve-breaks'
1188
1191
  | 'preserve-spaces'
1189
1192
  | 'break-spaces';
1190
- type widows = number | string;
1193
+ type widows = number | StableString;
1191
1194
  type width =
1192
1195
  | 'available'
1193
1196
  | 'min-content'
@@ -1195,7 +1198,7 @@ type width =
1195
1198
  | 'fit-content'
1196
1199
  | 'auto'
1197
1200
  | number
1198
- | strictString;
1201
+ | StableString;
1199
1202
  type willChange = 'auto' | animatableFeature;
1200
1203
  type wordBreak = 'normal' | 'break-all' | 'keep-all' | nonStandardWordBreak;
1201
1204
  type wordSpacing = 'normal' | lengthPercentage;
@@ -1207,7 +1210,7 @@ type writingMode =
1207
1210
  | 'sideways-rl'
1208
1211
  | 'sideways-lr'
1209
1212
  | svgWritingMode;
1210
- type zIndex = 'auto';
1213
+ type zIndex = 'auto' | number | StableString;
1211
1214
  type zoom = 'normal';
1212
1215
 
1213
1216
  export type CSSTypes = Readonly<{
@@ -1377,6 +1380,8 @@ export type CSSTypes = Readonly<{
1377
1380
  clipPath?: all | clipPath;
1378
1381
  clipRule?: all | clipRule;
1379
1382
  color?: all | color;
1383
+ colorInterpolation?: all | colorInterpolation;
1384
+ colorInterpolationFilters?: all | colorInterpolationFilters;
1380
1385
 
1381
1386
  colorScheme?: all | colorScheme;
1382
1387
  forcedColorAdjust?: all | forcedColorAdjust;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plumeria/core",
3
- "version": "10.3.3",
3
+ "version": "10.4.0",
4
4
  "description": "A styling system that disappears.",
5
5
  "author": "Refirst 11",
6
6
  "license": "MIT",