@xjur-ui/react 2.3.1 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +59 -0
- package/dist/components/accordion/accordion-content.d.ts +6 -0
- package/dist/components/accordion/accordion-content.js +1 -0
- package/dist/components/accordion/accordion-item.d.ts +7 -0
- package/dist/components/accordion/accordion-item.js +1 -0
- package/dist/components/accordion/accordion-root.d.ts +11 -0
- package/dist/components/accordion/accordion-root.js +1 -0
- package/dist/components/accordion/accordion-styles.d.ts +7 -0
- package/dist/components/accordion/accordion-styles.js +1 -0
- package/dist/components/accordion/accordion-tab-header.d.ts +16 -0
- package/dist/components/accordion/accordion-tab-header.js +1 -0
- package/dist/components/accordion/accordion-trigger.d.ts +9 -0
- package/dist/components/accordion/accordion-trigger.js +1 -0
- package/dist/components/accordion/index.d.ts +5 -0
- package/dist/components/accordion/index.js +1 -0
- package/dist/components/avatar/avatar-fallback.d.ts +2 -0
- package/dist/components/avatar/avatar-fallback.js +1 -0
- package/dist/components/avatar/avatar-group.d.ts +12 -0
- package/dist/components/avatar/avatar-group.js +1 -0
- package/dist/components/avatar/avatar-image.d.ts +2 -0
- package/dist/components/avatar/avatar-image.js +1 -0
- package/dist/components/avatar/avatar-root.d.ts +4 -0
- package/dist/components/avatar/avatar-root.js +1 -0
- package/dist/components/avatar/index.d.ts +4 -0
- package/dist/components/avatar/index.js +1 -0
- package/dist/components/badge/index.d.ts +9 -0
- package/dist/components/breadcrumb/breadcrumb-ellipsis.d.ts +1 -0
- package/dist/components/breadcrumb/breadcrumb-ellipsis.js +1 -0
- package/dist/components/breadcrumb/breadcrumb-item.d.ts +1 -0
- package/dist/components/breadcrumb/breadcrumb-item.js +1 -0
- package/dist/components/breadcrumb/breadcrumb-link.d.ts +7 -0
- package/dist/components/breadcrumb/breadcrumb-link.js +1 -0
- package/dist/components/breadcrumb/breadcrumb-list.d.ts +1 -0
- package/dist/components/breadcrumb/breadcrumb-list.js +1 -0
- package/dist/components/breadcrumb/breadcrumb-page.d.ts +2 -0
- package/dist/components/breadcrumb/breadcrumb-page.js +1 -0
- package/dist/components/breadcrumb/breadcrumb-root.d.ts +1 -0
- package/dist/components/breadcrumb/breadcrumb-root.js +1 -0
- package/dist/components/breadcrumb/breadcrumb-separator.d.ts +1 -0
- package/dist/components/breadcrumb/breadcrumb-separator.js +1 -0
- package/dist/components/breadcrumb/index.d.ts +7 -0
- package/dist/components/breadcrumb/index.js +1 -0
- package/dist/components/carousel/carousel-action.d.ts +3 -7
- package/dist/components/carousel/carousel-action.js +1 -1
- package/dist/components/carousel/carousel-content.d.ts +2 -6
- package/dist/components/carousel/carousel-item.d.ts +2 -6
- package/dist/components/carousel/carousel-root.d.ts +4 -9
- package/dist/components/carousel/index.d.ts +4 -6
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/chip/chip-avatar.d.ts +6 -0
- package/dist/components/chip/chip-avatar.js +1 -0
- package/dist/components/chip/chip-close.d.ts +5 -0
- package/dist/components/chip/chip-close.js +1 -0
- package/dist/components/chip/chip-icon.d.ts +3 -0
- package/dist/components/chip/chip-icon.js +1 -0
- package/dist/components/chip/chip-root.d.ts +9 -0
- package/dist/components/chip/chip-root.js +1 -0
- package/dist/components/chip/chip-text.d.ts +3 -0
- package/dist/components/chip/chip-text.js +1 -0
- package/dist/components/chip/index.d.ts +5 -0
- package/dist/components/chip/index.js +1 -0
- package/dist/components/collapsible/collapsible-content.d.ts +2 -0
- package/dist/components/collapsible/collapsible-content.js +1 -0
- package/dist/components/collapsible/collapsible-root.d.ts +2 -0
- package/dist/components/collapsible/collapsible-root.js +1 -0
- package/dist/components/collapsible/collapsible-trigger.d.ts +2 -0
- package/dist/components/collapsible/collapsible-trigger.js +1 -0
- package/dist/components/collapsible/index.d.ts +3 -0
- package/dist/components/collapsible/index.js +1 -0
- package/dist/components/controls/button.d.ts +6 -11
- package/dist/components/controls/calendar.d.ts +5 -8
- package/dist/components/controls/checkbox.d.ts +2 -6
- package/dist/components/controls/context/field.context.d.ts +5 -9
- package/dist/components/controls/date-picker/date-picker-caption.d.ts +2 -6
- package/dist/components/controls/date-picker/date-picker-content.d.ts +2 -6
- package/dist/components/controls/date-picker/date-picker-icon.d.ts +4 -8
- package/dist/components/controls/date-picker/date-picker-label.d.ts +3 -7
- package/dist/components/controls/date-picker/date-picker-root.d.ts +3 -9
- package/dist/components/controls/date-picker/date-picker-slot.d.ts +2 -6
- package/dist/components/controls/date-picker/date-picker-styles.d.ts +2 -6
- package/dist/components/controls/date-picker/date-picker-trigger.d.ts +2 -6
- package/dist/components/controls/date-picker/date-picker-value.d.ts +3 -7
- package/dist/components/controls/date-picker/index.d.ts +8 -16
- package/dist/components/controls/floating-label.d.ts +2 -6
- package/dist/components/controls/input/index.d.ts +13 -21
- package/dist/components/controls/input/input-action.d.ts +2 -6
- package/dist/components/controls/input/input-caption.d.ts +2 -6
- package/dist/components/controls/input/input-content.d.ts +2 -6
- package/dist/components/controls/input/input-currency.d.ts +3 -6
- package/dist/components/controls/input/input-icon.d.ts +4 -8
- package/dist/components/controls/input/input-label.d.ts +3 -7
- package/dist/components/controls/input/input-mask.d.ts +2 -6
- package/dist/components/controls/input/input-number.d.ts +4 -8
- package/dist/components/controls/input/input-numeric-stepper.d.ts +2 -6
- package/dist/components/controls/input/input-root.d.ts +3 -9
- package/dist/components/controls/input/input-slot.d.ts +2 -6
- package/dist/components/controls/input/input-styles.d.ts +2 -6
- package/dist/components/controls/input/input-text.d.ts +2 -6
- package/dist/components/controls/input/input-trigger.d.ts +2 -6
- package/dist/components/controls/otp-input.d.ts +5 -8
- package/dist/components/controls/radio.d.ts +3 -7
- package/dist/components/controls/rating.d.ts +16 -21
- package/dist/components/controls/rich-editor.d.ts +15 -21
- package/dist/components/controls/rich-editor.js +1 -1
- package/dist/components/controls/search-input.d.ts +15 -21
- package/dist/components/controls/search-selector.d.ts +5 -8
- package/dist/components/controls/search-selector.js +1 -1
- package/dist/components/controls/select/index.d.ts +14 -27
- package/dist/components/controls/select/index.js +1 -1
- package/dist/components/controls/select/select-caption.d.ts +2 -6
- package/dist/components/controls/select/select-content.d.ts +5 -6
- package/dist/components/controls/select/select-content.js +1 -1
- package/dist/components/controls/select/select-header-title.d.ts +3 -10
- package/dist/components/controls/select/select-header.d.ts +3 -7
- package/dist/components/controls/select/select-icon.d.ts +4 -8
- package/dist/components/controls/select/select-multi-value.d.ts +8 -14
- package/dist/components/controls/select/select-multi-value.js +1 -1
- package/dist/components/controls/select/select-option-text.d.ts +3 -9
- package/dist/components/controls/select/select-option.d.ts +3 -9
- package/dist/components/controls/select/select-options.d.ts +3 -7
- package/dist/components/controls/select/select-root.d.ts +3 -9
- package/dist/components/controls/select/select-slot.d.ts +2 -6
- package/dist/components/controls/select/select-styles.d.ts +2 -6
- package/dist/components/controls/select/select-trigger.d.ts +2 -6
- package/dist/components/controls/select/select-value.d.ts +7 -8
- package/dist/components/controls/select/select-value.js +1 -1
- package/dist/components/controls/select/types/select-value.d.ts +4 -0
- package/dist/components/controls/select/types/select-value.js +0 -0
- package/dist/components/controls/slider.d.ts +18 -23
- package/dist/components/controls/switch.d.ts +1 -4
- package/dist/components/custom/pessoa/index.d.ts +9 -16
- package/dist/components/custom/pessoa/index.js +1 -1
- package/dist/components/custom/pessoa/pessoa-add-button.d.ts +3 -9
- package/dist/components/custom/pessoa/pessoa-body.d.ts +3 -8
- package/dist/components/custom/pessoa/pessoa-body.js +1 -1
- package/dist/components/custom/pessoa/pessoa-close-button.d.ts +3 -8
- package/dist/components/custom/pessoa/pessoa-close-button.js +1 -1
- package/dist/components/custom/pessoa/pessoa-content.d.ts +3 -8
- package/dist/components/custom/pessoa/pessoa-content.js +1 -1
- package/dist/components/custom/pessoa/pessoa-footer.d.ts +3 -8
- package/dist/components/custom/pessoa/pessoa-footer.js +1 -1
- package/dist/components/custom/pessoa/pessoa-header.d.ts +4 -9
- package/dist/components/custom/pessoa/pessoa-header.js +1 -1
- package/dist/components/custom/pessoa/pessoa-trigger.d.ts +3 -8
- package/dist/components/custom/pessoa/pessoa-trigger.js +1 -1
- package/dist/components/custom/pessoa/pessoa.context.d.ts +5 -10
- package/dist/components/custom/pessoa/pessoa.d.ts +5 -10
- package/dist/components/custom/pessoa/pessoa.js +1 -1
- package/dist/components/dialog/delete-dialog.d.ts +12 -0
- package/dist/components/dialog/delete-dialog.js +1 -0
- package/dist/components/dialog/dialog-content.d.ts +10 -0
- package/dist/components/dialog/dialog-content.js +1 -0
- package/dist/components/dialog/dialog-description.d.ts +8 -0
- package/dist/components/dialog/dialog-description.js +1 -0
- package/dist/components/dialog/dialog-footer.d.ts +7 -0
- package/dist/components/dialog/dialog-footer.js +1 -0
- package/dist/components/dialog/dialog-header.d.ts +7 -0
- package/dist/components/dialog/dialog-header.js +1 -0
- package/dist/components/dialog/dialog-overlay.d.ts +8 -0
- package/dist/components/dialog/dialog-overlay.js +1 -0
- package/dist/components/dialog/dialog-title.d.ts +8 -0
- package/dist/components/dialog/dialog-title.js +1 -0
- package/dist/components/dialog/index.d.ts +11 -0
- package/dist/components/dialog/index.js +1 -0
- package/dist/components/divider/index.d.ts +3 -0
- package/dist/components/drag-and-drop/drag-handle.d.ts +6 -10
- package/dist/components/drag-and-drop/drag-list-item.d.ts +5 -9
- package/dist/components/drag-and-drop/drag-list-item.js +1 -1
- package/dist/components/drag-and-drop/drag-list.d.ts +5 -9
- package/dist/components/drag-and-drop/drag-root.d.ts +2 -6
- package/dist/components/drag-and-drop/index.d.ts +8 -9
- package/dist/components/drag-and-drop/index.js +1 -1
- package/dist/components/drag-and-drop/types/drag-item.d.ts +2 -5
- package/dist/components/dropdown-menu/dropdown-menu-content.d.ts +2 -0
- package/dist/components/dropdown-menu/dropdown-menu-content.js +1 -0
- package/dist/components/dropdown-menu/dropdown-menu-header.d.ts +3 -0
- package/dist/components/dropdown-menu/dropdown-menu-header.js +1 -0
- package/dist/components/dropdown-menu/dropdown-menu-item.d.ts +6 -0
- package/dist/components/dropdown-menu/dropdown-menu-item.js +1 -0
- package/dist/components/dropdown-menu/dropdown-menu-list.d.ts +2 -0
- package/dist/components/dropdown-menu/dropdown-menu-list.js +1 -0
- package/dist/components/dropdown-menu/dropdown-menu-portal.d.ts +2 -0
- package/dist/components/dropdown-menu/dropdown-menu-portal.js +1 -0
- package/dist/components/dropdown-menu/dropdown-menu-root.d.ts +3 -0
- package/dist/components/dropdown-menu/dropdown-menu-root.js +1 -0
- package/dist/components/dropdown-menu/dropdown-menu-trigger.d.ts +2 -0
- package/dist/components/dropdown-menu/dropdown-menu-trigger.js +1 -0
- package/dist/components/dropdown-menu/index.d.ts +6 -0
- package/dist/components/dropdown-menu/index.js +1 -0
- package/dist/components/full-calendar/calendar-add-event.d.ts +2 -5
- package/dist/components/full-calendar/calendar-body.d.ts +2 -6
- package/dist/components/full-calendar/calendar-cell.d.ts +4 -7
- package/dist/components/full-calendar/calendar-cell.js +1 -1
- package/dist/components/full-calendar/calendar-day-view.d.ts +1 -5
- package/dist/components/full-calendar/calendar-day-view.js +1 -1
- package/dist/components/full-calendar/calendar-event.d.ts +8 -13
- package/dist/components/full-calendar/calendar-event.js +1 -1
- package/dist/components/full-calendar/calendar-header.d.ts +2 -6
- package/dist/components/full-calendar/calendar-month-view.d.ts +1 -5
- package/dist/components/full-calendar/calendar-month-view.js +1 -1
- package/dist/components/full-calendar/calendar-more-events-dropdown.d.ts +3 -6
- package/dist/components/full-calendar/calendar-more-events-dropdown.js +1 -1
- package/dist/components/full-calendar/calendar-navigator.d.ts +1 -5
- package/dist/components/full-calendar/calendar-root.d.ts +11 -14
- package/dist/components/full-calendar/calendar-today-button.d.ts +2 -9
- package/dist/components/full-calendar/calendar-toggle-view.d.ts +1 -5
- package/dist/components/full-calendar/calendar-toggle-view.js +1 -1
- package/dist/components/full-calendar/calendar-view-renderer.d.ts +1 -5
- package/dist/components/full-calendar/calendar-view-renderer.js +1 -1
- package/dist/components/full-calendar/calendar-week-day.d.ts +3 -6
- package/dist/components/full-calendar/calendar-week-view.d.ts +1 -5
- package/dist/components/full-calendar/calendar-week-view.js +1 -1
- package/dist/components/full-calendar/helpers/calendar.d.ts +13 -16
- package/dist/components/full-calendar/index.d.ts +12 -18
- package/dist/components/full-calendar/index.js +1 -1
- package/dist/components/full-calendar/types/calendar-cell.d.ts +1 -3
- package/dist/components/full-calendar/types/calendar-event.d.ts +2 -4
- package/dist/components/full-calendar/types/calendar-view.d.ts +1 -3
- package/dist/components/full-calendar/types/calendar-week-hour.d.ts +1 -3
- package/dist/components/icon/index.d.ts +8 -0
- package/dist/components/list/context/list-context.d.ts +3 -7
- package/dist/components/list/index.d.ts +7 -12
- package/dist/components/list/list-content.d.ts +3 -7
- package/dist/components/list/list-header-title.d.ts +2 -9
- package/dist/components/list/list-header.d.ts +3 -7
- package/dist/components/list/list-item.d.ts +6 -10
- package/dist/components/list/list-root.d.ts +3 -7
- package/dist/components/logo/index.d.ts +5 -0
- package/dist/components/{selection-bar.d.ts → selection-bar/index.d.ts} +15 -14
- package/dist/components/sheet/index.d.ts +10 -0
- package/dist/components/sheet/index.js +1 -0
- package/dist/components/sheet/sheet-body.d.ts +1 -0
- package/dist/components/sheet/sheet-body.js +1 -0
- package/dist/components/sheet/sheet-close.d.ts +2 -0
- package/dist/components/sheet/sheet-close.js +1 -0
- package/dist/components/sheet/sheet-content.d.ts +5 -0
- package/dist/components/sheet/sheet-content.js +1 -0
- package/dist/components/sheet/sheet-footer.d.ts +1 -0
- package/dist/components/sheet/sheet-footer.js +1 -0
- package/dist/components/sheet/sheet-header.d.ts +1 -0
- package/dist/components/sheet/sheet-header.js +1 -0
- package/dist/components/sheet/sheet-overlay.d.ts +2 -0
- package/dist/components/sheet/sheet-overlay.js +1 -0
- package/dist/components/sheet/sheet-portal.d.ts +2 -0
- package/dist/components/sheet/sheet-portal.js +1 -0
- package/dist/components/sheet/sheet-root.d.ts +3 -0
- package/dist/components/sheet/sheet-root.js +1 -0
- package/dist/components/sheet/sheet-title.d.ts +2 -0
- package/dist/components/sheet/sheet-title.js +1 -0
- package/dist/components/sheet/sheet-trigger.d.ts +2 -0
- package/dist/components/sheet/sheet-trigger.js +1 -0
- package/dist/components/skeleton/index.d.ts +2 -0
- package/dist/components/status/index.d.ts +9 -0
- package/dist/components/steps/index.d.ts +6 -11
- package/dist/components/steps/step.d.ts +3 -7
- package/dist/components/steps/steps-action.d.ts +5 -11
- package/dist/components/steps/steps-content.d.ts +2 -6
- package/dist/components/steps/steps-context.d.ts +6 -11
- package/dist/components/steps/steps-navigation.d.ts +2 -6
- package/dist/components/steps/steps-root.d.ts +3 -7
- package/dist/components/table/index.d.ts +8 -9
- package/dist/components/table/table-body.d.ts +1 -5
- package/dist/components/table/table-cell.d.ts +1 -5
- package/dist/components/table/table-footer.d.ts +1 -5
- package/dist/components/table/table-head.d.ts +2 -6
- package/dist/components/table/table-header.d.ts +1 -5
- package/dist/components/table/table-row.d.ts +2 -6
- package/dist/components/table/table-sort.d.ts +2 -6
- package/dist/components/table/table.d.ts +1 -5
- package/dist/components/tabs/index.d.ts +4 -0
- package/dist/components/tabs/index.js +1 -0
- package/dist/components/tabs/tabs-content.d.ts +2 -0
- package/dist/components/tabs/tabs-content.js +1 -0
- package/dist/components/tabs/tabs-list.d.ts +3 -0
- package/dist/components/tabs/tabs-list.js +1 -0
- package/dist/components/tabs/tabs-root.d.ts +3 -0
- package/dist/components/tabs/tabs-root.js +1 -0
- package/dist/components/tabs/tabs-styles.d.ts +40 -0
- package/dist/components/tabs/tabs-styles.js +1 -0
- package/dist/components/tabs/tabs-trigger.d.ts +5 -0
- package/dist/components/tabs/tabs-trigger.js +1 -0
- package/dist/components/tag/index.d.ts +4 -0
- package/dist/components/tag/index.js +1 -0
- package/dist/components/tag/tag-close.d.ts +5 -0
- package/dist/components/tag/tag-close.js +1 -0
- package/dist/components/tag/tag-icon.d.ts +3 -0
- package/dist/components/tag/tag-icon.js +1 -0
- package/dist/components/tag/tag-root.d.ts +9 -0
- package/dist/components/tag/tag-root.js +1 -0
- package/dist/components/tag/tag-text.d.ts +3 -0
- package/dist/components/tag/tag-text.js +1 -0
- package/dist/components/toast/index.d.ts +24 -0
- package/dist/components/{toast.js → toast/index.js} +1 -1
- package/dist/components/tooltip/index.d.ts +3 -0
- package/dist/components/tooltip/index.js +1 -0
- package/dist/components/tooltip/tooltip-content.d.ts +4 -0
- package/dist/components/tooltip/tooltip-content.js +1 -0
- package/dist/components/tooltip/tooltip-root.d.ts +2 -0
- package/dist/components/tooltip/tooltip-root.js +1 -0
- package/dist/components/tooltip/tooltip-trigger.d.ts +2 -0
- package/dist/components/tooltip/tooltip-trigger.js +1 -0
- package/dist/components/typography/index.d.ts +12 -0
- package/dist/components/{upload.d.ts → upload/index.d.ts} +20 -17
- package/dist/components/{upload.js → upload/index.js} +1 -1
- package/dist/hooks/index.d.ts +1 -7
- package/dist/hooks/use-os.d.ts +5 -0
- package/dist/index.css +2 -2
- package/dist/resources/icons.d.ts +2 -0
- package/dist/resources/icons.js +1 -0
- package/dist/resources/input-mask.d.ts +3 -0
- package/dist/resources/input-mask.js +1 -0
- package/dist/resources/logo/horizontal.d.ts +9 -0
- package/dist/resources/logo/horizontal.js +1 -0
- package/dist/resources/logo/icon.d.ts +9 -0
- package/dist/resources/logo/icon.js +1 -0
- package/dist/resources/logo/index.d.ts +7 -0
- package/dist/resources/logo/index.js +1 -0
- package/dist/resources/logo/vertical.d.ts +9 -0
- package/dist/resources/logo/vertical.js +1 -0
- package/package.json +44 -57
- package/dist/components/accordion.d.ts +0 -54
- package/dist/components/accordion.js +0 -1
- package/dist/components/avatar-group.d.ts +0 -34
- package/dist/components/avatar-group.js +0 -1
- package/dist/components/avatar.d.ts +0 -11
- package/dist/components/avatar.js +0 -1
- package/dist/components/badge.d.ts +0 -13
- package/dist/components/breadcrumb.d.ts +0 -20
- package/dist/components/breadcrumb.js +0 -1
- package/dist/components/chip.d.ts +0 -27
- package/dist/components/chip.js +0 -1
- package/dist/components/collapsible.d.ts +0 -8
- package/dist/components/collapsible.js +0 -1
- package/dist/components/controls/date-picker.d.ts +0 -86
- package/dist/components/controls/date-picker.js +0 -1
- package/dist/components/dialog.d.ts +0 -51
- package/dist/components/dialog.js +0 -1
- package/dist/components/divider.d.ts +0 -7
- package/dist/components/dropdown-menu.d.ts +0 -25
- package/dist/components/dropdown-menu.js +0 -1
- package/dist/components/icon.d.ts +0 -12
- package/dist/components/logo.d.ts +0 -10
- package/dist/components/sheet.d.ts +0 -19
- package/dist/components/sheet.js +0 -1
- package/dist/components/skeleton.d.ts +0 -6
- package/dist/components/status.d.ts +0 -14
- package/dist/components/tabs.d.ts +0 -14
- package/dist/components/tabs.js +0 -1
- package/dist/components/tag.d.ts +0 -21
- package/dist/components/tag.js +0 -1
- package/dist/components/toast.d.ts +0 -27
- package/dist/components/tooltip.d.ts +0 -11
- package/dist/components/tooltip.js +0 -1
- package/dist/components/typography.d.ts +0 -17
- package/dist/icons-C-hGI45d.d.ts +0 -4
- package/dist/index.d.ts +0 -2
- package/dist/input-mask-DhbtCxF7.d.ts +0 -3
- /package/dist/components/{badge.js → badge/index.js} +0 -0
- /package/dist/components/{divider.js → divider/index.js} +0 -0
- /package/dist/components/{icon.js → icon/index.js} +0 -0
- /package/dist/components/{logo.js → logo/index.js} +0 -0
- /package/dist/components/{selection-bar.js → selection-bar/index.js} +0 -0
- /package/dist/components/{skeleton.js → skeleton/index.js} +0 -0
- /package/dist/components/{status.js → status/index.js} +0 -0
- /package/dist/components/{typography.js → typography/index.js} +0 -0
|
@@ -1,9 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import 'react';
|
|
4
|
-
import 'class-variance-authority/types';
|
|
5
|
-
import '@xjur-ui/util';
|
|
6
|
-
|
|
7
|
-
declare function ListHeaderTitle({ variant, size, weight, className, ...props }: TypographyProps): react_jsx_runtime.JSX.Element;
|
|
8
|
-
|
|
9
|
-
export { ListHeaderTitle };
|
|
1
|
+
import { type TypographyProps } from '../typography';
|
|
2
|
+
export declare function ListHeaderTitle({ variant, size, weight, className, ...props }: TypographyProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
declare function ListHeader({ className, asChild, ...props }: ComponentProps<'div'> & {
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
export declare function ListHeader({ className, asChild, ...props }: ComponentProps<'div'> & {
|
|
5
3
|
asChild?: boolean;
|
|
6
|
-
}):
|
|
7
|
-
|
|
8
|
-
export { ListHeader };
|
|
4
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import { ClassVariantProps } from '@xjur-ui/util';
|
|
4
|
-
import { ComponentProps } from 'react';
|
|
5
|
-
|
|
1
|
+
import { type ClassVariantProps } from '@xjur-ui/util';
|
|
2
|
+
import type { ComponentProps } from 'react';
|
|
6
3
|
declare const variants: (props?: ({
|
|
7
4
|
size?: "md" | "lg" | null | undefined;
|
|
8
5
|
isActive?: boolean | null | undefined;
|
|
9
|
-
} &
|
|
10
|
-
declare function ListItem({ className, size, isActive, asChild, ...props }: ComponentProps<'li'> & ClassVariantProps<typeof variants> & {
|
|
6
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
|
+
export declare function ListItem({ className, size, isActive, asChild, ...props }: ComponentProps<'li'> & ClassVariantProps<typeof variants> & {
|
|
11
8
|
asChild?: boolean;
|
|
12
|
-
}):
|
|
13
|
-
|
|
14
|
-
export { ListItem };
|
|
9
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
declare function ListRoot({ className, asChild, children, virtualized, itemCount, estimateSize, overscan, ...props }: ComponentProps<'div'> & {
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
export declare function ListRoot({ className, asChild, children, virtualized, itemCount, estimateSize, overscan, ...props }: ComponentProps<'div'> & {
|
|
5
3
|
asChild?: boolean;
|
|
6
4
|
virtualized?: boolean;
|
|
7
5
|
itemCount?: number;
|
|
8
6
|
estimateSize?: (index: number) => number;
|
|
9
7
|
overscan?: number;
|
|
10
|
-
}):
|
|
11
|
-
|
|
12
|
-
export { ListRoot };
|
|
8
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export interface LogoProps {
|
|
2
|
+
mode?: 'horizontal' | 'vertical' | 'icon';
|
|
3
|
+
variant?: 'colorful' | 'orange' | 'purple' | 'white' | 'gray';
|
|
4
|
+
}
|
|
5
|
+
export declare const Logo: import("react").MemoExoticComponent<({ mode, variant }: LogoProps) => import("react/jsx-runtime").JSX.Element>;
|
|
@@ -1,15 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import { ClassVariantProps } from '@xjur-ui/util';
|
|
5
|
-
import { I as IconType } from '../icons-C-hGI45d.js';
|
|
6
|
-
|
|
1
|
+
import type { ComponentProps, ReactNode } from 'react';
|
|
2
|
+
import { type ClassVariantProps } from '@xjur-ui/util';
|
|
3
|
+
import { type IconType } from '../icon';
|
|
7
4
|
declare const selectionBarVariants: (props?: ({
|
|
8
5
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
9
6
|
variant?: "warning" | "primary" | "secondary" | "neutral" | "success" | "destructive" | "outline" | null | undefined;
|
|
10
7
|
position?: "fixed" | "absolute" | "relative" | "sticky" | null | undefined;
|
|
11
|
-
} &
|
|
12
|
-
interface SelectionAction {
|
|
8
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
9
|
+
export interface SelectionAction {
|
|
13
10
|
id: string;
|
|
14
11
|
label?: string;
|
|
15
12
|
icon: IconType;
|
|
@@ -26,7 +23,7 @@ interface SelectionBarProps extends Omit<ComponentProps<'div'>, 'onClose'>, Clas
|
|
|
26
23
|
selectedText?: string;
|
|
27
24
|
className?: string;
|
|
28
25
|
}
|
|
29
|
-
declare function SelectionBar({ selectedCount, onClose, actions, showCloseButton, selectedText, size, variant, position, className, ...props }: SelectionBarProps):
|
|
26
|
+
declare function SelectionBar({ selectedCount, onClose, actions, showCloseButton, selectedText, size, variant, position, className, ...props }: SelectionBarProps): import("react/jsx-runtime").JSX.Element | null;
|
|
30
27
|
interface SelectionBarContextType {
|
|
31
28
|
selectedItems: Set<string>;
|
|
32
29
|
toggleSelection: (id: string) => void;
|
|
@@ -39,19 +36,23 @@ interface SelectionBarProviderProps {
|
|
|
39
36
|
children: ReactNode;
|
|
40
37
|
onSelectionChange?: (selectedIds: string[]) => void;
|
|
41
38
|
}
|
|
42
|
-
declare function SelectionBarProvider({ children, onSelectionChange }: SelectionBarProviderProps):
|
|
39
|
+
declare function SelectionBarProvider({ children, onSelectionChange }: SelectionBarProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
43
40
|
declare function useSelectionBar(): SelectionBarContextType;
|
|
44
41
|
interface SelectionBarContainerProps extends Omit<SelectionBarProps, 'selectedCount' | 'onClose'> {
|
|
45
42
|
showCloseButton?: boolean;
|
|
46
43
|
closeButtonText?: string;
|
|
47
44
|
selectedText?: string;
|
|
48
45
|
}
|
|
49
|
-
declare function SelectionBarContainer({ actions, showCloseButton, selectedText, ...props }: SelectionBarContainerProps):
|
|
50
|
-
declare const SelectionBarComponents: {
|
|
46
|
+
declare function SelectionBarContainer({ actions, showCloseButton, selectedText, ...props }: SelectionBarContainerProps): import("react/jsx-runtime").JSX.Element;
|
|
47
|
+
export declare const SelectionBarComponents: {
|
|
51
48
|
Root: typeof SelectionBar;
|
|
52
49
|
Provider: typeof SelectionBarProvider;
|
|
53
50
|
Container: typeof SelectionBarContainer;
|
|
54
51
|
useSelectionBar: typeof useSelectionBar;
|
|
55
52
|
};
|
|
56
|
-
|
|
57
|
-
export {
|
|
53
|
+
export { SelectionBar };
|
|
54
|
+
export { SelectionBarProvider };
|
|
55
|
+
export { SelectionBarContainer };
|
|
56
|
+
export { useSelectionBar };
|
|
57
|
+
export { selectionBarVariants };
|
|
58
|
+
export type { SelectionBarProps, SelectionBarProviderProps, SelectionBarContainerProps };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { SheetRoot } from './sheet-root';
|
|
2
|
+
export { SheetContent } from './sheet-content';
|
|
3
|
+
export { SheetTrigger } from './sheet-trigger';
|
|
4
|
+
export { SheetTitle } from './sheet-title';
|
|
5
|
+
export { SheetHeader } from './sheet-header';
|
|
6
|
+
export { SheetClose } from './sheet-close';
|
|
7
|
+
export { SheetFooter } from './sheet-footer';
|
|
8
|
+
export { SheetBody } from './sheet-body';
|
|
9
|
+
export { SheetPortal } from './sheet-portal';
|
|
10
|
+
export { SheetOverlay } from './sheet-overlay';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"react";import*as p from"@radix-ui/react-dialog";import{jsx as g}from"react/jsx-runtime";function b({...e}){return g(p.Root,{"data-slot":"sheet",...e})}import*as h from"@radix-ui/react-dialog";import{tv as w}from"@xjur-ui/util";import*as d from"@radix-ui/react-dialog";import{jsx as x}from"react/jsx-runtime";function s({...e}){return x(d.Portal,{"data-slot":"sheet-portal",...e})}import*as m from"@radix-ui/react-dialog";import{cx as P}from"@xjur-ui/util";import{jsx as S}from"react/jsx-runtime";function n({className:e,...t}){return S(m.Overlay,{className:P("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50",e),"data-slot":"sheet-overlay",...t})}import{jsx as c,jsxs as k}from"react/jsx-runtime";function C({className:e,children:t,side:r="right",overlay:o=!1,...a}){let i=w({base:["border-border-layer-2 bg-layer-2-idle shadow-elevation-2 fixed z-50 flex flex-col gap-medium","data-[state=open]:animate-in data-[state=closed]:animate-out transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500"],variants:{side:{right:"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full border-l sm:max-w-sm",left:"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full border-r sm:max-w-sm",top:"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",bottom:"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t"}},defaultVariants:{side:"right"}});return k(s,{children:[o&&c(n,{}),c(h.Content,{className:i({side:r,className:e}),"data-slot":"sheet-content",...a,children:t})]})}import*as f from"@radix-ui/react-dialog";import{jsx as z}from"react/jsx-runtime";function R({...e}){return z(f.Trigger,{"data-slot":"sheet-trigger",...e})}import{cx as T}from"@xjur-ui/util";import*as v from"@radix-ui/react-dialog";import{jsx as N}from"react/jsx-runtime";function I({className:e,...t}){return N(v.Title,{className:T("text-size-title-lg font-normal",e),"data-slot":"sheet-title",...t})}import{cx as V}from"@xjur-ui/util";import{jsx as O}from"react/jsx-runtime";function B({className:e,...t}){return O("div",{className:V("py-large px-large-2x border-b-border-layer-2 border-b",e),"data-slot":"sheet-header",...t})}import*as u from"@radix-ui/react-dialog";import{Slot as F}from"@radix-ui/react-slot";import{cva as q,cx as H}from"@xjur-ui/util";import{jsx as A}from"react/jsx-runtime";var L=q(["outline-none inline-flex items-center justify-center rounded-circle gap-small cursor-pointer disabled:opacity-38 disabled:pointer-events-none transition-colors"],{variants:{size:{md:"py-small_1x-alt px-medium text-size-body-md",sm:"py-small-1x px-small text-size-label-sm",icon_md:"p-small text-size-body-md h-large-4x w-large-4x",icon_sm:"p-small-1x text-size-label-sm h-large-2x w-large-2x"},variant:{primary:"",secondary:"",tertiary:"",destructive:"",outlined:"bg-layer-2-idle border border-border-layer-2 hover:bg-layer-2-hover active:bg-layer-2-pressed"},appearance:{solid:"",ghost:"bg-transparent"}},compoundVariants:[{variant:"primary",appearance:"solid",class:"bg-primary-idle text-neutral-label hover:bg-primary-hover active:bg-primary-pressed"},{variant:"primary",appearance:"ghost",class:"text-primary-idle hover:bg-primary-alt-idle active:bg-primary-alt-pressed"},{variant:"secondary",appearance:"solid",class:"bg-layer-1-hover text-neutral-dark hover:bg-layer-1-pressed active:bg-layer-1-active"},{variant:"secondary",appearance:"ghost",class:"hover:bg-layer-1-hover active:bg-layer-1-pressed"},{variant:"tertiary",appearance:"solid",class:"bg-layer-2-hover text-neutral-dark hover:bg-layer-2-pressed active:bg-layer-2-active"},{variant:"tertiary",appearance:"ghost",class:"hover:bg-layer-2-hover active:bg-layer-2-pressed"},{variant:"destructive",appearance:"solid",class:"bg-danger-idle text-neutral-label hover:bg-danger-hover active:bg-danger-pressed"},{variant:"destructive",appearance:"ghost",class:"text-danger-label-idle hover:bg-danger-alt-idle active:bg-danger-alt-pressed"}],defaultVariants:{size:"md",variant:"primary",appearance:"solid"}});function _({asChild:e,className:t,variant:r="primary",size:o="md",appearance:a="solid",...i}){return A(e?F:"button",{className:H(L({variant:r,appearance:a,size:o}),t),...i})}import{cx as D}from"@xjur-ui/util";import{jsx as G}from"react/jsx-runtime";function y({className:e,filled:t=!1,name:r,...o}){return G("span",{...o,className:D("material-symbols-outlined","text-size-body-lg select-none",e),style:{fontVariationSettings:`'FILL' ${t?1:0}, 'wght' 600, 'GRAD' 0, 'opsz' 20`,...o.style},children:r})}import{jsx as l}from"react/jsx-runtime";function $({children:e=l(_,{appearance:"ghost",size:"icon_md",variant:"tertiary",children:l(y,{className:"text-icon-neutral-3",name:"close"})}),...t}){return l(u.Close,{"data-slot":"sheet-close",...t,children:e})}import{cx as E}from"@xjur-ui/util";import{jsx as K}from"react/jsx-runtime";function J({className:e,...t}){return K("div",{className:E("py-large px-large-2x border-t-border-layer-2 mt-auto border-t",e),"data-slot":"sheet-footer",...t})}import{cx as M}from"@xjur-ui/util";import{jsx as U}from"react/jsx-runtime";function Q({className:e,...t}){return U("div",{className:M("px-large-2x h-full",e),...t})}export{Q as SheetBody,$ as SheetClose,C as SheetContent,J as SheetFooter,B as SheetHeader,n as SheetOverlay,s as SheetPortal,b as SheetRoot,I as SheetTitle,R as SheetTrigger};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function SheetBody({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{cx as p}from"@xjur-ui/util";import{jsx as r}from"react/jsx-runtime";function l({className:o,...e}){return r("div",{className:p("px-large-2x h-full",o),...e})}export{l as SheetBody};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as n from"@radix-ui/react-dialog";import{Slot as c}from"@radix-ui/react-slot";import{cva as d,cx as m}from"@xjur-ui/util";import{jsx as y}from"react/jsx-runtime";var _=d(["outline-none inline-flex items-center justify-center rounded-circle gap-small cursor-pointer disabled:opacity-38 disabled:pointer-events-none transition-colors"],{variants:{size:{md:"py-small_1x-alt px-medium text-size-body-md",sm:"py-small-1x px-small text-size-label-sm",icon_md:"p-small text-size-body-md h-large-4x w-large-4x",icon_sm:"p-small-1x text-size-label-sm h-large-2x w-large-2x"},variant:{primary:"",secondary:"",tertiary:"",destructive:"",outlined:"bg-layer-2-idle border border-border-layer-2 hover:bg-layer-2-hover active:bg-layer-2-pressed"},appearance:{solid:"",ghost:"bg-transparent"}},compoundVariants:[{variant:"primary",appearance:"solid",class:"bg-primary-idle text-neutral-label hover:bg-primary-hover active:bg-primary-pressed"},{variant:"primary",appearance:"ghost",class:"text-primary-idle hover:bg-primary-alt-idle active:bg-primary-alt-pressed"},{variant:"secondary",appearance:"solid",class:"bg-layer-1-hover text-neutral-dark hover:bg-layer-1-pressed active:bg-layer-1-active"},{variant:"secondary",appearance:"ghost",class:"hover:bg-layer-1-hover active:bg-layer-1-pressed"},{variant:"tertiary",appearance:"solid",class:"bg-layer-2-hover text-neutral-dark hover:bg-layer-2-pressed active:bg-layer-2-active"},{variant:"tertiary",appearance:"ghost",class:"hover:bg-layer-2-hover active:bg-layer-2-pressed"},{variant:"destructive",appearance:"solid",class:"bg-danger-idle text-neutral-label hover:bg-danger-hover active:bg-danger-pressed"},{variant:"destructive",appearance:"ghost",class:"text-danger-label-idle hover:bg-danger-alt-idle active:bg-danger-alt-pressed"}],defaultVariants:{size:"md",variant:"primary",appearance:"solid"}});function i({asChild:e,className:r,variant:t="primary",size:a="md",appearance:l="solid",...p}){return y(e?c:"button",{className:m(_({variant:t,appearance:l,size:a}),r),...p})}import{cx as b}from"@xjur-ui/util";import{jsx as v}from"react/jsx-runtime";function s({className:e,filled:r=!1,name:t,...a}){return v("span",{...a,className:b("material-symbols-outlined","text-size-body-lg select-none",e),style:{fontVariationSettings:`'FILL' ${r?1:0}, 'wght' 600, 'GRAD' 0, 'opsz' 20`,...a.style},children:t})}import{jsx as o}from"react/jsx-runtime";function B({children:e=o(i,{appearance:"ghost",size:"icon_md",variant:"tertiary",children:o(s,{className:"text-icon-neutral-3",name:"close"})}),...r}){return o(n.Close,{"data-slot":"sheet-close",...r,children:e})}export{B as SheetClose};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as SheetPrimitive from '@radix-ui/react-dialog';
|
|
2
|
+
export declare function SheetContent({ className, children, side, overlay, ...props }: React.ComponentProps<typeof SheetPrimitive.Content> & {
|
|
3
|
+
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
4
|
+
overlay?: boolean;
|
|
5
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as n from"@radix-ui/react-dialog";import{tv as v}from"@xjur-ui/util";import*as o from"@radix-ui/react-dialog";import{jsx as f}from"react/jsx-runtime";function a({...t}){return f(o.Portal,{"data-slot":"sheet-portal",...t})}import*as i from"@radix-ui/react-dialog";import{cx as h}from"@xjur-ui/util";import{jsx as u}from"react/jsx-runtime";function r({className:t,...e}){return u(i.Overlay,{className:h("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50",t),"data-slot":"sheet-overlay",...e})}import{jsx as s,jsxs as c}from"react/jsx-runtime";function w({className:t,children:e,side:d="right",overlay:l=!1,...m}){let p=v({base:["border-border-layer-2 bg-layer-2-idle shadow-elevation-2 fixed z-50 flex flex-col gap-medium","data-[state=open]:animate-in data-[state=closed]:animate-out transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500"],variants:{side:{right:"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full border-l sm:max-w-sm",left:"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full border-r sm:max-w-sm",top:"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",bottom:"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t"}},defaultVariants:{side:"right"}});return c(a,{children:[l&&s(r,{}),s(n.Content,{className:p({side:d,className:t}),"data-slot":"sheet-content",...m,children:e})]})}export{w as SheetContent};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function SheetFooter({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{cx as r}from"@xjur-ui/util";import{jsx as t}from"react/jsx-runtime";function d({className:o,...e}){return t("div",{className:r("py-large px-large-2x border-t-border-layer-2 mt-auto border-t",o),"data-slot":"sheet-footer",...e})}export{d as SheetFooter};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function SheetHeader({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{cx as o}from"@xjur-ui/util";import{jsx as a}from"react/jsx-runtime";function t({className:e,...r}){return a("div",{className:o("py-large px-large-2x border-b-border-layer-2 border-b",e),"data-slot":"sheet-header",...r})}export{t as SheetHeader};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"@radix-ui/react-dialog";import{cx as o}from"@xjur-ui/util";import{jsx as i}from"react/jsx-runtime";function s({className:t,...a}){return i(e.Overlay,{className:o("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50",t),"data-slot":"sheet-overlay",...a})}export{s as SheetOverlay};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as t from"@radix-ui/react-dialog";import{jsx as o}from"react/jsx-runtime";function r({...e}){return o(t.Portal,{"data-slot":"sheet-portal",...e})}export{r as SheetPortal};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"react";import*as t from"@radix-ui/react-dialog";import{jsx as o}from"react/jsx-runtime";function r({...e}){return o(t.Root,{"data-slot":"sheet",...e})}export{r as SheetRoot};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{cx as o}from"@xjur-ui/util";import*as t from"@radix-ui/react-dialog";import{jsx as r}from"react/jsx-runtime";function m({className:e,...i}){return r(t.Title,{className:o("text-size-title-lg font-normal",e),"data-slot":"sheet-title",...i})}export{m as SheetTitle};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"@radix-ui/react-dialog";import{jsx as r}from"react/jsx-runtime";function i({...t}){return r(e.Trigger,{"data-slot":"sheet-trigger",...t})}export{i as SheetTrigger};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
import { type ClassVariantProps } from '@xjur-ui/util';
|
|
3
|
+
export declare const statusVariants: (props?: ({
|
|
4
|
+
variant?: "warning" | "neutral" | "success" | "danger" | null | undefined;
|
|
5
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
|
+
export interface StatusProps extends ComponentProps<'div'>, ClassVariantProps<typeof statusVariants> {
|
|
7
|
+
text?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare function Status({ text, variant, className, ...props }: StatusProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
import 'react/jsx-runtime';
|
|
8
|
-
import 'react';
|
|
9
|
-
import '../controls/button.js';
|
|
10
|
-
import 'class-variance-authority/types';
|
|
11
|
-
import '@xjur-ui/util';
|
|
1
|
+
export * from './steps-context';
|
|
2
|
+
export * from './steps-root';
|
|
3
|
+
export * from './steps-navigation';
|
|
4
|
+
export * from './steps-content';
|
|
5
|
+
export * from './step';
|
|
6
|
+
export * from './steps-action';
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
declare function Step({ stepIndex, className, ...props }: ComponentProps<'div'> & {
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
export declare function Step({ stepIndex, className, ...props }: ComponentProps<'div'> & {
|
|
5
3
|
stepIndex: number;
|
|
6
|
-
}):
|
|
7
|
-
|
|
8
|
-
export { Step };
|
|
4
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
import 'class-variance-authority/types';
|
|
5
|
-
import '@xjur-ui/util';
|
|
6
|
-
|
|
7
|
-
declare function NextStep({ children, type, onClick, ...props }: Omit<ComponentProps<typeof Button>, 'children'> & {
|
|
1
|
+
import { type ComponentProps } from 'react';
|
|
2
|
+
import { Button } from '../controls/button';
|
|
3
|
+
export declare function NextStep({ children, type, onClick, ...props }: Omit<ComponentProps<typeof Button>, 'children'> & {
|
|
8
4
|
children?: React.ReactNode | ((stepIndex: number) => React.ReactNode);
|
|
9
|
-
}):
|
|
10
|
-
declare function PreviousStep({ appearance, children, onClick, ...props }: ComponentProps<typeof Button>):
|
|
11
|
-
|
|
12
|
-
export { NextStep, PreviousStep };
|
|
5
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare function PreviousStep({ appearance, children, onClick, ...props }: ComponentProps<typeof Button>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
declare function Steps({ className, ...props }: ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
5
|
-
|
|
6
|
-
export { Steps };
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
export declare function Steps({ className, ...props }: ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import { ComponentProps } from 'react';
|
|
4
|
-
|
|
5
|
-
interface StepsContextValue {
|
|
1
|
+
import { type ComponentProps } from 'react';
|
|
2
|
+
export interface StepsContextValue {
|
|
6
3
|
steps: string[];
|
|
7
4
|
currentStepIndex: number;
|
|
8
5
|
isLastStep: boolean;
|
|
@@ -10,13 +7,11 @@ interface StepsContextValue {
|
|
|
10
7
|
handleNextStep: () => void;
|
|
11
8
|
handlePreviousStep: () => void;
|
|
12
9
|
}
|
|
13
|
-
declare const StepsContext:
|
|
14
|
-
declare function StepsProvider({ steps, currentStepIndex: currentStepIndexProp, onStepChange, children, className, ...props }: {
|
|
10
|
+
export declare const StepsContext: import("react").Context<StepsContextValue>;
|
|
11
|
+
export declare function StepsProvider({ steps, currentStepIndex: currentStepIndexProp, onStepChange, children, className, ...props }: {
|
|
15
12
|
steps: string[];
|
|
16
13
|
currentStepIndex?: number;
|
|
17
14
|
onStepChange?: (index: number) => void;
|
|
18
15
|
children: React.ReactNode | ((context: StepsContextValue) => React.ReactNode);
|
|
19
|
-
} & Omit<ComponentProps<'div'>, 'children'>):
|
|
20
|
-
declare function useSteps(): StepsContextValue;
|
|
21
|
-
|
|
22
|
-
export { StepsContext, type StepsContextValue, StepsProvider, useSteps };
|
|
16
|
+
} & Omit<ComponentProps<'div'>, 'children'>): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export declare function useSteps(): StepsContextValue;
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
declare function StepsNavigation({ className, ...props }: ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
5
|
-
|
|
6
|
-
export { StepsNavigation };
|
|
1
|
+
import { type ComponentProps } from 'react';
|
|
2
|
+
export declare function StepsNavigation({ className, ...props }: ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
declare function StepsRoot({ className, ...props }: ComponentProps<typeof StepsProvider>): react_jsx_runtime.JSX.Element;
|
|
6
|
-
|
|
7
|
-
export { StepsRoot };
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
import { StepsProvider } from './steps-context';
|
|
3
|
+
export declare function StepsRoot({ className, ...props }: ComponentProps<typeof StepsProvider>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
import 'react/jsx-runtime';
|
|
1
|
+
export * from './table';
|
|
2
|
+
export * from './table-body';
|
|
3
|
+
export * from './table-cell';
|
|
4
|
+
export * from './table-footer';
|
|
5
|
+
export * from './table-header';
|
|
6
|
+
export * from './table-head';
|
|
7
|
+
export * from './table-row';
|
|
8
|
+
export * from './table-sort';
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
declare function TableBody({ className, ...props }: React.ComponentProps<'tbody'>): react_jsx_runtime.JSX.Element;
|
|
4
|
-
|
|
5
|
-
export { TableBody };
|
|
1
|
+
export declare function TableBody({ className, ...props }: React.ComponentProps<'tbody'>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
declare function TableCell({ className, ...props }: React.ComponentProps<'td'>): react_jsx_runtime.JSX.Element;
|
|
4
|
-
|
|
5
|
-
export { TableCell };
|
|
1
|
+
export declare function TableCell({ className, ...props }: React.ComponentProps<'td'>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
declare function TableFooter({ className, ...props }: React.ComponentProps<'tfoot'>): react_jsx_runtime.JSX.Element;
|
|
4
|
-
|
|
5
|
-
export { TableFooter };
|
|
1
|
+
export declare function TableFooter({ className, ...props }: React.ComponentProps<'tfoot'>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
declare function TableHead({ className, ...props }: React.ComponentProps<'th'>): react_jsx_runtime.JSX.Element;
|
|
4
|
-
declare function TableHeadContent({ className, ...props }: React.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
5
|
-
|
|
6
|
-
export { TableHead, TableHeadContent };
|
|
1
|
+
export declare function TableHead({ className, ...props }: React.ComponentProps<'th'>): import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare function TableHeadContent({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
declare function TableHeader({ className, ...props }: React.ComponentProps<'thead'>): react_jsx_runtime.JSX.Element;
|
|
4
|
-
|
|
5
|
-
export { TableHeader };
|
|
1
|
+
export declare function TableHeader({ className, ...props }: React.ComponentProps<'thead'>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
declare function TableRow({ className, isSelected, ...props }: React.ComponentProps<'tr'> & {
|
|
1
|
+
export declare function TableRow({ className, isSelected, ...props }: React.ComponentProps<'tr'> & {
|
|
4
2
|
isSelected?: boolean;
|
|
5
|
-
}):
|
|
6
|
-
|
|
7
|
-
export { TableRow };
|
|
3
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
declare function TableSort({ className, sortedDirection, ...props }: React.ComponentProps<'button'> & {
|
|
1
|
+
export declare function TableSort({ className, sortedDirection, ...props }: React.ComponentProps<'button'> & {
|
|
4
2
|
sortedDirection?: 'asc' | 'desc';
|
|
5
|
-
}):
|
|
6
|
-
|
|
7
|
-
export { TableSort };
|
|
3
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
declare function Table({ className, ...props }: React.ComponentProps<'table'>): react_jsx_runtime.JSX.Element;
|
|
4
|
-
|
|
5
|
-
export { Table };
|
|
1
|
+
export declare function Table({ className, ...props }: React.ComponentProps<'table'>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"react";import*as i from"@radix-ui/react-tabs";import{jsx as p}from"react/jsx-runtime";function m(t){return p(i.Tabs,{...t})}import*as o from"@radix-ui/react-tabs";import{tv as l}from"@xjur-ui/util";var e=l({slots:{list:"flex items-center gap-0",trigger:"inline-flex items-center justify-center gap-small px-small py-small_1x-alt h-large-4x font-medium cursor-pointer transition-colors !text-size-label-md disabled:opacity-38 disabled:pointer-events-none",content:""},variants:{variant:{line:{trigger:"rounded-small-1x text-neutral-dark border-b-[3px] border-b-transparent hover:bg-layer-2-hover data-[state=active]:text-primary-active data-[state=active]:border-b-primary-active data-[state=active]:rounded-none data-[state=active]:bg-transparent"},button:{trigger:"rounded-tl-small-1x rounded-tr-small-1x rounded-bl-none rounded-br-none px-large bg-primary-idle text-neutral-label hover:bg-primary-hover data-[state=active]:bg-layer-2-idle data-[state=active]:text-primary-active"}}},defaultVariants:{variant:"button"}});import{jsx as d}from"react/jsx-runtime";function T({className:t,...r}){let{list:a}=e();return d(o.TabsList,{className:a({className:t}),...r})}import*as s from"@radix-ui/react-tabs";import{jsx as c}from"react/jsx-runtime";function v({variant:t,className:r,...a}){let{trigger:b}=e({variant:t});return c(s.TabsTrigger,{className:b({className:r}),...a})}import*as n from"@radix-ui/react-tabs";import{jsx as f}from"react/jsx-runtime";function g(t){let{content:r}=e();return f(n.TabsContent,{className:r(),...t})}export{g as TabsContent,T as TabsList,m as TabsRoot,v as TabsTrigger};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"@radix-ui/react-tabs";import{tv as n}from"@xjur-ui/util";var t=n({slots:{list:"flex items-center gap-0",trigger:"inline-flex items-center justify-center gap-small px-small py-small_1x-alt h-large-4x font-medium cursor-pointer transition-colors !text-size-label-md disabled:opacity-38 disabled:pointer-events-none",content:""},variants:{variant:{line:{trigger:"rounded-small-1x text-neutral-dark border-b-[3px] border-b-transparent hover:bg-layer-2-hover data-[state=active]:text-primary-active data-[state=active]:border-b-primary-active data-[state=active]:rounded-none data-[state=active]:bg-transparent"},button:{trigger:"rounded-tl-small-1x rounded-tr-small-1x rounded-bl-none rounded-br-none px-large bg-primary-idle text-neutral-label hover:bg-primary-hover data-[state=active]:bg-layer-2-idle data-[state=active]:text-primary-active"}}},defaultVariants:{variant:"button"}});import{jsx as i}from"react/jsx-runtime";function d(a){let{content:r}=t();return i(e.TabsContent,{className:r(),...a})}export{d as TabsContent};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"@radix-ui/react-tabs";import{tv as s}from"@xjur-ui/util";var t=s({slots:{list:"flex items-center gap-0",trigger:"inline-flex items-center justify-center gap-small px-small py-small_1x-alt h-large-4x font-medium cursor-pointer transition-colors !text-size-label-md disabled:opacity-38 disabled:pointer-events-none",content:""},variants:{variant:{line:{trigger:"rounded-small-1x text-neutral-dark border-b-[3px] border-b-transparent hover:bg-layer-2-hover data-[state=active]:text-primary-active data-[state=active]:border-b-primary-active data-[state=active]:rounded-none data-[state=active]:bg-transparent"},button:{trigger:"rounded-tl-small-1x rounded-tr-small-1x rounded-bl-none rounded-br-none px-large bg-primary-idle text-neutral-label hover:bg-primary-hover data-[state=active]:bg-layer-2-idle data-[state=active]:text-primary-active"}}},defaultVariants:{variant:"button"}});import{jsx as o}from"react/jsx-runtime";function b({className:a,...r}){let{list:i}=t();return o(e.TabsList,{className:i({className:a}),...r})}export{b as TabsList};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"react";import*as o from"@radix-ui/react-tabs";import{jsx as t}from"react/jsx-runtime";function r(i){return t(o.Tabs,{...i})}export{r as TabsRoot};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export declare const tabsStyles: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
variant: {
|
|
3
|
+
line: {
|
|
4
|
+
trigger: string;
|
|
5
|
+
};
|
|
6
|
+
button: {
|
|
7
|
+
trigger: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
}, {
|
|
11
|
+
list: string;
|
|
12
|
+
trigger: string;
|
|
13
|
+
content: string;
|
|
14
|
+
}, undefined, {
|
|
15
|
+
variant: {
|
|
16
|
+
line: {
|
|
17
|
+
trigger: string;
|
|
18
|
+
};
|
|
19
|
+
button: {
|
|
20
|
+
trigger: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
}, {
|
|
24
|
+
list: string;
|
|
25
|
+
trigger: string;
|
|
26
|
+
content: string;
|
|
27
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
28
|
+
variant: {
|
|
29
|
+
line: {
|
|
30
|
+
trigger: string;
|
|
31
|
+
};
|
|
32
|
+
button: {
|
|
33
|
+
trigger: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
}, {
|
|
37
|
+
list: string;
|
|
38
|
+
trigger: string;
|
|
39
|
+
content: string;
|
|
40
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{tv as t}from"@xjur-ui/util";var a=t({slots:{list:"flex items-center gap-0",trigger:"inline-flex items-center justify-center gap-small px-small py-small_1x-alt h-large-4x font-medium cursor-pointer transition-colors !text-size-label-md disabled:opacity-38 disabled:pointer-events-none",content:""},variants:{variant:{line:{trigger:"rounded-small-1x text-neutral-dark border-b-[3px] border-b-transparent hover:bg-layer-2-hover data-[state=active]:text-primary-active data-[state=active]:border-b-primary-active data-[state=active]:rounded-none data-[state=active]:bg-transparent"},button:{trigger:"rounded-tl-small-1x rounded-tr-small-1x rounded-bl-none rounded-br-none px-large bg-primary-idle text-neutral-label hover:bg-primary-hover data-[state=active]:bg-layer-2-idle data-[state=active]:text-primary-active"}}},defaultVariants:{variant:"button"}});export{a as tabsStyles};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
2
|
+
export interface TabsTriggerProps extends React.ComponentProps<typeof TabsPrimitive.TabsTrigger> {
|
|
3
|
+
variant?: 'line' | 'button';
|
|
4
|
+
}
|
|
5
|
+
export declare function TabsTrigger({ variant, className, ...props }: TabsTriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"@radix-ui/react-tabs";import{tv as s}from"@xjur-ui/util";var t=s({slots:{list:"flex items-center gap-0",trigger:"inline-flex items-center justify-center gap-small px-small py-small_1x-alt h-large-4x font-medium cursor-pointer transition-colors !text-size-label-md disabled:opacity-38 disabled:pointer-events-none",content:""},variants:{variant:{line:{trigger:"rounded-small-1x text-neutral-dark border-b-[3px] border-b-transparent hover:bg-layer-2-hover data-[state=active]:text-primary-active data-[state=active]:border-b-primary-active data-[state=active]:rounded-none data-[state=active]:bg-transparent"},button:{trigger:"rounded-tl-small-1x rounded-tr-small-1x rounded-bl-none rounded-br-none px-large bg-primary-idle text-neutral-label hover:bg-primary-hover data-[state=active]:bg-layer-2-idle data-[state=active]:text-primary-active"}}},defaultVariants:{variant:"button"}});import{jsx as o}from"react/jsx-runtime";function g({variant:r,className:a,...i}){let{trigger:n}=t({variant:r});return o(e.TabsTrigger,{className:n({className:a}),...i})}export{g as TabsTrigger};
|