@frontile/theme 0.18.10 → 0.18.12

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 (85) hide show
  1. package/declarations/components/accordion.d.ts +1 -113
  2. package/declarations/components/accordion.d.ts.map +1 -1
  3. package/declarations/components/alert.d.ts +1 -105
  4. package/declarations/components/alert.d.ts.map +1 -1
  5. package/declarations/components/app-layout.d.ts +1 -315
  6. package/declarations/components/app-layout.d.ts.map +1 -1
  7. package/declarations/components/avatar.d.ts +3 -99
  8. package/declarations/components/avatar.d.ts.map +1 -1
  9. package/declarations/components/badge.d.ts +6 -97
  10. package/declarations/components/badge.d.ts.map +1 -1
  11. package/declarations/components/bottom-nav.d.ts +2 -44
  12. package/declarations/components/bottom-nav.d.ts.map +1 -1
  13. package/declarations/components/breadcrumbs.d.ts +1 -101
  14. package/declarations/components/breadcrumbs.d.ts.map +1 -1
  15. package/declarations/components/button.d.ts +81 -165
  16. package/declarations/components/button.d.ts.map +1 -1
  17. package/declarations/components/calendar.d.ts +1 -153
  18. package/declarations/components/calendar.d.ts.map +1 -1
  19. package/declarations/components/card.d.ts +76 -0
  20. package/declarations/components/card.d.ts.map +1 -0
  21. package/declarations/components/chip.d.ts +8 -130
  22. package/declarations/components/chip.d.ts.map +1 -1
  23. package/declarations/components/close-button.d.ts +1 -59
  24. package/declarations/components/close-button.d.ts.map +1 -1
  25. package/declarations/components/command.d.ts +3 -98
  26. package/declarations/components/command.d.ts.map +1 -1
  27. package/declarations/components/divider.d.ts +5 -23
  28. package/declarations/components/divider.d.ts.map +1 -1
  29. package/declarations/components/dropdown.d.ts +1 -1
  30. package/declarations/components/dropdown.d.ts.map +1 -1
  31. package/declarations/components/external-link.d.ts +1 -47
  32. package/declarations/components/external-link.d.ts.map +1 -1
  33. package/declarations/components/forms/forms-legacy.d.ts +30 -256
  34. package/declarations/components/forms/forms-legacy.d.ts.map +1 -1
  35. package/declarations/components/forms/forms.d.ts +252 -1420
  36. package/declarations/components/forms/forms.d.ts.map +1 -1
  37. package/declarations/components/icon.d.ts +37 -0
  38. package/declarations/components/icon.d.ts.map +1 -0
  39. package/declarations/components/index.d.ts +2 -0
  40. package/declarations/components/index.d.ts.map +1 -1
  41. package/declarations/components/kbd.d.ts +1 -109
  42. package/declarations/components/kbd.d.ts.map +1 -1
  43. package/declarations/components/listbox.d.ts +12 -165
  44. package/declarations/components/listbox.d.ts.map +1 -1
  45. package/declarations/components/nav-item.d.ts +1 -117
  46. package/declarations/components/nav-item.d.ts.map +1 -1
  47. package/declarations/components/notification-card.d.ts +1 -103
  48. package/declarations/components/notification-card.d.ts.map +1 -1
  49. package/declarations/components/notifications-container.d.ts +1 -49
  50. package/declarations/components/notifications-container.d.ts.map +1 -1
  51. package/declarations/components/overlays.d.ts +29 -213
  52. package/declarations/components/overlays.d.ts.map +1 -1
  53. package/declarations/components/pagination.d.ts +1 -131
  54. package/declarations/components/pagination.d.ts.map +1 -1
  55. package/declarations/components/popover.d.ts +7 -25
  56. package/declarations/components/popover.d.ts.map +1 -1
  57. package/declarations/components/progress-bar.d.ts +5 -133
  58. package/declarations/components/progress-bar.d.ts.map +1 -1
  59. package/declarations/components/segmented-control.d.ts +1 -167
  60. package/declarations/components/segmented-control.d.ts.map +1 -1
  61. package/declarations/components/skeleton.d.ts +11 -51
  62. package/declarations/components/skeleton.d.ts.map +1 -1
  63. package/declarations/components/spinner.d.ts +13 -47
  64. package/declarations/components/spinner.d.ts.map +1 -1
  65. package/declarations/components/stepper.d.ts +1 -233
  66. package/declarations/components/stepper.d.ts.map +1 -1
  67. package/declarations/components/table.d.ts +1 -171
  68. package/declarations/components/table.d.ts.map +1 -1
  69. package/declarations/components/tabs.d.ts +1 -169
  70. package/declarations/components/tabs.d.ts.map +1 -1
  71. package/declarations/components/tooltip.d.ts +1 -91
  72. package/declarations/components/tooltip.d.ts.map +1 -1
  73. package/declarations/tw.d.ts +1 -1
  74. package/declarations/tw.d.ts.map +1 -1
  75. package/dist/colors.js +1 -1
  76. package/dist/index.js +564 -64
  77. package/dist/index.js.map +1 -1
  78. package/dist/{overlays-DD7muPLd.js → overlays-BbogRqG7.js} +2 -2
  79. package/dist/overlays-BbogRqG7.js.map +1 -0
  80. package/dist/plugin.js +3 -3
  81. package/dist/{util-DrX1hjH-.js → util-BfrVzSAL.js} +1 -1
  82. package/dist/{util-DrX1hjH-.js.map → util-BfrVzSAL.js.map} +1 -1
  83. package/package.json +12 -12
  84. package/src/styles/theme.css +14 -9
  85. package/dist/overlays-DD7muPLd.js.map +0 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { t as tv, b as backdrop, d as drawer, m as modal, o as overlay, a as overlayArrow, c as overlayTransitions } from './overlays-DD7muPLd.js';
2
- export { e as twMerge } from './overlays-DD7muPLd.js';
1
+ import { t as tv, b as backdrop, d as drawer, m as modal, o as overlay, a as overlayArrow, c as overlayTransitions } from './overlays-BbogRqG7.js';
2
+ export { e as twMerge } from './overlays-BbogRqG7.js';
3
3
 
4
4
  const focusVisibleRing = ['outline-hidden', 'focus-visible:z-10', 'focus-visible:ring-3', 'focus-visible:ring-focus', 'focus-visible:ring-offset-2', 'focus-visible:ring-offset-background'];
5
5
 
@@ -423,7 +423,9 @@ const avatar = tv({
423
423
 
424
424
  const badge = tv({
425
425
  slots: {
426
- base: 'inline-flex items-center whitespace-nowrap font-label leading-none',
426
+ // Regular weight; the `text-strong-*` size tokens would set bold, so the
427
+ // weight is pinned here and only `value` is heavier.
428
+ base: 'inline-flex items-center whitespace-nowrap font-label font-normal leading-none',
427
429
  // emphasized value, e.g. a price
428
430
  value: 'font-bold tabular-nums leading-none',
429
431
  // unit following the value, e.g. "/mo"
@@ -457,30 +459,49 @@ const badge = tv({
457
459
  dot: 'bg-danger'
458
460
  }
459
461
  },
460
- // Value and unit share the label's font size so their baselines line up;
461
- // the value is set apart by weight only. Heights match Chip (20, 24, 28,
462
- // 32px). Radius steps with size and is never a pill: that shape belongs
462
+ // Text follows Button's ramp: the same `@size` gives the same
463
+ // `text-strong-*` token on Badge, Chip and Button. Value and unit share
464
+ // the label's font size so their baselines line up; the value is set apart
465
+ // by weight only. Heights and padding are Badge's own, chosen so the text
466
+ // fits. Radius steps with size and is never a pill: that shape belongs
463
467
  // to Chip.
464
468
  size: {
465
- xs: {
466
- base: 'text-label-2xs h-5 px-1.5 gap-1 rounded-sm',
469
+ // Smaller than Button's smallest size: the next `text-strong-*` step
470
+ // down (12.3px), 20px tall.
471
+ '2xs': {
472
+ base: 'text-strong-2xs h-5 px-1.5 gap-1 rounded-sm',
467
473
  dot: 'size-1.5',
468
474
  icon: 'size-3'
469
475
  },
476
+ xs: {
477
+ base: 'text-strong-xs h-6 px-2 gap-1 rounded-sm',
478
+ dot: 'size-2',
479
+ icon: 'size-3.5'
480
+ },
470
481
  sm: {
471
- base: 'text-label-2xs h-6 px-2 gap-1 rounded-sm',
472
- dot: 'size-1.5',
473
- icon: 'size-3'
482
+ base: 'text-strong-sm h-7 px-2.5 gap-1.5 rounded-sm',
483
+ dot: 'size-2',
484
+ icon: 'size-4'
474
485
  },
475
486
  md: {
476
- base: 'text-label-xs h-7 px-2.5 gap-1.5 rounded-md',
487
+ base: 'text-strong-md h-8 px-3 gap-1.5 rounded-md',
477
488
  dot: 'size-2',
478
- icon: 'size-3.5'
489
+ icon: 'size-4'
479
490
  },
480
491
  lg: {
481
- base: 'text-label-md h-8 px-3 gap-1.5 rounded-md',
492
+ base: 'text-strong-lg h-10 px-4 gap-2 rounded-md',
482
493
  dot: 'size-2.5',
483
- icon: 'size-4'
494
+ icon: 'size-5'
495
+ },
496
+ xl: {
497
+ base: 'text-strong-xl h-11 px-5 gap-2 rounded-lg',
498
+ dot: 'size-3',
499
+ icon: 'size-6'
500
+ },
501
+ '2xl': {
502
+ base: 'text-strong-2xl h-14 px-6 gap-2.5 rounded-lg',
503
+ dot: 'size-3.5',
504
+ icon: 'size-8'
484
505
  }
485
506
  }
486
507
  },
@@ -562,7 +583,7 @@ const badge = tv({
562
583
  }
563
584
  }],
564
585
  defaultVariants: {
565
- size: 'md',
586
+ size: 'xs',
566
587
  color: 'neutral',
567
588
  variant: 'soft'
568
589
  }
@@ -666,7 +687,7 @@ const breadcrumbs = tv({
666
687
  });
667
688
 
668
689
  const baseButton = tv({
669
- base: ['inline-flex items-center justify-center', '[&_svg]:size-[1em]', 'font-header', 'border', 'border-transparent', 'disabled:cursor-not-allowed', 'disabled:opacity-disabled', ...focusVisibleRing],
690
+ base: ['inline-flex items-center justify-center', '[&_svg]:size-[1em]', 'font-header', 'border', 'border-transparent', 'cursor-pointer', 'disabled:cursor-not-allowed', 'disabled:opacity-disabled', ...focusVisibleRing],
670
691
  variants: {
671
692
  variant: {
672
693
  outline: ''
@@ -681,12 +702,12 @@ const baseButton = tv({
681
702
  danger: 'focus-visible:ring-danger-soft'
682
703
  },
683
704
  size: {
684
- xs: 'text-strong-sm px-4 py-1 gap-1 rounded-full',
685
- sm: 'text-strong-md px-5 py-1.5 gap-1 rounded-full',
686
- md: 'text-strong-lg px-6 py-2 gap-1.5 rounded-full',
687
- lg: 'text-strong-xl px-8 py-2.5 gap-1.5 rounded-full',
688
- xl: 'text-strong-2xl px-10 py-3 gap-2 rounded-full',
689
- '2xl': 'text-strong-3xl px-12 py-3.5 gap-2.5 rounded-full'
705
+ xs: 'text-strong-xs px-3.5 py-0.5 gap-1 rounded-full',
706
+ sm: 'text-strong-sm px-4 py-1 gap-1 rounded-full',
707
+ md: 'text-strong-md px-5 py-1.5 gap-1.5 rounded-full',
708
+ lg: 'text-strong-lg px-6 py-2 gap-1.5 rounded-full',
709
+ xl: 'text-strong-xl px-8 py-2.5 gap-2 rounded-full',
710
+ '2xl': 'text-strong-2xl px-10 py-3 gap-2.5 rounded-full'
690
711
  },
691
712
  isInGroup: {
692
713
  true: ['rounded-none first-of-type:rounded-s-full last-of-type:rounded-e-full', '[&:not(:first-of-type):not(:last-of-type)]:rounded-none', 'not-last-of-type:-me-px']
@@ -695,7 +716,7 @@ const baseButton = tv({
695
716
  compoundVariants: [{
696
717
  variant: 'outline',
697
718
  color: 'neutral',
698
- class: 'text-neutral-bolder border-neutral-bolder hover:bg-neutral-subtle hover:text-neutral-firm/80 hover:border-neutral-strong active:bg-neutral-muted active:text-neutral-firm active:border-neutral-firm'
719
+ class: 'text-on-neutral-subtle border-on-neutral-subtle hover:bg-neutral-subtle hover:text-neutral-strong hover:border-neutral-strong active:bg-neutral-muted active:text-neutral-firm active:border-neutral-firm'
699
720
  }, {
700
721
  variant: 'outline',
701
722
  color: 'primary',
@@ -707,7 +728,7 @@ const baseButton = tv({
707
728
  }, {
708
729
  variant: 'outline',
709
730
  color: 'tertiary',
710
- class: 'text-tertiary-strong border-tertiary-strong hover:text-tertiary-firm hover:border-tertiary-firm active:text-tertiary-bolder active:border-tertiary-bolder'
731
+ class: 'text-tertiary-strong border-tertiary-strong hover:text-tertiary hover:border-tertiary-firm active:text-tertiary-bolder active:border-tertiary-bolder'
711
732
  }, {
712
733
  variant: 'outline',
713
734
  color: 'success',
@@ -726,6 +747,7 @@ const baseButton = tv({
726
747
  color: 'neutral'
727
748
  }
728
749
  });
750
+ const glassColors = ['neutral', 'primary', 'secondary', 'tertiary', 'success', 'warning', 'danger'];
729
751
  const button = tv({
730
752
  extend: baseButton,
731
753
  base: [''],
@@ -737,7 +759,9 @@ const button = tv({
737
759
  outline: '',
738
760
  ghost: '',
739
761
  plain: '',
740
- custom: ''
762
+ custom: '',
763
+ glass: '',
764
+ link: ''
741
765
  },
742
766
  isLoading: {
743
767
  true: 'disabled:cursor-progress'
@@ -748,7 +772,7 @@ const button = tv({
748
772
  {
749
773
  variant: 'solid',
750
774
  color: 'neutral',
751
- class: 'bg-neutral-bolder border-neutral-bolder text-on-neutral-bolder hover:bg-neutral-strong hover:border-neutral-strong hover:text-on-neutral-strong active:bg-neutral-firm active:border-neutral-firm active:text-on-neutral-firm'
775
+ class: 'bg-on-neutral-subtle border-on-neutral-subtle text-on-neutral-bolder hover:bg-neutral-strong hover:border-neutral-strong hover:text-on-neutral-strong active:bg-neutral-firm active:border-neutral-firm active:text-on-neutral-firm'
752
776
  }, {
753
777
  variant: 'solid',
754
778
  color: 'primary',
@@ -778,7 +802,7 @@ const button = tv({
778
802
  {
779
803
  variant: 'subtle',
780
804
  color: 'neutral',
781
- class: 'bg-neutral-soft border-neutral-bolder text-neutral-bolder hover:bg-neutral-subtle hover:border-neutral-strong hover:text-neutral-strong active:bg-neutral-muted active:border-neutral-firm active:text-neutral-firm'
805
+ class: 'bg-neutral-muted border-on-neutral-subtle text-on-neutral-subtle hover:bg-neutral-soft hover:border-neutral-strong hover:text-neutral-strong active:bg-neutral-mild active:border-neutral-firm active:text-on-neutral-mild'
782
806
  }, {
783
807
  variant: 'subtle',
784
808
  color: 'primary',
@@ -786,7 +810,7 @@ const button = tv({
786
810
  }, {
787
811
  variant: 'subtle',
788
812
  color: 'secondary',
789
- class: 'bg-secondary-soft border-secondary-strong text-secondary-strong hover:bg-secondary-subtle hover:border-secondary-firm hover:text-secondary-firm active:bg-secondary-muted active:border-secondary-bolder active:text-secondary-bolder'
813
+ class: 'bg-secondary-soft border-secondary-strong text-secondary-strong hover:bg-secondary-subtle hover:border-secondary-firm hover:text-secondary-firm active:bg-secondary-mild active:border-secondary-bolder active:text-secondary-bolder'
790
814
  }, {
791
815
  variant: 'subtle',
792
816
  color: 'tertiary',
@@ -808,7 +832,7 @@ const button = tv({
808
832
  {
809
833
  variant: 'plain',
810
834
  color: 'neutral',
811
- class: 'text-neutral-bolder hover:text-neutral-firm/80 active:text-neutral-firm'
835
+ class: 'text-on-neutral-subtle hover:text-neutral-strong active:text-neutral-firm'
812
836
  }, {
813
837
  variant: 'plain',
814
838
  color: 'primary',
@@ -816,7 +840,7 @@ const button = tv({
816
840
  }, {
817
841
  variant: 'plain',
818
842
  color: 'secondary',
819
- class: 'text-secondary-strong hover:text-secondary-firm active:text-secondary-bolder'
843
+ class: 'text-secondary-strong hover:text-secondary-firm active:bg-secondary-soft active:border-secondary-soft active:text-secondary-bolder'
820
844
  }, {
821
845
  variant: 'plain',
822
846
  color: 'tertiary',
@@ -839,7 +863,7 @@ const button = tv({
839
863
  {
840
864
  variant: 'ghost',
841
865
  color: 'neutral',
842
- class: 'text-neutral-bolder hover:bg-neutral-subtle hover:text-neutral-firm/80 active:bg-neutral-muted active:text-neutral-firm'
866
+ class: 'text-neutral-bolder hover:bg-neutral-subtle hover:text-neutral-strong active:bg-neutral-muted active:text-neutral-firm'
843
867
  }, {
844
868
  variant: 'ghost',
845
869
  color: 'primary',
@@ -869,7 +893,7 @@ const button = tv({
869
893
  {
870
894
  variant: 'soft',
871
895
  color: 'neutral',
872
- class: 'bg-neutral-soft text-on-neutral-soft hover:bg-neutral-muted hover:text-on-neutral-muted active:bg-neutral-mild active:text-on-neutral-mild'
896
+ class: 'bg-neutral-muted text-on-neutral-subtle hover:bg-neutral-soft hover:text-neutral-strong active:bg-neutral-mild active:text-on-neutral-mild'
873
897
  }, {
874
898
  variant: 'soft',
875
899
  color: 'primary',
@@ -877,15 +901,15 @@ const button = tv({
877
901
  }, {
878
902
  variant: 'soft',
879
903
  color: 'secondary',
880
- class: 'bg-secondary-soft text-on-secondary-soft hover:bg-secondary-muted hover:text-on-secondary-muted active:bg-secondary-mild active:text-on-secondary-mild'
904
+ class: 'bg-secondary-soft text-on-secondary-soft hover:bg-secondary-subtle hover:text-on-secondary-subtle active:bg-secondary-mild active:text-on-secondary-mild'
881
905
  }, {
882
906
  variant: 'soft',
883
907
  color: 'tertiary',
884
- class: 'bg-tertiary-soft text-on-tertiary-soft hover:bg-tertiary-muted hover:text-on-tertiary-muted active:bg-tertiary-mild active:text-on-tertiary-mild'
908
+ class: 'bg-tertiary-soft text-on-tertiary-soft hover:bg-tertiary-subtle hover:text-on-tertiary-subtle active:bg-tertiary-mild active:text-on-tertiary-mild'
885
909
  }, {
886
910
  variant: 'soft',
887
911
  color: 'success',
888
- class: 'bg-success-soft text-on-success-soft hover:bg-success-muted hover:text-on-success-muted active:bg-success-mild active:text-on-success-mild'
912
+ class: 'bg-success-soft text-on-success-soft hover:bg-success-subtle hover:text-on-success-subtle active:bg-success-mild active:text-on-success-mild'
889
913
  }, {
890
914
  variant: 'soft',
891
915
  color: 'warning',
@@ -924,7 +948,28 @@ const button = tv({
924
948
  variant: 'custom',
925
949
  color: 'danger',
926
950
  class: 'text-danger-strong'
927
- }],
951
+ },
952
+ // VARIANT: link — ink only, no side padding, underline on hover, so it sits
953
+ // inline with text. Ink steps follow `plain`; neutral keeps its ink on hover
954
+ // and only underlines. `px-0` comes after the size's `px-*`, so
955
+ // tailwind-merge drops the size padding.
956
+ ...[['neutral', 'text-on-neutral-subtle active:text-neutral-firm'], ['primary', 'text-primary hover:text-primary-mild active:text-primary-firm'], ['secondary', 'text-secondary-strong hover:text-secondary-firm active:text-secondary-bolder'], ['tertiary', 'text-tertiary-strong hover:text-tertiary-firm active:text-tertiary-bolder'], ['success', 'text-success-strong hover:text-success-firm active:text-success-bolder'], ['warning', 'text-warning-strong hover:text-warning-firm active:text-warning-bolder'], ['danger', 'text-danger hover:text-danger-mild active:text-danger-firm']].map(([color, ink]) => ({
957
+ variant: 'link',
958
+ color,
959
+ class: [ink, 'px-0 hover:underline underline-offset-4 disabled:no-underline']
960
+ })),
961
+ // VARIANT: glass — a translucent scrim for use over a colored or imaged
962
+ // surface: black with white ink in light mode, white with black ink in
963
+ // dark mode. It flips with the app theme, but deliberately not through the
964
+ // scope tokens: brand fills go dark in light mode and light in dark mode,
965
+ // so the page's own ink (`on-surface`) would be the wrong pairing for them. `color` is ignored: every
966
+ // color gets the same classes, and the non-neutral ones also reset the
967
+ // focus ring that `baseButton` tints per color.
968
+ ...glassColors.map(color => ({
969
+ variant: 'glass',
970
+ color,
971
+ class: ['bg-black/20 text-white backdrop-blur-md', 'hover:bg-black/30 active:bg-black/40', 'dark:bg-white/20 dark:text-black dark:hover:bg-white/30 dark:active:bg-white/40', color === 'neutral' ? '' : 'focus-visible:ring-focus']
972
+ }))],
928
973
  defaultVariants: {
929
974
  size: 'md',
930
975
  color: 'primary',
@@ -996,9 +1041,38 @@ const buttonSpinner = tv({
996
1041
  base: 'size-[1em] text-current/25 fill-current'
997
1042
  });
998
1043
 
1044
+ // An icon-only button is a circle. IconButton passes this recipe's classes as
1045
+ // Button's `class`, where tailwind-merge lets `px-0` replace Button's
1046
+ // horizontal padding. Without text there is no line to give the height, and CSS cannot derive a width from an auto height, so each
1047
+ // size sets both dimensions to Button's own height at that size: one line, plus the
1048
+ // two vertical paddings (Button's `py-*` times two, in spacing units), plus the
1049
+ // 1px borders. The height is therefore Button's, and an IconButton lines up
1050
+ // with a Button of the same size. If Button's vertical padding changes, change
1051
+ // the multipliers here; the "as tall as a Button" test catches a mismatch.
1052
+ // Written out in full so Tailwind sees each class.
1053
+ const iconButton$1 = tv({
1054
+ base: 'px-0',
1055
+ variants: {
1056
+ size: {
1057
+ xs: 'size-[calc(1lh+var(--spacing)*1+2px)]',
1058
+ sm: 'size-[calc(1lh+var(--spacing)*2+2px)]',
1059
+ md: 'size-[calc(1lh+var(--spacing)*3+2px)]',
1060
+ lg: 'size-[calc(1lh+var(--spacing)*4+2px)]',
1061
+ xl: 'size-[calc(1lh+var(--spacing)*5+2px)]',
1062
+ '2xl': 'size-[calc(1lh+var(--spacing)*6+2px)]'
1063
+ }
1064
+ },
1065
+ defaultVariants: {
1066
+ size: 'md'
1067
+ }
1068
+ });
1069
+
999
1070
  const chip = tv({
1000
1071
  slots: {
1001
- base: ['whitespace-nowrap', 'inline-flex items-center justify-between box-border rounded-full'],
1072
+ base: ['whitespace-nowrap', 'inline-flex items-center justify-between box-border rounded-full',
1073
+ // Regular weight, matching Badge (the `text-strong-*` sizes would set
1074
+ // bold). Text size follows Button's ramp; heights are Chip's own.
1075
+ 'font-normal'],
1002
1076
  // label text role (size set per size variant)
1003
1077
  content: ['flex-1 text-inherit font-label'],
1004
1078
  dot: ['shrink-0', 'ml-1', 'rounded-full'],
@@ -1051,35 +1125,56 @@ const chip = tv({
1051
1125
  closeButton: 'bg-danger-muted text-on-danger-muted'
1052
1126
  }
1053
1127
  },
1128
+ // Text follows Button's ramp (`2xs` extends it one step below Button's `xs`): the same `@size` gives the same
1129
+ // `text-strong-*` token on Chip, Badge and Button. `xs`, the default, keeps
1130
+ // the geometry of the old `md` for dense UI (table cells, list rows,
1131
+ // multi-select fields). The close button takes only the label's font size
1132
+ // (not the weight or line-height that `text-strong-*` bundles), so its
1133
+ // circle (icon plus `p-0.5`) stays round and fits the chip.
1054
1134
  size: {
1055
- // For dense UI — table cells, list rows, multi-select fields. It keeps
1056
- // `sm`'s text size and loses height and padding instead: 12px is about
1057
- // as small as a label stays readable. The close button drops to
1058
- // `label-micro` so its circle (icon plus `p-0.5`) still fits the 20px
1059
- // chip.
1060
- xs: {
1061
- base: 'text-label-2xs px-0.5 h-5',
1135
+ // Smaller than Button's smallest size, for the densest UI. Text is the
1136
+ // next `text-strong-*` step down (12.3px) and the chip is 20px tall.
1137
+ '2xs': {
1138
+ base: 'text-strong-2xs px-0.5 h-5',
1062
1139
  content: 'px-1 leading-4',
1063
1140
  dot: 'size-1.5',
1064
- closeButton: 'text-label-micro'
1141
+ closeButton: 'text-(length:--text-strong-3xs)'
1065
1142
  },
1066
- sm: {
1067
- base: 'text-label-2xs px-1 h-6',
1068
- content: 'px-1 leading-4',
1069
- dot: 'size-1.5',
1070
- closeButton: 'text-label-2xs'
1143
+ xs: {
1144
+ base: 'text-strong-xs px-1 h-7',
1145
+ content: 'px-2 leading-5',
1146
+ dot: 'size-2',
1147
+ closeButton: 'text-(length:--text-strong-xs)'
1071
1148
  },
1072
- md: {
1073
- base: 'text-label-xs px-1 h-7',
1149
+ sm: {
1150
+ base: 'text-strong-sm px-1 h-8',
1074
1151
  content: 'px-2 leading-5',
1075
1152
  dot: 'size-2',
1076
- closeButton: 'text-label-xs'
1153
+ closeButton: 'text-(length:--text-strong-sm)'
1077
1154
  },
1078
- lg: {
1079
- base: 'text-label-md px-2 h-8',
1080
- content: 'px-2 leading-6',
1155
+ md: {
1156
+ base: 'text-strong-md px-1.5 h-9',
1157
+ content: 'px-2.5 leading-6',
1081
1158
  dot: 'size-2.5',
1082
- closeButton: 'text-label-md'
1159
+ closeButton: 'text-(length:--text-strong-md)'
1160
+ },
1161
+ lg: {
1162
+ base: 'text-strong-lg px-2 h-11',
1163
+ content: 'px-3 leading-7',
1164
+ dot: 'size-3',
1165
+ closeButton: 'text-(length:--text-strong-lg)'
1166
+ },
1167
+ xl: {
1168
+ base: 'text-strong-xl px-2 h-12',
1169
+ content: 'px-4 leading-8',
1170
+ dot: 'size-3.5',
1171
+ closeButton: 'text-(length:--text-strong-xl)'
1172
+ },
1173
+ '2xl': {
1174
+ base: 'text-strong-2xl px-3 h-14',
1175
+ content: 'px-5 leading-9',
1176
+ dot: 'size-4',
1177
+ closeButton: 'text-(length:--text-strong-2xl)'
1083
1178
  }
1084
1179
  }
1085
1180
  },
@@ -1251,12 +1346,213 @@ const chip = tv({
1251
1346
  }
1252
1347
  }],
1253
1348
  defaultVariants: {
1254
- size: 'md',
1349
+ size: 'xs',
1255
1350
  color: 'neutral',
1256
1351
  variant: 'solid'
1257
1352
  }
1258
1353
  });
1259
1354
 
1355
+ const ROLES = ['neutral', 'primary', 'secondary', 'tertiary', 'success', 'warning', 'danger'];
1356
+ // Fill and ink per color and variant, from the design artifact's Icon spec.
1357
+ // The artifact picks a different level per role (soft is `*-soft` for most and
1358
+ // `*-muted` for neutral and warning), so these are tables, not a rule. Where
1359
+ // Frontile's auto-generated `on-*` token differs from the artifact's ink (the
1360
+ // artifact has `on-neutral` white on its mid-gray fill, Frontile black), the
1361
+ // level that gives the artifact's ink is used instead, and the tests check the
1362
+ // ink itself. Every class is written out in full so Tailwind can find it.
1363
+ const SOLID = {
1364
+ neutral: 'bg-on-neutral-subtle text-on-neutral-strong',
1365
+ primary: 'bg-primary text-on-primary',
1366
+ secondary: 'bg-secondary text-on-secondary',
1367
+ tertiary: 'bg-tertiary text-on-tertiary',
1368
+ success: 'bg-success text-on-success',
1369
+ warning: 'bg-warning text-on-warning',
1370
+ danger: 'bg-danger text-on-danger'
1371
+ };
1372
+ const SOFT = {
1373
+ neutral: 'bg-neutral-muted text-on-neutral-muted',
1374
+ primary: 'bg-primary-soft text-on-primary-soft',
1375
+ secondary: 'bg-secondary-soft text-on-secondary-soft',
1376
+ tertiary: 'bg-tertiary-soft text-on-tertiary-soft',
1377
+ success: 'bg-success-soft text-on-success-soft',
1378
+ warning: 'bg-warning-muted text-on-warning-soft',
1379
+ danger: 'bg-danger-soft text-on-danger-soft'
1380
+ };
1381
+ const SUBTLE = {
1382
+ neutral: 'bg-neutral-subtle text-neutral-strong',
1383
+ primary: 'bg-primary-soft text-primary',
1384
+ secondary: 'bg-secondary-soft text-secondary',
1385
+ tertiary: 'bg-tertiary-muted text-tertiary-strong',
1386
+ success: 'bg-success-muted text-success-strong',
1387
+ warning: 'bg-warning-subtle text-warning',
1388
+ danger: 'bg-danger-muted text-danger'
1389
+ };
1390
+
1391
+ // The icon color for the variants with no fill behind it. The outline ring
1392
+ // takes the same color.
1393
+ const INK = {
1394
+ neutral: 'text-on-neutral-subtle',
1395
+ primary: 'text-primary',
1396
+ secondary: 'text-secondary',
1397
+ tertiary: 'text-tertiary-strong',
1398
+ success: 'text-success-strong',
1399
+ warning: 'text-warning',
1400
+ danger: 'text-danger'
1401
+ };
1402
+ const BY_VARIANT = {
1403
+ solid: SOLID,
1404
+ soft: SOFT,
1405
+ subtle: SUBTLE,
1406
+ outline: INK,
1407
+ plain: INK
1408
+ };
1409
+
1410
+ // A circle that centers an icon, sized from the design artifact: the circle
1411
+ // diameter, the icon inside it, and for `plain` a tighter box with no circle.
1412
+ // The icon is the `svg` the block contains, so it needs no size class of its
1413
+ // own. These are the artifact's pixel values, not the `size-icon-*` ramp, which
1414
+ // follows the label text. Outline draws its ring as an inset shadow in the
1415
+ // icon color, 0.5px at 4xs up to 2.5px at 3xl.
1416
+ //
1417
+ // One deliberate difference from the artifact: it has `xl` the same as `lg`
1418
+ // (64px circle, 40px plain box), which looks like a Figma slip, so `xl` is 72px
1419
+ // and 44px, between `lg` and `2xl`. Confirm with the designer.
1420
+ const icon = tv({
1421
+ base: 'box-border inline-flex shrink-0 items-center justify-center rounded-full align-middle',
1422
+ variants: {
1423
+ size: {
1424
+ '4xs': 'size-4 [&_svg]:size-[8px]',
1425
+ '3xs': 'size-5 [&_svg]:size-[10px]',
1426
+ '2xs': 'size-6 [&_svg]:size-[12px]',
1427
+ xs: 'size-8 [&_svg]:size-[16px]',
1428
+ sm: 'size-10 [&_svg]:size-[20px]',
1429
+ md: 'size-12 [&_svg]:size-[28px]',
1430
+ lg: 'size-16 [&_svg]:size-[32px]',
1431
+ xl: 'size-18 [&_svg]:size-[40px]',
1432
+ '2xl': 'size-20 [&_svg]:size-[48px]',
1433
+ '3xl': 'size-24 [&_svg]:size-[56px]'
1434
+ },
1435
+ color: {
1436
+ neutral: '',
1437
+ primary: '',
1438
+ secondary: '',
1439
+ tertiary: '',
1440
+ success: '',
1441
+ warning: '',
1442
+ danger: ''
1443
+ },
1444
+ variant: {
1445
+ solid: '',
1446
+ soft: '',
1447
+ subtle: '',
1448
+ outline: '',
1449
+ plain: ''
1450
+ },
1451
+ // For an icon on a surface of the other scheme. See the compound variants.
1452
+ inverse: {
1453
+ true: ''
1454
+ }
1455
+ },
1456
+ compoundVariants: [...ROLES.flatMap(color => Object.keys(BY_VARIANT).map(variant => ({
1457
+ color,
1458
+ variant,
1459
+ class: BY_VARIANT[variant][color]
1460
+ }))),
1461
+ // Inverse. Neutral solid, outline and plain swap their tokens, as the
1462
+ // artifact does: the fill and the icon change places, and the ink takes
1463
+ // `on-neutral`. Everything else re-resolves its tokens to the opposite
1464
+ // scheme with `theme-inverse`.
1465
+ {
1466
+ inverse: true,
1467
+ color: 'neutral',
1468
+ variant: 'solid',
1469
+ class: 'bg-on-neutral-strong text-on-neutral-subtle'
1470
+ }, {
1471
+ inverse: true,
1472
+ color: 'neutral',
1473
+ variant: ['outline', 'plain'],
1474
+ class: 'text-on-neutral-strong'
1475
+ }, {
1476
+ inverse: true,
1477
+ color: 'neutral',
1478
+ variant: ['soft', 'subtle'],
1479
+ class: 'theme-inverse'
1480
+ }, {
1481
+ inverse: true,
1482
+ color: ['primary', 'secondary', 'tertiary', 'success', 'warning', 'danger'],
1483
+ class: 'theme-inverse'
1484
+ },
1485
+ // Plain has no circle, so its box is tighter. The icon size is unchanged.
1486
+ {
1487
+ variant: 'plain',
1488
+ size: '4xs',
1489
+ class: 'size-3'
1490
+ }, {
1491
+ variant: 'plain',
1492
+ size: '3xs',
1493
+ class: 'size-3.5'
1494
+ }, {
1495
+ variant: 'plain',
1496
+ size: '2xs',
1497
+ class: 'size-4'
1498
+ }, {
1499
+ variant: 'plain',
1500
+ size: 'xs',
1501
+ class: 'size-5'
1502
+ }, {
1503
+ variant: 'plain',
1504
+ size: 'sm',
1505
+ class: 'size-6'
1506
+ }, {
1507
+ variant: 'plain',
1508
+ size: 'md',
1509
+ class: 'size-8'
1510
+ }, {
1511
+ variant: 'plain',
1512
+ size: 'lg',
1513
+ class: 'size-10'
1514
+ }, {
1515
+ variant: 'plain',
1516
+ size: 'xl',
1517
+ class: 'size-11'
1518
+ }, {
1519
+ variant: 'plain',
1520
+ size: '2xl',
1521
+ class: 'size-12'
1522
+ }, {
1523
+ variant: 'plain',
1524
+ size: '3xl',
1525
+ class: 'size-14'
1526
+ },
1527
+ // The ring, in the icon color.
1528
+ {
1529
+ variant: 'outline',
1530
+ size: ['4xs', '3xs'],
1531
+ class: 'shadow-[inset_0_0_0_0.5px_currentColor]'
1532
+ }, {
1533
+ variant: 'outline',
1534
+ size: ['2xs', 'xs'],
1535
+ class: 'shadow-[inset_0_0_0_1px_currentColor]'
1536
+ }, {
1537
+ variant: 'outline',
1538
+ size: 'sm',
1539
+ class: 'shadow-[inset_0_0_0_1.5px_currentColor]'
1540
+ }, {
1541
+ variant: 'outline',
1542
+ size: ['md', 'lg', 'xl', '2xl'],
1543
+ class: 'shadow-[inset_0_0_0_2px_currentColor]'
1544
+ }, {
1545
+ variant: 'outline',
1546
+ size: '3xl',
1547
+ class: 'shadow-[inset_0_0_0_2.5px_currentColor]'
1548
+ }],
1549
+ // `color` has no default: a plain icon without one inherits the text color.
1550
+ defaultVariants: {
1551
+ size: 'md',
1552
+ variant: 'plain'
1553
+ }
1554
+ });
1555
+
1260
1556
  const progressBar = tv({
1261
1557
  slots: {
1262
1558
  base: ['overflow-hidden w-full bg-surface-overlay-soft'],
@@ -1900,7 +2196,13 @@ const dropdownContent = tv({
1900
2196
  });
1901
2197
 
1902
2198
  const popover = tv({
1903
- base: 'bg-surface-input rounded-xl border border-neutral-subtle',
2199
+ // The `--popover-available-*` properties are set by `Popover` once it has
2200
+ // positioned the content: the room left in the viewport minus a gutter. They
2201
+ // keep a wide popover -- `lg`/`xl`, or `trigger` on a full-width trigger -- an
2202
+ // inset card on a phone, and make a tall one scroll instead of running off
2203
+ // the screen. Before they are set, or outside `Popover`, the width falls back
2204
+ // to the viewport minus a gutter and the height is uncapped.
2205
+ base: 'bg-surface-input rounded-xl border border-neutral-subtle max-w-[var(--popover-available-width,calc(100vw-2rem))] max-h-[var(--popover-available-height,none)]',
1904
2206
  variants: {
1905
2207
  size: {
1906
2208
  sm: 'w-40',
@@ -1970,6 +2272,200 @@ const divider = tv({
1970
2272
  }
1971
2273
  });
1972
2274
 
2275
+ /**
2276
+ * Card is a surface and nothing else: it owns the fill, border, radius,
2277
+ * padding and the states a surface can be in. What goes inside is the call
2278
+ * site's business, and so is selection behaviour — `isSelected` only changes
2279
+ * how the surface looks.
2280
+ *
2281
+ * The border is `border` (1px) in every variant and state, so moving between
2282
+ * states never shifts the contents. `flat` and `soft` keep the same border
2283
+ * width but make it transparent. Hover and selected add weight without
2284
+ * changing that width: a second 1px layer, drawn inside the border in the same
2285
+ * colour with `inset-shadow-[0_0_0_1px_…]`, so the edge reads as 2px.
2286
+ *
2287
+ * That layer is an `inset-shadow`, not a `ring` or an `outline`. `ring-*`
2288
+ * shares its `--tw-ring-*` variables with the focus ring (`focusVisibleRing`),
2289
+ * so a focused selected card would get an inset focus ring; `outline` is the
2290
+ * focus indicator in forced-colors (`outline-hidden`). `inset-shadow` has its
2291
+ * own variable and stacks with `shadow-elevation-*` and the focus ring.
2292
+ *
2293
+ * `box-shadow` is not drawn in forced-colors, so a selected card widens its
2294
+ * border to 3px in that mode instead (`forced-colors:border-[3px]`). A layout
2295
+ * shift is acceptable there; losing the selected cue is not.
2296
+ *
2297
+ * Everything that depends on more than one variant lives in
2298
+ * `compoundVariants`. tv() applies those after the plain variants and
2299
+ * resolves conflicts with tailwind-merge, so a state's border or fill wins
2300
+ * over the variant's resting one without relying on declaration order.
2301
+ */
2302
+ const card = tv({
2303
+ base: [
2304
+ // A positioning context for the selection indicator.
2305
+ 'relative', 'border rounded-[20px]', 'transition-[color,background-color,border-color,box-shadow] duration-200', 'motion-reduce:transition-none'],
2306
+ variants: {
2307
+ variant: {
2308
+ outline: 'bg-surface-card',
2309
+ flat: 'bg-surface-card border-transparent',
2310
+ // `overlay-soft`, not `-subtle`: in dark mode `surface-card` and
2311
+ // `surface-overlay-subtle` are the same colour (white @ 7%), which would
2312
+ // make `soft` identical to `flat`. The same pairing rules out
2313
+ // `overlay-subtle` for any hover or pressed fill below.
2314
+ soft: 'bg-surface-overlay-soft border-transparent'
2315
+ },
2316
+ // Colour only steers the hover and selected border. The resting border
2317
+ // is neutral for both, as in the design.
2318
+ color: {
2319
+ neutral: '',
2320
+ primary: ''
2321
+ },
2322
+ density: {
2323
+ compact: 'p-3',
2324
+ comfortable: 'p-5',
2325
+ spacious: 'p-8'
2326
+ },
2327
+ // Only `outline` is ever raised; `flat` and `soft` have no shadow in
2328
+ // either setting.
2329
+ elevation: {
2330
+ raised: '',
2331
+ none: ''
2332
+ },
2333
+ isSelected: {
2334
+ true: '',
2335
+ false: ''
2336
+ },
2337
+ isInteractive: {
2338
+ true: '',
2339
+ false: ''
2340
+ },
2341
+ isDisabled: {
2342
+ true: 'opacity-disabled cursor-not-allowed',
2343
+ false: ''
2344
+ }
2345
+ },
2346
+ compoundVariants: [
2347
+ // RESTING SURFACE
2348
+ {
2349
+ variant: 'outline',
2350
+ isSelected: false,
2351
+ class: 'border-neutral-muted'
2352
+ }, {
2353
+ variant: 'outline',
2354
+ elevation: 'raised',
2355
+ class: 'shadow-elevation-2'
2356
+ },
2357
+ // SELECTED. The fill is unchanged; the border takes the colour and a
2358
+ // second 1px layer inside it makes the edge read as 2px. Forced-colors
2359
+ // draws no box-shadow, so it gets a real, thicker border instead.
2360
+ {
2361
+ isSelected: true,
2362
+ color: 'primary',
2363
+ class: ['border-primary', 'inset-shadow-[0_0_0_1px_var(--color-primary)]', 'forced-colors:border-[3px]']
2364
+ }, {
2365
+ isSelected: true,
2366
+ color: 'neutral',
2367
+ class: ['border-neutral-bolder', 'inset-shadow-[0_0_0_1px_var(--color-neutral-bolder)]', 'forced-colors:border-[3px]']
2368
+ },
2369
+ // INTERACTIVE. Disabled wins: no hover, pressed, focus ring or pointer.
2370
+ {
2371
+ isInteractive: true,
2372
+ isDisabled: false,
2373
+ class: ['cursor-pointer', ...focusVisibleRing]
2374
+ },
2375
+ // PRESSED sits one overlay level above each variant's hover, so it is a
2376
+ // distinct step in light and dark. Outline has no hover fill, so it goes
2377
+ // straight to `overlay-soft` off the card fill.
2378
+ {
2379
+ variant: 'outline',
2380
+ isInteractive: true,
2381
+ isDisabled: false,
2382
+ class: 'active:bg-surface-overlay-soft'
2383
+ }, {
2384
+ variant: 'flat',
2385
+ isInteractive: true,
2386
+ isDisabled: false,
2387
+ class: 'active:bg-surface-overlay-mild'
2388
+ }, {
2389
+ variant: 'soft',
2390
+ isInteractive: true,
2391
+ isDisabled: false,
2392
+ class: 'active:bg-surface-overlay-firm'
2393
+ },
2394
+ // HOVER, unselected. Hover is scoped to the unselected state so it never
2395
+ // ties on specificity with the selected border. The border colour is
2396
+ // joined by a 1px inset layer in the same colour, so it reads as 2px.
2397
+ {
2398
+ variant: 'outline',
2399
+ isInteractive: true,
2400
+ isDisabled: false,
2401
+ isSelected: false,
2402
+ color: 'primary',
2403
+ class: ['hover:border-primary-muted', 'hover:inset-shadow-[0_0_0_1px_var(--color-primary-muted)]']
2404
+ }, {
2405
+ variant: 'outline',
2406
+ isInteractive: true,
2407
+ isDisabled: false,
2408
+ isSelected: false,
2409
+ color: 'neutral',
2410
+ class: ['hover:border-neutral-soft', 'hover:inset-shadow-[0_0_0_1px_var(--color-neutral-soft)]']
2411
+ }, {
2412
+ variant: 'flat',
2413
+ isInteractive: true,
2414
+ isDisabled: false,
2415
+ isSelected: false,
2416
+ class: 'hover:bg-surface-overlay-soft'
2417
+ }, {
2418
+ variant: 'soft',
2419
+ isInteractive: true,
2420
+ isDisabled: false,
2421
+ isSelected: false,
2422
+ class: 'hover:bg-surface-overlay-mild'
2423
+ },
2424
+ // HOVER LIFT. Raised outline cards step up an elevation level, selected
2425
+ // or not.
2426
+ {
2427
+ variant: 'outline',
2428
+ elevation: 'raised',
2429
+ isInteractive: true,
2430
+ isDisabled: false,
2431
+ class: 'hover:shadow-elevation-3'
2432
+ }],
2433
+ defaultVariants: {
2434
+ variant: 'outline',
2435
+ color: 'neutral',
2436
+ density: 'comfortable',
2437
+ elevation: 'raised',
2438
+ isSelected: false,
2439
+ isInteractive: false,
2440
+ isDisabled: false
2441
+ }
2442
+ });
2443
+
2444
+ /**
2445
+ * The selection indicator: a small solid circle overhanging a card's top-right
2446
+ * corner, holding whatever icon the call site passes in the `indicator` block.
2447
+ * Card renders it only while selected, so it has no state of its own. The
2448
+ * overhang is why `card` is `relative` and has no `overflow-hidden`.
2449
+ *
2450
+ * `starting:` gives it a short fade and scale in when it mounts; reduced
2451
+ * motion drops the transition.
2452
+ */
2453
+ const cardIndicator = tv({
2454
+ base: [
2455
+ // Offsets are measured from the padding box, inside the 1px border, so
2456
+ // 1.25 (5px) leaves the circle 4px past the card's outer edge.
2457
+ 'pointer-events-none absolute -top-1.25 -right-1.25 z-10', 'inline-flex size-5 items-center justify-center rounded-full', '[&>svg]:size-3', 'transition-[opacity,scale] duration-200', 'starting:opacity-0 starting:scale-75', 'motion-reduce:transition-none'],
2458
+ variants: {
2459
+ color: {
2460
+ neutral: 'bg-neutral-bolder text-on-neutral-bolder',
2461
+ primary: 'bg-primary text-on-primary'
2462
+ }
2463
+ },
2464
+ defaultVariants: {
2465
+ color: 'neutral'
2466
+ }
2467
+ });
2468
+
1973
2469
  const externalLink = tv({
1974
2470
  slots: {
1975
2471
  // `inline`, not `inline-flex`. An external link's home is running text, and
@@ -4997,8 +5493,8 @@ const input = tv({
4997
5493
  slots: {
4998
5494
  base: '',
4999
5495
  innerContainer: 'relative flex',
5000
- startContent: 'absolute inset-y-0 left-0 flex items-center',
5001
- endContent: 'absolute inset-y-0 right-0 flex items-center',
5496
+ startContent: 'absolute inset-y-0 left-0 flex items-center text-neutral-soft',
5497
+ endContent: 'absolute inset-y-0 right-0 flex items-center text-neutral-soft',
5002
5498
  input: ['appearance-none', 'flex-1', 'w-full', ...fieldShell, 'text-neutral-strong', 'placeholder-neutral',
5003
5499
  // body role family; single-line controls keep tight leading (not the body relaxed leading)
5004
5500
  'font-body text-base text-left', 'leading-tight', 'focus:ring-3', 'focus:ring-focus', 'focus:outline-hidden', 'focus:border-primary', 'disabled:border-neutral-subtle disabled:text-neutral-soft', 'aria-invalid:border-danger',
@@ -5434,7 +5930,7 @@ const datePicker = tv({
5434
5930
  // names from the variant type, and `isSegmented` below has to target
5435
5931
  // both of these.
5436
5932
  innerContainer: 'relative flex',
5437
- endContent: 'absolute inset-y-0 right-0 flex items-center',
5933
+ endContent: 'absolute inset-y-0 right-0 flex items-center text-neutral-soft',
5438
5934
  // The calendar sits in the popover, which supplies its own surface and
5439
5935
  // padding, so this only reserves room around the grid.
5440
5936
  calendar: 'p-2',
@@ -5594,7 +6090,7 @@ const dateInput = tv({
5594
6090
  base: [],
5595
6091
  innerContainer: segmentedFieldShell,
5596
6092
  ...segmentRowSlots,
5597
- endContent: 'flex items-center gap-1 shrink-0',
6093
+ endContent: 'flex items-center gap-1 shrink-0 text-neutral-soft',
5598
6094
  icon: 'w-5 h-5',
5599
6095
  clearButton: 'pointer-events-auto',
5600
6096
  calendarButton: 'pointer-events-auto'
@@ -5876,6 +6372,8 @@ var components = /*#__PURE__*/Object.freeze({
5876
6372
  buttonGroup: buttonGroup,
5877
6373
  buttonSpinner: buttonSpinner,
5878
6374
  calendar: calendar,
6375
+ card: card,
6376
+ cardIndicator: cardIndicator,
5879
6377
  checkbox: checkbox,
5880
6378
  checkboxGroup: checkboxGroup,
5881
6379
  chip: chip,
@@ -5897,6 +6395,8 @@ var components = /*#__PURE__*/Object.freeze({
5897
6395
  formRadioGroup: formRadioGroup,
5898
6396
  formSelect: formSelect,
5899
6397
  formTextarea: formTextarea,
6398
+ icon: icon,
6399
+ iconButton: iconButton$1,
5900
6400
  input: input,
5901
6401
  inputOtp: inputOtp,
5902
6402
  kbd: kbd,