@blakesteve/roster 4.12.1 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (570) hide show
  1. package/README.md +17 -9
  2. package/dist/_virtual/use-sync-external-store-with-selector.development.cjs +1 -0
  3. package/dist/_virtual/use-sync-external-store-with-selector.development.js +4 -0
  4. package/dist/_virtual/use-sync-external-store-with-selector.production.cjs +1 -0
  5. package/dist/_virtual/use-sync-external-store-with-selector.production.js +4 -0
  6. package/dist/_virtual/with-selector.cjs +1 -0
  7. package/dist/_virtual/with-selector.js +5 -0
  8. package/dist/_virtual/with-selector2.cjs +1 -0
  9. package/dist/_virtual/with-selector2.js +4 -0
  10. package/dist/components/atoms/Avatar/Avatar.cjs +1 -0
  11. package/dist/components/atoms/Avatar/Avatar.js +63 -0
  12. package/dist/components/atoms/Avatar/avatar-variants.cjs +1 -0
  13. package/dist/components/atoms/Avatar/avatar-variants.js +37 -0
  14. package/dist/components/atoms/AvatarStrip/AvatarStrip.cjs +1 -0
  15. package/dist/components/atoms/AvatarStrip/AvatarStrip.js +100 -0
  16. package/dist/components/atoms/Badge/Badge.cjs +1 -0
  17. package/dist/components/atoms/Badge/Badge.js +37 -0
  18. package/dist/components/atoms/Badge/badge-variants.cjs +1 -0
  19. package/dist/components/atoms/Badge/badge-variants.js +84 -0
  20. package/dist/components/atoms/Button/Button.cjs +1 -0
  21. package/dist/components/atoms/Button/Button.js +50 -0
  22. package/dist/components/atoms/Button/button-variants.cjs +1 -0
  23. package/dist/components/atoms/Button/button-variants.d.ts +15 -0
  24. package/dist/components/atoms/Button/button-variants.js +94 -0
  25. package/dist/components/atoms/Card/Card.cjs +1 -0
  26. package/dist/components/atoms/Card/Card.js +51 -0
  27. package/dist/components/atoms/Card/card-variants.cjs +1 -0
  28. package/dist/components/atoms/Card/card-variants.js +43 -0
  29. package/dist/components/atoms/Checkbox/Checkbox.cjs +1 -0
  30. package/dist/components/atoms/Checkbox/Checkbox.js +63 -0
  31. package/dist/components/atoms/Checkbox/checkbox-variants.cjs +1 -0
  32. package/dist/components/atoms/Checkbox/checkbox-variants.js +66 -0
  33. package/dist/components/atoms/Chip/Chip.cjs +1 -0
  34. package/dist/components/atoms/Chip/Chip.js +119 -0
  35. package/dist/components/atoms/Chip/chip-variants.cjs +1 -0
  36. package/dist/components/atoms/Chip/chip-variants.js +85 -0
  37. package/dist/components/atoms/CollapsibleSection/CollapsibleSection.cjs +1 -0
  38. package/dist/components/atoms/CollapsibleSection/CollapsibleSection.js +54 -0
  39. package/dist/components/atoms/Combobox/Combobox.cjs +1 -0
  40. package/dist/components/atoms/Combobox/Combobox.js +150 -0
  41. package/dist/components/atoms/Disclosure/Disclosure.cjs +1 -0
  42. package/dist/components/atoms/Disclosure/Disclosure.js +82 -0
  43. package/dist/components/atoms/Disclosure/disclosure-variants.cjs +1 -0
  44. package/dist/components/atoms/Disclosure/disclosure-variants.js +38 -0
  45. package/dist/components/atoms/Eyebrow/Eyebrow.cjs +1 -0
  46. package/dist/components/atoms/Eyebrow/Eyebrow.js +27 -0
  47. package/dist/components/atoms/Eyebrow/eyebrow-variants.cjs +1 -0
  48. package/dist/components/atoms/Eyebrow/eyebrow-variants.js +28 -0
  49. package/dist/components/atoms/InlineCode/InlineCode.cjs +1 -0
  50. package/dist/components/atoms/InlineCode/InlineCode.js +20 -0
  51. package/dist/components/atoms/InlineCode/inline-code-variants.cjs +1 -0
  52. package/dist/components/atoms/InlineCode/inline-code-variants.js +18 -0
  53. package/dist/components/atoms/Input/Input.cjs +1 -0
  54. package/dist/components/atoms/Input/Input.js +109 -0
  55. package/dist/components/atoms/Input/input-variants.cjs +1 -0
  56. package/dist/components/atoms/Input/input-variants.js +89 -0
  57. package/dist/components/atoms/LabeledDivider/LabeledDivider.cjs +1 -0
  58. package/dist/components/atoms/LabeledDivider/LabeledDivider.js +17 -0
  59. package/dist/components/atoms/Link/Link.cjs +1 -0
  60. package/dist/components/atoms/Link/Link.js +66 -0
  61. package/dist/components/atoms/Link/link-variants.cjs +1 -0
  62. package/dist/components/atoms/Link/link-variants.js +32 -0
  63. package/dist/components/atoms/LiquidTabs/LiquidTabs.cjs +1 -0
  64. package/dist/components/atoms/LiquidTabs/LiquidTabs.js +120 -0
  65. package/dist/components/atoms/MultiSelect/MultiSelect.cjs +1 -0
  66. package/dist/components/atoms/MultiSelect/MultiSelect.js +231 -0
  67. package/dist/components/atoms/PasswordInput/PasswordInput.cjs +1 -0
  68. package/dist/components/atoms/PasswordInput/PasswordInput.js +69 -0
  69. package/dist/components/atoms/Pill/Pill.cjs +1 -0
  70. package/dist/components/atoms/Pill/Pill.js +48 -0
  71. package/dist/components/atoms/Pill/pill-variants.cjs +1 -0
  72. package/dist/components/atoms/Pill/pill-variants.js +82 -0
  73. package/dist/components/atoms/SegmentBar/SegmentBar.cjs +1 -0
  74. package/dist/components/atoms/SegmentBar/SegmentBar.js +73 -0
  75. package/dist/components/atoms/Select/Select.cjs +1 -0
  76. package/dist/components/atoms/Select/Select.js +152 -0
  77. package/dist/components/atoms/Select/select-variants.cjs +1 -0
  78. package/dist/components/atoms/Select/select-variants.js +94 -0
  79. package/dist/components/atoms/Spinner/Spinner.cjs +1 -0
  80. package/dist/components/atoms/Spinner/Spinner.js +50 -0
  81. package/dist/components/atoms/Stat/Stat.cjs +1 -0
  82. package/dist/components/atoms/Stat/Stat.js +17 -0
  83. package/dist/components/atoms/Stat/stat-variants.cjs +1 -0
  84. package/dist/components/atoms/Stat/stat-variants.js +25 -0
  85. package/dist/components/atoms/Switch/Switch.cjs +1 -0
  86. package/dist/components/atoms/Switch/Switch.js +73 -0
  87. package/dist/components/atoms/Switch/switch-variants.cjs +1 -0
  88. package/dist/components/atoms/Switch/switch-variants.js +43 -0
  89. package/dist/components/atoms/Textarea/Textarea.cjs +1 -0
  90. package/dist/components/atoms/Textarea/Textarea.js +66 -0
  91. package/dist/components/atoms/Textarea/textarea-variants.cjs +1 -0
  92. package/dist/components/atoms/Textarea/textarea-variants.js +60 -0
  93. package/dist/components/atoms/ThemeToggle/ThemeToggle.cjs +1 -0
  94. package/dist/components/atoms/ThemeToggle/ThemeToggle.js +76 -0
  95. package/dist/components/atoms/Tooltip/Tooltip.cjs +1 -0
  96. package/dist/components/atoms/Tooltip/Tooltip.js +60 -0
  97. package/dist/components/molecules/Accordion/Accordion.cjs +1 -0
  98. package/dist/components/molecules/Accordion/Accordion.js +38 -0
  99. package/dist/components/molecules/Alert/Alert.cjs +1 -0
  100. package/dist/components/molecules/Alert/Alert.js +68 -0
  101. package/dist/components/molecules/Alert/alert-variants.cjs +1 -0
  102. package/dist/components/molecules/Alert/alert-variants.js +80 -0
  103. package/dist/components/molecules/Breadcrumbs/Breadcrumbs.cjs +1 -0
  104. package/dist/components/molecules/Breadcrumbs/Breadcrumbs.js +89 -0
  105. package/dist/components/molecules/Breadcrumbs/breadcrumb-variants.cjs +1 -0
  106. package/dist/components/molecules/Breadcrumbs/breadcrumb-variants.js +19 -0
  107. package/dist/components/molecules/CallToAction/CallToAction.cjs +1 -0
  108. package/dist/components/molecules/CallToAction/CallToAction.js +41 -0
  109. package/dist/components/molecules/CallToAction/call-to-action-variants.cjs +1 -0
  110. package/dist/components/molecules/CallToAction/call-to-action-variants.js +72 -0
  111. package/dist/components/molecules/CheckboxGroup/CheckboxGroup.cjs +1 -0
  112. package/dist/components/molecules/CheckboxGroup/CheckboxGroup.js +146 -0
  113. package/dist/components/molecules/CheckboxGroup/checkbox-group-variants.cjs +1 -0
  114. package/dist/components/molecules/CheckboxGroup/checkbox-group-variants.js +72 -0
  115. package/dist/components/molecules/DescriptionList/DescriptionList.cjs +1 -0
  116. package/dist/components/molecules/DescriptionList/DescriptionList.js +32 -0
  117. package/dist/components/molecules/DescriptionList/description-list-variants.cjs +1 -0
  118. package/dist/components/molecules/DescriptionList/description-list-variants.js +21 -0
  119. package/dist/components/molecules/EmptyState/EmptyState.cjs +1 -0
  120. package/dist/components/molecules/EmptyState/EmptyState.js +22 -0
  121. package/dist/components/molecules/EmptyState/empty-state-variants.cjs +1 -0
  122. package/dist/components/molecules/EmptyState/empty-state-variants.js +18 -0
  123. package/dist/components/molecules/ErrorState/ErrorState.cjs +1 -0
  124. package/dist/components/molecules/ErrorState/ErrorState.js +49 -0
  125. package/dist/components/molecules/ErrorState/error-state-variants.cjs +1 -0
  126. package/dist/components/molecules/ErrorState/error-state-variants.js +18 -0
  127. package/dist/components/molecules/MatchupCard/MatchupCard.cjs +1 -0
  128. package/dist/components/molecules/MatchupCard/MatchupCard.js +102 -0
  129. package/dist/components/molecules/Pullquote/Pullquote.cjs +1 -0
  130. package/dist/components/molecules/Pullquote/Pullquote.js +30 -0
  131. package/dist/components/molecules/Pullquote/pullquote-variants.cjs +1 -0
  132. package/dist/components/molecules/Pullquote/pullquote-variants.js +32 -0
  133. package/dist/components/molecules/RadioGroup/RadioGroup.cjs +1 -0
  134. package/dist/components/molecules/RadioGroup/RadioGroup.js +166 -0
  135. package/dist/components/molecules/RadioGroup/radio-group-variants.cjs +1 -0
  136. package/dist/components/molecules/RadioGroup/radio-group-variants.js +94 -0
  137. package/dist/components/molecules/Toast/Toast.cjs +1 -0
  138. package/dist/components/molecules/Toast/Toast.js +64 -0
  139. package/dist/components/molecules/Toast/Toaster.cjs +1 -0
  140. package/dist/components/molecules/Toast/Toaster.js +70 -0
  141. package/dist/components/molecules/Toast/toast-api.cjs +1 -0
  142. package/dist/components/molecules/Toast/toast-api.js +27 -0
  143. package/dist/components/molecules/Toast/toast-variants.cjs +1 -0
  144. package/dist/components/molecules/Toast/toast-variants.js +83 -0
  145. package/dist/components/organisms/ActionBar/ActionBar.cjs +1 -0
  146. package/dist/components/organisms/ActionBar/ActionBar.js +40 -0
  147. package/dist/components/organisms/ActionBar/action-bar-variants.cjs +1 -0
  148. package/dist/components/organisms/ActionBar/action-bar-variants.js +26 -0
  149. package/dist/components/organisms/Countdown/Countdown.cjs +1 -0
  150. package/dist/components/organisms/Countdown/Countdown.js +98 -0
  151. package/dist/components/organisms/Countdown/countdown-variants.cjs +1 -0
  152. package/dist/components/organisms/Countdown/countdown-variants.js +65 -0
  153. package/dist/components/organisms/DataTable/DataTable.cjs +1 -0
  154. package/dist/components/organisms/DataTable/DataTable.js +160 -0
  155. package/dist/components/organisms/Dialog/Dialog.cjs +1 -0
  156. package/dist/components/organisms/Dialog/Dialog.js +152 -0
  157. package/dist/components/organisms/Footer/Footer.cjs +1 -0
  158. package/dist/components/organisms/Footer/Footer.js +41 -0
  159. package/dist/components/organisms/Footer/footer-variants.cjs +1 -0
  160. package/dist/components/organisms/Footer/footer-variants.js +25 -0
  161. package/dist/components/organisms/Navbar/Navbar.cjs +1 -0
  162. package/dist/components/organisms/Navbar/Navbar.js +539 -0
  163. package/dist/components/organisms/Navbar/navbar-variants.cjs +1 -0
  164. package/dist/components/organisms/Navbar/navbar-variants.js +35 -0
  165. package/dist/components/organisms/Table/Table.cjs +1 -0
  166. package/dist/components/organisms/Table/Table.js +118 -0
  167. package/dist/components/organisms/Table/table-variants.cjs +1 -0
  168. package/dist/components/organisms/Table/table-variants.js +117 -0
  169. package/dist/data-table.cjs +1 -0
  170. package/dist/data-table.js +4 -0
  171. package/dist/hooks/useCountdown.cjs +1 -0
  172. package/dist/hooks/useCountdown.js +33 -0
  173. package/dist/hooks/useKeySequence.cjs +1 -0
  174. package/dist/hooks/useKeySequence.js +55 -0
  175. package/dist/internal/PopupOption.cjs +1 -0
  176. package/dist/internal/PopupOption.js +39 -0
  177. package/dist/internal/popup.cjs +1 -0
  178. package/dist/internal/popup.js +29 -0
  179. package/dist/lib/utils.cjs +1 -0
  180. package/dist/lib/utils.js +27 -0
  181. package/dist/meta.json +1 -1
  182. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.cjs +1 -0
  183. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +532 -0
  184. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs +1 -0
  185. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +403 -0
  186. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.cjs +1 -0
  187. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js +368 -0
  188. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.cjs +1 -0
  189. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js +13 -0
  190. package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.cjs +1 -0
  191. package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +209 -0
  192. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs +1 -0
  193. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.cjs +1 -0
  194. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +136 -0
  195. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +130 -0
  196. package/dist/node_modules/@fortawesome/fontawesome-svg-core/index.cjs +558 -0
  197. package/dist/node_modules/@fortawesome/fontawesome-svg-core/index.js +3101 -0
  198. package/dist/node_modules/@fortawesome/free-solid-svg-icons/index.cjs +1 -0
  199. package/dist/node_modules/@fortawesome/free-solid-svg-icons/index.js +120 -0
  200. package/dist/node_modules/@fortawesome/react-fontawesome/dist/index.cjs +1 -0
  201. package/dist/node_modules/@fortawesome/react-fontawesome/dist/index.js +261 -0
  202. package/dist/node_modules/@headlessui/react/dist/components/button/button.cjs +1 -0
  203. package/dist/node_modules/@headlessui/react/dist/components/button/button.js +16 -0
  204. package/dist/node_modules/@headlessui/react/dist/components/checkbox/checkbox.cjs +1 -0
  205. package/dist/node_modules/@headlessui/react/dist/components/checkbox/checkbox.js +38 -0
  206. package/dist/node_modules/@headlessui/react/dist/components/combobox/combobox-machine-glue.cjs +1 -0
  207. package/dist/node_modules/@headlessui/react/dist/components/combobox/combobox-machine-glue.js +21 -0
  208. package/dist/node_modules/@headlessui/react/dist/components/combobox/combobox-machine.cjs +1 -0
  209. package/dist/node_modules/@headlessui/react/dist/components/combobox/combobox-machine.js +165 -0
  210. package/dist/node_modules/@headlessui/react/dist/components/combobox/combobox.cjs +1 -0
  211. package/dist/node_modules/@headlessui/react/dist/components/combobox/combobox.js +287 -0
  212. package/dist/node_modules/@headlessui/react/dist/components/description/description.cjs +1 -0
  213. package/dist/node_modules/@headlessui/react/dist/components/description/description.js +44 -0
  214. package/dist/node_modules/@headlessui/react/dist/components/dialog/dialog.cjs +1 -0
  215. package/dist/node_modules/@headlessui/react/dist/components/dialog/dialog.js +109 -0
  216. package/dist/node_modules/@headlessui/react/dist/components/field/field.cjs +1 -0
  217. package/dist/node_modules/@headlessui/react/dist/components/field/field.js +17 -0
  218. package/dist/node_modules/@headlessui/react/dist/components/fieldset/fieldset.cjs +1 -0
  219. package/dist/node_modules/@headlessui/react/dist/components/fieldset/fieldset.js +17 -0
  220. package/dist/node_modules/@headlessui/react/dist/components/focus-trap/focus-trap.cjs +1 -0
  221. package/dist/node_modules/@headlessui/react/dist/components/focus-trap/focus-trap.js +132 -0
  222. package/dist/node_modules/@headlessui/react/dist/components/input/input.cjs +1 -0
  223. package/dist/node_modules/@headlessui/react/dist/components/input/input.js +18 -0
  224. package/dist/node_modules/@headlessui/react/dist/components/keyboard.cjs +1 -0
  225. package/dist/node_modules/@headlessui/react/dist/components/keyboard.js +4 -0
  226. package/dist/node_modules/@headlessui/react/dist/components/label/label.cjs +1 -0
  227. package/dist/node_modules/@headlessui/react/dist/components/label/label.js +61 -0
  228. package/dist/node_modules/@headlessui/react/dist/components/legend/legend.cjs +1 -0
  229. package/dist/node_modules/@headlessui/react/dist/components/legend/legend.js +10 -0
  230. package/dist/node_modules/@headlessui/react/dist/components/listbox/listbox-machine-glue.cjs +1 -0
  231. package/dist/node_modules/@headlessui/react/dist/components/listbox/listbox-machine-glue.js +21 -0
  232. package/dist/node_modules/@headlessui/react/dist/components/listbox/listbox-machine.cjs +1 -0
  233. package/dist/node_modules/@headlessui/react/dist/components/listbox/listbox-machine.js +171 -0
  234. package/dist/node_modules/@headlessui/react/dist/components/listbox/listbox.cjs +1 -0
  235. package/dist/node_modules/@headlessui/react/dist/components/listbox/listbox.js +205 -0
  236. package/dist/node_modules/@headlessui/react/dist/components/menu/menu-machine-glue.cjs +1 -0
  237. package/dist/node_modules/@headlessui/react/dist/components/menu/menu-machine-glue.js +21 -0
  238. package/dist/node_modules/@headlessui/react/dist/components/menu/menu-machine.cjs +1 -0
  239. package/dist/node_modules/@headlessui/react/dist/components/menu/menu-machine.js +120 -0
  240. package/dist/node_modules/@headlessui/react/dist/components/menu/menu.cjs +1 -0
  241. package/dist/node_modules/@headlessui/react/dist/components/menu/menu.js +197 -0
  242. package/dist/node_modules/@headlessui/react/dist/components/mouse.cjs +1 -0
  243. package/dist/node_modules/@headlessui/react/dist/components/mouse.js +4 -0
  244. package/dist/node_modules/@headlessui/react/dist/components/popover/popover-machine-glue.cjs +1 -0
  245. package/dist/node_modules/@headlessui/react/dist/components/popover/popover-machine-glue.js +21 -0
  246. package/dist/node_modules/@headlessui/react/dist/components/popover/popover-machine.cjs +1 -0
  247. package/dist/node_modules/@headlessui/react/dist/components/popover/popover-machine.js +49 -0
  248. package/dist/node_modules/@headlessui/react/dist/components/popover/popover.cjs +1 -0
  249. package/dist/node_modules/@headlessui/react/dist/components/popover/popover.js +234 -0
  250. package/dist/node_modules/@headlessui/react/dist/components/portal/portal.cjs +1 -0
  251. package/dist/node_modules/@headlessui/react/dist/components/portal/portal.js +63 -0
  252. package/dist/node_modules/@headlessui/react/dist/components/radio-group/radio-group.cjs +1 -0
  253. package/dist/node_modules/@headlessui/react/dist/components/radio-group/radio-group.js +126 -0
  254. package/dist/node_modules/@headlessui/react/dist/components/switch/switch.cjs +1 -0
  255. package/dist/node_modules/@headlessui/react/dist/components/switch/switch.js +55 -0
  256. package/dist/node_modules/@headlessui/react/dist/components/textarea/textarea.cjs +1 -0
  257. package/dist/node_modules/@headlessui/react/dist/components/textarea/textarea.js +18 -0
  258. package/dist/node_modules/@headlessui/react/dist/components/transition/transition.cjs +1 -0
  259. package/dist/node_modules/@headlessui/react/dist/components/transition/transition.js +135 -0
  260. package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/adjust-scrollbar-padding.cjs +1 -0
  261. package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/adjust-scrollbar-padding.js +14 -0
  262. package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/handle-ios-locking.cjs +1 -0
  263. package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/handle-ios-locking.js +52 -0
  264. package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/overflow-store.cjs +1 -0
  265. package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/overflow-store.js +38 -0
  266. package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/prevent-scroll.cjs +1 -0
  267. package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/prevent-scroll.js +8 -0
  268. package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/use-document-overflow.cjs +1 -0
  269. package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/use-document-overflow.js +12 -0
  270. package/dist/node_modules/@headlessui/react/dist/hooks/use-active-press.cjs +1 -0
  271. package/dist/node_modules/@headlessui/react/dist/hooks/use-active-press.js +33 -0
  272. package/dist/node_modules/@headlessui/react/dist/hooks/use-by-comparator.cjs +1 -0
  273. package/dist/node_modules/@headlessui/react/dist/hooks/use-by-comparator.js +16 -0
  274. package/dist/node_modules/@headlessui/react/dist/hooks/use-controllable.cjs +1 -0
  275. package/dist/node_modules/@headlessui/react/dist/hooks/use-controllable.js +10 -0
  276. package/dist/node_modules/@headlessui/react/dist/hooks/use-default-value.cjs +1 -0
  277. package/dist/node_modules/@headlessui/react/dist/hooks/use-default-value.js +8 -0
  278. package/dist/node_modules/@headlessui/react/dist/hooks/use-disposables.cjs +1 -0
  279. package/dist/node_modules/@headlessui/react/dist/hooks/use-disposables.js +9 -0
  280. package/dist/node_modules/@headlessui/react/dist/hooks/use-document-event.cjs +1 -0
  281. package/dist/node_modules/@headlessui/react/dist/hooks/use-document-event.js +15 -0
  282. package/dist/node_modules/@headlessui/react/dist/hooks/use-element-size.cjs +1 -0
  283. package/dist/node_modules/@headlessui/react/dist/hooks/use-element-size.js +26 -0
  284. package/dist/node_modules/@headlessui/react/dist/hooks/use-escape.cjs +1 -0
  285. package/dist/node_modules/@headlessui/react/dist/hooks/use-escape.js +12 -0
  286. package/dist/node_modules/@headlessui/react/dist/hooks/use-event-listener.cjs +1 -0
  287. package/dist/node_modules/@headlessui/react/dist/hooks/use-event-listener.js +15 -0
  288. package/dist/node_modules/@headlessui/react/dist/hooks/use-event.cjs +1 -0
  289. package/dist/node_modules/@headlessui/react/dist/hooks/use-event.js +9 -0
  290. package/dist/node_modules/@headlessui/react/dist/hooks/use-flags.cjs +1 -0
  291. package/dist/node_modules/@headlessui/react/dist/hooks/use-flags.js +8 -0
  292. package/dist/node_modules/@headlessui/react/dist/hooks/use-handle-toggle.cjs +1 -0
  293. package/dist/node_modules/@headlessui/react/dist/hooks/use-handle-toggle.js +15 -0
  294. package/dist/node_modules/@headlessui/react/dist/hooks/use-inert-others.cjs +1 -0
  295. package/dist/node_modules/@headlessui/react/dist/hooks/use-inert-others.js +41 -0
  296. package/dist/node_modules/@headlessui/react/dist/hooks/use-is-mounted.cjs +1 -0
  297. package/dist/node_modules/@headlessui/react/dist/hooks/use-is-mounted.js +11 -0
  298. package/dist/node_modules/@headlessui/react/dist/hooks/use-is-top-layer.cjs +1 -0
  299. package/dist/node_modules/@headlessui/react/dist/hooks/use-is-top-layer.js +13 -0
  300. package/dist/node_modules/@headlessui/react/dist/hooks/use-is-touch-device.cjs +1 -0
  301. package/dist/node_modules/@headlessui/react/dist/hooks/use-is-touch-device.js +16 -0
  302. package/dist/node_modules/@headlessui/react/dist/hooks/use-iso-morphic-effect.cjs +1 -0
  303. package/dist/node_modules/@headlessui/react/dist/hooks/use-iso-morphic-effect.js +8 -0
  304. package/dist/node_modules/@headlessui/react/dist/hooks/use-latest-value.cjs +1 -0
  305. package/dist/node_modules/@headlessui/react/dist/hooks/use-latest-value.js +11 -0
  306. package/dist/node_modules/@headlessui/react/dist/hooks/use-on-disappear.cjs +1 -0
  307. package/dist/node_modules/@headlessui/react/dist/hooks/use-on-disappear.js +28 -0
  308. package/dist/node_modules/@headlessui/react/dist/hooks/use-on-unmount.cjs +1 -0
  309. package/dist/node_modules/@headlessui/react/dist/hooks/use-on-unmount.js +14 -0
  310. package/dist/node_modules/@headlessui/react/dist/hooks/use-outside-click.cjs +1 -0
  311. package/dist/node_modules/@headlessui/react/dist/hooks/use-outside-click.js +38 -0
  312. package/dist/node_modules/@headlessui/react/dist/hooks/use-owner.cjs +1 -0
  313. package/dist/node_modules/@headlessui/react/dist/hooks/use-owner.js +12 -0
  314. package/dist/node_modules/@headlessui/react/dist/hooks/use-quick-release.cjs +1 -0
  315. package/dist/node_modules/@headlessui/react/dist/hooks/use-quick-release.js +32 -0
  316. package/dist/node_modules/@headlessui/react/dist/hooks/use-refocusable-input.cjs +1 -0
  317. package/dist/node_modules/@headlessui/react/dist/hooks/use-refocusable-input.js +24 -0
  318. package/dist/node_modules/@headlessui/react/dist/hooks/use-resolve-button-type.cjs +1 -0
  319. package/dist/node_modules/@headlessui/react/dist/hooks/use-resolve-button-type.js +12 -0
  320. package/dist/node_modules/@headlessui/react/dist/hooks/use-resolved-tag.cjs +1 -0
  321. package/dist/node_modules/@headlessui/react/dist/hooks/use-resolved-tag.js +11 -0
  322. package/dist/node_modules/@headlessui/react/dist/hooks/use-root-containers.cjs +1 -0
  323. package/dist/node_modules/@headlessui/react/dist/hooks/use-root-containers.js +38 -0
  324. package/dist/node_modules/@headlessui/react/dist/hooks/use-scroll-lock.cjs +1 -0
  325. package/dist/node_modules/@headlessui/react/dist/hooks/use-scroll-lock.js +12 -0
  326. package/dist/node_modules/@headlessui/react/dist/hooks/use-server-handoff-complete.cjs +1 -0
  327. package/dist/node_modules/@headlessui/react/dist/hooks/use-server-handoff-complete.js +16 -0
  328. package/dist/node_modules/@headlessui/react/dist/hooks/use-slot.cjs +1 -0
  329. package/dist/node_modules/@headlessui/react/dist/hooks/use-slot.js +7 -0
  330. package/dist/node_modules/@headlessui/react/dist/hooks/use-store.cjs +1 -0
  331. package/dist/node_modules/@headlessui/react/dist/hooks/use-store.js +7 -0
  332. package/dist/node_modules/@headlessui/react/dist/hooks/use-sync-refs.cjs +1 -0
  333. package/dist/node_modules/@headlessui/react/dist/hooks/use-sync-refs.js +20 -0
  334. package/dist/node_modules/@headlessui/react/dist/hooks/use-tab-direction.cjs +1 -0
  335. package/dist/node_modules/@headlessui/react/dist/hooks/use-tab-direction.js +13 -0
  336. package/dist/node_modules/@headlessui/react/dist/hooks/use-text-value.cjs +1 -0
  337. package/dist/node_modules/@headlessui/react/dist/hooks/use-text-value.js +17 -0
  338. package/dist/node_modules/@headlessui/react/dist/hooks/use-tracked-pointer.cjs +1 -0
  339. package/dist/node_modules/@headlessui/react/dist/hooks/use-tracked-pointer.js +16 -0
  340. package/dist/node_modules/@headlessui/react/dist/hooks/use-transition.cjs +2 -0
  341. package/dist/node_modules/@headlessui/react/dist/hooks/use-transition.js +73 -0
  342. package/dist/node_modules/@headlessui/react/dist/hooks/use-tree-walker.cjs +1 -0
  343. package/dist/node_modules/@headlessui/react/dist/hooks/use-tree-walker.js +18 -0
  344. package/dist/node_modules/@headlessui/react/dist/hooks/use-watch.cjs +1 -0
  345. package/dist/node_modules/@headlessui/react/dist/hooks/use-watch.js +15 -0
  346. package/dist/node_modules/@headlessui/react/dist/hooks/use-window-event.cjs +1 -0
  347. package/dist/node_modules/@headlessui/react/dist/hooks/use-window-event.js +15 -0
  348. package/dist/node_modules/@headlessui/react/dist/internal/close-provider.cjs +1 -0
  349. package/dist/node_modules/@headlessui/react/dist/internal/close-provider.js +9 -0
  350. package/dist/node_modules/@headlessui/react/dist/internal/disabled.cjs +1 -0
  351. package/dist/node_modules/@headlessui/react/dist/internal/disabled.js +12 -0
  352. package/dist/node_modules/@headlessui/react/dist/internal/floating.cjs +1 -0
  353. package/dist/node_modules/@headlessui/react/dist/internal/floating.js +154 -0
  354. package/dist/node_modules/@headlessui/react/dist/internal/form-fields.cjs +1 -0
  355. package/dist/node_modules/@headlessui/react/dist/internal/form-fields.js +40 -0
  356. package/dist/node_modules/@headlessui/react/dist/internal/frozen.cjs +1 -0
  357. package/dist/node_modules/@headlessui/react/dist/internal/frozen.js +14 -0
  358. package/dist/node_modules/@headlessui/react/dist/internal/hidden.cjs +1 -0
  359. package/dist/node_modules/@headlessui/react/dist/internal/hidden.js +13 -0
  360. package/dist/node_modules/@headlessui/react/dist/internal/id.cjs +1 -0
  361. package/dist/node_modules/@headlessui/react/dist/internal/id.js +12 -0
  362. package/dist/node_modules/@headlessui/react/dist/internal/open-closed.cjs +1 -0
  363. package/dist/node_modules/@headlessui/react/dist/internal/open-closed.js +19 -0
  364. package/dist/node_modules/@headlessui/react/dist/internal/portal-force-root.cjs +1 -0
  365. package/dist/node_modules/@headlessui/react/dist/internal/portal-force-root.js +12 -0
  366. package/dist/node_modules/@headlessui/react/dist/machine.cjs +1 -0
  367. package/dist/node_modules/@headlessui/react/dist/machine.js +74 -0
  368. package/dist/node_modules/@headlessui/react/dist/machines/stack-machine.cjs +1 -0
  369. package/dist/node_modules/@headlessui/react/dist/machines/stack-machine.js +33 -0
  370. package/dist/node_modules/@headlessui/react/dist/react-glue.cjs +1 -0
  371. package/dist/node_modules/@headlessui/react/dist/react-glue.js +12 -0
  372. package/dist/node_modules/@headlessui/react/dist/utils/active-element-history.cjs +1 -0
  373. package/dist/node_modules/@headlessui/react/dist/utils/active-element-history.js +15 -0
  374. package/dist/node_modules/@headlessui/react/dist/utils/bugs.cjs +1 -0
  375. package/dist/node_modules/@headlessui/react/dist/utils/bugs.js +19 -0
  376. package/dist/node_modules/@headlessui/react/dist/utils/calculate-active-index.cjs +1 -0
  377. package/dist/node_modules/@headlessui/react/dist/utils/calculate-active-index.js +40 -0
  378. package/dist/node_modules/@headlessui/react/dist/utils/class-names.cjs +1 -0
  379. package/dist/node_modules/@headlessui/react/dist/utils/class-names.js +6 -0
  380. package/dist/node_modules/@headlessui/react/dist/utils/default-map.cjs +1 -0
  381. package/dist/node_modules/@headlessui/react/dist/utils/default-map.js +12 -0
  382. package/dist/node_modules/@headlessui/react/dist/utils/disposables.cjs +1 -0
  383. package/dist/node_modules/@headlessui/react/dist/utils/disposables.js +40 -0
  384. package/dist/node_modules/@headlessui/react/dist/utils/document-ready.cjs +1 -0
  385. package/dist/node_modules/@headlessui/react/dist/utils/document-ready.js +9 -0
  386. package/dist/node_modules/@headlessui/react/dist/utils/dom.cjs +1 -0
  387. package/dist/node_modules/@headlessui/react/dist/utils/dom.js +46 -0
  388. package/dist/node_modules/@headlessui/react/dist/utils/element-movement.cjs +1 -0
  389. package/dist/node_modules/@headlessui/react/dist/utils/element-movement.js +21 -0
  390. package/dist/node_modules/@headlessui/react/dist/utils/env.cjs +1 -0
  391. package/dist/node_modules/@headlessui/react/dist/utils/env.js +34 -0
  392. package/dist/node_modules/@headlessui/react/dist/utils/focus-management.cjs +1 -0
  393. package/dist/node_modules/@headlessui/react/dist/utils/focus-management.js +97 -0
  394. package/dist/node_modules/@headlessui/react/dist/utils/form.cjs +1 -0
  395. package/dist/node_modules/@headlessui/react/dist/utils/form.js +32 -0
  396. package/dist/node_modules/@headlessui/react/dist/utils/get-text-value.cjs +1 -0
  397. package/dist/node_modules/@headlessui/react/dist/utils/get-text-value.js +31 -0
  398. package/dist/node_modules/@headlessui/react/dist/utils/match.cjs +1 -0
  399. package/dist/node_modules/@headlessui/react/dist/utils/match.js +11 -0
  400. package/dist/node_modules/@headlessui/react/dist/utils/micro-task.cjs +1 -0
  401. package/dist/node_modules/@headlessui/react/dist/utils/micro-task.js +8 -0
  402. package/dist/node_modules/@headlessui/react/dist/utils/owner.cjs +1 -0
  403. package/dist/node_modules/@headlessui/react/dist/utils/owner.js +22 -0
  404. package/dist/node_modules/@headlessui/react/dist/utils/platform.cjs +1 -0
  405. package/dist/node_modules/@headlessui/react/dist/utils/platform.js +14 -0
  406. package/dist/node_modules/@headlessui/react/dist/utils/render.cjs +4 -0
  407. package/dist/node_modules/@headlessui/react/dist/utils/render.js +126 -0
  408. package/dist/node_modules/@headlessui/react/dist/utils/store.cjs +1 -0
  409. package/dist/node_modules/@headlessui/react/dist/utils/store.js +14 -0
  410. package/dist/node_modules/@radix-ui/primitive/dist/index.cjs +1 -0
  411. package/dist/node_modules/@radix-ui/primitive/dist/index.js +9 -0
  412. package/dist/node_modules/@radix-ui/react-arrow/dist/index.cjs +1 -0
  413. package/dist/node_modules/@radix-ui/react-arrow/dist/index.js +24 -0
  414. package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +1 -0
  415. package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +29 -0
  416. package/dist/node_modules/@radix-ui/react-context/dist/index.cjs +1 -0
  417. package/dist/node_modules/@radix-ui/react-context/dist/index.js +53 -0
  418. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs +1 -0
  419. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +127 -0
  420. package/dist/node_modules/@radix-ui/react-id/dist/index.cjs +1 -0
  421. package/dist/node_modules/@radix-ui/react-id/dist/index.js +13 -0
  422. package/dist/node_modules/@radix-ui/react-popper/dist/index.cjs +1 -0
  423. package/dist/node_modules/@radix-ui/react-popper/dist/index.js +219 -0
  424. package/dist/node_modules/@radix-ui/react-portal/dist/index.cjs +1 -0
  425. package/dist/node_modules/@radix-ui/react-portal/dist/index.js +15 -0
  426. package/dist/node_modules/@radix-ui/react-presence/dist/index.cjs +1 -0
  427. package/dist/node_modules/@radix-ui/react-presence/dist/index.js +70 -0
  428. package/dist/node_modules/@radix-ui/react-primitive/dist/index.cjs +1 -0
  429. package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +36 -0
  430. package/dist/node_modules/@radix-ui/react-slot/dist/index.cjs +1 -0
  431. package/dist/node_modules/@radix-ui/react-slot/dist/index.js +55 -0
  432. package/dist/node_modules/@radix-ui/react-tooltip/dist/index.cjs +1 -0
  433. package/dist/node_modules/@radix-ui/react-tooltip/dist/index.js +338 -0
  434. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +1 -0
  435. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +10 -0
  436. package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs +1 -0
  437. package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +52 -0
  438. package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.cjs +1 -0
  439. package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +14 -0
  440. package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs +1 -0
  441. package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +6 -0
  442. package/dist/node_modules/@radix-ui/react-use-size/dist/index.cjs +1 -0
  443. package/dist/node_modules/@radix-ui/react-use-size/dist/index.js +27 -0
  444. package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.cjs +1 -0
  445. package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.js +32 -0
  446. package/dist/node_modules/@react-aria/focus/dist/useFocusRing.cjs +1 -0
  447. package/dist/node_modules/@react-aria/focus/dist/useFocusRing.js +38 -0
  448. package/dist/node_modules/@react-aria/interactions/dist/useFocus.cjs +1 -0
  449. package/dist/node_modules/@react-aria/interactions/dist/useFocus.js +30 -0
  450. package/dist/node_modules/@react-aria/interactions/dist/useFocusVisible.cjs +1 -0
  451. package/dist/node_modules/@react-aria/interactions/dist/useFocusVisible.js +97 -0
  452. package/dist/node_modules/@react-aria/interactions/dist/useFocusWithin.cjs +1 -0
  453. package/dist/node_modules/@react-aria/interactions/dist/useFocusWithin.js +57 -0
  454. package/dist/node_modules/@react-aria/interactions/dist/useHover.cjs +1 -0
  455. package/dist/node_modules/@react-aria/interactions/dist/useHover.js +86 -0
  456. package/dist/node_modules/@react-aria/interactions/dist/utils.cjs +1 -0
  457. package/dist/node_modules/@react-aria/interactions/dist/utils.js +66 -0
  458. package/dist/node_modules/@react-aria/utils/dist/DOMFunctions.cjs +1 -0
  459. package/dist/node_modules/@react-aria/utils/dist/DOMFunctions.js +27 -0
  460. package/dist/node_modules/@react-aria/utils/dist/domHelpers.cjs +1 -0
  461. package/dist/node_modules/@react-aria/utils/dist/domHelpers.js +15 -0
  462. package/dist/node_modules/@react-aria/utils/dist/focusWithoutScrolling.cjs +1 -0
  463. package/dist/node_modules/@react-aria/utils/dist/focusWithoutScrolling.js +45 -0
  464. package/dist/node_modules/@react-aria/utils/dist/isVirtualEvent.cjs +1 -0
  465. package/dist/node_modules/@react-aria/utils/dist/isVirtualEvent.js +7 -0
  466. package/dist/node_modules/@react-aria/utils/dist/openLink.cjs +1 -0
  467. package/dist/node_modules/@react-aria/utils/dist/openLink.js +28 -0
  468. package/dist/node_modules/@react-aria/utils/dist/platform.cjs +1 -0
  469. package/dist/node_modules/@react-aria/utils/dist/platform.js +47 -0
  470. package/dist/node_modules/@react-aria/utils/dist/useGlobalListeners.cjs +1 -0
  471. package/dist/node_modules/@react-aria/utils/dist/useGlobalListeners.js +34 -0
  472. package/dist/node_modules/@react-aria/utils/dist/useLayoutEffect.cjs +1 -0
  473. package/dist/node_modules/@react-aria/utils/dist/useLayoutEffect.js +6 -0
  474. package/dist/node_modules/@react-stately/flags/dist/import.cjs +1 -0
  475. package/dist/node_modules/@react-stately/flags/dist/import.js +7 -0
  476. package/dist/node_modules/@tanstack/react-virtual/dist/esm/index.cjs +1 -0
  477. package/dist/node_modules/@tanstack/react-virtual/dist/esm/index.js +38 -0
  478. package/dist/node_modules/@tanstack/virtual-core/dist/esm/index.cjs +1 -0
  479. package/dist/node_modules/@tanstack/virtual-core/dist/esm/index.js +533 -0
  480. package/dist/node_modules/@tanstack/virtual-core/dist/esm/utils.cjs +4 -0
  481. package/dist/node_modules/@tanstack/virtual-core/dist/esm/utils.js +52 -0
  482. package/dist/node_modules/class-variance-authority/dist/index.cjs +1 -0
  483. package/dist/node_modules/class-variance-authority/dist/index.js +35 -0
  484. package/dist/node_modules/clsx/dist/clsx.cjs +1 -0
  485. package/dist/node_modules/clsx/dist/clsx.js +16 -0
  486. package/dist/node_modules/date-fns/_lib/getRoundingMethod.cjs +1 -0
  487. package/dist/node_modules/date-fns/_lib/getRoundingMethod.js +9 -0
  488. package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.cjs +1 -0
  489. package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +18 -0
  490. package/dist/node_modules/date-fns/_lib/normalizeDates.cjs +1 -0
  491. package/dist/node_modules/date-fns/_lib/normalizeDates.js +11 -0
  492. package/dist/node_modules/date-fns/_lib/normalizeInterval.cjs +1 -0
  493. package/dist/node_modules/date-fns/_lib/normalizeInterval.js +8 -0
  494. package/dist/node_modules/date-fns/add.cjs +1 -0
  495. package/dist/node_modules/date-fns/add.js +19 -0
  496. package/dist/node_modules/date-fns/addDays.cjs +1 -0
  497. package/dist/node_modules/date-fns/addDays.js +9 -0
  498. package/dist/node_modules/date-fns/addMonths.cjs +1 -0
  499. package/dist/node_modules/date-fns/addMonths.js +19 -0
  500. package/dist/node_modules/date-fns/compareAsc.cjs +1 -0
  501. package/dist/node_modules/date-fns/compareAsc.js +8 -0
  502. package/dist/node_modules/date-fns/constants.cjs +1 -0
  503. package/dist/node_modules/date-fns/constants.js +7 -0
  504. package/dist/node_modules/date-fns/constructFrom.cjs +1 -0
  505. package/dist/node_modules/date-fns/constructFrom.js +7 -0
  506. package/dist/node_modules/date-fns/differenceInCalendarDays.cjs +1 -0
  507. package/dist/node_modules/date-fns/differenceInCalendarDays.js +15 -0
  508. package/dist/node_modules/date-fns/differenceInCalendarMonths.cjs +1 -0
  509. package/dist/node_modules/date-fns/differenceInCalendarMonths.js +12 -0
  510. package/dist/node_modules/date-fns/differenceInCalendarYears.cjs +1 -0
  511. package/dist/node_modules/date-fns/differenceInCalendarYears.js +12 -0
  512. package/dist/node_modules/date-fns/differenceInDays.cjs +1 -0
  513. package/dist/node_modules/date-fns/differenceInDays.js +21 -0
  514. package/dist/node_modules/date-fns/differenceInHours.cjs +1 -0
  515. package/dist/node_modules/date-fns/differenceInHours.js +14 -0
  516. package/dist/node_modules/date-fns/differenceInMilliseconds.cjs +1 -0
  517. package/dist/node_modules/date-fns/differenceInMilliseconds.js +7 -0
  518. package/dist/node_modules/date-fns/differenceInMinutes.cjs +1 -0
  519. package/dist/node_modules/date-fns/differenceInMinutes.js +10 -0
  520. package/dist/node_modules/date-fns/differenceInMonths.cjs +1 -0
  521. package/dist/node_modules/date-fns/differenceInMonths.js +23 -0
  522. package/dist/node_modules/date-fns/differenceInSeconds.cjs +1 -0
  523. package/dist/node_modules/date-fns/differenceInSeconds.js +9 -0
  524. package/dist/node_modules/date-fns/differenceInYears.cjs +1 -0
  525. package/dist/node_modules/date-fns/differenceInYears.js +16 -0
  526. package/dist/node_modules/date-fns/endOfDay.cjs +1 -0
  527. package/dist/node_modules/date-fns/endOfDay.js +8 -0
  528. package/dist/node_modules/date-fns/endOfMonth.cjs +1 -0
  529. package/dist/node_modules/date-fns/endOfMonth.js +8 -0
  530. package/dist/node_modules/date-fns/intervalToDuration.cjs +1 -0
  531. package/dist/node_modules/date-fns/intervalToDuration.js +25 -0
  532. package/dist/node_modules/date-fns/isAfter.cjs +1 -0
  533. package/dist/node_modules/date-fns/isAfter.js +7 -0
  534. package/dist/node_modules/date-fns/isLastDayOfMonth.cjs +1 -0
  535. package/dist/node_modules/date-fns/isLastDayOfMonth.js +10 -0
  536. package/dist/node_modules/date-fns/startOfDay.cjs +1 -0
  537. package/dist/node_modules/date-fns/startOfDay.js +8 -0
  538. package/dist/node_modules/date-fns/toDate.cjs +1 -0
  539. package/dist/node_modules/date-fns/toDate.js +7 -0
  540. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.cjs +1 -0
  541. package/dist/{utils-koxKGlVV.js → node_modules/tailwind-merge/dist/bundle-mjs.js} +216 -244
  542. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.development.cjs +1 -0
  543. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.development.js +57 -0
  544. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.production.cjs +1 -0
  545. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.production.js +56 -0
  546. package/dist/node_modules/use-sync-external-store/with-selector.cjs +1 -0
  547. package/dist/node_modules/use-sync-external-store/with-selector.js +10 -0
  548. package/dist/preflight.cjs +1 -0
  549. package/dist/preflight.js +1 -0
  550. package/dist/roster.cjs +1 -0
  551. package/dist/roster.js +184 -0
  552. package/dist/tokens.cjs +1 -0
  553. package/dist/tokens.js +1 -0
  554. package/dist/utils.cjs +1 -0
  555. package/dist/utils.d.ts +11 -8
  556. package/dist/utils.js +4 -0
  557. package/package.json +11 -10
  558. package/dist/Table-CSXfWRkc.js +0 -4949
  559. package/dist/Table-pfb9MJtO.cjs +0 -566
  560. package/dist/data-table.cjs.js +0 -1
  561. package/dist/data-table.es.js +0 -156
  562. package/dist/preflight.cjs.js +0 -1
  563. package/dist/preflight.es.js +0 -1
  564. package/dist/roster.cjs.js +0 -5
  565. package/dist/roster.es.js +0 -11334
  566. package/dist/tokens.cjs.js +0 -1
  567. package/dist/tokens.es.js +0 -1
  568. package/dist/utils-B4q42wBM.cjs +0 -1
  569. package/dist/utils.cjs.js +0 -1
  570. package/dist/utils.es.js +0 -4
@@ -0,0 +1,94 @@
1
+ import { cva as r } from "../../../node_modules/class-variance-authority/dist/index.js";
2
+ const e = /* @__PURE__ */ r(
3
+ // Base styles
4
+ "rst:font-ui rst:inline-flex rst:items-center rst:justify-center rst:cursor-pointer rst:whitespace-nowrap rst:rounded-md rst:text-sm rst:font-medium rst:ring-offset-background rst:transition-colors rst:focus-visible:outline-hidden rst:focus-visible:ring-2 rst:focus-visible:ring-ring rst:focus-visible:ring-offset-2 rst:disabled:pointer-events-none rst:disabled:opacity-50",
5
+ {
6
+ variants: {
7
+ variant: {
8
+ solid: "rst:border rst:border-transparent rst:shadow-sm",
9
+ soft: "rst:border-transparent rst:shadow-none",
10
+ outline: "rst:border rst:bg-transparent rst:shadow-sm",
11
+ ghost: "rst:border rst:border-transparent rst:bg-transparent",
12
+ link: "rst:bg-transparent rst:underline-offset-4 rst:hover:underline"
13
+ },
14
+ colorScheme: {
15
+ primary: "",
16
+ orange: "",
17
+ teal: "",
18
+ purple: "",
19
+ amber: "",
20
+ success: "",
21
+ error: "",
22
+ neutral: ""
23
+ },
24
+ size: {
25
+ xs: "rst:h-7 rst:rounded rst:px-2 rst:text-xs",
26
+ sm: "rst:h-9 rst:rounded-md rst:px-3",
27
+ default: "rst:h-10 rst:px-4 rst:py-2",
28
+ lg: "rst:h-11 rst:rounded-md rst:px-8",
29
+ icon: "rst:h-10 rst:w-10"
30
+ }
31
+ },
32
+ compoundVariants: [
33
+ // --- SOLID VARIANTS (Bold Backgrounds) ---
34
+ { variant: "solid", colorScheme: "primary", className: "rst:bg-primary-600 rst:hover:bg-primary-700 rst:dark:bg-primary-600 rst:dark:hover:bg-primary-500 rst:text-primary-600-ink rst:hover:text-primary-700-ink rst:dark:hover:text-primary-500-ink" },
35
+ { variant: "solid", colorScheme: "orange", className: "rst:bg-orange-600 rst:hover:bg-orange-700 rst:dark:bg-orange-600 rst:dark:hover:bg-orange-700 rst:text-orange-600-ink rst:hover:text-orange-700-ink rst:dark:hover:text-orange-700-ink" },
36
+ { variant: "solid", colorScheme: "teal", className: "rst:bg-teal-600 rst:hover:bg-teal-500 rst:dark:bg-teal-600 rst:dark:hover:bg-teal-500 rst:text-teal-600-ink rst:hover:text-teal-500-ink rst:dark:hover:text-teal-500-ink" },
37
+ { variant: "solid", colorScheme: "purple", className: "rst:bg-purple-600 rst:hover:bg-purple-700 rst:dark:bg-purple-600 rst:dark:hover:bg-purple-700 rst:text-purple-600-ink rst:hover:text-purple-700-ink rst:dark:hover:text-purple-700-ink" },
38
+ { variant: "solid", colorScheme: "amber", className: "rst:bg-amber-400 rst:hover:bg-amber-500 rst:dark:bg-amber-500 rst:dark:hover:bg-amber-400 rst:text-amber-400-ink rst:hover:text-amber-500-ink rst:dark:text-amber-500-ink rst:dark:hover:text-amber-400-ink" },
39
+ { variant: "solid", colorScheme: "success", className: "rst:bg-success-600 rst:hover:bg-success-700 rst:dark:bg-success-600 rst:dark:hover:bg-success-700 rst:text-success-600-ink rst:hover:text-success-700-ink rst:dark:hover:text-success-700-ink" },
40
+ { variant: "solid", colorScheme: "error", className: "rst:bg-error-600 rst:hover:bg-error-700 rst:dark:bg-error-600 rst:dark:hover:bg-error-500 rst:text-error-600-ink rst:hover:text-error-700-ink rst:dark:hover:text-error-500-ink" },
41
+ { variant: "solid", colorScheme: "neutral", className: "rst:bg-gray-600 rst:hover:bg-gray-700 rst:dark:bg-gray-600 rst:dark:hover:bg-gray-500 rst:text-gray-600-ink rst:hover:text-gray-700-ink rst:dark:hover:text-gray-500-ink" },
42
+ // --- SOFT VARIANTS (Crisp Light Mode, Translucent Dark Mode) ---
43
+ { variant: "soft", colorScheme: "primary", className: "rst:bg-primary-50 rst:text-primary-700 rst:hover:bg-primary-100 rst:dark:bg-primary-900/40 rst:dark:text-primary-300 rst:dark:hover:bg-primary-900/60" },
44
+ { variant: "soft", colorScheme: "orange", className: "rst:bg-orange-50 rst:text-orange-700 rst:hover:bg-orange-100 rst:dark:bg-orange-900/30 rst:dark:text-orange-300 rst:dark:hover:bg-orange-900/50" },
45
+ { variant: "soft", colorScheme: "teal", className: "rst:bg-teal-100 rst:text-teal-800 rst:hover:bg-teal-200 rst:dark:bg-teal-900/30 rst:dark:text-teal-300 rst:dark:hover:bg-teal-900/50" },
46
+ { variant: "soft", colorScheme: "purple", className: "rst:bg-purple-50 rst:text-purple-700 rst:hover:bg-purple-100 rst:dark:bg-purple-900/30 rst:dark:text-purple-300 rst:dark:hover:bg-purple-900/50" },
47
+ { variant: "soft", colorScheme: "amber", className: "rst:bg-amber-50 rst:text-amber-800 rst:hover:bg-amber-100 rst:dark:bg-amber-900/30 rst:dark:text-amber-300 rst:dark:hover:bg-amber-900/50" },
48
+ { variant: "soft", colorScheme: "success", className: "rst:bg-success-50 rst:text-success-700 rst:hover:bg-success-100 rst:dark:bg-success-900/30 rst:dark:text-success-300 rst:dark:hover:bg-success-900/50" },
49
+ { variant: "soft", colorScheme: "error", className: "rst:bg-error-50 rst:text-error-700 rst:hover:bg-error-100 rst:dark:bg-error-900/30 rst:dark:text-error-300 rst:dark:hover:bg-error-900/50" },
50
+ { variant: "soft", colorScheme: "neutral", className: "rst:bg-gray-100 rst:text-gray-700 rst:hover:bg-gray-200 rst:dark:bg-gray-800/50 rst:dark:text-gray-300 rst:dark:hover:bg-gray-800" },
51
+ // --- OUTLINE VARIANTS (Borders + Colored Adaptive Text + Transparent Hover) ---
52
+ { variant: "outline", colorScheme: "primary", className: "rst:border-primary-600 rst:text-primary-600 rst:hover:bg-primary-50 rst:dark:border-primary-500 rst:dark:text-primary-400 rst:dark:hover:bg-primary-500/10" },
53
+ { variant: "outline", colorScheme: "orange", className: "rst:border-orange-600 rst:text-orange-600 rst:hover:bg-orange-50 rst:dark:border-orange-500 rst:dark:text-orange-400 rst:dark:hover:bg-orange-500/10" },
54
+ { variant: "outline", colorScheme: "teal", className: "rst:border-teal-600 rst:text-teal-600 rst:hover:bg-teal-50 rst:dark:border-teal-500 rst:dark:text-teal-400 rst:dark:hover:bg-teal-500/10" },
55
+ { variant: "outline", colorScheme: "purple", className: "rst:border-purple-600 rst:text-purple-600 rst:hover:bg-purple-50 rst:dark:border-purple-500 rst:dark:text-purple-400 rst:dark:hover:bg-purple-500/10" },
56
+ { variant: "outline", colorScheme: "amber", className: "rst:border-amber-600 rst:text-amber-600 rst:hover:bg-amber-50 rst:dark:border-amber-500 rst:dark:text-amber-400 rst:dark:hover:bg-amber-500/10" },
57
+ { variant: "outline", colorScheme: "success", className: "rst:border-success-600 rst:text-success-600 rst:hover:bg-success-50 rst:dark:border-success-500 rst:dark:text-success-400 rst:dark:hover:bg-success-500/10" },
58
+ { variant: "outline", colorScheme: "error", className: "rst:border-error-600 rst:text-error-600 rst:hover:bg-error-50 rst:dark:border-error-500 rst:dark:text-error-400 rst:dark:hover:bg-error-500/10" },
59
+ { variant: "outline", colorScheme: "neutral", className: "rst:border-gray-300 rst:text-gray-700 rst:hover:bg-gray-50 rst:dark:border-gray-600 rst:dark:text-gray-300 rst:dark:hover:bg-gray-800/50" },
60
+ // --- GHOST VARIANTS (Adaptive Text + Translucent Hover) ---
61
+ // Translucent rather than a solid tint step. A ghost button sits directly
62
+ // on the host's own background, and a solid `bg-*-50` silently disappears
63
+ // wherever that background happens to equal the step it names — which is
64
+ // exactly what happened to blakeb.dev, whose paper is the same value it
65
+ // maps `--roster-gray-100` to. An alpha wash darkens or lightens whatever
66
+ // is actually behind it, so it reads on any surface.
67
+ { variant: "ghost", colorScheme: "primary", className: "rst:text-primary-600 rst:hover:bg-primary-500/10 rst:dark:text-primary-400 rst:dark:hover:bg-primary-400/15" },
68
+ { variant: "ghost", colorScheme: "orange", className: "rst:text-orange-600 rst:hover:bg-orange-500/10 rst:dark:text-orange-400 rst:dark:hover:bg-orange-400/15" },
69
+ { variant: "ghost", colorScheme: "teal", className: "rst:text-teal-600 rst:hover:bg-teal-500/10 rst:dark:text-teal-400 rst:dark:hover:bg-teal-400/15" },
70
+ { variant: "ghost", colorScheme: "purple", className: "rst:text-purple-600 rst:hover:bg-purple-500/10 rst:dark:text-purple-400 rst:dark:hover:bg-purple-400/15" },
71
+ { variant: "ghost", colorScheme: "amber", className: "rst:text-amber-600 rst:hover:bg-amber-500/10 rst:dark:text-amber-400 rst:dark:hover:bg-amber-400/15" },
72
+ { variant: "ghost", colorScheme: "success", className: "rst:text-success-600 rst:hover:bg-success-500/10 rst:dark:text-success-400 rst:dark:hover:bg-success-400/15" },
73
+ { variant: "ghost", colorScheme: "error", className: "rst:text-error-600 rst:hover:bg-error-500/10 rst:dark:text-error-400 rst:dark:hover:bg-error-400/15" },
74
+ { variant: "ghost", colorScheme: "neutral", className: "rst:text-gray-600 rst:hover:bg-gray-500/10 rst:dark:text-gray-400 rst:dark:hover:bg-gray-400/15" },
75
+ // --- LINK VARIANTS (Adaptive Text Only + Underline) ---
76
+ { variant: "link", colorScheme: "primary", className: "rst:text-primary-600 rst:hover:text-primary-700 rst:dark:text-primary-400 rst:dark:hover:text-primary-300" },
77
+ { variant: "link", colorScheme: "orange", className: "rst:text-orange-600 rst:hover:text-orange-700 rst:dark:text-orange-400 rst:dark:hover:text-orange-300" },
78
+ { variant: "link", colorScheme: "teal", className: "rst:text-teal-600 rst:hover:text-teal-700 rst:dark:text-teal-400 rst:dark:hover:text-teal-300" },
79
+ { variant: "link", colorScheme: "purple", className: "rst:text-purple-600 rst:hover:text-purple-700 rst:dark:text-purple-400 rst:dark:hover:text-purple-300" },
80
+ { variant: "link", colorScheme: "amber", className: "rst:text-amber-600 rst:hover:text-amber-700 rst:dark:text-amber-400 rst:dark:hover:text-amber-300" },
81
+ { variant: "link", colorScheme: "success", className: "rst:text-success-600 rst:hover:text-success-700 rst:dark:text-success-400 rst:dark:hover:text-success-300" },
82
+ { variant: "link", colorScheme: "error", className: "rst:text-error-600 rst:hover:text-error-700 rst:dark:text-error-400 rst:dark:hover:text-error-300" },
83
+ { variant: "link", colorScheme: "neutral", className: "rst:text-gray-600 rst:hover:text-gray-900 rst:dark:text-gray-400 rst:dark:hover:text-gray-100" }
84
+ ],
85
+ defaultVariants: {
86
+ colorScheme: "primary",
87
+ variant: "solid",
88
+ size: "default"
89
+ }
90
+ }
91
+ );
92
+ export {
93
+ e as buttonVariants
94
+ };
@@ -0,0 +1 @@
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),g=require("react"),e=require("../../../lib/utils.cjs"),m=require("./card-variants.cjs"),i=g.forwardRef(({className:c,variant:n,padding:u,branded:a=!1,brandColorTop:s,brandColorBottom:t,children:l,...d},o)=>r.jsxs("div",{ref:o,className:e.cn(m.cardVariants({variant:n,padding:u}),c),...d,children:[a&&r.jsx("div",{className:e.cn("rst:absolute rst:top-0 rst:inset-x-0 rst:h-1 rst:z-10",!s&&"rst:bg-orange-500"),style:s?{backgroundColor:s}:void 0}),l,a&&r.jsx("div",{className:e.cn("rst:absolute rst:bottom-0 rst:inset-x-0 rst:h-1 rst:z-10",!t&&"rst:bg-primary-500"),style:t?{backgroundColor:t}:void 0})]}));i.displayName="Card";exports.Card=i;
@@ -0,0 +1,51 @@
1
+ "use client";
2
+ import { jsxs as f, jsx as a } from "react/jsx-runtime";
3
+ import u from "react";
4
+ import { cn as t } from "../../../lib/utils.js";
5
+ import { cardVariants as n } from "./card-variants.js";
6
+ const p = u.forwardRef(
7
+ ({
8
+ className: i,
9
+ variant: m,
10
+ padding: c,
11
+ branded: e = !1,
12
+ brandColorTop: s,
13
+ brandColorBottom: r,
14
+ children: o,
15
+ ...l
16
+ }, d) => /* @__PURE__ */ f(
17
+ "div",
18
+ {
19
+ ref: d,
20
+ className: t(n({ variant: m, padding: c }), i),
21
+ ...l,
22
+ children: [
23
+ e && /* @__PURE__ */ a(
24
+ "div",
25
+ {
26
+ className: t(
27
+ "rst:absolute rst:top-0 rst:inset-x-0 rst:h-1 rst:z-10",
28
+ !s && "rst:bg-orange-500"
29
+ ),
30
+ style: s ? { backgroundColor: s } : void 0
31
+ }
32
+ ),
33
+ o,
34
+ e && /* @__PURE__ */ a(
35
+ "div",
36
+ {
37
+ className: t(
38
+ "rst:absolute rst:bottom-0 rst:inset-x-0 rst:h-1 rst:z-10",
39
+ !r && "rst:bg-primary-500"
40
+ ),
41
+ style: r ? { backgroundColor: r } : void 0
42
+ }
43
+ )
44
+ ]
45
+ }
46
+ )
47
+ );
48
+ p.displayName = "Card";
49
+ export {
50
+ p as Card
51
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../../../node_modules/class-variance-authority/dist/index.cjs"),t=r.cva("rst:relative rst:isolate rst:w-full rst:overflow-hidden rst:rounded-xl rst:transition-all",{variants:{variant:{white:"rst:bg-[var(--roster-card-bg)] rst:border rst:border-[var(--roster-card-border)] rst:text-[var(--roster-card-text)] rst:elevation-raised",soft:"rst:bg-gray-50 rst:border rst:border-gray-100 rst:text-gray-900 rst:dark:bg-gray-900/40 rst:dark:border-gray-800/50 rst:dark:text-gray-100",slate:"rst:bg-gray-700 rst:border rst:border-gray-600 rst:text-gray-100 rst:elevation-raised rst:dark:bg-gray-800 rst:dark:border-gray-700 rst:dark:text-gray-100",primary:"rst:bg-primary-600 rst:border rst:border-primary-700 rst:text-white rst:elevation-raised rst:dark:bg-primary-900 rst:dark:border-primary-800 rst:dark:text-primary-50",outline:"rst:bg-transparent rst:border rst:border-gray-200 rst:text-gray-900 rst:dark:border-gray-800 rst:dark:text-gray-100",ghost:"rst:bg-transparent rst:border rst:border-transparent rst:text-gray-900 rst:hover:bg-gray-50 rst:dark:text-gray-100 rst:dark:hover:bg-gray-800/50",glass:"rst:bg-white/50 rst:border rst:border-white/20 rst:backdrop-blur-md rst:text-gray-900 rst:elevation-raised rst:dark:bg-gray-950/50 rst:dark:border-white/10 rst:dark:text-gray-100"},padding:{none:"rst:p-0",sm:"rst:p-4",md:"rst:p-6",lg:"rst:p-8"}},defaultVariants:{variant:"white",padding:"md"}});exports.cardVariants=t;
@@ -0,0 +1,43 @@
1
+ import { cva as r } from "../../../node_modules/class-variance-authority/dist/index.js";
2
+ const a = /* @__PURE__ */ r(
3
+ // Base: relative and overflow-hidden are crucial for the branded stripes to clip.
4
+ // `isolate` makes the card its own stacking context, so children stay beneath
5
+ // the z-10 stripes without needing a wrapper element around them. See Card.tsx.
6
+ "rst:relative rst:isolate rst:w-full rst:overflow-hidden rst:rounded-xl rst:transition-all",
7
+ {
8
+ variants: {
9
+ variant: {
10
+ // Driven by --roster-card-* so a themed app can retint the default
11
+ // surface without per-usage overrides. The tokens flip under `.dark`,
12
+ // so no dark: variants are needed. Defaults match the previous
13
+ // white / gray-900 pair exactly.
14
+ white: "rst:bg-[var(--roster-card-bg)] rst:border rst:border-[var(--roster-card-border)] rst:text-[var(--roster-card-text)] rst:elevation-raised",
15
+ // crisp light mode (gray-50) and translucent stained-glass dark mode
16
+ soft: "rst:bg-gray-50 rst:border rst:border-gray-100 rst:text-gray-900 rst:dark:bg-gray-900/40 rst:dark:border-gray-800/50 rst:dark:text-gray-100",
17
+ // Moody slate, baby.
18
+ slate: "rst:bg-gray-700 rst:border rst:border-gray-600 rst:text-gray-100 rst:elevation-raised rst:dark:bg-gray-800 rst:dark:border-gray-700 rst:dark:text-gray-100",
19
+ // Primary: Fully drenched in brand color.
20
+ primary: "rst:bg-primary-600 rst:border rst:border-primary-700 rst:text-white rst:elevation-raised rst:dark:bg-primary-900 rst:dark:border-primary-800 rst:dark:text-primary-50",
21
+ // Outline: Transparent background, just the structural border.
22
+ outline: "rst:bg-transparent rst:border rst:border-gray-200 rst:text-gray-900 rst:dark:border-gray-800 rst:dark:text-gray-100",
23
+ // Ghost: Completely invisible structure until hovered (great for clickable cards).
24
+ ghost: "rst:bg-transparent rst:border rst:border-transparent rst:text-gray-900 rst:hover:bg-gray-50 rst:dark:text-gray-100 rst:dark:hover:bg-gray-800/50",
25
+ // Upgraded to match the ActionBar's exact /50 frosted glass formula
26
+ glass: "rst:bg-white/50 rst:border rst:border-white/20 rst:backdrop-blur-md rst:text-gray-900 rst:elevation-raised rst:dark:bg-gray-950/50 rst:dark:border-white/10 rst:dark:text-gray-100"
27
+ },
28
+ padding: {
29
+ none: "rst:p-0",
30
+ sm: "rst:p-4",
31
+ md: "rst:p-6",
32
+ lg: "rst:p-8"
33
+ }
34
+ },
35
+ defaultVariants: {
36
+ variant: "white",
37
+ padding: "md"
38
+ }
39
+ }
40
+ );
41
+ export {
42
+ a as cardVariants
43
+ };
@@ -0,0 +1 @@
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),n=require("react"),m=require("../../../node_modules/@fortawesome/react-fontawesome/dist/index.cjs"),u=require("../../../node_modules/@fortawesome/free-solid-svg-icons/index.cjs"),a=require("../../../lib/utils.cjs"),q=require("./checkbox-variants.cjs"),p=require("../../../node_modules/@headlessui/react/dist/components/checkbox/checkbox.cjs"),l=n.forwardRef(({className:h,colorScheme:x="primary",variant:b="solid",size:i="md",indeterminate:c=!1,...t},s)=>{const f={sm:"w-2.5 h-2.5",md:"w-3 h-3",lg:"w-4 h-4"},r=n.useRef(null),k=e=>{r.current=e,typeof s=="function"?s(e):s&&(s.current=e)};return n.useEffect(()=>{c&&r.current&&r.current.setAttribute("aria-checked","mixed")},[c,t.checked]),o.jsx(p.Checkbox,{ref:k,...t,className:({checked:e,disabled:y})=>a.cn(q.checkboxVariants({colorScheme:x,variant:b,size:i,checked:e||c}),y||t.disabled?"rst:opacity-50":"rst:cursor-pointer",h),children:({checked:e})=>o.jsx(m.FontAwesomeIcon,{icon:c?u.faMinus:u.faCheck,className:a.cn("rst:pointer-events-none rst:transition-opacity rst:duration-200",e||c?"rst:opacity-100":"rst:opacity-0",f[i])})})});l.displayName="Checkbox";exports.Checkbox=l;
@@ -0,0 +1,63 @@
1
+ "use client";
2
+ import { jsx as i } from "react/jsx-runtime";
3
+ import { forwardRef as h, useRef as k, useEffect as x } from "react";
4
+ import { FontAwesomeIcon as y } from "../../../node_modules/@fortawesome/react-fontawesome/dist/index.js";
5
+ import { faMinus as b, faCheck as C } from "../../../node_modules/@fortawesome/free-solid-svg-icons/index.js";
6
+ import { cn as n } from "../../../lib/utils.js";
7
+ import { checkboxVariants as N } from "./checkbox-variants.js";
8
+ import { Checkbox as w } from "../../../node_modules/@headlessui/react/dist/components/checkbox/checkbox.js";
9
+ const A = h(
10
+ ({
11
+ className: m,
12
+ colorScheme: a = "primary",
13
+ variant: f = "solid",
14
+ size: e = "md",
15
+ indeterminate: r = !1,
16
+ ...o
17
+ }, c) => {
18
+ const l = {
19
+ sm: "w-2.5 h-2.5",
20
+ md: "w-3 h-3",
21
+ lg: "w-4 h-4"
22
+ }, s = k(null), u = (t) => {
23
+ s.current = t, typeof c == "function" ? c(t) : c && (c.current = t);
24
+ };
25
+ return x(() => {
26
+ r && s.current && s.current.setAttribute("aria-checked", "mixed");
27
+ }, [r, o.checked]), /* @__PURE__ */ i(
28
+ w,
29
+ {
30
+ ref: u,
31
+ ...o,
32
+ className: ({
33
+ checked: t,
34
+ disabled: p
35
+ }) => n(
36
+ N({
37
+ colorScheme: a,
38
+ variant: f,
39
+ size: e,
40
+ checked: t || r
41
+ }),
42
+ p || o.disabled ? "rst:opacity-50" : "rst:cursor-pointer",
43
+ m
44
+ ),
45
+ children: ({ checked: t }) => /* @__PURE__ */ i(
46
+ y,
47
+ {
48
+ icon: r ? b : C,
49
+ className: n(
50
+ "rst:pointer-events-none rst:transition-opacity rst:duration-200",
51
+ t || r ? "rst:opacity-100" : "rst:opacity-0",
52
+ l[e]
53
+ )
54
+ }
55
+ )
56
+ }
57
+ );
58
+ }
59
+ );
60
+ A.displayName = "Checkbox";
61
+ export {
62
+ A as Checkbox
63
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../../../node_modules/class-variance-authority/dist/index.cjs"),e=r.cva("rst:font-ui rst:relative rst:flex rst:items-center rst:justify-center rst:shrink-0 rst:transition-colors rst:before:absolute rst:before:top-1/2 rst:before:left-1/2 rst:before:size-11 rst:before:-translate-x-1/2 rst:before:-translate-y-1/2 rst:before:content-[''] rst:focus:outline-hidden rst:focus-visible:ring-ring rst:focus-visible:ring-2 rst:focus-visible:ring-offset-2 rst:ring-offset-background",{variants:{size:{sm:"rst:h-4 rst:w-4 rst:rounded-sm rst:border",md:"rst:h-5 rst:w-5 rst:rounded rst:border",lg:"rst:h-6 rst:w-6 rst:rounded-md rst:border"},variant:{solid:"",soft:""},checked:{true:"",false:"rst:bg-white rst:border-[var(--roster-control-border)] rst:dark:bg-gray-900 rst:text-transparent"},colorScheme:{primary:"",orange:"",teal:"",purple:"",amber:"",success:"",error:"",neutral:""}},compoundVariants:[{checked:!0,variant:"solid",colorScheme:"primary",className:"rst:bg-primary-600 rst:border-primary-600 rst:dark:bg-primary-600 rst:dark:border-primary-500 rst:text-primary-600-ink"},{checked:!0,variant:"solid",colorScheme:"orange",className:"rst:bg-orange-600 rst:border-orange-600 rst:dark:bg-orange-600 rst:dark:border-orange-500 rst:text-orange-600-ink"},{checked:!0,variant:"solid",colorScheme:"teal",className:"rst:bg-teal-600 rst:border-teal-600 rst:dark:bg-teal-600 rst:dark:border-teal-500 rst:text-teal-600-ink"},{checked:!0,variant:"solid",colorScheme:"purple",className:"rst:bg-purple-600 rst:border-purple-600 rst:dark:bg-purple-600 rst:dark:border-purple-500 rst:text-purple-600-ink"},{checked:!0,variant:"solid",colorScheme:"amber",className:"rst:bg-amber-400 rst:border-amber-400 rst:dark:bg-amber-500 rst:dark:border-amber-500 rst:text-amber-400-ink rst:dark:text-amber-500-ink"},{checked:!0,variant:"solid",colorScheme:"success",className:"rst:bg-success-600 rst:border-success-600 rst:dark:bg-success-600 rst:dark:border-success-500 rst:text-success-600-ink"},{checked:!0,variant:"solid",colorScheme:"error",className:"rst:bg-error-600 rst:border-error-600 rst:dark:bg-error-600 rst:dark:border-error-500 rst:text-error-600-ink"},{checked:!0,variant:"solid",colorScheme:"neutral",className:"rst:bg-gray-600 rst:border-gray-600 rst:dark:bg-gray-600 rst:dark:border-gray-500 rst:text-gray-600-ink"},{checked:!0,variant:"soft",colorScheme:"primary",className:"rst:bg-primary-50 rst:border-primary-200 rst:text-primary-700 rst:dark:bg-primary-900/40 rst:dark:border-primary-800/50 rst:dark:text-primary-300"},{checked:!0,variant:"soft",colorScheme:"orange",className:"rst:bg-orange-50 rst:border-orange-200 rst:text-orange-700 rst:dark:bg-orange-900/30 rst:dark:border-orange-800/50 rst:dark:text-orange-300"},{checked:!0,variant:"soft",colorScheme:"teal",className:"rst:bg-teal-100 rst:border-teal-300 rst:text-teal-800 rst:dark:bg-teal-900/30 rst:dark:border-teal-800/50 rst:dark:text-teal-300"},{checked:!0,variant:"soft",colorScheme:"purple",className:"rst:bg-purple-50 rst:border-purple-200 rst:text-purple-700 rst:dark:bg-purple-900/30 rst:dark:border-purple-800/50 rst:dark:text-purple-300"},{checked:!0,variant:"soft",colorScheme:"amber",className:"rst:bg-amber-50 rst:border-amber-200 rst:text-amber-800 rst:dark:bg-amber-900/30 rst:dark:border-amber-800/50 rst:dark:text-amber-300"},{checked:!0,variant:"soft",colorScheme:"success",className:"rst:bg-success-50 rst:border-success-200 rst:text-success-700 rst:dark:bg-success-900/30 rst:dark:border-success-800/50 rst:dark:text-success-300"},{checked:!0,variant:"soft",colorScheme:"error",className:"rst:bg-error-50 rst:border-error-200 rst:text-error-700 rst:dark:bg-error-900/30 rst:dark:border-error-800/50 rst:dark:text-error-300"},{checked:!0,variant:"soft",colorScheme:"neutral",className:"rst:bg-gray-100 rst:border-gray-200 rst:text-gray-700 rst:dark:bg-gray-800/50 rst:dark:border-gray-700/50 rst:dark:text-gray-300"}],defaultVariants:{colorScheme:"primary",variant:"solid",size:"md",checked:!1}});exports.checkboxVariants=e;
@@ -0,0 +1,66 @@
1
+ import { cva as r } from "../../../node_modules/class-variance-authority/dist/index.js";
2
+ const t = /* @__PURE__ */ r(
3
+ "rst:font-ui rst:relative rst:flex rst:items-center rst:justify-center rst:shrink-0 rst:transition-colors rst:before:absolute rst:before:top-1/2 rst:before:left-1/2 rst:before:size-11 rst:before:-translate-x-1/2 rst:before:-translate-y-1/2 rst:before:content-[''] rst:focus:outline-hidden rst:focus-visible:ring-ring rst:focus-visible:ring-2 rst:focus-visible:ring-offset-2 rst:ring-offset-background",
4
+ {
5
+ variants: {
6
+ size: {
7
+ sm: "rst:h-4 rst:w-4 rst:rounded-sm rst:border",
8
+ md: "rst:h-5 rst:w-5 rst:rounded rst:border",
9
+ lg: "rst:h-6 rst:w-6 rst:rounded-md rst:border"
10
+ },
11
+ variant: {
12
+ solid: "",
13
+ soft: ""
14
+ },
15
+ checked: {
16
+ true: "",
17
+ /* The unchecked box reads `--roster-control-border` like every other
18
+ field. It was gray-300 / gray-700 — 1.49:1 on white and 1.70:1 on a
19
+ gray-900 surface — which is the same hairline the 1.4.11 pass raised
20
+ on Input, Textarea and Select, on a control 1.4.11 covers at least as
21
+ squarely. Left alone it would have sat next to an `outline` field
22
+ with a visibly lighter edge. */
23
+ false: "rst:bg-white rst:border-[var(--roster-control-border)] rst:dark:bg-gray-900 rst:text-transparent"
24
+ },
25
+ colorScheme: {
26
+ primary: "",
27
+ orange: "",
28
+ teal: "",
29
+ purple: "",
30
+ amber: "",
31
+ success: "",
32
+ error: "",
33
+ neutral: ""
34
+ }
35
+ },
36
+ compoundVariants: [
37
+ // --- SOLID VARIANTS ---
38
+ { checked: !0, variant: "solid", colorScheme: "primary", className: "rst:bg-primary-600 rst:border-primary-600 rst:dark:bg-primary-600 rst:dark:border-primary-500 rst:text-primary-600-ink" },
39
+ { checked: !0, variant: "solid", colorScheme: "orange", className: "rst:bg-orange-600 rst:border-orange-600 rst:dark:bg-orange-600 rst:dark:border-orange-500 rst:text-orange-600-ink" },
40
+ { checked: !0, variant: "solid", colorScheme: "teal", className: "rst:bg-teal-600 rst:border-teal-600 rst:dark:bg-teal-600 rst:dark:border-teal-500 rst:text-teal-600-ink" },
41
+ { checked: !0, variant: "solid", colorScheme: "purple", className: "rst:bg-purple-600 rst:border-purple-600 rst:dark:bg-purple-600 rst:dark:border-purple-500 rst:text-purple-600-ink" },
42
+ { checked: !0, variant: "solid", colorScheme: "amber", className: "rst:bg-amber-400 rst:border-amber-400 rst:dark:bg-amber-500 rst:dark:border-amber-500 rst:text-amber-400-ink rst:dark:text-amber-500-ink" },
43
+ { checked: !0, variant: "solid", colorScheme: "success", className: "rst:bg-success-600 rst:border-success-600 rst:dark:bg-success-600 rst:dark:border-success-500 rst:text-success-600-ink" },
44
+ { checked: !0, variant: "solid", colorScheme: "error", className: "rst:bg-error-600 rst:border-error-600 rst:dark:bg-error-600 rst:dark:border-error-500 rst:text-error-600-ink" },
45
+ { checked: !0, variant: "solid", colorScheme: "neutral", className: "rst:bg-gray-600 rst:border-gray-600 rst:dark:bg-gray-600 rst:dark:border-gray-500 rst:text-gray-600-ink" },
46
+ // --- SOFT VARIANTS ---
47
+ { checked: !0, variant: "soft", colorScheme: "primary", className: "rst:bg-primary-50 rst:border-primary-200 rst:text-primary-700 rst:dark:bg-primary-900/40 rst:dark:border-primary-800/50 rst:dark:text-primary-300" },
48
+ { checked: !0, variant: "soft", colorScheme: "orange", className: "rst:bg-orange-50 rst:border-orange-200 rst:text-orange-700 rst:dark:bg-orange-900/30 rst:dark:border-orange-800/50 rst:dark:text-orange-300" },
49
+ { checked: !0, variant: "soft", colorScheme: "teal", className: "rst:bg-teal-100 rst:border-teal-300 rst:text-teal-800 rst:dark:bg-teal-900/30 rst:dark:border-teal-800/50 rst:dark:text-teal-300" },
50
+ { checked: !0, variant: "soft", colorScheme: "purple", className: "rst:bg-purple-50 rst:border-purple-200 rst:text-purple-700 rst:dark:bg-purple-900/30 rst:dark:border-purple-800/50 rst:dark:text-purple-300" },
51
+ { checked: !0, variant: "soft", colorScheme: "amber", className: "rst:bg-amber-50 rst:border-amber-200 rst:text-amber-800 rst:dark:bg-amber-900/30 rst:dark:border-amber-800/50 rst:dark:text-amber-300" },
52
+ { checked: !0, variant: "soft", colorScheme: "success", className: "rst:bg-success-50 rst:border-success-200 rst:text-success-700 rst:dark:bg-success-900/30 rst:dark:border-success-800/50 rst:dark:text-success-300" },
53
+ { checked: !0, variant: "soft", colorScheme: "error", className: "rst:bg-error-50 rst:border-error-200 rst:text-error-700 rst:dark:bg-error-900/30 rst:dark:border-error-800/50 rst:dark:text-error-300" },
54
+ { checked: !0, variant: "soft", colorScheme: "neutral", className: "rst:bg-gray-100 rst:border-gray-200 rst:text-gray-700 rst:dark:bg-gray-800/50 rst:dark:border-gray-700/50 rst:dark:text-gray-300" }
55
+ ],
56
+ defaultVariants: {
57
+ colorScheme: "primary",
58
+ variant: "solid",
59
+ size: "md",
60
+ checked: !1
61
+ }
62
+ }
63
+ );
64
+ export {
65
+ t as checkboxVariants
66
+ };
@@ -0,0 +1 @@
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),k=require("react"),q=require("../../../node_modules/@fortawesome/react-fontawesome/dist/index.cjs"),R=require("../../../node_modules/@fortawesome/free-solid-svg-icons/index.cjs"),c=require("../../../lib/utils.cjs"),w=require("./chip-variants.cjs");function C(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const s in e)if(s!=="default"){const n=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(r,s,n.get?n:{enumerable:!0,get:()=>e[s]})}}return r.default=e,Object.freeze(r)}const P=C(k),d="rst:cursor-pointer rst:disabled:cursor-not-allowed rst:rounded-full rst:focus-visible:outline-hidden rst:focus-visible:ring-2 rst:focus-visible:ring-ring rst:ring-offset-background rst:focus-visible:ring-offset-2",v=P.forwardRef(({className:e,colorScheme:r,variant:s,size:n,leadingIcon:h,onRemove:j,removeLabel:N,onSelectedChange:o,selected:i,disabled:a=!1,children:l,onClick:u,...f},p)=>{const y=!!o,x=!!j,m=c.cn(w.chipVariants({colorScheme:r,variant:s,size:n,disabled:a}),e),b=t.jsxs(t.Fragment,{children:[h&&t.jsx("span",{"aria-hidden":"true",className:"rst:flex rst:shrink-0 rst:items-center rst:justify-center",children:h}),l]}),g=x&&t.jsx("button",{type:"button",disabled:a,onClick:j,"aria-label":N??(typeof l=="string"?`Remove ${l}`:"Remove"),className:c.cn("rst:-mr-1 rst:relative rst:flex rst:shrink-0 rst:items-center rst:justify-center rst:opacity-70 rst:hover:opacity-100 rst:disabled:hover:opacity-70","rst:after:absolute rst:after:-inset-2 rst:after:content-['']",d),children:t.jsx(q.FontAwesomeIcon,{icon:R.faXmark,className:"rst:h-3 rst:w-3","aria-hidden":"true"})});return y&&x?t.jsxs("span",{...f,onClick:u,ref:p,className:m,children:[t.jsx("button",{type:"button",disabled:a,"aria-pressed":!!i,onClick:()=>o(!i),className:c.cn("rst:inline-flex rst:items-center rst:gap-1.5",d),children:b}),g]}):y?t.jsx("button",{...f,ref:p,type:"button",disabled:a,"aria-pressed":!!i,onClick:O=>{u?.(O),o(!i)},className:c.cn(m,d),children:b}):t.jsxs("span",{...f,onClick:u,ref:p,className:m,children:[b,g]})});v.displayName="Chip";exports.Chip=v;
@@ -0,0 +1,119 @@
1
+ "use client";
2
+ import { jsx as r, jsxs as f, Fragment as w } from "react/jsx-runtime";
3
+ import * as R from "react";
4
+ import { FontAwesomeIcon as C } from "../../../node_modules/@fortawesome/react-fontawesome/dist/index.js";
5
+ import { faXmark as F } from "../../../node_modules/@fortawesome/free-solid-svg-icons/index.js";
6
+ import { cn as e } from "../../../lib/utils.js";
7
+ import { chipVariants as O } from "./chip-variants.js";
8
+ const p = "rst:cursor-pointer rst:disabled:cursor-not-allowed rst:rounded-full rst:focus-visible:outline-hidden rst:focus-visible:ring-2 rst:focus-visible:ring-ring rst:ring-offset-background rst:focus-visible:ring-offset-2", A = R.forwardRef(
9
+ ({
10
+ className: v,
11
+ colorScheme: N,
12
+ variant: g,
13
+ size: x,
14
+ leadingIcon: u,
15
+ onRemove: b,
16
+ removeLabel: k,
17
+ onSelectedChange: i,
18
+ selected: t,
19
+ disabled: s = !1,
20
+ children: o,
21
+ onClick: n,
22
+ ...a
23
+ }, c) => {
24
+ const h = !!i, d = !!b, l = e(
25
+ O({ colorScheme: N, variant: g, size: x, disabled: s }),
26
+ v
27
+ ), m = /* @__PURE__ */ f(w, { children: [
28
+ u && /* `aria-hidden`, like Pill's leading slot. Without it a
29
+ non-decorative icon — an Avatar, an `<img alt>` — joins the
30
+ toggle's accessible name and not the dismiss button's, so the two
31
+ halves of one chip disagree about what the chip is called and a
32
+ filter list stops being navigable by name. */
33
+ /* @__PURE__ */ r(
34
+ "span",
35
+ {
36
+ "aria-hidden": "true",
37
+ className: "rst:flex rst:shrink-0 rst:items-center rst:justify-center",
38
+ children: u
39
+ }
40
+ ),
41
+ o
42
+ ] }), y = d && /* @__PURE__ */ r(
43
+ "button",
44
+ {
45
+ type: "button",
46
+ disabled: s,
47
+ onClick: b,
48
+ "aria-label": k ?? (typeof o == "string" ? `Remove ${o}` : "Remove"),
49
+ className: e(
50
+ "rst:-mr-1 rst:relative rst:flex rst:shrink-0 rst:items-center rst:justify-center rst:opacity-70 rst:hover:opacity-100 rst:disabled:hover:opacity-70",
51
+ /* WCAG 2.5.8 asks 24x24 CSS px for a pointer target, and the glyph
52
+ plus its box measured 15x12. Growing the button itself would grow
53
+ the chip with it, so the hit area is an invisible `::after`
54
+ instead — the standard way to keep a 12px icon and a 28px target.
55
+ The spacing exception does not rescue the small box: a dismissible
56
+ chip usually sits inside or beside another target (in
57
+ `MultiSelect` the trigger is directly underneath it), so a 24px
58
+ circle around this one always intersects another. */
59
+ "rst:after:absolute rst:after:-inset-2 rst:after:content-['']",
60
+ p
61
+ ),
62
+ children: /* @__PURE__ */ r(C, { icon: F, className: "rst:h-3 rst:w-3", "aria-hidden": "true" })
63
+ }
64
+ );
65
+ return h && d ? /* @__PURE__ */ f(
66
+ "span",
67
+ {
68
+ ...a,
69
+ onClick: n,
70
+ ref: c,
71
+ className: l,
72
+ children: [
73
+ /* @__PURE__ */ r(
74
+ "button",
75
+ {
76
+ type: "button",
77
+ disabled: s,
78
+ "aria-pressed": !!t,
79
+ onClick: () => i(!t),
80
+ className: e("rst:inline-flex rst:items-center rst:gap-1.5", p),
81
+ children: m
82
+ }
83
+ ),
84
+ y
85
+ ]
86
+ }
87
+ ) : h ? /* @__PURE__ */ r(
88
+ "button",
89
+ {
90
+ ...a,
91
+ ref: c,
92
+ type: "button",
93
+ disabled: s,
94
+ "aria-pressed": !!t,
95
+ onClick: (j) => {
96
+ n?.(j), i(!t);
97
+ },
98
+ className: e(l, p),
99
+ children: m
100
+ }
101
+ ) : /* @__PURE__ */ f(
102
+ "span",
103
+ {
104
+ ...a,
105
+ onClick: n,
106
+ ref: c,
107
+ className: l,
108
+ children: [
109
+ m,
110
+ y
111
+ ]
112
+ }
113
+ );
114
+ }
115
+ );
116
+ A.displayName = "Chip";
117
+ export {
118
+ A as Chip
119
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../../../node_modules/class-variance-authority/dist/index.cjs"),t=r.cva("rst:font-ui rst:inline-flex rst:items-center rst:rounded-full rst:font-medium rst:whitespace-nowrap rst:align-middle rst:transition-colors",{variants:{colorScheme:{primary:"",success:"",error:"",amber:"",info:"",neutral:""},variant:{soft:"",outline:"rst:bg-transparent rst:border",solid:""},size:{sm:"rst:text-xs rst:px-2.5 rst:py-0.5 rst:gap-1.5",md:"rst:text-sm rst:px-3 rst:py-1 rst:gap-2"},disabled:{true:"rst:opacity-50 rst:cursor-not-allowed",false:""}},compoundVariants:[{variant:"soft",colorScheme:"primary",className:"rst:bg-primary-50 rst:text-primary-700 rst:dark:bg-primary-500/15 rst:dark:text-primary-300"},{variant:"soft",colorScheme:"success",className:"rst:bg-success-50 rst:text-success-700 rst:dark:bg-success-500/15 rst:dark:text-success-300"},{variant:"soft",colorScheme:"error",className:"rst:bg-error-50 rst:text-error-700 rst:dark:bg-error-500/15 rst:dark:text-error-300"},{variant:"soft",colorScheme:"amber",className:"rst:bg-amber-50 rst:text-amber-800 rst:dark:bg-amber-500/15 rst:dark:text-amber-300"},{variant:"soft",colorScheme:"info",className:"rst:bg-info-50 rst:text-info-700 rst:dark:bg-info-500/15 rst:dark:text-info-300"},{variant:"soft",colorScheme:"neutral",className:"rst:bg-gray-100 rst:text-gray-700 rst:dark:bg-gray-500/15 rst:dark:text-gray-300"},{variant:"outline",colorScheme:"primary",className:"rst:border-primary-600 rst:text-primary-700 rst:dark:border-primary-400 rst:dark:text-primary-300"},{variant:"outline",colorScheme:"success",className:"rst:border-success-600 rst:text-success-700 rst:dark:border-success-400 rst:dark:text-success-300"},{variant:"outline",colorScheme:"error",className:"rst:border-error-600 rst:text-error-700 rst:dark:border-error-400 rst:dark:text-error-300"},{variant:"outline",colorScheme:"amber",className:"rst:border-amber-600 rst:text-amber-800 rst:dark:border-amber-400 rst:dark:text-amber-300"},{variant:"outline",colorScheme:"info",className:"rst:border-info-600 rst:text-info-700 rst:dark:border-info-400 rst:dark:text-info-300"},{variant:"outline",colorScheme:"neutral",className:"rst:border-gray-600 rst:text-gray-700 rst:dark:border-gray-400 rst:dark:text-gray-300"},{variant:"solid",colorScheme:"primary",className:"rst:bg-primary-500 rst:text-primary-500-ink"},{variant:"solid",colorScheme:"success",className:"rst:bg-success-500 rst:text-success-500-ink"},{variant:"solid",colorScheme:"error",className:"rst:bg-error-500 rst:text-error-500-ink"},{variant:"solid",colorScheme:"amber",className:"rst:bg-amber-500 rst:text-amber-500-ink"},{variant:"solid",colorScheme:"info",className:"rst:bg-info-500 rst:text-info-500-ink"},{variant:"solid",colorScheme:"neutral",className:"rst:bg-gray-600 rst:dark:bg-gray-500 rst:text-gray-600-ink rst:dark:text-gray-500-ink"}],defaultVariants:{colorScheme:"neutral",variant:"soft",size:"md",disabled:!1}});exports.chipVariants=t;
@@ -0,0 +1,85 @@
1
+ import { cva as r } from "../../../node_modules/class-variance-authority/dist/index.js";
2
+ const s = /* @__PURE__ */ r(
3
+ "rst:font-ui rst:inline-flex rst:items-center rst:rounded-full rst:font-medium rst:whitespace-nowrap rst:align-middle rst:transition-colors",
4
+ {
5
+ variants: {
6
+ colorScheme: {
7
+ primary: "",
8
+ success: "",
9
+ error: "",
10
+ amber: "",
11
+ info: "",
12
+ neutral: ""
13
+ },
14
+ variant: {
15
+ soft: "",
16
+ outline: "rst:bg-transparent rst:border",
17
+ solid: ""
18
+ },
19
+ size: {
20
+ sm: "rst:text-xs rst:px-2.5 rst:py-0.5 rst:gap-1.5",
21
+ md: "rst:text-sm rst:px-3 rst:py-1 rst:gap-2"
22
+ },
23
+ disabled: {
24
+ /* `cursor-not-allowed`, not `pointer-events-none`. The library has both
25
+ patterns — Button takes pointer events away, Input and Textarea show
26
+ the refusal — and a chip is closer to a field: it sits in a row of
27
+ them, and silently doing nothing on click reads as a broken chip
28
+ rather than a disabled one. Pointer events have to stay live for any
29
+ cursor to be shown at all, which is safe here because every control
30
+ carries the native `disabled` attribute and cannot fire regardless. */
31
+ true: "rst:opacity-50 rst:cursor-not-allowed",
32
+ false: ""
33
+ }
34
+ },
35
+ compoundVariants: [
36
+ { variant: "soft", colorScheme: "primary", className: "rst:bg-primary-50 rst:text-primary-700 rst:dark:bg-primary-500/15 rst:dark:text-primary-300" },
37
+ { variant: "soft", colorScheme: "success", className: "rst:bg-success-50 rst:text-success-700 rst:dark:bg-success-500/15 rst:dark:text-success-300" },
38
+ { variant: "soft", colorScheme: "error", className: "rst:bg-error-50 rst:text-error-700 rst:dark:bg-error-500/15 rst:dark:text-error-300" },
39
+ { variant: "soft", colorScheme: "amber", className: "rst:bg-amber-50 rst:text-amber-800 rst:dark:bg-amber-500/15 rst:dark:text-amber-300" },
40
+ { variant: "soft", colorScheme: "info", className: "rst:bg-info-50 rst:text-info-700 rst:dark:bg-info-500/15 rst:dark:text-info-300" },
41
+ { variant: "soft", colorScheme: "neutral", className: "rst:bg-gray-100 rst:text-gray-700 rst:dark:bg-gray-500/15 rst:dark:text-gray-300" },
42
+ /* `-600` light and `-400` dark, not the `-300` / `-500/40` this started
43
+ with. `outline` is `bg-transparent`, so the border is the only thing
44
+ identifying the control, and 1.4.11 asks 3:1 for that — the first pass
45
+ here ran 1.40 to 1.90 in light and as low as 1.37 composited in dark.
46
+ That is the same hairline 4.8.2 had just finished removing from every
47
+ other control, reintroduced on the newest one. `Button`'s outline uses
48
+ `-600` for exactly this reason. Measured now: 8.71 / 5.02 / 8.31 /
49
+ 3.19 / 4.10 / 7.63 on white, and 7.31 / 11.34 / 7.14 / 11.83 / 9.22 /
50
+ 7.83 on the gray-950 page.
51
+
52
+ This is the one place Chip does NOT match Pill step for step: Pill is
53
+ decoration and 1.4.11 does not reach it, this is a control and it
54
+ does. */
55
+ { variant: "outline", colorScheme: "primary", className: "rst:border-primary-600 rst:text-primary-700 rst:dark:border-primary-400 rst:dark:text-primary-300" },
56
+ { variant: "outline", colorScheme: "success", className: "rst:border-success-600 rst:text-success-700 rst:dark:border-success-400 rst:dark:text-success-300" },
57
+ { variant: "outline", colorScheme: "error", className: "rst:border-error-600 rst:text-error-700 rst:dark:border-error-400 rst:dark:text-error-300" },
58
+ { variant: "outline", colorScheme: "amber", className: "rst:border-amber-600 rst:text-amber-800 rst:dark:border-amber-400 rst:dark:text-amber-300" },
59
+ { variant: "outline", colorScheme: "info", className: "rst:border-info-600 rst:text-info-700 rst:dark:border-info-400 rst:dark:text-info-300" },
60
+ { variant: "outline", colorScheme: "neutral", className: "rst:border-gray-600 rst:text-gray-700 rst:dark:border-gray-400 rst:dark:text-gray-300" },
61
+ /* The same fills and the same ink tokens as Pill's solid, step for step.
62
+ Chip and Pill are the same object at rest and differ only in whether
63
+ they respond, so a solid Chip beside a solid Pill must not be a
64
+ different shade of the same color. (The `outline` borders above are
65
+ the exception, and say why.) Using `-600` here instead looked
66
+ reasonable and asked for `amber-600-ink` and `info-600-ink`, which do
67
+ not exist — `src/contrast.test.ts` caught it on the first run. */
68
+ { variant: "solid", colorScheme: "primary", className: "rst:bg-primary-500 rst:text-primary-500-ink" },
69
+ { variant: "solid", colorScheme: "success", className: "rst:bg-success-500 rst:text-success-500-ink" },
70
+ { variant: "solid", colorScheme: "error", className: "rst:bg-error-500 rst:text-error-500-ink" },
71
+ { variant: "solid", colorScheme: "amber", className: "rst:bg-amber-500 rst:text-amber-500-ink" },
72
+ { variant: "solid", colorScheme: "info", className: "rst:bg-info-500 rst:text-info-500-ink" },
73
+ { variant: "solid", colorScheme: "neutral", className: "rst:bg-gray-600 rst:dark:bg-gray-500 rst:text-gray-600-ink rst:dark:text-gray-500-ink" }
74
+ ],
75
+ defaultVariants: {
76
+ colorScheme: "neutral",
77
+ variant: "soft",
78
+ size: "md",
79
+ disabled: !1
80
+ }
81
+ }
82
+ );
83
+ export {
84
+ s as chipVariants
85
+ };
@@ -0,0 +1 @@
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),s=require("react"),l=require("../../../lib/utils.cjs"),x={xs:"rst:max-h-8",sm:"rst:max-h-16",md:"rst:max-h-24",lg:"rst:max-h-36"};function b({children:a,size:o="md",expandLabel:c="Show more",collapseLabel:m="Show less",className:d}){const[e,u]=s.useState(!1),[n,p]=s.useState(!1),i=s.useRef(null);return s.useEffect(()=>{const t=i.current;t&&p(t.scrollHeight>t.clientHeight)},[a,o]),r.jsxs("div",{className:l.cn("rst:font-ui",d),children:[r.jsx("div",{ref:i,"data-testid":"collapsible-content",className:l.cn(!e&&x[o],!e&&"rst:overflow-hidden"),style:!e&&n?{maskImage:"linear-gradient(to bottom, black 50%, transparent 100%)",WebkitMaskImage:"linear-gradient(to bottom, black 50%, transparent 100%)"}:void 0,children:a}),n&&r.jsx("button",{type:"button","data-testid":"collapsible-toggle",onClick:()=>u(t=>!t),className:"rst:mt-2 rst:text-xs rst:font-medium rst:text-primary-500 rst:dark:text-primary-400 rst:hover:opacity-80 rst:transition-opacity rst:cursor-pointer",children:e?m:c})]})}exports.CollapsibleSection=b;
@@ -0,0 +1,54 @@
1
+ "use client";
2
+ import { jsxs as x, jsx as n } from "react/jsx-runtime";
3
+ import { useState as i, useRef as u, useEffect as h } from "react";
4
+ import { cn as l } from "../../../lib/utils.js";
5
+ const b = {
6
+ xs: "rst:max-h-8",
7
+ // single row of chips, tags, or badges
8
+ sm: "rst:max-h-16",
9
+ // ~3 lines at text-sm/leading-relaxed
10
+ md: "rst:max-h-24",
11
+ // ~4-5 lines
12
+ lg: "rst:max-h-36"
13
+ // ~6-7 lines
14
+ };
15
+ function v({
16
+ children: s,
17
+ size: r = "md",
18
+ expandLabel: m = "Show more",
19
+ collapseLabel: c = "Show less",
20
+ className: d
21
+ }) {
22
+ const [e, p] = i(!1), [a, f] = i(!1), o = u(null);
23
+ return h(() => {
24
+ const t = o.current;
25
+ t && f(t.scrollHeight > t.clientHeight);
26
+ }, [s, r]), /* @__PURE__ */ x("div", { className: l("rst:font-ui", d), children: [
27
+ /* @__PURE__ */ n(
28
+ "div",
29
+ {
30
+ ref: o,
31
+ "data-testid": "collapsible-content",
32
+ className: l(!e && b[r], !e && "rst:overflow-hidden"),
33
+ style: !e && a ? {
34
+ maskImage: "linear-gradient(to bottom, black 50%, transparent 100%)",
35
+ WebkitMaskImage: "linear-gradient(to bottom, black 50%, transparent 100%)"
36
+ } : void 0,
37
+ children: s
38
+ }
39
+ ),
40
+ a && /* @__PURE__ */ n(
41
+ "button",
42
+ {
43
+ type: "button",
44
+ "data-testid": "collapsible-toggle",
45
+ onClick: () => p((t) => !t),
46
+ className: "rst:mt-2 rst:text-xs rst:font-medium rst:text-primary-500 rst:dark:text-primary-400 rst:hover:opacity-80 rst:transition-opacity rst:cursor-pointer",
47
+ children: e ? c : m
48
+ }
49
+ )
50
+ ] });
51
+ }
52
+ export {
53
+ v as CollapsibleSection
54
+ };