@alfakit/react 0.0.0-stage → 0.1.0
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/LICENSE.md +21 -0
- package/README.md +19 -2
- package/dist/app/components.d.ts +49 -0
- package/dist/app/components.d.ts.map +1 -0
- package/dist/app/components.js +99 -0
- package/dist/app/components.js.map +1 -0
- package/dist/app/hooks.d.ts +79 -0
- package/dist/app/hooks.d.ts.map +1 -0
- package/dist/app/hooks.js +239 -0
- package/dist/app/hooks.js.map +1 -0
- package/dist/components/actions/action-button.d.ts +17 -0
- package/dist/components/actions/action-button.d.ts.map +1 -0
- package/dist/components/actions/action-button.js +150 -0
- package/dist/components/actions/action-button.js.map +1 -0
- package/dist/components/actions/action-context.d.ts +11 -0
- package/dist/components/actions/action-context.d.ts.map +1 -0
- package/dist/components/actions/action-context.js +24 -0
- package/dist/components/actions/action-context.js.map +1 -0
- package/dist/components/actions/action-list.d.ts +20 -0
- package/dist/components/actions/action-list.d.ts.map +1 -0
- package/dist/components/actions/action-list.js +181 -0
- package/dist/components/actions/action-list.js.map +1 -0
- package/dist/components/actions/action-modals.d.ts +5 -0
- package/dist/components/actions/action-modals.d.ts.map +1 -0
- package/dist/components/actions/action-modals.js +362 -0
- package/dist/components/actions/action-modals.js.map +1 -0
- package/dist/components/actions/index.d.ts +5 -0
- package/dist/components/ai/copilot-panel.js +439 -0
- package/dist/components/ai/copilot-panel.js.map +1 -0
- package/dist/components/ai/copilot.d.ts +12 -0
- package/dist/components/ai/copilot.d.ts.map +1 -0
- package/dist/components/ai/copilot.js +66 -0
- package/dist/components/ai/copilot.js.map +1 -0
- package/dist/components/ai/index.d.ts +3 -0
- package/dist/components/ai/index.js +3 -0
- package/dist/components/ai/stream-lazy.d.ts +9 -0
- package/dist/components/ai/stream-lazy.d.ts.map +1 -0
- package/dist/components/ai/stream-lazy.js +13 -0
- package/dist/components/ai/stream-lazy.js.map +1 -0
- package/dist/components/ai/stream.js +85 -0
- package/dist/components/ai/stream.js.map +1 -0
- package/dist/components/analytics/alfakit-analytics.d.ts +14 -0
- package/dist/components/analytics/alfakit-analytics.d.ts.map +1 -0
- package/dist/components/analytics/alfakit-analytics.js +36 -0
- package/dist/components/analytics/alfakit-analytics.js.map +1 -0
- package/dist/components/analytics/breakdown.d.ts +11 -0
- package/dist/components/analytics/breakdown.d.ts.map +1 -0
- package/dist/components/analytics/breakdown.js +155 -0
- package/dist/components/analytics/breakdown.js.map +1 -0
- package/dist/components/analytics/index.d.ts +3 -0
- package/dist/components/cms/admin-bar.js +68 -0
- package/dist/components/cms/admin-bar.js.map +1 -0
- package/dist/components/cms/blocks.d.ts +41 -0
- package/dist/components/cms/blocks.d.ts.map +1 -0
- package/dist/components/cms/blocks.js +400 -0
- package/dist/components/cms/blocks.js.map +1 -0
- package/dist/components/cms/context.d.ts +24 -0
- package/dist/components/cms/context.d.ts.map +1 -0
- package/dist/components/cms/context.js +43 -0
- package/dist/components/cms/context.js.map +1 -0
- package/dist/components/cms/head.d.ts +11 -0
- package/dist/components/cms/head.d.ts.map +1 -0
- package/dist/components/cms/head.js +40 -0
- package/dist/components/cms/head.js.map +1 -0
- package/dist/components/cms/index.d.ts +8 -0
- package/dist/components/cms/index.js +8 -0
- package/dist/components/cms/live-preview-lazy.d.ts +9 -0
- package/dist/components/cms/live-preview-lazy.d.ts.map +1 -0
- package/dist/components/cms/live-preview-lazy.js +13 -0
- package/dist/components/cms/live-preview-lazy.js.map +1 -0
- package/dist/components/cms/live-preview.js +288 -0
- package/dist/components/cms/live-preview.js.map +1 -0
- package/dist/components/cms/menu.d.ts +24 -0
- package/dist/components/cms/menu.d.ts.map +1 -0
- package/dist/components/cms/menu.js +181 -0
- package/dist/components/cms/menu.js.map +1 -0
- package/dist/components/cms/page.d.ts +27 -0
- package/dist/components/cms/page.d.ts.map +1 -0
- package/dist/components/cms/page.js +180 -0
- package/dist/components/cms/page.js.map +1 -0
- package/dist/components/cms/parts.d.ts +24 -0
- package/dist/components/cms/parts.d.ts.map +1 -0
- package/dist/components/cms/parts.js +58 -0
- package/dist/components/cms/parts.js.map +1 -0
- package/dist/components/dev-tools/dev-tools-inspector.js +302 -0
- package/dist/components/dev-tools/dev-tools-inspector.js.map +1 -0
- package/dist/components/dev-tools/dev-tools-slot.js +24 -0
- package/dist/components/dev-tools/dev-tools-slot.js.map +1 -0
- package/dist/components/entries/code-entry.d.ts +8 -0
- package/dist/components/entries/code-entry.d.ts.map +1 -0
- package/dist/components/entries/code-entry.js +59 -0
- package/dist/components/entries/code-entry.js.map +1 -0
- package/dist/components/entries/entry-wrapper.d.ts +13 -0
- package/dist/components/entries/entry-wrapper.d.ts.map +1 -0
- package/dist/components/entries/entry-wrapper.js +175 -0
- package/dist/components/entries/entry-wrapper.js.map +1 -0
- package/dist/components/entries/index.d.ts +6 -0
- package/dist/components/entries/other-entries.d.ts +20 -0
- package/dist/components/entries/other-entries.d.ts.map +1 -0
- package/dist/components/entries/other-entries.js +169 -0
- package/dist/components/entries/other-entries.js.map +1 -0
- package/dist/components/entries/repeatable-entry-table.js +33 -0
- package/dist/components/entries/repeatable-entry-table.js.map +1 -0
- package/dist/components/entries/text-entry.d.ts +12 -0
- package/dist/components/entries/text-entry.d.ts.map +1 -0
- package/dist/components/entries/text-entry.js +181 -0
- package/dist/components/entries/text-entry.js.map +1 -0
- package/dist/components/entries/view-entry.d.ts +8 -0
- package/dist/components/entries/view-entry.d.ts.map +1 -0
- package/dist/components/entries/view-entry.js +26 -0
- package/dist/components/entries/view-entry.js.map +1 -0
- package/dist/components/fields/builder-picker.js +215 -0
- package/dist/components/fields/builder-picker.js.map +1 -0
- package/dist/components/fields/builder.d.ts +16 -0
- package/dist/components/fields/builder.d.ts.map +1 -0
- package/dist/components/fields/builder.js +351 -0
- package/dist/components/fields/builder.js.map +1 -0
- package/dist/components/fields/checkbox-list.d.ts +7 -0
- package/dist/components/fields/checkbox-list.d.ts.map +1 -0
- package/dist/components/fields/checkbox-list.js +133 -0
- package/dist/components/fields/checkbox-list.js.map +1 -0
- package/dist/components/fields/checkbox.d.ts +7 -0
- package/dist/components/fields/checkbox.d.ts.map +1 -0
- package/dist/components/fields/checkbox.js +29 -0
- package/dist/components/fields/checkbox.js.map +1 -0
- package/dist/components/fields/code-editor-lazy.d.ts +9 -0
- package/dist/components/fields/code-editor-lazy.d.ts.map +1 -0
- package/dist/components/fields/code-editor-lazy.js +31 -0
- package/dist/components/fields/code-editor-lazy.js.map +1 -0
- package/dist/components/fields/code-editor.js +107 -0
- package/dist/components/fields/code-editor.js.map +1 -0
- package/dist/components/fields/code-tokens.js +18 -0
- package/dist/components/fields/code-tokens.js.map +1 -0
- package/dist/components/fields/color-picker.d.ts +7 -0
- package/dist/components/fields/color-picker.d.ts.map +1 -0
- package/dist/components/fields/color-picker.js +70 -0
- package/dist/components/fields/color-picker.js.map +1 -0
- package/dist/components/fields/date-picker.d.ts +7 -0
- package/dist/components/fields/date-picker.d.ts.map +1 -0
- package/dist/components/fields/date-picker.js +230 -0
- package/dist/components/fields/date-picker.js.map +1 -0
- package/dist/components/fields/file-upload.d.ts +7 -0
- package/dist/components/fields/file-upload.d.ts.map +1 -0
- package/dist/components/fields/file-upload.js +397 -0
- package/dist/components/fields/file-upload.js.map +1 -0
- package/dist/components/fields/hidden.d.ts +7 -0
- package/dist/components/fields/hidden.d.ts.map +1 -0
- package/dist/components/fields/hidden.js +17 -0
- package/dist/components/fields/hidden.js.map +1 -0
- package/dist/components/fields/icon-picker-lazy.d.ts +9 -0
- package/dist/components/fields/icon-picker-lazy.d.ts.map +1 -0
- package/dist/components/fields/icon-picker-lazy.js +45 -0
- package/dist/components/fields/icon-picker-lazy.js.map +1 -0
- package/dist/components/fields/icon-picker-value.js +48 -0
- package/dist/components/fields/icon-picker-value.js.map +1 -0
- package/dist/components/fields/icon-picker.js +228 -0
- package/dist/components/fields/icon-picker.js.map +1 -0
- package/dist/components/fields/image-editor-dialog-lazy.js +18 -0
- package/dist/components/fields/image-editor-dialog-lazy.js.map +1 -0
- package/dist/components/fields/image-editor-dialog.js +328 -0
- package/dist/components/fields/image-editor-dialog.js.map +1 -0
- package/dist/components/fields/index.d.ts +24 -0
- package/dist/components/fields/item-actions.js +270 -0
- package/dist/components/fields/item-actions.js.map +1 -0
- package/dist/components/fields/key-value.d.ts +11 -0
- package/dist/components/fields/key-value.d.ts.map +1 -0
- package/dist/components/fields/key-value.js +194 -0
- package/dist/components/fields/key-value.js.map +1 -0
- package/dist/components/fields/lazy-fields.d.ts +13 -0
- package/dist/components/fields/lazy-fields.d.ts.map +1 -0
- package/dist/components/fields/lazy-fields.js +34 -0
- package/dist/components/fields/lazy-fields.js.map +1 -0
- package/dist/components/fields/modal-table-select.js +386 -0
- package/dist/components/fields/modal-table-select.js.map +1 -0
- package/dist/components/fields/money-input.d.ts +7 -0
- package/dist/components/fields/money-input.d.ts.map +1 -0
- package/dist/components/fields/money-input.js +91 -0
- package/dist/components/fields/money-input.js.map +1 -0
- package/dist/components/fields/one-time-code-input.d.ts +12 -0
- package/dist/components/fields/one-time-code-input.d.ts.map +1 -0
- package/dist/components/fields/one-time-code-input.js +53 -0
- package/dist/components/fields/one-time-code-input.js.map +1 -0
- package/dist/components/fields/query-builder-rules.js +295 -0
- package/dist/components/fields/query-builder-rules.js.map +1 -0
- package/dist/components/fields/radio.d.ts +7 -0
- package/dist/components/fields/radio.d.ts.map +1 -0
- package/dist/components/fields/radio.js +57 -0
- package/dist/components/fields/radio.js.map +1 -0
- package/dist/components/fields/repeater-table.js +111 -0
- package/dist/components/fields/repeater-table.js.map +1 -0
- package/dist/components/fields/repeater.d.ts +15 -0
- package/dist/components/fields/repeater.d.ts.map +1 -0
- package/dist/components/fields/repeater.js +209 -0
- package/dist/components/fields/repeater.js.map +1 -0
- package/dist/components/fields/rich-editor-extensions.js +295 -0
- package/dist/components/fields/rich-editor-extensions.js.map +1 -0
- package/dist/components/fields/rich-editor-lazy.d.ts +9 -0
- package/dist/components/fields/rich-editor-lazy.d.ts.map +1 -0
- package/dist/components/fields/rich-editor-lazy.js +24 -0
- package/dist/components/fields/rich-editor-lazy.js.map +1 -0
- package/dist/components/fields/rich-editor.js +517 -0
- package/dist/components/fields/rich-editor.js.map +1 -0
- package/dist/components/fields/select.d.ts +7 -0
- package/dist/components/fields/select.d.ts.map +1 -0
- package/dist/components/fields/select.js +455 -0
- package/dist/components/fields/select.js.map +1 -0
- package/dist/components/fields/slider.d.ts +12 -0
- package/dist/components/fields/slider.d.ts.map +1 -0
- package/dist/components/fields/slider.js +146 -0
- package/dist/components/fields/slider.js.map +1 -0
- package/dist/components/fields/tags-input.d.ts +7 -0
- package/dist/components/fields/tags-input.d.ts.map +1 -0
- package/dist/components/fields/tags-input.js +129 -0
- package/dist/components/fields/tags-input.js.map +1 -0
- package/dist/components/fields/text-input.d.ts +7 -0
- package/dist/components/fields/text-input.d.ts.map +1 -0
- package/dist/components/fields/text-input.js +135 -0
- package/dist/components/fields/text-input.js.map +1 -0
- package/dist/components/fields/textarea.d.ts +7 -0
- package/dist/components/fields/textarea.d.ts.map +1 -0
- package/dist/components/fields/textarea.js +37 -0
- package/dist/components/fields/textarea.js.map +1 -0
- package/dist/components/fields/toggle-buttons.d.ts +7 -0
- package/dist/components/fields/toggle-buttons.d.ts.map +1 -0
- package/dist/components/fields/toggle-buttons.js +84 -0
- package/dist/components/fields/toggle-buttons.js.map +1 -0
- package/dist/components/fields/toggle.d.ts +7 -0
- package/dist/components/fields/toggle.d.ts.map +1 -0
- package/dist/components/fields/toggle.js +39 -0
- package/dist/components/fields/toggle.js.map +1 -0
- package/dist/components/file-manager/file-manager-lazy.d.ts +10 -0
- package/dist/components/file-manager/file-manager-lazy.d.ts.map +1 -0
- package/dist/components/file-manager/file-manager-lazy.js +49 -0
- package/dist/components/file-manager/file-manager-lazy.js.map +1 -0
- package/dist/components/file-manager/file-manager.d.ts +1 -0
- package/dist/components/file-manager/file-manager.js +1387 -0
- package/dist/components/file-manager/file-manager.js.map +1 -0
- package/dist/components/file-manager/index.d.ts +3 -0
- package/dist/components/file-manager/picker-field.d.ts +12 -0
- package/dist/components/file-manager/picker-field.d.ts.map +1 -0
- package/dist/components/file-manager/picker-field.js +124 -0
- package/dist/components/file-manager/picker-field.js.map +1 -0
- package/dist/components/form/form-block.d.ts +12 -0
- package/dist/components/form/form-block.d.ts.map +1 -0
- package/dist/components/form/form-block.js +155 -0
- package/dist/components/form/form-block.js.map +1 -0
- package/dist/components/form/form-context.d.ts +27 -0
- package/dist/components/form/form-context.d.ts.map +1 -0
- package/dist/components/form/form-context.js +65 -0
- package/dist/components/form/form-context.js.map +1 -0
- package/dist/components/helpdesk/chat-panel.js +209 -0
- package/dist/components/helpdesk/chat-panel.js.map +1 -0
- package/dist/components/helpdesk/chat-widget.d.ts +23 -0
- package/dist/components/helpdesk/chat-widget.d.ts.map +1 -0
- package/dist/components/helpdesk/chat-widget.js +76 -0
- package/dist/components/helpdesk/chat-widget.js.map +1 -0
- package/dist/components/helpdesk/inbox-lazy.d.ts +9 -0
- package/dist/components/helpdesk/inbox-lazy.d.ts.map +1 -0
- package/dist/components/helpdesk/inbox-lazy.js +46 -0
- package/dist/components/helpdesk/inbox-lazy.js.map +1 -0
- package/dist/components/helpdesk/inbox.js +609 -0
- package/dist/components/helpdesk/inbox.js.map +1 -0
- package/dist/components/helpdesk/index.d.ts +3 -0
- package/dist/components/kanban/index.d.ts +2 -0
- package/dist/components/kanban/index.js +2 -0
- package/dist/components/kanban/kanban-lazy.d.ts +10 -0
- package/dist/components/kanban/kanban-lazy.d.ts.map +1 -0
- package/dist/components/kanban/kanban-lazy.js +31 -0
- package/dist/components/kanban/kanban-lazy.js.map +1 -0
- package/dist/components/kanban/kanban.js +591 -0
- package/dist/components/kanban/kanban.js.map +1 -0
- package/dist/components/layout/actions.js +40 -0
- package/dist/components/layout/actions.js.map +1 -0
- package/dist/components/layout/component-context.d.ts +13 -0
- package/dist/components/layout/component-context.d.ts.map +1 -0
- package/dist/components/layout/component-context.js +28 -0
- package/dist/components/layout/component-context.js.map +1 -0
- package/dist/components/layout/deferred.js +135 -0
- package/dist/components/layout/deferred.js.map +1 -0
- package/dist/components/layout/elements.d.ts +23 -0
- package/dist/components/layout/elements.d.ts.map +1 -0
- package/dist/components/layout/elements.js +183 -0
- package/dist/components/layout/elements.js.map +1 -0
- package/dist/components/layout/fieldset.d.ts +7 -0
- package/dist/components/layout/fieldset.d.ts.map +1 -0
- package/dist/components/layout/fieldset.js +29 -0
- package/dist/components/layout/fieldset.js.map +1 -0
- package/dist/components/layout/fused-group.d.ts +11 -0
- package/dist/components/layout/fused-group.d.ts.map +1 -0
- package/dist/components/layout/fused-group.js +64 -0
- package/dist/components/layout/fused-group.js.map +1 -0
- package/dist/components/layout/grid.d.ts +7 -0
- package/dist/components/layout/grid.d.ts.map +1 -0
- package/dist/components/layout/grid.js +20 -0
- package/dist/components/layout/grid.js.map +1 -0
- package/dist/components/layout/index.d.ts +12 -0
- package/dist/components/layout/mixed-content.d.ts +14 -0
- package/dist/components/layout/mixed-content.d.ts.map +1 -0
- package/dist/components/layout/mixed-content.js +44 -0
- package/dist/components/layout/mixed-content.js.map +1 -0
- package/dist/components/layout/prime.d.ts +17 -0
- package/dist/components/layout/prime.d.ts.map +1 -0
- package/dist/components/layout/prime.js +126 -0
- package/dist/components/layout/prime.js.map +1 -0
- package/dist/components/layout/schema-children.d.ts +18 -0
- package/dist/components/layout/schema-children.d.ts.map +1 -0
- package/dist/components/layout/schema-children.js +26 -0
- package/dist/components/layout/schema-children.js.map +1 -0
- package/dist/components/layout/section.d.ts +7 -0
- package/dist/components/layout/section.d.ts.map +1 -0
- package/dist/components/layout/section.js +133 -0
- package/dist/components/layout/section.js.map +1 -0
- package/dist/components/layout/tabs.d.ts +7 -0
- package/dist/components/layout/tabs.d.ts.map +1 -0
- package/dist/components/layout/tabs.js +83 -0
- package/dist/components/layout/tabs.js.map +1 -0
- package/dist/components/layout/wizard.d.ts +7 -0
- package/dist/components/layout/wizard.d.ts.map +1 -0
- package/dist/components/layout/wizard.js +172 -0
- package/dist/components/layout/wizard.js.map +1 -0
- package/dist/components/notifications/flash-toasts.d.ts +20 -0
- package/dist/components/notifications/flash-toasts.d.ts.map +1 -0
- package/dist/components/notifications/flash-toasts.js +121 -0
- package/dist/components/notifications/flash-toasts.js.map +1 -0
- package/dist/components/notifications/index.d.ts +5 -0
- package/dist/components/notifications/notifications-menu.d.ts +15 -0
- package/dist/components/notifications/notifications-menu.d.ts.map +1 -0
- package/dist/components/notifications/notifications-menu.js +201 -0
- package/dist/components/notifications/notifications-menu.js.map +1 -0
- package/dist/components/notifications/realtime-notifications.d.ts +9 -0
- package/dist/components/notifications/realtime-notifications.d.ts.map +1 -0
- package/dist/components/notifications/realtime-notifications.js +30 -0
- package/dist/components/notifications/realtime-notifications.js.map +1 -0
- package/dist/components/notifications/undo-button.d.ts +13 -0
- package/dist/components/notifications/undo-button.d.ts.map +1 -0
- package/dist/components/notifications/undo-button.js +54 -0
- package/dist/components/notifications/undo-button.js.map +1 -0
- package/dist/components/panel/app-sidebar.d.ts +7 -0
- package/dist/components/panel/app-sidebar.d.ts.map +1 -0
- package/dist/components/panel/app-sidebar.js +302 -0
- package/dist/components/panel/app-sidebar.js.map +1 -0
- package/dist/components/panel/bottom-nav.d.ts +9 -0
- package/dist/components/panel/bottom-nav.d.ts.map +1 -0
- package/dist/components/panel/bottom-nav.js +100 -0
- package/dist/components/panel/bottom-nav.js.map +1 -0
- package/dist/components/panel/debug-panel-slot.d.ts +8 -0
- package/dist/components/panel/debug-panel-slot.d.ts.map +1 -0
- package/dist/components/panel/debug-panel-slot.js +19 -0
- package/dist/components/panel/debug-panel-slot.js.map +1 -0
- package/dist/components/panel/debug-panel.d.ts +18 -0
- package/dist/components/panel/debug-panel.d.ts.map +1 -0
- package/dist/components/panel/debug-panel.js +423 -0
- package/dist/components/panel/debug-panel.js.map +1 -0
- package/dist/components/panel/global-search-palette.js +278 -0
- package/dist/components/panel/global-search-palette.js.map +1 -0
- package/dist/components/panel/global-search.d.ts +13 -0
- package/dist/components/panel/global-search.d.ts.map +1 -0
- package/dist/components/panel/global-search.js +114 -0
- package/dist/components/panel/global-search.js.map +1 -0
- package/dist/components/panel/impersonation-banner.d.ts +11 -0
- package/dist/components/panel/impersonation-banner.d.ts.map +1 -0
- package/dist/components/panel/impersonation-banner.js +52 -0
- package/dist/components/panel/impersonation-banner.js.map +1 -0
- package/dist/components/panel/index.d.ts +18 -0
- package/dist/components/panel/keyboard-shortcuts.d.ts +10 -0
- package/dist/components/panel/keyboard-shortcuts.d.ts.map +1 -0
- package/dist/components/panel/keyboard-shortcuts.js +107 -0
- package/dist/components/panel/keyboard-shortcuts.js.map +1 -0
- package/dist/components/panel/lazy-placeholder.d.ts +11 -0
- package/dist/components/panel/lazy-placeholder.d.ts.map +1 -0
- package/dist/components/panel/lazy-placeholder.js +35 -0
- package/dist/components/panel/lazy-placeholder.js.map +1 -0
- package/dist/components/panel/locale-switcher.d.ts +19 -0
- package/dist/components/panel/locale-switcher.d.ts.map +1 -0
- package/dist/components/panel/locale-switcher.js +113 -0
- package/dist/components/panel/locale-switcher.js.map +1 -0
- package/dist/components/panel/menu-item.js +65 -0
- package/dist/components/panel/menu-item.js.map +1 -0
- package/dist/components/panel/nav-label.js +29 -0
- package/dist/components/panel/nav-label.js.map +1 -0
- package/dist/components/panel/pwa.d.ts +13 -0
- package/dist/components/panel/pwa.d.ts.map +1 -0
- package/dist/components/panel/pwa.js +90 -0
- package/dist/components/panel/pwa.js.map +1 -0
- package/dist/components/panel/schema-contract-guard.js +44 -0
- package/dist/components/panel/schema-contract-guard.js.map +1 -0
- package/dist/components/panel/shortcut-keys.d.ts +11 -0
- package/dist/components/panel/shortcut-keys.d.ts.map +1 -0
- package/dist/components/panel/shortcut-keys.js +33 -0
- package/dist/components/panel/shortcut-keys.js.map +1 -0
- package/dist/components/panel/shortcuts-overlay.d.ts +13 -0
- package/dist/components/panel/shortcuts-overlay.d.ts.map +1 -0
- package/dist/components/panel/shortcuts-overlay.js +159 -0
- package/dist/components/panel/shortcuts-overlay.js.map +1 -0
- package/dist/components/panel/slot.d.ts +18 -0
- package/dist/components/panel/slot.d.ts.map +1 -0
- package/dist/components/panel/slot.js +31 -0
- package/dist/components/panel/slot.js.map +1 -0
- package/dist/components/panel/sub-navigation.js +125 -0
- package/dist/components/panel/sub-navigation.js.map +1 -0
- package/dist/components/panel/tenant-menu.d.ts +10 -0
- package/dist/components/panel/tenant-menu.d.ts.map +1 -0
- package/dist/components/panel/tenant-menu.js +196 -0
- package/dist/components/panel/tenant-menu.js.map +1 -0
- package/dist/components/panel/theme-toggle.d.ts +4 -0
- package/dist/components/panel/theme-toggle.d.ts.map +1 -0
- package/dist/components/panel/theme-toggle.js +84 -0
- package/dist/components/panel/theme-toggle.js.map +1 -0
- package/dist/components/panel/topbar.d.ts +10 -0
- package/dist/components/panel/topbar.d.ts.map +1 -0
- package/dist/components/panel/topbar.js +74 -0
- package/dist/components/panel/topbar.js.map +1 -0
- package/dist/components/panel/user-menu.d.ts +16 -0
- package/dist/components/panel/user-menu.d.ts.map +1 -0
- package/dist/components/panel/user-menu.js +151 -0
- package/dist/components/panel/user-menu.js.map +1 -0
- package/dist/components/realtime/conflict-banner.d.ts +13 -0
- package/dist/components/realtime/conflict-banner.d.ts.map +1 -0
- package/dist/components/realtime/conflict-banner.js +193 -0
- package/dist/components/realtime/conflict-banner.js.map +1 -0
- package/dist/components/realtime/index.d.ts +4 -0
- package/dist/components/realtime/index.js +4 -0
- package/dist/components/realtime/live-records-pill.d.ts +19 -0
- package/dist/components/realtime/live-records-pill.d.ts.map +1 -0
- package/dist/components/realtime/live-records-pill.js +57 -0
- package/dist/components/realtime/live-records-pill.js.map +1 -0
- package/dist/components/realtime/record-presence.d.ts +12 -0
- package/dist/components/realtime/record-presence.d.ts.map +1 -0
- package/dist/components/realtime/record-presence.js +79 -0
- package/dist/components/realtime/record-presence.js.map +1 -0
- package/dist/components/schema/content-slot.js +49 -0
- package/dist/components/schema/content-slot.js.map +1 -0
- package/dist/components/schema/field-actions.js +72 -0
- package/dist/components/schema/field-actions.js.map +1 -0
- package/dist/components/schema/field-wrapper.d.ts +20 -0
- package/dist/components/schema/field-wrapper.d.ts.map +1 -0
- package/dist/components/schema/field-wrapper.js +210 -0
- package/dist/components/schema/field-wrapper.js.map +1 -0
- package/dist/components/schema/fused-group-context.js +14 -0
- package/dist/components/schema/fused-group-context.js.map +1 -0
- package/dist/components/schema/schema-renderer.d.ts +23 -0
- package/dist/components/schema/schema-renderer.d.ts.map +1 -0
- package/dist/components/schema/schema-renderer.js +77 -0
- package/dist/components/schema/schema-renderer.js.map +1 -0
- package/dist/components/schema/translatable-field.js +76 -0
- package/dist/components/schema/translatable-field.js.map +1 -0
- package/dist/components/schema/virtual-spacer.js +23 -0
- package/dist/components/schema/virtual-spacer.js.map +1 -0
- package/dist/components/table/cells.d.ts +12 -0
- package/dist/components/table/cells.d.ts.map +1 -0
- package/dist/components/table/cells.js +472 -0
- package/dist/components/table/cells.js.map +1 -0
- package/dist/components/table/column-manager.d.ts +17 -0
- package/dist/components/table/column-manager.d.ts.map +1 -0
- package/dist/components/table/column-manager.js +338 -0
- package/dist/components/table/column-manager.js.map +1 -0
- package/dist/components/table/content-layout.d.ts +30 -0
- package/dist/components/table/content-layout.d.ts.map +1 -0
- package/dist/components/table/content-layout.js +224 -0
- package/dist/components/table/content-layout.js.map +1 -0
- package/dist/components/table/filters.d.ts +15 -0
- package/dist/components/table/filters.d.ts.map +1 -0
- package/dist/components/table/filters.js +300 -0
- package/dist/components/table/filters.js.map +1 -0
- package/dist/components/table/grouping.js +194 -0
- package/dist/components/table/grouping.js.map +1 -0
- package/dist/components/table/index.d.ts +10 -0
- package/dist/components/table/list-tabs.js +105 -0
- package/dist/components/table/list-tabs.js.map +1 -0
- package/dist/components/table/pagination.d.ts +7 -0
- package/dist/components/table/pagination.d.ts.map +1 -0
- package/dist/components/table/pagination.js +255 -0
- package/dist/components/table/pagination.js.map +1 -0
- package/dist/components/table/record-cell.d.ts +25 -0
- package/dist/components/table/record-cell.d.ts.map +1 -0
- package/dist/components/table/record-cell.js +86 -0
- package/dist/components/table/record-cell.js.map +1 -0
- package/dist/components/table/spreadsheet-lazy.d.ts +7 -0
- package/dist/components/table/spreadsheet-lazy.d.ts.map +1 -0
- package/dist/components/table/spreadsheet-lazy.js +15 -0
- package/dist/components/table/spreadsheet-lazy.js.map +1 -0
- package/dist/components/table/spreadsheet.d.ts +11 -0
- package/dist/components/table/spreadsheet.d.ts.map +1 -0
- package/dist/components/table/spreadsheet.js +420 -0
- package/dist/components/table/spreadsheet.js.map +1 -0
- package/dist/components/table/summary-rows.js +104 -0
- package/dist/components/table/summary-rows.js.map +1 -0
- package/dist/components/table/table-block.d.ts +12 -0
- package/dist/components/table/table-block.d.ts.map +1 -0
- package/dist/components/table/table-block.js +875 -0
- package/dist/components/table/table-block.js.map +1 -0
- package/dist/components/table/table-views.d.ts +15 -0
- package/dist/components/table/table-views.d.ts.map +1 -0
- package/dist/components/table/table-views.js +376 -0
- package/dist/components/table/table-views.js.map +1 -0
- package/dist/components/table/trigger-button.js +44 -0
- package/dist/components/table/trigger-button.js.map +1 -0
- package/dist/components/translation-manager/index.d.ts +2 -0
- package/dist/components/translation-manager/index.js +2 -0
- package/dist/components/translation-manager/translation-manager-lazy.d.ts +9 -0
- package/dist/components/translation-manager/translation-manager-lazy.d.ts.map +1 -0
- package/dist/components/translation-manager/translation-manager-lazy.js +24 -0
- package/dist/components/translation-manager/translation-manager-lazy.js.map +1 -0
- package/dist/components/translation-manager/translation-manager.js +719 -0
- package/dist/components/translation-manager/translation-manager.js.map +1 -0
- package/dist/components/tree/index.d.ts +2 -0
- package/dist/components/tree/index.js +2 -0
- package/dist/components/tree/tree-lazy.d.ts +10 -0
- package/dist/components/tree/tree-lazy.d.ts.map +1 -0
- package/dist/components/tree/tree-lazy.js +24 -0
- package/dist/components/tree/tree-lazy.js.map +1 -0
- package/dist/components/tree/tree.js +291 -0
- package/dist/components/tree/tree.js.map +1 -0
- package/dist/components/ui/alert.d.ts +12 -0
- package/dist/components/ui/alert.d.ts.map +1 -0
- package/dist/components/ui/alert.js +37 -0
- package/dist/components/ui/alert.js.map +1 -0
- package/dist/components/ui/avatar.d.ts +9 -0
- package/dist/components/ui/avatar.d.ts.map +1 -0
- package/dist/components/ui/avatar.js +29 -0
- package/dist/components/ui/avatar.js.map +1 -0
- package/dist/components/ui/badge.d.ts +12 -0
- package/dist/components/ui/badge.d.ts.map +1 -0
- package/dist/components/ui/badge.js +26 -0
- package/dist/components/ui/badge.js.map +1 -0
- package/dist/components/ui/breadcrumb.d.ts +14 -0
- package/dist/components/ui/breadcrumb.d.ts.map +1 -0
- package/dist/components/ui/breadcrumb.js +79 -0
- package/dist/components/ui/breadcrumb.js.map +1 -0
- package/dist/components/ui/button.d.ts +13 -0
- package/dist/components/ui/button.d.ts.map +1 -0
- package/dist/components/ui/button.js +47 -0
- package/dist/components/ui/button.js.map +1 -0
- package/dist/components/ui/calendar.d.ts +7 -0
- package/dist/components/ui/calendar.d.ts.map +1 -0
- package/dist/components/ui/calendar.js +48 -0
- package/dist/components/ui/calendar.js.map +1 -0
- package/dist/components/ui/card.d.ts +12 -0
- package/dist/components/ui/card.d.ts.map +1 -0
- package/dist/components/ui/card.js +56 -0
- package/dist/components/ui/card.js.map +1 -0
- package/dist/components/ui/checkbox.d.ts +7 -0
- package/dist/components/ui/checkbox.d.ts.map +1 -0
- package/dist/components/ui/checkbox.js +21 -0
- package/dist/components/ui/checkbox.js.map +1 -0
- package/dist/components/ui/collapsible.d.ts +9 -0
- package/dist/components/ui/collapsible.d.ts.map +1 -0
- package/dist/components/ui/collapsible.js +25 -0
- package/dist/components/ui/collapsible.js.map +1 -0
- package/dist/components/ui/command.d.ts +23 -0
- package/dist/components/ui/command.d.ts.map +1 -0
- package/dist/components/ui/command.js +89 -0
- package/dist/components/ui/command.js.map +1 -0
- package/dist/components/ui/dialog.d.ts +18 -0
- package/dist/components/ui/dialog.d.ts.map +1 -0
- package/dist/components/ui/dialog.js +92 -0
- package/dist/components/ui/dialog.js.map +1 -0
- package/dist/components/ui/dropdown-menu.d.ts +28 -0
- package/dist/components/ui/dropdown-menu.d.ts.map +1 -0
- package/dist/components/ui/dropdown-menu.js +123 -0
- package/dist/components/ui/dropdown-menu.js.map +1 -0
- package/dist/components/ui/input.d.ts +6 -0
- package/dist/components/ui/input.d.ts.map +1 -0
- package/dist/components/ui/input.js +15 -0
- package/dist/components/ui/input.js.map +1 -0
- package/dist/components/ui/label.d.ts +7 -0
- package/dist/components/ui/label.d.ts.map +1 -0
- package/dist/components/ui/label.js +15 -0
- package/dist/components/ui/label.js.map +1 -0
- package/dist/components/ui/popover.d.ts +10 -0
- package/dist/components/ui/popover.d.ts.map +1 -0
- package/dist/components/ui/popover.js +35 -0
- package/dist/components/ui/popover.js.map +1 -0
- package/dist/components/ui/radio-group.d.ts +8 -0
- package/dist/components/ui/radio-group.d.ts.map +1 -0
- package/dist/components/ui/radio-group.js +28 -0
- package/dist/components/ui/radio-group.js.map +1 -0
- package/dist/components/ui/scroll-area.d.ts +8 -0
- package/dist/components/ui/scroll-area.d.ts.map +1 -0
- package/dist/components/ui/scroll-area.js +36 -0
- package/dist/components/ui/scroll-area.js.map +1 -0
- package/dist/components/ui/select.d.ts +18 -0
- package/dist/components/ui/select.d.ts.map +1 -0
- package/dist/components/ui/select.js +96 -0
- package/dist/components/ui/select.js.map +1 -0
- package/dist/components/ui/separator.d.ts +7 -0
- package/dist/components/ui/separator.d.ts.map +1 -0
- package/dist/components/ui/separator.js +17 -0
- package/dist/components/ui/separator.js.map +1 -0
- package/dist/components/ui/sheet.d.ts +17 -0
- package/dist/components/ui/sheet.d.ts.map +1 -0
- package/dist/components/ui/sheet.js +89 -0
- package/dist/components/ui/sheet.js.map +1 -0
- package/dist/components/ui/sidebar.d.ts +72 -0
- package/dist/components/ui/sidebar.d.ts.map +1 -0
- package/dist/components/ui/sidebar.js +376 -0
- package/dist/components/ui/sidebar.js.map +1 -0
- package/dist/components/ui/skeleton.d.ts +6 -0
- package/dist/components/ui/skeleton.d.ts.map +1 -0
- package/dist/components/ui/skeleton.js +14 -0
- package/dist/components/ui/skeleton.js.map +1 -0
- package/dist/components/ui/sonner.d.ts +6 -0
- package/dist/components/ui/sonner.d.ts.map +1 -0
- package/dist/components/ui/sonner.js +34 -0
- package/dist/components/ui/sonner.js.map +1 -0
- package/dist/components/ui/spinner.d.ts +10 -0
- package/dist/components/ui/spinner.d.ts.map +1 -0
- package/dist/components/ui/spinner.js +30 -0
- package/dist/components/ui/spinner.js.map +1 -0
- package/dist/components/ui/switch.d.ts +7 -0
- package/dist/components/ui/switch.d.ts.map +1 -0
- package/dist/components/ui/switch.js +19 -0
- package/dist/components/ui/switch.js.map +1 -0
- package/dist/components/ui/table.d.ts +13 -0
- package/dist/components/ui/table.d.ts.map +1 -0
- package/dist/components/ui/table.js +67 -0
- package/dist/components/ui/table.js.map +1 -0
- package/dist/components/ui/tabs.d.ts +10 -0
- package/dist/components/ui/tabs.d.ts.map +1 -0
- package/dist/components/ui/tabs.js +36 -0
- package/dist/components/ui/tabs.js.map +1 -0
- package/dist/components/ui/textarea.d.ts +6 -0
- package/dist/components/ui/textarea.d.ts.map +1 -0
- package/dist/components/ui/textarea.js +14 -0
- package/dist/components/ui/textarea.js.map +1 -0
- package/dist/components/ui/tooltip.d.ts +10 -0
- package/dist/components/ui/tooltip.d.ts.map +1 -0
- package/dist/components/ui/tooltip.js +36 -0
- package/dist/components/ui/tooltip.js.map +1 -0
- package/dist/components/versions/record-versions.d.ts +12 -0
- package/dist/components/versions/record-versions.d.ts.map +1 -0
- package/dist/components/versions/record-versions.js +138 -0
- package/dist/components/versions/record-versions.js.map +1 -0
- package/dist/components/widgets/calendar-lazy.d.ts +9 -0
- package/dist/components/widgets/calendar-lazy.d.ts.map +1 -0
- package/dist/components/widgets/calendar-lazy.js +47 -0
- package/dist/components/widgets/calendar-lazy.js.map +1 -0
- package/dist/components/widgets/calendar.js +122 -0
- package/dist/components/widgets/calendar.js.map +1 -0
- package/dist/components/widgets/chart-filters.js +101 -0
- package/dist/components/widgets/chart-filters.js.map +1 -0
- package/dist/components/widgets/chart-lazy.d.ts +9 -0
- package/dist/components/widgets/chart-lazy.d.ts.map +1 -0
- package/dist/components/widgets/chart-lazy.js +27 -0
- package/dist/components/widgets/chart-lazy.js.map +1 -0
- package/dist/components/widgets/chart.js +216 -0
- package/dist/components/widgets/chart.js.map +1 -0
- package/dist/components/widgets/dashboard-customizer.d.ts +15 -0
- package/dist/components/widgets/dashboard-customizer.d.ts.map +1 -0
- package/dist/components/widgets/dashboard-customizer.js +219 -0
- package/dist/components/widgets/dashboard-customizer.js.map +1 -0
- package/dist/components/widgets/index.d.ts +6 -0
- package/dist/components/widgets/stats-overview.d.ts +7 -0
- package/dist/components/widgets/stats-overview.d.ts.map +1 -0
- package/dist/components/widgets/stats-overview.js +133 -0
- package/dist/components/widgets/stats-overview.js.map +1 -0
- package/dist/components/widgets/widgets-block.d.ts +10 -0
- package/dist/components/widgets/widgets-block.d.ts.map +1 -0
- package/dist/components/widgets/widgets-block.js +72 -0
- package/dist/components/widgets/widgets-block.js.map +1 -0
- package/dist/context.d.ts +55 -0
- package/dist/context.d.ts.map +1 -0
- package/dist/context.js +115 -0
- package/dist/context.js.map +1 -0
- package/dist/create-alfakit.d.ts +25 -0
- package/dist/create-alfakit.d.ts.map +1 -0
- package/dist/create-alfakit.js +182 -0
- package/dist/create-alfakit.js.map +1 -0
- package/dist/eject-manifest.json +1128 -0
- package/dist/hooks/use-hydrated.d.ts +9 -0
- package/dist/hooks/use-hydrated.d.ts.map +1 -0
- package/dist/hooks/use-hydrated.js +15 -0
- package/dist/hooks/use-hydrated.js.map +1 -0
- package/dist/hooks/use-mobile.d.ts +8 -0
- package/dist/hooks/use-mobile.d.ts.map +1 -0
- package/dist/hooks/use-mobile.js +21 -0
- package/dist/hooks/use-mobile.js.map +1 -0
- package/dist/hooks/use-store.d.ts +7 -0
- package/dist/hooks/use-store.d.ts.map +1 -0
- package/dist/hooks/use-store.js +13 -0
- package/dist/hooks/use-store.js.map +1 -0
- package/dist/hooks/use-virtual-list.d.ts +29 -0
- package/dist/hooks/use-virtual-list.d.ts.map +1 -0
- package/dist/hooks/use-virtual-list.js +73 -0
- package/dist/hooks/use-virtual-list.js.map +1 -0
- package/dist/index.d.ts +180 -0
- package/dist/index.js +161 -0
- package/dist/layouts/app-layout.d.ts +11 -0
- package/dist/layouts/app-layout.d.ts.map +1 -0
- package/dist/layouts/app-layout.js +104 -0
- package/dist/layouts/app-layout.js.map +1 -0
- package/dist/layouts/auth-layout.d.ts +11 -0
- package/dist/layouts/auth-layout.d.ts.map +1 -0
- package/dist/layouts/auth-layout.js +65 -0
- package/dist/layouts/auth-layout.js.map +1 -0
- package/dist/layouts/blank-layout.d.ts +7 -0
- package/dist/layouts/blank-layout.d.ts.map +1 -0
- package/dist/layouts/blank-layout.js +12 -0
- package/dist/layouts/blank-layout.js.map +1 -0
- package/dist/layouts/fullscreen-layout.d.ts +16 -0
- package/dist/layouts/fullscreen-layout.d.ts.map +1 -0
- package/dist/layouts/fullscreen-layout.js +107 -0
- package/dist/layouts/fullscreen-layout.js.map +1 -0
- package/dist/layouts/top-nav-layout.d.ts +15 -0
- package/dist/layouts/top-nav-layout.d.ts.map +1 -0
- package/dist/layouts/top-nav-layout.js +223 -0
- package/dist/layouts/top-nav-layout.js.map +1 -0
- package/dist/lib/attributes.d.ts +12 -0
- package/dist/lib/attributes.d.ts.map +1 -0
- package/dist/lib/attributes.js +55 -0
- package/dist/lib/attributes.js.map +1 -0
- package/dist/lib/colors.d.ts +23 -0
- package/dist/lib/colors.d.ts.map +1 -0
- package/dist/lib/colors.js +126 -0
- package/dist/lib/colors.js.map +1 -0
- package/dist/lib/discovery.d.ts +22 -0
- package/dist/lib/discovery.d.ts.map +1 -0
- package/dist/lib/discovery.js +45 -0
- package/dist/lib/discovery.js.map +1 -0
- package/dist/lib/icons.d.ts +24 -0
- package/dist/lib/icons.d.ts.map +1 -0
- package/dist/lib/icons.js +93 -0
- package/dist/lib/icons.js.map +1 -0
- package/dist/lib/lazy.d.ts +8 -0
- package/dist/lib/lazy.d.ts.map +1 -0
- package/dist/lib/lazy.js +47 -0
- package/dist/lib/lazy.js.map +1 -0
- package/dist/lib/new-tab-hint.js +15 -0
- package/dist/lib/new-tab-hint.js.map +1 -0
- package/dist/lib/utils.d.ts +5 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/lib/utils.js +10 -0
- package/dist/lib/utils.js.map +1 -0
- package/dist/pages/page.d.ts +23 -0
- package/dist/pages/page.d.ts.map +1 -0
- package/dist/pages/page.js +328 -0
- package/dist/pages/page.js.map +1 -0
- package/dist/registry.d.ts +7 -0
- package/dist/registry.d.ts.map +1 -0
- package/dist/registry.js +113 -0
- package/dist/registry.js.map +1 -0
- package/dist/server.d.ts +28 -0
- package/dist/server.d.ts.map +1 -0
- package/dist/server.js +38 -0
- package/dist/server.js.map +1 -0
- package/dist/standalone/alfakit-component.d.ts +30 -0
- package/dist/standalone/alfakit-component.d.ts.map +1 -0
- package/dist/standalone/alfakit-component.js +156 -0
- package/dist/standalone/alfakit-component.js.map +1 -0
- package/dist/standalone/alfakit-toaster.d.ts +26 -0
- package/dist/standalone/alfakit-toaster.d.ts.map +1 -0
- package/dist/standalone/alfakit-toaster.js +38 -0
- package/dist/standalone/alfakit-toaster.js.map +1 -0
- package/dist/standalone/configure.d.ts +14 -0
- package/dist/standalone/configure.d.ts.map +1 -0
- package/dist/standalone/configure.js +27 -0
- package/dist/standalone/configure.js.map +1 -0
- package/dist/standalone/index.d.ts +4 -0
- package/dist/standalone/runtime.js +94 -0
- package/dist/standalone/runtime.js.map +1 -0
- package/dist/standalone.css +150 -0
- package/dist/starter-kit/index.d.ts +4 -0
- package/dist/starter-kit/index.js +4 -0
- package/dist/starter-kit/navigation.d.ts +20 -0
- package/dist/starter-kit/navigation.d.ts.map +1 -0
- package/dist/starter-kit/navigation.js +25 -0
- package/dist/starter-kit/navigation.js.map +1 -0
- package/dist/starter-kit/starter-kit.d.ts +56 -0
- package/dist/starter-kit/starter-kit.d.ts.map +1 -0
- package/dist/starter-kit/starter-kit.js +120 -0
- package/dist/starter-kit/starter-kit.js.map +1 -0
- package/dist/starter-kit/widgets-loaded.js +172 -0
- package/dist/starter-kit/widgets-loaded.js.map +1 -0
- package/dist/starter-kit/widgets-triggers.js +90 -0
- package/dist/starter-kit/widgets-triggers.js.map +1 -0
- package/dist/starter-kit/widgets.d.ts +38 -0
- package/dist/starter-kit/widgets.d.ts.map +1 -0
- package/dist/starter-kit/widgets.js +64 -0
- package/dist/starter-kit/widgets.js.map +1 -0
- package/dist/styles.css +305 -0
- package/dist/themes.css +1340 -0
- package/package.json +128 -3
- package/src/app/components.tsx +104 -0
- package/src/app/hooks.ts +365 -0
- package/src/components/actions/action-button.tsx +254 -0
- package/src/components/actions/action-context.tsx +23 -0
- package/src/components/actions/action-list.tsx +356 -0
- package/src/components/actions/action-modals.tsx +479 -0
- package/src/components/actions/index.ts +4 -0
- package/src/components/ai/copilot-panel.tsx +517 -0
- package/src/components/ai/copilot.tsx +82 -0
- package/src/components/ai/index.ts +2 -0
- package/src/components/ai/stream-lazy.tsx +8 -0
- package/src/components/ai/stream.tsx +100 -0
- package/src/components/analytics/alfakit-analytics.tsx +27 -0
- package/src/components/analytics/breakdown.tsx +150 -0
- package/src/components/analytics/index.ts +2 -0
- package/src/components/cms/admin-bar.tsx +66 -0
- package/src/components/cms/blocks.tsx +474 -0
- package/src/components/cms/context.tsx +57 -0
- package/src/components/cms/head.tsx +47 -0
- package/src/components/cms/index.ts +23 -0
- package/src/components/cms/live-preview-lazy.tsx +8 -0
- package/src/components/cms/live-preview.tsx +339 -0
- package/src/components/cms/menu.tsx +246 -0
- package/src/components/cms/page.tsx +219 -0
- package/src/components/cms/parts.tsx +84 -0
- package/src/components/dev-tools/dev-tools-inspector.tsx +374 -0
- package/src/components/dev-tools/dev-tools-slot.tsx +28 -0
- package/src/components/entries/code-entry.tsx +73 -0
- package/src/components/entries/entry-wrapper.tsx +171 -0
- package/src/components/entries/index.ts +11 -0
- package/src/components/entries/other-entries.tsx +235 -0
- package/src/components/entries/repeatable-entry-table.tsx +50 -0
- package/src/components/entries/text-entry.tsx +264 -0
- package/src/components/entries/view-entry.tsx +27 -0
- package/src/components/fields/builder-picker.tsx +323 -0
- package/src/components/fields/builder.tsx +537 -0
- package/src/components/fields/checkbox-list.tsx +181 -0
- package/src/components/fields/checkbox.tsx +26 -0
- package/src/components/fields/code-editor-lazy.tsx +33 -0
- package/src/components/fields/code-editor.tsx +157 -0
- package/src/components/fields/code-tokens.ts +15 -0
- package/src/components/fields/color-picker.tsx +72 -0
- package/src/components/fields/date-picker.tsx +336 -0
- package/src/components/fields/file-upload.tsx +643 -0
- package/src/components/fields/hidden.tsx +8 -0
- package/src/components/fields/icon-picker-lazy.tsx +44 -0
- package/src/components/fields/icon-picker-value.tsx +46 -0
- package/src/components/fields/icon-picker.tsx +293 -0
- package/src/components/fields/image-editor-dialog-lazy.tsx +22 -0
- package/src/components/fields/image-editor-dialog.tsx +431 -0
- package/src/components/fields/index.ts +23 -0
- package/src/components/fields/item-actions.tsx +381 -0
- package/src/components/fields/key-value.tsx +218 -0
- package/src/components/fields/lazy-fields.tsx +30 -0
- package/src/components/fields/modal-table-select.tsx +519 -0
- package/src/components/fields/money-input.tsx +132 -0
- package/src/components/fields/one-time-code-input.tsx +56 -0
- package/src/components/fields/query-builder-rules.tsx +444 -0
- package/src/components/fields/radio.tsx +67 -0
- package/src/components/fields/repeater-table.tsx +185 -0
- package/src/components/fields/repeater.tsx +317 -0
- package/src/components/fields/rich-editor-extensions.tsx +470 -0
- package/src/components/fields/rich-editor-lazy.tsx +21 -0
- package/src/components/fields/rich-editor.tsx +815 -0
- package/src/components/fields/select.tsx +667 -0
- package/src/components/fields/slider.tsx +262 -0
- package/src/components/fields/tags-input.tsx +176 -0
- package/src/components/fields/text-input.tsx +179 -0
- package/src/components/fields/textarea.tsx +37 -0
- package/src/components/fields/toggle-buttons.tsx +125 -0
- package/src/components/fields/toggle.tsx +50 -0
- package/src/components/file-manager/file-manager-lazy.tsx +52 -0
- package/src/components/file-manager/file-manager.tsx +1857 -0
- package/src/components/file-manager/index.ts +2 -0
- package/src/components/file-manager/picker-field.tsx +169 -0
- package/src/components/form/form-block.tsx +237 -0
- package/src/components/form/form-context.tsx +95 -0
- package/src/components/helpdesk/chat-panel.tsx +247 -0
- package/src/components/helpdesk/chat-widget.tsx +107 -0
- package/src/components/helpdesk/inbox-lazy.tsx +42 -0
- package/src/components/helpdesk/inbox.tsx +745 -0
- package/src/components/helpdesk/index.ts +2 -0
- package/src/components/kanban/index.ts +1 -0
- package/src/components/kanban/kanban-lazy.tsx +34 -0
- package/src/components/kanban/kanban.tsx +788 -0
- package/src/components/layout/actions.tsx +48 -0
- package/src/components/layout/component-context.ts +31 -0
- package/src/components/layout/deferred.tsx +156 -0
- package/src/components/layout/elements.tsx +259 -0
- package/src/components/layout/fieldset.tsx +35 -0
- package/src/components/layout/fused-group.tsx +96 -0
- package/src/components/layout/grid.tsx +19 -0
- package/src/components/layout/index.ts +18 -0
- package/src/components/layout/mixed-content.tsx +59 -0
- package/src/components/layout/prime.tsx +168 -0
- package/src/components/layout/schema-children.tsx +30 -0
- package/src/components/layout/section.tsx +173 -0
- package/src/components/layout/tabs.tsx +129 -0
- package/src/components/layout/wizard.tsx +244 -0
- package/src/components/notifications/flash-toasts.tsx +200 -0
- package/src/components/notifications/index.ts +4 -0
- package/src/components/notifications/notifications-menu.tsx +262 -0
- package/src/components/notifications/realtime-notifications.tsx +40 -0
- package/src/components/notifications/undo-button.tsx +50 -0
- package/src/components/panel/app-sidebar.tsx +439 -0
- package/src/components/panel/bottom-nav.tsx +130 -0
- package/src/components/panel/debug-panel-slot.tsx +25 -0
- package/src/components/panel/debug-panel.tsx +412 -0
- package/src/components/panel/global-search-palette.tsx +387 -0
- package/src/components/panel/global-search.tsx +147 -0
- package/src/components/panel/impersonation-banner.tsx +47 -0
- package/src/components/panel/index.ts +16 -0
- package/src/components/panel/keyboard-shortcuts.tsx +134 -0
- package/src/components/panel/lazy-placeholder.tsx +39 -0
- package/src/components/panel/locale-switcher.tsx +144 -0
- package/src/components/panel/menu-item.tsx +89 -0
- package/src/components/panel/nav-label.tsx +34 -0
- package/src/components/panel/pwa.tsx +118 -0
- package/src/components/panel/schema-contract-guard.tsx +50 -0
- package/src/components/panel/shortcut-keys.tsx +34 -0
- package/src/components/panel/shortcuts-overlay.tsx +238 -0
- package/src/components/panel/slot.tsx +43 -0
- package/src/components/panel/sub-navigation.tsx +161 -0
- package/src/components/panel/tenant-menu.tsx +175 -0
- package/src/components/panel/theme-toggle.tsx +69 -0
- package/src/components/panel/topbar.tsx +81 -0
- package/src/components/panel/user-menu.tsx +166 -0
- package/src/components/realtime/conflict-banner.tsx +208 -0
- package/src/components/realtime/index.ts +3 -0
- package/src/components/realtime/live-records-pill.tsx +66 -0
- package/src/components/realtime/record-presence.tsx +98 -0
- package/src/components/schema/content-slot.tsx +81 -0
- package/src/components/schema/field-actions.tsx +67 -0
- package/src/components/schema/field-wrapper.tsx +246 -0
- package/src/components/schema/fused-group-context.ts +11 -0
- package/src/components/schema/schema-renderer.tsx +127 -0
- package/src/components/schema/translatable-field.tsx +113 -0
- package/src/components/schema/virtual-spacer.tsx +14 -0
- package/src/components/table/cells.tsx +712 -0
- package/src/components/table/column-manager.tsx +480 -0
- package/src/components/table/content-layout.tsx +368 -0
- package/src/components/table/filters.tsx +378 -0
- package/src/components/table/grouping.tsx +275 -0
- package/src/components/table/index.ts +9 -0
- package/src/components/table/list-tabs.tsx +144 -0
- package/src/components/table/pagination.tsx +335 -0
- package/src/components/table/record-cell.tsx +147 -0
- package/src/components/table/spreadsheet-lazy.tsx +14 -0
- package/src/components/table/spreadsheet.tsx +602 -0
- package/src/components/table/summary-rows.tsx +160 -0
- package/src/components/table/table-block.tsx +1112 -0
- package/src/components/table/table-views.tsx +460 -0
- package/src/components/table/trigger-button.tsx +92 -0
- package/src/components/translation-manager/index.ts +1 -0
- package/src/components/translation-manager/translation-manager-lazy.tsx +25 -0
- package/src/components/translation-manager/translation-manager.tsx +827 -0
- package/src/components/tree/index.ts +1 -0
- package/src/components/tree/tree-lazy.tsx +30 -0
- package/src/components/tree/tree.tsx +385 -0
- package/src/components/ui/alert.tsx +57 -0
- package/src/components/ui/avatar.tsx +38 -0
- package/src/components/ui/badge.tsx +33 -0
- package/src/components/ui/breadcrumb.tsx +110 -0
- package/src/components/ui/button.tsx +54 -0
- package/src/components/ui/calendar.tsx +65 -0
- package/src/components/ui/card.tsx +74 -0
- package/src/components/ui/checkbox.tsx +30 -0
- package/src/components/ui/collapsible.tsx +20 -0
- package/src/components/ui/command.tsx +158 -0
- package/src/components/ui/dialog.tsx +124 -0
- package/src/components/ui/dropdown-menu.tsx +217 -0
- package/src/components/ui/input.tsx +20 -0
- package/src/components/ui/label.tsx +18 -0
- package/src/components/ui/popover.tsx +39 -0
- package/src/components/ui/radio-group.tsx +36 -0
- package/src/components/ui/scroll-area.tsx +53 -0
- package/src/components/ui/select.tsx +165 -0
- package/src/components/ui/separator.tsx +25 -0
- package/src/components/ui/sheet.tsx +131 -0
- package/src/components/ui/sidebar.tsx +660 -0
- package/src/components/ui/skeleton.tsx +14 -0
- package/src/components/ui/sonner.tsx +43 -0
- package/src/components/ui/spinner.tsx +31 -0
- package/src/components/ui/switch.tsx +25 -0
- package/src/components/ui/table.tsx +89 -0
- package/src/components/ui/tabs.tsx +51 -0
- package/src/components/ui/textarea.tsx +17 -0
- package/src/components/ui/tooltip.tsx +50 -0
- package/src/components/versions/record-versions.tsx +162 -0
- package/src/components/widgets/calendar-lazy.tsx +31 -0
- package/src/components/widgets/calendar.tsx +124 -0
- package/src/components/widgets/chart-filters.tsx +114 -0
- package/src/components/widgets/chart-lazy.tsx +21 -0
- package/src/components/widgets/chart.tsx +252 -0
- package/src/components/widgets/dashboard-customizer.tsx +309 -0
- package/src/components/widgets/index.ts +5 -0
- package/src/components/widgets/stats-overview.tsx +185 -0
- package/src/components/widgets/widgets-block.tsx +102 -0
- package/src/context.tsx +187 -0
- package/src/create-alfakit.tsx +300 -0
- package/src/hooks/use-hydrated.ts +16 -0
- package/src/hooks/use-mobile.ts +29 -0
- package/src/hooks/use-store.ts +18 -0
- package/src/hooks/use-virtual-list.ts +88 -0
- package/src/index.ts +135 -0
- package/src/layouts/app-layout.tsx +128 -0
- package/src/layouts/auth-layout.tsx +66 -0
- package/src/layouts/blank-layout.tsx +5 -0
- package/src/layouts/fullscreen-layout.tsx +86 -0
- package/src/layouts/top-nav-layout.tsx +293 -0
- package/src/lib/attributes.ts +79 -0
- package/src/lib/colors.ts +151 -0
- package/src/lib/discovery.tsx +68 -0
- package/src/lib/icons.tsx +145 -0
- package/src/lib/lazy.tsx +89 -0
- package/src/lib/new-tab-hint.tsx +8 -0
- package/src/lib/utils.ts +6 -0
- package/src/pages/page.tsx +463 -0
- package/src/registry.ts +132 -0
- package/src/server.tsx +68 -0
- package/src/standalone/alfakit-component.tsx +222 -0
- package/src/standalone/alfakit-toaster.tsx +52 -0
- package/src/standalone/configure.ts +24 -0
- package/src/standalone/index.ts +3 -0
- package/src/standalone/runtime.ts +153 -0
- package/src/starter-kit/index.ts +14 -0
- package/src/starter-kit/navigation.ts +34 -0
- package/src/starter-kit/starter-kit.tsx +196 -0
- package/src/starter-kit/widgets-loaded.tsx +217 -0
- package/src/starter-kit/widgets-triggers.tsx +103 -0
- package/src/starter-kit/widgets.tsx +103 -0
- package/src/styles.css +305 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
//#region src/hooks/use-hydrated.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* False during server rendering and hydration, true afterwards (and on a client-only
|
|
4
|
+
* render). Gate browser-dependent output on it, such as platform-specific shortcut hints,
|
|
5
|
+
* so server-rendered markup hydrates without a mismatch.
|
|
6
|
+
*/
|
|
7
|
+
export declare function useHydrated(): boolean;
|
|
8
|
+
//#endregion
|
|
9
|
+
//# sourceMappingURL=use-hydrated.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-hydrated.d.ts","names":[],"sources":["../../src/hooks/use-hydrated.ts"],"mappings":";;;;;;wBASgB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { useSyncExternalStore } from "react";
|
|
2
|
+
//#region src/hooks/use-hydrated.ts
|
|
3
|
+
const subscribe = () => () => {};
|
|
4
|
+
/**
|
|
5
|
+
* False during server rendering and hydration, true afterwards (and on a client-only
|
|
6
|
+
* render). Gate browser-dependent output on it, such as platform-specific shortcut hints,
|
|
7
|
+
* so server-rendered markup hydrates without a mismatch.
|
|
8
|
+
*/
|
|
9
|
+
function useHydrated() {
|
|
10
|
+
return useSyncExternalStore(subscribe, () => true, () => false);
|
|
11
|
+
}
|
|
12
|
+
//#endregion
|
|
13
|
+
export { useHydrated };
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=use-hydrated.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-hydrated.js","names":[],"sources":["../../src/hooks/use-hydrated.ts"],"sourcesContent":["import { useSyncExternalStore } from 'react'\n\nconst subscribe = () => () => {}\n\n/**\n * False during server rendering and hydration, true afterwards (and on a client-only\n * render). Gate browser-dependent output on it, such as platform-specific shortcut hints,\n * so server-rendered markup hydrates without a mismatch.\n */\nexport function useHydrated(): boolean {\n return useSyncExternalStore(\n subscribe,\n () => true,\n () => false,\n )\n}\n"],"mappings":";;AAEA,MAAM,wBAAwB,CAAC;;;;;;AAO/B,SAAgB,cAAuB;CACrC,OAAO,qBACL,iBACM,YACA,KACR;AACF"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
//#region src/hooks/use-mobile.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Whether the viewport is below the `md` breakpoint. Server rendering and hydration see
|
|
4
|
+
* `false` (desktop), so the markup matches; the browser value applies right after.
|
|
5
|
+
*/
|
|
6
|
+
export declare function useIsMobile(): boolean;
|
|
7
|
+
//#endregion
|
|
8
|
+
//# sourceMappingURL=use-mobile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-mobile.d.ts","names":[],"sources":["../../src/hooks/use-mobile.ts"],"mappings":";;;;;wBAsBgB"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { useSyncExternalStore } from "react";
|
|
2
|
+
//#region src/hooks/use-mobile.ts
|
|
3
|
+
const MOBILE_BREAKPOINT = 768;
|
|
4
|
+
const QUERY = `(max-width: 767px)`;
|
|
5
|
+
function subscribe(onChange) {
|
|
6
|
+
if (typeof window.matchMedia !== "function") return () => {};
|
|
7
|
+
const media = window.matchMedia(QUERY);
|
|
8
|
+
media.addEventListener("change", onChange);
|
|
9
|
+
return () => media.removeEventListener("change", onChange);
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Whether the viewport is below the `md` breakpoint. Server rendering and hydration see
|
|
13
|
+
* `false` (desktop), so the markup matches; the browser value applies right after.
|
|
14
|
+
*/
|
|
15
|
+
function useIsMobile() {
|
|
16
|
+
return useSyncExternalStore(subscribe, () => window.innerWidth < MOBILE_BREAKPOINT, () => false);
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
export { useIsMobile };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=use-mobile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-mobile.js","names":[],"sources":["../../src/hooks/use-mobile.ts"],"sourcesContent":["import { useSyncExternalStore } from 'react'\n\nconst MOBILE_BREAKPOINT = 768\nconst QUERY = `(max-width: ${MOBILE_BREAKPOINT - 1}px)`\n\nfunction subscribe(onChange: () => void): () => void {\n // Environments without matchMedia (some test runners) keep the desktop value.\n if (typeof window.matchMedia !== 'function') {\n return () => {}\n }\n\n const media = window.matchMedia(QUERY)\n\n media.addEventListener('change', onChange)\n\n return () => media.removeEventListener('change', onChange)\n}\n\n/**\n * Whether the viewport is below the `md` breakpoint. Server rendering and hydration see\n * `false` (desktop), so the markup matches; the browser value applies right after.\n */\nexport function useIsMobile(): boolean {\n return useSyncExternalStore(\n subscribe,\n () => window.innerWidth < MOBILE_BREAKPOINT,\n () => false,\n )\n}\n"],"mappings":";;AAEA,MAAM,oBAAoB;AAC1B,MAAM,QAAQ;AAEd,SAAS,UAAU,UAAkC;CAEnD,IAAI,OAAO,OAAO,eAAe,YAC/B,aAAa,CAAC;CAGhB,MAAM,QAAQ,OAAO,WAAW,KAAK;CAErC,MAAM,iBAAiB,UAAU,QAAQ;CAEzC,aAAa,MAAM,oBAAoB,UAAU,QAAQ;AAC3D;;;;;AAMA,SAAgB,cAAuB;CACrC,OAAO,qBACL,iBACM,OAAO,aAAa,yBACpB,KACR;AACF"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Store } from "@alfakit/core";
|
|
2
|
+
//#region src/hooks/use-store.d.ts
|
|
3
|
+
/** Subscribe a React component to a core store. */
|
|
4
|
+
export declare function useStore<T>(store: Pick<Store<T>, 'get' | 'subscribe'>): T;
|
|
5
|
+
export declare function useStoreSelector<T, U>(store: Pick<Store<T>, 'get' | 'subscribe'>, selector: (state: T) => U): U;
|
|
6
|
+
//#endregion
|
|
7
|
+
//# sourceMappingURL=use-store.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-store.d.ts","names":[],"sources":["../../src/hooks/use-store.ts"],"mappings":";;;wBAIgB,SAAS,GAAG,OAAO,KAAK,MAAM,2BAA2B;wBAIzD,iBAAiB,GAAG,GAClC,OAAO,KAAK,MAAM,0BAClB,WAAW,OAAO,MAAM,IACvB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { useSyncExternalStore } from "react";
|
|
2
|
+
//#region src/hooks/use-store.ts
|
|
3
|
+
/** Subscribe a React component to a core store. */
|
|
4
|
+
function useStore(store) {
|
|
5
|
+
return useSyncExternalStore(store.subscribe, store.get, store.get);
|
|
6
|
+
}
|
|
7
|
+
function useStoreSelector(store, selector) {
|
|
8
|
+
return useSyncExternalStore(store.subscribe, () => selector(store.get()), () => selector(store.get()));
|
|
9
|
+
}
|
|
10
|
+
//#endregion
|
|
11
|
+
export { useStore, useStoreSelector };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=use-store.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-store.js","names":[],"sources":["../../src/hooks/use-store.ts"],"sourcesContent":["import type { Store } from '@alfakit/core'\nimport { useSyncExternalStore } from 'react'\n\n/** Subscribe a React component to a core store. */\nexport function useStore<T>(store: Pick<Store<T>, 'get' | 'subscribe'>): T {\n return useSyncExternalStore(store.subscribe, store.get, store.get)\n}\n\nexport function useStoreSelector<T, U>(\n store: Pick<Store<T>, 'get' | 'subscribe'>,\n selector: (state: T) => U,\n): U {\n return useSyncExternalStore(\n store.subscribe,\n () => selector(store.get()),\n () => selector(store.get()),\n )\n}\n"],"mappings":";;;AAIA,SAAgB,SAAY,OAA+C;CACzE,OAAO,qBAAqB,MAAM,WAAW,MAAM,KAAK,MAAM,GAAG;AACnE;AAEA,SAAgB,iBACd,OACA,UACG;CACH,OAAO,qBACL,MAAM,iBACA,SAAS,MAAM,IAAI,CAAC,SACpB,SAAS,MAAM,IAAI,CAAC,CAC5B;AACF"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { VirtualList, VirtualListOptions, VirtualRange } from "@alfakit/core";
|
|
2
|
+
import { CSSProperties } from "react";
|
|
3
|
+
//#region src/hooks/use-virtual-list.d.ts
|
|
4
|
+
export interface VirtualListBinding {
|
|
5
|
+
list: VirtualList;
|
|
6
|
+
range: VirtualRange;
|
|
7
|
+
/** The indexes to render, in order. */
|
|
8
|
+
indexes: number[];
|
|
9
|
+
/** Reserve the space of the items outside the window (for a `<ul>`; tables use spacer rows). */
|
|
10
|
+
style: CSSProperties | undefined;
|
|
11
|
+
/** Ref callback for the list element (`<ul>`, `<tbody>`). */
|
|
12
|
+
attach: (element: HTMLElement | null) => void | (() => void);
|
|
13
|
+
/** Ref callback for an item element; the item's `data-index` attribute names its index. */
|
|
14
|
+
item: (element: HTMLElement | null) => void | (() => void);
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Window a long list: render `indexes` only, give the list element `ref={attach}` and
|
|
18
|
+
* `style`, and each item `ref={item}` plus `data-index={index}`. Below the threshold
|
|
19
|
+
* everything renders as usual. Destructure the result: the React Compiler lint treats an
|
|
20
|
+
* object whose member is passed to `ref` as a ref, and refuses to read it during render.
|
|
21
|
+
*/
|
|
22
|
+
export declare function useVirtualList(count: number, options: VirtualListOptions): VirtualListBinding;
|
|
23
|
+
/**
|
|
24
|
+
* When a submit or live validation adds errors inside a virtualised Repeater or Builder,
|
|
25
|
+
* scroll the first errored item into view (it may be outside the rendered window).
|
|
26
|
+
*/
|
|
27
|
+
export declare function useScrollToErroredItem(list: VirtualList, active: boolean, statePath: string): void;
|
|
28
|
+
//#endregion
|
|
29
|
+
//# sourceMappingURL=use-virtual-list.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-virtual-list.d.ts","names":[],"sources":["../../src/hooks/use-virtual-list.ts"],"mappings":";;;iBAMiB;EACf,MAAM;EACN,OAAO;;EAEP;;EAEA,OAAO;;EAEP,SAAS,SAAS;;EAElB,OAAO,SAAS;;;;;;;;wBASF,eAAe,eAAe,SAAS,qBAAqB;;;;;wBAyC5D,uBACd,MAAM,aACN,iBACA"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { useStore, useStoreSelector } from "./use-store.js";
|
|
2
|
+
import { useOptionalFormStore } from "../components/form/form-context.js";
|
|
3
|
+
import { VirtualList, firstErroredItemIndex, hasNewErrors } from "@alfakit/core";
|
|
4
|
+
import { useCallback, useEffect, useMemo, useRef } from "react";
|
|
5
|
+
//#region src/hooks/use-virtual-list.ts
|
|
6
|
+
/**
|
|
7
|
+
* Window a long list: render `indexes` only, give the list element `ref={attach}` and
|
|
8
|
+
* `style`, and each item `ref={item}` plus `data-index={index}`. Below the threshold
|
|
9
|
+
* everything renders as usual. Destructure the result: the React Compiler lint treats an
|
|
10
|
+
* object whose member is passed to `ref` as a ref, and refuses to read it during render.
|
|
11
|
+
*/
|
|
12
|
+
function useVirtualList(count, options) {
|
|
13
|
+
const list = useMemo(() => new VirtualList(options), []);
|
|
14
|
+
useStore(list.store);
|
|
15
|
+
useEffect(() => {
|
|
16
|
+
list.configure(options);
|
|
17
|
+
}, [
|
|
18
|
+
list,
|
|
19
|
+
options.threshold,
|
|
20
|
+
options.estimateSize,
|
|
21
|
+
options.overscan,
|
|
22
|
+
options.gap
|
|
23
|
+
]);
|
|
24
|
+
const range = list.range(count);
|
|
25
|
+
const attach = useCallback((element) => element ? list.attach(element) : void 0, [list]);
|
|
26
|
+
const item = useCallback((element) => {
|
|
27
|
+
if (!element) return void 0;
|
|
28
|
+
const index = Number(element.dataset.index);
|
|
29
|
+
list.register(index, element);
|
|
30
|
+
return () => list.register(index, null);
|
|
31
|
+
}, [list]);
|
|
32
|
+
return {
|
|
33
|
+
list,
|
|
34
|
+
range,
|
|
35
|
+
indexes: list.indexes(count),
|
|
36
|
+
style: range.active ? {
|
|
37
|
+
paddingTop: range.before,
|
|
38
|
+
paddingBottom: range.after
|
|
39
|
+
} : void 0,
|
|
40
|
+
attach,
|
|
41
|
+
item
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* When a submit or live validation adds errors inside a virtualised Repeater or Builder,
|
|
46
|
+
* scroll the first errored item into view (it may be outside the rendered window).
|
|
47
|
+
*/
|
|
48
|
+
function useScrollToErroredItem(list, active, statePath) {
|
|
49
|
+
const store = useOptionalFormStore();
|
|
50
|
+
const errors = useStoreSelector(store?.store ?? EMPTY_STORE, (state) => state.errors);
|
|
51
|
+
const previous = useRef(errors);
|
|
52
|
+
useEffect(() => {
|
|
53
|
+
if (active && hasNewErrors(previous.current, errors)) {
|
|
54
|
+
const index = firstErroredItemIndex(statePath, errors);
|
|
55
|
+
if (index !== null) list.scrollToIndex(index);
|
|
56
|
+
}
|
|
57
|
+
previous.current = errors;
|
|
58
|
+
}, [
|
|
59
|
+
errors,
|
|
60
|
+
statePath,
|
|
61
|
+
list,
|
|
62
|
+
active
|
|
63
|
+
]);
|
|
64
|
+
}
|
|
65
|
+
const NO_ERRORS = { errors: {} };
|
|
66
|
+
const EMPTY_STORE = {
|
|
67
|
+
get: () => NO_ERRORS,
|
|
68
|
+
subscribe: () => () => {}
|
|
69
|
+
};
|
|
70
|
+
//#endregion
|
|
71
|
+
export { useScrollToErroredItem, useVirtualList };
|
|
72
|
+
|
|
73
|
+
//# sourceMappingURL=use-virtual-list.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-virtual-list.js","names":[],"sources":["../../src/hooks/use-virtual-list.ts"],"sourcesContent":["import type { VirtualListOptions, VirtualRange } from '@alfakit/core'\nimport { VirtualList, firstErroredItemIndex, hasNewErrors } from '@alfakit/core'\nimport { useCallback, useEffect, useMemo, useRef, type CSSProperties } from 'react'\nimport { useOptionalFormStore } from '../components/form/form-context'\nimport { useStore, useStoreSelector } from './use-store'\n\nexport interface VirtualListBinding {\n list: VirtualList\n range: VirtualRange\n /** The indexes to render, in order. */\n indexes: number[]\n /** Reserve the space of the items outside the window (for a `<ul>`; tables use spacer rows). */\n style: CSSProperties | undefined\n /** Ref callback for the list element (`<ul>`, `<tbody>`). */\n attach: (element: HTMLElement | null) => void | (() => void)\n /** Ref callback for an item element; the item's `data-index` attribute names its index. */\n item: (element: HTMLElement | null) => void | (() => void)\n}\n\n/**\n * Window a long list: render `indexes` only, give the list element `ref={attach}` and\n * `style`, and each item `ref={item}` plus `data-index={index}`. Below the threshold\n * everything renders as usual. Destructure the result: the React Compiler lint treats an\n * object whose member is passed to `ref` as a ref, and refuses to read it during render.\n */\nexport function useVirtualList(count: number, options: VirtualListOptions): VirtualListBinding {\n // eslint-disable-next-line react-hooks/exhaustive-deps\n const list = useMemo(() => new VirtualList(options), [])\n\n useStore(list.store)\n\n useEffect(() => {\n list.configure(options)\n }, [list, options.threshold, options.estimateSize, options.overscan, options.gap]) // eslint-disable-line react-hooks/exhaustive-deps\n\n const range = list.range(count)\n const attach = useCallback(\n (element: HTMLElement | null) => (element ? list.attach(element) : undefined),\n [list],\n )\n const item = useCallback(\n (element: HTMLElement | null) => {\n if (!element) return undefined\n\n const index = Number(element.dataset.index)\n list.register(index, element)\n\n return () => list.register(index, null)\n },\n [list],\n )\n\n return {\n list,\n range,\n indexes: list.indexes(count),\n style: range.active ? { paddingTop: range.before, paddingBottom: range.after } : undefined,\n attach,\n item,\n }\n}\n\n/**\n * When a submit or live validation adds errors inside a virtualised Repeater or Builder,\n * scroll the first errored item into view (it may be outside the rendered window).\n */\nexport function useScrollToErroredItem(\n list: VirtualList,\n active: boolean,\n statePath: string,\n): void {\n const store = useOptionalFormStore()\n const errors = useStoreSelector(store?.store ?? EMPTY_STORE, (state) => state.errors)\n const previous = useRef(errors)\n\n useEffect(() => {\n if (active && hasNewErrors(previous.current, errors)) {\n const index = firstErroredItemIndex(statePath, errors)\n\n if (index !== null) list.scrollToIndex(index)\n }\n\n previous.current = errors\n }, [errors, statePath, list, active])\n}\n\nconst NO_ERRORS = { errors: {} as Record<string, string[]> }\nconst EMPTY_STORE = { get: () => NO_ERRORS, subscribe: () => () => {} }\n"],"mappings":";;;;;;;;;;;AAyBA,SAAgB,eAAe,OAAe,SAAiD;CAE7F,MAAM,OAAO,cAAc,IAAI,YAAY,OAAO,GAAG,CAAC,CAAC;CAEvD,SAAS,KAAK,KAAK;CAEnB,gBAAgB;EACd,KAAK,UAAU,OAAO;CACxB,GAAG;EAAC;EAAM,QAAQ;EAAW,QAAQ;EAAc,QAAQ;EAAU,QAAQ;CAAG,CAAC;CAEjF,MAAM,QAAQ,KAAK,MAAM,KAAK;CAC9B,MAAM,SAAS,aACZ,YAAiC,UAAU,KAAK,OAAO,OAAO,IAAI,KAAA,GACnE,CAAC,IAAI,CACP;CACA,MAAM,OAAO,aACV,YAAgC;EAC/B,IAAI,CAAC,SAAS,OAAO,KAAA;EAErB,MAAM,QAAQ,OAAO,QAAQ,QAAQ,KAAK;EAC1C,KAAK,SAAS,OAAO,OAAO;EAE5B,aAAa,KAAK,SAAS,OAAO,IAAI;CACxC,GACA,CAAC,IAAI,CACP;CAEA,OAAO;EACL;EACA;EACA,SAAS,KAAK,QAAQ,KAAK;EAC3B,OAAO,MAAM,SAAS;GAAE,YAAY,MAAM;GAAQ,eAAe,MAAM;EAAM,IAAI,KAAA;EACjF;EACA;CACF;AACF;;;;;AAMA,SAAgB,uBACd,MACA,QACA,WACM;CACN,MAAM,QAAQ,qBAAqB;CACnC,MAAM,SAAS,iBAAiB,OAAO,SAAS,cAAc,UAAU,MAAM,MAAM;CACpF,MAAM,WAAW,OAAO,MAAM;CAE9B,gBAAgB;EACd,IAAI,UAAU,aAAa,SAAS,SAAS,MAAM,GAAG;GACpD,MAAM,QAAQ,sBAAsB,WAAW,MAAM;GAErD,IAAI,UAAU,MAAM,KAAK,cAAc,KAAK;EAC9C;EAEA,SAAS,UAAU;CACrB,GAAG;EAAC;EAAQ;EAAW;EAAM;CAAM,CAAC;AACtC;AAEA,MAAM,YAAY,EAAE,QAAQ,CAAC,EAA8B;AAC3D,MAAM,cAAc;CAAE,WAAW;CAAW,uBAAuB,CAAC;AAAE"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
import { AiCopilot } from "./components/ai/copilot.js";
|
|
2
|
+
import { AiStream } from "./components/ai/stream-lazy.js";
|
|
3
|
+
import "./components/ai/index.js";
|
|
4
|
+
import { AlfakitContextValue, AlfakitProvider, AnyComponent, StandaloneContextValue, StandaloneProvider, useActionRunner, useAlfakit, useAlfakitProps, useChoice, useDirection, useFormatter, useLocalization, useOptionalAlfakit, usePageSchema, usePanel, usePollComponent, useRegistry, useStandalone, useT } from "./context.js";
|
|
5
|
+
import { CMS_BLOCK_COMPONENTS, CallToActionBlock, CmsBlockProps, CmsBlocks, ColumnsBlock, EmbedBlock, FaqBlock, FeaturesBlock, GalleryBlock, HeroBlock, ImageBlock, RichTextBlock, SectionBlock, TestimonialsBlock } from "./components/cms/blocks.js";
|
|
6
|
+
import { CmsContextValue, CmsProvider, useCms } from "./components/cms/context.js";
|
|
7
|
+
import { CmsHead } from "./components/cms/head.js";
|
|
8
|
+
import { CmsLivePreview } from "./components/cms/live-preview-lazy.js";
|
|
9
|
+
import { CmsLanguageSwitcher, CmsMenuList, CmsNav } from "./components/cms/menu.js";
|
|
10
|
+
import { CmsFooter, CmsHeader, CmsPage } from "./components/cms/page.js";
|
|
11
|
+
import { CmsBlockHeading, CmsImage, CmsLinkButton } from "./components/cms/parts.js";
|
|
12
|
+
import "./components/cms/index.js";
|
|
13
|
+
import { Kanban } from "./components/kanban/kanban-lazy.js";
|
|
14
|
+
import "./components/kanban/index.js";
|
|
15
|
+
import { ConflictBanner } from "./components/realtime/conflict-banner.js";
|
|
16
|
+
import { LiveRecordsPill, useLiveUpdates } from "./components/realtime/live-records-pill.js";
|
|
17
|
+
import { RecordPresence } from "./components/realtime/record-presence.js";
|
|
18
|
+
import "./components/realtime/index.js";
|
|
19
|
+
import { TranslationManager } from "./components/translation-manager/translation-manager-lazy.js";
|
|
20
|
+
import "./components/translation-manager/index.js";
|
|
21
|
+
import { Tree } from "./components/tree/tree-lazy.js";
|
|
22
|
+
import "./components/tree/index.js";
|
|
23
|
+
import { AppPage, PageBlock, PageBlockProps, PageForm, PageInfolist, PageTable, PageWidgets, useAppPage, usePageBlock } from "./app/components.js";
|
|
24
|
+
import { PageMethodBinding, PageMethodMap, PageMethodsBinding, UsePageMethodOptions, useLiveProps, usePageForm, usePageMethod, usePageMethods, useReloadProps, useShortcut } from "./app/hooks.js";
|
|
25
|
+
import { ActionButton } from "./components/actions/action-button.js";
|
|
26
|
+
import { PageActionProvider, usePageActionContext } from "./components/actions/action-context.js";
|
|
27
|
+
import { ActionGroupMenu, ActionList } from "./components/actions/action-list.js";
|
|
28
|
+
import { ActionModals } from "./components/actions/action-modals.js";
|
|
29
|
+
import "./components/actions/index.js";
|
|
30
|
+
import { AlfakitAnalytics } from "./components/analytics/alfakit-analytics.js";
|
|
31
|
+
import { AnalyticsBreakdown } from "./components/analytics/breakdown.js";
|
|
32
|
+
import "./components/analytics/index.js";
|
|
33
|
+
import { CodeEntryComponent } from "./components/entries/code-entry.js";
|
|
34
|
+
import { EntryPlaceholder, EntryWrapper } from "./components/entries/entry-wrapper.js";
|
|
35
|
+
import { ColorEntryComponent, IconEntryComponent, ImageEntryComponent, KeyValueEntryComponent, RepeatableEntryComponent } from "./components/entries/other-entries.js";
|
|
36
|
+
import { FormattedText, TextEntryComponent } from "./components/entries/text-entry.js";
|
|
37
|
+
import { ViewEntryComponent } from "./components/entries/view-entry.js";
|
|
38
|
+
import "./components/entries/index.js";
|
|
39
|
+
import { BuilderField } from "./components/fields/builder.js";
|
|
40
|
+
import { CheckboxField } from "./components/fields/checkbox.js";
|
|
41
|
+
import { CheckboxListField } from "./components/fields/checkbox-list.js";
|
|
42
|
+
import { CodeEditorField } from "./components/fields/code-editor-lazy.js";
|
|
43
|
+
import { ColorPickerField } from "./components/fields/color-picker.js";
|
|
44
|
+
import { DatePickerField } from "./components/fields/date-picker.js";
|
|
45
|
+
import { FileUploadField } from "./components/fields/file-upload.js";
|
|
46
|
+
import { HiddenField } from "./components/fields/hidden.js";
|
|
47
|
+
import { IconPickerField } from "./components/fields/icon-picker-lazy.js";
|
|
48
|
+
import { KeyValueField } from "./components/fields/key-value.js";
|
|
49
|
+
import { ModalTableSelectField, QueryBuilderRulesField } from "./components/fields/lazy-fields.js";
|
|
50
|
+
import { MoneyInputField } from "./components/fields/money-input.js";
|
|
51
|
+
import { OneTimeCodeInputField } from "./components/fields/one-time-code-input.js";
|
|
52
|
+
import { RadioField } from "./components/fields/radio.js";
|
|
53
|
+
import { RepeaterField } from "./components/fields/repeater.js";
|
|
54
|
+
import { RichEditorField } from "./components/fields/rich-editor-lazy.js";
|
|
55
|
+
import { SelectField } from "./components/fields/select.js";
|
|
56
|
+
import { SliderField } from "./components/fields/slider.js";
|
|
57
|
+
import { TagsInputField } from "./components/fields/tags-input.js";
|
|
58
|
+
import { TextInputField } from "./components/fields/text-input.js";
|
|
59
|
+
import { TextareaField } from "./components/fields/textarea.js";
|
|
60
|
+
import { ToggleField } from "./components/fields/toggle.js";
|
|
61
|
+
import { ToggleButtonsField } from "./components/fields/toggle-buttons.js";
|
|
62
|
+
import "./components/fields/index.js";
|
|
63
|
+
import { FileManager } from "./components/file-manager/file-manager-lazy.js";
|
|
64
|
+
import { FileManagerPickerField } from "./components/file-manager/picker-field.js";
|
|
65
|
+
import "./components/file-manager/index.js";
|
|
66
|
+
import { FormBlock } from "./components/form/form-block.js";
|
|
67
|
+
import { FieldBinding, FormProvider, useField, useFormState, useFormStore, useOptionalFormStore } from "./components/form/form-context.js";
|
|
68
|
+
import { HelpdeskChat, HelpdeskChatProps } from "./components/helpdesk/chat-widget.js";
|
|
69
|
+
import { HelpdeskInbox } from "./components/helpdesk/inbox-lazy.js";
|
|
70
|
+
import "./components/helpdesk/index.js";
|
|
71
|
+
import { useSchemaComponentContext } from "./components/layout/component-context.js";
|
|
72
|
+
import { CalloutComponent, EmptyStateComponent, FlexComponent, IconComponent, ImageComponent, UnorderedListComponent } from "./components/layout/elements.js";
|
|
73
|
+
import { FieldsetComponent } from "./components/layout/fieldset.js";
|
|
74
|
+
import { FusedGroupComponent } from "./components/layout/fused-group.js";
|
|
75
|
+
import { GridComponent } from "./components/layout/grid.js";
|
|
76
|
+
import { MixedContent } from "./components/layout/mixed-content.js";
|
|
77
|
+
import { HtmlComponent, PlaceholderComponent, TextComponent, ViewComponent } from "./components/layout/prime.js";
|
|
78
|
+
import { SchemaChildren } from "./components/layout/schema-children.js";
|
|
79
|
+
import { SectionComponent } from "./components/layout/section.js";
|
|
80
|
+
import { TabsComponent } from "./components/layout/tabs.js";
|
|
81
|
+
import { WizardComponent } from "./components/layout/wizard.js";
|
|
82
|
+
import "./components/layout/index.js";
|
|
83
|
+
import { FlashToasts, NotificationActionButton, showToast } from "./components/notifications/flash-toasts.js";
|
|
84
|
+
import { NotificationsMenu } from "./components/notifications/notifications-menu.js";
|
|
85
|
+
import { RealtimeNotifications } from "./components/notifications/realtime-notifications.js";
|
|
86
|
+
import { UndoButton } from "./components/notifications/undo-button.js";
|
|
87
|
+
import "./components/notifications/index.js";
|
|
88
|
+
import { AppSidebar, Brand } from "./components/panel/app-sidebar.js";
|
|
89
|
+
import { BottomNav } from "./components/panel/bottom-nav.js";
|
|
90
|
+
import { DebugPanelSlot } from "./components/panel/debug-panel-slot.js";
|
|
91
|
+
import { DebugPanel, DebugTreeNode } from "./components/panel/debug-panel.js";
|
|
92
|
+
import { GlobalSearch } from "./components/panel/global-search.js";
|
|
93
|
+
import { ImpersonationBanner } from "./components/panel/impersonation-banner.js";
|
|
94
|
+
import { KeyboardShortcuts } from "./components/panel/keyboard-shortcuts.js";
|
|
95
|
+
import { LazyPlaceholder } from "./components/panel/lazy-placeholder.js";
|
|
96
|
+
import { LocaleSubMenu, LocaleSwitcher, TopbarLocaleSwitcher } from "./components/panel/locale-switcher.js";
|
|
97
|
+
import { PwaManager, PwaMenuItems, installPwa } from "./components/panel/pwa.js";
|
|
98
|
+
import { ShortcutKeys } from "./components/panel/shortcut-keys.js";
|
|
99
|
+
import { ShortcutsOverlay } from "./components/panel/shortcuts-overlay.js";
|
|
100
|
+
import { Slot } from "./components/panel/slot.js";
|
|
101
|
+
import { TenantMenu } from "./components/panel/tenant-menu.js";
|
|
102
|
+
import { ThemeToggle } from "./components/panel/theme-toggle.js";
|
|
103
|
+
import { Breadcrumbs, Topbar } from "./components/panel/topbar.js";
|
|
104
|
+
import { SignInLink, UserAvatar, UserMenu } from "./components/panel/user-menu.js";
|
|
105
|
+
import "./components/panel/index.js";
|
|
106
|
+
import { FieldWrapper } from "./components/schema/field-wrapper.js";
|
|
107
|
+
import { RenderComponent, SchemaRenderer } from "./components/schema/schema-renderer.js";
|
|
108
|
+
import { TableCellContent } from "./components/table/cells.js";
|
|
109
|
+
import { ColumnManager } from "./components/table/column-manager.js";
|
|
110
|
+
import { ContentLayout, ContentLayoutSort } from "./components/table/content-layout.js";
|
|
111
|
+
import { FilterIndicators, TableFilters } from "./components/table/filters.js";
|
|
112
|
+
import { TablePagination } from "./components/table/pagination.js";
|
|
113
|
+
import { RecordCell } from "./components/table/record-cell.js";
|
|
114
|
+
import { Spreadsheet } from "./components/table/spreadsheet-lazy.js";
|
|
115
|
+
import { DataTable } from "./components/table/table-block.js";
|
|
116
|
+
import { TableViews } from "./components/table/table-views.js";
|
|
117
|
+
import "./components/table/index.js";
|
|
118
|
+
import { RecordVersionsComponent } from "./components/versions/record-versions.js";
|
|
119
|
+
import { CalendarWidget } from "./components/widgets/calendar-lazy.js";
|
|
120
|
+
import { ChartWidget } from "./components/widgets/chart-lazy.js";
|
|
121
|
+
import { CustomizableWidgetGrid } from "./components/widgets/dashboard-customizer.js";
|
|
122
|
+
import { StatsOverviewWidget } from "./components/widgets/stats-overview.js";
|
|
123
|
+
import { WidgetGrid, WidgetRenderer } from "./components/widgets/widgets-block.js";
|
|
124
|
+
import "./components/widgets/index.js";
|
|
125
|
+
import { CreateAlfakitOptions, createAlfakit } from "./create-alfakit.js";
|
|
126
|
+
import { useHydrated } from "./hooks/use-hydrated.js";
|
|
127
|
+
import { useIsMobile } from "./hooks/use-mobile.js";
|
|
128
|
+
import { useStore, useStoreSelector } from "./hooks/use-store.js";
|
|
129
|
+
import { VirtualListBinding, useScrollToErroredItem, useVirtualList } from "./hooks/use-virtual-list.js";
|
|
130
|
+
import { AppLayout } from "./layouts/app-layout.js";
|
|
131
|
+
import { AuthLayout } from "./layouts/auth-layout.js";
|
|
132
|
+
import { BlankLayout } from "./layouts/blank-layout.js";
|
|
133
|
+
import { FullscreenLayout, FullscreenLayoutProps } from "./layouts/fullscreen-layout.js";
|
|
134
|
+
import { TopNavLayout } from "./layouts/top-nav-layout.js";
|
|
135
|
+
import { extraProps, parseStyle } from "./lib/attributes.js";
|
|
136
|
+
import { badgeColorClasses, colorClass, cssColor, ghostButtonColorClasses, iconBackgroundColorClasses, iconSizeClasses, outlineButtonColorClasses, solidButtonColorClasses, switchOffColorClasses, switchOnColorClasses, textColorClasses } from "./lib/colors.js";
|
|
137
|
+
import { DiscoveredComponents, discoverComponents, discoveredComponent } from "./lib/discovery.js";
|
|
138
|
+
import { Icon } from "./lib/icons.js";
|
|
139
|
+
import { cn } from "./lib/utils.js";
|
|
140
|
+
import { AlfakitPage, ContentBlockRenderer, PageContent, PageHeader, PageShell } from "./pages/page.js";
|
|
141
|
+
import { createDefaultRegistry } from "./registry.js";
|
|
142
|
+
import { AlfakitComponent, AlfakitComponentProps } from "./standalone/alfakit-component.js";
|
|
143
|
+
import { AlfakitToaster, AlfakitToasterProps } from "./standalone/alfakit-toaster.js";
|
|
144
|
+
import { configureAlfakit } from "./standalone/configure.js";
|
|
145
|
+
import "./standalone/index.js";
|
|
146
|
+
import { AlfakitNavigation, useAlfakitNavigation } from "./starter-kit/navigation.js";
|
|
147
|
+
import { AlfakitStarterKitRoot, StarterKitContentLayout, StarterKitLayout, StarterKitPageOptions, createStarterKitPage } from "./starter-kit/starter-kit.js";
|
|
148
|
+
import { AlfakitHeaderWidgetProps, AlfakitNotifications, AlfakitSearch, AlfakitTenantSwitcher } from "./starter-kit/widgets.js";
|
|
149
|
+
import "./starter-kit/index.js";
|
|
150
|
+
import { Alert, AlertDescription, AlertTitle } from "./components/ui/alert.js";
|
|
151
|
+
import { Avatar, AvatarFallback, AvatarImage } from "./components/ui/avatar.js";
|
|
152
|
+
import { Badge, badgeVariants } from "./components/ui/badge.js";
|
|
153
|
+
import { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator } from "./components/ui/breadcrumb.js";
|
|
154
|
+
import { Button, buttonVariants } from "./components/ui/button.js";
|
|
155
|
+
import { Calendar } from "./components/ui/calendar.js";
|
|
156
|
+
import { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "./components/ui/card.js";
|
|
157
|
+
import { Checkbox } from "./components/ui/checkbox.js";
|
|
158
|
+
import { Collapsible, CollapsibleContent, CollapsibleTrigger } from "./components/ui/collapsible.js";
|
|
159
|
+
import { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from "./components/ui/dialog.js";
|
|
160
|
+
import { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut } from "./components/ui/command.js";
|
|
161
|
+
import { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from "./components/ui/dropdown-menu.js";
|
|
162
|
+
import { Input } from "./components/ui/input.js";
|
|
163
|
+
import { Label } from "./components/ui/label.js";
|
|
164
|
+
import { Popover, PopoverAnchor, PopoverContent, PopoverTrigger } from "./components/ui/popover.js";
|
|
165
|
+
import { RadioGroup, RadioGroupItem } from "./components/ui/radio-group.js";
|
|
166
|
+
import { ScrollArea, ScrollBar } from "./components/ui/scroll-area.js";
|
|
167
|
+
import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from "./components/ui/select.js";
|
|
168
|
+
import { Separator } from "./components/ui/separator.js";
|
|
169
|
+
import { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger } from "./components/ui/sheet.js";
|
|
170
|
+
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "./components/ui/tooltip.js";
|
|
171
|
+
import { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar } from "./components/ui/sidebar.js";
|
|
172
|
+
import { Skeleton } from "./components/ui/skeleton.js";
|
|
173
|
+
import { Toaster } from "./components/ui/sonner.js";
|
|
174
|
+
import { Spinner } from "./components/ui/spinner.js";
|
|
175
|
+
import { Switch } from "./components/ui/switch.js";
|
|
176
|
+
import { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from "./components/ui/table.js";
|
|
177
|
+
import { Tabs, TabsContent, TabsList, TabsTrigger } from "./components/ui/tabs.js";
|
|
178
|
+
import { Textarea } from "./components/ui/textarea.js";
|
|
179
|
+
export * from "@alfakit/core";
|
|
180
|
+
export { ActionButton, ActionGroupMenu, ActionList, ActionModals, AiCopilot, AiStream, Alert, AlertDescription, AlertTitle, AlfakitAnalytics, AlfakitComponent, type AlfakitComponentProps, type AlfakitContextValue, type AlfakitHeaderWidgetProps, type AlfakitNavigation, AlfakitNotifications, AlfakitPage, AlfakitProvider, AlfakitSearch, AlfakitStarterKitRoot, AlfakitTenantSwitcher, AlfakitToaster, type AlfakitToasterProps, AnalyticsBreakdown, type AnyComponent, AppLayout, AppPage, AppSidebar, AuthLayout, Avatar, AvatarFallback, AvatarImage, Badge, BlankLayout, BottomNav, Brand, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Breadcrumbs, BuilderField, Button, CMS_BLOCK_COMPONENTS, Calendar, CalendarWidget, CallToActionBlock, CalloutComponent, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, ChartWidget, Checkbox, CheckboxField, CheckboxListField, CmsBlockHeading, type CmsBlockProps, CmsBlocks, type CmsContextValue, CmsFooter, CmsHead, CmsHeader, CmsImage, CmsLanguageSwitcher, CmsLinkButton, CmsLivePreview, CmsMenuList, CmsNav, CmsPage, CmsProvider, CodeEditorField, CodeEntryComponent, Collapsible, CollapsibleContent, CollapsibleTrigger, ColorEntryComponent, ColorPickerField, ColumnManager, ColumnsBlock, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConflictBanner, ContentBlockRenderer, ContentLayout, ContentLayoutSort, type CreateAlfakitOptions, CustomizableWidgetGrid, DataTable, DatePickerField, DebugPanel, DebugPanelSlot, DebugTreeNode, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, type DiscoveredComponents, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmbedBlock, EmptyStateComponent, EntryPlaceholder, EntryWrapper, FaqBlock, FeaturesBlock, type FieldBinding, FieldWrapper, FieldsetComponent, FileManager, FileManagerPickerField, FileUploadField, FilterIndicators, FlashToasts, FlexComponent, FormBlock, FormProvider, FormattedText, FullscreenLayout, type FullscreenLayoutProps, FusedGroupComponent, GalleryBlock, GlobalSearch, GridComponent, HelpdeskChat, type HelpdeskChatProps, HelpdeskInbox, HeroBlock, HiddenField, HtmlComponent, Icon, IconComponent, IconEntryComponent, IconPickerField, ImageBlock, ImageComponent, ImageEntryComponent, ImpersonationBanner, Input, Kanban, KeyValueEntryComponent, KeyValueField, KeyboardShortcuts, Label, LazyPlaceholder, LiveRecordsPill, LocaleSubMenu, LocaleSwitcher, MixedContent, ModalTableSelectField, MoneyInputField, NotificationActionButton, NotificationsMenu, OneTimeCodeInputField, PageActionProvider, PageBlock, type PageBlockProps, PageContent, PageForm, PageHeader, PageInfolist, type PageMethodBinding, type PageMethodMap, type PageMethodsBinding, PageShell, PageTable, PageWidgets, PlaceholderComponent, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PwaManager, PwaMenuItems, QueryBuilderRulesField, RadioField, RadioGroup, RadioGroupItem, RealtimeNotifications, RecordCell, RecordPresence, RecordVersionsComponent, RenderComponent, RepeatableEntryComponent, RepeaterField, RichEditorField, RichTextBlock, SchemaChildren, SchemaRenderer, ScrollArea, ScrollBar, SectionBlock, SectionComponent, Select, SelectContent, SelectField, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, ShortcutKeys, ShortcutsOverlay, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SignInLink, Skeleton, SliderField, Slot, Spinner, Spreadsheet, type StandaloneContextValue, StandaloneProvider, StarterKitContentLayout, type StarterKitLayout, type StarterKitPageOptions, StatsOverviewWidget, Switch, Table, TableBody, TableCaption, TableCell, TableCellContent, TableFilters, TableFooter, TableHead, TableHeader, TablePagination, TableRow, TableViews, Tabs, TabsComponent, TabsContent, TabsList, TabsTrigger, TagsInputField, TenantMenu, TestimonialsBlock, TextComponent, TextEntryComponent, TextInputField, Textarea, TextareaField, ThemeToggle, Toaster, ToggleButtonsField, ToggleField, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TopNavLayout, Topbar, TopbarLocaleSwitcher, TranslationManager, Tree, UndoButton, UnorderedListComponent, type UsePageMethodOptions, UserAvatar, UserMenu, ViewComponent, ViewEntryComponent, type VirtualListBinding, WidgetGrid, WidgetRenderer, WizardComponent, badgeColorClasses, badgeVariants, buttonVariants, cn, colorClass, configureAlfakit, createAlfakit, createDefaultRegistry, createStarterKitPage, cssColor, discoverComponents, discoveredComponent, extraProps, ghostButtonColorClasses, iconBackgroundColorClasses, iconSizeClasses, installPwa, outlineButtonColorClasses, parseStyle, showToast, solidButtonColorClasses, switchOffColorClasses, switchOnColorClasses, textColorClasses, useActionRunner, useAlfakit, useAlfakitNavigation, useAlfakitProps, useAppPage, useChoice, useCms, useDirection, useField, useFormState, useFormStore, useFormatter, useHydrated, useIsMobile, useLiveProps, useLiveUpdates, useLocalization, useOptionalAlfakit, useOptionalFormStore, usePageActionContext, usePageBlock, usePageForm, usePageMethod, usePageMethods, usePageSchema, usePanel, usePollComponent, useRegistry, useReloadProps, useSchemaComponentContext, useScrollToErroredItem, useShortcut, useSidebar, useStandalone, useStore, useStoreSelector, useT, useVirtualList };
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import { AlfakitProvider, StandaloneProvider, useActionRunner, useAlfakit, useAlfakitProps, useChoice, useDirection, useFormatter, useLocalization, useOptionalAlfakit, usePageSchema, usePanel, usePollComponent, useRegistry, useStandalone, useT } from "./context.js";
|
|
2
|
+
import { PageActionProvider, usePageActionContext } from "./components/actions/action-context.js";
|
|
3
|
+
import { cn } from "./lib/utils.js";
|
|
4
|
+
import { badgeColorClasses, colorClass, cssColor, ghostButtonColorClasses, iconBackgroundColorClasses, iconSizeClasses, outlineButtonColorClasses, solidButtonColorClasses, switchOffColorClasses, switchOnColorClasses, textColorClasses } from "./lib/colors.js";
|
|
5
|
+
import { Icon } from "./lib/icons.js";
|
|
6
|
+
import { Badge, badgeVariants } from "./components/ui/badge.js";
|
|
7
|
+
import { Button, buttonVariants } from "./components/ui/button.js";
|
|
8
|
+
import { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from "./components/ui/dropdown-menu.js";
|
|
9
|
+
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "./components/ui/tooltip.js";
|
|
10
|
+
import { useStore, useStoreSelector } from "./hooks/use-store.js";
|
|
11
|
+
import { extraProps, parseStyle } from "./lib/attributes.js";
|
|
12
|
+
import { Spinner } from "./components/ui/spinner.js";
|
|
13
|
+
import { ActionButton } from "./components/actions/action-button.js";
|
|
14
|
+
import { ActionGroupMenu, ActionList } from "./components/actions/action-list.js";
|
|
15
|
+
import { AiCopilot } from "./components/ai/copilot.js";
|
|
16
|
+
import { AiStream } from "./components/ai/stream-lazy.js";
|
|
17
|
+
import { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "./components/ui/card.js";
|
|
18
|
+
import { Tabs, TabsContent, TabsList, TabsTrigger } from "./components/ui/tabs.js";
|
|
19
|
+
import { AnalyticsBreakdown } from "./components/analytics/breakdown.js";
|
|
20
|
+
import { CmsLivePreview } from "./components/cms/live-preview-lazy.js";
|
|
21
|
+
import { FormProvider, useField, useFormState, useFormStore, useOptionalFormStore } from "./components/form/form-context.js";
|
|
22
|
+
import { useScrollToErroredItem, useVirtualList } from "./hooks/use-virtual-list.js";
|
|
23
|
+
import { Skeleton } from "./components/ui/skeleton.js";
|
|
24
|
+
import { Label } from "./components/ui/label.js";
|
|
25
|
+
import { RenderComponent, SchemaRenderer } from "./components/schema/schema-renderer.js";
|
|
26
|
+
import { FieldWrapper } from "./components/schema/field-wrapper.js";
|
|
27
|
+
import { Collapsible, CollapsibleContent, CollapsibleTrigger } from "./components/ui/collapsible.js";
|
|
28
|
+
import { Input } from "./components/ui/input.js";
|
|
29
|
+
import { Popover, PopoverAnchor, PopoverContent, PopoverTrigger } from "./components/ui/popover.js";
|
|
30
|
+
import { BuilderField } from "./components/fields/builder.js";
|
|
31
|
+
import { Checkbox } from "./components/ui/checkbox.js";
|
|
32
|
+
import { CheckboxField } from "./components/fields/checkbox.js";
|
|
33
|
+
import { CheckboxListField } from "./components/fields/checkbox-list.js";
|
|
34
|
+
import { CodeEditorField } from "./components/fields/code-editor-lazy.js";
|
|
35
|
+
import { ColorPickerField } from "./components/fields/color-picker.js";
|
|
36
|
+
import { DatePickerField } from "./components/fields/date-picker.js";
|
|
37
|
+
import { FileUploadField } from "./components/fields/file-upload.js";
|
|
38
|
+
import { HiddenField } from "./components/fields/hidden.js";
|
|
39
|
+
import { IconPickerField } from "./components/fields/icon-picker-lazy.js";
|
|
40
|
+
import { KeyValueField } from "./components/fields/key-value.js";
|
|
41
|
+
import { ModalTableSelectField, QueryBuilderRulesField } from "./components/fields/lazy-fields.js";
|
|
42
|
+
import { MoneyInputField } from "./components/fields/money-input.js";
|
|
43
|
+
import { OneTimeCodeInputField } from "./components/fields/one-time-code-input.js";
|
|
44
|
+
import { RadioGroup, RadioGroupItem } from "./components/ui/radio-group.js";
|
|
45
|
+
import { RadioField } from "./components/fields/radio.js";
|
|
46
|
+
import { RepeaterField } from "./components/fields/repeater.js";
|
|
47
|
+
import { RichEditorField } from "./components/fields/rich-editor-lazy.js";
|
|
48
|
+
import { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from "./components/ui/dialog.js";
|
|
49
|
+
import { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut } from "./components/ui/command.js";
|
|
50
|
+
import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from "./components/ui/select.js";
|
|
51
|
+
import { SelectField } from "./components/fields/select.js";
|
|
52
|
+
import { SliderField } from "./components/fields/slider.js";
|
|
53
|
+
import { TagsInputField } from "./components/fields/tags-input.js";
|
|
54
|
+
import { TextInputField } from "./components/fields/text-input.js";
|
|
55
|
+
import { Textarea } from "./components/ui/textarea.js";
|
|
56
|
+
import { TextareaField } from "./components/fields/textarea.js";
|
|
57
|
+
import { Switch } from "./components/ui/switch.js";
|
|
58
|
+
import { ToggleField } from "./components/fields/toggle.js";
|
|
59
|
+
import { ToggleButtonsField } from "./components/fields/toggle-buttons.js";
|
|
60
|
+
import { FileManager } from "./components/file-manager/file-manager-lazy.js";
|
|
61
|
+
import { FileManagerPickerField } from "./components/file-manager/picker-field.js";
|
|
62
|
+
import { useHydrated } from "./hooks/use-hydrated.js";
|
|
63
|
+
import { HelpdeskChat } from "./components/helpdesk/chat-widget.js";
|
|
64
|
+
import { HelpdeskInbox } from "./components/helpdesk/inbox-lazy.js";
|
|
65
|
+
import { Kanban } from "./components/kanban/kanban-lazy.js";
|
|
66
|
+
import { GridComponent } from "./components/layout/grid.js";
|
|
67
|
+
import { MixedContent } from "./components/layout/mixed-content.js";
|
|
68
|
+
import { SectionComponent } from "./components/layout/section.js";
|
|
69
|
+
import { TranslationManager } from "./components/translation-manager/translation-manager-lazy.js";
|
|
70
|
+
import { Tree } from "./components/tree/tree-lazy.js";
|
|
71
|
+
import { CalendarWidget } from "./components/widgets/calendar-lazy.js";
|
|
72
|
+
import { discoverComponents, discoveredComponent } from "./lib/discovery.js";
|
|
73
|
+
import { createDefaultRegistry } from "./registry.js";
|
|
74
|
+
import { configureAlfakit } from "./standalone/configure.js";
|
|
75
|
+
import { UndoButton } from "./components/notifications/undo-button.js";
|
|
76
|
+
import { FlashToasts, NotificationActionButton, showToast } from "./components/notifications/flash-toasts.js";
|
|
77
|
+
import { FormBlock } from "./components/form/form-block.js";
|
|
78
|
+
import { KeyboardShortcuts } from "./components/panel/keyboard-shortcuts.js";
|
|
79
|
+
import { LazyPlaceholder } from "./components/panel/lazy-placeholder.js";
|
|
80
|
+
import { Slot } from "./components/panel/slot.js";
|
|
81
|
+
import { ConflictBanner } from "./components/realtime/conflict-banner.js";
|
|
82
|
+
import { Avatar, AvatarFallback, AvatarImage } from "./components/ui/avatar.js";
|
|
83
|
+
import { RecordPresence } from "./components/realtime/record-presence.js";
|
|
84
|
+
import { useIsMobile } from "./hooks/use-mobile.js";
|
|
85
|
+
import { LiveRecordsPill, useLiveUpdates } from "./components/realtime/live-records-pill.js";
|
|
86
|
+
import { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from "./components/ui/table.js";
|
|
87
|
+
import { EntryPlaceholder, EntryWrapper } from "./components/entries/entry-wrapper.js";
|
|
88
|
+
import { FormattedText, TextEntryComponent } from "./components/entries/text-entry.js";
|
|
89
|
+
import { TableCellContent } from "./components/table/cells.js";
|
|
90
|
+
import { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger } from "./components/ui/sheet.js";
|
|
91
|
+
import { ColumnManager } from "./components/table/column-manager.js";
|
|
92
|
+
import { RecordCell } from "./components/table/record-cell.js";
|
|
93
|
+
import { ContentLayout, ContentLayoutSort } from "./components/table/content-layout.js";
|
|
94
|
+
import { FilterIndicators, TableFilters } from "./components/table/filters.js";
|
|
95
|
+
import { TablePagination } from "./components/table/pagination.js";
|
|
96
|
+
import { Spreadsheet } from "./components/table/spreadsheet-lazy.js";
|
|
97
|
+
import { TableViews } from "./components/table/table-views.js";
|
|
98
|
+
import { DataTable } from "./components/table/table-block.js";
|
|
99
|
+
import { ChartWidget } from "./components/widgets/chart-lazy.js";
|
|
100
|
+
import { StatsOverviewWidget } from "./components/widgets/stats-overview.js";
|
|
101
|
+
import { WidgetGrid, WidgetRenderer } from "./components/widgets/widgets-block.js";
|
|
102
|
+
import { ScrollArea, ScrollBar } from "./components/ui/scroll-area.js";
|
|
103
|
+
import { NotificationsMenu } from "./components/notifications/notifications-menu.js";
|
|
104
|
+
import { Separator } from "./components/ui/separator.js";
|
|
105
|
+
import { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar } from "./components/ui/sidebar.js";
|
|
106
|
+
import { GlobalSearch } from "./components/panel/global-search.js";
|
|
107
|
+
import { TenantMenu } from "./components/panel/tenant-menu.js";
|
|
108
|
+
import { LocaleSubMenu, LocaleSwitcher, TopbarLocaleSwitcher } from "./components/panel/locale-switcher.js";
|
|
109
|
+
import { PwaManager, PwaMenuItems, installPwa } from "./components/panel/pwa.js";
|
|
110
|
+
import { SignInLink, UserAvatar, UserMenu } from "./components/panel/user-menu.js";
|
|
111
|
+
import { AppSidebar, Brand } from "./components/panel/app-sidebar.js";
|
|
112
|
+
import { BottomNav } from "./components/panel/bottom-nav.js";
|
|
113
|
+
import { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator } from "./components/ui/breadcrumb.js";
|
|
114
|
+
import { DebugPanelSlot } from "./components/panel/debug-panel-slot.js";
|
|
115
|
+
import { ThemeToggle } from "./components/panel/theme-toggle.js";
|
|
116
|
+
import { Breadcrumbs, Topbar } from "./components/panel/topbar.js";
|
|
117
|
+
import { TopNavLayout } from "./layouts/top-nav-layout.js";
|
|
118
|
+
import { AppLayout } from "./layouts/app-layout.js";
|
|
119
|
+
import { AuthLayout } from "./layouts/auth-layout.js";
|
|
120
|
+
import { BlankLayout } from "./layouts/blank-layout.js";
|
|
121
|
+
import { FullscreenLayout } from "./layouts/fullscreen-layout.js";
|
|
122
|
+
import { AlfakitPage, ContentBlockRenderer, PageContent, PageHeader, PageShell } from "./pages/page.js";
|
|
123
|
+
import { AppPage, PageBlock, PageForm, PageInfolist, PageTable, PageWidgets, useAppPage, usePageBlock } from "./app/components.js";
|
|
124
|
+
import { useLiveProps, usePageForm, usePageMethod, usePageMethods, useReloadProps, useShortcut } from "./app/hooks.js";
|
|
125
|
+
import { ActionModals } from "./components/actions/action-modals.js";
|
|
126
|
+
import { AlfakitAnalytics } from "./components/analytics/alfakit-analytics.js";
|
|
127
|
+
import { CmsProvider, useCms } from "./components/cms/context.js";
|
|
128
|
+
import { CmsBlockHeading, CmsImage, CmsLinkButton } from "./components/cms/parts.js";
|
|
129
|
+
import { CMS_BLOCK_COMPONENTS, CallToActionBlock, CmsBlocks, ColumnsBlock, EmbedBlock, FaqBlock, FeaturesBlock, GalleryBlock, HeroBlock, ImageBlock, RichTextBlock, SectionBlock, TestimonialsBlock } from "./components/cms/blocks.js";
|
|
130
|
+
import { CmsHead } from "./components/cms/head.js";
|
|
131
|
+
import { CmsLanguageSwitcher, CmsMenuList, CmsNav } from "./components/cms/menu.js";
|
|
132
|
+
import { CmsFooter, CmsHeader, CmsPage } from "./components/cms/page.js";
|
|
133
|
+
import { CodeEntryComponent } from "./components/entries/code-entry.js";
|
|
134
|
+
import { ColorEntryComponent, IconEntryComponent, ImageEntryComponent, KeyValueEntryComponent, RepeatableEntryComponent } from "./components/entries/other-entries.js";
|
|
135
|
+
import { ViewEntryComponent } from "./components/entries/view-entry.js";
|
|
136
|
+
import { useSchemaComponentContext } from "./components/layout/component-context.js";
|
|
137
|
+
import { CalloutComponent, EmptyStateComponent, FlexComponent, IconComponent, ImageComponent, UnorderedListComponent } from "./components/layout/elements.js";
|
|
138
|
+
import { FieldsetComponent } from "./components/layout/fieldset.js";
|
|
139
|
+
import { FusedGroupComponent } from "./components/layout/fused-group.js";
|
|
140
|
+
import { HtmlComponent, PlaceholderComponent, TextComponent, ViewComponent } from "./components/layout/prime.js";
|
|
141
|
+
import { SchemaChildren } from "./components/layout/schema-children.js";
|
|
142
|
+
import { TabsComponent } from "./components/layout/tabs.js";
|
|
143
|
+
import { WizardComponent } from "./components/layout/wizard.js";
|
|
144
|
+
import { RealtimeNotifications } from "./components/notifications/realtime-notifications.js";
|
|
145
|
+
import { DebugPanel, DebugTreeNode } from "./components/panel/debug-panel.js";
|
|
146
|
+
import { ImpersonationBanner } from "./components/panel/impersonation-banner.js";
|
|
147
|
+
import { ShortcutKeys } from "./components/panel/shortcut-keys.js";
|
|
148
|
+
import { ShortcutsOverlay } from "./components/panel/shortcuts-overlay.js";
|
|
149
|
+
import { RecordVersionsComponent } from "./components/versions/record-versions.js";
|
|
150
|
+
import { CustomizableWidgetGrid } from "./components/widgets/dashboard-customizer.js";
|
|
151
|
+
import { Toaster } from "./components/ui/sonner.js";
|
|
152
|
+
import { createAlfakit } from "./create-alfakit.js";
|
|
153
|
+
import { AlfakitToaster } from "./standalone/alfakit-toaster.js";
|
|
154
|
+
import { AlfakitComponent } from "./standalone/alfakit-component.js";
|
|
155
|
+
import { useAlfakitNavigation } from "./starter-kit/navigation.js";
|
|
156
|
+
import { AlfakitStarterKitRoot, StarterKitContentLayout, createStarterKitPage } from "./starter-kit/starter-kit.js";
|
|
157
|
+
import { AlfakitNotifications, AlfakitSearch, AlfakitTenantSwitcher } from "./starter-kit/widgets.js";
|
|
158
|
+
import { Alert, AlertDescription, AlertTitle } from "./components/ui/alert.js";
|
|
159
|
+
import { Calendar } from "./components/ui/calendar.js";
|
|
160
|
+
export * from "@alfakit/core";
|
|
161
|
+
export { ActionButton, ActionGroupMenu, ActionList, ActionModals, AiCopilot, AiStream, Alert, AlertDescription, AlertTitle, AlfakitAnalytics, AlfakitComponent, AlfakitNotifications, AlfakitPage, AlfakitProvider, AlfakitSearch, AlfakitStarterKitRoot, AlfakitTenantSwitcher, AlfakitToaster, AnalyticsBreakdown, AppLayout, AppPage, AppSidebar, AuthLayout, Avatar, AvatarFallback, AvatarImage, Badge, BlankLayout, BottomNav, Brand, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Breadcrumbs, BuilderField, Button, CMS_BLOCK_COMPONENTS, Calendar, CalendarWidget, CallToActionBlock, CalloutComponent, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, ChartWidget, Checkbox, CheckboxField, CheckboxListField, CmsBlockHeading, CmsBlocks, CmsFooter, CmsHead, CmsHeader, CmsImage, CmsLanguageSwitcher, CmsLinkButton, CmsLivePreview, CmsMenuList, CmsNav, CmsPage, CmsProvider, CodeEditorField, CodeEntryComponent, Collapsible, CollapsibleContent, CollapsibleTrigger, ColorEntryComponent, ColorPickerField, ColumnManager, ColumnsBlock, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConflictBanner, ContentBlockRenderer, ContentLayout, ContentLayoutSort, CustomizableWidgetGrid, DataTable, DatePickerField, DebugPanel, DebugPanelSlot, DebugTreeNode, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmbedBlock, EmptyStateComponent, EntryPlaceholder, EntryWrapper, FaqBlock, FeaturesBlock, FieldWrapper, FieldsetComponent, FileManager, FileManagerPickerField, FileUploadField, FilterIndicators, FlashToasts, FlexComponent, FormBlock, FormProvider, FormattedText, FullscreenLayout, FusedGroupComponent, GalleryBlock, GlobalSearch, GridComponent, HelpdeskChat, HelpdeskInbox, HeroBlock, HiddenField, HtmlComponent, Icon, IconComponent, IconEntryComponent, IconPickerField, ImageBlock, ImageComponent, ImageEntryComponent, ImpersonationBanner, Input, Kanban, KeyValueEntryComponent, KeyValueField, KeyboardShortcuts, Label, LazyPlaceholder, LiveRecordsPill, LocaleSubMenu, LocaleSwitcher, MixedContent, ModalTableSelectField, MoneyInputField, NotificationActionButton, NotificationsMenu, OneTimeCodeInputField, PageActionProvider, PageBlock, PageContent, PageForm, PageHeader, PageInfolist, PageShell, PageTable, PageWidgets, PlaceholderComponent, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PwaManager, PwaMenuItems, QueryBuilderRulesField, RadioField, RadioGroup, RadioGroupItem, RealtimeNotifications, RecordCell, RecordPresence, RecordVersionsComponent, RenderComponent, RepeatableEntryComponent, RepeaterField, RichEditorField, RichTextBlock, SchemaChildren, SchemaRenderer, ScrollArea, ScrollBar, SectionBlock, SectionComponent, Select, SelectContent, SelectField, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, ShortcutKeys, ShortcutsOverlay, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SignInLink, Skeleton, SliderField, Slot, Spinner, Spreadsheet, StandaloneProvider, StarterKitContentLayout, StatsOverviewWidget, Switch, Table, TableBody, TableCaption, TableCell, TableCellContent, TableFilters, TableFooter, TableHead, TableHeader, TablePagination, TableRow, TableViews, Tabs, TabsComponent, TabsContent, TabsList, TabsTrigger, TagsInputField, TenantMenu, TestimonialsBlock, TextComponent, TextEntryComponent, TextInputField, Textarea, TextareaField, ThemeToggle, Toaster, ToggleButtonsField, ToggleField, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TopNavLayout, Topbar, TopbarLocaleSwitcher, TranslationManager, Tree, UndoButton, UnorderedListComponent, UserAvatar, UserMenu, ViewComponent, ViewEntryComponent, WidgetGrid, WidgetRenderer, WizardComponent, badgeColorClasses, badgeVariants, buttonVariants, cn, colorClass, configureAlfakit, createAlfakit, createDefaultRegistry, createStarterKitPage, cssColor, discoverComponents, discoveredComponent, extraProps, ghostButtonColorClasses, iconBackgroundColorClasses, iconSizeClasses, installPwa, outlineButtonColorClasses, parseStyle, showToast, solidButtonColorClasses, switchOffColorClasses, switchOnColorClasses, textColorClasses, useActionRunner, useAlfakit, useAlfakitNavigation, useAlfakitProps, useAppPage, useChoice, useCms, useDirection, useField, useFormState, useFormStore, useFormatter, useHydrated, useIsMobile, useLiveProps, useLiveUpdates, useLocalization, useOptionalAlfakit, useOptionalFormStore, usePageActionContext, usePageBlock, usePageForm, usePageMethod, usePageMethods, usePageSchema, usePanel, usePollComponent, useRegistry, useReloadProps, useSchemaComponentContext, useScrollToErroredItem, useShortcut, useSidebar, useStandalone, useStore, useStoreSelector, useT, useVirtualList };
|