brd-ui-kit 0.1.73 → 0.1.76
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/dist/brd-ui-kit.css +1 -1
- package/dist/calendar-B5QCV34E.cjs +2 -0
- package/dist/calendar-B5QCV34E.cjs.map +1 -0
- package/dist/calendar-Ba3kHG6w.js +3112 -0
- package/dist/calendar-Ba3kHG6w.js.map +1 -0
- package/dist/calendar-locale-BHyNJPb2.cjs +2 -0
- package/dist/calendar-locale-BHyNJPb2.cjs.map +1 -0
- package/dist/calendar-locale-DQ9wj0zF.js +592 -0
- package/dist/calendar-locale-DQ9wj0zF.js.map +1 -0
- package/dist/chart-9H_9wEfR.cjs +63 -0
- package/dist/{chart-CgVfpT_X.cjs.map → chart-9H_9wEfR.cjs.map} +1 -1
- package/dist/{chart-D15EtNmb.js → chart-DFbmMKiQ.js} +2956 -2951
- package/dist/{chart-D15EtNmb.js.map → chart-DFbmMKiQ.js.map} +1 -1
- package/dist/components/basic-chart/basic-chart.d.ts +1 -1
- package/dist/components/basic-table/basic-table.d.ts +33 -2
- package/dist/components/basic-table/index.d.ts +1 -1
- package/dist/components/data-table/data-table-actions-column.d.ts +23 -0
- package/dist/components/data-table/data-table-bulk-actions.d.ts +20 -0
- package/dist/components/data-table/data-table-column-visibility.d.ts +17 -0
- package/dist/components/data-table/data-table-editable-column.d.ts +12 -0
- package/dist/components/data-table/data-table-filter.d.ts +12 -0
- package/dist/components/data-table/data-table-row-actions-column.d.ts +53 -0
- package/dist/components/data-table/data-table-select-column.d.ts +2 -0
- package/dist/components/data-table/data-table.d.ts +2 -0
- package/dist/components/data-table/data-table.styles.d.ts +8 -0
- package/dist/components/data-table/index.d.ts +17 -0
- package/dist/components/data-table/use-data-table-editable-rows.d.ts +60 -0
- package/dist/components/data-table.d.ts +2 -0
- package/dist/components/input-field/input-field.d.ts +3 -3
- package/dist/components/input-phone/input-phone.d.ts +4 -4
- package/dist/components/popover-modal/popover-modal.d.ts +4 -4
- package/dist/components/select-field/select-field.d.ts +2 -2
- package/dist/components/textarea-field/index.d.ts +1 -1
- package/dist/components/ui/avatar/avatar.d.ts +7 -7
- package/dist/components/ui/badge/badge.d.ts +2 -2
- package/dist/components/ui/button/button.d.ts +3 -3
- package/dist/components/ui/button/button.styles.d.ts +2 -2
- package/dist/components/ui/calendar/calendar.d.ts +18 -14
- package/dist/components/ui/calendar/calendar.styles.d.ts +60 -2
- package/dist/components/ui/calendar/index.d.ts +3 -2
- package/dist/components/ui/card/card.d.ts +13 -13
- package/dist/components/ui/chart/chart.d.ts +23 -21
- package/dist/components/ui/checkbox/checkbox.d.ts +4 -4
- package/dist/components/ui/combobox/combobox.d.ts +6 -6
- package/dist/components/ui/dialog/dialog.d.ts +11 -11
- package/dist/components/ui/drawer/drawer.d.ts +11 -11
- package/dist/components/ui/dropdown-menu/dropdown-menu.d.ts +102 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu.styles.d.ts +9 -0
- package/dist/components/ui/dropdown-menu/index.d.ts +2 -0
- package/dist/components/ui/dropdown-menu.d.ts +2 -0
- package/dist/components/ui/icon/icon-presets.d.ts +5 -5
- package/dist/components/ui/icon/icon.d.ts +5 -4
- package/dist/components/ui/input/input.d.ts +2 -2
- package/dist/components/ui/input-group/input-group.d.ts +7 -7
- package/dist/components/ui/label/label.d.ts +4 -4
- package/dist/components/ui/pagination/pagination.d.ts +11 -10
- package/dist/components/ui/popover/popover.d.ts +8 -8
- package/dist/components/ui/progress/progress.d.ts +4 -4
- package/dist/components/ui/radio-group/radio-group.d.ts +7 -7
- package/dist/components/ui/select/select.d.ts +11 -11
- package/dist/components/ui/select/select.styles.d.ts +2 -2
- package/dist/components/ui/select-calendar-menu/index.d.ts +1 -0
- package/dist/components/ui/select-calendar-menu/select-calendar-menu.d.ts +33 -0
- package/dist/components/ui/select-calendar-menu.d.ts +2 -0
- package/dist/components/ui/separator/separator.d.ts +4 -4
- package/dist/components/ui/switch/switch.d.ts +4 -4
- package/dist/components/ui/table/table.d.ts +17 -17
- package/dist/components/ui/tabs/tabs.d.ts +8 -8
- package/dist/components/ui/toggle/toggle.styles.d.ts +1 -0
- package/dist/components/ui/toggle-group/toggle-group.d.ts +4 -3
- package/dist/components/ui/toggle-group/toggle-group.styles.d.ts +8 -2
- package/dist/components/ui/tooltip/tooltip.d.ts +8 -8
- package/dist/components/ui/typography/typography.d.ts +174 -174
- package/dist/components-app-pagination-app-pagination.cjs +1 -1
- package/dist/components-app-pagination-app-pagination.cjs.map +1 -1
- package/dist/components-app-pagination-app-pagination.js +46 -30
- package/dist/components-app-pagination-app-pagination.js.map +1 -1
- package/dist/components-app-pagination-app-pagination.styles.cjs +2 -2
- package/dist/components-app-pagination-app-pagination.styles.cjs.map +1 -1
- package/dist/components-app-pagination-app-pagination.styles.js +12 -12
- package/dist/components-app-pagination-app-pagination.styles.js.map +1 -1
- package/dist/components-avatar-uploader-avatar-uploader.cjs +2 -2
- package/dist/components-avatar-uploader-avatar-uploader.cjs.map +1 -1
- package/dist/components-avatar-uploader-avatar-uploader.js +37 -36
- package/dist/components-avatar-uploader-avatar-uploader.js.map +1 -1
- package/dist/components-basic-avatar-basic-avatar.cjs +2 -2
- package/dist/components-basic-avatar-basic-avatar.cjs.map +1 -1
- package/dist/components-basic-avatar-basic-avatar.js +7 -5
- package/dist/components-basic-avatar-basic-avatar.js.map +1 -1
- package/dist/components-basic-chart-basic-chart.cjs +2 -2
- package/dist/components-basic-chart-basic-chart.cjs.map +1 -1
- package/dist/components-basic-chart-basic-chart.js +106 -108
- package/dist/components-basic-chart-basic-chart.js.map +1 -1
- package/dist/components-basic-drawer-basic-drawer.cjs +1 -1
- package/dist/components-basic-drawer-basic-drawer.cjs.map +1 -1
- package/dist/components-basic-drawer-basic-drawer.js +13 -14
- package/dist/components-basic-drawer-basic-drawer.js.map +1 -1
- package/dist/components-basic-table-basic-table.cjs +2 -2
- package/dist/components-basic-table-basic-table.cjs.map +1 -1
- package/dist/components-basic-table-basic-table.js +876 -758
- package/dist/components-basic-table-basic-table.js.map +1 -1
- package/dist/components-data-table-data-table-actions-column.cjs +2 -0
- package/dist/components-data-table-data-table-actions-column.cjs.map +1 -0
- package/dist/components-data-table-data-table-actions-column.js +71 -0
- package/dist/components-data-table-data-table-actions-column.js.map +1 -0
- package/dist/components-data-table-data-table-bulk-actions.cjs +2 -0
- package/dist/components-data-table-data-table-bulk-actions.cjs.map +1 -0
- package/dist/components-data-table-data-table-bulk-actions.js +60 -0
- package/dist/components-data-table-data-table-bulk-actions.js.map +1 -0
- package/dist/components-data-table-data-table-column-visibility.cjs +3 -0
- package/dist/components-data-table-data-table-column-visibility.cjs.map +1 -0
- package/dist/components-data-table-data-table-column-visibility.js +100 -0
- package/dist/components-data-table-data-table-column-visibility.js.map +1 -0
- package/dist/components-data-table-data-table-editable-column.cjs +2 -0
- package/dist/components-data-table-data-table-editable-column.cjs.map +1 -0
- package/dist/components-data-table-data-table-editable-column.js +15 -0
- package/dist/components-data-table-data-table-editable-column.js.map +1 -0
- package/dist/components-data-table-data-table-filter.cjs +2 -0
- package/dist/components-data-table-data-table-filter.cjs.map +1 -0
- package/dist/components-data-table-data-table-filter.js +39 -0
- package/dist/components-data-table-data-table-filter.js.map +1 -0
- package/dist/components-data-table-data-table-row-actions-column.cjs +2 -0
- package/dist/components-data-table-data-table-row-actions-column.cjs.map +1 -0
- package/dist/components-data-table-data-table-row-actions-column.js +173 -0
- package/dist/components-data-table-data-table-row-actions-column.js.map +1 -0
- package/dist/components-data-table-data-table-select-column.cjs +2 -0
- package/dist/components-data-table-data-table-select-column.cjs.map +1 -0
- package/dist/components-data-table-data-table-select-column.js +44 -0
- package/dist/components-data-table-data-table-select-column.js.map +1 -0
- package/dist/components-data-table-data-table.cjs +2 -0
- package/dist/components-data-table-data-table.cjs.map +1 -0
- package/dist/components-data-table-data-table.js +37 -0
- package/dist/components-data-table-data-table.js.map +1 -0
- package/dist/components-data-table-data-table.styles.cjs +4 -0
- package/dist/components-data-table-data-table.styles.cjs.map +1 -0
- package/dist/components-data-table-data-table.styles.js +22 -0
- package/dist/components-data-table-data-table.styles.js.map +1 -0
- package/dist/components-data-table-use-data-table-editable-rows.cjs +2 -0
- package/dist/components-data-table-use-data-table-editable-rows.cjs.map +1 -0
- package/dist/components-data-table-use-data-table-editable-rows.js +154 -0
- package/dist/components-data-table-use-data-table-editable-rows.js.map +1 -0
- package/dist/components-data-table.cjs +2 -0
- package/dist/components-data-table.cjs.map +1 -0
- package/dist/components-data-table.js +21 -0
- package/dist/components-data-table.js.map +1 -0
- package/dist/components-files-uploader-files-uploader.cjs.map +1 -1
- package/dist/components-files-uploader-files-uploader.js.map +1 -1
- package/dist/components-input-contact-input-contact.cjs +1 -1
- package/dist/components-input-contact-input-contact.cjs.map +1 -1
- package/dist/components-input-contact-input-contact.js +12 -10
- package/dist/components-input-contact-input-contact.js.map +1 -1
- package/dist/components-input-field-input-field.cjs +1 -1
- package/dist/components-input-field-input-field.cjs.map +1 -1
- package/dist/components-input-field-input-field.js +18 -19
- package/dist/components-input-field-input-field.js.map +1 -1
- package/dist/components-input-password-input-password.cjs +1 -1
- package/dist/components-input-password-input-password.cjs.map +1 -1
- package/dist/components-input-password-input-password.js +8 -6
- package/dist/components-input-password-input-password.js.map +1 -1
- package/dist/components-input-phone-input-phone.cjs.map +1 -1
- package/dist/components-input-phone-input-phone.js.map +1 -1
- package/dist/components-popover-modal-popover-modal.cjs +1 -1
- package/dist/components-popover-modal-popover-modal.cjs.map +1 -1
- package/dist/components-popover-modal-popover-modal.js +53 -35
- package/dist/components-popover-modal-popover-modal.js.map +1 -1
- package/dist/components-select-field-select-field.cjs.map +1 -1
- package/dist/components-select-field-select-field.js.map +1 -1
- package/dist/components-textarea-field-textarea-field.cjs.map +1 -1
- package/dist/components-textarea-field-textarea-field.js.map +1 -1
- package/dist/components-ui-avatar-avatar.cjs +1 -1
- package/dist/components-ui-avatar-avatar.cjs.map +1 -1
- package/dist/components-ui-avatar-avatar.js +12 -13
- package/dist/components-ui-avatar-avatar.js.map +1 -1
- package/dist/components-ui-badge-badge.cjs +1 -1
- package/dist/components-ui-badge-badge.cjs.map +1 -1
- package/dist/components-ui-badge-badge.js +10 -11
- package/dist/components-ui-badge-badge.js.map +1 -1
- package/dist/components-ui-button-button.cjs +1 -1
- package/dist/components-ui-button-button.cjs.map +1 -1
- package/dist/components-ui-button-button.js +10 -11
- package/dist/components-ui-button-button.js.map +1 -1
- package/dist/components-ui-button-button.styles.cjs +18 -8
- package/dist/components-ui-button-button.styles.cjs.map +1 -1
- package/dist/components-ui-button-button.styles.js +49 -33
- package/dist/components-ui-button-button.styles.js.map +1 -1
- package/dist/components-ui-calendar-calendar.cjs +1 -12
- package/dist/components-ui-calendar-calendar.cjs.map +1 -1
- package/dist/components-ui-calendar-calendar.js +12 -3757
- package/dist/components-ui-calendar-calendar.js.map +1 -1
- package/dist/components-ui-calendar-calendar.styles.cjs +17 -13
- package/dist/components-ui-calendar-calendar.styles.cjs.map +1 -1
- package/dist/components-ui-calendar-calendar.styles.js +193 -24
- package/dist/components-ui-calendar-calendar.styles.js.map +1 -1
- package/dist/components-ui-calendar.cjs +1 -1
- package/dist/components-ui-calendar.js +3 -2
- package/dist/components-ui-calendar.js.map +1 -1
- package/dist/components-ui-card-card.cjs +1 -1
- package/dist/components-ui-card-card.cjs.map +1 -1
- package/dist/components-ui-card-card.js +10 -11
- package/dist/components-ui-card-card.js.map +1 -1
- package/dist/components-ui-card-card.styles.cjs +2 -2
- package/dist/components-ui-card-card.styles.cjs.map +1 -1
- package/dist/components-ui-card-card.styles.js +2 -2
- package/dist/components-ui-card-card.styles.js.map +1 -1
- package/dist/components-ui-chart-chart.cjs +1 -1
- package/dist/components-ui-chart-chart.js +1 -1
- package/dist/components-ui-chart.cjs +1 -1
- package/dist/components-ui-chart.js +1 -1
- package/dist/components-ui-checkbox-checkbox.cjs +1 -1
- package/dist/components-ui-checkbox-checkbox.cjs.map +1 -1
- package/dist/components-ui-checkbox-checkbox.js +11 -12
- package/dist/components-ui-checkbox-checkbox.js.map +1 -1
- package/dist/components-ui-combobox-combobox.cjs +5 -5
- package/dist/components-ui-combobox-combobox.cjs.map +1 -1
- package/dist/components-ui-combobox-combobox.js +1477 -1479
- package/dist/components-ui-combobox-combobox.js.map +1 -1
- package/dist/components-ui-dialog-dialog.cjs +1 -1
- package/dist/components-ui-dialog-dialog.cjs.map +1 -1
- package/dist/components-ui-dialog-dialog.js +4 -5
- package/dist/components-ui-dialog-dialog.js.map +1 -1
- package/dist/components-ui-drawer-drawer.cjs +2 -2
- package/dist/components-ui-drawer-drawer.cjs.map +1 -1
- package/dist/components-ui-drawer-drawer.js +16 -19
- package/dist/components-ui-drawer-drawer.js.map +1 -1
- package/dist/components-ui-dropdown-menu-dropdown-menu.cjs +3 -0
- package/dist/components-ui-dropdown-menu-dropdown-menu.cjs.map +1 -0
- package/dist/components-ui-dropdown-menu-dropdown-menu.js +292 -0
- package/dist/components-ui-dropdown-menu-dropdown-menu.js.map +1 -0
- package/dist/components-ui-dropdown-menu-dropdown-menu.styles.cjs +29 -0
- package/dist/components-ui-dropdown-menu-dropdown-menu.styles.cjs.map +1 -0
- package/dist/components-ui-dropdown-menu-dropdown-menu.styles.js +43 -0
- package/dist/components-ui-dropdown-menu-dropdown-menu.styles.js.map +1 -0
- package/dist/components-ui-dropdown-menu.cjs +2 -0
- package/dist/components-ui-dropdown-menu.cjs.map +1 -0
- package/dist/components-ui-dropdown-menu.js +17 -0
- package/dist/components-ui-dropdown-menu.js.map +1 -0
- package/dist/components-ui-field-field.cjs +1 -1
- package/dist/components-ui-field-field.cjs.map +1 -1
- package/dist/components-ui-field-field.js +14 -14
- package/dist/components-ui-field-field.js.map +1 -1
- package/dist/components-ui-icon-icon-presets.cjs +1 -1
- package/dist/components-ui-icon-icon-presets.cjs.map +1 -1
- package/dist/components-ui-icon-icon-presets.js +3 -3
- package/dist/components-ui-icon-icon-presets.js.map +1 -1
- package/dist/components-ui-icon-icon.cjs +1 -1
- package/dist/components-ui-icon-icon.cjs.map +1 -1
- package/dist/components-ui-icon-icon.js +60 -62713
- package/dist/components-ui-icon-icon.js.map +1 -1
- package/dist/components-ui-input-group-input-group.cjs +1 -1
- package/dist/components-ui-input-group-input-group.cjs.map +1 -1
- package/dist/components-ui-input-group-input-group.js +12 -13
- package/dist/components-ui-input-group-input-group.js.map +1 -1
- package/dist/components-ui-input-input.cjs +1 -1
- package/dist/components-ui-input-input.cjs.map +1 -1
- package/dist/components-ui-input-input.js +2 -3
- package/dist/components-ui-input-input.js.map +1 -1
- package/dist/components-ui-label-label.cjs +1 -1
- package/dist/components-ui-label-label.cjs.map +1 -1
- package/dist/components-ui-label-label.js +1 -1
- package/dist/components-ui-label-label.js.map +1 -1
- package/dist/components-ui-pagination-pagination.cjs +2 -1
- package/dist/components-ui-pagination-pagination.cjs.map +1 -1
- package/dist/components-ui-pagination-pagination.js +93 -63
- package/dist/components-ui-pagination-pagination.js.map +1 -1
- package/dist/components-ui-popover-popover.cjs +1 -1
- package/dist/components-ui-popover-popover.cjs.map +1 -1
- package/dist/components-ui-popover-popover.js +36 -31
- package/dist/components-ui-popover-popover.js.map +1 -1
- package/dist/components-ui-popover-popover.styles.cjs.map +1 -1
- package/dist/components-ui-popover-popover.styles.js.map +1 -1
- package/dist/components-ui-progress-progress.cjs +1 -1
- package/dist/components-ui-progress-progress.cjs.map +1 -1
- package/dist/components-ui-progress-progress.js +1 -1
- package/dist/components-ui-progress-progress.js.map +1 -1
- package/dist/components-ui-radio-group-radio-group.cjs +1 -1
- package/dist/components-ui-radio-group-radio-group.cjs.map +1 -1
- package/dist/components-ui-radio-group-radio-group.js +0 -1
- package/dist/components-ui-radio-group-radio-group.js.map +1 -1
- package/dist/components-ui-select-calendar-menu-select-calendar-menu.cjs +2 -0
- package/dist/components-ui-select-calendar-menu-select-calendar-menu.cjs.map +1 -0
- package/dist/components-ui-select-calendar-menu-select-calendar-menu.js +144 -0
- package/dist/components-ui-select-calendar-menu-select-calendar-menu.js.map +1 -0
- package/dist/components-ui-select-calendar-menu.cjs +2 -0
- package/dist/components-ui-select-calendar-menu.cjs.map +1 -0
- package/dist/components-ui-select-calendar-menu.js +5 -0
- package/dist/components-ui-select-calendar-menu.js.map +1 -0
- package/dist/components-ui-select-select.cjs +1 -1
- package/dist/components-ui-select-select.cjs.map +1 -1
- package/dist/components-ui-select-select.js +21 -22
- package/dist/components-ui-select-select.js.map +1 -1
- package/dist/components-ui-select-select.styles.cjs +2 -2
- package/dist/components-ui-select-select.styles.cjs.map +1 -1
- package/dist/components-ui-select-select.styles.js +5 -5
- package/dist/components-ui-select-select.styles.js.map +1 -1
- package/dist/components-ui-separator-separator.cjs +1 -1
- package/dist/components-ui-separator-separator.cjs.map +1 -1
- package/dist/components-ui-separator-separator.js +11 -12
- package/dist/components-ui-separator-separator.js.map +1 -1
- package/dist/components-ui-sonner-sonner.styles.cjs.map +1 -1
- package/dist/components-ui-sonner-sonner.styles.js.map +1 -1
- package/dist/components-ui-switch-switch.cjs +1 -1
- package/dist/components-ui-switch-switch.cjs.map +1 -1
- package/dist/components-ui-switch-switch.js +6 -7
- package/dist/components-ui-switch-switch.js.map +1 -1
- package/dist/components-ui-table-table.cjs +1 -1
- package/dist/components-ui-table-table.cjs.map +1 -1
- package/dist/components-ui-table-table.js +0 -1
- package/dist/components-ui-table-table.js.map +1 -1
- package/dist/components-ui-tabs-tabs.cjs +2 -2
- package/dist/components-ui-tabs-tabs.cjs.map +1 -1
- package/dist/components-ui-tabs-tabs.js +16 -16
- package/dist/components-ui-tabs-tabs.js.map +1 -1
- package/dist/components-ui-toggle-group-toggle-group.cjs +1 -1
- package/dist/components-ui-toggle-group-toggle-group.cjs.map +1 -1
- package/dist/components-ui-toggle-group-toggle-group.js +52 -42
- package/dist/components-ui-toggle-group-toggle-group.js.map +1 -1
- package/dist/components-ui-toggle-group-toggle-group.styles.cjs +1 -17
- package/dist/components-ui-toggle-group-toggle-group.styles.cjs.map +1 -1
- package/dist/components-ui-toggle-group-toggle-group.styles.js +53 -30
- package/dist/components-ui-toggle-group-toggle-group.styles.js.map +1 -1
- package/dist/components-ui-toggle-toggle.styles.cjs +6 -11
- package/dist/components-ui-toggle-toggle.styles.cjs.map +1 -1
- package/dist/components-ui-toggle-toggle.styles.js +16 -18
- package/dist/components-ui-toggle-toggle.styles.js.map +1 -1
- package/dist/components-ui-tooltip-tooltip.cjs +1 -1
- package/dist/components-ui-tooltip-tooltip.cjs.map +1 -1
- package/dist/components-ui-tooltip-tooltip.js +9 -10
- package/dist/components-ui-tooltip-tooltip.js.map +1 -1
- package/dist/components-ui-typography-typography.cjs +1 -1
- package/dist/components-ui-typography-typography.cjs.map +1 -1
- package/dist/components-ui-typography-typography.js +7 -7
- package/dist/components-ui-typography-typography.js.map +1 -1
- package/dist/constants/calendar-locale.d.ts +5 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +9 -2
- package/dist/index.js +223 -188
- package/dist/index.js.map +1 -1
- package/package.json +44 -17
- package/dist/chart-CgVfpT_X.cjs +0 -63
|
@@ -1,43 +1,45 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentProps, ComponentType, ReactNode, MemoExoticComponent } from 'react';
|
|
2
|
+
import { LegendPayload, VerticalAlignmentType } from 'recharts/types/component/DefaultLegendContent';
|
|
3
|
+
import { Payload as TooltipPayloadEntry, ValueType as TooltipValueType, NameType as TooltipNameType } from 'recharts/types/component/DefaultTooltipContent';
|
|
2
4
|
import * as RechartsPrimitive from "recharts";
|
|
3
5
|
declare const THEMES: {
|
|
4
6
|
readonly light: "";
|
|
5
7
|
readonly dark: ".dark";
|
|
6
8
|
};
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
declare function ChartContainer({ id, className, children, config, ...props }: React.ComponentProps<"div"> & {
|
|
9
|
+
type ChartConfigItem = {
|
|
10
|
+
label?: ReactNode;
|
|
11
|
+
icon?: ComponentType;
|
|
12
|
+
} & ({
|
|
13
|
+
color?: string;
|
|
14
|
+
theme?: never;
|
|
15
|
+
} | {
|
|
16
|
+
color?: never;
|
|
17
|
+
theme: Record<keyof typeof THEMES, string>;
|
|
18
|
+
});
|
|
19
|
+
export type ChartConfig = Partial<Record<string, ChartConfigItem>>;
|
|
20
|
+
declare function ChartContainer({ id, className, children, config, ...props }: ComponentProps<"div"> & {
|
|
20
21
|
config: ChartConfig;
|
|
21
|
-
children:
|
|
22
|
+
children: ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>["children"];
|
|
22
23
|
}): import("react/jsx-runtime").JSX.Element;
|
|
23
24
|
declare const ChartStyle: ({ id, config }: {
|
|
24
25
|
id: string;
|
|
25
26
|
config: ChartConfig;
|
|
26
27
|
}) => import("react/jsx-runtime").JSX.Element | null;
|
|
27
28
|
declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
|
|
28
|
-
declare function ChartTooltipContent({ active, payload, className, indicator, hideLabel, hideIndicator, label, labelFormatter, labelClassName, formatter, color, nameKey, labelKey, }:
|
|
29
|
+
declare function ChartTooltipContent({ active, payload, className, indicator, hideLabel, hideIndicator, label, labelFormatter, labelClassName, formatter, color, nameKey, labelKey, }: ComponentProps<typeof RechartsPrimitive.Tooltip> & ComponentProps<"div"> & {
|
|
29
30
|
hideLabel?: boolean;
|
|
30
31
|
hideIndicator?: boolean;
|
|
31
32
|
indicator?: "line" | "dot" | "dashed";
|
|
32
33
|
nameKey?: string;
|
|
33
34
|
labelKey?: string;
|
|
34
|
-
payload?:
|
|
35
|
-
label?:
|
|
35
|
+
payload?: ReadonlyArray<TooltipPayloadEntry<TooltipValueType, TooltipNameType>>;
|
|
36
|
+
label?: ReactNode;
|
|
36
37
|
}): import("react/jsx-runtime").JSX.Element | null;
|
|
37
|
-
declare const ChartLegend:
|
|
38
|
-
declare function ChartLegendContent({ className, hideIcon, payload, verticalAlign, nameKey, }:
|
|
38
|
+
declare const ChartLegend: MemoExoticComponent<(outsideProps: RechartsPrimitive.LegendProps) => React.ReactPortal | null>;
|
|
39
|
+
declare function ChartLegendContent({ className, hideIcon, payload, verticalAlign, nameKey, }: ComponentProps<"div"> & {
|
|
40
|
+
payload?: ReadonlyArray<LegendPayload>;
|
|
41
|
+
verticalAlign?: VerticalAlignmentType;
|
|
39
42
|
hideIcon?: boolean;
|
|
40
43
|
nameKey?: string;
|
|
41
|
-
payload?: any[];
|
|
42
44
|
}): import("react/jsx-runtime").JSX.Element | null;
|
|
43
45
|
export { ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { ComponentPropsWithoutRef, ComponentRef, Ref } from 'react';
|
|
1
2
|
import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
|
|
2
|
-
|
|
3
|
-
type
|
|
4
|
-
|
|
5
|
-
ref?: React.Ref<CheckboxRef>;
|
|
3
|
+
type CheckboxRef = ComponentRef<typeof CheckboxPrimitive.Root>;
|
|
4
|
+
type CheckboxProps = ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root> & {
|
|
5
|
+
ref?: Ref<CheckboxRef>;
|
|
6
6
|
};
|
|
7
7
|
declare const Checkbox: {
|
|
8
8
|
({ className, ref, ...props }: CheckboxProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Combobox as ComboboxPrimitive } from '@base-ui/react';
|
|
2
|
+
import { ComponentProps, ComponentPropsWithRef, ReactNode } from 'react';
|
|
2
3
|
import { Field } from '../field';
|
|
3
|
-
import * as React from "react";
|
|
4
4
|
declare function Combobox<Value, Multiple extends boolean | undefined = false>({ children, ...props }: ComboboxPrimitive.Root.Props<Value, Multiple>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
declare function ComboboxField({ className, label, description, error, children, ...props }:
|
|
6
|
-
label?:
|
|
7
|
-
description?:
|
|
8
|
-
error?:
|
|
5
|
+
declare function ComboboxField({ className, label, description, error, children, ...props }: ComponentProps<typeof Field> & {
|
|
6
|
+
label?: ReactNode;
|
|
7
|
+
description?: ReactNode;
|
|
8
|
+
error?: ReactNode;
|
|
9
9
|
}): import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
declare function ComboboxValue({ ...props }: ComboboxPrimitive.Value.Props): import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
declare function ComboboxTrigger({ className, children, ...props }: ComboboxPrimitive.Trigger.Props): import("react/jsx-runtime").JSX.Element;
|
|
@@ -23,7 +23,7 @@ declare function ComboboxLabel({ className, ...props }: ComboboxPrimitive.GroupL
|
|
|
23
23
|
declare function ComboboxCollection({ ...props }: ComboboxPrimitive.Collection.Props): import("react/jsx-runtime").JSX.Element;
|
|
24
24
|
declare function ComboboxEmpty({ className, ...props }: ComboboxPrimitive.Empty.Props): import("react/jsx-runtime").JSX.Element;
|
|
25
25
|
declare function ComboboxSeparator({ className, ...props }: ComboboxPrimitive.Separator.Props): import("react/jsx-runtime").JSX.Element;
|
|
26
|
-
declare function ComboboxChips({ className, disabled, ...props }:
|
|
26
|
+
declare function ComboboxChips({ className, disabled, ...props }: ComponentPropsWithRef<typeof ComboboxPrimitive.Chips> & ComboboxPrimitive.Chips.Props & {
|
|
27
27
|
disabled?: boolean;
|
|
28
28
|
}): import("react/jsx-runtime").JSX.Element;
|
|
29
29
|
declare function ComboboxChip({ className, children, showRemove, ...props }: ComboboxPrimitive.Chip.Props & {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
+
import { ComponentPropsWithRef, HTMLAttributes, FC, ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
1
2
|
import * as DialogPrimitive from "@radix-ui/react-dialog";
|
|
2
|
-
|
|
3
|
-
type
|
|
4
|
-
type DialogContentProps = React.ComponentPropsWithRef<typeof DialogPrimitive.Content> & {
|
|
3
|
+
type DialogOverlayProps = ComponentPropsWithRef<typeof DialogPrimitive.Overlay>;
|
|
4
|
+
type DialogContentProps = ComponentPropsWithRef<typeof DialogPrimitive.Content> & {
|
|
5
5
|
showCloseButton?: boolean;
|
|
6
6
|
};
|
|
7
|
-
type DialogTitleProps =
|
|
8
|
-
type DialogDescriptionProps =
|
|
9
|
-
declare const Dialog:
|
|
10
|
-
declare const DialogTrigger:
|
|
11
|
-
declare const DialogPortal:
|
|
12
|
-
declare const DialogClose:
|
|
7
|
+
type DialogTitleProps = ComponentPropsWithRef<typeof DialogPrimitive.Title>;
|
|
8
|
+
type DialogDescriptionProps = ComponentPropsWithRef<typeof DialogPrimitive.Description>;
|
|
9
|
+
declare const Dialog: FC<DialogPrimitive.DialogProps>;
|
|
10
|
+
declare const DialogTrigger: ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & RefAttributes<HTMLButtonElement>>;
|
|
11
|
+
declare const DialogPortal: FC<DialogPrimitive.DialogPortalProps>;
|
|
12
|
+
declare const DialogClose: ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & RefAttributes<HTMLButtonElement>>;
|
|
13
13
|
declare const DialogOverlay: {
|
|
14
14
|
({ className, ...props }: DialogOverlayProps): import("react/jsx-runtime").JSX.Element;
|
|
15
15
|
displayName: string | undefined;
|
|
@@ -19,11 +19,11 @@ declare const DialogContent: {
|
|
|
19
19
|
displayName: string | undefined;
|
|
20
20
|
};
|
|
21
21
|
declare const DialogHeader: {
|
|
22
|
-
({ className, ...props }:
|
|
22
|
+
({ className, ...props }: HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
displayName: string;
|
|
24
24
|
};
|
|
25
25
|
declare const DialogFooter: {
|
|
26
|
-
({ className, ...props }:
|
|
26
|
+
({ className, ...props }: HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
27
27
|
displayName: string;
|
|
28
28
|
};
|
|
29
29
|
declare const DialogTitle: {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
1
2
|
import { Drawer as DrawerPrimitive } from 'vaul';
|
|
2
|
-
|
|
3
|
-
declare function
|
|
4
|
-
declare function
|
|
5
|
-
declare function
|
|
6
|
-
declare function
|
|
7
|
-
declare function
|
|
8
|
-
declare function
|
|
9
|
-
declare function
|
|
10
|
-
declare function
|
|
11
|
-
declare function
|
|
12
|
-
declare function DrawerDescription({ className, ...props }: React.ComponentProps<typeof DrawerPrimitive.Description>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare function Drawer({ ...props }: ComponentProps<typeof DrawerPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare function DrawerTrigger({ ...props }: ComponentProps<typeof DrawerPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare function DrawerPortal({ ...props }: ComponentProps<typeof DrawerPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare function DrawerClose({ ...props }: ComponentProps<typeof DrawerPrimitive.Close>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
declare function DrawerOverlay({ className, ...props }: ComponentProps<typeof DrawerPrimitive.Overlay>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
declare function DrawerContent({ className, children, ...props }: ComponentProps<typeof DrawerPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare function DrawerHeader({ className, ...props }: ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
declare function DrawerFooter({ className, ...props }: ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
declare function DrawerTitle({ className, ...props }: ComponentProps<typeof DrawerPrimitive.Title>): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
declare function DrawerDescription({ className, ...props }: ComponentProps<typeof DrawerPrimitive.Description>): import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, };
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { ComponentPropsWithoutRef, ComponentRef, ReactNode, Ref } from 'react';
|
|
2
|
+
import { DropdownMenu as DropdownMenuPrimitive } from 'radix-ui';
|
|
3
|
+
import { IconName } from 'phosphor-strokes-icons/by-name';
|
|
4
|
+
type DropdownMenuRef = ComponentRef<typeof DropdownMenuPrimitive.Root>;
|
|
5
|
+
type DropdownMenuProps = ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Root> & {
|
|
6
|
+
ref?: Ref<DropdownMenuRef>;
|
|
7
|
+
};
|
|
8
|
+
type DropdownMenuTriggerRef = ComponentRef<typeof DropdownMenuPrimitive.Trigger>;
|
|
9
|
+
type DropdownMenuTriggerProps = ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Trigger> & {
|
|
10
|
+
ref?: Ref<DropdownMenuTriggerRef>;
|
|
11
|
+
};
|
|
12
|
+
type DropdownMenuContentRef = ComponentRef<typeof DropdownMenuPrimitive.Content>;
|
|
13
|
+
type DropdownMenuContentProps = ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content> & {
|
|
14
|
+
ref?: Ref<DropdownMenuContentRef>;
|
|
15
|
+
};
|
|
16
|
+
type DropdownMenuItemRef = ComponentRef<typeof DropdownMenuPrimitive.Item>;
|
|
17
|
+
type DropdownMenuItemProps = ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Item> & {
|
|
18
|
+
ref?: Ref<DropdownMenuItemRef>;
|
|
19
|
+
};
|
|
20
|
+
type DropdownMenuCheckboxItemRef = ComponentRef<typeof DropdownMenuPrimitive.CheckboxItem>;
|
|
21
|
+
type DropdownMenuCheckboxItemProps = ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.CheckboxItem> & {
|
|
22
|
+
ref?: Ref<DropdownMenuCheckboxItemRef>;
|
|
23
|
+
itemIndicator?: ReactNode;
|
|
24
|
+
closeOnSelect?: boolean;
|
|
25
|
+
};
|
|
26
|
+
type DropdownMenuLabelRef = ComponentRef<typeof DropdownMenuPrimitive.Label>;
|
|
27
|
+
type DropdownMenuLabelProps = ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Label> & {
|
|
28
|
+
ref?: Ref<DropdownMenuLabelRef>;
|
|
29
|
+
};
|
|
30
|
+
type DropdownMenuSeparatorRef = ComponentRef<typeof DropdownMenuPrimitive.Separator>;
|
|
31
|
+
type DropdownMenuSeparatorProps = ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Separator> & {
|
|
32
|
+
ref?: Ref<DropdownMenuSeparatorRef>;
|
|
33
|
+
};
|
|
34
|
+
type DropdownMenuSubTriggerRef = ComponentRef<typeof DropdownMenuPrimitive.SubTrigger>;
|
|
35
|
+
type DropdownMenuSubTriggerProps = ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubTrigger> & {
|
|
36
|
+
ref?: Ref<DropdownMenuSubTriggerRef>;
|
|
37
|
+
};
|
|
38
|
+
type DropdownMenuSubContentRef = ComponentRef<typeof DropdownMenuPrimitive.SubContent>;
|
|
39
|
+
type DropdownMenuSubContentProps = ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubContent> & {
|
|
40
|
+
ref?: Ref<DropdownMenuSubContentRef>;
|
|
41
|
+
};
|
|
42
|
+
type DropdownMenuCheckboxOption = {
|
|
43
|
+
key: string;
|
|
44
|
+
label: ReactNode;
|
|
45
|
+
checked: boolean;
|
|
46
|
+
disabled?: boolean;
|
|
47
|
+
className?: string;
|
|
48
|
+
checkedClassName?: string;
|
|
49
|
+
textValue?: string;
|
|
50
|
+
itemIndicator?: ReactNode;
|
|
51
|
+
endAdornment?: ReactNode;
|
|
52
|
+
checkedEndAdornment?: ReactNode;
|
|
53
|
+
};
|
|
54
|
+
type CheckboxDropdownMenuProps = {
|
|
55
|
+
trigger: ReactNode;
|
|
56
|
+
items: DropdownMenuCheckboxOption[];
|
|
57
|
+
onItemCheckedChange: (key: string, checked: boolean) => void;
|
|
58
|
+
contentProps?: Omit<DropdownMenuContentProps, "children">;
|
|
59
|
+
keepOpenOnItemSelect?: boolean;
|
|
60
|
+
};
|
|
61
|
+
declare function DropdownMenu({ ...props }: DropdownMenuProps): import("react/jsx-runtime").JSX.Element;
|
|
62
|
+
declare function DropdownMenuTrigger({ ...props }: DropdownMenuTriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
63
|
+
declare function DropdownMenuContent({ className, sideOffset, align, ...props }: DropdownMenuContentProps): import("react/jsx-runtime").JSX.Element;
|
|
64
|
+
declare function DropdownMenuItem({ className, ...props }: DropdownMenuItemProps): import("react/jsx-runtime").JSX.Element;
|
|
65
|
+
declare function DropdownMenuCheckboxItem({ className, children, checked, itemIndicator, closeOnSelect, onSelect, ...props }: DropdownMenuCheckboxItemProps): import("react/jsx-runtime").JSX.Element;
|
|
66
|
+
declare function CheckboxDropdownMenu({ trigger, items, onItemCheckedChange, contentProps, keepOpenOnItemSelect, }: CheckboxDropdownMenuProps): import("react/jsx-runtime").JSX.Element;
|
|
67
|
+
declare function DropdownMenuLabel({ className, ...props }: DropdownMenuLabelProps): import("react/jsx-runtime").JSX.Element;
|
|
68
|
+
declare function DropdownMenuSeparator({ className, ...props }: DropdownMenuSeparatorProps): import("react/jsx-runtime").JSX.Element;
|
|
69
|
+
declare function DropdownMenuSubTrigger({ className, ...props }: DropdownMenuSubTriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
70
|
+
declare function DropdownMenuSubContent({ className, sideOffset, ...props }: DropdownMenuSubContentProps): import("react/jsx-runtime").JSX.Element;
|
|
71
|
+
type DropdownMenuConfigBase = {
|
|
72
|
+
id?: string;
|
|
73
|
+
disabled?: boolean;
|
|
74
|
+
readOnly?: boolean;
|
|
75
|
+
};
|
|
76
|
+
type DropdownMenuConfigLabel = DropdownMenuConfigBase & {
|
|
77
|
+
type: "label";
|
|
78
|
+
label: string;
|
|
79
|
+
};
|
|
80
|
+
type DropdownMenuConfigSeparator = DropdownMenuConfigBase & {
|
|
81
|
+
type: "separator";
|
|
82
|
+
};
|
|
83
|
+
type DropdownMenuConfigItem = DropdownMenuConfigBase & {
|
|
84
|
+
type?: "item";
|
|
85
|
+
label: string;
|
|
86
|
+
icon?: ReactNode;
|
|
87
|
+
iconType?: IconName;
|
|
88
|
+
shortcut?: string;
|
|
89
|
+
alert?: boolean;
|
|
90
|
+
children?: DropdownMenuConfigNode[];
|
|
91
|
+
onSelect?: () => void;
|
|
92
|
+
};
|
|
93
|
+
type DropdownMenuConfigNode = DropdownMenuConfigLabel | DropdownMenuConfigSeparator | DropdownMenuConfigItem;
|
|
94
|
+
type ConfigurableDropdownMenuProps = {
|
|
95
|
+
trigger: ReactNode;
|
|
96
|
+
items: DropdownMenuConfigNode[];
|
|
97
|
+
onAction?: (item: DropdownMenuConfigItem) => void;
|
|
98
|
+
contentProps?: Omit<DropdownMenuContentProps, "children">;
|
|
99
|
+
};
|
|
100
|
+
declare function ConfigurableDropdownMenu({ trigger, items, onAction, contentProps, }: ConfigurableDropdownMenuProps): import("react/jsx-runtime").JSX.Element;
|
|
101
|
+
export { DropdownMenu, DropdownMenuContent, DropdownMenuCheckboxItem, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPrimitive, DropdownMenuSeparator, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ConfigurableDropdownMenu, CheckboxDropdownMenu, };
|
|
102
|
+
export type { ConfigurableDropdownMenuProps, DropdownMenuConfigItem, DropdownMenuConfigLabel, DropdownMenuConfigNode, DropdownMenuConfigSeparator, DropdownMenuContentProps, DropdownMenuCheckboxItemProps, DropdownMenuCheckboxOption, DropdownMenuItemProps, DropdownMenuLabelProps, DropdownMenuProps, DropdownMenuSeparatorProps, DropdownMenuSubContentProps, DropdownMenuSubTriggerProps, DropdownMenuTriggerProps, CheckboxDropdownMenuProps, };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const dropdownMenuContentClassName: string;
|
|
2
|
+
export declare const dropdownMenuItemClassName = "\n relative flex cursor-pointer select-none rounded-sm items-center gap-4 px-3 py-1.5\n text-sm outline-none transition-colors\n data-[disabled]:pointer-events-none data-[disabled]:bg-disabled-bg data-[disabled]:text-disabled-text\n data-[highlighted]:bg-primary-hover-bg data-[state=open]:bg-negotiation-bg\"\n";
|
|
3
|
+
export declare const dropdownMenuSubTriggerClassName = "\n \n relative flex cursor-pointer select-none rounded-sm items-center gap-4 px-3 py-1.5\n text-sm outline-none transition-colors\n data-[disabled]:pointer-events-none data-[disabled]:bg-disabled-bg data-[disabled]:text-disabled-text\n data-[highlighted]:bg-primary-hover-bg data-[state=open]:bg-negotiation-bg\"\n\n justify-between\n data-[state=open]:bg-negotiation-bg\n";
|
|
4
|
+
export declare const dropdownMenuReadonlyItemTextClassName = "\n text-center pr-0\n";
|
|
5
|
+
export declare const dropdownMenuLabelClassName: string;
|
|
6
|
+
export declare const dropdownMenuItemTextClassName = "pr-5";
|
|
7
|
+
export declare const dropdownMenuSeparatorClassName = "\n my-1 h-[0.125rem] bg-delicate-border transform scale-y-50\n";
|
|
8
|
+
export declare const dropdownMenuShortcutClassName = "\n ml-auto text-secondary-text\n";
|
|
9
|
+
export declare const dropdownMenuIconClassName = "\n shrink-0 text-secondary-text\n";
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { ConfigurableDropdownMenu, CheckboxDropdownMenu, DropdownMenu, DropdownMenuContent, DropdownMenuCheckboxItem, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPrimitive, DropdownMenuSeparator, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, } from './dropdown-menu';
|
|
2
|
+
export type { ConfigurableDropdownMenuProps, CheckboxDropdownMenuProps, DropdownMenuCheckboxOption, DropdownMenuConfigItem, DropdownMenuConfigLabel, DropdownMenuConfigNode, DropdownMenuConfigSeparator, DropdownMenuContentProps, DropdownMenuCheckboxItemProps, DropdownMenuItemProps, DropdownMenuLabelProps, DropdownMenuProps, DropdownMenuSeparatorProps, DropdownMenuSubContentProps, DropdownMenuSubTriggerProps, DropdownMenuTriggerProps, } from './dropdown-menu';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
export declare const iconPresets: {
|
|
2
2
|
readonly "xx-small": {
|
|
3
|
-
readonly size: "0.
|
|
4
|
-
readonly strokeWidth: "0.
|
|
3
|
+
readonly size: "0.75rem";
|
|
4
|
+
readonly strokeWidth: "0.063rem";
|
|
5
5
|
};
|
|
6
6
|
readonly "x-small": {
|
|
7
|
-
readonly size: "0.
|
|
8
|
-
readonly strokeWidth: "0.
|
|
7
|
+
readonly size: "0.875rem";
|
|
8
|
+
readonly strokeWidth: "0.069rem";
|
|
9
9
|
};
|
|
10
10
|
readonly small: {
|
|
11
11
|
readonly size: "1rem";
|
|
12
|
-
readonly strokeWidth: "0.
|
|
12
|
+
readonly strokeWidth: "0.081rem";
|
|
13
13
|
};
|
|
14
14
|
readonly medium: {
|
|
15
15
|
readonly size: "1.25rem";
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { StrokeIconProps } from 'phosphor-strokes-icons';
|
|
2
|
-
import {
|
|
2
|
+
import { DynamicIconName } from 'phosphor-strokes-icons/dynamic';
|
|
3
3
|
import { IconPreset } from './icon-presets';
|
|
4
4
|
type Props = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> & {
|
|
5
|
-
type:
|
|
5
|
+
type: DynamicIconName;
|
|
6
6
|
size?: IconPreset | StrokeIconProps["size"];
|
|
7
7
|
strokeWidth?: StrokeIconProps["strokeWidth"];
|
|
8
8
|
color?: StrokeIconProps["color"];
|
|
9
|
+
disabled?: boolean;
|
|
9
10
|
absoluteStrokeWidth?: StrokeIconProps["absoluteStrokeWidth"];
|
|
10
11
|
classes?: {
|
|
11
12
|
wrapper?: string;
|
|
@@ -13,6 +14,6 @@ type Props = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLD
|
|
|
13
14
|
};
|
|
14
15
|
svgProps?: Omit<React.SVGProps<SVGSVGElement>, "size" | "strokeWidth" | "color" | "className">;
|
|
15
16
|
};
|
|
16
|
-
export declare const Icon: ({ type, size, strokeWidth, color, absoluteStrokeWidth, classes, className, svgProps, ...rest }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
export type IconType =
|
|
17
|
+
export declare const Icon: ({ type, size, strokeWidth, color, absoluteStrokeWidth, classes, className, svgProps, disabled, ...rest }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export type IconType = DynamicIconName;
|
|
18
19
|
export type { Props as IconProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { ComponentPropsWithRef } from 'react';
|
|
1
2
|
import { VariantProps } from 'class-variance-authority';
|
|
2
3
|
import { inputVariants } from './input.styles';
|
|
3
|
-
|
|
4
|
-
type InputProps = React.ComponentPropsWithRef<"input"> & VariantProps<typeof inputVariants> & {
|
|
4
|
+
type InputProps = ComponentPropsWithRef<"input"> & VariantProps<typeof inputVariants> & {
|
|
5
5
|
className?: string;
|
|
6
6
|
};
|
|
7
7
|
declare const Input: ({ className, sizeInput, type, variant, ...props }: InputProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { ComponentProps } from 'react';
|
|
2
3
|
import { Button } from '../button';
|
|
3
4
|
import { inputGroupAddonVariants, inputGroupButtonVariants } from './input-group.styles';
|
|
4
|
-
|
|
5
|
-
declare function
|
|
6
|
-
declare function
|
|
7
|
-
declare function
|
|
8
|
-
declare function
|
|
9
|
-
declare function
|
|
10
|
-
declare function InputGroupTextarea({ className, ...props }: React.ComponentProps<"textarea">): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare function InputGroup({ className, ...props }: ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare function InputGroupAddon({ className, align, ...props }: ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
declare function InputGroupButton({ className, type, variant, size, ...props }: Omit<ComponentProps<typeof Button>, "size"> & VariantProps<typeof inputGroupButtonVariants>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
declare function InputGroupText({ className, ...props }: ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare function InputGroupInput(props: ComponentProps<"input">): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
declare function InputGroupTextarea({ className, ...props }: ComponentProps<"textarea">): import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
export { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import { ComponentPropsWithoutRef, ComponentRef, Ref } from 'react';
|
|
1
2
|
import { VariantProps } from 'class-variance-authority';
|
|
2
3
|
import { ClassProp } from 'class-variance-authority/types';
|
|
3
|
-
import * as React from "react";
|
|
4
4
|
import * as LabelPrimitive from "@radix-ui/react-label";
|
|
5
5
|
declare const labelVariants: (props?: ClassProp | undefined) => string;
|
|
6
|
-
type LabelRef =
|
|
7
|
-
type LabelProps =
|
|
8
|
-
ref?:
|
|
6
|
+
type LabelRef = ComponentRef<typeof LabelPrimitive.Root>;
|
|
7
|
+
type LabelProps = ComponentPropsWithoutRef<typeof LabelPrimitive.Root> & VariantProps<typeof labelVariants> & {
|
|
8
|
+
ref?: Ref<LabelRef>;
|
|
9
9
|
};
|
|
10
10
|
declare const Label: {
|
|
11
11
|
({ className, ref, ...props }: LabelProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import * as React from "react";
|
|
1
|
+
import { ComponentProps, ComponentPropsWithRef } from 'react';
|
|
3
2
|
declare const Pagination: {
|
|
4
|
-
({ className, ...props }:
|
|
3
|
+
({ className, ...props }: ComponentProps<"nav">): import("react/jsx-runtime").JSX.Element;
|
|
5
4
|
displayName: string;
|
|
6
5
|
};
|
|
7
|
-
type PaginationContentProps =
|
|
8
|
-
type PaginationItemProps =
|
|
6
|
+
type PaginationContentProps = ComponentPropsWithRef<"ul">;
|
|
7
|
+
type PaginationItemProps = ComponentPropsWithRef<"li">;
|
|
9
8
|
declare const PaginationContent: {
|
|
10
9
|
({ className, ref, ...props }: PaginationContentProps): import("react/jsx-runtime").JSX.Element;
|
|
11
10
|
displayName: string;
|
|
@@ -16,21 +15,23 @@ declare const PaginationItem: {
|
|
|
16
15
|
};
|
|
17
16
|
type PaginationLinkProps = {
|
|
18
17
|
isActive?: boolean;
|
|
19
|
-
|
|
18
|
+
variant?: "page" | "arrow-left" | "arrow-right";
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
} & ComponentProps<"a">;
|
|
20
21
|
declare const PaginationLink: {
|
|
21
|
-
({ className, isActive,
|
|
22
|
+
({ className, isActive, variant, disabled, children, ...props }: PaginationLinkProps): import("react/jsx-runtime").JSX.Element;
|
|
22
23
|
displayName: string;
|
|
23
24
|
};
|
|
24
25
|
declare const PaginationPrevious: {
|
|
25
|
-
({ className, ...props }:
|
|
26
|
+
({ className, disabled, children, ...props }: ComponentProps<typeof PaginationLink>): import("react/jsx-runtime").JSX.Element;
|
|
26
27
|
displayName: string;
|
|
27
28
|
};
|
|
28
29
|
declare const PaginationNext: {
|
|
29
|
-
({ className, ...props }:
|
|
30
|
+
({ className, disabled, children, ...props }: ComponentProps<typeof PaginationLink>): import("react/jsx-runtime").JSX.Element;
|
|
30
31
|
displayName: string;
|
|
31
32
|
};
|
|
32
33
|
declare const PaginationEllipsis: {
|
|
33
|
-
({ className, ...props }:
|
|
34
|
+
({ className, ...props }: ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
|
|
34
35
|
displayName: string;
|
|
35
36
|
};
|
|
36
37
|
export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
1
2
|
import { Popover as PopoverPrimitive } from 'radix-ui';
|
|
2
|
-
|
|
3
|
-
declare function
|
|
4
|
-
declare function
|
|
5
|
-
declare function
|
|
6
|
-
declare function
|
|
7
|
-
declare function
|
|
8
|
-
declare function
|
|
9
|
-
declare function PopoverDescription({ className, ...props }: React.ComponentProps<"p">): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare function Popover({ ...props }: ComponentProps<typeof PopoverPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare function PopoverTrigger({ ...props }: ComponentProps<typeof PopoverPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare function PopoverContent({ className, align, sideOffset, ...props }: ComponentProps<typeof PopoverPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare function PopoverAnchor({ ...props }: ComponentProps<typeof PopoverPrimitive.Anchor>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
declare function PopoverHeader({ className, ...props }: ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
declare function PopoverTitle({ className, ...props }: ComponentProps<"h2">): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare function PopoverDescription({ className, ...props }: ComponentProps<"p">): import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
export { Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { ComponentPropsWithoutRef, ComponentRef, Ref } from 'react';
|
|
1
2
|
import * as ProgressPrimitive from "@radix-ui/react-progress";
|
|
2
|
-
|
|
3
|
-
type
|
|
4
|
-
|
|
5
|
-
ref?: React.Ref<ProgressRef>;
|
|
3
|
+
type ProgressRef = ComponentRef<typeof ProgressPrimitive.Root>;
|
|
4
|
+
type ProgressProps = ComponentPropsWithoutRef<typeof ProgressPrimitive.Root> & {
|
|
5
|
+
ref?: Ref<ProgressRef>;
|
|
6
6
|
};
|
|
7
7
|
declare const Progress: {
|
|
8
8
|
({ className, value, max, ref, ...props }: ProgressProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import { ComponentPropsWithoutRef, ComponentRef, Ref } from 'react';
|
|
1
2
|
import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
|
|
2
|
-
|
|
3
|
-
type
|
|
4
|
-
|
|
5
|
-
ref?: React.Ref<RadioGroupRef>;
|
|
3
|
+
type RadioGroupRef = ComponentRef<typeof RadioGroupPrimitive.Root>;
|
|
4
|
+
type RadioGroupProps = ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root> & {
|
|
5
|
+
ref?: Ref<RadioGroupRef>;
|
|
6
6
|
};
|
|
7
|
-
type RadioGroupItemRef =
|
|
8
|
-
type RadioGroupItemProps =
|
|
9
|
-
ref?:
|
|
7
|
+
type RadioGroupItemRef = ComponentRef<typeof RadioGroupPrimitive.Item>;
|
|
8
|
+
type RadioGroupItemProps = ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item> & {
|
|
9
|
+
ref?: Ref<RadioGroupItemRef>;
|
|
10
10
|
};
|
|
11
11
|
declare const RadioGroup: {
|
|
12
12
|
({ className, ref, ...props }: RadioGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
1
2
|
import { Select as SelectPrimitive } from 'radix-ui';
|
|
2
|
-
|
|
3
|
-
type
|
|
4
|
-
type
|
|
5
|
-
type
|
|
6
|
-
type SelectTriggerProps = React.ComponentProps<typeof SelectPrimitive.Trigger> & {
|
|
3
|
+
type SelectProps = ComponentProps<typeof SelectPrimitive.Root>;
|
|
4
|
+
type SelectGroupProps = ComponentProps<typeof SelectPrimitive.Group>;
|
|
5
|
+
type SelectValueProps = ComponentProps<typeof SelectPrimitive.Value>;
|
|
6
|
+
type SelectTriggerProps = ComponentProps<typeof SelectPrimitive.Trigger> & {
|
|
7
7
|
size?: "sm" | "default";
|
|
8
8
|
};
|
|
9
|
-
type SelectContentProps =
|
|
10
|
-
type SelectLabelProps =
|
|
11
|
-
type SelectItemProps =
|
|
12
|
-
type SelectSeparatorProps =
|
|
13
|
-
type SelectScrollUpButtonProps =
|
|
14
|
-
type SelectScrollDownButtonProps =
|
|
9
|
+
type SelectContentProps = ComponentProps<typeof SelectPrimitive.Content>;
|
|
10
|
+
type SelectLabelProps = ComponentProps<typeof SelectPrimitive.Label>;
|
|
11
|
+
type SelectItemProps = ComponentProps<typeof SelectPrimitive.Item>;
|
|
12
|
+
type SelectSeparatorProps = ComponentProps<typeof SelectPrimitive.Separator>;
|
|
13
|
+
type SelectScrollUpButtonProps = ComponentProps<typeof SelectPrimitive.ScrollUpButton>;
|
|
14
|
+
type SelectScrollDownButtonProps = ComponentProps<typeof SelectPrimitive.ScrollDownButton>;
|
|
15
15
|
declare function Select({ ...props }: SelectProps): import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
declare function SelectGroup({ className, ...props }: SelectGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
17
17
|
declare function SelectValue({ ...props }: SelectValueProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const selectGroupClassName = "flex flex-col gap-1";
|
|
2
|
-
export declare const selectTriggerClassName = "border-inp-default-border bg-primary-bg text-primary-text\nhover:border-inp-hover-border focus-visible:border-inp-focus-border\ndata-placeholder:text-placeholder-text aria-invalid:border-error-text\naria-valid:border-success-text disabled:border-inp-disabled-border\ndisabled:bg-disabled-bg disabled:text-disabled-text\n[&[data-disabled]_svg]:text-disabled-text relative flex w-full items-center\njustify-between gap-2 rounded-xl border px-3 py-2.5 text-sm whitespace-nowrap\ntransition-colors outline-none select-none focus-visible:ring-0\ndisabled:pointer-events-none data-[size=default]:h-10 data-[size=sm]:h-8\n*:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex\n*:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-1.5\n[&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4";
|
|
3
|
-
export declare const selectIconClassName = "text-
|
|
2
|
+
export declare const selectTriggerClassName = "border-inp-default-border bg-primary-bg text-primary-text\nhover:border-inp-hover-border focus-visible:border-inp-focus-border\ndata-placeholder:text-placeholder-text aria-invalid:border-error-text\naria-valid:border-success-text disabled:border-inp-disabled-border\ndisabled:bg-disabled-bg disabled:text-disabled-text\n[&[data-disabled]_svg]:text-disabled-text relative flex w-full items-center\njustify-between gap-2 rounded-xl border px-3 py-2.5 text-sm whitespace-nowrap cursor-pointer\ntransition-colors outline-none select-none focus-visible:ring-0\ndisabled:pointer-events-none data-[size=default]:h-10 data-[size=sm]:h-8\n*:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex\n*:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-1.5\n[&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4";
|
|
3
|
+
export declare const selectIconClassName = "text-secondary-text pointer-events-none size-5";
|
|
4
4
|
export declare const selectContentClassName = "border-inp-focus-border bg-primary-bg text-primary-text\ndata-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2\ndata-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2\ndata-open:animate-in data-open:fade-in-0 data-open:zoom-in-95\ndata-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 relative\nz-50 max-h-63 w-(--radix-select-trigger-width)\nmin-w-(--radix-select-trigger-width)\norigin-(--radix-select-content-transform-origin) overflow-x-hidden\noverflow-y-auto rounded-xl border shadow-[0px_4px_12px_0px_rgba(0,0,0,0.1)]\nduration-100 data-[align-trigger=true]:animate-none";
|
|
5
5
|
export declare const selectViewportClassName = "data-[position=popper]:h-(--radix-select-trigger-height)\ndata-[position=popper]:w-full\ndata-[position=popper]:min-w-(--radix-select-trigger-width)";
|
|
6
6
|
export declare const selectLabelClassName = "text-secondary-text px-4 py-2 text-xs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SelectCalendarMenu, type SelectCalendarMenuProps } from './select-calendar-menu';
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { DateRange } from 'react-day-picker';
|
|
3
|
+
import { Calendar } from '../calendar';
|
|
4
|
+
import { Icon } from '../icon';
|
|
5
|
+
import { PopoverContent } from '../popover';
|
|
6
|
+
type SelectCalendarMenuBaseProps = {
|
|
7
|
+
placeholder?: string;
|
|
8
|
+
size?: "sm" | "default";
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
className?: string;
|
|
11
|
+
iconPosition?: "left" | "right";
|
|
12
|
+
iconType?: ComponentProps<typeof Icon>["type"];
|
|
13
|
+
closeOnSelect?: boolean;
|
|
14
|
+
collisionPadding?: number;
|
|
15
|
+
calendarProps?: Omit<ComponentProps<typeof Calendar>, "mode" | "selected" | "onSelect" | "appendFooter">;
|
|
16
|
+
popoverContentProps?: Omit<ComponentProps<typeof PopoverContent>, "children">;
|
|
17
|
+
};
|
|
18
|
+
type SelectCalendarMenuSingleProps = SelectCalendarMenuBaseProps & {
|
|
19
|
+
mode?: "single";
|
|
20
|
+
value?: Date;
|
|
21
|
+
onValueChange?: (date: Date | undefined) => void;
|
|
22
|
+
triggerLabelFormatter?: (date: Date) => string;
|
|
23
|
+
};
|
|
24
|
+
type SelectCalendarMenuRangeProps = SelectCalendarMenuBaseProps & {
|
|
25
|
+
mode: "range";
|
|
26
|
+
value?: DateRange;
|
|
27
|
+
onValueChange?: (range: DateRange | undefined) => void;
|
|
28
|
+
triggerLabelFormatter?: (range: DateRange | undefined) => string;
|
|
29
|
+
rangeApplyLabel?: string;
|
|
30
|
+
};
|
|
31
|
+
export type SelectCalendarMenuProps = SelectCalendarMenuSingleProps | SelectCalendarMenuRangeProps;
|
|
32
|
+
declare function SelectCalendarMenu(props: SelectCalendarMenuProps): import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
export { SelectCalendarMenu };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { ComponentPropsWithoutRef, ComponentRef, Ref } from 'react';
|
|
1
2
|
import * as SeparatorPrimitive from "@radix-ui/react-separator";
|
|
2
|
-
|
|
3
|
-
type
|
|
4
|
-
|
|
5
|
-
ref?: React.Ref<SeparatorRef>;
|
|
3
|
+
type SeparatorRef = ComponentRef<typeof SeparatorPrimitive.Root>;
|
|
4
|
+
type SeparatorProps = ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root> & {
|
|
5
|
+
ref?: Ref<SeparatorRef>;
|
|
6
6
|
};
|
|
7
7
|
declare const Separator: {
|
|
8
8
|
({ className, orientation, decorative, ref, ...props }: SeparatorProps): import("react/jsx-runtime").JSX.Element;
|