@vezham/react 26.0.0-alpha.5 → 26.0.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/index.css +55 -0
- package/dist/index.d.ts +6 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -0
- package/dist/lib/components/actions-header/index.d.ts +26 -0
- package/dist/lib/components/actions-header/index.d.ts.map +1 -0
- package/dist/lib/components/actions-header/index.js +126 -0
- package/dist/lib/components/app-icon/index.d.ts +499 -0
- package/dist/lib/components/app-icon/index.d.ts.map +1 -0
- package/dist/lib/components/app-icon/index.js +513 -0
- package/dist/lib/components/app-menu/index.d.ts +22 -0
- package/dist/lib/components/app-menu/index.d.ts.map +1 -0
- package/dist/lib/components/app-menu/index.js +17 -0
- package/dist/lib/components/command/command-dialog.d.ts +10 -0
- package/dist/lib/components/command/command-dialog.d.ts.map +1 -0
- package/dist/lib/components/command/command-dialog.js +129 -0
- package/dist/lib/components/command/command-provider.d.ts +8 -0
- package/dist/lib/components/command/command-provider.d.ts.map +1 -0
- package/dist/lib/components/command/command-provider.js +44 -0
- package/dist/lib/components/command/index.d.ts +3 -0
- package/dist/lib/components/command/index.d.ts.map +1 -0
- package/dist/lib/components/command/index.js +3 -0
- package/dist/lib/components/menu/drawer.d.ts +4 -0
- package/dist/lib/components/menu/drawer.d.ts.map +1 -0
- package/dist/lib/components/menu/drawer.js +56 -0
- package/dist/lib/components/menu/index.d.ts +5 -0
- package/dist/lib/components/menu/index.d.ts.map +1 -0
- package/dist/lib/components/menu/index.js +138 -0
- package/dist/lib/components/menu/sheet.d.ts +15 -0
- package/dist/lib/components/menu/sheet.d.ts.map +1 -0
- package/dist/lib/components/menu/sheet.js +40 -0
- package/dist/lib/components/menu/types.d.ts +30 -0
- package/dist/lib/components/menu/types.d.ts.map +1 -0
- package/dist/lib/components/menu/types.js +7 -0
- package/dist/lib/components/menu/variant.d.ts +27 -0
- package/dist/lib/components/menu/variant.d.ts.map +1 -0
- package/dist/lib/components/menu/variant.js +28 -0
- package/dist/lib/components/mobile-controls/index.d.ts +11 -0
- package/dist/lib/components/mobile-controls/index.d.ts.map +1 -0
- package/dist/lib/components/mobile-controls/index.js +21 -0
- package/dist/lib/components/pagination/index.d.ts +10 -0
- package/dist/lib/components/pagination/index.d.ts.map +1 -0
- package/dist/lib/components/pagination/index.js +25 -0
- package/dist/lib/components/panel/footer/ai/chat-header.d.ts +9 -0
- package/dist/lib/components/panel/footer/ai/chat-header.d.ts.map +1 -0
- package/dist/lib/components/panel/footer/ai/chat-header.js +63 -0
- package/dist/lib/components/panel/footer/ai/composer.d.ts +7 -0
- package/dist/lib/components/panel/footer/ai/composer.d.ts.map +1 -0
- package/dist/lib/components/panel/footer/ai/composer.js +77 -0
- package/dist/lib/components/panel/footer/ai/content.d.ts +13 -0
- package/dist/lib/components/panel/footer/ai/content.d.ts.map +1 -0
- package/dist/lib/components/panel/footer/ai/content.js +148 -0
- package/dist/lib/components/panel/footer/ai/conversation.d.ts +47 -0
- package/dist/lib/components/panel/footer/ai/conversation.d.ts.map +1 -0
- package/dist/lib/components/panel/footer/ai/conversation.js +222 -0
- package/dist/lib/components/panel/footer/ai/index.d.ts +3 -0
- package/dist/lib/components/panel/footer/ai/index.d.ts.map +1 -0
- package/dist/lib/components/panel/footer/ai/index.js +41 -0
- package/dist/lib/components/panel/footer/ai/message-actions.d.ts +8 -0
- package/dist/lib/components/panel/footer/ai/message-actions.d.ts.map +1 -0
- package/dist/lib/components/panel/footer/ai/message-actions.js +63 -0
- package/dist/lib/components/panel/footer/ai/mock-result.d.ts +6 -0
- package/dist/lib/components/panel/footer/ai/mock-result.d.ts.map +1 -0
- package/dist/lib/components/panel/footer/ai/mock-result.js +121 -0
- package/dist/lib/components/panel/footer/ai/model-logo.d.ts +5 -0
- package/dist/lib/components/panel/footer/ai/model-logo.d.ts.map +1 -0
- package/dist/lib/components/panel/footer/ai/model-logo.js +13 -0
- package/dist/lib/components/panel/footer/ai/model-logos.d.ts +2 -0
- package/dist/lib/components/panel/footer/ai/model-logos.d.ts.map +1 -0
- package/dist/lib/components/panel/footer/ai/model-logos.js +10 -0
- package/dist/lib/components/panel/footer/ai/model-picker.d.ts +8 -0
- package/dist/lib/components/panel/footer/ai/model-picker.d.ts.map +1 -0
- package/dist/lib/components/panel/footer/ai/model-picker.js +166 -0
- package/dist/lib/components/panel/footer/ai/models.d.ts +9 -0
- package/dist/lib/components/panel/footer/ai/models.d.ts.map +1 -0
- package/dist/lib/components/panel/footer/ai/models.js +72 -0
- package/dist/lib/components/panel/footer/ai/permission-picker.d.ts +5 -0
- package/dist/lib/components/panel/footer/ai/permission-picker.d.ts.map +1 -0
- package/dist/lib/components/panel/footer/ai/permission-picker.js +63 -0
- package/dist/lib/components/panel/footer/ai/use-chat-scroll.d.ts +9 -0
- package/dist/lib/components/panel/footer/ai/use-chat-scroll.d.ts.map +1 -0
- package/dist/lib/components/panel/footer/ai/use-chat-scroll.js +57 -0
- package/dist/lib/components/panel/footer/control-center/appearance.d.ts +16 -0
- package/dist/lib/components/panel/footer/control-center/appearance.d.ts.map +1 -0
- package/dist/lib/components/panel/footer/control-center/appearance.js +100 -0
- package/dist/lib/components/panel/footer/control-center/configured.d.ts +13 -0
- package/dist/lib/components/panel/footer/control-center/configured.d.ts.map +1 -0
- package/dist/lib/components/panel/footer/control-center/configured.js +157 -0
- package/dist/lib/components/panel/footer/control-center/control-center.d.ts +8 -0
- package/dist/lib/components/panel/footer/control-center/control-center.d.ts.map +1 -0
- package/dist/lib/components/panel/footer/control-center/control-center.js +180 -0
- package/dist/lib/components/panel/footer/control-center/default.d.ts +3 -0
- package/dist/lib/components/panel/footer/control-center/default.d.ts.map +1 -0
- package/dist/lib/components/panel/footer/control-center/default.js +37 -0
- package/dist/lib/components/panel/footer/control-center/direction.d.ts +9 -0
- package/dist/lib/components/panel/footer/control-center/direction.d.ts.map +1 -0
- package/dist/lib/components/panel/footer/control-center/direction.js +40 -0
- package/dist/lib/components/panel/footer/control-center/document.d.ts +5 -0
- package/dist/lib/components/panel/footer/control-center/document.d.ts.map +1 -0
- package/dist/lib/components/panel/footer/control-center/document.js +19 -0
- package/dist/lib/components/panel/footer/control-center/editor.d.ts +25 -0
- package/dist/lib/components/panel/footer/control-center/editor.d.ts.map +1 -0
- package/dist/lib/components/panel/footer/control-center/editor.js +72 -0
- package/dist/lib/components/panel/footer/control-center/footer-context.d.ts +6 -0
- package/dist/lib/components/panel/footer/control-center/footer-context.d.ts.map +1 -0
- package/dist/lib/components/panel/footer/control-center/footer-context.js +5 -0
- package/dist/lib/components/panel/footer/control-center/index.d.ts +15 -0
- package/dist/lib/components/panel/footer/control-center/index.d.ts.map +1 -0
- package/dist/lib/components/panel/footer/control-center/index.js +11 -0
- package/dist/lib/components/panel/footer/control-center/language.d.ts +19 -0
- package/dist/lib/components/panel/footer/control-center/language.d.ts.map +1 -0
- package/dist/lib/components/panel/footer/control-center/language.js +44 -0
- package/dist/lib/components/panel/footer/control-center/options.d.ts +7 -0
- package/dist/lib/components/panel/footer/control-center/options.d.ts.map +1 -0
- package/dist/lib/components/panel/footer/control-center/options.js +27 -0
- package/dist/lib/components/panel/footer/control-center/preview.d.ts +34 -0
- package/dist/lib/components/panel/footer/control-center/preview.d.ts.map +1 -0
- package/dist/lib/components/panel/footer/control-center/preview.js +366 -0
- package/dist/lib/components/panel/footer/control-center/theme.d.ts +6 -0
- package/dist/lib/components/panel/footer/control-center/theme.d.ts.map +1 -0
- package/dist/lib/components/panel/footer/control-center/theme.js +150 -0
- package/dist/lib/components/panel/footer/control-center/tile.d.ts +10 -0
- package/dist/lib/components/panel/footer/control-center/tile.d.ts.map +1 -0
- package/dist/lib/components/panel/footer/control-center/tile.js +34 -0
- package/dist/lib/components/panel/footer/control-center/types.d.ts +94 -0
- package/dist/lib/components/panel/footer/control-center/types.d.ts.map +1 -0
- package/dist/lib/components/panel/footer/control-center/variant.d.ts +268 -0
- package/dist/lib/components/panel/footer/control-center/variant.d.ts.map +1 -0
- package/dist/lib/components/panel/footer/control-center/variant.js +89 -0
- package/dist/lib/components/panel/footer/data.d.ts +38 -0
- package/dist/lib/components/panel/footer/data.d.ts.map +1 -0
- package/dist/lib/components/panel/footer/data.js +90 -0
- package/dist/lib/components/panel/footer/drawer-accessors.d.ts +46 -0
- package/dist/lib/components/panel/footer/drawer-accessors.d.ts.map +1 -0
- package/dist/lib/components/panel/footer/drawer-accessors.js +21 -0
- package/dist/lib/components/panel/footer/drawer-frame.d.ts +12 -0
- package/dist/lib/components/panel/footer/drawer-frame.d.ts.map +1 -0
- package/dist/lib/components/panel/footer/drawer-frame.js +19 -0
- package/dist/lib/components/panel/footer/index.d.ts +4 -0
- package/dist/lib/components/panel/footer/index.d.ts.map +1 -0
- package/dist/lib/components/panel/footer/index.js +147 -0
- package/dist/lib/components/panel/footer/notification-center/index.d.ts +4 -0
- package/dist/lib/components/panel/footer/notification-center/index.d.ts.map +1 -0
- package/dist/lib/components/panel/footer/notification-center/index.js +98 -0
- package/dist/lib/components/panel/footer/notification-center/types.d.ts +525 -0
- package/dist/lib/components/panel/footer/notification-center/types.d.ts.map +1 -0
- package/dist/lib/components/panel/footer/notification-center/types.js +62 -0
- package/dist/lib/components/panel/footer/notification-center/variant.d.ts +322 -0
- package/dist/lib/components/panel/footer/notification-center/variant.d.ts.map +1 -0
- package/dist/lib/components/panel/footer/notification-center/variant.js +119 -0
- package/dist/lib/components/panel/footer/notification-center/widget-tiles.d.ts +49 -0
- package/dist/lib/components/panel/footer/notification-center/widget-tiles.d.ts.map +1 -0
- package/dist/lib/components/panel/footer/notification-center/widget-tiles.js +182 -0
- package/dist/lib/components/panel/footer/preferences/data.d.ts +14 -0
- package/dist/lib/components/panel/footer/preferences/data.d.ts.map +1 -0
- package/dist/lib/components/panel/footer/preferences/data.js +304 -0
- package/dist/lib/components/panel/footer/preferences/modal.d.ts +8 -0
- package/dist/lib/components/panel/footer/preferences/modal.d.ts.map +1 -0
- package/dist/lib/components/panel/footer/preferences/modal.js +75 -0
- package/dist/lib/components/panel/footer/preferences/sidebar.d.ts +9 -0
- package/dist/lib/components/panel/footer/preferences/sidebar.d.ts.map +1 -0
- package/dist/lib/components/panel/footer/preferences/sidebar.js +105 -0
- package/dist/lib/components/panel/footer/preferences/user-settings/account/index.d.ts +3 -0
- package/dist/lib/components/panel/footer/preferences/user-settings/account/index.d.ts.map +1 -0
- package/dist/lib/components/panel/footer/preferences/user-settings/account/index.js +16 -0
- package/dist/lib/components/panel/footer/preferences/user-settings/content-social/index.d.ts +3 -0
- package/dist/lib/components/panel/footer/preferences/user-settings/content-social/index.d.ts.map +1 -0
- package/dist/lib/components/panel/footer/preferences/user-settings/content-social/index.js +16 -0
- package/dist/lib/components/panel/footer/preferences/user-settings/data-privacy/index.d.ts +3 -0
- package/dist/lib/components/panel/footer/preferences/user-settings/data-privacy/index.d.ts.map +1 -0
- package/dist/lib/components/panel/footer/preferences/user-settings/data-privacy/index.js +101 -0
- package/dist/lib/components/panel/footer/preferences/user-settings/family-center/index.d.ts +3 -0
- package/dist/lib/components/panel/footer/preferences/user-settings/family-center/index.d.ts.map +1 -0
- package/dist/lib/components/panel/footer/preferences/user-settings/family-center/index.js +24 -0
- package/dist/lib/components/panel/footer/preferences/user-settings/profiles/index.d.ts +3 -0
- package/dist/lib/components/panel/footer/preferences/user-settings/profiles/index.d.ts.map +1 -0
- package/dist/lib/components/panel/footer/preferences/user-settings/profiles/index.js +103 -0
- package/dist/lib/components/panel/footer/tabs.d.ts +12 -0
- package/dist/lib/components/panel/footer/tabs.d.ts.map +1 -0
- package/dist/lib/components/panel/footer/tabs.js +23 -0
- package/dist/lib/components/panel/footer/types.d.ts +39 -0
- package/dist/lib/components/panel/footer/types.d.ts.map +1 -0
- package/dist/lib/components/panel/footer/user-menu.d.ts +10 -0
- package/dist/lib/components/panel/footer/user-menu.d.ts.map +1 -0
- package/dist/lib/components/panel/footer/user-menu.js +290 -0
- package/dist/lib/components/panel/header/application-menu-sheet.d.ts +21 -0
- package/dist/lib/components/panel/header/application-menu-sheet.d.ts.map +1 -0
- package/dist/lib/components/panel/header/application-menu-sheet.js +227 -0
- package/dist/lib/components/panel/header/bookmarks/bookmark-file-tree/index.d.ts +5 -0
- package/dist/lib/components/panel/header/bookmarks/bookmark-file-tree/index.d.ts.map +1 -0
- package/dist/lib/components/panel/header/bookmarks/bookmark-file-tree/index.js +225 -0
- package/dist/lib/components/panel/header/bookmarks/bookmark-file-tree/types.d.ts +13 -0
- package/dist/lib/components/panel/header/bookmarks/bookmark-file-tree/types.d.ts.map +1 -0
- package/dist/lib/components/panel/header/bookmarks/bookmark-file-tree/variants.d.ts +28 -0
- package/dist/lib/components/panel/header/bookmarks/bookmark-file-tree/variants.d.ts.map +1 -0
- package/dist/lib/components/panel/header/bookmarks/bookmark-file-tree/variants.js +249 -0
- package/dist/lib/components/panel/header/bookmarks/context-menu/index.d.ts +5 -0
- package/dist/lib/components/panel/header/bookmarks/context-menu/index.d.ts.map +1 -0
- package/dist/lib/components/panel/header/bookmarks/context-menu/index.js +147 -0
- package/dist/lib/components/panel/header/bookmarks/context-menu/types.d.ts +25 -0
- package/dist/lib/components/panel/header/bookmarks/context-menu/types.d.ts.map +1 -0
- package/dist/lib/components/panel/header/bookmarks/data.d.ts +2 -0
- package/dist/lib/components/panel/header/bookmarks/data.d.ts.map +1 -0
- package/dist/lib/components/panel/header/bookmarks/empty-state.d.ts +8 -0
- package/dist/lib/components/panel/header/bookmarks/empty-state.d.ts.map +1 -0
- package/dist/lib/components/panel/header/bookmarks/empty-state.js +15 -0
- package/dist/lib/components/panel/header/bookmarks/favorites/data.d.ts +2 -0
- package/dist/lib/components/panel/header/bookmarks/favorites/data.d.ts.map +1 -0
- package/dist/lib/components/panel/header/bookmarks/favorites/grid-list.d.ts +4 -0
- package/dist/lib/components/panel/header/bookmarks/favorites/grid-list.d.ts.map +1 -0
- package/dist/lib/components/panel/header/bookmarks/favorites/grid-list.js +65 -0
- package/dist/lib/components/panel/header/bookmarks/favorites/index.d.ts +5 -0
- package/dist/lib/components/panel/header/bookmarks/favorites/index.d.ts.map +1 -0
- package/dist/lib/components/panel/header/bookmarks/favorites/index.js +76 -0
- package/dist/lib/components/panel/header/bookmarks/favorites/types.d.ts +12 -0
- package/dist/lib/components/panel/header/bookmarks/favorites/types.d.ts.map +1 -0
- package/dist/lib/components/panel/header/bookmarks/favorites/variant.d.ts +211 -0
- package/dist/lib/components/panel/header/bookmarks/favorites/variant.d.ts.map +1 -0
- package/dist/lib/components/panel/header/bookmarks/favorites/variant.js +77 -0
- package/dist/lib/components/panel/header/bookmarks/folder-modal/index.d.ts +7 -0
- package/dist/lib/components/panel/header/bookmarks/folder-modal/index.d.ts.map +1 -0
- package/dist/lib/components/panel/header/bookmarks/folder-modal/index.js +221 -0
- package/dist/lib/components/panel/header/bookmarks/folder-modal/types.d.ts +25 -0
- package/dist/lib/components/panel/header/bookmarks/folder-modal/types.d.ts.map +1 -0
- package/dist/lib/components/panel/header/bookmarks/folder-modal/variants.d.ts +14 -0
- package/dist/lib/components/panel/header/bookmarks/folder-modal/variants.d.ts.map +1 -0
- package/dist/lib/components/panel/header/bookmarks/folder-modal/variants.js +95 -0
- package/dist/lib/components/panel/header/bookmarks/index.d.ts +5 -0
- package/dist/lib/components/panel/header/bookmarks/index.d.ts.map +1 -0
- package/dist/lib/components/panel/header/bookmarks/index.js +247 -0
- package/dist/lib/components/panel/header/bookmarks/membership.d.ts +14 -0
- package/dist/lib/components/panel/header/bookmarks/membership.d.ts.map +1 -0
- package/dist/lib/components/panel/header/bookmarks/membership.js +13 -0
- package/dist/lib/components/panel/header/bookmarks/quick-access/index.d.ts +4 -0
- package/dist/lib/components/panel/header/bookmarks/quick-access/index.d.ts.map +1 -0
- package/dist/lib/components/panel/header/bookmarks/quick-access/index.js +224 -0
- package/dist/lib/components/panel/header/bookmarks/quick-access/types.d.ts +38 -0
- package/dist/lib/components/panel/header/bookmarks/quick-access/types.d.ts.map +1 -0
- package/dist/lib/components/panel/header/bookmarks/shortcut-context-menu.d.ts +11 -0
- package/dist/lib/components/panel/header/bookmarks/shortcut-context-menu.d.ts.map +1 -0
- package/dist/lib/components/panel/header/bookmarks/shortcut-context-menu.js +39 -0
- package/dist/lib/components/panel/header/bookmarks/tree-data.d.ts +4 -0
- package/dist/lib/components/panel/header/bookmarks/tree-data.d.ts.map +1 -0
- package/dist/lib/components/panel/header/bookmarks/tree-data.js +97 -0
- package/dist/lib/components/panel/header/bookmarks/types.d.ts +648 -0
- package/dist/lib/components/panel/header/bookmarks/types.d.ts.map +1 -0
- package/dist/lib/components/panel/header/bookmarks/types.js +198 -0
- package/dist/lib/components/panel/header/bookmarks/variant.d.ts +334 -0
- package/dist/lib/components/panel/header/bookmarks/variant.d.ts.map +1 -0
- package/dist/lib/components/panel/header/bookmarks/variant.js +121 -0
- package/dist/lib/components/panel/header/index.d.ts +4 -0
- package/dist/lib/components/panel/header/index.d.ts.map +1 -0
- package/dist/lib/components/panel/header/index.js +366 -0
- package/dist/lib/components/panel/header/storage/archive/index.d.ts +4 -0
- package/dist/lib/components/panel/header/storage/archive/index.d.ts.map +1 -0
- package/dist/lib/components/panel/header/storage/archive/index.js +138 -0
- package/dist/lib/components/panel/header/storage/archive/types.d.ts +27 -0
- package/dist/lib/components/panel/header/storage/archive/types.d.ts.map +1 -0
- package/dist/lib/components/panel/header/storage/archive/variants.d.ts +6 -0
- package/dist/lib/components/panel/header/storage/archive/variants.d.ts.map +1 -0
- package/dist/lib/components/panel/header/storage/archive/variants.js +8 -0
- package/dist/lib/components/panel/header/storage/data.d.ts +2 -0
- package/dist/lib/components/panel/header/storage/data.d.ts.map +1 -0
- package/dist/lib/components/panel/header/storage/history-actions.d.ts +16 -0
- package/dist/lib/components/panel/header/storage/history-actions.d.ts.map +1 -0
- package/dist/lib/components/panel/header/storage/history-actions.js +18 -0
- package/dist/lib/components/panel/header/storage/history-date-group.d.ts +9 -0
- package/dist/lib/components/panel/header/storage/history-date-group.d.ts.map +1 -0
- package/dist/lib/components/panel/header/storage/history-date-group.js +19 -0
- package/dist/lib/components/panel/header/storage/history-item-content.d.ts +11 -0
- package/dist/lib/components/panel/header/storage/history-item-content.d.ts.map +1 -0
- package/dist/lib/components/panel/header/storage/history-item-content.js +17 -0
- package/dist/lib/components/panel/header/storage/history-shell.d.ts +8 -0
- package/dist/lib/components/panel/header/storage/history-shell.d.ts.map +1 -0
- package/dist/lib/components/panel/header/storage/history-shell.js +19 -0
- package/dist/lib/components/panel/header/storage/history-utils.d.ts +7 -0
- package/dist/lib/components/panel/header/storage/history-utils.d.ts.map +1 -0
- package/dist/lib/components/panel/header/storage/history-utils.js +25 -0
- package/dist/lib/components/panel/header/storage/index.d.ts +5 -0
- package/dist/lib/components/panel/header/storage/index.d.ts.map +1 -0
- package/dist/lib/components/panel/header/storage/index.js +120 -0
- package/dist/lib/components/panel/header/storage/trash/index.d.ts +4 -0
- package/dist/lib/components/panel/header/storage/trash/index.d.ts.map +1 -0
- package/dist/lib/components/panel/header/storage/trash/index.js +126 -0
- package/dist/lib/components/panel/header/storage/trash/types.d.ts +27 -0
- package/dist/lib/components/panel/header/storage/trash/types.d.ts.map +1 -0
- package/dist/lib/components/panel/header/storage/trash/variants.d.ts +6 -0
- package/dist/lib/components/panel/header/storage/trash/variants.d.ts.map +1 -0
- package/dist/lib/components/panel/header/storage/trash/variants.js +12 -0
- package/dist/lib/components/panel/header/storage/types.d.ts +482 -0
- package/dist/lib/components/panel/header/storage/types.d.ts.map +1 -0
- package/dist/lib/components/panel/header/storage/types.js +155 -0
- package/dist/lib/components/panel/header/storage/variant.d.ts +289 -0
- package/dist/lib/components/panel/header/storage/variant.d.ts.map +1 -0
- package/dist/lib/components/panel/header/storage/variant.js +106 -0
- package/dist/lib/components/panel/header/types.d.ts +26 -0
- package/dist/lib/components/panel/header/types.d.ts.map +1 -0
- package/dist/lib/components/panel/info-panel/container.d.ts +9 -0
- package/dist/lib/components/panel/info-panel/container.d.ts.map +1 -0
- package/dist/lib/components/panel/info-panel/container.js +90 -0
- package/dist/lib/components/panel/info-panel/container.module.css +52 -0
- package/dist/lib/components/panel/info-panel/container.module.js +8 -0
- package/dist/lib/components/panel/info-panel/index.d.ts +4 -0
- package/dist/lib/components/panel/info-panel/index.d.ts.map +1 -0
- package/dist/lib/components/panel/info-panel/provider.d.ts +7 -0
- package/dist/lib/components/panel/info-panel/provider.d.ts.map +1 -0
- package/dist/lib/components/panel/info-panel/provider.js +104 -0
- package/dist/lib/components/panel/info-panel/sheet.d.ts +9 -0
- package/dist/lib/components/panel/info-panel/sheet.d.ts.map +1 -0
- package/dist/lib/components/panel/info-panel/sheet.js +70 -0
- package/dist/lib/components/panel/info-panel/styles.d.ts +6 -0
- package/dist/lib/components/panel/info-panel/styles.d.ts.map +1 -0
- package/dist/lib/components/panel/info-panel/styles.js +8 -0
- package/dist/lib/components/panel/info-panel/types.d.ts +21 -0
- package/dist/lib/components/panel/info-panel/types.d.ts.map +1 -0
- package/dist/lib/components/panel/menu/index.d.ts +4 -0
- package/dist/lib/components/panel/menu/index.d.ts.map +1 -0
- package/dist/lib/components/panel/menu/index.js +156 -0
- package/dist/lib/components/panel/menu/types.d.ts +522 -0
- package/dist/lib/components/panel/menu/types.d.ts.map +1 -0
- package/dist/lib/components/panel/menu/types.js +71 -0
- package/dist/lib/components/panel/menu/variant.d.ts +259 -0
- package/dist/lib/components/panel/menu/variant.d.ts.map +1 -0
- package/dist/lib/components/panel/menu/variant.js +131 -0
- package/dist/lib/components/panel/responsive.d.ts +3 -0
- package/dist/lib/components/panel/responsive.d.ts.map +1 -0
- package/dist/lib/components/panel/responsive.js +5 -0
- package/dist/lib/components/responsive-toolbar-action/index.d.ts +11 -0
- package/dist/lib/components/responsive-toolbar-action/index.d.ts.map +1 -0
- package/dist/lib/components/responsive-toolbar-action/index.js +21 -0
- package/dist/lib/components/shortcut-key/index.d.ts +18 -0
- package/dist/lib/components/shortcut-key/index.d.ts.map +1 -0
- package/dist/lib/components/shortcut-key/index.js +44 -0
- package/dist/lib/components/toolbar-actions/index.d.ts +31 -0
- package/dist/lib/components/toolbar-actions/index.d.ts.map +1 -0
- package/dist/lib/components/toolbar-actions/index.js +75 -0
- package/dist/lib/components/workspace-navigation/index.d.ts +24 -0
- package/dist/lib/components/workspace-navigation/index.d.ts.map +1 -0
- package/dist/lib/components/workspace-navigation/index.js +74 -0
- package/dist/lib/layouts/app/frame.d.ts +8 -0
- package/dist/lib/layouts/app/frame.d.ts.map +1 -0
- package/dist/lib/layouts/app/frame.js +20 -0
- package/dist/lib/layouts/app/index.d.ts +27 -0
- package/dist/lib/layouts/app/index.d.ts.map +1 -0
- package/dist/lib/layouts/app/index.js +89 -0
- package/dist/lib/layouts/menu-layout/home-navigation-bubble.d.ts +7 -0
- package/dist/lib/layouts/menu-layout/home-navigation-bubble.d.ts.map +1 -0
- package/dist/lib/layouts/menu-layout/home-navigation-bubble.js +22 -0
- package/dist/lib/layouts/menu-layout/index-md.d.ts +4 -0
- package/dist/lib/layouts/menu-layout/index-md.d.ts.map +1 -0
- package/dist/lib/layouts/menu-layout/index-md.js +142 -0
- package/dist/lib/layouts/menu-layout/index-sm.d.ts +5 -0
- package/dist/lib/layouts/menu-layout/index-sm.d.ts.map +1 -0
- package/dist/lib/layouts/menu-layout/index-sm.js +124 -0
- package/dist/lib/layouts/menu-layout/index.d.ts +8 -0
- package/dist/lib/layouts/menu-layout/index.d.ts.map +1 -0
- package/dist/lib/layouts/menu-layout/index.js +17 -0
- package/dist/lib/layouts/section/index.d.ts +29 -0
- package/dist/lib/layouts/section/index.d.ts.map +1 -0
- package/dist/lib/layouts/section/index.js +285 -0
- package/dist/lib/layouts/section/preferences.d.ts +10 -0
- package/dist/lib/layouts/section/preferences.d.ts.map +1 -0
- package/dist/lib/layouts/section/preferences.js +41 -0
- package/dist/lib/layouts/section/sidebar-state.d.ts +7 -0
- package/dist/lib/layouts/section/sidebar-state.d.ts.map +1 -0
- package/dist/lib/layouts/section/sidebar-state.js +35 -0
- package/dist/lib/layouts/section/sidebar.d.ts +11 -0
- package/dist/lib/layouts/section/sidebar.d.ts.map +1 -0
- package/dist/lib/layouts/section/sidebar.js +84 -0
- package/dist/lib/layouts/section/sort-menu.d.ts +27 -0
- package/dist/lib/layouts/section/sort-menu.d.ts.map +1 -0
- package/dist/lib/layouts/section/sort-menu.js +72 -0
- package/dist/lib/layouts/section/toolbar-content.d.ts +11 -0
- package/dist/lib/layouts/section/toolbar-content.d.ts.map +1 -0
- package/dist/lib/layouts/section/toolbar-content.js +31 -0
- package/dist/lib/layouts/section/toolbar-more-sheet.d.ts +38 -0
- package/dist/lib/layouts/section/toolbar-more-sheet.d.ts.map +1 -0
- package/dist/lib/layouts/section/toolbar-more-sheet.js +288 -0
- package/dist/lib/layouts/section/toolbar.d.ts +60 -0
- package/dist/lib/layouts/section/toolbar.d.ts.map +1 -0
- package/dist/lib/layouts/section/toolbar.js +518 -0
- package/dist/lib/layouts/settings/index.d.ts +5 -0
- package/dist/lib/layouts/settings/index.d.ts.map +1 -0
- package/dist/lib/layouts/settings/index.js +9 -0
- package/dist/lib/navigation-toolbar.d.ts +32 -0
- package/dist/lib/navigation-toolbar.d.ts.map +1 -0
- package/dist/lib/navigation-toolbar.js +29 -0
- package/dist/lib/navigation.d.ts +21 -0
- package/dist/lib/navigation.d.ts.map +1 -0
- package/dist/lib/navigation.js +39 -0
- package/dist/lib/pages/settings/index.d.ts +17 -0
- package/dist/lib/pages/settings/index.d.ts.map +1 -0
- package/dist/lib/pages/settings/index.js +276 -0
- package/dist/lib/pages/settings/navigation.d.ts +4 -0
- package/dist/lib/pages/settings/navigation.d.ts.map +1 -0
- package/dist/lib/pages/settings/navigation.js +6 -0
- package/dist/lib/pages/settings/settings-content.d.ts +5 -0
- package/dist/lib/pages/settings/settings-content.d.ts.map +1 -0
- package/dist/lib/pages/settings/settings-content.js +213 -0
- package/dist/lib/pages/settings/tile-gallery.d.ts +19 -0
- package/dist/lib/pages/settings/tile-gallery.d.ts.map +1 -0
- package/dist/lib/pages/settings/tile-gallery.js +411 -0
- package/dist/lib/store/useBookmarks/action.d.ts +6 -0
- package/dist/lib/store/useBookmarks/action.d.ts.map +1 -0
- package/dist/lib/store/useBookmarks/action.js +7 -0
- package/dist/lib/store/useBookmarks/data.d.ts +4 -0
- package/dist/lib/store/useBookmarks/data.d.ts.map +1 -0
- package/dist/lib/store/useBookmarks/data.js +231 -0
- package/dist/lib/store/useBookmarks/index.d.ts +12 -0
- package/dist/lib/store/useBookmarks/index.d.ts.map +1 -0
- package/dist/lib/store/useBookmarks/index.js +29 -0
- package/dist/lib/store/useBookmarks/types.d.ts +30 -0
- package/dist/lib/store/useBookmarks/types.d.ts.map +1 -0
- package/dist/lib/store/useStorage/action.d.ts +6 -0
- package/dist/lib/store/useStorage/action.d.ts.map +1 -0
- package/dist/lib/store/useStorage/action.js +7 -0
- package/dist/lib/store/useStorage/data.d.ts +3 -0
- package/dist/lib/store/useStorage/data.d.ts.map +1 -0
- package/dist/lib/store/useStorage/data.js +219 -0
- package/dist/lib/store/useStorage/index.d.ts +7 -0
- package/dist/lib/store/useStorage/index.d.ts.map +1 -0
- package/dist/lib/store/useStorage/index.js +13 -0
- package/dist/lib/store/useStorage/types.d.ts +20 -0
- package/dist/lib/store/useStorage/types.d.ts.map +1 -0
- package/dist/lib/store/users/useUserStore.d.ts +22 -0
- package/dist/lib/store/users/useUserStore.d.ts.map +1 -0
- package/dist/lib/store/users/useUserStore.js +46 -0
- package/dist/lib/utils/date.d.ts +2 -0
- package/dist/lib/utils/date.d.ts.map +1 -0
- package/dist/lib/utils/date.js +8 -0
- package/dist/lib/utils/url.d.ts +4 -0
- package/dist/lib/utils/url.d.ts.map +1 -0
- package/dist/lib/utils/url.js +19 -0
- package/package.json +90 -2
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
import { VariantProps } from '@vezham/react-v3';
|
|
2
|
+
declare const tva: import('tailwind-variants').TVReturnType<{
|
|
3
|
+
variant: {
|
|
4
|
+
default: {
|
|
5
|
+
base: string;
|
|
6
|
+
icon: string;
|
|
7
|
+
label: string;
|
|
8
|
+
};
|
|
9
|
+
primary: {
|
|
10
|
+
icon: string;
|
|
11
|
+
label: string;
|
|
12
|
+
};
|
|
13
|
+
muted: {
|
|
14
|
+
icon: string;
|
|
15
|
+
label: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
size: {
|
|
19
|
+
sm: {
|
|
20
|
+
icon_wrapper: string;
|
|
21
|
+
icon: string;
|
|
22
|
+
label: string;
|
|
23
|
+
};
|
|
24
|
+
md: {
|
|
25
|
+
icon_wrapper: string;
|
|
26
|
+
icon: string;
|
|
27
|
+
label: string;
|
|
28
|
+
};
|
|
29
|
+
lg: {
|
|
30
|
+
icon_wrapper: string;
|
|
31
|
+
icon: string;
|
|
32
|
+
label: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
spacing: {
|
|
36
|
+
compact: {
|
|
37
|
+
container: string;
|
|
38
|
+
item: string;
|
|
39
|
+
};
|
|
40
|
+
normal: {
|
|
41
|
+
container: string;
|
|
42
|
+
item: string;
|
|
43
|
+
};
|
|
44
|
+
spacious: {
|
|
45
|
+
container: string;
|
|
46
|
+
item: string;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
collapsed: {
|
|
50
|
+
true: {
|
|
51
|
+
container: string;
|
|
52
|
+
label: string;
|
|
53
|
+
};
|
|
54
|
+
false: {
|
|
55
|
+
label: string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
itemRadius: {
|
|
59
|
+
none: {
|
|
60
|
+
item: string;
|
|
61
|
+
};
|
|
62
|
+
sm: {
|
|
63
|
+
item: string;
|
|
64
|
+
};
|
|
65
|
+
md: {
|
|
66
|
+
item: string;
|
|
67
|
+
};
|
|
68
|
+
lg: {
|
|
69
|
+
item: string;
|
|
70
|
+
};
|
|
71
|
+
full: {
|
|
72
|
+
item: string;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
}, {
|
|
76
|
+
base: string;
|
|
77
|
+
scroll: string;
|
|
78
|
+
container: string;
|
|
79
|
+
align: string;
|
|
80
|
+
item: string;
|
|
81
|
+
icon_wrapper: string;
|
|
82
|
+
icon: string;
|
|
83
|
+
tooltip_trigger: string;
|
|
84
|
+
tooltip_content: string;
|
|
85
|
+
label: string;
|
|
86
|
+
}, undefined, {
|
|
87
|
+
variant: {
|
|
88
|
+
default: {
|
|
89
|
+
base: string;
|
|
90
|
+
icon: string;
|
|
91
|
+
label: string;
|
|
92
|
+
};
|
|
93
|
+
primary: {
|
|
94
|
+
icon: string;
|
|
95
|
+
label: string;
|
|
96
|
+
};
|
|
97
|
+
muted: {
|
|
98
|
+
icon: string;
|
|
99
|
+
label: string;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
size: {
|
|
103
|
+
sm: {
|
|
104
|
+
icon_wrapper: string;
|
|
105
|
+
icon: string;
|
|
106
|
+
label: string;
|
|
107
|
+
};
|
|
108
|
+
md: {
|
|
109
|
+
icon_wrapper: string;
|
|
110
|
+
icon: string;
|
|
111
|
+
label: string;
|
|
112
|
+
};
|
|
113
|
+
lg: {
|
|
114
|
+
icon_wrapper: string;
|
|
115
|
+
icon: string;
|
|
116
|
+
label: string;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
spacing: {
|
|
120
|
+
compact: {
|
|
121
|
+
container: string;
|
|
122
|
+
item: string;
|
|
123
|
+
};
|
|
124
|
+
normal: {
|
|
125
|
+
container: string;
|
|
126
|
+
item: string;
|
|
127
|
+
};
|
|
128
|
+
spacious: {
|
|
129
|
+
container: string;
|
|
130
|
+
item: string;
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
collapsed: {
|
|
134
|
+
true: {
|
|
135
|
+
container: string;
|
|
136
|
+
label: string;
|
|
137
|
+
};
|
|
138
|
+
false: {
|
|
139
|
+
label: string;
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
itemRadius: {
|
|
143
|
+
none: {
|
|
144
|
+
item: string;
|
|
145
|
+
};
|
|
146
|
+
sm: {
|
|
147
|
+
item: string;
|
|
148
|
+
};
|
|
149
|
+
md: {
|
|
150
|
+
item: string;
|
|
151
|
+
};
|
|
152
|
+
lg: {
|
|
153
|
+
item: string;
|
|
154
|
+
};
|
|
155
|
+
full: {
|
|
156
|
+
item: string;
|
|
157
|
+
};
|
|
158
|
+
};
|
|
159
|
+
}, {
|
|
160
|
+
base: string;
|
|
161
|
+
scroll: string;
|
|
162
|
+
container: string;
|
|
163
|
+
align: string;
|
|
164
|
+
item: string;
|
|
165
|
+
icon_wrapper: string;
|
|
166
|
+
icon: string;
|
|
167
|
+
tooltip_trigger: string;
|
|
168
|
+
tooltip_content: string;
|
|
169
|
+
label: string;
|
|
170
|
+
}, import('tailwind-variants').TVReturnTypeLike<{
|
|
171
|
+
variant: {
|
|
172
|
+
default: {
|
|
173
|
+
base: string;
|
|
174
|
+
icon: string;
|
|
175
|
+
label: string;
|
|
176
|
+
};
|
|
177
|
+
primary: {
|
|
178
|
+
icon: string;
|
|
179
|
+
label: string;
|
|
180
|
+
};
|
|
181
|
+
muted: {
|
|
182
|
+
icon: string;
|
|
183
|
+
label: string;
|
|
184
|
+
};
|
|
185
|
+
};
|
|
186
|
+
size: {
|
|
187
|
+
sm: {
|
|
188
|
+
icon_wrapper: string;
|
|
189
|
+
icon: string;
|
|
190
|
+
label: string;
|
|
191
|
+
};
|
|
192
|
+
md: {
|
|
193
|
+
icon_wrapper: string;
|
|
194
|
+
icon: string;
|
|
195
|
+
label: string;
|
|
196
|
+
};
|
|
197
|
+
lg: {
|
|
198
|
+
icon_wrapper: string;
|
|
199
|
+
icon: string;
|
|
200
|
+
label: string;
|
|
201
|
+
};
|
|
202
|
+
};
|
|
203
|
+
spacing: {
|
|
204
|
+
compact: {
|
|
205
|
+
container: string;
|
|
206
|
+
item: string;
|
|
207
|
+
};
|
|
208
|
+
normal: {
|
|
209
|
+
container: string;
|
|
210
|
+
item: string;
|
|
211
|
+
};
|
|
212
|
+
spacious: {
|
|
213
|
+
container: string;
|
|
214
|
+
item: string;
|
|
215
|
+
};
|
|
216
|
+
};
|
|
217
|
+
collapsed: {
|
|
218
|
+
true: {
|
|
219
|
+
container: string;
|
|
220
|
+
label: string;
|
|
221
|
+
};
|
|
222
|
+
false: {
|
|
223
|
+
label: string;
|
|
224
|
+
};
|
|
225
|
+
};
|
|
226
|
+
itemRadius: {
|
|
227
|
+
none: {
|
|
228
|
+
item: string;
|
|
229
|
+
};
|
|
230
|
+
sm: {
|
|
231
|
+
item: string;
|
|
232
|
+
};
|
|
233
|
+
md: {
|
|
234
|
+
item: string;
|
|
235
|
+
};
|
|
236
|
+
lg: {
|
|
237
|
+
item: string;
|
|
238
|
+
};
|
|
239
|
+
full: {
|
|
240
|
+
item: string;
|
|
241
|
+
};
|
|
242
|
+
};
|
|
243
|
+
}, {
|
|
244
|
+
base: string;
|
|
245
|
+
scroll: string;
|
|
246
|
+
container: string;
|
|
247
|
+
align: string;
|
|
248
|
+
item: string;
|
|
249
|
+
icon_wrapper: string;
|
|
250
|
+
icon: string;
|
|
251
|
+
tooltip_trigger: string;
|
|
252
|
+
tooltip_content: string;
|
|
253
|
+
label: string;
|
|
254
|
+
}>>;
|
|
255
|
+
type tvProps = VariantProps<typeof tva>;
|
|
256
|
+
type tvSlots = keyof ReturnType<typeof tva>;
|
|
257
|
+
export { tva };
|
|
258
|
+
export type { tvProps, tvSlots };
|
|
259
|
+
//# sourceMappingURL=variant.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"variant.d.ts","sourceRoot":"","sources":["../../../../../src/lib/components/panel/menu/variant.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAM,MAAM,kBAAkB,CAAA;AAExD,QAAA,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiJP,CAAA;AAEF,KAAK,OAAO,GAAG,YAAY,CAAC,OAAO,GAAG,CAAC,CAAA;AACvC,KAAK,OAAO,GAAG,MAAM,UAAU,CAAC,OAAO,GAAG,CAAC,CAAA;AAE3C,OAAO,EAAE,GAAG,EAAE,CAAA;AACd,YAAY,EAAE,OAAO,EAAE,OAAO,EAAE,CAAA"}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { tv } from "@vezham/react-v3";
|
|
2
|
+
//#region src/lib/components/panel/menu/variant.ts
|
|
3
|
+
var tva = tv({
|
|
4
|
+
slots: {
|
|
5
|
+
base: "flex h-full flex-col overflow-hidden",
|
|
6
|
+
scroll: "flex min-h-0 flex-1 flex-col overflow-y-auto",
|
|
7
|
+
container: "flex flex-col",
|
|
8
|
+
align: "flex flex-col items-center",
|
|
9
|
+
item: "cursor-pointer",
|
|
10
|
+
icon_wrapper: "flex h-[28px] w-[28px] cursor-pointer items-center justify-center",
|
|
11
|
+
icon: "text-muted transition-colors",
|
|
12
|
+
tooltip_trigger: "flex h-[28px] w-[28px] cursor-pointer items-center justify-center",
|
|
13
|
+
tooltip_content: "",
|
|
14
|
+
label: "text-muted w-full cursor-pointer truncate text-center text-sm transition-colors"
|
|
15
|
+
},
|
|
16
|
+
variants: {
|
|
17
|
+
variant: {
|
|
18
|
+
default: {
|
|
19
|
+
base: "",
|
|
20
|
+
icon: "text-muted",
|
|
21
|
+
label: "text-muted"
|
|
22
|
+
},
|
|
23
|
+
primary: {
|
|
24
|
+
icon: "text-primary",
|
|
25
|
+
label: "text-primary font-medium"
|
|
26
|
+
},
|
|
27
|
+
muted: {
|
|
28
|
+
icon: "text-muted-foreground",
|
|
29
|
+
label: "text-muted-foreground"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
size: {
|
|
33
|
+
sm: {
|
|
34
|
+
icon_wrapper: "h-[24px] w-[24px]",
|
|
35
|
+
icon: "h-5 w-5",
|
|
36
|
+
label: "text-xs"
|
|
37
|
+
},
|
|
38
|
+
md: {
|
|
39
|
+
icon_wrapper: "h-[28px] w-[28px]",
|
|
40
|
+
icon: "h-5 w-5",
|
|
41
|
+
label: "text-sm"
|
|
42
|
+
},
|
|
43
|
+
lg: {
|
|
44
|
+
icon_wrapper: "h-[32px] w-[32px]",
|
|
45
|
+
icon: "h-5 w-5",
|
|
46
|
+
label: "text-base"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
spacing: {
|
|
50
|
+
compact: {
|
|
51
|
+
container: "gap-2",
|
|
52
|
+
item: "mb-0"
|
|
53
|
+
},
|
|
54
|
+
normal: {
|
|
55
|
+
container: "gap-2",
|
|
56
|
+
item: "mb-1"
|
|
57
|
+
},
|
|
58
|
+
spacious: {
|
|
59
|
+
container: "gap-6",
|
|
60
|
+
item: "mb-2"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
collapsed: {
|
|
64
|
+
true: {
|
|
65
|
+
container: "gap-2",
|
|
66
|
+
label: "hidden"
|
|
67
|
+
},
|
|
68
|
+
false: { label: "block" }
|
|
69
|
+
},
|
|
70
|
+
itemRadius: {
|
|
71
|
+
none: { item: "rounded-none" },
|
|
72
|
+
sm: { item: "rounded-sm" },
|
|
73
|
+
md: { item: "rounded-md" },
|
|
74
|
+
lg: { item: "rounded-lg" },
|
|
75
|
+
full: { item: "rounded-full" }
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
compoundVariants: [
|
|
79
|
+
{
|
|
80
|
+
variant: "default",
|
|
81
|
+
class: {
|
|
82
|
+
icon: "data-[active=true]:text-foreground",
|
|
83
|
+
label: "data-[active=true]:text-foreground data-[active=true]:font-medium"
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
variant: "primary",
|
|
88
|
+
class: {
|
|
89
|
+
icon: "data-[active=true]:text-primary",
|
|
90
|
+
label: "data-[active=true]:text-primary data-[active=true]:font-medium"
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
variant: "muted",
|
|
95
|
+
class: {
|
|
96
|
+
icon: "data-[active=true]:text-foreground",
|
|
97
|
+
label: "data-[active=true]:text-foreground data-[active=true]:font-medium"
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
collapsed: true,
|
|
102
|
+
spacing: "normal",
|
|
103
|
+
class: { container: "gap-3" }
|
|
104
|
+
},
|
|
105
|
+
{ class: { item: "hover:bg-default/20" } },
|
|
106
|
+
{
|
|
107
|
+
collapsed: true,
|
|
108
|
+
size: "sm",
|
|
109
|
+
class: { icon_wrapper: "h-[20px] w-[20px]" }
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
collapsed: true,
|
|
113
|
+
size: "md",
|
|
114
|
+
class: { icon_wrapper: "h-[24px] w-[24px]" }
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
collapsed: true,
|
|
118
|
+
size: "lg",
|
|
119
|
+
class: { icon_wrapper: "h-[28px] w-[28px]" }
|
|
120
|
+
}
|
|
121
|
+
],
|
|
122
|
+
defaultVariants: {
|
|
123
|
+
variant: "default",
|
|
124
|
+
size: "md",
|
|
125
|
+
spacing: "normal",
|
|
126
|
+
collapsed: false,
|
|
127
|
+
itemRadius: "md"
|
|
128
|
+
}
|
|
129
|
+
});
|
|
130
|
+
//#endregion
|
|
131
|
+
export { tva };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsive.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/panel/responsive.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B,oBAAoB,CAAA;AAC3D,eAAO,MAAM,kCAAkC,oBAAoB,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
type ResponsiveToolbarActionContextValue = {
|
|
3
|
+
action: ReactNode;
|
|
4
|
+
setAction: (action: ReactNode) => void;
|
|
5
|
+
};
|
|
6
|
+
export declare const ResponsiveToolbarActionProvider: ({ children }: {
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
}) => import("react").JSX.Element;
|
|
9
|
+
export declare const useResponsiveToolbarAction: () => ResponsiveToolbarActionContextValue;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/responsive-toolbar-action/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,SAAS,EAKf,MAAM,OAAO,CAAA;AAEd,KAAK,mCAAmC,GAAG;IACzC,MAAM,EAAE,SAAS,CAAA;IACjB,SAAS,EAAE,CAAC,MAAM,EAAE,SAAS,KAAK,IAAI,CAAA;CACvC,CAAA;AAQD,eAAO,MAAM,+BAA+B,GAAI,cAE7C;IACD,QAAQ,EAAE,SAAS,CAAA;CACpB,gCASA,CAAA;AAED,eAAO,MAAM,0BAA0B,2CACK,CAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { createContext, useContext, useMemo, useState } from "react";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
//#region src/lib/components/responsive-toolbar-action/index.tsx
|
|
4
|
+
var ResponsiveToolbarActionContext = createContext({
|
|
5
|
+
action: null,
|
|
6
|
+
setAction: () => void 0
|
|
7
|
+
});
|
|
8
|
+
var ResponsiveToolbarActionProvider = ({ children }) => {
|
|
9
|
+
const [action, setAction] = useState(null);
|
|
10
|
+
const value = useMemo(() => ({
|
|
11
|
+
action,
|
|
12
|
+
setAction
|
|
13
|
+
}), [action]);
|
|
14
|
+
return /* @__PURE__ */ jsx(ResponsiveToolbarActionContext.Provider, {
|
|
15
|
+
value,
|
|
16
|
+
children
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
var useResponsiveToolbarAction = () => useContext(ResponsiveToolbarActionContext);
|
|
20
|
+
//#endregion
|
|
21
|
+
export { ResponsiveToolbarActionProvider, useResponsiveToolbarAction };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { Button } from '@vezham/react-v3';
|
|
3
|
+
type ShortcutKeyProps = {
|
|
4
|
+
className?: string;
|
|
5
|
+
shortcut: string;
|
|
6
|
+
};
|
|
7
|
+
type ShortcutTooltipLabelProps = ShortcutKeyProps & {
|
|
8
|
+
label: string;
|
|
9
|
+
};
|
|
10
|
+
declare const ShortcutKey: ({ className, shortcut }: ShortcutKeyProps) => import("react").JSX.Element;
|
|
11
|
+
declare const ShortcutTooltipLabel: ({ className, label, shortcut }: ShortcutTooltipLabelProps) => import("react").JSX.Element;
|
|
12
|
+
type ShortcutButtonProps = ComponentProps<typeof Button> & {
|
|
13
|
+
label: string;
|
|
14
|
+
shortcut: string;
|
|
15
|
+
};
|
|
16
|
+
declare const ShortcutButton: ({ label, shortcut, children, ...props }: ShortcutButtonProps) => import("react").JSX.Element;
|
|
17
|
+
export { ShortcutButton, ShortcutKey, ShortcutTooltipLabel };
|
|
18
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/shortcut-key/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAwB,MAAM,OAAO,CAAA;AAEjE,OAAO,EAAE,MAAM,EAAe,MAAM,kBAAkB,CAAA;AAEtD,KAAK,gBAAgB,GAAG;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,KAAK,yBAAyB,GAAG,gBAAgB,GAAG;IAClD,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAYD,QAAA,MAAM,WAAW,GAAI,yBAAyB,gBAAgB,gCAsB7D,CAAA;AAED,QAAA,MAAM,oBAAoB,GAAI,gCAI3B,yBAAyB,gCAQ3B,CAAA;AAED,KAAK,mBAAmB,GAAG,cAAc,CAAC,OAAO,MAAM,CAAC,GAAG;IACzD,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,QAAA,MAAM,cAAc,GAAI,yCAKrB,mBAAmB,gCASrB,CAAA;AAED,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,oBAAoB,EAAE,CAAA"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { useSyncExternalStore } from "react";
|
|
2
|
+
import { Button, Tooltip, cn } from "@vezham/react-v3";
|
|
3
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
+
import { detectPlatform } from "@tanstack/react-hotkeys";
|
|
5
|
+
//#region src/lib/components/shortcut-key/index.tsx
|
|
6
|
+
var shortcutGroupClassName = "inline-flex min-h-6 items-center gap-1 rounded-lg ";
|
|
7
|
+
var keycapClassName = "inline-flex min-h-5 min-w-5 items-center justify-center rounded-md bg-surface-tertiary px-1.5 text-sm leading-none text-muted hover:text-foreground";
|
|
8
|
+
var subscribeToPlatform = () => () => void 0;
|
|
9
|
+
var getModifierKey = () => detectPlatform() === "mac" ? "⌘" : "Ctrl";
|
|
10
|
+
var getServerModifierKey = () => "Ctrl/⌘";
|
|
11
|
+
var ShortcutKey = ({ className, shortcut }) => {
|
|
12
|
+
const modifierKey = useSyncExternalStore(subscribeToPlatform, getModifierKey, getServerModifierKey);
|
|
13
|
+
const keys = shortcut.split(/\s+/).filter(Boolean).map((key) => key === "Mod" ? modifierKey : key);
|
|
14
|
+
return /* @__PURE__ */ jsx("span", {
|
|
15
|
+
"aria-label": keys.join(" "),
|
|
16
|
+
className: cn(shortcutGroupClassName, className),
|
|
17
|
+
children: keys.map((key, index) => /* @__PURE__ */ jsx("span", {
|
|
18
|
+
className: keycapClassName,
|
|
19
|
+
children: key
|
|
20
|
+
}, `${key}-${index}`))
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
var ShortcutTooltipLabel = ({ className, label, shortcut }) => {
|
|
24
|
+
return /* @__PURE__ */ jsxs("span", {
|
|
25
|
+
className: cn("flex items-center gap-2 whitespace-nowrap", className),
|
|
26
|
+
children: [/* @__PURE__ */ jsx("span", { children: label }), /* @__PURE__ */ jsx(ShortcutKey, { shortcut })]
|
|
27
|
+
});
|
|
28
|
+
};
|
|
29
|
+
var ShortcutButton = ({ label, shortcut, children, ...props }) => /* @__PURE__ */ jsxs(Tooltip, {
|
|
30
|
+
delay: 0,
|
|
31
|
+
children: [/* @__PURE__ */ jsx(Button, {
|
|
32
|
+
isIconOnly: true,
|
|
33
|
+
variant: "ghost",
|
|
34
|
+
size: "sm",
|
|
35
|
+
...props,
|
|
36
|
+
"aria-label": label,
|
|
37
|
+
children
|
|
38
|
+
}), /* @__PURE__ */ jsx(Tooltip.Content, { children: /* @__PURE__ */ jsx(ShortcutTooltipLabel, {
|
|
39
|
+
label,
|
|
40
|
+
shortcut
|
|
41
|
+
}) })]
|
|
42
|
+
});
|
|
43
|
+
//#endregion
|
|
44
|
+
export { ShortcutButton, ShortcutKey, ShortcutTooltipLabel };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export type ToolbarActionEvent = {
|
|
3
|
+
actionKey: string;
|
|
4
|
+
pageKey: string;
|
|
5
|
+
pathname: string;
|
|
6
|
+
};
|
|
7
|
+
export type ToolbarActionHandler = (event: ToolbarActionEvent) => void;
|
|
8
|
+
type Scope = {
|
|
9
|
+
pageKey?: string;
|
|
10
|
+
pathname?: string;
|
|
11
|
+
};
|
|
12
|
+
export declare const createToolbarActions: () => {
|
|
13
|
+
subscribe: (actionKey: string, handler: ToolbarActionHandler, scope?: Scope) => () => void;
|
|
14
|
+
emit: (event: ToolbarActionEvent) => boolean;
|
|
15
|
+
};
|
|
16
|
+
export declare const ToolbarActionsContext: import('react').Context<{
|
|
17
|
+
subscribe: (actionKey: string, handler: ToolbarActionHandler, scope?: Scope) => () => void;
|
|
18
|
+
emit: (event: ToolbarActionEvent) => boolean;
|
|
19
|
+
} | null>;
|
|
20
|
+
export declare const ToolbarActionsProvider: ({ children }: {
|
|
21
|
+
children: ReactNode;
|
|
22
|
+
}) => import("react").JSX.Element;
|
|
23
|
+
export declare const useToolbarActions: () => {
|
|
24
|
+
subscribe: (actionKey: string, handler: ToolbarActionHandler, scope?: Scope) => () => void;
|
|
25
|
+
emit: (event: ToolbarActionEvent) => boolean;
|
|
26
|
+
};
|
|
27
|
+
export declare const useToolbarAction: (actionKey: string, handler: ToolbarActionHandler, { pageKey, pathname, enabled }?: Scope & {
|
|
28
|
+
enabled?: boolean;
|
|
29
|
+
}) => void;
|
|
30
|
+
export {};
|
|
31
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/toolbar-actions/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,SAAS,EAMf,MAAM,OAAO,CAAA;AAEd,MAAM,MAAM,kBAAkB,GAAG;IAC/B,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG,CAAC,KAAK,EAAE,kBAAkB,KAAK,IAAI,CAAA;AAEtE,KAAK,KAAK,GAAG;IAAE,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;CAAE,CAAA;AAGpD,eAAO,MAAM,oBAAoB;2BAGlB,MAAM,WACR,oBAAoB,UACtB,KAAK;kBAYO,kBAAkB;CAsBxC,CAAA;AAED,eAAO,MAAM,qBAAqB;2BAtCnB,MAAM,WACR,oBAAoB,UACtB,KAAK;kBAYO,kBAAkB;SA0B1B,CAAA;AAEf,eAAO,MAAM,sBAAsB,GAAI,cAEpC;IACD,QAAQ,EAAE,SAAS,CAAA;CACpB,gCAOA,CAAA;AAED,eAAO,MAAM,iBAAiB;2BAvDf,MAAM,WACR,oBAAoB,UACtB,KAAK;kBAYO,kBAAkB;CA8CxC,CAAA;AAED,eAAO,MAAM,gBAAgB,GAC3B,WAAW,MAAM,EACjB,SAAS,oBAAoB,EAC7B,iCAAuC,KAAK,GAAG;IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAO,SAe1E,CAAA"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { createContext, useContext, useLayoutEffect, useRef, useState } from "react";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
//#region src/lib/components/toolbar-actions/index.tsx
|
|
4
|
+
var createToolbarActions = () => {
|
|
5
|
+
const subscriptions = /* @__PURE__ */ new Map();
|
|
6
|
+
const subscribe = (actionKey, handler, scope = {}) => {
|
|
7
|
+
const subscription = {
|
|
8
|
+
...scope,
|
|
9
|
+
actionKey,
|
|
10
|
+
handler
|
|
11
|
+
};
|
|
12
|
+
const handlers = subscriptions.get(actionKey) ?? /* @__PURE__ */ new Set();
|
|
13
|
+
handlers.add(subscription);
|
|
14
|
+
subscriptions.set(actionKey, handlers);
|
|
15
|
+
return () => {
|
|
16
|
+
handlers.delete(subscription);
|
|
17
|
+
if (handlers.size === 0 && subscriptions.get(actionKey) === handlers) subscriptions.delete(actionKey);
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
const emit = (event) => {
|
|
21
|
+
let selected;
|
|
22
|
+
let priority = -1;
|
|
23
|
+
const handlers = subscriptions.get(event.actionKey);
|
|
24
|
+
if (!handlers) return false;
|
|
25
|
+
for (const subscription of handlers) {
|
|
26
|
+
if (subscription.pageKey && subscription.pageKey !== event.pageKey) continue;
|
|
27
|
+
if (subscription.pathname && subscription.pathname !== event.pathname) continue;
|
|
28
|
+
const specificity = Number(Boolean(subscription.pageKey)) + Number(Boolean(subscription.pathname));
|
|
29
|
+
if (specificity >= priority) {
|
|
30
|
+
selected = subscription;
|
|
31
|
+
priority = specificity;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
selected?.handler(event);
|
|
35
|
+
return Boolean(selected);
|
|
36
|
+
};
|
|
37
|
+
return {
|
|
38
|
+
subscribe,
|
|
39
|
+
emit
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
var ToolbarActionsContext = createContext(null);
|
|
43
|
+
var ToolbarActionsProvider = ({ children }) => {
|
|
44
|
+
const [actions] = useState(createToolbarActions);
|
|
45
|
+
return /* @__PURE__ */ jsx(ToolbarActionsContext.Provider, {
|
|
46
|
+
value: actions,
|
|
47
|
+
children
|
|
48
|
+
});
|
|
49
|
+
};
|
|
50
|
+
var useToolbarActions = () => {
|
|
51
|
+
const actions = useContext(ToolbarActionsContext);
|
|
52
|
+
if (!actions) throw new Error("Toolbar actions require ToolbarActionsProvider");
|
|
53
|
+
return actions;
|
|
54
|
+
};
|
|
55
|
+
var useToolbarAction = (actionKey, handler, { pageKey, pathname, enabled = true } = {}) => {
|
|
56
|
+
const { subscribe } = useToolbarActions();
|
|
57
|
+
const latestHandler = useRef(handler);
|
|
58
|
+
useLayoutEffect(() => {
|
|
59
|
+
latestHandler.current = handler;
|
|
60
|
+
}, [handler]);
|
|
61
|
+
useLayoutEffect(() => {
|
|
62
|
+
if (enabled) return subscribe(actionKey, (event) => latestHandler.current(event), {
|
|
63
|
+
pageKey,
|
|
64
|
+
pathname
|
|
65
|
+
});
|
|
66
|
+
}, [
|
|
67
|
+
actionKey,
|
|
68
|
+
enabled,
|
|
69
|
+
pageKey,
|
|
70
|
+
pathname,
|
|
71
|
+
subscribe
|
|
72
|
+
]);
|
|
73
|
+
};
|
|
74
|
+
//#endregion
|
|
75
|
+
export { ToolbarActionsContext, ToolbarActionsProvider, createToolbarActions, useToolbarAction, useToolbarActions };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
type MobileSidebarControl = {
|
|
3
|
+
isOpen: boolean;
|
|
4
|
+
onToggle: () => void;
|
|
5
|
+
};
|
|
6
|
+
type WorkspaceNavigationContextValue = {
|
|
7
|
+
isNavigationCollapsed: boolean;
|
|
8
|
+
toggleNavigation: () => void;
|
|
9
|
+
registerSidebarShortcut: (handler: () => void) => () => void;
|
|
10
|
+
mobileSidebar: MobileSidebarControl | null;
|
|
11
|
+
registerMobileSidebar: (sidebar: MobileSidebarControl) => () => void;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* Coordinates every persistent navigation surface in the application. Keeping
|
|
15
|
+
* this state in one provider means a collapse starts as one React update rather
|
|
16
|
+
* than each sidebar reacting independently.
|
|
17
|
+
*/
|
|
18
|
+
declare const WorkspaceNavigationProvider: ({ children }: {
|
|
19
|
+
children: ReactNode;
|
|
20
|
+
}) => import("react").JSX.Element;
|
|
21
|
+
export { WorkspaceNavigationProvider };
|
|
22
|
+
export declare const useWorkspaceNavigation: () => WorkspaceNavigationContextValue;
|
|
23
|
+
export declare const useSidebarShortcut: (handler: () => void, enabled?: boolean) => void;
|
|
24
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/workspace-navigation/index.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,SAAS,EAQf,MAAM,OAAO,CAAA;AAKd,KAAK,oBAAoB,GAAG;IAC1B,MAAM,EAAE,OAAO,CAAA;IACf,QAAQ,EAAE,MAAM,IAAI,CAAA;CACrB,CAAA;AAED,KAAK,+BAA+B,GAAG;IACrC,qBAAqB,EAAE,OAAO,CAAA;IAC9B,gBAAgB,EAAE,MAAM,IAAI,CAAA;IAC5B,uBAAuB,EAAE,CAAC,OAAO,EAAE,MAAM,IAAI,KAAK,MAAM,IAAI,CAAA;IAC5D,aAAa,EAAE,oBAAoB,GAAG,IAAI,CAAA;IAC1C,qBAAqB,EAAE,CAAC,OAAO,EAAE,oBAAoB,KAAK,MAAM,IAAI,CAAA;CACrE,CAAA;AAKD;;;;GAIG;AACH,QAAA,MAAM,2BAA2B,GAAI,cAAc;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,gCAwDzE,CAAA;AAED,OAAO,EAAE,2BAA2B,EAAE,CAAA;AAEtC,eAAO,MAAM,sBAAsB,uCAUlC,CAAA;AAED,eAAO,MAAM,kBAAkB,GAAI,SAAS,MAAM,IAAI,EAAE,iBAAc,SAMrE,CAAA"}
|