@cosmicdrift/kumiko-renderer 0.373.0 → 0.377.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/README.md +2 -2
- package/dist/app/action-form-support.d.ts +58 -0
- package/dist/app/action-form-support.js +96 -0
- package/dist/app/client-actions.d.ts +46 -0
- package/dist/app/client-actions.js +60 -0
- package/dist/app/column-renderers.js +1 -1
- package/dist/app/config-edit-shim.js +1 -1
- package/dist/app/content-preview.js +1 -6
- package/dist/app/custom-screens.js +1 -1
- package/dist/app/dashboard-body.d.ts +1 -1
- package/dist/app/entity-list-expanded-row.d.ts +1 -1
- package/dist/app/entity-list-expanded-row.js +4 -0
- package/dist/app/form-schema.d.ts +1 -1
- package/dist/app/form-schema.js +2 -2
- package/dist/app/header-actions-bar.d.ts +19 -0
- package/dist/app/header-actions-bar.js +30 -0
- package/dist/app/kumiko-screen.d.ts +1 -1
- package/dist/app/kumiko-screen.js +134 -66
- package/dist/app/list-empty-content.d.ts +2 -2
- package/dist/app/list-empty-content.js +3 -2
- package/dist/app/list-facets.d.ts +1 -1
- package/dist/app/nav.js +2 -2
- package/dist/app/query-state-banners.d.ts +1 -1
- package/dist/app/reference-link.d.ts +1 -1
- package/dist/app/row-actions.d.ts +10 -2
- package/dist/app/row-actions.js +85 -6
- package/dist/app/secret-mint-body.d.ts +1 -1
- package/dist/app/secrets-edit-body.d.ts +1 -1
- package/dist/app/use-record-actions.d.ts +12 -0
- package/dist/app/use-record-actions.js +30 -0
- package/dist/app/write-failed-error.d.ts +1 -1
- package/dist/components/availability-options-select.d.ts +1 -1
- package/dist/components/embedded-list-field.d.ts +1 -1
- package/dist/components/embedded-list-field.js +1 -1
- package/dist/components/file-list-field.d.ts +1 -1
- package/dist/components/grid-cell-for-field.d.ts +4 -2
- package/dist/components/grid-cell-for-field.js +2 -2
- package/dist/components/multi-select-checkboxes.d.ts +1 -1
- package/dist/components/multi-select-checkboxes.js +1 -1
- package/dist/components/query-options-select.d.ts +1 -1
- package/dist/components/related-list-section.d.ts +1 -1
- package/dist/components/related-list-section.js +16 -3
- package/dist/components/render-edit-logic.d.ts +1 -1
- package/dist/components/render-edit-types.d.ts +2 -2
- package/dist/components/render-edit.d.ts +1 -1
- package/dist/components/render-edit.js +5 -3
- package/dist/components/render-field.d.ts +5 -2
- package/dist/components/render-field.js +103 -9
- package/dist/components/render-list.d.ts +1 -1
- package/dist/components/render-list.js +20 -4
- package/dist/components/write-form-section.d.ts +1 -1
- package/dist/components/write-form-section.js +1 -1
- package/dist/context/dispatcher-context.d.ts +1 -1
- package/dist/format-when.js +1 -1
- package/dist/headless/apex/css.d.ts +3 -0
- package/dist/headless/apex/css.js +298 -0
- package/dist/headless/apex/index.d.ts +236 -0
- package/dist/headless/apex/index.js +377 -0
- package/dist/headless/apex/lightbox.d.ts +4 -0
- package/dist/headless/apex/lightbox.js +81 -0
- package/dist/headless/contracts/asset.d.ts +15 -0
- package/dist/headless/contracts/asset.js +17 -0
- package/dist/headless/contracts/index.d.ts +3 -0
- package/dist/headless/contracts/index.js +1 -0
- package/dist/headless/contracts/locale.d.ts +7 -0
- package/dist/headless/contracts/locale.js +11 -0
- package/dist/headless/contracts/primitives.d.ts +93 -0
- package/dist/headless/contracts/primitives.js +21 -0
- package/dist/headless/dispatcher/index.d.ts +2 -0
- package/dist/headless/dispatcher/index.js +1 -0
- package/dist/headless/dispatcher/types.d.ts +86 -0
- package/dist/headless/dispatcher/types.js +34 -0
- package/dist/headless/form/form-controller.d.ts +2 -0
- package/dist/headless/form/form-controller.js +409 -0
- package/dist/headless/form/index.d.ts +3 -0
- package/dist/headless/form/index.js +2 -0
- package/dist/headless/form/types.d.ts +76 -0
- package/dist/headless/form/types.js +1 -0
- package/dist/headless/form/zod-bridge.d.ts +10 -0
- package/dist/headless/form/zod-bridge.js +103 -0
- package/dist/headless/format/document-values.d.ts +12 -0
- package/dist/headless/format/document-values.js +70 -0
- package/dist/headless/format/escape.d.ts +5 -0
- package/dist/headless/format/escape.js +75 -0
- package/dist/headless/format/html-template.d.ts +9 -0
- package/dist/headless/format/html-template.js +39 -0
- package/dist/headless/format/index.d.ts +12 -0
- package/dist/headless/format/index.js +237 -0
- package/dist/headless/format/money.d.ts +3 -0
- package/dist/headless/format/money.js +39 -0
- package/dist/headless/index.d.ts +14 -0
- package/dist/headless/index.js +9 -0
- package/dist/headless/locale-routing/index.d.ts +41 -0
- package/dist/headless/locale-routing/index.js +145 -0
- package/dist/headless/nav/index.d.ts +2 -0
- package/dist/headless/nav/index.js +1 -0
- package/dist/headless/nav/resolve.d.ts +2 -0
- package/dist/headless/nav/resolve.js +71 -0
- package/dist/headless/nav/types.d.ts +26 -0
- package/dist/headless/nav/types.js +1 -0
- package/dist/headless/store/create-store.d.ts +2 -0
- package/dist/headless/store/create-store.js +43 -0
- package/dist/headless/store/equality.d.ts +1 -0
- package/dist/headless/store/equality.js +34 -0
- package/dist/headless/store/index.d.ts +3 -0
- package/dist/headless/store/index.js +2 -0
- package/dist/headless/store/types.d.ts +7 -0
- package/dist/headless/store/types.js +10 -0
- package/dist/headless/view-model/edit.d.ts +18 -0
- package/dist/headless/view-model/edit.js +501 -0
- package/dist/headless/view-model/embedded-list.d.ts +27 -0
- package/dist/headless/view-model/embedded-list.js +63 -0
- package/dist/headless/view-model/index.d.ts +7 -0
- package/dist/headless/view-model/index.js +3 -0
- package/dist/headless/view-model/list-file-display.d.ts +3 -0
- package/dist/headless/view-model/list-file-display.js +27 -0
- package/dist/headless/view-model/list.d.ts +16 -0
- package/dist/headless/view-model/list.js +229 -0
- package/dist/headless/view-model/types.d.ts +382 -0
- package/dist/headless/view-model/types.js +1 -0
- package/dist/hooks/use-ai-text.d.ts +1 -1
- package/dist/hooks/use-form.d.ts +1 -1
- package/dist/hooks/use-form.js +1 -1
- package/dist/hooks/use-mutation.d.ts +1 -1
- package/dist/hooks/use-query.d.ts +1 -1
- package/dist/hooks/use-store.d.ts +1 -1
- package/dist/hooks/use-store.js +7 -7
- package/dist/hooks/use-stream-handler.d.ts +1 -1
- package/dist/i18n-defaults.js +7 -0
- package/dist/i18n.d.ts +1 -1
- package/dist/i18n.js +1 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +7 -4
- package/dist/live/csrf.d.ts +2 -0
- package/dist/live/csrf.js +60 -0
- package/dist/live/dispatcher-live.d.ts +7 -0
- package/dist/live/dispatcher-live.js +286 -0
- package/dist/live/envelopes.d.ts +101 -0
- package/dist/live/envelopes.js +35 -0
- package/dist/live/error-mapping.d.ts +16 -0
- package/dist/live/error-mapping.js +82 -0
- package/dist/live/index.d.ts +7 -0
- package/dist/live/index.js +5 -0
- package/dist/live/locale.d.ts +2 -0
- package/dist/live/locale.js +25 -0
- package/dist/live/sse-stream.d.ts +14 -0
- package/dist/live/sse-stream.js +128 -0
- package/dist/primitives.d.ts +53 -36
- package/dist/primitives.js +1 -1
- package/dist/session/session-ended.d.ts +1 -1
- package/dist/tokens.d.ts +3 -4
- package/dist/tokens.js +4 -5
- package/dist/web/app/app-schema-boot.d.ts +19 -0
- package/dist/web/app/app-schema-boot.js +124 -0
- package/dist/web/app/browser-locale.d.ts +22 -0
- package/dist/web/app/browser-locale.js +78 -0
- package/dist/web/app/client-plugin.d.ts +106 -0
- package/dist/web/app/client-plugin.js +12 -0
- package/dist/web/app/create-app.d.ts +104 -0
- package/dist/web/app/create-app.js +498 -0
- package/dist/web/app/create-public-surface.d.ts +36 -0
- package/dist/web/app/create-public-surface.js +40 -0
- package/dist/web/app/dashboard-body.d.ts +3 -0
- package/dist/web/app/dashboard-body.js +865 -0
- package/dist/web/app/dashboard-refresh.d.ts +6 -0
- package/dist/web/app/dashboard-refresh.js +15 -0
- package/dist/web/app/document-lang-sync.d.ts +4 -0
- package/dist/web/app/document-lang-sync.js +27 -0
- package/dist/web/app/draft-storage.d.ts +11 -0
- package/dist/web/app/draft-storage.js +53 -0
- package/dist/web/app/nav-providers-context.d.ts +13 -0
- package/dist/web/app/nav-providers-context.js +18 -0
- package/dist/web/app/nav.d.ts +40 -0
- package/dist/web/app/nav.js +231 -0
- package/dist/web/app/plain-content-editor.d.ts +3 -0
- package/dist/web/app/plain-content-editor.js +30 -0
- package/dist/web/app/relative-time.d.ts +10 -0
- package/dist/web/app/relative-time.js +56 -0
- package/dist/web/app/resolvers-context.d.ts +12 -0
- package/dist/web/app/resolvers-context.js +10 -0
- package/dist/web/app/rich-content-editor.d.ts +3 -0
- package/dist/web/app/rich-content-editor.js +15 -0
- package/dist/web/app/root-error-fallback.d.ts +2 -0
- package/dist/web/app/root-error-fallback.js +21 -0
- package/dist/web/app/screen-error-fallback.d.ts +6 -0
- package/dist/web/app/screen-error-fallback.js +17 -0
- package/dist/web/app/tiptap-editor.d.ts +3 -0
- package/dist/web/app/tiptap-editor.js +120 -0
- package/dist/web/app/toast-action-notifier.d.ts +5 -0
- package/dist/web/app/toast-action-notifier.js +17 -0
- package/dist/web/components/config-cascade.d.ts +13 -0
- package/dist/web/components/config-cascade.js +155 -0
- package/dist/web/components/config-source-badge.d.ts +6 -0
- package/dist/web/components/config-source-badge.js +55 -0
- package/dist/web/default-color-scheme.d.ts +2 -0
- package/dist/web/default-color-scheme.js +3 -0
- package/dist/web/icons.d.ts +94 -0
- package/dist/web/icons.js +100 -0
- package/dist/web/index.d.ts +78 -0
- package/dist/web/index.js +53 -0
- package/dist/web/layout/app-layout.d.ts +21 -0
- package/dist/web/layout/app-layout.js +8 -0
- package/dist/web/layout/avatar.d.ts +12 -0
- package/dist/web/layout/avatar.js +63 -0
- package/dist/web/layout/default-app-shell.d.ts +41 -0
- package/dist/web/layout/default-app-shell.js +16 -0
- package/dist/web/layout/editor-panel.d.ts +10 -0
- package/dist/web/layout/editor-panel.js +29 -0
- package/dist/web/layout/fill-classes.d.ts +9 -0
- package/dist/web/layout/fill-classes.js +15 -0
- package/dist/web/layout/filter-app-schema-navs.d.ts +7 -0
- package/dist/web/layout/filter-app-schema-navs.js +68 -0
- package/dist/web/layout/header-action-group.d.ts +6 -0
- package/dist/web/layout/header-action-group.js +8 -0
- package/dist/web/layout/header-overflow-menu.d.ts +4 -0
- package/dist/web/layout/header-overflow-menu.js +8 -0
- package/dist/web/layout/language-menu-items.d.ts +8 -0
- package/dist/web/layout/language-menu-items.js +16 -0
- package/dist/web/layout/language-switcher.d.ts +25 -0
- package/dist/web/layout/language-switcher.js +46 -0
- package/dist/web/layout/nav-tree.d.ts +19 -0
- package/dist/web/layout/nav-tree.js +536 -0
- package/dist/web/layout/page-header-slot.d.ts +25 -0
- package/dist/web/layout/page-header-slot.js +50 -0
- package/dist/web/layout/profile-menu.d.ts +13 -0
- package/dist/web/layout/profile-menu.js +6 -0
- package/dist/web/layout/shell-breadcrumb.d.ts +11 -0
- package/dist/web/layout/shell-breadcrumb.js +34 -0
- package/dist/web/layout/shell-header.d.ts +12 -0
- package/dist/web/layout/shell-header.js +159 -0
- package/dist/web/layout/sidebar-brand.d.ts +15 -0
- package/dist/web/layout/sidebar-brand.js +9 -0
- package/dist/web/layout/sidebar-panel.d.ts +41 -0
- package/dist/web/layout/sidebar-panel.js +107 -0
- package/dist/web/layout/sidebar-user.d.ts +8 -0
- package/dist/web/layout/sidebar-user.js +17 -0
- package/dist/web/layout/sidebar.d.ts +17 -0
- package/dist/web/layout/sidebar.js +11 -0
- package/dist/web/layout/target-resolver-stub.d.ts +13 -0
- package/dist/web/layout/target-resolver-stub.js +61 -0
- package/dist/web/layout/target-url.d.ts +12 -0
- package/dist/web/layout/target-url.js +77 -0
- package/dist/web/layout/theme-label.d.ts +15 -0
- package/dist/web/layout/theme-label.js +35 -0
- package/dist/web/layout/theme-menu-item.d.ts +12 -0
- package/dist/web/layout/theme-menu-item.js +16 -0
- package/dist/web/layout/theme-toggle.d.ts +17 -0
- package/dist/web/layout/theme-toggle.js +22 -0
- package/dist/web/layout/topbar.d.ts +8 -0
- package/dist/web/layout/topbar.js +4 -0
- package/dist/web/layout/workspace-shell.d.ts +63 -0
- package/dist/web/layout/workspace-shell.js +220 -0
- package/dist/web/layout/workspace-switcher.d.ts +15 -0
- package/dist/web/layout/workspace-switcher.js +36 -0
- package/dist/web/lib/accept-attr.d.ts +1 -0
- package/dist/web/lib/accept-attr.js +6 -0
- package/dist/web/lib/clamp.d.ts +1 -0
- package/dist/web/lib/clamp.js +3 -0
- package/dist/web/lib/cn.d.ts +6 -0
- package/dist/web/lib/cn.js +9 -0
- package/dist/web/lib/download.d.ts +2 -0
- package/dist/web/lib/download.js +24 -0
- package/dist/web/lib/file-ref-download.d.ts +15 -0
- package/dist/web/lib/file-ref-download.js +62 -0
- package/dist/web/lib/file-upload-form-data.d.ts +7 -0
- package/dist/web/lib/file-upload-form-data.js +11 -0
- package/dist/web/lib/resize-image.d.ts +1 -0
- package/dist/web/lib/resize-image.js +66 -0
- package/dist/web/lib/upload-file-ref.d.ts +9 -0
- package/dist/web/lib/upload-file-ref.js +29 -0
- package/dist/web/primitives/action-menu.d.ts +34 -0
- package/dist/web/primitives/action-menu.js +30 -0
- package/dist/web/primitives/calendar-popover.d.ts +13 -0
- package/dist/web/primitives/calendar-popover.js +76 -0
- package/dist/web/primitives/combobox.d.ts +56 -0
- package/dist/web/primitives/combobox.js +127 -0
- package/dist/web/primitives/date-field.d.ts +18 -0
- package/dist/web/primitives/date-field.js +74 -0
- package/dist/web/primitives/date-input.d.ts +1 -0
- package/dist/web/primitives/date-input.js +5 -0
- package/dist/web/primitives/date-parse.d.ts +11 -0
- package/dist/web/primitives/date-parse.js +159 -0
- package/dist/web/primitives/dialog.d.ts +3 -0
- package/dist/web/primitives/dialog.js +42 -0
- package/dist/web/primitives/drawer.d.ts +3 -0
- package/dist/web/primitives/drawer.js +17 -0
- package/dist/web/primitives/dropdown-menu.d.ts +15 -0
- package/dist/web/primitives/dropdown-menu.js +56 -0
- package/dist/web/primitives/embedded-list-input.d.ts +9 -0
- package/dist/web/primitives/embedded-list-input.js +382 -0
- package/dist/web/primitives/file-thumbnail.d.ts +25 -0
- package/dist/web/primitives/file-thumbnail.js +90 -0
- package/dist/web/primitives/file-upload.d.ts +21 -0
- package/dist/web/primitives/file-upload.js +56 -0
- package/dist/web/primitives/index.d.ts +34 -0
- package/dist/web/primitives/index.js +2021 -0
- package/dist/web/primitives/json-view.d.ts +7 -0
- package/dist/web/primitives/json-view.js +84 -0
- package/dist/web/primitives/layout.d.ts +27 -0
- package/dist/web/primitives/layout.js +30 -0
- package/dist/web/primitives/lightbox.d.ts +3 -0
- package/dist/web/primitives/lightbox.js +36 -0
- package/dist/web/primitives/locale-number.d.ts +2 -0
- package/dist/web/primitives/locale-number.js +54 -0
- package/dist/web/primitives/located-timestamp-input.d.ts +22 -0
- package/dist/web/primitives/located-timestamp-input.js +22 -0
- package/dist/web/primitives/metric.d.ts +5 -0
- package/dist/web/primitives/metric.js +18 -0
- package/dist/web/primitives/modal-shell.d.ts +17 -0
- package/dist/web/primitives/modal-shell.js +9 -0
- package/dist/web/primitives/modal.d.ts +3 -0
- package/dist/web/primitives/modal.js +13 -0
- package/dist/web/primitives/money-input.d.ts +18 -0
- package/dist/web/primitives/money-input.js +122 -0
- package/dist/web/primitives/narrow-pinned-footer.d.ts +12 -0
- package/dist/web/primitives/narrow-pinned-footer.js +153 -0
- package/dist/web/primitives/number-input.d.ts +18 -0
- package/dist/web/primitives/number-input.js +53 -0
- package/dist/web/primitives/option-groups.d.ts +11 -0
- package/dist/web/primitives/option-groups.js +27 -0
- package/dist/web/primitives/page-header.d.ts +3 -0
- package/dist/web/primitives/page-header.js +52 -0
- package/dist/web/primitives/promo-panel.d.ts +3 -0
- package/dist/web/primitives/promo-panel.js +11 -0
- package/dist/web/primitives/segmented-select.d.ts +21 -0
- package/dist/web/primitives/segmented-select.js +62 -0
- package/dist/web/primitives/share-actions.d.ts +4 -0
- package/dist/web/primitives/share-actions.js +56 -0
- package/dist/web/primitives/status-badge.d.ts +3 -0
- package/dist/web/primitives/status-badge.js +5 -0
- package/dist/web/primitives/sticky-action-bar.d.ts +5 -0
- package/dist/web/primitives/sticky-action-bar.js +15 -0
- package/dist/web/primitives/tabs.d.ts +3 -0
- package/dist/web/primitives/tabs.js +107 -0
- package/dist/web/primitives/timestamp-input.d.ts +27 -0
- package/dist/web/primitives/timestamp-input.js +87 -0
- package/dist/web/primitives/toast.d.ts +19 -0
- package/dist/web/primitives/toast.js +63 -0
- package/dist/web/primitives/tz-input.d.ts +11 -0
- package/dist/web/primitives/tz-input.js +8 -0
- package/dist/web/primitives/tz-options.d.ts +4 -0
- package/dist/web/primitives/tz-options.js +17 -0
- package/dist/web/primitives/use-keyboard-inset.d.ts +1 -0
- package/dist/web/primitives/use-keyboard-inset.js +28 -0
- package/dist/web/primitives/use-narrow-viewport.d.ts +4 -0
- package/dist/web/primitives/use-narrow-viewport.js +46 -0
- package/dist/web/react-css-custom-properties.d.ts +6 -0
- package/dist/web/react-css-custom-properties.js +1 -0
- package/dist/web/sse/live-events.d.ts +15 -0
- package/dist/web/sse/live-events.js +148 -0
- package/dist/web/theme-plugin.d.ts +41 -0
- package/dist/web/theme-plugin.js +123 -0
- package/dist/web/tokens.d.ts +24 -0
- package/dist/web/tokens.js +203 -0
- package/dist/web/ui/avatar.d.ts +11 -0
- package/dist/web/ui/avatar.js +25 -0
- package/dist/web/ui/badge.d.ts +9 -0
- package/dist/web/ui/badge.js +26 -0
- package/dist/web/ui/breadcrumb.d.ts +11 -0
- package/dist/web/ui/breadcrumb.js +29 -0
- package/dist/web/ui/button.d.ts +10 -0
- package/dist/web/ui/button.js +37 -0
- package/dist/web/ui/checkbox.d.ts +4 -0
- package/dist/web/ui/checkbox.js +11 -0
- package/dist/web/ui/input.d.ts +3 -0
- package/dist/web/ui/input.js +8 -0
- package/dist/web/ui/label.d.ts +4 -0
- package/dist/web/ui/label.js +10 -0
- package/dist/web/ui/resizable.d.ts +7 -0
- package/dist/web/ui/resizable.js +16 -0
- package/dist/web/ui/separator.d.ts +4 -0
- package/dist/web/ui/separator.js +10 -0
- package/dist/web/ui/sheet.d.ts +14 -0
- package/dist/web/ui/sheet.js +42 -0
- package/dist/web/ui/sidebar.d.ts +73 -0
- package/dist/web/ui/sidebar.js +211 -0
- package/dist/web/ui/skeleton.d.ts +2 -0
- package/dist/web/ui/skeleton.js +7 -0
- package/dist/web/ui/switch.d.ts +6 -0
- package/dist/web/ui/switch.js +10 -0
- package/dist/web/ui/table.d.ts +10 -0
- package/dist/web/ui/table.js +30 -0
- package/dist/web/ui/tabs.d.ts +11 -0
- package/dist/web/ui/tabs.js +31 -0
- package/dist/web/ui/textarea.d.ts +3 -0
- package/dist/web/ui/textarea.js +8 -0
- package/dist/web/ui/tooltip.d.ts +7 -0
- package/dist/web/ui/tooltip.js +19 -0
- package/dist/web/ui/use-mobile.d.ts +1 -0
- package/dist/web/ui/use-mobile.js +16 -0
- package/dist/web/version/update-checker.d.ts +9 -0
- package/dist/web/version/update-checker.js +88 -0
- package/dist/web/widgets/ai-text-field.d.ts +36 -0
- package/dist/web/widgets/ai-text-field.js +137 -0
- package/dist/web/widgets/chart-window.d.ts +58 -0
- package/dist/web/widgets/chart-window.js +190 -0
- package/dist/web/widgets/charts.d.ts +208 -0
- package/dist/web/widgets/charts.js +685 -0
- package/dist/web/widgets/collapsible-section.d.ts +10 -0
- package/dist/web/widgets/collapsible-section.js +17 -0
- package/dist/web/widgets/dashboard-list.d.ts +21 -0
- package/dist/web/widgets/dashboard-list.js +45 -0
- package/dist/web/widgets/detail-list.d.ts +15 -0
- package/dist/web/widgets/detail-list.js +8 -0
- package/dist/web/widgets/drawer.d.ts +65 -0
- package/dist/web/widgets/drawer.js +142 -0
- package/dist/web/widgets/feed-list.d.ts +13 -0
- package/dist/web/widgets/feed-list.js +9 -0
- package/dist/web/widgets/floating-panel.d.ts +30 -0
- package/dist/web/widgets/floating-panel.js +242 -0
- package/dist/web/widgets/form-fields.d.ts +93 -0
- package/dist/web/widgets/form-fields.js +50 -0
- package/dist/web/widgets/index.d.ts +27 -0
- package/dist/web/widgets/index.js +30 -0
- package/dist/web/widgets/infinity-list.d.ts +46 -0
- package/dist/web/widgets/infinity-list.js +211 -0
- package/dist/web/widgets/mode-switch.d.ts +21 -0
- package/dist/web/widgets/mode-switch.js +25 -0
- package/dist/web/widgets/photo-slots.d.ts +29 -0
- package/dist/web/widgets/photo-slots.js +52 -0
- package/dist/web/widgets/plan-card.d.ts +36 -0
- package/dist/web/widgets/plan-card.js +13 -0
- package/dist/web/widgets/progress-bar.d.ts +19 -0
- package/dist/web/widgets/progress-bar.js +24 -0
- package/dist/web/widgets/progress-list.d.ts +19 -0
- package/dist/web/widgets/progress-list.js +11 -0
- package/dist/web/widgets/public-shell.d.ts +22 -0
- package/dist/web/widgets/public-shell.js +15 -0
- package/dist/web/widgets/query-table.d.ts +29 -0
- package/dist/web/widgets/query-table.js +30 -0
- package/dist/web/widgets/result-panel.d.ts +69 -0
- package/dist/web/widgets/result-panel.js +30 -0
- package/dist/web/widgets/section-card.d.ts +12 -0
- package/dist/web/widgets/section-card.js +9 -0
- package/dist/web/widgets/sheet-parts.d.ts +9 -0
- package/dist/web/widgets/sheet-parts.js +11 -0
- package/dist/web/widgets/side-by-side-table.d.ts +31 -0
- package/dist/web/widgets/side-by-side-table.js +11 -0
- package/dist/web/widgets/stat.d.ts +54 -0
- package/dist/web/widgets/stat.js +65 -0
- package/dist/web/widgets/states.d.ts +23 -0
- package/dist/web/widgets/states.js +20 -0
- package/dist/web/widgets/status-badge.d.ts +15 -0
- package/dist/web/widgets/status-badge.js +24 -0
- package/dist/web/widgets/step-bar.d.ts +35 -0
- package/dist/web/widgets/step-bar.js +60 -0
- package/dist/web/widgets/upload-zone.d.ts +24 -0
- package/dist/web/widgets/upload-zone.js +108 -0
- package/dist/web/widgets/use-draft.d.ts +20 -0
- package/dist/web/widgets/use-draft.js +21 -0
- package/dist/web/widgets/use-pointer-drag.d.ts +21 -0
- package/dist/web/widgets/use-pointer-drag.js +53 -0
- package/package.json +105 -7
- package/src/changes.json +77 -0
- package/src/web/fonts/OFL.txt +93 -0
- package/src/web/fonts/ibm-plex-mono-latin-400.woff2 +0 -0
- package/src/web/fonts/ibm-plex-mono-latin-500.woff2 +0 -0
- package/src/web/fonts/ibm-plex-mono-latin-ext-400.woff2 +0 -0
- package/src/web/fonts/ibm-plex-mono-latin-ext-500.woff2 +0 -0
- package/src/web/fonts/ibm-plex-sans-latin-400.woff2 +0 -0
- package/src/web/fonts/ibm-plex-sans-latin-500.woff2 +0 -0
- package/src/web/fonts/ibm-plex-sans-latin-600.woff2 +0 -0
- package/src/web/fonts/ibm-plex-sans-latin-ext-400.woff2 +0 -0
- package/src/web/fonts/ibm-plex-sans-latin-ext-500.woff2 +0 -0
- package/src/web/fonts/ibm-plex-sans-latin-ext-600.woff2 +0 -0
- package/src/web/styles.css +401 -0
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2019 IBM Corp. All rights reserved. IBMPlexSans-Italic[wdth,wght].ttf: Copyright 2019 IBM Corp. All rights reserved.
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
http://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,401 @@
|
|
|
1
|
+
/* Tailwind v4 + shadcn-Token-Schema. Die Design-Tokens liegen als CSS-
|
|
2
|
+
Variablen in @theme (Dark-Default) und `:root:not(.dark)` (Light).
|
|
3
|
+
Theme-Toggle = `document.documentElement.classList.toggle("dark")` —
|
|
4
|
+
keine JS-State-Management-Pipeline nötig.
|
|
5
|
+
|
|
6
|
+
Token-Namen folgen der shadcn-Konvention (background/foreground/primary/
|
|
7
|
+
secondary/muted/accent/destructive/border/input/ring), ergänzt um
|
|
8
|
+
border-strong/border-row, foreground-secondary/-disabled und
|
|
9
|
+
status-*-surface. Farben sind warm-neutral (Papier-Grau statt reinem
|
|
10
|
+
Grau) und komplett als Werte hinterlegt, damit Tailwind-Klassen wie
|
|
11
|
+
`bg-primary` direkt funktionieren.
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
@import "tailwindcss";
|
|
15
|
+
|
|
16
|
+
/* react-day-picker v9 liefert seine Struktur-CSS separat (kein bundled
|
|
17
|
+
Default mehr seit v9). Ohne diesen Import bricht das Calendar-Layout
|
|
18
|
+
— Wochen rutschen ineinander, weil rdp den table-Reset (border-
|
|
19
|
+
collapse, cell-Geometrie) extern hält. Unsere classNames-Map in
|
|
20
|
+
`date-input.tsx` überschreibt nur Slot-Tokens, die strukturellen
|
|
21
|
+
Defaults bleiben rdp's eigenes Stylesheet. */
|
|
22
|
+
@import "react-day-picker/style.css";
|
|
23
|
+
|
|
24
|
+
/* Tailwind v4 scans from the import location by default; this CSS is
|
|
25
|
+
compiled from a temp dir, so it would find no source files. The first
|
|
26
|
+
line is self-relative (`./` = this src/web/) and MUST stay that way: the
|
|
27
|
+
package ships `src/web`, so it resolves in every install layout, the
|
|
28
|
+
workspace and a standalone consumer (node_modules). A monorepo-relative
|
|
29
|
+
path did not find the shell classes in a standalone build, which gave an
|
|
30
|
+
unstyled prod, 15KB instead of 48KB (#359).
|
|
31
|
+
|
|
32
|
+
Tailwind v4 resolves relative @source paths against the REALPATH of the
|
|
33
|
+
imported CSS file (fs.realpath, follows symlinks), not the path it was
|
|
34
|
+
imported through. Here that is `<package>/src/web` in both layouts, so:
|
|
35
|
+
- `../` is the renderer's own src (shared screens and components) and
|
|
36
|
+
`../../dist` its compiled twin;
|
|
37
|
+
- the sibling packages (bundled-features, document-designer, neither
|
|
38
|
+
ships its own compiled CSS) need two variants: `../../../X` in the
|
|
39
|
+
workspace (unscoped dir name) and `../../../kumiko-X` in a standalone
|
|
40
|
+
consumer (scoped registry name under node_modules/@cosmicdrift/).
|
|
41
|
+
A path that doesn't exist in a given layout is simply not matched, no
|
|
42
|
+
error. samples is monorepo-only (in-repo sample build), a no-op elsewhere.
|
|
43
|
+
|
|
44
|
+
The published packages ship compiled dist (class names survive as string
|
|
45
|
+
literals in the .js), so every src line has a dist twin; src stays for
|
|
46
|
+
the workspace and for packages that still publish source. */
|
|
47
|
+
@source "./**/*.{ts,tsx}";
|
|
48
|
+
@source "../**/*.{ts,tsx}";
|
|
49
|
+
@source "../../dist/**/*.js";
|
|
50
|
+
@source "../../../bundled-features/src/**/*.{ts,tsx}";
|
|
51
|
+
@source "../../../bundled-features/dist/**/*.js";
|
|
52
|
+
@source "../../../kumiko-bundled-features/src/**/*.{ts,tsx}";
|
|
53
|
+
@source "../../../kumiko-bundled-features/dist/**/*.js";
|
|
54
|
+
@source "../../../document-designer/src/**/*.{ts,tsx}";
|
|
55
|
+
@source "../../../document-designer/dist/**/*.js";
|
|
56
|
+
@source "../../../kumiko-document-designer/src/**/*.{ts,tsx}";
|
|
57
|
+
@source "../../../kumiko-document-designer/dist/**/*.js";
|
|
58
|
+
@source "../../../../samples/**/src/**/*.{ts,tsx}";
|
|
59
|
+
/* In the monorepo `tsc --build` emits composite output (incl. compiled tests
|
|
60
|
+
and stale files of deleted components) into dist; scanning it would make the
|
|
61
|
+
CSS depend on whether a build ran before. Published dist has no __tests__. */
|
|
62
|
+
@source not "../../dist/**/__tests__/**";
|
|
63
|
+
@source not "../../../bundled-features/dist/**/__tests__/**";
|
|
64
|
+
@source not "../../../kumiko-bundled-features/dist/**/__tests__/**";
|
|
65
|
+
@source not "../../../document-designer/dist/**/__tests__/**";
|
|
66
|
+
@source not "../../../kumiko-document-designer/dist/**/__tests__/**";
|
|
67
|
+
|
|
68
|
+
/* Dark-Mode via class-selector (nicht media). Erlaubt JS-Toggle
|
|
69
|
+
und überschreibt System-Preference wenn die App will. */
|
|
70
|
+
@custom-variant dark (&:where(.dark, .dark *));
|
|
71
|
+
|
|
72
|
+
@theme {
|
|
73
|
+
/* Dark-Mode (Default), warm-neutral. Card liegt über dem Seitenhintergrund,
|
|
74
|
+
"abgesenkt" (muted/secondary/accent) darüber, so trennen Flächenfarben
|
|
75
|
+
statt nur Border + Schatten. Kontrast der Text-Rollen prüft
|
|
76
|
+
__tests__/token-contrast.test.ts. Primary ist der Text-Ton auf Fläche;
|
|
77
|
+
Apps überschreiben ihn mit der eigenen Brand. */
|
|
78
|
+
--color-background: #121211;
|
|
79
|
+
--color-foreground: #ecebe7;
|
|
80
|
+
--color-foreground-secondary: #c2c0b9;
|
|
81
|
+
--color-foreground-disabled: #74726c;
|
|
82
|
+
--color-card: #1a1a19;
|
|
83
|
+
--color-card-foreground: #ecebe7;
|
|
84
|
+
--color-popover: #1a1a19;
|
|
85
|
+
--color-popover-foreground: #ecebe7;
|
|
86
|
+
--color-primary: #ecebe7;
|
|
87
|
+
--color-primary-foreground: #1a1a19;
|
|
88
|
+
--color-secondary: #232321;
|
|
89
|
+
--color-secondary-foreground: #ecebe7;
|
|
90
|
+
--color-muted: #232321;
|
|
91
|
+
--color-muted-foreground: #a3a19a;
|
|
92
|
+
--color-accent: #232321;
|
|
93
|
+
--color-accent-foreground: #ecebe7;
|
|
94
|
+
--color-destructive: #b8483d;
|
|
95
|
+
--color-destructive-foreground: #ffffff;
|
|
96
|
+
--color-border: #34332f;
|
|
97
|
+
--color-border-strong: #484641;
|
|
98
|
+
--color-border-row: #2a2926;
|
|
99
|
+
/* Rahmen von Bedienelementen (Input, Checkbox): heller als die Trennlinien,
|
|
100
|
+
damit das Element als Ziel erkennbar bleibt. */
|
|
101
|
+
--color-input: #7c7970;
|
|
102
|
+
--color-ring: #ecebe7;
|
|
103
|
+
|
|
104
|
+
/* Sidebar-Familie Dark. Eigene Werte (KEIN Alias auf background). */
|
|
105
|
+
--color-sidebar: #121211;
|
|
106
|
+
--color-sidebar-foreground: #ecebe7;
|
|
107
|
+
--color-sidebar-primary: #ecebe7;
|
|
108
|
+
--color-sidebar-primary-foreground: #1a1a19;
|
|
109
|
+
--color-sidebar-accent: #2a2926;
|
|
110
|
+
--color-sidebar-accent-foreground: #ecebe7;
|
|
111
|
+
--color-sidebar-muted: #a3a19a;
|
|
112
|
+
--color-sidebar-input: #1f1f1d;
|
|
113
|
+
--color-sidebar-border: #34332f;
|
|
114
|
+
--color-sidebar-ring: #ecebe7;
|
|
115
|
+
|
|
116
|
+
/* Radius — Bedienelemente nutzen rounded-md = 6px, Pillen rounded-full. Skala
|
|
117
|
+
wird per calc vom Basiswert abgeleitet (shadcn-Konvention). */
|
|
118
|
+
--radius: 0.5rem;
|
|
119
|
+
--radius-sm: calc(var(--radius) - 4px);
|
|
120
|
+
--radius-md: calc(var(--radius) - 2px);
|
|
121
|
+
--radius-lg: var(--radius);
|
|
122
|
+
--radius-xl: calc(var(--radius) + 4px);
|
|
123
|
+
|
|
124
|
+
/* Semantische Status-Farben (Widgets: StatusBadge, Charts, StatCard-Tones).
|
|
125
|
+
`status-X` ist die Textfarbe, `status-X-surface` die Fläche dahinter
|
|
126
|
+
(Kontrast >= 4.5:1, im Test geprüft). @theme generiert die Utilities
|
|
127
|
+
(text-status-ok, bg-status-ok-surface, …). Dark-Werte; Light-Overrides
|
|
128
|
+
unten. Apps überschreiben in ihrer styles.css. */
|
|
129
|
+
--color-status-ok: #86d39f;
|
|
130
|
+
--color-status-ok-surface: #173322;
|
|
131
|
+
--color-status-warn: #edbe6a;
|
|
132
|
+
--color-status-warn-surface: #3a2a10;
|
|
133
|
+
--color-status-bad: #f3a89f;
|
|
134
|
+
--color-status-bad-surface: #3b1d1a;
|
|
135
|
+
--color-status-critical: #ffb4aa;
|
|
136
|
+
--color-status-critical-surface: #4a1a16;
|
|
137
|
+
--color-status-neutral: #c2c0b9;
|
|
138
|
+
--color-status-neutral-surface: #2a2926;
|
|
139
|
+
--color-status-active: #7fb3c9;
|
|
140
|
+
--color-status-active-surface: #14303c;
|
|
141
|
+
|
|
142
|
+
/* JSON-Syntax-Highlighting (JsonView). Eigene, gedämpfte Palette statt der
|
|
143
|
+
Status-Ampel — ein `false` oder eine Zahl ist kein Fehler-/Warn-Signal.
|
|
144
|
+
Dark-Werte; Light-Overrides unten. Kontrast gegen bg-muted geprüft (>=6:1
|
|
145
|
+
in beiden Themes). */
|
|
146
|
+
--color-syntax-key: hsl(210 15% 75%);
|
|
147
|
+
--color-syntax-string: hsl(150 25% 60%);
|
|
148
|
+
--color-syntax-number: hsl(35 40% 65%);
|
|
149
|
+
--color-syntax-literal: hsl(270 25% 70%);
|
|
150
|
+
|
|
151
|
+
/* Offer surface (PromoPanel): a dark block in both modes, so an upsell never
|
|
152
|
+
reads like an info or error banner. accent = eyebrow + call to action. */
|
|
153
|
+
--color-promo: hsl(0 0% 12%);
|
|
154
|
+
--color-promo-foreground: hsl(0 0% 98%);
|
|
155
|
+
--color-promo-accent: hsl(0 0% 98%);
|
|
156
|
+
--color-promo-accent-foreground: hsl(0 0% 9%);
|
|
157
|
+
|
|
158
|
+
/* IBM Plex, ausgeliefert unter /assets/kumiko/fonts (siehe @font-face unten).
|
|
159
|
+
Apps überschreiben --font-sans/--font-mono (createThemePlugin). */
|
|
160
|
+
--font-sans: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
|
|
161
|
+
--font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
162
|
+
--font-heading: var(--font-sans);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
/* Absoluter Same-Origin-Pfad mit Absicht: das CSS wird aus einem temp-dir
|
|
166
|
+
(dev) bzw. als gehashtes dist/assets/styles-*.css (prod) ausgeliefert, ein
|
|
167
|
+
relatives url() würde dort 404en. data:-URIs scheiden aus, weil Apps mit
|
|
168
|
+
`font-src 'self'` laufen. Dev-Server und Prod-Build liefern die Dateien
|
|
169
|
+
unter diesem Präfix aus (server-runtime/renderer-web-fonts.ts). */
|
|
170
|
+
@font-face {
|
|
171
|
+
font-family: "IBM Plex Sans";
|
|
172
|
+
font-style: normal;
|
|
173
|
+
font-weight: 400;
|
|
174
|
+
font-display: swap;
|
|
175
|
+
src: url("/assets/kumiko/fonts/ibm-plex-sans-latin-400.woff2") format("woff2");
|
|
176
|
+
unicode-range:
|
|
177
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
@font-face {
|
|
181
|
+
font-family: "IBM Plex Sans";
|
|
182
|
+
font-style: normal;
|
|
183
|
+
font-weight: 500;
|
|
184
|
+
font-display: swap;
|
|
185
|
+
src: url("/assets/kumiko/fonts/ibm-plex-sans-latin-500.woff2") format("woff2");
|
|
186
|
+
unicode-range:
|
|
187
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
@font-face {
|
|
191
|
+
font-family: "IBM Plex Sans";
|
|
192
|
+
font-style: normal;
|
|
193
|
+
font-weight: 600;
|
|
194
|
+
font-display: swap;
|
|
195
|
+
src: url("/assets/kumiko/fonts/ibm-plex-sans-latin-600.woff2") format("woff2");
|
|
196
|
+
unicode-range:
|
|
197
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
@font-face {
|
|
201
|
+
font-family: "IBM Plex Sans";
|
|
202
|
+
font-style: normal;
|
|
203
|
+
font-weight: 400;
|
|
204
|
+
font-display: swap;
|
|
205
|
+
src: url("/assets/kumiko/fonts/ibm-plex-sans-latin-ext-400.woff2") format("woff2");
|
|
206
|
+
unicode-range:
|
|
207
|
+
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
@font-face {
|
|
211
|
+
font-family: "IBM Plex Sans";
|
|
212
|
+
font-style: normal;
|
|
213
|
+
font-weight: 500;
|
|
214
|
+
font-display: swap;
|
|
215
|
+
src: url("/assets/kumiko/fonts/ibm-plex-sans-latin-ext-500.woff2") format("woff2");
|
|
216
|
+
unicode-range:
|
|
217
|
+
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
@font-face {
|
|
221
|
+
font-family: "IBM Plex Sans";
|
|
222
|
+
font-style: normal;
|
|
223
|
+
font-weight: 600;
|
|
224
|
+
font-display: swap;
|
|
225
|
+
src: url("/assets/kumiko/fonts/ibm-plex-sans-latin-ext-600.woff2") format("woff2");
|
|
226
|
+
unicode-range:
|
|
227
|
+
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
@font-face {
|
|
231
|
+
font-family: "IBM Plex Mono";
|
|
232
|
+
font-style: normal;
|
|
233
|
+
font-weight: 400;
|
|
234
|
+
font-display: swap;
|
|
235
|
+
src: url("/assets/kumiko/fonts/ibm-plex-mono-latin-400.woff2") format("woff2");
|
|
236
|
+
unicode-range:
|
|
237
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
@font-face {
|
|
241
|
+
font-family: "IBM Plex Mono";
|
|
242
|
+
font-style: normal;
|
|
243
|
+
font-weight: 500;
|
|
244
|
+
font-display: swap;
|
|
245
|
+
src: url("/assets/kumiko/fonts/ibm-plex-mono-latin-500.woff2") format("woff2");
|
|
246
|
+
unicode-range:
|
|
247
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
@font-face {
|
|
251
|
+
font-family: "IBM Plex Mono";
|
|
252
|
+
font-style: normal;
|
|
253
|
+
font-weight: 400;
|
|
254
|
+
font-display: swap;
|
|
255
|
+
src: url("/assets/kumiko/fonts/ibm-plex-mono-latin-ext-400.woff2") format("woff2");
|
|
256
|
+
unicode-range:
|
|
257
|
+
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
@font-face {
|
|
261
|
+
font-family: "IBM Plex Mono";
|
|
262
|
+
font-style: normal;
|
|
263
|
+
font-weight: 500;
|
|
264
|
+
font-display: swap;
|
|
265
|
+
src: url("/assets/kumiko/fonts/ibm-plex-mono-latin-ext-500.woff2") format("woff2");
|
|
266
|
+
unicode-range:
|
|
267
|
+
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
/* Card chrome defaults (reproduce p-6 / rounded-xl / shadow-sm). In the base
|
|
271
|
+
layer so the theme plugin (createThemePlugin, emitted later into the same
|
|
272
|
+
layer) and an app's plain :root both override them; plain :root rather than
|
|
273
|
+
@theme so they are always emitted. */
|
|
274
|
+
@layer base {
|
|
275
|
+
:root {
|
|
276
|
+
/* Native controls (date input, scrollbars, select) follow the theme. */
|
|
277
|
+
color-scheme: dark;
|
|
278
|
+
--card-padding: 1.5rem;
|
|
279
|
+
--card-radius: var(--radius-xl);
|
|
280
|
+
--card-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
:root {
|
|
285
|
+
--kumiko-grid-row-h: 2.5rem;
|
|
286
|
+
--kumiko-grid-gap: 1rem;
|
|
287
|
+
/* 0 = no ShellHeader mounted (e.g. a Drawer used outside a shell) — a
|
|
288
|
+
consumer offsetting by this variable then gets today's edge-to-edge
|
|
289
|
+
behavior for free. */
|
|
290
|
+
--shell-header-height: 0px;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
/* Mirrors ShellHeader's own h-14, kept in CSS (not a React state) so a Drawer
|
|
294
|
+
rendered into a portal (outside ShellHeader's DOM subtree) still resolves
|
|
295
|
+
the right value from this shared :root ancestor. The icon-rail rule stays
|
|
296
|
+
so the header height remains defined per collapse state. */
|
|
297
|
+
:root:has([data-kumiko-layout="shell-header"]) {
|
|
298
|
+
--shell-header-height: 3.5rem;
|
|
299
|
+
}
|
|
300
|
+
:root:has([data-kumiko-layout="shell-header"]):has([data-collapsible="icon"]) {
|
|
301
|
+
--shell-header-height: 3.5rem;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
/* Light-Mode-Overrides — aktiv wenn `<html>` KEINE `.dark` Klasse
|
|
305
|
+
hat. Dark ist der Default (siehe @theme oben); toggled der User
|
|
306
|
+
auf light, greifen diese Werte. */
|
|
307
|
+
@layer base {
|
|
308
|
+
:root:not(.dark) {
|
|
309
|
+
color-scheme: light;
|
|
310
|
+
/* Light-Mode, warm-neutral. Seite (#F3F2EE) getönt, Card reines Weiß —
|
|
311
|
+
die Card hebt sich von der Seite ab statt zu verschwimmen; "abgesenkt"
|
|
312
|
+
(muted/secondary/accent) für Tabellenkopf, Eingabefläche, Hover.
|
|
313
|
+
Primary ist der Text-Ton auf Fläche; Apps überschreiben ihn mit Brand. */
|
|
314
|
+
--color-background: #f3f2ee;
|
|
315
|
+
--color-foreground: #1a1c1e;
|
|
316
|
+
--color-foreground-secondary: #474b50;
|
|
317
|
+
--color-foreground-disabled: #8a8e93;
|
|
318
|
+
--color-card: #ffffff;
|
|
319
|
+
--color-card-foreground: #1a1c1e;
|
|
320
|
+
--color-popover: #ffffff;
|
|
321
|
+
--color-popover-foreground: #1a1c1e;
|
|
322
|
+
--color-primary: #1a1c1e;
|
|
323
|
+
--color-primary-foreground: #ffffff;
|
|
324
|
+
--color-secondary: #f6f5f1;
|
|
325
|
+
--color-secondary-foreground: #1a1c1e;
|
|
326
|
+
--color-muted: #f6f5f1;
|
|
327
|
+
--color-muted-foreground: #5f6368;
|
|
328
|
+
--color-accent: #f6f5f1;
|
|
329
|
+
--color-accent-foreground: #1a1c1e;
|
|
330
|
+
--color-destructive: #9b2c23;
|
|
331
|
+
--color-destructive-foreground: #ffffff;
|
|
332
|
+
--color-border: #e2e0d9;
|
|
333
|
+
--color-border-strong: #cfccc3;
|
|
334
|
+
--color-border-row: #eceae4;
|
|
335
|
+
--color-input: #908d85;
|
|
336
|
+
--color-ring: #1a1c1e;
|
|
337
|
+
|
|
338
|
+
/* Sidebar-Familie Light: Rail auf Seitenfarbe, aktiver Eintrag eine Stufe
|
|
339
|
+
dunkler. */
|
|
340
|
+
--color-sidebar: #f3f2ee;
|
|
341
|
+
--color-sidebar-foreground: #1a1c1e;
|
|
342
|
+
--color-sidebar-primary: #1a1c1e;
|
|
343
|
+
--color-sidebar-primary-foreground: #ffffff;
|
|
344
|
+
--color-sidebar-accent: #e9e7e1;
|
|
345
|
+
--color-sidebar-accent-foreground: #1a1c1e;
|
|
346
|
+
--color-sidebar-muted: #5f6368;
|
|
347
|
+
--color-sidebar-input: #ffffff;
|
|
348
|
+
--color-sidebar-border: #e2e0d9;
|
|
349
|
+
--color-sidebar-ring: #1a1c1e;
|
|
350
|
+
|
|
351
|
+
/* Status-Farben Light — Text dunkel auf heller Tönung. */
|
|
352
|
+
--color-status-ok: #1d5e36;
|
|
353
|
+
--color-status-ok-surface: #e6f2ea;
|
|
354
|
+
--color-status-warn: #7a4b00;
|
|
355
|
+
--color-status-warn-surface: #fbf0d9;
|
|
356
|
+
--color-status-bad: #9b2c23;
|
|
357
|
+
--color-status-bad-surface: #f9e5e2;
|
|
358
|
+
--color-status-critical: #7f1d16;
|
|
359
|
+
--color-status-critical-surface: #f4d3ce;
|
|
360
|
+
--color-status-neutral: #474b50;
|
|
361
|
+
--color-status-neutral-surface: #f0eee8;
|
|
362
|
+
--color-status-active: #205265;
|
|
363
|
+
--color-status-active-surface: #e1edf2;
|
|
364
|
+
|
|
365
|
+
/* JSON-Syntax-Highlighting Light — dunkler/gesättigter, Kontrast gegen
|
|
366
|
+
bg-muted geprüft (>=6:1). */
|
|
367
|
+
--color-syntax-key: hsl(210 20% 35%);
|
|
368
|
+
--color-syntax-string: hsl(150 30% 30%);
|
|
369
|
+
--color-syntax-number: hsl(30 45% 32%);
|
|
370
|
+
--color-syntax-literal: hsl(270 30% 40%);
|
|
371
|
+
|
|
372
|
+
--color-promo: hsl(0 0% 9%);
|
|
373
|
+
--color-promo-foreground: hsl(0 0% 98%);
|
|
374
|
+
--color-promo-accent: hsl(0 0% 98%);
|
|
375
|
+
--color-promo-accent-foreground: hsl(0 0% 9%);
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
* {
|
|
379
|
+
border-color: var(--color-border);
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
body {
|
|
383
|
+
background-color: var(--color-background);
|
|
384
|
+
color: var(--color-foreground);
|
|
385
|
+
/* Über den Token, nicht hardcodiert: so greifen App-Overrides und
|
|
386
|
+
createThemePlugin. Kein body-weites tabular-nums: es macht den Bindestrich
|
|
387
|
+
ziffernbreit; Zahlenspalten setzen die Utility selbst. */
|
|
388
|
+
font-family: var(--font-sans);
|
|
389
|
+
font-size: 14px;
|
|
390
|
+
line-height: 1.4;
|
|
391
|
+
margin: 0;
|
|
392
|
+
-webkit-font-smoothing: antialiased;
|
|
393
|
+
-moz-osx-font-smoothing: grayscale;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
@media (max-width: 767px) {
|
|
397
|
+
body {
|
|
398
|
+
font-size: 15px;
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
}
|