@flipdish/ui-library 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +338 -0
- package/dist/components/atoms/Avatar/avatar.utils.d.ts +10 -0
- package/dist/components/atoms/Avatar/avatar.utils.d.ts.map +1 -0
- package/dist/components/atoms/Avatar/components/avatar-add-button.d.ts +9 -0
- package/dist/components/atoms/Avatar/components/avatar-add-button.d.ts.map +1 -0
- package/dist/components/atoms/Avatar/components/avatar-company-icon.d.ts +8 -0
- package/dist/components/atoms/Avatar/components/avatar-company-icon.d.ts.map +1 -0
- package/dist/components/atoms/Avatar/components/avatar-count.cjs +9 -0
- package/dist/components/atoms/Avatar/components/avatar-count.cjs.map +1 -0
- package/dist/components/atoms/Avatar/components/avatar-count.d.ts +7 -0
- package/dist/components/atoms/Avatar/components/avatar-count.d.ts.map +1 -0
- package/dist/components/atoms/Avatar/components/avatar-count.js +7 -0
- package/dist/components/atoms/Avatar/components/avatar-count.js.map +1 -0
- package/dist/components/atoms/Avatar/components/avatar-online-indicator.cjs +21 -0
- package/dist/components/atoms/Avatar/components/avatar-online-indicator.cjs.map +1 -0
- package/dist/components/atoms/Avatar/components/avatar-online-indicator.d.ts +8 -0
- package/dist/components/atoms/Avatar/components/avatar-online-indicator.d.ts.map +1 -0
- package/dist/components/atoms/Avatar/components/avatar-online-indicator.js +19 -0
- package/dist/components/atoms/Avatar/components/avatar-online-indicator.js.map +1 -0
- package/dist/components/atoms/Avatar/components/verified-tick.cjs +21 -0
- package/dist/components/atoms/Avatar/components/verified-tick.cjs.map +1 -0
- package/dist/components/atoms/Avatar/components/verified-tick.d.ts +7 -0
- package/dist/components/atoms/Avatar/components/verified-tick.d.ts.map +1 -0
- package/dist/components/atoms/Avatar/components/verified-tick.js +19 -0
- package/dist/components/atoms/Avatar/components/verified-tick.js.map +1 -0
- package/dist/components/atoms/Avatar/index.cjs +54 -0
- package/dist/components/atoms/Avatar/index.cjs.map +1 -0
- package/dist/components/atoms/Avatar/index.d.ts +65 -0
- package/dist/components/atoms/Avatar/index.d.ts.map +1 -0
- package/dist/components/atoms/Avatar/index.js +52 -0
- package/dist/components/atoms/Avatar/index.js.map +1 -0
- package/dist/components/atoms/Badge/badge.types.cjs +10 -0
- package/dist/components/atoms/Badge/badge.types.cjs.map +1 -0
- package/dist/components/atoms/Badge/badge.types.d.ts +22 -0
- package/dist/components/atoms/Badge/badge.types.d.ts.map +1 -0
- package/dist/components/atoms/Badge/badge.types.js +8 -0
- package/dist/components/atoms/Badge/badge.types.js.map +1 -0
- package/dist/components/atoms/Badge/index.cjs +274 -0
- package/dist/components/atoms/Badge/index.cjs.map +1 -0
- package/dist/components/atoms/Badge/index.d.ts +129 -0
- package/dist/components/atoms/Badge/index.d.ts.map +1 -0
- package/dist/components/atoms/Badge/index.js +265 -0
- package/dist/components/atoms/Badge/index.js.map +1 -0
- package/dist/components/atoms/Button/index.cjs +164 -0
- package/dist/components/atoms/Button/index.cjs.map +1 -0
- package/dist/components/atoms/Button/index.d.ts +111 -0
- package/dist/components/atoms/Button/index.d.ts.map +1 -0
- package/dist/components/atoms/Button/index.js +161 -0
- package/dist/components/atoms/Button/index.js.map +1 -0
- package/dist/components/atoms/Checkbox/index.cjs +35 -0
- package/dist/components/atoms/Checkbox/index.cjs.map +1 -0
- package/dist/components/atoms/Checkbox/index.d.ts +26 -0
- package/dist/components/atoms/Checkbox/index.d.ts.map +1 -0
- package/dist/components/atoms/Checkbox/index.js +32 -0
- package/dist/components/atoms/Checkbox/index.js.map +1 -0
- package/dist/components/atoms/Divider/index.cjs +17 -0
- package/dist/components/atoms/Divider/index.cjs.map +1 -0
- package/dist/components/atoms/Divider/index.d.ts +17 -0
- package/dist/components/atoms/Divider/index.d.ts.map +1 -0
- package/dist/components/atoms/Divider/index.js +15 -0
- package/dist/components/atoms/Divider/index.js.map +1 -0
- package/dist/components/atoms/Dot/index.cjs +29 -0
- package/dist/components/atoms/Dot/index.cjs.map +1 -0
- package/dist/components/atoms/Dot/index.d.ts +10 -0
- package/dist/components/atoms/Dot/index.d.ts.map +1 -0
- package/dist/components/atoms/Dot/index.js +27 -0
- package/dist/components/atoms/Dot/index.js.map +1 -0
- package/dist/components/atoms/FeaturedIcon/index.cjs +122 -0
- package/dist/components/atoms/FeaturedIcon/index.cjs.map +1 -0
- package/dist/components/atoms/FeaturedIcon/index.d.ts +15 -0
- package/dist/components/atoms/FeaturedIcon/index.d.ts.map +1 -0
- package/dist/components/atoms/FeaturedIcon/index.js +120 -0
- package/dist/components/atoms/FeaturedIcon/index.js.map +1 -0
- package/dist/components/atoms/Input/components/hint-text.cjs +17 -0
- package/dist/components/atoms/Input/components/hint-text.cjs.map +1 -0
- package/dist/components/atoms/Input/components/hint-text.d.ts +15 -0
- package/dist/components/atoms/Input/components/hint-text.d.ts.map +1 -0
- package/dist/components/atoms/Input/components/hint-text.js +15 -0
- package/dist/components/atoms/Input/components/hint-text.js.map +1 -0
- package/dist/components/atoms/Input/components/label.cjs +28 -0
- package/dist/components/atoms/Input/components/label.cjs.map +1 -0
- package/dist/components/atoms/Input/components/label.d.ts +16 -0
- package/dist/components/atoms/Input/components/label.d.ts.map +1 -0
- package/dist/components/atoms/Input/components/label.js +26 -0
- package/dist/components/atoms/Input/components/label.js.map +1 -0
- package/dist/components/atoms/Input/index.cjs +78 -0
- package/dist/components/atoms/Input/index.cjs.map +1 -0
- package/dist/components/atoms/Input/index.d.ts +60 -0
- package/dist/components/atoms/Input/index.d.ts.map +1 -0
- package/dist/components/atoms/Input/index.js +72 -0
- package/dist/components/atoms/Input/index.js.map +1 -0
- package/dist/components/atoms/LoadingIndicator/index.cjs +54 -0
- package/dist/components/atoms/LoadingIndicator/index.cjs.map +1 -0
- package/dist/components/atoms/LoadingIndicator/index.d.ts +24 -0
- package/dist/components/atoms/LoadingIndicator/index.d.ts.map +1 -0
- package/dist/components/atoms/LoadingIndicator/index.js +52 -0
- package/dist/components/atoms/LoadingIndicator/index.js.map +1 -0
- package/dist/components/atoms/RadioButton/index.cjs +43 -0
- package/dist/components/atoms/RadioButton/index.cjs.map +1 -0
- package/dist/components/atoms/RadioButton/index.d.ts +33 -0
- package/dist/components/atoms/RadioButton/index.d.ts.map +1 -0
- package/dist/components/atoms/RadioButton/index.js +39 -0
- package/dist/components/atoms/RadioButton/index.js.map +1 -0
- package/dist/components/atoms/Toggle/index.cjs +63 -0
- package/dist/components/atoms/Toggle/index.cjs.map +1 -0
- package/dist/components/atoms/Toggle/index.d.ts +26 -0
- package/dist/components/atoms/Toggle/index.d.ts.map +1 -0
- package/dist/components/atoms/Toggle/index.js +60 -0
- package/dist/components/atoms/Toggle/index.js.map +1 -0
- package/dist/components/atoms/Tooltip/index.cjs +22 -0
- package/dist/components/atoms/Tooltip/index.cjs.map +1 -0
- package/dist/components/atoms/Tooltip/index.d.ts +30 -0
- package/dist/components/atoms/Tooltip/index.d.ts.map +1 -0
- package/dist/components/atoms/Tooltip/index.js +19 -0
- package/dist/components/atoms/Tooltip/index.js.map +1 -0
- package/dist/components/molecules/Breadcrumbs/components/breadcrumb-account-item.cjs +22 -0
- package/dist/components/molecules/Breadcrumbs/components/breadcrumb-account-item.cjs.map +1 -0
- package/dist/components/molecules/Breadcrumbs/components/breadcrumb-account-item.d.ts +13 -0
- package/dist/components/molecules/Breadcrumbs/components/breadcrumb-account-item.d.ts.map +1 -0
- package/dist/components/molecules/Breadcrumbs/components/breadcrumb-account-item.js +20 -0
- package/dist/components/molecules/Breadcrumbs/components/breadcrumb-account-item.js.map +1 -0
- package/dist/components/molecules/Breadcrumbs/components/breadcrumb-item.cjs +44 -0
- package/dist/components/molecules/Breadcrumbs/components/breadcrumb-item.cjs.map +1 -0
- package/dist/components/molecules/Breadcrumbs/components/breadcrumb-item.d.ts +19 -0
- package/dist/components/molecules/Breadcrumbs/components/breadcrumb-item.d.ts.map +1 -0
- package/dist/components/molecules/Breadcrumbs/components/breadcrumb-item.js +42 -0
- package/dist/components/molecules/Breadcrumbs/components/breadcrumb-item.js.map +1 -0
- package/dist/components/molecules/Breadcrumbs/index.cjs +38 -0
- package/dist/components/molecules/Breadcrumbs/index.cjs.map +1 -0
- package/dist/components/molecules/Breadcrumbs/index.d.ts +25 -0
- package/dist/components/molecules/Breadcrumbs/index.d.ts.map +1 -0
- package/dist/components/molecules/Breadcrumbs/index.js +35 -0
- package/dist/components/molecules/Breadcrumbs/index.js.map +1 -0
- package/dist/components/molecules/ButtonGroup/index.cjs +64 -0
- package/dist/components/molecules/ButtonGroup/index.cjs.map +1 -0
- package/dist/components/molecules/ButtonGroup/index.d.ts +51 -0
- package/dist/components/molecules/ButtonGroup/index.d.ts.map +1 -0
- package/dist/components/molecules/ButtonGroup/index.js +60 -0
- package/dist/components/molecules/ButtonGroup/index.js.map +1 -0
- package/dist/components/molecules/Dropdown/index.cjs +66 -0
- package/dist/components/molecules/Dropdown/index.cjs.map +1 -0
- package/dist/components/molecules/Dropdown/index.d.ts +39 -0
- package/dist/components/molecules/Dropdown/index.d.ts.map +1 -0
- package/dist/components/molecules/Dropdown/index.js +64 -0
- package/dist/components/molecules/Dropdown/index.js.map +1 -0
- package/dist/components/molecules/RadioGroup/components/radio-group-avatar.cjs +14 -0
- package/dist/components/molecules/RadioGroup/components/radio-group-avatar.cjs.map +1 -0
- package/dist/components/molecules/RadioGroup/components/radio-group-avatar.d.ts +16 -0
- package/dist/components/molecules/RadioGroup/components/radio-group-avatar.d.ts.map +1 -0
- package/dist/components/molecules/RadioGroup/components/radio-group-avatar.js +12 -0
- package/dist/components/molecules/RadioGroup/components/radio-group-avatar.js.map +1 -0
- package/dist/components/molecules/RadioGroup/components/radio-group-checkbox.cjs +13 -0
- package/dist/components/molecules/RadioGroup/components/radio-group-checkbox.cjs.map +1 -0
- package/dist/components/molecules/RadioGroup/components/radio-group-checkbox.d.ts +9 -0
- package/dist/components/molecules/RadioGroup/components/radio-group-checkbox.d.ts.map +1 -0
- package/dist/components/molecules/RadioGroup/components/radio-group-checkbox.js +11 -0
- package/dist/components/molecules/RadioGroup/components/radio-group-checkbox.js.map +1 -0
- package/dist/components/molecules/RadioGroup/components/radio-group-icon-card.cjs +15 -0
- package/dist/components/molecules/RadioGroup/components/radio-group-icon-card.cjs.map +1 -0
- package/dist/components/molecules/RadioGroup/components/radio-group-icon-card.d.ts +21 -0
- package/dist/components/molecules/RadioGroup/components/radio-group-icon-card.d.ts.map +1 -0
- package/dist/components/molecules/RadioGroup/components/radio-group-icon-card.js +13 -0
- package/dist/components/molecules/RadioGroup/components/radio-group-icon-card.js.map +1 -0
- package/dist/components/molecules/RadioGroup/components/radio-group-icon-simple.cjs +14 -0
- package/dist/components/molecules/RadioGroup/components/radio-group-icon-simple.cjs.map +1 -0
- package/dist/components/molecules/RadioGroup/components/radio-group-icon-simple.d.ts +9 -0
- package/dist/components/molecules/RadioGroup/components/radio-group-icon-simple.d.ts.map +1 -0
- package/dist/components/molecules/RadioGroup/components/radio-group-icon-simple.js +12 -0
- package/dist/components/molecules/RadioGroup/components/radio-group-icon-simple.js.map +1 -0
- package/dist/components/molecules/RadioGroup/components/radio-group-payment-icon.cjs +14 -0
- package/dist/components/molecules/RadioGroup/components/radio-group-payment-icon.cjs.map +1 -0
- package/dist/components/molecules/RadioGroup/components/radio-group-payment-icon.d.ts +16 -0
- package/dist/components/molecules/RadioGroup/components/radio-group-payment-icon.d.ts.map +1 -0
- package/dist/components/molecules/RadioGroup/components/radio-group-payment-icon.js +12 -0
- package/dist/components/molecules/RadioGroup/components/radio-group-payment-icon.js.map +1 -0
- package/dist/components/molecules/RadioGroup/components/radio-group-radio-button.cjs +12 -0
- package/dist/components/molecules/RadioGroup/components/radio-group-radio-button.cjs.map +1 -0
- package/dist/components/molecules/RadioGroup/components/radio-group-radio-button.d.ts +9 -0
- package/dist/components/molecules/RadioGroup/components/radio-group-radio-button.d.ts.map +1 -0
- package/dist/components/molecules/RadioGroup/components/radio-group-radio-button.js +10 -0
- package/dist/components/molecules/RadioGroup/components/radio-group-radio-button.js.map +1 -0
- package/dist/components/molecules/RadioGroup/index.cjs +18 -0
- package/dist/components/molecules/RadioGroup/index.cjs.map +1 -0
- package/dist/components/molecules/RadioGroup/index.d.ts +7 -0
- package/dist/components/molecules/RadioGroup/index.d.ts.map +1 -0
- package/dist/components/molecules/RadioGroup/index.js +7 -0
- package/dist/components/molecules/RadioGroup/index.js.map +1 -0
- package/dist/components/molecules/RadioGroup/radioGroup.types.d.ts +12 -0
- package/dist/components/molecules/RadioGroup/radioGroup.types.d.ts.map +1 -0
- package/dist/components/molecules/SectionHeader/index.cjs +20 -0
- package/dist/components/molecules/SectionHeader/index.cjs.map +1 -0
- package/dist/components/molecules/SectionHeader/index.d.ts +9 -0
- package/dist/components/molecules/SectionHeader/index.d.ts.map +1 -0
- package/dist/components/molecules/SectionHeader/index.js +18 -0
- package/dist/components/molecules/SectionHeader/index.js.map +1 -0
- package/dist/components/molecules/Select/components/combobox.cjs +47 -0
- package/dist/components/molecules/Select/components/combobox.cjs.map +1 -0
- package/dist/components/molecules/Select/components/combobox.d.ts +15 -0
- package/dist/components/molecules/Select/components/combobox.d.ts.map +1 -0
- package/dist/components/molecules/Select/components/combobox.js +45 -0
- package/dist/components/molecules/Select/components/combobox.js.map +1 -0
- package/dist/components/molecules/Select/components/popover.cjs +14 -0
- package/dist/components/molecules/Select/components/popover.cjs.map +1 -0
- package/dist/components/molecules/Select/components/popover.d.ts +8 -0
- package/dist/components/molecules/Select/components/popover.d.ts.map +1 -0
- package/dist/components/molecules/Select/components/popover.js +12 -0
- package/dist/components/molecules/Select/components/popover.js.map +1 -0
- package/dist/components/molecules/Select/components/select-item.cjs +54 -0
- package/dist/components/molecules/Select/components/select-item.cjs.map +1 -0
- package/dist/components/molecules/Select/components/select-item.d.ts +11 -0
- package/dist/components/molecules/Select/components/select-item.d.ts.map +1 -0
- package/dist/components/molecules/Select/components/select-item.js +52 -0
- package/dist/components/molecules/Select/components/select-item.js.map +1 -0
- package/dist/components/molecules/Select/components/select-shared.cjs +20 -0
- package/dist/components/molecules/Select/components/select-shared.cjs.map +1 -0
- package/dist/components/molecules/Select/components/select-shared.d.ts +59 -0
- package/dist/components/molecules/Select/components/select-shared.d.ts.map +1 -0
- package/dist/components/molecules/Select/components/select-shared.js +17 -0
- package/dist/components/molecules/Select/components/select-shared.js.map +1 -0
- package/dist/components/molecules/Select/index.cjs +37 -0
- package/dist/components/molecules/Select/index.cjs.map +1 -0
- package/dist/components/molecules/Select/index.d.ts +19 -0
- package/dist/components/molecules/Select/index.d.ts.map +1 -0
- package/dist/components/molecules/Select/index.js +33 -0
- package/dist/components/molecules/Select/index.js.map +1 -0
- package/dist/components/organisms/PageHeader/components/page-header-simple.cjs +14 -0
- package/dist/components/organisms/PageHeader/components/page-header-simple.cjs.map +1 -0
- package/dist/components/organisms/PageHeader/components/page-header-simple.d.ts +24 -0
- package/dist/components/organisms/PageHeader/components/page-header-simple.d.ts.map +1 -0
- package/dist/components/organisms/PageHeader/components/page-header-simple.js +12 -0
- package/dist/components/organisms/PageHeader/components/page-header-simple.js.map +1 -0
- package/dist/components/organisms/PageHeader/index.cjs +8 -0
- package/dist/components/organisms/PageHeader/index.cjs.map +1 -0
- package/dist/components/organisms/PageHeader/index.d.ts +7 -0
- package/dist/components/organisms/PageHeader/index.d.ts.map +1 -0
- package/dist/components/organisms/PageHeader/index.js +2 -0
- package/dist/components/organisms/PageHeader/index.js.map +1 -0
- package/dist/components/templates/NotFoundPage/index.cjs +19 -0
- package/dist/components/templates/NotFoundPage/index.cjs.map +1 -0
- package/dist/components/templates/NotFoundPage/index.d.ts +25 -0
- package/dist/components/templates/NotFoundPage/index.d.ts.map +1 -0
- package/dist/components/templates/NotFoundPage/index.js +17 -0
- package/dist/components/templates/NotFoundPage/index.js.map +1 -0
- package/dist/components/templates/PageLayout/index.cjs +30 -0
- package/dist/components/templates/PageLayout/index.cjs.map +1 -0
- package/dist/components/templates/PageLayout/index.d.ts +43 -0
- package/dist/components/templates/PageLayout/index.d.ts.map +1 -0
- package/dist/components/templates/PageLayout/index.js +28 -0
- package/dist/components/templates/PageLayout/index.js.map +1 -0
- package/dist/hooks/useResizeObserver/index.cjs +47 -0
- package/dist/hooks/useResizeObserver/index.cjs.map +1 -0
- package/dist/hooks/useResizeObserver/index.d.ts +25 -0
- package/dist/hooks/useResizeObserver/index.d.ts.map +1 -0
- package/dist/hooks/useResizeObserver/index.js +45 -0
- package/dist/hooks/useResizeObserver/index.js.map +1 -0
- package/dist/providers/ErrorBoundary/index.cjs +36 -0
- package/dist/providers/ErrorBoundary/index.cjs.map +1 -0
- package/dist/providers/ErrorBoundary/index.d.ts +32 -0
- package/dist/providers/ErrorBoundary/index.d.ts.map +1 -0
- package/dist/providers/ErrorBoundary/index.js +34 -0
- package/dist/providers/ErrorBoundary/index.js.map +1 -0
- package/dist/src/components/atoms/Avatar/avatar.utils.d.ts +10 -0
- package/dist/src/components/atoms/Avatar/avatar.utils.d.ts.map +1 -0
- package/dist/src/components/atoms/Avatar/components/avatar-add-button.d.ts +9 -0
- package/dist/src/components/atoms/Avatar/components/avatar-add-button.d.ts.map +1 -0
- package/dist/src/components/atoms/Avatar/components/avatar-company-icon.d.ts +8 -0
- package/dist/src/components/atoms/Avatar/components/avatar-company-icon.d.ts.map +1 -0
- package/dist/src/components/atoms/Avatar/components/avatar-count.d.ts +7 -0
- package/dist/src/components/atoms/Avatar/components/avatar-count.d.ts.map +1 -0
- package/dist/src/components/atoms/Avatar/components/avatar-online-indicator.d.ts +8 -0
- package/dist/src/components/atoms/Avatar/components/avatar-online-indicator.d.ts.map +1 -0
- package/dist/src/components/atoms/Avatar/components/verified-tick.d.ts +7 -0
- package/dist/src/components/atoms/Avatar/components/verified-tick.d.ts.map +1 -0
- package/dist/src/components/atoms/Avatar/index.d.ts +65 -0
- package/dist/src/components/atoms/Avatar/index.d.ts.map +1 -0
- package/dist/src/components/atoms/Badge/badge.types.d.ts +22 -0
- package/dist/src/components/atoms/Badge/badge.types.d.ts.map +1 -0
- package/dist/src/components/atoms/Badge/index.d.ts +129 -0
- package/dist/src/components/atoms/Badge/index.d.ts.map +1 -0
- package/dist/src/components/atoms/Button/index.d.ts +111 -0
- package/dist/src/components/atoms/Button/index.d.ts.map +1 -0
- package/dist/src/components/atoms/Checkbox/index.d.ts +26 -0
- package/dist/src/components/atoms/Checkbox/index.d.ts.map +1 -0
- package/dist/src/components/atoms/Divider/index.d.ts +17 -0
- package/dist/src/components/atoms/Divider/index.d.ts.map +1 -0
- package/dist/src/components/atoms/Dot/index.d.ts +5 -0
- package/dist/src/components/atoms/Dot/index.d.ts.map +1 -0
- package/dist/src/components/atoms/FeaturedIcon/index.d.ts +15 -0
- package/dist/src/components/atoms/FeaturedIcon/index.d.ts.map +1 -0
- package/dist/src/components/atoms/Input/components/hint-text.d.ts +15 -0
- package/dist/src/components/atoms/Input/components/hint-text.d.ts.map +1 -0
- package/dist/src/components/atoms/Input/components/label.d.ts +16 -0
- package/dist/src/components/atoms/Input/components/label.d.ts.map +1 -0
- package/dist/src/components/atoms/Input/index.d.ts +60 -0
- package/dist/src/components/atoms/Input/index.d.ts.map +1 -0
- package/dist/src/components/atoms/LoadingIndicator/index.d.ts +19 -0
- package/dist/src/components/atoms/LoadingIndicator/index.d.ts.map +1 -0
- package/dist/src/components/atoms/RadioButton/index.d.ts +33 -0
- package/dist/src/components/atoms/RadioButton/index.d.ts.map +1 -0
- package/dist/src/components/atoms/Toggle/index.d.ts +21 -0
- package/dist/src/components/atoms/Toggle/index.d.ts.map +1 -0
- package/dist/src/components/atoms/Tooltip/index.d.ts +30 -0
- package/dist/src/components/atoms/Tooltip/index.d.ts.map +1 -0
- package/dist/src/components/molecules/Breadcrumbs/components/breadcrumb-account-item.d.ts +13 -0
- package/dist/src/components/molecules/Breadcrumbs/components/breadcrumb-account-item.d.ts.map +1 -0
- package/dist/src/components/molecules/Breadcrumbs/components/breadcrumb-item.d.ts +19 -0
- package/dist/src/components/molecules/Breadcrumbs/components/breadcrumb-item.d.ts.map +1 -0
- package/dist/src/components/molecules/Breadcrumbs/index.d.ts +25 -0
- package/dist/src/components/molecules/Breadcrumbs/index.d.ts.map +1 -0
- package/dist/src/components/molecules/ButtonGroup/index.d.ts +41 -0
- package/dist/src/components/molecules/ButtonGroup/index.d.ts.map +1 -0
- package/dist/src/components/molecules/Dropdown/index.d.ts +35 -0
- package/dist/src/components/molecules/Dropdown/index.d.ts.map +1 -0
- package/dist/src/components/molecules/RadioGroup/components/radio-group-avatar.d.ts +16 -0
- package/dist/src/components/molecules/RadioGroup/components/radio-group-avatar.d.ts.map +1 -0
- package/dist/src/components/molecules/RadioGroup/components/radio-group-checkbox.d.ts +9 -0
- package/dist/src/components/molecules/RadioGroup/components/radio-group-checkbox.d.ts.map +1 -0
- package/dist/src/components/molecules/RadioGroup/components/radio-group-icon-card.d.ts +21 -0
- package/dist/src/components/molecules/RadioGroup/components/radio-group-icon-card.d.ts.map +1 -0
- package/dist/src/components/molecules/RadioGroup/components/radio-group-icon-simple.d.ts +19 -0
- package/dist/src/components/molecules/RadioGroup/components/radio-group-icon-simple.d.ts.map +1 -0
- package/dist/src/components/molecules/RadioGroup/components/radio-group-payment-icon.d.ts +16 -0
- package/dist/src/components/molecules/RadioGroup/components/radio-group-payment-icon.d.ts.map +1 -0
- package/dist/src/components/molecules/RadioGroup/components/radio-group-radio-button.d.ts +9 -0
- package/dist/src/components/molecules/RadioGroup/components/radio-group-radio-button.d.ts.map +1 -0
- package/dist/src/components/molecules/RadioGroup/index.d.ts +7 -0
- package/dist/src/components/molecules/RadioGroup/index.d.ts.map +1 -0
- package/dist/src/components/molecules/RadioGroup/radioGroup.types.d.ts +12 -0
- package/dist/src/components/molecules/RadioGroup/radioGroup.types.d.ts.map +1 -0
- package/dist/src/components/molecules/SectionHeader/index.d.ts +9 -0
- package/dist/src/components/molecules/SectionHeader/index.d.ts.map +1 -0
- package/dist/src/components/molecules/Select/components/combobox.d.ts +15 -0
- package/dist/src/components/molecules/Select/components/combobox.d.ts.map +1 -0
- package/dist/src/components/molecules/Select/components/popover.d.ts +8 -0
- package/dist/src/components/molecules/Select/components/popover.d.ts.map +1 -0
- package/dist/src/components/molecules/Select/components/select-item.d.ts +11 -0
- package/dist/src/components/molecules/Select/components/select-item.d.ts.map +1 -0
- package/dist/src/components/molecules/Select/components/select-shared.d.ts +59 -0
- package/dist/src/components/molecules/Select/components/select-shared.d.ts.map +1 -0
- package/dist/src/components/molecules/Select/index.d.ts +19 -0
- package/dist/src/components/molecules/Select/index.d.ts.map +1 -0
- package/dist/src/components/organisms/PageHeader/components/page-header-simple.d.ts +24 -0
- package/dist/src/components/organisms/PageHeader/components/page-header-simple.d.ts.map +1 -0
- package/dist/src/components/organisms/PageHeader/index.d.ts +2 -0
- package/dist/src/components/organisms/PageHeader/index.d.ts.map +1 -0
- package/dist/src/components/templates/NotFoundPage/index.d.ts +25 -0
- package/dist/src/components/templates/NotFoundPage/index.d.ts.map +1 -0
- package/dist/src/components/templates/PageLayout/index.d.ts +43 -0
- package/dist/src/components/templates/PageLayout/index.d.ts.map +1 -0
- package/dist/src/hooks/useResizeObserver/index.d.ts +25 -0
- package/dist/src/hooks/useResizeObserver/index.d.ts.map +1 -0
- package/dist/src/providers/ErrorBoundary/index.d.ts +32 -0
- package/dist/src/providers/ErrorBoundary/index.d.ts.map +1 -0
- package/dist/src/utilities/cx/index.d.ts +22 -0
- package/dist/src/utilities/cx/index.d.ts.map +1 -0
- package/dist/src/utilities/isReactComponent/index.d.ts +24 -0
- package/dist/src/utilities/isReactComponent/index.d.ts.map +1 -0
- package/dist/src/utilities/renderUtils/index.d.ts +56 -0
- package/dist/src/utilities/renderUtils/index.d.ts.map +1 -0
- package/dist/styles.css +101 -0
- package/dist/utilities/cx/index.cjs +41 -0
- package/dist/utilities/cx/index.cjs.map +1 -0
- package/dist/utilities/cx/index.d.ts +22 -0
- package/dist/utilities/cx/index.d.ts.map +1 -0
- package/dist/utilities/cx/index.js +38 -0
- package/dist/utilities/cx/index.js.map +1 -0
- package/dist/utilities/isReactComponent/index.cjs +40 -0
- package/dist/utilities/isReactComponent/index.cjs.map +1 -0
- package/dist/utilities/isReactComponent/index.d.ts +24 -0
- package/dist/utilities/isReactComponent/index.d.ts.map +1 -0
- package/dist/utilities/isReactComponent/index.js +35 -0
- package/dist/utilities/isReactComponent/index.js.map +1 -0
- package/dist/utilities/renderUtils/index.cjs +122 -0
- package/dist/utilities/renderUtils/index.cjs.map +1 -0
- package/dist/utilities/renderUtils/index.d.ts +56 -0
- package/dist/utilities/renderUtils/index.d.ts.map +1 -0
- package/dist/utilities/renderUtils/index.js +114 -0
- package/dist/utilities/renderUtils/index.js.map +1 -0
- package/package.json +135 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/Checkbox/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAA4B,KAAK,aAAa,IAAI,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE1G,MAAM,WAAW,iBAAiB;IAChC,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,eAAO,MAAM,YAAY;mFAAiG,iBAAiB;;CAwC1I,CAAC;AAGF,UAAU,aAAc,SAAQ,iBAAiB;IAC/C,GAAG,CAAC,EAAE,GAAG,CAAC,gBAAgB,CAAC,CAAC;IAC5B,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB;AAED,eAAO,MAAM,QAAQ;6DAAmE,aAAa;;CAsDpG,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { HTMLAttributes } from 'react';
|
|
2
|
+
interface DividerProps extends HTMLAttributes<HTMLHRElement> {
|
|
3
|
+
/**
|
|
4
|
+
* The axis the divider is drawn along.
|
|
5
|
+
* @default "horizontal"
|
|
6
|
+
*/
|
|
7
|
+
orientation?: 'horizontal' | 'vertical';
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* A thin rule that visually separates content. Renders a 1px line filled with the
|
|
11
|
+
* `border-secondary` token, stretching to fill its container on the cross axis.
|
|
12
|
+
* Uses a native `<hr>` (implicit `role="separator"`); `border-0` clears Preflight's
|
|
13
|
+
* default rule so the line is drawn via background colour instead.
|
|
14
|
+
*/
|
|
15
|
+
export declare const Divider: ({ orientation, className, ...props }: DividerProps) => import("react").JSX.Element;
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/Divider/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,UAAU,YAAa,SAAQ,cAAc,CAAC,aAAa,CAAC;IAC1D;;;OAGG;IACH,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;CACzC;AAED;;;;;GAKG;AACH,eAAO,MAAM,OAAO,GAAI,sCAAqD,YAAY,gCAQxF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/Dot/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAe5C,eAAO,MAAM,GAAG,GAAI,oBAA2B,cAAc,CAAC,gBAAgB,CAAC,GAAG;IAAE,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;CAAE,gCAOvG,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { FC, ReactNode, Ref } from 'react';
|
|
2
|
+
interface FeaturedIconProps {
|
|
3
|
+
ref?: Ref<HTMLDivElement>;
|
|
4
|
+
children?: ReactNode;
|
|
5
|
+
className?: string;
|
|
6
|
+
icon?: FC<{
|
|
7
|
+
className?: string;
|
|
8
|
+
}> | ReactNode;
|
|
9
|
+
size?: 'sm' | 'md' | 'lg' | 'xl';
|
|
10
|
+
color: 'brand' | 'gray' | 'success' | 'warning' | 'error';
|
|
11
|
+
theme?: 'light' | 'gradient' | 'dark' | 'outline' | 'modern' | 'modern-neue';
|
|
12
|
+
}
|
|
13
|
+
export declare const FeaturedIcon: (props: FeaturedIconProps) => import("react").JSX.Element;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/FeaturedIcon/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAqHhD,UAAU,iBAAiB;IACzB,GAAG,CAAC,EAAE,GAAG,CAAC,cAAc,CAAC,CAAC;IAC1B,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,EAAE,CAAC;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,GAAG,SAAS,CAAC;IAC9C,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACjC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;IAC1D,KAAK,CAAC,EAAE,OAAO,GAAG,UAAU,GAAG,MAAM,GAAG,SAAS,GAAG,QAAQ,GAAG,aAAa,CAAC;CAC9E;AAED,eAAO,MAAM,YAAY,GAAI,OAAO,iBAAiB,gCAwBpD,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ReactNode, Ref } from 'react';
|
|
2
|
+
import type { TextProps as AriaTextProps } from 'react-aria-components';
|
|
3
|
+
interface HintTextProps extends AriaTextProps {
|
|
4
|
+
/** Indicates that the hint text is an error message. */
|
|
5
|
+
isInvalid?: boolean;
|
|
6
|
+
ref?: Ref<HTMLElement>;
|
|
7
|
+
size?: 'sm' | 'md';
|
|
8
|
+
children: ReactNode;
|
|
9
|
+
}
|
|
10
|
+
export declare const HintText: {
|
|
11
|
+
({ isInvalid, className, size, ...props }: HintTextProps): import("react").JSX.Element;
|
|
12
|
+
displayName: string;
|
|
13
|
+
};
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=hint-text.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hint-text.d.ts","sourceRoot":"","sources":["../../../../../../src/components/atoms/Input/components/hint-text.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,EAAE,SAAS,IAAI,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAGxE,UAAU,aAAc,SAAQ,aAAa;IAC3C,wDAAwD;IACxD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,GAAG,CAAC,EAAE,GAAG,CAAC,WAAW,CAAC,CAAC;IACvB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,eAAO,MAAM,QAAQ;+CAAqD,aAAa;;CAoBtF,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ReactNode, Ref } from 'react';
|
|
2
|
+
import type { LabelProps as AriaLabelProps } from 'react-aria-components';
|
|
3
|
+
interface LabelProps extends AriaLabelProps {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
isInvalid?: boolean;
|
|
6
|
+
isRequired?: boolean;
|
|
7
|
+
tooltip?: string;
|
|
8
|
+
tooltipDescription?: string;
|
|
9
|
+
ref?: Ref<HTMLLabelElement>;
|
|
10
|
+
}
|
|
11
|
+
export declare const Label: {
|
|
12
|
+
({ isInvalid, isRequired, tooltip, tooltipDescription, className, ...props }: LabelProps): import("react").JSX.Element;
|
|
13
|
+
displayName: string;
|
|
14
|
+
};
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=label.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../../../../../src/components/atoms/Input/components/label.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,EAAE,UAAU,IAAI,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAG1E,UAAU,UAAW,SAAQ,cAAc;IACzC,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,GAAG,CAAC,EAAE,GAAG,CAAC,gBAAgB,CAAC,CAAC;CAC7B;AAED,eAAO,MAAM,KAAK;kFAAiF,UAAU;;CAyC5G,CAAC"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { type ComponentType, type HTMLAttributes, type ReactNode, type Ref } from 'react';
|
|
2
|
+
import type { InputProps as AriaInputProps, TextFieldProps as AriaTextFieldProps } from 'react-aria-components';
|
|
3
|
+
export { HintText } from './components/hint-text';
|
|
4
|
+
export { Label } from './components/label';
|
|
5
|
+
export interface InputBaseProps extends Omit<AriaInputProps, 'size'> {
|
|
6
|
+
/** Tooltip message on hover. */
|
|
7
|
+
tooltip?: string;
|
|
8
|
+
/** Whether the input is invalid. */
|
|
9
|
+
isInvalid?: boolean;
|
|
10
|
+
/** Whether the input is disabled. */
|
|
11
|
+
isDisabled?: boolean;
|
|
12
|
+
/** Whether the input is required. */
|
|
13
|
+
isRequired?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Input size.
|
|
16
|
+
* @default "sm"
|
|
17
|
+
*/
|
|
18
|
+
size?: 'sm' | 'md' | 'lg';
|
|
19
|
+
/** Placeholder text. */
|
|
20
|
+
placeholder?: string;
|
|
21
|
+
/** Class name for the icon. */
|
|
22
|
+
iconClassName?: string;
|
|
23
|
+
/** Class name for the input. */
|
|
24
|
+
inputClassName?: string;
|
|
25
|
+
/** Class name for the input wrapper. */
|
|
26
|
+
wrapperClassName?: string;
|
|
27
|
+
/** Class name for the tooltip. */
|
|
28
|
+
tooltipClassName?: string;
|
|
29
|
+
/** Keyboard shortcut to display. */
|
|
30
|
+
shortcut?: string | boolean;
|
|
31
|
+
ref?: Ref<HTMLInputElement>;
|
|
32
|
+
groupRef?: Ref<HTMLDivElement>;
|
|
33
|
+
/** Icon component to display on the left side of the input. */
|
|
34
|
+
icon?: ComponentType<HTMLAttributes<HTMLOrSVGElement>>;
|
|
35
|
+
}
|
|
36
|
+
export declare const InputBase: {
|
|
37
|
+
({ ref, tooltip, shortcut, groupRef, size, isInvalid, isDisabled, isRequired, icon: Icon, placeholder, wrapperClassName, tooltipClassName, inputClassName, iconClassName, type, ...inputProps }: InputBaseProps): import("react").JSX.Element;
|
|
38
|
+
displayName: string;
|
|
39
|
+
};
|
|
40
|
+
interface TextFieldContextProps extends Partial<Pick<InputBaseProps, 'size' | 'wrapperClassName' | 'inputClassName' | 'iconClassName' | 'tooltipClassName'>> {
|
|
41
|
+
}
|
|
42
|
+
export interface TextFieldProps extends AriaTextFieldProps, TextFieldContextProps {
|
|
43
|
+
}
|
|
44
|
+
export declare const TextField: {
|
|
45
|
+
({ className, size, inputClassName, wrapperClassName, iconClassName, tooltipClassName, ...props }: TextFieldProps): import("react").JSX.Element;
|
|
46
|
+
displayName: string;
|
|
47
|
+
};
|
|
48
|
+
export interface InputProps extends AriaTextFieldProps, Pick<InputBaseProps, 'ref' | 'placeholder' | 'icon' | 'shortcut' | 'tooltip' | 'groupRef' | 'size' | 'wrapperClassName' | 'inputClassName' | 'iconClassName' | 'tooltipClassName'> {
|
|
49
|
+
/** Label text for the input */
|
|
50
|
+
label?: string;
|
|
51
|
+
/** Helper text displayed below the input */
|
|
52
|
+
hint?: ReactNode;
|
|
53
|
+
/** Whether to hide required indicator from label */
|
|
54
|
+
hideRequiredIndicator?: boolean;
|
|
55
|
+
}
|
|
56
|
+
export declare const Input: {
|
|
57
|
+
({ size, placeholder, icon: Icon, label, hint, shortcut, hideRequiredIndicator, className, ref, groupRef, tooltip, iconClassName, inputClassName, wrapperClassName, tooltipClassName, type, ...props }: InputProps): import("react").JSX.Element;
|
|
58
|
+
displayName: string;
|
|
59
|
+
};
|
|
60
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/Input/index.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,aAAa,EAAiB,KAAK,cAAc,EAAE,KAAK,SAAS,EAAE,KAAK,GAAG,EAAwB,MAAM,OAAO,CAAC;AAC/H,OAAO,KAAK,EAAE,UAAU,IAAI,cAAc,EAAE,cAAc,IAAI,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAKhH,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAE3C,MAAM,WAAW,cAAe,SAAQ,IAAI,CAAC,cAAc,EAAE,MAAM,CAAC;IAClE,gCAAgC;IAChC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,oCAAoC;IACpC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,qCAAqC;IACrC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,qCAAqC;IACrC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,wBAAwB;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,+BAA+B;IAC/B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gCAAgC;IAChC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,wCAAwC;IACxC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,kCAAkC;IAClC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,oCAAoC;IACpC,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC5B,GAAG,CAAC,EAAE,GAAG,CAAC,gBAAgB,CAAC,CAAC;IAC5B,QAAQ,CAAC,EAAE,GAAG,CAAC,cAAc,CAAC,CAAC;IAC/B,+DAA+D;IAC/D,IAAI,CAAC,EAAE,aAAa,CAAC,cAAc,CAAC,gBAAgB,CAAC,CAAC,CAAC;CACxD;AAED,eAAO,MAAM,SAAS;qMAiBnB,cAAc;;CA8IhB,CAAC;AAIF,UAAU,qBACR,SAAQ,OAAO,CAAC,IAAI,CAAC,cAAc,EAAE,MAAM,GAAG,kBAAkB,GAAG,gBAAgB,GAAG,eAAe,GAAG,kBAAkB,CAAC,CAAC;CAAG;AAIjI,MAAM,WAAW,cAAe,SAAQ,kBAAkB,EAAE,qBAAqB;CAAG;AAEpF,eAAO,MAAM,SAAS;uGAQnB,cAAc;;CAahB,CAAC;AAIF,MAAM,WAAW,UACf,SAAQ,kBAAkB,EACxB,IAAI,CACF,cAAc,EACZ,KAAK,GACL,aAAa,GACb,MAAM,GACN,UAAU,GACV,SAAS,GACT,UAAU,GACV,MAAM,GACN,kBAAkB,GAClB,gBAAgB,GAChB,eAAe,GACf,kBAAkB,CACrB;IACH,+BAA+B;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,4CAA4C;IAC5C,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,oDAAoD;IACpD,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC;AAED,eAAO,MAAM,KAAK;4MAkBf,UAAU;;CAiCZ,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
interface LoadingIndicatorProps {
|
|
2
|
+
/**
|
|
3
|
+
* The visual style of the loading indicator.
|
|
4
|
+
* @default 'line-simple'
|
|
5
|
+
*/
|
|
6
|
+
type?: 'line-simple' | 'line-spinner' | 'dot-circle';
|
|
7
|
+
/**
|
|
8
|
+
* The size of the loading indicator.
|
|
9
|
+
* @default 'sm'
|
|
10
|
+
*/
|
|
11
|
+
size?: 'sm' | 'md' | 'lg' | 'xl';
|
|
12
|
+
/**
|
|
13
|
+
* Optional text label displayed below the indicator.
|
|
14
|
+
*/
|
|
15
|
+
label?: string;
|
|
16
|
+
}
|
|
17
|
+
export declare const LoadingIndicator: ({ type, size, label }: LoadingIndicatorProps) => import("react").JSX.Element;
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/LoadingIndicator/index.tsx"],"names":[],"mappings":"AA2BA,UAAU,qBAAqB;IAC7B;;;OAGG;IACH,IAAI,CAAC,EAAE,aAAa,GAAG,cAAc,GAAG,YAAY,CAAC;IACrD;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACjC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,gBAAgB,GAAI,uBAA8C,qBAAqB,gCAiFnG,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { type ReactNode, type Ref } from 'react';
|
|
2
|
+
import { type RadioGroupProps as AriaRadioGroupProps, type RadioProps as AriaRadioProps } from 'react-aria-components';
|
|
3
|
+
export interface RadioGroupContextType {
|
|
4
|
+
size?: 'sm' | 'md';
|
|
5
|
+
}
|
|
6
|
+
export interface RadioButtonBaseProps {
|
|
7
|
+
size?: 'sm' | 'md';
|
|
8
|
+
className?: string;
|
|
9
|
+
isFocusVisible?: boolean;
|
|
10
|
+
isSelected?: boolean;
|
|
11
|
+
isDisabled?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare const RadioButtonBase: {
|
|
14
|
+
({ className, isFocusVisible, isSelected, isDisabled, size }: RadioButtonBaseProps): import("react").JSX.Element;
|
|
15
|
+
displayName: string;
|
|
16
|
+
};
|
|
17
|
+
interface RadioButtonProps extends AriaRadioProps {
|
|
18
|
+
size?: 'sm' | 'md';
|
|
19
|
+
label?: ReactNode;
|
|
20
|
+
hint?: ReactNode;
|
|
21
|
+
ref?: Ref<HTMLLabelElement>;
|
|
22
|
+
}
|
|
23
|
+
export declare const RadioButton: {
|
|
24
|
+
({ label, hint, className, size, ...ariaRadioProps }: RadioButtonProps): import("react").JSX.Element;
|
|
25
|
+
displayName: string;
|
|
26
|
+
};
|
|
27
|
+
interface RadioGroupProps extends RadioGroupContextType, AriaRadioGroupProps {
|
|
28
|
+
children: ReactNode;
|
|
29
|
+
className?: string;
|
|
30
|
+
}
|
|
31
|
+
export declare const RadioGroup: ({ children, className, size, ...props }: RadioGroupProps) => import("react").JSX.Element;
|
|
32
|
+
export {};
|
|
33
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/RadioButton/index.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAiB,KAAK,SAAS,EAAE,KAAK,GAAG,EAAc,MAAM,OAAO,CAAC;AAC5E,OAAO,EAGL,KAAK,eAAe,IAAI,mBAAmB,EAC3C,KAAK,UAAU,IAAI,cAAc,EAClC,MAAM,uBAAuB,CAAC;AAE/B,MAAM,WAAW,qBAAqB;IACpC,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CACpB;AAID,MAAM,WAAW,oBAAoB;IACnC,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,eAAO,MAAM,eAAe;kEAAwE,oBAAoB;;CAkBvH,CAAC;AAGF,UAAU,gBAAiB,SAAQ,cAAc;IAC/C,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,GAAG,CAAC,EAAE,GAAG,CAAC,gBAAgB,CAAC,CAAC;CAC7B;AAED,eAAO,MAAM,WAAW;0DAAgE,gBAAgB;;CAyDvG,CAAC;AAGF,UAAU,eAAgB,SAAQ,qBAAqB,EAAE,mBAAmB;IAC1E,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,UAAU,GAAI,yCAAgD,eAAe,gCAQzF,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { SwitchProps as AriaSwitchProps } from 'react-aria-components';
|
|
3
|
+
interface ToggleBaseProps {
|
|
4
|
+
size?: 'sm' | 'md';
|
|
5
|
+
slim?: boolean;
|
|
6
|
+
className?: string;
|
|
7
|
+
isHovered?: boolean;
|
|
8
|
+
isFocusVisible?: boolean;
|
|
9
|
+
isSelected?: boolean;
|
|
10
|
+
isDisabled?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare const ToggleBase: ({ className, isHovered, isDisabled, isFocusVisible, isSelected, slim, size }: ToggleBaseProps) => import("react").JSX.Element;
|
|
13
|
+
interface ToggleProps extends AriaSwitchProps {
|
|
14
|
+
size?: 'sm' | 'md';
|
|
15
|
+
label?: string;
|
|
16
|
+
hint?: ReactNode;
|
|
17
|
+
slim?: boolean;
|
|
18
|
+
}
|
|
19
|
+
export declare const Toggle: ({ label, hint, className, size, slim, ...ariaSwitchProps }: ToggleProps) => import("react").JSX.Element;
|
|
20
|
+
export {};
|
|
21
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/Toggle/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,WAAW,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAG5E,UAAU,eAAe;IACvB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,eAAO,MAAM,UAAU,GAAI,8EAAqF,eAAe,gCA0D9H,CAAC;AAiBF,UAAU,WAAY,SAAQ,eAAe;IAC3C,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,eAAO,MAAM,MAAM,GAAI,4DAAmE,WAAW,gCAyCpG,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { ButtonProps as AriaButtonProps, TooltipProps as AriaTooltipProps, TooltipTriggerComponentProps as AriaTooltipTriggerComponentProps } from 'react-aria-components';
|
|
3
|
+
interface TooltipProps extends AriaTooltipTriggerComponentProps, Omit<AriaTooltipProps, 'children'> {
|
|
4
|
+
/**
|
|
5
|
+
* The title of the tooltip.
|
|
6
|
+
*/
|
|
7
|
+
title: ReactNode;
|
|
8
|
+
/**
|
|
9
|
+
* The description of the tooltip.
|
|
10
|
+
*/
|
|
11
|
+
description?: ReactNode;
|
|
12
|
+
/**
|
|
13
|
+
* Whether to show the arrow on the tooltip.
|
|
14
|
+
*
|
|
15
|
+
* @default false
|
|
16
|
+
*/
|
|
17
|
+
arrow?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Delay in milliseconds before the tooltip is shown.
|
|
20
|
+
*
|
|
21
|
+
* @default 300
|
|
22
|
+
*/
|
|
23
|
+
delay?: number;
|
|
24
|
+
}
|
|
25
|
+
export declare const Tooltip: ({ title, description, children, arrow, delay, closeDelay, trigger, isDisabled, isOpen, defaultOpen, offset, crossOffset, placement, onOpenChange, ...tooltipProps }: TooltipProps) => import("react").JSX.Element;
|
|
26
|
+
interface TooltipTriggerProps extends AriaButtonProps {
|
|
27
|
+
}
|
|
28
|
+
export declare const TooltipTrigger: ({ children, className, ...buttonProps }: TooltipTriggerProps) => import("react").JSX.Element;
|
|
29
|
+
export {};
|
|
30
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/Tooltip/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EACV,WAAW,IAAI,eAAe,EAC9B,YAAY,IAAI,gBAAgB,EAChC,4BAA4B,IAAI,gCAAgC,EACjE,MAAM,uBAAuB,CAAC;AAQ/B,UAAU,YAAa,SAAQ,gCAAgC,EAAE,IAAI,CAAC,gBAAgB,EAAE,UAAU,CAAC;IACjG;;OAEG;IACH,KAAK,EAAE,SAAS,CAAC;IACjB;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,OAAO,GAAI,qKAgBrB,YAAY,gCAiDd,CAAC;AAEF,UAAU,mBAAoB,SAAQ,eAAe;CAAG;AAExD,eAAO,MAAM,cAAc,GAAI,yCAAyC,mBAAmB,gCAS1F,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface BreadcrumbAccountItemData {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
email: string;
|
|
5
|
+
avatar: string;
|
|
6
|
+
}
|
|
7
|
+
export interface BreadcrumbAccountItemProps {
|
|
8
|
+
items: BreadcrumbAccountItemData[];
|
|
9
|
+
selectedKey: string;
|
|
10
|
+
onSelectionChange: (key: string) => void;
|
|
11
|
+
}
|
|
12
|
+
export declare const BreadcrumbAccountItem: ({ items, selectedKey, onSelectionChange }: BreadcrumbAccountItemProps) => import("react").JSX.Element;
|
|
13
|
+
//# sourceMappingURL=breadcrumb-account-item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"breadcrumb-account-item.d.ts","sourceRoot":"","sources":["../../../../../../src/components/molecules/Breadcrumbs/components/breadcrumb-account-item.tsx"],"names":[],"mappings":"AAWA,MAAM,WAAW,yBAAyB;IACxC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,0BAA0B;IACzC,KAAK,EAAE,yBAAyB,EAAE,CAAC;IACnC,WAAW,EAAE,MAAM,CAAC;IACpB,iBAAiB,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CAC1C;AAED,eAAO,MAAM,qBAAqB,GAAI,2CAA2C,0BAA0B,gCA4E1G,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type FC, type ReactNode } from 'react';
|
|
2
|
+
import { type BreadcrumbProps as AriaBreadcrumbProps } from 'react-aria-components';
|
|
3
|
+
import { type BreadcrumbType } from '../index';
|
|
4
|
+
export interface BreadcrumbItemProps extends AriaBreadcrumbProps {
|
|
5
|
+
href?: string;
|
|
6
|
+
divider?: 'chevron' | 'slash';
|
|
7
|
+
type?: BreadcrumbType;
|
|
8
|
+
isEllipsis?: boolean;
|
|
9
|
+
children?: ReactNode;
|
|
10
|
+
className?: string;
|
|
11
|
+
icon?: FC<{
|
|
12
|
+
className?: string;
|
|
13
|
+
}> | ReactNode;
|
|
14
|
+
/** Avatar image URL. Renders an avatar-in-ring instead of the default icon + label. */
|
|
15
|
+
avatarSrc?: string;
|
|
16
|
+
onClick?: () => void;
|
|
17
|
+
}
|
|
18
|
+
export declare const BreadcrumbItem: ({ href, icon, divider, type, isEllipsis, children, onClick, avatarSrc, className, ...otherProps }: BreadcrumbItemProps) => import("react").JSX.Element;
|
|
19
|
+
//# sourceMappingURL=breadcrumb-item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"breadcrumb-item.d.ts","sourceRoot":"","sources":["../../../../../../src/components/molecules/Breadcrumbs/components/breadcrumb-item.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,EAAE,EAAkB,KAAK,SAAS,EAAc,MAAM,OAAO,CAAC;AAC5E,OAAO,EAEL,KAAK,eAAe,IAAI,mBAAmB,EAG5C,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAsB,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AA+DnE,MAAM,WAAW,mBAAoB,SAAQ,mBAAmB;IAC9D,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;IAC9B,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,EAAE,CAAC;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,GAAG,SAAS,CAAC;IAC9C,uFAAuF;IACvF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,eAAO,MAAM,cAAc,GAAI,mGAW5B,mBAAmB,gCA0DrB,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React, { type ReactNode } from 'react';
|
|
2
|
+
export type BreadcrumbType = 'text' | 'text-line' | 'button';
|
|
3
|
+
export declare const BreadcrumbsContext: React.Context<{
|
|
4
|
+
divider: "chevron" | "slash";
|
|
5
|
+
type: BreadcrumbType;
|
|
6
|
+
}>;
|
|
7
|
+
interface BreadcrumbsProps {
|
|
8
|
+
divider?: 'chevron' | 'slash';
|
|
9
|
+
children: ReactNode;
|
|
10
|
+
type?: BreadcrumbType;
|
|
11
|
+
className?: string;
|
|
12
|
+
/**
|
|
13
|
+
* The maximum number of visible items. If the number of items
|
|
14
|
+
* exceeds this value, the breadcrumbs will collapse into a single
|
|
15
|
+
* item with an ellipsis that can be expanded.
|
|
16
|
+
*/
|
|
17
|
+
maxVisibleItems?: number;
|
|
18
|
+
}
|
|
19
|
+
declare const Breadcrumbs: {
|
|
20
|
+
({ children, divider, type, className, maxVisibleItems }: BreadcrumbsProps): React.JSX.Element;
|
|
21
|
+
Item: ({ href, icon, divider, type, isEllipsis, children, onClick, avatarSrc, className, ...otherProps }: import("./components/breadcrumb-item").BreadcrumbItemProps) => React.JSX.Element;
|
|
22
|
+
AccountItem: ({ items, selectedKey, onSelectionChange }: import("./components/breadcrumb-account-item").BreadcrumbAccountItemProps) => React.JSX.Element;
|
|
23
|
+
};
|
|
24
|
+
export { Breadcrumbs };
|
|
25
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/Breadcrumbs/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,EAAiB,KAAK,SAAS,EAAY,MAAM,OAAO,CAAC;AAKvE,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,WAAW,GAAG,QAAQ,CAAC;AAE7D,eAAO,MAAM,kBAAkB;aAA4B,SAAS,GAAG,OAAO;UAAQ,cAAc;EAGlG,CAAC;AAEH,UAAU,gBAAgB;IACxB,OAAO,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;IAC9B,QAAQ,EAAE,SAAS,CAAC;IACpB,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AASD,QAAA,MAAM,WAAW;8DAAsF,gBAAgB;;;CAwBtH,CAAC;AAKF,OAAO,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { type FC, type PropsWithChildren, type ReactNode, type RefAttributes } from 'react';
|
|
2
|
+
import { type ToggleButtonGroupProps, type ToggleButtonProps } from 'react-aria-components';
|
|
3
|
+
export declare const styles: {
|
|
4
|
+
common: {
|
|
5
|
+
root: string;
|
|
6
|
+
icon: string;
|
|
7
|
+
};
|
|
8
|
+
sizes: {
|
|
9
|
+
sm: {
|
|
10
|
+
root: string;
|
|
11
|
+
icon: string;
|
|
12
|
+
};
|
|
13
|
+
md: {
|
|
14
|
+
root: string;
|
|
15
|
+
icon: string;
|
|
16
|
+
};
|
|
17
|
+
lg: {
|
|
18
|
+
root: string;
|
|
19
|
+
icon: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
type ButtonSize = keyof typeof styles.sizes;
|
|
24
|
+
interface ButtonGroupItemProps extends ToggleButtonProps, RefAttributes<HTMLButtonElement> {
|
|
25
|
+
iconLeading?: FC<{
|
|
26
|
+
className?: string;
|
|
27
|
+
}> | ReactNode;
|
|
28
|
+
iconTrailing?: FC<{
|
|
29
|
+
className?: string;
|
|
30
|
+
}> | ReactNode;
|
|
31
|
+
onClick?: () => void;
|
|
32
|
+
className?: string;
|
|
33
|
+
}
|
|
34
|
+
export declare const ButtonGroupItem: ({ iconLeading: IconLeading, iconTrailing: IconTrailing, children, className, ...otherProps }: PropsWithChildren<ButtonGroupItemProps>) => import("react").JSX.Element;
|
|
35
|
+
interface ButtonGroupProps extends Omit<ToggleButtonGroupProps, 'orientation'>, RefAttributes<HTMLDivElement> {
|
|
36
|
+
size?: ButtonSize;
|
|
37
|
+
className?: string;
|
|
38
|
+
}
|
|
39
|
+
export declare const ButtonGroup: ({ children, size, className, ...otherProps }: ButtonGroupProps) => import("react").JSX.Element;
|
|
40
|
+
export {};
|
|
41
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/ButtonGroup/index.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAiB,KAAK,EAAE,EAAkB,KAAK,iBAAiB,EAAE,KAAK,SAAS,EAAE,KAAK,aAAa,EAAc,MAAM,OAAO,CAAC;AACvI,OAAO,EAGL,KAAK,sBAAsB,EAC3B,KAAK,iBAAiB,EACvB,MAAM,uBAAuB,CAAC;AAE/B,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;CA4BjB,CAAC;AAEH,KAAK,UAAU,GAAG,MAAM,OAAO,MAAM,CAAC,KAAK,CAAC;AAI5C,UAAU,oBAAqB,SAAQ,iBAAiB,EAAE,aAAa,CAAC,iBAAiB,CAAC;IACxF,WAAW,CAAC,EAAE,EAAE,CAAC;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,GAAG,SAAS,CAAC;IACrD,YAAY,CAAC,EAAE,EAAE,CAAC;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,GAAG,SAAS,CAAC;IACtD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,eAAe,GAAI,8FAM7B,iBAAiB,CAAC,oBAAoB,CAAC,gCA2BzC,CAAC;AAEF,UAAU,gBAAiB,SAAQ,IAAI,CAAC,sBAAsB,EAAE,aAAa,CAAC,EAAE,aAAa,CAAC,cAAc,CAAC;IAC3G,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,WAAW,GAAI,8CAAqD,gBAAgB,gCAYhG,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { type FC, type RefAttributes } from 'react';
|
|
2
|
+
import type { ButtonProps as AriaButtonProps, MenuItemProps as AriaMenuItemProps, MenuProps as AriaMenuProps, PopoverProps as AriaPopoverProps, SeparatorProps as AriaSeparatorProps } from 'react-aria-components';
|
|
3
|
+
import { MenuTrigger as AriaMenuTrigger } from 'react-aria-components';
|
|
4
|
+
interface DropdownItemProps extends AriaMenuItemProps {
|
|
5
|
+
/** The label of the item to be displayed. */
|
|
6
|
+
label?: string;
|
|
7
|
+
/** An addon to be displayed on the right side of the item. */
|
|
8
|
+
addon?: string;
|
|
9
|
+
/** If true, the item will not have any styles. */
|
|
10
|
+
unstyled?: boolean;
|
|
11
|
+
/** An icon to be displayed on the left side of the item. */
|
|
12
|
+
icon?: FC<{
|
|
13
|
+
className?: string;
|
|
14
|
+
}>;
|
|
15
|
+
/** Avatar URL to be displayed on the left side of the item. */
|
|
16
|
+
avatarUrl?: string;
|
|
17
|
+
/** The selection indicator to be displayed on the item. */
|
|
18
|
+
selectionIndicator?: 'checkmark' | 'checkbox' | 'radio' | 'toggle' | 'none';
|
|
19
|
+
}
|
|
20
|
+
interface DropdownMenuProps<T extends object> extends AriaMenuProps<T> {
|
|
21
|
+
}
|
|
22
|
+
interface DropdownPopoverProps extends AriaPopoverProps {
|
|
23
|
+
}
|
|
24
|
+
export declare const Dropdown: {
|
|
25
|
+
Root: typeof AriaMenuTrigger;
|
|
26
|
+
Popover: (props: DropdownPopoverProps) => import("react").JSX.Element;
|
|
27
|
+
Menu: <T extends object>(props: DropdownMenuProps<T>) => import("react").JSX.Element;
|
|
28
|
+
Section: <T>(props: import("react-aria-components").MenuSectionProps<T> & React.RefAttributes<HTMLElement>) => import("react").ReactElement<unknown, string | React.JSXElementConstructor<any>> | null;
|
|
29
|
+
SectionHeader: (props: import("react-aria-components").HeaderProps & React.RefAttributes<HTMLElement>) => React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | null;
|
|
30
|
+
Item: ({ label, children, addon, icon: Icon, avatarUrl, unstyled, selectionIndicator, ...props }: DropdownItemProps) => import("react").JSX.Element;
|
|
31
|
+
Separator: (props: AriaSeparatorProps) => import("react").JSX.Element;
|
|
32
|
+
DotsButton: (props: AriaButtonProps & RefAttributes<HTMLButtonElement>) => import("react").JSX.Element;
|
|
33
|
+
};
|
|
34
|
+
export {};
|
|
35
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/Dropdown/index.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,aAAa,EAAe,MAAM,OAAO,CAAC;AACjE,OAAO,KAAK,EACV,WAAW,IAAI,eAAe,EAC9B,aAAa,IAAI,iBAAiB,EAClC,SAAS,IAAI,aAAa,EAC1B,YAAY,IAAI,gBAAgB,EAChC,cAAc,IAAI,kBAAkB,EAErC,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAML,WAAW,IAAI,eAAe,EAG/B,MAAM,uBAAuB,CAAC;AAE/B,UAAU,iBAAkB,SAAQ,iBAAiB;IACnD,6CAA6C;IAC7C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,8DAA8D;IAC9D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kDAAkD;IAClD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,4DAA4D;IAC5D,IAAI,CAAC,EAAE,EAAE,CAAC;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAClC,+DAA+D;IAC/D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2DAA2D;IAC3D,kBAAkB,CAAC,EAAE,WAAW,GAAG,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;CAC7E;AAoFD,UAAU,iBAAiB,CAAC,CAAC,SAAS,MAAM,CAAE,SAAQ,aAAa,CAAC,CAAC,CAAC;CAAG;AAazE,UAAU,oBAAqB,SAAQ,gBAAgB;CAAG;AA8C1D,eAAO,MAAM,QAAQ;;qBA5CW,oBAAoB;WAb9B,CAAC,SAAS,MAAM,SAAS,iBAAiB,CAAC,CAAC,CAAC;;;sGApF4D,iBAAiB;uBAsH9G,kBAAkB;wBAIjB,eAAe,GAAG,aAAa,CAAC,iBAAiB,CAAC;CA4BpF,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { RadioGroupProps } from 'react-aria-components';
|
|
2
|
+
interface AvatarItemType {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
username: string;
|
|
6
|
+
title: string;
|
|
7
|
+
avatarUrl: string;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
}
|
|
10
|
+
interface RadioGroupAvatarProps extends RadioGroupProps {
|
|
11
|
+
size?: 'sm' | 'md';
|
|
12
|
+
items: AvatarItemType[];
|
|
13
|
+
}
|
|
14
|
+
export declare const RadioGroupAvatar: ({ items, size, className, ...props }: RadioGroupAvatarProps) => import("react").JSX.Element;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=radio-group-avatar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio-group-avatar.d.ts","sourceRoot":"","sources":["../../../../../../src/components/molecules/RadioGroup/components/radio-group-avatar.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAG7D,UAAU,cAAc;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,UAAU,qBAAsB,SAAQ,eAAe;IACrD,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,KAAK,EAAE,cAAc,EAAE,CAAC;CACzB;AAED,eAAO,MAAM,gBAAgB,GAAI,sCAA6C,qBAAqB,gCAuClG,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type RadioGroupProps } from 'react-aria-components';
|
|
2
|
+
import type { RadioGroupItemType } from '../radioGroup.types';
|
|
3
|
+
interface RadioGroupCheckboxProps extends RadioGroupProps {
|
|
4
|
+
size?: 'sm' | 'md';
|
|
5
|
+
items: RadioGroupItemType[];
|
|
6
|
+
}
|
|
7
|
+
export declare const RadioGroupCheckbox: ({ items, size, className, ...props }: RadioGroupCheckboxProps) => import("react").JSX.Element;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=radio-group-checkbox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio-group-checkbox.d.ts","sourceRoot":"","sources":["../../../../../../src/components/molecules/RadioGroup/components/radio-group-checkbox.tsx"],"names":[],"mappings":"AAIA,OAAO,EAA0F,KAAK,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACrJ,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAE9D,UAAU,uBAAwB,SAAQ,eAAe;IACvD,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,KAAK,EAAE,kBAAkB,EAAE,CAAC;CAC7B;AAED,eAAO,MAAM,kBAAkB,GAAI,sCAA6C,uBAAuB,gCA2CtG,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { FC, ReactNode } from 'react';
|
|
2
|
+
import type { RadioGroupProps } from 'react-aria-components';
|
|
3
|
+
type IconCardItemType = {
|
|
4
|
+
value: string;
|
|
5
|
+
title: string;
|
|
6
|
+
description: string;
|
|
7
|
+
secondaryTitle?: string;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
price?: string;
|
|
10
|
+
badge?: ReactNode;
|
|
11
|
+
icon: FC<{
|
|
12
|
+
className?: string;
|
|
13
|
+
}>;
|
|
14
|
+
};
|
|
15
|
+
interface RadioGroupIconCardProps extends RadioGroupProps {
|
|
16
|
+
size?: 'sm' | 'md';
|
|
17
|
+
items: IconCardItemType[];
|
|
18
|
+
}
|
|
19
|
+
export declare const RadioGroupIconCard: ({ items, size, className, ...props }: RadioGroupIconCardProps) => import("react").JSX.Element;
|
|
20
|
+
export {};
|
|
21
|
+
//# sourceMappingURL=radio-group-icon-card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio-group-icon-card.d.ts","sourceRoot":"","sources":["../../../../../../src/components/molecules/RadioGroup/components/radio-group-icon-card.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAG7D,KAAK,gBAAgB,GAAG;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,IAAI,EAAE,EAAE,CAAC;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAClC,CAAC;AAEF,UAAU,uBAAwB,SAAQ,eAAe;IACvD,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,KAAK,EAAE,gBAAgB,EAAE,CAAC;CAC3B;AAED,eAAO,MAAM,kBAAkB,GAAI,sCAA6C,uBAAuB,gCAsEtG,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { FC } from 'react';
|
|
2
|
+
import type { RadioGroupProps } from 'react-aria-components';
|
|
3
|
+
type RadioGroupItemType = {
|
|
4
|
+
value: string;
|
|
5
|
+
title: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
description: string;
|
|
8
|
+
secondaryTitle: string;
|
|
9
|
+
icon: FC<{
|
|
10
|
+
className?: string;
|
|
11
|
+
}>;
|
|
12
|
+
};
|
|
13
|
+
interface RadioGroupIconSimpleProps extends RadioGroupProps {
|
|
14
|
+
size?: 'sm' | 'md';
|
|
15
|
+
items: RadioGroupItemType[];
|
|
16
|
+
}
|
|
17
|
+
export declare const RadioGroupIconSimple: ({ items, size, className, ...props }: RadioGroupIconSimpleProps) => import("react").JSX.Element;
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=radio-group-icon-simple.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio-group-icon-simple.d.ts","sourceRoot":"","sources":["../../../../../../src/components/molecules/RadioGroup/components/radio-group-icon-simple.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAG7D,KAAK,kBAAkB,GAAG;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IACvB,IAAI,EAAE,EAAE,CAAC;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAClC,CAAC;AAEF,UAAU,yBAA0B,SAAQ,eAAe;IACzD,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,KAAK,EAAE,kBAAkB,EAAE,CAAC;CAC7B;AAED,eAAO,MAAM,oBAAoB,GAAI,sCAA6C,yBAAyB,gCA8C1G,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { RadioGroupProps } from 'react-aria-components';
|
|
3
|
+
interface PaymentCardItemType {
|
|
4
|
+
value: string;
|
|
5
|
+
title: string;
|
|
6
|
+
description: string;
|
|
7
|
+
logo: ReactNode;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
}
|
|
10
|
+
interface RadioGroupPaymentIconProps extends RadioGroupProps {
|
|
11
|
+
size?: 'sm' | 'md';
|
|
12
|
+
items: PaymentCardItemType[];
|
|
13
|
+
}
|
|
14
|
+
export declare const RadioGroupPaymentIcon: ({ items, size, className, ...props }: RadioGroupPaymentIconProps) => import("react").JSX.Element;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=radio-group-payment-icon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio-group-payment-icon.d.ts","sourceRoot":"","sources":["../../../../../../src/components/molecules/RadioGroup/components/radio-group-payment-icon.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAG7D,UAAU,mBAAmB;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,SAAS,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,UAAU,0BAA2B,SAAQ,eAAe;IAC1D,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,KAAK,EAAE,mBAAmB,EAAE,CAAC;CAC9B;AAED,eAAO,MAAM,qBAAqB,GAAI,sCAA6C,0BAA0B,gCAgD5G,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { RadioGroupProps } from 'react-aria-components';
|
|
2
|
+
import type { RadioGroupItemType } from '../radioGroup.types';
|
|
3
|
+
interface RadioGroupRadioButtonProps extends RadioGroupProps {
|
|
4
|
+
size?: 'sm' | 'md';
|
|
5
|
+
items: RadioGroupItemType[];
|
|
6
|
+
}
|
|
7
|
+
export declare const RadioGroupRadioButton: ({ items, size, className, ...props }: RadioGroupRadioButtonProps) => import("react").JSX.Element;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=radio-group-radio-button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio-group-radio-button.d.ts","sourceRoot":"","sources":["../../../../../../src/components/molecules/RadioGroup/components/radio-group-radio-button.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAE7D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAE9D,UAAU,0BAA2B,SAAQ,eAAe;IAC1D,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,KAAK,EAAE,kBAAkB,EAAE,CAAC;CAC7B;AAED,eAAO,MAAM,qBAAqB,GAAI,sCAA6C,0BAA0B,gCAwD5G,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { RadioGroupAvatar as Avatar } from './components/radio-group-avatar';
|
|
2
|
+
export { RadioGroupCheckbox as Checkbox } from './components/radio-group-checkbox';
|
|
3
|
+
export { RadioGroupIconCard as IconCard } from './components/radio-group-icon-card';
|
|
4
|
+
export { RadioGroupIconSimple as IconSimple } from './components/radio-group-icon-simple';
|
|
5
|
+
export { RadioGroupPaymentIcon as PaymentIcon } from './components/radio-group-payment-icon';
|
|
6
|
+
export { RadioGroupRadioButton as RadioButton } from './components/radio-group-radio-button';
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/RadioGroup/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,IAAI,MAAM,EAAE,MAAM,iCAAiC,CAAC;AAC7E,OAAO,EAAE,kBAAkB,IAAI,QAAQ,EAAE,MAAM,mCAAmC,CAAC;AACnF,OAAO,EAAE,kBAAkB,IAAI,QAAQ,EAAE,MAAM,oCAAoC,CAAC;AACpF,OAAO,EAAE,oBAAoB,IAAI,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAC1F,OAAO,EAAE,qBAAqB,IAAI,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAC7F,OAAO,EAAE,qBAAqB,IAAI,WAAW,EAAE,MAAM,uCAAuC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { FC } from 'react';
|
|
2
|
+
export type RadioGroupItemType = {
|
|
3
|
+
value: string;
|
|
4
|
+
title: string;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
description: string;
|
|
7
|
+
secondaryTitle: string;
|
|
8
|
+
icon: FC<{
|
|
9
|
+
className?: string;
|
|
10
|
+
}>;
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=radioGroup.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radioGroup.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/RadioGroup/radioGroup.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,MAAM,MAAM,kBAAkB,GAAG;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IACvB,IAAI,EAAE,EAAE,CAAC;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAClC,CAAC"}
|