@clicktap/ui 0.12.6 → 0.12.8
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/package.json +13 -32
- package/src/components/Accordion.js +1 -0
- package/src/components/Avatar.js +1 -0
- package/src/components/Badge.js +1 -0
- package/src/components/Breadcrumbs.js +1 -0
- package/src/components/Button.js +1 -0
- package/src/components/Card.js +1 -0
- package/src/components/Checkbox.js +1 -0
- package/src/components/Collapsible.js +1 -0
- package/src/components/Container.js +1 -0
- package/src/components/ContextMenu.js +1 -0
- package/src/components/CreditCardExpirationInput.js +1 -0
- package/src/components/CreditCardInput.js +1 -0
- package/src/components/DateInput.js +1 -0
- package/src/components/Dialog.js +1 -0
- package/src/components/DialogTrigger.js +1 -0
- package/src/components/Divider.js +1 -0
- package/src/components/Drawer.js +1 -0
- package/src/components/Input.js +1 -0
- package/src/components/Link.js +1 -0
- package/src/components/Loader.js +1 -0
- package/src/components/Meter.js +1 -0
- package/src/components/Modal.js +1 -0
- package/src/components/ModalOverlay.js +1 -0
- package/src/components/NumberInput.js +1 -0
- package/src/components/PinInput.js +1 -0
- package/src/components/Progressbar.js +1 -0
- package/src/components/Radio.js +1 -0
- package/src/components/Select.js +1 -0
- package/src/components/Slider.js +1 -0
- package/src/components/Switch.js +1 -0
- package/src/components/Tabs.js +1 -0
- package/src/components/TimeInput.js +1 -0
- package/src/components/ToggleButton.js +1 -0
- package/src/components/Tooltip.js +1 -0
- package/src/hooks/useEnterExitAnimation.js +1 -0
- package/src/libs/ui/src/components/Accordion/Accordion.js +1 -0
- package/src/libs/ui/src/components/Avatar/Avatar.js +1 -0
- package/src/libs/ui/src/components/Avatar/AvatarGroup/AvatarGroup.js +1 -0
- package/src/libs/ui/src/components/Badge/Badge.js +1 -0
- package/src/libs/ui/src/components/Breadcrumbs/BreadcrumbEllipsis.js +1 -0
- package/src/libs/ui/src/components/Breadcrumbs/BreadcrumbItem.js +1 -0
- package/src/libs/ui/src/components/Breadcrumbs/BreadcrumbLink.js +1 -0
- package/src/libs/ui/src/components/Breadcrumbs/BreadcrumbSeparator.js +1 -0
- package/src/libs/ui/src/components/Breadcrumbs/Breadcrumbs.js +1 -0
- package/src/libs/ui/src/components/Button/Button.js +1 -0
- package/src/libs/ui/src/components/Card/Card.js +1 -0
- package/src/libs/ui/src/components/Checkbox/Checkbox.js +1 -0
- package/src/libs/ui/src/components/Collapsible/Collapsible.js +1 -0
- package/src/libs/ui/src/components/Collapsible/CollapsibleTrigger.js +1 -0
- package/src/libs/ui/src/components/Container/Container.js +1 -0
- package/src/libs/ui/src/components/ContextMenu/ContextMenu.js +1 -0
- package/src/libs/ui/src/components/CreditCardExpirationInput/CreditCardExpirationInput.js +1 -0
- package/src/libs/ui/src/components/CreditCardInput/CreditCardInput.js +1 -0
- package/src/libs/ui/src/components/DateInput/DateInput.js +1 -0
- package/src/libs/ui/src/components/Dialog/Dialog.js +1 -0
- package/src/libs/ui/src/components/DialogTrigger/DialogTrigger.js +1 -0
- package/src/libs/ui/src/components/Divider/Divider.js +1 -0
- package/src/libs/ui/src/components/Drawer/Drawer.js +1 -0
- package/src/libs/ui/src/components/Input/Input.js +1 -0
- package/src/libs/ui/src/components/Link/Link.js +1 -0
- package/src/libs/ui/src/components/Loader/CircularEasing.js +1 -0
- package/src/libs/ui/src/components/Loader/Pulse.js +1 -0
- package/src/libs/ui/src/components/Meter/Meter.js +1 -0
- package/src/libs/ui/src/components/Modal/Modal.js +1 -0
- package/src/libs/ui/src/components/ModalOverlay/ModalOverlay.js +1 -0
- package/src/libs/ui/src/components/NumberInput/NumberInput.js +1 -0
- package/src/libs/ui/src/components/PinInput/PinInput.js +1 -0
- package/src/libs/ui/src/components/Progressbar/CircularProgressbar.js +1 -0
- package/src/libs/ui/src/components/Progressbar/LinearProgressbar.js +1 -0
- package/src/libs/ui/src/components/Radio/Radio.js +1 -0
- package/src/libs/ui/src/components/Select/Option.js +1 -0
- package/src/libs/ui/src/components/Select/Select.js +1 -0
- package/src/libs/ui/src/components/Slider/Slider.js +1 -0
- package/src/libs/ui/src/components/Switch/Switch.js +1 -0
- package/src/libs/ui/src/components/Tabs/Tab.js +1 -0
- package/src/libs/ui/src/components/Tabs/TabList.js +1 -0
- package/src/libs/ui/src/components/Tabs/TabPanel.js +1 -0
- package/src/libs/ui/src/components/Tabs/Tabs.js +1 -0
- package/src/libs/ui/src/components/TimeInput/TimeInput.js +1 -0
- package/src/libs/ui/src/components/ToggleButton/ToggleButton.js +1 -0
- package/src/libs/ui/src/components/Tooltip/Tooltip.js +1 -0
- package/src/node_modules/.pnpm/@nextui-org_accordion@2.0.40_@nextui-org_system@2.2.6_@nextui-org_theme@2.2.11_framer-motion@_ythdhtgm5nli6ckalhd46fx7qq/node_modules/@nextui-org/accordion/dist/chunk-HYTFRFNK.js +1 -0
- package/src/node_modules/.pnpm/@nextui-org_accordion@2.0.40_@nextui-org_system@2.2.6_@nextui-org_theme@2.2.11_framer-motion@_ythdhtgm5nli6ckalhd46fx7qq/node_modules/@nextui-org/accordion/dist/chunk-LDUMD4XQ.js +1 -0
- package/src/node_modules/.pnpm/@nextui-org_accordion@2.0.40_@nextui-org_system@2.2.6_@nextui-org_theme@2.2.11_framer-motion@_ythdhtgm5nli6ckalhd46fx7qq/node_modules/@nextui-org/accordion/dist/chunk-PN4MRYMG.js +1 -0
- package/src/node_modules/.pnpm/@nextui-org_accordion@2.0.40_@nextui-org_system@2.2.6_@nextui-org_theme@2.2.11_framer-motion@_ythdhtgm5nli6ckalhd46fx7qq/node_modules/@nextui-org/accordion/dist/chunk-PNGZVYML.js +1 -0
- package/src/node_modules/.pnpm/@nextui-org_accordion@2.0.40_@nextui-org_system@2.2.6_@nextui-org_theme@2.2.11_framer-motion@_ythdhtgm5nli6ckalhd46fx7qq/node_modules/@nextui-org/accordion/dist/chunk-XGGOPONM.js +1 -0
- package/src/node_modules/.pnpm/@nextui-org_aria-utils@2.0.26_@nextui-org_theme@2.2.11_framer-motion@11.11.10_react-dom@18.2.0_react@18.2.0/node_modules/@nextui-org/aria-utils/dist/chunk-WQVQ7P2I.js +1 -0
- package/src/node_modules/.pnpm/@nextui-org_avatar@2.0.33_@nextui-org_system@2.2.6_@nextui-org_theme@2.2.11_react-dom@18.2.0_react@18.2.0/node_modules/@nextui-org/avatar/dist/chunk-25E6VDTZ.js +1 -0
- package/src/node_modules/.pnpm/@nextui-org_avatar@2.0.33_@nextui-org_system@2.2.6_@nextui-org_theme@2.2.11_react-dom@18.2.0_react@18.2.0/node_modules/@nextui-org/avatar/dist/chunk-PM5WBSHT.js +1 -0
- package/src/node_modules/.pnpm/@nextui-org_avatar@2.0.33_@nextui-org_system@2.2.6_@nextui-org_theme@2.2.11_react-dom@18.2.0_react@18.2.0/node_modules/@nextui-org/avatar/dist/chunk-QXREVWCS.js +1 -0
- package/src/node_modules/.pnpm/@nextui-org_avatar@2.0.33_@nextui-org_system@2.2.6_@nextui-org_theme@2.2.11_react-dom@18.2.0_react@18.2.0/node_modules/@nextui-org/avatar/dist/chunk-T76DLOWU.js +1 -0
- package/src/node_modules/.pnpm/@nextui-org_avatar@2.0.33_@nextui-org_system@2.2.6_@nextui-org_theme@2.2.11_react-dom@18.2.0_react@18.2.0/node_modules/@nextui-org/avatar/dist/chunk-WGOAVMAQ.js +1 -0
- package/src/node_modules/.pnpm/@nextui-org_avatar@2.0.33_@nextui-org_system@2.2.6_@nextui-org_theme@2.2.11_react-dom@18.2.0_react@18.2.0/node_modules/@nextui-org/avatar/dist/chunk-YTVNLXJ4.js +1 -0
- package/src/node_modules/.pnpm/@nextui-org_badge@2.0.32_@nextui-org_system@2.2.6_@nextui-org_theme@2.2.11_react-dom@18.2.0_react@18.2.0/node_modules/@nextui-org/badge/dist/chunk-6FKWSXYX.js +1 -0
- package/src/node_modules/.pnpm/@nextui-org_badge@2.0.32_@nextui-org_system@2.2.6_@nextui-org_theme@2.2.11_react-dom@18.2.0_react@18.2.0/node_modules/@nextui-org/badge/dist/chunk-MDTP7BRB.js +1 -0
- package/src/node_modules/.pnpm/@nextui-org_divider@2.0.32_@nextui-org_theme@2.2.11_react-dom@18.2.0_react@18.2.0/node_modules/@nextui-org/divider/dist/chunk-44JHHBS2.js +1 -0
- package/src/node_modules/.pnpm/@nextui-org_divider@2.0.32_@nextui-org_theme@2.2.11_react-dom@18.2.0_react@18.2.0/node_modules/@nextui-org/divider/dist/chunk-HGQPAK7A.js +1 -0
- package/src/node_modules/.pnpm/@nextui-org_divider@2.0.32_@nextui-org_theme@2.2.11_react-dom@18.2.0_react@18.2.0/node_modules/@nextui-org/divider/dist/chunk-LVTFMK47.js +1 -0
- package/src/node_modules/.pnpm/@nextui-org_framer-utils@2.0.25_@nextui-org_theme@2.2.11_framer-motion@11.11.10_react-dom@18.2.0_react@18.2.0/node_modules/@nextui-org/framer-utils/dist/chunk-736YWA4T.js +1 -0
- package/src/node_modules/.pnpm/@nextui-org_react-rsc-utils@2.0.14_react@18.2.0/node_modules/@nextui-org/react-rsc-utils/dist/chunk-FGM523TA.js +1 -0
- package/src/node_modules/.pnpm/@nextui-org_react-rsc-utils@2.0.14_react@18.2.0/node_modules/@nextui-org/react-rsc-utils/dist/chunk-RFWDHYLZ.js +1 -0
- package/src/node_modules/.pnpm/@nextui-org_react-rsc-utils@2.0.14_react@18.2.0/node_modules/@nextui-org/react-rsc-utils/dist/chunk-RJKRL3AU.js +1 -0
- package/src/node_modules/.pnpm/@nextui-org_react-utils@2.0.17_react@18.2.0/node_modules/@nextui-org/react-utils/dist/chunk-3XT5V4LF.js +1 -0
- package/src/node_modules/.pnpm/@nextui-org_react-utils@2.0.17_react@18.2.0/node_modules/@nextui-org/react-utils/dist/chunk-CIZQCQPA.js +1 -0
- package/src/node_modules/.pnpm/@nextui-org_react-utils@2.0.17_react@18.2.0/node_modules/@nextui-org/react-utils/dist/chunk-RQNQ5XFG.js +1 -0
- package/src/node_modules/.pnpm/@nextui-org_shared-icons@2.0.9_react@18.2.0/node_modules/@nextui-org/shared-icons/dist/chunk-OH2E76JR.js +1 -0
- package/src/node_modules/.pnpm/@nextui-org_shared-utils@2.0.8/node_modules/@nextui-org/shared-utils/dist/chunk-6BQDBGF4.js +1 -0
- package/src/node_modules/.pnpm/@nextui-org_shared-utils@2.0.8/node_modules/@nextui-org/shared-utils/dist/chunk-CAFRINWI.js +1 -0
- package/src/node_modules/.pnpm/@nextui-org_shared-utils@2.0.8/node_modules/@nextui-org/shared-utils/dist/chunk-KARN4QIT.js +1 -0
- package/src/node_modules/.pnpm/@nextui-org_shared-utils@2.0.8/node_modules/@nextui-org/shared-utils/dist/chunk-MCFSCOSB.js +1 -0
- package/src/node_modules/.pnpm/@nextui-org_shared-utils@2.0.8/node_modules/@nextui-org/shared-utils/dist/chunk-RFUEKIFS.js +1 -0
- package/src/node_modules/.pnpm/@nextui-org_shared-utils@2.0.8/node_modules/@nextui-org/shared-utils/dist/chunk-SOU6N57Y.js +1 -0
- package/src/node_modules/.pnpm/@nextui-org_system-rsc@2.1.6_@nextui-org_theme@2.2.11_react@18.2.0/node_modules/@nextui-org/system-rsc/dist/chunk-DRE2DOBH.js +1 -0
- package/src/node_modules/.pnpm/@nextui-org_system@2.2.6_@nextui-org_theme@2.2.11_framer-motion@11.11.10_react-dom@18.2.0_react@18.2.0/node_modules/@nextui-org/system/dist/chunk-Q66YAGZJ.js +1 -0
- package/src/node_modules/.pnpm/@nextui-org_theme@2.2.11_tailwindcss@3.4.10/node_modules/@nextui-org/theme/dist/chunk-A2DU46QS.js +1 -0
- package/src/node_modules/.pnpm/@nextui-org_theme@2.2.11_tailwindcss@3.4.10/node_modules/@nextui-org/theme/dist/chunk-BYWORP66.js +1 -0
- package/src/node_modules/.pnpm/@nextui-org_theme@2.2.11_tailwindcss@3.4.10/node_modules/@nextui-org/theme/dist/chunk-BZCSOIUI.js +1 -0
- package/src/node_modules/.pnpm/@nextui-org_theme@2.2.11_tailwindcss@3.4.10/node_modules/@nextui-org/theme/dist/chunk-MVG7GLBD.js +1 -0
- package/src/node_modules/.pnpm/@nextui-org_theme@2.2.11_tailwindcss@3.4.10/node_modules/@nextui-org/theme/dist/chunk-N2KXC5ZE.js +1 -0
- package/src/node_modules/.pnpm/@nextui-org_theme@2.2.11_tailwindcss@3.4.10/node_modules/@nextui-org/theme/dist/chunk-QV3ALCMB.js +1 -0
- package/src/node_modules/.pnpm/@nextui-org_theme@2.2.11_tailwindcss@3.4.10/node_modules/@nextui-org/theme/dist/chunk-R27WO3A6.js +1 -0
- package/src/node_modules/.pnpm/@nextui-org_theme@2.2.11_tailwindcss@3.4.10/node_modules/@nextui-org/theme/dist/chunk-XHQUSKIE.js +1 -0
- package/src/node_modules/.pnpm/@nextui-org_theme@2.2.11_tailwindcss@3.4.10/node_modules/@nextui-org/theme/dist/chunk-XL6AWNU3.js +1 -0
- package/src/node_modules/.pnpm/@nextui-org_tooltip@2.0.41_@nextui-org_system@2.2.6_@nextui-org_theme@2.2.11_framer-motion@11_3nqg5awsgdxr3k3zhgj7t7qqsu/node_modules/@nextui-org/tooltip/dist/chunk-3ZXLDIEA.js +1 -0
- package/src/node_modules/.pnpm/@nextui-org_tooltip@2.0.41_@nextui-org_system@2.2.6_@nextui-org_theme@2.2.11_framer-motion@11_3nqg5awsgdxr3k3zhgj7t7qqsu/node_modules/@nextui-org/tooltip/dist/chunk-WIMSVD55.js +1 -0
- package/src/node_modules/.pnpm/@nextui-org_use-aria-accordion@2.0.7_react-dom@18.2.0_react@18.2.0/node_modules/@nextui-org/use-aria-accordion/dist/chunk-BHM6H4ZD.js +1 -0
- package/src/node_modules/.pnpm/@nextui-org_use-aria-accordion@2.0.7_react-dom@18.2.0_react@18.2.0/node_modules/@nextui-org/use-aria-accordion/dist/chunk-LWNEBLOT.js +1 -0
- package/src/node_modules/.pnpm/@nextui-org_use-image@2.0.6_react@18.2.0/node_modules/@nextui-org/use-image/dist/index.js +1 -0
- package/src/node_modules/.pnpm/@nextui-org_use-safe-layout-effect@2.0.6_react@18.2.0/node_modules/@nextui-org/use-safe-layout-effect/dist/index.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_button@3.9.5_react@18.2.0/node_modules/@react-aria/button/dist/useButton.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_focus@3.17.1_react@18.2.0/node_modules/@react-aria/focus/dist/FocusScope.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_focus@3.17.1_react@18.2.0/node_modules/@react-aria/focus/dist/focusSafely.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_focus@3.17.1_react@18.2.0/node_modules/@react-aria/focus/dist/isElementVisible.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_focus@3.17.1_react@18.2.0/node_modules/@react-aria/focus/dist/useFocusRing.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_focus@3.17.1_react@18.2.0/node_modules/@react-aria/focus/dist/useFocusable.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_focus@3.18.4_react@18.2.0/node_modules/@react-aria/focus/dist/FocusScope.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_focus@3.18.4_react@18.2.0/node_modules/@react-aria/focus/dist/focusSafely.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_focus@3.18.4_react@18.2.0/node_modules/@react-aria/focus/dist/useFocusable.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_i18n@3.12.3_react@18.2.0/node_modules/@react-aria/i18n/dist/context.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_i18n@3.12.3_react@18.2.0/node_modules/@react-aria/i18n/dist/useCollator.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_i18n@3.12.3_react@18.2.0/node_modules/@react-aria/i18n/dist/useDefaultLocale.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_i18n@3.12.3_react@18.2.0/node_modules/@react-aria/i18n/dist/utils.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_interactions@3.21.3_react@18.2.0/node_modules/@react-aria/interactions/dist/context.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_interactions@3.21.3_react@18.2.0/node_modules/@react-aria/interactions/dist/textSelection.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_interactions@3.21.3_react@18.2.0/node_modules/@react-aria/interactions/dist/useHover.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_interactions@3.21.3_react@18.2.0/node_modules/@react-aria/interactions/dist/usePress.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_interactions@3.22.4_react@18.2.0/node_modules/@react-aria/interactions/dist/PressResponder.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_interactions@3.22.4_react@18.2.0/node_modules/@react-aria/interactions/dist/context.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_interactions@3.22.4_react@18.2.0/node_modules/@react-aria/interactions/dist/createEventHandler.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_interactions@3.22.4_react@18.2.0/node_modules/@react-aria/interactions/dist/textSelection.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_interactions@3.22.4_react@18.2.0/node_modules/@react-aria/interactions/dist/useFocus.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_interactions@3.22.4_react@18.2.0/node_modules/@react-aria/interactions/dist/useFocusVisible.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_interactions@3.22.4_react@18.2.0/node_modules/@react-aria/interactions/dist/useFocusWithin.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_interactions@3.22.4_react@18.2.0/node_modules/@react-aria/interactions/dist/useHover.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_interactions@3.22.4_react@18.2.0/node_modules/@react-aria/interactions/dist/useInteractOutside.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_interactions@3.22.4_react@18.2.0/node_modules/@react-aria/interactions/dist/useKeyboard.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_interactions@3.22.4_react@18.2.0/node_modules/@react-aria/interactions/dist/usePress.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_interactions@3.22.4_react@18.2.0/node_modules/@react-aria/interactions/dist/utils.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_overlays@3.22.1_react-dom@18.2.0_react@18.2.0/node_modules/@react-aria/overlays/dist/calculatePosition.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_overlays@3.22.1_react-dom@18.2.0_react@18.2.0/node_modules/@react-aria/overlays/dist/useCloseOnScroll.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_overlays@3.22.1_react-dom@18.2.0_react@18.2.0/node_modules/@react-aria/overlays/dist/useModal.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_overlays@3.22.1_react-dom@18.2.0_react@18.2.0/node_modules/@react-aria/overlays/dist/useOverlay.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_overlays@3.22.1_react-dom@18.2.0_react@18.2.0/node_modules/@react-aria/overlays/dist/useOverlayPosition.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_selection@3.18.1_react-dom@18.2.0_react@18.2.0/node_modules/@react-aria/selection/dist/ListKeyboardDelegate.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_selection@3.18.1_react-dom@18.2.0_react@18.2.0/node_modules/@react-aria/selection/dist/useSelectableCollection.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_selection@3.18.1_react-dom@18.2.0_react@18.2.0/node_modules/@react-aria/selection/dist/useSelectableList.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_selection@3.18.1_react-dom@18.2.0_react@18.2.0/node_modules/@react-aria/selection/dist/useTypeSelect.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_selection@3.18.1_react-dom@18.2.0_react@18.2.0/node_modules/@react-aria/selection/dist/utils.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_ssr@3.9.6_react@18.2.0/node_modules/@react-aria/ssr/dist/SSRProvider.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_tooltip@3.7.4_react@18.2.0/node_modules/@react-aria/tooltip/dist/useTooltip.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_tooltip@3.7.4_react@18.2.0/node_modules/@react-aria/tooltip/dist/useTooltipTrigger.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_utils@3.24.1_react@18.2.0/node_modules/@react-aria/utils/dist/chain.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_utils@3.24.1_react@18.2.0/node_modules/@react-aria/utils/dist/domHelpers.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_utils@3.24.1_react@18.2.0/node_modules/@react-aria/utils/dist/filterDOMProps.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_utils@3.24.1_react@18.2.0/node_modules/@react-aria/utils/dist/focusWithoutScrolling.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_utils@3.24.1_react@18.2.0/node_modules/@react-aria/utils/dist/getScrollParents.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_utils@3.24.1_react@18.2.0/node_modules/@react-aria/utils/dist/isScrollable.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_utils@3.24.1_react@18.2.0/node_modules/@react-aria/utils/dist/isVirtualEvent.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_utils@3.24.1_react@18.2.0/node_modules/@react-aria/utils/dist/mergeProps.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_utils@3.24.1_react@18.2.0/node_modules/@react-aria/utils/dist/openLink.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_utils@3.24.1_react@18.2.0/node_modules/@react-aria/utils/dist/platform.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_utils@3.24.1_react@18.2.0/node_modules/@react-aria/utils/dist/runAfterTransition.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_utils@3.24.1_react@18.2.0/node_modules/@react-aria/utils/dist/scrollIntoView.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_utils@3.24.1_react@18.2.0/node_modules/@react-aria/utils/dist/useEffectEvent.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_utils@3.24.1_react@18.2.0/node_modules/@react-aria/utils/dist/useEvent.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_utils@3.24.1_react@18.2.0/node_modules/@react-aria/utils/dist/useGlobalListeners.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_utils@3.24.1_react@18.2.0/node_modules/@react-aria/utils/dist/useId.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_utils@3.24.1_react@18.2.0/node_modules/@react-aria/utils/dist/useLayoutEffect.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_utils@3.24.1_react@18.2.0/node_modules/@react-aria/utils/dist/useResizeObserver.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_utils@3.24.1_react@18.2.0/node_modules/@react-aria/utils/dist/useSyncRef.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_utils@3.25.3_react@18.2.0/node_modules/@react-aria/utils/dist/chain.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_utils@3.25.3_react@18.2.0/node_modules/@react-aria/utils/dist/domHelpers.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_utils@3.25.3_react@18.2.0/node_modules/@react-aria/utils/dist/focusWithoutScrolling.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_utils@3.25.3_react@18.2.0/node_modules/@react-aria/utils/dist/isVirtualEvent.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_utils@3.25.3_react@18.2.0/node_modules/@react-aria/utils/dist/mergeProps.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_utils@3.25.3_react@18.2.0/node_modules/@react-aria/utils/dist/openLink.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_utils@3.25.3_react@18.2.0/node_modules/@react-aria/utils/dist/platform.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_utils@3.25.3_react@18.2.0/node_modules/@react-aria/utils/dist/runAfterTransition.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_utils@3.25.3_react@18.2.0/node_modules/@react-aria/utils/dist/useEffectEvent.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_utils@3.25.3_react@18.2.0/node_modules/@react-aria/utils/dist/useGlobalListeners.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_utils@3.25.3_react@18.2.0/node_modules/@react-aria/utils/dist/useId.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_utils@3.25.3_react@18.2.0/node_modules/@react-aria/utils/dist/useLayoutEffect.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_utils@3.25.3_react@18.2.0/node_modules/@react-aria/utils/dist/useObjectRef.js +1 -0
- package/src/node_modules/.pnpm/@react-aria_utils@3.25.3_react@18.2.0/node_modules/@react-aria/utils/dist/useSyncRef.js +1 -0
- package/src/node_modules/.pnpm/@react-stately_collections@3.10.7_react@18.2.0/node_modules/@react-stately/collections/dist/Item.js +1 -0
- package/src/node_modules/.pnpm/@react-stately_collections@3.11.0_react@18.2.0/node_modules/@react-stately/collections/dist/CollectionBuilder.js +1 -0
- package/src/node_modules/.pnpm/@react-stately_collections@3.11.0_react@18.2.0/node_modules/@react-stately/collections/dist/getChildNodes.js +1 -0
- package/src/node_modules/.pnpm/@react-stately_collections@3.11.0_react@18.2.0/node_modules/@react-stately/collections/dist/useCollection.js +1 -0
- package/src/node_modules/.pnpm/@react-stately_overlays@3.6.11_react@18.2.0/node_modules/@react-stately/overlays/dist/useOverlayTriggerState.js +1 -0
- package/src/node_modules/.pnpm/@react-stately_selection@3.17.0_react@18.2.0/node_modules/@react-stately/selection/dist/Selection.js +1 -0
- package/src/node_modules/.pnpm/@react-stately_selection@3.17.0_react@18.2.0/node_modules/@react-stately/selection/dist/SelectionManager.js +1 -0
- package/src/node_modules/.pnpm/@react-stately_selection@3.17.0_react@18.2.0/node_modules/@react-stately/selection/dist/useMultipleSelectionState.js +1 -0
- package/src/node_modules/.pnpm/@react-stately_tooltip@3.4.9_react@18.2.0/node_modules/@react-stately/tooltip/dist/useTooltipTriggerState.js +1 -0
- package/src/node_modules/.pnpm/@react-stately_tree@3.8.1_react@18.2.0/node_modules/@react-stately/tree/dist/TreeCollection.js +1 -0
- package/src/node_modules/.pnpm/@react-stately_tree@3.8.1_react@18.2.0/node_modules/@react-stately/tree/dist/useTreeState.js +1 -0
- package/src/node_modules/.pnpm/@react-stately_utils@3.10.4_react@18.2.0/node_modules/@react-stately/utils/dist/number.js +1 -0
- package/src/node_modules/.pnpm/@react-stately_utils@3.10.4_react@18.2.0/node_modules/@react-stately/utils/dist/useControlledState.js +1 -0
- package/src/node_modules/.pnpm/@swc_helpers@0.5.13/node_modules/@swc/helpers/esm/_check_private_redeclaration.js +1 -0
- package/src/node_modules/.pnpm/@swc_helpers@0.5.13/node_modules/@swc/helpers/esm/_class_apply_descriptor_get.js +1 -0
- package/src/node_modules/.pnpm/@swc_helpers@0.5.13/node_modules/@swc/helpers/esm/_class_apply_descriptor_set.js +1 -0
- package/src/node_modules/.pnpm/@swc_helpers@0.5.13/node_modules/@swc/helpers/esm/_class_extract_field_descriptor.js +1 -0
- package/src/node_modules/.pnpm/@swc_helpers@0.5.13/node_modules/@swc/helpers/esm/_class_private_field_get.js +1 -0
- package/src/node_modules/.pnpm/@swc_helpers@0.5.13/node_modules/@swc/helpers/esm/_class_private_field_init.js +1 -0
- package/src/node_modules/.pnpm/@swc_helpers@0.5.13/node_modules/@swc/helpers/esm/_class_private_field_set.js +1 -0
- package/src/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js +1 -0
- package/src/node_modules/.pnpm/react-number-format@5.4.2_react-dom@18.2.0_react@18.2.0/node_modules/react-number-format/dist/react-number-format.es.js +1 -0
- package/src/node_modules/.pnpm/tailwind-merge@1.14.0/node_modules/tailwind-merge/dist/lib/class-utils.js +1 -0
- package/src/node_modules/.pnpm/tailwind-merge@1.14.0/node_modules/tailwind-merge/dist/lib/config-utils.js +1 -0
- package/src/node_modules/.pnpm/tailwind-merge@1.14.0/node_modules/tailwind-merge/dist/lib/create-tailwind-merge.js +1 -0
- package/src/node_modules/.pnpm/tailwind-merge@1.14.0/node_modules/tailwind-merge/dist/lib/default-config.js +1 -0
- package/src/node_modules/.pnpm/tailwind-merge@1.14.0/node_modules/tailwind-merge/dist/lib/extend-tailwind-merge.js +1 -0
- package/src/node_modules/.pnpm/tailwind-merge@1.14.0/node_modules/tailwind-merge/dist/lib/from-theme.js +1 -0
- package/src/node_modules/.pnpm/tailwind-merge@1.14.0/node_modules/tailwind-merge/dist/lib/lru-cache.js +1 -0
- package/src/node_modules/.pnpm/tailwind-merge@1.14.0/node_modules/tailwind-merge/dist/lib/merge-classlist.js +1 -0
- package/src/node_modules/.pnpm/tailwind-merge@1.14.0/node_modules/tailwind-merge/dist/lib/merge-configs.js +1 -0
- package/src/node_modules/.pnpm/tailwind-merge@1.14.0/node_modules/tailwind-merge/dist/lib/modifier-utils.js +1 -0
- package/src/node_modules/.pnpm/tailwind-merge@1.14.0/node_modules/tailwind-merge/dist/lib/tw-join.js +1 -0
- package/src/node_modules/.pnpm/tailwind-merge@1.14.0/node_modules/tailwind-merge/dist/lib/tw-merge.js +1 -0
- package/src/node_modules/.pnpm/tailwind-merge@1.14.0/node_modules/tailwind-merge/dist/lib/validators.js +1 -0
- package/src/node_modules/.pnpm/tailwind-merge@2.5.4/node_modules/tailwind-merge/dist/bundle-mjs.js +1 -0
- package/src/node_modules/.pnpm/tailwind-variants@0.1.20_tailwindcss@3.4.10/node_modules/tailwind-variants/dist/chunk-JXBJZR5A.js +1 -0
- package/src/node_modules/.pnpm/tailwind-variants@0.1.20_tailwindcss@3.4.10/node_modules/tailwind-variants/dist/index.js +1 -0
- package/src/types/SlotsToClasses.js +1 -0
- package/src/utils/cn.js +1 -0
- package/src/utils/defaultTheme.js +1 -0
- package/types/Accordion.d.ts +11 -0
- package/types/Avatar.d.ts +16 -0
- package/types/Badge.d.ts +8 -0
- package/types/Breadcrumbs.d.ts +32 -0
- package/types/Button.d.ts +19 -0
- package/types/Card.d.ts +9 -0
- package/types/Checkbox.d.ts +31 -0
- package/types/Collapsible.d.ts +28 -0
- package/types/Container.d.ts +15 -0
- package/types/ContextMenu.d.ts +37 -0
- package/types/CreditCardExpirationInput.d.ts +30 -0
- package/types/CreditCardInput.d.ts +34 -0
- package/types/DateInput.d.ts +29 -0
- package/types/Dialog.d.ts +23 -0
- package/types/DialogTrigger.d.ts +19 -0
- package/types/Divider.d.ts +10 -0
- package/types/Drawer.d.ts +27 -0
- package/types/Input.d.ts +30 -0
- package/types/Link.d.ts +8 -0
- package/types/Loader.d.ts +30 -0
- package/types/Meter.d.ts +25 -0
- package/types/Modal.d.ts +11 -0
- package/types/ModalOverlay.d.ts +31 -0
- package/types/NumberInput.d.ts +37 -0
- package/types/PinInput.d.ts +46 -0
- package/types/Progressbar.d.ts +28 -0
- package/types/Radio.d.ts +31 -0
- package/types/Select.d.ts +60 -0
- package/types/Slider.d.ts +27 -0
- package/types/SlotsToClasses.d.ts +1 -0
- package/types/Switch.d.ts +24 -0
- package/types/Tabs.d.ts +59 -0
- package/types/TimeInput.d.ts +29 -0
- package/types/ToggleButton.d.ts +11 -0
- package/types/Tooltip.d.ts +12 -0
- package/types/cn.d.ts +7 -0
- package/types/components/Accordion.d.ts +2 -0
- package/types/components/Avatar.d.ts +2 -0
- package/types/components/Badge.d.ts +2 -0
- package/types/components/Breadcrumbs.d.ts +2 -0
- package/types/components/Button.d.ts +2 -0
- package/types/components/Card.d.ts +2 -0
- package/types/components/Checkbox.d.ts +2 -0
- package/types/components/Collapsible.d.ts +2 -0
- package/types/components/Container.d.ts +2 -0
- package/types/components/ContextMenu.d.ts +2 -0
- package/types/components/CreditCardExpirationInput.d.ts +2 -0
- package/types/components/CreditCardInput.d.ts +2 -0
- package/types/components/DateInput.d.ts +2 -0
- package/types/components/Dialog.d.ts +2 -0
- package/types/components/DialogTrigger.d.ts +2 -0
- package/types/components/Divider.d.ts +2 -0
- package/types/components/Drawer.d.ts +2 -0
- package/types/components/Input.d.ts +2 -0
- package/types/components/Link.d.ts +2 -0
- package/types/components/Loader.d.ts +2 -0
- package/types/components/Meter.d.ts +2 -0
- package/types/components/Modal.d.ts +2 -0
- package/types/components/ModalOverlay.d.ts +2 -0
- package/types/components/NumberInput.d.ts +2 -0
- package/types/components/PinInput.d.ts +2 -0
- package/types/components/Progressbar.d.ts +2 -0
- package/types/components/Radio.d.ts +2 -0
- package/types/components/Select.d.ts +2 -0
- package/types/components/Slider.d.ts +2 -0
- package/types/components/Switch.d.ts +2 -0
- package/types/components/Tabs.d.ts +2 -0
- package/types/components/TimeInput.d.ts +2 -0
- package/types/components/ToggleButton.d.ts +2 -0
- package/types/components/Tooltip.d.ts +2 -0
- package/types/defaultTheme.d.ts +507 -0
- package/types/hooks/useEnterExitAnimation.d.ts +6 -0
- package/types/types/SlotsToClasses.d.ts +1 -0
- package/types/useEnterExitAnimation.d.ts +8 -0
- package/types/utils/cn.d.ts +6 -0
- package/types/utils/defaultTheme.d.ts +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clicktap/ui",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.8",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "Clicktap",
|
|
6
6
|
"description": "A library of React UI components and low-level hooks.",
|
|
@@ -16,45 +16,26 @@
|
|
|
16
16
|
"sideEffects": false,
|
|
17
17
|
"exports": {
|
|
18
18
|
"./components/*": {
|
|
19
|
-
"import": "./
|
|
20
|
-
"require": "./
|
|
21
|
-
"types": "./
|
|
19
|
+
"import": "./src/components/*",
|
|
20
|
+
"require": "./src/components/*",
|
|
21
|
+
"types": "./types/components/*"
|
|
22
22
|
},
|
|
23
23
|
"./hooks/*": {
|
|
24
|
-
"import": "./
|
|
25
|
-
"require": "./
|
|
26
|
-
"types": "./
|
|
24
|
+
"import": "./src/hooks/*",
|
|
25
|
+
"require": "./src/hooks/*",
|
|
26
|
+
"types": "./types/hooks/*"
|
|
27
27
|
},
|
|
28
28
|
"./utils/*": {
|
|
29
|
-
"import": "./
|
|
30
|
-
"require": "./
|
|
31
|
-
"types": "./
|
|
29
|
+
"import": "./src/utils/*",
|
|
30
|
+
"require": "./src/utils/*",
|
|
31
|
+
"types": "./types/utils/*"
|
|
32
32
|
},
|
|
33
33
|
"./types/*": {
|
|
34
|
-
"import": "./
|
|
35
|
-
"require": "./
|
|
36
|
-
"types": "./
|
|
34
|
+
"import": "./src/types/*",
|
|
35
|
+
"require": "./src/types/*",
|
|
36
|
+
"types": "./types/types/*"
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
|
-
"typesVersions": {
|
|
40
|
-
"*": {
|
|
41
|
-
"components/*": [
|
|
42
|
-
"dist/types/components/*"
|
|
43
|
-
],
|
|
44
|
-
"hooks/*": [
|
|
45
|
-
"dist/types/hooks/*"
|
|
46
|
-
],
|
|
47
|
-
"utils/*": [
|
|
48
|
-
"dist/types/utils/*"
|
|
49
|
-
],
|
|
50
|
-
"types/*": [
|
|
51
|
-
"dist/types/types/*"
|
|
52
|
-
]
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
"files": [
|
|
56
|
-
"dist"
|
|
57
|
-
],
|
|
58
39
|
"dependencies": {
|
|
59
40
|
"@nextui-org/accordion": "^2.0.28",
|
|
60
41
|
"@nextui-org/avatar": "^2.0.32",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Accordion as c}from"../libs/ui/src/components/Accordion/Accordion.js";import{accordion_item_base_default as t}from"../node_modules/.pnpm/@nextui-org_accordion@2.0.40_@nextui-org_system@2.2.6_@nextui-org_theme@2.2.11_framer-motion@_ythdhtgm5nli6ckalhd46fx7qq/node_modules/@nextui-org/accordion/dist/chunk-LDUMD4XQ.js";export{c as Accordion,t as AccordionItem};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Avatar as a}from"../libs/ui/src/components/Avatar/Avatar.js";import{AvatarGroup as p}from"../libs/ui/src/components/Avatar/AvatarGroup/AvatarGroup.js";export{a as Avatar,p as AvatarGroup};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Badge as r}from"../libs/ui/src/components/Badge/Badge.js";export{r as Badge};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{BreadcrumbEllipsis as m}from"../libs/ui/src/components/Breadcrumbs/BreadcrumbEllipsis.js";import{BreadcrumbItem as a}from"../libs/ui/src/components/Breadcrumbs/BreadcrumbItem.js";import{BreadcrumbLink as t}from"../libs/ui/src/components/Breadcrumbs/BreadcrumbLink.js";import{BreadcrumbSeparator as c}from"../libs/ui/src/components/Breadcrumbs/BreadcrumbSeparator.js";import{Breadcrumbs as f}from"../libs/ui/src/components/Breadcrumbs/Breadcrumbs.js";export{m as BreadcrumbEllipsis,a as BreadcrumbItem,t as BreadcrumbLink,c as BreadcrumbSeparator,f as Breadcrumbs};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Button as r}from"../libs/ui/src/components/Button/Button.js";export{r as Button};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Card as a}from"../libs/ui/src/components/Card/Card.js";export{a as Card};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Checkbox as r}from"../libs/ui/src/components/Checkbox/Checkbox.js";export{r as Checkbox};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Collapsible as o}from"../libs/ui/src/components/Collapsible/Collapsible.js";import{CollapsibleTrigger as t,CollapsibleTriggerStateContext as i}from"../libs/ui/src/components/Collapsible/CollapsibleTrigger.js";export{o as Collapsible,t as CollapsibleTrigger,i as CollapsibleTriggerStateContext};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Container as e}from"../libs/ui/src/components/Container/Container.js";export{e as Container};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{ContextMenu as t}from"../libs/ui/src/components/ContextMenu/ContextMenu.js";export{t as ContextMenu};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{CreditCardExpirationInput as i}from"../libs/ui/src/components/CreditCardExpirationInput/CreditCardExpirationInput.js";export{i as CreditCardExpirationInput};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{CreditCardInput as d}from"../libs/ui/src/components/CreditCardInput/CreditCardInput.js";export{d as CreditCardInput};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{DateInput as o}from"../libs/ui/src/components/DateInput/DateInput.js";export{o as DateInput};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Dialog as a}from"../libs/ui/src/components/Dialog/Dialog.js";export{a as Dialog};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{DialogTrigger as e,useDialogTrigger as i}from"../libs/ui/src/components/DialogTrigger/DialogTrigger.js";export{e as DialogTrigger,i as useDialogTrigger};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Divider as i}from"../libs/ui/src/components/Divider/Divider.js";export{i as Divider};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Drawer as o}from"../libs/ui/src/components/Drawer/Drawer.js";export{o as Drawer};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Input as r}from"../libs/ui/src/components/Input/Input.js";export{r as Input};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Link as e}from"../libs/ui/src/components/Link/Link.js";export{e as Link};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{CircularEasing as e}from"../libs/ui/src/components/Loader/CircularEasing.js";import{Pulse as f}from"../libs/ui/src/components/Loader/Pulse.js";export{e as CircularEasing,f as Pulse};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Meter as o}from"../libs/ui/src/components/Meter/Meter.js";export{o as Meter};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Modal as a}from"../libs/ui/src/components/Modal/Modal.js";export{a as Modal};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{ModalOverlay as a}from"../libs/ui/src/components/ModalOverlay/ModalOverlay.js";export{a as ModalOverlay};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{NumberInput as m}from"../libs/ui/src/components/NumberInput/NumberInput.js";export{m as NumberInput};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{PinInput as p}from"../libs/ui/src/components/PinInput/PinInput.js";export{p as PinInput};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{CircularProgressbar as e}from"../libs/ui/src/components/Progressbar/CircularProgressbar.js";import{LinearProgressbar as s}from"../libs/ui/src/components/Progressbar/LinearProgressbar.js";export{e as CircularProgressbar,s as LinearProgressbar};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Radio as a}from"../libs/ui/src/components/Radio/Radio.js";export{a as Radio};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Option as r}from"../libs/ui/src/components/Select/Option.js";import{Select as p}from"../libs/ui/src/components/Select/Select.js";export{r as Option,p as Select};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Slider as o}from"../libs/ui/src/components/Slider/Slider.js";export{o as Slider};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Switch as t}from"../libs/ui/src/components/Switch/Switch.js";export{t as Switch};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{BaseTab as r,Tab as t}from"../libs/ui/src/components/Tabs/Tab.js";import{TabList as b}from"../libs/ui/src/components/Tabs/TabList.js";import{TabPanel as x}from"../libs/ui/src/components/Tabs/TabPanel.js";import{Tabs as m,TabsOrientationContext as n}from"../libs/ui/src/components/Tabs/Tabs.js";export{r as BaseTab,t as Tab,b as TabList,x as TabPanel,m as Tabs,n as TabsOrientationContext};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{TimeInput as o}from"../libs/ui/src/components/TimeInput/TimeInput.js";export{o as TimeInput};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{ToggleButton as e}from"../libs/ui/src/components/ToggleButton/ToggleButton.js";export{e as ToggleButton};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Tooltip as r}from"../libs/ui/src/components/Tooltip/Tooltip.js";export{r as Tooltip};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{useState as i,useEffect as f}from"react";const u=t=>{const[n,e]=i(t),[r,s]=i(!1);return f(()=>{e(!1),s(!1),setTimeout(()=>{t?e(!0):s(!0)},10)},[t]),{isEntering:n,isExiting:r}};export{u as default,u as useEnterExitAnimation};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as p}from"react/jsx-runtime";import{accordion_default as x}from"../../../../../node_modules/.pnpm/@nextui-org_accordion@2.0.40_@nextui-org_system@2.2.6_@nextui-org_theme@2.2.11_framer-motion@_ythdhtgm5nli6ckalhd46fx7qq/node_modules/@nextui-org/accordion/dist/chunk-PN4MRYMG.js";import{cn as o}from"../../../../../utils/cn.js";function g({children:t,variant:d,isCompact:n,className:b,itemClasses:r,...u}){return p(x,{variant:d,isCompact:n,dividerProps:{className:o("my-2 border-solid border-slate-200",d==="shadow"&&"border-slate-300")},className:o("px-0",d==="bordered"&&["px-4 py-4 rounded-xl border-2 border-slate-200"],d==="shadow"&&["px-4 py-4 rounded-xl bg-slate-100 shadow-slate-200 border border-slate-200"],b),itemClasses:{base:o("w-full py-2",'data-[disabled="true"]:pointer-events-none data-[disabled="true"]:opacity-50',d==="bordered"&&["rounded-xl py-0"],d==="splitted"&&["flex flex-col bg-slate-100 rounded-xl border border-slate-200"],n&&"py-0",r==null?void 0:r.base),trigger:o("w-full h-full flex items-center gap-3 py-0 appearance-none cursor-pointer select-none",'data-[focus-visible="true"]:outline-2 data-[focus-visible="true"]:outline data-[focus-visible="true"]:outline-slate-100',"bg-transparent text-inherit",n&&["py-2"],r==null?void 0:r.trigger),title:o("text-xl font-semibold",n&&"text-base",r==null?void 0:r.title),subtitle:o("text-base",n&&"text-sm",r==null?void 0:r.subtitle),titleWrapper:o("text-left",r==null?void 0:r.titleWrapper),startContent:o("shrink-0",r==null?void 0:r.startContent),content:o([n?"py-1":"py-2"],r==null?void 0:r.content),indicator:r==null?void 0:r.indicator,heading:r==null?void 0:r.heading},...u,children:t})}export{g as Accordion,g as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as f}from"react/jsx-runtime";import{avatar_default as u}from"../../../../../node_modules/.pnpm/@nextui-org_avatar@2.0.33_@nextui-org_system@2.2.6_@nextui-org_theme@2.2.11_react-dom@18.2.0_react@18.2.0/node_modules/@nextui-org/avatar/dist/chunk-QXREVWCS.js";import{useAvatarGroupContext as h}from"../../../../../node_modules/.pnpm/@nextui-org_avatar@2.0.33_@nextui-org_system@2.2.6_@nextui-org_theme@2.2.11_react-dom@18.2.0_react@18.2.0/node_modules/@nextui-org/avatar/dist/chunk-PM5WBSHT.js";import{cn as r}from"../../../../../utils/cn.js";function v({icon:d,className:x,isDisabled:i,size:e,classNames:t,isBordered:l,radius:n,...p}){const o=h();return f("div",{className:r("group","z-10","first:ms-0",!(o!=null&&o.isGrid)&&!!o&&"-ms-2",x),children:f(u,{...p,isDisabled:i,size:e,radius:n,isBordered:l,className:r(!(o!=null&&o.isGrid)&&!!o&&"group-hover:-translate-y-3.5","transition-transform duration-300 ease-in-out","bg-slate-100","flex items-center justify-center","relative","z-10","overflow-hidden",i?"opacity-50":"opacity-100",[e==="sm"&&"h-8",e==="md"&&"h-10",e==="lg"&&"h-12",e==="sm"&&"w-8",e==="md"&&"w-10",e==="lg"&&"w-12"],[n==="full"&&"rounded-full",n==="lg"&&"rounded-2xl",n==="md"&&"rounded-xl",n==="sm"&&"rounded-lg",n==="none"&&"rounded-none"],l&&"shadow-[#fff_0px_0px_0px_2px,_#f1f5f9_0px_0px_0px_4px,_#00000000_0px_0px_0px_0px]",t==null?void 0:t.base),classNames:{icon:r("data-[loaded=true]:opacity-100 opacity-0","absolute","w-full","h-full","overflow-hidden","object-cover","object-center","transition-opacity ease-in-out duration-500",t==null?void 0:t.icon),name:r("flex items-center justify-center","absolute top-1/2 left-1/2","-translate-x-1/2 -translate-y-1/2","text-xs text-center","max-w-full","overflow-hidden",t==null?void 0:t.name),fallback:r("flex items-center justify-center","absolute top-1/2 left-1/2","-translate-x-1/2 -translate-y-1/2","text-xs text-center","max-w-full","overflow-hidden",t==null?void 0:t.fallback)},icon:d||f("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:f("path",{d:"M20 21C20 19.6044 20 18.9067 19.8278 18.3389C19.44 17.0605 18.4395 16.06 17.1611 15.6722C16.5933 15.5 15.8956 15.5 14.5 15.5H9.5C8.10444 15.5 7.40665 15.5 6.83886 15.6722C5.56045 16.06 4.56004 17.0605 4.17224 18.3389C4 18.9067 4 19.6044 4 21M16.5 7.5C16.5 9.98528 14.4853 12 12 12C9.51472 12 7.5 9.98528 7.5 7.5C7.5 5.01472 9.51472 3 12 3C14.4853 3 16.5 5.01472 16.5 7.5Z",stroke:"black",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})})}export{v as Avatar,v as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import{avatar_group_default as m}from"../../../../../../node_modules/.pnpm/@nextui-org_avatar@2.0.33_@nextui-org_system@2.2.6_@nextui-org_theme@2.2.11_react-dom@18.2.0_react@18.2.0/node_modules/@nextui-org/avatar/dist/chunk-T76DLOWU.js";import{cn as n}from"../../../../../../utils/cn.js";function i({children:a,isGrid:r,renderCount:o,className:t}){return e(m,{isGrid:r,max:0,renderCount:o??void 0,className:n(r?"inline-grid":"flex",r?"gap-3":"gap-0","grid-cols-4","items-center",t),children:a})}export{i as AvatarGroup,i as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as l}from"react/jsx-runtime";import{useId as V}from"react";import{AnimatePresence as z,motion as C}from"framer-motion";import{badge_default as S}from"../../../../../node_modules/.pnpm/@nextui-org_badge@2.0.32_@nextui-org_system@2.2.6_@nextui-org_theme@2.2.11_react-dom@18.2.0_react@18.2.0/node_modules/@nextui-org/badge/dist/chunk-MDTP7BRB.js";import{cn as a}from"../../../../../utils/cn.js";const j={hidden:{opacity:0,transform:"scale(0)"},show:{opacity:1,transform:"scale(1)"}};function E({children:h,isInvisible:g,disableAnimation:b,placement:t="top-right",shape:r="rectangle",className:x,classNames:e,showOutline:s=!1,content:i,isDot:d,isOneChar:m,size:n="md",variant:o="solid",...p}){var f;const _=V(),w=b?{duration:0}:{type:"spring",bounce:.3},c=((f=String(i))==null?void 0:f.length)===1||m,u={sm:"text-xs",md:"text-sm",lg:"text-sm"},y=c?{sm:"w-4 h-4",md:"w-5 h-5",lg:"w-6 h-6"}[n]:{sm:"min-w-4 h-4",md:"min-w-5 h-5",lg:"min-w-6 h-6"}[n];return l(S,{...p,size:n,variant:o,isInvisible:g,isDot:d,classNames:{base:a("relative","inline-flex shrink-0",e==null?void 0:e.base),badge:a("p-0","border-0","absolute z-10",[t==="top-right"&&r==="rectangle"&&"top-0.5 right-px",t==="top-right"&&r==="circle"&&"top-1 right-1",t==="bottom-right"&&r==="rectangle"&&"bottom-0.5 right-px",t==="bottom-right"&&r==="circle"&&"bottom-1 right-1",t==="top-left"&&r==="rectangle"&&"top-0.5 left-px",t==="top-left"&&r==="circle"&&"top-1 left-1",t==="bottom-left"&&r==="rectangle"&&"bottom-0.5 left-px",t==="bottom-left"&&r==="circle"&&"bottom-1 left-1"],[t==="top-right"&&"translate-x-1/2 -translate-y-1/2",t==="bottom-right"&&"translate-x-1/2 translate-y-1/2",t==="bottom-left"&&"-translate-x-1/2 translate-y-1/2",t==="top-left"&&"-translate-x-1/2 -translate-y-1/2"],e==null?void 0:e.badge)},content:l(z,{children:!g&&l(C.div,{layout:!0,variants:j,initial:b?"show":"hidden",transition:w,animate:"show",exit:"hidden",className:a("flex flex-wrap","place-content-center","z-10","box-border","rounded-full","py-0 px-1","font-normal text-slate-900","select-none","whitespace-normal",o==="faded"?"text-slate-800":"text-white",!i||d?"w-3.5 h-3.5":y,typeof i=="string"&&i.length>1||d?"text-xs":u[n],[o==="solid"&&"bg-slate-800",o==="shadow"&&"bg-slate-800",o==="flat"&&"bg-slate-800/55",o==="faded"&&"bg-white"],[o==="faded"&&"border-2 border-solid border-slate-800",s&&o!=="faded"&&"border-2 border-solid border-white"],o==="shadow"&&"shadow-[0_0_0_0_rgba(0,0,0,0),_0_0_0_0_rgba(0,0,0,0),_0_10px_15px_-3px_rgba(30,41,59,0.3),_0_4px_6px_-4px_rgba(30,41,59,0.3)]",x),children:i},`badge-${_}`)}),children:h})}export{E as Badge,E as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as r,jsxs as t}from"react/jsx-runtime";function i({children:e,...o}){return r("span",{...o,"aria-hidden":"true",children:e??t("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[r("path",{d:"M12 13C12.5523 13 13 12.5523 13 12C13 11.4477 12.5523 11 12 11C11.4477 11 11 11.4477 11 12C11 12.5523 11.4477 13 12 13Z",stroke:"black",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),r("path",{d:"M19 13C19.5523 13 20 12.5523 20 12C20 11.4477 19.5523 11 19 11C18.4477 11 18 11.4477 18 12C18 12.5523 18.4477 13 19 13Z",stroke:"black",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),r("path",{d:"M5 13C5.55228 13 6 12.5523 6 12C6 11.4477 5.55228 11 5 11C4.44772 11 4 11.4477 4 12C4 12.5523 4.44772 13 5 13Z",stroke:"black",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})})}export{i as BreadcrumbEllipsis,i as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as t}from"react/jsx-runtime";import{Breadcrumb as o}from"react-aria-components";import{cn as a}from"../../../../../utils/cn.js";function n({children:r,className:e,...m}){return t(o,{className:a("flex items-center",e),...m,children:r})}export{n as BreadcrumbItem,n as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as o}from"react/jsx-runtime";import{Link as s}from"react-aria-components";import{cn as i}from"../../../../../utils/cn.js";function a({children:e,className:t,...r}){return o(s,{className:i("text-slate-600 no-underline cursor-pointer","focus-visible:outline-2 focus-visible:outline focus-visible:outline-slate-200","hover:text-slate-900 hover:underline","current:cursor-default current:text-slate-900 current:font-semibold","disabled:cursor-default disabled:text-slate-400 disabled:current:text-slate-900",t),...r,children:e})}export{a as BreadcrumbLink,a as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as r}from"react/jsx-runtime";import{Breadcrumb as i}from"react-aria-components";import{cn as n}from"../../../../../utils/cn.js";function d({children:e,className:t,...o}){return r(i,{className:n("flex items-center text-slate-600","my-0 mx-2",t),...o,children:e??r("svg",{"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",className:"w-4 h-4",children:r("path",{d:"M6 12L10 8L6 4",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})}export{d as BreadcrumbSeparator,d as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import{Breadcrumbs as s}from"react-aria-components";import{cn as o}from"../../../../../utils/cn.js";function p({children:r,className:m,...t}){return e(s,{className:o("flex items-center list-none text-sm","mx-0 mt-0 mr-4","px-0 pt-1.5 pb-0",m),...t,children:r})}export{p as Breadcrumbs,p as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as l}from"react/jsx-runtime";import{forwardRef as b}from"react";import{Button as n}from"react-aria-components";import{cn as i}from"../../../../../utils/cn.js";const x=b(function({className:r,isDisabled:o=!1,isLoading:t=!1,size:s="md",variant:e="solid",...a},d){return l(n,{ref:d,type:"button",isDisabled:o,className:i("flex items-center justify-center","rounded-md border-solid border","font-semibold text-sm","py-2 px-8","transition-all duration-200 ease-in-out","focus:outline-2 focus:outline focus:outline-slate-200 pressed:scale-95",[s==="sm"&&["h-8"],s==="md"&&["h-10"],s==="lg"&&["h-12"]],[e==="ghost"&&["bg-transparent hover:bg-transparent focus:bg-transparent disabled:bg-transparent","border-transparent hover:border-transparent focus:border-transparent disabled:border-transparent","text-slate-900 disabled:text-slate-400"],e==="ghost"&&t&&["disabled:text-slate-900"],e==="outline"&&["bg-transparent hover:bg-transparent focus:bg-transparent disabled:bg-transparent","border-slate-300 hover:border-slate-400 focus:border-slate-400 disabled:border-slate-200","text-slate-900 disabled:text-slate-500"],e==="outline"&&t&&["disabled:border-slate-300","disabled:text-slate-900"],e==="solid"&&["bg-slate-800 hover:bg-slate-900 focus:bg-slate-900 disabled:bg-slate-900","border-slate-800 hover:border-slate-900 focus:border-slate-900 disabled:border-slate-200","text-white disabled:text-slate-400"],e==="solid"&&t&&["disabled:border-slate-900","disabled:text-white"]],r),...a})});export{x as Button,x as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as f}from"react/jsx-runtime";import{cn as t}from"../../../../../utils/cn.js";function m({children:r,className:o,...e}){return f("div",{className:t("flex flex-col",o),...e,children:r})}export{m as Card,m as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as b,jsxs as d,Fragment as c}from"react/jsx-runtime";import{Checkbox as p}from"react-aria-components";import{cn as x}from"../../../../../utils/cn.js";function g({control:t,isHovered:e,isFocused:f,isDisabled:l,isIndeterminate:o,isInvalid:r,isSelected:n,isPressed:a,classNames:u,...h}){return t?typeof t=="function"?t({isHovered:e,isFocused:f,isDisabled:l,isIndeterminate:o,isInvalid:r,isSelected:n,isPressed:a,...h}):t:b("div",{className:x("flex items-center justify-center","w-6 h-6","border border-solid border-slate-300 rounded","transition-all duration-200 ease-in-out","checkbox-control",e&&["border-slate-400"],f&&["border-slate-400 outline-2 outline outline-slate-200"],(l||l&&o)&&["border-slate-200 bg-slate-100"],r&&["bg-slate-100 text-red-600 border-red-500"],r&&e&&["border-red-600"],r&&f&&["border-red-600 outline-red-200"],r&&n&&o&&["bg-red-500 border-red-500"],r&&n&&o&&a&&["bg-red-600 border-red-600"],(n||o)&&["border-slate-300 bg-slate-300"],(n||o)&&a&&["border-slate-400 bg-slate-400"],u==null?void 0:u.control),children:b("svg",{viewBox:"0 0 18 18","aria-hidden":"true",style:{strokeDasharray:"22px",strokeDashoffset:n||o?44:66},className:x("w-4 h-4 fill-none","stroke-white stroke-[3px]","transition-all duration-200 ease-in-out",l&&o&&["stroke-none fill-slate-300"],o&&["stroke-none fill-white"]),children:o?b("rect",{x:1,y:7.5,width:15,height:3}):b("polyline",{points:"1 9 7 14 15 4"})})})}function k({children:t,slots:e,className:f,classNames:l,...o}){return b(p,{className:x("flex items-center gap-2","text-xs text-slate-500 forced-color-adjust-none disabled:text-slate-400 group","invalid:text-red-500",f),...o,children:r=>d(c,{children:[b(g,{control:e==null?void 0:e.control,classNames:l,...r}),typeof t=="function"?t(r):t]})})}k.defaultProps={slots:{control:void 0},classNames:void 0};export{k as Checkbox,k as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as r}from"react/jsx-runtime";import{useContext as a}from"react";import{motion as l}from"framer-motion";import{CollapsibleTriggerStateContext as p}from"./CollapsibleTrigger.js";import{cn as s}from"../../../../../utils/cn.js";function c({children:i,className:t}){const{isOpen:e,id:o,defaultOpen:n}=a(p);return r(l.div,{className:s("w-full overflow-hidden",t),id:o,variants:{hidden:{height:"0px",opacity:0},visible:{height:"auto",opacity:1}},initial:n?"visible":"hidden",animate:e?"visible":"hidden",transition:{type:"spring",bounce:0},children:i})}export{c as Collapsible,c as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as o}from"react/jsx-runtime";import{Provider as i}from"react-aria-components";import{useControlledState as c}from"../../../../../node_modules/.pnpm/@react-stately_utils@3.10.4_react@18.2.0/node_modules/@react-stately/utils/dist/useControlledState.js";import{createContext as d,useId as p,useRef as u,useCallback as m}from"react";import{PressResponder as b}from"../../../../../node_modules/.pnpm/@react-aria_interactions@3.22.4_react@18.2.0/node_modules/@react-aria/interactions/dist/PressResponder.js";import{cn as g}from"../../../../../utils/cn.js";const C=d({});function R({children:a,className:s,...t}){const r=p(),[e,n]=c(t.isOpen,t.defaultOpen||!1,t.onOpenChange),l=u(null),f=m(()=>{n(!e)},[n,e]);return o(i,{values:[[C,{isOpen:e,id:r,defaultOpen:t.defaultOpen||!1}]],children:o(b,{ref:l,isPressed:e,onPress:f,"aria-expanded":e,"aria-controls":r,children:o("div",{className:g("w-full",s),children:a})})})}export{R as CollapsibleTrigger,C as CollapsibleTriggerStateContext,R as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as a}from"react/jsx-runtime";import{forwardRef as e}from"react";import{cn as n}from"../../../../../utils/cn.js";const s=e(({children:r,className:o,...t},m)=>a("div",{ref:m,className:n("container","mx-auto my-0","py-0 px-4",o),...t,children:r}));export{s as Container,s as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as t}from"react/jsx-runtime";import{Popover as x,Menu as c}from"react-aria-components";import{forwardRef as h}from"react";import{motion as l}from"framer-motion";import{cn as a}from"../../../../../utils/cn.js";const v=h(({style:o,...e},i)=>{const n=typeof o=="function"?o(e):o;return t(x,{...e,ref:i,style:n})}),y=l.create(v);function _({children:o,key:e,onAction:i,setAnimation:n,animation:d="hidden",className:m,classNames:r,...u}){return t(y,{className:a("px-0 py-1.5","shadow-[0_10px_15px_-3px_rgba(0,0,0,0.1),0_4px_6px_-4px_rgba(0,0,0,0.1)]","rounded-md","w-56","bg-white","border border-solid border-slate-300",m),isExiting:d==="hidden",onAnimationComplete:f=>{n(p=>f==="hidden"&&p==="hidden"?"unmounted":p)},variants:{hidden:{opacity:0,y:-10},visible:{opacity:1,y:0}},initial:"hidden",animate:d,...u,children:t(c,{className:a("outline-none",r==null?void 0:r.menu),onAction:i,children:o})},e)}_.defaultProps={key:void 0,onAction:void 0,classNames:void 0,style:void 0};export{_ as ContextMenu,_ as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsxs as h,jsx as o}from"react/jsx-runtime";import{NumberFormatBase as v}from"../../../../../node_modules/.pnpm/react-number-format@5.4.2_react-dom@18.2.0_react@18.2.0/node_modules/react-number-format/dist/react-number-format.es.js";import{TextField as m,Label as c,Text as g,FieldError as s,Input as I}from"react-aria-components";import{cn as t}from"../../../../../utils/cn.js";function w({className:d,...i}){return o(I,{className:t("border-solid border border-slate-300 rounded-md","text-sm text-slate-900 placeholder-slate-400","h-10 px-2 py-0 m-0 w-full","bg-white","transition-all duration-200 ease-in-out","hover:border-slate-400","focus:outline-2 focus:outline focus:outline-slate-200 focus:border-slate-400","disabled:border-slate-200 disabled:bg-slate-100","invalid:border-red-500 invalid:bg-red-100 invalid:text-red-600","invalid:hover:border-red-600 invalid:focus:border-red-600 invalid:focus:outline-red-200",d),...i})}function F({label:d,description:i,errorMessage:n,placeholder:u,value:f,className:b,classNames:e,...x}){const p=l=>{if(l==="")return"";let r=l.substring(0,2);const a=l.substring(2,4);return r.length===1&&Number(r[0])>1?r=`0${r[0]}`:r.length===2&&(Number(r)===0?r="01":Number(r)>12&&(r="12")),`${r}/${a}`};return h(m,{className:t("flex flex-col w-full text-slate-900",b),...x,children:[o(c,{className:t("flex text-slate-500 text-sm",e==null?void 0:e.label),children:d}),o(v,{format:p,customInput:w,className:t(e==null?void 0:e.input),placeholder:u,value:f}),i&&o(g,{className:t("flex text-slate-500 text-sm",e==null?void 0:e.description),slot:"description",children:i}),o(s,{className:t("flex text-red-500 text-sm",e==null?void 0:e.error),children:n})]})}F.defaultProps={label:void 0,description:void 0,errorMessage:void 0,placeholder:void 0,classNames:void 0};export{F as CreditCardExpirationInput,F as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsxs as C,jsx as i}from"react/jsx-runtime";import{useState as I,useEffect as P}from"react";import{NumberFormatBase as w}from"../../../../../node_modules/.pnpm/react-number-format@5.4.2_react-dom@18.2.0_react@18.2.0/node_modules/react-number-format/dist/react-number-format.es.js";import{TextField as j,Label as E,Text as L,FieldError as T,Input as k}from"react-aria-components";import{cn as o}from"../../../../../utils/cn.js";const s=n=>{const a=[{regex:/^4[0-9]{0,15}/,format:"#### #### #### ####"},{regex:/^5[1-5][0-9]{0,14}/,format:"#### #### #### ####"},{regex:/^3[47][0-9]{0,13}/,format:"#### ###### #####"},{regex:/^6(?:011|5[0-9]{2})[0-9]{0,12}/,format:"#### #### #### ####"},{regex:/^3(?:0[0-5]|[68][0-9])[0-9]{0,11}/,format:"#### ###### ####"},{regex:/^(?:2131|1800|35\d{3})\d{0,11}/,format:"#### #### #### ####"}].find(x=>x.regex.test(n));return a?a.format:"#### #### #### #### ###"};function y({className:n,...d}){return i(k,{className:o("border-solid border border-slate-300 rounded-md","text-sm text-slate-900 placeholder-slate-400","h-10 px-2 py-0 m-0 w-full","bg-white","transition-all duration-200 ease-in-out","hover:border-slate-400","focus:outline-2 focus:outline focus:outline-slate-200 focus:border-slate-400","disabled:border-slate-200 disabled:bg-slate-100","invalid:border-red-500 invalid:bg-red-100 invalid:text-red-600","invalid:hover:border-red-600 invalid:focus:border-red-600 invalid:focus:outline-red-200",n),...d})}function A({label:n,description:d,errorMessage:a,placeholder:x,value:p,onChange:g,className:b,classNames:e,...h}){const[v,m]=I(p||"");P(()=>{m(p||"")},[p]);const V=u=>{if(u==="")return"";const t=u.replace(/\s+/g,""),f=s(t);let l="",r=0;for(let c=0;c<f.length;c+=1)if(f[c]==="#")if(r<t.length)l+=t[r],r+=1;else break;else l+=f[c];return l},F=u=>{const t=u.value.replace(/\s+/g,""),l=s(t).replace(/[^#]/g,"").length,r=t.slice(0,l);m(r),g&&g(r)};return C(j,{className:o("flex flex-col w-full text-slate-900",b),...h,children:[i(E,{className:o("flex text-slate-500 text-sm",e==null?void 0:e.label),children:n}),i(w,{value:v,format:V,customInput:y,className:o(e==null?void 0:e.input),placeholder:x,onValueChange:F}),d&&i(L,{className:o("flex text-slate-500 text-sm",e==null?void 0:e.description),slot:"description",children:d}),i(T,{className:o("flex text-red-500 text-sm",e==null?void 0:e.error),children:a})]})}A.defaultProps={label:void 0,description:void 0,errorMessage:void 0,placeholder:void 0,classNames:void 0,value:void 0,onChange:()=>{}};export{A as CreditCardInput,A as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsxs as u,jsx as i}from"react/jsx-runtime";import{DateField as f,Label as x,DateInput as b,DateSegment as p,Text as c,FieldError as h}from"react-aria-components";import{cn as t}from"../../../../../utils/cn.js";function v({label:o,description:r,errorMessage:d,className:l,classNames:e,...n}){return u(f,{className:t("text-slate-900",l),...n,children:[i(x,{className:t("flex text-slate-500 text-sm",e==null?void 0:e.label),children:o}),i(b,{className:t("flex items-center","border-solid border border-slate-300 rounded-md","text-sm text-slate-900","h-10 px-1 py-0 m-0 w-full","bg-white","transition-all duration-200 ease-in-out","hover:border-slate-400","focus-within:outline-2 focus-within:outline focus-within:outline-slate-200 focus-within:border-slate-400","disabled:border-slate-200 disabled:bg-slate-100","invalid:border-red-500 invalid:bg-red-100 invalid:text-red-600","invalid:hover:border-red-600 invalid:focus-within:border-red-600 invalid:focus-within:outline-red-200",e==null?void 0:e.input),children:a=>i(p,{segment:a,className:t("p-1 tabular-nums text-end text-slate-900","invalid:text-red-500","disabled:cursor-default disabled:select-none disabled:text-slate-400","focus:text-slate-900 focus:bg-slate-200 focus:outline-0 focus:rounded-md focus:caret-transparent focus:invalid:bg-red-500 focus:invalid:text-white","type-literal:p-0","data-[placeholder]:text-slate-400 data-[placeholder]:invalid:text-red-500 data-[placeholder]:invalid:focus:text-white","aria-[readonly]:focus-visible:outline aria-[readonly]:focus-visible:outline-slate-500 aria-[readonly]:focus-visible:outline-1","aria-[readonly]:focus:outline aria-[readonly]:focus:outline-slate-500 aria-[readonly]:focus:bg-transparent aria-[readonly]:focus:outline-2",e==null?void 0:e.segment)})}),r&&i(c,{className:t("flex text-slate-500 text-sm",e==null?void 0:e.description),slot:"description",children:r}),i(h,{className:t("flex text-red-500 text-sm",e==null?void 0:e.error),children:d})]})}v.defaultProps={label:void 0,description:void 0,errorMessage:void 0,classNames:void 0};export{v as DateInput,v as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import{forwardRef as n}from"react";import{Dialog as s}from"react-aria-components";import{motion as l}from"framer-motion";import{cn as m}from"../../../../../utils/cn.js";const d=n(({style:a,animationVariants:r,...o},t)=>{const i=typeof a=="function"?a(o):a;return e(s,{...o,ref:t,style:i})}),f=l.create(d);function c({className:a,children:r,animationVariants:o,...t}){return e(f,{className:m("p-8 outline-0 max-w-max w-screen absolute top-2/4 left-2/4","shadow-[0_8px_24px_rgba(0,0,0,0.1)] rounded-lg bg-white border border-solid border-slate-400","transform -translate-x-1/2 -translate-y-1/2",a),...t,variants:o||{hidden:{transform:"translate(-50%, -50%) scale(0.8)",transition:{ease:"backIn"}},visible:{transform:"translate(-50%, -50%) scale(1)",transition:{ease:"backOut"}}},children:r})}c.defaultProps={key:void 0,style:void 0,animationVariants:void 0};export{c as Dialog,c as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as t}from"react/jsx-runtime";import{createContext as s,useContext as m,useState as u,useMemo as l}from"react";import{DialogTrigger as c}from"react-aria-components";const i=s({animation:"unmounted",setAnimation:()=>{},onOpenChange:()=>{}}),x=()=>m(i);function C(r){const[e,n]=u("unmounted"),o=g=>{n(g?"visible":"hidden")},a=l(()=>({animation:e,setAnimation:n,onOpenChange:o}),[e]);return t(i.Provider,{value:a,children:t(c,{...r,onOpenChange:o})})}export{C as DialogTrigger,C as default,x as useDialogTrigger};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import{useSeparator as n}from"react-aria";import{cn as m}from"../../../../../utils/cn.js";function p({orientation:a="horizontal",className:t,...r}){const{separatorProps:i}=n({...r,orientation:a}),o={...r,...i};return e("div",{...o,className:m("bg-slate-200",["w-full","h-px","my-4","mx-0"],["aria-[orientation=vertical]:w-px","aria-[orientation=vertical]:h-auto","aria-[orientation=vertical]:my-0","aria-[orientation=vertical]:mx-4"],t)})}export{p as Divider,p as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as i}from"react/jsx-runtime";import{forwardRef as s}from"react";import{Dialog as n}from"react-aria-components";import{motion as d}from"framer-motion";import{cn as m}from"../../../../../utils/cn.js";const l={top:{hidden:{y:"-100%",transition:{ease:"easeIn"}},visible:{y:0,transition:{ease:"easeOut"}}},bottom:{hidden:{y:"100%",transition:{ease:"easeIn"}},visible:{y:0,transition:{ease:"easeOut"}}},right:{hidden:{x:"100%",transition:{ease:"easeIn"}},visible:{x:0,transition:{ease:"easeOut"}}},left:{hidden:{x:"-100%",transition:{ease:"easeIn"}},visible:{x:0,transition:{ease:"easeOut"}}}},b=s(({style:t,size:r="20rem",...e},a)=>{const o=typeof t=="function"?t(e):{...t,"--drawer-size":`${r}`};return i(n,{...e,ref:a,style:o})}),h=d.create(b);function p({direction:t="right",children:r,className:e,animationVariants:a,...o}){return i(h,{className:m("fixed p-8 outline-0 bg-white","border-solid border-slate-200","max-w-full max-h-[var(--visual-viewport-height)]",t==="top"&&"top-0 left-0 right-0 bottom-auto border-b shadow-[0_8px_24px_rgba(0,0,0,0.1)] h-[var(--drawer-size)]",t==="right"&&"top-0 left-auto bottom-0 right-0 border-l shadow-[-8px_0_24px_rgba(0,0,0,0.1)] w-[var(--drawer-size)]",t==="bottom"&&"bottom-0 left-0 right-0 top-auto border-t shadow-[0_-8px_24px_rgba(0,0,0,0.1)] h-[var(--drawer-size)]",t==="left"&&"top-0 bottom-0 left-0 right-auto border-r shadow-[8px_0_24px_rgba(0,0,0,0.1)] w-[var(--drawer-size)]",e),"data-direction":t,variants:a||l[t],...o,children:r})}p.defaultProps={direction:"right",key:void 0,style:void 0,animationVariants:void 0,size:"20rem"};export{p as Drawer,p as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsxs as x,jsx as t}from"react/jsx-runtime";import{TextField as f,Label as b,Input as p,Text as v,FieldError as h}from"react-aria-components";import{cn as r}from"../../../../../utils/cn.js";function a({label:d,description:o,errorMessage:i,placeholder:l,className:n,classNames:e,...u}){return x(f,{className:r("flex flex-col w-full text-slate-900",n),...u,children:[t(b,{className:r("flex text-slate-500 text-sm",e==null?void 0:e.label),children:d}),t(p,{placeholder:l,className:r("border-solid border border-slate-300 rounded-md","text-sm text-slate-900 placeholder-slate-400","h-10 px-2 py-0 m-0 w-full","bg-white","transition-all duration-200 ease-in-out","hover:border-slate-400","focus:outline-2 focus:outline focus:outline-slate-200 focus:border-slate-400","disabled:border-slate-200 disabled:bg-slate-100","invalid:border-red-500 invalid:bg-red-100 invalid:text-red-600","invalid:hover:border-red-600 invalid:focus:border-red-600 invalid:focus:outline-red-200",e==null?void 0:e.input)}),o&&t(v,{className:r("flex text-slate-500 text-sm",e==null?void 0:e.description),slot:"description",children:o}),t(h,{className:r("flex text-red-500 text-sm",e==null?void 0:e.error),children:i})]})}a.defaultProps={label:void 0,description:void 0,errorMessage:void 0,placeholder:void 0,classNames:void 0};export{a as Input,a as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as o}from"react/jsx-runtime";import{Link as s}from"react-aria-components";import{cn as i}from"../../../../../utils/cn.js";function u({children:t,isDisabled:e,className:r,...a}){return o(s,{...a,isDisabled:e,className:i("cursor-pointer","text-slate-500","no-underline","transition-colors duration-300","hover:text-slate-800",['data-[disabled="true"]:cursor-default','data-[disabled="true"]:text-slate-300','data-[disabled="true"]:hover:text-slate-300'],r),children:t})}export{u as Link,u as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import{motion as r}from"framer-motion";import{cn as t}from"../../../../../utils/cn.js";function d({width:a,stroke:i,strokeLinecap:s="round",strokeWidth:n=5,className:o,style:l,...c}){return e("div",{style:{"--circularWidth":`${a}px`,...l},...c,className:t("relative","m-0","w-[--circularWidth]","aspect-square",o),children:e(r.svg,{animate:{transform:"rotate(360deg)",transition:{repeat:1/0,duration:2,ease:"linear"}},viewBox:"25 25 50 50",className:t("w-full h-full","absolute inset-x-0 inset-y-0","origin-center","m-auto"),children:e(r.circle,{animate:{strokeDasharray:["1, 200","89, 200","89, 200"],strokeDashoffset:[0,-35,-124],transition:{repeat:1/0,duration:1.5,ease:"easeInOut"}},className:"path",cx:"50",cy:"50",fill:"none",r:"20",strokeDasharray:"1, 200",strokeDashoffset:"0",stroke:i,strokeLinecap:s,strokeMiterlimit:"10",strokeWidth:n})})})}export{d as CircularEasing,d as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as t}from"react/jsx-runtime";import{motion as i}from"framer-motion";import{cn as n}from"../../../../../utils/cn.js";function e({classNames:r}){return t("span",{className:n(r==null?void 0:r.base),children:Array.from(new Array(3)).map((a,o)=>t(i.div,{animate:{opacity:[1,1,.7,1,1],transform:["scale(1)","scale(1)","scale(0.1)","scale(1)","scale(1)"],transition:{repeat:1/0,duration:.75,delay:o*.1}},className:n("bg-slate-300","inline-block","w-2","h-2","m-0.5","rounded-lg",r==null?void 0:r.dot)},o))})}e.defaultProps={classNames:void 0};export{e as Pulse,e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as i,jsxs as d,Fragment as b}from"react/jsx-runtime";import{Meter as g,Label as j}from"react-aria-components";import{motion as w}from"framer-motion";import{cn as t}from"../../../../../utils/cn.js";function y({label:o,showValue:n=!0,value:p=0,minValue:f=0,maxValue:u=100,formatOptions:h={style:"percent"},className:l,classNames:r,...v}){return i(g,{className:t("flex flex-col gap-2",l),value:p,minValue:f,maxValue:u,formatOptions:h,...v,children:({percentage:e,valueText:x})=>d(b,{children:[(o||n)&&d("div",{className:t("flex justify-between gap-4",r==null?void 0:r.labelWrapper),children:[o&&i(j,{className:t("text-sm",r==null?void 0:r.label),children:o}),n&&i("span",{className:t("text-sm tabular-nums ml-auto",r==null?void 0:r.value),children:x})]}),i("div",{className:t("h-2.5 rounded-md bg-slate-300 forced-color-adjust-none overflow-hidden",r==null?void 0:r.trackWrapepr),children:i(w.div,{className:t("h-full bg-slate-800",r==null?void 0:r.track),initial:{width:`${e}%`},animate:{width:`${e}%`},transition:{type:"spring",bounce:0}})})]})})}y.defaultProps={showValue:void 0,label:void 0,classNames:void 0};export{y as Meter,y as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as t}from"react/jsx-runtime";import{Modal as m}from"react-aria-components";import{cn as s}from"../../../../../utils/cn.js";function i({children:o,className:a,...r}){return t(m,{...r,className:s("absolute inset-1/2",a),children:o})}export{i as Modal,i as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as o}from"react/jsx-runtime";import{forwardRef as f,useId as u,createElement as v}from"react";import{ModalOverlay as p}from"react-aria-components";import{motion as y,AnimatePresence as h}from"framer-motion";import{useDialogTrigger as b}from"../DialogTrigger/DialogTrigger.js";import{cn as x}from"../../../../../utils/cn.js";const M=f(({style:i,...e},t)=>{const n=typeof i=="function"?i(e):i;return o(p,{...e,ref:t,style:n})}),O=y.create(M);function r({animate:i,animation:e,setAnimation:t,className:n,animationVariants:d,children:l,...m}){const s=u();return v(O,{...m,key:s,isExiting:e==="hidden",onAnimationComplete:c=>{t(a=>c==="hidden"&&a==="hidden"?"unmounted":a)},variants:d||{hidden:{opacity:0,backdropFilter:"blur(0px)",transition:{delay:.08}},visible:{opacity:1,backdropFilter:"blur(8px)"}},initial:"hidden",animate:i,exit:"hidden",className:x("bg-black/30","fixed top-0 left-0","z-50","w-screen h-[var(--visual-viewport-height)]",n)},l)}function g(i){const{isOpen:e}=i,{animation:t,setAnimation:n}=b();return e!==void 0?o(h,{children:e&&o(r,{...i,animate:"visible",animation:t,setAnimation:n})}):o(r,{...i,animate:t,animation:t,setAnimation:n})}g.defaultProps={key:void 0,style:void 0,animationVariants:void 0};export{g as ModalOverlay,g as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsxs as b,jsx as r}from"react/jsx-runtime";import{NumberField as g,Label as x,Group as v,Button as p,Input as w,Text as k,FieldError as I}from"react-aria-components";import{cn as o}from"../../../../../utils/cn.js";const s=r("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:r("path",{d:"M5 12H19",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),y=r("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:r("path",{d:"M12 5V19M5 12H19",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})});function j({label:a,description:d,errorMessage:h,isInvalid:i,isReadOnly:l,slots:t,className:f,classNames:e,...c}){const n=["group-hover:border-slate-400","group-disabled:border-slate-200","group-invalid:border-red-500 group-invalid:bg-red-100 group-invalid:text-red-600","group-invalid:group-hover:border-red-600","group-invalid:group-focus:border-red-600"],u=["flex items-center justify-center shrink-0","rounded-md border-solid border","font-semibold text-sm","w-10 h-10 py-0 px-0 cursor-pointer disabled:cursor-default","transition-all duration-200 ease-in-out","focus:outline-2 focus:outline focus:outline-slate-200 pressed:scale-95","bg-transparent hover:bg-transparent focus:bg-transparent disabled:bg-transparent","border-slate-300 hover:border-slate-400 focus:border-slate-400 disabled:border-slate-200","text-slate-900 disabled:text-slate-500","group-aria-readonly:bg-slate-100 group-aria-readonly:text-slate-500 group-aria-readonly:border-slate-200 group-aria-readonly:cursor-default"];return b(g,{isInvalid:i,isReadOnly:l,className:o("flex flex-col w-full",f),...c,children:[r(x,{className:o("flex text-slate-500 text-sm",e==null?void 0:e.label),children:a}),b(v,{isInvalid:i,"aria-readonly":l,className:o("flex rounded-md group","focus-within:outline-2 focus-within:outline focus-within:outline-slate-200","focus-within:invalid:outline-2 focus-within:invalid:outline focus-within:invalid:outline-slate-200","disabled:bg-slate-100",e==null?void 0:e.group),children:[r(p,{slot:"decrement",className:o("border-r-0 rounded-r-none",u,n,e==null?void 0:e.decrementBtn),children:t==null?void 0:t.decrementIcon}),r(w,{className:o("border-solid border border-slate-300","text-sm text-slate-900 placeholder-slate-400","h-10 px-2 py-0 m-0 w-full","bg-white","transition-all duration-200 ease-in-out","hover:border-slate-400","focus:outline-0 focus:border-slate-400","disabled:border-slate-200 disabled:bg-slate-100","invalid:border-red-500 invalid:bg-red-100 invalid:text-red-600","invalid:hover:border-red-600 invalid:focus:border-red-600",n,e==null?void 0:e.input)}),r(p,{slot:"increment",className:o("border-l-0 rounded-l-none",u,n,e==null?void 0:e.incrementBtn),children:t==null?void 0:t.incrementIcon})]}),d&&r(k,{className:o("flex text-slate-500 text-sm",e==null?void 0:e.description),slot:"description",children:d}),r(I,{className:o("flex text-red-500 text-sm",e==null?void 0:e.error),children:h})]})}j.defaultProps={label:void 0,description:void 0,errorMessage:void 0,classNames:void 0,slots:{decrementIcon:s,incrementIcon:y}};export{j as NumberInput,j as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsxs as m,jsx as b}from"react/jsx-runtime";import{useState as P,useRef as G,useEffect as T}from"react";import{Group as J,Label as U,TextField as j,Input as z,Text as Z,FieldError as q}from"react-aria-components";import{cn as f}from"../../../../../utils/cn.js";function H({description:k,errorMessage:E,isDisabled:D=!1,isInvalid:v=!1,isMasked:K=!1,isRequired:A=!0,label:V,length:c=6,name:h,onChange:w,value:L="",type:$="numeric",validationBehavior:I="native",className:M,classNames:r,...R}){const[B,C]=P(L),[n,g]=P(Array(c).fill("")),a=G([]);T(()=>{a.current=a.current.slice(0,c)},[c]),T(()=>{const e=n.join("");C(e),w&&w(e)},[w,n]);const F=e=>{var l,o;const t=e.target.value,u=Number(e.target.getAttribute("data-pin-input-index"));t!==""&&u<n.length-1&&((o=(l=a.current)==null?void 0:l[u+1])==null||o.focus());const d=n.map((x,p)=>p===u?t:x);g(d)},S=e=>{var l,o,x,p;const t=Number(e.currentTarget.getAttribute("data-pin-input-index"));if(e.ctrlKey||e.metaKey)return;const u=["Backspace","Delete","ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Control","Alt","Meta","Shift","Tab","Enter","Escape"],d={alpha:/^[a-z]$/i,alphanumeric:/^[a-z0-9]$/i,numeric:/^[0-9]$/i};if(!e.key.match(d[$])&&!u.includes(e.key)&&e.preventDefault(),n[t]===""&&t>0&&e.key==="Backspace"){const s=n.map((i,y)=>y===t-1?"":i);g(s),(o=(l=a.current)==null?void 0:l[t-1])==null||o.focus(),e.preventDefault()}if(n[t]===""&&t<n.length-1&&e.key==="Delete"){const s=n.map((i,y)=>y===t+1?"":i);g(s),(p=(x=a.current)==null?void 0:x[t+1])==null||p.focus(),e.preventDefault()}},W=e=>{var p,s;const t=Number(e.currentTarget.getAttribute("data-pin-input-index"));e.preventDefault();const u=(p=e.clipboardData)==null?void 0:p.getData("text");if(!u)return;const d=u.split("").filter(i=>{switch($){case"alpha":return/^[a-zA-Z]$/.test(i);case"alphanumeric":return/^[a-z0-9]$/i.test(i);case"numeric":default:return/^[0-9]$/.test(i)}});if(d.length===0)return;const l=[...n];let o=t;for(let i=0;i<d.length&&t+i<c;i++)l[t+i]=d[i],o=t+i;g(l);const x=o+1<c?o+1:c-1;(s=a.current[x])==null||s.focus()};return m(J,{className:f("flex flex-wrap gap-2",M),"aria-label":V,...R,children:[b(U,{className:f("flex text-slate-500 text-sm grow shrink-0 basis-full",r==null?void 0:r.label),children:V}),n.map((e,t)=>b(j,{className:f("flex flex-col w-full flex-1 text-slate-900",r==null?void 0:r.inputWrap),"aria-label":`Pin Input Digit ${t+1}`,isDisabled:D,isInvalid:v,isRequired:A,validationBehavior:I,children:b(z,{className:f("border-solid border border-slate-300 rounded-md","text-sm text-slate-900 placeholder-slate-400 text-center","h-10 px-2 py-0 m-0 w-full","bg-white","transition-all duration-200 ease-in-out","hover:border-slate-400","focus:outline-2 focus:outline focus:outline-slate-200 focus:border-slate-400","disabled:border-slate-200 disabled:bg-slate-100","invalid:border-red-500 invalid:bg-red-100 invalid:text-red-600","invalid:hover:border-red-600 invalid:focus:border-red-600 invalid:focus:outline-red-200",r==null?void 0:r.input),onChange:F,onKeyDown:S,onPaste:W,type:K?"password":"text",ref:u=>u?a.current[t]=u:null,value:e,maxLength:1,name:h&&`${h}-${t}`,"data-pin-input-index":t})},`pin-input-${t}`)),m(j,{className:f("flex flex-row flex-wrap grow shrink-0 basis-full",r==null?void 0:r.textWrap),"aria-label":"Pin Input",isDisabled:D,isInvalid:v,isRequired:A,validationBehavior:I,children:[h&&b(z,{type:"hidden",name:h,value:B}),k&&b(Z,{className:f("flex text-slate-500 text-sm grow shrink-0 basis-full",r==null?void 0:r.description),slot:"description",children:k}),b(q,{className:f("flex text-red-500 text-sm grow shrink-0 basis-full",r==null?void 0:r.error),children:E})]})]})}H.defaultProps={description:void 0,errorMessage:void 0,isMasked:!1,isRequired:!0,label:void 0,classNames:void 0,length:6,name:"",onChange:()=>{},value:"",type:"numeric",validationBehavior:"native"};export{H as PinInput,H as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as o,jsxs as f}from"react/jsx-runtime";import{ProgressBar as b,Label as g}from"react-aria-components";import{cn as t}from"../../../../../utils/cn.js";function $({label:a,value:x=0,showValue:h=!0,size:n=60,strokeWidth:i=6,className:u,classNames:r,...m}){const e=n/2,l=e-i,c=2*Math.PI*l;return o(b,{"aria-label":"Loading...",className:t("flex",u),...m,value:x,children:({percentage:d=0})=>f("div",{className:t("flex items-center flex-col",r==null?void 0:r.base),children:[o(g,{className:t("text-sm",r==null?void 0:r.label),children:a}),f("svg",{width:n,height:n,fill:"none",children:[o("circle",{className:t("stroke-slate-300"),cx:e,cy:e,r:l,strokeWidth:i}),o("circle",{className:t("stroke-slate-800 transition-stroke-dashoffset duration-500 ease-in-out"),cx:e,cy:e,r:l,strokeWidth:i,strokeDasharray:`${c} ${c}`,strokeDashoffset:(100-d)/100*c,strokeLinecap:"round",transform:`rotate(-90 ${e} ${e})`}),h&&f("text",{className:t("text-sm fill-slate-800",r==null?void 0:r.value),x:"50%",y:"50%",alignmentBaseline:"middle",textAnchor:"middle",children:[d,"%"]})]})]})})}export{$ as CircularProgressbar,$ as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as o,jsxs as d,Fragment as w}from"react/jsx-runtime";import{ProgressBar as x,Label as l}from"react-aria-components";import{motion as g}from"framer-motion";import{cn as t}from"../../../../../utils/cn.js";function L({label:e,isIndeterminate:n,showValue:f=!0,width:h,className:u,classNames:r,...p}){return o(x,{style:{width:h||"100%"},className:t("overflow-hidden",u),...p,children:({percentage:i,valueText:b})=>d(w,{children:[d("div",{className:t("flex items-center justify-between gap-2 mb-1",r==null?void 0:r.labelWrapper),children:[o(l,{className:t("text-sm",r==null?void 0:r.label),children:e}),f&&o("span",{className:t("text-sm",r==null?void 0:r.value),children:b})]}),o("div",{className:t("overflow-hidden forced-color-adjust-none h-2.5 rounded will-change-transform bg-slate-300",r==null?void 0:r.trackWrapper),children:o(g.div,{style:{width:!n&&typeof i=="number"?`${i}%`:""},...n&&{animate:{x:["-100%","250px"]},transition:{repeat:1/0,duration:1.5}},className:t("h-full bg-slate-800 rounded transition-width duration-500 ease-in-out",{"w-1/2":n,"transition-none":n},r==null?void 0:r.track)})})]})})}export{L as LinearProgressbar,L as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as t,jsxs as n,Fragment as v}from"react/jsx-runtime";import{Radio as b}from"react-aria-components";import{cn as i}from"../../../../../utils/cn.js";function c({control:d,classNames:a,...e}){return d?typeof d=="function"?d(e):d:t("div",{"data-hovered":e==null?void 0:e.isHovered,"data-focused":e==null?void 0:e.isFocused,"data-disabled":e==null?void 0:e.isDisabled,"data-invalid":e==null?void 0:e.isInvalid,"data-selected":e==null?void 0:e.isSelected,"data-pressed":e==null?void 0:e.isPressed,className:i("flex items-center justify-center w-6 h-6 border-solid border border-slate-300 ransition-all duration-300 ease rounded-full",'data-[hovered="true"]:border-slate-400','data-[focused="true"]:border-slate-400 data-[focused="true"]:outline-2 data-[focused="true"]:outline data-[focused="true"]:outline-slate-200','data-[disabled="true"]:border-slate-200 data-[disabled="true"]:bg-slate-100','data-[invalid="true"]:bg-red-100 data-[invalid="true"]:text-red-600 data-[invalid="true"]:border-red-500','data-[invalid="true"]:data-[disabled="true"]:border-red-200 data-[invalid="true"]:data-[disabled="true"]:bg-red-100','data-[invalid="true"]:data-[hovered="true"]:border-red-600','data-[invalid="true"]:data-[focused="true"]:border-red-600 data-[invalid="true"]:data-[focused="true"]:outline-red-200','data-[invalid="true"]:data-[selected="true"]:bg-red-100 data-[invalid="true"]:data-[selected="true"]:border-red-500','data-[invalid="true"]:data-[pressed="true"]:bg-red-600 data-[invalid="true"]:data-[pressed="true"]:border-red-600',a==null?void 0:a.control),...e,children:t("div",{"data-invalid":e==null?void 0:e.isInvalid,className:i('w-3 h-3 rounded-full bg-slate-900 opacity-0 transition-all duration-300 ease data-[invalid="true"]:bg-red-500',{"opacity-100":e==null?void 0:e.isSelected})})})}function f({children:d,slots:a,className:e,classNames:l,...u}){return t(b,{className:i("flex items-center gap-2 group","invalid:text-red-500 invalid:disabled:text-red-300","disabled:text-slate-400",e),...u,children:r=>n(v,{children:[t(c,{control:a==null?void 0:a.control,classNames:l,...r}),typeof d=="function"?d(r):d]})})}f.defaultProps={children:void 0,slots:void 0,classNames:void 0};export{f as Radio,f as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as a}from"react/jsx-runtime";import{ListBoxItem as d}from"react-aria-components";import{cn as s}from"../../../../../utils/cn.js";function n({className:e,...t}){return a(d,{...t,className:s("flex flex-auto items-center","rounded-md","p-2.5 mx-1.5","text-sm","cursor-default","outline-none","text-slate-900","transition-all ease-in-out duration-300","data-[hovered]:bg-slate-100 data-[hovered]:text-slate-900","data-[focused]:bg-slate-100 data-[hovered]:text-slate-900","data-[pressed]:bg-slate-200 data-[hovered]:text-slate-900","data-[selected]:bg-none data-[selected]:text-slate-900 data-[selected]:font-semibold data-[selected]:data-[focused]:bg-slate-100","data-[disabled]:bg-none data-[disabled]:text-slate-500",e)})}export{n as Option,n as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e,jsxs as x,Fragment as L}from"react/jsx-runtime";import{Popover as O,ComboBox as P,Label as M,Input as S,Button as j,Text as A,FieldError as D,ListBox as E}from"react-aria-components";import{forwardRef as F,useState as v}from"react";import{motion as T}from"framer-motion";import{cn as o}from"../../../../../utils/cn.js";import{Pulse as R}from"../Loader/Pulse.js";const U=F((i,d)=>e(O,{...i,ref:d})),W=T.create(U);function m({buttonIcon:i,...d}){return i?typeof i=="function"?i(d):i:e("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:o("transition-all ease-in-out duration-200",d.isOpen?"rotate-180":"rotate-0"),children:e("path",{d:"M6 9L12 15L18 9",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:o(["stroke-slate-900",d.isDisabled&&"stroke-slate-400",d.isInvalid&&"stroke-red-500"])})})}function q({label:i,description:d,errorMessage:p,children:h,placeholder:g,key:w,isLoading:n,slots:r,popoverPortalContainer:c,popoverOffset:k,selectedKey:y,className:C,classNames:t,...l}){const[a,u]=v("unmounted"),[b,_]=v(!1);return e(P,{onOpenChange:()=>{u(a==="visible"?"hidden":"visible"),_(!b)},isDisabled:l.isDisabled||n,"data-has-value":!!y,...l,className:o("flex flex-col","w-full",C),children:B=>x(L,{children:[e(M,{className:o("flex","text-xs text-slate-500",t==null?void 0:t.label),children:i}),x("div",{className:o("flex","relative","w-full",t==null?void 0:t.comboBoxContainer),children:[e(S,{placeholder:g,className:o("border border-solid border-slate-300","text-sm text-slate-900","py-0 px-2","h-10 w-full","m-0","rounded-md","bg-white","transition-all ease-in-out duration-200","data-[hovered]:border-slate-400","data-[focused]:border-slate-400 data-[focused]:outline data-[focused]:outline-2 data-[focused]:outline-slate-200"," data-[disabled]:bg-slate-100 data-[disabled]:border-slate-300",n?"data-[disabled]:text-slate-900":"data-[disabled]:text-slate-500","data-[invalid]:border-red-500 data-[invalid]:bg-red-100 data-[invalid]:text-red-600","data-[invalid]:data-[hovered]:border-red-600","data-[invalid]:data-[focused]:border-red-600 data-[invalid]:data-[focused]:outline data-[invalid]:data-[focused]:outline-2 data-[invalid]:data-[focused]:outline-red-200","data-[invalid]:placeholder:text-slate-400",t==null?void 0:t.input)}),n?e("div",{className:o("absolute top-2 right-2","block",t==null?void 0:t.loader),children:(r==null?void 0:r.loadingIcon)||e(R,{})}):e(j,{className:o("absolute top-2 right-0","block","border-none","bg-none",t==null?void 0:t.arrowButton),children:e(m,{buttonIcon:r==null?void 0:r.buttonIcon,...B})})]}),d&&e(A,{slot:"description",className:o("flex","text-xs","text-slate-500",t==null?void 0:t.description),children:d}),e(D,{className:o("flex","text-xs","text-red-500",t==null?void 0:t.errorMessage),children:p}),e(W,{isOpen:b,isExiting:a==="hidden",offset:k,UNSTABLE_portalContainer:c,onAnimationComplete:I=>{u(f=>I==="hidden"&&f==="hidden"?"unmounted":f)},variants:{hidden:{opacity:0,y:-10},visible:{opacity:1,y:0}},initial:"hidden",animate:a,className:o("px-0 py-1.5","shadow-[0_10px_15px_-3px_rgba(0,0,0,0.1),0_4px_6px_-4px_rgba(0,0,0,0.1)]","rounded-md","w-[var(--trigger-width)]","bg-white","border border-solid border-slate-300",t==null?void 0:t.listContainer),children:e(E,{className:o("max-h-80","overflow-y-scroll",t==null?void 0:t.list),children:h})},w)]})})}q.defaultProps={label:void 0,description:void 0,errorMessage:void 0,placeholder:"",key:void 0,isLoading:!1,slots:{loadingIcon:void 0,buttonIcon:void 0},popoverOffset:void 0,popoverPortalContainer:void 0,classNames:void 0};export{q as Select,q as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as i,jsxs as u,Fragment as v}from"react/jsx-runtime";import{Slider as x,Label as c,SliderOutput as w,SliderTrack as z,SliderThumb as y}from"react-aria-components";import{cn as r}from"../../../../../utils/cn.js";function j({label:d,showOutput:f=!0,thumbLabels:a,classNames:t,orientation:l,isDisabled:o,children:h,...p}){return i(x,{orientation:l,isDisabled:o,className:r('data-[orientation="horizontal"]:w-full data-[orientation="horizontal"]:flex data-[orientation="horizontal"]:flex-wrap','data-[orientation="vertical"]:w-8 data-[orientation="vertical"]:block data-[orientation="vertical"]:h-full',t==null?void 0:t.base),...p,children:h||u(v,{children:[(d||f)&&u("div",{className:r("w-full flex justify-between items-center",l==="vertical"&&"gap-2 w-max mb-2",t==null?void 0:t.outputWrapper),children:[i(c,{className:r("flex-1 text-sm",o&&"opacity-50",t==null?void 0:t.label),children:d}),f&&i(w,{className:r("flex flex-initial ml-auto justify-end text-sm",o&&"opacity-50",t==null?void 0:t.output),children:({state:n})=>n.values.map((b,e)=>n.getThumbValueLabel(e)).join(" – ")})]}),i(z,{className:r('data-[orientation="horizontal"]:w-full data-[orientation="horizontal"]:h-8','data-[orientation="vertical"]:w-8 data-[orientation="vertical"]:h-full',"transition-all duration-200 ease","before:bg-slate-300 before:block before:absolute cursor-pointer",'data-[orientation="horizontal"]:before:w-full data-[orientation="horizontal"]:before:h-0.5','data-[orientation="horizontal"]:before:top-1/2 data-[orientation="horizontal"]:before:-translate-y-1/2','data-[orientation="vertical"]:before:w-0.5 data-[orientation="vertical"]:before:h-full data-[orientation="vertical"]:before:left-1/2 data-[orientation="vertical"]:before:-translate-y-1/2 data-[orientation="vertical"]:before:-translate-x-1/2',o&&"opacity-50 before:cursor-default",t==null?void 0:t.track),children:({state:n})=>n.values.map((b,e)=>i(y,{index:e,"aria-label":a==null?void 0:a[e],className:r("w-6 h-6 bg-slate-300 forced-color-adjust-none cursor-pointer top-1/2","border-2 border-slate-400 rounded-full",o&&"cursor-default",l==="vertical"&&"left-1/2",t==null?void 0:t.thumb)},e))})]})})}j.defaultProps={label:void 0,showOutput:!0,thumbLabels:void 0,classNames:void 0};export{j as Slider,j as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as l,jsxs as u,Fragment as c}from"react/jsx-runtime";import{Switch as g}from"react-aria-components";import{cn as a}from"../../../../../utils/cn.js";function m({children:e,className:n,classNames:o,...s}){return l(g,{className:a("flex items-center gap-2 text-sm text-slate-500 forced-color-adjust-none group","",n),...s,children:t=>{const{isSelected:d,isHovered:r,isFocused:i,isPressed:b,isDisabled:f}=t;return u(c,{children:[l("div",{className:a("w-12 h-7 bg-transparent border-solid border border-slate-300 rounded-3xl transition-all duration-200 ease-in-out","before:block before:w-5 before:h-5 before:m-[3px] before:bg-slate-300 before:rounded-full","before:transition-all before:duration-200 before:ease-in-out",[r&&"border-slate-400",d&&[" bg-slate-300 before:translate-x-full before:bg-white",(r||i)&&"border-slate-400"],i&&["outline outline-2 outline-slate-200"],b&&"before:bg-slate-400",f&&"bg-slate-100",o==null?void 0:o.indicator])}),typeof e=="function"?e({defaultChildren:void 0,...t}):e]})}})}m.defaultProps={classNames:void 0};export{m as Switch,m as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as i,jsxs as u,Fragment as b}from"react/jsx-runtime";import{useContext as c}from"react";import{Tab as f}from"react-aria-components";import{motion as p}from"framer-motion";import{TabsOrientationContext as m}from"./Tabs.js";import{cn as s}from"../../../../../utils/cn.js";function x({orientation:o,variant:e="base",className:l,children:t,...d}){return i(f,{className:s("flex items-center relative z-10","text-sm cursor-pointer forced-color-adjust-none","transition-all duration-300 ease-in-out","justify-center","disabled:opacity-50","selected:outline-0 hover:outline-0 hover:text-slate-500",e==="underline"&&o==="vertical"&&"justify-start","py-2 px-3",e==="underline"&&o==="horizontal"&&"p-3",e==="underline"&&o==="vertical"&&"py-3 pr-3 pl-0",(e==="underline"||e==="outline"||e==="enclosed")&&"text-slate-800",e==="solid"&&"text-slate-400",(e==="underline"||e==="outline")&&"selected:text-slate-800",(e==="solid"||e==="enclosed")&&"selected:text-slate-100",l),...d,children:t})}function g({variant:o="base",children:e,className:l,classNames:t,...d}){const n=c(m);return i(x,{orientation:n,variant:o,className:l,...d,children:r=>u(b,{children:[typeof e=="function"?e({defaultChildren:void 0,...r}):e,(r.isFocusVisible||r.isSelected)&&i(p.span,{className:s("absolute z-0",o==="solid"&&"inset-0 rounded-lg bg-slate-600 mix-blend-color",o==="outline"&&"inset-0 rounded-lg border-solid border-2 border-slate-800",o==="underline"&&"rounded-lg bg-slate-800 mix-blend-color bottom-0",o==="underline"&&n==="horizontal"&&"left-0 w-full h-px",o==="underline"&&n==="vertical"&&"right-0 w-px h-full",o==="enclosed"&&"inset-0 border-solid border-1 border-slate-800 -mb-px border-b-0 rounded-t-lg rounded-b-none bg-white mix-blend-difference",o==="base"&&"hidden",t==null?void 0:t.overflow),layoutId:o,transition:{type:"spring",bounce:.2,duration:.75}})]})})}g.defaultProps={classNames:void 0};export{x as BaseTab,g as Tab,g as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as r}from"react/jsx-runtime";import{useContext as f}from"react";import{TabList as n}from"react-aria-components";import{TabsOrientationContext as s}from"./Tabs.js";import{cn as m}from"../../../../../utils/cn.js";import{BaseTab as x}from"./Tab.js";function w({items:t,children:i,variant:e="base",className:l,...a}){const o=f(s);return r(n,{className:m("flex flex-row w-full flex-wrap gap-2 relative",o==="vertical"&&"orientation-vertical:max-w-max orientation-vertical:flex-col orientation-vertical:justify-start",[e==="solid"&&["bg-slate-200 rounded-xl p-1"],e==="outline"&&["border-solid border-2 border-slate-200 rounded-xl p-1"],e==="underline"&&o==="vertical"&&["before:block before:absolute before:inset-y-0 before:right-0 before:w-px before:bg-slate-200"],e==="underline"&&o==="horizontal"&&["before:block before:absolute before:inset-x-0 before:bottom-0 before:h-px before:bg-slate-200"]],l),items:t,...a,children:i||(b=>r(x,{orientation:o,children:b.title}))})}export{w as TabList,w as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import{TabPanel as m}from"react-aria-components";import{cn as n}from"../../../../../utils/cn.js";function p({children:a,className:r,...o}){return e(m,{className:n("flex grow py-4 px-0",r),...o,children:a})}export{p as TabPanel,p as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as t}from"react/jsx-runtime";import{Tabs as a}from"react-aria-components";import{LayoutGroup as n}from"framer-motion";import{createContext as l,useId as c}from"react";import{cn as f}from"../../../../../utils/cn.js";const m=l("horizontal");function b({children:r,className:e,...o}){const i=c();return t(m.Provider,{value:o.orientation??"horizontal",children:t(n,{id:i,children:t(a,{className:f("flex flex-col w-full px-0 py-2",o.orientation==="vertical"&&"orientation-vertical:flex-row",e),...o,children:r})})})}export{b as Tabs,m as TabsOrientationContext,b as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsxs as u,jsx as i}from"react/jsx-runtime";import{TimeField as f,Label as x,DateInput as b,DateSegment as c,Text as h,FieldError as p}from"react-aria-components";import{cn as t}from"../../../../../utils/cn.js";function v({label:o,description:r,errorMessage:d,className:l,classNames:e,...n}){return u(f,{className:t("text-slate-900",l),...n,children:[i(x,{className:t("flex text-slate-500 text-sm",e==null?void 0:e.label),children:o}),i(b,{className:t("flex items-center","border-solid border border-slate-300 rounded-md","text-sm text-slate-900","h-10 px-1 py-0 m-0 w-full","bg-white","transition-all duration-200 ease-in-out","hover:border-slate-400","focus-within:outline-2 focus-within:outline focus-within:outline-slate-200 focus-within:border-slate-400","disabled:border-slate-200 disabled:bg-slate-100","invalid:border-red-500 invalid:bg-red-100 invalid:text-red-600","invalid:hover:border-red-600 invalid:focus-within:border-red-600 invalid:focus-within:outline-red-200",e==null?void 0:e.input),children:a=>i(c,{segment:a,className:t("p-1 tabular-nums text-end text-slate-900","invalid:text-red-500","disabled:cursor-default disabled:select-none disabled:text-slate-400","focus:text-slate-900 focus:bg-slate-200 focus:outline-0 focus:rounded-md focus:caret-transparent focus:invalid:bg-red-500 focus:invalid:text-white","type-literal:p-0.5","data-[placeholder]:text-slate-400 data-[placeholder]:invalid:text-red-500 data-[placeholder]:invalid:focus:text-white","aria-[readonly]:focus-visible:outline aria-[readonly]:focus-visible:outline-slate-500 aria-[readonly]:focus-visible:outline-1","aria-[readonly]:focus:outline aria-[readonly]:focus:outline-slate-500 aria-[readonly]:focus:bg-transparent aria-[readonly]:focus:outline-2",e==null?void 0:e.segment)})}),r&&i(h,{className:t("flex text-slate-500 text-sm",e==null?void 0:e.description),slot:"description",children:r}),i(p,{className:t("flex text-red-500 text-sm",e==null?void 0:e.error),children:d})]})}v.defaultProps={label:void 0,description:void 0,errorMessage:void 0,classNames:void 0};export{v as TimeInput,v as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as l}from"react/jsx-runtime";import{ToggleButton as b}from"react-aria-components";import{cn as n}from"../../../../../utils/cn.js";function g({children:o,size:e="md",variant:t="solid",className:r,...d}){return l(b,{className:a=>{const{isDisabled:s}=a;return n("flex items-center justify-center","font-semibold text-sm","rounded-md border-solid border","px-4","transition-all duration-200 ease-in-out","focus:outline-2 focus:outline focus:outline-slate-200 pressed:scale-95",{"h-8":e==="sm","h-10":e==="md","h-12":e==="lg"},[t==="ghost"&&["bg-transparent hover:bg-transparent focus:bg-transparent disabled:bg-transparent","border-transparent hover:border-transparent focus:border-transparent disabled:border-transparent","text-slate-900 disabled:text-slate-400",s&&["disabled:text-slate-900","opacity-75"]],t==="outline"&&["bg-transparent hover:bg-transparent focus:bg-transparent disabled:bg-transparent","border-slate-300 hover:border-slate-400 focus:border-slate-400 disabled:border-slate-200","text-slate-900 disabled:text-slate-500",s&&["disabled:border-slate-300","disabled:text-slate-900","opacity-75"]],t==="solid"&&["bg-slate-800 hover:bg-slate-900 focus:bg-slate-900 disabled:bg-slate-900","border-slate-800 hover:border-slate-900 focus:border-slate-900 disabled:border-slate-200","text-white disabled:text-slate-400",s&&["disabled:border-slate-900","disabled:text-white","opacity-75"]]],typeof r=="function"?r(a):r)},...d,children:o})}export{g as ToggleButton,g as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as l}from"react/jsx-runtime";import{forwardRef as f}from"react";import{tooltip_default as b}from"../../../../../node_modules/.pnpm/@nextui-org_tooltip@2.0.41_@nextui-org_system@2.2.6_@nextui-org_theme@2.2.11_framer-motion@11_3nqg5awsgdxr3k3zhgj7t7qqsu/node_modules/@nextui-org/tooltip/dist/chunk-3ZXLDIEA.js";import{cn as t}from"../../../../../utils/cn.js";const s=f(function({classNames:e,placement:a,showArrow:o=!1,...r},n){return l(b,{classNames:{base:[t(["z-0 relative bg-transparent outline-none","focus-visible:z-10 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-slate-500","before:absolute before:rotate-45 before:w-2.5 before:h-2.5 before:rounded-sm before:bg-slate-500 before:shadow-sm","before:hidden data-[arrow=true]:before:block","data-[placement=bottom]:before:-top-1 data-[placement=bottom]:before:left-1/2 data-[placement=bottom]:before:rotate-45 data-[placement=bottom]:before:-translate-x-1/2","data-[placement=bottom-end]:before:-top-1 data-[placement=bottom-end]:before:left-1/2 data-[placement=bottom-end]:before:rotate-45 data-[placement=bottom-end]:before:-translate-x-1/2","data-[placement=bottom-start]:before:-top-1 data-[placement=bottom-start]:before:left-1/2 data-[placement=bottom-start]:before:rotate-45 data-[placement=bottom-start]:before:-translate-x-1/2","data-[placement=left]:before:-right-1 data-[placement=left]:before:top-1/2 data-[placement=left]:before:-translate-y-1/2","data-[placement=left-end]:before:-right-1 data-[placement=left-end]:before:top-1/2 data-[placement=left-end]:before:-translate-y-1/2","data-[placement=left-start]:before:-right-1 data-[placement=left-start]:before:top-1/2 data-[placement=left-start]:before:-translate-y-1/2","data-[placement=right]:before:-left-1 data-[placement=right]:before:top-1/2 data-[placement=right]:before:-translate-y-1/2","data-[placement=right-end]:before:-left-1 data-[placement=right-end]:before:top-1/2 data-[placement=right-end]:before:-translate-y-1/2","data-[placement=right-start]:before:-left-1 data-[placement=right-start]:before:top-1/2 data-[placement=right-start]:before:-translate-y-1/2","data-[placement=top]:before:-bottom-1 data-[placement=top]:before:left-1/2 data-[placement=top]:before:rotate-45 data-[placement=top]:before:-translate-x-1/2","data-[placement=top-end]:before:-bottom-1 data-[placement=top-end]:before:left-1/2 data-[placement=top-end]:before:rotate-45 data-[placement=top-end]:before:-translate-x-1/2","data-[placement=top-start]:before:-bottom-1 data-[placement=top-start]:before:left-1/2 data-[placement=top-start]:before:rotate-45 data-[placement=top-start]:before:-translate-x-1/2",e==null?void 0:e.base])],content:[t(["inline-flex flex-col items-center justify-center outline-none","w-full py-1 px-2.5 z-10 box-border bg-slate-500 rounded-md shadow-sm","text-sm text-white subpixel-antialiased",e==null?void 0:e.content])]},placement:a,showArrow:o,...r,ref:n})});export{s as Tooltip,s as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{useAccordionItem as O}from"./chunk-XGGOPONM.js";import{forwardRef as V}from"../../../../../@nextui-org_system-rsc@2.1.6_@nextui-org_theme@2.2.11_react@18.2.0/node_modules/@nextui-org/system-rsc/dist/chunk-DRE2DOBH.js";import{useMemo as C}from"react";import{ChevronIcon as P}from"../../../../../@nextui-org_shared-icons@2.0.9_react@18.2.0/node_modules/@nextui-org/shared-icons/dist/chunk-OH2E76JR.js";import{useWillChange as Y,LazyMotion as I,domAnimation as A,m as N,AnimatePresence as k}from"framer-motion";import{TRANSITION_VARIANTS as y}from"../../../../../@nextui-org_framer-utils@2.0.25_@nextui-org_theme@2.2.11_framer-motion@11.11.10_react-dom@18.2.0_react@18.2.0/node_modules/@nextui-org/framer-utils/dist/chunk-736YWA4T.js";import{jsx as t,jsxs as c}from"react/jsx-runtime";var w=V((b,T)=>{const{Component:D,HeadingComponent:M,classNames:i,slots:l,indicator:e,children:o,title:d,subtitle:p,startContent:m,isOpen:n,isDisabled:u,hideIndicator:R,keepContentMounted:f,disableAnimation:h,motionProps:r,getBaseProps:S,getHeadingProps:W,getButtonProps:_,getTitleProps:j,getSubtitleProps:B,getContentProps:a,getIndicatorProps:H}=O({...b,ref:T}),v=Y(),g=C(()=>typeof e=="function"?e({indicator:t(P,{}),isOpen:n,isDisabled:u}):e||null,[e,n,u])||t(P,{}),K=C(()=>{if(h)return t("div",{...a(),children:o});const x={exit:{...y.collapse.exit,overflowY:"hidden"},enter:{...y.collapse.enter,overflowY:"unset"}};return f?t(I,{features:A,children:t(N.section,{animate:n?"enter":"exit",exit:"exit",initial:"exit",style:{willChange:v},variants:x,onKeyDown:s=>{s.stopPropagation()},...r,children:t("div",{...a(),children:o})},"accordion-content")}):t(k,{initial:!1,children:n&&t(I,{features:A,children:t(N.section,{animate:"enter",exit:"exit",initial:"exit",style:{willChange:v},variants:x,onKeyDown:s=>{s.stopPropagation()},...r,children:t("div",{...a(),children:o})},"accordion-content")})})},[n,h,f,o,r]);return c(D,{...S(),children:[t(M,{...W(),children:c("button",{..._(),children:[m&&t("div",{className:l.startContent({class:i==null?void 0:i.startContent}),children:m}),c("div",{className:l.titleWrapper({class:i==null?void 0:i.titleWrapper}),children:[d&&t("span",{...j(),children:d}),p&&t("span",{...B(),children:p})]}),!R&&g&&t("span",{...H(),children:g})]})}),K]})});w.displayName="NextUI.AccordionItem";var Q=w;export{Q as accordion_item_default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Item as e}from"../../../../../@react-stately_collections@3.10.7_react@18.2.0/node_modules/@react-stately/collections/dist/Item.js";var a=e,r=a;export{r as accordion_item_base_default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{accordion_item_default as F}from"./chunk-HYTFRFNK.js";import{useAccordion as x}from"./chunk-PNGZVYML.js";import{forwardRef as A}from"../../../../../@nextui-org_system-rsc@2.1.6_@nextui-org_theme@2.2.11_react@18.2.0/node_modules/@nextui-org/system-rsc/dist/chunk-DRE2DOBH.js";import{LayoutGroup as N}from"framer-motion";import{divider_default as _}from"../../../../../@nextui-org_divider@2.0.32_@nextui-org_theme@2.2.11_react-dom@18.2.0_react@18.2.0/node_modules/@nextui-org/divider/dist/chunk-44JHHBS2.js";import{useCallback as y,useMemo as P,Fragment as b}from"react";import{jsxs as j,jsx as r}from"react/jsx-runtime";var m=A((n,u)=>{const{Component:f,values:s,state:e,isSplitted:t,showDivider:i,getBaseProps:h,disableAnimation:v,handleFocusChanged:c,itemClasses:d,dividerProps:C}=x({...n,ref:u}),l=y((o,a)=>c(o,a),[c]),p=P(()=>[...e.collection].map((o,a)=>{const g={...d,...o.props.classNames||{}};return j(b,{children:[r(F,{item:o,variant:n.variant,onFocusChange:l,...s,...o.props,classNames:g}),!o.props.hidden&&!t&&i&&a<e.collection.size-1&&r(_,{...C})]},o.key)}),[s,d,l,t,i,e.collection]);return r(f,{...h(),children:v?p:r(N,{children:p})})});m.displayName="NextUI.Accordion";var L=m;export{L as accordion_default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{useProviderContext as X}from"../../../../../@nextui-org_system@2.2.6_@nextui-org_theme@2.2.11_framer-motion@11.11.10_react-dom@18.2.0_react@18.2.0/node_modules/@nextui-org/system/dist/chunk-Q66YAGZJ.js";import{useDOMRef as Y}from"../../../../../@nextui-org_react-utils@2.0.17_react@18.2.0/node_modules/@nextui-org/react-utils/dist/chunk-RQNQ5XFG.js";import{filterDOMProps as Z}from"../../../../../@nextui-org_react-rsc-utils@2.0.14_react@18.2.0/node_modules/@nextui-org/react-rsc-utils/dist/chunk-RJKRL3AU.js";import r,{useState as ee,useMemo as i,useCallback as D}from"react";import{useTreeState as oe}from"../../../../../@react-stately_tree@3.8.1_react@18.2.0/node_modules/@react-stately/tree/dist/useTreeState.js";import{mergeProps as se}from"../../../../../@react-aria_utils@3.24.1_react@18.2.0/node_modules/@react-aria/utils/dist/mergeProps.js";import{accordion as te}from"../../../../../@nextui-org_theme@2.2.11_tailwindcss@3.4.10/node_modules/@nextui-org/theme/dist/chunk-MVG7GLBD.js";import{useReactAriaAccordion as ne}from"../../../../../@nextui-org_use-aria-accordion@2.0.7_react-dom@18.2.0_react@18.2.0/node_modules/@nextui-org/use-aria-accordion/dist/chunk-BHM6H4ZD.js";function ue(E){var l;const d=X(),{ref:F,as:R,className:c,items:_,variant:t,motionProps:p,expandedKeys:I,disabledKeys:N,selectedKeys:m,children:f,defaultExpandedKeys:u,selectionMode:O="single",selectionBehavior:k="toggle",keepContentMounted:h=!1,disallowEmptySelection:w,defaultSelectedKeys:y,onExpandedChange:z,onSelectionChange:B,dividerProps:T={},isCompact:v=!1,isDisabled:C=!1,showDivider:V=!0,hideIndicator:b=!1,disableAnimation:n=(l=d==null?void 0:d.disableAnimation)!=null?l:!1,disableIndicatorAnimation:P=!1,itemClasses:j,...q}=E,[a,g]=ee(null),K=R||"div",G=typeof K=="string",x=Y(F),M=i(()=>te({variant:t,className:c}),[t,c]),S={children:i(()=>{let e=[];return r.Children.map(f,s=>{var $;if(r.isValidElement(s)&&typeof(($=s.props)==null?void 0:$.children)!="string"){const W=r.cloneElement(s,{hasChildItems:!1});e.push(W)}else e.push(s)}),e},[f]),items:_},A={expandedKeys:I,defaultExpandedKeys:u,onExpandedChange:z},H={disabledKeys:N,selectedKeys:m,selectionMode:O,selectionBehavior:k,disallowEmptySelection:w,defaultSelectedKeys:y??u,onSelectionChange:B,...S,...A},o=oe(H);o.selectionManager.setFocusedKey=e=>{g(e)};const{accordionProps:J}=ne({...S,...A},o,x),L=i(()=>({state:o,focusedKey:a,motionProps:p,isCompact:v,isDisabled:C,hideIndicator:b,disableAnimation:n,keepContentMounted:h,disableIndicatorAnimation:P}),[a,v,C,b,m,n,h,o==null?void 0:o.expandedKeys.values,P,o.expandedKeys.size,o.disabledKeys.size,p]),Q=D((e={})=>({ref:x,className:M,"data-orientation":"vertical",...se(J,Z(q,{enabled:G}),e)}),[]),U=D((e,s)=>{e&&g(s)},[]);return{Component:K,values:L,state:o,focusedKey:a,getBaseProps:Q,isSplitted:t==="splitted",classNames:M,showDivider:V,dividerProps:T,disableAnimation:n,handleFocusChanged:U,itemClasses:j}}export{ue as useAccordion};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{useProviderContext as Po}from"../../../../../@nextui-org_system@2.2.6_@nextui-org_theme@2.2.11_framer-motion@11.11.10_react-dom@18.2.0_react@18.2.0/node_modules/@nextui-org/system/dist/chunk-Q66YAGZJ.js";import{useFocusRing as go}from"../../../../../@react-aria_focus@3.17.1_react@18.2.0/node_modules/@react-aria/focus/dist/useFocusRing.js";import{accordionItem as ho}from"../../../../../@nextui-org_theme@2.2.11_tailwindcss@3.4.10/node_modules/@nextui-org/theme/dist/chunk-MVG7GLBD.js";import{dataAttr as s}from"../../../../../@nextui-org_shared-utils@2.0.8/node_modules/@nextui-org/shared-utils/dist/chunk-MCFSCOSB.js";import{clsx as Co}from"../../../../../@nextui-org_shared-utils@2.0.8/node_modules/@nextui-org/shared-utils/dist/chunk-6BQDBGF4.js";import{objectToDeps as $o,callAllHandlers as H}from"../../../../../@nextui-org_shared-utils@2.0.8/node_modules/@nextui-org/shared-utils/dist/chunk-SOU6N57Y.js";import{useDOMRef as Fo}from"../../../../../@nextui-org_react-utils@2.0.17_react@18.2.0/node_modules/@nextui-org/react-utils/dist/chunk-RQNQ5XFG.js";import{filterDOMProps as Bo}from"../../../../../@nextui-org_react-rsc-utils@2.0.14_react@18.2.0/node_modules/@nextui-org/react-rsc-utils/dist/chunk-RJKRL3AU.js";import{useReactAriaAccordionItem as No}from"../../../../../@nextui-org_use-aria-accordion@2.0.7_react-dom@18.2.0_react@18.2.0/node_modules/@nextui-org/use-aria-accordion/dist/chunk-LWNEBLOT.js";import{useCallback as l,useMemo as O}from"react";import{chain as ko}from"../../../../../@react-aria_utils@3.24.1_react@18.2.0/node_modules/@react-aria/utils/dist/chain.js";import{mergeProps as f}from"../../../../../@react-aria_utils@3.24.1_react@18.2.0/node_modules/@react-aria/utils/dist/mergeProps.js";import{useHover as xo}from"../../../../../@react-aria_interactions@3.21.3_react@18.2.0/node_modules/@react-aria/interactions/dist/useHover.js";import{usePress as yo}from"../../../../../@react-aria_interactions@3.21.3_react@18.2.0/node_modules/@react-aria/interactions/dist/usePress.js";function Vo(b){var v,P;const g=Po(),{ref:R,as:h,item:r,onFocusChange:i}=b,{state:u,className:S,indicator:_,children:K,title:T,subtitle:j,startContent:E,motionProps:U,focusedKey:V,variant:C,isCompact:$=!1,classNames:F={},isDisabled:q=!1,hideIndicator:p=!1,disableAnimation:m=(v=g==null?void 0:g.disableAnimation)!=null?v:!1,keepContentMounted:w=!1,disableIndicatorAnimation:B=!1,HeadingComponent:z=h||"h2",onPress:G,onPressStart:J,onPressEnd:L,onPressChange:Q,onPressUp:W,onClick:X,...d}=b,N=h||"div",k=typeof N=="string",c=Fo(R),e=u.disabledKeys.has(r.key)||q,t=u.selectionManager.isSelected(r.key),{buttonProps:Y,regionProps:x}=No({item:r,isDisabled:e},{...u,focusedKey:V},c),{onFocus:Z,onBlur:oo,...eo}=Y,{isFocused:so,isFocusVisible:to,focusProps:y}=go({autoFocus:(P=r.props)==null?void 0:P.autoFocus}),{isHovered:ao,hoverProps:no}=xo({isDisabled:e}),{pressProps:A,isPressed:ro}=yo({ref:c,isDisabled:e,onPress:G,onPressStart:J,onPressEnd:L,onPressChange:Q,onPressUp:W}),lo=l(()=>{i==null||i(!0,r.key)},[]),io=l(()=>{i==null||i(!1,r.key)},[]),o=O(()=>({...F}),[$o(F)]),a=O(()=>ho({isCompact:$,isDisabled:e,hideIndicator:p,disableAnimation:m,disableIndicatorAnimation:B,variant:C}),[$,e,p,m,B,C]),D=Co(o==null?void 0:o.base,S),co=l((n={})=>({"data-open":s(t),"data-disabled":s(e),className:a.base({class:D}),...f(Bo(d,{enabled:k}),n)}),[D,k,d,a,r.props,t,e]),uo=(n={})=>{var I,M;return{ref:c,"data-open":s(t),"data-focus":s(so),"data-focus-visible":s(to),"data-disabled":s(e),"data-hover":s(ao),"data-pressed":s(ro),className:a.trigger({class:o==null?void 0:o.trigger}),onFocus:H(lo,Z,y.onFocus,d.onFocus,(I=r.props)==null?void 0:I.onFocus),onBlur:H(io,oo,y.onBlur,d.onBlur,(M=r.props)==null?void 0:M.onBlur),...f(eo,no,A,n,{onClick:ko(A.onClick,X)})}},po=l((n={})=>({"data-open":s(t),"data-disabled":s(e),className:a.content({class:o==null?void 0:o.content}),...f(x,n)}),[a,o,x,t,e,o==null?void 0:o.content]),mo=l((n={})=>({"aria-hidden":s(!0),"data-open":s(t),"data-disabled":s(e),className:a.indicator({class:o==null?void 0:o.indicator}),...n}),[a,o==null?void 0:o.indicator,t,e,o==null?void 0:o.indicator]),fo=l((n={})=>({"data-open":s(t),"data-disabled":s(e),className:a.heading({class:o==null?void 0:o.heading}),...n}),[a,o==null?void 0:o.heading,t,e,o==null?void 0:o.heading]),bo=l((n={})=>({"data-open":s(t),"data-disabled":s(e),className:a.title({class:o==null?void 0:o.title}),...n}),[a,o==null?void 0:o.title,t,e,o==null?void 0:o.title]),vo=l((n={})=>({"data-open":s(t),"data-disabled":s(e),className:a.subtitle({class:o==null?void 0:o.subtitle}),...n}),[a,o,t,e,o==null?void 0:o.subtitle]);return{Component:N,HeadingComponent:z,item:r,slots:a,classNames:o,domRef:c,indicator:_,children:K,title:T,subtitle:j,startContent:E,isOpen:t,isDisabled:e,hideIndicator:p,keepContentMounted:w,disableAnimation:m,motionProps:U,getBaseProps:co,getHeadingProps:fo,getButtonProps:uo,getContentProps:po,getIndicatorProps:mo,getTitleProps:bo,getSubtitleProps:vo}}export{Vo as useAccordionItem};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var r=t=>{const o={top:{originY:1},bottom:{originY:0},left:{originX:1},right:{originX:0},"top-start":{originX:0,originY:1},"top-end":{originX:1,originY:1},"bottom-start":{originX:0,originY:0},"bottom-end":{originX:1,originY:0},"right-start":{originX:0,originY:0},"right-end":{originX:0,originY:1},"left-start":{originX:1,originY:0},"left-end":{originX:1,originY:1}};return(o==null?void 0:o[t])||{}},n=t=>({top:"top",bottom:"bottom",left:"left",right:"right","top-start":"top start","top-end":"top end","bottom-start":"bottom start","bottom-end":"bottom end","left-start":"left top","left-end":"left bottom","right-start":"right top","right-end":"right bottom"})[t],g=(t,o)=>{if(o.includes("-")){const[,i]=o.split("-");return`${t}-${i}`}return t};export{g as getArrowPlacement,r as getTransformOrigins,n as toReactAriaPlacement};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsxs as C,jsx as r}from"react/jsx-runtime";var o=()=>C("svg",{"aria-hidden":"true",fill:"none",height:"80%",role:"presentation",viewBox:"0 0 24 24",width:"80%",children:[r("path",{d:"M12 2C9.38 2 7.25 4.13 7.25 6.75C7.25 9.32 9.26 11.4 11.88 11.49C11.96 11.48 12.04 11.48 12.1 11.49C12.12 11.49 12.13 11.49 12.15 11.49C12.16 11.49 12.16 11.49 12.17 11.49C14.73 11.4 16.74 9.32 16.75 6.75C16.75 4.13 14.62 2 12 2Z",fill:"currentColor"}),r("path",{d:"M17.0809 14.1489C14.2909 12.2889 9.74094 12.2889 6.93094 14.1489C5.66094 14.9989 4.96094 16.1489 4.96094 17.3789C4.96094 18.6089 5.66094 19.7489 6.92094 20.5889C8.32094 21.5289 10.1609 21.9989 12.0009 21.9989C13.8409 21.9989 15.6809 21.5289 17.0809 20.5889C18.3409 19.7389 19.0409 18.5989 19.0409 17.3589C19.0309 16.1289 18.3409 14.9889 17.0809 14.1489Z",fill:"currentColor"})]});export{o as AvatarIcon};
|