@korsolutions/ui 0.0.28 → 0.0.30
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/babel.config.js +12 -0
- package/bob.config.js +13 -0
- package/dist/module/components/avatar/avatar.js +21 -0
- package/dist/module/components/avatar/avatar.js.map +1 -0
- package/dist/module/components/avatar/variants/default.js +33 -0
- package/dist/module/components/avatar/variants/default.js.map +1 -0
- package/dist/module/components/avatar/variants/index.js +7 -0
- package/dist/module/components/avatar/variants/index.js.map +1 -0
- package/dist/module/components/badge/badge.js +23 -0
- package/dist/module/components/badge/badge.js.map +1 -0
- package/dist/module/components/badge/variants/default.js +30 -0
- package/dist/module/components/badge/variants/default.js.map +1 -0
- package/dist/module/components/badge/variants/index.js +9 -0
- package/dist/module/components/badge/variants/index.js.map +1 -0
- package/dist/module/components/badge/variants/secondary.js +30 -0
- package/dist/module/components/badge/variants/secondary.js.map +1 -0
- package/dist/module/components/button/button.js +23 -0
- package/dist/module/components/button/button.js.map +1 -0
- package/dist/module/components/button/variants/default.js +62 -0
- package/dist/module/components/button/variants/default.js.map +1 -0
- package/dist/module/components/button/variants/index.js +9 -0
- package/dist/module/components/button/variants/index.js.map +1 -0
- package/dist/module/components/button/variants/secondary.js +62 -0
- package/dist/module/components/button/variants/secondary.js.map +1 -0
- package/dist/module/components/calendar/calendar.js +29 -0
- package/dist/module/components/calendar/calendar.js.map +1 -0
- package/dist/module/components/calendar/index.js +4 -0
- package/dist/module/components/calendar/index.js.map +1 -0
- package/dist/module/components/calendar/variants/default.js +131 -0
- package/dist/module/components/calendar/variants/default.js.map +1 -0
- package/dist/module/components/calendar/variants/index.js +7 -0
- package/dist/module/components/calendar/variants/index.js.map +1 -0
- package/dist/module/components/card/card.js +21 -0
- package/dist/module/components/card/card.js.map +1 -0
- package/dist/module/components/card/variants/default.js +42 -0
- package/dist/module/components/card/variants/default.js.map +1 -0
- package/dist/module/components/card/variants/index.js +7 -0
- package/dist/module/components/card/variants/index.js.map +1 -0
- package/dist/module/components/dropdown-menu/dropdown-menu.js +34 -0
- package/dist/module/components/dropdown-menu/dropdown-menu.js.map +1 -0
- package/dist/module/components/dropdown-menu/variants/default.js +47 -0
- package/dist/module/components/dropdown-menu/variants/default.js.map +1 -0
- package/dist/module/components/dropdown-menu/variants/index.js +7 -0
- package/dist/module/components/dropdown-menu/variants/index.js.map +1 -0
- package/dist/module/components/empty/empty.js +21 -0
- package/dist/module/components/empty/empty.js.map +1 -0
- package/dist/module/components/empty/variants/default.js +38 -0
- package/dist/module/components/empty/variants/default.js.map +1 -0
- package/dist/module/components/empty/variants/index.js +7 -0
- package/dist/module/components/empty/variants/index.js.map +1 -0
- package/dist/module/components/field/field.js +22 -0
- package/dist/module/components/field/field.js.map +1 -0
- package/dist/module/components/field/variants/default.js +32 -0
- package/dist/module/components/field/variants/default.js.map +1 -0
- package/dist/module/components/field/variants/index.js +7 -0
- package/dist/module/components/field/variants/index.js.map +1 -0
- package/dist/module/components/index.js +18 -0
- package/dist/module/components/index.js.map +1 -0
- package/dist/module/components/input/index.js +5 -0
- package/dist/module/components/input/index.js.map +1 -0
- package/dist/module/components/input/input.js +15 -0
- package/dist/module/components/input/input.js.map +1 -0
- package/dist/module/components/input/numeric-input.js +57 -0
- package/dist/module/components/input/numeric-input.js.map +1 -0
- package/dist/module/components/input/variants/default.js +41 -0
- package/dist/module/components/input/variants/default.js.map +1 -0
- package/dist/module/components/input/variants/index.js +7 -0
- package/dist/module/components/input/variants/index.js.map +1 -0
- package/dist/module/components/link/link.js +25 -0
- package/dist/module/components/link/link.js.map +1 -0
- package/dist/module/components/link/variants/default.js +18 -0
- package/dist/module/components/link/variants/default.js.map +1 -0
- package/dist/module/components/link/variants/index.js +7 -0
- package/dist/module/components/link/variants/index.js.map +1 -0
- package/dist/module/components/popover/popover.js +39 -0
- package/dist/module/components/popover/popover.js.map +1 -0
- package/dist/module/components/popover/variants/default.js +30 -0
- package/dist/module/components/popover/variants/default.js.map +1 -0
- package/dist/module/components/popover/variants/index.js +9 -0
- package/dist/module/components/popover/variants/index.js.map +1 -0
- package/dist/module/components/popover/variants/unstyled.js +12 -0
- package/dist/module/components/popover/variants/unstyled.js.map +1 -0
- package/dist/module/components/select/select.js +25 -0
- package/dist/module/components/select/select.js.map +1 -0
- package/dist/module/components/select/variants/default.js +85 -0
- package/dist/module/components/select/variants/default.js.map +1 -0
- package/dist/module/components/select/variants/index.js +7 -0
- package/dist/module/components/select/variants/index.js.map +1 -0
- package/dist/module/components/textarea/textarea.js +15 -0
- package/dist/module/components/textarea/textarea.js.map +1 -0
- package/dist/module/components/textarea/variants/default.js +42 -0
- package/dist/module/components/textarea/variants/default.js.map +1 -0
- package/dist/module/components/textarea/variants/index.js +7 -0
- package/dist/module/components/textarea/variants/index.js.map +1 -0
- package/dist/module/components/toast/index.js +9 -0
- package/dist/module/components/toast/index.js.map +1 -0
- package/dist/module/components/toast/toast-manager.js +78 -0
- package/dist/module/components/toast/toast-manager.js.map +1 -0
- package/dist/module/components/toast/toast.js +19 -0
- package/dist/module/components/toast/toast.js.map +1 -0
- package/dist/module/components/toast/variants/danger.js +35 -0
- package/dist/module/components/toast/variants/danger.js.map +1 -0
- package/dist/module/components/toast/variants/default.js +34 -0
- package/dist/module/components/toast/variants/default.js.map +1 -0
- package/dist/module/components/toast/variants/index.js +11 -0
- package/dist/module/components/toast/variants/index.js.map +1 -0
- package/dist/module/components/toast/variants/success.js +35 -0
- package/dist/module/components/toast/variants/success.js.map +1 -0
- package/dist/module/components/typography/typography.js +15 -0
- package/dist/module/components/typography/typography.js.map +1 -0
- package/dist/module/components/typography/variants/body-lg.js +17 -0
- package/dist/module/components/typography/variants/body-lg.js.map +1 -0
- package/dist/module/components/typography/variants/body-md.js +17 -0
- package/dist/module/components/typography/variants/body-md.js.map +1 -0
- package/dist/module/components/typography/variants/body-sm.js +17 -0
- package/dist/module/components/typography/variants/body-sm.js.map +1 -0
- package/dist/module/components/typography/variants/heading-lg.js +18 -0
- package/dist/module/components/typography/variants/heading-lg.js.map +1 -0
- package/dist/module/components/typography/variants/heading-md.js +18 -0
- package/dist/module/components/typography/variants/heading-md.js.map +1 -0
- package/dist/module/components/typography/variants/heading-sm.js +18 -0
- package/dist/module/components/typography/variants/heading-sm.js.map +1 -0
- package/dist/module/components/typography/variants/index.js +17 -0
- package/dist/module/components/typography/variants/index.js.map +1 -0
- package/dist/module/hooks/index.js +7 -0
- package/dist/module/hooks/index.js.map +1 -0
- package/dist/module/hooks/use-currency-mask.js +101 -0
- package/dist/module/hooks/use-currency-mask.js.map +1 -0
- package/dist/module/hooks/use-numeric-mask.js +154 -0
- package/dist/module/hooks/use-numeric-mask.js.map +1 -0
- package/dist/module/hooks/use-relative-position.js +155 -0
- package/dist/module/hooks/use-relative-position.js.map +1 -0
- package/dist/module/hooks/use-screen-size.js +30 -0
- package/dist/module/hooks/use-screen-size.js.map +1 -0
- package/dist/module/index.js +20 -0
- package/dist/module/index.js.map +1 -0
- package/dist/module/package.json +1 -0
- package/dist/module/primitives/avatar/avatar-fallback.js +16 -0
- package/dist/module/primitives/avatar/avatar-fallback.js.map +1 -0
- package/dist/module/primitives/avatar/avatar-image.js +16 -0
- package/dist/module/primitives/avatar/avatar-image.js.map +1 -0
- package/dist/module/primitives/avatar/avatar-root.js +20 -0
- package/dist/module/primitives/avatar/avatar-root.js.map +1 -0
- package/dist/module/primitives/avatar/context.js +12 -0
- package/dist/module/primitives/avatar/context.js.map +1 -0
- package/dist/module/primitives/avatar/index.js +11 -0
- package/dist/module/primitives/avatar/index.js.map +1 -0
- package/dist/module/primitives/avatar/types.js +4 -0
- package/dist/module/primitives/avatar/types.js.map +1 -0
- package/dist/module/primitives/badge/badge-label.js +17 -0
- package/dist/module/primitives/badge/badge-label.js.map +1 -0
- package/dist/module/primitives/badge/badge-root.js +22 -0
- package/dist/module/primitives/badge/badge-root.js.map +1 -0
- package/dist/module/primitives/badge/context.js +12 -0
- package/dist/module/primitives/badge/context.js.map +1 -0
- package/dist/module/primitives/badge/index.js +9 -0
- package/dist/module/primitives/badge/index.js.map +1 -0
- package/dist/module/primitives/badge/types.js +4 -0
- package/dist/module/primitives/badge/types.js.map +1 -0
- package/dist/module/primitives/button/button-context.js +12 -0
- package/dist/module/primitives/button/button-context.js.map +1 -0
- package/dist/module/primitives/button/button-label.js +17 -0
- package/dist/module/primitives/button/button-label.js.map +1 -0
- package/dist/module/primitives/button/button-root.js +38 -0
- package/dist/module/primitives/button/button-root.js.map +1 -0
- package/dist/module/primitives/button/button-spinner.js +15 -0
- package/dist/module/primitives/button/button-spinner.js.map +1 -0
- package/dist/module/primitives/button/index.js +12 -0
- package/dist/module/primitives/button/index.js.map +1 -0
- package/dist/module/primitives/button/types.js +4 -0
- package/dist/module/primitives/button/types.js.map +1 -0
- package/dist/module/primitives/calendar/calendar-day.js +45 -0
- package/dist/module/primitives/calendar/calendar-day.js.map +1 -0
- package/dist/module/primitives/calendar/calendar-header.js +23 -0
- package/dist/module/primitives/calendar/calendar-header.js.map +1 -0
- package/dist/module/primitives/calendar/calendar-nav-button.js +61 -0
- package/dist/module/primitives/calendar/calendar-nav-button.js.map +1 -0
- package/dist/module/primitives/calendar/calendar-root.js +38 -0
- package/dist/module/primitives/calendar/calendar-root.js.map +1 -0
- package/dist/module/primitives/calendar/calendar-title.js +26 -0
- package/dist/module/primitives/calendar/calendar-title.js.map +1 -0
- package/dist/module/primitives/calendar/calendar-week-labels.js +36 -0
- package/dist/module/primitives/calendar/calendar-week-labels.js.map +1 -0
- package/dist/module/primitives/calendar/calendar-weeks.js +48 -0
- package/dist/module/primitives/calendar/calendar-weeks.js.map +1 -0
- package/dist/module/primitives/calendar/context.js +12 -0
- package/dist/module/primitives/calendar/context.js.map +1 -0
- package/dist/module/primitives/calendar/index.js +19 -0
- package/dist/module/primitives/calendar/index.js.map +1 -0
- package/dist/module/primitives/calendar/types.js +4 -0
- package/dist/module/primitives/calendar/types.js.map +1 -0
- package/dist/module/primitives/card/card-body.js +17 -0
- package/dist/module/primitives/card/card-body.js.map +1 -0
- package/dist/module/primitives/card/card-footer.js +17 -0
- package/dist/module/primitives/card/card-footer.js.map +1 -0
- package/dist/module/primitives/card/card-header.js +17 -0
- package/dist/module/primitives/card/card-header.js.map +1 -0
- package/dist/module/primitives/card/card-root.js +22 -0
- package/dist/module/primitives/card/card-root.js.map +1 -0
- package/dist/module/primitives/card/card-title.js +17 -0
- package/dist/module/primitives/card/card-title.js.map +1 -0
- package/dist/module/primitives/card/context.js +12 -0
- package/dist/module/primitives/card/context.js.map +1 -0
- package/dist/module/primitives/card/index.js +15 -0
- package/dist/module/primitives/card/index.js.map +1 -0
- package/dist/module/primitives/card/types.js +4 -0
- package/dist/module/primitives/card/types.js.map +1 -0
- package/dist/module/primitives/dropdown-menu/context.js +12 -0
- package/dist/module/primitives/dropdown-menu/context.js.map +1 -0
- package/dist/module/primitives/dropdown-menu/dropdown-menu-button.js +32 -0
- package/dist/module/primitives/dropdown-menu/dropdown-menu-button.js.map +1 -0
- package/dist/module/primitives/dropdown-menu/dropdown-menu-content.js +29 -0
- package/dist/module/primitives/dropdown-menu/dropdown-menu-content.js.map +1 -0
- package/dist/module/primitives/dropdown-menu/dropdown-menu-divider.js +16 -0
- package/dist/module/primitives/dropdown-menu/dropdown-menu-divider.js.map +1 -0
- package/dist/module/primitives/dropdown-menu/dropdown-menu-overlay.js +19 -0
- package/dist/module/primitives/dropdown-menu/dropdown-menu-overlay.js.map +1 -0
- package/dist/module/primitives/dropdown-menu/dropdown-menu-portal.js +20 -0
- package/dist/module/primitives/dropdown-menu/dropdown-menu-portal.js.map +1 -0
- package/dist/module/primitives/dropdown-menu/dropdown-menu-root.js +24 -0
- package/dist/module/primitives/dropdown-menu/dropdown-menu-root.js.map +1 -0
- package/dist/module/primitives/dropdown-menu/dropdown-menu-trigger.js +36 -0
- package/dist/module/primitives/dropdown-menu/dropdown-menu-trigger.js.map +1 -0
- package/dist/module/primitives/dropdown-menu/index.js +19 -0
- package/dist/module/primitives/dropdown-menu/index.js.map +1 -0
- package/dist/module/primitives/dropdown-menu/types.js +4 -0
- package/dist/module/primitives/dropdown-menu/types.js.map +1 -0
- package/dist/module/primitives/empty/context.js +12 -0
- package/dist/module/primitives/empty/context.js.map +1 -0
- package/dist/module/primitives/empty/empty-description.js +16 -0
- package/dist/module/primitives/empty/empty-description.js.map +1 -0
- package/dist/module/primitives/empty/empty-media.js +16 -0
- package/dist/module/primitives/empty/empty-media.js.map +1 -0
- package/dist/module/primitives/empty/empty-root.js +20 -0
- package/dist/module/primitives/empty/empty-root.js.map +1 -0
- package/dist/module/primitives/empty/empty-title.js +16 -0
- package/dist/module/primitives/empty/empty-title.js.map +1 -0
- package/dist/module/primitives/empty/index.js +13 -0
- package/dist/module/primitives/empty/index.js.map +1 -0
- package/dist/module/primitives/empty/types.js +4 -0
- package/dist/module/primitives/empty/types.js.map +1 -0
- package/dist/module/primitives/field/context.js +15 -0
- package/dist/module/primitives/field/context.js.map +1 -0
- package/dist/module/primitives/field/field-description.js +15 -0
- package/dist/module/primitives/field/field-description.js.map +1 -0
- package/dist/module/primitives/field/field-error.js +15 -0
- package/dist/module/primitives/field/field-error.js.map +1 -0
- package/dist/module/primitives/field/field-label.js +16 -0
- package/dist/module/primitives/field/field-label.js.map +1 -0
- package/dist/module/primitives/field/field-root.js +22 -0
- package/dist/module/primitives/field/field-root.js.map +1 -0
- package/dist/module/primitives/field/index.js +13 -0
- package/dist/module/primitives/field/index.js.map +1 -0
- package/dist/module/primitives/field/types.js +4 -0
- package/dist/module/primitives/field/types.js.map +1 -0
- package/dist/module/primitives/index.js +17 -0
- package/dist/module/primitives/index.js.map +1 -0
- package/dist/module/primitives/input/index.js +4 -0
- package/dist/module/primitives/input/index.js.map +1 -0
- package/dist/module/primitives/input/input.js +46 -0
- package/dist/module/primitives/input/input.js.map +1 -0
- package/dist/module/primitives/input/types.js +4 -0
- package/dist/module/primitives/input/types.js.map +1 -0
- package/dist/module/primitives/popover/context.js +12 -0
- package/dist/module/primitives/popover/context.js.map +1 -0
- package/dist/module/primitives/popover/index.js +18 -0
- package/dist/module/primitives/popover/index.js.map +1 -0
- package/dist/module/primitives/popover/popover-close.js +19 -0
- package/dist/module/primitives/popover/popover-close.js.map +1 -0
- package/dist/module/primitives/popover/popover-content.js +30 -0
- package/dist/module/primitives/popover/popover-content.js.map +1 -0
- package/dist/module/primitives/popover/popover-overlay.js +27 -0
- package/dist/module/primitives/popover/popover-overlay.js.map +1 -0
- package/dist/module/primitives/popover/popover-portal.js +20 -0
- package/dist/module/primitives/popover/popover-portal.js.map +1 -0
- package/dist/module/primitives/popover/popover-root.js +24 -0
- package/dist/module/primitives/popover/popover-root.js.map +1 -0
- package/dist/module/primitives/popover/popover-trigger.js +36 -0
- package/dist/module/primitives/popover/popover-trigger.js.map +1 -0
- package/dist/module/primitives/popover/types.js +4 -0
- package/dist/module/primitives/popover/types.js.map +1 -0
- package/dist/module/primitives/portal/index.js +5 -0
- package/dist/module/primitives/portal/index.js.map +1 -0
- package/dist/module/primitives/portal/portal.constants.js +4 -0
- package/dist/module/primitives/portal/portal.constants.js.map +1 -0
- package/dist/module/primitives/portal/portal.js +112 -0
- package/dist/module/primitives/portal/portal.js.map +1 -0
- package/dist/module/primitives/select/context.js +12 -0
- package/dist/module/primitives/select/context.js.map +1 -0
- package/dist/module/primitives/select/index.js +19 -0
- package/dist/module/primitives/select/index.js.map +1 -0
- package/dist/module/primitives/select/select-content.js +22 -0
- package/dist/module/primitives/select/select-content.js.map +1 -0
- package/dist/module/primitives/select/select-option.js +50 -0
- package/dist/module/primitives/select/select-option.js.map +1 -0
- package/dist/module/primitives/select/select-overlay.js +20 -0
- package/dist/module/primitives/select/select-overlay.js.map +1 -0
- package/dist/module/primitives/select/select-portal.js +25 -0
- package/dist/module/primitives/select/select-portal.js.map +1 -0
- package/dist/module/primitives/select/select-root.js +42 -0
- package/dist/module/primitives/select/select-root.js.map +1 -0
- package/dist/module/primitives/select/select-trigger.js +26 -0
- package/dist/module/primitives/select/select-trigger.js.map +1 -0
- package/dist/module/primitives/select/select-value.js +19 -0
- package/dist/module/primitives/select/select-value.js.map +1 -0
- package/dist/module/primitives/select/types.js +4 -0
- package/dist/module/primitives/select/types.js.map +1 -0
- package/dist/module/primitives/textarea/index.js +4 -0
- package/dist/module/primitives/textarea/index.js.map +1 -0
- package/dist/module/primitives/textarea/textarea.js +42 -0
- package/dist/module/primitives/textarea/textarea.js.map +1 -0
- package/dist/module/primitives/textarea/types.js +4 -0
- package/dist/module/primitives/textarea/types.js.map +1 -0
- package/dist/module/primitives/toast/context.js +12 -0
- package/dist/module/primitives/toast/context.js.map +1 -0
- package/dist/module/primitives/toast/index.js +11 -0
- package/dist/module/primitives/toast/index.js.map +1 -0
- package/dist/module/primitives/toast/toast-description.js +16 -0
- package/dist/module/primitives/toast/toast-description.js.map +1 -0
- package/dist/module/primitives/toast/toast-root.js +20 -0
- package/dist/module/primitives/toast/toast-root.js.map +1 -0
- package/dist/module/primitives/toast/toast-title.js +16 -0
- package/dist/module/primitives/toast/toast-title.js.map +1 -0
- package/dist/module/primitives/toast/types.js +4 -0
- package/dist/module/primitives/toast/types.js.map +1 -0
- package/dist/module/themes/adapters/index.js +4 -0
- package/dist/module/themes/adapters/index.js.map +1 -0
- package/dist/module/themes/adapters/react-navigation.js +52 -0
- package/dist/module/themes/adapters/react-navigation.js.map +1 -0
- package/dist/module/themes/default/colors.js +35 -0
- package/dist/module/themes/default/colors.js.map +1 -0
- package/dist/module/themes/default/index.js +14 -0
- package/dist/module/themes/default/index.js.map +1 -0
- package/dist/module/themes/index.js +6 -0
- package/dist/module/themes/index.js.map +1 -0
- package/dist/module/themes/provider.js +41 -0
- package/dist/module/themes/provider.js.map +1 -0
- package/dist/module/themes/themes.js +7 -0
- package/dist/module/themes/themes.js.map +1 -0
- package/dist/module/themes/types.js +2 -0
- package/dist/module/themes/types.js.map +1 -0
- package/dist/module/types/element.types.js +4 -0
- package/dist/module/types/element.types.js.map +1 -0
- package/dist/module/utils/calculate-styles.js +17 -0
- package/dist/module/utils/calculate-styles.js.map +1 -0
- package/dist/module/utils/date-utils.js +95 -0
- package/dist/module/utils/date-utils.js.map +1 -0
- package/dist/module/utils/hsla-utils.js +33 -0
- package/dist/module/utils/hsla-utils.js.map +1 -0
- package/dist/module/utils/normalize-layout.js +16 -0
- package/dist/module/utils/normalize-layout.js.map +1 -0
- package/dist/module/utils/use-themed-styles.js +14 -0
- package/dist/module/utils/use-themed-styles.js.map +1 -0
- package/dist/typescript/babel.config.d.ts +10 -0
- package/dist/typescript/babel.config.d.ts.map +1 -0
- package/dist/typescript/bob.config.d.ts +6 -0
- package/dist/typescript/bob.config.d.ts.map +1 -0
- package/dist/typescript/package.json +1 -0
- package/dist/typescript/src/components/avatar/avatar.d.ts +10 -0
- package/dist/typescript/src/components/avatar/avatar.d.ts.map +1 -0
- package/dist/typescript/src/components/avatar/variants/default.d.ts +3 -0
- package/dist/typescript/src/components/avatar/variants/default.d.ts.map +1 -0
- package/dist/typescript/src/components/avatar/variants/index.d.ts +5 -0
- package/dist/typescript/src/components/avatar/variants/index.d.ts.map +1 -0
- package/dist/typescript/src/components/badge/badge.d.ts +10 -0
- package/dist/typescript/src/components/badge/badge.d.ts.map +1 -0
- package/dist/typescript/src/components/badge/variants/default.d.ts +3 -0
- package/dist/typescript/src/components/badge/variants/default.d.ts.map +1 -0
- package/dist/typescript/src/components/badge/variants/index.d.ts +5 -0
- package/dist/typescript/src/components/badge/variants/index.d.ts.map +1 -0
- package/dist/typescript/src/components/badge/variants/secondary.d.ts +3 -0
- package/dist/typescript/src/components/badge/variants/secondary.d.ts.map +1 -0
- package/dist/typescript/src/components/button/button.d.ts +14 -0
- package/dist/typescript/src/components/button/button.d.ts.map +1 -0
- package/dist/typescript/src/components/button/variants/default.d.ts +3 -0
- package/dist/typescript/src/components/button/variants/default.d.ts.map +1 -0
- package/dist/typescript/src/components/button/variants/index.d.ts +5 -0
- package/dist/typescript/src/components/button/variants/index.d.ts.map +1 -0
- package/dist/typescript/src/components/button/variants/secondary.d.ts +3 -0
- package/dist/typescript/src/components/button/variants/secondary.d.ts.map +1 -0
- package/dist/typescript/src/components/calendar/calendar.d.ts +14 -0
- package/dist/typescript/src/components/calendar/calendar.d.ts.map +1 -0
- package/dist/typescript/src/components/calendar/index.d.ts +2 -0
- package/dist/typescript/src/components/calendar/index.d.ts.map +1 -0
- package/dist/typescript/src/components/calendar/variants/default.d.ts +3 -0
- package/dist/typescript/src/components/calendar/variants/default.d.ts.map +1 -0
- package/dist/typescript/src/components/calendar/variants/index.d.ts +4 -0
- package/dist/typescript/src/components/calendar/variants/index.d.ts.map +1 -0
- package/dist/typescript/src/components/card/card.d.ts +10 -0
- package/dist/typescript/src/components/card/card.d.ts.map +1 -0
- package/dist/typescript/src/components/card/variants/default.d.ts +3 -0
- package/dist/typescript/src/components/card/variants/default.d.ts.map +1 -0
- package/dist/typescript/src/components/card/variants/index.d.ts +5 -0
- package/dist/typescript/src/components/card/variants/index.d.ts.map +1 -0
- package/dist/typescript/src/components/dropdown-menu/dropdown-menu.d.ts +18 -0
- package/dist/typescript/src/components/dropdown-menu/dropdown-menu.d.ts.map +1 -0
- package/dist/typescript/src/components/dropdown-menu/variants/default.d.ts +3 -0
- package/dist/typescript/src/components/dropdown-menu/variants/default.d.ts.map +1 -0
- package/dist/typescript/src/components/dropdown-menu/variants/index.d.ts +4 -0
- package/dist/typescript/src/components/dropdown-menu/variants/index.d.ts.map +1 -0
- package/dist/typescript/src/components/empty/empty.d.ts +11 -0
- package/dist/typescript/src/components/empty/empty.d.ts.map +1 -0
- package/dist/typescript/src/components/empty/variants/default.d.ts +3 -0
- package/dist/typescript/src/components/empty/variants/default.d.ts.map +1 -0
- package/dist/typescript/src/components/empty/variants/index.d.ts +5 -0
- package/dist/typescript/src/components/empty/variants/index.d.ts.map +1 -0
- package/dist/typescript/src/components/field/field.d.ts +12 -0
- package/dist/typescript/src/components/field/field.d.ts.map +1 -0
- package/dist/typescript/src/components/field/variants/default.d.ts +3 -0
- package/dist/typescript/src/components/field/variants/default.d.ts.map +1 -0
- package/dist/typescript/src/components/field/variants/index.d.ts +4 -0
- package/dist/typescript/src/components/field/variants/index.d.ts.map +1 -0
- package/dist/typescript/src/components/index.d.ts +16 -0
- package/dist/typescript/src/components/index.d.ts.map +1 -0
- package/dist/typescript/src/components/input/index.d.ts +3 -0
- package/dist/typescript/src/components/input/index.d.ts.map +1 -0
- package/dist/typescript/src/components/input/input.d.ts +9 -0
- package/dist/typescript/src/components/input/input.d.ts.map +1 -0
- package/dist/typescript/src/components/input/numeric-input.d.ts +17 -0
- package/dist/typescript/src/components/input/numeric-input.d.ts.map +1 -0
- package/dist/typescript/src/components/input/variants/default.d.ts +3 -0
- package/dist/typescript/src/components/input/variants/default.d.ts.map +1 -0
- package/dist/typescript/src/components/input/variants/index.d.ts +5 -0
- package/dist/typescript/src/components/input/variants/index.d.ts.map +1 -0
- package/dist/typescript/src/components/link/link.d.ts +9 -0
- package/dist/typescript/src/components/link/link.d.ts.map +1 -0
- package/dist/typescript/src/components/link/variants/default.d.ts +3 -0
- package/dist/typescript/src/components/link/variants/default.d.ts.map +1 -0
- package/dist/typescript/src/components/link/variants/index.d.ts +5 -0
- package/dist/typescript/src/components/link/variants/index.d.ts.map +1 -0
- package/dist/typescript/src/components/popover/popover.d.ts +16 -0
- package/dist/typescript/src/components/popover/popover.d.ts.map +1 -0
- package/dist/typescript/src/components/popover/variants/default.d.ts +3 -0
- package/dist/typescript/src/components/popover/variants/default.d.ts.map +1 -0
- package/dist/typescript/src/components/popover/variants/index.d.ts +5 -0
- package/dist/typescript/src/components/popover/variants/index.d.ts.map +1 -0
- package/dist/typescript/src/components/popover/variants/unstyled.d.ts +3 -0
- package/dist/typescript/src/components/popover/variants/unstyled.d.ts.map +1 -0
- package/dist/typescript/src/components/select/select.d.ts +13 -0
- package/dist/typescript/src/components/select/select.d.ts.map +1 -0
- package/dist/typescript/src/components/select/variants/default.d.ts +3 -0
- package/dist/typescript/src/components/select/variants/default.d.ts.map +1 -0
- package/dist/typescript/src/components/select/variants/index.d.ts +5 -0
- package/dist/typescript/src/components/select/variants/index.d.ts.map +1 -0
- package/dist/typescript/src/components/textarea/textarea.d.ts +9 -0
- package/dist/typescript/src/components/textarea/textarea.d.ts.map +1 -0
- package/dist/typescript/src/components/textarea/variants/default.d.ts +3 -0
- package/dist/typescript/src/components/textarea/variants/default.d.ts.map +1 -0
- package/dist/typescript/src/components/textarea/variants/index.d.ts +5 -0
- package/dist/typescript/src/components/textarea/variants/index.d.ts.map +1 -0
- package/dist/typescript/src/components/toast/index.d.ts +6 -0
- package/dist/typescript/src/components/toast/index.d.ts.map +1 -0
- package/dist/typescript/src/components/toast/toast-manager.d.ts +19 -0
- package/dist/typescript/src/components/toast/toast-manager.d.ts.map +1 -0
- package/dist/typescript/src/components/toast/toast.d.ts +10 -0
- package/dist/typescript/src/components/toast/toast.d.ts.map +1 -0
- package/dist/typescript/src/components/toast/variants/danger.d.ts +3 -0
- package/dist/typescript/src/components/toast/variants/danger.d.ts.map +1 -0
- package/dist/typescript/src/components/toast/variants/default.d.ts +3 -0
- package/dist/typescript/src/components/toast/variants/default.d.ts.map +1 -0
- package/dist/typescript/src/components/toast/variants/index.d.ts +6 -0
- package/dist/typescript/src/components/toast/variants/index.d.ts.map +1 -0
- package/dist/typescript/src/components/toast/variants/success.d.ts +3 -0
- package/dist/typescript/src/components/toast/variants/success.d.ts.map +1 -0
- package/dist/typescript/src/components/typography/typography.d.ts +8 -0
- package/dist/typescript/src/components/typography/typography.d.ts.map +1 -0
- package/dist/typescript/src/components/typography/variants/body-lg.d.ts +3 -0
- package/dist/typescript/src/components/typography/variants/body-lg.d.ts.map +1 -0
- package/dist/typescript/src/components/typography/variants/body-md.d.ts +3 -0
- package/dist/typescript/src/components/typography/variants/body-md.d.ts.map +1 -0
- package/dist/typescript/src/components/typography/variants/body-sm.d.ts +3 -0
- package/dist/typescript/src/components/typography/variants/body-sm.d.ts.map +1 -0
- package/dist/typescript/src/components/typography/variants/heading-lg.d.ts +3 -0
- package/dist/typescript/src/components/typography/variants/heading-lg.d.ts.map +1 -0
- package/dist/typescript/src/components/typography/variants/heading-md.d.ts +3 -0
- package/dist/typescript/src/components/typography/variants/heading-md.d.ts.map +1 -0
- package/dist/typescript/src/components/typography/variants/heading-sm.d.ts +3 -0
- package/dist/typescript/src/components/typography/variants/heading-sm.d.ts.map +1 -0
- package/dist/typescript/src/components/typography/variants/index.d.ts +15 -0
- package/dist/typescript/src/components/typography/variants/index.d.ts.map +1 -0
- package/dist/typescript/src/hooks/index.d.ts +5 -0
- package/dist/typescript/src/hooks/index.d.ts.map +1 -0
- package/dist/typescript/src/hooks/use-currency-mask.d.ts +19 -0
- package/dist/typescript/src/hooks/use-currency-mask.d.ts.map +1 -0
- package/dist/typescript/src/hooks/use-numeric-mask.d.ts +22 -0
- package/dist/typescript/src/hooks/use-numeric-mask.d.ts.map +1 -0
- package/dist/typescript/src/hooks/use-relative-position.d.ts +50 -0
- package/dist/typescript/src/hooks/use-relative-position.d.ts.map +1 -0
- package/dist/typescript/src/hooks/use-screen-size.d.ts +22 -0
- package/dist/typescript/src/hooks/use-screen-size.d.ts.map +1 -0
- package/dist/typescript/src/index.d.ts +10 -0
- package/dist/typescript/src/index.d.ts.map +1 -0
- package/dist/typescript/src/primitives/avatar/avatar-fallback.d.ts +9 -0
- package/dist/typescript/src/primitives/avatar/avatar-fallback.d.ts.map +1 -0
- package/dist/typescript/src/primitives/avatar/avatar-image.d.ts +10 -0
- package/dist/typescript/src/primitives/avatar/avatar-image.d.ts.map +1 -0
- package/dist/typescript/src/primitives/avatar/avatar-root.d.ts +11 -0
- package/dist/typescript/src/primitives/avatar/avatar-root.d.ts.map +1 -0
- package/dist/typescript/src/primitives/avatar/context.d.ts +7 -0
- package/dist/typescript/src/primitives/avatar/context.d.ts.map +1 -0
- package/dist/typescript/src/primitives/avatar/index.d.ts +13 -0
- package/dist/typescript/src/primitives/avatar/index.d.ts.map +1 -0
- package/dist/typescript/src/primitives/avatar/types.d.ts +9 -0
- package/dist/typescript/src/primitives/avatar/types.d.ts.map +1 -0
- package/dist/typescript/src/primitives/badge/badge-label.d.ts +9 -0
- package/dist/typescript/src/primitives/badge/badge-label.d.ts.map +1 -0
- package/dist/typescript/src/primitives/badge/badge-root.d.ts +11 -0
- package/dist/typescript/src/primitives/badge/badge-root.d.ts.map +1 -0
- package/dist/typescript/src/primitives/badge/context.d.ts +8 -0
- package/dist/typescript/src/primitives/badge/context.d.ts.map +1 -0
- package/dist/typescript/src/primitives/badge/index.d.ts +10 -0
- package/dist/typescript/src/primitives/badge/index.d.ts.map +1 -0
- package/dist/typescript/src/primitives/badge/types.d.ts +8 -0
- package/dist/typescript/src/primitives/badge/types.d.ts.map +1 -0
- package/dist/typescript/src/primitives/button/button-context.d.ts +9 -0
- package/dist/typescript/src/primitives/button/button-context.d.ts.map +1 -0
- package/dist/typescript/src/primitives/button/button-label.d.ts +9 -0
- package/dist/typescript/src/primitives/button/button-label.d.ts.map +1 -0
- package/dist/typescript/src/primitives/button/button-root.d.ts +13 -0
- package/dist/typescript/src/primitives/button/button-root.d.ts.map +1 -0
- package/dist/typescript/src/primitives/button/button-spinner.d.ts +8 -0
- package/dist/typescript/src/primitives/button/button-spinner.d.ts.map +1 -0
- package/dist/typescript/src/primitives/button/index.d.ts +12 -0
- package/dist/typescript/src/primitives/button/index.d.ts.map +1 -0
- package/dist/typescript/src/primitives/button/types.d.ts +9 -0
- package/dist/typescript/src/primitives/button/types.d.ts.map +1 -0
- package/dist/typescript/src/primitives/calendar/calendar-day.d.ts +10 -0
- package/dist/typescript/src/primitives/calendar/calendar-day.d.ts.map +1 -0
- package/dist/typescript/src/primitives/calendar/calendar-header.d.ts +8 -0
- package/dist/typescript/src/primitives/calendar/calendar-header.d.ts.map +1 -0
- package/dist/typescript/src/primitives/calendar/calendar-nav-button.d.ts +10 -0
- package/dist/typescript/src/primitives/calendar/calendar-nav-button.d.ts.map +1 -0
- package/dist/typescript/src/primitives/calendar/calendar-root.d.ts +15 -0
- package/dist/typescript/src/primitives/calendar/calendar-root.d.ts.map +1 -0
- package/dist/typescript/src/primitives/calendar/calendar-title.d.ts +9 -0
- package/dist/typescript/src/primitives/calendar/calendar-title.d.ts.map +1 -0
- package/dist/typescript/src/primitives/calendar/calendar-week-labels.d.ts +12 -0
- package/dist/typescript/src/primitives/calendar/calendar-week-labels.d.ts.map +1 -0
- package/dist/typescript/src/primitives/calendar/calendar-weeks.d.ts +11 -0
- package/dist/typescript/src/primitives/calendar/calendar-weeks.d.ts.map +1 -0
- package/dist/typescript/src/primitives/calendar/context.d.ts +14 -0
- package/dist/typescript/src/primitives/calendar/context.d.ts.map +1 -0
- package/dist/typescript/src/primitives/calendar/index.d.ts +25 -0
- package/dist/typescript/src/primitives/calendar/index.d.ts.map +1 -0
- package/dist/typescript/src/primitives/calendar/types.d.ts +37 -0
- package/dist/typescript/src/primitives/calendar/types.d.ts.map +1 -0
- package/dist/typescript/src/primitives/card/card-body.d.ts +9 -0
- package/dist/typescript/src/primitives/card/card-body.d.ts.map +1 -0
- package/dist/typescript/src/primitives/card/card-footer.d.ts +9 -0
- package/dist/typescript/src/primitives/card/card-footer.d.ts.map +1 -0
- package/dist/typescript/src/primitives/card/card-header.d.ts +9 -0
- package/dist/typescript/src/primitives/card/card-header.d.ts.map +1 -0
- package/dist/typescript/src/primitives/card/card-root.d.ts +11 -0
- package/dist/typescript/src/primitives/card/card-root.d.ts.map +1 -0
- package/dist/typescript/src/primitives/card/card-title.d.ts +9 -0
- package/dist/typescript/src/primitives/card/card-title.d.ts.map +1 -0
- package/dist/typescript/src/primitives/card/context.d.ts +8 -0
- package/dist/typescript/src/primitives/card/context.d.ts.map +1 -0
- package/dist/typescript/src/primitives/card/index.d.ts +19 -0
- package/dist/typescript/src/primitives/card/index.d.ts.map +1 -0
- package/dist/typescript/src/primitives/card/types.d.ts +14 -0
- package/dist/typescript/src/primitives/card/types.d.ts.map +1 -0
- package/dist/typescript/src/primitives/dropdown-menu/context.d.ts +16 -0
- package/dist/typescript/src/primitives/dropdown-menu/context.d.ts.map +1 -0
- package/dist/typescript/src/primitives/dropdown-menu/dropdown-menu-button.d.ts +12 -0
- package/dist/typescript/src/primitives/dropdown-menu/dropdown-menu-button.d.ts.map +1 -0
- package/dist/typescript/src/primitives/dropdown-menu/dropdown-menu-content.d.ts +9 -0
- package/dist/typescript/src/primitives/dropdown-menu/dropdown-menu-content.d.ts.map +1 -0
- package/dist/typescript/src/primitives/dropdown-menu/dropdown-menu-divider.d.ts +8 -0
- package/dist/typescript/src/primitives/dropdown-menu/dropdown-menu-divider.d.ts.map +1 -0
- package/dist/typescript/src/primitives/dropdown-menu/dropdown-menu-overlay.d.ts +9 -0
- package/dist/typescript/src/primitives/dropdown-menu/dropdown-menu-overlay.d.ts.map +1 -0
- package/dist/typescript/src/primitives/dropdown-menu/dropdown-menu-portal.d.ts +6 -0
- package/dist/typescript/src/primitives/dropdown-menu/dropdown-menu-portal.d.ts.map +1 -0
- package/dist/typescript/src/primitives/dropdown-menu/dropdown-menu-root.d.ts +9 -0
- package/dist/typescript/src/primitives/dropdown-menu/dropdown-menu-root.d.ts.map +1 -0
- package/dist/typescript/src/primitives/dropdown-menu/dropdown-menu-trigger.d.ts +12 -0
- package/dist/typescript/src/primitives/dropdown-menu/dropdown-menu-trigger.d.ts.map +1 -0
- package/dist/typescript/src/primitives/dropdown-menu/index.d.ts +24 -0
- package/dist/typescript/src/primitives/dropdown-menu/index.d.ts.map +1 -0
- package/dist/typescript/src/primitives/dropdown-menu/types.d.ts +12 -0
- package/dist/typescript/src/primitives/dropdown-menu/types.d.ts.map +1 -0
- package/dist/typescript/src/primitives/empty/context.d.ts +7 -0
- package/dist/typescript/src/primitives/empty/context.d.ts.map +1 -0
- package/dist/typescript/src/primitives/empty/empty-description.d.ts +9 -0
- package/dist/typescript/src/primitives/empty/empty-description.d.ts.map +1 -0
- package/dist/typescript/src/primitives/empty/empty-media.d.ts +9 -0
- package/dist/typescript/src/primitives/empty/empty-media.d.ts.map +1 -0
- package/dist/typescript/src/primitives/empty/empty-root.d.ts +11 -0
- package/dist/typescript/src/primitives/empty/empty-root.d.ts.map +1 -0
- package/dist/typescript/src/primitives/empty/empty-title.d.ts +9 -0
- package/dist/typescript/src/primitives/empty/empty-title.d.ts.map +1 -0
- package/dist/typescript/src/primitives/empty/index.d.ts +16 -0
- package/dist/typescript/src/primitives/empty/index.d.ts.map +1 -0
- package/dist/typescript/src/primitives/empty/types.d.ts +11 -0
- package/dist/typescript/src/primitives/empty/types.d.ts.map +1 -0
- package/dist/typescript/src/primitives/field/context.d.ts +9 -0
- package/dist/typescript/src/primitives/field/context.d.ts.map +1 -0
- package/dist/typescript/src/primitives/field/field-description.d.ts +9 -0
- package/dist/typescript/src/primitives/field/field-description.d.ts.map +1 -0
- package/dist/typescript/src/primitives/field/field-error.d.ts +9 -0
- package/dist/typescript/src/primitives/field/field-error.d.ts.map +1 -0
- package/dist/typescript/src/primitives/field/field-label.d.ts +10 -0
- package/dist/typescript/src/primitives/field/field-label.d.ts.map +1 -0
- package/dist/typescript/src/primitives/field/field-root.d.ts +11 -0
- package/dist/typescript/src/primitives/field/field-root.d.ts.map +1 -0
- package/dist/typescript/src/primitives/field/index.d.ts +16 -0
- package/dist/typescript/src/primitives/field/index.d.ts.map +1 -0
- package/dist/typescript/src/primitives/field/types.d.ts +11 -0
- package/dist/typescript/src/primitives/field/types.d.ts.map +1 -0
- package/dist/typescript/src/primitives/index.d.ts +15 -0
- package/dist/typescript/src/primitives/index.d.ts.map +1 -0
- package/dist/typescript/src/primitives/input/index.d.ts +3 -0
- package/dist/typescript/src/primitives/input/index.d.ts.map +1 -0
- package/dist/typescript/src/primitives/input/input.d.ts +14 -0
- package/dist/typescript/src/primitives/input/input.d.ts.map +1 -0
- package/dist/typescript/src/primitives/input/types.d.ts +4 -0
- package/dist/typescript/src/primitives/input/types.d.ts.map +1 -0
- package/dist/typescript/src/primitives/popover/context.d.ts +16 -0
- package/dist/typescript/src/primitives/popover/context.d.ts.map +1 -0
- package/dist/typescript/src/primitives/popover/index.d.ts +22 -0
- package/dist/typescript/src/primitives/popover/index.d.ts.map +1 -0
- package/dist/typescript/src/primitives/popover/popover-close.d.ts +10 -0
- package/dist/typescript/src/primitives/popover/popover-close.d.ts.map +1 -0
- package/dist/typescript/src/primitives/popover/popover-content.d.ts +9 -0
- package/dist/typescript/src/primitives/popover/popover-content.d.ts.map +1 -0
- package/dist/typescript/src/primitives/popover/popover-overlay.d.ts +10 -0
- package/dist/typescript/src/primitives/popover/popover-overlay.d.ts.map +1 -0
- package/dist/typescript/src/primitives/popover/popover-portal.d.ts +6 -0
- package/dist/typescript/src/primitives/popover/popover-portal.d.ts.map +1 -0
- package/dist/typescript/src/primitives/popover/popover-root.d.ts +9 -0
- package/dist/typescript/src/primitives/popover/popover-root.d.ts.map +1 -0
- package/dist/typescript/src/primitives/popover/popover-trigger.d.ts +12 -0
- package/dist/typescript/src/primitives/popover/popover-trigger.d.ts.map +1 -0
- package/dist/typescript/src/primitives/popover/types.d.ts +7 -0
- package/dist/typescript/src/primitives/popover/types.d.ts.map +1 -0
- package/dist/typescript/src/primitives/portal/index.d.ts +3 -0
- package/dist/typescript/src/primitives/portal/index.d.ts.map +1 -0
- package/dist/typescript/src/primitives/portal/portal.constants.d.ts +14 -0
- package/dist/typescript/src/primitives/portal/portal.constants.d.ts.map +1 -0
- package/dist/typescript/src/primitives/portal/portal.d.ts +7 -0
- package/dist/typescript/src/primitives/portal/portal.d.ts.map +1 -0
- package/dist/typescript/src/primitives/select/context.d.ts +20 -0
- package/dist/typescript/src/primitives/select/context.d.ts.map +1 -0
- package/dist/typescript/src/primitives/select/index.d.ts +25 -0
- package/dist/typescript/src/primitives/select/index.d.ts.map +1 -0
- package/dist/typescript/src/primitives/select/select-content.d.ts +9 -0
- package/dist/typescript/src/primitives/select/select-content.d.ts.map +1 -0
- package/dist/typescript/src/primitives/select/select-option.d.ts +11 -0
- package/dist/typescript/src/primitives/select/select-option.d.ts.map +1 -0
- package/dist/typescript/src/primitives/select/select-overlay.d.ts +10 -0
- package/dist/typescript/src/primitives/select/select-overlay.d.ts.map +1 -0
- package/dist/typescript/src/primitives/select/select-portal.d.ts +6 -0
- package/dist/typescript/src/primitives/select/select-portal.d.ts.map +1 -0
- package/dist/typescript/src/primitives/select/select-root.d.ts +21 -0
- package/dist/typescript/src/primitives/select/select-root.d.ts.map +1 -0
- package/dist/typescript/src/primitives/select/select-trigger.d.ts +13 -0
- package/dist/typescript/src/primitives/select/select-trigger.d.ts.map +1 -0
- package/dist/typescript/src/primitives/select/select-value.d.ts +8 -0
- package/dist/typescript/src/primitives/select/select-value.d.ts.map +1 -0
- package/dist/typescript/src/primitives/select/types.d.ts +22 -0
- package/dist/typescript/src/primitives/select/types.d.ts.map +1 -0
- package/dist/typescript/src/primitives/textarea/index.d.ts +3 -0
- package/dist/typescript/src/primitives/textarea/index.d.ts.map +1 -0
- package/dist/typescript/src/primitives/textarea/textarea.d.ts +12 -0
- package/dist/typescript/src/primitives/textarea/textarea.d.ts.map +1 -0
- package/dist/typescript/src/primitives/textarea/types.d.ts +4 -0
- package/dist/typescript/src/primitives/textarea/types.d.ts.map +1 -0
- package/dist/typescript/src/primitives/toast/context.d.ts +7 -0
- package/dist/typescript/src/primitives/toast/context.d.ts.map +1 -0
- package/dist/typescript/src/primitives/toast/index.d.ts +13 -0
- package/dist/typescript/src/primitives/toast/index.d.ts.map +1 -0
- package/dist/typescript/src/primitives/toast/toast-description.d.ts +9 -0
- package/dist/typescript/src/primitives/toast/toast-description.d.ts.map +1 -0
- package/dist/typescript/src/primitives/toast/toast-root.d.ts +11 -0
- package/dist/typescript/src/primitives/toast/toast-root.d.ts.map +1 -0
- package/dist/typescript/src/primitives/toast/toast-title.d.ts +9 -0
- package/dist/typescript/src/primitives/toast/toast-title.d.ts.map +1 -0
- package/dist/typescript/src/primitives/toast/types.d.ts +9 -0
- package/dist/typescript/src/primitives/toast/types.d.ts.map +1 -0
- package/dist/typescript/src/themes/adapters/index.d.ts +2 -0
- package/dist/typescript/src/themes/adapters/index.d.ts.map +1 -0
- package/dist/typescript/src/themes/adapters/react-navigation.d.ts +3 -0
- package/dist/typescript/src/themes/adapters/react-navigation.d.ts.map +1 -0
- package/dist/typescript/src/themes/default/colors.d.ts +4 -0
- package/dist/typescript/src/themes/default/colors.d.ts.map +1 -0
- package/dist/typescript/src/themes/default/index.d.ts +3 -0
- package/dist/typescript/src/themes/default/index.d.ts.map +1 -0
- package/dist/typescript/src/themes/index.d.ts +4 -0
- package/dist/typescript/src/themes/index.d.ts.map +1 -0
- package/dist/typescript/src/themes/provider.d.ts +18 -0
- package/dist/typescript/src/themes/provider.d.ts.map +1 -0
- package/dist/typescript/src/themes/themes.d.ts +3 -0
- package/dist/typescript/src/themes/themes.d.ts.map +1 -0
- package/dist/typescript/src/themes/types.d.ts +32 -0
- package/dist/typescript/src/themes/types.d.ts.map +1 -0
- package/dist/typescript/src/types/element.types.d.ts +4 -0
- package/dist/typescript/src/types/element.types.d.ts.map +1 -0
- package/dist/typescript/src/utils/calculate-styles.d.ts +2 -0
- package/dist/typescript/src/utils/calculate-styles.d.ts.map +1 -0
- package/dist/typescript/src/utils/date-utils.d.ts +19 -0
- package/dist/typescript/src/utils/date-utils.d.ts.map +1 -0
- package/dist/typescript/src/utils/hsla-utils.d.ts +5 -0
- package/dist/typescript/src/utils/hsla-utils.d.ts.map +1 -0
- package/dist/typescript/src/utils/normalize-layout.d.ts +8 -0
- package/dist/typescript/src/utils/normalize-layout.d.ts.map +1 -0
- package/dist/typescript/src/utils/use-themed-styles.d.ts +11 -0
- package/dist/typescript/src/utils/use-themed-styles.d.ts.map +1 -0
- package/package.json +31 -32
- package/src/components/avatar/avatar.tsx +1 -1
- package/src/components/avatar/variants/default.tsx +1 -1
- package/src/components/badge/variants/default.tsx +1 -1
- package/src/components/badge/variants/secondary.tsx +1 -1
- package/src/components/button/button.tsx +1 -1
- package/src/components/button/variants/default.tsx +1 -1
- package/src/components/button/variants/secondary.tsx +1 -1
- package/src/components/calendar/calendar.tsx +1 -1
- package/src/components/calendar/variants/default.tsx +1 -1
- package/src/components/card/variants/default.tsx +1 -1
- package/src/components/dropdown-menu/dropdown-menu.tsx +3 -1
- package/src/components/dropdown-menu/variants/default.tsx +1 -1
- package/src/components/empty/variants/default.tsx +1 -1
- package/src/components/field/variants/default.tsx +1 -1
- package/src/components/input/input.tsx +1 -1
- package/src/components/input/numeric-input.tsx +2 -2
- package/src/components/input/variants/default.tsx +1 -1
- package/src/components/link/link.tsx +1 -1
- package/src/components/link/variants/default.tsx +1 -1
- package/src/components/popover/popover.tsx +4 -5
- package/src/components/popover/variants/default.tsx +2 -1
- package/src/components/popover/variants/unstyled.tsx +1 -1
- package/src/components/select/select.tsx +1 -1
- package/src/components/select/variants/default.tsx +1 -1
- package/src/components/textarea/textarea.tsx +1 -1
- package/src/components/textarea/variants/default.tsx +1 -1
- package/src/components/toast/variants/danger.tsx +1 -1
- package/src/components/toast/variants/default.tsx +1 -1
- package/src/components/toast/variants/success.tsx +1 -1
- package/src/components/typography/typography.tsx +1 -1
- package/src/components/typography/variants/body-lg.tsx +1 -1
- package/src/components/typography/variants/body-md.tsx +1 -1
- package/src/components/typography/variants/body-sm.tsx +1 -1
- package/src/components/typography/variants/heading-lg.tsx +1 -1
- package/src/components/typography/variants/heading-md.tsx +1 -1
- package/src/components/typography/variants/heading-sm.tsx +1 -1
- package/src/index.tsx +3 -3
- package/src/primitives/avatar/avatar-fallback.tsx +1 -1
- package/src/primitives/avatar/avatar-image.tsx +1 -1
- package/src/primitives/avatar/avatar-root.tsx +2 -2
- package/src/primitives/avatar/context.ts +1 -1
- package/src/primitives/avatar/types.ts +3 -3
- package/src/primitives/badge/badge-label.tsx +2 -2
- package/src/primitives/badge/badge-root.tsx +3 -3
- package/src/primitives/badge/context.ts +1 -1
- package/src/primitives/badge/types.ts +2 -2
- package/src/primitives/button/button-context.tsx +1 -1
- package/src/primitives/button/button-label.tsx +2 -2
- package/src/primitives/button/button-root.tsx +2 -2
- package/src/primitives/button/button-spinner.tsx +2 -2
- package/src/primitives/button/types.ts +2 -2
- package/src/primitives/calendar/calendar-day.tsx +3 -3
- package/src/primitives/calendar/calendar-header.tsx +1 -1
- package/src/primitives/calendar/calendar-nav-button.tsx +2 -2
- package/src/primitives/calendar/calendar-root.tsx +2 -2
- package/src/primitives/calendar/calendar-title.tsx +1 -1
- package/src/primitives/calendar/calendar-week-labels.tsx +1 -1
- package/src/primitives/calendar/calendar-weeks.tsx +3 -3
- package/src/primitives/calendar/context.ts +1 -1
- package/src/primitives/calendar/types.ts +7 -7
- package/src/primitives/card/card-body.tsx +2 -2
- package/src/primitives/card/card-footer.tsx +2 -2
- package/src/primitives/card/card-header.tsx +2 -2
- package/src/primitives/card/card-root.tsx +3 -3
- package/src/primitives/card/card-title.tsx +2 -2
- package/src/primitives/card/context.ts +1 -1
- package/src/primitives/card/types.ts +5 -5
- package/src/primitives/dropdown-menu/context.ts +4 -4
- package/src/primitives/dropdown-menu/dropdown-menu-button.tsx +2 -2
- package/src/primitives/dropdown-menu/dropdown-menu-content.tsx +2 -2
- package/src/primitives/dropdown-menu/dropdown-menu-divider.tsx +1 -1
- package/src/primitives/dropdown-menu/dropdown-menu-overlay.tsx +1 -1
- package/src/primitives/dropdown-menu/dropdown-menu-root.tsx +3 -3
- package/src/primitives/dropdown-menu/dropdown-menu-trigger.tsx +6 -5
- package/src/primitives/dropdown-menu/types.ts +4 -4
- package/src/primitives/empty/context.ts +1 -1
- package/src/primitives/empty/empty-description.tsx +1 -1
- package/src/primitives/empty/empty-media.tsx +1 -1
- package/src/primitives/empty/empty-root.tsx +2 -2
- package/src/primitives/empty/empty-title.tsx +1 -1
- package/src/primitives/empty/types.ts +4 -4
- package/src/primitives/field/context.ts +1 -1
- package/src/primitives/field/field-description.tsx +1 -1
- package/src/primitives/field/field-error.tsx +1 -1
- package/src/primitives/field/field-label.tsx +1 -1
- package/src/primitives/field/field-root.tsx +2 -2
- package/src/primitives/field/types.ts +4 -4
- package/src/primitives/input/input.tsx +6 -5
- package/src/primitives/input/types.ts +1 -1
- package/src/primitives/popover/context.ts +4 -4
- package/src/primitives/popover/popover-close.tsx +1 -1
- package/src/primitives/popover/popover-content.tsx +2 -1
- package/src/primitives/popover/popover-overlay.tsx +3 -6
- package/src/primitives/popover/popover-root.tsx +3 -3
- package/src/primitives/popover/popover-trigger.tsx +5 -4
- package/src/primitives/popover/types.ts +2 -2
- package/src/primitives/portal/portal.tsx +6 -5
- package/src/primitives/select/context.ts +3 -3
- package/src/primitives/select/select-content.tsx +2 -2
- package/src/primitives/select/select-option.tsx +3 -3
- package/src/primitives/select/select-overlay.tsx +2 -2
- package/src/primitives/select/select-root.tsx +3 -3
- package/src/primitives/select/select-trigger.tsx +3 -3
- package/src/primitives/select/select-value.tsx +2 -2
- package/src/primitives/select/types.ts +6 -6
- package/src/primitives/textarea/textarea.tsx +2 -2
- package/src/primitives/textarea/types.ts +1 -1
- package/src/primitives/toast/context.ts +1 -1
- package/src/primitives/toast/toast-description.tsx +1 -1
- package/src/primitives/toast/toast-root.tsx +2 -2
- package/src/primitives/toast/toast-title.tsx +1 -1
- package/src/primitives/toast/types.ts +3 -3
- package/src/themes/adapters/react-navigation.ts +2 -1
- package/src/themes/default/colors.ts +1 -1
- package/src/themes/default/index.ts +1 -1
- package/src/themes/provider.tsx +5 -5
- package/src/themes/themes.ts +1 -1
- package/src/types/element.types.ts +4 -0
- package/src/utils/hsla-utils.ts +6 -9
- package/src/utils/normalize-layout.ts +5 -4
- package/src/utils/use-themed-styles.ts +1 -1
- package/tsconfig.json +22 -3
- package/dist/components/index.d.mts +0 -315
- package/dist/components/index.mjs +0 -978
- package/dist/hooks/index.d.mts +0 -47
- package/dist/hooks/index.mjs +0 -103
- package/dist/index-j_OCsdsx.d.mts +0 -704
- package/dist/index.d.mts +0 -65
- package/dist/index.mjs +0 -16
- package/dist/portal.constants-ClRV24_C.d.mts +0 -16
- package/dist/primitives/index.d.mts +0 -4
- package/dist/primitives/index.mjs +0 -4
- package/dist/primitives-8eataXpJ.mjs +0 -1437
- package/dist/toast-manager-q0YV3t3j.mjs +0 -321
- package/dist/use-numeric-mask-BQlz1Pus.mjs +0 -113
- package/dist/use-numeric-mask-D4zqPOnE.d.mts +0 -33
- package/dist/use-relative-position-BTKEyT1F.mjs +0 -106
- package/dist/use-relative-position-DBzhrBU7.d.mts +0 -61
- package/src/utils/get-ref-layout.ts +0 -16
- package/tsdown.config.ts +0 -8
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toast-title.d.ts","sourceRoot":"","sources":["../../../../../src/primitives/toast/toast-title.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,SAAS,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAGpE,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,KAAK,CAAC,SAAS,CAAC;IAErD,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,qBAOhD"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ToastDescriptionProps } from "./toast-description";
|
|
2
|
+
import type { ToastRootProps } from "./toast-root";
|
|
3
|
+
import type { ToastTitleProps } from "./toast-title";
|
|
4
|
+
export interface ToastStyles {
|
|
5
|
+
root?: ToastRootProps["style"];
|
|
6
|
+
title?: ToastTitleProps["style"];
|
|
7
|
+
description?: ToastDescriptionProps["style"];
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/primitives/toast/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AACjE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAErD,MAAM,WAAW,WAAW;IAC1B,IAAI,CAAC,EAAE,cAAc,CAAC,OAAO,CAAC,CAAC;IAC/B,KAAK,CAAC,EAAE,eAAe,CAAC,OAAO,CAAC,CAAC;IACjC,WAAW,CAAC,EAAE,qBAAqB,CAAC,OAAO,CAAC,CAAC;CAC9C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/themes/adapters/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"react-navigation.d.ts","sourceRoot":"","sources":["../../../../../src/themes/adapters/react-navigation.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AAItD,wBAAgB,uBAAuB,IAAI,KAAK,CA+C/C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../../../src/themes/default/colors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC,eAAO,MAAM,WAAW,EAAE,MAoBzB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,MAoBxB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/themes/default/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAG5C,eAAO,MAAM,kBAAkB,EAAE,WAShC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/themes/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,6BAA6B,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type PropsWithChildren } from "react";
|
|
2
|
+
import type { Colors, ColorScheme, FontFamily, FontSize, LetterSpacing, Radius, ThemeName } from "./types";
|
|
3
|
+
interface ThemeContext {
|
|
4
|
+
colors: Colors;
|
|
5
|
+
radius: Radius;
|
|
6
|
+
fontFamily: FontFamily;
|
|
7
|
+
colorScheme: ColorScheme;
|
|
8
|
+
letterSpacing: LetterSpacing;
|
|
9
|
+
fontSize: FontSize;
|
|
10
|
+
setColorScheme: (scheme: ColorScheme) => void;
|
|
11
|
+
setTheme: (themeName: ThemeName) => void;
|
|
12
|
+
themeName: ThemeName;
|
|
13
|
+
}
|
|
14
|
+
declare const ThemeContext: import("react").Context<ThemeContext | null>;
|
|
15
|
+
export declare const ThemeProvider: (props: PropsWithChildren) => import("react").JSX.Element;
|
|
16
|
+
export declare const useTheme: () => ThemeContext;
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../../../src/themes/provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,iBAAiB,EAAmC,MAAM,OAAO,CAAC;AAG/F,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,UAAU,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAE3G,UAAU,YAAY;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,UAAU,CAAC;IACvB,WAAW,EAAE,WAAW,CAAC;IACzB,aAAa,EAAE,aAAa,CAAC;IAC7B,QAAQ,EAAE,QAAQ,CAAC;IACnB,cAAc,EAAE,CAAC,MAAM,EAAE,WAAW,KAAK,IAAI,CAAC;IAC9C,QAAQ,EAAE,CAAC,SAAS,EAAE,SAAS,KAAK,IAAI,CAAC;IACzC,SAAS,EAAE,SAAS,CAAC;CACtB;AAED,QAAA,MAAM,YAAY,8CAA2C,CAAC;AAE9D,eAAO,MAAM,aAAa,GAAI,OAAO,iBAAiB,gCAgCrD,CAAC;AAEF,eAAO,MAAM,QAAQ,oBAMpB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"themes.d.ts","sourceRoot":"","sources":["../../../../src/themes/themes.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEtD,eAAO,MAAM,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,WAAW,CAEjD,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export type ThemeName = "default";
|
|
2
|
+
export type ColorScheme = "light" | "dark";
|
|
3
|
+
type Color = `hsla(${number}, ${number}%, ${number}%, ${number})`;
|
|
4
|
+
export interface Colors {
|
|
5
|
+
background: Color;
|
|
6
|
+
foreground: Color;
|
|
7
|
+
primary: Color;
|
|
8
|
+
primaryForeground: Color;
|
|
9
|
+
secondary: Color;
|
|
10
|
+
secondaryForeground: Color;
|
|
11
|
+
muted: Color;
|
|
12
|
+
mutedForeground: Color;
|
|
13
|
+
border: Color;
|
|
14
|
+
surface: Color;
|
|
15
|
+
success: Color;
|
|
16
|
+
warning: Color;
|
|
17
|
+
danger: Color;
|
|
18
|
+
info: Color;
|
|
19
|
+
}
|
|
20
|
+
export type Radius = number;
|
|
21
|
+
export type FontFamily = string;
|
|
22
|
+
export type LetterSpacing = number;
|
|
23
|
+
export type FontSize = number;
|
|
24
|
+
export interface ThemeAssets {
|
|
25
|
+
colors: Record<ColorScheme, Colors>;
|
|
26
|
+
radius: Radius;
|
|
27
|
+
fontFamily: FontFamily;
|
|
28
|
+
letterSpacing: LetterSpacing;
|
|
29
|
+
fontSize: FontSize;
|
|
30
|
+
}
|
|
31
|
+
export {};
|
|
32
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/themes/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG,SAAS,CAAC;AAClC,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,MAAM,CAAC;AAE3C,KAAK,KAAK,GAAG,QAAQ,MAAM,KAAK,MAAM,MAAM,MAAM,MAAM,MAAM,GAAG,CAAC;AAElE,MAAM,WAAW,MAAM;IACrB,UAAU,EAAE,KAAK,CAAC;IAClB,UAAU,EAAE,KAAK,CAAC;IAClB,OAAO,EAAE,KAAK,CAAC;IACf,iBAAiB,EAAE,KAAK,CAAC;IACzB,SAAS,EAAE,KAAK,CAAC;IACjB,mBAAmB,EAAE,KAAK,CAAC;IAC3B,KAAK,EAAE,KAAK,CAAC;IACb,eAAe,EAAE,KAAK,CAAC;IACvB,MAAM,EAAE,KAAK,CAAC;IACd,OAAO,EAAE,KAAK,CAAC;IACf,OAAO,EAAE,KAAK,CAAC;IACf,OAAO,EAAE,KAAK,CAAC;IACf,MAAM,EAAE,KAAK,CAAC;IACd,IAAI,EAAE,KAAK,CAAC;CACb;AAED,MAAM,MAAM,MAAM,GAAG,MAAM,CAAC;AAC5B,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC;AAChC,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC;AACnC,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC;AAE9B,MAAM,WAAW,WAAW;IAC1B,MAAM,EAAE,MAAM,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC;IACpC,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,UAAU,CAAC;IACvB,aAAa,EAAE,aAAa,CAAC;IAC7B,QAAQ,EAAE,QAAQ,CAAC;CACpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"element.types.d.ts","sourceRoot":"","sources":["../../../../src/types/element.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpD,MAAM,MAAM,OAAO,GAAG,KAAK,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;AAC/C,MAAM,MAAM,YAAY,GAAG,KAAK,CAAC,YAAY,CAAC,SAAS,CAAC,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const calculateComposedStyles: <TStyle, State extends string | "default", Component extends string>(styles: (Partial<Record<Component, Partial<Record<State, TStyle>>>> | null) | undefined, state: State, component: Component, style?: TStyle) => TStyle[];
|
|
2
|
+
//# sourceMappingURL=calculate-styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"calculate-styles.d.ts","sourceRoot":"","sources":["../../../../src/utils/calculate-styles.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,GAAI,MAAM,EAAE,KAAK,SAAS,MAAM,GAAG,SAAS,EAAE,SAAS,SAAS,MAAM,EACxG,SAAQ,OAAO,CAAC,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI,aAAK,EAC9E,OAAO,KAAK,EACZ,WAAW,SAAS,EACpB,QAAQ,MAAM,KACb,MAAM,EAaR,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const formatDate: (date: Date, format: string) => string;
|
|
2
|
+
export declare const isDateSameDay: (date1: Date, date2: Date) => boolean;
|
|
3
|
+
export declare const isDateToday: (date: Date) => boolean;
|
|
4
|
+
export declare const isDateBefore: (date1: Date, date2: Date) => boolean;
|
|
5
|
+
export declare const isDateAfter: (date1: Date, date2: Date) => boolean;
|
|
6
|
+
export declare const isDateTimeWithinInterval: (date: Date, interval: {
|
|
7
|
+
start: Date;
|
|
8
|
+
end: Date;
|
|
9
|
+
}) => boolean;
|
|
10
|
+
export declare const addMonths: (date: Date, months: number) => Date;
|
|
11
|
+
export declare const subMonths: (date: Date, months: number) => Date;
|
|
12
|
+
export declare const startOfMonth: (date: Date) => Date;
|
|
13
|
+
export declare const endOfMonth: (date: Date) => Date;
|
|
14
|
+
export declare const getDaysInMonth: (date: Date) => number;
|
|
15
|
+
export declare const getFirstDayOfMonth: (date: Date) => number;
|
|
16
|
+
export declare const isSameMonth: (date1: Date, date2: Date) => boolean;
|
|
17
|
+
export declare const getWeekDays: (month: number, year: number, week: number) => Date[];
|
|
18
|
+
export declare const getWeeksInMonth: (date: Date) => number;
|
|
19
|
+
//# sourceMappingURL=date-utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"date-utils.d.ts","sourceRoot":"","sources":["../../../../src/utils/date-utils.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,GAAI,MAAM,IAAI,EAAE,QAAQ,MAAM,KAAG,MAevD,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,OAAO,IAAI,EAAE,OAAO,IAAI,KAAG,OAExD,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,MAAM,IAAI,KAAG,OAExC,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,OAAO,IAAI,EAAE,OAAO,IAAI,KAAG,OAIvD,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,OAAO,IAAI,EAAE,OAAO,IAAI,KAAG,OAItD,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAI,MAAM,IAAI,EAAE,UAAU;IAAE,KAAK,EAAE,IAAI,CAAC;IAAC,GAAG,EAAE,IAAI,CAAA;CAAE,KAAG,OAG3F,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,MAAM,IAAI,EAAE,QAAQ,MAAM,KAAG,IAItD,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,MAAM,IAAI,EAAE,QAAQ,MAAM,KAAG,IAEtD,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,MAAM,IAAI,KAAG,IAEzC,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,MAAM,IAAI,KAAG,IAEvC,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,MAAM,IAAI,KAAG,MAE3C,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,MAAM,IAAI,KAAG,MAE/C,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,OAAO,IAAI,EAAE,OAAO,IAAI,KAAG,OAEtD,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,OAAO,MAAM,EAAE,MAAM,MAAM,EAAE,MAAM,MAAM,KAAG,IAAI,EAgC3E,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,MAAM,IAAI,KAAG,MAM5C,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const hslaSetAlpha: (hsla: string, alpha: number) => string;
|
|
2
|
+
export declare const hslaSetLightness: (hsla: string, lightness: number) => string;
|
|
3
|
+
export declare const hslaGetLightness: (hsla: string) => number;
|
|
4
|
+
export declare const hslaSetRelativeLightness: (hsla: string, delta: number) => string;
|
|
5
|
+
//# sourceMappingURL=hsla-utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hsla-utils.d.ts","sourceRoot":"","sources":["../../../../src/utils/hsla-utils.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,GAAI,MAAM,MAAM,EAAE,OAAO,MAAM,KAAG,MAS1D,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,MAAM,MAAM,EAAE,WAAW,MAAM,KAAG,MAOlE,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,MAAM,MAAM,KAAG,MAI/C,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAI,MAAM,MAAM,EAAE,OAAO,MAAM,KAAG,MAMtE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"normalize-layout.d.ts","sourceRoot":"","sources":["../../../../src/utils/normalize-layout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACpD,eAAO,MAAM,eAAe,GAAI,QAAQ,eAAe;;;;;CAUtD,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Colors, FontFamily, FontSize, LetterSpacing, Radius } from "@/themes/types";
|
|
2
|
+
interface CallbackProps {
|
|
3
|
+
colors: Colors;
|
|
4
|
+
radius: Radius;
|
|
5
|
+
fontFamily: FontFamily;
|
|
6
|
+
letterSpacing: LetterSpacing;
|
|
7
|
+
fontSize: FontSize;
|
|
8
|
+
}
|
|
9
|
+
export declare const useThemedStyles: <T>(callback: (props: CallbackProps) => T) => T;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=use-themed-styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-themed-styles.d.ts","sourceRoot":"","sources":["../../../../src/utils/use-themed-styles.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAE1F,UAAU,aAAa;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,UAAU,CAAC;IACvB,aAAa,EAAE,aAAa,CAAC;IAC7B,QAAQ,EAAE,QAAQ,CAAC;CACpB;AAED,eAAO,MAAM,eAAe,GAAI,CAAC,EAAE,UAAU,CAAC,KAAK,EAAE,aAAa,KAAK,CAAC,KAAG,CAS1E,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,53 +1,52 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@korsolutions/ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.30",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/KorSoftwareSolutions/ui"
|
|
8
|
+
},
|
|
9
|
+
"bugs": {
|
|
10
|
+
"url": "https://github.com/KorSoftwareSolutions/ui/issues"
|
|
11
|
+
},
|
|
12
|
+
"main": "dist/module/index.js",
|
|
13
|
+
"module": "dist/module/index.js",
|
|
14
|
+
"types": "dist/typescript/src/index.d.ts",
|
|
8
15
|
"exports": {
|
|
9
16
|
".": {
|
|
10
|
-
"default": "./dist/index.
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
},
|
|
14
|
-
"./primitives": {
|
|
15
|
-
"default": "./dist/primitives/index.mjs",
|
|
16
|
-
"types": "./dist/primitives/index.d.mts",
|
|
17
|
-
"dev-source": "./src/primitives/index.ts"
|
|
17
|
+
"default": "./dist/module/index.js",
|
|
18
|
+
"dev-source": "./src/index.ts",
|
|
19
|
+
"types": "./dist/typescript/src/index.d.ts"
|
|
18
20
|
},
|
|
19
21
|
"./components": {
|
|
20
|
-
"default": "./dist/components/index.
|
|
21
|
-
"
|
|
22
|
-
"
|
|
22
|
+
"default": "./dist/module/components/index.js",
|
|
23
|
+
"dev-source": "./src/components/index.ts",
|
|
24
|
+
"types": "./dist/typescript/src/components/index.d.ts"
|
|
23
25
|
},
|
|
24
26
|
"./hooks": {
|
|
25
|
-
"default": "./dist/hooks/index.
|
|
26
|
-
"
|
|
27
|
-
"
|
|
27
|
+
"default": "./dist/module/hooks/index.js",
|
|
28
|
+
"dev-source": "./src/hooks/index.ts",
|
|
29
|
+
"types": "./dist/typescript/src/hooks/index.d.ts"
|
|
30
|
+
},
|
|
31
|
+
"./package.json": "./package.json",
|
|
32
|
+
"./primitives": {
|
|
33
|
+
"default": "./dist/module/primitives/index.js",
|
|
34
|
+
"dev-source": "./src/primitives/index.ts",
|
|
35
|
+
"types": "./dist/typescript/src/primitives/index.d.ts"
|
|
28
36
|
}
|
|
29
37
|
},
|
|
38
|
+
"devDependencies": {
|
|
39
|
+
"@types/react": "^19.2.3",
|
|
40
|
+
"@types/react-dom": "^19.2.3",
|
|
41
|
+
"react-native-builder-bob": "^0.40.17"
|
|
42
|
+
},
|
|
30
43
|
"peerDependencies": {
|
|
31
44
|
"react": "*",
|
|
32
45
|
"react-dom": "*",
|
|
33
46
|
"react-native": "*",
|
|
34
47
|
"react-native-web": "*"
|
|
35
48
|
},
|
|
36
|
-
"devDependencies": {
|
|
37
|
-
"@types/react": "^19.2.3",
|
|
38
|
-
"@types/react-dom": "^19.2.3",
|
|
39
|
-
"tsdown": "0.17.0-beta.4"
|
|
40
|
-
},
|
|
41
|
-
"repository": {
|
|
42
|
-
"type": "git",
|
|
43
|
-
"url": "https://github.com/KorSoftwareSolutions/ui"
|
|
44
|
-
},
|
|
45
|
-
"bugs": {
|
|
46
|
-
"url": "https://github.com/KorSoftwareSolutions/ui/issues"
|
|
47
|
-
},
|
|
48
49
|
"scripts": {
|
|
49
|
-
"build": "tsdown",
|
|
50
|
-
"prepublish": "tsdown",
|
|
51
50
|
"ts-check": "tsc --noEmit"
|
|
52
51
|
}
|
|
53
52
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AvatarPrimitive } from "@/primitives";
|
|
2
2
|
import React, { useState } from "react";
|
|
3
|
-
import { ImageSource } from "react-native";
|
|
3
|
+
import type { ImageSource } from "react-native";
|
|
4
4
|
import { AvatarVariants } from "./variants";
|
|
5
5
|
|
|
6
6
|
export interface AvatarProps {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DropdownMenuPrimitive } from "@/primitives";
|
|
2
2
|
import React from "react";
|
|
3
|
+
import { type PressableProps } from "react-native";
|
|
3
4
|
import { DropdownMenuVariants } from "./variants";
|
|
4
|
-
import { PressableProps } from "react-native";
|
|
5
5
|
|
|
6
6
|
type DropdownMenuOption =
|
|
7
7
|
| {
|
|
@@ -39,6 +39,8 @@ export function DropdownMenu(props: DropdownMenuProps) {
|
|
|
39
39
|
);
|
|
40
40
|
} else if (option.type === "divider") {
|
|
41
41
|
return <DropdownMenuPrimitive.Divider key={Math.random().toString()} />;
|
|
42
|
+
} else {
|
|
43
|
+
return null;
|
|
42
44
|
}
|
|
43
45
|
})}
|
|
44
46
|
</DropdownMenuPrimitive.Content>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { InputPrimitive, type InputPrimitiveBaseProps } from "@/primitives";
|
|
1
2
|
import React from "react";
|
|
2
3
|
import { InputVariants } from "./variants";
|
|
3
|
-
import { InputPrimitive, InputPrimitiveBaseProps } from "@/primitives";
|
|
4
4
|
|
|
5
5
|
interface InputProps extends InputPrimitiveBaseProps {
|
|
6
6
|
variant?: keyof typeof InputVariants;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { useNumericMask, type NumericMaskFormat } from "@/hooks/use-numeric-mask";
|
|
2
|
+
import { type InputPrimitiveBaseProps } from "@/primitives";
|
|
1
3
|
import React, { useEffect } from "react";
|
|
2
4
|
import { Input } from "./input";
|
|
3
|
-
import { InputPrimitiveBaseProps } from "@/primitives";
|
|
4
|
-
import { useNumericMask, NumericMaskFormat } from "@/hooks/use-numeric-mask";
|
|
5
5
|
|
|
6
6
|
export interface NumericInputProps extends Omit<InputPrimitiveBaseProps, "value" | "onChange" | "keyboardType"> {
|
|
7
7
|
variant?: "default";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { Text as RnText, TextProps as RnTextProps
|
|
2
|
+
import { Linking, Text as RnText, type TextProps as RnTextProps } from "react-native";
|
|
3
3
|
import { LinkVariants } from "./variants";
|
|
4
4
|
|
|
5
5
|
export interface LinkProps extends RnTextProps {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import type { PopoverTriggerRef } from "@/primitives";
|
|
1
2
|
import { PopoverPrimitive, usePopover } from "@/primitives";
|
|
2
3
|
import React, { forwardRef } from "react";
|
|
4
|
+
import { type PressableProps } from "react-native";
|
|
3
5
|
import { PopoverVariants } from "./variants";
|
|
4
|
-
import type { PopoverTriggerRef } from "@/primitives";
|
|
5
|
-
import { PressableProps } from "react-native";
|
|
6
6
|
|
|
7
7
|
interface PopoverChildrenProps {
|
|
8
8
|
close: () => void;
|
|
@@ -38,9 +38,8 @@ const PopoverComponent = forwardRef<PopoverTriggerRef, PopoverProps>((props, ref
|
|
|
38
38
|
<PopoverPrimitive.Root styles={styles}>
|
|
39
39
|
<PopoverPrimitive.Trigger ref={ref}>{props.trigger}</PopoverPrimitive.Trigger>
|
|
40
40
|
<PopoverPrimitive.Portal>
|
|
41
|
-
<PopoverPrimitive.Overlay closeOnPress={props.closeOnOverlayPress}
|
|
42
|
-
|
|
43
|
-
</PopoverPrimitive.Overlay>
|
|
41
|
+
<PopoverPrimitive.Overlay closeOnPress={props.closeOnOverlayPress} />
|
|
42
|
+
<PopoverContentComponent>{props.children}</PopoverContentComponent>
|
|
44
43
|
</PopoverPrimitive.Portal>
|
|
45
44
|
</PopoverPrimitive.Root>
|
|
46
45
|
);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PopoverStyles } from "@/primitives/popover/types";
|
|
1
|
+
import { type PopoverStyles } from "@/primitives/popover/types";
|
|
2
2
|
import { useThemedStyles } from "@/utils/use-themed-styles";
|
|
3
3
|
|
|
4
4
|
export const usePopoverVariantDefault = (): PopoverStyles => {
|
|
@@ -18,6 +18,7 @@ export const usePopoverVariantDefault = (): PopoverStyles => {
|
|
|
18
18
|
shadowOpacity: 0.15,
|
|
19
19
|
shadowRadius: 12,
|
|
20
20
|
elevation: 8,
|
|
21
|
+
zIndex: 1000,
|
|
21
22
|
},
|
|
22
23
|
})
|
|
23
24
|
);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { TextareaPrimitive, type TextareaPrimitiveBaseProps } from "@/primitives";
|
|
1
2
|
import React from "react";
|
|
2
3
|
import { TextareaVariants } from "./variants";
|
|
3
|
-
import { TextareaPrimitive, TextareaPrimitiveBaseProps } from "@/primitives";
|
|
4
4
|
|
|
5
5
|
interface TextareaProps extends TextareaPrimitiveBaseProps {
|
|
6
6
|
variant?: keyof typeof TextareaVariants;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { Text as RnText, TextProps as RnTextProps } from "react-native";
|
|
2
|
+
import { Text as RnText, type TextProps as RnTextProps } from "react-native";
|
|
3
3
|
import { TypographyVariants } from "./variants";
|
|
4
4
|
|
|
5
5
|
export interface TypographyProps extends RnTextProps {
|