@plumile/ui 0.1.132 → 0.1.140
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +129 -15
- package/lib/esm/admin/organisms/admin_sidebar/AdminSidebar.js +4 -4
- package/lib/esm/admin/organisms/admin_sidebar/adminSidebar.css.js +2 -0
- package/lib/esm/admin/templates/admin_shell_layout/AdminShellLayout.js +2 -2
- package/lib/esm/admin/templates/admin_shell_layout/AdminShellLayout.js.map +1 -1
- package/lib/esm/admin/theme/adminSurface.css.js +0 -2
- package/lib/esm/atomic/atoms/badge/Badge.js.map +1 -1
- package/lib/esm/atomic/atoms/error_message/ErrorMessage.js +9 -8
- package/lib/esm/atomic/atoms/error_message/ErrorMessage.js.map +1 -1
- package/lib/esm/atomic/molecules/card/Card.js +17 -19
- package/lib/esm/atomic/molecules/card/Card.js.map +1 -1
- package/lib/esm/atomic/molecules/empty-state/EmptyState.css.js +80 -2
- package/lib/esm/atomic/molecules/empty-state/EmptyState.css.js.map +1 -1
- package/lib/esm/atomic/molecules/empty-state/EmptyState.js +50 -28
- package/lib/esm/atomic/molecules/empty-state/EmptyState.js.map +1 -1
- package/lib/esm/atomic/molecules/form_error/FormError.js +29 -19
- package/lib/esm/atomic/molecules/form_error/FormError.js.map +1 -1
- package/lib/esm/atomic/molecules/form_error/formError.css.js +1 -1
- package/lib/esm/atomic/molecules/form_error/formError.css.js.map +1 -1
- package/lib/esm/atomic/molecules/markdown/components/MarkdownFootnoteReference.css.js +1 -0
- package/lib/esm/atomic/molecules/markdown/components/MarkdownTable.css.js +0 -1
- package/lib/esm/atomic/molecules/tabs/Tabs.js +82 -28
- package/lib/esm/atomic/molecules/tabs/Tabs.js.map +1 -1
- package/lib/esm/atomic/molecules/tabs/tabs.css.js +50 -8
- package/lib/esm/atomic/molecules/tabs/tabs.css.js.map +1 -1
- package/lib/esm/atomic/organisms/sidebar/NavigationSidebar.js +48 -48
- package/lib/esm/atomic/organisms/sidebar/NavigationSidebar.js.map +1 -1
- package/lib/esm/backoffice/atoms/status_badge/StatusBadge.js.map +1 -1
- package/lib/esm/backoffice/molecules/backoffice_audit_metadata_panel/BackofficeAuditMetadataPanel.js +38 -0
- package/lib/esm/backoffice/molecules/backoffice_audit_metadata_panel/BackofficeAuditMetadataPanel.js.map +1 -0
- package/lib/esm/backoffice/molecules/backoffice_detail_field/BackofficeDetailField.js +35 -0
- package/lib/esm/backoffice/molecules/backoffice_detail_field/BackofficeDetailField.js.map +1 -0
- package/lib/esm/backoffice/molecules/backoffice_detail_field/backofficeDetailField.css.js +16 -0
- package/lib/esm/backoffice/molecules/backoffice_detail_field/backofficeDetailField.css.js.map +1 -0
- package/lib/esm/backoffice/molecules/backoffice_detail_flag_tag/BackofficeDetailFlagTag.js +25 -0
- package/lib/esm/backoffice/molecules/backoffice_detail_flag_tag/BackofficeDetailFlagTag.js.map +1 -0
- package/lib/esm/backoffice/molecules/backoffice_detail_flag_tag/backofficeDetailFlagTag.css.js +8 -0
- package/lib/esm/backoffice/molecules/backoffice_detail_flag_tag/backofficeDetailFlagTag.css.js.map +1 -0
- package/lib/esm/backoffice/molecules/backoffice_detail_section/BackofficeDetailSection.js +37 -0
- package/lib/esm/backoffice/molecules/backoffice_detail_section/BackofficeDetailSection.js.map +1 -0
- package/lib/esm/backoffice/molecules/backoffice_detail_section/backofficeDetailSection.css.js +8 -0
- package/lib/esm/backoffice/molecules/backoffice_detail_section/backofficeDetailSection.css.js.map +1 -0
- package/lib/esm/backoffice/molecules/backoffice_detail_tagged_value/BackofficeDetailTaggedValue.js +19 -0
- package/lib/esm/backoffice/molecules/backoffice_detail_tagged_value/BackofficeDetailTaggedValue.js.map +1 -0
- package/lib/esm/backoffice/molecules/backoffice_detail_tagged_value/backofficeDetailTaggedValue.css.js +8 -0
- package/lib/esm/backoffice/molecules/backoffice_detail_tagged_value/backofficeDetailTaggedValue.css.js.map +1 -0
- package/lib/esm/backoffice/molecules/backoffice_empty_state/BackofficeEmptyState.js +15 -32
- package/lib/esm/backoffice/molecules/backoffice_empty_state/BackofficeEmptyState.js.map +1 -1
- package/lib/esm/backoffice/molecules/backoffice_enum_label/BackofficeEnumLabel.js +11 -0
- package/lib/esm/backoffice/molecules/backoffice_enum_label/BackofficeEnumLabel.js.map +1 -0
- package/lib/esm/backoffice/molecules/backoffice_form_section/BackofficeFormSection.js +17 -18
- package/lib/esm/backoffice/molecules/backoffice_form_section/BackofficeFormSection.js.map +1 -1
- package/lib/esm/backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.helpers.js +12 -0
- package/lib/esm/backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.helpers.js.map +1 -0
- package/lib/esm/backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.js +15 -20
- package/lib/esm/backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.js.map +1 -1
- package/lib/esm/backoffice/molecules/backoffice_key_value_list/BackofficeKeyValueList.js +23 -16
- package/lib/esm/backoffice/molecules/backoffice_key_value_list/BackofficeKeyValueList.js.map +1 -1
- package/lib/esm/backoffice/molecules/backoffice_key_value_list/backofficeKeyValueList.css.js +2 -2
- package/lib/esm/backoffice/molecules/backoffice_key_value_list/backofficeKeyValueList.css.js.map +1 -1
- package/lib/esm/backoffice/molecules/backoffice_list_footer/BackofficeListFooter.helpers.js +11 -0
- package/lib/esm/backoffice/molecules/backoffice_list_footer/BackofficeListFooter.helpers.js.map +1 -0
- package/lib/esm/backoffice/molecules/backoffice_list_footer/BackofficeListFooter.js +55 -0
- package/lib/esm/backoffice/molecules/backoffice_list_footer/BackofficeListFooter.js.map +1 -0
- package/lib/esm/backoffice/molecules/backoffice_list_footer/backofficeListFooter.css.js +8 -0
- package/lib/esm/backoffice/molecules/backoffice_list_footer/backofficeListFooter.css.js.map +1 -0
- package/lib/esm/backoffice/molecules/backoffice_payload_viewer/BackofficePayloadViewer.helpers.js +15 -0
- package/lib/esm/backoffice/molecules/backoffice_payload_viewer/BackofficePayloadViewer.helpers.js.map +1 -0
- package/lib/esm/backoffice/molecules/backoffice_payload_viewer/BackofficePayloadViewer.js +63 -0
- package/lib/esm/backoffice/molecules/backoffice_payload_viewer/BackofficePayloadViewer.js.map +1 -0
- package/lib/esm/backoffice/molecules/backoffice_payload_viewer/backofficePayloadViewer.css.js +8 -0
- package/lib/esm/backoffice/molecules/backoffice_payload_viewer/backofficePayloadViewer.css.js.map +1 -0
- package/lib/esm/backoffice/molecules/backoffice_picker/BackofficePicker.js +76 -0
- package/lib/esm/backoffice/molecules/backoffice_picker/BackofficePicker.js.map +1 -0
- package/lib/esm/backoffice/molecules/backoffice_picker/backofficePicker.css.js +8 -0
- package/lib/esm/backoffice/molecules/backoffice_picker/backofficePicker.css.js.map +1 -0
- package/lib/esm/backoffice/molecules/backoffice_reference_value/BackofficeReferenceValue.js +23 -0
- package/lib/esm/backoffice/molecules/backoffice_reference_value/BackofficeReferenceValue.js.map +1 -0
- package/lib/esm/backoffice/molecules/backoffice_reference_value/backofficeReferenceValue.css.js +8 -0
- package/lib/esm/backoffice/molecules/backoffice_reference_value/backofficeReferenceValue.css.js.map +1 -0
- package/lib/esm/backoffice/molecules/backoffice_scope_stack/BackofficeScopeStack.js +18 -0
- package/lib/esm/backoffice/molecules/backoffice_scope_stack/BackofficeScopeStack.js.map +1 -0
- package/lib/esm/backoffice/molecules/backoffice_status_group/BackofficeStatusGroup.js +8 -0
- package/lib/esm/backoffice/molecules/backoffice_status_group/BackofficeStatusGroup.js.map +1 -0
- package/lib/esm/backoffice/molecules/backoffice_status_meta_badge/BackofficeStatusMetaBadge.js +28 -0
- package/lib/esm/backoffice/molecules/backoffice_status_meta_badge/BackofficeStatusMetaBadge.js.map +1 -0
- package/lib/esm/backoffice/molecules/backoffice_status_meta_badge/backofficeStatusMetaBadge.css.js +8 -0
- package/lib/esm/backoffice/molecules/backoffice_status_meta_badge/backofficeStatusMetaBadge.css.js.map +1 -0
- package/lib/esm/backoffice/molecules/backoffice_toolbar/BackofficeToolbar.js +60 -0
- package/lib/esm/backoffice/molecules/backoffice_toolbar/BackofficeToolbar.js.map +1 -0
- package/lib/esm/backoffice/molecules/backoffice_toolbar/backofficeToolbar.css.js +14 -0
- package/lib/esm/backoffice/molecules/backoffice_toolbar/backofficeToolbar.css.js.map +1 -0
- package/lib/esm/backoffice/molecules/bulk_actions_bar/bulkActionsBar.css.js +1 -1
- package/lib/esm/backoffice/molecules/bulk_actions_bar/bulkActionsBar.css.js.map +1 -1
- package/lib/esm/backoffice/molecules/confirm_dialog/ConfirmDialog.js +3 -3
- package/lib/esm/backoffice/molecules/confirm_dialog/ConfirmDialog.js.map +1 -1
- package/lib/esm/backoffice/molecules/global_search_input/GlobalSearchInput.js +4 -4
- package/lib/esm/backoffice/molecules/sidebar_collapse_toggle/sidebarCollapseToggle.css.js +1 -1
- package/lib/esm/backoffice/molecules/sidebar_collapse_toggle/sidebarCollapseToggle.css.js.map +1 -1
- package/lib/esm/backoffice/molecules/sidebar_nav_item/SidebarNavItem.js +68 -68
- package/lib/esm/backoffice/molecules/sidebar_nav_item/SidebarNavItem.js.map +1 -1
- package/lib/esm/backoffice/molecules/sidebar_nav_item/sidebarNavItem.css.js +2 -2
- package/lib/esm/backoffice/molecules/sidebar_nav_item/sidebarNavItem.css.js.map +1 -1
- package/lib/esm/backoffice/molecules/sidebar_nav_section/SidebarNavSection.js +96 -96
- package/lib/esm/backoffice/molecules/sidebar_nav_section/SidebarNavSection.js.map +1 -1
- package/lib/esm/backoffice/molecules/sidebar_nav_section/sidebarNavSection.css.js +2 -2
- package/lib/esm/backoffice/molecules/sidebar_nav_section/sidebarNavSection.css.js.map +1 -1
- package/lib/esm/backoffice/molecules/sidebar_profile_menu/BackofficeSidebarProfileMenu.js +52 -52
- package/lib/esm/backoffice/molecules/sidebar_profile_menu/BackofficeSidebarProfileMenu.js.map +1 -1
- package/lib/esm/backoffice/molecules/sidebar_profile_menu/sidebarProfileMenu.css.js +6 -6
- package/lib/esm/backoffice/molecules/sidebar_profile_menu/sidebarProfileMenu.css.js.map +1 -1
- package/lib/esm/backoffice/organisms/audit_timeline/AuditTimeline.js +69 -34
- package/lib/esm/backoffice/organisms/audit_timeline/AuditTimeline.js.map +1 -1
- package/lib/esm/backoffice/organisms/audit_timeline/auditTimeline.css.js +22 -2
- package/lib/esm/backoffice/organisms/audit_timeline/auditTimeline.css.js.map +1 -1
- package/lib/esm/backoffice/organisms/backoffice_data_table/BackofficeDataTable.js +4 -4
- package/lib/esm/backoffice/organisms/backoffice_data_table/BackofficeDataTable.js.map +1 -1
- package/lib/esm/backoffice/templates/detail_page_template/DetailPageTemplate.js +70 -40
- package/lib/esm/backoffice/templates/detail_page_template/DetailPageTemplate.js.map +1 -1
- package/lib/esm/backoffice/templates/detail_page_template/detailPageTemplate.css.js +66 -3
- package/lib/esm/backoffice/templates/detail_page_template/detailPageTemplate.css.js.map +1 -1
- package/lib/esm/components/dashboard/activity_card/ActivityCard.js +4 -4
- package/lib/esm/components/dashboard/dashboard_metric_group/DashboardMetricGroup.css.js +9 -0
- package/lib/esm/components/dashboard/dashboard_metric_group/DashboardMetricGroup.css.js.map +1 -0
- package/lib/esm/components/dashboard/dashboard_metric_group/DashboardMetricGroup.js +30 -0
- package/lib/esm/components/dashboard/dashboard_metric_group/DashboardMetricGroup.js.map +1 -0
- package/lib/esm/components/dashboard/dashboard_panel/DashboardPanel.css.js +8 -0
- package/lib/esm/components/dashboard/dashboard_panel/DashboardPanel.css.js.map +1 -0
- package/lib/esm/components/dashboard/dashboard_panel/DashboardPanel.js +16 -0
- package/lib/esm/components/dashboard/dashboard_panel/DashboardPanel.js.map +1 -0
- package/lib/esm/components/dashboard/dashboard_quick_actions/DashboardQuickActions.css.js +8 -0
- package/lib/esm/components/dashboard/dashboard_quick_actions/DashboardQuickActions.css.js.map +1 -0
- package/lib/esm/components/dashboard/dashboard_quick_actions/DashboardQuickActions.js +27 -0
- package/lib/esm/components/dashboard/dashboard_quick_actions/DashboardQuickActions.js.map +1 -0
- package/lib/esm/components/dashboard/dashboard_status_list/DashboardStatusList.css.js +8 -0
- package/lib/esm/components/dashboard/dashboard_status_list/DashboardStatusList.css.js.map +1 -0
- package/lib/esm/components/dashboard/dashboard_status_list/DashboardStatusList.js +28 -0
- package/lib/esm/components/dashboard/dashboard_status_list/DashboardStatusList.js.map +1 -0
- package/lib/esm/components/dashboard/metric_card/MetricCard.css.js +30 -2
- package/lib/esm/components/dashboard/metric_card/MetricCard.css.js.map +1 -1
- package/lib/esm/components/dashboard/metric_card/MetricCard.js +40 -26
- package/lib/esm/components/dashboard/metric_card/MetricCard.js.map +1 -1
- package/lib/esm/components/dashboard/metric_tile_group/MetricTileGroup.css.js +23 -2
- package/lib/esm/components/dashboard/metric_tile_group/MetricTileGroup.css.js.map +1 -1
- package/lib/esm/components/dashboard/metric_tile_group/MetricTileGroup.js +16 -4
- package/lib/esm/components/dashboard/metric_tile_group/MetricTileGroup.js.map +1 -1
- package/lib/esm/components/dashboard/status_summary_panel/StatusSummaryPanel.js +4 -4
- package/lib/esm/components/dashboard/timeline_event_row/TimelineEventRow.css.js +14 -2
- package/lib/esm/components/dashboard/timeline_event_row/TimelineEventRow.css.js.map +1 -1
- package/lib/esm/components/dashboard/timeline_event_row/TimelineEventRow.js +46 -25
- package/lib/esm/components/dashboard/timeline_event_row/TimelineEventRow.js.map +1 -1
- package/lib/esm/components/data-table/DataTable.css.js +19 -19
- package/lib/esm/components/data-table/DataTable.css.js.map +1 -1
- package/lib/esm/components/data-table/DataTable.js +142 -76
- package/lib/esm/components/data-table/DataTable.js.map +1 -1
- package/lib/esm/components/data-table/ResponsiveRecordList.js.map +1 -1
- package/lib/esm/components/data-table/VirtualizedConnectionTable.css.js +2 -2
- package/lib/esm/components/data-table/VirtualizedConnectionTable.css.js.map +1 -1
- package/lib/esm/components/data-table/VirtualizedConnectionTable.js +177 -170
- package/lib/esm/components/data-table/VirtualizedConnectionTable.js.map +1 -1
- package/lib/esm/components/feedback/InlineBanner.js +49 -0
- package/lib/esm/components/feedback/InlineBanner.js.map +1 -0
- package/lib/esm/components/feedback/OperationFeedback.css.js +2 -2
- package/lib/esm/components/feedback/OperationFeedback.css.js.map +1 -1
- package/lib/esm/components/feedback/OperationFeedback.js +20 -24
- package/lib/esm/components/feedback/OperationFeedback.js.map +1 -1
- package/lib/esm/components/feedback/inlineBanner.css.js +19 -0
- package/lib/esm/components/feedback/inlineBanner.css.js.map +1 -0
- package/lib/esm/components/infinite/InfiniteScrollTrigger.js +31 -23
- package/lib/esm/components/infinite/InfiniteScrollTrigger.js.map +1 -1
- package/lib/esm/components/layout/ActionPanel.css.js +2 -2
- package/lib/esm/components/layout/ActionPanel.css.js.map +1 -1
- package/lib/esm/components/layout/ActionPanel.js +29 -35
- package/lib/esm/components/layout/ActionPanel.js.map +1 -1
- package/lib/esm/components/layout/PageShell.css.js +2 -20
- package/lib/esm/components/layout/PageShell.css.js.map +1 -1
- package/lib/esm/components/layout/PageShell.js +155 -279
- package/lib/esm/components/layout/PageShell.js.map +1 -1
- package/lib/esm/components/layout/ResizableSplitView.css.js +8 -0
- package/lib/esm/components/layout/ResizableSplitView.css.js.map +1 -0
- package/lib/esm/components/layout/ResizableSplitView.js +176 -0
- package/lib/esm/components/layout/ResizableSplitView.js.map +1 -0
- package/lib/esm/components/layout/Surface.css.js +41 -0
- package/lib/esm/components/layout/Surface.css.js.map +1 -0
- package/lib/esm/components/layout/Surface.js +61 -0
- package/lib/esm/components/layout/Surface.js.map +1 -0
- package/lib/esm/components/layout/toolbar/Toolbar.css.js +64 -0
- package/lib/esm/components/layout/toolbar/Toolbar.css.js.map +1 -0
- package/lib/esm/components/layout/toolbar/Toolbar.js +36 -0
- package/lib/esm/components/layout/toolbar/Toolbar.js.map +1 -0
- package/lib/esm/components/navigation/sidebar/SidebarNavigation.js +89 -0
- package/lib/esm/components/navigation/sidebar/SidebarNavigation.js.map +1 -0
- package/lib/esm/components/navigation/sidebar/SidebarNavigationItem.js +2 -0
- package/lib/esm/components/navigation/sidebar/SidebarNavigationSection.js +2 -0
- package/lib/esm/components/navigation/sidebar/SidebarProfileMenu.js +2 -0
- package/lib/esm/components/navigation/sidebar/sidebarNavigation.css.js +48 -0
- package/lib/esm/components/navigation/sidebar/sidebarNavigation.css.js.map +1 -0
- package/lib/esm/components/subscriptions/RefetchNeededBanner.js +16 -23
- package/lib/esm/components/subscriptions/RefetchNeededBanner.js.map +1 -1
- package/lib/esm/i18n/locales/en/ui.js +16 -5
- package/lib/esm/i18n/locales/en/ui.js.map +1 -1
- package/lib/esm/i18n/locales/fr/ui.js +16 -5
- package/lib/esm/i18n/locales/fr/ui.js.map +1 -1
- package/lib/esm/index.js +237 -233
- package/lib/esm/internal/data-table/virtualization.js +1 -1
- package/lib/esm/internal/data-table/virtualization.js.map +1 -1
- package/lib/esm/internal/infinite/infiniteLoad.js +23 -0
- package/lib/esm/internal/infinite/infiniteLoad.js.map +1 -0
- package/lib/esm/node_modules/dompurify/dist/purify.es.js +290 -246
- package/lib/esm/node_modules/dompurify/dist/purify.es.js.map +1 -1
- package/lib/esm/node_modules/katex/dist/katex.js +1561 -1599
- package/lib/esm/node_modules/katex/dist/katex.js.map +1 -1
- package/lib/esm/style.css +1 -1
- package/lib/esm/theme/backofficeTheme.css.js +100 -0
- package/lib/esm/theme/backofficeTheme.css.js.map +1 -1
- package/lib/esm/theme/publicTheme.css.js +100 -0
- package/lib/esm/theme/publicTheme.css.js.map +1 -1
- package/lib/esm/theme/theme.css.js +200 -0
- package/lib/esm/theme/themeContract.css.js +359 -309
- package/lib/esm/theme/themeContract.css.js.map +1 -1
- package/lib/types/admin/templates/admin_shell_layout/AdminShellLayout.d.ts +4 -4
- package/lib/types/admin/templates/admin_shell_layout/AdminShellLayout.d.ts.map +1 -1
- package/lib/types/atomic/atoms/badge/Badge.d.ts +3 -3
- package/lib/types/atomic/atoms/badge/Badge.d.ts.map +1 -1
- package/lib/types/atomic/atoms/error_message/ErrorMessage.d.ts +1 -1
- package/lib/types/atomic/atoms/error_message/ErrorMessage.d.ts.map +1 -1
- package/lib/types/atomic/molecules/card/Card.d.ts.map +1 -1
- package/lib/types/atomic/molecules/empty-state/EmptyState.css.d.ts +56 -5
- package/lib/types/atomic/molecules/empty-state/EmptyState.css.d.ts.map +1 -1
- package/lib/types/atomic/molecules/empty-state/EmptyState.d.ts +14 -4
- package/lib/types/atomic/molecules/empty-state/EmptyState.d.ts.map +1 -1
- package/lib/types/atomic/molecules/form_error/FormError.d.ts +5 -2
- package/lib/types/atomic/molecules/form_error/FormError.d.ts.map +1 -1
- package/lib/types/atomic/molecules/form_error/formError.css.d.ts.map +1 -1
- package/lib/types/atomic/molecules/tabs/Tabs.d.ts +16 -7
- package/lib/types/atomic/molecules/tabs/Tabs.d.ts.map +1 -1
- package/lib/types/atomic/molecules/tabs/tabs.css.d.ts +21 -2
- package/lib/types/atomic/molecules/tabs/tabs.css.d.ts.map +1 -1
- package/lib/types/backoffice/atoms/status_badge/StatusBadge.d.ts.map +1 -1
- package/lib/types/backoffice/molecules/backoffice_audit_metadata_panel/BackofficeAuditMetadataPanel.d.ts +21 -0
- package/lib/types/backoffice/molecules/backoffice_audit_metadata_panel/BackofficeAuditMetadataPanel.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/backoffice_detail_field/BackofficeDetailField.d.ts +17 -0
- package/lib/types/backoffice/molecules/backoffice_detail_field/BackofficeDetailField.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/backoffice_detail_field/backofficeDetailField.css.d.ts +14 -0
- package/lib/types/backoffice/molecules/backoffice_detail_field/backofficeDetailField.css.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/backoffice_detail_flag_tag/BackofficeDetailFlagTag.d.ts +11 -0
- package/lib/types/backoffice/molecules/backoffice_detail_flag_tag/BackofficeDetailFlagTag.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/backoffice_detail_flag_tag/backofficeDetailFlagTag.css.d.ts +4 -0
- package/lib/types/backoffice/molecules/backoffice_detail_flag_tag/backofficeDetailFlagTag.css.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/backoffice_detail_section/BackofficeDetailSection.d.ts +12 -0
- package/lib/types/backoffice/molecules/backoffice_detail_section/BackofficeDetailSection.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/backoffice_detail_section/backofficeDetailSection.css.d.ts +6 -0
- package/lib/types/backoffice/molecules/backoffice_detail_section/backofficeDetailSection.css.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/backoffice_detail_tagged_value/BackofficeDetailTaggedValue.d.ts +13 -0
- package/lib/types/backoffice/molecules/backoffice_detail_tagged_value/BackofficeDetailTaggedValue.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/backoffice_detail_tagged_value/backofficeDetailTaggedValue.css.d.ts +3 -0
- package/lib/types/backoffice/molecules/backoffice_detail_tagged_value/backofficeDetailTaggedValue.css.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/backoffice_empty_state/BackofficeEmptyState.d.ts.map +1 -1
- package/lib/types/backoffice/molecules/backoffice_enum_label/BackofficeEnumLabel.d.ts +9 -0
- package/lib/types/backoffice/molecules/backoffice_enum_label/BackofficeEnumLabel.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/backoffice_form_section/BackofficeFormSection.d.ts.map +1 -1
- package/lib/types/backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.d.ts +0 -3
- package/lib/types/backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.d.ts.map +1 -1
- package/lib/types/backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.helpers.d.ts +5 -0
- package/lib/types/backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.helpers.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/backoffice_key_value_list/BackofficeKeyValueList.d.ts +8 -2
- package/lib/types/backoffice/molecules/backoffice_key_value_list/BackofficeKeyValueList.d.ts.map +1 -1
- package/lib/types/backoffice/molecules/backoffice_key_value_list/backofficeKeyValueList.css.d.ts +3 -0
- package/lib/types/backoffice/molecules/backoffice_key_value_list/backofficeKeyValueList.css.d.ts.map +1 -1
- package/lib/types/backoffice/molecules/backoffice_list_footer/BackofficeListFooter.d.ts +23 -0
- package/lib/types/backoffice/molecules/backoffice_list_footer/BackofficeListFooter.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/backoffice_list_footer/BackofficeListFooter.helpers.d.ts +25 -0
- package/lib/types/backoffice/molecules/backoffice_list_footer/BackofficeListFooter.helpers.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/{backoffice_infinite_list_status/backofficeInfiniteListStatus.css.d.ts → backoffice_list_footer/backofficeListFooter.css.d.ts} +3 -2
- package/lib/types/backoffice/molecules/backoffice_list_footer/backofficeListFooter.css.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/backoffice_payload_viewer/BackofficePayloadViewer.d.ts +26 -0
- package/lib/types/backoffice/molecules/backoffice_payload_viewer/BackofficePayloadViewer.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/backoffice_payload_viewer/BackofficePayloadViewer.helpers.d.ts +7 -0
- package/lib/types/backoffice/molecules/backoffice_payload_viewer/BackofficePayloadViewer.helpers.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/backoffice_payload_viewer/backofficePayloadViewer.css.d.ts +6 -0
- package/lib/types/backoffice/molecules/backoffice_payload_viewer/backofficePayloadViewer.css.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/backoffice_picker/BackofficePicker.d.ts +35 -0
- package/lib/types/backoffice/molecules/backoffice_picker/BackofficePicker.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/backoffice_picker/backofficePicker.css.d.ts +9 -0
- package/lib/types/backoffice/molecules/backoffice_picker/backofficePicker.css.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/backoffice_reference_value/BackofficeReferenceValue.d.ts +10 -0
- package/lib/types/backoffice/molecules/backoffice_reference_value/BackofficeReferenceValue.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/backoffice_reference_value/backofficeReferenceValue.css.d.ts +3 -0
- package/lib/types/backoffice/molecules/backoffice_reference_value/backofficeReferenceValue.css.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/backoffice_scope_stack/BackofficeScopeStack.d.ts +15 -0
- package/lib/types/backoffice/molecules/backoffice_scope_stack/BackofficeScopeStack.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/backoffice_status_group/BackofficeStatusGroup.d.ts +8 -0
- package/lib/types/backoffice/molecules/backoffice_status_group/BackofficeStatusGroup.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/backoffice_status_meta_badge/BackofficeStatusMetaBadge.d.ts +14 -0
- package/lib/types/backoffice/molecules/backoffice_status_meta_badge/BackofficeStatusMetaBadge.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/backoffice_status_meta_badge/backofficeStatusMetaBadge.css.d.ts +2 -0
- package/lib/types/backoffice/molecules/backoffice_status_meta_badge/backofficeStatusMetaBadge.css.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/backoffice_toolbar/BackofficeToolbar.d.ts +22 -0
- package/lib/types/backoffice/molecules/backoffice_toolbar/BackofficeToolbar.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/backoffice_toolbar/backofficeToolbar.css.d.ts +18 -0
- package/lib/types/backoffice/molecules/backoffice_toolbar/backofficeToolbar.css.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/bulk_actions_bar/bulkActionsBar.css.d.ts.map +1 -1
- package/lib/types/backoffice/molecules/sidebar_collapse_toggle/sidebarCollapseToggle.css.d.ts.map +1 -1
- package/lib/types/backoffice/molecules/sidebar_nav_item/SidebarNavItem.d.ts +2 -1
- package/lib/types/backoffice/molecules/sidebar_nav_item/SidebarNavItem.d.ts.map +1 -1
- package/lib/types/backoffice/molecules/sidebar_nav_item/sidebarNavItem.css.d.ts +1 -0
- package/lib/types/backoffice/molecules/sidebar_nav_item/sidebarNavItem.css.d.ts.map +1 -1
- package/lib/types/backoffice/molecules/sidebar_nav_section/SidebarNavSection.d.ts.map +1 -1
- package/lib/types/backoffice/molecules/sidebar_nav_section/sidebarNavSection.css.d.ts +2 -0
- package/lib/types/backoffice/molecules/sidebar_nav_section/sidebarNavSection.css.d.ts.map +1 -1
- package/lib/types/backoffice/molecules/sidebar_profile_menu/BackofficeSidebarProfileMenu.d.ts.map +1 -1
- package/lib/types/backoffice/molecules/sidebar_profile_menu/sidebarProfileMenu.css.d.ts +8 -0
- package/lib/types/backoffice/molecules/sidebar_profile_menu/sidebarProfileMenu.css.d.ts.map +1 -1
- package/lib/types/backoffice/organisms/audit_timeline/AuditTimeline.d.ts +20 -2
- package/lib/types/backoffice/organisms/audit_timeline/AuditTimeline.d.ts.map +1 -1
- package/lib/types/backoffice/organisms/audit_timeline/auditTimeline.css.d.ts +32 -2
- package/lib/types/backoffice/organisms/audit_timeline/auditTimeline.css.d.ts.map +1 -1
- package/lib/types/backoffice/organisms/backoffice_data_table/BackofficeDataTable.d.ts +2 -2
- package/lib/types/backoffice/organisms/backoffice_data_table/BackofficeDataTable.d.ts.map +1 -1
- package/lib/types/backoffice/templates/detail_page_template/DetailPageTemplate.d.ts +12 -1
- package/lib/types/backoffice/templates/detail_page_template/DetailPageTemplate.d.ts.map +1 -1
- package/lib/types/backoffice/templates/detail_page_template/detailPageTemplate.css.d.ts +25 -4
- package/lib/types/backoffice/templates/detail_page_template/detailPageTemplate.css.d.ts.map +1 -1
- package/lib/types/components/dashboard/dashboard_metric_group/DashboardMetricGroup.css.d.ts +4 -0
- package/lib/types/components/dashboard/dashboard_metric_group/DashboardMetricGroup.css.d.ts.map +1 -0
- package/lib/types/components/dashboard/dashboard_metric_group/DashboardMetricGroup.d.ts +19 -0
- package/lib/types/components/dashboard/dashboard_metric_group/DashboardMetricGroup.d.ts.map +1 -0
- package/lib/types/components/dashboard/dashboard_panel/DashboardPanel.css.d.ts +2 -0
- package/lib/types/components/dashboard/dashboard_panel/DashboardPanel.css.d.ts.map +1 -0
- package/lib/types/components/dashboard/dashboard_panel/DashboardPanel.d.ts +11 -0
- package/lib/types/components/dashboard/dashboard_panel/DashboardPanel.d.ts.map +1 -0
- package/lib/types/components/dashboard/dashboard_quick_actions/DashboardQuickActions.css.d.ts +5 -0
- package/lib/types/components/dashboard/dashboard_quick_actions/DashboardQuickActions.css.d.ts.map +1 -0
- package/lib/types/components/dashboard/dashboard_quick_actions/DashboardQuickActions.d.ts +14 -0
- package/lib/types/components/dashboard/dashboard_quick_actions/DashboardQuickActions.d.ts.map +1 -0
- package/lib/types/components/dashboard/dashboard_status_list/DashboardStatusList.css.d.ts +6 -0
- package/lib/types/components/dashboard/dashboard_status_list/DashboardStatusList.css.d.ts.map +1 -0
- package/lib/types/components/dashboard/dashboard_status_list/DashboardStatusList.d.ts +14 -0
- package/lib/types/components/dashboard/dashboard_status_list/DashboardStatusList.d.ts.map +1 -0
- package/lib/types/components/dashboard/metric_card/MetricCard.css.d.ts +38 -1
- package/lib/types/components/dashboard/metric_card/MetricCard.css.d.ts.map +1 -1
- package/lib/types/components/dashboard/metric_card/MetricCard.d.ts +7 -1
- package/lib/types/components/dashboard/metric_card/MetricCard.d.ts.map +1 -1
- package/lib/types/components/dashboard/metric_tile_group/MetricTileGroup.css.d.ts +17 -1
- package/lib/types/components/dashboard/metric_tile_group/MetricTileGroup.css.d.ts.map +1 -1
- package/lib/types/components/dashboard/metric_tile_group/MetricTileGroup.d.ts +4 -1
- package/lib/types/components/dashboard/metric_tile_group/MetricTileGroup.d.ts.map +1 -1
- package/lib/types/components/dashboard/timeline_event_row/TimelineEventRow.css.d.ts +31 -2
- package/lib/types/components/dashboard/timeline_event_row/TimelineEventRow.css.d.ts.map +1 -1
- package/lib/types/components/dashboard/timeline_event_row/TimelineEventRow.d.ts +8 -3
- package/lib/types/components/dashboard/timeline_event_row/TimelineEventRow.d.ts.map +1 -1
- package/lib/types/components/data-table/DataTable.css.d.ts +1 -0
- package/lib/types/components/data-table/DataTable.css.d.ts.map +1 -1
- package/lib/types/components/data-table/DataTable.d.ts +54 -3
- package/lib/types/components/data-table/DataTable.d.ts.map +1 -1
- package/lib/types/components/data-table/ResponsiveRecordList.d.ts +1 -4
- package/lib/types/components/data-table/ResponsiveRecordList.d.ts.map +1 -1
- package/lib/types/components/data-table/VirtualizedConnectionTable.css.d.ts +0 -1
- package/lib/types/components/data-table/VirtualizedConnectionTable.css.d.ts.map +1 -1
- package/lib/types/components/data-table/VirtualizedConnectionTable.d.ts +11 -5
- package/lib/types/components/data-table/VirtualizedConnectionTable.d.ts.map +1 -1
- package/lib/types/{backoffice/molecules/inline_banner → components/feedback}/InlineBanner.d.ts +4 -2
- package/lib/types/components/feedback/InlineBanner.d.ts.map +1 -0
- package/lib/types/components/feedback/OperationFeedback.css.d.ts +0 -1
- package/lib/types/components/feedback/OperationFeedback.css.d.ts.map +1 -1
- package/lib/types/components/feedback/OperationFeedback.d.ts.map +1 -1
- package/lib/types/components/feedback/inlineBanner.css.d.ts.map +1 -0
- package/lib/types/components/infinite/InfiniteScrollTrigger.d.ts.map +1 -1
- package/lib/types/components/layout/ActionPanel.css.d.ts +1 -0
- package/lib/types/components/layout/ActionPanel.css.d.ts.map +1 -1
- package/lib/types/components/layout/ActionPanel.d.ts.map +1 -1
- package/lib/types/components/layout/PageShell.css.d.ts +1 -14
- package/lib/types/components/layout/PageShell.css.d.ts.map +1 -1
- package/lib/types/components/layout/PageShell.d.ts +1 -3
- package/lib/types/components/layout/PageShell.d.ts.map +1 -1
- package/lib/types/components/layout/ResizableSplitView.css.d.ts +8 -0
- package/lib/types/components/layout/ResizableSplitView.css.d.ts.map +1 -0
- package/lib/types/components/layout/ResizableSplitView.d.ts +27 -0
- package/lib/types/components/layout/ResizableSplitView.d.ts.map +1 -0
- package/lib/types/components/layout/Surface.css.d.ts +31 -0
- package/lib/types/components/layout/Surface.css.d.ts.map +1 -0
- package/lib/types/components/layout/Surface.d.ts +30 -0
- package/lib/types/components/layout/Surface.d.ts.map +1 -0
- package/lib/types/components/layout/toolbar/Toolbar.css.d.ts +40 -0
- package/lib/types/components/layout/toolbar/Toolbar.css.d.ts.map +1 -0
- package/lib/types/components/layout/toolbar/Toolbar.d.ts +35 -0
- package/lib/types/components/layout/toolbar/Toolbar.d.ts.map +1 -0
- package/lib/types/components/navigation/sidebar/SidebarNavigation.d.ts +57 -0
- package/lib/types/components/navigation/sidebar/SidebarNavigation.d.ts.map +1 -0
- package/lib/types/components/navigation/sidebar/SidebarNavigationItem.d.ts +2 -0
- package/lib/types/components/navigation/sidebar/SidebarNavigationItem.d.ts.map +1 -0
- package/lib/types/components/navigation/sidebar/SidebarNavigationSection.d.ts +2 -0
- package/lib/types/components/navigation/sidebar/SidebarNavigationSection.d.ts.map +1 -0
- package/lib/types/components/navigation/sidebar/SidebarProfileMenu.d.ts +2 -0
- package/lib/types/components/navigation/sidebar/SidebarProfileMenu.d.ts.map +1 -0
- package/lib/types/components/navigation/sidebar/sidebarNavigation.css.d.ts +19 -0
- package/lib/types/components/navigation/sidebar/sidebarNavigation.css.d.ts.map +1 -0
- package/lib/types/components/subscriptions/RefetchNeededBanner.d.ts.map +1 -1
- package/lib/types/i18n/resources.d.ts +32 -14
- package/lib/types/i18n/resources.d.ts.map +1 -1
- package/lib/types/index.d.ts +33 -33
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/internal/data-table/virtualization.d.ts +2 -2
- package/lib/types/internal/data-table/virtualization.d.ts.map +1 -1
- package/lib/types/internal/infinite/infiniteLoad.d.ts +27 -0
- package/lib/types/internal/infinite/infiniteLoad.d.ts.map +1 -0
- package/lib/types/theme/backofficeTheme.css.d.ts +100 -0
- package/lib/types/theme/backofficeTheme.css.d.ts.map +1 -1
- package/lib/types/theme/publicTheme.css.d.ts +100 -0
- package/lib/types/theme/publicTheme.css.d.ts.map +1 -1
- package/lib/types/theme/sprinkles.css.d.ts +2 -2
- package/lib/types/theme/themeContract.css.d.ts +50 -0
- package/lib/types/theme/themeContract.css.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/i18n/locales/en/ui.json +16 -7
- package/src/i18n/locales/fr/ui.json +16 -7
- package/lib/esm/atomic/molecules/card/Card.css.js +0 -8
- package/lib/esm/atomic/molecules/card/Card.css.js.map +0 -1
- package/lib/esm/atomic/molecules/form/FormErrorBanner.css.js +0 -8
- package/lib/esm/atomic/molecules/form/FormErrorBanner.css.js.map +0 -1
- package/lib/esm/atomic/molecules/form/FormErrorBanner.js +0 -17
- package/lib/esm/atomic/molecules/form/FormErrorBanner.js.map +0 -1
- package/lib/esm/atomic/templates/detail-page/DetailPage.js +0 -49
- package/lib/esm/atomic/templates/detail-page/DetailPage.js.map +0 -1
- package/lib/esm/atomic/templates/detail-page/detailPage.css.js +0 -8
- package/lib/esm/atomic/templates/detail-page/detailPage.css.js.map +0 -1
- package/lib/esm/backoffice/molecules/backoffice_detail_layout/BackofficeDetailLayout.js +0 -33
- package/lib/esm/backoffice/molecules/backoffice_detail_layout/BackofficeDetailLayout.js.map +0 -1
- package/lib/esm/backoffice/molecules/backoffice_detail_layout/backofficeDetailLayout.css.js +0 -8
- package/lib/esm/backoffice/molecules/backoffice_detail_layout/backofficeDetailLayout.css.js.map +0 -1
- package/lib/esm/backoffice/molecules/backoffice_empty_state/backofficeEmptyState.css.js +0 -8
- package/lib/esm/backoffice/molecules/backoffice_empty_state/backofficeEmptyState.css.js.map +0 -1
- package/lib/esm/backoffice/molecules/backoffice_filters_bar/BackofficeFiltersBar.js +0 -36
- package/lib/esm/backoffice/molecules/backoffice_filters_bar/BackofficeFiltersBar.js.map +0 -1
- package/lib/esm/backoffice/molecules/backoffice_filters_bar/backofficeFiltersBar.css.js +0 -8
- package/lib/esm/backoffice/molecules/backoffice_filters_bar/backofficeFiltersBar.css.js.map +0 -1
- package/lib/esm/backoffice/molecules/backoffice_form_section/backofficeFormSection.css.js +0 -8
- package/lib/esm/backoffice/molecules/backoffice_form_section/backofficeFormSection.css.js.map +0 -1
- package/lib/esm/backoffice/molecules/backoffice_infinite_list_status/BackofficeInfiniteListStatus.js +0 -37
- package/lib/esm/backoffice/molecules/backoffice_infinite_list_status/BackofficeInfiniteListStatus.js.map +0 -1
- package/lib/esm/backoffice/molecules/backoffice_infinite_list_status/backofficeInfiniteListStatus.css.js +0 -8
- package/lib/esm/backoffice/molecules/backoffice_infinite_list_status/backofficeInfiniteListStatus.css.js.map +0 -1
- package/lib/esm/backoffice/molecules/backoffice_load_more/BackofficeLoadMore.js +0 -35
- package/lib/esm/backoffice/molecules/backoffice_load_more/BackofficeLoadMore.js.map +0 -1
- package/lib/esm/backoffice/molecules/backoffice_load_more/backofficeLoadMore.css.js +0 -8
- package/lib/esm/backoffice/molecules/backoffice_load_more/backofficeLoadMore.css.js.map +0 -1
- package/lib/esm/backoffice/molecules/backoffice_table_toolbar/BackofficeTableToolbar.js +0 -41
- package/lib/esm/backoffice/molecules/backoffice_table_toolbar/BackofficeTableToolbar.js.map +0 -1
- package/lib/esm/backoffice/molecules/backoffice_table_toolbar/backofficeTableToolbar.css.js +0 -8
- package/lib/esm/backoffice/molecules/backoffice_table_toolbar/backofficeTableToolbar.css.js.map +0 -1
- package/lib/esm/backoffice/molecules/backoffice_tabs/BackofficeTabs.js +0 -46
- package/lib/esm/backoffice/molecules/backoffice_tabs/BackofficeTabs.js.map +0 -1
- package/lib/esm/backoffice/molecules/backoffice_tabs/backofficeTabs.css.js +0 -17
- package/lib/esm/backoffice/molecules/backoffice_tabs/backofficeTabs.css.js.map +0 -1
- package/lib/esm/backoffice/molecules/inline_banner/InlineBanner.js +0 -46
- package/lib/esm/backoffice/molecules/inline_banner/InlineBanner.js.map +0 -1
- package/lib/esm/backoffice/molecules/inline_banner/inlineBanner.css.js +0 -19
- package/lib/esm/backoffice/molecules/inline_banner/inlineBanner.css.js.map +0 -1
- package/lib/esm/backoffice/molecules/table_toolbar/TableToolbar.js +0 -41
- package/lib/esm/backoffice/molecules/table_toolbar/TableToolbar.js.map +0 -1
- package/lib/esm/backoffice/molecules/table_toolbar/tableToolbar.css.js +0 -8
- package/lib/esm/backoffice/molecules/table_toolbar/tableToolbar.css.js.map +0 -1
- package/lib/esm/backoffice/organisms/backoffice_virtualized_connection_table/BackofficeVirtualizedConnectionTable.js +0 -26
- package/lib/esm/backoffice/organisms/backoffice_virtualized_connection_table/BackofficeVirtualizedConnectionTable.js.map +0 -1
- package/lib/esm/backoffice/organisms/backoffice_virtualized_connection_table/backofficeVirtualizedConnectionTable.css.js +0 -8
- package/lib/esm/backoffice/organisms/backoffice_virtualized_connection_table/backofficeVirtualizedConnectionTable.css.js.map +0 -1
- package/lib/esm/backoffice/organisms/backoffice_virtualized_connection_table/helpers.js +0 -18
- package/lib/esm/backoffice/organisms/backoffice_virtualized_connection_table/helpers.js.map +0 -1
- package/lib/esm/components/dashboard/section_nav/SectionNav.css.js +0 -8
- package/lib/esm/components/dashboard/section_nav/SectionNav.css.js.map +0 -1
- package/lib/esm/components/dashboard/section_nav/SectionNav.js +0 -25
- package/lib/esm/components/dashboard/section_nav/SectionNav.js.map +0 -1
- package/lib/esm/components/dashboard/segmented_nav/SegmentedNav.css.js +0 -8
- package/lib/esm/components/dashboard/segmented_nav/SegmentedNav.css.js.map +0 -1
- package/lib/esm/components/dashboard/segmented_nav/SegmentedNav.js +0 -24
- package/lib/esm/components/dashboard/segmented_nav/SegmentedNav.js.map +0 -1
- package/lib/esm/components/layout/AppShell.js +0 -19
- package/lib/esm/components/layout/AppShell.js.map +0 -1
- package/lib/esm/components/layout/SidebarPageLayout.js +0 -16
- package/lib/esm/components/layout/SidebarPageLayout.js.map +0 -1
- package/lib/esm/components/layout/SplitViewLayout.css.js +0 -8
- package/lib/esm/components/layout/SplitViewLayout.css.js.map +0 -1
- package/lib/esm/components/layout/SplitViewLayout.js +0 -18
- package/lib/esm/components/layout/SplitViewLayout.js.map +0 -1
- package/lib/esm/components/layout/TabsContentLayout.css.js +0 -8
- package/lib/esm/components/layout/TabsContentLayout.css.js.map +0 -1
- package/lib/esm/components/layout/TabsContentLayout.js +0 -31
- package/lib/esm/components/layout/TabsContentLayout.js.map +0 -1
- package/lib/esm/components/layout/ToolbarRow.css.js +0 -8
- package/lib/esm/components/layout/ToolbarRow.css.js.map +0 -1
- package/lib/esm/components/layout/ToolbarRow.js +0 -12
- package/lib/esm/components/layout/ToolbarRow.js.map +0 -1
- package/lib/esm/components/subscriptions/RefetchNeededBanner.css.js +0 -8
- package/lib/esm/components/subscriptions/RefetchNeededBanner.css.js.map +0 -1
- package/lib/types/atomic/molecules/card/Card.css.d.ts +0 -5
- package/lib/types/atomic/molecules/card/Card.css.d.ts.map +0 -1
- package/lib/types/atomic/molecules/form/FormErrorBanner.css.d.ts +0 -2
- package/lib/types/atomic/molecules/form/FormErrorBanner.css.d.ts.map +0 -1
- package/lib/types/atomic/molecules/form/FormErrorBanner.d.ts +0 -7
- package/lib/types/atomic/molecules/form/FormErrorBanner.d.ts.map +0 -1
- package/lib/types/atomic/templates/detail-page/DetailPage.d.ts +0 -19
- package/lib/types/atomic/templates/detail-page/DetailPage.d.ts.map +0 -1
- package/lib/types/atomic/templates/detail-page/detailPage.css.d.ts +0 -9
- package/lib/types/atomic/templates/detail-page/detailPage.css.d.ts.map +0 -1
- package/lib/types/backoffice/molecules/backoffice_detail_layout/BackofficeDetailLayout.d.ts +0 -10
- package/lib/types/backoffice/molecules/backoffice_detail_layout/BackofficeDetailLayout.d.ts.map +0 -1
- package/lib/types/backoffice/molecules/backoffice_detail_layout/backofficeDetailLayout.css.d.ts +0 -7
- package/lib/types/backoffice/molecules/backoffice_detail_layout/backofficeDetailLayout.css.d.ts.map +0 -1
- package/lib/types/backoffice/molecules/backoffice_empty_state/backofficeEmptyState.css.d.ts +0 -6
- package/lib/types/backoffice/molecules/backoffice_empty_state/backofficeEmptyState.css.d.ts.map +0 -1
- package/lib/types/backoffice/molecules/backoffice_filters_bar/BackofficeFiltersBar.d.ts +0 -13
- package/lib/types/backoffice/molecules/backoffice_filters_bar/BackofficeFiltersBar.d.ts.map +0 -1
- package/lib/types/backoffice/molecules/backoffice_filters_bar/backofficeFiltersBar.css.d.ts +0 -6
- package/lib/types/backoffice/molecules/backoffice_filters_bar/backofficeFiltersBar.css.d.ts.map +0 -1
- package/lib/types/backoffice/molecules/backoffice_form_section/backofficeFormSection.css.d.ts +0 -5
- package/lib/types/backoffice/molecules/backoffice_form_section/backofficeFormSection.css.d.ts.map +0 -1
- package/lib/types/backoffice/molecules/backoffice_infinite_list_status/BackofficeInfiniteListStatus.d.ts +0 -16
- package/lib/types/backoffice/molecules/backoffice_infinite_list_status/BackofficeInfiniteListStatus.d.ts.map +0 -1
- package/lib/types/backoffice/molecules/backoffice_infinite_list_status/backofficeInfiniteListStatus.css.d.ts.map +0 -1
- package/lib/types/backoffice/molecules/backoffice_load_more/BackofficeLoadMore.d.ts +0 -13
- package/lib/types/backoffice/molecules/backoffice_load_more/BackofficeLoadMore.d.ts.map +0 -1
- package/lib/types/backoffice/molecules/backoffice_load_more/backofficeLoadMore.css.d.ts +0 -5
- package/lib/types/backoffice/molecules/backoffice_load_more/backofficeLoadMore.css.d.ts.map +0 -1
- package/lib/types/backoffice/molecules/backoffice_table_toolbar/BackofficeTableToolbar.d.ts +0 -16
- package/lib/types/backoffice/molecules/backoffice_table_toolbar/BackofficeTableToolbar.d.ts.map +0 -1
- package/lib/types/backoffice/molecules/backoffice_table_toolbar/backofficeTableToolbar.css.d.ts +0 -10
- package/lib/types/backoffice/molecules/backoffice_table_toolbar/backofficeTableToolbar.css.d.ts.map +0 -1
- package/lib/types/backoffice/molecules/backoffice_tabs/BackofficeTabs.d.ts +0 -19
- package/lib/types/backoffice/molecules/backoffice_tabs/BackofficeTabs.d.ts.map +0 -1
- package/lib/types/backoffice/molecules/backoffice_tabs/backofficeTabs.css.d.ts +0 -15
- package/lib/types/backoffice/molecules/backoffice_tabs/backofficeTabs.css.d.ts.map +0 -1
- package/lib/types/backoffice/molecules/inline_banner/InlineBanner.d.ts.map +0 -1
- package/lib/types/backoffice/molecules/inline_banner/inlineBanner.css.d.ts.map +0 -1
- package/lib/types/backoffice/molecules/table_toolbar/TableToolbar.d.ts +0 -13
- package/lib/types/backoffice/molecules/table_toolbar/TableToolbar.d.ts.map +0 -1
- package/lib/types/backoffice/molecules/table_toolbar/tableToolbar.css.d.ts +0 -6
- package/lib/types/backoffice/molecules/table_toolbar/tableToolbar.css.d.ts.map +0 -1
- package/lib/types/backoffice/organisms/backoffice_virtualized_connection_table/BackofficeVirtualizedConnectionTable.d.ts +0 -31
- package/lib/types/backoffice/organisms/backoffice_virtualized_connection_table/BackofficeVirtualizedConnectionTable.d.ts.map +0 -1
- package/lib/types/backoffice/organisms/backoffice_virtualized_connection_table/backofficeVirtualizedConnectionTable.css.d.ts +0 -5
- package/lib/types/backoffice/organisms/backoffice_virtualized_connection_table/backofficeVirtualizedConnectionTable.css.d.ts.map +0 -1
- package/lib/types/backoffice/organisms/backoffice_virtualized_connection_table/helpers.d.ts +0 -5
- package/lib/types/backoffice/organisms/backoffice_virtualized_connection_table/helpers.d.ts.map +0 -1
- package/lib/types/components/dashboard/section_nav/SectionNav.css.d.ts +0 -4
- package/lib/types/components/dashboard/section_nav/SectionNav.css.d.ts.map +0 -1
- package/lib/types/components/dashboard/section_nav/SectionNav.d.ts +0 -15
- package/lib/types/components/dashboard/section_nav/SectionNav.d.ts.map +0 -1
- package/lib/types/components/dashboard/segmented_nav/SegmentedNav.css.d.ts +0 -4
- package/lib/types/components/dashboard/segmented_nav/SegmentedNav.css.d.ts.map +0 -1
- package/lib/types/components/dashboard/segmented_nav/SegmentedNav.d.ts +0 -15
- package/lib/types/components/dashboard/segmented_nav/SegmentedNav.d.ts.map +0 -1
- package/lib/types/components/layout/AppShell.d.ts +0 -17
- package/lib/types/components/layout/AppShell.d.ts.map +0 -1
- package/lib/types/components/layout/SidebarPageLayout.d.ts +0 -15
- package/lib/types/components/layout/SidebarPageLayout.d.ts.map +0 -1
- package/lib/types/components/layout/SplitViewLayout.css.d.ts +0 -3
- package/lib/types/components/layout/SplitViewLayout.css.d.ts.map +0 -1
- package/lib/types/components/layout/SplitViewLayout.d.ts +0 -11
- package/lib/types/components/layout/SplitViewLayout.d.ts.map +0 -1
- package/lib/types/components/layout/TabsContentLayout.css.d.ts +0 -6
- package/lib/types/components/layout/TabsContentLayout.css.d.ts.map +0 -1
- package/lib/types/components/layout/TabsContentLayout.d.ts +0 -9
- package/lib/types/components/layout/TabsContentLayout.d.ts.map +0 -1
- package/lib/types/components/layout/ToolbarRow.css.d.ts +0 -2
- package/lib/types/components/layout/ToolbarRow.css.d.ts.map +0 -1
- package/lib/types/components/layout/ToolbarRow.d.ts +0 -8
- package/lib/types/components/layout/ToolbarRow.d.ts.map +0 -1
- package/lib/types/components/subscriptions/RefetchNeededBanner.css.d.ts +0 -5
- package/lib/types/components/subscriptions/RefetchNeededBanner.css.d.ts.map +0 -1
- /package/lib/types/{backoffice/molecules/inline_banner → components/feedback}/inlineBanner.css.d.ts +0 -0
package/README.md
CHANGED
|
@@ -60,22 +60,83 @@ flat mental model.
|
|
|
60
60
|
### Primitives and forms
|
|
61
61
|
|
|
62
62
|
- `Button`, `LinkButton`, `Input`, `Textarea`, `Checkbox`
|
|
63
|
-
- `Label`, `
|
|
63
|
+
- `Label`, `Form`, `FormField`, `FormGroup`
|
|
64
|
+
- `ErrorMessage` is the field-level error text primitive. Use it for messages
|
|
65
|
+
tied to a single control through `aria-describedby`.
|
|
66
|
+
- `FormError` is the canonical form-level error block for submit failures and
|
|
67
|
+
validation summaries inside form surfaces.
|
|
68
|
+
- `InlineBanner` is the canonical general notice/banner primitive for
|
|
69
|
+
non-field feedback. It supports info, success, warning, and danger tones,
|
|
70
|
+
titles, descriptions, actions, dismiss controls, and explicit live-region
|
|
71
|
+
overrides.
|
|
72
|
+
- `EmptyState` is the canonical empty-state component. Use
|
|
73
|
+
`variant="framed"` for card-backed surfaces, `variant="plain"` for inline
|
|
74
|
+
backoffice-style surfaces, `density="compact"` for dense lists, and `tone`
|
|
75
|
+
for neutral, muted, info, success, warning, or danger emphasis.
|
|
64
76
|
- `ToastProvider`, `ToastViewport`
|
|
65
77
|
|
|
66
78
|
### Layouts and shells
|
|
67
79
|
|
|
68
|
-
- `
|
|
69
|
-
- `
|
|
80
|
+
- `PageShell`, `AdminShellLayout`, `SidebarNavigation`
|
|
81
|
+
- `Surface` is the canonical structured surface primitive for titled content,
|
|
82
|
+
optional descriptions, actions, body content, and footers. It supports
|
|
83
|
+
`div`, `section`, and `article` roots plus visual variants for brand,
|
|
84
|
+
neutral, muted, and plain surfaces.
|
|
85
|
+
- `SurfaceSection` wraps `Surface` for accessible titled sections and wires
|
|
86
|
+
`aria-labelledby` automatically when a title is present.
|
|
87
|
+
- `ContentLayout`, `ResizableSplitView`, `PanelShell`
|
|
88
|
+
- `ResizableSplitView` is the canonical split-view primitive for optional,
|
|
89
|
+
resizable side panels. It supports controlled and persisted widths,
|
|
90
|
+
pointer and keyboard resizing, stacked layouts below a breakpoint, and
|
|
91
|
+
accessible separator semantics.
|
|
92
|
+
- `Toolbar`, `ToolbarGroup`, `ToolbarSpacer`, `ToolbarSeparator`
|
|
93
|
+
- `SettingsLayout` for settings-oriented content with local navigation
|
|
94
|
+
- `Card`, `PanelShell`, `ActionPanel`, and `BackofficeFormSection` remain
|
|
95
|
+
compatible wrappers or specialized compositions on top of the canonical
|
|
96
|
+
surface primitives.
|
|
70
97
|
|
|
71
98
|
### Data-heavy and dashboard components
|
|
72
99
|
|
|
73
|
-
- `DataTable
|
|
74
|
-
- `
|
|
100
|
+
- `DataTable` is the canonical high-level table for static and paginated data.
|
|
101
|
+
- `DataTableRoot`, `DataTableHeader`, `DataTableBody`, `DataTableRow`, and
|
|
102
|
+
`DataTableEmptyRow` expose the same public rendering primitives for advanced
|
|
103
|
+
table composition without duplicating cell, header, density, breakpoint, empty
|
|
104
|
+
state, or contained-scroll behavior.
|
|
105
|
+
- `VirtualizedConnectionTable` is the specialized table for virtualized
|
|
106
|
+
connection lists and infinite loading. It shares the `DataTable` primitives
|
|
107
|
+
for table rendering while keeping virtualization and scroll-trigger behavior
|
|
108
|
+
separate from the base table API.
|
|
109
|
+
- `ResponsiveRecordList` adapts the same table columns between table and mobile
|
|
110
|
+
card layouts.
|
|
111
|
+
- `BackofficeDataTable` composes selection, bulk actions, and toolbar behavior
|
|
112
|
+
on top of `DataTable`; virtualized backoffice lists use
|
|
113
|
+
`VirtualizedConnectionTable` directly.
|
|
114
|
+
- `MetricCard` and `MetricTileGroup` are the canonical KPI primitives. They
|
|
115
|
+
support metric tones, compact density, copyable values, and configurable
|
|
116
|
+
responsive tile widths without changing their default rendering.
|
|
117
|
+
- `DashboardPanel`, `DashboardMetricGroup`, `DashboardQuickActions`, and
|
|
118
|
+
`DashboardStatusList` provide the canonical visual widgets for dashboard
|
|
119
|
+
panels, linked metric groups, shortcut lists, and status summaries.
|
|
120
|
+
- `StatusSummaryPanel`
|
|
75
121
|
- `ActivityFeed`, `TimelineEventRow`, `InfoTile`
|
|
122
|
+
- `TimelineEventRow` is the reusable dashboard timeline row primitive. It uses
|
|
123
|
+
the canonical event vocabulary (`title`, `time` or `timestamp`,
|
|
124
|
+
`description`, `meta`, `metrics`, `details`, and semantic `tone`) while
|
|
125
|
+
keeping relative timestamp rendering available through `RelativeTimeText`.
|
|
76
126
|
|
|
77
127
|
### Formatting helpers
|
|
78
128
|
|
|
129
|
+
- `HighlightCode` is the general code-display primitive. It supports a badge,
|
|
130
|
+
copy action, placeholder text, highlighted HTML/React content, and a plain
|
|
131
|
+
preformatted fallback.
|
|
132
|
+
- `BackofficeJsonViewer` is the canonical structured JSON viewer for
|
|
133
|
+
backoffice surfaces. It safely stringifies unknown values, exposes copy and
|
|
134
|
+
collapse/expand controls, and accepts max-height and label overrides.
|
|
135
|
+
- `BackofficePayloadViewer` is the canonical backoffice payload viewer for
|
|
136
|
+
`json`, `markdown`, `text`, and `code` payloads. Use it inside detail
|
|
137
|
+
sections or tool output surfaces for empty states, summaries, collapsible
|
|
138
|
+
details, copyable text/code, markdown rendering, and JSON rendering through
|
|
139
|
+
`BackofficeJsonViewer`.
|
|
79
140
|
- `MoneyAmount` renders a currency amount from `amount` and `currency`
|
|
80
141
|
props with fixed two-decimal formatting.
|
|
81
142
|
- `formatCurrencyAmount({ amount, currency })` provides the same formatting
|
|
@@ -83,26 +144,79 @@ flat mental model.
|
|
|
83
144
|
|
|
84
145
|
### Backoffice visual components
|
|
85
146
|
|
|
86
|
-
-
|
|
87
|
-
|
|
88
|
-
-
|
|
89
|
-
|
|
90
|
-
|
|
147
|
+
- `Badge` is the low-level inline visual marker. It supports neutral, info,
|
|
148
|
+
success, warning, danger, and accent tones plus a loading shimmer.
|
|
149
|
+
- `StatusBadge` maps semantic status tones to badge tones and can show an
|
|
150
|
+
optional status dot.
|
|
151
|
+
- `Tag` is the compact pill component for short labels and optional removable
|
|
152
|
+
filters. Use `title`, `onRemove`, and `removeLabel` for accessible removable
|
|
153
|
+
tags.
|
|
154
|
+
- `EnvironmentBadge` and `BackofficeIdBadge` remain specialized public badge
|
|
155
|
+
compositions for environment labels and copyable IDs.
|
|
156
|
+
- Detail badge/value compositions are available for backoffice entity pages:
|
|
157
|
+
`BackofficeStatusMetaBadge`, `BackofficeStatusGroup`,
|
|
158
|
+
`BackofficeDetailFlagTag`, `BackofficeDetailTaggedValue`,
|
|
159
|
+
`BackofficeReferenceValue`, and `BackofficeEnumLabel`.
|
|
160
|
+
- `BackofficeKeyValueList` is the canonical definition-list renderer for
|
|
161
|
+
backoffice label/value metadata. It supports surface or plain rendering,
|
|
162
|
+
split, stack, and grid layouts, custom empty labels, and React node values.
|
|
163
|
+
- spinners and skeletons
|
|
164
|
+
- `BackofficeToolbar` is the canonical list/table toolbar for search, filters,
|
|
165
|
+
sorting, actions, and active chips.
|
|
166
|
+
- `BackofficeListFooter` is the canonical infinite-list footer for status-only
|
|
167
|
+
and button-driven loading flows. Keep load-more status, loaded counts,
|
|
168
|
+
spinners, and manual load buttons there rather than rebuilding list footers
|
|
169
|
+
around `InfiniteScrollTrigger`.
|
|
170
|
+
- `BackofficeEmptyState` is a compatibility wrapper around `EmptyState` with the
|
|
171
|
+
plain, compact backoffice defaults.
|
|
172
|
+
- `BackofficePickerShell`, `BackofficePickerList`, and `BackofficePickerRow`
|
|
173
|
+
are the canonical visual primitives for searchable backoffice pickers. They
|
|
174
|
+
own the search input layout, listbox/option rendering, empty state, and row
|
|
175
|
+
truncation; application integrations should pass already-resolved picker
|
|
176
|
+
items and keep manifest, Relay, and domain behavior outside `@plumile/ui`.
|
|
177
|
+
- filter drawers and confirm dialogs stay separate from picker primitives
|
|
178
|
+
because their navigation, action, and confirmation semantics differ.
|
|
179
|
+
- backoffice data-table wrappers and detail visual helpers, including
|
|
180
|
+
`BackofficeDetailField` and `BackofficeDetailSection` for generic titled
|
|
181
|
+
detail sections and copyable field values, plus `BackofficeScopeStack` and
|
|
182
|
+
`BackofficeAuditMetadataPanel` for canonical scope/context and audit
|
|
183
|
+
metadata sections
|
|
184
|
+
- `AuditTimeline` is the canonical visual timeline for backoffice lifecycle and
|
|
185
|
+
audit history. It renders ordered `ol`/`li` events with title, time,
|
|
186
|
+
description, actor, source, meta, metrics, details, density, custom
|
|
187
|
+
`renderEvent`, and neutral/info/success/warning/danger tones. Empty timelines
|
|
188
|
+
render `null` unless `emptyState` is supplied.
|
|
189
|
+
- `DetailPageTemplate`, `DetailPageTemplateContent`, and `ListPageTemplate` are
|
|
190
|
+
the canonical backoffice page templates for detail and list screens.
|
|
191
|
+
- `SidebarNavigation`, including collapsible sections, collapsed rail mode,
|
|
192
|
+
profile footer composition, and optional sortable sections for backoffice
|
|
193
|
+
navigation groups
|
|
194
|
+
|
|
195
|
+
Breaking changes in this line: `BackofficeTableToolbar`, `TableToolbar`,
|
|
196
|
+
`BackofficeFiltersBar`, `BackofficeLoadMore`,
|
|
197
|
+
`BackofficeInfiniteListStatus`, `BackofficeVirtualizedConnectionTable`,
|
|
198
|
+
`BackofficeDetailLayout`, `DetailPage`, `DetailPageContent`, `SegmentedNav`,
|
|
199
|
+
and `SectionNav` were removed in favor of the canonical components above and
|
|
200
|
+
`Tabs`.
|
|
91
201
|
|
|
92
202
|
For the complete export list, see [`src/index.ts`](./src/index.ts).
|
|
93
203
|
|
|
94
204
|
## Quick Start
|
|
95
205
|
|
|
96
206
|
```tsx
|
|
97
|
-
import { Button, ThemeProvider,
|
|
207
|
+
import { Button, ThemeProvider, Toolbar, ToolbarGroup } from '@plumile/ui';
|
|
98
208
|
|
|
99
209
|
export function ExampleScreen(): JSX.Element {
|
|
100
210
|
return (
|
|
101
211
|
<ThemeProvider defaultMode="light">
|
|
102
|
-
<
|
|
103
|
-
<
|
|
104
|
-
|
|
105
|
-
|
|
212
|
+
<Toolbar ariaLabel="Screen actions">
|
|
213
|
+
<ToolbarGroup>
|
|
214
|
+
<Button>Save</Button>
|
|
215
|
+
</ToolbarGroup>
|
|
216
|
+
<ToolbarGroup justify="end">
|
|
217
|
+
<Button variant="secondary">Cancel</Button>
|
|
218
|
+
</ToolbarGroup>
|
|
219
|
+
</Toolbar>
|
|
106
220
|
</ThemeProvider>
|
|
107
221
|
);
|
|
108
222
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { cx as e } from "../../../theme/tools.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { SidebarCollapseToggle as t } from "../../../backoffice/molecules/sidebar_collapse_toggle/SidebarCollapseToggle.js";
|
|
3
|
+
import { SidebarNavSection as n } from "../../../backoffice/molecules/sidebar_nav_section/SidebarNavSection.js";
|
|
4
4
|
import { container as r, footer as i, header as a, inner as o, sections as s, widthRecipe as c } from "./adminSidebar.css.js";
|
|
5
5
|
import { useCallback as l, useState as u } from "react";
|
|
6
6
|
import { jsx as d, jsxs as f } from "react/jsx-runtime";
|
|
@@ -26,7 +26,7 @@ var p = ({ header: p, search: m, footer: h, sections: g, isCollapsed: _, default
|
|
|
26
26
|
children: [
|
|
27
27
|
/* @__PURE__ */ f("div", {
|
|
28
28
|
className: a,
|
|
29
|
-
children: [p, !w && /* @__PURE__ */ d(
|
|
29
|
+
children: [p, !w && /* @__PURE__ */ d(t, {
|
|
30
30
|
isCollapsed: O,
|
|
31
31
|
onToggle: k,
|
|
32
32
|
label: b,
|
|
@@ -41,7 +41,7 @@ var p = ({ header: p, search: m, footer: h, sections: g, isCollapsed: _, default
|
|
|
41
41
|
/* @__PURE__ */ d("nav", {
|
|
42
42
|
className: s,
|
|
43
43
|
"aria-label": C,
|
|
44
|
-
children: g.map((e) => /* @__PURE__ */ d(
|
|
44
|
+
children: g.map((e) => /* @__PURE__ */ d(n, {
|
|
45
45
|
title: e.title,
|
|
46
46
|
icon: e.icon,
|
|
47
47
|
items: e.items,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { PageShell as e } from "../../../components/layout/PageShell.js";
|
|
2
|
+
import { SidebarNavigation as t } from "../../../components/navigation/sidebar/SidebarNavigation.js";
|
|
3
3
|
import { AdminTopbar as n } from "../../organisms/admin_topbar/AdminTopbar.js";
|
|
4
4
|
import { jsx as r } from "react/jsx-runtime";
|
|
5
5
|
//#region src/admin/templates/admin_shell_layout/AdminShellLayout.tsx
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AdminShellLayout.js","names":[],"sources":["../../../../../src/admin/templates/admin_shell_layout/AdminShellLayout.tsx"],"sourcesContent":["import { type JSX, type ReactNode } from 'react';\n\nimport {
|
|
1
|
+
{"version":3,"file":"AdminShellLayout.js","names":[],"sources":["../../../../../src/admin/templates/admin_shell_layout/AdminShellLayout.tsx"],"sourcesContent":["import { type JSX, type ReactNode } from 'react';\n\nimport {\n SidebarNavigation,\n type SidebarNavigationProps,\n} from '../../../components/navigation/sidebar/SidebarNavigation.js';\nimport {\n AdminTopbar,\n type AdminTopbarProps,\n} from '../../organisms/admin_topbar/AdminTopbar.js';\nimport {\n PageShell,\n type PageShellActions,\n type PageShellContentScrollMode,\n type PageShellTab,\n} from '../../../components/layout/PageShell.js';\n\nexport type AdminShellLayoutProps = {\n children: ReactNode;\n sidebar: SidebarNavigationProps;\n mobileSidebar?: SidebarNavigationProps;\n topbar?: AdminTopbarProps;\n actions?: PageShellActions;\n tabs?: PageShellTab[];\n contentScrollMode?: PageShellContentScrollMode;\n};\n\nexport const AdminShellLayout = ({\n children,\n sidebar,\n mobileSidebar,\n topbar,\n actions,\n tabs,\n contentScrollMode,\n}: AdminShellLayoutProps): JSX.Element => {\n const isDesktopSidebarOpen = sidebar.isCollapsed !== true;\n let sidebarNode: JSX.Element | null = null;\n if (isDesktopSidebarOpen) {\n sidebarNode = <SidebarNavigation {...sidebar} isCollapsed={false} />;\n }\n let mobileSidebarNode: JSX.Element | undefined;\n if (mobileSidebar != null) {\n mobileSidebarNode = <SidebarNavigation {...mobileSidebar} />;\n }\n let topbarNode: JSX.Element | null = null;\n if (topbar != null) {\n topbarNode = <AdminTopbar {...topbar} />;\n }\n\n let openDesktopSidebarLabel: string | undefined;\n if (typeof sidebar.expandToggleLabel === 'string') {\n openDesktopSidebarLabel = sidebar.expandToggleLabel;\n }\n\n return (\n <PageShell\n sidebar={sidebarNode}\n mobileSidebar={mobileSidebarNode}\n desktopSidebarOpen={isDesktopSidebarOpen}\n onOpenDesktopSidebar={() => {\n sidebar.onCollapsedChange?.(false);\n }}\n openDesktopSidebarLabel={openDesktopSidebarLabel}\n breadcrumbSlot={topbarNode}\n actions={actions}\n tabs={tabs}\n contentScrollMode={contentScrollMode}\n >\n {children}\n </PageShell>\n );\n};\n\nexport default AdminShellLayout;\n"],"mappings":";;;;;AA2BA,IAAa,KAAoB,EAC/B,aACA,YACA,kBACA,WACA,YACA,SACA,2BACwC;CACxC,IAAM,IAAuB,EAAQ,gBAAgB,IACjD,IAAkC;CACtC,AAAI,MACF,IAAc,kBAAC,GAAD;EAAmB,GAAI;EAAS,aAAa;EAAS,CAAA;CAEtE,IAAI;CACJ,AAAI,KAAiB,SACnB,IAAoB,kBAAC,GAAD,EAAmB,GAAI,GAAiB,CAAA;CAE9D,IAAI,IAAiC;CACrC,AAAI,KAAU,SACZ,IAAa,kBAAC,GAAD,EAAa,GAAI,GAAU,CAAA;CAG1C,IAAI;CAKJ,OAJI,OAAO,EAAQ,qBAAsB,aACvC,IAA0B,EAAQ,oBAIlC,kBAAC,GAAD;EACE,SAAS;EACT,eAAe;EACf,oBAAoB;EACpB,4BAA4B;GAC1B,EAAQ,oBAAoB,GAAM;;EAEX;EACzB,gBAAgB;EACP;EACH;EACa;EAElB;EACS,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Badge.js","names":[],"sources":["../../../../../src/atomic/atoms/badge/Badge.tsx"],"sourcesContent":["import { type JSX, type ReactNode } from 'react';\n\nimport { badge } from './badge.css.js';\nimport { cx } from '../../../theme/tools.js';\n\
|
|
1
|
+
{"version":3,"file":"Badge.js","names":[],"sources":["../../../../../src/atomic/atoms/badge/Badge.tsx"],"sourcesContent":["import { type JSX, type ReactNode } from 'react';\n\nimport { badge } from './badge.css.js';\nimport { cx } from '../../../theme/tools.js';\n\nexport type BadgeProps = {\n children: ReactNode;\n tone?: BadgeTone;\n className?: string;\n loading?: boolean;\n};\n\nexport type BadgeTone =\n | 'neutral'\n | 'info'\n | 'success'\n | 'warning'\n | 'danger'\n | 'accent';\n\nexport const Badge = ({\n children,\n tone,\n className,\n loading = false,\n}: BadgeProps): JSX.Element => {\n let loadingVariant: 'on' | 'off' = 'off';\n if (loading) {\n loadingVariant = 'on';\n }\n\n return (\n <span className={cx(badge({ tone, loading: loadingVariant }), className)}>\n {children}\n </span>\n );\n};\n\nexport default Badge;\n"],"mappings":";;;;AAoBA,IAAa,KAAS,EACpB,aACA,SACA,cACA,aAAU,SACmB;CAC7B,IAAI,IAA+B;CAKnC,OAJI,MACF,IAAiB,OAIjB,kBAAC,QAAD;EAAM,WAAW,EAAG,EAAM;GAAE;GAAM,SAAS;GAAgB,CAAC,EAAE,EAAU;EACrE;EACI,CAAA"}
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { cx as e } from "../../../theme/tools.js";
|
|
2
|
+
import { errorMessage as t } from "./errorMessage.css.js";
|
|
2
3
|
import "react";
|
|
3
|
-
import { jsx as
|
|
4
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
4
5
|
//#region src/atomic/atoms/error_message/ErrorMessage.tsx
|
|
5
|
-
var
|
|
6
|
-
id:
|
|
7
|
-
className: e,
|
|
8
|
-
...
|
|
9
|
-
children:
|
|
6
|
+
var r = ({ children: r, className: i, id: a, ...o }) => r == null ? null : /* @__PURE__ */ n("div", {
|
|
7
|
+
id: a,
|
|
8
|
+
className: e(t, i),
|
|
9
|
+
...o,
|
|
10
|
+
children: r
|
|
10
11
|
});
|
|
11
12
|
//#endregion
|
|
12
|
-
export {
|
|
13
|
+
export { r as ErrorMessage };
|
|
13
14
|
|
|
14
15
|
//# sourceMappingURL=ErrorMessage.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorMessage.js","names":[],"sources":["../../../../../src/atomic/atoms/error_message/ErrorMessage.tsx"],"sourcesContent":["import React, { type JSX } from 'react';\nimport { errorMessage } from './errorMessage.css.js';\n\ntype Props = {\n children: React.ReactNode;\n className?: string;\n id?: string
|
|
1
|
+
{"version":3,"file":"ErrorMessage.js","names":[],"sources":["../../../../../src/atomic/atoms/error_message/ErrorMessage.tsx"],"sourcesContent":["import React, { type JSX } from 'react';\nimport { cx } from '../../../theme/tools.js';\nimport { errorMessage } from './errorMessage.css.js';\n\ntype Props = {\n children: React.ReactNode;\n className?: string;\n id?: string;\n};\n\nexport const ErrorMessage = ({\n children,\n className,\n id,\n ...rest\n}: Props): JSX.Element | null => {\n if (children == null) {\n return null;\n }\n\n return (\n <div id={id} className={cx(errorMessage, className)} {...rest}>\n {children}\n </div>\n );\n};\n"],"mappings":";;;;;AAUA,IAAa,KAAgB,EAC3B,aACA,cACA,OACA,GAAG,QAEC,KAAY,OACP,OAIP,kBAAC,OAAD;CAAS;CAAI,WAAW,EAAG,GAAc,EAAU;CAAE,GAAI;CACtD;CACG,CAAA"}
|
|
@@ -1,25 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import { jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
1
|
+
import { Surface as e } from "../../../components/layout/Surface.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
5
4
|
//#region src/atomic/molecules/card/Card.tsx
|
|
6
|
-
var
|
|
7
|
-
let { title:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
})]
|
|
5
|
+
var n = (n) => {
|
|
6
|
+
let { title: r, children: i, headerActions: a, className: o, contentClassName: s } = n;
|
|
7
|
+
return /* @__PURE__ */ t(e, {
|
|
8
|
+
actions: a,
|
|
9
|
+
border: "none",
|
|
10
|
+
className: o,
|
|
11
|
+
contentClassName: s,
|
|
12
|
+
density: "spacious",
|
|
13
|
+
radius: "xl",
|
|
14
|
+
title: r,
|
|
15
|
+
titleAs: "div",
|
|
16
|
+
variant: "brand",
|
|
17
|
+
children: i
|
|
20
18
|
});
|
|
21
19
|
};
|
|
22
20
|
//#endregion
|
|
23
|
-
export {
|
|
21
|
+
export { n as Card };
|
|
24
22
|
|
|
25
23
|
//# sourceMappingURL=Card.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.js","names":[],"sources":["../../../../../src/atomic/molecules/card/Card.tsx"],"sourcesContent":["import React, { type JSX
|
|
1
|
+
{"version":3,"file":"Card.js","names":[],"sources":["../../../../../src/atomic/molecules/card/Card.tsx"],"sourcesContent":["import React, { type JSX } from 'react';\n\nimport { Surface } from '../../../components/layout/Surface.js';\n\ntype Props = {\n headerActions?: React.ReactNode;\n title?: React.ReactNode;\n children: React.ReactNode;\n className?: string;\n contentClassName?: string;\n};\n\nexport const Card = (props: Props): JSX.Element => {\n const { title, children, headerActions, className, contentClassName } = props;\n\n return (\n <Surface\n actions={headerActions}\n border=\"none\"\n className={className}\n contentClassName={contentClassName}\n density=\"spacious\"\n radius=\"xl\"\n title={title}\n titleAs=\"div\"\n variant=\"brand\"\n >\n {children}\n </Surface>\n );\n};\n"],"mappings":";;;;AAYA,IAAa,KAAQ,MAA8B;CACjD,IAAM,EAAE,UAAO,aAAU,kBAAe,cAAW,wBAAqB;CAExE,OACE,kBAAC,GAAD;EACE,SAAS;EACT,QAAO;EACI;EACO;EAClB,SAAQ;EACR,QAAO;EACA;EACP,SAAQ;EACR,SAAQ;EAEP;EACO,CAAA"}
|
|
@@ -1,8 +1,86 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
/* empty css */
|
|
3
|
+
import { createRuntimeFn as e } from "@vanilla-extract/recipes/createRuntimeFn";
|
|
3
4
|
//#region src/atomic/molecules/empty-state/EmptyState.css.ts
|
|
4
|
-
var
|
|
5
|
+
var t = e({
|
|
6
|
+
defaultClassName: "_1lrdacm7 _1lrdacm0 txvbqb17w0",
|
|
7
|
+
variantClassNames: {
|
|
8
|
+
variant: {
|
|
9
|
+
framed: "_1lrdacm8",
|
|
10
|
+
plain: "_1lrdacm9 _1lrdacm1 txvbqbdr8 txvbqbf6i txvbqbjtp txvbqb19cb"
|
|
11
|
+
},
|
|
12
|
+
density: {
|
|
13
|
+
default: "_1lrdacma _1lrdacm2 txvbqbff6",
|
|
14
|
+
compact: "_1lrdacmb _1lrdacm3 txvbqbyov txvbqbzmg txvbqb10m7 txvbqbvya txvbqbffj"
|
|
15
|
+
},
|
|
16
|
+
align: {
|
|
17
|
+
center: "_1lrdacmc _1lrdacm4 txvbqbey txvbqb16fa",
|
|
18
|
+
start: "_1lrdacmd _1lrdacm5 txvbqbel txvbqb16ex"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
defaultVariants: {},
|
|
22
|
+
compoundVariants: [[{
|
|
23
|
+
variant: "plain",
|
|
24
|
+
density: "default"
|
|
25
|
+
}, "_1lrdacm6 txvbqbypl txvbqbzn6 txvbqb10mx txvbqbvz0"]]
|
|
26
|
+
}), n = e({
|
|
27
|
+
defaultClassName: "_1lrdacmj _1lrdacme txvbqb17w0 txvbqbdr8 txvbqbf6i txvbqbjtp",
|
|
28
|
+
variantClassNames: {
|
|
29
|
+
density: {
|
|
30
|
+
default: "_1lrdacmk _1lrdacmf txvbqbff6",
|
|
31
|
+
compact: "_1lrdacml _1lrdacmg txvbqbffj"
|
|
32
|
+
},
|
|
33
|
+
align: {
|
|
34
|
+
center: "_1lrdacmm _1lrdacmh txvbqbey txvbqb16fa",
|
|
35
|
+
start: "_1lrdacmn _1lrdacmi txvbqbel txvbqb16ex"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
defaultVariants: {},
|
|
39
|
+
compoundVariants: []
|
|
40
|
+
}), r = e({
|
|
41
|
+
defaultClassName: "_1lrdacmv _1lrdacmo txvbqbdr8 txvbqbey txvbqbjtp txvbqbam",
|
|
42
|
+
variantClassNames: { tone: {
|
|
43
|
+
neutral: "_1lrdacmw _1lrdacmp txvbqb19c9",
|
|
44
|
+
muted: "_1lrdacmx _1lrdacmq txvbqb19cb",
|
|
45
|
+
info: "_1lrdacmy _1lrdacmr txvbqb19d5",
|
|
46
|
+
success: "_1lrdacmz _1lrdacms txvbqb19cx",
|
|
47
|
+
warning: "_1lrdacm10 _1lrdacmt txvbqb19d1",
|
|
48
|
+
danger: "_1lrdacm11 _1lrdacmu txvbqb19cn"
|
|
49
|
+
} },
|
|
50
|
+
defaultVariants: {},
|
|
51
|
+
compoundVariants: []
|
|
52
|
+
}), i = e({
|
|
53
|
+
defaultClassName: "_1lrdacm15 _1lrdacm12 txvbqbm9g txvbqbfd0 txvbqb19c9",
|
|
54
|
+
variantClassNames: { density: {
|
|
55
|
+
default: "_1lrdacm16 _1lrdacm13 txvbqba9",
|
|
56
|
+
compact: "_1lrdacm17 _1lrdacm14 txvbqba9"
|
|
57
|
+
} },
|
|
58
|
+
defaultVariants: {},
|
|
59
|
+
compoundVariants: []
|
|
60
|
+
}), a = e({
|
|
61
|
+
defaultClassName: "_1lrdacm1b _1lrdacm18 txvbqbm9g txvbqb9j txvbqb19cb",
|
|
62
|
+
variantClassNames: { density: {
|
|
63
|
+
default: "_1lrdacm1c _1lrdacm19 txvbqbs78",
|
|
64
|
+
compact: "_1lrdacm1d _1lrdacm1a txvbqbs6i"
|
|
65
|
+
} },
|
|
66
|
+
defaultVariants: {},
|
|
67
|
+
compoundVariants: []
|
|
68
|
+
}), o = e({
|
|
69
|
+
defaultClassName: "_1lrdacm1j _1lrdacm1e txvbqbdr8 txvbqbey txvbqbf91",
|
|
70
|
+
variantClassNames: {
|
|
71
|
+
density: {
|
|
72
|
+
default: "_1lrdacm1k _1lrdacm1f txvbqbff6",
|
|
73
|
+
compact: "_1lrdacm1l _1lrdacm1g txvbqbq0i txvbqbff6"
|
|
74
|
+
},
|
|
75
|
+
align: {
|
|
76
|
+
center: "_1lrdacm1m _1lrdacm1h txvbqbjtp",
|
|
77
|
+
start: "_1lrdacm1n _1lrdacm1i txvbqbjuf"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
defaultVariants: {},
|
|
81
|
+
compoundVariants: []
|
|
82
|
+
});
|
|
5
83
|
//#endregion
|
|
6
|
-
export {
|
|
84
|
+
export { o as actions, n as content, a as description, r as icon, t as root, i as title };
|
|
7
85
|
|
|
8
86
|
//# sourceMappingURL=EmptyState.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmptyState.css.js","names":[],"sources":["../../../../../src/atomic/molecules/empty-state/EmptyState.css.ts"],"sourcesContent":["import { sprinkles } from '../../../theme/sprinkles.css.js';\n\nexport const
|
|
1
|
+
{"version":3,"file":"EmptyState.css.js","names":[],"sources":["../../../../../src/atomic/molecules/empty-state/EmptyState.css.ts"],"sourcesContent":["import { recipe } from '@vanilla-extract/recipes';\n\nimport { sprinkles } from '../../../theme/sprinkles.css.js';\n\nexport const root = recipe({\n base: sprinkles({\n width: 'full',\n }),\n variants: {\n variant: {\n framed: {},\n plain: sprinkles({\n display: 'flex',\n flexDirection: 'column',\n justifyContent: 'center',\n color: 'textSecondary',\n }),\n },\n density: {\n default: sprinkles({\n gap: 2,\n }),\n compact: sprinkles({\n paddingY: 10,\n paddingX: 4,\n gap: 3,\n }),\n },\n align: {\n center: sprinkles({\n alignItems: 'center',\n textAlign: 'center',\n }),\n start: sprinkles({\n alignItems: 'flex-start',\n textAlign: 'left',\n }),\n },\n },\n compoundVariants: [\n {\n variants: {\n variant: 'plain',\n density: 'default',\n },\n style: sprinkles({\n paddingY: 12,\n paddingX: 6,\n }),\n },\n ],\n});\n\nexport const content = recipe({\n base: sprinkles({\n width: 'full',\n display: 'flex',\n flexDirection: 'column',\n justifyContent: 'center',\n }),\n variants: {\n density: {\n default: sprinkles({\n gap: 2,\n }),\n compact: sprinkles({\n gap: 3,\n }),\n },\n align: {\n center: sprinkles({\n alignItems: 'center',\n textAlign: 'center',\n }),\n start: sprinkles({\n alignItems: 'flex-start',\n textAlign: 'left',\n }),\n },\n },\n});\n\nexport const icon = recipe({\n base: sprinkles({\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n fontSize: 'xl',\n }),\n variants: {\n tone: {\n neutral: sprinkles({\n color: 'text',\n }),\n muted: sprinkles({\n color: 'textSecondary',\n }),\n info: sprinkles({\n color: 'info',\n }),\n success: sprinkles({\n color: 'success',\n }),\n warning: sprinkles({\n color: 'warning',\n }),\n danger: sprinkles({\n color: 'error',\n }),\n },\n },\n});\n\nexport const title = recipe({\n base: sprinkles({\n margin: 0,\n fontWeight: 'semibold',\n color: 'text',\n }),\n variants: {\n density: {\n default: sprinkles({\n fontSize: 'lg',\n }),\n compact: sprinkles({\n fontSize: 'lg',\n }),\n },\n },\n});\n\nexport const description = recipe({\n base: sprinkles({\n margin: 0,\n fontSize: 'sm',\n color: 'textSecondary',\n }),\n variants: {\n density: {\n default: sprinkles({\n maxWidth: 'md',\n }),\n compact: sprinkles({\n maxWidth: 'lg',\n }),\n },\n },\n});\n\nexport const actions = recipe({\n base: sprinkles({\n display: 'flex',\n alignItems: 'center',\n flexWrap: 'wrap',\n }),\n variants: {\n density: {\n default: sprinkles({\n gap: 2,\n }),\n compact: sprinkles({\n marginTop: 2,\n gap: 2,\n }),\n },\n align: {\n center: sprinkles({\n justifyContent: 'center',\n }),\n start: sprinkles({\n justifyContent: 'flex-start',\n }),\n },\n },\n});\n"],"mappings":""}
|
|
@@ -1,35 +1,57 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { cx as e } from "../../../theme/tools.js";
|
|
2
|
+
import { Card as t } from "../card/Card.js";
|
|
3
|
+
import { actions as n, content as r, description as i, icon as a, root as o, title as s } from "./EmptyState.css.js";
|
|
4
|
+
import { Fragment as c, jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
4
5
|
//#region src/atomic/molecules/empty-state/EmptyState.tsx
|
|
5
|
-
var
|
|
6
|
-
let
|
|
7
|
-
|
|
8
|
-
className:
|
|
9
|
-
children:
|
|
6
|
+
var d = ({ title: d, description: f, icon: p, actions: m, className: h, variant: g = "framed", density: _ = "default", align: v = "center", tone: y = "neutral", titleAs: b = "h2" }) => {
|
|
7
|
+
let x = null;
|
|
8
|
+
p != null && (x = /* @__PURE__ */ l("div", {
|
|
9
|
+
className: a({ tone: y }),
|
|
10
|
+
children: p
|
|
10
11
|
}));
|
|
11
|
-
let
|
|
12
|
-
|
|
13
|
-
className:
|
|
14
|
-
children:
|
|
15
|
-
}))
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}),
|
|
28
|
-
|
|
29
|
-
|
|
12
|
+
let S = b, C = null;
|
|
13
|
+
f != null && (C = /* @__PURE__ */ l("div", {
|
|
14
|
+
className: i({ density: _ }),
|
|
15
|
+
children: f
|
|
16
|
+
}));
|
|
17
|
+
let w = null;
|
|
18
|
+
m != null && (w = /* @__PURE__ */ l("div", {
|
|
19
|
+
className: n({
|
|
20
|
+
density: _,
|
|
21
|
+
align: v
|
|
22
|
+
}),
|
|
23
|
+
children: m
|
|
24
|
+
}));
|
|
25
|
+
let T = /* @__PURE__ */ u(c, { children: [
|
|
26
|
+
x,
|
|
27
|
+
/* @__PURE__ */ l(S, {
|
|
28
|
+
className: s({ density: _ }),
|
|
29
|
+
children: d
|
|
30
|
+
}),
|
|
31
|
+
C,
|
|
32
|
+
w
|
|
33
|
+
] });
|
|
34
|
+
return g === "plain" ? /* @__PURE__ */ l("div", {
|
|
35
|
+
className: e(o({
|
|
36
|
+
variant: g,
|
|
37
|
+
density: _,
|
|
38
|
+
align: v
|
|
39
|
+
}), h),
|
|
40
|
+
children: T
|
|
41
|
+
}) : /* @__PURE__ */ l(t, {
|
|
42
|
+
className: e(o({
|
|
43
|
+
variant: g,
|
|
44
|
+
density: _,
|
|
45
|
+
align: v
|
|
46
|
+
}), h),
|
|
47
|
+
contentClassName: r({
|
|
48
|
+
density: _,
|
|
49
|
+
align: v
|
|
50
|
+
}),
|
|
51
|
+
children: T
|
|
30
52
|
});
|
|
31
53
|
};
|
|
32
54
|
//#endregion
|
|
33
|
-
export {
|
|
55
|
+
export { d as EmptyState, d as default };
|
|
34
56
|
|
|
35
57
|
//# sourceMappingURL=EmptyState.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmptyState.js","names":[],"sources":["../../../../../src/atomic/molecules/empty-state/EmptyState.tsx"],"sourcesContent":["import { type JSX, type ReactNode } from 'react';\n\nimport { Card } from '../card/Card.js';\nimport * as styles from './EmptyState.css.js';\n\
|
|
1
|
+
{"version":3,"file":"EmptyState.js","names":[],"sources":["../../../../../src/atomic/molecules/empty-state/EmptyState.tsx"],"sourcesContent":["import { type JSX, type ReactNode } from 'react';\n\nimport { Card } from '../card/Card.js';\nimport { cx } from '../../../theme/tools.js';\nimport * as styles from './EmptyState.css.js';\n\nexport type EmptyStateVariant = 'framed' | 'plain';\nexport type EmptyStateDensity = 'default' | 'compact';\nexport type EmptyStateAlign = 'center' | 'start';\nexport type EmptyStateTone =\n | 'neutral'\n | 'muted'\n | 'info'\n | 'success'\n | 'warning'\n | 'danger';\nexport type EmptyStateTitleAs = 'h2' | 'h3' | 'div';\n\nexport type EmptyStateProps = {\n title: ReactNode;\n description?: ReactNode;\n icon?: ReactNode;\n actions?: ReactNode;\n className?: string;\n variant?: EmptyStateVariant;\n density?: EmptyStateDensity;\n align?: EmptyStateAlign;\n tone?: EmptyStateTone;\n titleAs?: EmptyStateTitleAs;\n};\n\nexport const EmptyState = ({\n title,\n description,\n icon,\n actions,\n className,\n variant = 'framed',\n density = 'default',\n align = 'center',\n tone = 'neutral',\n titleAs = 'h2',\n}: EmptyStateProps): JSX.Element => {\n let iconElement: JSX.Element | null = null;\n if (icon != null) {\n iconElement = <div className={styles.icon({ tone })}>{icon}</div>;\n }\n\n const Title = titleAs;\n\n let descriptionElement: JSX.Element | null = null;\n if (description != null) {\n descriptionElement = (\n <div className={styles.description({ density })}>{description}</div>\n );\n }\n\n let actionsElement: JSX.Element | null = null;\n if (actions != null) {\n actionsElement = (\n <div className={styles.actions({ density, align })}>{actions}</div>\n );\n }\n\n const content = (\n <>\n {iconElement}\n <Title className={styles.title({ density })}>{title}</Title>\n {descriptionElement}\n {actionsElement}\n </>\n );\n\n if (variant === 'plain') {\n return (\n <div className={cx(styles.root({ variant, density, align }), className)}>\n {content}\n </div>\n );\n }\n\n return (\n <Card\n className={cx(styles.root({ variant, density, align }), className)}\n contentClassName={styles.content({ density, align })}\n >\n {content}\n </Card>\n );\n};\n\nexport default EmptyState;\n"],"mappings":";;;;;AA+BA,IAAa,KAAc,EACzB,OAAA,GACA,aAAA,GACA,MAAA,GACA,SAAA,GACA,cACA,aAAU,UACV,aAAU,WACV,WAAQ,UACR,UAAO,WACP,aAAU,WACwB;CAClC,IAAI,IAAkC;CACtC,AAAI,KAAQ,SACV,IAAc,kBAAC,OAAD;EAAK,WAAW,EAAY,EAAE,SAAM,CAAC;YAAG;EAAW,CAAA;CAGnE,IAAM,IAAQ,GAEV,IAAyC;CAC7C,AAAI,KAAe,SACjB,IACE,kBAAC,OAAD;EAAK,WAAW,EAAmB,EAAE,YAAS,CAAC;YAAG;EAAkB,CAAA;CAIxE,IAAI,IAAqC;CACzC,AAAI,KAAW,SACb,IACE,kBAAC,OAAD;EAAK,WAAW,EAAe;GAAE;GAAS;GAAO,CAAC;YAAG;EAAc,CAAA;CAIvE,IAAM,IACJ,kBAAA,GAAA,EAAA,UAAA;EACG;EACD,kBAAC,GAAD;GAAO,WAAW,EAAa,EAAE,YAAS,CAAC;aAAG;GAAc,CAAA;EAC3D;EACA;EACA,EAAA,CAAA;CAWL,OARI,MAAY,UAEZ,kBAAC,OAAD;EAAK,WAAW,EAAG,EAAY;GAAE;GAAS;GAAS;GAAO,CAAC,EAAE,EAAU;YACpE;EACG,CAAA,GAKR,kBAAC,GAAD;EACE,WAAW,EAAG,EAAY;GAAE;GAAS;GAAS;GAAO,CAAC,EAAE,EAAU;EAClE,kBAAkB,EAAe;GAAE;GAAS;GAAO,CAAC;YAEnD;EACI,CAAA"}
|
|
@@ -1,24 +1,34 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { cx as e } from "../../../theme/tools.js";
|
|
2
|
+
import { FormErrorAlertSvg as t } from "../../../icons/FormErrorAlertSvg.js";
|
|
3
|
+
import { formError as n, icon as r, message as i } from "./formError.css.js";
|
|
3
4
|
import "react";
|
|
4
|
-
import { jsx as
|
|
5
|
+
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
5
6
|
//#region src/atomic/molecules/form_error/FormError.tsx
|
|
6
|
-
var
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
})
|
|
7
|
+
var s = ({ children: s, message: c, actions: l, className: u, id: d }) => {
|
|
8
|
+
let f = c ?? s;
|
|
9
|
+
return f == null || f === "" ? null : /* @__PURE__ */ o("div", {
|
|
10
|
+
id: d,
|
|
11
|
+
className: e(n, u),
|
|
12
|
+
role: "alert",
|
|
13
|
+
"aria-live": "assertive",
|
|
14
|
+
children: [
|
|
15
|
+
/* @__PURE__ */ a("span", {
|
|
16
|
+
className: r,
|
|
17
|
+
children: /* @__PURE__ */ a(t, {
|
|
18
|
+
width: 16,
|
|
19
|
+
height: 16,
|
|
20
|
+
"aria-hidden": "true"
|
|
21
|
+
})
|
|
22
|
+
}),
|
|
23
|
+
/* @__PURE__ */ a("div", {
|
|
24
|
+
className: i,
|
|
25
|
+
children: f
|
|
26
|
+
}),
|
|
27
|
+
l
|
|
28
|
+
]
|
|
29
|
+
});
|
|
30
|
+
};
|
|
21
31
|
//#endregion
|
|
22
|
-
export {
|
|
32
|
+
export { s as FormError };
|
|
23
33
|
|
|
24
34
|
//# sourceMappingURL=FormError.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormError.js","names":[],"sources":["../../../../../src/atomic/molecules/form_error/FormError.tsx"],"sourcesContent":["import React, { type JSX } from 'react';\n\nimport { FormErrorAlertSvg } from '../../../icons/FormErrorAlertSvg.js';\n\nimport { formError, icon, message } from './formError.css.js';\n\ntype Props = {\n children
|
|
1
|
+
{"version":3,"file":"FormError.js","names":[],"sources":["../../../../../src/atomic/molecules/form_error/FormError.tsx"],"sourcesContent":["import React, { type JSX } from 'react';\n\nimport { FormErrorAlertSvg } from '../../../icons/FormErrorAlertSvg.js';\nimport { cx } from '../../../theme/tools.js';\n\nimport { formError, icon, message } from './formError.css.js';\n\ntype Props = {\n children?: React.ReactNode;\n message?: React.ReactNode | null;\n actions?: React.ReactNode;\n className?: string;\n id?: string;\n};\n\nexport const FormError = ({\n children,\n message: messageProp,\n actions,\n className,\n id,\n}: Props): JSX.Element | null => {\n const content = messageProp ?? children;\n if (content == null || content === '') {\n return null;\n }\n\n return (\n <div\n id={id}\n className={cx(formError, className)}\n role=\"alert\"\n aria-live=\"assertive\"\n >\n <span className={icon}>\n <FormErrorAlertSvg width={16} height={16} aria-hidden=\"true\" />\n </span>\n <div className={message}>{content}</div>\n {actions}\n </div>\n );\n};\n"],"mappings":";;;;;;AAeA,IAAa,KAAa,EACxB,aACA,SAAS,GACT,YACA,cACA,YAC+B;CAC/B,IAAM,IAAU,KAAe;CAK/B,OAJI,KAAW,QAAQ,MAAY,KAC1B,OAIP,kBAAC,OAAD;EACM;EACJ,WAAW,EAAG,GAAW,EAAU;EACnC,MAAK;EACL,aAAU;YAJZ;GAME,kBAAC,QAAD;IAAM,WAAW;cACf,kBAAC,GAAD;KAAmB,OAAO;KAAI,QAAQ;KAAI,eAAY;KAAS,CAAA;IAC1D,CAAA;GACP,kBAAC,OAAD;IAAK,WAAW;cAAU;IAAc,CAAA;GACvC;GACG"}
|