@powerhousedao/design-system 4.1.0-dev.55 → 4.1.0-dev.57
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/setupTests.d.ts +2 -0
- package/dist/setupTests.d.ts.map +1 -0
- package/dist/setupTests.js +2 -0
- package/dist/setupTests.js.map +1 -0
- package/dist/src/connect/components/account-popover/account-popover-login.js +1 -1
- package/dist/src/connect/components/account-popover/account-popover-login.js.map +1 -1
- package/dist/src/connect/components/account-popover/account-popover-user.js +2 -2
- package/dist/src/connect/components/account-popover/account-popover-user.js.map +1 -1
- package/dist/src/connect/components/account-popover/account-popover.d.ts.map +1 -1
- package/dist/src/connect/components/account-popover/account-popover.js +1 -1
- package/dist/src/connect/components/account-popover/account-popover.js.map +1 -1
- package/dist/src/connect/components/account-popover/account-popover.stories.d.ts +14 -0
- package/dist/src/connect/components/account-popover/account-popover.stories.d.ts.map +1 -0
- package/dist/src/connect/components/account-popover/account-popover.stories.js +27 -0
- package/dist/src/connect/components/account-popover/account-popover.stories.js.map +1 -0
- package/dist/src/connect/components/animated-loader/animated-loader.d.ts +1 -1
- package/dist/src/connect/components/animated-loader/animated-loader.d.ts.map +1 -1
- package/dist/src/connect/components/animated-loader/animated-loader.js +2 -2
- package/dist/src/connect/components/animated-loader/animated-loader.js.map +1 -1
- package/dist/src/connect/components/animated-loader/animated-loader.stories.d.ts +8 -0
- package/dist/src/connect/components/animated-loader/animated-loader.stories.d.ts.map +1 -0
- package/dist/src/connect/components/animated-loader/animated-loader.stories.js +18 -0
- package/dist/src/connect/components/animated-loader/animated-loader.stories.js.map +1 -0
- package/dist/src/connect/components/breadcrumbs/breadcrumbs.d.ts.map +1 -1
- package/dist/src/connect/components/breadcrumbs/breadcrumbs.js +1 -2
- package/dist/src/connect/components/breadcrumbs/breadcrumbs.js.map +1 -1
- package/dist/src/connect/components/combobox/combobox.js +1 -1
- package/dist/src/connect/components/combobox/combobox.js.map +1 -1
- package/dist/src/connect/components/combobox/combobox.stories.d.ts +11 -0
- package/dist/src/connect/components/combobox/combobox.stories.d.ts.map +1 -0
- package/dist/src/connect/components/combobox/combobox.stories.js +66 -0
- package/dist/src/connect/components/combobox/combobox.stories.js.map +1 -0
- package/dist/src/connect/components/cookie-banner/cookie-banner.d.ts.map +1 -1
- package/dist/src/connect/components/cookie-banner/cookie-banner.js +2 -2
- package/dist/src/connect/components/cookie-banner/cookie-banner.js.map +1 -1
- package/dist/src/connect/components/cookie-banner/cookie-banner.stories.d.ts +32 -0
- package/dist/src/connect/components/cookie-banner/cookie-banner.stories.d.ts.map +1 -0
- package/dist/src/connect/components/cookie-banner/cookie-banner.stories.js +34 -0
- package/dist/src/connect/components/cookie-banner/cookie-banner.stories.js.map +1 -0
- package/dist/src/connect/components/default-editor-loader/default-editor-loader.d.ts +1 -1
- package/dist/src/connect/components/default-editor-loader/default-editor-loader.d.ts.map +1 -1
- package/dist/src/connect/components/default-editor-loader/default-editor-loader.js +1 -1
- package/dist/src/connect/components/default-editor-loader/default-editor-loader.js.map +1 -1
- package/dist/src/connect/components/default-editor-loader/default-editor-loader.stories.d.ts +6 -0
- package/dist/src/connect/components/default-editor-loader/default-editor-loader.stories.d.ts.map +1 -0
- package/dist/src/connect/components/default-editor-loader/default-editor-loader.stories.js +12 -0
- package/dist/src/connect/components/default-editor-loader/default-editor-loader.stories.js.map +1 -0
- package/dist/src/connect/components/disclosure/disclosure.js +1 -1
- package/dist/src/connect/components/disclosure/disclosure.js.map +1 -1
- package/dist/src/connect/components/disclosure/disclosure.stories.d.ts +10 -0
- package/dist/src/connect/components/disclosure/disclosure.stories.d.ts.map +1 -0
- package/dist/src/connect/components/disclosure/disclosure.stories.js +21 -0
- package/dist/src/connect/components/disclosure/disclosure.stories.js.map +1 -0
- package/dist/src/connect/components/divider/divider.d.ts +1 -1
- package/dist/src/connect/components/divider/divider.d.ts.map +1 -1
- package/dist/src/connect/components/document-timeline/components/h-divider.d.ts.map +1 -1
- package/dist/src/connect/components/document-timeline/components/h-divider.js +2 -3
- package/dist/src/connect/components/document-timeline/components/h-divider.js.map +1 -1
- package/dist/src/connect/components/document-timeline/components/h-divider.stories.d.ts +23 -0
- package/dist/src/connect/components/document-timeline/components/h-divider.stories.d.ts.map +1 -0
- package/dist/src/connect/components/document-timeline/components/h-divider.stories.js +61 -0
- package/dist/src/connect/components/document-timeline/components/h-divider.stories.js.map +1 -0
- package/dist/src/connect/components/document-timeline/components/timeline-bar.d.ts.map +1 -1
- package/dist/src/connect/components/document-timeline/components/timeline-bar.js +2 -5
- package/dist/src/connect/components/document-timeline/components/timeline-bar.js.map +1 -1
- package/dist/src/connect/components/document-timeline/components/timeline-bar.stories.d.ts +23 -0
- package/dist/src/connect/components/document-timeline/components/timeline-bar.stories.d.ts.map +1 -0
- package/dist/src/connect/components/document-timeline/components/timeline-bar.stories.js +57 -0
- package/dist/src/connect/components/document-timeline/components/timeline-bar.stories.js.map +1 -0
- package/dist/src/connect/components/document-timeline/document-timeline.d.ts.map +1 -1
- package/dist/src/connect/components/document-timeline/document-timeline.js +2 -4
- package/dist/src/connect/components/document-timeline/document-timeline.js.map +1 -1
- package/dist/src/connect/components/document-timeline/document-timeline.stories.d.ts +16 -0
- package/dist/src/connect/components/document-timeline/document-timeline.stories.d.ts.map +1 -0
- package/dist/src/connect/components/document-timeline/document-timeline.stories.js +488 -0
- package/dist/src/connect/components/document-timeline/document-timeline.stories.js.map +1 -0
- package/dist/src/connect/components/document-toolbar/document-toolbar.d.ts.map +1 -1
- package/dist/src/connect/components/document-toolbar/document-toolbar.js +1 -4
- package/dist/src/connect/components/document-toolbar/document-toolbar.js.map +1 -1
- package/dist/src/connect/components/document-toolbar/document-toolbar.stories.d.ts +13 -0
- package/dist/src/connect/components/document-toolbar/document-toolbar.stories.d.ts.map +1 -0
- package/dist/src/connect/components/document-toolbar/document-toolbar.stories.js +77 -0
- package/dist/src/connect/components/document-toolbar/document-toolbar.stories.js.map +1 -0
- package/dist/src/connect/components/drop-zone/drop-zone.js +3 -1
- package/dist/src/connect/components/drop-zone/drop-zone.js.map +1 -1
- package/dist/src/connect/components/drop-zone/drop-zone.stories.d.ts +8 -0
- package/dist/src/connect/components/drop-zone/drop-zone.stories.d.ts.map +1 -0
- package/dist/src/connect/components/drop-zone/drop-zone.stories.js +44 -0
- package/dist/src/connect/components/drop-zone/drop-zone.stories.js.map +1 -0
- package/dist/src/connect/components/drop-zone/upload-file-list-container.js +1 -0
- package/dist/src/connect/components/drop-zone/upload-file-list-container.js.map +1 -1
- package/dist/src/connect/components/dropdown-menu/dropdown-menu.js +1 -1
- package/dist/src/connect/components/dropdown-menu/dropdown-menu.js.map +1 -1
- package/dist/src/connect/components/dropdown-menu/dropdown-menu.stories.d.ts +10 -0
- package/dist/src/connect/components/dropdown-menu/dropdown-menu.stories.d.ts.map +1 -0
- package/dist/src/connect/components/dropdown-menu/dropdown-menu.stories.js +46 -0
- package/dist/src/connect/components/dropdown-menu/dropdown-menu.stories.js.map +1 -0
- package/dist/src/connect/components/editor-action-buttons/editor-action-buttons.js +1 -1
- package/dist/src/connect/components/editor-action-buttons/editor-action-buttons.js.map +1 -1
- package/dist/src/connect/components/editor-action-buttons/editor-action.buttons.stories.d.ts +6 -0
- package/dist/src/connect/components/editor-action-buttons/editor-action.buttons.stories.d.ts.map +1 -0
- package/dist/src/connect/components/editor-action-buttons/editor-action.buttons.stories.js +8 -0
- package/dist/src/connect/components/editor-action-buttons/editor-action.buttons.stories.js.map +1 -0
- package/dist/src/connect/components/editor-undo-redo-buttons/editor-undo-redo-buttons.js +1 -1
- package/dist/src/connect/components/editor-undo-redo-buttons/editor-undo-redo-buttons.js.map +1 -1
- package/dist/src/connect/components/editor-undo-redo-buttons/editor-undo-redo-buttons.stories.d.ts +6 -0
- package/dist/src/connect/components/editor-undo-redo-buttons/editor-undo-redo-buttons.stories.d.ts.map +1 -0
- package/dist/src/connect/components/editor-undo-redo-buttons/editor-undo-redo-buttons.stories.js +8 -0
- package/dist/src/connect/components/editor-undo-redo-buttons/editor-undo-redo-buttons.stories.js.map +1 -0
- package/dist/src/connect/components/ens-avatar/ens-avatar.js +1 -1
- package/dist/src/connect/components/ens-avatar/ens-avatar.js.map +1 -1
- package/dist/src/connect/components/ens-avatar/ens-avatar.stories.d.ts +11 -0
- package/dist/src/connect/components/ens-avatar/ens-avatar.stories.d.ts.map +1 -0
- package/dist/src/connect/components/ens-avatar/ens-avatar.stories.js +19 -0
- package/dist/src/connect/components/ens-avatar/ens-avatar.stories.js.map +1 -0
- package/dist/src/connect/components/file-item/file-item.d.ts +1 -1
- package/dist/src/connect/components/file-item/file-item.d.ts.map +1 -1
- package/dist/src/connect/components/file-item/file-item.js +9 -11
- package/dist/src/connect/components/file-item/file-item.js.map +1 -1
- package/dist/src/connect/components/file-item/file-item.stories.d.ts +8 -0
- package/dist/src/connect/components/file-item/file-item.stories.d.ts.map +1 -0
- package/dist/src/connect/components/file-item/file-item.stories.js +40 -0
- package/dist/src/connect/components/file-item/file-item.stories.js.map +1 -0
- package/dist/src/connect/components/folder-item/folder-item.d.ts +1 -1
- package/dist/src/connect/components/folder-item/folder-item.d.ts.map +1 -1
- package/dist/src/connect/components/folder-item/folder-item.js +9 -10
- package/dist/src/connect/components/folder-item/folder-item.js.map +1 -1
- package/dist/src/connect/components/folder-item/folder-item.stories.d.ts +8 -0
- package/dist/src/connect/components/folder-item/folder-item.stories.d.ts.map +1 -0
- package/dist/src/connect/components/folder-item/folder-item.stories.js +31 -0
- package/dist/src/connect/components/folder-item/folder-item.stories.js.map +1 -0
- package/dist/src/connect/components/footer/footer-link.js +1 -1
- package/dist/src/connect/components/footer/footer-link.js.map +1 -1
- package/dist/src/connect/components/footer/footer.js +1 -1
- package/dist/src/connect/components/footer/footer.js.map +1 -1
- package/dist/src/connect/components/footer/footer.stories.d.ts +16 -0
- package/dist/src/connect/components/footer/footer.stories.d.ts.map +1 -0
- package/dist/src/connect/components/footer/footer.stories.js +18 -0
- package/dist/src/connect/components/footer/footer.stories.js.map +1 -0
- package/dist/src/connect/components/form/add-local-drive-form.d.ts.map +1 -1
- package/dist/src/connect/components/form/add-local-drive-form.js +3 -4
- package/dist/src/connect/components/form/add-local-drive-form.js.map +1 -1
- package/dist/src/connect/components/form/add-local-drive-form.stories.d.ts +10 -0
- package/dist/src/connect/components/form/add-local-drive-form.stories.d.ts.map +1 -0
- package/dist/src/connect/components/form/add-local-drive-form.stories.js +39 -0
- package/dist/src/connect/components/form/add-local-drive-form.stories.js.map +1 -0
- package/dist/src/connect/components/form/add-remote-drive-form.d.ts +1 -2
- package/dist/src/connect/components/form/add-remote-drive-form.d.ts.map +1 -1
- package/dist/src/connect/components/form/add-remote-drive-form.js +4 -5
- package/dist/src/connect/components/form/add-remote-drive-form.js.map +1 -1
- package/dist/src/connect/components/form/add-remote-drive-form.stories.d.ts +10 -0
- package/dist/src/connect/components/form/add-remote-drive-form.stories.d.ts.map +1 -0
- package/dist/src/connect/components/form/add-remote-drive-form.stories.js +30 -0
- package/dist/src/connect/components/form/add-remote-drive-form.stories.js.map +1 -0
- package/dist/src/connect/components/form/drive-settings-form.d.ts.map +1 -1
- package/dist/src/connect/components/form/drive-settings-form.js +3 -4
- package/dist/src/connect/components/form/drive-settings-form.js.map +1 -1
- package/dist/src/connect/components/form/drive-settings-form.stories.d.ts +10 -0
- package/dist/src/connect/components/form/drive-settings-form.stories.d.ts.map +1 -0
- package/dist/src/connect/components/form/drive-settings-form.stories.js +28 -0
- package/dist/src/connect/components/form/drive-settings-form.stories.js.map +1 -0
- package/dist/src/connect/components/form/inputs/app-form-input.d.ts +4 -4
- package/dist/src/connect/components/form/inputs/app-form-input.d.ts.map +1 -1
- package/dist/src/connect/components/form/inputs/app-form-input.js +2 -3
- package/dist/src/connect/components/form/inputs/app-form-input.js.map +1 -1
- package/dist/src/connect/components/form/inputs/available-offline-toggle.d.ts +1 -1
- package/dist/src/connect/components/form/inputs/available-offline-toggle.d.ts.map +1 -1
- package/dist/src/connect/components/form/inputs/available-offline-toggle.js +1 -1
- package/dist/src/connect/components/form/inputs/available-offline-toggle.js.map +1 -1
- package/dist/src/connect/components/form/inputs/delete-drive.d.ts.map +1 -1
- package/dist/src/connect/components/form/inputs/delete-drive.js +2 -3
- package/dist/src/connect/components/form/inputs/delete-drive.js.map +1 -1
- package/dist/src/connect/components/form/inputs/drive-app.d.ts +1 -2
- package/dist/src/connect/components/form/inputs/drive-app.d.ts.map +1 -1
- package/dist/src/connect/components/form/inputs/drive-app.js +1 -1
- package/dist/src/connect/components/form/inputs/drive-app.js.map +1 -1
- package/dist/src/connect/components/form/inputs/drive-name-input.d.ts +1 -1
- package/dist/src/connect/components/form/inputs/drive-name-input.d.ts.map +1 -1
- package/dist/src/connect/components/form/inputs/drive-name-input.js +1 -2
- package/dist/src/connect/components/form/inputs/drive-name-input.js.map +1 -1
- package/dist/src/connect/components/form/inputs/drive-name.js +1 -1
- package/dist/src/connect/components/form/inputs/drive-name.js.map +1 -1
- package/dist/src/connect/components/form/inputs/location-info.d.ts +1 -2
- package/dist/src/connect/components/form/inputs/location-info.d.ts.map +1 -1
- package/dist/src/connect/components/form/inputs/location-info.js +1 -1
- package/dist/src/connect/components/form/inputs/location-info.js.map +1 -1
- package/dist/src/connect/components/form/inputs/sharing-type-form-input.d.ts +2 -2
- package/dist/src/connect/components/form/inputs/sharing-type-form-input.d.ts.map +1 -1
- package/dist/src/connect/components/form/inputs/sharing-type-form-input.js +2 -3
- package/dist/src/connect/components/form/inputs/sharing-type-form-input.js.map +1 -1
- package/dist/src/connect/components/form-input/form-input.stories.d.ts +27 -0
- package/dist/src/connect/components/form-input/form-input.stories.d.ts.map +1 -0
- package/dist/src/connect/components/form-input/form-input.stories.js +67 -0
- package/dist/src/connect/components/form-input/form-input.stories.js.map +1 -0
- package/dist/src/connect/components/home-screen/home-background-image.js +2 -2
- package/dist/src/connect/components/home-screen/home-background-image.js.map +1 -1
- package/dist/src/connect/components/home-screen/home-screen-add-drive-item/home-screen-add-drive-item.d.ts.map +1 -1
- package/dist/src/connect/components/home-screen/home-screen-add-drive-item/home-screen-add-drive-item.js +1 -2
- package/dist/src/connect/components/home-screen/home-screen-add-drive-item/home-screen-add-drive-item.js.map +1 -1
- package/dist/src/connect/components/home-screen/home-screen-add-drive-item/home-screen-add-drive-item.stories.d.ts +12 -0
- package/dist/src/connect/components/home-screen/home-screen-add-drive-item/home-screen-add-drive-item.stories.d.ts.map +1 -0
- package/dist/src/connect/components/home-screen/home-screen-add-drive-item/home-screen-add-drive-item.stories.js +17 -0
- package/dist/src/connect/components/home-screen/home-screen-add-drive-item/home-screen-add-drive-item.stories.js.map +1 -0
- package/dist/src/connect/components/home-screen/home-screen-item/home-screen-item.js +1 -1
- package/dist/src/connect/components/home-screen/home-screen-item/home-screen-item.js.map +1 -1
- package/dist/src/connect/components/home-screen/home-screen-item/home-screen-item.stories.d.ts +17 -0
- package/dist/src/connect/components/home-screen/home-screen-item/home-screen-item.stories.d.ts.map +1 -0
- package/dist/src/connect/components/home-screen/home-screen-item/home-screen-item.stories.js +36 -0
- package/dist/src/connect/components/home-screen/home-screen-item/home-screen-item.stories.js.map +1 -0
- package/dist/src/connect/components/home-screen/home-screen.stories.d.ts +12 -0
- package/dist/src/connect/components/home-screen/home-screen.stories.d.ts.map +1 -0
- package/dist/src/connect/components/home-screen/home-screen.stories.js +22 -0
- package/dist/src/connect/components/home-screen/home-screen.stories.js.map +1 -0
- package/dist/src/connect/components/loading-screen/loading-screen.d.ts +1 -1
- package/dist/src/connect/components/loading-screen/loading-screen.d.ts.map +1 -1
- package/dist/src/connect/components/loading-screen/loading-screen.js +1 -1
- package/dist/src/connect/components/loading-screen/loading-screen.js.map +1 -1
- package/dist/src/connect/components/loading-screen/loading-screen.stories.d.ts +8 -0
- package/dist/src/connect/components/loading-screen/loading-screen.stories.d.ts.map +1 -0
- package/dist/src/connect/components/loading-screen/loading-screen.stories.js +28 -0
- package/dist/src/connect/components/loading-screen/loading-screen.stories.js.map +1 -0
- package/dist/src/connect/components/modal/add-drive-modal/add-drive-modal.d.ts +2 -3
- package/dist/src/connect/components/modal/add-drive-modal/add-drive-modal.d.ts.map +1 -1
- package/dist/src/connect/components/modal/add-drive-modal/add-drive-modal.js +1 -2
- package/dist/src/connect/components/modal/add-drive-modal/add-drive-modal.js.map +1 -1
- package/dist/src/connect/components/modal/add-drive-modal/add-drive-modal.stories.d.ts +10 -0
- package/dist/src/connect/components/modal/add-drive-modal/add-drive-modal.stories.d.ts.map +1 -0
- package/dist/src/connect/components/modal/add-drive-modal/add-drive-modal.stories.js +54 -0
- package/dist/src/connect/components/modal/add-drive-modal/add-drive-modal.stories.js.map +1 -0
- package/dist/src/connect/components/modal/add-local-drive-modal.d.ts +2 -3
- package/dist/src/connect/components/modal/add-local-drive-modal.d.ts.map +1 -1
- package/dist/src/connect/components/modal/add-local-drive-modal.js +1 -2
- package/dist/src/connect/components/modal/add-local-drive-modal.js.map +1 -1
- package/dist/src/connect/components/modal/add-local-drive-modal.stories.d.ts +10 -0
- package/dist/src/connect/components/modal/add-local-drive-modal.stories.d.ts.map +1 -0
- package/dist/src/connect/components/modal/add-local-drive-modal.stories.js +50 -0
- package/dist/src/connect/components/modal/add-local-drive-modal.stories.js.map +1 -0
- package/dist/src/connect/components/modal/add-remote-drive-modal.d.ts +2 -3
- package/dist/src/connect/components/modal/add-remote-drive-modal.d.ts.map +1 -1
- package/dist/src/connect/components/modal/add-remote-drive-modal.js +1 -2
- package/dist/src/connect/components/modal/add-remote-drive-modal.js.map +1 -1
- package/dist/src/connect/components/modal/add-remote-drive-modal.stories.d.ts +10 -0
- package/dist/src/connect/components/modal/add-remote-drive-modal.stories.d.ts.map +1 -0
- package/dist/src/connect/components/modal/add-remote-drive-modal.stories.js +36 -0
- package/dist/src/connect/components/modal/add-remote-drive-modal.stories.js.map +1 -0
- package/dist/src/connect/components/modal/confirmation-modal.d.ts +2 -2
- package/dist/src/connect/components/modal/confirmation-modal.d.ts.map +1 -1
- package/dist/src/connect/components/modal/confirmation-modal.js +1 -1
- package/dist/src/connect/components/modal/confirmation-modal.js.map +1 -1
- package/dist/src/connect/components/modal/confirmation-modal.stories.d.ts +7 -0
- package/dist/src/connect/components/modal/confirmation-modal.stories.d.ts.map +1 -0
- package/dist/src/connect/components/modal/confirmation-modal.stories.js +16 -0
- package/dist/src/connect/components/modal/confirmation-modal.stories.js.map +1 -0
- package/dist/src/connect/components/modal/create-document-modal.d.ts +1 -1
- package/dist/src/connect/components/modal/create-document-modal.d.ts.map +1 -1
- package/dist/src/connect/components/modal/create-document-modal.js +2 -3
- package/dist/src/connect/components/modal/create-document-modal.js.map +1 -1
- package/dist/src/connect/components/modal/create-document-modal.stories.d.ts +7 -0
- package/dist/src/connect/components/modal/create-document-modal.stories.d.ts.map +1 -0
- package/dist/src/connect/components/modal/create-document-modal.stories.js +12 -0
- package/dist/src/connect/components/modal/create-document-modal.stories.js.map +1 -0
- package/dist/src/connect/components/modal/delete-drive-modal.js +1 -1
- package/dist/src/connect/components/modal/delete-drive-modal.js.map +1 -1
- package/dist/src/connect/components/modal/delete-item-modal.d.ts +1 -1
- package/dist/src/connect/components/modal/delete-item-modal.d.ts.map +1 -1
- package/dist/src/connect/components/modal/delete-item-modal.js +1 -1
- package/dist/src/connect/components/modal/delete-item-modal.js.map +1 -1
- package/dist/src/connect/components/modal/delete-item-modal.stories.d.ts +7 -0
- package/dist/src/connect/components/modal/delete-item-modal.stories.d.ts.map +1 -0
- package/dist/src/connect/components/modal/delete-item-modal.stories.js +16 -0
- package/dist/src/connect/components/modal/delete-item-modal.stories.js.map +1 -0
- package/dist/src/connect/components/modal/delete-item-modal.test.d.ts +2 -0
- package/dist/src/connect/components/modal/delete-item-modal.test.d.ts.map +1 -0
- package/dist/src/connect/components/modal/delete-item-modal.test.js +41 -0
- package/dist/src/connect/components/modal/delete-item-modal.test.js.map +1 -0
- package/dist/src/connect/components/modal/drive-settings-modal.d.ts +2 -2
- package/dist/src/connect/components/modal/drive-settings-modal.d.ts.map +1 -1
- package/dist/src/connect/components/modal/drive-settings-modal.js +1 -2
- package/dist/src/connect/components/modal/drive-settings-modal.js.map +1 -1
- package/dist/src/connect/components/modal/drive-settings-modal.stories.d.ts +10 -0
- package/dist/src/connect/components/modal/drive-settings-modal.stories.d.ts.map +1 -0
- package/dist/src/connect/components/modal/drive-settings-modal.stories.js +50 -0
- package/dist/src/connect/components/modal/drive-settings-modal.stories.js.map +1 -0
- package/dist/src/connect/components/modal/read-required-modal.d.ts +2 -2
- package/dist/src/connect/components/modal/read-required-modal.d.ts.map +1 -1
- package/dist/src/connect/components/modal/read-required-modal.js +1 -1
- package/dist/src/connect/components/modal/read-required-modal.js.map +1 -1
- package/dist/src/connect/components/modal/read-required-modal.stories.d.ts +7 -0
- package/dist/src/connect/components/modal/read-required-modal.stories.d.ts.map +1 -0
- package/dist/src/connect/components/modal/read-required-modal.stories.js +28 -0
- package/dist/src/connect/components/modal/read-required-modal.stories.js.map +1 -0
- package/dist/src/connect/components/modal/settings-modal/clear-storage-row.js +2 -2
- package/dist/src/connect/components/modal/settings-modal/clear-storage-row.js.map +1 -1
- package/dist/src/connect/components/modal/settings-modal/clear-storage-row.stories.d.ts +7 -0
- package/dist/src/connect/components/modal/settings-modal/clear-storage-row.stories.d.ts.map +1 -0
- package/dist/src/connect/components/modal/settings-modal/clear-storage-row.stories.js +13 -0
- package/dist/src/connect/components/modal/settings-modal/clear-storage-row.stories.js.map +1 -0
- package/dist/src/connect/components/modal/settings-modal/dependency-versions/dependency-versions.stories.d.ts +11 -0
- package/dist/src/connect/components/modal/settings-modal/dependency-versions/dependency-versions.stories.d.ts.map +1 -0
- package/dist/src/connect/components/modal/settings-modal/dependency-versions/dependency-versions.stories.js +27 -0
- package/dist/src/connect/components/modal/settings-modal/dependency-versions/dependency-versions.stories.js.map +1 -0
- package/dist/src/connect/components/modal/settings-modal/dependency-versions/mock-package-json.json +0 -1
- package/dist/src/connect/components/modal/settings-modal/document-select-row.stories.d.ts +7 -0
- package/dist/src/connect/components/modal/settings-modal/document-select-row.stories.d.ts.map +1 -0
- package/dist/src/connect/components/modal/settings-modal/document-select-row.stories.js +26 -0
- package/dist/src/connect/components/modal/settings-modal/document-select-row.stories.js.map +1 -0
- package/dist/src/connect/components/modal/settings-modal/row.d.ts +1 -1
- package/dist/src/connect/components/modal/settings-modal/row.d.ts.map +1 -1
- package/dist/src/connect/components/modal/settings-modal/settings-modal.d.ts +1 -1
- package/dist/src/connect/components/modal/settings-modal/settings-modal.d.ts.map +1 -1
- package/dist/src/connect/components/modal/settings-modal/settings-modal.js +2 -2
- package/dist/src/connect/components/modal/settings-modal/settings-modal.js.map +1 -1
- package/dist/src/connect/components/modal/settings-modal/settings-modal.stories.d.ts +7 -0
- package/dist/src/connect/components/modal/settings-modal/settings-modal.stories.d.ts.map +1 -0
- package/dist/src/connect/components/modal/settings-modal/settings-modal.stories.js +33 -0
- package/dist/src/connect/components/modal/settings-modal/settings-modal.stories.js.map +1 -0
- package/dist/src/connect/components/modal/settings-modal-v2/about.stories.d.ts +8 -0
- package/dist/src/connect/components/modal/settings-modal-v2/about.stories.d.ts.map +1 -0
- package/dist/src/connect/components/modal/settings-modal-v2/about.stories.js +20 -0
- package/dist/src/connect/components/modal/settings-modal-v2/about.stories.js.map +1 -0
- package/dist/src/connect/components/modal/settings-modal-v2/danger-zone.d.ts.map +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/danger-zone.js +4 -7
- package/dist/src/connect/components/modal/settings-modal-v2/danger-zone.js.map +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/danger-zone.stories.d.ts +10 -0
- package/dist/src/connect/components/modal/settings-modal-v2/danger-zone.stories.d.ts.map +1 -0
- package/dist/src/connect/components/modal/settings-modal-v2/danger-zone.stories.js +42 -0
- package/dist/src/connect/components/modal/settings-modal-v2/danger-zone.stories.js.map +1 -0
- package/dist/src/connect/components/modal/settings-modal-v2/default-editor.d.ts +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/default-editor.d.ts.map +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/default-editor.js +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/default-editor.js.map +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/default-editor.stories.d.ts +10 -0
- package/dist/src/connect/components/modal/settings-modal-v2/default-editor.stories.d.ts.map +1 -0
- package/dist/src/connect/components/modal/settings-modal-v2/default-editor.stories.js +25 -0
- package/dist/src/connect/components/modal/settings-modal-v2/default-editor.stories.js.map +1 -0
- package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-input.d.ts.map +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-input.js +4 -8
- package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-input.js.map +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-list.d.ts.map +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-list.js +1 -2
- package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-list.js.map +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-select.d.ts +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-select.d.ts.map +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-select.js +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-select.js.map +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager.stories.d.ts +14 -0
- package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager.stories.d.ts.map +1 -0
- package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager.stories.js +56 -0
- package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager.stories.js.map +1 -0
- package/dist/src/connect/components/modal/settings-modal-v2/settings-modal.d.ts +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/settings-modal.d.ts.map +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/settings-modal.js +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/settings-modal.js.map +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/settings-modal.stories.d.ts +7 -0
- package/dist/src/connect/components/modal/settings-modal-v2/settings-modal.stories.d.ts.map +1 -0
- package/dist/src/connect/components/modal/settings-modal-v2/settings-modal.stories.js +84 -0
- package/dist/src/connect/components/modal/settings-modal-v2/settings-modal.stories.js.map +1 -0
- package/dist/src/connect/components/modal/upgrade-drive-modal.d.ts +1 -1
- package/dist/src/connect/components/modal/upgrade-drive-modal.d.ts.map +1 -1
- package/dist/src/connect/components/modal/upgrade-drive-modal.js +1 -1
- package/dist/src/connect/components/modal/upgrade-drive-modal.js.map +1 -1
- package/dist/src/connect/components/modal/upgrade-drive-modal.stories.d.ts +7 -0
- package/dist/src/connect/components/modal/upgrade-drive-modal.stories.d.ts.map +1 -0
- package/dist/src/connect/components/modal/upgrade-drive-modal.stories.js +16 -0
- package/dist/src/connect/components/modal/upgrade-drive-modal.stories.js.map +1 -0
- package/dist/src/connect/components/modal/upgrade-drive-modal.test.d.ts +2 -0
- package/dist/src/connect/components/modal/upgrade-drive-modal.test.d.ts.map +1 -0
- package/dist/src/connect/components/modal/upgrade-drive-modal.test.js +41 -0
- package/dist/src/connect/components/modal/upgrade-drive-modal.test.js.map +1 -0
- package/dist/src/connect/components/node-input/node-input.stories.d.ts +7 -0
- package/dist/src/connect/components/node-input/node-input.stories.d.ts.map +1 -0
- package/dist/src/connect/components/node-input/node-input.stories.js +8 -0
- package/dist/src/connect/components/node-input/node-input.stories.js.map +1 -0
- package/dist/src/connect/components/revision-history/header/branch.js +1 -1
- package/dist/src/connect/components/revision-history/header/branch.js.map +1 -1
- package/dist/src/connect/components/revision-history/header/branch.stories.d.ts +10 -0
- package/dist/src/connect/components/revision-history/header/branch.stories.d.ts.map +1 -0
- package/dist/src/connect/components/revision-history/header/branch.stories.js +10 -0
- package/dist/src/connect/components/revision-history/header/branch.stories.js.map +1 -0
- package/dist/src/connect/components/revision-history/header/doc-id.js +1 -1
- package/dist/src/connect/components/revision-history/header/doc-id.js.map +1 -1
- package/dist/src/connect/components/revision-history/header/doc-id.stories.d.ts +10 -0
- package/dist/src/connect/components/revision-history/header/doc-id.stories.d.ts.map +1 -0
- package/dist/src/connect/components/revision-history/header/doc-id.stories.js +12 -0
- package/dist/src/connect/components/revision-history/header/doc-id.stories.js.map +1 -0
- package/dist/src/connect/components/revision-history/header/header.js +1 -1
- package/dist/src/connect/components/revision-history/header/header.js.map +1 -1
- package/dist/src/connect/components/revision-history/header/header.stories.d.ts +10 -0
- package/dist/src/connect/components/revision-history/header/header.stories.d.ts.map +1 -0
- package/dist/src/connect/components/revision-history/header/header.stories.js +16 -0
- package/dist/src/connect/components/revision-history/header/header.stories.js.map +1 -0
- package/dist/src/connect/components/revision-history/header/scope.js +2 -2
- package/dist/src/connect/components/revision-history/header/scope.js.map +1 -1
- package/dist/src/connect/components/revision-history/header/scope.stories.d.ts +10 -0
- package/dist/src/connect/components/revision-history/header/scope.stories.d.ts.map +1 -0
- package/dist/src/connect/components/revision-history/header/scope.stories.js +13 -0
- package/dist/src/connect/components/revision-history/header/scope.stories.js.map +1 -0
- package/dist/src/connect/components/revision-history/index.d.ts +1 -0
- package/dist/src/connect/components/revision-history/index.d.ts.map +1 -1
- package/dist/src/connect/components/revision-history/index.js +1 -0
- package/dist/src/connect/components/revision-history/index.js.map +1 -1
- package/dist/src/connect/components/revision-history/revision/address.d.ts.map +1 -1
- package/dist/src/connect/components/revision-history/revision/address.js +2 -3
- package/dist/src/connect/components/revision-history/revision/address.js.map +1 -1
- package/dist/src/connect/components/revision-history/revision/address.stories.d.ts +10 -0
- package/dist/src/connect/components/revision-history/revision/address.stories.d.ts.map +1 -0
- package/dist/src/connect/components/revision-history/revision/address.stories.js +16 -0
- package/dist/src/connect/components/revision-history/revision/address.stories.js.map +1 -0
- package/dist/src/connect/components/revision-history/revision/errors.d.ts.map +1 -1
- package/dist/src/connect/components/revision-history/revision/errors.js +2 -3
- package/dist/src/connect/components/revision-history/revision/errors.js.map +1 -1
- package/dist/src/connect/components/revision-history/revision/errors.stories.d.ts +12 -0
- package/dist/src/connect/components/revision-history/revision/errors.stories.d.ts.map +1 -0
- package/dist/src/connect/components/revision-history/revision/errors.stories.js +32 -0
- package/dist/src/connect/components/revision-history/revision/errors.stories.js.map +1 -0
- package/dist/src/connect/components/revision-history/revision/operation.d.ts.map +1 -1
- package/dist/src/connect/components/revision-history/revision/operation.js +2 -3
- package/dist/src/connect/components/revision-history/revision/operation.js.map +1 -1
- package/dist/src/connect/components/revision-history/revision/operation.stories.d.ts +10 -0
- package/dist/src/connect/components/revision-history/revision/operation.stories.d.ts.map +1 -0
- package/dist/src/connect/components/revision-history/revision/operation.stories.js +23 -0
- package/dist/src/connect/components/revision-history/revision/operation.stories.js.map +1 -0
- package/dist/src/connect/components/revision-history/revision/revision-number.d.ts.map +1 -1
- package/dist/src/connect/components/revision-history/revision/revision-number.js +2 -3
- package/dist/src/connect/components/revision-history/revision/revision-number.js.map +1 -1
- package/dist/src/connect/components/revision-history/revision/revision-number.stories.d.ts +10 -0
- package/dist/src/connect/components/revision-history/revision/revision-number.stories.d.ts.map +1 -0
- package/dist/src/connect/components/revision-history/revision/revision-number.stories.js +19 -0
- package/dist/src/connect/components/revision-history/revision/revision-number.stories.js.map +1 -0
- package/dist/src/connect/components/revision-history/revision/revision.stories.d.ts +11 -0
- package/dist/src/connect/components/revision-history/revision/revision.stories.d.ts.map +1 -0
- package/dist/src/connect/components/revision-history/revision/revision.stories.js +126 -0
- package/dist/src/connect/components/revision-history/revision/revision.stories.js.map +1 -0
- package/dist/src/connect/components/revision-history/revision/signature.d.ts +1 -1
- package/dist/src/connect/components/revision-history/revision/signature.d.ts.map +1 -1
- package/dist/src/connect/components/revision-history/revision/signature.js +2 -3
- package/dist/src/connect/components/revision-history/revision/signature.js.map +1 -1
- package/dist/src/connect/components/revision-history/revision/signature.stories.d.ts +12 -0
- package/dist/src/connect/components/revision-history/revision/signature.stories.d.ts.map +1 -0
- package/dist/src/connect/components/revision-history/revision/signature.stories.js +72 -0
- package/dist/src/connect/components/revision-history/revision/signature.stories.js.map +1 -0
- package/dist/src/connect/components/revision-history/revision/timestamp.js +2 -2
- package/dist/src/connect/components/revision-history/revision/timestamp.js.map +1 -1
- package/dist/src/connect/components/revision-history/revision/timestamp.stories.d.ts +10 -0
- package/dist/src/connect/components/revision-history/revision/timestamp.stories.d.ts.map +1 -0
- package/dist/src/connect/components/revision-history/revision/timestamp.stories.js +15 -0
- package/dist/src/connect/components/revision-history/revision/timestamp.stories.js.map +1 -0
- package/dist/src/connect/components/revision-history/revision-history.d.ts.map +1 -1
- package/dist/src/connect/components/revision-history/revision-history.js +2 -3
- package/dist/src/connect/components/revision-history/revision-history.js.map +1 -1
- package/dist/src/connect/components/revision-history/revision-history.stories.d.ts +13 -0
- package/dist/src/connect/components/revision-history/revision-history.stories.d.ts.map +1 -0
- package/dist/src/connect/components/revision-history/revision-history.stories.js +49 -0
- package/dist/src/connect/components/revision-history/revision-history.stories.js.map +1 -0
- package/dist/src/connect/components/revision-history/skip/skip.stories.d.ts +11 -0
- package/dist/src/connect/components/revision-history/skip/skip.stories.d.ts.map +1 -0
- package/dist/src/connect/components/revision-history/skip/skip.stories.js +19 -0
- package/dist/src/connect/components/revision-history/skip/skip.stories.js.map +1 -0
- package/dist/src/connect/components/revision-history/timeline/day.js +1 -1
- package/dist/src/connect/components/revision-history/timeline/day.js.map +1 -1
- package/dist/src/connect/components/revision-history/timeline/timeline.stories.d.ts +10 -0
- package/dist/src/connect/components/revision-history/timeline/timeline.stories.d.ts.map +1 -0
- package/dist/src/connect/components/revision-history/timeline/timeline.stories.js +20 -0
- package/dist/src/connect/components/revision-history/timeline/timeline.stories.js.map +1 -0
- package/dist/src/connect/components/search-bar/filter-item.js +1 -1
- package/dist/src/connect/components/search-bar/filter-item.js.map +1 -1
- package/dist/src/connect/components/search-bar/search-bar.js +1 -2
- package/dist/src/connect/components/search-bar/search-bar.js.map +1 -1
- package/dist/src/connect/components/search-bar/search-bar.stories.d.ts +7 -0
- package/dist/src/connect/components/search-bar/search-bar.stories.d.ts.map +1 -0
- package/dist/src/connect/components/search-bar/search-bar.stories.js +43 -0
- package/dist/src/connect/components/search-bar/search-bar.stories.js.map +1 -0
- package/dist/src/connect/components/search-bar/search-bar.test.d.ts +2 -0
- package/dist/src/connect/components/search-bar/search-bar.test.d.ts.map +1 -0
- package/dist/src/connect/components/search-bar/search-bar.test.js +47 -0
- package/dist/src/connect/components/search-bar/search-bar.test.js.map +1 -0
- package/dist/src/connect/components/select/select.d.ts +5 -5
- package/dist/src/connect/components/select/select.d.ts.map +1 -1
- package/dist/src/connect/components/select/select.js +8 -3
- package/dist/src/connect/components/select/select.js.map +1 -1
- package/dist/src/connect/components/select/select.stories.d.ts +11 -0
- package/dist/src/connect/components/select/select.stories.d.ts.map +1 -0
- package/dist/src/connect/components/select/select.stories.js +42 -0
- package/dist/src/connect/components/select/select.stories.js.map +1 -0
- package/dist/src/connect/components/sidebar/sidebar-add-drive-item.js +1 -1
- package/dist/src/connect/components/sidebar/sidebar-add-drive-item.js.map +1 -1
- package/dist/src/connect/components/sidebar/sidebar-footer.d.ts +1 -1
- package/dist/src/connect/components/sidebar/sidebar-footer.d.ts.map +1 -1
- package/dist/src/connect/components/sidebar/sidebar-footer.js +1 -1
- package/dist/src/connect/components/sidebar/sidebar-footer.js.map +1 -1
- package/dist/src/connect/components/sidebar/sidebar-header.d.ts +1 -1
- package/dist/src/connect/components/sidebar/sidebar-header.d.ts.map +1 -1
- package/dist/src/connect/components/sidebar/sidebar-header.js +1 -1
- package/dist/src/connect/components/sidebar/sidebar-header.js.map +1 -1
- package/dist/src/connect/components/sidebar/sidebar-login.js +3 -3
- package/dist/src/connect/components/sidebar/sidebar-login.js.map +1 -1
- package/dist/src/connect/components/sidebar/sidebar-user.js +1 -2
- package/dist/src/connect/components/sidebar/sidebar-user.js.map +1 -1
- package/dist/src/connect/components/sidebar/sidebar.d.ts +1 -1
- package/dist/src/connect/components/sidebar/sidebar.d.ts.map +1 -1
- package/dist/src/connect/components/sidebar/sidebar.js +1 -1
- package/dist/src/connect/components/sidebar/sidebar.js.map +1 -1
- package/dist/src/connect/components/sidebar/sidebar.stories.d.ts +13 -0
- package/dist/src/connect/components/sidebar/sidebar.stories.d.ts.map +1 -0
- package/dist/src/connect/components/sidebar/sidebar.stories.js +35 -0
- package/dist/src/connect/components/sidebar/sidebar.stories.js.map +1 -0
- package/dist/src/connect/components/status-icon/sync-status-icon.d.ts +2 -3
- package/dist/src/connect/components/status-icon/sync-status-icon.d.ts.map +1 -1
- package/dist/src/connect/components/status-icon/sync-status-icon.js +1 -2
- package/dist/src/connect/components/status-icon/sync-status-icon.js.map +1 -1
- package/dist/src/connect/components/status-icon/sync-status-icon.stories.d.ts +12 -0
- package/dist/src/connect/components/status-icon/sync-status-icon.stories.d.ts.map +1 -0
- package/dist/src/connect/components/status-icon/sync-status-icon.stories.js +34 -0
- package/dist/src/connect/components/status-icon/sync-status-icon.stories.js.map +1 -0
- package/dist/src/connect/components/toast/toast.js +1 -1
- package/dist/src/connect/components/toast/toast.js.map +1 -1
- package/dist/src/connect/components/toast/toast.stories.d.ts +9 -0
- package/dist/src/connect/components/toast/toast.stories.d.ts.map +1 -0
- package/dist/src/connect/components/toast/toast.stories.js +54 -0
- package/dist/src/connect/components/toast/toast.stories.js.map +1 -0
- package/dist/src/connect/components/toggle/toggle.stories.d.ts +307 -0
- package/dist/src/connect/components/toggle/toggle.stories.d.ts.map +1 -0
- package/dist/src/connect/components/toggle/toggle.stories.js +19 -0
- package/dist/src/connect/components/toggle/toggle.stories.js.map +1 -0
- package/dist/src/connect/components/tooltip/tooltip.d.ts +2 -2
- package/dist/src/connect/components/tooltip/tooltip.d.ts.map +1 -1
- package/dist/src/connect/components/tooltip/tooltip.js +2 -2
- package/dist/src/connect/components/tooltip/tooltip.js.map +1 -1
- package/dist/src/connect/components/tooltip/tooltip.stories.d.ts +7 -0
- package/dist/src/connect/components/tooltip/tooltip.stories.d.ts.map +1 -0
- package/dist/src/connect/components/tooltip/tooltip.stories.js +14 -0
- package/dist/src/connect/components/tooltip/tooltip.stories.js.map +1 -0
- package/dist/src/connect/components/upload-file-item/components/error-details.d.ts +2 -2
- package/dist/src/connect/components/upload-file-item/components/error-details.d.ts.map +1 -1
- package/dist/src/connect/components/upload-file-item/components/error-details.js +1 -1
- package/dist/src/connect/components/upload-file-item/components/error-details.js.map +1 -1
- package/dist/src/connect/components/upload-file-item/components/header.d.ts +2 -2
- package/dist/src/connect/components/upload-file-item/components/header.d.ts.map +1 -1
- package/dist/src/connect/components/upload-file-item/components/header.js +2 -2
- package/dist/src/connect/components/upload-file-item/components/header.js.map +1 -1
- package/dist/src/connect/components/upload-file-item/components/index.d.ts +4 -4
- package/dist/src/connect/components/upload-file-item/components/index.d.ts.map +1 -1
- package/dist/src/connect/components/upload-file-item/components/index.js +4 -4
- package/dist/src/connect/components/upload-file-item/components/index.js.map +1 -1
- package/dist/src/connect/components/upload-file-item/components/progress-bar.d.ts +2 -2
- package/dist/src/connect/components/upload-file-item/components/progress-bar.d.ts.map +1 -1
- package/dist/src/connect/components/upload-file-item/components/progress-bar.js +1 -1
- package/dist/src/connect/components/upload-file-item/components/progress-bar.js.map +1 -1
- package/dist/src/connect/components/upload-file-item/components/status-row.d.ts +2 -2
- package/dist/src/connect/components/upload-file-item/components/status-row.d.ts.map +1 -1
- package/dist/src/connect/components/upload-file-item/components/status-row.js +1 -1
- package/dist/src/connect/components/upload-file-item/components/status-row.js.map +1 -1
- package/dist/src/connect/components/upload-file-item/index.d.ts +2 -1
- package/dist/src/connect/components/upload-file-item/index.d.ts.map +1 -1
- package/dist/src/connect/components/upload-file-item/index.js +2 -1
- package/dist/src/connect/components/upload-file-item/index.js.map +1 -1
- package/dist/src/connect/components/upload-file-item/upload-file-item.d.ts +1 -1
- package/dist/src/connect/components/upload-file-item/upload-file-item.d.ts.map +1 -1
- package/dist/src/connect/components/upload-file-item/upload-file-item.js +1 -4
- package/dist/src/connect/components/upload-file-item/upload-file-item.js.map +1 -1
- package/dist/src/connect/components/upload-file-item/upload-file-item.stories.d.ts +22 -0
- package/dist/src/connect/components/upload-file-item/upload-file-item.stories.d.ts.map +1 -0
- package/dist/src/connect/components/upload-file-item/upload-file-item.stories.js +208 -0
- package/dist/src/connect/components/upload-file-item/upload-file-item.stories.js.map +1 -0
- package/dist/src/connect/components/upload-file-list/index.d.ts +2 -2
- package/dist/src/connect/components/upload-file-list/index.d.ts.map +1 -1
- package/dist/src/connect/components/upload-file-list/index.js +2 -2
- package/dist/src/connect/components/upload-file-list/index.js.map +1 -1
- package/dist/src/connect/components/upload-file-list/upload-file-list.d.ts +2 -2
- package/dist/src/connect/components/upload-file-list/upload-file-list.d.ts.map +1 -1
- package/dist/src/connect/components/upload-file-list/upload-file-list.js +1 -3
- package/dist/src/connect/components/upload-file-list/upload-file-list.js.map +1 -1
- package/dist/src/connect/components/upload-file-list/upload-file-list.stories.d.ts +8 -0
- package/dist/src/connect/components/upload-file-list/upload-file-list.stories.d.ts.map +1 -0
- package/dist/src/connect/components/upload-file-list/upload-file-list.stories.js +59 -0
- package/dist/src/connect/components/upload-file-list/upload-file-list.stories.js.map +1 -0
- package/dist/src/connect/constants/icons.d.ts +1 -1
- package/dist/src/connect/constants/icons.d.ts.map +1 -1
- package/dist/src/connect/constants/icons.js +4 -4
- package/dist/src/connect/constants/icons.js.map +1 -1
- package/dist/src/connect/constants/index.d.ts +0 -2
- package/dist/src/connect/constants/index.d.ts.map +1 -1
- package/dist/src/connect/constants/index.js +0 -2
- package/dist/src/connect/constants/index.js.map +1 -1
- package/dist/src/connect/constants/options.d.ts +2 -12
- package/dist/src/connect/constants/options.d.ts.map +1 -1
- package/dist/src/connect/constants/options.js +23 -24
- package/dist/src/connect/constants/options.js.map +1 -1
- package/dist/src/connect/context/WagmiContext.js +1 -1
- package/dist/src/connect/context/WagmiContext.js.map +1 -1
- package/dist/src/connect/hooks/drag-and-drop/use-drag.d.ts +1 -1
- package/dist/src/connect/hooks/drag-and-drop/use-drag.d.ts.map +1 -1
- package/dist/src/connect/hooks/drag-and-drop/use-drag.js +1 -2
- package/dist/src/connect/hooks/drag-and-drop/use-drag.js.map +1 -1
- package/dist/src/connect/hooks/drag-and-drop/use-drop.d.ts.map +1 -1
- package/dist/src/connect/hooks/drag-and-drop/use-drop.js +1 -2
- package/dist/src/connect/hooks/drag-and-drop/use-drop.js.map +1 -1
- package/dist/src/connect/types/documents.d.ts +1 -1
- package/dist/src/connect/types/documents.d.ts.map +1 -1
- package/dist/src/connect/types/drives.d.ts +1 -3
- package/dist/src/connect/types/drives.d.ts.map +1 -1
- package/dist/src/connect/types/options.d.ts +4 -4
- package/dist/src/connect/types/options.d.ts.map +1 -1
- package/dist/src/connect/types/syncing.d.ts +1 -1
- package/dist/src/connect/types/syncing.d.ts.map +1 -1
- package/dist/src/connect/utils/get-document-icon-src.d.ts +1 -1
- package/dist/src/connect/utils/get-document-icon-src.d.ts.map +1 -1
- package/dist/src/connect/utils/get-document-icon-src.js +1 -1
- package/dist/src/connect/utils/get-document-icon-src.js.map +1 -1
- package/dist/src/connect/utils/get-folder-status.test.d.ts +2 -0
- package/dist/src/connect/utils/get-folder-status.test.d.ts.map +1 -0
- package/dist/src/connect/utils/get-folder-status.test.js +96 -0
- package/dist/src/connect/utils/get-folder-status.test.js.map +1 -0
- package/dist/src/connect/utils/mocks/mock-package-json.json +0 -1
- package/dist/src/index.d.ts +5 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +5 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/powerhouse/components/button/button.d.ts +2 -2
- package/dist/src/powerhouse/components/button/button.d.ts.map +1 -1
- package/dist/src/powerhouse/components/button/button.js +1 -1
- package/dist/src/powerhouse/components/button/button.js.map +1 -1
- package/dist/src/powerhouse/components/button/button.stories.d.ts +27 -0
- package/dist/src/powerhouse/components/button/button.stories.d.ts.map +1 -0
- package/dist/src/powerhouse/components/button/button.stories.js +154 -0
- package/dist/src/powerhouse/components/button/button.stories.js.map +1 -0
- package/dist/src/powerhouse/components/dropdown-menu/dropdown-menu.stories.d.ts +8 -0
- package/dist/src/powerhouse/components/dropdown-menu/dropdown-menu.stories.d.ts.map +1 -0
- package/dist/src/powerhouse/components/dropdown-menu/dropdown-menu.stories.js +38 -0
- package/dist/src/powerhouse/components/dropdown-menu/dropdown-menu.stories.js.map +1 -0
- package/dist/src/powerhouse/components/icon/icon.d.ts +1 -2
- package/dist/src/powerhouse/components/icon/icon.d.ts.map +1 -1
- package/dist/src/powerhouse/components/icon/icon.js +1 -2
- package/dist/src/powerhouse/components/icon/icon.js.map +1 -1
- package/dist/src/powerhouse/components/icon/icon.stories.d.ts +16 -0
- package/dist/src/powerhouse/components/icon/icon.stories.d.ts.map +1 -0
- package/dist/src/powerhouse/components/icon/icon.stories.js +37 -0
- package/dist/src/powerhouse/components/icon/icon.stories.js.map +1 -0
- package/dist/src/powerhouse/components/icon/index.d.ts +0 -2
- package/dist/src/powerhouse/components/icon/index.d.ts.map +1 -1
- package/dist/src/powerhouse/components/icon/index.js +0 -1
- package/dist/src/powerhouse/components/icon/index.js.map +1 -1
- package/dist/src/powerhouse/components/index.d.ts +1 -0
- package/dist/src/powerhouse/components/index.d.ts.map +1 -1
- package/dist/src/powerhouse/components/index.js +1 -0
- package/dist/src/powerhouse/components/index.js.map +1 -1
- package/dist/src/powerhouse/components/modal/modal.stories.d.ts +13 -0
- package/dist/src/powerhouse/components/modal/modal.stories.d.ts.map +1 -0
- package/dist/src/powerhouse/components/modal/modal.stories.js +25 -0
- package/dist/src/powerhouse/components/modal/modal.stories.js.map +1 -0
- package/dist/src/powerhouse/components/modal/modal.test.d.ts +2 -0
- package/dist/src/powerhouse/components/modal/modal.test.d.ts.map +1 -0
- package/dist/src/powerhouse/components/modal/modal.test.js +25 -0
- package/dist/src/powerhouse/components/modal/modal.test.js.map +1 -0
- package/dist/src/powerhouse/components/pagination/pagination-button.d.ts +2 -2
- package/dist/src/powerhouse/components/pagination/pagination-button.d.ts.map +1 -1
- package/dist/src/powerhouse/components/pagination/pagination-button.js +2 -2
- package/dist/src/powerhouse/components/pagination/pagination-button.js.map +1 -1
- package/dist/src/powerhouse/components/pagination/pagination.d.ts +1 -1
- package/dist/src/powerhouse/components/pagination/pagination.d.ts.map +1 -1
- package/dist/src/powerhouse/components/pagination/pagination.js +1 -1
- package/dist/src/powerhouse/components/pagination/pagination.js.map +1 -1
- package/dist/src/powerhouse/components/pagination/pagination.stories.d.ts +7 -0
- package/dist/src/powerhouse/components/pagination/pagination.stories.d.ts.map +1 -0
- package/dist/src/powerhouse/components/pagination/pagination.stories.js +60 -0
- package/dist/src/powerhouse/components/pagination/pagination.stories.js.map +1 -0
- package/dist/src/powerhouse/components/sidebar/sidebar.test.d.ts +2 -0
- package/dist/src/powerhouse/components/sidebar/sidebar.test.d.ts.map +1 -0
- package/dist/src/powerhouse/components/sidebar/sidebar.test.js +15 -0
- package/dist/src/powerhouse/components/sidebar/sidebar.test.js.map +1 -0
- package/dist/src/powerhouse/hooks/usePagination.test.d.ts +2 -0
- package/dist/src/powerhouse/hooks/usePagination.test.d.ts.map +1 -0
- package/dist/src/powerhouse/hooks/usePagination.test.js +456 -0
- package/dist/src/powerhouse/hooks/usePagination.test.js.map +1 -0
- package/dist/src/powerhouse/tests/mocks/fileMock.js +1 -1
- package/dist/src/powerhouse/tests/mocks/fileMock.js.map +1 -1
- package/dist/src/powerhouse/tests/mocks/svgMock.js +1 -1
- package/dist/src/powerhouse/tests/mocks/svgMock.js.map +1 -1
- package/dist/src/powerhouse/utils/index.d.ts +0 -3
- package/dist/src/powerhouse/utils/index.d.ts.map +1 -1
- package/dist/src/powerhouse/utils/index.js +0 -6
- package/dist/src/powerhouse/utils/index.js.map +1 -1
- package/dist/src/powerhouse/utils/mergeClassNameProps.test.d.ts +2 -0
- package/dist/src/powerhouse/utils/mergeClassNameProps.test.d.ts.map +1 -0
- package/dist/src/powerhouse/utils/mergeClassNameProps.test.js +44 -0
- package/dist/src/powerhouse/utils/mergeClassNameProps.test.js.map +1 -0
- package/dist/src/rwa/components/button/button.d.ts +2 -2
- package/dist/src/rwa/components/button/button.d.ts.map +1 -1
- package/dist/src/rwa/components/button/button.js +2 -2
- package/dist/src/rwa/components/button/button.js.map +1 -1
- package/dist/src/rwa/components/button/button.stories.d.ts +7 -0
- package/dist/src/rwa/components/button/button.stories.d.ts.map +1 -0
- package/dist/src/rwa/components/button/button.stories.js +24 -0
- package/dist/src/rwa/components/button/button.stories.js.map +1 -0
- package/dist/src/rwa/components/editor/editor.js +1 -1
- package/dist/src/rwa/components/editor/editor.js.map +1 -1
- package/dist/src/rwa/components/editor/editor.stories.d.ts +16 -0
- package/dist/src/rwa/components/editor/editor.stories.d.ts.map +1 -0
- package/dist/src/rwa/components/editor/editor.stories.js +151 -0
- package/dist/src/rwa/components/editor/editor.stories.js.map +1 -0
- package/dist/src/rwa/components/inputs/entry-time-label.d.ts +1 -1
- package/dist/src/rwa/components/inputs/entry-time-label.d.ts.map +1 -1
- package/dist/src/rwa/components/inputs/entry-time-label.js +1 -1
- package/dist/src/rwa/components/inputs/entry-time-label.js.map +1 -1
- package/dist/src/rwa/components/inputs/form-row.d.ts +1 -1
- package/dist/src/rwa/components/inputs/form-row.d.ts.map +1 -1
- package/dist/src/rwa/components/inputs/form-row.js +1 -1
- package/dist/src/rwa/components/inputs/form-row.js.map +1 -1
- package/dist/src/rwa/components/inputs/index.d.ts +1 -0
- package/dist/src/rwa/components/inputs/index.d.ts.map +1 -1
- package/dist/src/rwa/components/inputs/index.js +1 -0
- package/dist/src/rwa/components/inputs/index.js.map +1 -1
- package/dist/src/rwa/components/inputs/number-input.d.ts +1 -1
- package/dist/src/rwa/components/inputs/number-input.d.ts.map +1 -1
- package/dist/src/rwa/components/inputs/number-input.js +1 -1
- package/dist/src/rwa/components/inputs/number-input.js.map +1 -1
- package/dist/src/rwa/components/inputs/select.d.ts +1 -1
- package/dist/src/rwa/components/inputs/select.d.ts.map +1 -1
- package/dist/src/rwa/components/inputs/select.js +1 -1
- package/dist/src/rwa/components/inputs/select.js.map +1 -1
- package/dist/src/rwa/components/modal/create-item-modal.d.ts +2 -2
- package/dist/src/rwa/components/modal/create-item-modal.d.ts.map +1 -1
- package/dist/src/rwa/components/modal/create-item-modal.js +1 -2
- package/dist/src/rwa/components/modal/create-item-modal.js.map +1 -1
- package/dist/src/rwa/components/modal/delete-item-modal.d.ts +2 -2
- package/dist/src/rwa/components/modal/delete-item-modal.d.ts.map +1 -1
- package/dist/src/rwa/components/modal/delete-item-modal.js +1 -2
- package/dist/src/rwa/components/modal/delete-item-modal.js.map +1 -1
- package/dist/src/rwa/components/modal/modal-manager.d.ts +1 -1
- package/dist/src/rwa/components/modal/modal-manager.d.ts.map +1 -1
- package/dist/src/rwa/components/modal/modal-manager.js +1 -1
- package/dist/src/rwa/components/modal/modal-manager.js.map +1 -1
- package/dist/src/rwa/components/modal/modals.d.ts +2 -2
- package/dist/src/rwa/components/modal/modals.d.ts.map +1 -1
- package/dist/src/rwa/components/modal/modals.js +1 -1
- package/dist/src/rwa/components/modal/modals.js.map +1 -1
- package/dist/src/rwa/components/table/accounts/accounts-table.d.ts.map +1 -1
- package/dist/src/rwa/components/table/accounts/accounts-table.js +1 -2
- package/dist/src/rwa/components/table/accounts/accounts-table.js.map +1 -1
- package/dist/src/rwa/components/table/assets/assets-table.js +1 -1
- package/dist/src/rwa/components/table/assets/assets-table.js.map +1 -1
- package/dist/src/rwa/components/table/base/header-label.d.ts +1 -1
- package/dist/src/rwa/components/table/base/header-label.d.ts.map +1 -1
- package/dist/src/rwa/components/table/base/item-details.d.ts +1 -1
- package/dist/src/rwa/components/table/base/item-details.d.ts.map +1 -1
- package/dist/src/rwa/components/table/base/item-details.js +1 -2
- package/dist/src/rwa/components/table/base/item-details.js.map +1 -1
- package/dist/src/rwa/components/table/base/table-base.d.ts +1 -1
- package/dist/src/rwa/components/table/base/table-base.d.ts.map +1 -1
- package/dist/src/rwa/components/table/base/table-base.js +1 -1
- package/dist/src/rwa/components/table/base/table-base.js.map +1 -1
- package/dist/src/rwa/components/table/base/table-cell.d.ts +1 -1
- package/dist/src/rwa/components/table/base/table-cell.d.ts.map +1 -1
- package/dist/src/rwa/components/table/base/table-cell.js +1 -2
- package/dist/src/rwa/components/table/base/table-cell.js.map +1 -1
- package/dist/src/rwa/components/table/base/table-with-form.d.ts +1 -1
- package/dist/src/rwa/components/table/base/table-with-form.d.ts.map +1 -1
- package/dist/src/rwa/components/table/base/table-with-form.js +1 -2
- package/dist/src/rwa/components/table/base/table-with-form.js.map +1 -1
- package/dist/src/rwa/components/table/base/table.d.ts +1 -1
- package/dist/src/rwa/components/table/base/table.d.ts.map +1 -1
- package/dist/src/rwa/components/table/base/table.js +1 -2
- package/dist/src/rwa/components/table/base/table.js.map +1 -1
- package/dist/src/rwa/components/table/transactions/cash-balance-change.d.ts +1 -1
- package/dist/src/rwa/components/table/transactions/cash-balance-change.d.ts.map +1 -1
- package/dist/src/rwa/components/table/transactions/cash-balance-change.js +1 -1
- package/dist/src/rwa/components/table/transactions/cash-balance-change.js.map +1 -1
- package/dist/src/rwa/components/table/transactions/fee-transactions-table.d.ts +1 -1
- package/dist/src/rwa/components/table/transactions/fee-transactions-table.d.ts.map +1 -1
- package/dist/src/rwa/components/table/transactions/fee-transactions-table.js +1 -2
- package/dist/src/rwa/components/table/transactions/fee-transactions-table.js.map +1 -1
- package/dist/src/rwa/components/table/transactions/group-transactions-table.d.ts.map +1 -1
- package/dist/src/rwa/components/table/transactions/group-transactions-table.js +1 -3
- package/dist/src/rwa/components/table/transactions/group-transactions-table.js.map +1 -1
- package/dist/src/rwa/components/table/transactions/index.d.ts +1 -0
- package/dist/src/rwa/components/table/transactions/index.d.ts.map +1 -1
- package/dist/src/rwa/components/table/transactions/index.js +1 -0
- package/dist/src/rwa/components/table/transactions/index.js.map +1 -1
- package/dist/src/rwa/components/table/transactions/transaction-reference.d.ts +1 -1
- package/dist/src/rwa/components/table/transactions/transaction-reference.d.ts.map +1 -1
- package/dist/src/rwa/components/table/transactions/transaction-reference.js +2 -4
- package/dist/src/rwa/components/table/transactions/transaction-reference.js.map +1 -1
- package/dist/src/rwa/components/table/transactions/unit-price.d.ts +1 -1
- package/dist/src/rwa/components/table/transactions/unit-price.d.ts.map +1 -1
- package/dist/src/rwa/components/table/transactions/unit-price.js +1 -1
- package/dist/src/rwa/components/table/transactions/unit-price.js.map +1 -1
- package/dist/src/rwa/components/tabs/other-tab.js +1 -1
- package/dist/src/rwa/components/tabs/other-tab.js.map +1 -1
- package/dist/src/rwa/components/tabs/portfolio-tab.js +1 -1
- package/dist/src/rwa/components/tabs/portfolio-tab.js.map +1 -1
- package/dist/src/rwa/components/tabs/tabs.js +1 -2
- package/dist/src/rwa/components/tabs/tabs.js.map +1 -1
- package/dist/src/rwa/components/tabs/transactions-tab.d.ts.map +1 -1
- package/dist/src/rwa/components/tabs/transactions-tab.js +1 -1
- package/dist/src/rwa/components/tabs/transactions-tab.js.map +1 -1
- package/dist/src/rwa/constants/columns.d.ts +1 -1
- package/dist/src/rwa/constants/columns.d.ts.map +1 -1
- package/dist/src/rwa/constants/dependent-items.d.ts +1 -1
- package/dist/src/rwa/constants/dependent-items.d.ts.map +1 -1
- package/dist/src/rwa/constants/dependent-items.js +1 -1
- package/dist/src/rwa/constants/dependent-items.js.map +1 -1
- package/dist/src/rwa/constants/names.d.ts +1 -1
- package/dist/src/rwa/constants/names.d.ts.map +1 -1
- package/dist/src/rwa/constants/table.d.ts +1 -1
- package/dist/src/rwa/constants/table.d.ts.map +1 -1
- package/dist/src/rwa/context/editor-context.d.ts +1 -1
- package/dist/src/rwa/context/editor-context.d.ts.map +1 -1
- package/dist/src/rwa/context/editor-context.js +1 -1
- package/dist/src/rwa/context/editor-context.js.map +1 -1
- package/dist/src/rwa/hooks/useColumnPriority.d.ts +1 -1
- package/dist/src/rwa/hooks/useColumnPriority.d.ts.map +1 -1
- package/dist/src/rwa/hooks/useColumnPriority.js.map +1 -1
- package/dist/src/rwa/hooks/useDefaultFormValues.d.ts +2 -2
- package/dist/src/rwa/hooks/useDefaultFormValues.d.ts.map +1 -1
- package/dist/src/rwa/hooks/useDefaultFormValues.js +1 -2
- package/dist/src/rwa/hooks/useDefaultFormValues.js.map +1 -1
- package/dist/src/rwa/hooks/useFormInputs.d.ts +1 -1
- package/dist/src/rwa/hooks/useFormInputs.d.ts.map +1 -1
- package/dist/src/rwa/hooks/useFormInputs.js +1 -3
- package/dist/src/rwa/hooks/useFormInputs.js.map +1 -1
- package/dist/src/rwa/hooks/useSortTableItems.d.ts +1 -1
- package/dist/src/rwa/hooks/useSortTableItems.d.ts.map +1 -1
- package/dist/src/rwa/hooks/useSubmit.d.ts +6 -6
- package/dist/src/rwa/hooks/useSubmit.d.ts.map +1 -1
- package/dist/src/rwa/hooks/useSubmit.js +1 -1
- package/dist/src/rwa/hooks/useSubmit.js.map +1 -1
- package/dist/src/rwa/hooks/useTableData.d.ts +1 -1
- package/dist/src/rwa/hooks/useTableData.d.ts.map +1 -1
- package/dist/src/rwa/hooks/useTableData.js +1 -1
- package/dist/src/rwa/hooks/useTableData.js.map +1 -1
- package/dist/src/rwa/hooks/useTableForm.d.ts +5 -5
- package/dist/src/rwa/hooks/useTableForm.d.ts.map +1 -1
- package/dist/src/rwa/hooks/useTableForm.js +1 -1
- package/dist/src/rwa/hooks/useTableForm.js.map +1 -1
- package/dist/src/rwa/index.d.ts +1 -2
- package/dist/src/rwa/index.d.ts.map +1 -1
- package/dist/src/rwa/index.js +1 -2
- package/dist/src/rwa/index.js.map +1 -1
- package/dist/src/rwa/mocks.d.ts +26 -0
- package/dist/src/rwa/mocks.d.ts.map +1 -0
- package/dist/src/rwa/{mocks/assets.js → mocks.js} +135 -1
- package/dist/src/rwa/mocks.js.map +1 -0
- package/dist/src/rwa/types/actions.d.ts +1 -1
- package/dist/src/rwa/types/actions.d.ts.map +1 -1
- package/dist/src/rwa/types/form.d.ts +1 -1
- package/dist/src/rwa/types/form.d.ts.map +1 -1
- package/dist/src/rwa/types/state.d.ts +1 -1
- package/dist/src/rwa/types/state.d.ts.map +1 -1
- package/dist/src/rwa/types/table.d.ts +1 -1
- package/dist/src/rwa/types/table.d.ts.map +1 -1
- package/dist/src/rwa/types.d.ts +5 -0
- package/dist/src/rwa/types.d.ts.map +1 -0
- package/dist/src/rwa/types.js +5 -0
- package/dist/src/rwa/types.js.map +1 -0
- package/dist/src/rwa/utils/calculations.d.ts +1 -1
- package/dist/src/rwa/utils/calculations.d.ts.map +1 -1
- package/dist/src/rwa/utils/calculations.js +1 -1
- package/dist/src/rwa/utils/calculations.js.map +1 -1
- package/dist/src/rwa/utils/form.d.ts +1 -1
- package/dist/src/rwa/utils/form.d.ts.map +1 -1
- package/dist/src/rwa/utils/table.d.ts +1 -1
- package/dist/src/rwa/utils/table.d.ts.map +1 -1
- package/dist/src/rwa/utils/table.js +1 -1
- package/dist/src/rwa/utils/table.js.map +1 -1
- package/dist/src/rwa/utils/validators.d.ts +1 -1
- package/dist/src/rwa/utils/validators.d.ts.map +1 -1
- package/dist/src/rwa/utils/validators.js +1 -1
- package/dist/src/rwa/utils/validators.js.map +1 -1
- package/dist/src/ui/components/amount-input/types.d.ts +1 -1
- package/dist/src/ui/components/amount-input/types.d.ts.map +1 -1
- package/dist/src/ui/components/button/button.d.ts +1 -2
- package/dist/src/ui/components/button/button.d.ts.map +1 -1
- package/dist/src/ui/components/button/button.js +3 -3
- package/dist/src/ui/components/button/button.js.map +1 -1
- package/dist/src/ui/components/button/button.test.d.ts +2 -0
- package/dist/src/ui/components/button/button.test.d.ts.map +1 -0
- package/dist/src/ui/components/button/button.test.js +11 -0
- package/dist/src/ui/components/button/button.test.js.map +1 -0
- package/dist/src/ui/components/character-counter/character-counter.stories.d.ts +29 -0
- package/dist/src/ui/components/character-counter/character-counter.stories.d.ts.map +1 -0
- package/dist/src/ui/components/character-counter/character-counter.stories.js +48 -0
- package/dist/src/ui/components/character-counter/character-counter.stories.js.map +1 -0
- package/dist/src/ui/components/character-counter/character-counter.test.d.ts +2 -0
- package/dist/src/ui/components/character-counter/character-counter.test.d.ts.map +1 -0
- package/dist/src/ui/components/character-counter/character-counter.test.js +36 -0
- package/dist/src/ui/components/character-counter/character-counter.test.js.map +1 -0
- package/dist/src/ui/components/checkbox/checkbox-base.d.ts.map +1 -1
- package/dist/src/ui/components/checkbox/checkbox-base.js +1 -1
- package/dist/src/ui/components/checkbox/checkbox-base.js.map +1 -1
- package/dist/src/ui/components/checkbox/checkbox-base.test.d.ts +2 -0
- package/dist/src/ui/components/checkbox/checkbox-base.test.d.ts.map +1 -0
- package/dist/src/ui/components/checkbox/checkbox-base.test.js +22 -0
- package/dist/src/ui/components/checkbox/checkbox-base.test.js.map +1 -0
- package/dist/src/ui/components/checkbox/checkbox.d.ts +1 -1
- package/dist/src/ui/components/checkbox/checkbox.d.ts.map +1 -1
- package/dist/src/ui/components/checkbox/checkbox.js +1 -3
- package/dist/src/ui/components/checkbox/checkbox.js.map +1 -1
- package/dist/src/ui/components/checkbox/checkbox.stories.d.ts +49 -0
- package/dist/src/ui/components/checkbox/checkbox.stories.d.ts.map +1 -0
- package/dist/src/ui/components/checkbox/checkbox.stories.js +106 -0
- package/dist/src/ui/components/checkbox/checkbox.stories.js.map +1 -0
- package/dist/src/ui/components/checkbox/index.js +1 -0
- package/dist/src/ui/components/checkbox/index.js.map +1 -1
- package/dist/src/ui/components/command/command.d.ts +6 -6
- package/dist/src/ui/components/command/command.js +1 -1
- package/dist/src/ui/components/command/command.js.map +1 -1
- package/dist/src/ui/components/command/command.test.d.ts +2 -0
- package/dist/src/ui/components/command/command.test.d.ts.map +1 -0
- package/dist/src/ui/components/command/command.test.js +11 -0
- package/dist/src/ui/components/command/command.test.js.map +1 -0
- package/dist/src/ui/components/enum-field/enum-field.d.ts +1 -2
- package/dist/src/ui/components/enum-field/enum-field.d.ts.map +1 -1
- package/dist/src/ui/components/enum-field/enum-field.js +1 -2
- package/dist/src/ui/components/enum-field/enum-field.js.map +1 -1
- package/dist/src/ui/components/enum-field/enum-field.stories.d.ts +19 -0
- package/dist/src/ui/components/enum-field/enum-field.stories.d.ts.map +1 -0
- package/dist/src/ui/components/enum-field/enum-field.stories.js +247 -0
- package/dist/src/ui/components/enum-field/enum-field.stories.js.map +1 -0
- package/dist/src/ui/components/enum-field/enum-field.test.d.ts +2 -0
- package/dist/src/ui/components/enum-field/enum-field.test.d.ts.map +1 -0
- package/dist/src/ui/components/enum-field/enum-field.test.js +87 -0
- package/dist/src/ui/components/enum-field/enum-field.test.js.map +1 -0
- package/dist/src/ui/components/enum-field/types.d.ts +1 -1
- package/dist/src/ui/components/enum-field/types.d.ts.map +1 -1
- package/dist/src/ui/components/form/form.d.ts.map +1 -1
- package/dist/src/ui/components/form/form.js +1 -2
- package/dist/src/ui/components/form/form.js.map +1 -1
- package/dist/src/ui/components/form-description/form-description.js +1 -1
- package/dist/src/ui/components/form-description/form-description.js.map +1 -1
- package/dist/src/ui/components/form-description/form-description.stories.d.ts +17 -0
- package/dist/src/ui/components/form-description/form-description.stories.d.ts.map +1 -0
- package/dist/src/ui/components/form-description/form-description.stories.js +25 -0
- package/dist/src/ui/components/form-description/form-description.stories.js.map +1 -0
- package/dist/src/ui/components/form-description/form-description.test.d.ts +2 -0
- package/dist/src/ui/components/form-description/form-description.test.d.ts.map +1 -0
- package/dist/src/ui/components/form-description/form-description.test.js +29 -0
- package/dist/src/ui/components/form-description/form-description.test.js.map +1 -0
- package/dist/src/ui/components/form-group/form-group.test.d.ts +2 -0
- package/dist/src/ui/components/form-group/form-group.test.d.ts.map +1 -0
- package/dist/src/ui/components/form-group/form-group.test.js +16 -0
- package/dist/src/ui/components/form-group/form-group.test.js.map +1 -0
- package/dist/src/ui/components/form-label/form-label.d.ts.map +1 -1
- package/dist/src/ui/components/form-label/form-label.js +1 -2
- package/dist/src/ui/components/form-label/form-label.js.map +1 -1
- package/dist/src/ui/components/form-label/form-label.stories.d.ts +11 -0
- package/dist/src/ui/components/form-label/form-label.stories.d.ts.map +1 -0
- package/dist/src/ui/components/form-label/form-label.stories.js +74 -0
- package/dist/src/ui/components/form-label/form-label.stories.js.map +1 -0
- package/dist/src/ui/components/form-label/form-label.test.d.ts +2 -0
- package/dist/src/ui/components/form-label/form-label.test.d.ts.map +1 -0
- package/dist/src/ui/components/form-label/form-label.test.js +56 -0
- package/dist/src/ui/components/form-label/form-label.test.js.map +1 -0
- package/dist/src/ui/components/form-message/form-message.js +1 -1
- package/dist/src/ui/components/form-message/form-message.js.map +1 -1
- package/dist/src/ui/components/form-message/form-message.stories.d.ts +9 -0
- package/dist/src/ui/components/form-message/form-message.stories.d.ts.map +1 -0
- package/dist/src/ui/components/form-message/form-message.stories.js +43 -0
- package/dist/src/ui/components/form-message/form-message.stories.js.map +1 -0
- package/dist/src/ui/components/form-message/form-message.test.d.ts +2 -0
- package/dist/src/ui/components/form-message/form-message.test.d.ts.map +1 -0
- package/dist/src/ui/components/form-message/form-message.test.js +49 -0
- package/dist/src/ui/components/form-message/form-message.test.js.map +1 -0
- package/dist/src/ui/components/form-message/message-list.js +1 -1
- package/dist/src/ui/components/form-message/message-list.js.map +1 -1
- package/dist/src/ui/components/id-autocomplete/id-autocomplete-input-container.d.ts +1 -1
- package/dist/src/ui/components/id-autocomplete/id-autocomplete-input-container.d.ts.map +1 -1
- package/dist/src/ui/components/id-autocomplete/id-autocomplete-input-container.js +1 -7
- package/dist/src/ui/components/id-autocomplete/id-autocomplete-input-container.js.map +1 -1
- package/dist/src/ui/components/id-autocomplete/id-autocomplete-list-option.d.ts +1 -1
- package/dist/src/ui/components/id-autocomplete/id-autocomplete-list-option.d.ts.map +1 -1
- package/dist/src/ui/components/id-autocomplete/id-autocomplete-list-option.js +1 -2
- package/dist/src/ui/components/id-autocomplete/id-autocomplete-list-option.js.map +1 -1
- package/dist/src/ui/components/id-autocomplete/id-autocomplete-list.d.ts +1 -1
- package/dist/src/ui/components/id-autocomplete/id-autocomplete-list.d.ts.map +1 -1
- package/dist/src/ui/components/id-autocomplete/id-autocomplete-list.js +2 -3
- package/dist/src/ui/components/id-autocomplete/id-autocomplete-list.js.map +1 -1
- package/dist/src/ui/components/id-autocomplete/id-autocomplete.d.ts.map +1 -1
- package/dist/src/ui/components/id-autocomplete/id-autocomplete.js +1 -13
- package/dist/src/ui/components/id-autocomplete/id-autocomplete.js.map +1 -1
- package/dist/src/ui/components/id-autocomplete/id-autocomplete.test.d.ts +2 -0
- package/dist/src/ui/components/id-autocomplete/id-autocomplete.test.d.ts.map +1 -0
- package/dist/src/ui/components/id-autocomplete/id-autocomplete.test.js +134 -0
- package/dist/src/ui/components/id-autocomplete/id-autocomplete.test.js.map +1 -0
- package/dist/src/ui/components/id-autocomplete/types.d.ts +1 -2
- package/dist/src/ui/components/id-autocomplete/types.d.ts.map +1 -1
- package/dist/src/ui/components/index.d.ts +11 -0
- package/dist/src/ui/components/index.d.ts.map +1 -1
- package/dist/src/ui/components/index.js +11 -0
- package/dist/src/ui/components/index.js.map +1 -1
- package/dist/src/ui/components/input/index.d.ts +3 -1
- package/dist/src/ui/components/input/index.d.ts.map +1 -1
- package/dist/src/ui/components/input/index.js +1 -0
- package/dist/src/ui/components/input/index.js.map +1 -1
- package/dist/src/ui/components/input/input.d.ts.map +1 -1
- package/dist/src/ui/components/input/input.js +5 -1
- package/dist/src/ui/components/input/input.js.map +1 -1
- package/dist/src/ui/components/input/input.stories.d.ts +40 -0
- package/dist/src/ui/components/input/input.stories.d.ts.map +1 -0
- package/dist/src/ui/components/input/input.stories.js +70 -0
- package/dist/src/ui/components/input/input.stories.js.map +1 -0
- package/dist/src/ui/components/input/input.test.d.ts +2 -0
- package/dist/src/ui/components/input/input.test.d.ts.map +1 -0
- package/dist/src/ui/components/input/input.test.js +46 -0
- package/dist/src/ui/components/input/input.test.js.map +1 -0
- package/dist/src/ui/components/input/splitted-input-diff.d.ts +3 -3
- package/dist/src/ui/components/input/splitted-input-diff.d.ts.map +1 -1
- package/dist/src/ui/components/input/splitted-input-diff.js +2 -5
- package/dist/src/ui/components/input/splitted-input-diff.js.map +1 -1
- package/dist/src/ui/components/input/subcomponent/input-diff.js +1 -1
- package/dist/src/ui/components/input/subcomponent/input-diff.js.map +1 -1
- package/dist/src/ui/components/input/subcomponent/text-diff.d.ts +1 -1
- package/dist/src/ui/components/input/subcomponent/text-diff.d.ts.map +1 -1
- package/dist/src/ui/components/input/subcomponent/text-diff.js +1 -1
- package/dist/src/ui/components/input/subcomponent/text-diff.js.map +1 -1
- package/dist/src/ui/components/popover/popover.js +1 -1
- package/dist/src/ui/components/popover/popover.js.map +1 -1
- package/dist/src/ui/components/popover/popover.test.d.ts +2 -0
- package/dist/src/ui/components/popover/popover.test.d.ts.map +1 -0
- package/dist/src/ui/components/popover/popover.test.js +11 -0
- package/dist/src/ui/components/popover/popover.test.js.map +1 -0
- package/dist/src/ui/components/radio-group-field/index.d.ts +2 -1
- package/dist/src/ui/components/radio-group-field/index.d.ts.map +1 -1
- package/dist/src/ui/components/radio-group-field/index.js +2 -1
- package/dist/src/ui/components/radio-group-field/index.js.map +1 -1
- package/dist/src/ui/components/radio-group-field/radio-group-field.d.ts +5 -6
- package/dist/src/ui/components/radio-group-field/radio-group-field.d.ts.map +1 -1
- package/dist/src/ui/components/radio-group-field/radio-group-field.js +7 -9
- package/dist/src/ui/components/radio-group-field/radio-group-field.js.map +1 -1
- package/dist/src/ui/components/radio-group-field/radio-group-field.stories.d.ts +48 -0
- package/dist/src/ui/components/radio-group-field/radio-group-field.stories.d.ts.map +1 -0
- package/dist/src/ui/components/radio-group-field/radio-group-field.stories.js +126 -0
- package/dist/src/ui/components/radio-group-field/radio-group-field.stories.js.map +1 -0
- package/dist/src/ui/components/radio-group-field/radio-group-field.test.d.ts +2 -0
- package/dist/src/ui/components/radio-group-field/radio-group-field.test.d.ts.map +1 -0
- package/dist/src/ui/components/radio-group-field/radio-group-field.test.js +128 -0
- package/dist/src/ui/components/radio-group-field/radio-group-field.test.js.map +1 -0
- package/dist/src/ui/components/radio-group-field/radio-group.test.d.ts +2 -0
- package/dist/src/ui/components/radio-group-field/radio-group.test.d.ts.map +1 -0
- package/dist/src/ui/components/radio-group-field/radio-group.test.js +74 -0
- package/dist/src/ui/components/radio-group-field/radio-group.test.js.map +1 -0
- package/dist/src/ui/components/radio-group-field/radio.d.ts.map +1 -1
- package/dist/src/ui/components/radio-group-field/radio.js +1 -2
- package/dist/src/ui/components/radio-group-field/radio.js.map +1 -1
- package/dist/src/ui/components/radio-group-field/radio.test.d.ts +2 -0
- package/dist/src/ui/components/radio-group-field/radio.test.d.ts.map +1 -0
- package/dist/src/ui/components/radio-group-field/radio.test.js +60 -0
- package/dist/src/ui/components/radio-group-field/radio.test.js.map +1 -0
- package/dist/src/ui/components/select-field/content.d.ts +2 -2
- package/dist/src/ui/components/select-field/content.d.ts.map +1 -1
- package/dist/src/ui/components/select-field/content.js +2 -5
- package/dist/src/ui/components/select-field/content.js.map +1 -1
- package/dist/src/ui/components/select-field/select-field.d.ts +1 -2
- package/dist/src/ui/components/select-field/select-field.d.ts.map +1 -1
- package/dist/src/ui/components/select-field/select-field.js +1 -10
- package/dist/src/ui/components/select-field/select-field.js.map +1 -1
- package/dist/src/ui/components/select-field/select-field.stories.d.ts +19 -0
- package/dist/src/ui/components/select-field/select-field.stories.d.ts.map +1 -0
- package/dist/src/ui/components/select-field/select-field.stories.js +251 -0
- package/dist/src/ui/components/select-field/select-field.stories.js.map +1 -0
- package/dist/src/ui/components/select-field/select-field.test.d.ts +2 -0
- package/dist/src/ui/components/select-field/select-field.test.d.ts.map +1 -0
- package/dist/src/ui/components/select-field/select-field.test.js +131 -0
- package/dist/src/ui/components/select-field/select-field.test.js.map +1 -0
- package/dist/src/ui/components/select-field/selected-content.d.ts +1 -1
- package/dist/src/ui/components/select-field/selected-content.d.ts.map +1 -1
- package/dist/src/ui/components/select-field/selected-content.js +1 -2
- package/dist/src/ui/components/select-field/selected-content.js.map +1 -1
- package/dist/src/ui/components/select-field/subcomponents/CommandItemList.d.ts +2 -2
- package/dist/src/ui/components/select-field/subcomponents/CommandItemList.d.ts.map +1 -1
- package/dist/src/ui/components/select-field/subcomponents/CommandItemList.js +2 -3
- package/dist/src/ui/components/select-field/subcomponents/CommandItemList.js.map +1 -1
- package/dist/src/ui/components/select-field/use-select-field.d.ts +1 -1
- package/dist/src/ui/components/select-field/use-select-field.d.ts.map +1 -1
- package/dist/src/ui/components/select-field/use-select-field.js.map +1 -1
- package/dist/src/ui/components/text-field/text-field.d.ts +2 -3
- package/dist/src/ui/components/text-field/text-field.d.ts.map +1 -1
- package/dist/src/ui/components/text-field/text-field.js +7 -3
- package/dist/src/ui/components/text-field/text-field.js.map +1 -1
- package/dist/src/ui/components/text-field/text-field.test.d.ts +2 -0
- package/dist/src/ui/components/text-field/text-field.test.d.ts.map +1 -0
- package/dist/src/ui/components/text-field/text-field.test.js +81 -0
- package/dist/src/ui/components/text-field/text-field.test.js.map +1 -0
- package/dist/src/ui/components/text-input/index.js +1 -0
- package/dist/src/ui/components/text-input/index.js.map +1 -1
- package/dist/src/ui/components/text-input/text-input-diff.d.ts +1 -1
- package/dist/src/ui/components/text-input/text-input-diff.d.ts.map +1 -1
- package/dist/src/ui/components/text-input/text-input-diff.js +1 -3
- package/dist/src/ui/components/text-input/text-input-diff.js.map +1 -1
- package/dist/src/ui/components/text-input/text-input.d.ts +1 -1
- package/dist/src/ui/components/text-input/text-input.d.ts.map +1 -1
- package/dist/src/ui/components/text-input/text-input.js +1 -9
- package/dist/src/ui/components/text-input/text-input.js.map +1 -1
- package/dist/src/ui/components/text-input/text-input.stories.d.ts +167 -0
- package/dist/src/ui/components/text-input/text-input.stories.d.ts.map +1 -0
- package/dist/src/ui/components/text-input/text-input.stories.js +109 -0
- package/dist/src/ui/components/text-input/text-input.stories.js.map +1 -0
- package/dist/src/ui/components/tooltip/tooltip.d.ts +1 -2
- package/dist/src/ui/components/tooltip/tooltip.d.ts.map +1 -1
- package/dist/src/ui/components/tooltip/tooltip.js +3 -4
- package/dist/src/ui/components/tooltip/tooltip.js.map +1 -1
- package/dist/src/ui/components/tooltip/tooltip.stories.d.ts +11 -0
- package/dist/src/ui/components/tooltip/tooltip.stories.d.ts.map +1 -0
- package/dist/src/ui/components/tooltip/tooltip.stories.js +87 -0
- package/dist/src/ui/components/tooltip/tooltip.stories.js.map +1 -0
- package/dist/src/ui/components/tooltip/tooltip.test.d.ts +2 -0
- package/dist/src/ui/components/tooltip/tooltip.test.d.ts.map +1 -0
- package/dist/src/ui/components/tooltip/tooltip.test.js +60 -0
- package/dist/src/ui/components/tooltip/tooltip.test.js.map +1 -0
- package/dist/src/ui/components/value-transformer/index.d.ts +0 -1
- package/dist/src/ui/components/value-transformer/index.d.ts.map +1 -1
- package/dist/src/ui/components/value-transformer/index.js +0 -1
- package/dist/src/ui/components/value-transformer/index.js.map +1 -1
- package/dist/src/ui/components/value-transformer/value-transformer.d.ts +2 -2
- package/dist/src/ui/components/value-transformer/value-transformer.d.ts.map +1 -1
- package/dist/src/ui/components/value-transformer/value-transformer.js +2 -6
- package/dist/src/ui/components/value-transformer/value-transformer.js.map +1 -1
- package/dist/src/ui/components/value-transformer/value-transformer.test.d.ts +2 -0
- package/dist/src/ui/components/value-transformer/value-transformer.test.d.ts.map +1 -0
- package/dist/src/ui/components/value-transformer/value-transformer.test.js +105 -0
- package/dist/src/ui/components/value-transformer/value-transformer.test.js.map +1 -0
- package/dist/src/ui/components/with-field-validation/with-field-validation.d.ts +3 -3
- package/dist/src/ui/components/with-field-validation/with-field-validation.d.ts.map +1 -1
- package/dist/src/ui/components/with-field-validation/with-field-validation.js +3 -6
- package/dist/src/ui/components/with-field-validation/with-field-validation.js.map +1 -1
- package/dist/src/ui/components/with-field-validation/with-field-validation.test.d.ts +2 -0
- package/dist/src/ui/components/with-field-validation/with-field-validation.test.d.ts.map +1 -0
- package/dist/src/ui/components/with-field-validation/with-field-validation.test.js +139 -0
- package/dist/src/ui/components/with-field-validation/with-field-validation.test.js.map +1 -0
- package/dist/src/ui/lib/decorators.d.ts.map +1 -1
- package/dist/src/ui/lib/decorators.js +1 -3
- package/dist/src/ui/lib/decorators.js.map +1 -1
- package/dist/src/ui/lib/index.d.ts +0 -1
- package/dist/src/ui/lib/index.d.ts.map +1 -1
- package/dist/src/ui/lib/index.js +0 -1
- package/dist/src/ui/lib/index.js.map +1 -1
- package/dist/src/ui/lib/is-empty.test.d.ts +2 -0
- package/dist/src/ui/lib/is-empty.test.d.ts.map +1 -0
- package/dist/src/ui/lib/is-empty.test.js +87 -0
- package/dist/src/ui/lib/is-empty.test.js.map +1 -0
- package/dist/src/ui/lib/shared-value-transformers.d.ts +1 -1
- package/dist/src/ui/lib/shared-value-transformers.d.ts.map +1 -1
- package/dist/src/ui/lib/testing.d.ts.map +1 -1
- package/dist/src/ui/lib/testing.js +1 -1
- package/dist/src/ui/lib/testing.js.map +1 -1
- package/dist/src/ui/lib/value-cast.js +1 -2
- package/dist/src/ui/lib/value-cast.js.map +1 -1
- package/dist/src/utils/cn.d.ts.map +1 -0
- package/dist/src/utils/cn.js.map +1 -0
- package/dist/src/{powerhouse/utils → utils}/fixedForwardRef.d.ts +0 -1
- package/dist/src/utils/fixedForwardRef.d.ts.map +1 -0
- package/dist/src/{powerhouse/utils → utils}/fixedForwardRef.js +0 -2
- package/dist/src/utils/fixedForwardRef.js.map +1 -0
- package/dist/src/utils/index.d.ts +3 -0
- package/dist/src/utils/index.d.ts.map +1 -0
- package/dist/src/utils/index.js +3 -0
- package/dist/src/utils/index.js.map +1 -0
- package/dist/style.css +3 -4
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/vitest.config.d.ts +3 -0
- package/dist/vitest.config.d.ts.map +1 -0
- package/dist/vitest.config.js +9 -0
- package/dist/vitest.config.js.map +1 -0
- package/package.json +23 -34
- package/dist/src/connect/constants/drives.d.ts +0 -7
- package/dist/src/connect/constants/drives.d.ts.map +0 -1
- package/dist/src/connect/constants/drives.js +0 -7
- package/dist/src/connect/constants/drives.js.map +0 -1
- package/dist/src/connect/constants/nodes.d.ts +0 -8
- package/dist/src/connect/constants/nodes.d.ts.map +0 -1
- package/dist/src/connect/constants/nodes.js +0 -8
- package/dist/src/connect/constants/nodes.js.map +0 -1
- package/dist/src/powerhouse/utils/fixedForwardRef.d.ts.map +0 -1
- package/dist/src/powerhouse/utils/fixedForwardRef.js.map +0 -1
- package/dist/src/rwa/mocks/assets.d.ts +0 -19
- package/dist/src/rwa/mocks/assets.d.ts.map +0 -1
- package/dist/src/rwa/mocks/assets.js.map +0 -1
- package/dist/src/rwa/mocks/index.d.ts +0 -4
- package/dist/src/rwa/mocks/index.d.ts.map +0 -1
- package/dist/src/rwa/mocks/index.js +0 -4
- package/dist/src/rwa/mocks/index.js.map +0 -1
- package/dist/src/rwa/mocks/state.d.ts +0 -4
- package/dist/src/rwa/mocks/state.d.ts.map +0 -1
- package/dist/src/rwa/mocks/state.js +0 -21
- package/dist/src/rwa/mocks/state.js.map +0 -1
- package/dist/src/rwa/mocks/transactions.d.ts +0 -7
- package/dist/src/rwa/mocks/transactions.d.ts.map +0 -1
- package/dist/src/rwa/mocks/transactions.js +0 -84
- package/dist/src/rwa/mocks/transactions.js.map +0 -1
- package/dist/src/rwa/types/index.d.ts +0 -5
- package/dist/src/rwa/types/index.d.ts.map +0 -1
- package/dist/src/rwa/types/index.js +0 -5
- package/dist/src/rwa/types/index.js.map +0 -1
- package/dist/src/ui/components/with-field-validation/index.d.ts +0 -2
- package/dist/src/ui/components/with-field-validation/index.d.ts.map +0 -1
- package/dist/src/ui/components/with-field-validation/index.js +0 -2
- package/dist/src/ui/components/with-field-validation/index.js.map +0 -1
- package/dist/src/ui/lib/cn.d.ts.map +0 -1
- package/dist/src/ui/lib/cn.js.map +0 -1
- package/dist/tsconfig.lib.tsbuildinfo +0 -1
- /package/{dist/src/assets → assets}/connect-loader.mp4 +0 -0
- /package/{dist/src/assets → assets}/connect.png +0 -0
- /package/{dist/src/assets → assets}/home-bg.avif +0 -0
- /package/{dist/src/assets → assets}/home-bg.png +0 -0
- /package/{dist/src/assets → assets}/icons/budget.png +0 -0
- /package/{dist/src/assets → assets}/icons/global.png +0 -0
- /package/{dist/src/assets → assets}/icons/legal.png +0 -0
- /package/{dist/src/assets → assets}/icons/profile.png +0 -0
- /package/{dist/src/assets → assets}/icons/rwa-report.png +0 -0
- /package/{dist/src/assets → assets}/icons/template.png +0 -0
- /package/{dist/src/assets → assets}/powerhouse-rounded.png +0 -0
- /package/{dist/src/assets → assets}/renown-hover.png +0 -0
- /package/{dist/src/assets → assets}/renown-short-hover.png +0 -0
- /package/{dist/src/assets → assets}/renown-short.png +0 -0
- /package/{dist/src/assets → assets}/renown.png +0 -0
- /package/dist/src/{ui/lib → utils}/cn.d.ts +0 -0
- /package/dist/src/{ui/lib → utils}/cn.js +0 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type Meta, type StoryObj } from "@storybook/react";
|
|
2
|
+
import { DropZone } from "./drop-zone.js";
|
|
3
|
+
declare const meta: Meta<typeof DropZone>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const Disabled: Story;
|
|
8
|
+
//# sourceMappingURL=drop-zone.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"drop-zone.stories.d.ts","sourceRoot":"","sources":["../../../../../src/connect/components/drop-zone/drop-zone.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,EAAE,KAAK,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAG5D,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,QAAQ,CAuC/B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,QAAQ,EAAE,KAItB,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import {} from "@storybook/react";
|
|
3
|
+
import { action } from "@storybook/addon-actions";
|
|
4
|
+
import { DropZone } from "./drop-zone.js";
|
|
5
|
+
const meta = {
|
|
6
|
+
title: "Connect/Components/DropZone",
|
|
7
|
+
component: DropZone,
|
|
8
|
+
parameters: {
|
|
9
|
+
layout: "fullscreen",
|
|
10
|
+
},
|
|
11
|
+
args: {
|
|
12
|
+
title: "Drag your documents",
|
|
13
|
+
subtitle: "to drop them in the currently selected folder.",
|
|
14
|
+
enable: true,
|
|
15
|
+
children: (_jsx("div", { className: "flex h-screen items-center justify-center bg-zinc-50", children: _jsx("div", { className: "rounded-lg border border-zinc-200 bg-white p-8 shadow-sm", children: _jsx("div", { className: "text-sm text-zinc-600", children: "Drag files over this page to trigger the DropZone overlay." }) }) })),
|
|
16
|
+
onAddFile: async (file, parent, onProgress) => {
|
|
17
|
+
action("onAddFile")(file, parent, onProgress);
|
|
18
|
+
// Mock progress updates
|
|
19
|
+
await new Promise((resolve) => setTimeout(resolve, 100));
|
|
20
|
+
onProgress?.({ stage: "loading", progress: 0 });
|
|
21
|
+
await new Promise((resolve) => setTimeout(resolve, 100));
|
|
22
|
+
onProgress?.({ stage: "uploading", progress: 50 });
|
|
23
|
+
await new Promise((resolve) => setTimeout(resolve, 100));
|
|
24
|
+
onProgress?.({ stage: "complete", progress: 100 });
|
|
25
|
+
// Return mock FileNode
|
|
26
|
+
return {
|
|
27
|
+
id: "mock-file-id",
|
|
28
|
+
name: file.name,
|
|
29
|
+
kind: "file",
|
|
30
|
+
parentFolder: "mock-parent-id",
|
|
31
|
+
};
|
|
32
|
+
},
|
|
33
|
+
onMoveNode: action("onMoveNode"),
|
|
34
|
+
onCopyNode: action("onCopyNode"),
|
|
35
|
+
},
|
|
36
|
+
};
|
|
37
|
+
export default meta;
|
|
38
|
+
export const Default = {};
|
|
39
|
+
export const Disabled = {
|
|
40
|
+
args: {
|
|
41
|
+
enable: false,
|
|
42
|
+
},
|
|
43
|
+
};
|
|
44
|
+
//# sourceMappingURL=drop-zone.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"drop-zone.stories.js","sourceRoot":"","sources":["../../../../../src/connect/components/drop-zone/drop-zone.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAA4B,MAAM,kBAAkB,CAAC;AAE5D,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,MAAM,IAAI,GAA0B;IAClC,KAAK,EAAE,6BAA6B;IACpC,SAAS,EAAE,QAAQ;IACnB,UAAU,EAAE;QACV,MAAM,EAAE,YAAY;KACrB;IACD,IAAI,EAAE;QACJ,KAAK,EAAE,qBAAqB;QAC5B,QAAQ,EAAE,gDAAgD;QAC1D,MAAM,EAAE,IAAI;QACZ,QAAQ,EAAE,CACR,cAAK,SAAS,EAAC,sDAAsD,YACnE,cAAK,SAAS,EAAC,0DAA0D,YACvE,cAAK,SAAS,EAAC,uBAAuB,2EAEhC,GACF,GACF,CACP;QACD,SAAS,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,EAAE;YAC5C,MAAM,CAAC,WAAW,CAAC,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC;YAC9C,wBAAwB;YACxB,MAAM,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC,CAAC;YACzD,UAAU,EAAE,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,CAAC,EAAE,CAAC,CAAC;YAChD,MAAM,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC,CAAC;YACzD,UAAU,EAAE,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CAAC;YACnD,MAAM,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC,CAAC;YACzD,UAAU,EAAE,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC,CAAC;YACnD,uBAAuB;YACvB,OAAO;gBACL,EAAE,EAAE,cAAc;gBAClB,IAAI,EAAE,IAAI,CAAC,IAAI;gBACf,IAAI,EAAE,MAAM;gBACZ,YAAY,EAAE,gBAAgB;aAC/B,CAAC;QACJ,CAAC;QACD,UAAU,EAAE,MAAM,CAAC,YAAY,CAAC;QAChC,UAAU,EAAE,MAAM,CAAC,YAAY,CAAC;KACjC;CACF,CAAC;AAEF,eAAe,IAAI,CAAC;AAGpB,MAAM,CAAC,MAAM,OAAO,GAAU,EAAE,CAAC;AAEjC,MAAM,CAAC,MAAM,QAAQ,GAAU;IAC7B,IAAI,EAAE;QACJ,MAAM,EAAE,KAAK;KACd;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload-file-list-container.js","sourceRoot":"","sources":["../../../../../src/connect/components/drop-zone/upload-file-list-container.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"upload-file-list-container.js","sourceRoot":"","sources":["../../../../../src/connect/components/drop-zone/upload-file-list-container.tsx"],"names":[],"mappings":";AACA,OAAO,EAAiC,MAAM,OAAO,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,qBAAqB,EAAsB,MAAM,YAAY,CAAC;AAavE,MAAM,UAAU,uBAAuB,CAAC,KAAmC;IACzE,MAAM,EACJ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,eAAe,EACf,eAAe,EACf,OAAO,EACP,SAAS,EACT,GAAG,cAAc,EAClB,GAAG,KAAK,CAAC;IAEV,uCAAuC;IACvC,IAAI,YAAY,KAAK,CAAC;QAAE,OAAO,IAAI,CAAC;IAEpC,MAAM,KAAK,GAAG,qBAAqB,CACjC,YAAY,EACZ,YAAY,EACZ,eAAe,CAChB,CAAC;IAEF,MAAM,WAAW,GAAG,OAAO,IAAI,eAAe,CAAC;IAE/C,OAAO,CACL,cACE,SAAS,EAAE,OAAO,CAAC,iCAAiC,EAAE,SAAS,CAAC,KAC5D,cAAc,YAElB,KAAC,cAAc,IAAC,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,WAAW,GAAI,GAClD,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger, } from "
|
|
2
|
+
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger, } from "@powerhousedao/design-system";
|
|
3
3
|
import { twMerge } from "tailwind-merge";
|
|
4
4
|
export function ConnectDropdownMenu(props) {
|
|
5
5
|
const { children, items, open, onItemClick, onOpenChange } = props;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown-menu.js","sourceRoot":"","sources":["../../../../../src/connect/components/dropdown-menu/dropdown-menu.tsx"],"names":[],"mappings":";AAAA,OAAO,EACL,YAAY,EACZ,mBAAmB,EACnB,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,
|
|
1
|
+
{"version":3,"file":"dropdown-menu.js","sourceRoot":"","sources":["../../../../../src/connect/components/dropdown-menu/dropdown-menu.tsx"],"names":[],"mappings":";AAAA,OAAO,EACL,YAAY,EACZ,mBAAmB,EACnB,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAiBzC,MAAM,UAAU,mBAAmB,CACjC,KAAwC;IAExC,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE,WAAW,EAAE,YAAY,EAAE,GAAG,KAAK,CAAC;IAEnE,OAAO,CACL,MAAC,YAAY,IAAC,YAAY,EAAE,YAAY,EAAE,IAAI,EAAE,IAAI,aAClD,KAAC,mBAAmB,IAAC,OAAO,QAAC,SAAS,EAAC,cAAc,YAClD,QAAQ,GACW,EACtB,KAAC,mBAAmB,IAAC,SAAS,EAAC,qFAAqF,YACjH,KAAK,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,CAC7C,MAAC,gBAAgB,IACf,SAAS,EAAE,OAAO,CAChB,wJAAwJ,EACxJ,SAAS,CACV,EAED,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,eAAe,EAAE,EACnC,QAAQ,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,EAAE,CAAC,aAE9B,IAAI,CAAC,CAAC,CAAC,eAAM,SAAS,EAAC,mBAAmB,YAAE,IAAI,GAAQ,CAAC,CAAC,CAAC,IAAI,EAC/D,KAAK,KALD,EAAE,CAMU,CACpB,CAAC,GACkB,IACT,CAChB,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react";
|
|
2
|
+
import { ConnectDropdownMenu } from "./dropdown-menu.js";
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof ConnectDropdownMenu;
|
|
6
|
+
};
|
|
7
|
+
export default meta;
|
|
8
|
+
type Story = StoryObj<typeof meta>;
|
|
9
|
+
export declare const Default: Story;
|
|
10
|
+
//# sourceMappingURL=dropdown-menu.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dropdown-menu.stories.d.ts","sourceRoot":"","sources":["../../../../../src/connect/components/dropdown-menu/dropdown-menu.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAKzD,QAAA,MAAM,IAAI;;;CAGkC,CAAC;AAE7C,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAwCrB,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { ConnectDropdownMenu } from "./dropdown-menu.js";
|
|
3
|
+
import { Icon } from "@powerhousedao/design-system";
|
|
4
|
+
import { useState } from "react";
|
|
5
|
+
const meta = {
|
|
6
|
+
title: "Connect/Components/Dropdown Menu",
|
|
7
|
+
component: ConnectDropdownMenu,
|
|
8
|
+
};
|
|
9
|
+
export default meta;
|
|
10
|
+
export const Default = {
|
|
11
|
+
args: {
|
|
12
|
+
onItemClick: () => { },
|
|
13
|
+
children: null,
|
|
14
|
+
items: [
|
|
15
|
+
{
|
|
16
|
+
id: "duplicate",
|
|
17
|
+
label: "Duplicate",
|
|
18
|
+
icon: _jsx(Icon, { name: "FilesEarmark" }),
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
id: "new-folder",
|
|
22
|
+
label: "New Folder",
|
|
23
|
+
icon: _jsx(Icon, { name: "FolderPlus" }),
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
id: "rename",
|
|
27
|
+
label: "Rename",
|
|
28
|
+
icon: _jsx(Icon, { name: "Pencil" }),
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
id: "delete",
|
|
32
|
+
label: "Delete",
|
|
33
|
+
icon: _jsx(Icon, { name: "Trash" }),
|
|
34
|
+
className: "text-red-900",
|
|
35
|
+
},
|
|
36
|
+
],
|
|
37
|
+
},
|
|
38
|
+
render: function Wrapper(args) {
|
|
39
|
+
const [open, setOpen] = useState(false);
|
|
40
|
+
function toggleOpen() {
|
|
41
|
+
setOpen(!open);
|
|
42
|
+
}
|
|
43
|
+
return (_jsx(ConnectDropdownMenu, { ...args, onOpenChange: setOpen, open: open, children: _jsx("button", { onClick: toggleOpen, children: "Toggle" }) }));
|
|
44
|
+
},
|
|
45
|
+
};
|
|
46
|
+
//# sourceMappingURL=dropdown-menu.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dropdown-menu.stories.js","sourceRoot":"","sources":["../../../../../src/connect/components/dropdown-menu/dropdown-menu.stories.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAEzD,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,MAAM,IAAI,GAAG;IACX,KAAK,EAAE,kCAAkC;IACzC,SAAS,EAAE,mBAAmB;CACY,CAAC;AAE7C,eAAe,IAAI,CAAC;AAGpB,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE;QACJ,WAAW,EAAE,GAAG,EAAE,GAAE,CAAC;QACrB,QAAQ,EAAE,IAAI;QACd,KAAK,EAAE;YACL;gBACE,EAAE,EAAE,WAAW;gBACf,KAAK,EAAE,WAAW;gBAClB,IAAI,EAAE,KAAC,IAAI,IAAC,IAAI,EAAC,cAAc,GAAG;aACnC;YACD;gBACE,EAAE,EAAE,YAAY;gBAChB,KAAK,EAAE,YAAY;gBACnB,IAAI,EAAE,KAAC,IAAI,IAAC,IAAI,EAAC,YAAY,GAAG;aACjC;YACD;gBACE,EAAE,EAAE,QAAQ;gBACZ,KAAK,EAAE,QAAQ;gBACf,IAAI,EAAE,KAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,GAAG;aAC7B;YACD;gBACE,EAAE,EAAE,QAAQ;gBACZ,KAAK,EAAE,QAAQ;gBACf,IAAI,EAAE,KAAC,IAAI,IAAC,IAAI,EAAC,OAAO,GAAG;gBAC3B,SAAS,EAAE,cAAc;aAC1B;SACF;KACF;IACD,MAAM,EAAE,SAAS,OAAO,CAAC,IAAI;QAC3B,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;QACxC,SAAS,UAAU;YACjB,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;QACjB,CAAC;QAED,OAAO,CACL,KAAC,mBAAmB,OAAK,IAAI,EAAE,YAAY,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,YAC9D,iBAAQ,OAAO,EAAE,UAAU,uBAAiB,GACxB,CACvB,CAAC;IACJ,CAAC;CACF,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Icon } from "
|
|
2
|
+
import { Icon } from "@powerhousedao/design-system";
|
|
3
3
|
export function EditorActionButtons(props) {
|
|
4
4
|
const { onSwitchboardLinkClick, onExport, onClose, onShowRevisionHistory, onShowTimeline, } = props;
|
|
5
5
|
return (_jsxs("div", { className: "flex items-center gap-x-2", children: [onSwitchboardLinkClick && (_jsx("button", { className: "grid size-8 place-items-center rounded-lg border border-gray-200 bg-white text-gray-900 disabled:cursor-not-allowed disabled:text-gray-500", onClick: onSwitchboardLinkClick, disabled: !onSwitchboardLinkClick, children: _jsx(Icon, { name: "Drive", size: 16 }) })), onShowRevisionHistory && (_jsx("button", { className: "grid size-8 place-items-center rounded-lg border border-gray-200 bg-white text-gray-900 disabled:cursor-not-allowed disabled:text-gray-500", onClick: onShowRevisionHistory, disabled: !onShowRevisionHistory, children: _jsx(Icon, { name: "History", size: 16 }) })), onShowTimeline && (_jsx("button", { className: "grid size-8 place-items-center rounded-lg border border-gray-200 bg-white text-gray-900 disabled:cursor-not-allowed disabled:text-gray-500", onClick: onShowTimeline, disabled: !onShowTimeline, children: _jsx(Icon, { name: "Timeline", size: 16 }) })), _jsx("button", { className: "grid size-8 place-items-center rounded-lg border border-gray-200 bg-white text-gray-900", onClick: onClose, children: _jsx(Icon, { name: "XmarkLight", size: 16 }) })] }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor-action-buttons.js","sourceRoot":"","sources":["../../../../../src/connect/components/editor-action-buttons/editor-action-buttons.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"editor-action-buttons.js","sourceRoot":"","sources":["../../../../../src/connect/components/editor-action-buttons/editor-action-buttons.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AAUpD,MAAM,UAAU,mBAAmB,CAAC,KAA+B;IACjE,MAAM,EACJ,sBAAsB,EACtB,QAAQ,EACR,OAAO,EACP,qBAAqB,EACrB,cAAc,GACf,GAAG,KAAK,CAAC;IAEV,OAAO,CACL,eAAK,SAAS,EAAC,2BAA2B,aACvC,sBAAsB,IAAI,CACzB,iBACE,SAAS,EAAC,4IAA4I,EACtJ,OAAO,EAAE,sBAAsB,EAC/B,QAAQ,EAAE,CAAC,sBAAsB,YAEjC,KAAC,IAAI,IAAC,IAAI,EAAC,OAAO,EAAC,IAAI,EAAE,EAAE,GAAI,GACxB,CACV,EACA,qBAAqB,IAAI,CACxB,iBACE,SAAS,EAAC,4IAA4I,EACtJ,OAAO,EAAE,qBAAqB,EAC9B,QAAQ,EAAE,CAAC,qBAAqB,YAEhC,KAAC,IAAI,IAAC,IAAI,EAAC,SAAS,EAAC,IAAI,EAAE,EAAE,GAAI,GAC1B,CACV,EACA,cAAc,IAAI,CACjB,iBACE,SAAS,EAAC,4IAA4I,EACtJ,OAAO,EAAE,cAAc,EACvB,QAAQ,EAAE,CAAC,cAAc,YAEzB,KAAC,IAAI,IAAC,IAAI,EAAC,UAAU,EAAC,IAAI,EAAE,EAAE,GAAI,GAC3B,CACV,EACD,iBACE,SAAS,EAAC,yFAAyF,EACnG,OAAO,EAAE,OAAO,YAEhB,KAAC,IAAI,IAAC,IAAI,EAAC,YAAY,EAAC,IAAI,EAAE,EAAE,GAAI,GAC7B,IACL,CACP,CAAC;AACJ,CAAC"}
|
package/dist/src/connect/components/editor-action-buttons/editor-action.buttons.stories.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"editor-action.buttons.stories.d.ts","sourceRoot":"","sources":["../../../../../src/connect/components/editor-action-buttons/editor-action.buttons.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvD,QAAA,MAAM,IAAI,EAAE,IAGX,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { EditorActionButtons } from "./editor-action-buttons.js";
|
|
2
|
+
const meta = {
|
|
3
|
+
title: "Connect/Components/Editor Action Buttons",
|
|
4
|
+
component: EditorActionButtons,
|
|
5
|
+
};
|
|
6
|
+
export default meta;
|
|
7
|
+
export const Default = {};
|
|
8
|
+
//# sourceMappingURL=editor-action.buttons.stories.js.map
|
package/dist/src/connect/components/editor-action-buttons/editor-action.buttons.stories.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"editor-action.buttons.stories.js","sourceRoot":"","sources":["../../../../../src/connect/components/editor-action-buttons/editor-action.buttons.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEjE,MAAM,IAAI,GAAS;IACjB,KAAK,EAAE,0CAA0C;IACjD,SAAS,EAAE,mBAAmB;CAC/B,CAAC;AAEF,eAAe,IAAI,CAAC;AAIpB,MAAM,CAAC,MAAM,OAAO,GAAU,EAAE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Icon } from "
|
|
2
|
+
import { Icon } from "@powerhousedao/design-system";
|
|
3
3
|
import { twMerge } from "tailwind-merge";
|
|
4
4
|
export function EditorUndoRedoButtons(props) {
|
|
5
5
|
const { canUndo, canRedo, undo, redo } = props;
|
package/dist/src/connect/components/editor-undo-redo-buttons/editor-undo-redo-buttons.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor-undo-redo-buttons.js","sourceRoot":"","sources":["../../../../../src/connect/components/editor-undo-redo-buttons/editor-undo-redo-buttons.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"editor-undo-redo-buttons.js","sourceRoot":"","sources":["../../../../../src/connect/components/editor-undo-redo-buttons/editor-undo-redo-buttons.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAQzC,MAAM,UAAU,qBAAqB,CAAC,KAAiC;IACrE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC;IAC/C,MAAM,YAAY,GAChB,oFAAoF,CAAC;IACvF,OAAO,CACL,eAAK,SAAS,EAAC,4BAA4B,aACzC,iBAAQ,SAAS,EAAE,YAAY,EAAE,QAAQ,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,IAAI,YAChE,KAAC,IAAI,IACH,SAAS,EAAE,OAAO,CAChB,cAAc,EACd,OAAO,CAAC,CAAC,CAAC,iCAAiC,CAAC,CAAC,CAAC,eAAe,CAC9D,EACD,IAAI,EAAC,WAAW,EAChB,IAAI,EAAE,EAAE,GACR,GACK,EACT,iBAAQ,SAAS,EAAE,YAAY,EAAE,QAAQ,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,IAAI,YAChE,KAAC,IAAI,IACH,SAAS,EAAE,OAAO,CAChB,OAAO,CAAC,CAAC,CAAC,iCAAiC,CAAC,CAAC,CAAC,eAAe,CAC9D,EACD,IAAI,EAAC,WAAW,EAChB,IAAI,EAAE,EAAE,GACR,GACK,IACL,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"editor-undo-redo-buttons.stories.d.ts","sourceRoot":"","sources":["../../../../../src/connect/components/editor-undo-redo-buttons/editor-undo-redo-buttons.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvD,QAAA,MAAM,IAAI,EAAE,IAGX,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
|
package/dist/src/connect/components/editor-undo-redo-buttons/editor-undo-redo-buttons.stories.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { EditorUndoRedoButtons } from "./editor-undo-redo-buttons.js";
|
|
2
|
+
const meta = {
|
|
3
|
+
title: "Connect/Components/Editor Undo Redo Buttons",
|
|
4
|
+
component: EditorUndoRedoButtons,
|
|
5
|
+
};
|
|
6
|
+
export default meta;
|
|
7
|
+
export const Default = {};
|
|
8
|
+
//# sourceMappingURL=editor-undo-redo-buttons.stories.js.map
|
package/dist/src/connect/components/editor-undo-redo-buttons/editor-undo-redo-buttons.stories.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"editor-undo-redo-buttons.stories.js","sourceRoot":"","sources":["../../../../../src/connect/components/editor-undo-redo-buttons/editor-undo-redo-buttons.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAEtE,MAAM,IAAI,GAAS;IACjB,KAAK,EAAE,6CAA6C;IACpD,SAAS,EAAE,qBAAqB;CACjC,CAAC;AAEF,eAAe,IAAI,CAAC;AAIpB,MAAM,CAAC,MAAM,OAAO,GAAU,EAAE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import ImgPowerhouse from "
|
|
2
|
+
import ImgPowerhouse from "@powerhousedao/design-system/assets/powerhouse-rounded.png";
|
|
3
3
|
import { useEnsAvatar, useEnsName } from "wagmi";
|
|
4
4
|
export function ENSAvatar(props) {
|
|
5
5
|
const { address, chainId = 1, size = "14px" } = props;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ens-avatar.js","sourceRoot":"","sources":["../../../../../src/connect/components/ens-avatar/ens-avatar.tsx"],"names":[],"mappings":";AAAA,OAAO,aAAa,MAAM,
|
|
1
|
+
{"version":3,"file":"ens-avatar.js","sourceRoot":"","sources":["../../../../../src/connect/components/ens-avatar/ens-avatar.tsx"],"names":[],"mappings":";AAAA,OAAO,aAAa,MAAM,4DAA4D,CAAC;AAEvF,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAOjD,MAAM,UAAU,SAAS,CAAC,KAAY;IACpC,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,CAAC,EAAE,IAAI,GAAG,MAAM,EAAE,GAAG,KAAK,CAAC;IACtD,MAAM,KAAK,GAAG;QACZ,KAAK,EAAE,IAAI;QACX,MAAM,EAAE,IAAI;KACb,CAAC;IACF,MAAM,aAAa,GAAG,UAAU,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAAC;IACvD,MAAM,IAAI,GAAG,aAAa,CAAC,IAAI,IAAI,SAAS,CAAC;IAC7C,MAAM,eAAe,GAAG,YAAY,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC;IAC/C,MAAM,SAAS,GAAG,eAAe,CAAC,IAAI,IAAI,aAAa,CAAC;IACxD,MAAM,SAAS,GAAG,aAAa,CAAC,SAAS,IAAI,eAAe,CAAC,SAAS,CAAC;IAEvE,IAAI,SAAS;QACX,OAAO,CACL,cACE,SAAS,EAAC,2DAA2D,EACrE,KAAK,EAAE,KAAK,GACZ,CACH,CAAC;IAEJ,OAAO,CACL,cACE,GAAG,EAAC,YAAY,EAChB,SAAS,EAAC,uCAAuC,EACjD,GAAG,EAAE,SAAS,EACd,KAAK,EAAE,KAAK,GACZ,CACH,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react";
|
|
2
|
+
import { ENSAvatar } from "./ens-avatar.js";
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof ENSAvatar;
|
|
6
|
+
};
|
|
7
|
+
export default meta;
|
|
8
|
+
type Story = StoryObj<typeof meta>;
|
|
9
|
+
export declare const WithoutValidAvatar: Story;
|
|
10
|
+
export declare const WithValidAvatar: Story;
|
|
11
|
+
//# sourceMappingURL=ens-avatar.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ens-avatar.stories.d.ts","sourceRoot":"","sources":["../../../../../src/connect/components/ens-avatar/ens-avatar.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C,QAAA,MAAM,IAAI;;;CAGwB,CAAC;AAEnC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,kBAAkB,EAAE,KAKhC,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAK7B,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ENSAvatar } from "./ens-avatar.js";
|
|
2
|
+
const meta = {
|
|
3
|
+
title: "Connect/Components/ENSAvatar",
|
|
4
|
+
component: ENSAvatar,
|
|
5
|
+
};
|
|
6
|
+
export default meta;
|
|
7
|
+
export const WithoutValidAvatar = {
|
|
8
|
+
args: {
|
|
9
|
+
address: "0x1234567890123456789012345678901234567890",
|
|
10
|
+
chainId: 1,
|
|
11
|
+
},
|
|
12
|
+
};
|
|
13
|
+
export const WithValidAvatar = {
|
|
14
|
+
args: {
|
|
15
|
+
address: "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
|
|
16
|
+
chainId: 1,
|
|
17
|
+
},
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=ens-avatar.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ens-avatar.stories.js","sourceRoot":"","sources":["../../../../../src/connect/components/ens-avatar/ens-avatar.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C,MAAM,IAAI,GAAG;IACX,KAAK,EAAE,8BAA8B;IACrC,SAAS,EAAE,SAAS;CACY,CAAC;AAEnC,eAAe,IAAI,CAAC;AAIpB,MAAM,CAAC,MAAM,kBAAkB,GAAU;IACvC,IAAI,EAAE;QACJ,OAAO,EAAE,4CAA4C;QACrD,OAAO,EAAE,CAAC;KACX;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAU;IACpC,IAAI,EAAE;QACJ,OAAO,EAAE,4CAA4C;QACrD,OAAO,EAAE,CAAC;KACX;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-item.d.ts","sourceRoot":"","sources":["../../../../../src/connect/components/file-item/file-item.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAc,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"file-item.d.ts","sourceRoot":"","sources":["../../../../../src/connect/components/file-item/file-item.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAc,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAW7E,OAAO,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAI9E,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG;IACzC,QAAQ,EAAE,QAAQ,CAAC;IACnB,WAAW,EAAE,WAAW,CAAC;IACzB,0BAA0B,EAAE,OAAO,CAAC;IACpC,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iBAAiB,EAAE,CACjB,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,WAAW,KACrB,UAAU,GAAG,SAAS,CAAC;IAC5B,eAAe,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,GAAG,SAAS,KAAK,IAAI,CAAC;IAC3D,mBAAmB,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;CAC3C,CAAC;AAEF,wBAAgB,QAAQ,CAAC,KAAK,EAAE,aAAa,2CA4I5C"}
|
|
@@ -1,33 +1,31 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { ConnectDropdownMenu,
|
|
3
|
-
import { Icon } from "#powerhouse";
|
|
2
|
+
import { ConnectDropdownMenu, defaultNodeOptions, getDocumentIconSrc, Icon, NodeInput, nodeOptionsMap, SyncStatusIcon, useDrag, } from "@powerhousedao/design-system";
|
|
4
3
|
import { useState } from "react";
|
|
5
4
|
import { twMerge } from "tailwind-merge";
|
|
6
|
-
import { SyncStatusIcon } from "../status-icon/index.js";
|
|
7
5
|
export function FileItem(props) {
|
|
8
6
|
const { fileNode, sharingType, className, customDocumentIconSrc, isAllowedToCreateDocuments, getSyncStatusSync, setSelectedNode, onRenameNode, onDuplicateNode, showDeleteNodeModal, } = props;
|
|
9
|
-
const [mode, setMode] = useState(READ);
|
|
7
|
+
const [mode, setMode] = useState("READ");
|
|
10
8
|
const [isDropdownMenuOpen, setIsDropdownMenuOpen] = useState(false);
|
|
11
9
|
const { dragProps } = useDrag({ node: fileNode });
|
|
12
|
-
const isReadMode = mode === READ;
|
|
10
|
+
const isReadMode = mode === "READ";
|
|
13
11
|
const syncStatus = getSyncStatusSync(fileNode.id, sharingType);
|
|
14
12
|
const dropdownMenuHandlers = {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
13
|
+
DUPLICATE: () => onDuplicateNode(fileNode),
|
|
14
|
+
RENAME: () => setMode("WRITE"),
|
|
15
|
+
DELETE: () => showDeleteNodeModal(fileNode),
|
|
18
16
|
};
|
|
19
17
|
const dropdownMenuOptions = Object.entries(nodeOptionsMap)
|
|
20
18
|
.map(([id, option]) => ({
|
|
21
19
|
...option,
|
|
22
20
|
id: id,
|
|
23
21
|
}))
|
|
24
|
-
.filter((option) =>
|
|
22
|
+
.filter((option) => defaultNodeOptions.includes(option.id));
|
|
25
23
|
function onSubmit(name) {
|
|
26
24
|
onRenameNode(name, fileNode);
|
|
27
|
-
setMode(READ);
|
|
25
|
+
setMode("READ");
|
|
28
26
|
}
|
|
29
27
|
function onCancel() {
|
|
30
|
-
setMode(READ);
|
|
28
|
+
setMode("READ");
|
|
31
29
|
}
|
|
32
30
|
function onDropdownMenuOptionClick(itemId) {
|
|
33
31
|
const handler = dropdownMenuHandlers[itemId];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-item.js","sourceRoot":"","sources":["../../../../../src/connect/components/file-item/file-item.tsx"],"names":[],"mappings":";AACA,OAAO,EACL,mBAAmB,EACnB,kBAAkB,EAClB,
|
|
1
|
+
{"version":3,"file":"file-item.js","sourceRoot":"","sources":["../../../../../src/connect/components/file-item/file-item.tsx"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import { FileItem } from "./file-item.js";
|
|
3
|
+
declare const meta: Meta<typeof FileItem>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const NotAllowedToCreateDocuments: Story;
|
|
8
|
+
//# sourceMappingURL=file-item.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file-item.stories.d.ts","sourceRoot":"","sources":["../../../../../src/connect/components/file-item/file-item.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,QAAQ,CAU/B,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KA4CrB,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,KAMzC,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { documentTypes } from "@powerhousedao/design-system";
|
|
3
|
+
import { FileItem } from "./file-item.js";
|
|
4
|
+
const meta = {
|
|
5
|
+
title: "Connect/Components/FileItem",
|
|
6
|
+
component: FileItem,
|
|
7
|
+
decorators: [
|
|
8
|
+
(Story) => (_jsx("div", { className: "w-[500px] bg-white p-10", children: _jsx(Story, {}) })),
|
|
9
|
+
],
|
|
10
|
+
};
|
|
11
|
+
export default meta;
|
|
12
|
+
export const Default = {
|
|
13
|
+
args: {
|
|
14
|
+
isAllowedToCreateDocuments: true,
|
|
15
|
+
},
|
|
16
|
+
render: function Wrapper(args) {
|
|
17
|
+
const node = {
|
|
18
|
+
name: "Mock file",
|
|
19
|
+
id: "1",
|
|
20
|
+
kind: "file",
|
|
21
|
+
documentType: "mock",
|
|
22
|
+
parentFolder: "1",
|
|
23
|
+
};
|
|
24
|
+
const fileNodes = [...documentTypes, "SOME RANDOM DOCUMENT TYPE"].map((documentType, index) => ({
|
|
25
|
+
...node,
|
|
26
|
+
documentType,
|
|
27
|
+
id: `file-${index}`,
|
|
28
|
+
name: `${documentType} document`,
|
|
29
|
+
}));
|
|
30
|
+
return (_jsx("div", { className: "flex flex-wrap gap-2", children: fileNodes.map((node) => (_jsx(FileItem, { fileNode: node, ...args, onAddFile: () => Promise.resolve(), onAddFolder: () => Promise.resolve(undefined), onRenameNode: () => Promise.resolve(undefined), onCopyNode: () => Promise.resolve(undefined), onMoveNode: () => Promise.resolve(undefined), onDuplicateNode: () => Promise.resolve(undefined), onAddAndSelectNewFolder: () => Promise.resolve(undefined), showDeleteNodeModal: () => Promise.resolve(undefined), setSelectedNode: () => { }, sharingType: "LOCAL", getSyncStatusSync: () => undefined, isAllowedToCreateDocuments: true }, node.id))) }));
|
|
31
|
+
},
|
|
32
|
+
};
|
|
33
|
+
export const NotAllowedToCreateDocuments = {
|
|
34
|
+
...Default,
|
|
35
|
+
args: {
|
|
36
|
+
...Default.args,
|
|
37
|
+
isAllowedToCreateDocuments: false,
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
//# sourceMappingURL=file-item.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file-item.stories.js","sourceRoot":"","sources":["../../../../../src/connect/components/file-item/file-item.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAG7D,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,MAAM,IAAI,GAA0B;IAClC,KAAK,EAAE,6BAA6B;IACpC,SAAS,EAAE,QAAQ;IACnB,UAAU,EAAE;QACV,CAAC,KAAK,EAAE,EAAE,CAAC,CACT,cAAK,SAAS,EAAC,yBAAyB,YACtC,KAAC,KAAK,KAAG,GACL,CACP;KACF;CACF,CAAC;AAEF,eAAe,IAAI,CAAC;AAIpB,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE;QACJ,0BAA0B,EAAE,IAAI;KACjC;IACD,MAAM,EAAE,SAAS,OAAO,CAAC,IAAI;QAC3B,MAAM,IAAI,GAAa;YACrB,IAAI,EAAE,WAAW;YACjB,EAAE,EAAE,GAAG;YACP,IAAI,EAAE,MAAM;YACZ,YAAY,EAAE,MAAM;YACpB,YAAY,EAAE,GAAG;SAClB,CAAC;QACF,MAAM,SAAS,GAAG,CAAC,GAAG,aAAa,EAAE,2BAA2B,CAAC,CAAC,GAAG,CACnE,CAAC,YAAY,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC;YACxB,GAAG,IAAI;YACP,YAAY;YACZ,EAAE,EAAE,QAAQ,KAAK,EAAE;YACnB,IAAI,EAAE,GAAG,YAAY,WAAW;SACjC,CAAC,CACH,CAAC;QACF,OAAO,CACL,cAAK,SAAS,EAAC,sBAAsB,YAClC,SAAS,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CACvB,KAAC,QAAQ,IAEP,QAAQ,EAAE,IAAI,KACV,IAAI,EACR,SAAS,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,OAAO,EAAE,EAClC,WAAW,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,EAC7C,YAAY,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,EAC9C,UAAU,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,EAC5C,UAAU,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,EAC5C,eAAe,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,EACjD,uBAAuB,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,EACzD,mBAAmB,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,EACrD,eAAe,EAAE,GAAG,EAAE,GAAE,CAAC,EACzB,WAAW,EAAC,OAAO,EACnB,iBAAiB,EAAE,GAAG,EAAE,CAAC,SAAS,EAClC,0BAA0B,EAAE,IAAI,IAd3B,IAAI,CAAC,EAAE,CAeZ,CACH,CAAC,GACE,CACP,CAAC;IACJ,CAAC;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,2BAA2B,GAAU;IAChD,GAAG,OAAO;IACV,IAAI,EAAE;QACJ,GAAG,OAAO,CAAC,IAAI;QACf,0BAA0B,EAAE,KAAK;KAClC;CACF,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SyncStatus, TNodeActions } from "
|
|
1
|
+
import type { SyncStatus, TNodeActions } from "@powerhousedao/design-system";
|
|
2
2
|
import type { FolderNode, Node, SharingType } from "document-drive";
|
|
3
3
|
export type FolderItemProps = TNodeActions & {
|
|
4
4
|
folderNode: FolderNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"folder-item.d.ts","sourceRoot":"","sources":["../../../../../src/connect/components/folder-item/folder-item.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"folder-item.d.ts","sourceRoot":"","sources":["../../../../../src/connect/components/folder-item/folder-item.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,UAAU,EACV,YAAY,EACb,MAAM,8BAA8B,CAAC;AAWtC,OAAO,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAIpE,MAAM,MAAM,eAAe,GAAG,YAAY,GAAG;IAC3C,UAAU,EAAE,UAAU,CAAC;IACvB,WAAW,EAAE,WAAW,CAAC;IACzB,0BAA0B,EAAE,OAAO,CAAC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iBAAiB,EAAE,CACjB,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,WAAW,KACrB,UAAU,GAAG,SAAS,CAAC;IAC5B,eAAe,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,GAAG,SAAS,KAAK,IAAI,CAAC;IAC3D,mBAAmB,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;CAC3C,CAAC;AAEF,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,2CAmIhD"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { ConnectDropdownMenu,
|
|
3
|
-
import { Icon } from "#powerhouse";
|
|
2
|
+
import { ConnectDropdownMenu, defaultNodeOptions, Icon, NodeInput, nodeOptionsMap, SyncStatusIcon, useDrag, useDrop, } from "@powerhousedao/design-system";
|
|
4
3
|
import { useState } from "react";
|
|
5
4
|
import { twMerge } from "tailwind-merge";
|
|
6
5
|
export function FolderItem(props) {
|
|
7
6
|
const { folderNode, sharingType, isAllowedToCreateDocuments, className, setSelectedNode, getSyncStatusSync, onRenameNode, onDuplicateNode, showDeleteNodeModal, onAddFile, onCopyNode, onMoveNode, } = props;
|
|
8
|
-
const [mode, setMode] = useState(READ);
|
|
7
|
+
const [mode, setMode] = useState("READ");
|
|
9
8
|
const [isDropdownMenuOpen, setIsDropdownMenuOpen] = useState(false);
|
|
10
9
|
const { dragProps } = useDrag({ node: folderNode });
|
|
11
10
|
const { isDropTarget, dropProps } = useDrop({
|
|
@@ -14,26 +13,26 @@ export function FolderItem(props) {
|
|
|
14
13
|
onCopyNode,
|
|
15
14
|
onMoveNode,
|
|
16
15
|
});
|
|
17
|
-
const isReadMode = mode === READ;
|
|
16
|
+
const isReadMode = mode === "READ";
|
|
18
17
|
const syncStatus = getSyncStatusSync(folderNode.id, sharingType);
|
|
19
18
|
function onCancel() {
|
|
20
|
-
setMode(READ);
|
|
19
|
+
setMode("READ");
|
|
21
20
|
}
|
|
22
21
|
function onSubmit(name) {
|
|
23
22
|
onRenameNode(name, folderNode);
|
|
24
|
-
setMode(READ);
|
|
23
|
+
setMode("READ");
|
|
25
24
|
}
|
|
26
25
|
const dropdownMenuHandlers = {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
DUPLICATE: () => onDuplicateNode(folderNode),
|
|
27
|
+
RENAME: () => setMode("WRITE"),
|
|
28
|
+
DELETE: () => showDeleteNodeModal(folderNode),
|
|
30
29
|
};
|
|
31
30
|
const dropdownMenuOptions = Object.entries(nodeOptionsMap)
|
|
32
31
|
.map(([id, option]) => ({
|
|
33
32
|
...option,
|
|
34
33
|
id: id,
|
|
35
34
|
}))
|
|
36
|
-
.filter((option) =>
|
|
35
|
+
.filter((option) => defaultNodeOptions.includes(option.id));
|
|
37
36
|
function onDropdownMenuOptionClick(itemId) {
|
|
38
37
|
const handler = dropdownMenuHandlers[itemId];
|
|
39
38
|
if (!handler) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"folder-item.js","sourceRoot":"","sources":["../../../../../src/connect/components/folder-item/folder-item.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"folder-item.js","sourceRoot":"","sources":["../../../../../src/connect/components/folder-item/folder-item.tsx"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import { FolderItem } from "./folder-item.js";
|
|
3
|
+
declare const meta: Meta<typeof FolderItem>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const ReadMode: Story;
|
|
7
|
+
export declare const NotAllowedToCreateDocuments: Story;
|
|
8
|
+
//# sourceMappingURL=folder-item.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"folder-item.stories.d.ts","sourceRoot":"","sources":["../../../../../src/connect/components/folder-item/folder-item.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CAGjC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,QAAQ,EAAE,KAoCtB,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,KAMzC,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { FolderItem } from "./folder-item.js";
|
|
3
|
+
const meta = {
|
|
4
|
+
title: "Connect/Components/FolderItem",
|
|
5
|
+
component: FolderItem,
|
|
6
|
+
};
|
|
7
|
+
export default meta;
|
|
8
|
+
export const ReadMode = {
|
|
9
|
+
render: function Wrapper() {
|
|
10
|
+
const folderNode = {
|
|
11
|
+
id: "1",
|
|
12
|
+
name: "Folder 1",
|
|
13
|
+
kind: "folder",
|
|
14
|
+
parentFolder: "1",
|
|
15
|
+
};
|
|
16
|
+
const folderNodes = Array.from({ length: 5 }).map((_, index) => ({
|
|
17
|
+
...folderNode,
|
|
18
|
+
id: `folder-${index}`,
|
|
19
|
+
name: `Folder ${index} lorem ipsum dolor sit amet consectetur adipiscing elit`,
|
|
20
|
+
}));
|
|
21
|
+
return (_jsx("div", { className: "flex flex-wrap gap-2", children: folderNodes.map((node) => (_jsx(FolderItem, { folderNode: node, onAddFile: () => Promise.resolve(), onAddFolder: () => Promise.resolve(undefined), onRenameNode: () => Promise.resolve(undefined), onCopyNode: () => Promise.resolve(undefined), onMoveNode: () => Promise.resolve(undefined), onDuplicateNode: () => Promise.resolve(undefined), onAddAndSelectNewFolder: () => Promise.resolve(undefined), showDeleteNodeModal: () => Promise.resolve(undefined), setSelectedNode: () => { }, sharingType: "LOCAL", getSyncStatusSync: () => undefined, isAllowedToCreateDocuments: true }, node.id))) }));
|
|
22
|
+
},
|
|
23
|
+
};
|
|
24
|
+
export const NotAllowedToCreateDocuments = {
|
|
25
|
+
...ReadMode,
|
|
26
|
+
args: {
|
|
27
|
+
...ReadMode.args,
|
|
28
|
+
isAllowedToCreateDocuments: false,
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=folder-item.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"folder-item.stories.js","sourceRoot":"","sources":["../../../../../src/connect/components/folder-item/folder-item.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,MAAM,IAAI,GAA4B;IACpC,KAAK,EAAE,+BAA+B;IACtC,SAAS,EAAE,UAAU;CACtB,CAAC;AAEF,eAAe,IAAI,CAAC;AAIpB,MAAM,CAAC,MAAM,QAAQ,GAAU;IAC7B,MAAM,EAAE,SAAS,OAAO;QACtB,MAAM,UAAU,GAAe;YAC7B,EAAE,EAAE,GAAG;YACP,IAAI,EAAE,UAAU;YAChB,IAAI,EAAE,QAAQ;YACd,YAAY,EAAE,GAAG;SAClB,CAAC;QACF,MAAM,WAAW,GAAG,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC;YAC/D,GAAG,UAAU;YACb,EAAE,EAAE,UAAU,KAAK,EAAE;YACrB,IAAI,EAAE,UAAU,KAAK,yDAAyD;SAC/E,CAAC,CAAC,CAAC;QACJ,OAAO,CACL,cAAK,SAAS,EAAC,sBAAsB,YAClC,WAAW,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CACzB,KAAC,UAAU,IAET,UAAU,EAAE,IAAI,EAChB,SAAS,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,OAAO,EAAE,EAClC,WAAW,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,EAC7C,YAAY,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,EAC9C,UAAU,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,EAC5C,UAAU,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,EAC5C,eAAe,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,EACjD,uBAAuB,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,EACzD,mBAAmB,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,EACrD,eAAe,EAAE,GAAG,EAAE,GAAE,CAAC,EACzB,WAAW,EAAC,OAAO,EACnB,iBAAiB,EAAE,GAAG,EAAE,CAAC,SAAS,EAClC,0BAA0B,EAAE,IAAI,IAb3B,IAAI,CAAC,EAAE,CAcZ,CACH,CAAC,GACE,CACP,CAAC;IACJ,CAAC;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,2BAA2B,GAAU;IAChD,GAAG,QAAQ;IACX,IAAI,EAAE;QACJ,GAAG,QAAQ,CAAC,IAAI;QAChB,0BAA0B,EAAE,KAAK;KAClC;CACF,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { mergeClassNameProps } from "
|
|
2
|
+
import { mergeClassNameProps } from "@powerhousedao/design-system";
|
|
3
3
|
export function FooterLink(props) {
|
|
4
4
|
const { as: Component = "a", ...restProps } = props;
|
|
5
5
|
return (_jsx(Component, { ...mergeClassNameProps(restProps, "flex cursor-pointer items-center hover:underline") }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"footer-link.js","sourceRoot":"","sources":["../../../../../src/connect/components/footer/footer-link.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"footer-link.js","sourceRoot":"","sources":["../../../../../src/connect/components/footer/footer-link.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAMnE,MAAM,UAAU,UAAU,CACxB,KAAyB;IAEzB,MAAM,EAAE,EAAE,EAAE,SAAS,GAAG,GAAG,EAAE,GAAG,SAAS,EAAE,GAAG,KAAK,CAAC;IAEpD,OAAO,CACL,KAAC,SAAS,OACJ,mBAAmB,CACrB,SAAS,EACT,kDAAkD,CACnD,GACD,CACH,CAAC;AACJ,CAAC"}
|