@panphora/bevel 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +16 -0
- package/README.md +226 -0
- package/bevel-fonts.css +16 -0
- package/bevel.css +3075 -0
- package/bevel.js +2126 -0
- package/dist/react/components/activity-feed.d.ts +89 -0
- package/dist/react/components/activity-feed.js +54 -0
- package/dist/react/components/alert-dialog.d.ts +14 -0
- package/dist/react/components/alert-dialog.js +19 -0
- package/dist/react/components/app-shell.d.ts +98 -0
- package/dist/react/components/app-shell.js +86 -0
- package/dist/react/components/app-toolbar.d.ts +19 -0
- package/dist/react/components/app-toolbar.js +22 -0
- package/dist/react/components/avatar-group.d.ts +67 -0
- package/dist/react/components/avatar-group.js +49 -0
- package/dist/react/components/badge-and-pill.d.ts +34 -0
- package/dist/react/components/badge-and-pill.js +12 -0
- package/dist/react/components/breadcrumbs.d.ts +56 -0
- package/dist/react/components/breadcrumbs.js +44 -0
- package/dist/react/components/bulk-bar.d.ts +22 -0
- package/dist/react/components/bulk-bar.js +59 -0
- package/dist/react/components/button.d.ts +15 -0
- package/dist/react/components/button.js +20 -0
- package/dist/react/components/callout-and-hint.d.ts +17 -0
- package/dist/react/components/callout-and-hint.js +8 -0
- package/dist/react/components/checkbox.d.ts +5 -0
- package/dist/react/components/checkbox.js +13 -0
- package/dist/react/components/chip.d.ts +149 -0
- package/dist/react/components/chip.js +29 -0
- package/dist/react/components/code-block.d.ts +50 -0
- package/dist/react/components/code-block.js +77 -0
- package/dist/react/components/code-editor.d.ts +122 -0
- package/dist/react/components/code-editor.js +695 -0
- package/dist/react/components/column-manager.d.ts +28 -0
- package/dist/react/components/column-manager.js +85 -0
- package/dist/react/components/combobox.d.ts +32 -0
- package/dist/react/components/combobox.js +37 -0
- package/dist/react/components/data-grid.d.ts +108 -0
- package/dist/react/components/data-grid.js +159 -0
- package/dist/react/components/data-table.d.ts +2 -0
- package/dist/react/components/data-table.js +6 -0
- package/dist/react/components/date.d.ts +23 -0
- package/dist/react/components/date.js +11 -0
- package/dist/react/components/details.d.ts +13 -0
- package/dist/react/components/details.js +20 -0
- package/dist/react/components/dialog.d.ts +74 -0
- package/dist/react/components/dialog.js +31 -0
- package/dist/react/components/diff-view.d.ts +73 -0
- package/dist/react/components/diff-view.js +68 -0
- package/dist/react/components/documents.d.ts +70 -0
- package/dist/react/components/documents.js +10 -0
- package/dist/react/components/drawer.d.ts +45 -0
- package/dist/react/components/drawer.js +35 -0
- package/dist/react/components/editable-grid-cells.d.ts +32 -0
- package/dist/react/components/editable-grid-cells.js +116 -0
- package/dist/react/components/eyebrow-kicker-lede-pull-quote.d.ts +39 -0
- package/dist/react/components/eyebrow-kicker-lede-pull-quote.js +12 -0
- package/dist/react/components/field.d.ts +32 -0
- package/dist/react/components/field.js +27 -0
- package/dist/react/components/file-tree.d.ts +75 -0
- package/dist/react/components/file-tree.js +247 -0
- package/dist/react/components/file.d.ts +43 -0
- package/dist/react/components/file.js +73 -0
- package/dist/react/components/files-table.d.ts +174 -0
- package/dist/react/components/files-table.js +237 -0
- package/dist/react/components/filter-builder.d.ts +37 -0
- package/dist/react/components/filter-builder.js +109 -0
- package/dist/react/components/form-error-summary.d.ts +16 -0
- package/dist/react/components/form-error-summary.js +49 -0
- package/dist/react/components/icon-button.d.ts +8 -0
- package/dist/react/components/icon-button.js +14 -0
- package/dist/react/components/icon.d.ts +7 -0
- package/dist/react/components/icon.js +15 -0
- package/dist/react/components/image.d.ts +72 -0
- package/dist/react/components/image.js +24 -0
- package/dist/react/components/inline-edit.d.ts +70 -0
- package/dist/react/components/inline-edit.js +149 -0
- package/dist/react/components/input.d.ts +29 -0
- package/dist/react/components/input.js +20 -0
- package/dist/react/components/kanban-board.d.ts +140 -0
- package/dist/react/components/kanban-board.js +374 -0
- package/dist/react/components/layout.d.ts +51 -0
- package/dist/react/components/layout.js +28 -0
- package/dist/react/components/list.d.ts +28 -0
- package/dist/react/components/list.js +6 -0
- package/dist/react/components/masthead-and-verdict.d.ts +60 -0
- package/dist/react/components/masthead-and-verdict.js +8 -0
- package/dist/react/components/menu.d.ts +26 -0
- package/dist/react/components/menu.js +31 -0
- package/dist/react/components/multi-select-picker.d.ts +49 -0
- package/dist/react/components/multi-select-picker.js +20 -0
- package/dist/react/components/note.d.ts +33 -0
- package/dist/react/components/note.js +8 -0
- package/dist/react/components/number-field.d.ts +16 -0
- package/dist/react/components/number-field.js +17 -0
- package/dist/react/components/pagination.d.ts +45 -0
- package/dist/react/components/pagination.js +87 -0
- package/dist/react/components/persistent-action-banner.d.ts +71 -0
- package/dist/react/components/persistent-action-banner.js +39 -0
- package/dist/react/components/popconfirm.d.ts +42 -0
- package/dist/react/components/popconfirm.js +59 -0
- package/dist/react/components/popover.d.ts +16 -0
- package/dist/react/components/popover.js +21 -0
- package/dist/react/components/progress-and-gauge.d.ts +44 -0
- package/dist/react/components/progress-and-gauge.js +19 -0
- package/dist/react/components/radio.d.ts +7 -0
- package/dist/react/components/radio.js +13 -0
- package/dist/react/components/rich-text-toolbar.d.ts +26 -0
- package/dist/react/components/rich-text-toolbar.js +64 -0
- package/dist/react/components/rows-and-card.d.ts +88 -0
- package/dist/react/components/rows-and-card.js +10 -0
- package/dist/react/components/save-status-indicator.d.ts +11 -0
- package/dist/react/components/save-status-indicator.js +33 -0
- package/dist/react/components/segmented-control.d.ts +21 -0
- package/dist/react/components/segmented-control.js +15 -0
- package/dist/react/components/select.d.ts +29 -0
- package/dist/react/components/select.js +29 -0
- package/dist/react/components/selectable-cards.d.ts +30 -0
- package/dist/react/components/selectable-cards.js +29 -0
- package/dist/react/components/settings-rows.d.ts +51 -0
- package/dist/react/components/settings-rows.js +8 -0
- package/dist/react/components/sidebar-nav.d.ts +77 -0
- package/dist/react/components/sidebar-nav.js +41 -0
- package/dist/react/components/skeleton-and-empty.d.ts +51 -0
- package/dist/react/components/skeleton-and-empty.js +14 -0
- package/dist/react/components/slider.d.ts +19 -0
- package/dist/react/components/slider.js +17 -0
- package/dist/react/components/small-charts.d.ts +60 -0
- package/dist/react/components/small-charts.js +76 -0
- package/dist/react/components/sortable.d.ts +30 -0
- package/dist/react/components/sortable.js +85 -0
- package/dist/react/components/split-button.d.ts +38 -0
- package/dist/react/components/split-button.js +43 -0
- package/dist/react/components/split-panes.d.ts +35 -0
- package/dist/react/components/split-panes.js +102 -0
- package/dist/react/components/stat-tiles.d.ts +54 -0
- package/dist/react/components/stat-tiles.js +8 -0
- package/dist/react/components/steps.d.ts +11 -0
- package/dist/react/components/steps.js +13 -0
- package/dist/react/components/switch.d.ts +6 -0
- package/dist/react/components/switch.js +13 -0
- package/dist/react/components/table.d.ts +61 -0
- package/dist/react/components/table.js +6 -0
- package/dist/react/components/tabs.d.ts +7 -0
- package/dist/react/components/tabs.js +13 -0
- package/dist/react/components/tags.d.ts +33 -0
- package/dist/react/components/tags.js +83 -0
- package/dist/react/components/textarea.d.ts +10 -0
- package/dist/react/components/textarea.js +6 -0
- package/dist/react/components/toast.d.ts +35 -0
- package/dist/react/components/toast.js +90 -0
- package/dist/react/components/tooltip-and-key.d.ts +20 -0
- package/dist/react/components/tooltip-and-key.js +20 -0
- package/dist/react/components/tree-view.d.ts +34 -0
- package/dist/react/components/tree-view.js +118 -0
- package/dist/react/components/upload-dropzone.d.ts +92 -0
- package/dist/react/components/upload-dropzone.js +116 -0
- package/dist/react/components/wizard-shell.d.ts +78 -0
- package/dist/react/components/wizard-shell.js +176 -0
- package/dist/react/fonts.css.d.ts +1 -0
- package/dist/react/index.d.ts +76 -0
- package/dist/react/index.js +77 -0
- package/dist/react/integrations/quickcrop.d.ts +58 -0
- package/dist/react/integrations/quickcrop.js +137 -0
- package/dist/react/integrations/richclay.d.ts +43 -0
- package/dist/react/integrations/richclay.js +129 -0
- package/dist/react/internal/classes.d.ts +3 -0
- package/dist/react/internal/classes.js +10 -0
- package/dist/react/internal/close-mark.d.ts +1 -0
- package/dist/react/internal/close-mark.js +10 -0
- package/dist/react/internal/controllable-state.d.ts +9 -0
- package/dist/react/internal/controllable-state.js +22 -0
- package/dist/react/internal/drop-effect.d.ts +28 -0
- package/dist/react/internal/drop-effect.js +8 -0
- package/dist/react/internal/form-reset.d.ts +2 -0
- package/dist/react/internal/form-reset.js +22 -0
- package/dist/react/internal/format.d.ts +1 -0
- package/dist/react/internal/format.js +14 -0
- package/dist/react/internal/link.d.ts +2 -0
- package/dist/react/internal/link.js +8 -0
- package/dist/react/internal/part.d.ts +20 -0
- package/dist/react/internal/part.js +47 -0
- package/dist/react/internal/pointer-session.d.ts +8 -0
- package/dist/react/internal/pointer-session.js +60 -0
- package/dist/react/internal/refs.d.ts +2 -0
- package/dist/react/internal/refs.js +22 -0
- package/dist/react/internal/rich-text.d.ts +28 -0
- package/dist/react/internal/rich-text.js +4 -0
- package/dist/react/internal/table-context.d.ts +39 -0
- package/dist/react/internal/table-context.js +12 -0
- package/dist/react/internal/use-object-url.d.ts +1 -0
- package/dist/react/internal/use-object-url.js +15 -0
- package/dist/react/layout.css +274 -0
- package/dist/react/layout.css.d.ts +1 -0
- package/dist/react/models/filter.d.ts +31 -0
- package/dist/react/models/filter.js +79 -0
- package/dist/react/models/kanban.d.ts +51 -0
- package/dist/react/models/kanban.js +35 -0
- package/dist/react/models/reorder.d.ts +9 -0
- package/dist/react/models/reorder.js +23 -0
- package/dist/react/models/table.d.ts +85 -0
- package/dist/react/models/table.js +144 -0
- package/dist/react/models/tree.d.ts +16 -0
- package/dist/react/models/tree.js +26 -0
- package/dist/react/provider.d.ts +18 -0
- package/dist/react/provider.js +31 -0
- package/dist/react/recipes/context-hypercms.d.ts +17 -0
- package/dist/react/recipes/context-hypercms.js +71 -0
- package/dist/react/recipes/context-quickcrop.d.ts +8 -0
- package/dist/react/recipes/context-quickcrop.js +49 -0
- package/dist/react/theme.css +8004 -0
- package/dist/react/theme.css.d.ts +1 -0
- package/examples/README.md +34 -0
- package/examples/components/activity-feed.html +28 -0
- package/examples/components/app-shell.html +12 -0
- package/examples/components/app-toolbar.html +38 -0
- package/examples/components/avatar-group.html +27 -0
- package/examples/components/breadcrumbs.html +26 -0
- package/examples/components/bulk-bar.html +22 -0
- package/examples/components/code-block.html +12 -0
- package/examples/components/code-editor.html +25 -0
- package/examples/components/column-manager.html +9 -0
- package/examples/components/combobox.html +13 -0
- package/examples/components/context-hypercms.css +41 -0
- package/examples/components/context-hypercms.html +40 -0
- package/examples/components/context-hypercms.js +62 -0
- package/examples/components/context-quickcrop.html +137 -0
- package/examples/components/diff-view.html +9 -0
- package/examples/components/drawer.html +11 -0
- package/examples/components/editable-grid-cells.html +9 -0
- package/examples/components/file-browser.html +53 -0
- package/examples/components/file-tree.html +34 -0
- package/examples/components/files-table.html +80 -0
- package/examples/components/filter-builder.html +11 -0
- package/examples/components/form-error-summary.html +11 -0
- package/examples/components/index.html +51 -0
- package/examples/components/inline-edit.html +42 -0
- package/examples/components/kanban-board.html +42 -0
- package/examples/components/manifest.json +3279 -0
- package/examples/components/modal.html +11 -0
- package/examples/components/multi-select-picker.html +13 -0
- package/examples/components/pagination.html +32 -0
- package/examples/components/persistent-action-banner.html +23 -0
- package/examples/components/popconfirm.html +13 -0
- package/examples/components/popover-menu.html +13 -0
- package/examples/components/reference/baseline/DECISIONS.md +85 -0
- package/examples/components/reference/baseline/README.md +58 -0
- package/examples/components/reference/baseline/bevel-fonts.css +16 -0
- package/examples/components/reference/baseline/bevel.css +1339 -0
- package/examples/components/reference/baseline/bevel.js +496 -0
- package/examples/components/reference/baseline/fonts/LICENSE-ibm-plex-mono.txt +93 -0
- package/examples/components/reference/baseline/fonts/LICENSE-ibm-plex-sans.txt +93 -0
- package/examples/components/reference/baseline/fonts/LICENSE-newsreader.txt +93 -0
- package/examples/components/reference/baseline/fonts/ibm-plex-mono-latin-400-normal.woff2 +0 -0
- package/examples/components/reference/baseline/fonts/ibm-plex-mono-latin-500-normal.woff2 +0 -0
- package/examples/components/reference/baseline/fonts/ibm-plex-mono-latin-600-normal.woff2 +0 -0
- package/examples/components/reference/baseline/fonts/ibm-plex-sans-latin-400-italic.woff2 +0 -0
- package/examples/components/reference/baseline/fonts/ibm-plex-sans-latin-400-normal.woff2 +0 -0
- package/examples/components/reference/baseline/fonts/ibm-plex-sans-latin-500-normal.woff2 +0 -0
- package/examples/components/reference/baseline/fonts/ibm-plex-sans-latin-600-normal.woff2 +0 -0
- package/examples/components/reference/baseline/fonts/newsreader-latin-opsz-italic.woff2 +0 -0
- package/examples/components/reference/baseline/fonts/newsreader-latin-opsz-normal.woff2 +0 -0
- package/examples/components/reference/fable/IMPROVEMENTS.md +106 -0
- package/examples/components/reference/fable/PARENT-REPAIRS.md +17 -0
- package/examples/components/reference/fable/__pycache__/build_repairs.cpython-311.pyc +0 -0
- package/examples/components/reference/fable/__pycache__/kanban.cpython-311.pyc +0 -0
- package/examples/components/reference/fable/as-authored/IMPROVEMENTS-completed.md +106 -0
- package/examples/components/reference/fable/as-authored/base-astra.css +17 -0
- package/examples/components/reference/fable/as-authored/base-parent.css +416 -0
- package/examples/components/reference/fable/as-authored/build.py +858 -0
- package/examples/components/reference/fable/as-authored/fable.css +823 -0
- package/examples/components/reference/fable/as-authored/kanban-completed.css +235 -0
- package/examples/components/reference/fable/as-authored/kanban-completed.html +53 -0
- package/examples/components/reference/fable/as-authored/kanban-completed.py +212 -0
- package/examples/components/reference/fable/as-authored/kanban.py +207 -0
- package/examples/components/reference/fable/base-astra.css +17 -0
- package/examples/components/reference/fable/base-parent.css +416 -0
- package/examples/components/reference/fable/build.py +858 -0
- package/examples/components/reference/fable/build_repairs.py +25 -0
- package/examples/components/reference/fable/components/activity-feed.html +3 -0
- package/examples/components/reference/fable/components/app-toolbar.html +3 -0
- package/examples/components/reference/fable/components/avatar-group.html +4 -0
- package/examples/components/reference/fable/components/breadcrumbs.html +3 -0
- package/examples/components/reference/fable/components/code-block.html +9 -0
- package/examples/components/reference/fable/components/column-manager.html +3 -0
- package/examples/components/reference/fable/components/combobox.html +6 -0
- package/examples/components/reference/fable/components/context-hypercms.html +3 -0
- package/examples/components/reference/fable/components/context-quickcrop.html +4 -0
- package/examples/components/reference/fable/components/diff-view.html +13 -0
- package/examples/components/reference/fable/components/drawer.html +3 -0
- package/examples/components/reference/fable/components/editable-grid-cells.html +3 -0
- package/examples/components/reference/fable/components/filter-builder.html +3 -0
- package/examples/components/reference/fable/components/form-error-summary.html +4 -0
- package/examples/components/reference/fable/components/inline-edit.html +3 -0
- package/examples/components/reference/fable/components/kanban-board.html +53 -0
- package/examples/components/reference/fable/components/modal.html +3 -0
- package/examples/components/reference/fable/components/multi-select-picker.html +5 -0
- package/examples/components/reference/fable/components/pagination.html +3 -0
- package/examples/components/reference/fable/components/persistent-action-banner.html +4 -0
- package/examples/components/reference/fable/components/popconfirm.html +5 -0
- package/examples/components/reference/fable/components/popover-menu.html +3 -0
- package/examples/components/reference/fable/components/rich-text-toolbar.html +3 -0
- package/examples/components/reference/fable/components/save-status-indicator.html +2 -0
- package/examples/components/reference/fable/components/selectable-cards.html +3 -0
- package/examples/components/reference/fable/components/settings-rows.html +3 -0
- package/examples/components/reference/fable/components/sidebar-nav.html +4 -0
- package/examples/components/reference/fable/components/small-charts.html +5 -0
- package/examples/components/reference/fable/components/split-button.html +4 -0
- package/examples/components/reference/fable/components/split-panes.html +8 -0
- package/examples/components/reference/fable/components/stat-tiles.html +3 -0
- package/examples/components/reference/fable/components/toast-stack.html +5 -0
- package/examples/components/reference/fable/components/tree-view.html +4 -0
- package/examples/components/reference/fable/components/upload-dropzone.html +6 -0
- package/examples/components/reference/fable/components/wizard-shell.html +3 -0
- package/examples/components/reference/fable/coverage.json +414 -0
- package/examples/components/reference/fable/fable.css +823 -0
- package/examples/components/reference/fable/index.html +5 -0
- package/examples/components/reference/fable/kanban.css +237 -0
- package/examples/components/reference/fable/kanban.py +212 -0
- package/examples/components/reference/fable/parent-repairs.css +9 -0
- package/examples/components/reference/fixtures/data.json +102 -0
- package/examples/components/reference/fixtures/host.js +47 -0
- package/examples/components/reference/fixtures/static-host.js +39 -0
- package/examples/components/reference/fixtures/workspace.jpg +0 -0
- package/examples/components/reference/parent/CHANGES.md +179 -0
- package/examples/components/reference/parent/__pycache__/kanban.cpython-311.pyc +0 -0
- package/examples/components/reference/parent/base-astra.css +17 -0
- package/examples/components/reference/parent/base-parent.css +416 -0
- package/examples/components/reference/parent/build.py +148 -0
- package/examples/components/reference/parent/components/activity-feed.html +2 -0
- package/examples/components/reference/parent/components/app-toolbar.html +2 -0
- package/examples/components/reference/parent/components/avatar-group.html +4 -0
- package/examples/components/reference/parent/components/breadcrumbs.html +2 -0
- package/examples/components/reference/parent/components/code-block.html +8 -0
- package/examples/components/reference/parent/components/column-manager.html +2 -0
- package/examples/components/reference/parent/components/combobox.html +6 -0
- package/examples/components/reference/parent/components/context-hypercms.html +2 -0
- package/examples/components/reference/parent/components/context-quickcrop.html +4 -0
- package/examples/components/reference/parent/components/diff-view.html +4 -0
- package/examples/components/reference/parent/components/drawer.html +2 -0
- package/examples/components/reference/parent/components/editable-grid-cells.html +2 -0
- package/examples/components/reference/parent/components/filter-builder.html +2 -0
- package/examples/components/reference/parent/components/form-error-summary.html +2 -0
- package/examples/components/reference/parent/components/inline-edit.html +2 -0
- package/examples/components/reference/parent/components/kanban-board.html +84 -0
- package/examples/components/reference/parent/components/modal.html +2 -0
- package/examples/components/reference/parent/components/multi-select-picker.html +5 -0
- package/examples/components/reference/parent/components/pagination.html +2 -0
- package/examples/components/reference/parent/components/persistent-action-banner.html +4 -0
- package/examples/components/reference/parent/components/popconfirm.html +5 -0
- package/examples/components/reference/parent/components/popover-menu.html +2 -0
- package/examples/components/reference/parent/components/rich-text-toolbar.html +2 -0
- package/examples/components/reference/parent/components/save-status-indicator.html +2 -0
- package/examples/components/reference/parent/components/selectable-cards.html +2 -0
- package/examples/components/reference/parent/components/settings-rows.html +2 -0
- package/examples/components/reference/parent/components/sidebar-nav.html +4 -0
- package/examples/components/reference/parent/components/small-charts.html +2 -0
- package/examples/components/reference/parent/components/split-button.html +5 -0
- package/examples/components/reference/parent/components/split-panes.html +8 -0
- package/examples/components/reference/parent/components/stat-tiles.html +2 -0
- package/examples/components/reference/parent/components/toast-stack.html +5 -0
- package/examples/components/reference/parent/components/tree-view.html +4 -0
- package/examples/components/reference/parent/components/upload-dropzone.html +6 -0
- package/examples/components/reference/parent/components/wizard-shell.html +2 -0
- package/examples/components/reference/parent/coverage.json +414 -0
- package/examples/components/reference/parent/index.html +1 -0
- package/examples/components/reference/parent/kanban.css +114 -0
- package/examples/components/reference/parent/kanban.py +55 -0
- package/examples/components/reference/parent/refinement.css +53 -0
- package/examples/components/reference/selected/build.py +70 -0
- package/examples/components/reference/selected/components/activity-feed.html +3 -0
- package/examples/components/reference/selected/components/app-toolbar.html +3 -0
- package/examples/components/reference/selected/components/avatar-group.html +4 -0
- package/examples/components/reference/selected/components/breadcrumbs.html +3 -0
- package/examples/components/reference/selected/components/code-block.html +9 -0
- package/examples/components/reference/selected/components/column-manager.html +3 -0
- package/examples/components/reference/selected/components/combobox.html +6 -0
- package/examples/components/reference/selected/components/context-hypercms.html +3 -0
- package/examples/components/reference/selected/components/context-quickcrop.html +4 -0
- package/examples/components/reference/selected/components/diff-view.html +13 -0
- package/examples/components/reference/selected/components/drawer.html +3 -0
- package/examples/components/reference/selected/components/editable-grid-cells.html +3 -0
- package/examples/components/reference/selected/components/filter-builder.html +3 -0
- package/examples/components/reference/selected/components/form-error-summary.html +4 -0
- package/examples/components/reference/selected/components/inline-edit.html +3 -0
- package/examples/components/reference/selected/components/kanban-board.html +53 -0
- package/examples/components/reference/selected/components/modal.html +2 -0
- package/examples/components/reference/selected/components/multi-select-picker.html +5 -0
- package/examples/components/reference/selected/components/pagination.html +3 -0
- package/examples/components/reference/selected/components/persistent-action-banner.html +4 -0
- package/examples/components/reference/selected/components/popconfirm.html +5 -0
- package/examples/components/reference/selected/components/popover-menu.html +3 -0
- package/examples/components/reference/selected/components/rich-text-toolbar.html +3 -0
- package/examples/components/reference/selected/components/save-status-indicator.html +2 -0
- package/examples/components/reference/selected/components/selectable-cards.html +3 -0
- package/examples/components/reference/selected/components/settings-rows.html +3 -0
- package/examples/components/reference/selected/components/sidebar-nav.html +4 -0
- package/examples/components/reference/selected/components/small-charts.html +5 -0
- package/examples/components/reference/selected/components/split-button.html +4 -0
- package/examples/components/reference/selected/components/split-panes.html +8 -0
- package/examples/components/reference/selected/components/stat-tiles.html +3 -0
- package/examples/components/reference/selected/components/toast-stack.html +5 -0
- package/examples/components/reference/selected/components/tree-view.html +4 -0
- package/examples/components/reference/selected/components/upload-dropzone.html +6 -0
- package/examples/components/reference/selected/components/wizard-shell.html +3 -0
- package/examples/components/reference/selected/corrections.css +11 -0
- package/examples/components/reference/selected/coverage.json +413 -0
- package/examples/components/reference/selected/gallery-build.mjs +49 -0
- package/examples/components/reference/selected/gallery-spec.json +12 -0
- package/examples/components/reference/selected/index.html +1 -0
- package/examples/components/reference/selected/kanban-comparison.json +6 -0
- package/examples/components/reference/selected/manifest.json +476 -0
- package/examples/components/reference/sha256.json +142 -0
- package/examples/components/reference/sources/diagonal-close.svg +1 -0
- package/examples/components/reference/sources/hyperclay/public-assets/css/hyperclay-app-source.css +614 -0
- package/examples/components/reference/sources/hyperclay/public-assets/js/app.js +94 -0
- package/examples/components/reference/sources/hyperclayjs/src/ui/theModal.js +897 -0
- package/examples/components/reference/sources/hypercms/scripts/build-theme.js +203 -0
- package/examples/components/reference/sources/hypercms/src/anchor.js +24 -0
- package/examples/components/reference/sources/hypercms/src/apply-loop.js +167 -0
- package/examples/components/reference/sources/hypercms/src/diagnostics.js +44 -0
- package/examples/components/reference/sources/hypercms/src/enhance.js +173 -0
- package/examples/components/reference/sources/hypercms/src/events.js +955 -0
- package/examples/components/reference/sources/hypercms/src/form-builder.js +518 -0
- package/examples/components/reference/sources/hypercms/src/form-rules.js +208 -0
- package/examples/components/reference/sources/hypercms/src/hooks.js +100 -0
- package/examples/components/reference/sources/hypercms/src/hypercms-bundle.js +10 -0
- package/examples/components/reference/sources/hypercms/src/hypercms.js +347 -0
- package/examples/components/reference/sources/hypercms/src/morph.js +10 -0
- package/examples/components/reference/sources/hypercms/src/path.js +61 -0
- package/examples/components/reference/sources/hypercms/src/place.js +131 -0
- package/examples/components/reference/sources/hypercms/src/platform.js +131 -0
- package/examples/components/reference/sources/hypercms/src/refresh.js +87 -0
- package/examples/components/reference/sources/hypercms/src/richclay-bridge.js +140 -0
- package/examples/components/reference/sources/hypercms/src/row-identity.js +111 -0
- package/examples/components/reference/sources/hypercms/src/scaffold.js +10 -0
- package/examples/components/reference/sources/hypercms/src/session.js +303 -0
- package/examples/components/reference/sources/hypercms/src/shell.js +248 -0
- package/examples/components/reference/sources/hypercms/src/styles.css +298 -0
- package/examples/components/reference/sources/hypercms/src/targets.js +144 -0
- package/examples/components/reference/sources/hypercms/src/templates.js +656 -0
- package/examples/components/reference/sources/hypercms/src/theme/pixel-quiet.overrides.css +761 -0
- package/examples/components/reference/sources/hypercms/src/theme.generated.css +1772 -0
- package/examples/components/reference/sources/hypercms/src/toggle.js +666 -0
- package/examples/components/reference/sources/hypercms/src/unresolved.js +211 -0
- package/examples/components/reference/sources/hypercms/src/vendor/mirk.vendor.js +212 -0
- package/examples/components/reference/sources/hypercms/src/views/inline-layer.js +421 -0
- package/examples/components/reference/sources/hypercms/src/views/inline.js +1072 -0
- package/examples/components/reference/sources/hypercms/src/views/sidebar.js +97 -0
- package/examples/components/reference/sources/modal-reference.html +301 -0
- package/examples/components/reference/sources/quickcrop/quickcrop.css +124 -0
- package/examples/components/reference/sources/quickcrop/quickcrop.js +400 -0
- package/examples/components/reference/sources/richclay/richclay.css +416 -0
- package/examples/components/reference/sources/richclay/richclay.js +2962 -0
- package/examples/components/reference/sources/richclay/src/a11y.js +67 -0
- package/examples/components/reference/sources/richclay/src/browser-global.js +7 -0
- package/examples/components/reference/sources/richclay/src/buttons.js +254 -0
- package/examples/components/reference/sources/richclay/src/hyperclay.js +470 -0
- package/examples/components/reference/sources/richclay/src/normalize.js +380 -0
- package/examples/components/reference/sources/richclay/src/richclay.js +1356 -0
- package/examples/components/reference/sources/richclay/src/sanitize.js +189 -0
- package/examples/components/reference/sources/richclay/src/styles.js +23 -0
- package/examples/components/reference/sources/richclay/src/toolbar-float.js +175 -0
- package/examples/components/reference/sources/richclay/src/toolbar.js +394 -0
- package/examples/components/reference/sources/richclay/src/vendor-bundle.js +15 -0
- package/examples/components/reference/sources/richclay/vendor/DOMPURIFY-LICENSE +202 -0
- package/examples/components/reference/sources/richclay/vendor/DOMPURIFY-LICENSE-MPL +373 -0
- package/examples/components/reference/sources/richclay/vendor/SQUIRE-LICENSE +21 -0
- package/examples/components/reference/sources/richclay/vendor/purify.es.mjs +2249 -0
- package/examples/components/reference/sources/richclay/vendor/purify.min.js +3 -0
- package/examples/components/reference/sources/richclay/vendor/squire.js +22 -0
- package/examples/components/reference/sources/richclay/vendor/squire.mjs +22 -0
- package/examples/components/reference/sources/richclay/vendor/squire.provenance.json +19 -0
- package/examples/components/rich-text-toolbar.html +43 -0
- package/examples/components/save-status-indicator.html +11 -0
- package/examples/components/selectable-cards.html +9 -0
- package/examples/components/settings-rows.html +10 -0
- package/examples/components/sidebar-nav.html +9 -0
- package/examples/components/small-charts.html +21 -0
- package/examples/components/split-button.html +13 -0
- package/examples/components/split-panes-editor.html +6 -0
- package/examples/components/split-panes.html +9 -0
- package/examples/components/stat-tiles.html +23 -0
- package/examples/components/toast-stack.html +21 -0
- package/examples/components/tree-view.html +9 -0
- package/examples/components/upload-dropzone.html +88 -0
- package/examples/components/wizard-shell.html +50 -0
- package/examples/datastar/index.html +38 -0
- package/examples/datastar/server.mjs +31 -0
- package/examples/fixtures/field-guide.pdf +14 -0
- package/examples/fixtures/workspace.jpg +0 -0
- package/examples/setup-peers.mjs +35 -0
- package/fonts/LICENSE-ibm-plex-mono.txt +93 -0
- package/fonts/LICENSE-ibm-plex-sans.txt +93 -0
- package/fonts/LICENSE-newsreader.txt +93 -0
- package/fonts/ibm-plex-mono-latin-400-normal.woff2 +0 -0
- package/fonts/ibm-plex-mono-latin-500-normal.woff2 +0 -0
- package/fonts/ibm-plex-mono-latin-600-normal.woff2 +0 -0
- package/fonts/ibm-plex-sans-latin-400-italic.woff2 +0 -0
- package/fonts/ibm-plex-sans-latin-400-normal.woff2 +0 -0
- package/fonts/ibm-plex-sans-latin-500-normal.woff2 +0 -0
- package/fonts/ibm-plex-sans-latin-600-normal.woff2 +0 -0
- package/fonts/newsreader-latin-opsz-italic.woff2 +0 -0
- package/fonts/newsreader-latin-opsz-normal.woff2 +0 -0
- package/icons/LICENSE +21 -0
- package/icons/house.json +71 -0
- package/icons/icons.d.ts +17 -0
- package/icons/icons.js +648 -0
- package/icons/icons.svg +126 -0
- package/icons/marks/build-tray.source.mjs +45 -0
- package/icons/marks/hyperclay-local.svg +11 -0
- package/icons/phosphor.json +53 -0
- package/icons/round.json +8 -0
- package/integrations/datastar.js +202 -0
- package/integrations/quickcrop.css +26 -0
- package/integrations/quickcrop.js +56 -0
- package/integrations/richclay.css +100 -0
- package/integrations/richclay.js +131 -0
- package/package.json +630 -0
- package/react/README.md +244 -0
- package/src/README.md +83 -0
- package/vendor/datastar/datastar-1.0.3.js +10 -0
- package/vendor/datastar/provenance.json +6 -0
- package/vendor/floating-ui/LICENSE-core +20 -0
- package/vendor/floating-ui/LICENSE-dom +20 -0
- package/vendor/floating-ui/floating-ui.core.umd.min.js +1 -0
- package/vendor/floating-ui/floating-ui.dom.umd.min.js +1 -0
- package/vendor/floating-ui/provenance.json +17 -0
- package/vendor/richclay/LICENSE +16 -0
- package/vendor/richclay/THIRD-PARTY-NOTICES.md +45 -0
- package/vendor/richclay/provenance.json +17 -0
- package/vendor/richclay/richclay.css +404 -0
- package/vendor/richclay/richclay.js +2940 -0
- package/vendor/richclay/vendor/DOMPURIFY-LICENSE +202 -0
- package/vendor/richclay/vendor/DOMPURIFY-LICENSE-MPL +373 -0
- package/vendor/richclay/vendor/SQUIRE-LICENSE +21 -0
- package/vendor/richclay/vendor/purify.min.js +3 -0
- package/vendor/richclay/vendor/squire.js +22 -0
- package/vendor/richclay/vendor/squire.provenance.json +30 -0
|
@@ -0,0 +1,761 @@
|
|
|
1
|
+
/* =====================================================================
|
|
2
|
+
Pixel Quiet — hypercms theme overrides (hypercms-owned).
|
|
3
|
+
|
|
4
|
+
Adapted from cms-sidebar/pixel-quiet/overrides.css. Two jobs:
|
|
5
|
+
1. Retune --mirk-* tokens, scoped to .hcms-shell.pixel-quiet (never :root).
|
|
6
|
+
2. Author the panel geometry + the functional chrome the static mockup
|
|
7
|
+
doesn't have (error banner, add/remove/move controls, the engine's
|
|
8
|
+
sortable cards, push / overlay / left-dock modes) on top of the
|
|
9
|
+
.hcms-* structural hooks.
|
|
10
|
+
|
|
11
|
+
This file is concatenated AFTER the scoped mirk base+components by
|
|
12
|
+
scripts/build-theme.js, so plain rules here win over mirk's @layer
|
|
13
|
+
components with zero !important. Loaded only inside .hcms-shell, so nothing
|
|
14
|
+
here leaks onto the host page.
|
|
15
|
+
===================================================================== */
|
|
16
|
+
|
|
17
|
+
/* ============================================================
|
|
18
|
+
TOKEN RETUNE — LIGHT (warm cream, gentle near-equal bevel)
|
|
19
|
+
============================================================ */
|
|
20
|
+
.hcms-shell.pixel-quiet {
|
|
21
|
+
color-scheme: light;
|
|
22
|
+
--mirk-canvas: #F7F2EA;
|
|
23
|
+
--mirk-bg: #F7F2EA;
|
|
24
|
+
--mirk-fg: #2B241B;
|
|
25
|
+
--mirk-accent: #efefe5;
|
|
26
|
+
--mirk-destructive: #C24A3A;
|
|
27
|
+
--mirk-focus-color: #C7AE93;
|
|
28
|
+
|
|
29
|
+
--mirk-bevel-bg: #FCF8F1;
|
|
30
|
+
--mirk-bevel-fg: #2B241B;
|
|
31
|
+
--mirk-bevel-tl: #F0E7D8;
|
|
32
|
+
--mirk-bevel-br: #E2D4BF;
|
|
33
|
+
--mirk-bevel-hover-bg: #F4ECDF;
|
|
34
|
+
--mirk-pill-inner-top: #FBF6EE;
|
|
35
|
+
--mirk-input-border: #D8C8AF;
|
|
36
|
+
--mirk-placeholder-color: #A8987F;
|
|
37
|
+
|
|
38
|
+
--mirk-mark-fg: #6B5942;
|
|
39
|
+
--mirk-toggle-bg: #EFDBBD;
|
|
40
|
+
--mirk-toggle-hi: #F4EADA;
|
|
41
|
+
--mirk-toggle-lo: #C2A87E;
|
|
42
|
+
--mirk-sortable-dot: #DDCBB0;
|
|
43
|
+
--mirk-sortable-shadow: #C9B493;
|
|
44
|
+
--mirk-sortable-label: #8C7B62;
|
|
45
|
+
--mirk-sortable-placeholder: #A8987F;
|
|
46
|
+
|
|
47
|
+
--mirk-radius: 5px;
|
|
48
|
+
--mirk-focus-offset: 2px;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/* dark token deltas, shared by the explicit .dark opt-in and OS preference */
|
|
52
|
+
.hcms-shell.pixel-quiet.dark,
|
|
53
|
+
.hcms-shell.pixel-quiet[data-theme="dark"] {
|
|
54
|
+
color-scheme: dark;
|
|
55
|
+
--mirk-canvas: #0B0C13;
|
|
56
|
+
--mirk-bg: #11131E;
|
|
57
|
+
--mirk-fg: #ECEAF2;
|
|
58
|
+
--mirk-accent: #1D1F2F;
|
|
59
|
+
--mirk-focus-color: #4A506B;
|
|
60
|
+
|
|
61
|
+
--mirk-bevel-bg: #1A1D2C;
|
|
62
|
+
--mirk-bevel-fg: #ECEAF2;
|
|
63
|
+
--mirk-bevel-tl: #2A2E42;
|
|
64
|
+
--mirk-bevel-br: #14182A;
|
|
65
|
+
--mirk-bevel-hover-bg: #202436;
|
|
66
|
+
--mirk-pill-inner-top: #202436;
|
|
67
|
+
--mirk-input-border: #353B52;
|
|
68
|
+
--mirk-placeholder-color: #6A7090;
|
|
69
|
+
|
|
70
|
+
--mirk-mark-fg: #C9CDE0;
|
|
71
|
+
--mirk-toggle-bg: #3E4660;
|
|
72
|
+
--mirk-toggle-hi: #4E567A;
|
|
73
|
+
--mirk-toggle-lo: #262B42;
|
|
74
|
+
--mirk-sortable-dot: #353B52;
|
|
75
|
+
--mirk-sortable-shadow: #0E1120;
|
|
76
|
+
--mirk-sortable-label: #8A90AB;
|
|
77
|
+
--mirk-sortable-placeholder: #6A7090;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/* Auto-dark on OS preference, unless the shell pins light with .light */
|
|
81
|
+
@media (prefers-color-scheme: dark) {
|
|
82
|
+
.hcms-shell.pixel-quiet:not(.light):not([data-theme="light"]) {
|
|
83
|
+
color-scheme: dark;
|
|
84
|
+
--mirk-canvas: #0B0C13;
|
|
85
|
+
--mirk-bg: #11131E;
|
|
86
|
+
--mirk-fg: #ECEAF2;
|
|
87
|
+
--mirk-accent: #1D1F2F;
|
|
88
|
+
--mirk-focus-color: #4A506B;
|
|
89
|
+
|
|
90
|
+
--mirk-bevel-bg: #1A1D2C;
|
|
91
|
+
--mirk-bevel-fg: #ECEAF2;
|
|
92
|
+
--mirk-bevel-tl: #2A2E42;
|
|
93
|
+
--mirk-bevel-br: #14182A;
|
|
94
|
+
--mirk-bevel-hover-bg: #202436;
|
|
95
|
+
--mirk-pill-inner-top: #202436;
|
|
96
|
+
--mirk-input-border: #353B52;
|
|
97
|
+
--mirk-placeholder-color: #6A7090;
|
|
98
|
+
|
|
99
|
+
--mirk-mark-fg: #C9CDE0;
|
|
100
|
+
--mirk-toggle-bg: #3E4660;
|
|
101
|
+
--mirk-toggle-hi: #4E567A;
|
|
102
|
+
--mirk-toggle-lo: #262B42;
|
|
103
|
+
--mirk-sortable-dot: #353B52;
|
|
104
|
+
--mirk-sortable-shadow: #0E1120;
|
|
105
|
+
--mirk-sortable-label: #8A90AB;
|
|
106
|
+
--mirk-sortable-placeholder: #6A7090;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/* ============================================================
|
|
111
|
+
SHELL GEOMETRY — fixed, docked panel, single column.
|
|
112
|
+
position: fixed makes the shell a containing block so the absolute
|
|
113
|
+
minibar anchors to it; flex column so the body owns the scroll.
|
|
114
|
+
============================================================ */
|
|
115
|
+
.hcms-shell.pixel-quiet.hcms-panel {
|
|
116
|
+
box-sizing: border-box;
|
|
117
|
+
position: fixed;
|
|
118
|
+
top: 0;
|
|
119
|
+
right: 0;
|
|
120
|
+
bottom: 0;
|
|
121
|
+
width: var(--hcms-shell-width, 380px);
|
|
122
|
+
max-width: 100vw;
|
|
123
|
+
z-index: 2147483000;
|
|
124
|
+
display: flex;
|
|
125
|
+
flex-direction: column;
|
|
126
|
+
color: var(--mirk-fg);
|
|
127
|
+
background: var(--mirk-bg);
|
|
128
|
+
border-left: 1px solid var(--mirk-input-border);
|
|
129
|
+
box-shadow: -16px 0 48px -28px rgba(43, 36, 27, 0.45);
|
|
130
|
+
}
|
|
131
|
+
.hcms-shell.pixel-quiet.hcms-panel.dark {
|
|
132
|
+
box-shadow: -16px 0 48px -28px rgba(0, 0, 0, 0.6);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.hcms-shell.pixel-quiet.hcms-side-left {
|
|
136
|
+
right: auto;
|
|
137
|
+
left: 0;
|
|
138
|
+
border-left: 0;
|
|
139
|
+
border-right: 1px solid var(--mirk-input-border);
|
|
140
|
+
box-shadow: 16px 0 48px -28px rgba(43, 36, 27, 0.45);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
/* Push the page over so docked content is never hidden underneath, and publish
|
|
144
|
+
the geometry the floating toggle has to compose with. --hcms-toggle-shift is
|
|
145
|
+
the distance the toggle moves left, which is the shell width only while the
|
|
146
|
+
shell is docked on the right; docked left, as an overlay, or full-viewport it
|
|
147
|
+
is zero. */
|
|
148
|
+
body.hcms-open { --hcms-shell-width: 380px; }
|
|
149
|
+
body.hcms-open:not(.hcms-overlay) { padding-right: var(--hcms-shell-width); }
|
|
150
|
+
body.hcms-open:not(.hcms-overlay):not(.hcms-side-left) { --hcms-toggle-shift: var(--hcms-shell-width); }
|
|
151
|
+
body.hcms-open.hcms-side-left:not(.hcms-overlay) { padding-right: 0; padding-left: var(--hcms-shell-width); }
|
|
152
|
+
body.hcms-open.hcms-overlay { overflow: hidden; --hcms-toggle-display: none; }
|
|
153
|
+
|
|
154
|
+
@media (max-width: 799px) {
|
|
155
|
+
body.hcms-open { --hcms-shell-width: 100vw; }
|
|
156
|
+
body.hcms-open:not(.hcms-overlay):not(.hcms-side-left) { --hcms-toggle-shift: 0px; }
|
|
157
|
+
body.hcms-open:not(.hcms-overlay),
|
|
158
|
+
body.hcms-open.hcms-side-left:not(.hcms-overlay) { padding-right: 0; padding-left: 0; }
|
|
159
|
+
body.hcms-open { overflow: hidden; }
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
/* ---------- SCROLL REGION — holds the (scrollable) header + form + save ---------- */
|
|
163
|
+
.hcms-shell-body {
|
|
164
|
+
flex: 1;
|
|
165
|
+
min-height: 0;
|
|
166
|
+
overflow-y: auto;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
/* ---------- CONDENSED MINIBAR — appears once the full header scrolls away ---------- */
|
|
170
|
+
.hcms-shell-minibar {
|
|
171
|
+
position: absolute;
|
|
172
|
+
top: 0;
|
|
173
|
+
left: 0;
|
|
174
|
+
right: 0;
|
|
175
|
+
z-index: 2;
|
|
176
|
+
display: flex;
|
|
177
|
+
align-items: center;
|
|
178
|
+
justify-content: space-between;
|
|
179
|
+
gap: 12px;
|
|
180
|
+
padding: 9px 24px 10px;
|
|
181
|
+
background: var(--mirk-bg);
|
|
182
|
+
border-bottom: 1px solid var(--mirk-input-border);
|
|
183
|
+
opacity: 0;
|
|
184
|
+
transform: translateY(-100%);
|
|
185
|
+
pointer-events: none;
|
|
186
|
+
transition: opacity 140ms ease, transform 160ms ease;
|
|
187
|
+
}
|
|
188
|
+
.hcms-shell.is-condensed .hcms-shell-minibar {
|
|
189
|
+
opacity: 1;
|
|
190
|
+
transform: none;
|
|
191
|
+
pointer-events: auto;
|
|
192
|
+
}
|
|
193
|
+
.hcms-shell-minibar-title {
|
|
194
|
+
font-size: 14px;
|
|
195
|
+
line-height: 1;
|
|
196
|
+
color: var(--mirk-fg);
|
|
197
|
+
white-space: nowrap;
|
|
198
|
+
overflow: hidden;
|
|
199
|
+
text-overflow: ellipsis;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
/* ---------- HEADER (no underline rule — whitespace separates the bands) ---------- */
|
|
203
|
+
.hcms-shell-header {
|
|
204
|
+
flex-shrink: 0;
|
|
205
|
+
display: flex;
|
|
206
|
+
align-items: flex-start;
|
|
207
|
+
justify-content: space-between;
|
|
208
|
+
gap: 12px;
|
|
209
|
+
padding: 24px 24px 4px;
|
|
210
|
+
}
|
|
211
|
+
.hcms-shell-heading { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
|
|
212
|
+
.hcms-shell-eyebrow {
|
|
213
|
+
font-size: 11px;
|
|
214
|
+
text-transform: uppercase;
|
|
215
|
+
letter-spacing: 0.18em;
|
|
216
|
+
color: var(--mirk-placeholder-color);
|
|
217
|
+
}
|
|
218
|
+
.hcms-shell-title {
|
|
219
|
+
margin: 0;
|
|
220
|
+
font-size: 18px;
|
|
221
|
+
font-weight: 400;
|
|
222
|
+
line-height: 1.2;
|
|
223
|
+
color: var(--mirk-fg);
|
|
224
|
+
}
|
|
225
|
+
.hcms-shell-close.mirk-button {
|
|
226
|
+
flex-shrink: 0;
|
|
227
|
+
padding: 2px 9px 3px;
|
|
228
|
+
line-height: 1;
|
|
229
|
+
}
|
|
230
|
+
.hcms-shell-close .mirk-button__label { font-size: 16px; }
|
|
231
|
+
|
|
232
|
+
/* ---------- FORM — generous, even vertical rhythm ---------- */
|
|
233
|
+
.hcms-form {
|
|
234
|
+
display: flex;
|
|
235
|
+
flex-direction: column;
|
|
236
|
+
gap: 26px;
|
|
237
|
+
padding: 12px 24px 28px;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
/* one labeled scalar field */
|
|
241
|
+
.hcms-field { display: flex; flex-direction: column; gap: 9px; }
|
|
242
|
+
.hcms-field--row {
|
|
243
|
+
flex-direction: row;
|
|
244
|
+
align-items: center;
|
|
245
|
+
justify-content: space-between;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
/* themed field label */
|
|
249
|
+
.hcms-label {
|
|
250
|
+
font-size: 11px;
|
|
251
|
+
text-transform: uppercase;
|
|
252
|
+
letter-spacing: 0.14em;
|
|
253
|
+
color: var(--mirk-sortable-label);
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
/* comfortable control padding + readable size, in mirk's own mono */
|
|
257
|
+
.hcms-shell.pixel-quiet .mirk-input,
|
|
258
|
+
.hcms-shell.pixel-quiet .mirk-textarea {
|
|
259
|
+
font-size: 15px;
|
|
260
|
+
padding: 9px 14px 10px;
|
|
261
|
+
}
|
|
262
|
+
.hcms-shell.pixel-quiet textarea.mirk-input { min-height: 76px; resize: vertical; }
|
|
263
|
+
|
|
264
|
+
/* default scalar fields: one-row textareas that grow with their content.
|
|
265
|
+
Browsers without field-sizing get a scrollHeight fallback (enhance.js). */
|
|
266
|
+
.hcms-shell.pixel-quiet .hcms-form textarea.mirk-textarea {
|
|
267
|
+
field-sizing: content;
|
|
268
|
+
resize: none;
|
|
269
|
+
overflow: hidden;
|
|
270
|
+
min-height: 0;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
/* rich-text surface (@richtext): a contenteditable styled like a textarea */
|
|
274
|
+
.hcms-shell.pixel-quiet .hcms-richtext {
|
|
275
|
+
min-height: 2.5em;
|
|
276
|
+
cursor: text;
|
|
277
|
+
overflow-wrap: break-word;
|
|
278
|
+
}
|
|
279
|
+
.hcms-shell.pixel-quiet .hcms-richtext a {
|
|
280
|
+
color: inherit;
|
|
281
|
+
text-decoration: underline;
|
|
282
|
+
text-underline-offset: 2px;
|
|
283
|
+
}
|
|
284
|
+
.hcms-shell.pixel-quiet .hcms-richtext:empty::before {
|
|
285
|
+
content: attr(data-hcms-placeholder);
|
|
286
|
+
color: var(--mirk-placeholder-color);
|
|
287
|
+
}
|
|
288
|
+
.hcms-shell.pixel-quiet .mirk-select__field {
|
|
289
|
+
font-size: 15px;
|
|
290
|
+
padding: 8px 40px 9px 14px;
|
|
291
|
+
}
|
|
292
|
+
.hcms-shell.pixel-quiet .mirk-radio__label,
|
|
293
|
+
.hcms-shell.pixel-quiet .mirk-toggle__label,
|
|
294
|
+
.hcms-shell.pixel-quiet .mirk-tags__input { font-size: 15px; }
|
|
295
|
+
|
|
296
|
+
/* inline radio row */
|
|
297
|
+
.hcms-radio-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
|
|
298
|
+
|
|
299
|
+
/* chip-field (the @chips built-in): a borderless inline input that sizes to its
|
|
300
|
+
text, so chips read like static chips but stay inline-editable. */
|
|
301
|
+
.hcms-shell .mirk-tags__chip { padding-right: 6px; }
|
|
302
|
+
.hcms-shell .hcms-chip-field {
|
|
303
|
+
border: 0; background: transparent; color: inherit; font: inherit;
|
|
304
|
+
outline: none; min-width: 2ch; field-sizing: content; padding: 0;
|
|
305
|
+
}
|
|
306
|
+
.hcms-shell .hcms-chips .hcms-add { margin-top: 4px; align-self: flex-start; }
|
|
307
|
+
|
|
308
|
+
/* ---------- OBJECT GROUP — a quiet framed band, not a heavy card ---------- */
|
|
309
|
+
.hcms-object {
|
|
310
|
+
display: flex;
|
|
311
|
+
flex-direction: column;
|
|
312
|
+
gap: 16px;
|
|
313
|
+
}
|
|
314
|
+
.hcms-object-title {
|
|
315
|
+
margin: 0;
|
|
316
|
+
font-size: 11px;
|
|
317
|
+
font-weight: 400;
|
|
318
|
+
text-transform: uppercase;
|
|
319
|
+
letter-spacing: 0.14em;
|
|
320
|
+
color: var(--mirk-sortable-label);
|
|
321
|
+
}
|
|
322
|
+
.hcms-object-fields { display: flex; flex-direction: column; gap: 16px; }
|
|
323
|
+
|
|
324
|
+
/* ---------- SCALAR ARRAY — a calm list of mirk-input rows ---------- */
|
|
325
|
+
.hcms-array { display: flex; flex-direction: column; gap: 14px; }
|
|
326
|
+
.hcms-array-header { display: flex; align-items: baseline; justify-content: space-between; }
|
|
327
|
+
.hcms-array-title {
|
|
328
|
+
margin: 0;
|
|
329
|
+
font-size: 11px;
|
|
330
|
+
font-weight: 400;
|
|
331
|
+
text-transform: uppercase;
|
|
332
|
+
letter-spacing: 0.14em;
|
|
333
|
+
color: var(--mirk-sortable-label);
|
|
334
|
+
}
|
|
335
|
+
/* The generic stacked-list layout is unlayered, so it would beat mirk's
|
|
336
|
+
@layer-components rules on any slot that is also a mirk component. Exempt a
|
|
337
|
+
mirk tags box so it keeps mirk's own row-wrap layout and inner padding. */
|
|
338
|
+
.hcms-array-items:not(.mirk-tags) {
|
|
339
|
+
list-style: none;
|
|
340
|
+
margin: 0;
|
|
341
|
+
padding: 0;
|
|
342
|
+
display: flex;
|
|
343
|
+
flex-direction: column;
|
|
344
|
+
gap: 10px;
|
|
345
|
+
}
|
|
346
|
+
.hcms-array-item {
|
|
347
|
+
display: flex;
|
|
348
|
+
align-items: center;
|
|
349
|
+
gap: 8px;
|
|
350
|
+
}
|
|
351
|
+
.hcms-array-item .mirk-input { flex: 1; min-width: 0; }
|
|
352
|
+
|
|
353
|
+
/* ---------- OBJECT ARRAY — mirk-sortable cards from the engine markup ---------- */
|
|
354
|
+
.hcms-array--cards .hcms-array-items { gap: 14px; }
|
|
355
|
+
.hcms-card.mirk-sortable__item { background: var(--mirk-bevel-bg); position: relative; }
|
|
356
|
+
.hcms-card .hcms-card-fields { display: flex; flex-direction: column; flex: 1; min-width: 0; }
|
|
357
|
+
.hcms-card .hcms-field {
|
|
358
|
+
gap: 2px;
|
|
359
|
+
padding: 8px 14px 9px;
|
|
360
|
+
}
|
|
361
|
+
.hcms-card .hcms-field:not(:last-child) { border-bottom: 1px solid var(--mirk-input-border); }
|
|
362
|
+
.hcms-card .hcms-label { letter-spacing: 0.16em; }
|
|
363
|
+
/* fields inside a card read as quiet rows, not chunky boxed inputs */
|
|
364
|
+
.hcms-card .mirk-input,
|
|
365
|
+
.hcms-card .mirk-textarea {
|
|
366
|
+
border: none;
|
|
367
|
+
background: transparent;
|
|
368
|
+
padding: 0;
|
|
369
|
+
font-size: 15px;
|
|
370
|
+
}
|
|
371
|
+
.hcms-card .mirk-input:focus-visible,
|
|
372
|
+
.hcms-card .mirk-textarea:focus-visible { outline: none; }
|
|
373
|
+
/* the remove × is pulled out to the card corner (below), so the controls row
|
|
374
|
+
now only holds the sr-only move buttons — collapse it until one is focused. */
|
|
375
|
+
.hcms-card-controls {
|
|
376
|
+
display: flex;
|
|
377
|
+
align-items: center;
|
|
378
|
+
justify-content: flex-end;
|
|
379
|
+
gap: 6px;
|
|
380
|
+
padding: 0;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
/* quiet × remove control, shared by scalar-array rows and object-array cards */
|
|
384
|
+
.hcms-remove {
|
|
385
|
+
flex-shrink: 0;
|
|
386
|
+
appearance: none;
|
|
387
|
+
border: 0;
|
|
388
|
+
background: none;
|
|
389
|
+
color: var(--mirk-placeholder-color);
|
|
390
|
+
cursor: pointer;
|
|
391
|
+
font-size: 16px;
|
|
392
|
+
line-height: 1;
|
|
393
|
+
padding: 2px 6px;
|
|
394
|
+
}
|
|
395
|
+
.hcms-remove:hover { color: var(--mirk-destructive); }
|
|
396
|
+
.hcms-remove[hidden] { display: none; }
|
|
397
|
+
|
|
398
|
+
/* object-array card: the delete control is a square corner button pinned
|
|
399
|
+
top-right, carrying the card's own 1px border + a crisp-line × icon. */
|
|
400
|
+
.hcms-remove--card {
|
|
401
|
+
position: absolute;
|
|
402
|
+
top: -1px;
|
|
403
|
+
right: -1px;
|
|
404
|
+
width: 18px;
|
|
405
|
+
height: 18px;
|
|
406
|
+
padding: 0;
|
|
407
|
+
display: flex;
|
|
408
|
+
align-items: center;
|
|
409
|
+
justify-content: center;
|
|
410
|
+
border: 1px solid var(--mirk-input-border);
|
|
411
|
+
background: var(--mirk-bevel-bg);
|
|
412
|
+
color: var(--mirk-placeholder-color);
|
|
413
|
+
}
|
|
414
|
+
.hcms-remove--card:hover { border-color: var(--mirk-destructive); }
|
|
415
|
+
.hcms-remove--card .hcms-x { width: 64%; height: 64%; display: block; }
|
|
416
|
+
|
|
417
|
+
/* "+ Add" — quiet, pinned left */
|
|
418
|
+
.hcms-add.mirk-button { align-self: flex-start; }
|
|
419
|
+
|
|
420
|
+
/* ---------- UPLOAD COMPONENTS (@file / @image) ----------
|
|
421
|
+
Built on the kit's mirk-file / mirk-image--compact chrome. The native picker
|
|
422
|
+
is visually hidden but focusable (the mirk-button label is the visible
|
|
423
|
+
trigger and rings via :has(:focus-visible)); it is NOT .mirk-*__input, so the
|
|
424
|
+
vendored mirk runtime never handles it. The empty/filled chrome is driven by
|
|
425
|
+
the bound leaf's value attribute (src/href) in CSS — no JS state to desync. */
|
|
426
|
+
.hcms-upload input[type="file"] {
|
|
427
|
+
position: absolute;
|
|
428
|
+
width: 1px;
|
|
429
|
+
height: 1px;
|
|
430
|
+
padding: 0;
|
|
431
|
+
margin: -1px;
|
|
432
|
+
overflow: hidden;
|
|
433
|
+
clip: rect(0, 0, 0, 0);
|
|
434
|
+
white-space: nowrap;
|
|
435
|
+
border: 0;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
/* @image: show the upload button until the bound <img> carries a real src. */
|
|
439
|
+
.hcms-upload--image .mirk-image__thumb { display: none; }
|
|
440
|
+
.hcms-upload--image:has(.mirk-image__preview[src]:not([src=""])) .mirk-image__upload { display: none; }
|
|
441
|
+
.hcms-upload--image:has(.mirk-image__preview[src]:not([src=""])) .mirk-image__thumb { display: inline-block; }
|
|
442
|
+
|
|
443
|
+
/* @file: reveal the clear × and the filename only once the bound <a> has href. */
|
|
444
|
+
.hcms-upload--file .hcms-upload-clear { display: none; }
|
|
445
|
+
.hcms-upload--file:has(a.mirk-file__name[href]:not([href=""])) .hcms-upload-clear { display: inline-flex; }
|
|
446
|
+
/* A filled filename uses the bright foreground (the kit's [data-filled] look),
|
|
447
|
+
driven by the bound href so there's no JS attribute to keep in sync — the
|
|
448
|
+
vendored runtime that would otherwise stamp data-filled is inert here. */
|
|
449
|
+
.hcms-upload--file:has(a.mirk-file__name[href]:not([href=""])) a.mirk-file__name {
|
|
450
|
+
color: var(--mirk-bevel-fg);
|
|
451
|
+
}
|
|
452
|
+
.hcms-upload--file a.mirk-file__name:empty {
|
|
453
|
+
text-decoration: none;
|
|
454
|
+
cursor: default;
|
|
455
|
+
}
|
|
456
|
+
.hcms-upload--file a.mirk-file__name:empty::after {
|
|
457
|
+
content: "No file chosen";
|
|
458
|
+
color: var(--mirk-placeholder-color);
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
/* ---------- UPLOADING (spec §9) ----------
|
|
462
|
+
One attribute, [data-hcms-uploading], set on the field for as long as the host
|
|
463
|
+
has the bytes, plus --hcms-upload-progress carrying the percent. No markup of
|
|
464
|
+
its own: the templates keep their exact shape, so a half-finished upload cannot
|
|
465
|
+
leave an orphan node behind in the form. The at-upload-time picture is painted
|
|
466
|
+
on the frame as a background, never assigned to the bound <img>, because that
|
|
467
|
+
img IS the field's value and a commit landing mid-upload would write a
|
|
468
|
+
two-megabyte data URL straight into the live page. */
|
|
469
|
+
.hcms-upload[data-hcms-uploading] .mirk-image__frame {
|
|
470
|
+
background-size: cover;
|
|
471
|
+
background-position: center;
|
|
472
|
+
}
|
|
473
|
+
/* The empty state hides the thumb, so an upload into an empty field would have
|
|
474
|
+
nowhere to show. Uploading reveals it, preview or not. */
|
|
475
|
+
.hcms-upload--image[data-hcms-uploading] .mirk-image__thumb { display: inline-block; }
|
|
476
|
+
.hcms-upload--image[data-hcms-uploading] .mirk-image__upload { display: none; }
|
|
477
|
+
/* No × mid-flight: clearing writes the leaf empty, which says nothing about the
|
|
478
|
+
request still running and reads as a cancel that is not one. */
|
|
479
|
+
.hcms-upload[data-hcms-uploading] .hcms-upload-clear { display: none; }
|
|
480
|
+
|
|
481
|
+
.hcms-upload[data-hcms-uploading] .mirk-image__frame::after,
|
|
482
|
+
.hcms-upload--file[data-hcms-uploading] .mirk-file::after {
|
|
483
|
+
content: "";
|
|
484
|
+
position: absolute;
|
|
485
|
+
left: 0;
|
|
486
|
+
bottom: 0;
|
|
487
|
+
height: 3px;
|
|
488
|
+
width: var(--hcms-upload-progress, 0%);
|
|
489
|
+
background: var(--mirk-bevel-fg);
|
|
490
|
+
transition: width 120ms linear;
|
|
491
|
+
}
|
|
492
|
+
/* The @file row has no frame to hang the bar on, so it becomes the positioning
|
|
493
|
+
context itself. */
|
|
494
|
+
.hcms-upload--file[data-hcms-uploading] .mirk-file { position: relative; }
|
|
495
|
+
|
|
496
|
+
/* clear-× (vendored-inert; data-hcms-action, never .mirk-*__remove). Bare × for
|
|
497
|
+
@file, a pinned corner badge for @image — mirroring .hcms-remove / --card. */
|
|
498
|
+
.hcms-upload-clear {
|
|
499
|
+
flex-shrink: 0;
|
|
500
|
+
appearance: none;
|
|
501
|
+
border: 0;
|
|
502
|
+
background: none;
|
|
503
|
+
color: var(--mirk-placeholder-color);
|
|
504
|
+
cursor: pointer;
|
|
505
|
+
line-height: 0;
|
|
506
|
+
padding: 2px 4px;
|
|
507
|
+
display: inline-flex;
|
|
508
|
+
align-items: center;
|
|
509
|
+
justify-content: center;
|
|
510
|
+
}
|
|
511
|
+
.hcms-upload-clear:hover { color: var(--mirk-destructive); }
|
|
512
|
+
.hcms-upload-clear .hcms-x { display: block; width: 14px; height: 14px; }
|
|
513
|
+
|
|
514
|
+
.hcms-upload-clear--badge {
|
|
515
|
+
position: absolute;
|
|
516
|
+
top: -7px;
|
|
517
|
+
right: -7px;
|
|
518
|
+
width: 18px;
|
|
519
|
+
height: 18px;
|
|
520
|
+
padding: 0;
|
|
521
|
+
border-radius: 50%;
|
|
522
|
+
border: 1px solid var(--mirk-input-border);
|
|
523
|
+
background: var(--mirk-bevel-bg);
|
|
524
|
+
color: var(--mirk-bevel-fg);
|
|
525
|
+
}
|
|
526
|
+
.hcms-upload-clear--badge:hover { color: var(--mirk-destructive); border-color: var(--mirk-destructive); }
|
|
527
|
+
.hcms-upload-clear--badge .hcms-x { width: 10px; height: 10px; }
|
|
528
|
+
|
|
529
|
+
/* ---------- UNRESOLVED-FIELDS NOTICE ---------- */
|
|
530
|
+
.hcms-shell-notice {
|
|
531
|
+
font-size: 12px;
|
|
532
|
+
line-height: 1.45;
|
|
533
|
+
white-space: pre-line;
|
|
534
|
+
color: var(--mirk-mark-fg);
|
|
535
|
+
background: var(--mirk-bevel-bg);
|
|
536
|
+
border: 1px solid var(--mirk-input-border);
|
|
537
|
+
padding: 8px 12px;
|
|
538
|
+
margin: 0 24px 8px;
|
|
539
|
+
}
|
|
540
|
+
.hcms-shell-notice[hidden] { display: none; }
|
|
541
|
+
|
|
542
|
+
/* ---------- ERROR BANNER + inline errors ---------- */
|
|
543
|
+
.hcms-shell-error,
|
|
544
|
+
.hcms-error {
|
|
545
|
+
font-size: 12px;
|
|
546
|
+
line-height: 1.45;
|
|
547
|
+
color: var(--mirk-destructive);
|
|
548
|
+
background: var(--mirk-bevel-bg);
|
|
549
|
+
border: 1px solid var(--mirk-destructive);
|
|
550
|
+
padding: 8px 12px;
|
|
551
|
+
}
|
|
552
|
+
.hcms-shell-error { margin: 0 24px; }
|
|
553
|
+
.hcms-error { margin-top: 6px; }
|
|
554
|
+
.hcms-shell-error[hidden],
|
|
555
|
+
.hcms-error[hidden] { display: none; }
|
|
556
|
+
|
|
557
|
+
/* A note, not a refusal: the file WAS stored, in the page, and this says why it
|
|
558
|
+
is not on the host. Same slot, so there is one place a field ever speaks. */
|
|
559
|
+
.hcms-error--info {
|
|
560
|
+
color: var(--mirk-mark-fg);
|
|
561
|
+
border-color: var(--mirk-input-border);
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
/* ---------- SAVE (sits at the end of the scrolling form, not pinned) ---------- */
|
|
565
|
+
.hcms-shell-footer {
|
|
566
|
+
display: flex;
|
|
567
|
+
justify-content: flex-end;
|
|
568
|
+
padding: 4px 24px 28px;
|
|
569
|
+
}
|
|
570
|
+
.hcms-shell-footer[hidden] { display: none; }
|
|
571
|
+
|
|
572
|
+
/* ---------- sr-only move buttons: hidden, visible on keyboard focus ---------- */
|
|
573
|
+
.hcms-sr-only {
|
|
574
|
+
position: absolute;
|
|
575
|
+
width: 1px;
|
|
576
|
+
height: 1px;
|
|
577
|
+
padding: 0;
|
|
578
|
+
margin: -1px;
|
|
579
|
+
overflow: hidden;
|
|
580
|
+
clip: rect(0, 0, 0, 0);
|
|
581
|
+
white-space: nowrap;
|
|
582
|
+
border: 0;
|
|
583
|
+
}
|
|
584
|
+
.hcms-sr-only:focus {
|
|
585
|
+
position: static;
|
|
586
|
+
width: auto;
|
|
587
|
+
height: auto;
|
|
588
|
+
padding: 2px 6px;
|
|
589
|
+
margin: 0 2px;
|
|
590
|
+
overflow: visible;
|
|
591
|
+
clip: auto;
|
|
592
|
+
white-space: normal;
|
|
593
|
+
background: var(--mirk-bevel-bg);
|
|
594
|
+
border: 1px solid var(--mirk-input-border);
|
|
595
|
+
color: var(--mirk-fg);
|
|
596
|
+
font-size: 12px;
|
|
597
|
+
cursor: pointer;
|
|
598
|
+
}
|
|
599
|
+
.hcms-sr-only[hidden] { display: none; }
|
|
600
|
+
|
|
601
|
+
/* ============================================================
|
|
602
|
+
INLINE VIEW GEOMETRY — not a panel. A transparent full-viewport
|
|
603
|
+
host whose children are the only interactive surfaces, so the page
|
|
604
|
+
underneath stays fully usable while the editor is open.
|
|
605
|
+
============================================================ */
|
|
606
|
+
.hcms-shell.pixel-quiet.hcms-inline {
|
|
607
|
+
position: fixed;
|
|
608
|
+
inset: 0;
|
|
609
|
+
z-index: 2147483000;
|
|
610
|
+
/* The host must never intercept a click meant for the page. Each child
|
|
611
|
+
re-enables pointer events for itself. */
|
|
612
|
+
pointer-events: none;
|
|
613
|
+
background: none;
|
|
614
|
+
border: 0;
|
|
615
|
+
box-shadow: none;
|
|
616
|
+
color: var(--mirk-fg);
|
|
617
|
+
}
|
|
618
|
+
.hcms-inline > *,
|
|
619
|
+
.hcms-inline-layer > * { pointer-events: auto; }
|
|
620
|
+
.hcms-inline-layer { position: absolute; inset: 0; pointer-events: none; }
|
|
621
|
+
|
|
622
|
+
.hcms-inline-bar {
|
|
623
|
+
position: absolute;
|
|
624
|
+
left: 50%;
|
|
625
|
+
bottom: 16px;
|
|
626
|
+
transform: translateX(-50%);
|
|
627
|
+
max-width: min(560px, calc(100vw - 32px));
|
|
628
|
+
display: flex;
|
|
629
|
+
flex-direction: column;
|
|
630
|
+
gap: 6px;
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
.hcms-inline-notice,
|
|
634
|
+
.hcms-inline-error {
|
|
635
|
+
padding: 8px 12px;
|
|
636
|
+
border-radius: 8px;
|
|
637
|
+
font-size: 14px;
|
|
638
|
+
line-height: 1.4;
|
|
639
|
+
border: 1px solid var(--mirk-input-border);
|
|
640
|
+
background: var(--mirk-bg);
|
|
641
|
+
color: var(--mirk-fg);
|
|
642
|
+
box-shadow: 0 12px 32px -20px rgba(43, 36, 27, 0.5);
|
|
643
|
+
}
|
|
644
|
+
.hcms-inline-notice { white-space: pre-line; }
|
|
645
|
+
.hcms-inline-error { border-color: var(--mirk-destructive); color: var(--mirk-destructive); }
|
|
646
|
+
.hcms-inline-notice[hidden],
|
|
647
|
+
.hcms-inline-error[hidden] { display: none; }
|
|
648
|
+
|
|
649
|
+
.hcms-inline-pop {
|
|
650
|
+
position: absolute;
|
|
651
|
+
top: 0;
|
|
652
|
+
left: 0;
|
|
653
|
+
width: max-content;
|
|
654
|
+
max-width: min(360px, calc(100vw - 24px));
|
|
655
|
+
padding: 10px;
|
|
656
|
+
border-radius: 8px;
|
|
657
|
+
border: 1px solid var(--mirk-input-border);
|
|
658
|
+
background: var(--mirk-bg);
|
|
659
|
+
color: var(--mirk-fg);
|
|
660
|
+
box-shadow: 0 16px 40px -22px rgba(43, 36, 27, 0.55);
|
|
661
|
+
/* Above the handles. They are positioned with z-index: 1 while the popover
|
|
662
|
+
sat at auto, so a handle painted over the very field it had just opened
|
|
663
|
+
and covered the text in it. The popover is what someone is using; a handle
|
|
664
|
+
is only an offer to open one. */
|
|
665
|
+
z-index: 2;
|
|
666
|
+
}
|
|
667
|
+
.hcms-inline-pop[hidden] { display: none; }
|
|
668
|
+
|
|
669
|
+
.hcms-inline-handle {
|
|
670
|
+
position: absolute;
|
|
671
|
+
top: 0;
|
|
672
|
+
left: 0;
|
|
673
|
+
z-index: 1;
|
|
674
|
+
will-change: transform;
|
|
675
|
+
}
|
|
676
|
+
.hcms-inline-handle[hidden] { display: none; }
|
|
677
|
+
|
|
678
|
+
/* The list controls: one ↑ ↓ ✕ strip per row, one Add per list. Positioned the
|
|
679
|
+
same way a handle is and by the same pass, so they carry the same absolute
|
|
680
|
+
origin and the same will-change. */
|
|
681
|
+
.hcms-inline-row-controls {
|
|
682
|
+
position: absolute;
|
|
683
|
+
top: 0;
|
|
684
|
+
left: 0;
|
|
685
|
+
z-index: 1;
|
|
686
|
+
display: flex;
|
|
687
|
+
gap: 2px;
|
|
688
|
+
will-change: transform;
|
|
689
|
+
}
|
|
690
|
+
.hcms-inline-row-controls[hidden] { display: none; }
|
|
691
|
+
|
|
692
|
+
.hcms-inline-list-add {
|
|
693
|
+
position: absolute;
|
|
694
|
+
top: 0;
|
|
695
|
+
left: 0;
|
|
696
|
+
z-index: 1;
|
|
697
|
+
will-change: transform;
|
|
698
|
+
}
|
|
699
|
+
.hcms-inline-list-add[hidden] { display: none; }
|
|
700
|
+
|
|
701
|
+
.hcms-inline-list-button {
|
|
702
|
+
min-width: 28px;
|
|
703
|
+
min-height: 28px;
|
|
704
|
+
}
|
|
705
|
+
.hcms-inline-list-button[hidden] { display: none; }
|
|
706
|
+
|
|
707
|
+
/* A finger is not a mouse pointer: on touch the same three controls get the
|
|
708
|
+
44px target the platform guidelines ask for. */
|
|
709
|
+
@media (pointer: coarse) {
|
|
710
|
+
.hcms-inline-list-button {
|
|
711
|
+
min-width: 44px;
|
|
712
|
+
min-height: 44px;
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
.hcms-inline-toggle { align-self: center; }
|
|
717
|
+
.hcms-inline-count {
|
|
718
|
+
padding: 6px 12px;
|
|
719
|
+
border-radius: 999px;
|
|
720
|
+
font-size: 13px;
|
|
721
|
+
border: 1px solid var(--mirk-input-border);
|
|
722
|
+
background: var(--mirk-bg);
|
|
723
|
+
color: var(--mirk-fg);
|
|
724
|
+
align-self: center;
|
|
725
|
+
}
|
|
726
|
+
.hcms-inline-count[hidden] { display: none; }
|
|
727
|
+
|
|
728
|
+
/* The sidebar handoff: the count of ruled fields with no place on the page,
|
|
729
|
+
and the one tap out to the view that can edit them. Same pill as the count
|
|
730
|
+
above, because it is the same kind of statement about this session. */
|
|
731
|
+
.hcms-inline-handoff {
|
|
732
|
+
display: flex;
|
|
733
|
+
align-items: center;
|
|
734
|
+
gap: 10px;
|
|
735
|
+
padding: 6px 6px 6px 12px;
|
|
736
|
+
border-radius: 999px;
|
|
737
|
+
font-size: 13px;
|
|
738
|
+
border: 1px solid var(--mirk-input-border);
|
|
739
|
+
background: var(--mirk-bg);
|
|
740
|
+
color: var(--mirk-fg);
|
|
741
|
+
align-self: center;
|
|
742
|
+
}
|
|
743
|
+
.hcms-inline-handoff[hidden] { display: none; }
|
|
744
|
+
|
|
745
|
+
/* One field at a time. Scoped to the inline host: [data-hcms-shell] is on BOTH
|
|
746
|
+
hosts, so an unscoped rule hides the sidebar's whole form too. */
|
|
747
|
+
.hcms-inline .hcms-form [data-hcms-path] { display: none; }
|
|
748
|
+
.hcms-inline .hcms-form [data-hcms-path].is-hcms-inline-onpath,
|
|
749
|
+
.hcms-inline .hcms-form [data-hcms-path].is-hcms-inline-active { display: block; }
|
|
750
|
+
|
|
751
|
+
.hcms-inline-highlight {
|
|
752
|
+
position: absolute;
|
|
753
|
+
top: 0;
|
|
754
|
+
left: 0;
|
|
755
|
+
pointer-events: none;
|
|
756
|
+
border: 2px solid var(--mirk-focus-color);
|
|
757
|
+
border-radius: 4px;
|
|
758
|
+
box-sizing: border-box;
|
|
759
|
+
will-change: transform;
|
|
760
|
+
}
|
|
761
|
+
.hcms-inline-highlight[hidden] { display: none; }
|