@sanity/ui 3.0.0-static.19 → 3.0.0-static.20

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 (131) hide show
  1. package/dist/_chunks-cjs/_visual-editing.cjs +109 -112
  2. package/dist/_chunks-cjs/_visual-editing.cjs.map +1 -1
  3. package/dist/_chunks-cjs/buildCommand.cjs +30 -24
  4. package/dist/_chunks-cjs/buildCommand.cjs.map +1 -1
  5. package/dist/_chunks-es/_visual-editing.js +110 -113
  6. package/dist/_chunks-es/_visual-editing.js.map +1 -1
  7. package/dist/cli.cjs +1 -1
  8. package/dist/css.cjs +379 -358
  9. package/dist/css.cjs.map +1 -1
  10. package/dist/css.d.cts +45 -10
  11. package/dist/css.d.ts +45 -10
  12. package/dist/css.js +379 -358
  13. package/dist/css.js.map +1 -1
  14. package/dist/index.d.cts +0 -1
  15. package/dist/index.d.ts +0 -1
  16. package/dist/theme.cjs +89 -64
  17. package/dist/theme.cjs.map +1 -1
  18. package/dist/theme.d.cts +28 -2
  19. package/dist/theme.d.ts +28 -2
  20. package/dist/theme.js +89 -64
  21. package/dist/theme.js.map +1 -1
  22. package/dist/ui-system.css +1236 -801
  23. package/dist/ui-system.min.css +1 -1
  24. package/dist/ui-theme.css +413 -82
  25. package/dist/ui-theme.min.css +1 -1
  26. package/dist/ui.css +1649 -883
  27. package/dist/ui.min.css +1 -1
  28. package/exports/_visual-editing.ts +0 -1
  29. package/package.json +6 -6
  30. package/src/cli/buildCommand.ts +48 -41
  31. package/src/core/components/autocomplete/__workshop__/async.tsx +1 -1
  32. package/src/core/components/autocomplete/__workshop__/constrainedHeight.tsx +1 -1
  33. package/src/core/components/autocomplete/__workshop__/custom.tsx +12 -11
  34. package/src/core/components/autocomplete/__workshop__/example.tsx +13 -12
  35. package/src/core/components/autocomplete/__workshop__/fullscreen.tsx +53 -54
  36. package/src/core/components/breadcrumbs/__workshop__/example.tsx +1 -2
  37. package/src/core/components/dialog/__workshop__/autoFocus.tsx +2 -2
  38. package/src/core/components/dialog/__workshop__/onScroll.tsx +16 -4
  39. package/src/core/components/dialog/__workshop__/position.tsx +3 -3
  40. package/src/core/components/dialog/__workshop__/props.tsx +6 -6
  41. package/src/core/components/menu/__workshop__/menuButton.tsx +3 -3
  42. package/src/core/components/menu/__workshop__/tones.tsx +3 -3
  43. package/src/core/components/skeleton/__workshop__/delay.tsx +2 -2
  44. package/src/core/components/skeleton/__workshop__/skeleton.tsx +2 -2
  45. package/src/core/components/tab/__workshop__/example.tsx +1 -1
  46. package/src/core/components/toast/__workshop__/toast.tsx +5 -5
  47. package/src/core/primitives/avatar/__workshop__/asButton.tsx +2 -2
  48. package/src/core/primitives/avatar/__workshop__/stack.tsx +2 -2
  49. package/src/core/primitives/avatar/__workshop__/withinButton.tsx +1 -1
  50. package/src/core/primitives/avatar/__workshop__/withinMenuItem.tsx +1 -1
  51. package/src/core/primitives/badge/__workshop__/props.tsx +5 -8
  52. package/src/core/primitives/box/__workshop__/props.tsx +2 -2
  53. package/src/core/primitives/box/box.tsx +2 -0
  54. package/src/core/primitives/button/__workshop__/props.tsx +17 -19
  55. package/src/core/primitives/button/__workshop__/stacked.tsx +12 -12
  56. package/src/core/primitives/card/__workshop__/asButton.tsx +1 -1
  57. package/src/core/primitives/card/__workshop__/interactive.tsx +2 -2
  58. package/src/core/primitives/card/__workshop__/props.tsx +11 -11
  59. package/src/core/primitives/card/__workshop__/selected.tsx +2 -2
  60. package/src/core/primitives/checkbox/__workshop__/props.tsx +5 -5
  61. package/src/core/primitives/code/__workshop__/props.tsx +4 -7
  62. package/src/core/primitives/code/code.tsx +1 -1
  63. package/src/core/primitives/container/__workshop__/example.tsx +2 -2
  64. package/src/core/primitives/flex/__workshop__/example.tsx +2 -2
  65. package/src/core/primitives/heading/__workshop__/plain.tsx +11 -7
  66. package/src/core/primitives/heading/heading.tsx +1 -1
  67. package/src/core/primitives/inline/__workshop__/plain.tsx +2 -5
  68. package/src/core/primitives/label/__workshop__/plain.tsx +7 -8
  69. package/src/core/primitives/label/label.tsx +1 -1
  70. package/src/core/primitives/popover/__workshop__/AlignedStory.tsx +6 -6
  71. package/src/core/primitives/popover/__workshop__/MatchReferenceWidthStory.tsx +3 -3
  72. package/src/core/primitives/popover/__workshop__/PlainStory.tsx +1 -1
  73. package/src/core/primitives/popover/__workshop__/SidePanelStory.tsx +1 -1
  74. package/src/core/primitives/popover/__workshop__/TestStory.tsx +3 -1
  75. package/src/core/primitives/radio/__workshop__/example.tsx +2 -2
  76. package/src/core/primitives/radio/__workshop__/plain.tsx +3 -3
  77. package/src/core/primitives/select/__workshop__/plain.tsx +5 -8
  78. package/src/core/primitives/spinner/__workshop__/Props.tsx +3 -3
  79. package/src/core/primitives/stack/__workshop__/plain.tsx +2 -2
  80. package/src/core/primitives/text/__workshop__/colored.tsx +2 -2
  81. package/src/core/primitives/text/__workshop__/example.tsx +8 -11
  82. package/src/core/primitives/textArea/__workshop__/plain.tsx +11 -12
  83. package/src/core/primitives/textArea/textArea.tsx +10 -7
  84. package/src/core/primitives/textInput/__workshop__/customValidity.tsx +1 -1
  85. package/src/core/primitives/textInput/__workshop__/plain.tsx +30 -18
  86. package/src/core/primitives/textInput/__workshop__/states.tsx +1 -1
  87. package/src/core/primitives/textInput/__workshop__/typed.tsx +2 -2
  88. package/src/core/primitives/textInput/textInput.tsx +11 -20
  89. package/src/core/primitives/tooltip/__workshop__/customPortal.tsx +3 -3
  90. package/src/core/primitives/tooltip/__workshop__/overflowingBoundary.tsx +1 -1
  91. package/src/core/primitives/tooltip/__workshop__/props.tsx +4 -4
  92. package/src/core/primitives/tooltip/__workshop__/resizableBoundary.tsx +1 -1
  93. package/src/core/primitives/tooltip/tooltipLayer.tsx +1 -3
  94. package/src/css/_system.style.ts +2 -0
  95. package/src/css/aspects/font/font.style.ts +9 -8
  96. package/src/css/aspects/index.ts +1 -0
  97. package/src/css/aspects/margin/margin.style.ts +13 -0
  98. package/src/css/aspects/margin/types.ts +12 -7
  99. package/src/css/aspects/minHeight/index.ts +2 -0
  100. package/src/css/aspects/minHeight/minHeight.style.ts +9 -0
  101. package/src/css/aspects/minHeight/minHeight.ts +8 -0
  102. package/src/css/aspects/minHeight/types.ts +9 -0
  103. package/src/css/components/skeleton/skeleton.style.ts +7 -10
  104. package/src/css/primitives/_input/_input.style.ts +30 -51
  105. package/src/css/primitives/_selectable/_selectable.style.ts +2 -3
  106. package/src/css/primitives/box/box.style.ts +0 -3
  107. package/src/css/primitives/box/box.ts +2 -0
  108. package/src/css/primitives/box/types.ts +2 -0
  109. package/src/css/primitives/card/card.style.ts +3 -0
  110. package/src/css/primitives/code/code.style.ts +1 -0
  111. package/src/css/primitives/heading/heading.style.ts +1 -0
  112. package/src/css/primitives/label/label.style.ts +1 -0
  113. package/src/css/primitives/text/text.style.ts +1 -0
  114. package/src/css/primitives/textArea/textArea.style.ts +1 -3
  115. package/src/css/primitives/textInput/textInput.style.ts +10 -18
  116. package/src/css/primitives/textInput/textInput.ts +15 -0
  117. package/src/css/primitives/tooltip/tooltip.style.ts +0 -13
  118. package/src/css/primitives/tooltip/tooltip.ts +0 -5
  119. package/src/css/theme/resolveTheme.ts +29 -18
  120. package/src/theme/v0/font.ts +0 -1
  121. package/src/theme/v2/defaults/fonts.ts +0 -1
  122. package/src/theme/v3/_parseColorToken.ts +0 -5
  123. package/src/theme/v3/buildTheme_v3.ts +2 -2
  124. package/src/theme/v3/defaultFonts.ts +250 -0
  125. package/src/theme/v3/defaultTokens.ts +39 -35
  126. package/src/theme/v3/types.ts +35 -2
  127. package/src/theme/versioning/v3_v2.ts +1 -0
  128. package/src/css/primitives/_input/__workshop__/customInput.tsx +0 -16
  129. package/src/css/primitives/_input/__workshop__/index.ts +0 -14
  130. /package/src/core/components/autocomplete/{__mocks__ → __workshop__/mock}/apiStore.ts +0 -0
  131. /package/src/core/components/autocomplete/{__mocks__ → __workshop__/mock}/countries.ts +0 -0
package/dist/css.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { HUES, TINTS, SPACE, SHADOW, RADIUS, FONT_TEXT_SIZE, FONT_LABEL_SIZE, FONT_HEADING_SIZE, FONT_CODE_SIZE, CONTAINER_SCALE, COLOR_VARIANTS, THEME_COLOR_STATE_TONES, THEME_COLOR_CARD_TONES, AVATAR_COLORS, AVATAR_SIZE, _parseColorToken, buildTheme_v3, THEME_COLOR_SCHEMES } from "@sanity/ui/theme";
2
- var version = "3.0.0-static.19";
2
+ var version = "3.0.0-static.20";
3
3
  function _hash(value) {
4
4
  let h = 5381;
5
5
  for (let index = 0, len = value.length; index < len; index++)
@@ -513,15 +513,18 @@ function resolveTheme(options) {
513
513
  iconSize: null,
514
514
  featureSettings: null,
515
515
  fontWeight: null,
516
+ capHeight: null,
516
517
  iconOffset: null,
518
+ customIconSize: null,
519
+ customIconOffset: null,
517
520
  code: {
518
521
  family: theme.font.code.family,
519
522
  featureSettings: theme.font.code.featureSettings ?? "normal",
520
523
  weight: {
521
- regular: String(theme.font.code.weights.regular),
522
- medium: String(theme.font.code.weights.medium),
523
- semibold: String(theme.font.code.weights.semibold),
524
- bold: String(theme.font.code.weights.bold)
524
+ regular: String(theme.font.code.weight.regular),
525
+ medium: String(theme.font.code.weight.medium),
526
+ semibold: String(theme.font.code.weight.semibold),
527
+ bold: String(theme.font.code.weight.bold)
525
528
  },
526
529
  sizes: _fromEntries(FONT_CODE_SIZE.map((s) => [s, {
527
530
  fontSize: rem(theme.font.code.sizes[s].fontSize),
@@ -529,17 +532,18 @@ function resolveTheme(options) {
529
532
  letterSpacing: rem(theme.font.code.sizes[s].letterSpacing),
530
533
  ascenderHeight: rem(theme.font.code.sizes[s].ascenderHeight),
531
534
  descenderHeight: rem(theme.font.code.sizes[s].descenderHeight),
532
- iconSize: rem(theme.font.code.sizes[s].iconSize)
535
+ iconSize: rem(theme.font.code.sizes[s].iconSize),
536
+ customIconSize: rem(theme.font.code.sizes[s].customIconSize)
533
537
  }]))
534
538
  },
535
539
  heading: {
536
540
  family: theme.font.heading.family,
537
541
  featureSettings: theme.font.heading.featureSettings ?? "normal",
538
542
  weight: {
539
- regular: String(theme.font.heading.weights.regular),
540
- medium: String(theme.font.heading.weights.medium),
541
- semibold: String(theme.font.heading.weights.semibold),
542
- bold: String(theme.font.heading.weights.bold)
543
+ regular: String(theme.font.heading.weight.regular),
544
+ medium: String(theme.font.heading.weight.medium),
545
+ semibold: String(theme.font.heading.weight.semibold),
546
+ bold: String(theme.font.heading.weight.bold)
543
547
  },
544
548
  sizes: _fromEntries(FONT_HEADING_SIZE.map((s) => [s, {
545
549
  fontSize: rem(theme.font.heading.sizes[s].fontSize),
@@ -547,17 +551,18 @@ function resolveTheme(options) {
547
551
  letterSpacing: rem(theme.font.heading.sizes[s].letterSpacing),
548
552
  ascenderHeight: rem(theme.font.heading.sizes[s].ascenderHeight),
549
553
  descenderHeight: rem(theme.font.heading.sizes[s].descenderHeight),
550
- iconSize: rem(theme.font.heading.sizes[s].iconSize)
554
+ iconSize: rem(theme.font.heading.sizes[s].iconSize),
555
+ customIconSize: rem(theme.font.heading.sizes[s].customIconSize)
551
556
  }]))
552
557
  },
553
558
  label: {
554
559
  family: theme.font.label.family,
555
560
  featureSettings: theme.font.label.featureSettings ?? "normal",
556
561
  weight: {
557
- regular: String(theme.font.label.weights.regular),
558
- medium: String(theme.font.label.weights.medium),
559
- semibold: String(theme.font.label.weights.semibold),
560
- bold: String(theme.font.label.weights.bold)
562
+ regular: String(theme.font.label.weight.regular),
563
+ medium: String(theme.font.label.weight.medium),
564
+ semibold: String(theme.font.label.weight.semibold),
565
+ bold: String(theme.font.label.weight.bold)
561
566
  },
562
567
  sizes: _fromEntries(FONT_LABEL_SIZE.map((s) => [s, {
563
568
  fontSize: rem(theme.font.label.sizes[s].fontSize),
@@ -565,17 +570,18 @@ function resolveTheme(options) {
565
570
  letterSpacing: rem(theme.font.label.sizes[s].letterSpacing),
566
571
  ascenderHeight: rem(theme.font.label.sizes[s].ascenderHeight),
567
572
  descenderHeight: rem(theme.font.label.sizes[s].descenderHeight),
568
- iconSize: rem(theme.font.label.sizes[s].iconSize)
573
+ iconSize: rem(theme.font.label.sizes[s].iconSize),
574
+ customIconSize: rem(theme.font.label.sizes[s].customIconSize)
569
575
  }]))
570
576
  },
571
577
  text: {
572
578
  family: theme.font.text.family,
573
579
  featureSettings: theme.font.text.featureSettings ?? "normal",
574
580
  weight: {
575
- regular: String(theme.font.text.weights.regular),
576
- medium: String(theme.font.text.weights.medium),
577
- semibold: String(theme.font.text.weights.semibold),
578
- bold: String(theme.font.text.weights.bold)
581
+ regular: String(theme.font.text.weight.regular),
582
+ medium: String(theme.font.text.weight.medium),
583
+ semibold: String(theme.font.text.weight.semibold),
584
+ bold: String(theme.font.text.weight.bold)
579
585
  },
580
586
  sizes: _fromEntries(FONT_TEXT_SIZE.map((s) => [s, {
581
587
  fontSize: rem(theme.font.text.sizes[s].fontSize),
@@ -583,7 +589,8 @@ function resolveTheme(options) {
583
589
  letterSpacing: rem(theme.font.text.sizes[s].letterSpacing),
584
590
  ascenderHeight: rem(theme.font.text.sizes[s].ascenderHeight),
585
591
  descenderHeight: rem(theme.font.text.sizes[s].descenderHeight),
586
- iconSize: rem(theme.font.text.sizes[s].iconSize)
592
+ iconSize: rem(theme.font.text.sizes[s].iconSize),
593
+ customIconSize: rem(theme.font.text.sizes[s].customIconSize)
587
594
  }]))
588
595
  },
589
596
  skeleton: {
@@ -691,14 +698,15 @@ function resolveTheme(options) {
691
698
  theme: theme2,
692
699
  scheme,
693
700
  tone
694
- } = options2, card2 = theme2.color[tone], cardOptions = {
695
- defaultHue: card2._hue
696
- }, i = scheme === "dark" ? 1 : 0, defaultElement = buildElementContract({
701
+ } = options2, card2 = theme2.color[tone], i = scheme === "dark" ? 1 : 0, defaultElement = buildElementContract({
697
702
  card: card2,
698
703
  variant: "tinted",
699
704
  tone: "default",
700
705
  scheme
701
- });
706
+ }), bgValue = defaultElement.bg[0], cardOptions = {
707
+ bgValue,
708
+ defaultHue: card2._hue
709
+ };
702
710
  return {
703
711
  avatar: _fromEntries(AVATAR_COLORS.map((c) => [c, {
704
712
  bg: renderColor(card2.avatar[c].bg[i], {
@@ -770,7 +778,7 @@ function resolveTheme(options) {
770
778
  variant: v,
771
779
  tone: e,
772
780
  scheme,
773
- bgValue: defaultElement.bg[0]
781
+ bgValue
774
782
  })]))]))
775
783
  };
776
784
  }
@@ -830,81 +838,81 @@ function toBoxShadow(value) {
830
838
  }
831
839
  const result = resolveTheme({
832
840
  theme: buildTheme_v3()
833
- }), vars = result.vars, varNames = result.varNames, properties = result.properties, util$v = {};
834
- _responsiveRule(util$v, "border", {
841
+ }), vars = result.vars, varNames = result.varNames, properties = result.properties, util$w = {};
842
+ _responsiveRule(util$w, "border", {
835
843
  border: `1px solid ${vars.color.border}`
836
844
  });
837
- _responsiveRule(util$v, "border-t", {
845
+ _responsiveRule(util$w, "border-t", {
838
846
  borderTop: `1px solid ${vars.color.border}`
839
847
  });
840
- _responsiveRule(util$v, "border-r", {
848
+ _responsiveRule(util$w, "border-r", {
841
849
  borderRight: `1px solid ${vars.color.border}`
842
850
  });
843
- _responsiveRule(util$v, "border-b", {
851
+ _responsiveRule(util$w, "border-b", {
844
852
  borderBottom: `1px solid ${vars.color.border}`
845
853
  });
846
- _responsiveRule(util$v, "border-l", {
854
+ _responsiveRule(util$w, "border-l", {
847
855
  borderLeft: `1px solid ${vars.color.border}`
848
856
  });
849
857
  const borderStyle = {
850
858
  layers: {
851
- util: util$v
859
+ util: util$w
852
860
  }
853
- }, util$u = {};
854
- _responsiveRule(util$u, "box-border", {
861
+ }, util$v = {};
862
+ _responsiveRule(util$v, "box-border", {
855
863
  boxSizing: "border-box"
856
864
  });
857
- _responsiveRule(util$u, "box-content", {
865
+ _responsiveRule(util$v, "box-content", {
858
866
  boxSizing: "content-box"
859
867
  });
860
868
  const boxSizingStyle = {
861
869
  layers: {
862
- util: util$u
870
+ util: util$v
863
871
  }
864
- }, util$t = {};
865
- _responsiveRule(util$t, "block", {
872
+ }, util$u = {};
873
+ _responsiveRule(util$u, "block", {
866
874
  nest: {
867
875
  "&:not([hidden])": {
868
876
  display: "block"
869
877
  }
870
878
  }
871
879
  });
872
- _responsiveRule(util$t, "flex", {
880
+ _responsiveRule(util$u, "flex", {
873
881
  nest: {
874
882
  "&:not([hidden])": {
875
883
  display: "flex"
876
884
  }
877
885
  }
878
886
  });
879
- _responsiveRule(util$t, "grid", {
887
+ _responsiveRule(util$u, "grid", {
880
888
  nest: {
881
889
  "&:not([hidden])": {
882
890
  display: "grid"
883
891
  }
884
892
  }
885
893
  });
886
- _responsiveRule(util$t, "inline-block", {
894
+ _responsiveRule(util$u, "inline-block", {
887
895
  nest: {
888
896
  "&:not([hidden])": {
889
897
  display: "inline-block"
890
898
  }
891
899
  }
892
900
  });
893
- _responsiveRule(util$t, "inline-flex", {
901
+ _responsiveRule(util$u, "inline-flex", {
894
902
  nest: {
895
903
  "&:not([hidden])": {
896
904
  display: "inline-flex"
897
905
  }
898
906
  }
899
907
  });
900
- _responsiveRule(util$t, "inline-grid", {
908
+ _responsiveRule(util$u, "inline-grid", {
901
909
  nest: {
902
910
  "&:not([hidden])": {
903
911
  display: "inline-grid"
904
912
  }
905
913
  }
906
914
  });
907
- _responsiveRule(util$t, "none", {
915
+ _responsiveRule(util$u, "none", {
908
916
  nest: {
909
917
  "&:not([hidden])": {
910
918
  display: "none"
@@ -913,125 +921,125 @@ _responsiveRule(util$t, "none", {
913
921
  });
914
922
  const displayStyle = {
915
923
  layers: {
916
- util: util$t
924
+ util: util$u
917
925
  }
918
- }, util$s = {};
919
- _responsiveRule(util$s, "flex-align-flex-start", {
926
+ }, util$t = {};
927
+ _responsiveRule(util$t, "flex-align-flex-start", {
920
928
  alignItems: "flex-start"
921
929
  });
922
- _responsiveRule(util$s, "flex-align-flex-end", {
930
+ _responsiveRule(util$t, "flex-align-flex-end", {
923
931
  alignItems: "flex-end"
924
932
  });
925
- _responsiveRule(util$s, "flex-align-center", {
933
+ _responsiveRule(util$t, "flex-align-center", {
926
934
  alignItems: "center"
927
935
  });
928
- _responsiveRule(util$s, "flex-align-stretch", {
936
+ _responsiveRule(util$t, "flex-align-stretch", {
929
937
  alignItems: "stretch"
930
938
  });
931
- _responsiveRule(util$s, "flex-align-baseline", {
939
+ _responsiveRule(util$t, "flex-align-baseline", {
932
940
  alignItems: "baseline"
933
941
  });
934
942
  const flexAlignStyle = {
935
943
  layers: {
936
- util: util$s
944
+ util: util$t
937
945
  }
938
- }, util$r = {};
939
- _responsiveRule(util$r, "f-row", {
946
+ }, util$s = {};
947
+ _responsiveRule(util$s, "f-row", {
940
948
  flexDirection: "row"
941
949
  });
942
- _responsiveRule(util$r, "f-column", {
950
+ _responsiveRule(util$s, "f-column", {
943
951
  flexDirection: "column"
944
952
  });
945
953
  const flexDirectionStyle = {
946
954
  layers: {
947
- util: util$r
955
+ util: util$s
948
956
  }
949
- }, util$q = {};
950
- _responsiveRule(util$q, "flex-justify-flex-start", {
957
+ }, util$r = {};
958
+ _responsiveRule(util$r, "flex-justify-flex-start", {
951
959
  justifyContent: "flex-start"
952
960
  });
953
- _responsiveRule(util$q, "flex-justify-flex-end", {
961
+ _responsiveRule(util$r, "flex-justify-flex-end", {
954
962
  justifyContent: "flex-end"
955
963
  });
956
- _responsiveRule(util$q, "flex-justify-center", {
964
+ _responsiveRule(util$r, "flex-justify-center", {
957
965
  justifyContent: "center"
958
966
  });
959
- _responsiveRule(util$q, "flex-justify-space-between", {
967
+ _responsiveRule(util$r, "flex-justify-space-between", {
960
968
  justifyContent: "space-between"
961
969
  });
962
- _responsiveRule(util$q, "flex-justify-space-around", {
970
+ _responsiveRule(util$r, "flex-justify-space-around", {
963
971
  justifyContent: "space-around"
964
972
  });
965
- _responsiveRule(util$q, "flex-justify-space-evenly", {
973
+ _responsiveRule(util$r, "flex-justify-space-evenly", {
966
974
  justifyContent: "space-evenly"
967
975
  });
968
976
  const flexJustifyStyle = {
969
977
  layers: {
970
- util: util$q
978
+ util: util$r
971
979
  }
972
- }, util$p = {};
973
- _responsiveRule(util$p, "flex-nowrap", {
980
+ }, util$q = {};
981
+ _responsiveRule(util$q, "flex-nowrap", {
974
982
  flexWrap: "nowrap"
975
983
  });
976
- _responsiveRule(util$p, "flex-wrap", {
984
+ _responsiveRule(util$q, "flex-wrap", {
977
985
  flexWrap: "wrap"
978
986
  });
979
- _responsiveRule(util$p, "flex-wrap-reverse", {
987
+ _responsiveRule(util$q, "flex-wrap-reverse", {
980
988
  flexWrap: "wrap-reverse"
981
989
  });
982
990
  const flexWrapStyle = {
983
991
  layers: {
984
- util: util$p
992
+ util: util$q
985
993
  }
986
- }, util$o = {};
987
- _responsiveRule(util$o, "f-none", {
994
+ }, util$p = {};
995
+ _responsiveRule(util$p, "f-none", {
988
996
  flex: "none"
989
997
  });
990
- _responsiveRule(util$o, "f-auto", {
998
+ _responsiveRule(util$p, "f-auto", {
991
999
  flex: "auto"
992
1000
  });
993
- _responsiveRule(util$o, "f-initial", {
1001
+ _responsiveRule(util$p, "f-initial", {
994
1002
  flex: "initial"
995
1003
  });
996
- _responsiveRule(util$o, "f-1", {
1004
+ _responsiveRule(util$p, "f-1", {
997
1005
  flex: 1
998
1006
  });
999
- _responsiveRule(util$o, "f-2", {
1007
+ _responsiveRule(util$p, "f-2", {
1000
1008
  flex: 2
1001
1009
  });
1002
- _responsiveRule(util$o, "f-3", {
1010
+ _responsiveRule(util$p, "f-3", {
1003
1011
  flex: 3
1004
1012
  });
1005
- _responsiveRule(util$o, "f-4", {
1013
+ _responsiveRule(util$p, "f-4", {
1006
1014
  flex: 4
1007
1015
  });
1008
- _responsiveRule(util$o, "f-5", {
1016
+ _responsiveRule(util$p, "f-5", {
1009
1017
  flex: 5
1010
1018
  });
1011
- _responsiveRule(util$o, "f-6", {
1019
+ _responsiveRule(util$p, "f-6", {
1012
1020
  flex: 6
1013
1021
  });
1014
- _responsiveRule(util$o, "f-7", {
1022
+ _responsiveRule(util$p, "f-7", {
1015
1023
  flex: 7
1016
1024
  });
1017
- _responsiveRule(util$o, "f-8", {
1025
+ _responsiveRule(util$p, "f-8", {
1018
1026
  flex: 8
1019
1027
  });
1020
- _responsiveRule(util$o, "f-9", {
1028
+ _responsiveRule(util$p, "f-9", {
1021
1029
  flex: 9
1022
1030
  });
1023
- _responsiveRule(util$o, "f-10", {
1031
+ _responsiveRule(util$p, "f-10", {
1024
1032
  flex: 10
1025
1033
  });
1026
- _responsiveRule(util$o, "f-11", {
1034
+ _responsiveRule(util$p, "f-11", {
1027
1035
  flex: 11
1028
1036
  });
1029
- _responsiveRule(util$o, "f-12", {
1037
+ _responsiveRule(util$p, "f-12", {
1030
1038
  flex: 12
1031
1039
  });
1032
1040
  const flexStyle = {
1033
1041
  layers: {
1034
- util: util$o
1042
+ util: util$p
1035
1043
  }
1036
1044
  }, primitive$q = {
1037
1045
  ".font": {
@@ -1045,8 +1053,9 @@ const flexStyle = {
1045
1053
  padding: "1px 0",
1046
1054
  margin: "0",
1047
1055
  vars: {
1048
- [varNames.font.iconOffset]: `calc(((${vars.font.lineHeight} - ${vars.font.ascenderHeight} - ${vars.font.descenderHeight}) - ${vars.font.iconSize}) / 2)`,
1049
- [varNames.font.fontWeight]: vars.font.weight.regular
1056
+ [varNames.font.capHeight]: `calc(${vars.font.lineHeight} - ${vars.font.ascenderHeight} - ${vars.font.descenderHeight})`,
1057
+ [varNames.font.iconOffset]: `calc((${vars.font.capHeight} - ${vars.font.iconSize}) / 2)`,
1058
+ [varNames.font.customIconOffset]: `calc((${vars.font.capHeight} - ${vars.font.customIconSize}) / 2)`
1050
1059
  },
1051
1060
  nest: {
1052
1061
  "&:before": {
@@ -1066,11 +1075,10 @@ const flexStyle = {
1066
1075
  // Make sure SVGs are rendered as inline elements
1067
1076
  display: "inline"
1068
1077
  },
1069
- // TODO
1070
- // '& svg:not([data-sanity-icon])': {
1071
- // fontSize: 'calc(var(--custom-icon-size) / 16 * 1rem)',
1072
- // margin: 'var(--custom-icon-offset)',
1073
- // },
1078
+ "& svg:not([data-sanity-icon])": {
1079
+ fontSize: vars.font.customIconSize,
1080
+ margin: vars.font.customIconOffset
1081
+ },
1074
1082
  "& [data-sanity-icon]": {
1075
1083
  fontSize: vars.font.iconSize,
1076
1084
  margin: vars.font.iconOffset,
@@ -1102,509 +1110,543 @@ const flexStyle = {
1102
1110
  layers: {
1103
1111
  primitive: primitive$q
1104
1112
  }
1105
- }, util$n = {};
1113
+ }, util$o = {};
1106
1114
  for (const space of SPACE)
1107
- _responsiveRule(util$n, `g-${space}`, {
1115
+ _responsiveRule(util$o, `g-${space}`, {
1108
1116
  gap: vars.space[space]
1109
1117
  });
1110
1118
  for (const space of SPACE)
1111
- _responsiveRule(util$n, `gx-${space}`, {
1119
+ _responsiveRule(util$o, `gx-${space}`, {
1112
1120
  columnGap: vars.space[space]
1113
1121
  });
1114
1122
  for (const space of SPACE)
1115
- _responsiveRule(util$n, `gy-${space}`, {
1123
+ _responsiveRule(util$o, `gy-${space}`, {
1116
1124
  rowGap: vars.space[space]
1117
1125
  });
1118
1126
  const gapStyle = {
1119
1127
  layers: {
1120
- util: util$n
1128
+ util: util$o
1121
1129
  }
1122
- }, util$m = {};
1123
- _responsiveRule(util$m, "auto-cols-auto", {
1130
+ }, util$n = {};
1131
+ _responsiveRule(util$n, "auto-cols-auto", {
1124
1132
  gridAutoColumns: "auto"
1125
1133
  });
1126
- _responsiveRule(util$m, "auto-cols-min", {
1134
+ _responsiveRule(util$n, "auto-cols-min", {
1127
1135
  gridAutoColumns: "min-content"
1128
1136
  });
1129
- _responsiveRule(util$m, "auto-cols-max", {
1137
+ _responsiveRule(util$n, "auto-cols-max", {
1130
1138
  gridAutoColumns: "max-content"
1131
1139
  });
1132
- _responsiveRule(util$m, "auto-cols-fr", {
1140
+ _responsiveRule(util$n, "auto-cols-fr", {
1133
1141
  gridAutoColumns: "minmax(0, 1fr)"
1134
1142
  });
1135
1143
  const gridAutoColumnsStyle = {
1136
1144
  layers: {
1137
- util: util$m
1145
+ util: util$n
1138
1146
  }
1139
- }, util$l = {};
1140
- _responsiveRule(util$l, "auto-flow-row", {
1147
+ }, util$m = {};
1148
+ _responsiveRule(util$m, "auto-flow-row", {
1141
1149
  gridAutoFlow: "row"
1142
1150
  });
1143
- _responsiveRule(util$l, "auto-flow-column", {
1151
+ _responsiveRule(util$m, "auto-flow-column", {
1144
1152
  gridAutoFlow: "column"
1145
1153
  });
1146
- _responsiveRule(util$l, "auto-flow-row-dense", {
1154
+ _responsiveRule(util$m, "auto-flow-row-dense", {
1147
1155
  gridAutoFlow: "row dense"
1148
1156
  });
1149
- _responsiveRule(util$l, "auto-flow-column-dense", {
1157
+ _responsiveRule(util$m, "auto-flow-column-dense", {
1150
1158
  gridAutoFlow: "column dense"
1151
1159
  });
1152
1160
  const gridAutoFlowStyle = {
1153
1161
  layers: {
1154
- util: util$l
1162
+ util: util$m
1155
1163
  }
1156
- }, util$k = {};
1157
- _responsiveRule(util$k, "auto-rows-auto", {
1164
+ }, util$l = {};
1165
+ _responsiveRule(util$l, "auto-rows-auto", {
1158
1166
  gridAutoRows: "auto"
1159
1167
  });
1160
- _responsiveRule(util$k, "auto-rows-min", {
1168
+ _responsiveRule(util$l, "auto-rows-min", {
1161
1169
  gridAutoRows: "min-content"
1162
1170
  });
1163
- _responsiveRule(util$k, "auto-rows-max", {
1171
+ _responsiveRule(util$l, "auto-rows-max", {
1164
1172
  gridAutoRows: "max-content"
1165
1173
  });
1166
- _responsiveRule(util$k, "auto-rows-fr", {
1174
+ _responsiveRule(util$l, "auto-rows-fr", {
1167
1175
  gridAutoRows: "minmax(0, 1fr)"
1168
1176
  });
1169
1177
  const gridAutoRowsStyle = {
1170
1178
  layers: {
1171
- util: util$k
1179
+ util: util$l
1172
1180
  }
1173
- }, util$j = {};
1174
- _responsiveRule(util$j, "cols-1", {
1181
+ }, util$k = {};
1182
+ _responsiveRule(util$k, "cols-1", {
1175
1183
  gridTemplateColumns: "repeat(1, 1fr)"
1176
1184
  });
1177
- _responsiveRule(util$j, "cols-2", {
1185
+ _responsiveRule(util$k, "cols-2", {
1178
1186
  gridTemplateColumns: "repeat(2, 1fr)"
1179
1187
  });
1180
- _responsiveRule(util$j, "cols-3", {
1188
+ _responsiveRule(util$k, "cols-3", {
1181
1189
  gridTemplateColumns: "repeat(3, 1fr)"
1182
1190
  });
1183
- _responsiveRule(util$j, "cols-4", {
1191
+ _responsiveRule(util$k, "cols-4", {
1184
1192
  gridTemplateColumns: "repeat(4, 1fr)"
1185
1193
  });
1186
- _responsiveRule(util$j, "cols-5", {
1194
+ _responsiveRule(util$k, "cols-5", {
1187
1195
  gridTemplateColumns: "repeat(5, 1fr)"
1188
1196
  });
1189
- _responsiveRule(util$j, "cols-6", {
1197
+ _responsiveRule(util$k, "cols-6", {
1190
1198
  gridTemplateColumns: "repeat(6, 1fr)"
1191
1199
  });
1192
- _responsiveRule(util$j, "cols-7", {
1200
+ _responsiveRule(util$k, "cols-7", {
1193
1201
  gridTemplateColumns: "repeat(7, 1fr)"
1194
1202
  });
1195
- _responsiveRule(util$j, "cols-8", {
1203
+ _responsiveRule(util$k, "cols-8", {
1196
1204
  gridTemplateColumns: "repeat(8, 1fr)"
1197
1205
  });
1198
- _responsiveRule(util$j, "cols-9", {
1206
+ _responsiveRule(util$k, "cols-9", {
1199
1207
  gridTemplateColumns: "repeat(9, 1fr)"
1200
1208
  });
1201
- _responsiveRule(util$j, "cols-10", {
1209
+ _responsiveRule(util$k, "cols-10", {
1202
1210
  gridTemplateColumns: "repeat(10, 1fr)"
1203
1211
  });
1204
- _responsiveRule(util$j, "cols-12", {
1212
+ _responsiveRule(util$k, "cols-12", {
1205
1213
  gridTemplateColumns: "repeat(12, 1fr)"
1206
1214
  });
1207
1215
  const gridColumnsStyle = {
1208
1216
  layers: {
1209
- util: util$j
1217
+ util: util$k
1210
1218
  }
1211
- }, util$i = {};
1212
- _responsiveRule(util$i, "rows-1", {
1219
+ }, util$j = {};
1220
+ _responsiveRule(util$j, "rows-1", {
1213
1221
  gridTemplateRows: "repeat(1, 1fr)"
1214
1222
  });
1215
- _responsiveRule(util$i, "rows-2", {
1223
+ _responsiveRule(util$j, "rows-2", {
1216
1224
  gridTemplateRows: "repeat(2, 1fr)"
1217
1225
  });
1218
- _responsiveRule(util$i, "rows-3", {
1226
+ _responsiveRule(util$j, "rows-3", {
1219
1227
  gridTemplateRows: "repeat(3, 1fr)"
1220
1228
  });
1221
- _responsiveRule(util$i, "rows-4", {
1229
+ _responsiveRule(util$j, "rows-4", {
1222
1230
  gridTemplateRows: "repeat(4, 1fr)"
1223
1231
  });
1224
- _responsiveRule(util$i, "rows-5", {
1232
+ _responsiveRule(util$j, "rows-5", {
1225
1233
  gridTemplateRows: "repeat(5, 1fr)"
1226
1234
  });
1227
- _responsiveRule(util$i, "rows-6", {
1235
+ _responsiveRule(util$j, "rows-6", {
1228
1236
  gridTemplateRows: "repeat(6, 1fr)"
1229
1237
  });
1230
- _responsiveRule(util$i, "rows-7", {
1238
+ _responsiveRule(util$j, "rows-7", {
1231
1239
  gridTemplateRows: "repeat(7, 1fr)"
1232
1240
  });
1233
- _responsiveRule(util$i, "rows-8", {
1241
+ _responsiveRule(util$j, "rows-8", {
1234
1242
  gridTemplateRows: "repeat(8, 1fr)"
1235
1243
  });
1236
- _responsiveRule(util$i, "rows-9", {
1244
+ _responsiveRule(util$j, "rows-9", {
1237
1245
  gridTemplateRows: "repeat(9, 1fr)"
1238
1246
  });
1239
- _responsiveRule(util$i, "rows-10", {
1247
+ _responsiveRule(util$j, "rows-10", {
1240
1248
  gridTemplateRows: "repeat(10, 1fr)"
1241
1249
  });
1242
- _responsiveRule(util$i, "rows-12", {
1250
+ _responsiveRule(util$j, "rows-12", {
1243
1251
  gridTemplateRows: "repeat(12, 1fr)"
1244
1252
  });
1245
1253
  const gridRowsStyle = {
1246
1254
  layers: {
1247
- util: util$i
1255
+ util: util$j
1248
1256
  }
1249
- }, util$h = {};
1250
- _responsiveRule(util$h, "col-auto", {
1257
+ }, util$i = {};
1258
+ _responsiveRule(util$i, "col-auto", {
1251
1259
  gridColumn: "auto"
1252
1260
  });
1253
- _responsiveRule(util$h, "col-full", {
1261
+ _responsiveRule(util$i, "col-full", {
1254
1262
  gridColumn: "1 / -1"
1255
1263
  });
1256
- _responsiveRule(util$h, "col-1", {
1264
+ _responsiveRule(util$i, "col-1", {
1257
1265
  gridColumn: "span 1 / span 1"
1258
1266
  });
1259
- _responsiveRule(util$h, "col-2", {
1267
+ _responsiveRule(util$i, "col-2", {
1260
1268
  gridColumn: "span 2 / span 2"
1261
1269
  });
1262
- _responsiveRule(util$h, "col-3", {
1270
+ _responsiveRule(util$i, "col-3", {
1263
1271
  gridColumn: "span 3 / span 3"
1264
1272
  });
1265
- _responsiveRule(util$h, "col-4", {
1273
+ _responsiveRule(util$i, "col-4", {
1266
1274
  gridColumn: "span 4 / span 4"
1267
1275
  });
1268
- _responsiveRule(util$h, "col-5", {
1276
+ _responsiveRule(util$i, "col-5", {
1269
1277
  gridColumn: "span 5 / span 5"
1270
1278
  });
1271
- _responsiveRule(util$h, "col-6", {
1279
+ _responsiveRule(util$i, "col-6", {
1272
1280
  gridColumn: "span 6 / span 6"
1273
1281
  });
1274
- _responsiveRule(util$h, "col-7", {
1282
+ _responsiveRule(util$i, "col-7", {
1275
1283
  gridColumn: "span 7 / span 7"
1276
1284
  });
1277
- _responsiveRule(util$h, "col-8", {
1285
+ _responsiveRule(util$i, "col-8", {
1278
1286
  gridColumn: "span 8 / span 8"
1279
1287
  });
1280
- _responsiveRule(util$h, "col-9", {
1288
+ _responsiveRule(util$i, "col-9", {
1281
1289
  gridColumn: "span 9 / span 9"
1282
1290
  });
1283
- _responsiveRule(util$h, "col-10", {
1291
+ _responsiveRule(util$i, "col-10", {
1284
1292
  gridColumn: "span 10 / span 10"
1285
1293
  });
1286
- _responsiveRule(util$h, "col-12", {
1294
+ _responsiveRule(util$i, "col-12", {
1287
1295
  gridColumn: "span 12 / span 12"
1288
1296
  });
1289
1297
  const gridColumnStyle = {
1290
1298
  layers: {
1291
- util: util$h
1299
+ util: util$i
1292
1300
  }
1293
- }, util$g = {};
1294
- _responsiveRule(util$g, "col-end-auto", {
1301
+ }, util$h = {};
1302
+ _responsiveRule(util$h, "col-end-auto", {
1295
1303
  gridColumnEnd: "auto"
1296
1304
  });
1297
- _responsiveRule(util$g, "col-end-1", {
1305
+ _responsiveRule(util$h, "col-end-1", {
1298
1306
  gridColumnEnd: "1"
1299
1307
  });
1300
- _responsiveRule(util$g, "col-end-2", {
1308
+ _responsiveRule(util$h, "col-end-2", {
1301
1309
  gridColumnEnd: "2"
1302
1310
  });
1303
- _responsiveRule(util$g, "col-end-3", {
1311
+ _responsiveRule(util$h, "col-end-3", {
1304
1312
  gridColumnEnd: "3"
1305
1313
  });
1306
- _responsiveRule(util$g, "col-end-4", {
1314
+ _responsiveRule(util$h, "col-end-4", {
1307
1315
  gridColumnEnd: "4"
1308
1316
  });
1309
- _responsiveRule(util$g, "col-end-5", {
1317
+ _responsiveRule(util$h, "col-end-5", {
1310
1318
  gridColumnEnd: "5"
1311
1319
  });
1312
- _responsiveRule(util$g, "col-end-6", {
1320
+ _responsiveRule(util$h, "col-end-6", {
1313
1321
  gridColumnEnd: "6"
1314
1322
  });
1315
- _responsiveRule(util$g, "col-end-7", {
1323
+ _responsiveRule(util$h, "col-end-7", {
1316
1324
  gridColumnEnd: "7"
1317
1325
  });
1318
- _responsiveRule(util$g, "col-end-8", {
1326
+ _responsiveRule(util$h, "col-end-8", {
1319
1327
  gridColumnEnd: "8"
1320
1328
  });
1321
- _responsiveRule(util$g, "col-end-9", {
1329
+ _responsiveRule(util$h, "col-end-9", {
1322
1330
  gridColumnEnd: "9"
1323
1331
  });
1324
- _responsiveRule(util$g, "col-end-10", {
1332
+ _responsiveRule(util$h, "col-end-10", {
1325
1333
  gridColumnEnd: "10"
1326
1334
  });
1327
- _responsiveRule(util$g, "col-end-11", {
1335
+ _responsiveRule(util$h, "col-end-11", {
1328
1336
  gridColumnEnd: "11"
1329
1337
  });
1330
- _responsiveRule(util$g, "col-end-12", {
1338
+ _responsiveRule(util$h, "col-end-12", {
1331
1339
  gridColumnEnd: "12"
1332
1340
  });
1333
1341
  const gridColumnEndStyle = {
1334
1342
  layers: {
1335
- util: util$g
1343
+ util: util$h
1336
1344
  }
1337
- }, util$f = {};
1338
- _responsiveRule(util$f, "col-start-auto", {
1345
+ }, util$g = {};
1346
+ _responsiveRule(util$g, "col-start-auto", {
1339
1347
  gridColumnStart: "auto"
1340
1348
  });
1341
- _responsiveRule(util$f, "col-start-1", {
1349
+ _responsiveRule(util$g, "col-start-1", {
1342
1350
  gridColumnStart: "1"
1343
1351
  });
1344
- _responsiveRule(util$f, "col-start-2", {
1352
+ _responsiveRule(util$g, "col-start-2", {
1345
1353
  gridColumnStart: "2"
1346
1354
  });
1347
- _responsiveRule(util$f, "col-start-3", {
1355
+ _responsiveRule(util$g, "col-start-3", {
1348
1356
  gridColumnStart: "3"
1349
1357
  });
1350
- _responsiveRule(util$f, "col-start-4", {
1358
+ _responsiveRule(util$g, "col-start-4", {
1351
1359
  gridColumnStart: "4"
1352
1360
  });
1353
- _responsiveRule(util$f, "col-start-5", {
1361
+ _responsiveRule(util$g, "col-start-5", {
1354
1362
  gridColumnStart: "5"
1355
1363
  });
1356
- _responsiveRule(util$f, "col-start-6", {
1364
+ _responsiveRule(util$g, "col-start-6", {
1357
1365
  gridColumnStart: "6"
1358
1366
  });
1359
- _responsiveRule(util$f, "col-start-7", {
1367
+ _responsiveRule(util$g, "col-start-7", {
1360
1368
  gridColumnStart: "7"
1361
1369
  });
1362
- _responsiveRule(util$f, "col-start-8", {
1370
+ _responsiveRule(util$g, "col-start-8", {
1363
1371
  gridColumnStart: "8"
1364
1372
  });
1365
- _responsiveRule(util$f, "col-start-9", {
1373
+ _responsiveRule(util$g, "col-start-9", {
1366
1374
  gridColumnStart: "9"
1367
1375
  });
1368
- _responsiveRule(util$f, "col-start-10", {
1376
+ _responsiveRule(util$g, "col-start-10", {
1369
1377
  gridColumnStart: "10"
1370
1378
  });
1371
- _responsiveRule(util$f, "col-start-11", {
1379
+ _responsiveRule(util$g, "col-start-11", {
1372
1380
  gridColumnStart: "11"
1373
1381
  });
1374
- _responsiveRule(util$f, "col-start-12", {
1382
+ _responsiveRule(util$g, "col-start-12", {
1375
1383
  gridColumnStart: "12"
1376
1384
  });
1377
1385
  const gridColumnStartStyle = {
1378
1386
  layers: {
1379
- util: util$f
1387
+ util: util$g
1380
1388
  }
1381
- }, util$e = {};
1382
- _responsiveRule(util$e, "row-auto", {
1389
+ }, util$f = {};
1390
+ _responsiveRule(util$f, "row-auto", {
1383
1391
  gridRow: "auto"
1384
1392
  });
1385
- _responsiveRule(util$e, "row-full", {
1393
+ _responsiveRule(util$f, "row-full", {
1386
1394
  gridRow: "1 / -1"
1387
1395
  });
1388
- _responsiveRule(util$e, "row-1", {
1396
+ _responsiveRule(util$f, "row-1", {
1389
1397
  gridRow: "span 1 / span 1"
1390
1398
  });
1391
- _responsiveRule(util$e, "row-2", {
1399
+ _responsiveRule(util$f, "row-2", {
1392
1400
  gridRow: "span 2 / span 2"
1393
1401
  });
1394
- _responsiveRule(util$e, "row-3", {
1402
+ _responsiveRule(util$f, "row-3", {
1395
1403
  gridRow: "span 3 / span 3"
1396
1404
  });
1397
- _responsiveRule(util$e, "row-4", {
1405
+ _responsiveRule(util$f, "row-4", {
1398
1406
  gridRow: "span 4 / span 4"
1399
1407
  });
1400
- _responsiveRule(util$e, "row-5", {
1408
+ _responsiveRule(util$f, "row-5", {
1401
1409
  gridRow: "span 5 / span 5"
1402
1410
  });
1403
- _responsiveRule(util$e, "row-6", {
1411
+ _responsiveRule(util$f, "row-6", {
1404
1412
  gridRow: "span 6 / span 6"
1405
1413
  });
1406
- _responsiveRule(util$e, "row-7", {
1414
+ _responsiveRule(util$f, "row-7", {
1407
1415
  gridRow: "span 7 / span 7"
1408
1416
  });
1409
- _responsiveRule(util$e, "row-8", {
1417
+ _responsiveRule(util$f, "row-8", {
1410
1418
  gridRow: "span 8 / span 8"
1411
1419
  });
1412
- _responsiveRule(util$e, "row-9", {
1420
+ _responsiveRule(util$f, "row-9", {
1413
1421
  gridRow: "span 9 / span 9"
1414
1422
  });
1415
- _responsiveRule(util$e, "row-10", {
1423
+ _responsiveRule(util$f, "row-10", {
1416
1424
  gridRow: "span 10 / span 10"
1417
1425
  });
1418
- _responsiveRule(util$e, "row-12", {
1426
+ _responsiveRule(util$f, "row-12", {
1419
1427
  gridRow: "span 12 / span 12"
1420
1428
  });
1421
1429
  const gridRowStyle = {
1422
1430
  layers: {
1423
- util: util$e
1431
+ util: util$f
1424
1432
  }
1425
- }, util$d = {};
1426
- _responsiveRule(util$d, "row-end-auto", {
1433
+ }, util$e = {};
1434
+ _responsiveRule(util$e, "row-end-auto", {
1427
1435
  gridRowEnd: "auto"
1428
1436
  });
1429
- _responsiveRule(util$d, "row-end-1", {
1437
+ _responsiveRule(util$e, "row-end-1", {
1430
1438
  gridRowEnd: "1"
1431
1439
  });
1432
- _responsiveRule(util$d, "row-end-2", {
1440
+ _responsiveRule(util$e, "row-end-2", {
1433
1441
  gridRowEnd: "2"
1434
1442
  });
1435
- _responsiveRule(util$d, "row-end-3", {
1443
+ _responsiveRule(util$e, "row-end-3", {
1436
1444
  gridRowEnd: "3"
1437
1445
  });
1438
- _responsiveRule(util$d, "row-end-4", {
1446
+ _responsiveRule(util$e, "row-end-4", {
1439
1447
  gridRowEnd: "4"
1440
1448
  });
1441
- _responsiveRule(util$d, "row-end-5", {
1449
+ _responsiveRule(util$e, "row-end-5", {
1442
1450
  gridRowEnd: "5"
1443
1451
  });
1444
- _responsiveRule(util$d, "row-end-6", {
1452
+ _responsiveRule(util$e, "row-end-6", {
1445
1453
  gridRowEnd: "6"
1446
1454
  });
1447
- _responsiveRule(util$d, "row-end-7", {
1455
+ _responsiveRule(util$e, "row-end-7", {
1448
1456
  gridRowEnd: "7"
1449
1457
  });
1450
- _responsiveRule(util$d, "row-end-8", {
1458
+ _responsiveRule(util$e, "row-end-8", {
1451
1459
  gridRowEnd: "8"
1452
1460
  });
1453
- _responsiveRule(util$d, "row-end-9", {
1461
+ _responsiveRule(util$e, "row-end-9", {
1454
1462
  gridRowEnd: "9"
1455
1463
  });
1456
- _responsiveRule(util$d, "row-end-10", {
1464
+ _responsiveRule(util$e, "row-end-10", {
1457
1465
  gridRowEnd: "10"
1458
1466
  });
1459
- _responsiveRule(util$d, "row-end-11", {
1467
+ _responsiveRule(util$e, "row-end-11", {
1460
1468
  gridRowEnd: "11"
1461
1469
  });
1462
- _responsiveRule(util$d, "row-end-12", {
1470
+ _responsiveRule(util$e, "row-end-12", {
1463
1471
  gridRowEnd: "12"
1464
1472
  });
1465
1473
  const gridRowEndStyle = {
1466
1474
  layers: {
1467
- util: util$d
1475
+ util: util$e
1468
1476
  }
1469
- }, util$c = {};
1470
- _responsiveRule(util$c, "row-start-auto", {
1477
+ }, util$d = {};
1478
+ _responsiveRule(util$d, "row-start-auto", {
1471
1479
  gridRowStart: "auto"
1472
1480
  });
1473
- _responsiveRule(util$c, "row-start-1", {
1481
+ _responsiveRule(util$d, "row-start-1", {
1474
1482
  gridRowStart: "1"
1475
1483
  });
1476
- _responsiveRule(util$c, "row-start-2", {
1484
+ _responsiveRule(util$d, "row-start-2", {
1477
1485
  gridRowStart: "2"
1478
1486
  });
1479
- _responsiveRule(util$c, "row-start-3", {
1487
+ _responsiveRule(util$d, "row-start-3", {
1480
1488
  gridRowStart: "3"
1481
1489
  });
1482
- _responsiveRule(util$c, "row-start-4", {
1490
+ _responsiveRule(util$d, "row-start-4", {
1483
1491
  gridRowStart: "4"
1484
1492
  });
1485
- _responsiveRule(util$c, "row-start-5", {
1493
+ _responsiveRule(util$d, "row-start-5", {
1486
1494
  gridRowStart: "5"
1487
1495
  });
1488
- _responsiveRule(util$c, "row-start-6", {
1496
+ _responsiveRule(util$d, "row-start-6", {
1489
1497
  gridRowStart: "6"
1490
1498
  });
1491
- _responsiveRule(util$c, "row-start-7", {
1499
+ _responsiveRule(util$d, "row-start-7", {
1492
1500
  gridRowStart: "7"
1493
1501
  });
1494
- _responsiveRule(util$c, "row-start-8", {
1502
+ _responsiveRule(util$d, "row-start-8", {
1495
1503
  gridRowStart: "8"
1496
1504
  });
1497
- _responsiveRule(util$c, "row-start-9", {
1505
+ _responsiveRule(util$d, "row-start-9", {
1498
1506
  gridRowStart: "9"
1499
1507
  });
1500
- _responsiveRule(util$c, "row-start-10", {
1508
+ _responsiveRule(util$d, "row-start-10", {
1501
1509
  gridRowStart: "10"
1502
1510
  });
1503
- _responsiveRule(util$c, "row-start-11", {
1511
+ _responsiveRule(util$d, "row-start-11", {
1504
1512
  gridRowStart: "11"
1505
1513
  });
1506
- _responsiveRule(util$c, "row-start-12", {
1514
+ _responsiveRule(util$d, "row-start-12", {
1507
1515
  gridRowStart: "12"
1508
1516
  });
1509
1517
  const gridRowStartStyle = {
1510
1518
  layers: {
1511
- util: util$c
1519
+ util: util$d
1512
1520
  }
1513
- }, util$b = {};
1514
- _responsiveRule(util$b, "h-fill", {
1521
+ }, util$c = {};
1522
+ _responsiveRule(util$c, "h-fill", {
1515
1523
  height: "100%"
1516
1524
  });
1517
- _responsiveRule(util$b, "h-stretch", {
1525
+ _responsiveRule(util$c, "h-stretch", {
1518
1526
  height: "stretch"
1519
1527
  });
1520
1528
  const heightStyle = {
1521
1529
  layers: {
1522
- util: util$b
1530
+ util: util$c
1523
1531
  }
1524
- }, util$a = {};
1525
- _responsiveRule(util$a, "inset-0", {
1532
+ }, util$b = {};
1533
+ _responsiveRule(util$b, "inset-0", {
1526
1534
  top: 0,
1527
1535
  left: 0,
1528
1536
  right: 0,
1529
1537
  bottom: 0
1530
1538
  });
1531
- _responsiveRule(util$a, "top-0", {
1539
+ _responsiveRule(util$b, "top-0", {
1532
1540
  top: 0
1533
1541
  });
1534
- _responsiveRule(util$a, "right-0", {
1542
+ _responsiveRule(util$b, "right-0", {
1535
1543
  right: 0
1536
1544
  });
1537
- _responsiveRule(util$a, "bottom-0", {
1545
+ _responsiveRule(util$b, "bottom-0", {
1538
1546
  bottom: 0
1539
1547
  });
1540
- _responsiveRule(util$a, "left-0", {
1548
+ _responsiveRule(util$b, "left-0", {
1541
1549
  left: 0
1542
1550
  });
1543
1551
  const insetStyle = {
1544
1552
  layers: {
1545
- util: util$a
1553
+ util: util$b
1546
1554
  }
1547
- }, util$9 = {};
1555
+ }, util$a = {};
1548
1556
  for (const space of SPACE)
1549
- _responsiveRule(util$9, `m-${space}`, {
1557
+ _responsiveRule(util$a, `m-${space}`, {
1550
1558
  margin: vars.space[space]
1551
1559
  });
1560
+ _responsiveRule(util$a, "m-auto", {
1561
+ margin: "auto"
1562
+ });
1552
1563
  for (const space of SPACE)
1553
- _responsiveRule(util$9, `mx-${space}`, {
1564
+ _responsiveRule(util$a, `mx-${space}`, {
1554
1565
  marginLeft: vars.space[space],
1555
1566
  marginRight: vars.space[space]
1556
1567
  });
1568
+ _responsiveRule(util$a, "mx-auto", {
1569
+ marginLeft: "auto",
1570
+ marginRight: "auto"
1571
+ });
1557
1572
  for (const space of SPACE)
1558
- _responsiveRule(util$9, `my-${space}`, {
1573
+ _responsiveRule(util$a, `my-${space}`, {
1559
1574
  marginTop: vars.space[space],
1560
1575
  marginBottom: vars.space[space]
1561
1576
  });
1577
+ _responsiveRule(util$a, "my-auto", {
1578
+ marginTop: "auto",
1579
+ marginBottom: "auto"
1580
+ });
1562
1581
  for (const i of SPACE)
1563
- _responsiveRule(util$9, `mt-${i}`, {
1582
+ _responsiveRule(util$a, `mt-${i}`, {
1564
1583
  marginTop: vars.space[i]
1565
1584
  });
1585
+ _responsiveRule(util$a, "mt-auto", {
1586
+ marginTop: "auto"
1587
+ });
1566
1588
  for (const i of SPACE)
1567
- _responsiveRule(util$9, `mr-${i}`, {
1589
+ _responsiveRule(util$a, `mr-${i}`, {
1568
1590
  marginRight: vars.space[i]
1569
1591
  });
1592
+ _responsiveRule(util$a, "mr-auto", {
1593
+ marginRight: "auto"
1594
+ });
1570
1595
  for (const i of SPACE)
1571
- _responsiveRule(util$9, `mb-${i}`, {
1596
+ _responsiveRule(util$a, `mb-${i}`, {
1572
1597
  marginBottom: vars.space[i]
1573
1598
  });
1599
+ _responsiveRule(util$a, "mb-auto", {
1600
+ marginBottom: "auto"
1601
+ });
1574
1602
  for (const i of SPACE)
1575
- _responsiveRule(util$9, `ml-${i}`, {
1603
+ _responsiveRule(util$a, `ml-${i}`, {
1576
1604
  marginLeft: vars.space[i]
1577
1605
  });
1606
+ _responsiveRule(util$a, "ml-auto", {
1607
+ marginLeft: "auto"
1608
+ });
1578
1609
  const marginStyle = {
1579
1610
  layers: {
1580
- util: util$9
1611
+ util: util$a
1581
1612
  }
1582
- }, util$8 = {};
1583
- _responsiveRule(util$8, "max-w-0", {
1613
+ }, util$9 = {};
1614
+ _responsiveRule(util$9, "max-w-0", {
1584
1615
  maxWidth: vars.container[0]
1585
1616
  });
1586
- _responsiveRule(util$8, "max-w-1", {
1617
+ _responsiveRule(util$9, "max-w-1", {
1587
1618
  maxWidth: vars.container[1]
1588
1619
  });
1589
- _responsiveRule(util$8, "max-w-2", {
1620
+ _responsiveRule(util$9, "max-w-2", {
1590
1621
  maxWidth: vars.container[2]
1591
1622
  });
1592
- _responsiveRule(util$8, "max-w-3", {
1623
+ _responsiveRule(util$9, "max-w-3", {
1593
1624
  maxWidth: vars.container[3]
1594
1625
  });
1595
- _responsiveRule(util$8, "max-w-4", {
1626
+ _responsiveRule(util$9, "max-w-4", {
1596
1627
  maxWidth: vars.container[4]
1597
1628
  });
1598
- _responsiveRule(util$8, "max-w-5", {
1629
+ _responsiveRule(util$9, "max-w-5", {
1599
1630
  maxWidth: vars.container[5]
1600
1631
  });
1601
- _responsiveRule(util$8, "max-w-auto", {
1632
+ _responsiveRule(util$9, "max-w-auto", {
1602
1633
  maxWidth: "none"
1603
1634
  });
1604
- _responsiveRule(util$8, "max-w-fill", {
1635
+ _responsiveRule(util$9, "max-w-fill", {
1605
1636
  maxWidth: "100%"
1606
1637
  });
1607
1638
  const maxWidthStyle = {
1639
+ layers: {
1640
+ util: util$9
1641
+ }
1642
+ }, util$8 = {};
1643
+ _responsiveRule(util$8, "min-h-0", {
1644
+ minHeight: "0"
1645
+ });
1646
+ _responsiveRule(util$8, "min-h-full", {
1647
+ minHeight: "100%"
1648
+ });
1649
+ const minHeightStyle = {
1608
1650
  layers: {
1609
1651
  util: util$8
1610
1652
  }
@@ -1905,8 +1947,6 @@ const widthStyle = {
1905
1947
  }
1906
1948
  }, component$2 = {
1907
1949
  ".skeleton": {
1908
- [varNames.color.skeleton.from]: `color-mix(in srgb, transparent, ${vars.color.muted.fg} 5%)`,
1909
- [varNames.color.skeleton.to]: `color-mix(in srgb, transparent, ${vars.color.muted.fg} 10%)`,
1910
1950
  backgroundColor: vars.color.skeleton.from,
1911
1951
  backgroundPosition: "100%",
1912
1952
  backgroundSize: "200% 100%",
@@ -1915,7 +1955,7 @@ const widthStyle = {
1915
1955
  transition: "opacity 200ms ease-in",
1916
1956
  nest: {
1917
1957
  "&[data-animated]": {
1918
- backgroundImage: ["linear-gradient(to right", vars.color.skeleton.from, vars.color.skeleton.to, vars.color.skeleton.from, vars.color.skeleton.from, vars.color.skeleton.from, ")"].join(", "),
1958
+ backgroundImage: ["linear-gradient(to right,", `${vars.color.skeleton.from},`, `${vars.color.skeleton.to},`, `${vars.color.skeleton.from},`, `${vars.color.skeleton.from},`, `${vars.color.skeleton.from}`, ")"].join(""),
1919
1959
  animationName: KEYFRAMES_PULSE,
1920
1960
  animationTimingFunction: "ease-in-out",
1921
1961
  animationIterationCount: "infinite",
@@ -2083,13 +2123,6 @@ const skeletonStyle = {
2083
2123
  ".input": {
2084
2124
  position: "relative"
2085
2125
  },
2086
- ".input-b": {
2087
- nest: {
2088
- "& .input-presentation": {
2089
- boxShadow: `inset 0 0 0 1px ${vars.color.input.text.border}`
2090
- }
2091
- }
2092
- },
2093
2126
  ".input-element": {
2094
2127
  WebkitFontSmoothing: "inherit",
2095
2128
  appearance: "none",
@@ -2112,6 +2145,10 @@ const skeletonStyle = {
2112
2145
  // @ts-expect-error - TODO: fix this
2113
2146
  width: ["-moz-available", "-webkit-fill-available", "stretch"],
2114
2147
  nest: {
2148
+ "&::placeholder": {
2149
+ color: vars.color.input.text.placeholder,
2150
+ opacity: 1
2151
+ },
2115
2152
  ".input[data-icon-left] &": {
2116
2153
  paddingLeft: `calc(${vars.input.padding} + calc(${vars.input.lineHeight} - ${vars.input.ascenderHeight} - ${vars.input.descenderHeight}) + ${vars.input.gap})`
2117
2154
  },
@@ -2124,14 +2161,15 @@ const skeletonStyle = {
2124
2161
  [varNames.color.input.text.placeholder]: vars.color.tinted.default.border[4]
2125
2162
  }
2126
2163
  },
2127
- ".input:not([data-invalid]) &::placeholder": {
2128
- color: vars.color.input.text.placeholder
2129
- },
2130
2164
  ".input:not([data-invalid]) &:hover": {
2131
- [varNames.color.input.text.fg]: vars.color.tinted.default.fg[0]
2165
+ vars: {
2166
+ [varNames.color.input.text.fg]: vars.color.tinted.default.fg[0]
2167
+ }
2132
2168
  },
2133
2169
  ".input:not([data-invalid]) &:focus": {
2134
- [varNames.color.input.text.fg]: vars.color.tinted.default.fg[0]
2170
+ vars: {
2171
+ [varNames.color.input.text.fg]: vars.color.tinted.default.fg[0]
2172
+ }
2135
2173
  },
2136
2174
  ".input:not([data-invalid]) &:disabled": {
2137
2175
  vars: {
@@ -2142,26 +2180,31 @@ const skeletonStyle = {
2142
2180
  ".input[data-invalid] &": {
2143
2181
  vars: {
2144
2182
  [varNames.color.input.text.fg]: vars.color.tinted.critical.fg[2],
2145
- [varNames.color.input.text.placeholder]: vars.color.tinted.critical.border[4]
2183
+ [varNames.color.input.text.placeholder]: vars.color.tinted.critical.border[2]
2146
2184
  }
2147
2185
  },
2148
- ".input[data-invalid] &::placeholder": {
2149
- color: vars.color.input.text.placeholder
2150
- },
2151
2186
  ".input[data-invalid] &:hover": {
2152
- [varNames.color.input.text.fg]: vars.color.tinted.critical.fg[1]
2187
+ vars: {
2188
+ [varNames.color.input.text.fg]: vars.color.tinted.critical.fg[1]
2189
+ }
2153
2190
  },
2154
2191
  ".input[data-invalid] &:focus": {
2155
- [varNames.color.input.text.fg]: vars.color.tinted.critical.fg[1]
2192
+ vars: {
2193
+ [varNames.color.input.text.fg]: vars.color.tinted.critical.fg[1]
2194
+ }
2156
2195
  },
2157
2196
  ".input[data-invalid] &:disabled": {
2158
- [varNames.color.input.text.fg]: vars.color.tinted.critical.border[3]
2197
+ vars: {
2198
+ [varNames.color.input.text.fg]: vars.color.tinted.critical.border[4],
2199
+ [varNames.color.input.text.placeholder]: vars.color.tinted.critical.border[2]
2200
+ }
2159
2201
  }
2160
2202
  }
2161
2203
  },
2162
2204
  ".input-presentation": {
2163
2205
  backgroundColor: vars.color.input.text.bg,
2164
2206
  borderRadius: "inherit",
2207
+ boxShadow: `inset 0 0 0 1px ${vars.color.input.text.border}`,
2165
2208
  position: "absolute",
2166
2209
  top: 0,
2167
2210
  left: 0,
@@ -2179,20 +2222,16 @@ const skeletonStyle = {
2179
2222
  borderTopRightRadius: 0,
2180
2223
  borderBottomRightRadius: 0
2181
2224
  },
2182
- ".input-element:focus + &": {
2183
- boxShadow: `inset 0 0 0 1px ${vars.color.input.text.border}`,
2225
+ // focus ring
2226
+ ".input .input-element:not([data-no-focus-ring]):focus + &": {
2184
2227
  outlineWidth: vars.input.text.focusRing.width,
2185
2228
  outlineStyle: "solid",
2186
2229
  outlineColor: vars.color.focusRing,
2187
2230
  outlineOffset: vars.input.text.focusRing.offset
2188
2231
  },
2189
- ".input-element:disabled + &": {
2190
- opacity: 1
2191
- },
2192
2232
  // valid
2193
2233
  ".input:not([data-invalid]) &": {
2194
2234
  vars: {
2195
- [varNames.color.input.text.fg]: vars.color.tinted.default.fg[4],
2196
2235
  [varNames.color.input.text.bg]: vars.color.tinted.default.bg[0],
2197
2236
  [varNames.color.input.text.border]: vars.color.tinted.default.border[1]
2198
2237
  }
@@ -2202,57 +2241,40 @@ const skeletonStyle = {
2202
2241
  [varNames.color.input.text.bg]: vars.color.tinted.default.bg[1]
2203
2242
  }
2204
2243
  },
2205
- ".input:not([data-invalid]) .input-element:placeholder-shown + &": {
2206
- vars: {
2207
- [varNames.color.input.text.fg]: vars.color.tinted.default.border[4]
2208
- }
2209
- },
2210
2244
  ".input:not([data-invalid]):not([data-read-only]) .input-element:not(:disabled):hover + &": {
2211
2245
  vars: {
2212
- [varNames.color.input.text.border]: vars.color.tinted.default.border[2],
2213
- [varNames.color.input.text.fg]: vars.color.tinted.default.fg[1]
2214
- },
2215
- boxShadow: `inset 0 0 0 1px ${vars.color.input.text.border}`
2246
+ [varNames.color.input.text.border]: vars.color.tinted.default.border[2]
2247
+ }
2216
2248
  },
2217
2249
  ".input:not([data-invalid]) .input-element:focus + &": {
2218
2250
  vars: {
2219
2251
  [varNames.color.input.text.border]: vars.color.tinted.default.border[2],
2220
2252
  [varNames.color.input.text.fg]: vars.color.tinted.default.fg[1]
2221
- },
2222
- boxShadow: `inset 0 0 0 1px ${vars.color.input.text.border}`
2253
+ }
2223
2254
  },
2224
2255
  ".input:not([data-invalid]) .input-element:disabled + &": {
2225
2256
  vars: {
2226
2257
  [varNames.color.input.text.bg]: vars.color.tinted.default.bg[1],
2227
2258
  [varNames.color.input.text.border]: vars.color.tinted.default.border[0],
2228
- // icon
2229
2259
  [varNames.color.muted.fg]: vars.color.tinted.default.border[4]
2230
2260
  }
2231
2261
  },
2232
2262
  // invalid
2233
2263
  ".input[data-invalid] &": {
2234
2264
  vars: {
2235
- [varNames.color.input.text.fg]: vars.color.tinted.critical.fg[4],
2236
2265
  [varNames.color.input.text.bg]: vars.color.tinted.critical.bg[1],
2237
2266
  [varNames.color.input.text.border]: vars.color.tinted.critical.border[1],
2238
- [varNames.color.focusRing]: vars.color.solid.critical.bg[0]
2239
- }
2240
- },
2241
- ".input[data-invalid] .input-element:placeholder-shown + &": {
2242
- vars: {
2243
- [varNames.color.input.text.fg]: vars.color.tinted.critical.border[4]
2267
+ [varNames.color.muted.fg]: vars.color.tinted.critical.fg[4]
2244
2268
  }
2245
2269
  },
2246
2270
  ".input[data-invalid] .input-element:not(:disabled):hover + &": {
2247
2271
  vars: {
2248
- [varNames.color.input.text.border]: vars.color.tinted.critical.border[2],
2249
- [varNames.color.input.text.fg]: vars.color.tinted.critical.fg[1]
2272
+ [varNames.color.input.text.border]: vars.color.tinted.critical.border[2]
2250
2273
  }
2251
2274
  },
2252
2275
  ".input[data-invalid] .input-element:focus + &": {
2253
2276
  vars: {
2254
- [varNames.color.input.text.border]: vars.color.tinted.critical.border[2],
2255
- [varNames.color.input.text.fg]: vars.color.tinted.critical.fg[1]
2277
+ [varNames.color.input.text.border]: vars.color.tinted.critical.border[2]
2256
2278
  }
2257
2279
  },
2258
2280
  ".input[data-invalid] .input-element:disabled + &": {
@@ -2260,6 +2282,9 @@ const skeletonStyle = {
2260
2282
  [varNames.color.input.text.bg]: vars.color.tinted.critical.bg[1],
2261
2283
  [varNames.color.input.text.border]: vars.color.tinted.critical.border[0]
2262
2284
  }
2285
+ },
2286
+ ".input:not(.input-b) &": {
2287
+ [varNames.color.input.text.border]: "transparent"
2263
2288
  }
2264
2289
  }
2265
2290
  }
@@ -2294,7 +2319,7 @@ const _inputStyle = {
2294
2319
  [varNames.color.border]: vars.color.tinted.border[2],
2295
2320
  [varNames.color.fg]: vars.color.tinted.fg[2],
2296
2321
  nest: {
2297
- "&:is(button)": {
2322
+ "button&": {
2298
2323
  WebkitFontSmoothing: "inherit",
2299
2324
  appearance: "none",
2300
2325
  outline: "none",
@@ -2304,8 +2329,7 @@ const _inputStyle = {
2304
2329
  // @ts-expect-error - TODO: fix this
2305
2330
  width: ["-moz-available", "-webkit-fill-available", "stretch"]
2306
2331
  },
2307
- /* &:is(a) */
2308
- "&:is(a)": {
2332
+ "a&": {
2309
2333
  outline: "none",
2310
2334
  textDecoration: "none"
2311
2335
  },
@@ -2548,8 +2572,6 @@ const badgeStyle = {
2548
2572
  }
2549
2573
  }, primitive$k = {
2550
2574
  ".box": {
2551
- // TODO: move to aspects
2552
- minHeight: 0,
2553
2575
  nest: {
2554
2576
  "iframe&": {
2555
2577
  border: "none"
@@ -3014,7 +3036,9 @@ function _assignToneProps(props, _varNames, _vars) {
3014
3036
  [_varNames.shadow.outline]: _vars.shadow.outline,
3015
3037
  [_varNames.shadow.umbra]: _vars.shadow.umbra,
3016
3038
  [_varNames.shadow.penumbra]: _vars.shadow.penumbra,
3017
- [_varNames.shadow.ambient]: _vars.shadow.ambient
3039
+ [_varNames.shadow.ambient]: _vars.shadow.ambient,
3040
+ [_varNames.skeleton.from]: _vars.skeleton.from,
3041
+ [_varNames.skeleton.to]: _vars.skeleton.to
3018
3042
  });
3019
3043
  for (const variant of COLOR_VARIANTS)
3020
3044
  for (const elementTone of THEME_COLOR_STATE_TONES) {
@@ -3234,7 +3258,8 @@ for (const size of FONT_CODE_SIZE) {
3234
3258
  [varNames.font.letterSpacing]: v.letterSpacing,
3235
3259
  [varNames.font.iconSize]: v.iconSize,
3236
3260
  [varNames.font.ascenderHeight]: v.ascenderHeight,
3237
- [varNames.font.descenderHeight]: v.descenderHeight
3261
+ [varNames.font.descenderHeight]: v.descenderHeight,
3262
+ [varNames.font.customIconSize]: v.customIconSize
3238
3263
  }
3239
3264
  });
3240
3265
  }
@@ -3287,7 +3312,8 @@ for (const size of FONT_HEADING_SIZE) {
3287
3312
  [varNames.font.letterSpacing]: v.letterSpacing,
3288
3313
  [varNames.font.iconSize]: v.iconSize,
3289
3314
  [varNames.font.ascenderHeight]: v.ascenderHeight,
3290
- [varNames.font.descenderHeight]: v.descenderHeight
3315
+ [varNames.font.descenderHeight]: v.descenderHeight,
3316
+ [varNames.font.customIconSize]: v.customIconSize
3291
3317
  }
3292
3318
  });
3293
3319
  }
@@ -3343,7 +3369,8 @@ for (const size of FONT_LABEL_SIZE) {
3343
3369
  [k.letterSpacing]: v.letterSpacing,
3344
3370
  [k.iconSize]: v.iconSize,
3345
3371
  [k.ascenderHeight]: v.ascenderHeight,
3346
- [k.descenderHeight]: v.descenderHeight
3372
+ [k.descenderHeight]: v.descenderHeight,
3373
+ [k.customIconSize]: v.customIconSize
3347
3374
  }
3348
3375
  });
3349
3376
  }
@@ -3603,7 +3630,8 @@ for (const size of FONT_TEXT_SIZE) {
3603
3630
  [varNames.font.letterSpacing]: v.letterSpacing,
3604
3631
  [varNames.font.iconSize]: v.iconSize,
3605
3632
  [varNames.font.ascenderHeight]: v.ascenderHeight,
3606
- [varNames.font.descenderHeight]: v.descenderHeight
3633
+ [varNames.font.descenderHeight]: v.descenderHeight,
3634
+ [varNames.font.customIconSize]: v.customIconSize
3607
3635
  }
3608
3636
  });
3609
3637
  }
@@ -3612,30 +3640,19 @@ const textStyle = {
3612
3640
  primitive: primitive$5
3613
3641
  }
3614
3642
  }, primitive$4 = {
3615
- ".text-area": {
3616
- // todo
3617
- }
3643
+ ".text-area": {}
3618
3644
  }, textAreaStyle = {
3619
3645
  layers: {
3620
3646
  primitive: primitive$4
3621
3647
  }
3622
3648
  }, primitive$3 = {
3623
- ".text-input": {
3624
- vars: {
3625
- [varNames.font.family]: vars.font.text.family
3626
- },
3627
- nest: {
3628
- "& > span": {
3629
- borderRadius: "inherit"
3630
- }
3631
- }
3632
- },
3649
+ ".text-input": {},
3633
3650
  ".text-input-prefix": {
3634
3651
  borderTop: `1px solid ${vars.color.border}`,
3635
3652
  borderLeft: `1px solid ${vars.color.border}`,
3636
3653
  borderBottom: `1px solid ${vars.color.border}`,
3637
- borderTopRightRadius: "0 !important",
3638
- borderBottomRightRadius: "0 !important",
3654
+ borderTopLeftRadius: "inherit",
3655
+ borderBottomLeftRadius: "inherit",
3639
3656
  nest: {
3640
3657
  "& > span": {
3641
3658
  display: "block",
@@ -3643,20 +3660,22 @@ const textStyle = {
3643
3660
  }
3644
3661
  }
3645
3662
  },
3663
+ ".text-input-element": {
3664
+ borderRadius: "inherit"
3665
+ },
3646
3666
  ".text-input-suffix": {
3647
3667
  borderTop: `1px solid ${vars.color.border}`,
3648
3668
  borderRight: `1px solid ${vars.color.border}`,
3649
3669
  borderBottom: `1px solid ${vars.color.border}`,
3650
- borderTopLeftRadius: "0 !important",
3651
- borderBottomLeftRadius: "0 !important",
3670
+ borderTopRightRadius: "inherit",
3671
+ borderBottomRightRadius: "inherit",
3652
3672
  nest: {
3653
3673
  "& > span": {
3654
3674
  display: "block",
3655
3675
  margin: "-1px"
3656
3676
  }
3657
3677
  }
3658
- },
3659
- ".text-input-presentation": {}
3678
+ }
3660
3679
  }, textInputStyle = {
3661
3680
  layers: {
3662
3681
  primitive: primitive$3
@@ -3785,17 +3804,6 @@ const textStyle = {
3785
3804
  }, primitive$1 = {
3786
3805
  ".tooltip": {
3787
3806
  pointerEvents: "none"
3788
- },
3789
- ".tooltip-card": {
3790
- willChange: "transform",
3791
- nest: {
3792
- "&[data-animate] > *": {
3793
- // TODO
3794
- // opacity: var(${POPOVER_MOTION_CONTENT_OPACITY_PROPERTY}, 1);
3795
- // opacity: `var(--motion-content-opacity, 1)`,
3796
- willChange: "opacity"
3797
- }
3798
- }
3799
3807
  }
3800
3808
  }, tooltipStyle = {
3801
3809
  layers: {
@@ -3852,6 +3860,7 @@ const textStyle = {
3852
3860
  insetStyle,
3853
3861
  marginStyle,
3854
3862
  maxWidthStyle,
3863
+ minHeightStyle,
3855
3864
  minWidthStyle,
3856
3865
  outlineStyle,
3857
3866
  overflowStyle,
@@ -3977,6 +3986,9 @@ function margin(props) {
3977
3986
  function maxWidth(props) {
3978
3987
  return _scopeClassNames(_resp("max-w", props.maxWidth) ?? "");
3979
3988
  }
3989
+ function minHeight(props) {
3990
+ return _scopeClassNames(_resp("min-h", props.minHeight) ?? "");
3991
+ }
3980
3992
  function minWidth(props) {
3981
3993
  return _scopeClassNames(_resp("min-w", props.minWidth) ?? "");
3982
3994
  }
@@ -4129,7 +4141,7 @@ function badge(props) {
4129
4141
  function box(props) {
4130
4142
  return _composeClassNames(_scopeClassNames("box", props.muted && "muted", props.outline && `outline-${props.outline}`), border(props), boxSizing({
4131
4143
  boxSizing: props.sizing
4132
- }), display(props), height(props), flex(props), flexItem(props), grid(props), gridItem(props), gap(props), inset(props), margin(props), maxWidth(props), minWidth(props), overflow(props), padding(props), pointerEvents(props), position(props), radius(props), textAlign(props), width(props));
4144
+ }), display(props), height(props), flex(props), flexItem(props), grid(props), gridItem(props), gap(props), inset(props), margin(props), maxWidth(props), minHeight(props), minWidth(props), overflow(props), padding(props), pointerEvents(props), position(props), radius(props), textAlign(props), width(props));
4133
4145
  }
4134
4146
  function button(props) {
4135
4147
  return _composeClassNames(_scopeClassNames("button"), display(props), flexItem(props), radius(props), width(props));
@@ -4217,12 +4229,18 @@ function textArea(props) {
4217
4229
  function textInput(props) {
4218
4230
  return _composeClassNames(_scopeClassNames("text-input"), _input(props));
4219
4231
  }
4232
+ function textInputPrefix() {
4233
+ return _scopeClassNames("text-input-prefix");
4234
+ }
4235
+ function textInputElement() {
4236
+ return _scopeClassNames("text-input-element");
4237
+ }
4238
+ function textInputSuffix() {
4239
+ return _scopeClassNames("text-input-suffix");
4240
+ }
4220
4241
  function tooltip() {
4221
4242
  return _scopeClassNames("tooltip");
4222
4243
  }
4223
- function tooltipCard() {
4224
- return _scopeClassNames("tooltip-card");
4225
- }
4226
4244
  function srOnly() {
4227
4245
  return _scopeClassNames(_composeClassNames("sr-only"));
4228
4246
  }
@@ -4292,6 +4310,7 @@ export {
4292
4310
  maxWidth,
4293
4311
  menu,
4294
4312
  menuDivider,
4313
+ minHeight,
4295
4314
  minWidth,
4296
4315
  overflow,
4297
4316
  padding,
@@ -4315,6 +4334,9 @@ export {
4315
4334
  textAlign,
4316
4335
  textArea,
4317
4336
  textInput,
4337
+ textInputElement,
4338
+ textInputPrefix,
4339
+ textInputSuffix,
4318
4340
  textOverflow,
4319
4341
  textSkeleton,
4320
4342
  toBoxShadow$1 as toBoxShadow,
@@ -4324,7 +4346,6 @@ export {
4324
4346
  toastLoadingBarMask,
4325
4347
  toastLoadingBarProgress,
4326
4348
  tooltip,
4327
- tooltipCard,
4328
4349
  treeItem,
4329
4350
  varNames,
4330
4351
  vars,