@plumeria/core 12.0.2 → 12.0.3

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 +15 -42
  2. package/package.json +1 -1
package/lib/csstypes.d.ts CHANGED
@@ -424,13 +424,20 @@ type dominantBaseline =
424
424
  | 'text-before-edge';
425
425
  type emptyCells = 'show' | 'hide';
426
426
  type end = number | StableString;
427
+ type extrinsicSize = 'stretch' | 'contain';
427
428
  type fill = paint;
428
429
  type fillOpacity = number | StableString;
429
430
  type fillRule = 'nonzero' | 'evenodd';
430
431
  type filter = 'none' | StableString;
431
432
  type finalBgLayer = attachment | box | backgroundColor;
432
433
  type flex = 'none' | number | StableString;
433
- type flexBasis = 'content' | number | StableString;
434
+ type flexBasis =
435
+ | 'auto'
436
+ | 'content'
437
+ | intrinsicSize
438
+ | extrinsicSize
439
+ | number
440
+ | StableString;
434
441
  type flexDirection = 'row' | 'row-reverse' | 'column' | 'column-reverse';
435
442
  type flexFlow = flexDirection | flexWrap;
436
443
  type flexGrow = number | StableString;
@@ -533,7 +540,7 @@ type gridTemplateAreas = 'none' | StableString;
533
540
  type gridTemplateColumns = 'none' | 'subgrid' | StableString;
534
541
  type gridTemplateRows = 'none' | 'subgrid' | StableString;
535
542
  type hangingPunctuation = number | StableString;
536
- type height = number | StableString;
543
+ type height = 'auto' | intrinsicSize | extrinsicSize | number | StableString;
537
544
  type hyphenateCharacter = number | StableString;
538
545
  type hyphenateLimitChars = number | StableString;
539
546
  type hyphens = 'none' | 'manual' | 'auto';
@@ -558,6 +565,7 @@ type insetInline = number | StableString;
558
565
  type insetInlineEnd = number | StableString;
559
566
  type insetInlineStart = number | StableString;
560
567
  type interpolateSize = 'allow-keywords' | 'numeric-only';
568
+ type intrinsicSize = 'min-content' | 'max-content' | 'fit-content';
561
569
  type isolation = 'auto' | 'isolate';
562
570
  type justifyContent =
563
571
  | 'center'
@@ -670,41 +678,13 @@ type mathDepth = number | StableString;
670
678
  type mathShift = 'normal' | 'compact';
671
679
  type mathStyle = 'normal' | 'compact';
672
680
  type maxBlockSize = maxWidth;
673
- type maxHeight =
674
- | 'none'
675
- | 'max-content'
676
- | 'min-content'
677
- | 'fit-content'
678
- | 'fill-available'
679
- | number
680
- | StableString;
681
+ type maxHeight = 'none' | intrinsicSize | extrinsicSize | number | StableString;
681
682
  type maxInlineSize = maxWidth;
682
- type maxWidth =
683
- | 'none'
684
- | 'max-content'
685
- | 'min-content'
686
- | 'fit-content'
687
- | 'fill-available'
688
- | number
689
- | StableString;
683
+ type maxWidth = 'none' | intrinsicSize | extrinsicSize | number | StableString;
690
684
  type minBlockSize = minWidth;
691
- type minHeight =
692
- | 'auto'
693
- | 'max-content'
694
- | 'min-content'
695
- | 'fit-content'
696
- | 'fill-available'
697
- | number
698
- | StableString;
685
+ type minHeight = 'auto' | intrinsicSize | extrinsicSize | number | StableString;
699
686
  type minInlineSize = minWidth;
700
- type minWidth =
701
- | 'auto'
702
- | 'max-content'
703
- | 'min-content'
704
- | 'fit-content'
705
- | 'fill-available'
706
- | number
707
- | StableString;
687
+ type minWidth = 'auto' | intrinsicSize | extrinsicSize | number | StableString;
708
688
  type mixBlendMode = blendMode;
709
689
  type motion = motionPath | motionOffset | motionRotation;
710
690
  type motionOffset = lengthPercentage;
@@ -1191,14 +1171,7 @@ type whiteSpaceCollapse =
1191
1171
  | 'preserve-spaces'
1192
1172
  | 'break-spaces';
1193
1173
  type widows = number | StableString;
1194
- type width =
1195
- | 'available'
1196
- | 'min-content'
1197
- | 'max-content'
1198
- | 'fit-content'
1199
- | 'auto'
1200
- | number
1201
- | StableString;
1174
+ type width = 'auto' | intrinsicSize | extrinsicSize | number | StableString;
1202
1175
  type willChange = 'auto' | animatableFeature;
1203
1176
  type wordBreak = 'normal' | 'break-all' | 'keep-all' | nonStandardWordBreak;
1204
1177
  type wordSpacing = 'normal' | lengthPercentage;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plumeria/core",
3
- "version": "12.0.2",
3
+ "version": "12.0.3",
4
4
  "description": "CSS abstraction layer for styled React components",
5
5
  "author": "Refirst 11",
6
6
  "license": "MIT",