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