@pimolu/react 0.1.0-beta.1 → 0.1.0-beta.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.fr.md +127 -40
- package/README.md +160 -39
- package/dist/accordion/accordion.d.ts +4 -4
- package/dist/accordion/accordion.d.ts.map +1 -1
- package/dist/accordion/accordion.types.d.ts +12 -1
- package/dist/accordion/accordion.types.d.ts.map +1 -1
- package/dist/alert/alert.d.ts.map +1 -1
- package/dist/alert/alert.types.d.ts +3 -0
- package/dist/alert/alert.types.d.ts.map +1 -1
- package/dist/alert/alert.variants.d.ts +1 -1
- package/dist/alert-dialog/alert-dialog.d.ts +1 -1
- package/dist/alert-dialog/alert-dialog.d.ts.map +1 -1
- package/dist/alert-dialog/alert-dialog.types.d.ts +4 -1
- package/dist/alert-dialog/alert-dialog.types.d.ts.map +1 -1
- package/dist/anchor/anchor.d.ts +1 -1
- package/dist/anchor/anchor.d.ts.map +1 -1
- package/dist/anchor/anchor.types.d.ts +3 -0
- package/dist/anchor/anchor.types.d.ts.map +1 -1
- package/dist/api-table/api-table.d.ts +1 -1
- package/dist/api-table/api-table.d.ts.map +1 -1
- package/dist/api-table/api-table.types.d.ts +3 -0
- package/dist/api-table/api-table.types.d.ts.map +1 -1
- package/dist/app-shell/app-shell.d.ts +1 -1
- package/dist/app-shell/app-shell.d.ts.map +1 -1
- package/dist/app-shell/app-shell.types.d.ts +3 -0
- package/dist/app-shell/app-shell.types.d.ts.map +1 -1
- package/dist/arc-carousel/arc-carousel.d.ts +7 -0
- package/dist/arc-carousel/arc-carousel.d.ts.map +1 -0
- package/dist/arc-carousel/arc-carousel.types.d.ts +21 -0
- package/dist/arc-carousel/arc-carousel.types.d.ts.map +1 -0
- package/dist/aspect-ratio/aspect-ratio.d.ts.map +1 -1
- package/dist/aspect-ratio/aspect-ratio.types.d.ts +3 -0
- package/dist/aspect-ratio/aspect-ratio.types.d.ts.map +1 -1
- package/dist/audio-player/audio-player.d.ts.map +1 -1
- package/dist/audio-player/audio-player.types.d.ts +3 -0
- package/dist/audio-player/audio-player.types.d.ts.map +1 -1
- package/dist/avatar/avatar-group.d.ts.map +1 -1
- package/dist/avatar/avatar-group.types.d.ts +3 -0
- package/dist/avatar/avatar-group.types.d.ts.map +1 -1
- package/dist/avatar/avatar-group.variants.d.ts +1 -1
- package/dist/avatar/avatar.d.ts.map +1 -1
- package/dist/avatar/avatar.types.d.ts +3 -0
- package/dist/avatar/avatar.types.d.ts.map +1 -1
- package/dist/avatar/avatar.variants.d.ts +1 -1
- package/dist/badge/badge.d.ts.map +1 -1
- package/dist/badge/badge.types.d.ts +3 -0
- package/dist/badge/badge.types.d.ts.map +1 -1
- package/dist/banner/banner.d.ts.map +1 -1
- package/dist/banner/banner.types.d.ts +3 -0
- package/dist/banner/banner.types.d.ts.map +1 -1
- package/dist/banner/banner.variants.d.ts +1 -1
- package/dist/box/box.d.ts.map +1 -1
- package/dist/box/box.types.d.ts +3 -0
- package/dist/box/box.types.d.ts.map +1 -1
- package/dist/breadcrumbs/breadcrumbs.d.ts +5 -5
- package/dist/breadcrumbs/breadcrumbs.d.ts.map +1 -1
- package/dist/breadcrumbs/breadcrumbs.types.d.ts +11 -0
- package/dist/breadcrumbs/breadcrumbs.types.d.ts.map +1 -1
- package/dist/button/button.d.ts +5 -0
- package/dist/button/button.d.ts.map +1 -1
- package/dist/button/button.variants.d.ts +2 -2
- package/dist/button-group/button-group.d.ts +1 -1
- package/dist/button-group/button-group.d.ts.map +1 -1
- package/dist/button-group/button-group.types.d.ts +5 -0
- package/dist/button-group/button-group.types.d.ts.map +1 -1
- package/dist/calendar/calendar.d.ts +1 -1
- package/dist/calendar/calendar.d.ts.map +1 -1
- package/dist/calendar/calendar.types.d.ts +7 -0
- package/dist/calendar/calendar.types.d.ts.map +1 -1
- package/dist/card/card.d.ts +13 -5
- package/dist/card/card.d.ts.map +1 -1
- package/dist/card/card.types.d.ts +17 -4
- package/dist/card/card.types.d.ts.map +1 -1
- package/dist/carousel/carousel.d.ts.map +1 -1
- package/dist/carousel/carousel.types.d.ts +8 -0
- package/dist/carousel/carousel.types.d.ts.map +1 -1
- package/dist/cascader/cascader.d.ts.map +1 -1
- package/dist/cascader/cascader.types.d.ts +3 -0
- package/dist/cascader/cascader.types.d.ts.map +1 -1
- package/dist/center/center.d.ts.map +1 -1
- package/dist/center/center.types.d.ts +3 -0
- package/dist/center/center.types.d.ts.map +1 -1
- package/dist/chart/chart.d.ts.map +1 -1
- package/dist/chart/chart.types.d.ts +25 -4
- package/dist/chart/chart.types.d.ts.map +1 -1
- package/dist/chat/chat.d.ts +2 -1
- package/dist/chat/chat.d.ts.map +1 -1
- package/dist/chat/chat.types.d.ts +3 -0
- package/dist/chat/chat.types.d.ts.map +1 -1
- package/dist/checkbox/checkbox.d.ts.map +1 -1
- package/dist/checkbox/checkbox.types.d.ts +3 -0
- package/dist/checkbox/checkbox.types.d.ts.map +1 -1
- package/dist/circular-progress/circular-progress.d.ts.map +1 -1
- package/dist/circular-progress/circular-progress.types.d.ts +5 -2
- package/dist/circular-progress/circular-progress.types.d.ts.map +1 -1
- package/dist/code/code.d.ts.map +1 -1
- package/dist/code/code.types.d.ts +5 -0
- package/dist/code/code.types.d.ts.map +1 -1
- package/dist/code-block/code-block.d.ts.map +1 -1
- package/dist/code-block/code-block.types.d.ts +3 -0
- package/dist/code-block/code-block.types.d.ts.map +1 -1
- package/dist/color-picker/color-picker.d.ts.map +1 -1
- package/dist/color-picker/color-picker.types.d.ts +3 -0
- package/dist/color-picker/color-picker.types.d.ts.map +1 -1
- package/dist/combobox/combobox.d.ts.map +1 -1
- package/dist/combobox/combobox.types.d.ts +3 -0
- package/dist/combobox/combobox.types.d.ts.map +1 -1
- package/dist/command/command.d.ts +2 -2
- package/dist/command/command.d.ts.map +1 -1
- package/dist/command/command.types.d.ts +5 -0
- package/dist/command/command.types.d.ts.map +1 -1
- package/dist/container/container.d.ts.map +1 -1
- package/dist/container/container.types.d.ts +3 -0
- package/dist/container/container.types.d.ts.map +1 -1
- package/dist/context-menu/context-menu.d.ts +5 -5
- package/dist/context-menu/context-menu.d.ts.map +1 -1
- package/dist/context-menu/context-menu.types.d.ts +9 -0
- package/dist/context-menu/context-menu.types.d.ts.map +1 -1
- package/dist/coverflow-carousel/coverflow-carousel.d.ts +7 -0
- package/dist/coverflow-carousel/coverflow-carousel.d.ts.map +1 -0
- package/dist/coverflow-carousel/coverflow-carousel.types.d.ts +21 -0
- package/dist/coverflow-carousel/coverflow-carousel.types.d.ts.map +1 -0
- package/dist/currency-input/currency-input.d.ts.map +1 -1
- package/dist/currency-input/currency-input.types.d.ts +3 -0
- package/dist/currency-input/currency-input.types.d.ts.map +1 -1
- package/dist/customization/customization.types.d.ts +139 -0
- package/dist/customization/customization.types.d.ts.map +1 -0
- package/dist/dashboard-layout/dashboard-layout.d.ts +1 -1
- package/dist/dashboard-layout/dashboard-layout.d.ts.map +1 -1
- package/dist/dashboard-layout/dashboard-layout.types.d.ts +3 -0
- package/dist/dashboard-layout/dashboard-layout.types.d.ts.map +1 -1
- package/dist/data-grid/data-grid.d.ts +2 -1
- package/dist/data-grid/data-grid.d.ts.map +1 -1
- package/dist/data-grid/data-grid.types.d.ts +3 -0
- package/dist/data-grid/data-grid.types.d.ts.map +1 -1
- package/dist/data-table/data-table.d.ts +2 -1
- package/dist/data-table/data-table.d.ts.map +1 -1
- package/dist/data-table/data-table.types.d.ts +3 -0
- package/dist/data-table/data-table.types.d.ts.map +1 -1
- package/dist/date-picker/date-picker.d.ts.map +1 -1
- package/dist/date-picker/date-picker.types.d.ts +7 -0
- package/dist/date-picker/date-picker.types.d.ts.map +1 -1
- package/dist/date-range-picker/date-range-picker.d.ts.map +1 -1
- package/dist/date-range-picker/date-range-picker.types.d.ts +9 -0
- package/dist/date-range-picker/date-range-picker.types.d.ts.map +1 -1
- package/dist/description-list/description-list.d.ts +2 -2
- package/dist/description-list/description-list.d.ts.map +1 -1
- package/dist/description-list/description-list.types.d.ts +5 -0
- package/dist/description-list/description-list.types.d.ts.map +1 -1
- package/dist/dialog/dialog.d.ts +7 -7
- package/dist/dialog/dialog.d.ts.map +1 -1
- package/dist/dialog/dialog.types.d.ts +20 -1
- package/dist/dialog/dialog.types.d.ts.map +1 -1
- package/dist/docs-layout/docs-layout.d.ts +1 -1
- package/dist/docs-layout/docs-layout.d.ts.map +1 -1
- package/dist/docs-layout/docs-layout.types.d.ts +3 -0
- package/dist/docs-layout/docs-layout.types.d.ts.map +1 -1
- package/dist/drawer/drawer.d.ts +7 -7
- package/dist/drawer/drawer.d.ts.map +1 -1
- package/dist/drawer/drawer.types.d.ts +20 -1
- package/dist/drawer/drawer.types.d.ts.map +1 -1
- package/dist/dropdown-menu/dropdown-menu.d.ts +5 -5
- package/dist/dropdown-menu/dropdown-menu.d.ts.map +1 -1
- package/dist/dropdown-menu/dropdown-menu.types.d.ts +15 -0
- package/dist/dropdown-menu/dropdown-menu.types.d.ts.map +1 -1
- package/dist/dropzone/dropzone.d.ts.map +1 -1
- package/dist/dropzone/dropzone.types.d.ts +3 -0
- package/dist/dropzone/dropzone.types.d.ts.map +1 -1
- package/dist/empty-state/empty-state.d.ts.map +1 -1
- package/dist/empty-state/empty-state.types.d.ts +3 -0
- package/dist/empty-state/empty-state.types.d.ts.map +1 -1
- package/dist/file-manager/file-manager.d.ts +2 -1
- package/dist/file-manager/file-manager.d.ts.map +1 -1
- package/dist/file-manager/file-manager.types.d.ts +5 -2
- package/dist/file-manager/file-manager.types.d.ts.map +1 -1
- package/dist/file-upload/file-upload.d.ts.map +1 -1
- package/dist/file-upload/file-upload.types.d.ts +3 -0
- package/dist/file-upload/file-upload.types.d.ts.map +1 -1
- package/dist/flex/flex.d.ts.map +1 -1
- package/dist/flex/flex.types.d.ts +3 -0
- package/dist/flex/flex.types.d.ts.map +1 -1
- package/dist/focus-scope/focus-scope.d.ts.map +1 -1
- package/dist/focus-scope/focus-scope.types.d.ts +3 -0
- package/dist/focus-scope/focus-scope.types.d.ts.map +1 -1
- package/dist/footer/footer.d.ts +1 -1
- package/dist/footer/footer.d.ts.map +1 -1
- package/dist/footer/footer.types.d.ts +3 -0
- package/dist/footer/footer.types.d.ts.map +1 -1
- package/dist/footer/footer.variants.d.ts +1 -1
- package/dist/form/form.d.ts +3 -3
- package/dist/form/form.d.ts.map +1 -1
- package/dist/form/form.types.d.ts +8 -0
- package/dist/form/form.types.d.ts.map +1 -1
- package/dist/form-field/form-field.d.ts +4 -4
- package/dist/form-field/form-field.d.ts.map +1 -1
- package/dist/form-field/form-field.types.d.ts +9 -0
- package/dist/form-field/form-field.types.d.ts.map +1 -1
- package/dist/gantt/gantt.d.ts +1 -1
- package/dist/gantt/gantt.d.ts.map +1 -1
- package/dist/gantt/gantt.types.d.ts +3 -0
- package/dist/gantt/gantt.types.d.ts.map +1 -1
- package/dist/grid/grid.d.ts.map +1 -1
- package/dist/grid/grid.types.d.ts +3 -0
- package/dist/grid/grid.types.d.ts.map +1 -1
- package/dist/hero/hero.d.ts +6 -6
- package/dist/hero/hero.d.ts.map +1 -1
- package/dist/hero/hero.types.d.ts +15 -0
- package/dist/hero/hero.types.d.ts.map +1 -1
- package/dist/hover-card/hover-card.d.ts +1 -1
- package/dist/hover-card/hover-card.d.ts.map +1 -1
- package/dist/hover-card/hover-card.types.d.ts +4 -1
- package/dist/hover-card/hover-card.types.d.ts.map +1 -1
- package/dist/image/image.d.ts.map +1 -1
- package/dist/image/image.types.d.ts +3 -0
- package/dist/image/image.types.d.ts.map +1 -1
- package/dist/image-cropper/image-cropper.d.ts +1 -1
- package/dist/image-cropper/image-cropper.d.ts.map +1 -1
- package/dist/image-cropper/image-cropper.types.d.ts +3 -0
- package/dist/image-cropper/image-cropper.types.d.ts.map +1 -1
- package/dist/index.d.ts +24 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9508 -6823
- package/dist/index.js.map +4 -4
- package/dist/input/input.d.ts.map +1 -1
- package/dist/input/input.types.d.ts +3 -0
- package/dist/input/input.types.d.ts.map +1 -1
- package/dist/input-group/input-group.d.ts +9 -5
- package/dist/input-group/input-group.d.ts.map +1 -1
- package/dist/input-group/input-group.types.d.ts +14 -3
- package/dist/input-group/input-group.types.d.ts.map +1 -1
- package/dist/internal/carousel/carousel-engine.d.ts +61 -0
- package/dist/internal/carousel/carousel-engine.d.ts.map +1 -0
- package/dist/internal/carousel/carousel-parts.d.ts +43 -0
- package/dist/internal/carousel/carousel-parts.d.ts.map +1 -0
- package/dist/internal/focusable.d.ts +5 -4
- package/dist/internal/focusable.d.ts.map +1 -1
- package/dist/internal/merge-classes.d.ts +3 -0
- package/dist/internal/merge-classes.d.ts.map +1 -0
- package/dist/internal/portal.d.ts +3 -1
- package/dist/internal/portal.d.ts.map +1 -1
- package/dist/internal/trigger-focus.d.ts +8 -0
- package/dist/internal/trigger-focus.d.ts.map +1 -0
- package/dist/internal/use-anchored-position.d.ts +5 -5
- package/dist/internal/use-anchored-position.d.ts.map +1 -1
- package/dist/internal/use-part-classes.d.ts +8 -0
- package/dist/internal/use-part-classes.d.ts.map +1 -0
- package/dist/internal/use-sliding-indicator.d.ts +13 -0
- package/dist/internal/use-sliding-indicator.d.ts.map +1 -0
- package/dist/kanban/kanban.d.ts +1 -1
- package/dist/kanban/kanban.d.ts.map +1 -1
- package/dist/kanban/kanban.types.d.ts +3 -0
- package/dist/kanban/kanban.types.d.ts.map +1 -1
- package/dist/label/label.d.ts.map +1 -1
- package/dist/label/label.types.d.ts +3 -0
- package/dist/label/label.types.d.ts.map +1 -1
- package/dist/lightbox/lightbox.d.ts +1 -1
- package/dist/lightbox/lightbox.d.ts.map +1 -1
- package/dist/lightbox/lightbox.types.d.ts +3 -0
- package/dist/lightbox/lightbox.types.d.ts.map +1 -1
- package/dist/link/link.d.ts.map +1 -1
- package/dist/link/link.types.d.ts +3 -0
- package/dist/link/link.types.d.ts.map +1 -1
- package/dist/list/list.d.ts +2 -2
- package/dist/list/list.d.ts.map +1 -1
- package/dist/list/list.types.d.ts +5 -0
- package/dist/list/list.types.d.ts.map +1 -1
- package/dist/loading-overlay/loading-overlay.d.ts.map +1 -1
- package/dist/loading-overlay/loading-overlay.types.d.ts +3 -0
- package/dist/loading-overlay/loading-overlay.types.d.ts.map +1 -1
- package/dist/masked-input/masked-input.d.ts.map +1 -1
- package/dist/masked-input/masked-input.types.d.ts +3 -0
- package/dist/masked-input/masked-input.types.d.ts.map +1 -1
- package/dist/mentions/mentions.d.ts.map +1 -1
- package/dist/mentions/mentions.types.d.ts +3 -0
- package/dist/mentions/mentions.types.d.ts.map +1 -1
- package/dist/menubar/menubar.d.ts +7 -7
- package/dist/menubar/menubar.d.ts.map +1 -1
- package/dist/menubar/menubar.types.d.ts +15 -0
- package/dist/menubar/menubar.types.d.ts.map +1 -1
- package/dist/modal/modal.d.ts +11 -0
- package/dist/modal/modal.d.ts.map +1 -0
- package/dist/modal/modal.types.d.ts +93 -0
- package/dist/modal/modal.types.d.ts.map +1 -0
- package/dist/modal/modal.variants.d.ts +21 -0
- package/dist/modal/modal.variants.d.ts.map +1 -0
- package/dist/multi-carousel/multi-carousel.d.ts +7 -0
- package/dist/multi-carousel/multi-carousel.d.ts.map +1 -0
- package/dist/multi-carousel/multi-carousel.types.d.ts +33 -0
- package/dist/multi-carousel/multi-carousel.types.d.ts.map +1 -0
- package/dist/multi-select/multi-select.d.ts.map +1 -1
- package/dist/multi-select/multi-select.types.d.ts +3 -0
- package/dist/multi-select/multi-select.types.d.ts.map +1 -1
- package/dist/navbar/navbar.d.ts +8 -7
- package/dist/navbar/navbar.d.ts.map +1 -1
- package/dist/navbar/navbar.types.d.ts +37 -1
- package/dist/navbar/navbar.types.d.ts.map +1 -1
- package/dist/navbar/navbar.variants.d.ts +1 -1
- package/dist/navigation-menu/navigation-menu.d.ts +6 -6
- package/dist/navigation-menu/navigation-menu.d.ts.map +1 -1
- package/dist/navigation-menu/navigation-menu.types.d.ts +15 -0
- package/dist/navigation-menu/navigation-menu.types.d.ts.map +1 -1
- package/dist/notification-center/notification-center.d.ts +1 -1
- package/dist/notification-center/notification-center.d.ts.map +1 -1
- package/dist/notification-center/notification-center.types.d.ts +3 -0
- package/dist/notification-center/notification-center.types.d.ts.map +1 -1
- package/dist/number-input/number-input.d.ts.map +1 -1
- package/dist/number-input/number-input.types.d.ts +3 -0
- package/dist/number-input/number-input.types.d.ts.map +1 -1
- package/dist/page-header/page-header.d.ts.map +1 -1
- package/dist/page-header/page-header.types.d.ts +7 -0
- package/dist/page-header/page-header.types.d.ts.map +1 -1
- package/dist/page-header/page-header.variants.d.ts +11 -0
- package/dist/page-header/page-header.variants.d.ts.map +1 -0
- package/dist/pagination/pagination.d.ts +1 -1
- package/dist/pagination/pagination.d.ts.map +1 -1
- package/dist/pagination/pagination.types.d.ts +3 -0
- package/dist/pagination/pagination.types.d.ts.map +1 -1
- package/dist/password-input/password-input.d.ts.map +1 -1
- package/dist/password-input/password-input.types.d.ts +3 -0
- package/dist/password-input/password-input.types.d.ts.map +1 -1
- package/dist/pdf-viewer/pdf-viewer.d.ts +1 -1
- package/dist/pdf-viewer/pdf-viewer.d.ts.map +1 -1
- package/dist/pdf-viewer/pdf-viewer.types.d.ts +3 -0
- package/dist/pdf-viewer/pdf-viewer.types.d.ts.map +1 -1
- package/dist/peek-carousel/peek-carousel.d.ts +7 -0
- package/dist/peek-carousel/peek-carousel.d.ts.map +1 -0
- package/dist/peek-carousel/peek-carousel.types.d.ts +26 -0
- package/dist/peek-carousel/peek-carousel.types.d.ts.map +1 -0
- package/dist/phone-input/phone-input.d.ts.map +1 -1
- package/dist/phone-input/phone-input.types.d.ts +3 -0
- package/dist/phone-input/phone-input.types.d.ts.map +1 -1
- package/dist/pin-input/pin-input.d.ts.map +1 -1
- package/dist/pin-input/pin-input.types.d.ts +3 -0
- package/dist/pin-input/pin-input.types.d.ts.map +1 -1
- package/dist/popconfirm/popconfirm.d.ts +1 -1
- package/dist/popconfirm/popconfirm.d.ts.map +1 -1
- package/dist/popconfirm/popconfirm.types.d.ts +3 -0
- package/dist/popconfirm/popconfirm.types.d.ts.map +1 -1
- package/dist/popover/popover.d.ts +2 -1
- package/dist/popover/popover.d.ts.map +1 -1
- package/dist/popover/popover.types.d.ts +4 -1
- package/dist/popover/popover.types.d.ts.map +1 -1
- package/dist/progress/progress.d.ts.map +1 -1
- package/dist/progress/progress.types.d.ts +3 -0
- package/dist/progress/progress.types.d.ts.map +1 -1
- package/dist/prose/prose.d.ts.map +1 -1
- package/dist/prose/prose.types.d.ts +3 -0
- package/dist/prose/prose.types.d.ts.map +1 -1
- package/dist/provider/pimolu-provider.d.ts +4 -1
- package/dist/provider/pimolu-provider.d.ts.map +1 -1
- package/dist/qr-code/qr-code.d.ts +1 -1
- package/dist/qr-code/qr-code.d.ts.map +1 -1
- package/dist/qr-code/qr-code.types.d.ts +3 -0
- package/dist/qr-code/qr-code.types.d.ts.map +1 -1
- package/dist/radio/radio.d.ts.map +1 -1
- package/dist/radio/radio.types.d.ts +5 -0
- package/dist/radio/radio.types.d.ts.map +1 -1
- package/dist/range-slider/range-slider.d.ts.map +1 -1
- package/dist/range-slider/range-slider.types.d.ts +3 -0
- package/dist/range-slider/range-slider.types.d.ts.map +1 -1
- package/dist/rating/rating.d.ts.map +1 -1
- package/dist/rating/rating.types.d.ts +3 -0
- package/dist/rating/rating.types.d.ts.map +1 -1
- package/dist/resizable/resizable.d.ts.map +1 -1
- package/dist/resizable/resizable.types.d.ts +3 -0
- package/dist/resizable/resizable.types.d.ts.map +1 -1
- package/dist/result/result.d.ts.map +1 -1
- package/dist/result/result.types.d.ts +3 -0
- package/dist/result/result.types.d.ts.map +1 -1
- package/dist/result/result.variants.d.ts +1 -1
- package/dist/scheduler/scheduler.d.ts +1 -1
- package/dist/scheduler/scheduler.d.ts.map +1 -1
- package/dist/scheduler/scheduler.types.d.ts +5 -0
- package/dist/scheduler/scheduler.types.d.ts.map +1 -1
- package/dist/scroll-area/scroll-area.d.ts +1 -1
- package/dist/scroll-area/scroll-area.d.ts.map +1 -1
- package/dist/scroll-area/scroll-area.types.d.ts +3 -0
- package/dist/scroll-area/scroll-area.types.d.ts.map +1 -1
- package/dist/search-input/search-input.d.ts.map +1 -1
- package/dist/search-input/search-input.types.d.ts +3 -0
- package/dist/search-input/search-input.types.d.ts.map +1 -1
- package/dist/segmented-control/segmented-control.d.ts.map +1 -1
- package/dist/segmented-control/segmented-control.types.d.ts +7 -0
- package/dist/segmented-control/segmented-control.types.d.ts.map +1 -1
- package/dist/select/select.d.ts.map +1 -1
- package/dist/select/select.types.d.ts +3 -0
- package/dist/select/select.types.d.ts.map +1 -1
- package/dist/separator/separator.d.ts.map +1 -1
- package/dist/separator/separator.types.d.ts +3 -0
- package/dist/separator/separator.types.d.ts.map +1 -1
- package/dist/sidebar/sidebar.d.ts +7 -7
- package/dist/sidebar/sidebar.d.ts.map +1 -1
- package/dist/sidebar/sidebar.types.d.ts +19 -0
- package/dist/sidebar/sidebar.types.d.ts.map +1 -1
- package/dist/signature/signature.d.ts.map +1 -1
- package/dist/signature/signature.types.d.ts +3 -0
- package/dist/signature/signature.types.d.ts.map +1 -1
- package/dist/skeleton/skeleton.d.ts.map +1 -1
- package/dist/skeleton/skeleton.types.d.ts +3 -0
- package/dist/skeleton/skeleton.types.d.ts.map +1 -1
- package/dist/slider/slider.d.ts.map +1 -1
- package/dist/slider/slider.types.d.ts +3 -0
- package/dist/slider/slider.types.d.ts.map +1 -1
- package/dist/spacer/spacer.d.ts.map +1 -1
- package/dist/spacer/spacer.types.d.ts +3 -0
- package/dist/spacer/spacer.types.d.ts.map +1 -1
- package/dist/spinner/spinner.d.ts.map +1 -1
- package/dist/spinner/spinner.types.d.ts +3 -0
- package/dist/spinner/spinner.types.d.ts.map +1 -1
- package/dist/spinner/spinner.variants.d.ts +1 -1
- package/dist/split-button/split-button.d.ts.map +1 -1
- package/dist/split-button/split-button.types.d.ts +3 -0
- package/dist/split-button/split-button.types.d.ts.map +1 -1
- package/dist/stack/stack.d.ts +7 -3
- package/dist/stack/stack.d.ts.map +1 -1
- package/dist/stack/stack.types.d.ts +6 -1
- package/dist/stack/stack.types.d.ts.map +1 -1
- package/dist/stack-carousel/stack-carousel.d.ts +7 -0
- package/dist/stack-carousel/stack-carousel.d.ts.map +1 -0
- package/dist/stack-carousel/stack-carousel.types.d.ts +21 -0
- package/dist/stack-carousel/stack-carousel.types.d.ts.map +1 -0
- package/dist/stat/stat.d.ts.map +1 -1
- package/dist/stat/stat.types.d.ts +3 -0
- package/dist/stat/stat.types.d.ts.map +1 -1
- package/dist/stepper/stepper.d.ts +3 -2
- package/dist/stepper/stepper.d.ts.map +1 -1
- package/dist/stepper/stepper.types.d.ts +5 -0
- package/dist/stepper/stepper.types.d.ts.map +1 -1
- package/dist/switch/switch.d.ts.map +1 -1
- package/dist/switch/switch.types.d.ts +3 -0
- package/dist/switch/switch.types.d.ts.map +1 -1
- package/dist/table/table.d.ts.map +1 -1
- package/dist/table/table.types.d.ts +17 -0
- package/dist/table/table.types.d.ts.map +1 -1
- package/dist/table-of-contents/table-of-contents.d.ts +1 -1
- package/dist/table-of-contents/table-of-contents.d.ts.map +1 -1
- package/dist/table-of-contents/table-of-contents.types.d.ts +3 -0
- package/dist/table-of-contents/table-of-contents.types.d.ts.map +1 -1
- package/dist/tabs/tabs.d.ts +4 -4
- package/dist/tabs/tabs.d.ts.map +1 -1
- package/dist/tabs/tabs.types.d.ts +13 -0
- package/dist/tabs/tabs.types.d.ts.map +1 -1
- package/dist/tabs/tabs.variants.d.ts +1 -1
- package/dist/tags-input/tags-input.d.ts.map +1 -1
- package/dist/tags-input/tags-input.types.d.ts +3 -0
- package/dist/tags-input/tags-input.types.d.ts.map +1 -1
- package/dist/textarea/textarea.d.ts.map +1 -1
- package/dist/textarea/textarea.types.d.ts +3 -0
- package/dist/textarea/textarea.types.d.ts.map +1 -1
- package/dist/theme-builder/theme-builder.d.ts.map +1 -1
- package/dist/theme-builder/theme-builder.types.d.ts +3 -0
- package/dist/theme-builder/theme-builder.types.d.ts.map +1 -1
- package/dist/thumbnail-carousel/thumbnail-carousel.d.ts +7 -0
- package/dist/thumbnail-carousel/thumbnail-carousel.d.ts.map +1 -0
- package/dist/thumbnail-carousel/thumbnail-carousel.types.d.ts +21 -0
- package/dist/thumbnail-carousel/thumbnail-carousel.types.d.ts.map +1 -0
- package/dist/time-picker/time-picker.d.ts.map +1 -1
- package/dist/time-picker/time-picker.types.d.ts +3 -0
- package/dist/time-picker/time-picker.types.d.ts.map +1 -1
- package/dist/timeline/timeline.d.ts +8 -7
- package/dist/timeline/timeline.d.ts.map +1 -1
- package/dist/timeline/timeline.types.d.ts +15 -0
- package/dist/timeline/timeline.types.d.ts.map +1 -1
- package/dist/toast/toast.d.ts +29 -4
- package/dist/toast/toast.d.ts.map +1 -1
- package/dist/toast/toast.types.d.ts +25 -2
- package/dist/toast/toast.types.d.ts.map +1 -1
- package/dist/toast/toast.variants.d.ts +3 -1
- package/dist/toast/toast.variants.d.ts.map +1 -1
- package/dist/toggle/toggle.d.ts.map +1 -1
- package/dist/toggle/toggle.types.d.ts +3 -0
- package/dist/toggle/toggle.types.d.ts.map +1 -1
- package/dist/toggle-group/toggle-group.d.ts +2 -2
- package/dist/toggle-group/toggle-group.d.ts.map +1 -1
- package/dist/toggle-group/toggle-group.types.d.ts +6 -1
- package/dist/toggle-group/toggle-group.types.d.ts.map +1 -1
- package/dist/toolbar/toolbar.d.ts +7 -7
- package/dist/toolbar/toolbar.d.ts.map +1 -1
- package/dist/toolbar/toolbar.types.d.ts +16 -1
- package/dist/toolbar/toolbar.types.d.ts.map +1 -1
- package/dist/tooltip/tooltip.d.ts +1 -1
- package/dist/tooltip/tooltip.d.ts.map +1 -1
- package/dist/tooltip/tooltip.types.d.ts +3 -0
- package/dist/tooltip/tooltip.types.d.ts.map +1 -1
- package/dist/tour/tour.d.ts +1 -1
- package/dist/tour/tour.d.ts.map +1 -1
- package/dist/tour/tour.types.d.ts +3 -0
- package/dist/tour/tour.types.d.ts.map +1 -1
- package/dist/transfer/transfer.d.ts +2 -1
- package/dist/transfer/transfer.d.ts.map +1 -1
- package/dist/transfer/transfer.types.d.ts +3 -0
- package/dist/transfer/transfer.types.d.ts.map +1 -1
- package/dist/tree-select/tree-select.d.ts.map +1 -1
- package/dist/tree-select/tree-select.types.d.ts +3 -0
- package/dist/tree-select/tree-select.types.d.ts.map +1 -1
- package/dist/tree-table/tree-table.d.ts +2 -1
- package/dist/tree-table/tree-table.d.ts.map +1 -1
- package/dist/tree-table/tree-table.types.d.ts +5 -0
- package/dist/tree-table/tree-table.types.d.ts.map +1 -1
- package/dist/tree-view/tree-view.d.ts +1 -1
- package/dist/tree-view/tree-view.d.ts.map +1 -1
- package/dist/tree-view/tree-view.types.d.ts +3 -0
- package/dist/tree-view/tree-view.types.d.ts.map +1 -1
- package/dist/typography/typography.d.ts.map +1 -1
- package/dist/typography/typography.types.d.ts +7 -0
- package/dist/typography/typography.types.d.ts.map +1 -1
- package/dist/video-player/video-player.d.ts.map +1 -1
- package/dist/video-player/video-player.types.d.ts +3 -0
- package/dist/video-player/video-player.types.d.ts.map +1 -1
- package/dist/virtual-list/virtual-list.d.ts.map +1 -1
- package/dist/virtual-list/virtual-list.types.d.ts +3 -0
- package/dist/virtual-list/virtual-list.types.d.ts.map +1 -1
- package/dist/visually-hidden/visually-hidden.d.ts.map +1 -1
- package/dist/visually-hidden/visually-hidden.types.d.ts +3 -0
- package/dist/visually-hidden/visually-hidden.types.d.ts.map +1 -1
- package/dist/watermark/watermark.d.ts +1 -1
- package/dist/watermark/watermark.d.ts.map +1 -1
- package/dist/watermark/watermark.types.d.ts +3 -0
- package/dist/watermark/watermark.types.d.ts.map +1 -1
- package/package.json +57 -56
- package/LICENSE +0 -21
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ArcCarouselProps } from "./arc-carousel.types";
|
|
2
|
+
/**
|
|
3
|
+
* ArcCarousel shares the Carousel engine: state, keyboard support, live
|
|
4
|
+
* announcements and named parts. Only the layout and slide transforms differ.
|
|
5
|
+
*/
|
|
6
|
+
export declare function ArcCarousel({ children, className, classNames, loop, index, defaultIndex, onIndexChange, labels, gap, showControlsOnMobile, "aria-label": ariaLabel, ...rest }: ArcCarouselProps): import("react").JSX.Element;
|
|
7
|
+
//# sourceMappingURL=arc-carousel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"arc-carousel.d.ts","sourceRoot":"","sources":["../../arc-carousel/arc-carousel.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAE7D;;;GAGG;AACH,wBAAgB,WAAW,CAAC,EAC1B,QAAQ,EACR,SAAS,EACT,UAAU,EACV,IAAI,EACJ,KAAK,EACL,YAAY,EACZ,aAAa,EACb,MAAM,EACN,GAAO,EACP,oBAA2B,EAC3B,YAAY,EAAE,SAAS,EACvB,GAAG,IAAI,EACR,EAAE,gBAAgB,+BA2BlB"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { HTMLAttributes, ReactNode } from "react";
|
|
2
|
+
import type { CarouselLabels, CarouselRootOptions, CarouselStageClassNames } from "../internal/carousel/carousel-engine";
|
|
3
|
+
export interface ArcCarouselProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "children">, CarouselRootOptions {
|
|
4
|
+
/** Slides: wrap each one in CarouselSlide. */
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
/** Wraps from the last slide to the first one. Defaults to false. */
|
|
7
|
+
loop?: boolean;
|
|
8
|
+
/** Controlled active index (zero-based). */
|
|
9
|
+
index?: number;
|
|
10
|
+
/** Initial index when uncontrolled. Defaults to 0. */
|
|
11
|
+
defaultIndex?: number;
|
|
12
|
+
/** Called with the new index when navigation changes it. */
|
|
13
|
+
onIndexChange?: (index: number) => void;
|
|
14
|
+
/** Overrides the built-in accessible labels. */
|
|
15
|
+
labels?: Partial<CarouselLabels>;
|
|
16
|
+
/** Space between slides in pixels. */
|
|
17
|
+
gap?: number;
|
|
18
|
+
/** Additive classes for the stable named parts. */
|
|
19
|
+
classNames?: CarouselStageClassNames;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=arc-carousel.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"arc-carousel.types.d.ts","sourceRoot":"","sources":["../../arc-carousel/arc-carousel.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvD,OAAO,KAAK,EACV,cAAc,EACd,mBAAmB,EACnB,uBAAuB,EACxB,MAAM,sCAAsC,CAAC;AAE9C,MAAM,WAAW,gBACf,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,GAAG,UAAU,CAAC,EACnE,mBAAmB;IACrB,8CAA8C;IAC9C,QAAQ,EAAE,SAAS,CAAC;IAEpB,qEAAqE;IACrE,IAAI,CAAC,EAAE,OAAO,CAAC;IAEf,4CAA4C;IAC5C,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,sDAAsD;IACtD,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,4DAA4D;IAC5D,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAExC,gDAAgD;IAChD,MAAM,CAAC,EAAE,OAAO,CAAC,cAAc,CAAC,CAAC;IAEjC,sCAAsC;IACtC,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb,mDAAmD;IACnD,UAAU,CAAC,EAAE,uBAAuB,CAAC;CACtC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aspect-ratio.d.ts","sourceRoot":"","sources":["../../aspect-ratio/aspect-ratio.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"aspect-ratio.d.ts","sourceRoot":"","sources":["../../aspect-ratio/aspect-ratio.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAkBnE,eAAO,MAAM,WAAW,gHAmDtB,CAAC"}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
import type { PimoluClassNames } from "../customization/customization.types";
|
|
1
2
|
import type { ElementType, HTMLAttributes } from "react";
|
|
2
3
|
export interface PimoluAspectRatioProps extends HTMLAttributes<HTMLElement> {
|
|
4
|
+
/** Additive classes for stable named parts, including composed descendants. */
|
|
5
|
+
classNames?: PimoluClassNames<"aspect-ratio">;
|
|
3
6
|
/** Element rendered by the outer box. Defaults to `div`. */
|
|
4
7
|
as?: ElementType;
|
|
5
8
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aspect-ratio.types.d.ts","sourceRoot":"","sources":["../../aspect-ratio/aspect-ratio.types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"aspect-ratio.types.d.ts","sourceRoot":"","sources":["../../aspect-ratio/aspect-ratio.types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,KAAK,EACV,WAAW,EACX,cAAc,EACf,MAAM,OAAO,CAAC;AAEf,MAAM,WAAW,sBACf,SAAQ,cAAc,CAAC,WAAW,CAAC;IACnC,+EAA+E;IAC/E,UAAU,CAAC,EAAE,gBAAgB,CAAC,cAAc,CAAC,CAAC;IAE9C,4DAA4D;IAC5D,EAAE,CAAC,EAAE,WAAW,CAAC;IAEjB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"audio-player.d.ts","sourceRoot":"","sources":["../../audio-player/audio-player.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"audio-player.d.ts","sourceRoot":"","sources":["../../audio-player/audio-player.tsx"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAEV,sBAAsB,EACvB,MAAM,sBAAsB,CAAC;AAoH9B,eAAO,MAAM,WAAW,mHAmftB,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { PimoluClassNames } from "../customization/customization.types";
|
|
1
2
|
import type { AudioHTMLAttributes, ReactEventHandler, ReactNode } from "react";
|
|
2
3
|
export interface PimoluAudioPlayerLabels {
|
|
3
4
|
/** Accessible name when neither `aria-label` nor `title` is given. */
|
|
@@ -16,6 +17,8 @@ export interface PimoluAudioPlayerLabels {
|
|
|
16
17
|
timeline?: string;
|
|
17
18
|
}
|
|
18
19
|
export interface PimoluAudioPlayerProps extends Omit<AudioHTMLAttributes<HTMLAudioElement>, "controls" | "children" | "className" | "onPlay" | "onPause" | "onEnded" | "onTimeUpdate" | "onLoadedMetadata" | "onVolumeChange" | "onDurationChange"> {
|
|
20
|
+
/** Additive classes for stable named parts, including composed descendants. */
|
|
21
|
+
classNames?: PimoluClassNames<"audio-player">;
|
|
19
22
|
/** Audio URL. */
|
|
20
23
|
src: string;
|
|
21
24
|
/** Track name, also used as the accessible name of the player. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"audio-player.types.d.ts","sourceRoot":"","sources":["../../audio-player/audio-player.types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"audio-player.types.d.ts","sourceRoot":"","sources":["../../audio-player/audio-player.types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,KAAK,EACV,mBAAmB,EACnB,iBAAiB,EACjB,SAAS,EACV,MAAM,OAAO,CAAC;AAEf,MAAM,WAAW,uBAAuB;IACtC,sEAAsE;IACtE,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,0BAA0B;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,2BAA2B;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,0BAA0B;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,4BAA4B;IAC5B,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,4BAA4B;IAC5B,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,oCAAoC;IACpC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,sBACf,SAAQ,IAAI,CACV,mBAAmB,CAAC,gBAAgB,CAAC,EACnC,UAAU,GACV,UAAU,GACV,WAAW,GACX,QAAQ,GACR,SAAS,GACT,SAAS,GACT,cAAc,GACd,kBAAkB,GAClB,gBAAgB,GAChB,kBAAkB,CACrB;IACD,+EAA+E;IAC/E,UAAU,CAAC,EAAE,gBAAgB,CAAC,cAAc,CAAC,CAAC;IAE9C,iBAAiB;IACjB,GAAG,EAAE,MAAM,CAAC;IAEZ,kEAAkE;IAClE,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,4DAA4D;IAC5D,QAAQ,CAAC,EAAE,SAAS,CAAC;IAErB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,gDAAgD;IAChD,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAE7C,qEAAqE;IACrE,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB,kDAAkD;IAClD,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB,kEAAkE;IAClE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,wEAAwE;IACxE,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,yDAAyD;IACzD,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,2CAA2C;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,6CAA6C;IAC7C,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,kCAAkC;IAClC,MAAM,CAAC,EAAE,uBAAuB,CAAC;IAEjC,gBAAgB,CAAC,EAAE,iBAAiB,CAAC,gBAAgB,CAAC,CAAC;IACvD,YAAY,CAAC,EAAE,iBAAiB,CAAC,gBAAgB,CAAC,CAAC;IACnD,MAAM,CAAC,EAAE,iBAAiB,CAAC,gBAAgB,CAAC,CAAC;IAC7C,OAAO,CAAC,EAAE,iBAAiB,CAAC,gBAAgB,CAAC,CAAC;IAC9C,OAAO,CAAC,EAAE,iBAAiB,CAAC,gBAAgB,CAAC,CAAC;IAC9C,cAAc,CAAC,EAAE,iBAAiB,CAAC,gBAAgB,CAAC,CAAC;IACrD,gBAAgB,CAAC,EAAE,iBAAiB,CAAC,gBAAgB,CAAC,CAAC;CACxD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"avatar-group.d.ts","sourceRoot":"","sources":["../../avatar/avatar-group.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"avatar-group.d.ts","sourceRoot":"","sources":["../../avatar/avatar-group.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EACV,sBAAsB,EACvB,MAAM,sBAAsB,CAAC;AAQ9B,eAAO,MAAM,WAAW,mHA2GtB,CAAC"}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
import type { PimoluClassNames } from "../customization/customization.types";
|
|
1
2
|
import type { HTMLAttributes, ReactNode } from "react";
|
|
2
3
|
import type { PimoluAvatarSize, PimoluAvatarShape } from "./avatar.variants";
|
|
3
4
|
import type { PimoluAvatarGroupSpacing } from "./avatar-group.variants";
|
|
4
5
|
export type { PimoluAvatarGroupSpacing, };
|
|
5
6
|
export interface PimoluAvatarGroupProps extends Omit<HTMLAttributes<HTMLDivElement>, "children"> {
|
|
7
|
+
/** Additive classes for stable named parts, including composed descendants. */
|
|
8
|
+
classNames?: PimoluClassNames<"avatar">;
|
|
6
9
|
/**
|
|
7
10
|
* Direct Avatar children. Any other element is ignored:
|
|
8
11
|
* a fragment or a wrapper around the avatars is not supported.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"avatar-group.types.d.ts","sourceRoot":"","sources":["../../avatar/avatar-group.types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,cAAc,EACd,SAAS,EACV,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EACV,gBAAgB,EAChB,iBAAiB,EAClB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,KAAK,EACV,wBAAwB,EACzB,MAAM,yBAAyB,CAAC;AAIjC,YAAY,EACV,wBAAwB,GACzB,CAAC;AAIF,MAAM,WAAW,sBACf,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC;IACxD;;;OAGG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IAErB,yCAAyC;IACzC,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb,4CAA4C;IAC5C,IAAI,CAAC,EAAE,gBAAgB,CAAC;IAExB,6CAA6C;IAC7C,KAAK,CAAC,EAAE,iBAAiB,CAAC;IAE1B,yCAAyC;IACzC,OAAO,CAAC,EAAE,wBAAwB,CAAC;IAEnC,iDAAiD;IACjD,gBAAgB,CAAC,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,MAAM,CAAC;CACpD"}
|
|
1
|
+
{"version":3,"file":"avatar-group.types.d.ts","sourceRoot":"","sources":["../../avatar/avatar-group.types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAE7E,OAAO,KAAK,EACV,cAAc,EACd,SAAS,EACV,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EACV,gBAAgB,EAChB,iBAAiB,EAClB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,KAAK,EACV,wBAAwB,EACzB,MAAM,yBAAyB,CAAC;AAIjC,YAAY,EACV,wBAAwB,GACzB,CAAC;AAIF,MAAM,WAAW,sBACf,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC;IACxD,+EAA+E;IAC/E,UAAU,CAAC,EAAE,gBAAgB,CAAC,QAAQ,CAAC,CAAC;IAExC;;;OAGG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IAErB,yCAAyC;IACzC,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb,4CAA4C;IAC5C,IAAI,CAAC,EAAE,gBAAgB,CAAC;IAExB,6CAA6C;IAC7C,KAAK,CAAC,EAAE,iBAAiB,CAAC;IAE1B,yCAAyC;IACzC,OAAO,CAAC,EAAE,wBAAwB,CAAC;IAEnC,iDAAiD;IACjD,gBAAgB,CAAC,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,MAAM,CAAC;CACpD"}
|
|
@@ -27,7 +27,7 @@ export declare const avatarGroupVariantMap: {
|
|
|
27
27
|
};
|
|
28
28
|
export declare const avatarGroupVariants: (options?: {
|
|
29
29
|
readonly size?: "md" | "xs" | "sm" | "lg" | "xl" | undefined;
|
|
30
|
-
readonly shape?: "
|
|
30
|
+
readonly shape?: "circle" | "square" | "rounded" | undefined;
|
|
31
31
|
readonly spacing?: "normal" | "loose" | "tight" | undefined;
|
|
32
32
|
} | undefined, className?: string) => string;
|
|
33
33
|
export type AvatarGroupVariants = VariantProps<typeof avatarGroupVariants>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../avatar/avatar.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../avatar/avatar.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EACV,iBAAiB,EAClB,MAAM,gBAAgB,CAAC;AAQxB,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAgBtD;AAWD,eAAO,MAAM,MAAM,+GAgGjB,CAAC"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
import type { PimoluClassNames } from "../customization/customization.types";
|
|
1
2
|
import type { HTMLAttributes, ReactNode } from "react";
|
|
2
3
|
import type { PimoluAvatarSize, PimoluAvatarShape } from "./avatar.variants";
|
|
3
4
|
export type { PimoluAvatarSize, PimoluAvatarShape, };
|
|
4
5
|
export interface PimoluAvatarProps extends Omit<HTMLAttributes<HTMLSpanElement>, "children" | "onError"> {
|
|
6
|
+
/** Additive classes for stable named parts, including composed descendants. */
|
|
7
|
+
classNames?: PimoluClassNames<"avatar">;
|
|
5
8
|
/** Accessible name and source for initials. */
|
|
6
9
|
name: string;
|
|
7
10
|
/** Image URL. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"avatar.types.d.ts","sourceRoot":"","sources":["../../avatar/avatar.types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,cAAc,EACd,SAAS,EACV,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EACV,gBAAgB,EAChB,iBAAiB,EAClB,MAAM,mBAAmB,CAAC;AAI3B,YAAY,EACV,gBAAgB,EAChB,iBAAiB,GAClB,CAAC;AAIF,MAAM,WAAW,iBACf,SAAQ,IAAI,CACV,cAAc,CAAC,eAAe,CAAC,EAC/B,UAAU,GAAG,SAAS,CACvB;IACD,+CAA+C;IAC/C,IAAI,EAAE,MAAM,CAAC;IAEb,iBAAiB;IACjB,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb,mBAAmB;IACnB,IAAI,CAAC,EAAE,gBAAgB,CAAC;IAExB,oBAAoB;IACpB,KAAK,CAAC,EAAE,iBAAiB,CAAC;IAE1B,2CAA2C;IAC3C,QAAQ,CAAC,EAAE,SAAS,CAAC;IAErB,qCAAqC;IACrC,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAE3B,2CAA2C;IAC3C,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B"}
|
|
1
|
+
{"version":3,"file":"avatar.types.d.ts","sourceRoot":"","sources":["../../avatar/avatar.types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAE7E,OAAO,KAAK,EACV,cAAc,EACd,SAAS,EACV,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EACV,gBAAgB,EAChB,iBAAiB,EAClB,MAAM,mBAAmB,CAAC;AAI3B,YAAY,EACV,gBAAgB,EAChB,iBAAiB,GAClB,CAAC;AAIF,MAAM,WAAW,iBACf,SAAQ,IAAI,CACV,cAAc,CAAC,eAAe,CAAC,EAC/B,UAAU,GAAG,SAAS,CACvB;IACD,+EAA+E;IAC/E,UAAU,CAAC,EAAE,gBAAgB,CAAC,QAAQ,CAAC,CAAC;IAExC,+CAA+C;IAC/C,IAAI,EAAE,MAAM,CAAC;IAEb,iBAAiB;IACjB,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb,mBAAmB;IACnB,IAAI,CAAC,EAAE,gBAAgB,CAAC;IAExB,oBAAoB;IACpB,KAAK,CAAC,EAAE,iBAAiB,CAAC;IAE1B,2CAA2C;IAC3C,QAAQ,CAAC,EAAE,SAAS,CAAC;IAErB,qCAAqC;IACrC,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAE3B,2CAA2C;IAC3C,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B"}
|
|
@@ -22,7 +22,7 @@ export declare const avatarVariantMap: {
|
|
|
22
22
|
};
|
|
23
23
|
export declare const avatarVariants: (options?: {
|
|
24
24
|
readonly size?: "md" | "xs" | "sm" | "lg" | "xl" | undefined;
|
|
25
|
-
readonly shape?: "
|
|
25
|
+
readonly shape?: "circle" | "square" | "rounded" | undefined;
|
|
26
26
|
} | undefined, className?: string) => string;
|
|
27
27
|
export type AvatarVariants = VariantProps<typeof avatarVariants>;
|
|
28
28
|
export type PimoluAvatarSize = keyof typeof avatarVariantMap.size;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../badge/badge.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../badge/badge.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EACV,gBAAgB,EACjB,MAAM,eAAe,CAAC;AAIvB,eAAO,MAAM,KAAK,8GAuEhB,CAAC"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
import type { PimoluClassNames } from "../customization/customization.types";
|
|
1
2
|
import type { HTMLAttributes, ReactNode } from "react";
|
|
2
3
|
import type { PimoluBadgeVariant, PimoluBadgeAppearance, PimoluBadgeSize, PimoluBadgeRadius } from "./badge.variants";
|
|
3
4
|
export type { PimoluBadgeVariant, PimoluBadgeAppearance, PimoluBadgeSize, PimoluBadgeRadius, };
|
|
4
5
|
export interface PimoluBadgeProps extends HTMLAttributes<HTMLSpanElement> {
|
|
6
|
+
/** Additive classes for stable named parts, including composed descendants. */
|
|
7
|
+
classNames?: PimoluClassNames<"badge">;
|
|
5
8
|
variant?: PimoluBadgeVariant;
|
|
6
9
|
appearance?: PimoluBadgeAppearance;
|
|
7
10
|
size?: PimoluBadgeSize;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"badge.types.d.ts","sourceRoot":"","sources":["../../badge/badge.types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,cAAc,EACd,SAAS,EACV,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EACV,kBAAkB,EAClB,qBAAqB,EACrB,eAAe,EACf,iBAAiB,EAClB,MAAM,kBAAkB,CAAC;AAI1B,YAAY,EACV,kBAAkB,EAClB,qBAAqB,EACrB,eAAe,EACf,iBAAiB,GAClB,CAAC;AAIF,MAAM,WAAW,gBACf,SAAQ,cAAc,CAAC,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"badge.types.d.ts","sourceRoot":"","sources":["../../badge/badge.types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAE7E,OAAO,KAAK,EACV,cAAc,EACd,SAAS,EACV,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EACV,kBAAkB,EAClB,qBAAqB,EACrB,eAAe,EACf,iBAAiB,EAClB,MAAM,kBAAkB,CAAC;AAI1B,YAAY,EACV,kBAAkB,EAClB,qBAAqB,EACrB,eAAe,EACf,iBAAiB,GAClB,CAAC;AAIF,MAAM,WAAW,gBACf,SAAQ,cAAc,CAAC,eAAe,CAAC;IACvC,+EAA+E;IAC/E,UAAU,CAAC,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;IAGvC,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAE7B,UAAU,CAAC,EAAE,qBAAqB,CAAC;IAEnC,IAAI,CAAC,EAAE,eAAe,CAAC;IAEvB,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAE3B,4BAA4B;IAC5B,GAAG,CAAC,EAAE,OAAO,CAAC;IAEd,8BAA8B;IAC9B,SAAS,CAAC,EAAE,SAAS,CAAC;IAEtB,+BAA+B;IAC/B,OAAO,CAAC,EAAE,SAAS,CAAC;CACrB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"banner.d.ts","sourceRoot":"","sources":["../../banner/banner.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"banner.d.ts","sourceRoot":"","sources":["../../banner/banner.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAuBxD,eAAO,MAAM,MAAM,8GAsFjB,CAAC"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
import type { PimoluClassNames } from "../customization/customization.types";
|
|
1
2
|
import type { AriaRole, HTMLAttributes, ReactNode } from "react";
|
|
2
3
|
import type { PimoluBannerVariant } from "./banner.variants";
|
|
3
4
|
export type { PimoluBannerVariant };
|
|
4
5
|
export interface PimoluBannerProps extends Omit<HTMLAttributes<HTMLDivElement>, "title" | "role" | "children"> {
|
|
6
|
+
/** Additive classes for stable named parts, including composed descendants. */
|
|
7
|
+
classNames?: PimoluClassNames<"banner">;
|
|
5
8
|
/** Semantic tone of the page-level message. */
|
|
6
9
|
variant?: PimoluBannerVariant;
|
|
7
10
|
/** Short, emphasised summary. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"banner.types.d.ts","sourceRoot":"","sources":["../../banner/banner.types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"banner.types.d.ts","sourceRoot":"","sources":["../../banner/banner.types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,KAAK,EACV,QAAQ,EACR,cAAc,EACd,SAAS,EACV,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAI7D,YAAY,EAAE,mBAAmB,EAAE,CAAC;AAIpC,MAAM,WAAW,iBACf,SAAQ,IAAI,CACV,cAAc,CAAC,cAAc,CAAC,EAC9B,OAAO,GAAG,MAAM,GAAG,UAAU,CAC9B;IACD,+EAA+E;IAC/E,UAAU,CAAC,EAAE,gBAAgB,CAAC,QAAQ,CAAC,CAAC;IAExC,+CAA+C;IAC/C,OAAO,CAAC,EAAE,mBAAmB,CAAC;IAE9B,iCAAiC;IACjC,KAAK,EAAE,SAAS,CAAC;IAEjB,gCAAgC;IAChC,WAAW,CAAC,EAAE,SAAS,CAAC;IAExB,8DAA8D;IAC9D,OAAO,CAAC,EAAE,SAAS,CAAC;IAEpB;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IAEvB,2CAA2C;IAC3C,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,iEAAiE;IACjE,IAAI,CAAC,EAAE,SAAS,CAAC;IAEjB,+DAA+D;IAC/D,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB;;;OAGG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAC;CACjB"}
|
|
@@ -12,7 +12,7 @@ export declare const bannerVariantMap: {
|
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
14
|
export declare const bannerVariants: (options?: {
|
|
15
|
-
readonly variant?: "
|
|
15
|
+
readonly variant?: "info" | "neutral" | "success" | "warning" | "danger" | undefined;
|
|
16
16
|
} | undefined, className?: string) => string;
|
|
17
17
|
export type BannerVariants = VariantProps<typeof bannerVariants>;
|
|
18
18
|
export type PimoluBannerVariant = keyof typeof bannerVariantMap.variant;
|
package/dist/box/box.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"box.d.ts","sourceRoot":"","sources":["../../box/box.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"box.d.ts","sourceRoot":"","sources":["../../box/box.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EACV,cAAc,EAEf,MAAM,aAAa,CAAC;AAmDrB,eAAO,MAAM,GAAG,wGAwEf,CAAC"}
|
package/dist/box/box.types.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { PimoluClassNames } from "../customization/customization.types";
|
|
1
2
|
import type { ElementType, HTMLAttributes } from "react";
|
|
2
3
|
/**
|
|
3
4
|
* Layout spacing scale. Numbers map to `--pimolu-spacing-<n>`
|
|
@@ -9,6 +10,8 @@ export type PimoluBoxSpace = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 8 | 10 | 12 | "none" |
|
|
|
9
10
|
/** Semantic surfaces only: never an arbitrary color. */
|
|
10
11
|
export type PimoluBoxBackground = "none" | "surface" | "muted";
|
|
11
12
|
export interface PimoluBoxProps extends HTMLAttributes<HTMLElement> {
|
|
13
|
+
/** Additive classes for stable named parts, including composed descendants. */
|
|
14
|
+
classNames?: PimoluClassNames<"box">;
|
|
12
15
|
/** Element rendered by the Box. Defaults to `div`. */
|
|
13
16
|
as?: ElementType;
|
|
14
17
|
/** Padding on every side. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"box.types.d.ts","sourceRoot":"","sources":["../../box/box.types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"box.types.d.ts","sourceRoot":"","sources":["../../box/box.types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,KAAK,EACV,WAAW,EACX,cAAc,EACf,MAAM,OAAO,CAAC;AAEf;;;;;GAKG;AACH,MAAM,MAAM,cAAc,GACtB,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,EAAE,GACF,EAAE,GACF,MAAM,GACN,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,KAAK,GACL,KAAK,CAAC;AAEV,wDAAwD;AACxD,MAAM,MAAM,mBAAmB,GAC3B,MAAM,GACN,SAAS,GACT,OAAO,CAAC;AAEZ,MAAM,WAAW,cACf,SAAQ,cAAc,CAAC,WAAW,CAAC;IACnC,+EAA+E;IAC/E,UAAU,CAAC,EAAE,gBAAgB,CAAC,KAAK,CAAC,CAAC;IAErC,sDAAsD;IACtD,EAAE,CAAC,EAAE,WAAW,CAAC;IAEjB,6BAA6B;IAC7B,OAAO,CAAC,EAAE,cAAc,CAAC;IAEzB,+BAA+B;IAC/B,CAAC,CAAC,EAAE,cAAc,CAAC;IAEnB,kEAAkE;IAClE,QAAQ,CAAC,EAAE,cAAc,CAAC;IAE1B,gCAAgC;IAChC,EAAE,CAAC,EAAE,cAAc,CAAC;IAEpB,+DAA+D;IAC/D,QAAQ,CAAC,EAAE,cAAc,CAAC;IAE1B,gCAAgC;IAChC,EAAE,CAAC,EAAE,cAAc,CAAC;IAEpB,+DAA+D;IAC/D,UAAU,CAAC,EAAE,mBAAmB,CAAC;IAEjC,sCAAsC;IACtC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { PimoluBreadcrumbItemProps, PimoluBreadcrumbLinkProps, PimoluBreadcrumbPageProps, PimoluBreadcrumbSeparatorProps, PimoluBreadcrumbsProps } from "./breadcrumbs.types";
|
|
2
|
-
export declare function Breadcrumbs({ children, label, className, ...props }: PimoluBreadcrumbsProps): import("react").
|
|
3
|
-
export declare function BreadcrumbItem({ children, className, }: PimoluBreadcrumbItemProps): import("react").
|
|
4
|
-
export declare function BreadcrumbLink({ children, className, ...props }: PimoluBreadcrumbLinkProps): import("react").
|
|
5
|
-
export declare function BreadcrumbSeparator({ children, className, }: PimoluBreadcrumbSeparatorProps): import("react").
|
|
6
|
-
export declare function BreadcrumbPage({ children, className, }: PimoluBreadcrumbPageProps): import("react").
|
|
2
|
+
export declare function Breadcrumbs({ classNames, children, label, className, ...props }: PimoluBreadcrumbsProps): import("react").ReactNode;
|
|
3
|
+
export declare function BreadcrumbItem({ classNames, children, className, }: PimoluBreadcrumbItemProps): import("react").ReactNode;
|
|
4
|
+
export declare function BreadcrumbLink({ classNames, children, className, ...props }: PimoluBreadcrumbLinkProps): import("react").ReactNode;
|
|
5
|
+
export declare function BreadcrumbSeparator({ classNames, children, className, }: PimoluBreadcrumbSeparatorProps): import("react").ReactNode;
|
|
6
|
+
export declare function BreadcrumbPage({ classNames, children, className, }: PimoluBreadcrumbPageProps): import("react").ReactNode;
|
|
7
7
|
//# sourceMappingURL=breadcrumbs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"breadcrumbs.d.ts","sourceRoot":"","sources":["../../breadcrumbs/breadcrumbs.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"breadcrumbs.d.ts","sourceRoot":"","sources":["../../breadcrumbs/breadcrumbs.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,yBAAyB,EACzB,yBAAyB,EACzB,yBAAyB,EACzB,8BAA8B,EAC9B,sBAAsB,EACvB,MAAM,qBAAqB,CAAC;AAW7B,wBAAgB,WAAW,CAAC,EAAE,UAAU,EACtC,QAAQ,EACR,KAAoB,EACpB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,sBAAsB,6BAiBxB;AAED,wBAAgB,cAAc,CAAC,EAAE,UAAU,EACzC,QAAQ,EACR,SAAS,GACV,EAAE,yBAAyB,6BAa3B;AAED,wBAAgB,cAAc,CAAC,EAAE,UAAU,EACzC,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,yBAAyB,6BAgB3B;AAED,wBAAgB,mBAAmB,CAAC,EAAE,UAAU,EAC9C,QAAc,EACd,SAAS,GACV,EAAE,8BAA8B,6BAehC;AAED,wBAAgB,cAAc,CAAC,EAAE,UAAU,EACzC,QAAQ,EACR,SAAS,GACV,EAAE,yBAAyB,6BAc3B"}
|
|
@@ -1,22 +1,33 @@
|
|
|
1
|
+
import type { PimoluClassNames } from "../customization/customization.types";
|
|
1
2
|
import type { AnchorHTMLAttributes, HTMLAttributes, ReactNode } from "react";
|
|
2
3
|
export interface PimoluBreadcrumbsProps extends HTMLAttributes<HTMLElement> {
|
|
4
|
+
/** Additive classes for stable named parts, including composed descendants. */
|
|
5
|
+
classNames?: PimoluClassNames<"breadcrumbs">;
|
|
3
6
|
/** Accessible name of the navigation landmark. */
|
|
4
7
|
label?: string;
|
|
5
8
|
children: ReactNode;
|
|
6
9
|
}
|
|
7
10
|
export interface PimoluBreadcrumbItemProps {
|
|
11
|
+
/** Additive classes for stable named parts, including composed descendants. */
|
|
12
|
+
classNames?: PimoluClassNames<"breadcrumbs">;
|
|
8
13
|
children: ReactNode;
|
|
9
14
|
className?: string;
|
|
10
15
|
}
|
|
11
16
|
export interface PimoluBreadcrumbLinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
17
|
+
/** Additive classes for stable named parts, including composed descendants. */
|
|
18
|
+
classNames?: PimoluClassNames<"breadcrumbs">;
|
|
12
19
|
children: ReactNode;
|
|
13
20
|
}
|
|
14
21
|
export interface PimoluBreadcrumbSeparatorProps {
|
|
22
|
+
/** Additive classes for stable named parts, including composed descendants. */
|
|
23
|
+
classNames?: PimoluClassNames<"breadcrumbs">;
|
|
15
24
|
/** Separator content. Defaults to "/". */
|
|
16
25
|
children?: ReactNode;
|
|
17
26
|
className?: string;
|
|
18
27
|
}
|
|
19
28
|
export interface PimoluBreadcrumbPageProps {
|
|
29
|
+
/** Additive classes for stable named parts, including composed descendants. */
|
|
30
|
+
classNames?: PimoluClassNames<"breadcrumbs">;
|
|
20
31
|
children: ReactNode;
|
|
21
32
|
className?: string;
|
|
22
33
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"breadcrumbs.types.d.ts","sourceRoot":"","sources":["../../breadcrumbs/breadcrumbs.types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"breadcrumbs.types.d.ts","sourceRoot":"","sources":["../../breadcrumbs/breadcrumbs.types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,KAAK,EACV,oBAAoB,EACpB,cAAc,EACd,SAAS,EACV,MAAM,OAAO,CAAC;AAEf,MAAM,WAAW,sBACf,SAAQ,cAAc,CAAC,WAAW,CAAC;IACnC,+EAA+E;IAC/E,UAAU,CAAC,EAAE,gBAAgB,CAAC,aAAa,CAAC,CAAC;IAE7C,kDAAkD;IAClD,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,MAAM,WAAW,yBAAyB;IACxC,+EAA+E;IAC/E,UAAU,CAAC,EAAE,gBAAgB,CAAC,aAAa,CAAC,CAAC;IAE7C,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,yBACf,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC;IAC/C,+EAA+E;IAC/E,UAAU,CAAC,EAAE,gBAAgB,CAAC,aAAa,CAAC,CAAC;IAE7C,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,MAAM,WAAW,8BAA8B;IAC7C,+EAA+E;IAC/E,UAAU,CAAC,EAAE,gBAAgB,CAAC,aAAa,CAAC,CAAC;IAE7C,0CAA0C;IAC1C,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,yBAAyB;IACxC,+EAA+E;IAC/E,UAAU,CAAC,EAAE,gBAAgB,CAAC,aAAa,CAAC,CAAC;IAE7C,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
package/dist/button/button.d.ts
CHANGED
|
@@ -1,11 +1,16 @@
|
|
|
1
|
+
import type { PimoluClassNames } from "../customization/customization.types";
|
|
1
2
|
import { type ButtonHTMLAttributes, type ReactNode } from "react";
|
|
2
3
|
import { type ButtonVariants } from "./button.variants";
|
|
3
4
|
export interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, ButtonVariants {
|
|
4
5
|
loading?: boolean;
|
|
6
|
+
/** Replaces the decorative loader while loading. undefined keeps the default ring; null/false hides it. */
|
|
7
|
+
loadingIndicator?: ReactNode;
|
|
5
8
|
startIcon?: ReactNode;
|
|
6
9
|
endIcon?: ReactNode;
|
|
7
10
|
fullWidth?: boolean;
|
|
8
11
|
iconOnly?: boolean;
|
|
12
|
+
/** Additive classes for stable named parts; className still targets the root. */
|
|
13
|
+
classNames?: PimoluClassNames<"button">;
|
|
9
14
|
}
|
|
10
15
|
export declare const Button: import("react").ForwardRefExoticComponent<ButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
11
16
|
//# sourceMappingURL=button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../button/button.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../button/button.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAE7E,OAAO,EAEL,KAAK,oBAAoB,EACzB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAGf,OAAO,EAEL,KAAK,cAAc,EACpB,MAAM,mBAAmB,CAAC;AAG3B,MAAM,WAAW,WACf,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC,EAC7C,cAAc;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,2GAA2G;IAC3G,gBAAgB,CAAC,EAAE,SAAS,CAAC;IAC7B,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iFAAiF;IACjF,UAAU,CAAC,EAAE,gBAAgB,CAAC,QAAQ,CAAC,CAAC;CACzC;AAED,eAAO,MAAM,MAAM,2GA2ElB,CAAC"}
|
|
@@ -3,7 +3,7 @@ import type { VariantProps } from "@pimolu/core";
|
|
|
3
3
|
* Single source of truth for the Button variant axes.
|
|
4
4
|
*
|
|
5
5
|
* Publicly exported (through the package entry) so consumers such as the
|
|
6
|
-
* playground
|
|
6
|
+
* playground and the docs can enumerate the options
|
|
7
7
|
* instead of duplicating them.
|
|
8
8
|
*/
|
|
9
9
|
export declare const buttonVariantMap: {
|
|
@@ -45,7 +45,7 @@ export declare const buttonVariantMap: {
|
|
|
45
45
|
};
|
|
46
46
|
export declare const buttonVariants: (options?: {
|
|
47
47
|
readonly variant?: "primary" | "secondary" | "neutral" | "success" | "warning" | "danger" | undefined;
|
|
48
|
-
readonly appearance?: "
|
|
48
|
+
readonly appearance?: "link" | "text" | "solid" | "soft" | "outline" | "ghost" | "dashed" | "glass" | "elevated" | "glow" | undefined;
|
|
49
49
|
readonly size?: "md" | "xs" | "sm" | "lg" | "xl" | "xxl" | undefined;
|
|
50
50
|
readonly radius?: "md" | "sm" | "lg" | "none" | "full" | undefined;
|
|
51
51
|
} | undefined, className?: string) => string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { PimoluButtonGroupProps, PimoluButtonGroupSeparatorProps } from "./button-group.types";
|
|
2
2
|
export declare const ButtonGroup: import("react").ForwardRefExoticComponent<PimoluButtonGroupProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
3
|
-
export declare function ButtonGroupSeparator({ orientation, className, ...props }: PimoluButtonGroupSeparatorProps): import("react").
|
|
3
|
+
export declare function ButtonGroupSeparator({ classNames, orientation, className, ...props }: PimoluButtonGroupSeparatorProps): import("react").ReactNode;
|
|
4
4
|
export declare namespace ButtonGroupSeparator {
|
|
5
5
|
var displayName: string;
|
|
6
6
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button-group.d.ts","sourceRoot":"","sources":["../../button-group/button-group.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"button-group.d.ts","sourceRoot":"","sources":["../../button-group/button-group.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAEV,sBAAsB,EACtB,+BAA+B,EAChC,MAAM,sBAAsB,CAAC;AAS9B,eAAO,MAAM,WAAW,mHAuCtB,CAAC;AAIH,wBAAgB,oBAAoB,CAAC,EAAE,UAAU,EAC/C,WAAW,EACX,SAAS,EACT,GAAG,KAAK,EACT,EAAE,+BAA+B,6BA0BjC;yBA9Be,oBAAoB"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
import type { PimoluClassNames } from "../customization/customization.types";
|
|
1
2
|
import type { HTMLAttributes, ReactNode } from "react";
|
|
2
3
|
/** Reading direction of the grouped buttons. */
|
|
3
4
|
export type PimoluButtonGroupOrientation = "horizontal" | "vertical";
|
|
4
5
|
export interface PimoluButtonGroupProps extends HTMLAttributes<HTMLDivElement> {
|
|
6
|
+
/** Additive classes for stable named parts, including composed descendants. */
|
|
7
|
+
classNames?: PimoluClassNames<"button-group">;
|
|
5
8
|
/** The buttons, separators and optional wrappers to group. */
|
|
6
9
|
children?: ReactNode;
|
|
7
10
|
/** Layout direction. Defaults to "horizontal". */
|
|
@@ -13,6 +16,8 @@ export interface PimoluButtonGroupProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
13
16
|
attached?: boolean;
|
|
14
17
|
}
|
|
15
18
|
export interface PimoluButtonGroupSeparatorProps extends HTMLAttributes<HTMLSpanElement> {
|
|
19
|
+
/** Additive classes for stable named parts, including composed descendants. */
|
|
20
|
+
classNames?: PimoluClassNames<"button-group">;
|
|
16
21
|
/**
|
|
17
22
|
* Line direction of the separator itself. When omitted it is
|
|
18
23
|
* derived from the parent group: a horizontal group gets a
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button-group.types.d.ts","sourceRoot":"","sources":["../../button-group/button-group.types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"button-group.types.d.ts","sourceRoot":"","sources":["../../button-group/button-group.types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,gDAAgD;AAChD,MAAM,MAAM,4BAA4B,GACpC,YAAY,GACZ,UAAU,CAAC;AAEf,MAAM,WAAW,sBACf,SAAQ,cAAc,CAAC,cAAc,CAAC;IACtC,+EAA+E;IAC/E,UAAU,CAAC,EAAE,gBAAgB,CAAC,cAAc,CAAC,CAAC;IAE9C,8DAA8D;IAC9D,QAAQ,CAAC,EAAE,SAAS,CAAC;IAErB,kDAAkD;IAClD,WAAW,CAAC,EAAE,4BAA4B,CAAC;IAE3C;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,+BACf,SAAQ,cAAc,CAAC,eAAe,CAAC;IACvC,+EAA+E;IAC/E,UAAU,CAAC,EAAE,gBAAgB,CAAC,cAAc,CAAC,CAAC;IAE9C;;;;OAIG;IACH,WAAW,CAAC,EAAE,4BAA4B,CAAC;CAC5C"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { PimoluCalendarProps } from "./calendar.types";
|
|
2
|
-
export declare function Calendar({ mode, selected, onSelect, range, onRangeChange, month, defaultMonth, onMonthChange, min, max, disabledDates, weekStartsOn, locale, numberOfMonths, className, "aria-label": ariaLabel, }: PimoluCalendarProps): import("react").
|
|
2
|
+
export declare function Calendar({ classNames, mode, selected, onSelect, range, onRangeChange, month, defaultMonth, onMonthChange, min, max, disabledDates, weekStartsOn, locale, previousMonthLabel, nextMonthLabel, numberOfMonths, className, "aria-label": ariaLabel, }: PimoluCalendarProps): import("react").ReactNode;
|
|
3
3
|
//# sourceMappingURL=calendar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../calendar/calendar.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../calendar/calendar.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,EACV,mBAAmB,EAEpB,MAAM,kBAAkB,CAAC;AA+K1B,wBAAgB,QAAQ,CAAC,EAAE,UAAU,EACnC,IAAe,EAEf,QAAQ,EACR,QAAQ,EAER,KAAK,EACL,aAAa,EAEb,KAAK,EACL,YAAY,EACZ,aAAa,EAEb,GAAG,EACH,GAAG,EACH,aAAa,EAEb,YAAgB,EAChB,MAAgB,EAChB,kBAAqC,EACrC,cAA6B,EAC7B,cAAkB,EAElB,SAAS,EACT,YAAY,EAAE,SAAS,GACxB,EAAE,mBAAmB,6BAwmBrB"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { PimoluClassNames } from "../customization/customization.types";
|
|
1
2
|
/**
|
|
2
3
|
* Shared date range value used by Calendar, DatePicker and DateRangePicker.
|
|
3
4
|
* A range is incomplete while `to` is null.
|
|
@@ -13,6 +14,8 @@ export type PimoluCalendarMode = "single" | "range";
|
|
|
13
14
|
*/
|
|
14
15
|
export type PimoluDisabledDates = readonly Date[] | ((date: Date) => boolean);
|
|
15
16
|
export interface PimoluCalendarProps {
|
|
17
|
+
/** Additive classes for stable named parts, including composed descendants. */
|
|
18
|
+
classNames?: PimoluClassNames<"calendar">;
|
|
16
19
|
/** Selection model. Defaults to "single". */
|
|
17
20
|
mode?: PimoluCalendarMode;
|
|
18
21
|
/**
|
|
@@ -46,6 +49,10 @@ export interface PimoluCalendarProps {
|
|
|
46
49
|
weekStartsOn?: 0 | 1;
|
|
47
50
|
/** BCP 47 locale used for month, weekday and day labels. Defaults to "en-US". */
|
|
48
51
|
locale?: string;
|
|
52
|
+
/** Accessible name of the previous-month control. Defaults to "Previous month". */
|
|
53
|
+
previousMonthLabel?: string;
|
|
54
|
+
/** Accessible name of the next-month control. Defaults to "Next month". */
|
|
55
|
+
nextMonthLabel?: string;
|
|
49
56
|
/** Number of consecutive months rendered together. Defaults to 1. */
|
|
50
57
|
numberOfMonths?: 1 | 2;
|
|
51
58
|
/** Class applied to the outer calendar. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar.types.d.ts","sourceRoot":"","sources":["../../calendar/calendar.types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"calendar.types.d.ts","sourceRoot":"","sources":["../../calendar/calendar.types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAC7E;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;IAClB,EAAE,EAAE,IAAI,GAAG,IAAI,CAAC;CACjB;AAED,MAAM,MAAM,kBAAkB,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEpD;;;GAGG;AACH,MAAM,MAAM,mBAAmB,GAC3B,SAAS,IAAI,EAAE,GACf,CAAC,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC,CAAC;AAE9B,MAAM,WAAW,mBAAmB;IAClC,+EAA+E;IAC/E,UAAU,CAAC,EAAE,gBAAgB,CAAC,UAAU,CAAC,CAAC;IAE1C,6CAA6C;IAC7C,IAAI,CAAC,EAAE,kBAAkB,CAAC;IAE1B;;;OAGG;IACH,QAAQ,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAEvB,4DAA4D;IAC5D,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;IAEhC;;;;OAIG;IACH,KAAK,CAAC,EAAE,eAAe,CAAC;IAExB,yCAAyC;IACzC,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,IAAI,CAAC;IAEjD,kEAAkE;IAClE,KAAK,CAAC,EAAE,IAAI,CAAC;IAEb,+CAA+C;IAC/C,YAAY,CAAC,EAAE,IAAI,CAAC;IAEpB,yEAAyE;IACzE,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,IAAI,KAAK,IAAI,CAAC;IAEtC,0CAA0C;IAC1C,GAAG,CAAC,EAAE,IAAI,CAAC;IAEX,wCAAwC;IACxC,GAAG,CAAC,EAAE,IAAI,CAAC;IAEX,+DAA+D;IAC/D,aAAa,CAAC,EAAE,mBAAmB,CAAC;IAEpC,oEAAoE;IACpE,YAAY,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;IAErB,iFAAiF;IACjF,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,mFAAmF;IACnF,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B,2EAA2E;IAC3E,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,qEAAqE;IACrE,cAAc,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;IAEvB,2CAA2C;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,8CAA8C;IAC9C,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB"}
|
package/dist/card/card.d.ts
CHANGED
|
@@ -1,8 +1,16 @@
|
|
|
1
|
-
import type { PimoluCardProps,
|
|
1
|
+
import type { PimoluCardProps, PimoluCardTitleProps } from "./card.types";
|
|
2
2
|
export declare const Card: import("react").ForwardRefExoticComponent<PimoluCardProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
3
|
-
export declare const CardHeader: import("react").ForwardRefExoticComponent<
|
|
3
|
+
export declare const CardHeader: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & {
|
|
4
|
+
classNames?: import("..").PimoluClassNames<"card">;
|
|
5
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
6
|
export declare const CardTitle: import("react").ForwardRefExoticComponent<PimoluCardTitleProps & import("react").RefAttributes<HTMLHeadingElement>>;
|
|
5
|
-
export declare const CardDescription: import("react").ForwardRefExoticComponent<
|
|
6
|
-
|
|
7
|
-
|
|
7
|
+
export declare const CardDescription: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLParagraphElement> & {
|
|
8
|
+
classNames?: import("..").PimoluClassNames<"card">;
|
|
9
|
+
} & import("react").RefAttributes<HTMLParagraphElement>>;
|
|
10
|
+
export declare const CardContent: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & {
|
|
11
|
+
classNames?: import("..").PimoluClassNames<"card">;
|
|
12
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
13
|
+
export declare const CardFooter: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & {
|
|
14
|
+
classNames?: import("..").PimoluClassNames<"card">;
|
|
15
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
8
16
|
//# sourceMappingURL=card.d.ts.map
|
package/dist/card/card.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../card/card.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../card/card.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EACV,eAAe,EAEf,oBAAoB,EAIrB,MAAM,cAAc,CAAC;AAgBtB,eAAO,MAAM,IAAI,4GA8Bf,CAAC;AAQH,eAAO,MAAM,UAAU;;kDAkBrB,CAAC;AAQH,eAAO,MAAM,SAAS,qHAuBpB,CAAC;AAQH,eAAO,MAAM,eAAe;;wDAqB1B,CAAC;AAQH,eAAO,MAAM,WAAW;;kDAkBtB,CAAC;AAQH,eAAO,MAAM,UAAU;;kDAkBrB,CAAC"}
|
|
@@ -1,17 +1,30 @@
|
|
|
1
|
+
import type { PimoluClassNames } from "../customization/customization.types";
|
|
1
2
|
import type { HTMLAttributes } from "react";
|
|
2
3
|
import type { PimoluCardSize, PimoluCardVariant, PimoluCardAppearance } from "./card.variants";
|
|
3
4
|
export type { PimoluCardSize, PimoluCardVariant, PimoluCardAppearance, };
|
|
4
5
|
export interface PimoluCardProps extends HTMLAttributes<HTMLDivElement> {
|
|
6
|
+
/** Additive classes for stable named parts, including composed descendants. */
|
|
7
|
+
classNames?: PimoluClassNames<"card">;
|
|
5
8
|
size?: PimoluCardSize;
|
|
6
9
|
variant?: PimoluCardVariant;
|
|
7
10
|
appearance?: PimoluCardAppearance;
|
|
8
11
|
fullWidth?: boolean;
|
|
9
12
|
}
|
|
10
|
-
export type PimoluCardHeaderProps = HTMLAttributes<HTMLDivElement
|
|
11
|
-
|
|
12
|
-
|
|
13
|
+
export type PimoluCardHeaderProps = (HTMLAttributes<HTMLDivElement>) & {
|
|
14
|
+
classNames?: PimoluClassNames<"card">;
|
|
15
|
+
};
|
|
16
|
+
export type PimoluCardContentProps = (HTMLAttributes<HTMLDivElement>) & {
|
|
17
|
+
classNames?: PimoluClassNames<"card">;
|
|
18
|
+
};
|
|
19
|
+
export type PimoluCardFooterProps = (HTMLAttributes<HTMLDivElement>) & {
|
|
20
|
+
classNames?: PimoluClassNames<"card">;
|
|
21
|
+
};
|
|
13
22
|
export interface PimoluCardTitleProps extends HTMLAttributes<HTMLHeadingElement> {
|
|
23
|
+
/** Additive classes for stable named parts, including composed descendants. */
|
|
24
|
+
classNames?: PimoluClassNames<"card">;
|
|
14
25
|
as?: "h2" | "h3" | "h4" | "h5" | "h6";
|
|
15
26
|
}
|
|
16
|
-
export type PimoluCardDescriptionProps = HTMLAttributes<HTMLParagraphElement
|
|
27
|
+
export type PimoluCardDescriptionProps = (HTMLAttributes<HTMLParagraphElement>) & {
|
|
28
|
+
classNames?: PimoluClassNames<"card">;
|
|
29
|
+
};
|
|
17
30
|
//# sourceMappingURL=card.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card.types.d.ts","sourceRoot":"","sources":["../../card/card.types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,KAAK,EACV,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACrB,MAAM,iBAAiB,CAAC;AAIzB,YAAY,EACV,cAAc,EACd,iBAAiB,EACjB,oBAAoB,GACrB,CAAC;AAIF,MAAM,WAAW,eACf,SAAQ,cAAc,CAAC,cAAc,CAAC;IACtC,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,UAAU,CAAC,EAAE,oBAAoB,CAAC;IAClC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAID,MAAM,MAAM,qBAAqB,GAC/B,cAAc,CAAC,cAAc,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"card.types.d.ts","sourceRoot":"","sources":["../../card/card.types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAE7E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,KAAK,EACV,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACrB,MAAM,iBAAiB,CAAC;AAIzB,YAAY,EACV,cAAc,EACd,iBAAiB,EACjB,oBAAoB,GACrB,CAAC;AAIF,MAAM,WAAW,eACf,SAAQ,cAAc,CAAC,cAAc,CAAC;IACtC,+EAA+E;IAC/E,UAAU,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC;IAEtC,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,UAAU,CAAC,EAAE,oBAAoB,CAAC;IAClC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAID,MAAM,MAAM,qBAAqB,GAC/B,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,GAAG;IAAE,UAAU,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAA;CAAE,CAAC;AAE/E,MAAM,MAAM,sBAAsB,GAChC,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,GAAG;IAAE,UAAU,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAA;CAAE,CAAC;AAE/E,MAAM,MAAM,qBAAqB,GAC/B,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,GAAG;IAAE,UAAU,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAA;CAAE,CAAC;AAE/E,MAAM,WAAW,oBACf,SAAQ,cAAc,CAAC,kBAAkB,CAAC;IAC1C,+EAA+E;IAC/E,UAAU,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC;IAEtC,EAAE,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CACvC;AAED,MAAM,MAAM,0BAA0B,GACpC,CAAC,cAAc,CAAC,oBAAoB,CAAC,CAAC,GAAG;IAAE,UAAU,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAA;CAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"carousel.d.ts","sourceRoot":"","sources":["../../carousel/carousel.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"carousel.d.ts","sourceRoot":"","sources":["../../carousel/carousel.tsx"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EACV,mBAAmB,EACpB,MAAM,kBAAkB,CAAC;AA2G1B,eAAO,MAAM,QAAQ,gHAyenB,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { PimoluClassNames } from "../customization/customization.types";
|
|
1
2
|
import type { HTMLAttributes, ReactNode } from "react";
|
|
2
3
|
export interface PimoluCarouselLabels {
|
|
3
4
|
/** Accessible name of the previous control. */
|
|
@@ -16,6 +17,8 @@ export interface PimoluCarouselLabels {
|
|
|
16
17
|
goToSlide: (index: number, total: number) => string;
|
|
17
18
|
}
|
|
18
19
|
export interface PimoluCarouselProps extends Omit<HTMLAttributes<HTMLDivElement>, "children" | "onChange"> {
|
|
20
|
+
/** Additive classes for stable named parts, including composed descendants. */
|
|
21
|
+
classNames?: PimoluClassNames<"carousel">;
|
|
19
22
|
/** Slides. Each direct child becomes one scroll-snapped slide. */
|
|
20
23
|
children: ReactNode;
|
|
21
24
|
/** Controlled active index (zero-based). */
|
|
@@ -32,6 +35,11 @@ export interface PimoluCarouselProps extends Omit<HTMLAttributes<HTMLDivElement>
|
|
|
32
35
|
loop?: boolean;
|
|
33
36
|
/** Shows the previous and next buttons. Defaults to true. */
|
|
34
37
|
showControls?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Shows the arrow controls on narrow viewports. Defaults to true. Swiping
|
|
40
|
+
* remains available when they are hidden.
|
|
41
|
+
*/
|
|
42
|
+
showControlsOnMobile?: boolean;
|
|
35
43
|
/** Shows the pagination dots. Defaults to true. */
|
|
36
44
|
showDots?: boolean;
|
|
37
45
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"carousel.types.d.ts","sourceRoot":"","sources":["../../carousel/carousel.types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"carousel.types.d.ts","sourceRoot":"","sources":["../../carousel/carousel.types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,KAAK,EACV,cAAc,EACd,SAAS,EACV,MAAM,OAAO,CAAC;AAIf,MAAM,WAAW,oBAAoB;IACnC,+CAA+C;IAC/C,QAAQ,EAAE,MAAM,CAAC;IAEjB,2CAA2C;IAC3C,IAAI,EAAE,MAAM,CAAC;IAEb,4CAA4C;IAC5C,KAAK,EAAE,MAAM,CAAC;IAEd,2CAA2C;IAC3C,IAAI,EAAE,MAAM,CAAC;IAEb,uCAAuC;IACvC,UAAU,EAAE,MAAM,CAAC;IAEnB,wDAAwD;IACxD,KAAK,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IAEhD,6DAA6D;IAC7D,SAAS,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;CACrD;AAID,MAAM,WAAW,mBACf,SAAQ,IAAI,CACV,cAAc,CAAC,cAAc,CAAC,EAC9B,UAAU,GAAG,UAAU,CACxB;IACD,+EAA+E;IAC/E,UAAU,CAAC,EAAE,gBAAgB,CAAC,UAAU,CAAC,CAAC;IAG1C,kEAAkE;IAClE,QAAQ,EAAE,SAAS,CAAC;IAEpB,4CAA4C;IAC5C,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,sDAAsD;IACtD,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,4DAA4D;IAC5D,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAExC,iDAAiD;IACjD,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,wDAAwD;IACxD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,qEAAqE;IACrE,IAAI,CAAC,EAAE,OAAO,CAAC;IAEf,6DAA6D;IAC7D,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;;OAGG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAE/B,mDAAmD;IACnD,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAE3B;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB,gDAAgD;IAChD,MAAM,CAAC,EAAE,OAAO,CAAC,oBAAoB,CAAC,CAAC;IAEvC,4CAA4C;IAC5C,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B,4CAA4C;IAC5C,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cascader.d.ts","sourceRoot":"","sources":["../../cascader/cascader.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cascader.d.ts","sourceRoot":"","sources":["../../cascader/cascader.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAEV,mBAAmB,EACpB,MAAM,kBAAkB,CAAC;AA4I1B,eAAO,MAAM,QAAQ,mHAgsBnB,CAAC"}
|