@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,82 @@
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",
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
+ },
24
+ compoundVariants: [
25
+ // Soft is the default. Quiet enough to sit inside body copy.
26
+ { variant: "soft", colorScheme: "primary", className: "rst:bg-primary-50 rst:text-primary-700 rst:dark:bg-primary-500/15 rst:dark:text-primary-300" },
27
+ { variant: "soft", colorScheme: "success", className: "rst:bg-success-50 rst:text-success-700 rst:dark:bg-success-500/15 rst:dark:text-success-300" },
28
+ { variant: "soft", colorScheme: "error", className: "rst:bg-error-50 rst:text-error-700 rst:dark:bg-error-500/15 rst:dark:text-error-300" },
29
+ { variant: "soft", colorScheme: "amber", className: "rst:bg-amber-50 rst:text-amber-800 rst:dark:bg-amber-500/15 rst:dark:text-amber-300" },
30
+ { variant: "soft", colorScheme: "info", className: "rst:bg-info-50 rst:text-info-700 rst:dark:bg-info-500/15 rst:dark:text-info-300" },
31
+ { variant: "soft", colorScheme: "neutral", className: "rst:bg-gray-100 rst:text-gray-700 rst:dark:bg-gray-500/15 rst:dark:text-gray-300" },
32
+ // Outline suits dense rows where a fill would add too much weight.
33
+ { variant: "outline", colorScheme: "primary", className: "rst:border-primary-300 rst:text-primary-700 rst:dark:border-primary-700 rst:dark:text-primary-300" },
34
+ { variant: "outline", colorScheme: "success", className: "rst:border-success-300 rst:text-success-700 rst:dark:border-success-700 rst:dark:text-success-300" },
35
+ { variant: "outline", colorScheme: "error", className: "rst:border-error-300 rst:text-error-700 rst:dark:border-error-700 rst:dark:text-error-300" },
36
+ { variant: "outline", colorScheme: "amber", className: "rst:border-amber-300 rst:text-amber-800 rst:dark:border-amber-700 rst:dark:text-amber-300" },
37
+ { variant: "outline", colorScheme: "info", className: "rst:border-info-300 rst:text-info-700 rst:dark:border-info-700 rst:dark:text-info-300" },
38
+ { variant: "outline", colorScheme: "neutral", className: "rst:border-gray-300 rst:text-gray-700 rst:dark:border-gray-600 rst:dark:text-gray-300" },
39
+ // Solid is for when the pill is the loudest thing in its row on purpose.
40
+ { variant: "solid", colorScheme: "primary", className: "rst:bg-primary-500 rst:text-primary-500-ink" },
41
+ { variant: "solid", colorScheme: "success", className: "rst:bg-success-500 rst:text-success-500-ink" },
42
+ { variant: "solid", colorScheme: "error", className: "rst:bg-error-500 rst:text-error-500-ink" },
43
+ { variant: "solid", colorScheme: "amber", className: "rst:bg-amber-500 rst:text-amber-500-ink" },
44
+ { variant: "solid", colorScheme: "info", className: "rst:bg-info-500 rst:text-info-500-ink" },
45
+ { 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" }
46
+ ],
47
+ defaultVariants: {
48
+ colorScheme: "neutral",
49
+ variant: "soft",
50
+ size: "sm"
51
+ }
52
+ }
53
+ ), e = /* @__PURE__ */ r("rst:shrink-0 rst:rounded-full", {
54
+ variants: {
55
+ colorScheme: {
56
+ primary: "rst:bg-primary-500 rst:dark:bg-primary-400",
57
+ success: "rst:bg-success-500 rst:dark:bg-success-400",
58
+ error: "rst:bg-error-500 rst:dark:bg-error-400",
59
+ amber: "rst:bg-amber-500 rst:dark:bg-amber-400",
60
+ info: "rst:bg-info-500 rst:dark:bg-info-400",
61
+ neutral: "rst:bg-gray-500 rst:dark:bg-gray-400"
62
+ },
63
+ variant: {
64
+ soft: "",
65
+ outline: "",
66
+ solid: "rst:bg-current rst:dark:bg-current"
67
+ },
68
+ size: {
69
+ sm: "rst:size-1.5",
70
+ md: "rst:size-2"
71
+ }
72
+ },
73
+ defaultVariants: {
74
+ colorScheme: "neutral",
75
+ variant: "soft",
76
+ size: "sm"
77
+ }
78
+ });
79
+ export {
80
+ e as pillDotVariants,
81
+ s as pillVariants
82
+ };
@@ -0,0 +1 @@
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),n=require("../../../lib/utils.cjs");function o({segments:a,size:i="md",showLegend:c=!0,className:d}){const e=a.reduce((t,s)=>t+s.value,0);if(e===0)return null;const l=a.filter(t=>t.value>0);return r.jsxs("div",{className:n.cn("rst:font-ui rst:flex rst:flex-col rst:gap-1.5",d),children:[r.jsx("div",{"data-testid":"segment-bar-track",className:n.cn("rst:flex rst:w-full rst:overflow-hidden rst:rounded-full",i==="sm"?"rst:h-1.5":"rst:h-2"),children:l.map(t=>{const s=t.value/e*100;return r.jsx("div",{"data-testid":`segment-${t.key}`,className:"rst:transition-[width]",style:{width:`${s}%`,backgroundColor:t.color},title:`${t.label}: ${Math.round(s)}%`},t.key)})}),c&&r.jsx("div",{"data-testid":"segment-bar-legend",className:"rst:flex rst:flex-wrap rst:gap-x-3 rst:gap-y-0.5",children:l.map(t=>{const s=Math.round(t.value/e*100);return r.jsxs("span",{className:"rst:flex rst:items-center rst:gap-1.5 rst:text-xs rst:text-gray-600 rst:dark:text-gray-400",children:[r.jsx("span",{className:"rst:h-2 rst:w-2 rst:flex-none rst:rounded-full",style:{backgroundColor:t.color},"aria-hidden":"true"}),t.label,r.jsxs("span",{className:"rst:opacity-60",children:[s,"%"]})]},t.key)})})]})}exports.SegmentBar=o;
@@ -0,0 +1,73 @@
1
+ "use client";
2
+ import { jsxs as a, jsx as s } from "react/jsx-runtime";
3
+ import { cn as n } from "../../../lib/utils.js";
4
+ function p({
5
+ segments: l,
6
+ size: o = "md",
7
+ showLegend: i = !0,
8
+ className: c
9
+ }) {
10
+ const e = l.reduce((t, r) => t + r.value, 0);
11
+ if (e === 0) return null;
12
+ const d = l.filter((t) => t.value > 0);
13
+ return /* @__PURE__ */ a("div", { className: n("rst:font-ui rst:flex rst:flex-col rst:gap-1.5", c), children: [
14
+ /* @__PURE__ */ s(
15
+ "div",
16
+ {
17
+ "data-testid": "segment-bar-track",
18
+ className: n(
19
+ "rst:flex rst:w-full rst:overflow-hidden rst:rounded-full",
20
+ o === "sm" ? "rst:h-1.5" : "rst:h-2"
21
+ ),
22
+ children: d.map((t) => {
23
+ const r = t.value / e * 100;
24
+ return /* @__PURE__ */ s(
25
+ "div",
26
+ {
27
+ "data-testid": `segment-${t.key}`,
28
+ className: "rst:transition-[width]",
29
+ style: { width: `${r}%`, backgroundColor: t.color },
30
+ title: `${t.label}: ${Math.round(r)}%`
31
+ },
32
+ t.key
33
+ );
34
+ })
35
+ }
36
+ ),
37
+ i && /* @__PURE__ */ s(
38
+ "div",
39
+ {
40
+ "data-testid": "segment-bar-legend",
41
+ className: "rst:flex rst:flex-wrap rst:gap-x-3 rst:gap-y-0.5",
42
+ children: d.map((t) => {
43
+ const r = Math.round(t.value / e * 100);
44
+ return /* @__PURE__ */ a(
45
+ "span",
46
+ {
47
+ className: "rst:flex rst:items-center rst:gap-1.5 rst:text-xs rst:text-gray-600 rst:dark:text-gray-400",
48
+ children: [
49
+ /* @__PURE__ */ s(
50
+ "span",
51
+ {
52
+ className: "rst:h-2 rst:w-2 rst:flex-none rst:rounded-full",
53
+ style: { backgroundColor: t.color },
54
+ "aria-hidden": "true"
55
+ }
56
+ ),
57
+ t.label,
58
+ /* @__PURE__ */ a("span", { className: "rst:opacity-60", children: [
59
+ r,
60
+ "%"
61
+ ] })
62
+ ]
63
+ },
64
+ t.key
65
+ );
66
+ })
67
+ }
68
+ )
69
+ ] });
70
+ }
71
+ export {
72
+ p as SegmentBar
73
+ };
@@ -0,0 +1 @@
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),g=require("react"),y=require("../../../node_modules/@headlessui/react/dist/components/description/description.cjs"),k=require("../../../node_modules/@headlessui/react/dist/components/field/field.cjs"),S=require("../../../node_modules/@headlessui/react/dist/components/label/label.cjs"),n=require("../../../node_modules/@headlessui/react/dist/components/listbox/listbox.cjs"),D=require("../../../node_modules/@headlessui/react/dist/components/transition/transition.cjs"),L=require("../../../node_modules/@fortawesome/react-fontawesome/dist/index.cjs"),T=require("../../../node_modules/@fortawesome/free-solid-svg-icons/index.cjs"),r=require("../../../lib/utils.cjs"),F=require("./select-variants.cjs"),_=require("../../../internal/PopupOption.cjs"),s=require("../../../internal/popup.cjs"),R=({options:l,value:d,onChange:f,placeholder:h="Select an option",disabled:x=!1,variant:u,size:a,error:b,className:v,triggerClassName:j,optionsClassName:P,helperText:p,errorMessage:i,label:m,...q})=>{const c=l.find(e=>e.value===d),o=!!i||b,{ref:N,inDarkScope:O}=s.useDarkScope();return t.jsxs(k.Field,{disabled:x,className:r.cn("rst:flex rst:flex-col rst:gap-1.5",v),...q,children:[m&&t.jsx(S.Label,{className:"rst:block rst:text-sm rst:font-medium rst:text-[var(--roster-control-text)] rst:text-left",children:m}),t.jsx(n.Listbox,{value:d??void 0,onChange:f,disabled:x,children:t.jsxs("div",{ref:N,className:"rst:relative",children:[t.jsxs(n.ListboxButton,{"aria-invalid":o||void 0,className:r.cn(F.selectTriggerVariants({variant:u,size:a,error:o}),j),children:[t.jsx("span",{className:r.cn("rst:block rst:truncate",!c&&"rst:text-gray-500 rst:dark:text-gray-400"),children:c?c.label:h}),t.jsx("span",{className:r.cn("rst:pointer-events-none rst:absolute rst:inset-y-0 rst:right-0 rst:flex rst:items-center",a==="sm"?"rst:pr-2.5":"rst:pr-3"),children:t.jsx(L.FontAwesomeIcon,{icon:T.faChevronDown,className:"rst:h-3.5 rst:w-3.5 rst:text-gray-400 rst:dark:text-gray-500","aria-hidden":"true"})})]}),t.jsx(D.Transition,{as:g.Fragment,leave:"rst:transition rst:ease-in rst:duration-100",leaveFrom:"rst:opacity-100",leaveTo:"rst:opacity-0",children:t.jsx(n.ListboxOptions,{anchor:s.POPUP_ANCHOR,className:r.cn(s.popupInDarkPalette(O,u)&&"dark",s.POPUP_PANEL,s.POPUP_WIDTH_OF_BUTTON,P),children:l.map(e=>t.jsx(_.PopupOption,{as:n.ListboxOption,value:e.value,disabled:e.disabled,size:a,children:e.label},e.value))})})]})}),(p||i)&&t.jsx(y.Description,{className:r.cn("rst:text-xs rst:text-left",o?"rst:text-error-600 rst:dark:text-error-400 rst:font-medium":"rst:text-gray-500 rst:dark:text-gray-400"),children:i||p})]})};exports.Select=R;
@@ -0,0 +1,152 @@
1
+ "use client";
2
+ import { jsxs as n, jsx as t } from "react/jsx-runtime";
3
+ import { Fragment as g } from "react";
4
+ import { Description as y } from "../../../node_modules/@headlessui/react/dist/components/description/description.js";
5
+ import { Field as D } from "../../../node_modules/@headlessui/react/dist/components/field/field.js";
6
+ import { Label as L } from "../../../node_modules/@headlessui/react/dist/components/label/label.js";
7
+ import { Listbox as F, ListboxButton as T, ListboxOptions as _, ListboxOption as I } from "../../../node_modules/@headlessui/react/dist/components/listbox/listbox.js";
8
+ import { Transition as S } from "../../../node_modules/@headlessui/react/dist/components/transition/transition.js";
9
+ import { FontAwesomeIcon as U } from "../../../node_modules/@fortawesome/react-fontawesome/dist/index.js";
10
+ import { faChevronDown as w } from "../../../node_modules/@fortawesome/free-solid-svg-icons/index.js";
11
+ import { cn as e } from "../../../lib/utils.js";
12
+ import { selectTriggerVariants as A } from "./select-variants.js";
13
+ import { PopupOption as B } from "../../../internal/PopupOption.js";
14
+ import { useDarkScope as j, POPUP_ANCHOR as C, POPUP_WIDTH_OF_BUTTON as E, POPUP_PANEL as H, popupInDarkPalette as R } from "../../../internal/popup.js";
15
+ const tt = ({
16
+ options: l,
17
+ value: m,
18
+ onChange: x,
19
+ placeholder: h = "Select an option",
20
+ disabled: c = !1,
21
+ variant: d,
22
+ size: s,
23
+ error: u,
24
+ className: v,
25
+ triggerClassName: N,
26
+ optionsClassName: P,
27
+ helperText: p,
28
+ errorMessage: a,
29
+ label: f,
30
+ ...b
31
+ }) => {
32
+ const o = l.find((r) => r.value === m), i = !!a || u, { ref: k, inDarkScope: O } = j();
33
+ return (
34
+ /* `...props` is spread here, and was not before. The prop type has always
35
+ extended `HTMLAttributes<HTMLDivElement>`, so `id`, `data-*` and the
36
+ handlers all typechecked and were then silently dropped on the floor.
37
+
38
+ Still deliberately NOT claimed: `aria-*`. This is a plain wrapper div
39
+ with no role, so an `aria-describedby` landing here is inert. The
40
+ supported route is `helperText` / `errorMessage` below: Headless UI
41
+ wires the trigger's description from the Field's <Description> context,
42
+ which is the one path assistive tech actually follows. Before those
43
+ existed there was no way to describe this trigger at all. */
44
+ /* @__PURE__ */ n(
45
+ D,
46
+ {
47
+ disabled: c,
48
+ className: e("rst:flex rst:flex-col rst:gap-1.5", v),
49
+ ...b,
50
+ children: [
51
+ f && /* @__PURE__ */ t(L, { className: "rst:block rst:text-sm rst:font-medium rst:text-[var(--roster-control-text)] rst:text-left", children: f }),
52
+ /* @__PURE__ */ t(
53
+ F,
54
+ {
55
+ value: m ?? void 0,
56
+ onChange: x,
57
+ disabled: c,
58
+ children: /* @__PURE__ */ n("div", { ref: k, className: "rst:relative", children: [
59
+ /* @__PURE__ */ n(
60
+ T,
61
+ {
62
+ "aria-invalid": i || void 0,
63
+ className: e(
64
+ A({ variant: d, size: s, error: i }),
65
+ N
66
+ ),
67
+ children: [
68
+ /* @__PURE__ */ t(
69
+ "span",
70
+ {
71
+ className: e(
72
+ "rst:block rst:truncate",
73
+ !o && "rst:text-gray-500 rst:dark:text-gray-400"
74
+ ),
75
+ children: o ? o.label : h
76
+ }
77
+ ),
78
+ /* @__PURE__ */ t(
79
+ "span",
80
+ {
81
+ className: e(
82
+ "rst:pointer-events-none rst:absolute rst:inset-y-0 rst:right-0 rst:flex rst:items-center",
83
+ /* Clearance tracks the size's own right padding, the way
84
+ Input's icon inset tracks its horizontal padding. */
85
+ s === "sm" ? "rst:pr-2.5" : "rst:pr-3"
86
+ ),
87
+ children: /* @__PURE__ */ t(
88
+ U,
89
+ {
90
+ icon: w,
91
+ className: "rst:h-3.5 rst:w-3.5 rst:text-gray-400 rst:dark:text-gray-500",
92
+ "aria-hidden": "true"
93
+ }
94
+ )
95
+ }
96
+ )
97
+ ]
98
+ }
99
+ ),
100
+ /* @__PURE__ */ t(
101
+ S,
102
+ {
103
+ as: g,
104
+ leave: "rst:transition rst:ease-in rst:duration-100",
105
+ leaveFrom: "rst:opacity-100",
106
+ leaveTo: "rst:opacity-0",
107
+ children: /* @__PURE__ */ t(
108
+ _,
109
+ {
110
+ anchor: C,
111
+ className: e(
112
+ R(O, d) && "dark",
113
+ H,
114
+ E,
115
+ P
116
+ ),
117
+ children: l.map((r) => /* @__PURE__ */ t(
118
+ B,
119
+ {
120
+ as: I,
121
+ value: r.value,
122
+ disabled: r.disabled,
123
+ size: s,
124
+ children: r.label
125
+ },
126
+ r.value
127
+ ))
128
+ }
129
+ )
130
+ }
131
+ )
132
+ ] })
133
+ }
134
+ ),
135
+ (p || a) && /* @__PURE__ */ t(
136
+ y,
137
+ {
138
+ className: e(
139
+ "rst:text-xs rst:text-left",
140
+ i ? "rst:text-error-600 rst:dark:text-error-400 rst:font-medium" : "rst:text-gray-500 rst:dark:text-gray-400"
141
+ ),
142
+ children: a || p
143
+ }
144
+ )
145
+ ]
146
+ }
147
+ )
148
+ );
149
+ };
150
+ export {
151
+ tt as Select
152
+ };
@@ -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:relative rst:flex rst:w-full rst:cursor-pointer rst:disabled:cursor-not-allowed rst:disabled:opacity-50 rst:items-center rst:rounded-md rst:h-10 rst:pl-4 rst:pr-10 rst:text-left rst:text-sm rst:font-medium rst:shadow-sm rst:ring-1 rst:ring-inset rst:transition-all rst:focus:outline-hidden rst:focus-visible:ring-2 rst:focus-visible:ring-ring",{variants:{variant:{white:"rst:bg-white rst:text-gray-900 rst:ring-gray-300 rst:hover:bg-gray-50 rst:dark:bg-gray-800 rst:dark:text-gray-100 rst:dark:ring-gray-700 rst:dark:hover:bg-gray-700",soft:"rst:bg-gray-100 rst:text-gray-900 rst:ring-[var(--roster-control-border)] rst:hover:bg-gray-200 rst:dark:bg-gray-800 rst:dark:text-gray-100 rst:dark:hover:bg-gray-700",slate:"rst:bg-gray-700 rst:text-gray-100 rst:ring-transparent rst:hover:bg-gray-600 rst:dark:bg-gray-900 rst:dark:text-gray-100 rst:dark:hover:bg-gray-800",outline:"rst:bg-[var(--roster-control-bg)] rst:text-[var(--roster-control-text)] rst:ring-[color:var(--roster-control-border)]",ghost:"rst:bg-transparent rst:text-gray-700 rst:ring-transparent rst:hover:bg-gray-100 rst:hover:text-gray-900 rst:dark:text-gray-300 rst:dark:hover:bg-gray-800 rst:dark:hover:text-gray-100"},size:{sm:"rst:h-9 rst:pl-3 rst:pr-9",default:"rst:h-10 rst:pl-4 rst:pr-10",lg:"rst:h-11 rst:pl-4 rst:pr-10"},error:{true:"rst:ring-error-500 rst:text-error-600 rst:focus-visible:ring-error-500 rst:dark:ring-error-500 rst:dark:text-error-400 rst:dark:focus-visible:ring-error-400",false:""}},defaultVariants:{variant:"outline",size:"default",error:!1}}),s=r.cva("rst:text-sm rst:group rst:relative rst:cursor-default rst:select-none rst:py-2.5 rst:pl-4 rst:pr-9 rst:transition-colors rst:text-inherit rst:data-focus:bg-primary-100 rst:data-focus:text-primary-900 rst:dark:data-focus:bg-primary-900/30 rst:dark:data-focus:text-primary-100 rst:data-selected:bg-gray-50 rst:dark:data-selected:bg-gray-700/50 rst:data-disabled:opacity-50 rst:data-disabled:cursor-not-allowed",{variants:{size:{sm:"rst:py-2 rst:pl-3 rst:pr-8",default:"rst:py-2.5 rst:pl-4 rst:pr-9",lg:"rst:py-2.5 rst:pl-4 rst:pr-9"}},defaultVariants:{size:"default"}});exports.selectOptionVariants=s;exports.selectTriggerVariants=t;
@@ -0,0 +1,94 @@
1
+ import { cva as r } from "../../../node_modules/class-variance-authority/dist/index.js";
2
+ const s = /* @__PURE__ */ r(
3
+ /* `h-10 pl-4 pr-10` are floors, not defaults, for the same reason Input's
4
+ are: `VariantProps` admits `null`, so `size={fieldSize ?? null}`
5
+ typechecks and would otherwise leave the trigger with no height and its
6
+ label flush against the ring. `cn()` is tailwind-merge, so a real size
7
+ still wins.
8
+
9
+ Height used to be a side effect of `py-2.5` plus the line box, and the
10
+ base carried `sm:leading-6` — which made this the only control in the
11
+ library whose height changed at a breakpoint: 40px on mobile, 44px from
12
+ `sm` up. It is now an explicit height at every width. */
13
+ "rst:font-ui rst:relative rst:flex rst:w-full rst:cursor-pointer rst:disabled:cursor-not-allowed rst:disabled:opacity-50 rst:items-center rst:rounded-md rst:h-10 rst:pl-4 rst:pr-10 rst:text-left rst:text-sm rst:font-medium rst:shadow-sm rst:ring-1 rst:ring-inset rst:transition-all rst:focus:outline-hidden rst:focus-visible:ring-2 rst:focus-visible:ring-ring",
14
+ {
15
+ variants: {
16
+ variant: {
17
+ white: "rst:bg-white rst:text-gray-900 rst:ring-gray-300 rst:hover:bg-gray-50 rst:dark:bg-gray-800 rst:dark:text-gray-100 rst:dark:ring-gray-700 rst:dark:hover:bg-gray-700",
18
+ /* Same reasoning as Input's and Textarea's `soft`; the trigger draws a
19
+ ring rather than a border, so the token lands there. */
20
+ soft: "rst:bg-gray-100 rst:text-gray-900 rst:ring-[var(--roster-control-border)] rst:hover:bg-gray-200 rst:dark:bg-gray-800 rst:dark:text-gray-100 rst:dark:hover:bg-gray-700",
21
+ slate: "rst:bg-gray-700 rst:text-gray-100 rst:ring-transparent rst:hover:bg-gray-600 rst:dark:bg-gray-900 rst:dark:text-gray-100 rst:dark:hover:bg-gray-800",
22
+ /* The default variant, and the only one that reads tokens, exactly as
23
+ in Input. It takes three of the four: focus on the trigger is the
24
+ shared ring, not a border color, so `--roster-control-border-focus`
25
+ has nothing to apply to here.
26
+
27
+ No `hover:bg-*`, unlike the other four. A hover fill is a second
28
+ hardcoded surface painted over the one the consumer just chose:
29
+ tailwind-merge keeps both (different modifier), so a themed trigger
30
+ took the host's color at rest and gray-50 on hover. The
31
+ `ThemedWithTokens` story was the repro — near-white text on gray-50,
32
+ about 1:1. Input's outline has no hover either, so this is also the
33
+ parity the size scale is arguing for. */
34
+ outline: "rst:bg-[var(--roster-control-bg)] rst:text-[var(--roster-control-text)] rst:ring-[color:var(--roster-control-border)]",
35
+ ghost: "rst:bg-transparent rst:text-gray-700 rst:ring-transparent rst:hover:bg-gray-100 rst:hover:text-gray-900 rst:dark:text-gray-300 rst:dark:hover:bg-gray-800 rst:dark:hover:text-gray-100"
36
+ },
37
+ /* The same three heights as Button and Input: h-9 / h-10 / h-11. */
38
+ size: {
39
+ sm: "rst:h-9 rst:pl-3 rst:pr-9",
40
+ default: "rst:h-10 rst:pl-4 rst:pr-10",
41
+ /* Right padding does not grow with `lg`. It is clearance for the
42
+ chevron, which is a fixed 14px at every size, so widening it would
43
+ only push the label away from a gap that is already big enough. */
44
+ lg: "rst:h-11 rst:pl-4 rst:pr-10"
45
+ },
46
+ error: {
47
+ /* `focus-visible:`, not `focus:`. The base sets
48
+ `focus-visible:ring-ring`; a `focus:` class lands in a different
49
+ tailwind-merge group, so both survived, and equal specificity meant
50
+ the later rule in the stylesheet won — an errored Select drew the
51
+ PRIMARY ring on keyboard focus. Input avoided this by accident of
52
+ modifier choice. */
53
+ true: "rst:ring-error-500 rst:text-error-600 rst:focus-visible:ring-error-500 rst:dark:ring-error-500 rst:dark:text-error-400 rst:dark:focus-visible:ring-error-400",
54
+ false: ""
55
+ }
56
+ },
57
+ defaultVariants: {
58
+ variant: "outline",
59
+ size: "default",
60
+ error: !1
61
+ }
62
+ }
63
+ ), a = /* @__PURE__ */ r(
64
+ /* Horizontal padding is a floor here, and tracks the trigger's so the label's
65
+ left edge stays put between the closed trigger and the open menu. (The menu
66
+ does not open OVER the trigger — it is anchored `bottom start` with a 4px
67
+ gap — so this is vertical continuity, not overlap.)
68
+
69
+ `text-sm` lives here rather than on the popup, and carries no `sm:`. The
70
+ popup used to set `text-base sm:text-sm`, which made a menu row 44px on
71
+ mobile and 40px from `sm` up: the exact breakpoint-dependent geometry this
72
+ change removed from the trigger, still alive one element away. */
73
+ "rst:text-sm rst:group rst:relative rst:cursor-default rst:select-none rst:py-2.5 rst:pl-4 rst:pr-9 rst:transition-colors rst:text-inherit rst:data-focus:bg-primary-100 rst:data-focus:text-primary-900 rst:dark:data-focus:bg-primary-900/30 rst:dark:data-focus:text-primary-100 rst:data-selected:bg-gray-50 rst:dark:data-selected:bg-gray-700/50 rst:data-disabled:opacity-50 rst:data-disabled:cursor-not-allowed",
74
+ {
75
+ variants: {
76
+ size: {
77
+ sm: "rst:py-2 rst:pl-3 rst:pr-8",
78
+ default: "rst:py-2.5 rst:pl-4 rst:pr-9",
79
+ /* `lg` matches `default` on purpose: trigger height is an alignment
80
+ contract with a neighbouring Button, while menu row height is a
81
+ scan-density choice with nothing to align to. Density does not have
82
+ to follow alignment. */
83
+ lg: "rst:py-2.5 rst:pl-4 rst:pr-9"
84
+ }
85
+ },
86
+ defaultVariants: {
87
+ size: "default"
88
+ }
89
+ }
90
+ );
91
+ export {
92
+ a as selectOptionVariants,
93
+ s as selectTriggerVariants
94
+ };
@@ -0,0 +1 @@
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),n=require("../../../node_modules/class-variance-authority/dist/index.cjs"),d=require("../../../lib/utils.cjs"),o=n.cva("rst:animate-spin rst:rounded-full rst:transition-colors",{variants:{variant:{primary:"rst:border-primary-600 rst:dark:border-primary-500",neutral:"rst:border-gray-600 rst:dark:border-gray-400",danger:"rst:border-error-600 rst:dark:border-error-500",white:"rst:border-white",current:"rst:border-current"},size:{sm:"rst:h-4 rst:w-4 rst:border-2",md:"rst:h-6 rst:w-6 rst:border-[3px]",lg:"rst:h-8 rst:w-8 rst:border-4"},animation:{classic:"rst:border-solid rst:border-r-transparent rst:dark:border-r-transparent",half:"rst:border-solid rst:border-r-transparent rst:border-b-transparent rst:dark:border-r-transparent rst:dark:border-b-transparent",dashed:"rst:border-dashed",dotted:"rst:border-dotted rst:border-r-transparent rst:dark:border-r-transparent"}},defaultVariants:{variant:"primary",size:"md",animation:"classic"}}),i=({variant:r,size:t,animation:s,className:e})=>a.jsx("div",{className:d.cn(o({variant:r,size:t,animation:s}),e),role:"status","aria-label":"loading"});exports.Spinner=i;
@@ -0,0 +1,50 @@
1
+ "use client";
2
+ import { jsx as e } from "react/jsx-runtime";
3
+ import { cva as d } from "../../../node_modules/class-variance-authority/dist/index.js";
4
+ import { cn as o } from "../../../lib/utils.js";
5
+ const n = /* @__PURE__ */ d("rst:animate-spin rst:rounded-full rst:transition-colors", {
6
+ variants: {
7
+ variant: {
8
+ primary: "rst:border-primary-600 rst:dark:border-primary-500",
9
+ neutral: "rst:border-gray-600 rst:dark:border-gray-400",
10
+ danger: "rst:border-error-600 rst:dark:border-error-500",
11
+ white: "rst:border-white",
12
+ current: "rst:border-current"
13
+ },
14
+ size: {
15
+ sm: "rst:h-4 rst:w-4 rst:border-2",
16
+ md: "rst:h-6 rst:w-6 rst:border-[3px]",
17
+ lg: "rst:h-8 rst:w-8 rst:border-4"
18
+ },
19
+ animation: {
20
+ // The standard "C" shape spin (highly visible)
21
+ classic: "rst:border-solid rst:border-r-transparent rst:dark:border-r-transparent",
22
+ // A rigid half-circle that flings around
23
+ half: "rst:border-solid rst:border-r-transparent rst:border-b-transparent rst:dark:border-r-transparent rst:dark:border-b-transparent",
24
+ // A spinning dashed line
25
+ dashed: "rst:border-dashed",
26
+ // A dotted line with a gap so you can track the rotation
27
+ dotted: "rst:border-dotted rst:border-r-transparent rst:dark:border-r-transparent"
28
+ }
29
+ },
30
+ defaultVariants: {
31
+ variant: "primary",
32
+ size: "md",
33
+ animation: "classic"
34
+ }
35
+ }), l = ({
36
+ variant: r,
37
+ size: t,
38
+ animation: s,
39
+ className: a
40
+ }) => /* @__PURE__ */ e(
41
+ "div",
42
+ {
43
+ className: o(n({ variant: r, size: t, animation: s }), a),
44
+ role: "status",
45
+ "aria-label": "loading"
46
+ }
47
+ );
48
+ export {
49
+ l as Spinner
50
+ };
@@ -0,0 +1 @@
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),x=require("react"),s=require("../../../lib/utils.cjs"),u=require("./stat-variants.cjs"),m=require("../Eyebrow/Eyebrow.cjs"),r=x.forwardRef(({value:a,label:n,source:e,size:i,colorScheme:c,className:l,...o},d)=>t.jsxs("div",{ref:d,className:s.cn("rst:flex rst:flex-col rst:gap-[3px]",l),...o,children:[t.jsx("dd",{className:s.cn("rst:m-0",u.statValueVariants({size:i,colorScheme:c})),children:a}),t.jsx("dt",{children:t.jsx(m.Eyebrow,{size:"xs",children:n})}),e&&t.jsx("span",{className:"rst:font-mono rst:text-[0.53125rem] rst:leading-none rst:tracking-[0.06em] rst:text-gray-500 rst:opacity-75 rst:dark:text-gray-400",children:e})]}));r.displayName="Stat";exports.Stat=r;
@@ -0,0 +1,17 @@
1
+ "use client";
2
+ import { jsxs as c, jsx as t } from "react/jsx-runtime";
3
+ import d from "react";
4
+ import { cn as s } from "../../../lib/utils.js";
5
+ import { statValueVariants as f } from "./stat-variants.js";
6
+ import { Eyebrow as p } from "../Eyebrow/Eyebrow.js";
7
+ const x = d.forwardRef(
8
+ ({ value: e, label: a, source: r, size: o, colorScheme: i, className: m, ...l }, n) => /* @__PURE__ */ c("div", { ref: n, className: s("rst:flex rst:flex-col rst:gap-[3px]", m), ...l, children: [
9
+ /* @__PURE__ */ t("dd", { className: s("rst:m-0", f({ size: o, colorScheme: i })), children: e }),
10
+ /* @__PURE__ */ t("dt", { children: /* @__PURE__ */ t(p, { size: "xs", children: a }) }),
11
+ r && /* @__PURE__ */ t("span", { className: "rst:font-mono rst:text-[0.53125rem] rst:leading-none rst:tracking-[0.06em] rst:text-gray-500 rst:opacity-75 rst:dark:text-gray-400", children: r })
12
+ ] })
13
+ );
14
+ x.displayName = "Stat";
15
+ export {
16
+ x as Stat
17
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../../node_modules/class-variance-authority/dist/index.cjs"),r=t.cva("rst:block rst:font-bold rst:leading-none rst:tracking-[-0.04em] rst:tabular-nums",{variants:{size:{sm:"rst:text-xl",md:"rst:text-[clamp(1.5rem,3.6vw,2.25rem)]",lg:"rst:text-[clamp(2rem,5vw,3rem)]"},colorScheme:{primary:"rst:text-primary-600 rst:dark:text-primary-400",success:"rst:text-success-600 rst:dark:text-success-400",error:"rst:text-error-600 rst:dark:text-error-400",amber:"rst:text-amber-600 rst:dark:text-amber-400",neutral:"rst:text-gray-900 rst:dark:text-gray-100",current:"rst:text-current"}},defaultVariants:{size:"md",colorScheme:"neutral"}});exports.statValueVariants=r;
@@ -0,0 +1,25 @@
1
+ import { cva as r } from "../../../node_modules/class-variance-authority/dist/index.js";
2
+ const e = /* @__PURE__ */ r(
3
+ "rst:block rst:font-bold rst:leading-none rst:tracking-[-0.04em] rst:tabular-nums",
4
+ {
5
+ variants: {
6
+ size: {
7
+ sm: "rst:text-xl",
8
+ md: "rst:text-[clamp(1.5rem,3.6vw,2.25rem)]",
9
+ lg: "rst:text-[clamp(2rem,5vw,3rem)]"
10
+ },
11
+ colorScheme: {
12
+ primary: "rst:text-primary-600 rst:dark:text-primary-400",
13
+ success: "rst:text-success-600 rst:dark:text-success-400",
14
+ error: "rst:text-error-600 rst:dark:text-error-400",
15
+ amber: "rst:text-amber-600 rst:dark:text-amber-400",
16
+ neutral: "rst:text-gray-900 rst:dark:text-gray-100",
17
+ current: "rst:text-current"
18
+ }
19
+ },
20
+ defaultVariants: { size: "md", colorScheme: "neutral" }
21
+ }
22
+ );
23
+ export {
24
+ e as statValueVariants
25
+ };
@@ -0,0 +1 @@
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),m=require("../../../node_modules/@headlessui/react/dist/components/description/description.cjs"),d=require("../../../node_modules/@headlessui/react/dist/components/field/field.cjs"),g=require("../../../node_modules/@headlessui/react/dist/components/label/label.cjs"),j=require("../../../node_modules/@headlessui/react/dist/components/switch/switch.cjs"),s=require("../../../lib/utils.cjs"),a=require("./switch-variants.cjs"),p=({checked:n,onChange:l,label:e,description:r,disabled:c=!1,size:i,variant:o,className:u,ariaLabel:x})=>{const h=e?void 0:x||"Toggle setting";return t.jsxs(d.Field,{as:"div",className:s.cn("rst:flex rst:items-center rst:justify-between rst:gap-4",u),children:[(e||r)&&t.jsxs("span",{className:"rst:flex rst:flex-col",children:[e&&t.jsx(g.Label,{passive:!0,className:s.cn("rst:text-sm rst:font-medium rst:text-gray-900 rst:dark:text-gray-100",c&&"rst:opacity-50"),children:e}),r&&t.jsx(m.Description,{className:s.cn("rst:text-xs rst:text-gray-500 rst:dark:text-gray-400",c&&"rst:opacity-50"),children:r})]}),t.jsx(j.Switch,{checked:n,onChange:l,disabled:c,"aria-label":h,className:s.cn(a.switchTrackVariants({variant:o,size:i})),children:t.jsx("span",{"aria-hidden":"true",className:s.cn(a.switchThumbVariants({size:i}))})})]})};exports.Switch=p;
@@ -0,0 +1,73 @@
1
+ "use client";
2
+ import { jsxs as m, jsx as s } from "react/jsx-runtime";
3
+ import { Description as x } from "../../../node_modules/@headlessui/react/dist/components/description/description.js";
4
+ import { Field as h } from "../../../node_modules/@headlessui/react/dist/components/field/field.js";
5
+ import { Label as d } from "../../../node_modules/@headlessui/react/dist/components/label/label.js";
6
+ import { Switch as g } from "../../../node_modules/@headlessui/react/dist/components/switch/switch.js";
7
+ import { cn as t } from "../../../lib/utils.js";
8
+ import { switchThumbVariants as u, switchTrackVariants as y } from "./switch-variants.js";
9
+ const S = ({
10
+ checked: c,
11
+ onChange: o,
12
+ label: r,
13
+ description: a,
14
+ disabled: e = !1,
15
+ size: i,
16
+ variant: n,
17
+ className: l,
18
+ ariaLabel: p
19
+ }) => {
20
+ const f = r ? void 0 : p || "Toggle setting";
21
+ return /* @__PURE__ */ m(
22
+ h,
23
+ {
24
+ as: "div",
25
+ className: t("rst:flex rst:items-center rst:justify-between rst:gap-4", l),
26
+ children: [
27
+ (r || a) && /* @__PURE__ */ m("span", { className: "rst:flex rst:flex-col", children: [
28
+ r && /* @__PURE__ */ s(
29
+ d,
30
+ {
31
+ passive: !0,
32
+ className: t(
33
+ "rst:text-sm rst:font-medium rst:text-gray-900 rst:dark:text-gray-100",
34
+ e && "rst:opacity-50"
35
+ ),
36
+ children: r
37
+ }
38
+ ),
39
+ a && /* @__PURE__ */ s(
40
+ x,
41
+ {
42
+ className: t(
43
+ "rst:text-xs rst:text-gray-500 rst:dark:text-gray-400",
44
+ e && "rst:opacity-50"
45
+ ),
46
+ children: a
47
+ }
48
+ )
49
+ ] }),
50
+ /* @__PURE__ */ s(
51
+ g,
52
+ {
53
+ checked: c,
54
+ onChange: o,
55
+ disabled: e,
56
+ "aria-label": f,
57
+ className: t(y({ variant: n, size: i })),
58
+ children: /* @__PURE__ */ s(
59
+ "span",
60
+ {
61
+ "aria-hidden": "true",
62
+ className: t(u({ size: i }))
63
+ }
64
+ )
65
+ }
66
+ )
67
+ ]
68
+ }
69
+ );
70
+ };
71
+ export {
72
+ S as Switch
73
+ };
@@ -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:group rst:relative rst:inline-flex rst:shrink-0 rst:cursor-pointer rst:rounded-full rst:border-2 rst:border-transparent rst:transition-colors rst:duration-200 rst:ease-in-out rst:focus:outline-hidden rst:focus-visible:ring-2 rst:focus-visible:ring-offset-2 rst:ring-offset-background rst:disabled:cursor-not-allowed rst:disabled:opacity-50",{variants:{variant:{primary:"rst:bg-gray-200 rst:dark:bg-gray-700 rst:data-[checked]:bg-primary-500 rst:focus-visible:ring-ring",success:"rst:bg-gray-200 rst:dark:bg-gray-700 rst:data-[checked]:bg-green-500 rst:focus-visible:ring-ring",danger:"rst:bg-gray-200 rst:dark:bg-gray-700 rst:data-[checked]:bg-error-500 rst:focus-visible:ring-ring",neutral:"rst:bg-gray-200 rst:dark:bg-gray-700 rst:data-[checked]:bg-gray-600 rst:dark:data-[checked]:bg-gray-500 rst:focus-visible:ring-ring"},size:{xs:"rst:h-4 rst:w-7",sm:"rst:h-5 rst:w-9",md:"rst:h-6 rst:w-11",lg:"rst:h-7 rst:w-14"}},defaultVariants:{variant:"primary",size:"md"}}),s=r.cva("rst:pointer-events-none rst:inline-block rst:rounded-full rst:bg-white rst:shadow rst:ring-0 rst:transition rst:duration-200 rst:ease-in-out rst:transform",{variants:{size:{xs:"rst:h-3 rst:w-3 rst:translate-x-0 rst:group-data-[checked]:translate-x-3",sm:"rst:h-4 rst:w-4 rst:translate-x-0 rst:group-data-[checked]:translate-x-4",md:"rst:h-5 rst:w-5 rst:translate-x-0 rst:group-data-[checked]:translate-x-5",lg:"rst:h-6 rst:w-6 rst:translate-x-0 rst:group-data-[checked]:translate-x-7"}},defaultVariants:{size:"md"}});exports.switchThumbVariants=s;exports.switchTrackVariants=t;