@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.
- package/README.md +17 -9
- package/dist/_virtual/use-sync-external-store-with-selector.development.cjs +1 -0
- package/dist/_virtual/use-sync-external-store-with-selector.development.js +4 -0
- package/dist/_virtual/use-sync-external-store-with-selector.production.cjs +1 -0
- package/dist/_virtual/use-sync-external-store-with-selector.production.js +4 -0
- package/dist/_virtual/with-selector.cjs +1 -0
- package/dist/_virtual/with-selector.js +5 -0
- package/dist/_virtual/with-selector2.cjs +1 -0
- package/dist/_virtual/with-selector2.js +4 -0
- package/dist/components/atoms/Avatar/Avatar.cjs +1 -0
- package/dist/components/atoms/Avatar/Avatar.js +63 -0
- package/dist/components/atoms/Avatar/avatar-variants.cjs +1 -0
- package/dist/components/atoms/Avatar/avatar-variants.js +37 -0
- package/dist/components/atoms/AvatarStrip/AvatarStrip.cjs +1 -0
- package/dist/components/atoms/AvatarStrip/AvatarStrip.js +100 -0
- package/dist/components/atoms/Badge/Badge.cjs +1 -0
- package/dist/components/atoms/Badge/Badge.js +37 -0
- package/dist/components/atoms/Badge/badge-variants.cjs +1 -0
- package/dist/components/atoms/Badge/badge-variants.js +84 -0
- package/dist/components/atoms/Button/Button.cjs +1 -0
- package/dist/components/atoms/Button/Button.js +50 -0
- package/dist/components/atoms/Button/button-variants.cjs +1 -0
- package/dist/components/atoms/Button/button-variants.d.ts +15 -0
- package/dist/components/atoms/Button/button-variants.js +94 -0
- package/dist/components/atoms/Card/Card.cjs +1 -0
- package/dist/components/atoms/Card/Card.js +51 -0
- package/dist/components/atoms/Card/card-variants.cjs +1 -0
- package/dist/components/atoms/Card/card-variants.js +43 -0
- package/dist/components/atoms/Checkbox/Checkbox.cjs +1 -0
- package/dist/components/atoms/Checkbox/Checkbox.js +63 -0
- package/dist/components/atoms/Checkbox/checkbox-variants.cjs +1 -0
- package/dist/components/atoms/Checkbox/checkbox-variants.js +66 -0
- package/dist/components/atoms/Chip/Chip.cjs +1 -0
- package/dist/components/atoms/Chip/Chip.js +119 -0
- package/dist/components/atoms/Chip/chip-variants.cjs +1 -0
- package/dist/components/atoms/Chip/chip-variants.js +85 -0
- package/dist/components/atoms/CollapsibleSection/CollapsibleSection.cjs +1 -0
- package/dist/components/atoms/CollapsibleSection/CollapsibleSection.js +54 -0
- package/dist/components/atoms/Combobox/Combobox.cjs +1 -0
- package/dist/components/atoms/Combobox/Combobox.js +150 -0
- package/dist/components/atoms/Disclosure/Disclosure.cjs +1 -0
- package/dist/components/atoms/Disclosure/Disclosure.js +82 -0
- package/dist/components/atoms/Disclosure/disclosure-variants.cjs +1 -0
- package/dist/components/atoms/Disclosure/disclosure-variants.js +38 -0
- package/dist/components/atoms/Eyebrow/Eyebrow.cjs +1 -0
- package/dist/components/atoms/Eyebrow/Eyebrow.js +27 -0
- package/dist/components/atoms/Eyebrow/eyebrow-variants.cjs +1 -0
- package/dist/components/atoms/Eyebrow/eyebrow-variants.js +28 -0
- package/dist/components/atoms/InlineCode/InlineCode.cjs +1 -0
- package/dist/components/atoms/InlineCode/InlineCode.js +20 -0
- package/dist/components/atoms/InlineCode/inline-code-variants.cjs +1 -0
- package/dist/components/atoms/InlineCode/inline-code-variants.js +18 -0
- package/dist/components/atoms/Input/Input.cjs +1 -0
- package/dist/components/atoms/Input/Input.js +109 -0
- package/dist/components/atoms/Input/input-variants.cjs +1 -0
- package/dist/components/atoms/Input/input-variants.js +89 -0
- package/dist/components/atoms/LabeledDivider/LabeledDivider.cjs +1 -0
- package/dist/components/atoms/LabeledDivider/LabeledDivider.js +17 -0
- package/dist/components/atoms/Link/Link.cjs +1 -0
- package/dist/components/atoms/Link/Link.js +66 -0
- package/dist/components/atoms/Link/link-variants.cjs +1 -0
- package/dist/components/atoms/Link/link-variants.js +32 -0
- package/dist/components/atoms/LiquidTabs/LiquidTabs.cjs +1 -0
- package/dist/components/atoms/LiquidTabs/LiquidTabs.js +120 -0
- package/dist/components/atoms/MultiSelect/MultiSelect.cjs +1 -0
- package/dist/components/atoms/MultiSelect/MultiSelect.js +231 -0
- package/dist/components/atoms/PasswordInput/PasswordInput.cjs +1 -0
- package/dist/components/atoms/PasswordInput/PasswordInput.js +69 -0
- package/dist/components/atoms/Pill/Pill.cjs +1 -0
- package/dist/components/atoms/Pill/Pill.js +48 -0
- package/dist/components/atoms/Pill/pill-variants.cjs +1 -0
- package/dist/components/atoms/Pill/pill-variants.js +82 -0
- package/dist/components/atoms/SegmentBar/SegmentBar.cjs +1 -0
- package/dist/components/atoms/SegmentBar/SegmentBar.js +73 -0
- package/dist/components/atoms/Select/Select.cjs +1 -0
- package/dist/components/atoms/Select/Select.js +152 -0
- package/dist/components/atoms/Select/select-variants.cjs +1 -0
- package/dist/components/atoms/Select/select-variants.js +94 -0
- package/dist/components/atoms/Spinner/Spinner.cjs +1 -0
- package/dist/components/atoms/Spinner/Spinner.js +50 -0
- package/dist/components/atoms/Stat/Stat.cjs +1 -0
- package/dist/components/atoms/Stat/Stat.js +17 -0
- package/dist/components/atoms/Stat/stat-variants.cjs +1 -0
- package/dist/components/atoms/Stat/stat-variants.js +25 -0
- package/dist/components/atoms/Switch/Switch.cjs +1 -0
- package/dist/components/atoms/Switch/Switch.js +73 -0
- package/dist/components/atoms/Switch/switch-variants.cjs +1 -0
- package/dist/components/atoms/Switch/switch-variants.js +43 -0
- package/dist/components/atoms/Textarea/Textarea.cjs +1 -0
- package/dist/components/atoms/Textarea/Textarea.js +66 -0
- package/dist/components/atoms/Textarea/textarea-variants.cjs +1 -0
- package/dist/components/atoms/Textarea/textarea-variants.js +60 -0
- package/dist/components/atoms/ThemeToggle/ThemeToggle.cjs +1 -0
- package/dist/components/atoms/ThemeToggle/ThemeToggle.js +76 -0
- package/dist/components/atoms/Tooltip/Tooltip.cjs +1 -0
- package/dist/components/atoms/Tooltip/Tooltip.js +60 -0
- package/dist/components/molecules/Accordion/Accordion.cjs +1 -0
- package/dist/components/molecules/Accordion/Accordion.js +38 -0
- package/dist/components/molecules/Alert/Alert.cjs +1 -0
- package/dist/components/molecules/Alert/Alert.js +68 -0
- package/dist/components/molecules/Alert/alert-variants.cjs +1 -0
- package/dist/components/molecules/Alert/alert-variants.js +80 -0
- package/dist/components/molecules/Breadcrumbs/Breadcrumbs.cjs +1 -0
- package/dist/components/molecules/Breadcrumbs/Breadcrumbs.js +89 -0
- package/dist/components/molecules/Breadcrumbs/breadcrumb-variants.cjs +1 -0
- package/dist/components/molecules/Breadcrumbs/breadcrumb-variants.js +19 -0
- package/dist/components/molecules/CallToAction/CallToAction.cjs +1 -0
- package/dist/components/molecules/CallToAction/CallToAction.js +41 -0
- package/dist/components/molecules/CallToAction/call-to-action-variants.cjs +1 -0
- package/dist/components/molecules/CallToAction/call-to-action-variants.js +72 -0
- package/dist/components/molecules/CheckboxGroup/CheckboxGroup.cjs +1 -0
- package/dist/components/molecules/CheckboxGroup/CheckboxGroup.js +146 -0
- package/dist/components/molecules/CheckboxGroup/checkbox-group-variants.cjs +1 -0
- package/dist/components/molecules/CheckboxGroup/checkbox-group-variants.js +72 -0
- package/dist/components/molecules/DescriptionList/DescriptionList.cjs +1 -0
- package/dist/components/molecules/DescriptionList/DescriptionList.js +32 -0
- package/dist/components/molecules/DescriptionList/description-list-variants.cjs +1 -0
- package/dist/components/molecules/DescriptionList/description-list-variants.js +21 -0
- package/dist/components/molecules/EmptyState/EmptyState.cjs +1 -0
- package/dist/components/molecules/EmptyState/EmptyState.js +22 -0
- package/dist/components/molecules/EmptyState/empty-state-variants.cjs +1 -0
- package/dist/components/molecules/EmptyState/empty-state-variants.js +18 -0
- package/dist/components/molecules/ErrorState/ErrorState.cjs +1 -0
- package/dist/components/molecules/ErrorState/ErrorState.js +49 -0
- package/dist/components/molecules/ErrorState/error-state-variants.cjs +1 -0
- package/dist/components/molecules/ErrorState/error-state-variants.js +18 -0
- package/dist/components/molecules/MatchupCard/MatchupCard.cjs +1 -0
- package/dist/components/molecules/MatchupCard/MatchupCard.js +102 -0
- package/dist/components/molecules/Pullquote/Pullquote.cjs +1 -0
- package/dist/components/molecules/Pullquote/Pullquote.js +30 -0
- package/dist/components/molecules/Pullquote/pullquote-variants.cjs +1 -0
- package/dist/components/molecules/Pullquote/pullquote-variants.js +32 -0
- package/dist/components/molecules/RadioGroup/RadioGroup.cjs +1 -0
- package/dist/components/molecules/RadioGroup/RadioGroup.js +166 -0
- package/dist/components/molecules/RadioGroup/radio-group-variants.cjs +1 -0
- package/dist/components/molecules/RadioGroup/radio-group-variants.js +94 -0
- package/dist/components/molecules/Toast/Toast.cjs +1 -0
- package/dist/components/molecules/Toast/Toast.js +64 -0
- package/dist/components/molecules/Toast/Toaster.cjs +1 -0
- package/dist/components/molecules/Toast/Toaster.js +70 -0
- package/dist/components/molecules/Toast/toast-api.cjs +1 -0
- package/dist/components/molecules/Toast/toast-api.js +27 -0
- package/dist/components/molecules/Toast/toast-variants.cjs +1 -0
- package/dist/components/molecules/Toast/toast-variants.js +83 -0
- package/dist/components/organisms/ActionBar/ActionBar.cjs +1 -0
- package/dist/components/organisms/ActionBar/ActionBar.js +40 -0
- package/dist/components/organisms/ActionBar/action-bar-variants.cjs +1 -0
- package/dist/components/organisms/ActionBar/action-bar-variants.js +26 -0
- package/dist/components/organisms/Countdown/Countdown.cjs +1 -0
- package/dist/components/organisms/Countdown/Countdown.js +98 -0
- package/dist/components/organisms/Countdown/countdown-variants.cjs +1 -0
- package/dist/components/organisms/Countdown/countdown-variants.js +65 -0
- package/dist/components/organisms/DataTable/DataTable.cjs +1 -0
- package/dist/components/organisms/DataTable/DataTable.js +160 -0
- package/dist/components/organisms/Dialog/Dialog.cjs +1 -0
- package/dist/components/organisms/Dialog/Dialog.js +152 -0
- package/dist/components/organisms/Footer/Footer.cjs +1 -0
- package/dist/components/organisms/Footer/Footer.js +41 -0
- package/dist/components/organisms/Footer/footer-variants.cjs +1 -0
- package/dist/components/organisms/Footer/footer-variants.js +25 -0
- package/dist/components/organisms/Navbar/Navbar.cjs +1 -0
- package/dist/components/organisms/Navbar/Navbar.js +539 -0
- package/dist/components/organisms/Navbar/navbar-variants.cjs +1 -0
- package/dist/components/organisms/Navbar/navbar-variants.js +35 -0
- package/dist/components/organisms/Table/Table.cjs +1 -0
- package/dist/components/organisms/Table/Table.js +118 -0
- package/dist/components/organisms/Table/table-variants.cjs +1 -0
- package/dist/components/organisms/Table/table-variants.js +117 -0
- package/dist/data-table.cjs +1 -0
- package/dist/data-table.js +4 -0
- package/dist/hooks/useCountdown.cjs +1 -0
- package/dist/hooks/useCountdown.js +33 -0
- package/dist/hooks/useKeySequence.cjs +1 -0
- package/dist/hooks/useKeySequence.js +55 -0
- package/dist/internal/PopupOption.cjs +1 -0
- package/dist/internal/PopupOption.js +39 -0
- package/dist/internal/popup.cjs +1 -0
- package/dist/internal/popup.js +29 -0
- package/dist/lib/utils.cjs +1 -0
- package/dist/lib/utils.js +27 -0
- package/dist/meta.json +1 -1
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.cjs +1 -0
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +532 -0
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs +1 -0
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +403 -0
- package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.cjs +1 -0
- package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js +368 -0
- package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.cjs +1 -0
- package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js +13 -0
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.cjs +1 -0
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +209 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs +1 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.cjs +1 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +136 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +130 -0
- package/dist/node_modules/@fortawesome/fontawesome-svg-core/index.cjs +558 -0
- package/dist/node_modules/@fortawesome/fontawesome-svg-core/index.js +3101 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/index.cjs +1 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/index.js +120 -0
- package/dist/node_modules/@fortawesome/react-fontawesome/dist/index.cjs +1 -0
- package/dist/node_modules/@fortawesome/react-fontawesome/dist/index.js +261 -0
- package/dist/node_modules/@headlessui/react/dist/components/button/button.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/button/button.js +16 -0
- package/dist/node_modules/@headlessui/react/dist/components/checkbox/checkbox.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/checkbox/checkbox.js +38 -0
- package/dist/node_modules/@headlessui/react/dist/components/combobox/combobox-machine-glue.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/combobox/combobox-machine-glue.js +21 -0
- package/dist/node_modules/@headlessui/react/dist/components/combobox/combobox-machine.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/combobox/combobox-machine.js +165 -0
- package/dist/node_modules/@headlessui/react/dist/components/combobox/combobox.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/combobox/combobox.js +287 -0
- package/dist/node_modules/@headlessui/react/dist/components/description/description.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/description/description.js +44 -0
- package/dist/node_modules/@headlessui/react/dist/components/dialog/dialog.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/dialog/dialog.js +109 -0
- package/dist/node_modules/@headlessui/react/dist/components/field/field.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/field/field.js +17 -0
- package/dist/node_modules/@headlessui/react/dist/components/fieldset/fieldset.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/fieldset/fieldset.js +17 -0
- package/dist/node_modules/@headlessui/react/dist/components/focus-trap/focus-trap.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/focus-trap/focus-trap.js +132 -0
- package/dist/node_modules/@headlessui/react/dist/components/input/input.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/input/input.js +18 -0
- package/dist/node_modules/@headlessui/react/dist/components/keyboard.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/keyboard.js +4 -0
- package/dist/node_modules/@headlessui/react/dist/components/label/label.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/label/label.js +61 -0
- package/dist/node_modules/@headlessui/react/dist/components/legend/legend.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/legend/legend.js +10 -0
- package/dist/node_modules/@headlessui/react/dist/components/listbox/listbox-machine-glue.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/listbox/listbox-machine-glue.js +21 -0
- package/dist/node_modules/@headlessui/react/dist/components/listbox/listbox-machine.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/listbox/listbox-machine.js +171 -0
- package/dist/node_modules/@headlessui/react/dist/components/listbox/listbox.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/listbox/listbox.js +205 -0
- package/dist/node_modules/@headlessui/react/dist/components/menu/menu-machine-glue.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/menu/menu-machine-glue.js +21 -0
- package/dist/node_modules/@headlessui/react/dist/components/menu/menu-machine.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/menu/menu-machine.js +120 -0
- package/dist/node_modules/@headlessui/react/dist/components/menu/menu.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/menu/menu.js +197 -0
- package/dist/node_modules/@headlessui/react/dist/components/mouse.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/mouse.js +4 -0
- package/dist/node_modules/@headlessui/react/dist/components/popover/popover-machine-glue.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/popover/popover-machine-glue.js +21 -0
- package/dist/node_modules/@headlessui/react/dist/components/popover/popover-machine.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/popover/popover-machine.js +49 -0
- package/dist/node_modules/@headlessui/react/dist/components/popover/popover.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/popover/popover.js +234 -0
- package/dist/node_modules/@headlessui/react/dist/components/portal/portal.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/portal/portal.js +63 -0
- package/dist/node_modules/@headlessui/react/dist/components/radio-group/radio-group.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/radio-group/radio-group.js +126 -0
- package/dist/node_modules/@headlessui/react/dist/components/switch/switch.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/switch/switch.js +55 -0
- package/dist/node_modules/@headlessui/react/dist/components/textarea/textarea.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/textarea/textarea.js +18 -0
- package/dist/node_modules/@headlessui/react/dist/components/transition/transition.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/transition/transition.js +135 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/adjust-scrollbar-padding.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/adjust-scrollbar-padding.js +14 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/handle-ios-locking.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/handle-ios-locking.js +52 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/overflow-store.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/overflow-store.js +38 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/prevent-scroll.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/prevent-scroll.js +8 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/use-document-overflow.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/use-document-overflow.js +12 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-active-press.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-active-press.js +33 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-by-comparator.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-by-comparator.js +16 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-controllable.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-controllable.js +10 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-default-value.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-default-value.js +8 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-disposables.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-disposables.js +9 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-document-event.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-document-event.js +15 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-element-size.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-element-size.js +26 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-escape.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-escape.js +12 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-event-listener.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-event-listener.js +15 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-event.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-event.js +9 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-flags.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-flags.js +8 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-handle-toggle.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-handle-toggle.js +15 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-inert-others.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-inert-others.js +41 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-is-mounted.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-is-mounted.js +11 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-is-top-layer.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-is-top-layer.js +13 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-is-touch-device.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-is-touch-device.js +16 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-iso-morphic-effect.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-iso-morphic-effect.js +8 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-latest-value.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-latest-value.js +11 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-on-disappear.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-on-disappear.js +28 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-on-unmount.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-on-unmount.js +14 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-outside-click.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-outside-click.js +38 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-owner.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-owner.js +12 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-quick-release.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-quick-release.js +32 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-refocusable-input.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-refocusable-input.js +24 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-resolve-button-type.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-resolve-button-type.js +12 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-resolved-tag.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-resolved-tag.js +11 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-root-containers.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-root-containers.js +38 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-scroll-lock.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-scroll-lock.js +12 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-server-handoff-complete.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-server-handoff-complete.js +16 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-slot.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-slot.js +7 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-store.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-store.js +7 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-sync-refs.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-sync-refs.js +20 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-tab-direction.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-tab-direction.js +13 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-text-value.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-text-value.js +17 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-tracked-pointer.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-tracked-pointer.js +16 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-transition.cjs +2 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-transition.js +73 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-tree-walker.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-tree-walker.js +18 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-watch.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-watch.js +15 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-window-event.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-window-event.js +15 -0
- package/dist/node_modules/@headlessui/react/dist/internal/close-provider.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/internal/close-provider.js +9 -0
- package/dist/node_modules/@headlessui/react/dist/internal/disabled.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/internal/disabled.js +12 -0
- package/dist/node_modules/@headlessui/react/dist/internal/floating.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/internal/floating.js +154 -0
- package/dist/node_modules/@headlessui/react/dist/internal/form-fields.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/internal/form-fields.js +40 -0
- package/dist/node_modules/@headlessui/react/dist/internal/frozen.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/internal/frozen.js +14 -0
- package/dist/node_modules/@headlessui/react/dist/internal/hidden.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/internal/hidden.js +13 -0
- package/dist/node_modules/@headlessui/react/dist/internal/id.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/internal/id.js +12 -0
- package/dist/node_modules/@headlessui/react/dist/internal/open-closed.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/internal/open-closed.js +19 -0
- package/dist/node_modules/@headlessui/react/dist/internal/portal-force-root.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/internal/portal-force-root.js +12 -0
- package/dist/node_modules/@headlessui/react/dist/machine.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/machine.js +74 -0
- package/dist/node_modules/@headlessui/react/dist/machines/stack-machine.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/machines/stack-machine.js +33 -0
- package/dist/node_modules/@headlessui/react/dist/react-glue.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/react-glue.js +12 -0
- package/dist/node_modules/@headlessui/react/dist/utils/active-element-history.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/active-element-history.js +15 -0
- package/dist/node_modules/@headlessui/react/dist/utils/bugs.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/bugs.js +19 -0
- package/dist/node_modules/@headlessui/react/dist/utils/calculate-active-index.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/calculate-active-index.js +40 -0
- package/dist/node_modules/@headlessui/react/dist/utils/class-names.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/class-names.js +6 -0
- package/dist/node_modules/@headlessui/react/dist/utils/default-map.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/default-map.js +12 -0
- package/dist/node_modules/@headlessui/react/dist/utils/disposables.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/disposables.js +40 -0
- package/dist/node_modules/@headlessui/react/dist/utils/document-ready.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/document-ready.js +9 -0
- package/dist/node_modules/@headlessui/react/dist/utils/dom.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/dom.js +46 -0
- package/dist/node_modules/@headlessui/react/dist/utils/element-movement.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/element-movement.js +21 -0
- package/dist/node_modules/@headlessui/react/dist/utils/env.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/env.js +34 -0
- package/dist/node_modules/@headlessui/react/dist/utils/focus-management.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/focus-management.js +97 -0
- package/dist/node_modules/@headlessui/react/dist/utils/form.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/form.js +32 -0
- package/dist/node_modules/@headlessui/react/dist/utils/get-text-value.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/get-text-value.js +31 -0
- package/dist/node_modules/@headlessui/react/dist/utils/match.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/match.js +11 -0
- package/dist/node_modules/@headlessui/react/dist/utils/micro-task.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/micro-task.js +8 -0
- package/dist/node_modules/@headlessui/react/dist/utils/owner.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/owner.js +22 -0
- package/dist/node_modules/@headlessui/react/dist/utils/platform.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/platform.js +14 -0
- package/dist/node_modules/@headlessui/react/dist/utils/render.cjs +4 -0
- package/dist/node_modules/@headlessui/react/dist/utils/render.js +126 -0
- package/dist/node_modules/@headlessui/react/dist/utils/store.cjs +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/store.js +14 -0
- package/dist/node_modules/@radix-ui/primitive/dist/index.cjs +1 -0
- package/dist/node_modules/@radix-ui/primitive/dist/index.js +9 -0
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.cjs +1 -0
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.js +24 -0
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +1 -0
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +29 -0
- package/dist/node_modules/@radix-ui/react-context/dist/index.cjs +1 -0
- package/dist/node_modules/@radix-ui/react-context/dist/index.js +53 -0
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs +1 -0
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +127 -0
- package/dist/node_modules/@radix-ui/react-id/dist/index.cjs +1 -0
- package/dist/node_modules/@radix-ui/react-id/dist/index.js +13 -0
- package/dist/node_modules/@radix-ui/react-popper/dist/index.cjs +1 -0
- package/dist/node_modules/@radix-ui/react-popper/dist/index.js +219 -0
- package/dist/node_modules/@radix-ui/react-portal/dist/index.cjs +1 -0
- package/dist/node_modules/@radix-ui/react-portal/dist/index.js +15 -0
- package/dist/node_modules/@radix-ui/react-presence/dist/index.cjs +1 -0
- package/dist/node_modules/@radix-ui/react-presence/dist/index.js +70 -0
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.cjs +1 -0
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +36 -0
- package/dist/node_modules/@radix-ui/react-slot/dist/index.cjs +1 -0
- package/dist/node_modules/@radix-ui/react-slot/dist/index.js +55 -0
- package/dist/node_modules/@radix-ui/react-tooltip/dist/index.cjs +1 -0
- package/dist/node_modules/@radix-ui/react-tooltip/dist/index.js +338 -0
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +1 -0
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +10 -0
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs +1 -0
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +52 -0
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.cjs +1 -0
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +14 -0
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs +1 -0
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +6 -0
- package/dist/node_modules/@radix-ui/react-use-size/dist/index.cjs +1 -0
- package/dist/node_modules/@radix-ui/react-use-size/dist/index.js +27 -0
- package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.cjs +1 -0
- package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.js +32 -0
- package/dist/node_modules/@react-aria/focus/dist/useFocusRing.cjs +1 -0
- package/dist/node_modules/@react-aria/focus/dist/useFocusRing.js +38 -0
- package/dist/node_modules/@react-aria/interactions/dist/useFocus.cjs +1 -0
- package/dist/node_modules/@react-aria/interactions/dist/useFocus.js +30 -0
- package/dist/node_modules/@react-aria/interactions/dist/useFocusVisible.cjs +1 -0
- package/dist/node_modules/@react-aria/interactions/dist/useFocusVisible.js +97 -0
- package/dist/node_modules/@react-aria/interactions/dist/useFocusWithin.cjs +1 -0
- package/dist/node_modules/@react-aria/interactions/dist/useFocusWithin.js +57 -0
- package/dist/node_modules/@react-aria/interactions/dist/useHover.cjs +1 -0
- package/dist/node_modules/@react-aria/interactions/dist/useHover.js +86 -0
- package/dist/node_modules/@react-aria/interactions/dist/utils.cjs +1 -0
- package/dist/node_modules/@react-aria/interactions/dist/utils.js +66 -0
- package/dist/node_modules/@react-aria/utils/dist/DOMFunctions.cjs +1 -0
- package/dist/node_modules/@react-aria/utils/dist/DOMFunctions.js +27 -0
- package/dist/node_modules/@react-aria/utils/dist/domHelpers.cjs +1 -0
- package/dist/node_modules/@react-aria/utils/dist/domHelpers.js +15 -0
- package/dist/node_modules/@react-aria/utils/dist/focusWithoutScrolling.cjs +1 -0
- package/dist/node_modules/@react-aria/utils/dist/focusWithoutScrolling.js +45 -0
- package/dist/node_modules/@react-aria/utils/dist/isVirtualEvent.cjs +1 -0
- package/dist/node_modules/@react-aria/utils/dist/isVirtualEvent.js +7 -0
- package/dist/node_modules/@react-aria/utils/dist/openLink.cjs +1 -0
- package/dist/node_modules/@react-aria/utils/dist/openLink.js +28 -0
- package/dist/node_modules/@react-aria/utils/dist/platform.cjs +1 -0
- package/dist/node_modules/@react-aria/utils/dist/platform.js +47 -0
- package/dist/node_modules/@react-aria/utils/dist/useGlobalListeners.cjs +1 -0
- package/dist/node_modules/@react-aria/utils/dist/useGlobalListeners.js +34 -0
- package/dist/node_modules/@react-aria/utils/dist/useLayoutEffect.cjs +1 -0
- package/dist/node_modules/@react-aria/utils/dist/useLayoutEffect.js +6 -0
- package/dist/node_modules/@react-stately/flags/dist/import.cjs +1 -0
- package/dist/node_modules/@react-stately/flags/dist/import.js +7 -0
- package/dist/node_modules/@tanstack/react-virtual/dist/esm/index.cjs +1 -0
- package/dist/node_modules/@tanstack/react-virtual/dist/esm/index.js +38 -0
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/index.cjs +1 -0
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/index.js +533 -0
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/utils.cjs +4 -0
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/utils.js +52 -0
- package/dist/node_modules/class-variance-authority/dist/index.cjs +1 -0
- package/dist/node_modules/class-variance-authority/dist/index.js +35 -0
- package/dist/node_modules/clsx/dist/clsx.cjs +1 -0
- package/dist/node_modules/clsx/dist/clsx.js +16 -0
- package/dist/node_modules/date-fns/_lib/getRoundingMethod.cjs +1 -0
- package/dist/node_modules/date-fns/_lib/getRoundingMethod.js +9 -0
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.cjs +1 -0
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +18 -0
- package/dist/node_modules/date-fns/_lib/normalizeDates.cjs +1 -0
- package/dist/node_modules/date-fns/_lib/normalizeDates.js +11 -0
- package/dist/node_modules/date-fns/_lib/normalizeInterval.cjs +1 -0
- package/dist/node_modules/date-fns/_lib/normalizeInterval.js +8 -0
- package/dist/node_modules/date-fns/add.cjs +1 -0
- package/dist/node_modules/date-fns/add.js +19 -0
- package/dist/node_modules/date-fns/addDays.cjs +1 -0
- package/dist/node_modules/date-fns/addDays.js +9 -0
- package/dist/node_modules/date-fns/addMonths.cjs +1 -0
- package/dist/node_modules/date-fns/addMonths.js +19 -0
- package/dist/node_modules/date-fns/compareAsc.cjs +1 -0
- package/dist/node_modules/date-fns/compareAsc.js +8 -0
- package/dist/node_modules/date-fns/constants.cjs +1 -0
- package/dist/node_modules/date-fns/constants.js +7 -0
- package/dist/node_modules/date-fns/constructFrom.cjs +1 -0
- package/dist/node_modules/date-fns/constructFrom.js +7 -0
- package/dist/node_modules/date-fns/differenceInCalendarDays.cjs +1 -0
- package/dist/node_modules/date-fns/differenceInCalendarDays.js +15 -0
- package/dist/node_modules/date-fns/differenceInCalendarMonths.cjs +1 -0
- package/dist/node_modules/date-fns/differenceInCalendarMonths.js +12 -0
- package/dist/node_modules/date-fns/differenceInCalendarYears.cjs +1 -0
- package/dist/node_modules/date-fns/differenceInCalendarYears.js +12 -0
- package/dist/node_modules/date-fns/differenceInDays.cjs +1 -0
- package/dist/node_modules/date-fns/differenceInDays.js +21 -0
- package/dist/node_modules/date-fns/differenceInHours.cjs +1 -0
- package/dist/node_modules/date-fns/differenceInHours.js +14 -0
- package/dist/node_modules/date-fns/differenceInMilliseconds.cjs +1 -0
- package/dist/node_modules/date-fns/differenceInMilliseconds.js +7 -0
- package/dist/node_modules/date-fns/differenceInMinutes.cjs +1 -0
- package/dist/node_modules/date-fns/differenceInMinutes.js +10 -0
- package/dist/node_modules/date-fns/differenceInMonths.cjs +1 -0
- package/dist/node_modules/date-fns/differenceInMonths.js +23 -0
- package/dist/node_modules/date-fns/differenceInSeconds.cjs +1 -0
- package/dist/node_modules/date-fns/differenceInSeconds.js +9 -0
- package/dist/node_modules/date-fns/differenceInYears.cjs +1 -0
- package/dist/node_modules/date-fns/differenceInYears.js +16 -0
- package/dist/node_modules/date-fns/endOfDay.cjs +1 -0
- package/dist/node_modules/date-fns/endOfDay.js +8 -0
- package/dist/node_modules/date-fns/endOfMonth.cjs +1 -0
- package/dist/node_modules/date-fns/endOfMonth.js +8 -0
- package/dist/node_modules/date-fns/intervalToDuration.cjs +1 -0
- package/dist/node_modules/date-fns/intervalToDuration.js +25 -0
- package/dist/node_modules/date-fns/isAfter.cjs +1 -0
- package/dist/node_modules/date-fns/isAfter.js +7 -0
- package/dist/node_modules/date-fns/isLastDayOfMonth.cjs +1 -0
- package/dist/node_modules/date-fns/isLastDayOfMonth.js +10 -0
- package/dist/node_modules/date-fns/startOfDay.cjs +1 -0
- package/dist/node_modules/date-fns/startOfDay.js +8 -0
- package/dist/node_modules/date-fns/toDate.cjs +1 -0
- package/dist/node_modules/date-fns/toDate.js +7 -0
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.cjs +1 -0
- package/dist/{utils-koxKGlVV.js → node_modules/tailwind-merge/dist/bundle-mjs.js} +216 -244
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.development.cjs +1 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.development.js +57 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.production.cjs +1 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.production.js +56 -0
- package/dist/node_modules/use-sync-external-store/with-selector.cjs +1 -0
- package/dist/node_modules/use-sync-external-store/with-selector.js +10 -0
- package/dist/preflight.cjs +1 -0
- package/dist/preflight.js +1 -0
- package/dist/roster.cjs +1 -0
- package/dist/roster.js +184 -0
- package/dist/tokens.cjs +1 -0
- package/dist/tokens.js +1 -0
- package/dist/utils.cjs +1 -0
- package/dist/utils.d.ts +11 -8
- package/dist/utils.js +4 -0
- package/package.json +11 -10
- package/dist/Table-CSXfWRkc.js +0 -4949
- package/dist/Table-pfb9MJtO.cjs +0 -566
- package/dist/data-table.cjs.js +0 -1
- package/dist/data-table.es.js +0 -156
- package/dist/preflight.cjs.js +0 -1
- package/dist/preflight.es.js +0 -1
- package/dist/roster.cjs.js +0 -5
- package/dist/roster.es.js +0 -11334
- package/dist/tokens.cjs.js +0 -1
- package/dist/tokens.es.js +0 -1
- package/dist/utils-B4q42wBM.cjs +0 -1
- package/dist/utils.cjs.js +0 -1
- package/dist/utils.es.js +0 -4
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs as e, jsx as r } from "react/jsx-runtime";
|
|
3
|
+
import v from "react";
|
|
4
|
+
import { cva as f } from "../../../node_modules/class-variance-authority/dist/index.js";
|
|
5
|
+
import { cn as n } from "../../../lib/utils.js";
|
|
6
|
+
const o = /* @__PURE__ */ f("rst:flex rst:items-center rst:gap-2 rst:transition-all", {
|
|
7
|
+
variants: {
|
|
8
|
+
state: {
|
|
9
|
+
default: "",
|
|
10
|
+
winner: "",
|
|
11
|
+
loser: "rst:opacity-50 rst:grayscale",
|
|
12
|
+
tie: ""
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
defaultVariants: { state: "default" }
|
|
16
|
+
}), d = /* @__PURE__ */ f("rst:h-8 rst:w-8 rst:object-contain rst:transition-all rst:rounded-full", {
|
|
17
|
+
variants: {
|
|
18
|
+
state: {
|
|
19
|
+
default: "",
|
|
20
|
+
winner: "rst:ring-2 rst:ring-success-500 rst:bg-success-200/25",
|
|
21
|
+
loser: "",
|
|
22
|
+
tie: "rst:ring-2 rst:ring-gray-400"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
defaultVariants: { state: "default" }
|
|
26
|
+
}), N = v.forwardRef(
|
|
27
|
+
({
|
|
28
|
+
awayTeam: t,
|
|
29
|
+
homeTeam: s,
|
|
30
|
+
isCompleted: a = !1,
|
|
31
|
+
isTie: x = !1,
|
|
32
|
+
className: g,
|
|
33
|
+
...u
|
|
34
|
+
}, p) => {
|
|
35
|
+
const i = (m) => a ? x ? "tie" : m.isWinner ? "winner" : "loser" : "default", l = i(t), c = i(s);
|
|
36
|
+
return /* @__PURE__ */ e(
|
|
37
|
+
"button",
|
|
38
|
+
{
|
|
39
|
+
ref: p,
|
|
40
|
+
type: "button",
|
|
41
|
+
className: n(
|
|
42
|
+
"rst:flex rst:items-center rst:gap-3 rst:rounded-lg rst:p-2 rst:text-left rst:transition rst:hover:bg-gray-100 rst:dark:hover:bg-slate-800",
|
|
43
|
+
g
|
|
44
|
+
),
|
|
45
|
+
...u,
|
|
46
|
+
children: [
|
|
47
|
+
/* @__PURE__ */ e("div", { className: o({ state: l }), children: [
|
|
48
|
+
/* @__PURE__ */ r("div", { className: "rst:relative", children: /* @__PURE__ */ r(
|
|
49
|
+
"img",
|
|
50
|
+
{
|
|
51
|
+
src: t.logoSrc,
|
|
52
|
+
alt: t.name || `Team ${t.id}`,
|
|
53
|
+
className: d({ state: l })
|
|
54
|
+
}
|
|
55
|
+
) }),
|
|
56
|
+
/* @__PURE__ */ e("div", { className: "rst:flex rst:flex-col rst:items-end", children: [
|
|
57
|
+
t.accessory && /* @__PURE__ */ r(
|
|
58
|
+
"span",
|
|
59
|
+
{
|
|
60
|
+
className: n(
|
|
61
|
+
"rst:text-sm rst:text-gray-800 rst:dark:text-gray-300",
|
|
62
|
+
t.isWinner && "rst:font-bold"
|
|
63
|
+
),
|
|
64
|
+
children: t.accessory
|
|
65
|
+
}
|
|
66
|
+
),
|
|
67
|
+
a && t.score !== void 0 && /* @__PURE__ */ r("span", { className: "rst:text-xs rst:font-mono rst:font-semibold rst:text-gray-900 rst:dark:text-white", children: t.score })
|
|
68
|
+
] })
|
|
69
|
+
] }),
|
|
70
|
+
/* @__PURE__ */ r("span", { className: "rst:text-xs rst:font-medium rst:text-gray-500 rst:self-center rst:px-1", children: a ? "-" : "@" }),
|
|
71
|
+
/* @__PURE__ */ e("div", { className: o({ state: c }), children: [
|
|
72
|
+
/* @__PURE__ */ e("div", { className: "rst:flex rst:flex-col rst:items-start", children: [
|
|
73
|
+
s.accessory && /* @__PURE__ */ r(
|
|
74
|
+
"span",
|
|
75
|
+
{
|
|
76
|
+
className: n(
|
|
77
|
+
"rst:text-sm rst:text-gray-800 rst:dark:text-gray-300",
|
|
78
|
+
s.isWinner && "rst:font-bold"
|
|
79
|
+
),
|
|
80
|
+
children: s.accessory
|
|
81
|
+
}
|
|
82
|
+
),
|
|
83
|
+
a && s.score !== void 0 && /* @__PURE__ */ r("span", { className: "rst:text-xs rst:font-mono rst:font-semibold rst:text-gray-900 rst:dark:text-white", children: s.score })
|
|
84
|
+
] }),
|
|
85
|
+
/* @__PURE__ */ r("div", { className: "rst:relative", children: /* @__PURE__ */ r(
|
|
86
|
+
"img",
|
|
87
|
+
{
|
|
88
|
+
src: s.logoSrc,
|
|
89
|
+
alt: s.name || `Team ${s.id}`,
|
|
90
|
+
className: d({ state: c })
|
|
91
|
+
}
|
|
92
|
+
) })
|
|
93
|
+
] })
|
|
94
|
+
]
|
|
95
|
+
}
|
|
96
|
+
);
|
|
97
|
+
}
|
|
98
|
+
);
|
|
99
|
+
N.displayName = "MatchupCard";
|
|
100
|
+
export {
|
|
101
|
+
N as MatchupCard
|
|
102
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),c=require("react"),m=require("../../../lib/utils.cjs"),x=require("./pullquote-variants.cjs"),r=c.forwardRef(({children:s,cite:e,citeUrl:a,variant:l,colorScheme:u,className:n,...o},i)=>t.jsxs("figure",{ref:i,className:m.cn(x.pullquoteVariants({variant:l,colorScheme:u}),n),...o,children:[t.jsx("blockquote",{cite:a,className:"rst:m-0 rst:max-w-[48ch] rst:text-[1.03125rem] rst:leading-[1.5] rst:text-gray-900 rst:dark:text-gray-100",children:s}),e&&t.jsx("figcaption",{className:"rst:mt-[7px] rst:font-mono rst:text-[0.625rem] rst:uppercase rst:leading-none rst:tracking-[0.14em] rst:text-gray-500 rst:dark:text-gray-400",children:e})]}));r.displayName="Pullquote";exports.Pullquote=r;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs as c, jsx as r } from "react/jsx-runtime";
|
|
3
|
+
import n from "react";
|
|
4
|
+
import { cn as p } from "../../../lib/utils.js";
|
|
5
|
+
import { pullquoteVariants as u } from "./pullquote-variants.js";
|
|
6
|
+
const x = n.forwardRef(
|
|
7
|
+
({ children: e, cite: t, citeUrl: s, variant: a, colorScheme: o, className: m, ...l }, i) => /* @__PURE__ */ c(
|
|
8
|
+
"figure",
|
|
9
|
+
{
|
|
10
|
+
ref: i,
|
|
11
|
+
className: p(u({ variant: a, colorScheme: o }), m),
|
|
12
|
+
...l,
|
|
13
|
+
children: [
|
|
14
|
+
/* @__PURE__ */ r(
|
|
15
|
+
"blockquote",
|
|
16
|
+
{
|
|
17
|
+
cite: s,
|
|
18
|
+
className: "rst:m-0 rst:max-w-[48ch] rst:text-[1.03125rem] rst:leading-[1.5] rst:text-gray-900 rst:dark:text-gray-100",
|
|
19
|
+
children: e
|
|
20
|
+
}
|
|
21
|
+
),
|
|
22
|
+
t && /* @__PURE__ */ r("figcaption", { className: "rst:mt-[7px] rst:font-mono rst:text-[0.625rem] rst:uppercase rst:leading-none rst:tracking-[0.14em] rst:text-gray-500 rst:dark:text-gray-400", children: t })
|
|
23
|
+
]
|
|
24
|
+
}
|
|
25
|
+
)
|
|
26
|
+
);
|
|
27
|
+
x.displayName = "Pullquote";
|
|
28
|
+
export {
|
|
29
|
+
x as Pullquote
|
|
30
|
+
};
|
|
@@ -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:my-1",{variants:{variant:{rule:"rst:border-l-2 rst:pl-4 rst:py-[2px]",plain:"",centered:"rst:text-center rst:py-4 rst:[&>blockquote]:mx-auto"},colorScheme:{primary:"rst:border-primary-500 rst:dark:border-primary-400",success:"rst:border-success-500 rst:dark:border-success-400",error:"rst:border-error-500 rst:dark:border-error-400",amber:"rst:border-amber-500 rst:dark:border-amber-400",neutral:"rst:border-gray-300 rst:dark:border-gray-700",current:"rst:border-current"}},defaultVariants:{variant:"rule",colorScheme:"primary"}});exports.pullquoteVariants=e;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { cva as r } from "../../../node_modules/class-variance-authority/dist/index.js";
|
|
2
|
+
const t = /* @__PURE__ */ r("rst:my-1", {
|
|
3
|
+
variants: {
|
|
4
|
+
variant: {
|
|
5
|
+
/** Accent rule down the left. The quiet default. */
|
|
6
|
+
rule: "rst:border-l-2 rst:pl-4 rst:py-[2px]",
|
|
7
|
+
/** No rule; the quote carries itself on size alone. */
|
|
8
|
+
plain: "",
|
|
9
|
+
/**
|
|
10
|
+
* Centered, for a quote that gets a whole break in the page.
|
|
11
|
+
*
|
|
12
|
+
* `text-center` only centers the *lines*. The blockquote is a block box
|
|
13
|
+
* capped at 48ch, so without `mx-auto` it stays pinned to the left edge
|
|
14
|
+
* while the figcaption centers on the figure — the two land in visibly
|
|
15
|
+
* different places on any container wider than the quote.
|
|
16
|
+
*/
|
|
17
|
+
centered: "rst:text-center rst:py-4 rst:[&>blockquote]:mx-auto"
|
|
18
|
+
},
|
|
19
|
+
colorScheme: {
|
|
20
|
+
primary: "rst:border-primary-500 rst:dark:border-primary-400",
|
|
21
|
+
success: "rst:border-success-500 rst:dark:border-success-400",
|
|
22
|
+
error: "rst:border-error-500 rst:dark:border-error-400",
|
|
23
|
+
amber: "rst:border-amber-500 rst:dark:border-amber-400",
|
|
24
|
+
neutral: "rst:border-gray-300 rst:dark:border-gray-700",
|
|
25
|
+
current: "rst:border-current"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
defaultVariants: { variant: "rule", colorScheme: "primary" }
|
|
29
|
+
});
|
|
30
|
+
export {
|
|
31
|
+
t as pullquoteVariants
|
|
32
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime");require("react");const u=require("../../../node_modules/@headlessui/react/dist/components/description/description.cjs"),w=require("../../../node_modules/@headlessui/react/dist/components/field/field.cjs"),m=require("../../../node_modules/@headlessui/react/dist/components/label/label.cjs"),p=require("../../../node_modules/@headlessui/react/dist/components/radio-group/radio-group.cjs"),r=require("../../../lib/utils.cjs"),c=require("./radio-group-variants.cjs"),L={sm:"rst:text-xs",md:"rst:text-sm",lg:"rst:text-base"},D=({options:f,value:v,onChange:y,label:n,helperText:d,errorMessage:l,disabled:e=!1,size:j="md",orientation:i="vertical",colorScheme:b,className:N,optionsClassName:h,optionClassName:q,radioClassName:g,labelClassName:G,optionLabelClassName:z,descriptionClassName:R,messageClassName:S,"aria-invalid":V,...k})=>{const x=!!l,a=j??"md";return t.jsxs(p.RadioGroup,{value:v,onChange:y,disabled:e,className:r.cn("rst:font-ui rst:flex rst:flex-col rst:gap-1.5 rst:min-w-0",N),...k,"aria-invalid":x||V||void 0,"aria-orientation":i,children:[n&&t.jsx(m.Label,{className:r.cn("rst:block rst:text-sm rst:font-medium rst:text-[var(--roster-control-text)] rst:text-left",e&&"rst:opacity-50",G),children:n}),t.jsx("div",{className:r.cn(c.radioGroupOptionsVariants({size:a,orientation:i}),h),children:f.map(s=>t.jsxs(w.Field,{disabled:e||s.disabled,className:r.cn(c.radioOptionVariants({orientation:i,size:a}),q),children:[t.jsx(p.Radio,{value:s.value,className:({checked:o})=>r.cn(c.radioVariants({colorScheme:b,size:a,checked:o}),"rst:self-start",e||s.disabled?"rst:opacity-50 rst:cursor-not-allowed":"rst:cursor-pointer",g),children:({checked:o})=>t.jsx("span",{className:r.cn(c.radioDotVariants({size:a}),o?"rst:opacity-100":"rst:opacity-0")})}),t.jsxs("div",{className:r.cn("rst:flex rst:min-w-0 rst:flex-col",i==="vertical"&&"rst:flex-1"),children:[t.jsx(m.Label,{className:r.cn("rst:cursor-pointer rst:select-none","rst:text-[var(--roster-control-text)]","rst:data-disabled:cursor-not-allowed rst:data-disabled:opacity-50",L[a],z),children:s.label}),s.description&&t.jsx(u.Description,{className:r.cn("rst:text-xs rst:text-gray-500 rst:dark:text-gray-400 rst:data-disabled:opacity-50",R),children:s.description})]})]},s.value))}),(d||l)&&t.jsx(u.Description,{as:"p",className:r.cn("rst:text-xs rst:text-left",x?"rst:text-error-600 rst:dark:text-error-400 rst:font-medium":"rst:text-gray-500 rst:dark:text-gray-400",e&&"rst:opacity-50",S),children:l||d})]})};exports.RadioGroup=D;
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs as c, jsx as s } from "react/jsx-runtime";
|
|
3
|
+
import "react";
|
|
4
|
+
import { Description as x } from "../../../node_modules/@headlessui/react/dist/components/description/description.js";
|
|
5
|
+
import { Field as R } from "../../../node_modules/@headlessui/react/dist/components/field/field.js";
|
|
6
|
+
import { Label as p } from "../../../node_modules/@headlessui/react/dist/components/label/label.js";
|
|
7
|
+
import { RadioGroup as S, Radio as j } from "../../../node_modules/@headlessui/react/dist/components/radio-group/radio-group.js";
|
|
8
|
+
import { cn as t } from "../../../lib/utils.js";
|
|
9
|
+
import { radioDotVariants as D, radioVariants as O, radioOptionVariants as Z, radioGroupOptionsVariants as A } from "./radio-group-variants.js";
|
|
10
|
+
const B = {
|
|
11
|
+
sm: "rst:text-xs",
|
|
12
|
+
md: "rst:text-sm",
|
|
13
|
+
lg: "rst:text-base"
|
|
14
|
+
}, J = ({
|
|
15
|
+
options: f,
|
|
16
|
+
value: u,
|
|
17
|
+
onChange: v,
|
|
18
|
+
label: d,
|
|
19
|
+
helperText: m,
|
|
20
|
+
errorMessage: o,
|
|
21
|
+
disabled: a = !1,
|
|
22
|
+
size: y = "md",
|
|
23
|
+
orientation: i = "vertical",
|
|
24
|
+
colorScheme: N,
|
|
25
|
+
className: h,
|
|
26
|
+
optionsClassName: b,
|
|
27
|
+
optionClassName: z,
|
|
28
|
+
radioClassName: g,
|
|
29
|
+
labelClassName: k,
|
|
30
|
+
optionLabelClassName: w,
|
|
31
|
+
descriptionClassName: V,
|
|
32
|
+
messageClassName: E,
|
|
33
|
+
"aria-invalid": G,
|
|
34
|
+
...L
|
|
35
|
+
}) => {
|
|
36
|
+
const n = !!o, e = y ?? "md";
|
|
37
|
+
return /* @__PURE__ */ c(
|
|
38
|
+
S,
|
|
39
|
+
{
|
|
40
|
+
value: u,
|
|
41
|
+
onChange: v,
|
|
42
|
+
disabled: a,
|
|
43
|
+
className: t(
|
|
44
|
+
"rst:font-ui rst:flex rst:flex-col rst:gap-1.5 rst:min-w-0",
|
|
45
|
+
h
|
|
46
|
+
),
|
|
47
|
+
...L,
|
|
48
|
+
"aria-invalid": n || G || void 0,
|
|
49
|
+
"aria-orientation": i,
|
|
50
|
+
children: [
|
|
51
|
+
d && /* @__PURE__ */ s(
|
|
52
|
+
p,
|
|
53
|
+
{
|
|
54
|
+
className: t(
|
|
55
|
+
"rst:block rst:text-sm rst:font-medium rst:text-[var(--roster-control-text)] rst:text-left",
|
|
56
|
+
a && "rst:opacity-50",
|
|
57
|
+
k
|
|
58
|
+
),
|
|
59
|
+
children: d
|
|
60
|
+
}
|
|
61
|
+
),
|
|
62
|
+
/* @__PURE__ */ s(
|
|
63
|
+
"div",
|
|
64
|
+
{
|
|
65
|
+
className: t(
|
|
66
|
+
A({ size: e, orientation: i }),
|
|
67
|
+
b
|
|
68
|
+
),
|
|
69
|
+
children: f.map((r) => /* @__PURE__ */ c(
|
|
70
|
+
R,
|
|
71
|
+
{
|
|
72
|
+
disabled: a || r.disabled,
|
|
73
|
+
className: t(
|
|
74
|
+
Z({ orientation: i, size: e }),
|
|
75
|
+
z
|
|
76
|
+
),
|
|
77
|
+
children: [
|
|
78
|
+
/* @__PURE__ */ s(
|
|
79
|
+
j,
|
|
80
|
+
{
|
|
81
|
+
value: r.value,
|
|
82
|
+
className: ({ checked: l }) => t(
|
|
83
|
+
O({ colorScheme: N, size: e, checked: l }),
|
|
84
|
+
/* `self-start`, and no nudge. The circle's height equals the
|
|
85
|
+
label's line-height at every size, so aligning their top
|
|
86
|
+
edges puts the radio on the first line whether the label
|
|
87
|
+
is one line or four. */
|
|
88
|
+
"rst:self-start",
|
|
89
|
+
a || r.disabled ? "rst:opacity-50 rst:cursor-not-allowed" : "rst:cursor-pointer",
|
|
90
|
+
g
|
|
91
|
+
),
|
|
92
|
+
children: ({ checked: l }) => /* @__PURE__ */ s(
|
|
93
|
+
"span",
|
|
94
|
+
{
|
|
95
|
+
className: t(
|
|
96
|
+
D({ size: e }),
|
|
97
|
+
l ? "rst:opacity-100" : "rst:opacity-0"
|
|
98
|
+
)
|
|
99
|
+
}
|
|
100
|
+
)
|
|
101
|
+
}
|
|
102
|
+
),
|
|
103
|
+
/* @__PURE__ */ c(
|
|
104
|
+
"div",
|
|
105
|
+
{
|
|
106
|
+
className: t(
|
|
107
|
+
"rst:flex rst:min-w-0 rst:flex-col",
|
|
108
|
+
/* Down the page the label should take the rest of the row, so
|
|
109
|
+
the whole row is a hit target. Across, it must not: a
|
|
110
|
+
stretched label would push the options apart to fill the
|
|
111
|
+
line and the group would stop reading as a set of choices. */
|
|
112
|
+
i === "vertical" && "rst:flex-1"
|
|
113
|
+
),
|
|
114
|
+
children: [
|
|
115
|
+
/* @__PURE__ */ s(
|
|
116
|
+
p,
|
|
117
|
+
{
|
|
118
|
+
className: t(
|
|
119
|
+
"rst:cursor-pointer rst:select-none",
|
|
120
|
+
"rst:text-[var(--roster-control-text)]",
|
|
121
|
+
"rst:data-disabled:cursor-not-allowed rst:data-disabled:opacity-50",
|
|
122
|
+
B[e],
|
|
123
|
+
w
|
|
124
|
+
),
|
|
125
|
+
children: r.label
|
|
126
|
+
}
|
|
127
|
+
),
|
|
128
|
+
r.description && /* @__PURE__ */ s(
|
|
129
|
+
x,
|
|
130
|
+
{
|
|
131
|
+
className: t(
|
|
132
|
+
"rst:text-xs rst:text-gray-500 rst:dark:text-gray-400 rst:data-disabled:opacity-50",
|
|
133
|
+
V
|
|
134
|
+
),
|
|
135
|
+
children: r.description
|
|
136
|
+
}
|
|
137
|
+
)
|
|
138
|
+
]
|
|
139
|
+
}
|
|
140
|
+
)
|
|
141
|
+
]
|
|
142
|
+
},
|
|
143
|
+
r.value
|
|
144
|
+
))
|
|
145
|
+
}
|
|
146
|
+
),
|
|
147
|
+
(m || o) && /* @__PURE__ */ s(
|
|
148
|
+
x,
|
|
149
|
+
{
|
|
150
|
+
as: "p",
|
|
151
|
+
className: t(
|
|
152
|
+
"rst:text-xs rst:text-left",
|
|
153
|
+
n ? "rst:text-error-600 rst:dark:text-error-400 rst:font-medium" : "rst:text-gray-500 rst:dark:text-gray-400",
|
|
154
|
+
a && "rst:opacity-50",
|
|
155
|
+
E
|
|
156
|
+
),
|
|
157
|
+
children: o || m
|
|
158
|
+
}
|
|
159
|
+
)
|
|
160
|
+
]
|
|
161
|
+
}
|
|
162
|
+
);
|
|
163
|
+
};
|
|
164
|
+
export {
|
|
165
|
+
J as RadioGroup
|
|
166
|
+
};
|
|
@@ -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:items-center rst:justify-center rst:shrink-0 rst:rounded-full rst:border 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",md:"rst:h-5 rst:w-5",lg:"rst:h-6 rst:w-6"},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,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,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,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,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,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,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,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,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"}],defaultVariants:{colorScheme:"primary",size:"md",checked:!1}}),e=r.cva("rst:pointer-events-none rst:rounded-full rst:bg-current rst:transition-opacity rst:duration-200",{variants:{size:{sm:"rst:size-1.5",md:"rst:size-2",lg:"rst:size-2.5"}},defaultVariants:{size:"md"}}),s=r.cva("rst:flex rst:items-start rst:gap-2 rst:min-h-11",{variants:{orientation:{vertical:"",horizontal:"rst:min-w-11"},size:{sm:"rst:py-3.5",md:"rst:py-3",lg:"rst:py-2.5"}},defaultVariants:{orientation:"vertical",size:"md"}}),a=r.cva("rst:flex",{variants:{orientation:{vertical:"rst:flex-col",horizontal:"rst:flex-row rst:flex-wrap rst:items-start"},size:{sm:"rst:gap-0",md:"rst:gap-0.5",lg:"rst:gap-1"}},compoundVariants:[{orientation:"horizontal",size:"sm",class:"rst:gap-x-4"},{orientation:"horizontal",size:"md",class:"rst:gap-x-5"},{orientation:"horizontal",size:"lg",class:"rst:gap-x-6"}],defaultVariants:{orientation:"vertical",size:"md"}});exports.radioDotVariants=e;exports.radioGroupOptionsVariants=a;exports.radioOptionVariants=s;exports.radioVariants=t;
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { cva as r } from "../../../node_modules/class-variance-authority/dist/index.js";
|
|
2
|
+
const e = /* @__PURE__ */ r(
|
|
3
|
+
"rst:font-ui rst:relative rst:flex rst:items-center rst:justify-center rst:shrink-0 rst:rounded-full rst:border 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",
|
|
8
|
+
md: "rst:h-5 rst:w-5",
|
|
9
|
+
lg: "rst:h-6 rst:w-6"
|
|
10
|
+
},
|
|
11
|
+
checked: {
|
|
12
|
+
true: "",
|
|
13
|
+
false: "rst:bg-white rst:border-[var(--roster-control-border)] rst:dark:bg-gray-900 rst:text-transparent"
|
|
14
|
+
},
|
|
15
|
+
colorScheme: {
|
|
16
|
+
primary: "",
|
|
17
|
+
orange: "",
|
|
18
|
+
teal: "",
|
|
19
|
+
purple: "",
|
|
20
|
+
amber: "",
|
|
21
|
+
success: "",
|
|
22
|
+
error: "",
|
|
23
|
+
neutral: ""
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
compoundVariants: [
|
|
27
|
+
{ checked: !0, 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" },
|
|
28
|
+
{ checked: !0, 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" },
|
|
29
|
+
{ checked: !0, 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" },
|
|
30
|
+
{ checked: !0, 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" },
|
|
31
|
+
{ checked: !0, 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" },
|
|
32
|
+
{ checked: !0, 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" },
|
|
33
|
+
{ checked: !0, 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" },
|
|
34
|
+
{ checked: !0, 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" }
|
|
35
|
+
],
|
|
36
|
+
defaultVariants: {
|
|
37
|
+
colorScheme: "primary",
|
|
38
|
+
size: "md",
|
|
39
|
+
checked: !1
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
), s = /* @__PURE__ */ r(
|
|
43
|
+
"rst:pointer-events-none rst:rounded-full rst:bg-current rst:transition-opacity rst:duration-200",
|
|
44
|
+
{
|
|
45
|
+
variants: {
|
|
46
|
+
size: {
|
|
47
|
+
sm: "rst:size-1.5",
|
|
48
|
+
md: "rst:size-2",
|
|
49
|
+
lg: "rst:size-2.5"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
defaultVariants: { size: "md" }
|
|
53
|
+
}
|
|
54
|
+
), a = /* @__PURE__ */ r(
|
|
55
|
+
"rst:flex rst:items-start rst:gap-2 rst:min-h-11",
|
|
56
|
+
{
|
|
57
|
+
variants: {
|
|
58
|
+
orientation: {
|
|
59
|
+
vertical: "",
|
|
60
|
+
horizontal: "rst:min-w-11"
|
|
61
|
+
},
|
|
62
|
+
size: {
|
|
63
|
+
sm: "rst:py-3.5",
|
|
64
|
+
md: "rst:py-3",
|
|
65
|
+
lg: "rst:py-2.5"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
defaultVariants: { orientation: "vertical", size: "md" }
|
|
69
|
+
}
|
|
70
|
+
), o = /* @__PURE__ */ r("rst:flex", {
|
|
71
|
+
variants: {
|
|
72
|
+
orientation: {
|
|
73
|
+
vertical: "rst:flex-col",
|
|
74
|
+
horizontal: "rst:flex-row rst:flex-wrap rst:items-start"
|
|
75
|
+
},
|
|
76
|
+
size: {
|
|
77
|
+
sm: "rst:gap-0",
|
|
78
|
+
md: "rst:gap-0.5",
|
|
79
|
+
lg: "rst:gap-1"
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
compoundVariants: [
|
|
83
|
+
{ orientation: "horizontal", size: "sm", class: "rst:gap-x-4" },
|
|
84
|
+
{ orientation: "horizontal", size: "md", class: "rst:gap-x-5" },
|
|
85
|
+
{ orientation: "horizontal", size: "lg", class: "rst:gap-x-6" }
|
|
86
|
+
],
|
|
87
|
+
defaultVariants: { orientation: "vertical", size: "md" }
|
|
88
|
+
});
|
|
89
|
+
export {
|
|
90
|
+
s as radioDotVariants,
|
|
91
|
+
o as radioGroupOptionsVariants,
|
|
92
|
+
a as radioOptionVariants,
|
|
93
|
+
e as radioVariants
|
|
94
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),p=require("react"),c=require("../../../node_modules/@fortawesome/react-fontawesome/dist/index.cjs"),s=require("../../../node_modules/@fortawesome/free-solid-svg-icons/index.cjs"),l=require("../../../lib/utils.cjs"),g=require("./toast-variants.cjs");function x(r){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const a in r)if(a!=="default"){const n=Object.getOwnPropertyDescriptor(r,a);Object.defineProperty(t,a,n.get?n:{enumerable:!0,get:()=>r[a]})}}return t.default=r,Object.freeze(t)}const j=x(p),h={success:s.faCircleCheck,error:s.faCircleExclamation,amber:s.faTriangleExclamation,info:s.faCircleInfo,primary:s.faCircleInfo,neutral:s.faCircleInfo},u=j.forwardRef(({className:r,colorScheme:t="neutral",variant:a="soft",title:n,icon:i,onDismiss:o,dismissLabel:f="Dismiss",children:d,...m},b)=>e.jsxs("div",{ref:b,className:l.cn(g.toastVariants({colorScheme:t,variant:a}),r),...m,children:[i!==null&&e.jsx("span",{"aria-hidden":"true",className:"rst:mt-0.5 rst:shrink-0",children:i??e.jsx(c.FontAwesomeIcon,{icon:h[t??"neutral"],className:"rst:h-4 rst:w-4"})}),e.jsxs("div",{className:"rst:flex rst:min-w-0 rst:flex-col rst:gap-0.5",children:[n&&e.jsx("p",{className:"rst:font-semibold",children:n}),e.jsx("div",{className:"rst:min-w-0 rst:break-words",children:d})]}),o&&e.jsx("button",{type:"button",onClick:o,"aria-label":f,className:l.cn("rst:-mr-1 rst:ml-auto rst:shrink-0 rst:cursor-pointer rst:rounded rst:opacity-70 rst:hover:opacity-100","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"),children:e.jsx(c.FontAwesomeIcon,{icon:s.faXmark,className:"rst:h-3.5 rst:w-3.5","aria-hidden":"true"})})]}));u.displayName="Toast";exports.Toast=u;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs as o, jsx as r } from "react/jsx-runtime";
|
|
3
|
+
import * as h from "react";
|
|
4
|
+
import { FontAwesomeIcon as n } from "../../../node_modules/@fortawesome/react-fontawesome/dist/index.js";
|
|
5
|
+
import { faCircleInfo as s, faTriangleExclamation as b, faCircleExclamation as N, faCircleCheck as g, faXmark as v } from "../../../node_modules/@fortawesome/free-solid-svg-icons/index.js";
|
|
6
|
+
import { cn as l } from "../../../lib/utils.js";
|
|
7
|
+
import { toastVariants as k } from "./toast-variants.js";
|
|
8
|
+
const w = {
|
|
9
|
+
success: g,
|
|
10
|
+
error: N,
|
|
11
|
+
amber: b,
|
|
12
|
+
info: s,
|
|
13
|
+
primary: s,
|
|
14
|
+
neutral: s
|
|
15
|
+
}, x = h.forwardRef(
|
|
16
|
+
({
|
|
17
|
+
className: c,
|
|
18
|
+
colorScheme: t = "neutral",
|
|
19
|
+
variant: m = "soft",
|
|
20
|
+
title: a,
|
|
21
|
+
icon: i,
|
|
22
|
+
onDismiss: e,
|
|
23
|
+
dismissLabel: f = "Dismiss",
|
|
24
|
+
children: d,
|
|
25
|
+
...u
|
|
26
|
+
}, p) => /* @__PURE__ */ o(
|
|
27
|
+
"div",
|
|
28
|
+
{
|
|
29
|
+
ref: p,
|
|
30
|
+
className: l(k({ colorScheme: t, variant: m }), c),
|
|
31
|
+
...u,
|
|
32
|
+
children: [
|
|
33
|
+
i !== null && /* @__PURE__ */ r("span", { "aria-hidden": "true", className: "rst:mt-0.5 rst:shrink-0", children: i ?? /* @__PURE__ */ r(
|
|
34
|
+
n,
|
|
35
|
+
{
|
|
36
|
+
icon: w[t ?? "neutral"],
|
|
37
|
+
className: "rst:h-4 rst:w-4"
|
|
38
|
+
}
|
|
39
|
+
) }),
|
|
40
|
+
/* @__PURE__ */ o("div", { className: "rst:flex rst:min-w-0 rst:flex-col rst:gap-0.5", children: [
|
|
41
|
+
a && /* @__PURE__ */ r("p", { className: "rst:font-semibold", children: a }),
|
|
42
|
+
/* @__PURE__ */ r("div", { className: "rst:min-w-0 rst:break-words", children: d })
|
|
43
|
+
] }),
|
|
44
|
+
e && /* @__PURE__ */ r(
|
|
45
|
+
"button",
|
|
46
|
+
{
|
|
47
|
+
type: "button",
|
|
48
|
+
onClick: e,
|
|
49
|
+
"aria-label": f,
|
|
50
|
+
className: l(
|
|
51
|
+
"rst:-mr-1 rst:ml-auto rst:shrink-0 rst:cursor-pointer rst:rounded rst:opacity-70 rst:hover:opacity-100",
|
|
52
|
+
"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"
|
|
53
|
+
),
|
|
54
|
+
children: /* @__PURE__ */ r(n, { icon: v, className: "rst:h-3.5 rst:w-3.5", "aria-hidden": "true" })
|
|
55
|
+
}
|
|
56
|
+
)
|
|
57
|
+
]
|
|
58
|
+
}
|
|
59
|
+
)
|
|
60
|
+
);
|
|
61
|
+
x.displayName = "Toast";
|
|
62
|
+
export {
|
|
63
|
+
x as Toast
|
|
64
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),r=require("react-hot-toast"),p=require("./Toast.cjs"),T=require("../../atoms/Spinner/Spinner.cjs"),b=require("./toast-api.cjs");function g({position:n="bottom-right",duration:e=4e3,dismissible:a=!0,variant:c="soft",gutter:l,reverseOrder:u,containerClassName:m}){return o.jsx(r.Toaster,{position:n,gutter:l,reverseOrder:u,containerClassName:m,toastOptions:{success:{duration:e},error:{duration:e},blank:{duration:e},custom:{duration:e}},children:s=>{const d=s.className?.split(/\s+/)??[],t=E.find(f=>d.includes(`${b.TONE_PREFIX}${f}`)),i=t?S[t]:v[s.type]??"neutral";return o.jsx(p.Toast,{colorScheme:i,variant:c,icon:s.icon??(s.type==="loading"?o.jsx(T.Spinner,{size:"sm"}):void 0),onDismiss:a?()=>r.toast.dismiss(s.id):void 0,...i==="error"?{role:"alert","aria-live":"assertive"}:s.ariaProps,className:y[s.visible?"in":"out"],children:r.resolveValue(s.message,s)})}})}const E=["info","warning"],S={info:"info",warning:"amber"},v={success:"success",error:"error",loading:"neutral",blank:"neutral",custom:"neutral"},y={in:"rst:motion-safe:animate-in rst:motion-safe:fade-in-0 rst:motion-safe:slide-in-from-bottom-2",out:"rst:opacity-0 rst:transition-opacity rst:duration-200"};exports.Toaster=g;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
3
|
+
import { Toaster as p, resolveValue as d, toast as E } from "react-hot-toast";
|
|
4
|
+
import { Toast as T } from "./Toast.js";
|
|
5
|
+
import { Spinner as b } from "../../atoms/Spinner/Spinner.js";
|
|
6
|
+
import { TONE_PREFIX as g } from "./toast-api.js";
|
|
7
|
+
function I({
|
|
8
|
+
position: t = "bottom-right",
|
|
9
|
+
duration: o = 4e3,
|
|
10
|
+
dismissible: n = !0,
|
|
11
|
+
variant: a = "soft",
|
|
12
|
+
gutter: c,
|
|
13
|
+
reverseOrder: m,
|
|
14
|
+
containerClassName: l
|
|
15
|
+
}) {
|
|
16
|
+
return /* @__PURE__ */ r(
|
|
17
|
+
p,
|
|
18
|
+
{
|
|
19
|
+
position: t,
|
|
20
|
+
gutter: c,
|
|
21
|
+
reverseOrder: m,
|
|
22
|
+
containerClassName: l,
|
|
23
|
+
toastOptions: {
|
|
24
|
+
success: { duration: o },
|
|
25
|
+
error: { duration: o },
|
|
26
|
+
blank: { duration: o },
|
|
27
|
+
custom: { duration: o }
|
|
28
|
+
},
|
|
29
|
+
children: (s) => {
|
|
30
|
+
const f = s.className?.split(/\s+/) ?? [], e = v.find(
|
|
31
|
+
(u) => f.includes(`${g}${u}`)
|
|
32
|
+
), i = e ? N[e] : h[s.type] ?? "neutral";
|
|
33
|
+
return /* @__PURE__ */ r(
|
|
34
|
+
T,
|
|
35
|
+
{
|
|
36
|
+
colorScheme: i,
|
|
37
|
+
variant: a,
|
|
38
|
+
icon: s.icon ?? (s.type === "loading" ? /* @__PURE__ */ r(b, { size: "sm" }) : void 0),
|
|
39
|
+
onDismiss: n ? () => E.dismiss(s.id) : void 0,
|
|
40
|
+
...i === "error" ? { role: "alert", "aria-live": "assertive" } : s.ariaProps,
|
|
41
|
+
className: O[s.visible ? "in" : "out"],
|
|
42
|
+
children: d(s.message, s)
|
|
43
|
+
}
|
|
44
|
+
);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
);
|
|
48
|
+
}
|
|
49
|
+
const v = ["info", "warning"], N = {
|
|
50
|
+
info: "info",
|
|
51
|
+
/* `amber` is the library's warning color; Alert names it the same way. */
|
|
52
|
+
warning: "amber"
|
|
53
|
+
}, h = {
|
|
54
|
+
success: "success",
|
|
55
|
+
error: "error",
|
|
56
|
+
loading: "neutral",
|
|
57
|
+
blank: "neutral",
|
|
58
|
+
custom: "neutral"
|
|
59
|
+
}, O = {
|
|
60
|
+
in: "rst:motion-safe:animate-in rst:motion-safe:fade-in-0 rst:motion-safe:slide-in-from-bottom-2",
|
|
61
|
+
/* Leaving is a transition rather than an `animate-out`: this build ships the
|
|
62
|
+
enter half of the animation utilities and not the exit half, which
|
|
63
|
+
`scripts/check-classes-emit.mjs` caught by failing the build on classes
|
|
64
|
+
that produce no CSS. A fade on opacity needs no plugin and is honest about
|
|
65
|
+
what it does. */
|
|
66
|
+
out: "rst:opacity-0 rst:transition-opacity rst:duration-200"
|
|
67
|
+
};
|
|
68
|
+
export {
|
|
69
|
+
I as Toaster
|
|
70
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react-hot-toast"),i=Object.assign((t,s)=>o.toast(t,e(null,s)),{success:(t,s)=>o.toast.success(t,e(null,s)),error:(t,s)=>o.toast.error(t,e(null,s)),info:(t,s)=>o.toast(t,e("info",s)),warning:(t,s)=>o.toast(t,e("warning",s)),loading:(t,s)=>o.toast.loading(t,e(null,s)),custom:o.toast.custom,dismiss:o.toast.dismiss,remove:o.toast.remove,promise:o.toast.promise}),a="rst-toast-tone-",e=(t,s)=>{const r=(s?.className??"").split(/\s+/).filter(n=>n&&!n.startsWith(a));return t&&r.push(`${a}${t}`),{...s,className:r.join(" ")}};exports.TONE_PREFIX=a;exports.toast=i;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { toast as o } from "react-hot-toast";
|
|
3
|
+
const a = /* @__PURE__ */ Object.assign(
|
|
4
|
+
(s, t) => o(s, e(null, t)),
|
|
5
|
+
{
|
|
6
|
+
success: (s, t) => o.success(s, e(null, t)),
|
|
7
|
+
error: (s, t) => o.error(s, e(null, t)),
|
|
8
|
+
/* Both ride on `blank` plus an explicit tone marker, because
|
|
9
|
+
react-hot-toast has no slot for them. `Toaster` reads the marker to pick
|
|
10
|
+
a color scheme, so they are real tones rather than a red toast wearing a
|
|
11
|
+
different word. */
|
|
12
|
+
info: (s, t) => o(s, e("info", t)),
|
|
13
|
+
warning: (s, t) => o(s, e("warning", t)),
|
|
14
|
+
loading: (s, t) => o.loading(s, e(null, t)),
|
|
15
|
+
custom: o.custom,
|
|
16
|
+
dismiss: o.dismiss,
|
|
17
|
+
remove: o.remove,
|
|
18
|
+
promise: o.promise
|
|
19
|
+
}
|
|
20
|
+
), i = "rst-toast-tone-", e = (s, t) => {
|
|
21
|
+
const n = (t?.className ?? "").split(/\s+/).filter((r) => r && !r.startsWith(i));
|
|
22
|
+
return s && n.push(`${i}${s}`), { ...t, className: n.join(" ") };
|
|
23
|
+
};
|
|
24
|
+
export {
|
|
25
|
+
i as TONE_PREFIX,
|
|
26
|
+
a as toast
|
|
27
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../../../node_modules/class-variance-authority/dist/index.cjs"),s=r.cva("rst:font-ui rst:pointer-events-auto rst:flex rst:items-start rst:gap-2.5 rst:rounded-lg rst:border rst:elevation-overlay rst:px-4 rst:py-3 rst:text-sm",{variants:{colorScheme:{success:"",error:"",amber:"",info:"",primary:"",neutral:""},variant:{soft:"",solid:"",glass:"rst:bg-white/60 rst:text-gray-900 rst:backdrop-blur-xl rst:dark:bg-slate-900/60 rst:dark:text-white"}},compoundVariants:[{variant:"soft",colorScheme:"success",className:"rst:border-success-300 rst:bg-success-50 rst:text-success-800 rst:dark:border-success-500/40 rst:dark:bg-success-900 rst:dark:text-success-200"},{variant:"soft",colorScheme:"error",className:"rst:border-error-300 rst:bg-error-50 rst:text-error-800 rst:dark:border-error-500/40 rst:dark:bg-error-900 rst:dark:text-error-200"},{variant:"soft",colorScheme:"amber",className:"rst:border-amber-300 rst:bg-amber-50 rst:text-amber-900 rst:dark:border-amber-500/40 rst:dark:bg-amber-900 rst:dark:text-amber-200"},{variant:"soft",colorScheme:"info",className:"rst:border-info-300 rst:bg-info-50 rst:text-info-800 rst:dark:border-info-500/40 rst:dark:bg-info-900 rst:dark:text-info-200"},{variant:"soft",colorScheme:"primary",className:"rst:border-primary-300 rst:bg-primary-50 rst:text-primary-800 rst:dark:border-primary-500/40 rst:dark:bg-primary-900 rst:dark:text-primary-200"},{variant:"soft",colorScheme:"neutral",className:"rst:border-[var(--roster-popover-border)] rst:bg-[var(--roster-popover-bg)] rst:text-[var(--roster-popover-text)]"},{variant:"solid",colorScheme:"success",className:"rst:border-success-500 rst:bg-success-500 rst:text-success-500-ink"},{variant:"solid",colorScheme:"error",className:"rst:border-error-500 rst:bg-error-500 rst:text-error-500-ink"},{variant:"solid",colorScheme:"amber",className:"rst:border-amber-500 rst:bg-amber-500 rst:text-amber-500-ink"},{variant:"solid",colorScheme:"info",className:"rst:border-info-500 rst:bg-info-500 rst:text-info-500-ink"},{variant:"solid",colorScheme:"primary",className:"rst:border-primary-500 rst:bg-primary-500 rst:text-primary-500-ink"},{variant:"solid",colorScheme:"neutral",className:"rst:border-gray-600 rst:bg-gray-600 rst:text-gray-600-ink rst:dark:border-gray-500 rst:dark:bg-gray-500 rst:dark:text-gray-500-ink"},{variant:"glass",colorScheme:"success",className:"rst:border-success-400/60"},{variant:"glass",colorScheme:"error",className:"rst:border-error-400/60"},{variant:"glass",colorScheme:"amber",className:"rst:border-amber-400/60"},{variant:"glass",colorScheme:"info",className:"rst:border-info-400/60"},{variant:"glass",colorScheme:"primary",className:"rst:border-primary-400/60"},{variant:"glass",colorScheme:"neutral",className:"rst:border-white/30 rst:dark:border-slate-700/50"}],defaultVariants:{colorScheme:"neutral",variant:"soft"}});exports.toastVariants=s;
|