@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,211 @@
|
|
|
1
|
+
import { VariantProps } from '@vezham/react-v3';
|
|
2
|
+
declare const tva: import('tailwind-variants').TVReturnType<{
|
|
3
|
+
variant: {
|
|
4
|
+
default: {
|
|
5
|
+
item: string;
|
|
6
|
+
itemDropTarget: string;
|
|
7
|
+
backgroundFallback: string;
|
|
8
|
+
avatarFallback: string;
|
|
9
|
+
};
|
|
10
|
+
subtle: {
|
|
11
|
+
item: string;
|
|
12
|
+
itemDropTarget: string;
|
|
13
|
+
backgroundFallback: string;
|
|
14
|
+
avatarFallback: string;
|
|
15
|
+
};
|
|
16
|
+
glass: {
|
|
17
|
+
item: string;
|
|
18
|
+
itemDropTarget: string;
|
|
19
|
+
backgroundFallback: string;
|
|
20
|
+
avatarFallback: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
size: {
|
|
24
|
+
sm: {
|
|
25
|
+
grid: string;
|
|
26
|
+
item: string;
|
|
27
|
+
content: string;
|
|
28
|
+
name: string;
|
|
29
|
+
avatarContainer: string;
|
|
30
|
+
};
|
|
31
|
+
md: {
|
|
32
|
+
grid: string;
|
|
33
|
+
item: string;
|
|
34
|
+
content: string;
|
|
35
|
+
name: string;
|
|
36
|
+
avatarContainer: string;
|
|
37
|
+
};
|
|
38
|
+
lg: {
|
|
39
|
+
grid: string;
|
|
40
|
+
item: string;
|
|
41
|
+
content: string;
|
|
42
|
+
name: string;
|
|
43
|
+
avatarContainer: string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
isInteractive: {
|
|
47
|
+
true: {
|
|
48
|
+
item: string;
|
|
49
|
+
};
|
|
50
|
+
false: {
|
|
51
|
+
item: string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
}, {
|
|
55
|
+
grid: string;
|
|
56
|
+
item: string;
|
|
57
|
+
itemDragging: string;
|
|
58
|
+
itemDropTarget: string;
|
|
59
|
+
dragButton: string;
|
|
60
|
+
backgroundImage: string;
|
|
61
|
+
backgroundFallback: string;
|
|
62
|
+
overlay: string;
|
|
63
|
+
avatarContainer: string;
|
|
64
|
+
avatar: string;
|
|
65
|
+
avatarFallback: string;
|
|
66
|
+
avatarIcon: string;
|
|
67
|
+
content: string;
|
|
68
|
+
name: string;
|
|
69
|
+
emptyState: string;
|
|
70
|
+
}, undefined, {
|
|
71
|
+
variant: {
|
|
72
|
+
default: {
|
|
73
|
+
item: string;
|
|
74
|
+
itemDropTarget: string;
|
|
75
|
+
backgroundFallback: string;
|
|
76
|
+
avatarFallback: string;
|
|
77
|
+
};
|
|
78
|
+
subtle: {
|
|
79
|
+
item: string;
|
|
80
|
+
itemDropTarget: string;
|
|
81
|
+
backgroundFallback: string;
|
|
82
|
+
avatarFallback: string;
|
|
83
|
+
};
|
|
84
|
+
glass: {
|
|
85
|
+
item: string;
|
|
86
|
+
itemDropTarget: string;
|
|
87
|
+
backgroundFallback: string;
|
|
88
|
+
avatarFallback: string;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
size: {
|
|
92
|
+
sm: {
|
|
93
|
+
grid: string;
|
|
94
|
+
item: string;
|
|
95
|
+
content: string;
|
|
96
|
+
name: string;
|
|
97
|
+
avatarContainer: string;
|
|
98
|
+
};
|
|
99
|
+
md: {
|
|
100
|
+
grid: string;
|
|
101
|
+
item: string;
|
|
102
|
+
content: string;
|
|
103
|
+
name: string;
|
|
104
|
+
avatarContainer: string;
|
|
105
|
+
};
|
|
106
|
+
lg: {
|
|
107
|
+
grid: string;
|
|
108
|
+
item: string;
|
|
109
|
+
content: string;
|
|
110
|
+
name: string;
|
|
111
|
+
avatarContainer: string;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
isInteractive: {
|
|
115
|
+
true: {
|
|
116
|
+
item: string;
|
|
117
|
+
};
|
|
118
|
+
false: {
|
|
119
|
+
item: string;
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
}, {
|
|
123
|
+
grid: string;
|
|
124
|
+
item: string;
|
|
125
|
+
itemDragging: string;
|
|
126
|
+
itemDropTarget: string;
|
|
127
|
+
dragButton: string;
|
|
128
|
+
backgroundImage: string;
|
|
129
|
+
backgroundFallback: string;
|
|
130
|
+
overlay: string;
|
|
131
|
+
avatarContainer: string;
|
|
132
|
+
avatar: string;
|
|
133
|
+
avatarFallback: string;
|
|
134
|
+
avatarIcon: string;
|
|
135
|
+
content: string;
|
|
136
|
+
name: string;
|
|
137
|
+
emptyState: string;
|
|
138
|
+
}, import('tailwind-variants').TVReturnTypeLike<{
|
|
139
|
+
variant: {
|
|
140
|
+
default: {
|
|
141
|
+
item: string;
|
|
142
|
+
itemDropTarget: string;
|
|
143
|
+
backgroundFallback: string;
|
|
144
|
+
avatarFallback: string;
|
|
145
|
+
};
|
|
146
|
+
subtle: {
|
|
147
|
+
item: string;
|
|
148
|
+
itemDropTarget: string;
|
|
149
|
+
backgroundFallback: string;
|
|
150
|
+
avatarFallback: string;
|
|
151
|
+
};
|
|
152
|
+
glass: {
|
|
153
|
+
item: string;
|
|
154
|
+
itemDropTarget: string;
|
|
155
|
+
backgroundFallback: string;
|
|
156
|
+
avatarFallback: string;
|
|
157
|
+
};
|
|
158
|
+
};
|
|
159
|
+
size: {
|
|
160
|
+
sm: {
|
|
161
|
+
grid: string;
|
|
162
|
+
item: string;
|
|
163
|
+
content: string;
|
|
164
|
+
name: string;
|
|
165
|
+
avatarContainer: string;
|
|
166
|
+
};
|
|
167
|
+
md: {
|
|
168
|
+
grid: string;
|
|
169
|
+
item: string;
|
|
170
|
+
content: string;
|
|
171
|
+
name: string;
|
|
172
|
+
avatarContainer: string;
|
|
173
|
+
};
|
|
174
|
+
lg: {
|
|
175
|
+
grid: string;
|
|
176
|
+
item: string;
|
|
177
|
+
content: string;
|
|
178
|
+
name: string;
|
|
179
|
+
avatarContainer: string;
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
isInteractive: {
|
|
183
|
+
true: {
|
|
184
|
+
item: string;
|
|
185
|
+
};
|
|
186
|
+
false: {
|
|
187
|
+
item: string;
|
|
188
|
+
};
|
|
189
|
+
};
|
|
190
|
+
}, {
|
|
191
|
+
grid: string;
|
|
192
|
+
item: string;
|
|
193
|
+
itemDragging: string;
|
|
194
|
+
itemDropTarget: string;
|
|
195
|
+
dragButton: string;
|
|
196
|
+
backgroundImage: string;
|
|
197
|
+
backgroundFallback: string;
|
|
198
|
+
overlay: string;
|
|
199
|
+
avatarContainer: string;
|
|
200
|
+
avatar: string;
|
|
201
|
+
avatarFallback: string;
|
|
202
|
+
avatarIcon: string;
|
|
203
|
+
content: string;
|
|
204
|
+
name: string;
|
|
205
|
+
emptyState: string;
|
|
206
|
+
}>>;
|
|
207
|
+
type tvProps = VariantProps<typeof tva>;
|
|
208
|
+
type tvSlots = keyof ReturnType<typeof tva>;
|
|
209
|
+
export { tva };
|
|
210
|
+
export type { tvProps, tvSlots };
|
|
211
|
+
//# sourceMappingURL=variant.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"variant.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/components/panel/header/bookmarks/favorites/variant.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAM,MAAM,kBAAkB,CAAA;AAExD,QAAA,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgFP,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,77 @@
|
|
|
1
|
+
import { tv } from "@vezham/react-v3";
|
|
2
|
+
//#region src/lib/components/panel/header/bookmarks/favorites/variant.ts
|
|
3
|
+
var tva = tv({
|
|
4
|
+
slots: {
|
|
5
|
+
grid: "relative grid w-full min-w-0 grid-cols-4 gap-2 outline-none data-[empty]:block @min-[24rem]/info-panel:grid-cols-[repeat(auto-fill,minmax(4rem,1fr))] [&_.react-aria-DropIndicator]:absolute [&_.react-aria-DropIndicator]:size-0 [&_.react-aria-DropIndicator]:overflow-hidden",
|
|
6
|
+
item: "group bg-default/50 hover:bg-default data-[selected]:bg-accent/10 relative flex min-w-0 items-center justify-center rounded-lg outline-none data-[focus-visible]:ring-2",
|
|
7
|
+
itemDragging: "bg-accent/5 ring-accent/40 cursor-grabbing ring-1 ring-inset [&_[data-slot=favorite-tile-content]]:opacity-0",
|
|
8
|
+
itemDropTarget: "bg-accent-soft ring-accent ring-2 ring-inset",
|
|
9
|
+
dragButton: "focus:outline-focus sr-only focus:not-sr-only focus:absolute focus:inset-0 focus:z-10 focus:rounded-lg focus:outline-2",
|
|
10
|
+
backgroundImage: "absolute inset-0 h-full w-full object-cover",
|
|
11
|
+
backgroundFallback: "absolute inset-0 bg-gradient-to-br",
|
|
12
|
+
overlay: "absolute inset-0 bg-gradient-to-t from-black/70 via-black/20 to-transparent",
|
|
13
|
+
avatarContainer: "pointer-events-none flex h-full w-full items-center justify-center overflow-hidden rounded-[inherit]",
|
|
14
|
+
avatar: "h-full w-full rounded-lg",
|
|
15
|
+
avatarFallback: "text-muted bg-transparent text-xs font-medium",
|
|
16
|
+
avatarIcon: "text-warning",
|
|
17
|
+
content: "absolute right-0 bottom-0 left-0",
|
|
18
|
+
name: "line-clamp-2 leading-tight text-white",
|
|
19
|
+
emptyState: "col-span-full w-full"
|
|
20
|
+
},
|
|
21
|
+
variants: {
|
|
22
|
+
variant: {
|
|
23
|
+
default: {
|
|
24
|
+
item: "data-[focus-visible]:ring-focus",
|
|
25
|
+
itemDropTarget: "ring-accent",
|
|
26
|
+
backgroundFallback: "from-default-200 to-default-300",
|
|
27
|
+
avatarFallback: "bg-transparent"
|
|
28
|
+
},
|
|
29
|
+
subtle: {
|
|
30
|
+
item: "bg-default/30 data-[focus-visible]:ring-focus",
|
|
31
|
+
itemDropTarget: "ring-accent",
|
|
32
|
+
backgroundFallback: "from-default-100 to-default-300",
|
|
33
|
+
avatarFallback: "bg-transparent"
|
|
34
|
+
},
|
|
35
|
+
glass: {
|
|
36
|
+
item: "data-[focus-visible]:ring-focus bg-white/10 hover:bg-white/20",
|
|
37
|
+
itemDropTarget: "ring-accent",
|
|
38
|
+
backgroundFallback: "from-white/30 to-white/10",
|
|
39
|
+
avatarFallback: "bg-transparent"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
size: {
|
|
43
|
+
sm: {
|
|
44
|
+
grid: "[--favorite-tile-height:2.5rem]",
|
|
45
|
+
item: "h-10",
|
|
46
|
+
content: "p-1.5",
|
|
47
|
+
name: "text-[10px]",
|
|
48
|
+
avatarContainer: ""
|
|
49
|
+
},
|
|
50
|
+
md: {
|
|
51
|
+
grid: "[--favorite-tile-height:3rem]",
|
|
52
|
+
item: "h-12",
|
|
53
|
+
content: "p-2",
|
|
54
|
+
name: "text-xs",
|
|
55
|
+
avatarContainer: ""
|
|
56
|
+
},
|
|
57
|
+
lg: {
|
|
58
|
+
grid: "[--favorite-tile-height:3.5rem]",
|
|
59
|
+
item: "h-14",
|
|
60
|
+
content: "p-2.5",
|
|
61
|
+
name: "text-sm",
|
|
62
|
+
avatarContainer: ""
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
isInteractive: {
|
|
66
|
+
true: { item: "cursor-pointer data-[dragging]:cursor-grabbing" },
|
|
67
|
+
false: { item: "cursor-default" }
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
defaultVariants: {
|
|
71
|
+
variant: "default",
|
|
72
|
+
size: "md",
|
|
73
|
+
isInteractive: true
|
|
74
|
+
}
|
|
75
|
+
});
|
|
76
|
+
//#endregion
|
|
77
|
+
export { tva };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { FolderModalProps, FolderVisualPreviewProps } from './types';
|
|
3
|
+
declare const FolderVisualPreview: ({ color, visualType, emoji, icon, className }: FolderVisualPreviewProps) => React.JSX.Element;
|
|
4
|
+
declare const FolderModal: ({ open, mode, form, onFormChange, onOpenChange, onSave }: FolderModalProps) => React.JSX.Element;
|
|
5
|
+
export { FolderVisualPreview };
|
|
6
|
+
export { FolderModal };
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/components/panel/header/bookmarks/folder-modal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAezB,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,wBAAwB,EAE9B,MAAM,SAAS,CAAA;AAGhB,QAAA,MAAM,mBAAmB,GAAI,+CAM1B,wBAAwB,sBAU1B,CAAA;AAED,QAAA,MAAM,WAAW,GAAI,0DAOlB,gBAAgB,sBA8NlB,CAAA;AAED,OAAO,EAAE,mBAAmB,EAAE,CAAA;AAC9B,OAAO,EAAE,WAAW,EAAE,CAAA"}
|
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
import { AppIcon } from "../../../../app-icon/index.js";
|
|
2
|
+
import { emojiOptions, folderColors, folderIconOptions } from "./variants.js";
|
|
3
|
+
import "react";
|
|
4
|
+
import { Button, Input, Label, Modal, Popover, Separator, Tabs, useOverlayState } from "@vezham/react-v3";
|
|
5
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
import { EmojiPicker } from "@vezham/react-pro-v3";
|
|
7
|
+
//#region src/lib/components/panel/header/bookmarks/folder-modal/index.tsx
|
|
8
|
+
var FolderVisualPreview = ({ color, visualType, emoji, icon, className = "" }) => /* @__PURE__ */ jsx("span", {
|
|
9
|
+
className: `flex shrink-0 items-center justify-center rounded-full text-white shadow-sm ${className}`,
|
|
10
|
+
style: { backgroundColor: color },
|
|
11
|
+
children: visualType === "emoji" ? /* @__PURE__ */ jsx("span", {
|
|
12
|
+
className: "text-[1em] leading-none",
|
|
13
|
+
children: emoji
|
|
14
|
+
}) : /* @__PURE__ */ jsx(AppIcon, {
|
|
15
|
+
icon,
|
|
16
|
+
size: "1em",
|
|
17
|
+
"aria-hidden": "true"
|
|
18
|
+
})
|
|
19
|
+
});
|
|
20
|
+
var FolderModal = ({ open, mode, form, onFormChange, onOpenChange, onSave }) => {
|
|
21
|
+
const state = useOverlayState({
|
|
22
|
+
isOpen: open,
|
|
23
|
+
onOpenChange
|
|
24
|
+
});
|
|
25
|
+
const canSave = form.name.trim().length > 0;
|
|
26
|
+
const selectedVisualKey = form.visualType;
|
|
27
|
+
const updateForm = (nextForm) => {
|
|
28
|
+
onFormChange({
|
|
29
|
+
...form,
|
|
30
|
+
...nextForm
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
const renderEmojiItem = (item) => /* @__PURE__ */ jsx(EmojiPicker.Item, {
|
|
34
|
+
id: item.id,
|
|
35
|
+
textValue: item.label,
|
|
36
|
+
children: item.emoji
|
|
37
|
+
});
|
|
38
|
+
return /* @__PURE__ */ jsxs(Modal, {
|
|
39
|
+
state,
|
|
40
|
+
children: [/* @__PURE__ */ jsx(Modal.Trigger, { className: "hidden" }), /* @__PURE__ */ jsx(Modal.Backdrop, {
|
|
41
|
+
variant: "blur",
|
|
42
|
+
className: "fixed inset-0 z-[120] bg-black/35",
|
|
43
|
+
children: /* @__PURE__ */ jsx(Modal.Container, {
|
|
44
|
+
placement: "center",
|
|
45
|
+
children: /* @__PURE__ */ jsxs(Modal.Dialog, {
|
|
46
|
+
className: "w-[min(620px,calc(100vw-32px))] overflow-hidden rounded-[28px] border border-black/10 bg-white p-0 shadow-[0_24px_90px_rgba(15,23,42,0.28)]",
|
|
47
|
+
children: [
|
|
48
|
+
/* @__PURE__ */ jsx(Modal.Header, {
|
|
49
|
+
className: "px-8 pt-8 pb-4",
|
|
50
|
+
children: /* @__PURE__ */ jsx(Modal.Heading, {
|
|
51
|
+
className: "text-center text-xl font-semibold text-black",
|
|
52
|
+
children: mode === "create" ? "New Folder" : "Edit Folder"
|
|
53
|
+
})
|
|
54
|
+
}),
|
|
55
|
+
/* @__PURE__ */ jsxs(Modal.Body, {
|
|
56
|
+
className: "space-y-6 px-8 pb-6",
|
|
57
|
+
children: [
|
|
58
|
+
/* @__PURE__ */ jsxs("div", {
|
|
59
|
+
className: "flex items-center gap-4",
|
|
60
|
+
children: [/* @__PURE__ */ jsx(Label, {
|
|
61
|
+
className: "w-16 shrink-0 text-base font-medium text-black",
|
|
62
|
+
children: "Name:"
|
|
63
|
+
}), /* @__PURE__ */ jsx(Input, {
|
|
64
|
+
value: form.name,
|
|
65
|
+
className: "border-default-200 focus:border-primary focus:ring-primary/25 h-12 w-full rounded-xl border bg-white px-4 text-base outline-none focus:ring-4",
|
|
66
|
+
onChange: (event) => updateForm({ name: event.target.value })
|
|
67
|
+
})]
|
|
68
|
+
}),
|
|
69
|
+
/* @__PURE__ */ jsxs("div", {
|
|
70
|
+
className: "grid gap-6 md:grid-cols-[1fr_auto_1fr]",
|
|
71
|
+
children: [
|
|
72
|
+
/* @__PURE__ */ jsxs("div", {
|
|
73
|
+
className: "flex gap-4",
|
|
74
|
+
children: [/* @__PURE__ */ jsx(Label, {
|
|
75
|
+
className: "w-16 shrink-0 pt-1 text-base font-medium text-black",
|
|
76
|
+
children: "Color:"
|
|
77
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
78
|
+
className: "flex flex-wrap gap-3",
|
|
79
|
+
children: folderColors.map((color) => /* @__PURE__ */ jsx("button", {
|
|
80
|
+
type: "button",
|
|
81
|
+
"aria-label": `Use ${color} folder color`,
|
|
82
|
+
className: "ring-primary/70 flex h-8 w-8 items-center justify-center rounded-full border border-black/10 shadow-sm transition-transform outline-none hover:scale-105 focus-visible:ring-2",
|
|
83
|
+
style: { backgroundColor: color },
|
|
84
|
+
onClick: () => updateForm({ color }),
|
|
85
|
+
children: form.color === color && /* @__PURE__ */ jsx("span", { className: "h-2.5 w-2.5 rounded-full bg-white shadow" })
|
|
86
|
+
}, color))
|
|
87
|
+
})]
|
|
88
|
+
}),
|
|
89
|
+
/* @__PURE__ */ jsx(Separator, {
|
|
90
|
+
orientation: "vertical",
|
|
91
|
+
className: "hidden md:block"
|
|
92
|
+
}),
|
|
93
|
+
/* @__PURE__ */ jsxs("div", {
|
|
94
|
+
className: "flex gap-4",
|
|
95
|
+
children: [/* @__PURE__ */ jsx(Label, {
|
|
96
|
+
className: "w-14 shrink-0 pt-1 text-base font-medium text-black",
|
|
97
|
+
children: "Icon:"
|
|
98
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
99
|
+
className: "flex flex-col gap-3",
|
|
100
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
101
|
+
className: "flex items-center gap-3",
|
|
102
|
+
children: [/* @__PURE__ */ jsxs(EmojiPicker, {
|
|
103
|
+
selectedKey: form.visualType === "emoji" ? form.emoji : void 0,
|
|
104
|
+
onSelectionChange: (key) => {
|
|
105
|
+
if (!key) return;
|
|
106
|
+
updateForm({
|
|
107
|
+
visualType: "emoji",
|
|
108
|
+
emoji: String(key)
|
|
109
|
+
});
|
|
110
|
+
},
|
|
111
|
+
children: [/* @__PURE__ */ jsx(EmojiPicker.Trigger, {
|
|
112
|
+
"aria-label": "Choose emoji",
|
|
113
|
+
className: "rounded-full",
|
|
114
|
+
children: /* @__PURE__ */ jsx(FolderVisualPreview, {
|
|
115
|
+
color: form.visualType === "emoji" ? form.color : "#d6e8ff",
|
|
116
|
+
visualType: "emoji",
|
|
117
|
+
emoji: form.emoji,
|
|
118
|
+
icon: form.icon,
|
|
119
|
+
className: "h-14 w-14 text-2xl"
|
|
120
|
+
})
|
|
121
|
+
}), /* @__PURE__ */ jsx(EmojiPicker.Popover, {
|
|
122
|
+
placement: "right",
|
|
123
|
+
children: /* @__PURE__ */ jsx(EmojiPicker.Content, { children: /* @__PURE__ */ jsx(EmojiPicker.Grid, {
|
|
124
|
+
items: emojiOptions,
|
|
125
|
+
children: renderEmojiItem
|
|
126
|
+
}) })
|
|
127
|
+
})]
|
|
128
|
+
}), /* @__PURE__ */ jsxs(Popover, { children: [/* @__PURE__ */ jsx(Popover.Trigger, { children: /* @__PURE__ */ jsx("button", {
|
|
129
|
+
type: "button",
|
|
130
|
+
"aria-label": "Choose icon",
|
|
131
|
+
className: "focus-visible:ring-primary rounded-full outline-none focus-visible:ring-2",
|
|
132
|
+
children: /* @__PURE__ */ jsx(FolderVisualPreview, {
|
|
133
|
+
color: form.visualType === "icon" ? form.color : "#e4e4e7",
|
|
134
|
+
visualType: "icon",
|
|
135
|
+
emoji: form.emoji,
|
|
136
|
+
icon: form.icon,
|
|
137
|
+
className: "h-14 w-14 text-2xl"
|
|
138
|
+
})
|
|
139
|
+
}) }), /* @__PURE__ */ jsx(Popover.Content, {
|
|
140
|
+
placement: "right",
|
|
141
|
+
className: "w-[280px] rounded-3xl p-4",
|
|
142
|
+
children: /* @__PURE__ */ jsx(Popover.Dialog, {
|
|
143
|
+
className: "grid grid-cols-6 gap-3",
|
|
144
|
+
children: folderIconOptions.map((icon) => /* @__PURE__ */ jsx("button", {
|
|
145
|
+
type: "button",
|
|
146
|
+
"aria-label": `Use ${icon} icon`,
|
|
147
|
+
className: "bg-default-200 text-default-700 ring-primary hover:bg-default-300 flex h-10 w-10 items-center justify-center rounded-full transition outline-none focus-visible:ring-2",
|
|
148
|
+
"data-selected": form.visualType === "icon" && form.icon === icon ? "true" : void 0,
|
|
149
|
+
onClick: () => updateForm({
|
|
150
|
+
visualType: "icon",
|
|
151
|
+
icon
|
|
152
|
+
}),
|
|
153
|
+
children: /* @__PURE__ */ jsx(AppIcon, {
|
|
154
|
+
icon,
|
|
155
|
+
size: 22,
|
|
156
|
+
"aria-hidden": "true"
|
|
157
|
+
})
|
|
158
|
+
}, icon))
|
|
159
|
+
})
|
|
160
|
+
})] })]
|
|
161
|
+
}), /* @__PURE__ */ jsx(Tabs, {
|
|
162
|
+
selectedKey: selectedVisualKey,
|
|
163
|
+
onSelectionChange: (key) => updateForm({ visualType: String(key) }),
|
|
164
|
+
children: /* @__PURE__ */ jsx(Tabs.ListContainer, { children: /* @__PURE__ */ jsxs(Tabs.List, {
|
|
165
|
+
"aria-label": "Folder visual type",
|
|
166
|
+
className: "*:h-8 *:px-4",
|
|
167
|
+
children: [/* @__PURE__ */ jsxs(Tabs.Tab, {
|
|
168
|
+
id: "emoji",
|
|
169
|
+
children: ["Emoji", /* @__PURE__ */ jsx(Tabs.Indicator, {})]
|
|
170
|
+
}), /* @__PURE__ */ jsxs(Tabs.Tab, {
|
|
171
|
+
id: "icon",
|
|
172
|
+
children: [
|
|
173
|
+
/* @__PURE__ */ jsx(Tabs.Separator, {}),
|
|
174
|
+
"Icon",
|
|
175
|
+
/* @__PURE__ */ jsx(Tabs.Indicator, {})
|
|
176
|
+
]
|
|
177
|
+
})]
|
|
178
|
+
}) })
|
|
179
|
+
})]
|
|
180
|
+
})]
|
|
181
|
+
})
|
|
182
|
+
]
|
|
183
|
+
}),
|
|
184
|
+
/* @__PURE__ */ jsxs("div", {
|
|
185
|
+
className: "border-default-200 flex items-center gap-3 border-t pt-5",
|
|
186
|
+
children: [/* @__PURE__ */ jsx(FolderVisualPreview, {
|
|
187
|
+
color: form.color,
|
|
188
|
+
visualType: form.visualType,
|
|
189
|
+
emoji: form.emoji,
|
|
190
|
+
icon: form.icon,
|
|
191
|
+
className: "h-10 w-10 text-xl"
|
|
192
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
193
|
+
className: "min-w-0 flex-1 truncate text-base font-medium text-black",
|
|
194
|
+
children: form.name.trim() || "Untitled Folder"
|
|
195
|
+
})]
|
|
196
|
+
})
|
|
197
|
+
]
|
|
198
|
+
}),
|
|
199
|
+
/* @__PURE__ */ jsxs(Modal.Footer, {
|
|
200
|
+
className: "border-default-200 flex justify-end gap-3 border-t px-8 py-5",
|
|
201
|
+
children: [/* @__PURE__ */ jsx(Button, {
|
|
202
|
+
variant: "secondary",
|
|
203
|
+
className: "min-w-24 rounded-xl",
|
|
204
|
+
onPress: state.close,
|
|
205
|
+
children: "Cancel"
|
|
206
|
+
}), /* @__PURE__ */ jsx(Button, {
|
|
207
|
+
variant: "primary",
|
|
208
|
+
className: "min-w-24 rounded-xl",
|
|
209
|
+
isDisabled: !canSave,
|
|
210
|
+
onPress: onSave,
|
|
211
|
+
children: "Save"
|
|
212
|
+
})]
|
|
213
|
+
})
|
|
214
|
+
]
|
|
215
|
+
})
|
|
216
|
+
})
|
|
217
|
+
})]
|
|
218
|
+
});
|
|
219
|
+
};
|
|
220
|
+
//#endregion
|
|
221
|
+
export { FolderModal, FolderVisualPreview };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export type FolderVisualType = 'emoji' | 'icon';
|
|
2
|
+
export interface FolderFormState {
|
|
3
|
+
id?: string;
|
|
4
|
+
name: string;
|
|
5
|
+
color: string;
|
|
6
|
+
visualType: FolderVisualType;
|
|
7
|
+
emoji: string;
|
|
8
|
+
icon: string;
|
|
9
|
+
}
|
|
10
|
+
export interface FolderModalProps {
|
|
11
|
+
open: boolean;
|
|
12
|
+
mode: 'create' | 'edit';
|
|
13
|
+
form: FolderFormState;
|
|
14
|
+
onFormChange: (form: FolderFormState) => void;
|
|
15
|
+
onOpenChange: (open: boolean) => void;
|
|
16
|
+
onSave: () => void;
|
|
17
|
+
}
|
|
18
|
+
export interface FolderVisualPreviewProps {
|
|
19
|
+
color: string;
|
|
20
|
+
visualType: FolderVisualType;
|
|
21
|
+
emoji: string;
|
|
22
|
+
icon: string;
|
|
23
|
+
className?: string;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/components/panel/header/bookmarks/folder-modal/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GAAG,OAAO,GAAG,MAAM,CAAA;AAE/C,MAAM,WAAW,eAAe;IAC9B,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,gBAAgB,CAAA;IAC5B,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;CACb;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,OAAO,CAAA;IACb,IAAI,EAAE,QAAQ,GAAG,MAAM,CAAA;IACvB,IAAI,EAAE,eAAe,CAAA;IACrB,YAAY,EAAE,CAAC,IAAI,EAAE,eAAe,KAAK,IAAI,CAAA;IAC7C,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;IACrC,MAAM,EAAE,MAAM,IAAI,CAAA;CACnB;AAED,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,gBAAgB,CAAA;IAC5B,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { FolderFormState } from './types';
|
|
2
|
+
declare const DEFAULT_FOLDER_COLOR = "#007aff";
|
|
3
|
+
declare const DEFAULT_FOLDER_ICON = "vx:list-filled";
|
|
4
|
+
declare const DEFAULT_FOLDER_EMOJI = "\uD83D\uDE00";
|
|
5
|
+
declare const folderColors: string[];
|
|
6
|
+
declare const folderIconOptions: string[];
|
|
7
|
+
declare const emojiOptions: {
|
|
8
|
+
emoji: string;
|
|
9
|
+
id: string;
|
|
10
|
+
label: string;
|
|
11
|
+
}[];
|
|
12
|
+
declare const createDefaultFolderForm: () => FolderFormState;
|
|
13
|
+
export { DEFAULT_FOLDER_COLOR, DEFAULT_FOLDER_EMOJI, DEFAULT_FOLDER_ICON, createDefaultFolderForm, emojiOptions, folderColors, folderIconOptions };
|
|
14
|
+
//# sourceMappingURL=variants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"variants.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/components/panel/header/bookmarks/folder-modal/variants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,SAAS,CAAA;AAE9C,QAAA,MAAM,oBAAoB,YAAY,CAAA;AACtC,QAAA,MAAM,mBAAmB,mBAAmB,CAAA;AAC5C,QAAA,MAAM,oBAAoB,iBAAO,CAAA;AAEjC,QAAA,MAAM,YAAY,UAajB,CAAA;AAED,QAAA,MAAM,iBAAiB,UAyBtB,CAAA;AAED,QAAA,MAAM,YAAY;;;;GAqCkC,CAAA;AAEpD,QAAA,MAAM,uBAAuB,QAAO,eAMlC,CAAA;AAEF,OAAO,EACL,oBAAoB,EACpB,oBAAoB,EACpB,mBAAmB,EACnB,uBAAuB,EACvB,YAAY,EACZ,YAAY,EACZ,iBAAiB,EAClB,CAAA"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
//#region src/lib/components/panel/header/bookmarks/folder-modal/variants.ts
|
|
2
|
+
var DEFAULT_FOLDER_COLOR = "#007aff";
|
|
3
|
+
var DEFAULT_FOLDER_ICON = "vx:list-filled";
|
|
4
|
+
var DEFAULT_FOLDER_EMOJI = "😀";
|
|
5
|
+
var folderColors = [
|
|
6
|
+
"#ff3b30",
|
|
7
|
+
"#ff9500",
|
|
8
|
+
"#ffcc00",
|
|
9
|
+
"#34c759",
|
|
10
|
+
"#32ade6",
|
|
11
|
+
"#007aff",
|
|
12
|
+
"#5856d6",
|
|
13
|
+
"#ff2d55",
|
|
14
|
+
"#af52de",
|
|
15
|
+
"#8e7d61",
|
|
16
|
+
"#5d6b78",
|
|
17
|
+
"#d7a59d"
|
|
18
|
+
];
|
|
19
|
+
var folderIconOptions = [
|
|
20
|
+
"vx:list-filled",
|
|
21
|
+
"vx:bookmark-filled",
|
|
22
|
+
"vx:key-filled",
|
|
23
|
+
"vx:gift-filled",
|
|
24
|
+
"vx:cup-star-filled",
|
|
25
|
+
"vx:academic-cap-filled",
|
|
26
|
+
"vx:backpack-filled",
|
|
27
|
+
"vx:notebook-bookmark-filled",
|
|
28
|
+
"vx:document-filled",
|
|
29
|
+
"vx:book-bookmark-filled",
|
|
30
|
+
"vx:card-filled",
|
|
31
|
+
"vx:cart-large-filled",
|
|
32
|
+
"vx:home-filled",
|
|
33
|
+
"vx:buildings-3-filled",
|
|
34
|
+
"vx:banknote-filled",
|
|
35
|
+
"vx:gamepad-filled",
|
|
36
|
+
"vx:headphones-round-filled",
|
|
37
|
+
"vx:leaf-filled",
|
|
38
|
+
"vx:users-filled",
|
|
39
|
+
"vx:heart-filled",
|
|
40
|
+
"vx:star-filled",
|
|
41
|
+
"vx:moon-filled",
|
|
42
|
+
"vx:sun-2-filled",
|
|
43
|
+
"vx:flag-filled"
|
|
44
|
+
];
|
|
45
|
+
var emojiOptions = [
|
|
46
|
+
"😀",
|
|
47
|
+
"😐",
|
|
48
|
+
"❤️",
|
|
49
|
+
"😂",
|
|
50
|
+
"😍",
|
|
51
|
+
"😌",
|
|
52
|
+
"👌",
|
|
53
|
+
"😊",
|
|
54
|
+
"😚",
|
|
55
|
+
"😭",
|
|
56
|
+
"😩",
|
|
57
|
+
"💕",
|
|
58
|
+
"😔",
|
|
59
|
+
"😉",
|
|
60
|
+
"😁",
|
|
61
|
+
"😳",
|
|
62
|
+
"👍",
|
|
63
|
+
"✌️",
|
|
64
|
+
"😏",
|
|
65
|
+
"😴",
|
|
66
|
+
"🙋",
|
|
67
|
+
"🙈",
|
|
68
|
+
"😎",
|
|
69
|
+
"🎵",
|
|
70
|
+
"👀",
|
|
71
|
+
"😪",
|
|
72
|
+
"😜",
|
|
73
|
+
"😋",
|
|
74
|
+
"👏",
|
|
75
|
+
"💡",
|
|
76
|
+
"📚",
|
|
77
|
+
"🎓",
|
|
78
|
+
"🏫",
|
|
79
|
+
"📝",
|
|
80
|
+
"⭐",
|
|
81
|
+
"🏁"
|
|
82
|
+
].map((emoji) => ({
|
|
83
|
+
emoji,
|
|
84
|
+
id: emoji,
|
|
85
|
+
label: emoji
|
|
86
|
+
}));
|
|
87
|
+
var createDefaultFolderForm = () => ({
|
|
88
|
+
name: "",
|
|
89
|
+
color: DEFAULT_FOLDER_COLOR,
|
|
90
|
+
visualType: "icon",
|
|
91
|
+
emoji: DEFAULT_FOLDER_EMOJI,
|
|
92
|
+
icon: DEFAULT_FOLDER_ICON
|
|
93
|
+
});
|
|
94
|
+
//#endregion
|
|
95
|
+
export { DEFAULT_FOLDER_COLOR, DEFAULT_FOLDER_EMOJI, DEFAULT_FOLDER_ICON, createDefaultFolderForm, emojiOptions, folderColors, folderIconOptions };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/components/panel/header/bookmarks/index.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,mBAAmB,EAAgB,MAAM,kBAAkB,CAAA;AAsWpE,QAAA,MAAM,gBAAgB,mCAsBrB,CAAA;AAMD,QAAA,MAAM,cAAc,EAAE,mBAIrB,CAAA;AAED,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,CAAA"}
|