@vamos-ui/react 0.0.0-stage → 0.3.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 +21 -0
- package/README.md +27 -2
- package/dist/blocks/block-heading.d.ts +29 -0
- package/dist/blocks/block-heading.js +39 -0
- package/dist/blocks/block-image.d.ts +52 -0
- package/dist/blocks/block-image.js +48 -0
- package/dist/blocks/block-link.d.ts +30 -0
- package/dist/blocks/block-link.js +36 -0
- package/dist/blocks/create-blocks.d.ts +54 -0
- package/dist/blocks/create-blocks.js +52 -0
- package/dist/blocks/index.d.ts +55 -0
- package/dist/blocks/index.js +59 -0
- package/dist/blocks/json-ld.d.ts +18 -0
- package/dist/blocks/json-ld.js +44 -0
- package/dist/blocks/labels.d.ts +20 -0
- package/dist/blocks/labels.js +43 -0
- package/dist/blocks/rich-text.d.ts +36 -0
- package/dist/blocks/rich-text.js +106 -0
- package/dist/blocks/schema/define-block.d.ts +151 -0
- package/dist/blocks/schema/define-block.js +120 -0
- package/dist/blocks/schema/emphasis.d.ts +17 -0
- package/dist/blocks/schema/emphasis.js +69 -0
- package/dist/blocks/schema/fields.d.ts +497 -0
- package/dist/blocks/schema/fields.js +240 -0
- package/dist/blocks/schema/icons.d.ts +2 -0
- package/dist/blocks/schema/icons.js +26 -0
- package/dist/blocks/schema/index.d.ts +18 -0
- package/dist/blocks/schema/index.js +21 -0
- package/dist/blocks/schema/lint-types.d.ts +16 -0
- package/dist/blocks/schema/lint-types.js +2 -0
- package/dist/blocks/schema/lint.d.ts +32 -0
- package/dist/blocks/schema/lint.js +164 -0
- package/dist/blocks/schema/localize.d.ts +20 -0
- package/dist/blocks/schema/localize.js +29 -0
- package/dist/blocks/schema/localized.d.ts +25 -0
- package/dist/blocks/schema/localized.js +53 -0
- package/dist/blocks/schema/migrate.d.ts +24 -0
- package/dist/blocks/schema/migrate.js +75 -0
- package/dist/blocks/schema/nodes.d.ts +196 -0
- package/dist/blocks/schema/nodes.js +78 -0
- package/dist/blocks/schema/rich-doc-schema.d.ts +32 -0
- package/dist/blocks/schema/rich-doc-schema.js +66 -0
- package/dist/blocks/schema/rich-doc.d.ts +90 -0
- package/dist/blocks/schema/rich-doc.js +62 -0
- package/dist/blocks/schema/safety.d.ts +20 -0
- package/dist/blocks/schema/safety.js +49 -0
- package/dist/blocks/schema/types.d.ts +172 -0
- package/dist/blocks/schema/types.js +3 -0
- package/dist/blocks/schema/validate.d.ts +17 -0
- package/dist/blocks/schema/validate.js +32 -0
- package/dist/blocks/schema/walk.d.ts +22 -0
- package/dist/blocks/schema/walk.js +60 -0
- package/dist/blocks/section-header.d.ts +38 -0
- package/dist/blocks/section-header.js +22 -0
- package/dist/blocks/section.d.ts +59 -0
- package/dist/blocks/section.js +66 -0
- package/dist/blocks/site/_kit-1.d.ts +101 -0
- package/dist/blocks/site/_kit-1.js +137 -0
- package/dist/blocks/site/_site-icon-1.d.ts +6 -0
- package/dist/blocks/site/_site-icon-1.js +15 -0
- package/dist/blocks/site/announcement-bar.d.ts +42 -0
- package/dist/blocks/site/announcement-bar.js +38 -0
- package/dist/blocks/site/announcement-dismiss.d.ts +18 -0
- package/dist/blocks/site/announcement-dismiss.js +28 -0
- package/dist/blocks/site/article-layout.d.ts +65 -0
- package/dist/blocks/site/article-layout.js +88 -0
- package/dist/blocks/site/blog-list.d.ts +79 -0
- package/dist/blocks/site/blog-list.js +78 -0
- package/dist/blocks/site/comparison-table.d.ts +54 -0
- package/dist/blocks/site/comparison-table.js +38 -0
- package/dist/blocks/site/consent-banner.d.ts +52 -0
- package/dist/blocks/site/consent-banner.js +33 -0
- package/dist/blocks/site/contact-dock.d.ts +52 -0
- package/dist/blocks/site/contact-dock.js +55 -0
- package/dist/blocks/site/contact-form.d.ts +60 -0
- package/dist/blocks/site/contact-form.js +45 -0
- package/dist/blocks/site/cta-booking.d.ts +43 -0
- package/dist/blocks/site/cta-booking.js +69 -0
- package/dist/blocks/site/cta.d.ts +74 -0
- package/dist/blocks/site/cta.js +113 -0
- package/dist/blocks/site/embed-facade.d.ts +20 -0
- package/dist/blocks/site/embed-facade.js +21 -0
- package/dist/blocks/site/faq.d.ts +48 -0
- package/dist/blocks/site/faq.js +52 -0
- package/dist/blocks/site/feature-grid.d.ts +46 -0
- package/dist/blocks/site/feature-grid.js +50 -0
- package/dist/blocks/site/feature-tabs.d.ts +22 -0
- package/dist/blocks/site/feature-tabs.js +11 -0
- package/dist/blocks/site/footer.d.ts +68 -0
- package/dist/blocks/site/footer.js +61 -0
- package/dist/blocks/site/gallery-section.d.ts +42 -0
- package/dist/blocks/site/gallery-section.js +48 -0
- package/dist/blocks/site/hero-video.d.ts +15 -0
- package/dist/blocks/site/hero-video.js +31 -0
- package/dist/blocks/site/hero.d.ts +64 -0
- package/dist/blocks/site/hero.js +73 -0
- package/dist/blocks/site/logo-strip.d.ts +44 -0
- package/dist/blocks/site/logo-strip.js +27 -0
- package/dist/blocks/site/map-hours.d.ts +83 -0
- package/dist/blocks/site/map-hours.js +125 -0
- package/dist/blocks/site/media-text.d.ts +45 -0
- package/dist/blocks/site/media-text.js +56 -0
- package/dist/blocks/site/menu-list.d.ts +74 -0
- package/dist/blocks/site/menu-list.js +84 -0
- package/dist/blocks/site/navbar-submenu.d.ts +18 -0
- package/dist/blocks/site/navbar-submenu.js +51 -0
- package/dist/blocks/site/navbar.d.ts +67 -0
- package/dist/blocks/site/navbar.js +64 -0
- package/dist/blocks/site/not-found.d.ts +40 -0
- package/dist/blocks/site/not-found.js +38 -0
- package/dist/blocks/site/page-intro.d.ts +46 -0
- package/dist/blocks/site/page-intro.js +44 -0
- package/dist/blocks/site/pricing-table.d.ts +67 -0
- package/dist/blocks/site/pricing-table.js +83 -0
- package/dist/blocks/site/process.d.ts +36 -0
- package/dist/blocks/site/process.js +42 -0
- package/dist/blocks/site/registry-1.d.ts +720 -0
- package/dist/blocks/site/registry-1.js +783 -0
- package/dist/blocks/site/registry-2.d.ts +914 -0
- package/dist/blocks/site/registry-2.js +563 -0
- package/dist/blocks/site/rich-text-section.d.ts +34 -0
- package/dist/blocks/site/rich-text-section.js +32 -0
- package/dist/blocks/site/shared/brand-icons.d.ts +21 -0
- package/dist/blocks/site/shared/brand-icons.js +56 -0
- package/dist/blocks/site/shared/consent-gate.d.ts +41 -0
- package/dist/blocks/site/shared/consent-gate.js +43 -0
- package/dist/blocks/site/shared/consent-island.d.ts +38 -0
- package/dist/blocks/site/shared/consent-island.js +63 -0
- package/dist/blocks/site/shared/consent.d.ts +49 -0
- package/dist/blocks/site/shared/consent.js +130 -0
- package/dist/blocks/site/shared/contact-form-island.d.ts +41 -0
- package/dist/blocks/site/shared/contact-form-island.js +100 -0
- package/dist/blocks/site/shared/copy-link.d.ts +10 -0
- package/dist/blocks/site/shared/copy-link.js +25 -0
- package/dist/blocks/site/shared/dock-avoid.d.ts +15 -0
- package/dist/blocks/site/shared/dock-avoid.js +107 -0
- package/dist/blocks/site/shared/dock-hours.d.ts +13 -0
- package/dist/blocks/site/shared/dock-hours.js +25 -0
- package/dist/blocks/site/shared/gallery-lightbox.d.ts +12 -0
- package/dist/blocks/site/shared/gallery-lightbox.js +10 -0
- package/dist/blocks/site/shared/island-keys.d.ts +10 -0
- package/dist/blocks/site/shared/island-keys.js +44 -0
- package/dist/blocks/site/shared/kit-2.d.ts +55 -0
- package/dist/blocks/site/shared/kit-2.js +84 -0
- package/dist/blocks/site/shared/labels-2.d.ts +209 -0
- package/dist/blocks/site/shared/labels-2.js +427 -0
- package/dist/blocks/site/shared/open-now.d.ts +22 -0
- package/dist/blocks/site/shared/open-now.js +27 -0
- package/dist/blocks/site/shared/opening-hours.d.ts +117 -0
- package/dist/blocks/site/shared/opening-hours.js +245 -0
- package/dist/blocks/site/shared/site-accent.d.ts +48 -0
- package/dist/blocks/site/shared/site-accent.js +249 -0
- package/dist/blocks/site/shared/site-form.d.ts +79 -0
- package/dist/blocks/site/shared/site-form.js +111 -0
- package/dist/blocks/site/shared/site-routing.d.ts +54 -0
- package/dist/blocks/site/shared/site-routing.js +86 -0
- package/dist/blocks/site/shared/testimonials-carousel.d.ts +17 -0
- package/dist/blocks/site/shared/testimonials-carousel.js +64 -0
- package/dist/blocks/site/site-shell.d.ts +108 -0
- package/dist/blocks/site/site-shell.js +254 -0
- package/dist/blocks/site/stats-band.d.ts +42 -0
- package/dist/blocks/site/stats-band.js +45 -0
- package/dist/blocks/site/team.d.ts +44 -0
- package/dist/blocks/site/team.js +48 -0
- package/dist/blocks/site/testimonials.d.ts +68 -0
- package/dist/blocks/site/testimonials.js +66 -0
- package/dist/blocks/types.d.ts +63 -0
- package/dist/blocks/types.js +2 -0
- package/dist/business/approval-flow.d.ts +152 -0
- package/dist/business/approval-flow.js +221 -0
- package/dist/business/export-core.d.ts +55 -0
- package/dist/business/export-core.js +101 -0
- package/dist/business/export.d.ts +148 -0
- package/dist/business/export.js +264 -0
- package/dist/business/import-core.d.ts +104 -0
- package/dist/business/import-core.js +281 -0
- package/dist/business/import-wizard.d.ts +186 -0
- package/dist/business/import-wizard.js +401 -0
- package/dist/business/index.d.ts +12 -0
- package/dist/business/index.js +22 -0
- package/dist/business/line-items-core.d.ts +129 -0
- package/dist/business/line-items-core.js +183 -0
- package/dist/business/line-items.d.ts +119 -0
- package/dist/business/line-items.js +299 -0
- package/dist/business/multi-step-form.d.ts +131 -0
- package/dist/business/multi-step-form.js +337 -0
- package/dist/business/permission-core.d.ts +59 -0
- package/dist/business/permission-core.js +99 -0
- package/dist/business/permission-matrix.d.ts +158 -0
- package/dist/business/permission-matrix.js +341 -0
- package/dist/business/setup-checklist.d.ts +80 -0
- package/dist/business/setup-checklist.js +92 -0
- package/dist/business/signer-status.d.ts +53 -0
- package/dist/business/signer-status.js +76 -0
- package/dist/charts/area-chart.d.ts +35 -0
- package/dist/charts/area-chart.js +33 -0
- package/dist/charts/bar-chart.d.ts +27 -0
- package/dist/charts/bar-chart.js +46 -0
- package/dist/charts/bar-list.d.ts +47 -0
- package/dist/charts/bar-list.js +60 -0
- package/dist/charts/chart-shell.d.ts +173 -0
- package/dist/charts/chart-shell.js +205 -0
- package/dist/charts/chart.d.ts +73 -0
- package/dist/charts/chart.js +106 -0
- package/dist/charts/combo-chart.d.ts +29 -0
- package/dist/charts/combo-chart.js +47 -0
- package/dist/charts/donut-chart.d.ts +33 -0
- package/dist/charts/donut-chart.js +113 -0
- package/dist/charts/funnel.d.ts +51 -0
- package/dist/charts/funnel.js +69 -0
- package/dist/charts/gauge.d.ts +62 -0
- package/dist/charts/gauge.js +104 -0
- package/dist/charts/heatmap.d.ts +81 -0
- package/dist/charts/heatmap.js +338 -0
- package/dist/charts/index.d.ts +12 -0
- package/dist/charts/index.js +14 -0
- package/dist/charts/line-chart.d.ts +21 -0
- package/dist/charts/line-chart.js +36 -0
- package/dist/charts/test-utils.d.ts +2 -0
- package/dist/charts/test-utils.js +38 -0
- package/dist/charts/utils.d.ts +130 -0
- package/dist/charts/utils.js +262 -0
- package/dist/components/_qr-core.d.ts +26 -0
- package/dist/components/_qr-core.js +376 -0
- package/dist/components/accordion.d.ts +47 -0
- package/dist/components/accordion.js +70 -0
- package/dist/components/activity-timeline.d.ts +149 -0
- package/dist/components/activity-timeline.js +122 -0
- package/dist/components/address-field.d.ts +116 -0
- package/dist/components/address-field.js +219 -0
- package/dist/components/alert-dialog.d.ts +99 -0
- package/dist/components/alert-dialog.js +192 -0
- package/dist/components/alert.d.ts +42 -0
- package/dist/components/alert.js +82 -0
- package/dist/components/app-shell.d.ts +159 -0
- package/dist/components/app-shell.js +289 -0
- package/dist/components/attachment-list.d.ts +96 -0
- package/dist/components/attachment-list.js +196 -0
- package/dist/components/audit-log.d.ts +150 -0
- package/dist/components/audit-log.js +205 -0
- package/dist/components/avatar.d.ts +87 -0
- package/dist/components/avatar.js +126 -0
- package/dist/components/backup-codes.d.ts +42 -0
- package/dist/components/backup-codes.js +67 -0
- package/dist/components/badge.d.ts +41 -0
- package/dist/components/badge.js +68 -0
- package/dist/components/breadcrumb.d.ts +78 -0
- package/dist/components/breadcrumb.js +106 -0
- package/dist/components/button-group.d.ts +52 -0
- package/dist/components/button-group.js +77 -0
- package/dist/components/button.d.ts +58 -0
- package/dist/components/button.js +107 -0
- package/dist/components/calendar.d.ts +240 -0
- package/dist/components/calendar.js +483 -0
- package/dist/components/card.d.ts +66 -0
- package/dist/components/card.js +76 -0
- package/dist/components/carousel.d.ts +170 -0
- package/dist/components/carousel.js +348 -0
- package/dist/components/checkbox.d.ts +78 -0
- package/dist/components/checkbox.js +138 -0
- package/dist/components/color-picker.d.ts +112 -0
- package/dist/components/color-picker.js +235 -0
- package/dist/components/combobox.d.ts +136 -0
- package/dist/components/combobox.js +294 -0
- package/dist/components/command.d.ts +281 -0
- package/dist/components/command.js +498 -0
- package/dist/components/comment-thread.d.ts +252 -0
- package/dist/components/comment-thread.js +449 -0
- package/dist/components/context-menu.d.ts +77 -0
- package/dist/components/context-menu.js +82 -0
- package/dist/components/currency-input.d.ts +43 -0
- package/dist/components/currency-input.js +85 -0
- package/dist/components/date-picker.d.ts +141 -0
- package/dist/components/date-picker.js +241 -0
- package/dist/components/date-range-picker.d.ts +91 -0
- package/dist/components/date-range-picker.js +251 -0
- package/dist/components/description-list.d.ts +92 -0
- package/dist/components/description-list.js +42 -0
- package/dist/components/dialog.d.ts +139 -0
- package/dist/components/dialog.js +185 -0
- package/dist/components/dropdown-menu.d.ts +100 -0
- package/dist/components/dropdown-menu.js +102 -0
- package/dist/components/editor-layout.d.ts +166 -0
- package/dist/components/editor-layout.js +237 -0
- package/dist/components/empty-state.d.ts +49 -0
- package/dist/components/empty-state.js +68 -0
- package/dist/components/entity-card.d.ts +83 -0
- package/dist/components/entity-card.js +92 -0
- package/dist/components/file-upload.d.ts +256 -0
- package/dist/components/file-upload.js +490 -0
- package/dist/components/formatted-input.d.ts +177 -0
- package/dist/components/formatted-input.js +399 -0
- package/dist/components/hierarchy-chart.d.ts +190 -0
- package/dist/components/hierarchy-chart.js +890 -0
- package/dist/components/hover-card.d.ts +21 -0
- package/dist/components/hover-card.js +32 -0
- package/dist/components/iban-input.d.ts +38 -0
- package/dist/components/iban-input.js +112 -0
- package/dist/components/id-input.d.ts +65 -0
- package/dist/components/id-input.js +130 -0
- package/dist/components/image.d.ts +130 -0
- package/dist/components/image.js +168 -0
- package/dist/components/input-otp.d.ts +62 -0
- package/dist/components/input-otp.js +73 -0
- package/dist/components/input.d.ts +141 -0
- package/dist/components/input.js +187 -0
- package/dist/components/item.d.ts +96 -0
- package/dist/components/item.js +113 -0
- package/dist/components/kbd.d.ts +64 -0
- package/dist/components/kbd.js +119 -0
- package/dist/components/list-layout.d.ts +144 -0
- package/dist/components/list-layout.js +210 -0
- package/dist/components/native-select.d.ts +33 -0
- package/dist/components/native-select.js +48 -0
- package/dist/components/navigation-menu.d.ts +127 -0
- package/dist/components/navigation-menu.js +129 -0
- package/dist/components/notification-center.d.ts +164 -0
- package/dist/components/notification-center.js +399 -0
- package/dist/components/page-header.d.ts +60 -0
- package/dist/components/page-header.js +60 -0
- package/dist/components/pagination.d.ts +121 -0
- package/dist/components/pagination.js +174 -0
- package/dist/components/phone-input.d.ts +49 -0
- package/dist/components/phone-input.js +266 -0
- package/dist/components/pin-map.d.ts +58 -0
- package/dist/components/pin-map.js +167 -0
- package/dist/components/popover.d.ts +38 -0
- package/dist/components/popover.js +69 -0
- package/dist/components/progress.d.ts +79 -0
- package/dist/components/progress.js +97 -0
- package/dist/components/qr-code.d.ts +36 -0
- package/dist/components/qr-code.js +27 -0
- package/dist/components/radio-group.d.ts +43 -0
- package/dist/components/radio-group.js +81 -0
- package/dist/components/record-detail-layout.d.ts +167 -0
- package/dist/components/record-detail-layout.js +233 -0
- package/dist/components/record-picker.d.ts +199 -0
- package/dist/components/record-picker.js +650 -0
- package/dist/components/resizable.d.ts +50 -0
- package/dist/components/resizable.js +88 -0
- package/dist/components/scroll-area.d.ts +40 -0
- package/dist/components/scroll-area.js +56 -0
- package/dist/components/select.d.ts +126 -0
- package/dist/components/select.js +137 -0
- package/dist/components/separator.d.ts +31 -0
- package/dist/components/separator.js +41 -0
- package/dist/components/settings-layout.d.ts +134 -0
- package/dist/components/settings-layout.js +180 -0
- package/dist/components/sheet.d.ts +103 -0
- package/dist/components/sheet.js +165 -0
- package/dist/components/sidebar.d.ts +171 -0
- package/dist/components/sidebar.js +421 -0
- package/dist/components/signature-pad.d.ts +85 -0
- package/dist/components/signature-pad.js +283 -0
- package/dist/components/skeleton.d.ts +64 -0
- package/dist/components/skeleton.js +53 -0
- package/dist/components/sla-timer.d.ts +75 -0
- package/dist/components/sla-timer.js +142 -0
- package/dist/components/slider.d.ts +57 -0
- package/dist/components/slider.js +133 -0
- package/dist/components/slug-input.d.ts +69 -0
- package/dist/components/slug-input.js +201 -0
- package/dist/components/sparkline.d.ts +54 -0
- package/dist/components/sparkline.js +122 -0
- package/dist/components/spinner.d.ts +34 -0
- package/dist/components/spinner.js +34 -0
- package/dist/components/stat.d.ts +135 -0
- package/dist/components/stat.js +130 -0
- package/dist/components/status-picker.d.ts +107 -0
- package/dist/components/status-picker.js +175 -0
- package/dist/components/stepper.d.ts +86 -0
- package/dist/components/stepper.js +103 -0
- package/dist/components/switch.d.ts +34 -0
- package/dist/components/switch.js +70 -0
- package/dist/components/table.d.ts +101 -0
- package/dist/components/table.js +72 -0
- package/dist/components/tabs.d.ts +103 -0
- package/dist/components/tabs.js +173 -0
- package/dist/components/tag-input.d.ts +77 -0
- package/dist/components/tag-input.js +305 -0
- package/dist/components/task-list.d.ts +89 -0
- package/dist/components/task-list.js +238 -0
- package/dist/components/time-picker.d.ts +119 -0
- package/dist/components/time-picker.js +399 -0
- package/dist/components/toast.d.ts +87 -0
- package/dist/components/toast.js +142 -0
- package/dist/components/toggle.d.ts +77 -0
- package/dist/components/toggle.js +109 -0
- package/dist/components/tooltip.d.ts +69 -0
- package/dist/components/tooltip.js +105 -0
- package/dist/components/top-bar.d.ts +87 -0
- package/dist/components/top-bar.js +99 -0
- package/dist/components/tour.d.ts +60 -0
- package/dist/components/tour.js +139 -0
- package/dist/components/tree-select.d.ts +89 -0
- package/dist/components/tree-select.js +243 -0
- package/dist/components/tree-view.d.ts +109 -0
- package/dist/components/tree-view.js +170 -0
- package/dist/components/typography.d.ts +107 -0
- package/dist/components/typography.js +128 -0
- package/dist/components/user-picker.d.ts +89 -0
- package/dist/components/user-picker.js +162 -0
- package/dist/components/version-history.d.ts +191 -0
- package/dist/components/version-history.js +431 -0
- package/dist/data-table/csv.d.ts +27 -0
- package/dist/data-table/csv.js +68 -0
- package/dist/data-table/data-table.d.ts +423 -0
- package/dist/data-table/data-table.js +1259 -0
- package/dist/data-table/filter-bar.d.ts +146 -0
- package/dist/data-table/filter-bar.js +569 -0
- package/dist/data-table/filter-fns.d.ts +65 -0
- package/dist/data-table/filter-fns.js +382 -0
- package/dist/data-table/index.d.ts +8 -0
- package/dist/data-table/index.js +9 -0
- package/dist/data-table/saved-views.d.ts +100 -0
- package/dist/data-table/saved-views.js +251 -0
- package/dist/data-table/types.d.ts +168 -0
- package/dist/data-table/types.js +87 -0
- package/dist/data-table/url-state.d.ts +94 -0
- package/dist/data-table/url-state.js +303 -0
- package/dist/data-table/view-state.d.ts +16 -0
- package/dist/data-table/view-state.js +81 -0
- package/dist/editor/_test-setup.d.ts +1 -0
- package/dist/editor/_test-setup.js +33 -0
- package/dist/editor/block-editor.d.ts +137 -0
- package/dist/editor/block-editor.js +280 -0
- package/dist/editor/commands.d.ts +31 -0
- package/dist/editor/commands.js +150 -0
- package/dist/editor/context.d.ts +108 -0
- package/dist/editor/context.js +30 -0
- package/dist/editor/convert.d.ts +66 -0
- package/dist/editor/convert.js +567 -0
- package/dist/editor/drag-handle.d.ts +10 -0
- package/dist/editor/drag-handle.js +69 -0
- package/dist/editor/extensions.d.ts +34 -0
- package/dist/editor/extensions.js +239 -0
- package/dist/editor/index.d.ts +14 -0
- package/dist/editor/index.js +17 -0
- package/dist/editor/inserter.d.ts +12 -0
- package/dist/editor/inserter.js +88 -0
- package/dist/editor/inspector.d.ts +17 -0
- package/dist/editor/inspector.js +65 -0
- package/dist/editor/items.d.ts +62 -0
- package/dist/editor/items.js +195 -0
- package/dist/editor/labels.d.ts +119 -0
- package/dist/editor/labels.js +130 -0
- package/dist/editor/markdown.d.ts +14 -0
- package/dist/editor/markdown.js +209 -0
- package/dist/editor/menus.d.ts +20 -0
- package/dist/editor/menus.js +236 -0
- package/dist/editor/nodes.d.ts +14 -0
- package/dist/editor/nodes.js +201 -0
- package/dist/editor/outline.d.ts +11 -0
- package/dist/editor/outline.js +52 -0
- package/dist/editor/schema-form.d.ts +64 -0
- package/dist/editor/schema-form.js +290 -0
- package/dist/editor/slash-menu.d.ts +15 -0
- package/dist/editor/slash-menu.js +119 -0
- package/dist/fonts/catalog.d.ts +53 -0
- package/dist/fonts/catalog.js +121 -0
- package/dist/fonts/font-picker.d.ts +70 -0
- package/dist/fonts/font-picker.js +225 -0
- package/dist/fonts/index.d.ts +6 -0
- package/dist/fonts/index.js +7 -0
- package/dist/fonts/loader.d.ts +66 -0
- package/dist/fonts/loader.js +161 -0
- package/dist/fonts/pairing-picker.d.ts +31 -0
- package/dist/fonts/pairing-picker.js +81 -0
- package/dist/fonts/pairings.d.ts +84 -0
- package/dist/fonts/pairings.js +149 -0
- package/dist/fonts/provider.d.ts +34 -0
- package/dist/fonts/provider.js +51 -0
- package/dist/form/index.d.ts +1 -0
- package/dist/form/index.js +1 -0
- package/dist/format/core.d.ts +149 -0
- package/dist/format/core.js +357 -0
- package/dist/format/index.d.ts +4 -0
- package/dist/format/index.js +5 -0
- package/dist/format/use-format.d.ts +1 -0
- package/dist/format/use-format.js +3 -0
- package/dist/index.d.ts +91 -0
- package/dist/index.js +92 -0
- package/dist/lib/cn.d.ts +3 -0
- package/dist/lib/cn.js +16 -0
- package/dist/lib/color.d.ts +64 -0
- package/dist/lib/color.js +177 -0
- package/dist/lib/compose-refs.d.ts +24 -0
- package/dist/lib/compose-refs.js +45 -0
- package/dist/lib/data-islands.d.ts +194 -0
- package/dist/lib/data-islands.js +368 -0
- package/dist/lib/date.d.ts +129 -0
- package/dist/lib/date.js +386 -0
- package/dist/lib/field-context.d.ts +64 -0
- package/dist/lib/field-context.js +62 -0
- package/dist/lib/floating-arrow.d.ts +18 -0
- package/dist/lib/floating-arrow.js +15 -0
- package/dist/lib/islands.d.ts +38 -0
- package/dist/lib/islands.js +40 -0
- package/dist/lib/labels.d.ts +51 -0
- package/dist/lib/labels.js +56 -0
- package/dist/lib/layer.d.ts +36 -0
- package/dist/lib/layer.js +42 -0
- package/dist/lib/locale.d.ts +85 -0
- package/dist/lib/locale.js +105 -0
- package/dist/lib/menu.d.ts +58 -0
- package/dist/lib/menu.js +99 -0
- package/dist/lib/message-format.d.ts +20 -0
- package/dist/lib/message-format.js +116 -0
- package/dist/lib/nav.d.ts +132 -0
- package/dist/lib/nav.js +178 -0
- package/dist/lib/provider.d.ts +100 -0
- package/dist/lib/provider.js +105 -0
- package/dist/lib/public.d.ts +23 -0
- package/dist/lib/public.js +34 -0
- package/dist/lib/sr-name.d.ts +18 -0
- package/dist/lib/sr-name.js +17 -0
- package/dist/lib/text.d.ts +100 -0
- package/dist/lib/text.js +233 -0
- package/dist/lib/theme-scope.d.ts +58 -0
- package/dist/lib/theme-scope.js +59 -0
- package/dist/lib/use-async-list.d.ts +60 -0
- package/dist/lib/use-async-list.js +119 -0
- package/dist/lib/use-container-width.d.ts +19 -0
- package/dist/lib/use-container-width.js +39 -0
- package/dist/lib/use-controllable-state.d.ts +33 -0
- package/dist/lib/use-controllable-state.js +56 -0
- package/dist/lib/use-edge-fade.d.ts +13 -0
- package/dist/lib/use-edge-fade.js +43 -0
- package/dist/lib/use-formatted-input.d.ts +69 -0
- package/dist/lib/use-formatted-input.js +152 -0
- package/dist/lib/use-hotkeys.d.ts +80 -0
- package/dist/lib/use-hotkeys.js +221 -0
- package/dist/lib/use-hover-intent.d.ts +44 -0
- package/dist/lib/use-hover-intent.js +119 -0
- package/dist/lib/use-media-query.d.ts +21 -0
- package/dist/lib/use-media-query.js +28 -0
- package/dist/lib/use-reduced-motion.d.ts +8 -0
- package/dist/lib/use-reduced-motion.js +13 -0
- package/dist/lib/use-tree.d.ts +153 -0
- package/dist/lib/use-tree.js +534 -0
- package/dist/lib/value-format.d.ts +25 -0
- package/dist/lib/value-format.js +56 -0
- package/dist/lib/variants.d.ts +131 -0
- package/dist/lib/variants.js +109 -0
- package/dist/locale-data/core/date.d.ts +24 -0
- package/dist/locale-data/core/date.js +68 -0
- package/dist/locale-data/core/decimal.d.ts +19 -0
- package/dist/locale-data/core/decimal.js +79 -0
- package/dist/locale-data/core/holidays.d.ts +30 -0
- package/dist/locale-data/core/holidays.js +79 -0
- package/dist/locale-data/core/iban.d.ts +29 -0
- package/dist/locale-data/core/iban.js +74 -0
- package/dist/locale-data/core/index.d.ts +7 -0
- package/dist/locale-data/core/index.js +6 -0
- package/dist/locale-data/core/types.d.ts +173 -0
- package/dist/locale-data/core/types.js +6 -0
- package/dist/locale-data/core/week-info.d.ts +23 -0
- package/dist/locale-data/core/week-info.js +85 -0
- package/dist/locale-data/core/working-days.d.ts +27 -0
- package/dist/locale-data/core/working-days.js +133 -0
- package/dist/locale-data/index.d.ts +2 -0
- package/dist/locale-data/index.js +4 -0
- package/dist/locale-data/tr/address-tr.json +1 -0
- package/dist/locale-data/tr/address.d.ts +23 -0
- package/dist/locale-data/tr/address.js +52 -0
- package/dist/locale-data/tr/holidays.d.ts +31 -0
- package/dist/locale-data/tr/holidays.js +81 -0
- package/dist/locale-data/tr/iban.d.ts +21 -0
- package/dist/locale-data/tr/iban.js +45 -0
- package/dist/locale-data/tr/id.d.ts +36 -0
- package/dist/locale-data/tr/id.js +120 -0
- package/dist/locale-data/tr/index.d.ts +12 -0
- package/dist/locale-data/tr/index.js +33 -0
- package/dist/locale-data/tr/kdv.d.ts +91 -0
- package/dist/locale-data/tr/kdv.js +222 -0
- package/dist/locales/en.d.ts +2102 -0
- package/dist/locales/en.js +2088 -0
- package/dist/locales/tr.d.ts +2086 -0
- package/dist/locales/tr.js +2087 -0
- package/dist/media/focal-point.d.ts +42 -0
- package/dist/media/focal-point.js +96 -0
- package/dist/media/gallery-layout.d.ts +19 -0
- package/dist/media/gallery-layout.js +61 -0
- package/dist/media/gallery.d.ts +64 -0
- package/dist/media/gallery.js +140 -0
- package/dist/media/image-cropper.d.ts +86 -0
- package/dist/media/image-cropper.js +170 -0
- package/dist/media/image-field.d.ts +115 -0
- package/dist/media/image-field.js +212 -0
- package/dist/media/index.d.ts +19 -0
- package/dist/media/index.js +23 -0
- package/dist/media/lightbox.d.ts +82 -0
- package/dist/media/lightbox.js +171 -0
- package/dist/media/link-preview.d.ts +97 -0
- package/dist/media/link-preview.js +177 -0
- package/dist/media/media-library.d.ts +244 -0
- package/dist/media/media-library.js +776 -0
- package/dist/media/media-picker.d.ts +96 -0
- package/dist/media/media-picker.js +209 -0
- package/dist/media/media-provider.d.ts +23 -0
- package/dist/media/media-provider.js +44 -0
- package/dist/media/media-utils.d.ts +39 -0
- package/dist/media/media-utils.js +145 -0
- package/dist/media/memory-adapter.d.ts +22 -0
- package/dist/media/memory-adapter.js +162 -0
- package/dist/media/rest-adapter.d.ts +90 -0
- package/dist/media/rest-adapter.js +208 -0
- package/dist/media/serp.d.ts +62 -0
- package/dist/media/serp.js +108 -0
- package/dist/media/test-fixtures.d.ts +3 -0
- package/dist/media/test-fixtures.js +37 -0
- package/dist/media/types.d.ts +183 -0
- package/dist/media/types.js +3 -0
- package/dist/media/use-pan-zoom.d.ts +51 -0
- package/dist/media/use-pan-zoom.js +156 -0
- package/dist/media/use-upload-queue.d.ts +64 -0
- package/dist/media/use-upload-queue.js +115 -0
- package/dist/media/video-player.d.ts +135 -0
- package/dist/media/video-player.js +319 -0
- package/dist/motion/core.d.ts +32 -0
- package/dist/motion/core.js +77 -0
- package/dist/motion/count-up.d.ts +29 -0
- package/dist/motion/count-up.js +92 -0
- package/dist/motion/index.d.ts +11 -0
- package/dist/motion/index.js +13 -0
- package/dist/motion/motion-scope.d.ts +17 -0
- package/dist/motion/motion-scope.js +16 -0
- package/dist/motion/page-transition.d.ts +33 -0
- package/dist/motion/page-transition.js +61 -0
- package/dist/motion/parallax.d.ts +37 -0
- package/dist/motion/parallax.js +90 -0
- package/dist/motion/pointer.d.ts +38 -0
- package/dist/motion/pointer.js +117 -0
- package/dist/motion/reveal.d.ts +72 -0
- package/dist/motion/reveal.js +133 -0
- package/dist/motion/scroll-shrink.d.ts +18 -0
- package/dist/motion/scroll-shrink.js +47 -0
- package/dist/motion/skeleton-swap.d.ts +17 -0
- package/dist/motion/skeleton-swap.js +43 -0
- package/dist/motion/text-reveal.d.ts +30 -0
- package/dist/motion/text-reveal.js +29 -0
- package/dist/motion/ticker.d.ts +35 -0
- package/dist/motion/ticker.js +16 -0
- package/dist/next/index.d.ts +42 -0
- package/dist/next/index.js +36 -0
- package/dist/render/block-renderer.d.ts +56 -0
- package/dist/render/block-renderer.js +137 -0
- package/dist/render/index.d.ts +6 -0
- package/dist/render/index.js +7 -0
- package/dist/render/prepare.d.ts +61 -0
- package/dist/render/prepare.js +119 -0
- package/dist/scheduler/core/duration.d.ts +83 -0
- package/dist/scheduler/core/duration.js +174 -0
- package/dist/scheduler/core/gantt.d.ts +63 -0
- package/dist/scheduler/core/gantt.js +226 -0
- package/dist/scheduler/core/index.d.ts +6 -0
- package/dist/scheduler/core/index.js +7 -0
- package/dist/scheduler/core/layout.d.ts +97 -0
- package/dist/scheduler/core/layout.js +249 -0
- package/dist/scheduler/core/time-scale.d.ts +89 -0
- package/dist/scheduler/core/time-scale.js +173 -0
- package/dist/scheduler/gantt.d.ts +125 -0
- package/dist/scheduler/gantt.js +532 -0
- package/dist/scheduler/index.d.ts +6 -0
- package/dist/scheduler/index.js +7 -0
- package/dist/scheduler/resource-calendar.d.ts +218 -0
- package/dist/scheduler/resource-calendar.js +661 -0
- package/dist/scheduler/scheduler.d.ts +168 -0
- package/dist/scheduler/scheduler.js +768 -0
- package/dist/scheduler/shared.d.ts +63 -0
- package/dist/scheduler/shared.js +145 -0
- package/dist/scheduler/time-tracker.d.ts +138 -0
- package/dist/scheduler/time-tracker.js +403 -0
- package/dist/sortable/core.d.ts +67 -0
- package/dist/sortable/core.js +167 -0
- package/dist/sortable/index.d.ts +8 -0
- package/dist/sortable/index.js +10 -0
- package/dist/sortable/kanban-core.d.ts +70 -0
- package/dist/sortable/kanban-core.js +67 -0
- package/dist/sortable/kanban.d.ts +147 -0
- package/dist/sortable/kanban.js +472 -0
- package/dist/sortable/sortable-list.d.ts +71 -0
- package/dist/sortable/sortable-list.js +76 -0
- package/dist/sortable/sortable-tree.d.ts +105 -0
- package/dist/sortable/sortable-tree.js +462 -0
- package/dist/sortable/sortable.d.ts +188 -0
- package/dist/sortable/sortable.js +485 -0
- package/dist/sortable/use-pointer-drag.d.ts +75 -0
- package/dist/sortable/use-pointer-drag.js +173 -0
- package/dist/sortable/use-time-scale.d.ts +11 -0
- package/dist/sortable/use-time-scale.js +19 -0
- package/dist/styles/base.css +51 -0
- package/dist/styles/blocks.css +949 -0
- package/dist/styles/calendar.css +642 -0
- package/dist/styles/charts.css +264 -0
- package/dist/styles/data.css +474 -0
- package/dist/styles/editors.css +1022 -0
- package/dist/styles/forms.css +406 -0
- package/dist/styles/media.css +515 -0
- package/dist/styles/motion.css +389 -0
- package/dist/styles/navigation.css +293 -0
- package/dist/styles/overlays.css +244 -0
- package/dist/styles.css +743 -0
- package/package.json +160 -4
|
@@ -0,0 +1,1022 @@
|
|
|
1
|
+
/* editors — component CSS owned by the editors group. Tokens only. */
|
|
2
|
+
|
|
3
|
+
/* ---------------------------------------------------------------- */
|
|
4
|
+
/* Sortable */
|
|
5
|
+
/* ---------------------------------------------------------------- */
|
|
6
|
+
|
|
7
|
+
/* Lifted item: the original slot becomes a dashed placeholder while the overlay carries the clone. */
|
|
8
|
+
[data-slot="sortable-item"][data-placeholder] {
|
|
9
|
+
position: relative;
|
|
10
|
+
box-shadow: none;
|
|
11
|
+
}
|
|
12
|
+
[data-slot="sortable-item"][data-placeholder] > * {
|
|
13
|
+
visibility: hidden;
|
|
14
|
+
}
|
|
15
|
+
[data-slot="sortable-item"][data-placeholder]::after {
|
|
16
|
+
content: "";
|
|
17
|
+
position: absolute;
|
|
18
|
+
inset: 0;
|
|
19
|
+
border: 1.5px dashed var(--field-border-hover);
|
|
20
|
+
border-radius: inherit;
|
|
21
|
+
background: var(--surface-2);
|
|
22
|
+
pointer-events: none;
|
|
23
|
+
}
|
|
24
|
+
/* Without an overlay the item itself moves: lift it. */
|
|
25
|
+
[data-slot="sortable-item"][data-dragging]:not([data-placeholder]) {
|
|
26
|
+
position: relative;
|
|
27
|
+
z-index: 1;
|
|
28
|
+
box-shadow: var(--popover-shadow);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/* The dragged clone: opaque popover, never blurred, so glass and solid render identically. */
|
|
32
|
+
.vui-sortable-overlay {
|
|
33
|
+
--blur: 0px;
|
|
34
|
+
cursor: grabbing;
|
|
35
|
+
}
|
|
36
|
+
.vui-sortable-overlay > .vui-sortable-clone {
|
|
37
|
+
background: var(--popover-nested, var(--popover));
|
|
38
|
+
box-shadow: var(--popover-shadow);
|
|
39
|
+
color: var(--fg);
|
|
40
|
+
-webkit-backdrop-filter: none;
|
|
41
|
+
backdrop-filter: none;
|
|
42
|
+
}
|
|
43
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
44
|
+
.vui-sortable-overlay > .vui-sortable-clone {
|
|
45
|
+
animation: vui-sortable-lift 140ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
@keyframes vui-sortable-lift {
|
|
49
|
+
from { transform: scale(1); }
|
|
50
|
+
to { transform: scale(1.02) rotate(-0.4deg); }
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/* Multi-container drop target. */
|
|
54
|
+
.vui-sortable-container[data-over] {
|
|
55
|
+
background: color-mix(in srgb, var(--accent-soft) 45%, transparent);
|
|
56
|
+
outline: 1.5px dashed color-mix(in srgb, var(--accent-ink) 40%, transparent);
|
|
57
|
+
outline-offset: -1.5px;
|
|
58
|
+
}
|
|
59
|
+
.vui-sortable-container[data-empty]:not([data-over]) {
|
|
60
|
+
outline: 1.5px dashed var(--field-border);
|
|
61
|
+
outline-offset: -1.5px;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/* Grid tiles never blur (repeated items). */
|
|
65
|
+
.vui-sortable-tile {
|
|
66
|
+
-webkit-backdrop-filter: none;
|
|
67
|
+
backdrop-filter: none;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/* While anything drags: no item-shift transitions under reduced motion. */
|
|
71
|
+
@media (prefers-reduced-motion: reduce) {
|
|
72
|
+
[data-slot="sortable-item"] {
|
|
73
|
+
transition: none !important;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/* ---------------------------------------------------------------- */
|
|
78
|
+
/* Kanban */
|
|
79
|
+
/* ---------------------------------------------------------------- */
|
|
80
|
+
|
|
81
|
+
/* Stage tone: a 3px top edge on the column (or the lane header cell). */
|
|
82
|
+
.vui-kanban-column,
|
|
83
|
+
.vui-kanban-head {
|
|
84
|
+
border-top: 3px solid var(--stage-tone, var(--line));
|
|
85
|
+
}
|
|
86
|
+
.vui-kanban-column[data-over-limit] .vui-kanban-header h3 {
|
|
87
|
+
color: var(--warning);
|
|
88
|
+
}
|
|
89
|
+
/* Cards repeat by the hundred: never blurred. */
|
|
90
|
+
.vui-kanban-card {
|
|
91
|
+
-webkit-backdrop-filter: none;
|
|
92
|
+
backdrop-filter: none;
|
|
93
|
+
box-shadow: 0 1px 1px rgb(0 0 0 / 0.04);
|
|
94
|
+
}
|
|
95
|
+
.vui-kanban-card[data-saving] {
|
|
96
|
+
opacity: 0.6;
|
|
97
|
+
}
|
|
98
|
+
/* Drop target column: accent soft wash (overrides the generic sortable outline). */
|
|
99
|
+
.vui-kanban .vui-sortable-container[data-over] {
|
|
100
|
+
background: color-mix(in srgb, var(--accent-soft) 70%, transparent);
|
|
101
|
+
outline: none;
|
|
102
|
+
}
|
|
103
|
+
.vui-kanban .vui-sortable-container[data-empty]:not([data-over]) {
|
|
104
|
+
outline: none;
|
|
105
|
+
}
|
|
106
|
+
.vui-kanban [data-slot="kanban-column"]:has(> .vui-sortable-container[data-over]) {
|
|
107
|
+
background: color-mix(in srgb, var(--accent-soft) 45%, var(--surface-2));
|
|
108
|
+
}
|
|
109
|
+
.vui-kanban .vui-sortable-container[data-over] [data-slot="kanban-empty"] {
|
|
110
|
+
border-color: color-mix(in srgb, var(--accent-ink) 45%, transparent);
|
|
111
|
+
color: var(--accent-ink);
|
|
112
|
+
}
|
|
113
|
+
.vui-kanban-column[data-collapsed] {
|
|
114
|
+
width: 2.75rem;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/* ---------------------------------------------------------------- */
|
|
118
|
+
/* Sortable tree */
|
|
119
|
+
/* ---------------------------------------------------------------- */
|
|
120
|
+
|
|
121
|
+
/* The lifted row becomes a drop indicator at the projected depth. */
|
|
122
|
+
[data-slot="sortable-tree-item"][data-dragging] {
|
|
123
|
+
background: transparent;
|
|
124
|
+
box-shadow: none;
|
|
125
|
+
}
|
|
126
|
+
[data-slot="sortable-tree-item"][data-dragging] > :not(.vui-tree-indicator) {
|
|
127
|
+
visibility: hidden;
|
|
128
|
+
}
|
|
129
|
+
.vui-tree-indicator {
|
|
130
|
+
position: absolute;
|
|
131
|
+
inset-inline-start: calc(var(--depth-px, 0px) + 0.5rem);
|
|
132
|
+
inset-inline-end: 0.25rem;
|
|
133
|
+
top: 50%;
|
|
134
|
+
height: 2px;
|
|
135
|
+
margin-top: -1px;
|
|
136
|
+
border-radius: 2px;
|
|
137
|
+
background: var(--ring);
|
|
138
|
+
}
|
|
139
|
+
.vui-tree-indicator::before {
|
|
140
|
+
content: "";
|
|
141
|
+
position: absolute;
|
|
142
|
+
inset-inline-start: -4px;
|
|
143
|
+
top: -3px;
|
|
144
|
+
width: 8px;
|
|
145
|
+
height: 8px;
|
|
146
|
+
border-radius: 999px;
|
|
147
|
+
border: 2px solid var(--ring);
|
|
148
|
+
background: var(--scene);
|
|
149
|
+
}
|
|
150
|
+
[data-slot="sortable-tree-item"][data-invalid] .vui-tree-indicator,
|
|
151
|
+
[data-slot="sortable-tree-item"][data-invalid] .vui-tree-indicator::before {
|
|
152
|
+
background: var(--danger);
|
|
153
|
+
border-color: var(--danger);
|
|
154
|
+
}
|
|
155
|
+
.vui-sortable-overlay > .vui-tree-clone[data-invalid] {
|
|
156
|
+
border-color: color-mix(in srgb, var(--danger) 55%, transparent);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
/* ---------------------------------------------------------------- */
|
|
160
|
+
/* Hierarchy chart */
|
|
161
|
+
/* ---------------------------------------------------------------- */
|
|
162
|
+
|
|
163
|
+
.vui-hierarchy {
|
|
164
|
+
background-color: var(--scene);
|
|
165
|
+
background-image: radial-gradient(color-mix(in srgb, var(--fg) 9%, transparent) 1px, transparent 1.2px);
|
|
166
|
+
background-size: 18px 18px;
|
|
167
|
+
touch-action: none;
|
|
168
|
+
}
|
|
169
|
+
.vui-hierarchy[data-panning] {
|
|
170
|
+
cursor: grabbing;
|
|
171
|
+
}
|
|
172
|
+
.vui-hierarchy-layer {
|
|
173
|
+
transform-origin: 0 0;
|
|
174
|
+
will-change: transform;
|
|
175
|
+
}
|
|
176
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
177
|
+
.vui-hierarchy-layer[data-animate] {
|
|
178
|
+
transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
.vui-hierarchy-edge {
|
|
182
|
+
fill: none;
|
|
183
|
+
stroke: var(--line);
|
|
184
|
+
stroke-width: 1.5;
|
|
185
|
+
vector-effect: non-scaling-stroke;
|
|
186
|
+
}
|
|
187
|
+
.vui-hierarchy-edge[data-active] {
|
|
188
|
+
stroke: color-mix(in srgb, var(--accent-ink) 70%, var(--line));
|
|
189
|
+
}
|
|
190
|
+
/* Nodes repeat: no blur. */
|
|
191
|
+
.vui-hierarchy-node {
|
|
192
|
+
-webkit-backdrop-filter: none;
|
|
193
|
+
backdrop-filter: none;
|
|
194
|
+
}
|
|
195
|
+
.vui-hierarchy-node[data-selected] > [data-slot="hierarchy-card"] {
|
|
196
|
+
box-shadow: 0 0 0 2px var(--ring), 0 6px 18px -10px rgb(0 0 0 / 0.35);
|
|
197
|
+
}
|
|
198
|
+
.vui-hierarchy-node[data-match] > [data-slot="hierarchy-card"] {
|
|
199
|
+
background: color-mix(in srgb, var(--accent-soft) 85%, var(--surface));
|
|
200
|
+
}
|
|
201
|
+
.vui-hierarchy-node[data-drop-target] > [data-slot="hierarchy-card"] {
|
|
202
|
+
box-shadow: 0 0 0 2px var(--accent-ink);
|
|
203
|
+
}
|
|
204
|
+
.vui-hierarchy-node[data-drop-invalid] > [data-slot="hierarchy-card"] {
|
|
205
|
+
box-shadow: 0 0 0 2px var(--danger);
|
|
206
|
+
}
|
|
207
|
+
.vui-hierarchy-node[data-drag-source] {
|
|
208
|
+
opacity: 0.45;
|
|
209
|
+
}
|
|
210
|
+
.vui-hierarchy-node:focus-visible {
|
|
211
|
+
outline: none;
|
|
212
|
+
}
|
|
213
|
+
.vui-hierarchy-node:focus-visible > [data-slot="hierarchy-card"] {
|
|
214
|
+
outline: 2px solid var(--ring);
|
|
215
|
+
outline-offset: 3px;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
/* ---------------------------------------------------------------- */
|
|
219
|
+
/* Business: line items */
|
|
220
|
+
/* ---------------------------------------------------------------- */
|
|
221
|
+
|
|
222
|
+
.vui-line-items {
|
|
223
|
+
container-type: inline-size;
|
|
224
|
+
}
|
|
225
|
+
.vui-line-items-table {
|
|
226
|
+
min-width: var(--li-min-w, 0);
|
|
227
|
+
}
|
|
228
|
+
.vui-line-items-table thead th {
|
|
229
|
+
white-space: nowrap;
|
|
230
|
+
}
|
|
231
|
+
.vui-li-row:focus-within {
|
|
232
|
+
background: color-mix(in srgb, var(--accent-soft) 35%, transparent);
|
|
233
|
+
}
|
|
234
|
+
/* Below 40rem the rows become stacked cards; each cell shows its header as a label. */
|
|
235
|
+
@container (max-width: 40rem) {
|
|
236
|
+
.vui-line-items-table,
|
|
237
|
+
.vui-line-items-table tbody {
|
|
238
|
+
display: block;
|
|
239
|
+
}
|
|
240
|
+
.vui-line-items-table {
|
|
241
|
+
min-width: 0;
|
|
242
|
+
}
|
|
243
|
+
.vui-line-items-table thead {
|
|
244
|
+
position: absolute;
|
|
245
|
+
width: 1px;
|
|
246
|
+
height: 1px;
|
|
247
|
+
overflow: hidden;
|
|
248
|
+
clip-path: inset(50%);
|
|
249
|
+
}
|
|
250
|
+
/* Handle and actions sit outside the grid, so every field cell auto-places into the
|
|
251
|
+
three content columns (a narrow handle column would otherwise swallow "Qty"). */
|
|
252
|
+
.vui-li-row {
|
|
253
|
+
position: relative;
|
|
254
|
+
display: grid;
|
|
255
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
256
|
+
gap: 0.25rem 0.5rem;
|
|
257
|
+
padding-block: 0.625rem;
|
|
258
|
+
padding-inline: 2.25rem 2.75rem;
|
|
259
|
+
}
|
|
260
|
+
.vui-li-row > .vui-li-handle,
|
|
261
|
+
.vui-li-row > .vui-li-index {
|
|
262
|
+
position: absolute;
|
|
263
|
+
inset-block-start: 0.875rem;
|
|
264
|
+
inset-inline-start: 0.5rem;
|
|
265
|
+
padding: 0;
|
|
266
|
+
}
|
|
267
|
+
.vui-li-row > .vui-li-actions {
|
|
268
|
+
position: absolute;
|
|
269
|
+
inset-block-start: 0.625rem;
|
|
270
|
+
inset-inline-end: 0.5rem;
|
|
271
|
+
padding: 0;
|
|
272
|
+
}
|
|
273
|
+
.vui-li-row > .vui-li-cell {
|
|
274
|
+
display: flex;
|
|
275
|
+
flex-direction: column;
|
|
276
|
+
gap: 0.125rem;
|
|
277
|
+
padding: 0;
|
|
278
|
+
text-align: start;
|
|
279
|
+
}
|
|
280
|
+
.vui-li-row > .vui-li-cell::before {
|
|
281
|
+
content: attr(data-label);
|
|
282
|
+
padding-inline: 0.25rem;
|
|
283
|
+
font-size: 10px;
|
|
284
|
+
font-weight: 500;
|
|
285
|
+
letter-spacing: 0.04em;
|
|
286
|
+
text-transform: uppercase;
|
|
287
|
+
color: var(--fg-subtle);
|
|
288
|
+
}
|
|
289
|
+
.vui-li-row > .vui-li-cell:is([data-col="description"], [data-col="item"]) {
|
|
290
|
+
grid-column: 1 / -1;
|
|
291
|
+
}
|
|
292
|
+
.vui-li-row > .vui-li-cell[data-col="total"] {
|
|
293
|
+
grid-column: 1 / -1;
|
|
294
|
+
flex-direction: row;
|
|
295
|
+
justify-content: space-between;
|
|
296
|
+
align-items: baseline;
|
|
297
|
+
border-top: 1px dashed var(--line);
|
|
298
|
+
padding-top: 0.375rem;
|
|
299
|
+
}
|
|
300
|
+
.vui-li-hint {
|
|
301
|
+
display: none;
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
/* ---------------------------------------------------------------- */
|
|
306
|
+
/* Business: multi-step form */
|
|
307
|
+
/* ---------------------------------------------------------------- */
|
|
308
|
+
|
|
309
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
310
|
+
.vui-msf-step-in {
|
|
311
|
+
animation: vui-msf-in 220ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
@keyframes vui-msf-in {
|
|
315
|
+
from {
|
|
316
|
+
opacity: 0;
|
|
317
|
+
transform: translateY(4px);
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
/* While stuck, the footer sits on an opaque mix so content never shows through in glass. */
|
|
321
|
+
.vui-msf[data-presentation="page"] .vui-msf-footer[data-stuck] {
|
|
322
|
+
background: linear-gradient(var(--surface), var(--surface)), var(--scene);
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
/* ---------------------------------------------------------------- */
|
|
326
|
+
/* Business: approval flow */
|
|
327
|
+
/* ---------------------------------------------------------------- */
|
|
328
|
+
|
|
329
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
330
|
+
.vui-approval-dot[data-status="active"]::after {
|
|
331
|
+
content: "";
|
|
332
|
+
position: absolute;
|
|
333
|
+
inset: -5px;
|
|
334
|
+
border-radius: inherit;
|
|
335
|
+
border: 1.5px solid var(--accent-ink);
|
|
336
|
+
opacity: 0;
|
|
337
|
+
animation: vui-approval-pulse 2.4s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
@keyframes vui-approval-pulse {
|
|
341
|
+
0% {
|
|
342
|
+
opacity: 0.55;
|
|
343
|
+
transform: scale(0.85);
|
|
344
|
+
}
|
|
345
|
+
70%,
|
|
346
|
+
100% {
|
|
347
|
+
opacity: 0;
|
|
348
|
+
transform: scale(1.35);
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
/* ---------------------------------------------------------------- */
|
|
353
|
+
/* Business: permission matrix / import review (sticky + scope fill) */
|
|
354
|
+
/* ---------------------------------------------------------------- */
|
|
355
|
+
|
|
356
|
+
/* Sticky headers: opaque (surface over scene) and never blurred. */
|
|
357
|
+
.vui-pm-sticky,
|
|
358
|
+
.vui-pm-sticky-col,
|
|
359
|
+
.vui-pm-sticky-group {
|
|
360
|
+
-webkit-backdrop-filter: none;
|
|
361
|
+
backdrop-filter: none;
|
|
362
|
+
}
|
|
363
|
+
.vui-pm-sticky {
|
|
364
|
+
background: linear-gradient(var(--surface-2), var(--surface-2)), linear-gradient(var(--surface), var(--surface)), var(--scene);
|
|
365
|
+
}
|
|
366
|
+
.vui-pm-sticky-col {
|
|
367
|
+
background: linear-gradient(var(--surface), var(--surface)), var(--scene);
|
|
368
|
+
}
|
|
369
|
+
.vui-pm-sticky-group {
|
|
370
|
+
background: linear-gradient(var(--hover), var(--hover)), linear-gradient(var(--surface), var(--surface)), var(--scene);
|
|
371
|
+
}
|
|
372
|
+
.vui-pm-row:hover > td,
|
|
373
|
+
.vui-pm-row:focus-within > td {
|
|
374
|
+
background: color-mix(in srgb, var(--hover) 70%, transparent);
|
|
375
|
+
}
|
|
376
|
+
.vui-pm-row:hover > .vui-pm-sticky-col,
|
|
377
|
+
.vui-pm-row:focus-within > .vui-pm-sticky-col {
|
|
378
|
+
background: linear-gradient(var(--hover), var(--hover)), linear-gradient(var(--surface), var(--surface)), var(--scene);
|
|
379
|
+
}
|
|
380
|
+
/* Scope levels as increasing fill: none empty · own 33% · team 66% · all full accent-soft. */
|
|
381
|
+
.vui-pm-scope {
|
|
382
|
+
color: var(--fg);
|
|
383
|
+
}
|
|
384
|
+
.vui-pm-scope[data-level="none"] {
|
|
385
|
+
box-shadow: inset 0 0 0 1px var(--line);
|
|
386
|
+
}
|
|
387
|
+
.vui-pm-scope[data-level="own"] {
|
|
388
|
+
background: color-mix(in srgb, var(--accent-soft) 33%, transparent);
|
|
389
|
+
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent-ink) 22%, transparent);
|
|
390
|
+
}
|
|
391
|
+
.vui-pm-scope[data-level="team"] {
|
|
392
|
+
background: color-mix(in srgb, var(--accent-soft) 66%, transparent);
|
|
393
|
+
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent-ink) 32%, transparent);
|
|
394
|
+
}
|
|
395
|
+
.vui-pm-scope[data-level="all"] {
|
|
396
|
+
background: var(--accent-soft);
|
|
397
|
+
color: var(--accent-ink);
|
|
398
|
+
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent-ink) 45%, transparent);
|
|
399
|
+
}
|
|
400
|
+
.vui-pm-scope[data-danger] {
|
|
401
|
+
background: color-mix(in srgb, var(--danger) 13%, transparent);
|
|
402
|
+
color: var(--danger);
|
|
403
|
+
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--danger) 40%, transparent);
|
|
404
|
+
}
|
|
405
|
+
.vui-pm-cell[data-inherited] {
|
|
406
|
+
background-image: repeating-linear-gradient(135deg, transparent 0 4px, color-mix(in srgb, var(--fg) 5%, transparent) 4px 5px);
|
|
407
|
+
}
|
|
408
|
+
.vui-pm-cell[data-override]::after {
|
|
409
|
+
content: "";
|
|
410
|
+
position: absolute;
|
|
411
|
+
inset-inline-start: 4px;
|
|
412
|
+
top: 4px;
|
|
413
|
+
width: 5px;
|
|
414
|
+
height: 5px;
|
|
415
|
+
border-radius: 999px;
|
|
416
|
+
box-shadow: inset 0 0 0 1.5px var(--warning);
|
|
417
|
+
}
|
|
418
|
+
.vui-pm-differs > th,
|
|
419
|
+
.vui-pm-differs > td {
|
|
420
|
+
background: color-mix(in srgb, var(--warning) 7%, transparent);
|
|
421
|
+
}
|
|
422
|
+
.vui-pm-differs > .vui-pm-sticky-col {
|
|
423
|
+
background: linear-gradient(color-mix(in srgb, var(--warning) 7%, transparent), color-mix(in srgb, var(--warning) 7%, transparent)), linear-gradient(var(--surface), var(--surface)), var(--scene);
|
|
424
|
+
}
|
|
425
|
+
/* Import review: error / warning cells. */
|
|
426
|
+
.vui-import-cell[data-error] {
|
|
427
|
+
background: color-mix(in srgb, var(--danger) 10%, transparent);
|
|
428
|
+
}
|
|
429
|
+
.vui-import-cell[data-warning] {
|
|
430
|
+
background: color-mix(in srgb, var(--warning) 10%, transparent);
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
/* ---------------------------------------------------------------- */
|
|
434
|
+
/* Block editor (@vamos-ui/react/editor) */
|
|
435
|
+
/* Canvas wears the site theme and is always solid; chrome uses the */
|
|
436
|
+
/* admin popover surface. Accent only for the drop line, the active */
|
|
437
|
+
/* toolbar state and the caret. */
|
|
438
|
+
/* ---------------------------------------------------------------- */
|
|
439
|
+
|
|
440
|
+
.vui-editor {
|
|
441
|
+
position: relative;
|
|
442
|
+
width: 100%;
|
|
443
|
+
min-width: 0;
|
|
444
|
+
--editor-gutter: 3.25rem;
|
|
445
|
+
}
|
|
446
|
+
.vui-editor-canvas {
|
|
447
|
+
position: relative;
|
|
448
|
+
color: var(--fg);
|
|
449
|
+
}
|
|
450
|
+
.vui-editor:not([data-variant="rich-text"]) .vui-editor-canvas {
|
|
451
|
+
background: var(--scene);
|
|
452
|
+
}
|
|
453
|
+
.vui-editor-prose {
|
|
454
|
+
outline: none;
|
|
455
|
+
caret-color: var(--accent-ink);
|
|
456
|
+
min-height: 8rem;
|
|
457
|
+
word-wrap: break-word;
|
|
458
|
+
white-space: pre-wrap;
|
|
459
|
+
font-variant-ligatures: none;
|
|
460
|
+
}
|
|
461
|
+
.vui-editor-prose ::selection { background: var(--accent-soft); }
|
|
462
|
+
.vui-editor-prose > * { position: relative; }
|
|
463
|
+
|
|
464
|
+
/* Document: a reading column with a gutter for the handle. */
|
|
465
|
+
.vui-editor[data-variant="document"] .vui-editor-prose {
|
|
466
|
+
max-width: calc(720px + var(--editor-gutter) * 2);
|
|
467
|
+
margin-inline: auto;
|
|
468
|
+
padding: clamp(1.5rem, 4vw, 3rem) var(--editor-gutter) 2rem;
|
|
469
|
+
min-height: 18rem;
|
|
470
|
+
}
|
|
471
|
+
/* Canvas: full width; text keeps a measure, page blocks run edge to edge. */
|
|
472
|
+
.vui-editor[data-variant="canvas"] .vui-editor-prose.prose-ui {
|
|
473
|
+
max-width: none;
|
|
474
|
+
padding: 2rem 0 3rem;
|
|
475
|
+
min-height: 24rem;
|
|
476
|
+
}
|
|
477
|
+
.vui-editor[data-variant="canvas"] .vui-editor-prose > :not(.vui-cblock) {
|
|
478
|
+
max-width: var(--measure, 64ch);
|
|
479
|
+
margin-inline: auto;
|
|
480
|
+
padding-inline: var(--gutter, 1.25rem);
|
|
481
|
+
box-sizing: content-box;
|
|
482
|
+
}
|
|
483
|
+
.vui-editor[data-variant="canvas"] .vui-editor-prose > .vui-cblock + .vui-cblock { margin-block-start: 0; }
|
|
484
|
+
|
|
485
|
+
/* Placeholder (only on the line with the cursor). */
|
|
486
|
+
.vui-editor-prose :where(p, h1, h2, h3, h4, pre).is-empty::before {
|
|
487
|
+
content: attr(data-placeholder);
|
|
488
|
+
float: inline-start;
|
|
489
|
+
height: 0;
|
|
490
|
+
color: var(--fg-subtle);
|
|
491
|
+
pointer-events: none;
|
|
492
|
+
font-style: normal;
|
|
493
|
+
}
|
|
494
|
+
.vui-editor-prose .is-empty:not(:focus-within)::before { opacity: 0.9; }
|
|
495
|
+
|
|
496
|
+
/* Block-selection mode: a thin ring around the whole block. */
|
|
497
|
+
.vui-editor-prose > .ProseMirror-selectednode:not(.vui-cblock):not(.vui-image) {
|
|
498
|
+
outline: 1.5px solid var(--ring);
|
|
499
|
+
outline-offset: 5px;
|
|
500
|
+
border-radius: 3px;
|
|
501
|
+
}
|
|
502
|
+
.vui-editor-prose .ProseMirror-gapcursor::after { border-top-color: var(--accent-ink); }
|
|
503
|
+
.vui-editor-prose a { cursor: text; }
|
|
504
|
+
|
|
505
|
+
/* Tables */
|
|
506
|
+
.vui-editor-prose .tableWrapper { overflow-x: auto; }
|
|
507
|
+
.vui-editor-prose table {
|
|
508
|
+
width: 100%;
|
|
509
|
+
border-collapse: collapse;
|
|
510
|
+
table-layout: fixed;
|
|
511
|
+
font-size: 0.94em;
|
|
512
|
+
}
|
|
513
|
+
.vui-editor-prose :where(td, th) {
|
|
514
|
+
position: relative;
|
|
515
|
+
vertical-align: top;
|
|
516
|
+
border: 1px solid var(--line);
|
|
517
|
+
padding: 0.45em 0.7em;
|
|
518
|
+
min-width: 4em;
|
|
519
|
+
}
|
|
520
|
+
.vui-editor-prose th { background: var(--surface-2); font-weight: 600; text-align: start; }
|
|
521
|
+
.vui-editor-prose :where(td, th) > p { margin: 0; }
|
|
522
|
+
.vui-editor-prose .selectedCell::after {
|
|
523
|
+
content: "";
|
|
524
|
+
position: absolute;
|
|
525
|
+
inset: 0;
|
|
526
|
+
background: var(--accent-soft);
|
|
527
|
+
pointer-events: none;
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
/* Component blocks: the site component, with a mono type tag. */
|
|
531
|
+
.vui-cblock {
|
|
532
|
+
position: relative;
|
|
533
|
+
margin-block: 1.75rem;
|
|
534
|
+
border-radius: var(--radius-ui-sm);
|
|
535
|
+
outline: 1px dashed transparent;
|
|
536
|
+
outline-offset: 4px;
|
|
537
|
+
transition: outline-color 120ms;
|
|
538
|
+
cursor: default;
|
|
539
|
+
}
|
|
540
|
+
.vui-cblock:hover { outline-color: var(--field-border-hover); }
|
|
541
|
+
.vui-cblock[data-selected] { outline: 1.5px solid var(--ring); }
|
|
542
|
+
.vui-cblock[data-invalid] { outline: 1.5px solid var(--danger); }
|
|
543
|
+
.vui-cblock[data-hidden] .vui-cblock-render { opacity: 0.45; }
|
|
544
|
+
.vui-cblock-render { pointer-events: none; user-select: none; }
|
|
545
|
+
.vui-cblock-render > div { display: contents; }
|
|
546
|
+
.vui-cblock-tag {
|
|
547
|
+
position: absolute;
|
|
548
|
+
z-index: 2;
|
|
549
|
+
inset-block-start: -0.7rem;
|
|
550
|
+
inset-inline-start: 0.6rem;
|
|
551
|
+
display: inline-flex;
|
|
552
|
+
max-width: calc(100% - 1.2rem);
|
|
553
|
+
align-items: center;
|
|
554
|
+
gap: 0.4rem;
|
|
555
|
+
padding: 0.12rem 0.45rem;
|
|
556
|
+
border: 1px solid var(--popover-border);
|
|
557
|
+
border-radius: var(--radius-ui-sm);
|
|
558
|
+
background: var(--popover-nested, var(--popover));
|
|
559
|
+
color: var(--fg);
|
|
560
|
+
font-family: var(--font-mono), ui-monospace, monospace;
|
|
561
|
+
font-size: 10.5px;
|
|
562
|
+
line-height: 1.4;
|
|
563
|
+
letter-spacing: 0.06em;
|
|
564
|
+
text-transform: uppercase;
|
|
565
|
+
white-space: nowrap;
|
|
566
|
+
opacity: 0;
|
|
567
|
+
transform: translateY(2px);
|
|
568
|
+
transition: opacity 120ms, transform 120ms;
|
|
569
|
+
pointer-events: none;
|
|
570
|
+
}
|
|
571
|
+
.vui-cblock:hover > .vui-cblock-tag,
|
|
572
|
+
.vui-cblock[data-selected] > .vui-cblock-tag,
|
|
573
|
+
.vui-cblock[data-invalid] > .vui-cblock-tag,
|
|
574
|
+
.vui-cblock[data-unknown] > .vui-cblock-tag {
|
|
575
|
+
opacity: 1;
|
|
576
|
+
transform: none;
|
|
577
|
+
}
|
|
578
|
+
.vui-cblock[data-selected] > .vui-cblock-tag { border-color: var(--ring); }
|
|
579
|
+
.vui-cblock[data-invalid] > .vui-cblock-tag { border-color: color-mix(in srgb, var(--danger) 55%, transparent); }
|
|
580
|
+
.vui-cblock-unknown {
|
|
581
|
+
display: flex;
|
|
582
|
+
align-items: center;
|
|
583
|
+
gap: 0.75rem;
|
|
584
|
+
padding: 1rem 1.1rem;
|
|
585
|
+
border: 1px dashed var(--field-border-hover);
|
|
586
|
+
border-radius: var(--radius-ui);
|
|
587
|
+
background: repeating-linear-gradient(135deg, transparent 0 7px, color-mix(in srgb, var(--fg) 4%, transparent) 7px 8px), var(--surface-2);
|
|
588
|
+
}
|
|
589
|
+
.vui-cblock-unknown p { margin: 0; }
|
|
590
|
+
|
|
591
|
+
/* Images */
|
|
592
|
+
.vui-image { margin-block: 1.5rem; }
|
|
593
|
+
.vui-image-frame { position: relative; border-radius: var(--radius-ui-sm); }
|
|
594
|
+
.vui-image-frame img { display: block; max-width: 100%; height: auto; border-radius: inherit; }
|
|
595
|
+
.vui-image[data-selected] .vui-image-frame { outline: 1.5px solid var(--ring); outline-offset: 4px; }
|
|
596
|
+
.vui-image[data-uploading] img { filter: saturate(0.4); opacity: 0.6; }
|
|
597
|
+
.vui-image-uploading {
|
|
598
|
+
position: absolute;
|
|
599
|
+
inset-inline-start: 0.75rem;
|
|
600
|
+
inset-block-end: 0.75rem;
|
|
601
|
+
display: inline-flex;
|
|
602
|
+
align-items: center;
|
|
603
|
+
gap: 0.5rem;
|
|
604
|
+
padding: 0.35rem 0.6rem;
|
|
605
|
+
border-radius: var(--radius-ui-sm);
|
|
606
|
+
background: var(--popover-nested, var(--popover));
|
|
607
|
+
color: var(--fg);
|
|
608
|
+
font-size: 12px;
|
|
609
|
+
box-shadow: var(--popover-shadow);
|
|
610
|
+
}
|
|
611
|
+
.vui-image-alt-flag {
|
|
612
|
+
position: absolute;
|
|
613
|
+
inset-inline-end: 0.6rem;
|
|
614
|
+
inset-block-start: 0.6rem;
|
|
615
|
+
display: inline-flex;
|
|
616
|
+
align-items: center;
|
|
617
|
+
gap: 0.3rem;
|
|
618
|
+
padding: 0.15rem 0.45rem;
|
|
619
|
+
border-radius: var(--radius-ui-sm);
|
|
620
|
+
background: var(--popover-nested, var(--popover));
|
|
621
|
+
color: var(--warning);
|
|
622
|
+
font-family: var(--font-mono), ui-monospace, monospace;
|
|
623
|
+
font-size: 10.5px;
|
|
624
|
+
letter-spacing: 0.04em;
|
|
625
|
+
text-transform: uppercase;
|
|
626
|
+
}
|
|
627
|
+
.vui-image figcaption { margin-block-start: 0.6em; text-align: center; font-size: 0.86em; color: var(--fg-muted); }
|
|
628
|
+
.vui-image-caption {
|
|
629
|
+
width: 100%;
|
|
630
|
+
border: 0;
|
|
631
|
+
background: transparent;
|
|
632
|
+
color: inherit;
|
|
633
|
+
font: inherit;
|
|
634
|
+
text-align: inherit;
|
|
635
|
+
outline: none;
|
|
636
|
+
padding: 0.1em 0;
|
|
637
|
+
border-bottom: 1px solid transparent;
|
|
638
|
+
}
|
|
639
|
+
.vui-image-caption:focus { border-bottom-color: var(--ring); }
|
|
640
|
+
.vui-image-caption.is-empty { opacity: 0; transition: opacity 120ms; }
|
|
641
|
+
.vui-image:hover .vui-image-caption.is-empty,
|
|
642
|
+
.vui-image[data-selected] .vui-image-caption.is-empty,
|
|
643
|
+
.vui-image-caption:focus { opacity: 1; }
|
|
644
|
+
.vui-image-empty {
|
|
645
|
+
display: flex;
|
|
646
|
+
flex-direction: column;
|
|
647
|
+
align-items: center;
|
|
648
|
+
gap: 0.75rem;
|
|
649
|
+
padding: 1.75rem 1.25rem;
|
|
650
|
+
border: 1px dashed var(--field-border-hover);
|
|
651
|
+
border-radius: var(--radius-ui);
|
|
652
|
+
background: var(--surface-2);
|
|
653
|
+
font-size: 14px;
|
|
654
|
+
line-height: 1.4;
|
|
655
|
+
}
|
|
656
|
+
.vui-image-url {
|
|
657
|
+
flex: 1;
|
|
658
|
+
min-width: 0;
|
|
659
|
+
height: 2rem;
|
|
660
|
+
padding: 0 0.65rem;
|
|
661
|
+
border: 1px solid var(--field-border);
|
|
662
|
+
border-radius: var(--radius-ui-sm);
|
|
663
|
+
background: var(--field);
|
|
664
|
+
color: var(--fg);
|
|
665
|
+
font-size: 13px;
|
|
666
|
+
}
|
|
667
|
+
.vui-image-url:focus-visible { outline: none; border-color: var(--ring); box-shadow: 0 0 0 3px var(--accent-soft); }
|
|
668
|
+
|
|
669
|
+
/* Drag handle + drop line */
|
|
670
|
+
.vui-drag-handle {
|
|
671
|
+
display: flex;
|
|
672
|
+
align-items: center;
|
|
673
|
+
padding-inline-end: 0.35rem;
|
|
674
|
+
transition: opacity 120ms, transform 120ms;
|
|
675
|
+
}
|
|
676
|
+
.vui-drag-handle[data-dragging="true"] { opacity: 0; }
|
|
677
|
+
.vui-handle-btn {
|
|
678
|
+
display: inline-flex;
|
|
679
|
+
width: 1.4rem;
|
|
680
|
+
height: 1.6rem;
|
|
681
|
+
align-items: center;
|
|
682
|
+
justify-content: center;
|
|
683
|
+
border-radius: var(--radius-ui-sm);
|
|
684
|
+
color: var(--fg-subtle);
|
|
685
|
+
transition: background-color 120ms, color 120ms;
|
|
686
|
+
}
|
|
687
|
+
.vui-handle-btn:hover,
|
|
688
|
+
.vui-handle-btn[data-state="open"] { background: var(--hover); color: var(--fg); }
|
|
689
|
+
.vui-handle-btn svg { width: 15px; height: 15px; }
|
|
690
|
+
.vui-handle-grip { cursor: grab; }
|
|
691
|
+
.vui-handle-grip:active { cursor: grabbing; }
|
|
692
|
+
.vui-dropcursor { background-color: var(--accent) !important; border-radius: 2px; }
|
|
693
|
+
|
|
694
|
+
/* Inserter */
|
|
695
|
+
.vui-inserter-row { padding: 0.5rem var(--editor-gutter) 2rem; max-width: calc(720px + var(--editor-gutter) * 2); margin-inline: auto; }
|
|
696
|
+
.vui-editor[data-variant="canvas"] .vui-inserter-row { max-width: calc(var(--measure, 64ch) + var(--gutter, 1.25rem) * 2); padding-inline: var(--gutter, 1.25rem); }
|
|
697
|
+
.vui-inserter-trigger {
|
|
698
|
+
display: flex;
|
|
699
|
+
width: 100%;
|
|
700
|
+
height: var(--control-h);
|
|
701
|
+
align-items: center;
|
|
702
|
+
justify-content: center;
|
|
703
|
+
gap: 0.5rem;
|
|
704
|
+
border: 1px dashed var(--field-border);
|
|
705
|
+
border-radius: var(--radius-ui);
|
|
706
|
+
color: var(--fg-muted);
|
|
707
|
+
font-size: 13px;
|
|
708
|
+
font-weight: 500;
|
|
709
|
+
transition: border-color 120ms, color 120ms, background-color 120ms;
|
|
710
|
+
}
|
|
711
|
+
.vui-inserter-trigger:hover,
|
|
712
|
+
.vui-inserter-trigger[aria-expanded="true"] { border-color: var(--field-border-hover); color: var(--fg); background: var(--hover); }
|
|
713
|
+
.vui-inserter-tabs {
|
|
714
|
+
display: flex;
|
|
715
|
+
gap: 1.1rem;
|
|
716
|
+
padding: 0 1rem;
|
|
717
|
+
border-bottom: 1px solid var(--line);
|
|
718
|
+
}
|
|
719
|
+
.vui-inserter-tabs button {
|
|
720
|
+
position: relative;
|
|
721
|
+
padding: 0.55rem 0 0.5rem;
|
|
722
|
+
font-size: 12.5px;
|
|
723
|
+
font-weight: 500;
|
|
724
|
+
color: var(--fg-muted);
|
|
725
|
+
}
|
|
726
|
+
.vui-inserter-tabs button[data-active] { color: var(--fg); }
|
|
727
|
+
.vui-inserter-tabs button[data-active]::after {
|
|
728
|
+
content: "";
|
|
729
|
+
position: absolute;
|
|
730
|
+
inset-inline: 0;
|
|
731
|
+
bottom: -1px;
|
|
732
|
+
height: 2px;
|
|
733
|
+
background: var(--accent);
|
|
734
|
+
border-radius: 2px;
|
|
735
|
+
}
|
|
736
|
+
.vui-inserter-preview { padding: 0.9rem; }
|
|
737
|
+
.vui-inserter-stage {
|
|
738
|
+
position: relative;
|
|
739
|
+
height: 9.5rem;
|
|
740
|
+
margin-top: 0.5rem;
|
|
741
|
+
overflow: hidden;
|
|
742
|
+
border: 1px solid var(--line);
|
|
743
|
+
border-radius: var(--radius-ui-sm);
|
|
744
|
+
background: var(--scene);
|
|
745
|
+
pointer-events: none;
|
|
746
|
+
}
|
|
747
|
+
.vui-inserter-scale {
|
|
748
|
+
width: 1040px;
|
|
749
|
+
transform: scale(0.2);
|
|
750
|
+
transform-origin: top left;
|
|
751
|
+
}
|
|
752
|
+
[dir="rtl"] .vui-inserter-scale { transform-origin: top right; }
|
|
753
|
+
.vui-inserter-text {
|
|
754
|
+
display: flex;
|
|
755
|
+
flex-direction: column;
|
|
756
|
+
align-items: flex-start;
|
|
757
|
+
justify-content: flex-end;
|
|
758
|
+
gap: 0.25rem;
|
|
759
|
+
padding: 0.9rem;
|
|
760
|
+
}
|
|
761
|
+
.vui-inserter-text p { margin: 0; }
|
|
762
|
+
|
|
763
|
+
/* "/" menu */
|
|
764
|
+
.vui-slash { width: min(20rem, calc(100vw - 1rem)); overflow: hidden; }
|
|
765
|
+
.vui-slash-icon {
|
|
766
|
+
display: inline-flex;
|
|
767
|
+
width: 1.75rem;
|
|
768
|
+
height: 1.75rem;
|
|
769
|
+
align-items: center;
|
|
770
|
+
justify-content: center;
|
|
771
|
+
border: 1px solid var(--line);
|
|
772
|
+
border-radius: var(--radius-ui-sm);
|
|
773
|
+
background: var(--surface-2);
|
|
774
|
+
color: var(--fg);
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
/* Bubble menu + fixed toolbar */
|
|
778
|
+
.vui-bubble-host { z-index: var(--z-popover); }
|
|
779
|
+
.vui-bubble { border-radius: var(--radius-ui); }
|
|
780
|
+
.vui-tb-btn {
|
|
781
|
+
display: inline-flex;
|
|
782
|
+
height: 1.75rem;
|
|
783
|
+
min-width: 1.75rem;
|
|
784
|
+
align-items: center;
|
|
785
|
+
justify-content: center;
|
|
786
|
+
gap: 0.35rem;
|
|
787
|
+
border-radius: var(--radius-ui-sm);
|
|
788
|
+
color: var(--fg-muted);
|
|
789
|
+
font-size: 12.5px;
|
|
790
|
+
font-weight: 500;
|
|
791
|
+
transition: background-color 120ms, color 120ms;
|
|
792
|
+
}
|
|
793
|
+
.vui-tb-btn:hover:not(:disabled) { background: var(--hover); color: var(--fg); }
|
|
794
|
+
.vui-tb-btn[aria-pressed="true"] { background: var(--selected); color: var(--accent-ink); }
|
|
795
|
+
.vui-tb-btn:disabled { opacity: 0.4; }
|
|
796
|
+
.vui-tb-btn svg { width: 15px; height: 15px; flex-shrink: 0; }
|
|
797
|
+
.vui-tb-wide { padding-inline: 0.5rem; }
|
|
798
|
+
.vui-tb-sep { width: 1px; height: 1.1rem; margin-inline: 0.2rem; background: var(--line); }
|
|
799
|
+
.vui-toolbar {
|
|
800
|
+
position: sticky;
|
|
801
|
+
top: 0;
|
|
802
|
+
z-index: 1;
|
|
803
|
+
display: flex;
|
|
804
|
+
flex-wrap: wrap;
|
|
805
|
+
align-items: center;
|
|
806
|
+
gap: 0.125rem;
|
|
807
|
+
padding: 0.25rem;
|
|
808
|
+
border-bottom: 1px solid var(--line);
|
|
809
|
+
background: inherit;
|
|
810
|
+
border-start-start-radius: inherit;
|
|
811
|
+
border-start-end-radius: inherit;
|
|
812
|
+
}
|
|
813
|
+
.vui-toolbar .vui-link-form { flex: 1; }
|
|
814
|
+
|
|
815
|
+
/* Link editor */
|
|
816
|
+
.vui-link-form { width: min(22rem, calc(100vw - 1.5rem)); padding-top: 0.25rem; }
|
|
817
|
+
.vui-toolbar .vui-link-form { width: auto; }
|
|
818
|
+
.vui-link-input {
|
|
819
|
+
flex: 1;
|
|
820
|
+
min-width: 0;
|
|
821
|
+
height: 2rem;
|
|
822
|
+
border: 0;
|
|
823
|
+
background: transparent;
|
|
824
|
+
color: var(--fg);
|
|
825
|
+
font-size: 13px;
|
|
826
|
+
outline: none;
|
|
827
|
+
}
|
|
828
|
+
.vui-link-input[aria-invalid] { color: var(--danger); }
|
|
829
|
+
.vui-link-results {
|
|
830
|
+
margin: 0.25rem 0.25rem 0;
|
|
831
|
+
padding: 0.25rem 0 0;
|
|
832
|
+
border-top: 1px solid var(--line);
|
|
833
|
+
list-style: none;
|
|
834
|
+
}
|
|
835
|
+
.vui-link-results li {
|
|
836
|
+
display: flex;
|
|
837
|
+
align-items: center;
|
|
838
|
+
gap: 0.5rem;
|
|
839
|
+
padding: 0.4rem 0.5rem;
|
|
840
|
+
border-radius: var(--radius-ui-sm);
|
|
841
|
+
font-size: 13px;
|
|
842
|
+
cursor: pointer;
|
|
843
|
+
}
|
|
844
|
+
.vui-link-results li:hover,
|
|
845
|
+
.vui-link-results li[data-active] { background: var(--selected); }
|
|
846
|
+
|
|
847
|
+
/* Rich-text field: the same box as Textarea. */
|
|
848
|
+
.vui-editor[data-variant="rich-text"] {
|
|
849
|
+
border: 1px solid var(--field-border);
|
|
850
|
+
border-radius: var(--radius-ui);
|
|
851
|
+
background: var(--field);
|
|
852
|
+
transition: border-color 150ms, box-shadow 150ms;
|
|
853
|
+
}
|
|
854
|
+
.vui-editor[data-variant="rich-text"]:hover { border-color: var(--field-border-hover); }
|
|
855
|
+
.vui-editor[data-variant="rich-text"]:focus-within { border-color: var(--ring); box-shadow: 0 0 0 3px var(--accent-soft); }
|
|
856
|
+
.vui-editor[data-variant="rich-text"][data-invalid] { border-color: var(--danger); }
|
|
857
|
+
.vui-editor[data-variant="rich-text"][data-invalid]:focus-within { box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 18%, transparent); }
|
|
858
|
+
.vui-editor[data-variant="rich-text"][data-readonly] { background: transparent; border-style: dashed; }
|
|
859
|
+
.vui-editor[data-variant="rich-text"] .vui-editor-prose {
|
|
860
|
+
min-height: var(--editor-min-h, 7rem);
|
|
861
|
+
max-height: var(--editor-max-h, none);
|
|
862
|
+
overflow-y: auto;
|
|
863
|
+
padding: 0.6rem 0.8rem;
|
|
864
|
+
max-width: none;
|
|
865
|
+
}
|
|
866
|
+
.vui-editor[data-variant="rich-text"][data-size="sm"] .vui-editor-prose { min-height: var(--editor-min-h, 4.5rem); padding: 0.45rem 0.7rem; }
|
|
867
|
+
.vui-editor[data-variant="rich-text"] .vui-editor-prose h2 { font-size: 1.3em; }
|
|
868
|
+
|
|
869
|
+
/* Inspector + SchemaForm */
|
|
870
|
+
.vui-eyebrow {
|
|
871
|
+
margin: 0;
|
|
872
|
+
font-family: var(--font-mono), ui-monospace, monospace;
|
|
873
|
+
font-size: 10.5px;
|
|
874
|
+
font-weight: 500;
|
|
875
|
+
letter-spacing: 0.08em;
|
|
876
|
+
text-transform: uppercase;
|
|
877
|
+
color: var(--fg-subtle);
|
|
878
|
+
}
|
|
879
|
+
.vui-inspector { display: flex; flex-direction: column; gap: 1.1rem; min-width: 0; }
|
|
880
|
+
.vui-inspector-empty { align-items: center; gap: 0.35rem; padding: 2rem 1rem; text-align: center; }
|
|
881
|
+
.vui-inspector-empty p { margin: 0; }
|
|
882
|
+
.vui-inspector-head { display: flex; align-items: flex-start; gap: 0.65rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--line); }
|
|
883
|
+
.vui-inspector-head p, .vui-inspector-head h3 { margin: 0; }
|
|
884
|
+
.vui-inspector-icon {
|
|
885
|
+
display: inline-flex;
|
|
886
|
+
width: 2rem;
|
|
887
|
+
height: 2rem;
|
|
888
|
+
flex-shrink: 0;
|
|
889
|
+
align-items: center;
|
|
890
|
+
justify-content: center;
|
|
891
|
+
border: 1px solid var(--line);
|
|
892
|
+
border-radius: var(--radius-ui-sm);
|
|
893
|
+
background: var(--surface-2);
|
|
894
|
+
color: var(--fg);
|
|
895
|
+
}
|
|
896
|
+
.vui-inspector-json {
|
|
897
|
+
max-height: 16rem;
|
|
898
|
+
overflow: auto;
|
|
899
|
+
padding: 0.75rem;
|
|
900
|
+
border-radius: var(--radius-ui-sm);
|
|
901
|
+
background: var(--surface-2);
|
|
902
|
+
font-family: var(--font-code), ui-monospace, monospace;
|
|
903
|
+
font-size: 11.5px;
|
|
904
|
+
}
|
|
905
|
+
.vui-sf { display: flex; flex-direction: column; gap: 1.5rem; min-width: 0; }
|
|
906
|
+
.vui-sf-section { display: flex; flex-direction: column; gap: 0.85rem; }
|
|
907
|
+
.vui-sf-legend { margin: 0; padding: 0; font-size: 12.5px; font-weight: 600; color: var(--fg); }
|
|
908
|
+
.vui-sf-group { display: flex; flex-direction: column; gap: 0.75rem; min-width: 0; margin: 0; padding: 0; border: 0; }
|
|
909
|
+
.vui-sf-group.is-nested { padding-inline-start: 0.75rem; border-inline-start: 1px solid var(--line); }
|
|
910
|
+
.vui-sf-list { display: flex; flex-direction: column; gap: 0.5rem; }
|
|
911
|
+
.vui-sf-list ol { margin: 0; padding: 0; list-style: none; }
|
|
912
|
+
.vui-sf-item { border: 1px solid var(--line); border-radius: var(--radius-ui-sm); background: var(--surface-2); padding: 0.2rem; }
|
|
913
|
+
.vui-sf-item[data-invalid] { border-color: color-mix(in srgb, var(--danger) 55%, transparent); }
|
|
914
|
+
.vui-sf-item-head {
|
|
915
|
+
display: flex;
|
|
916
|
+
min-width: 0;
|
|
917
|
+
flex: 1;
|
|
918
|
+
align-items: center;
|
|
919
|
+
gap: 0.35rem;
|
|
920
|
+
height: 1.75rem;
|
|
921
|
+
padding-inline: 0.35rem;
|
|
922
|
+
border-radius: var(--radius-ui-sm);
|
|
923
|
+
font-size: 12.5px;
|
|
924
|
+
color: var(--fg);
|
|
925
|
+
text-align: start;
|
|
926
|
+
}
|
|
927
|
+
.vui-sf-item-head:hover { background: var(--hover); }
|
|
928
|
+
.vui-sf-item[data-open] .vui-sf-item-head svg:first-child { transform: rotate(90deg); }
|
|
929
|
+
.vui-sf-item-body { padding: 0.6rem 0.5rem 0.6rem; }
|
|
930
|
+
.vui-sf-item-body > .vui-sf-group.is-nested { padding-inline-start: 0; border-inline-start: 0; }
|
|
931
|
+
.vui-sf-item-body > .vui-sf-group > .vui-sf-legend { display: none; }
|
|
932
|
+
|
|
933
|
+
/* Outline */
|
|
934
|
+
.vui-outline { display: flex; flex-direction: column; gap: 0.6rem; min-width: 0; }
|
|
935
|
+
.vui-outline-stats {
|
|
936
|
+
display: flex;
|
|
937
|
+
gap: 0.4rem;
|
|
938
|
+
margin: 0;
|
|
939
|
+
font-family: var(--font-mono), ui-monospace, monospace;
|
|
940
|
+
font-size: 11px;
|
|
941
|
+
color: var(--fg-muted);
|
|
942
|
+
font-variant-numeric: tabular-nums;
|
|
943
|
+
}
|
|
944
|
+
.vui-outline-list { display: flex; flex-direction: column; gap: 1px; margin: 0; padding: 0; list-style: none; }
|
|
945
|
+
.vui-outline-item {
|
|
946
|
+
display: flex;
|
|
947
|
+
width: 100%;
|
|
948
|
+
align-items: baseline;
|
|
949
|
+
gap: 0.5rem;
|
|
950
|
+
padding: 0.3rem 0.4rem;
|
|
951
|
+
border-radius: var(--radius-ui-sm);
|
|
952
|
+
font-size: 13px;
|
|
953
|
+
color: var(--fg);
|
|
954
|
+
text-align: start;
|
|
955
|
+
}
|
|
956
|
+
.vui-outline-item:hover { background: var(--hover); }
|
|
957
|
+
.vui-outline-item[data-level="3"],
|
|
958
|
+
.vui-outline-item[data-level="4"] { color: var(--fg-muted); }
|
|
959
|
+
.vui-outline-level { flex-shrink: 0; font-family: var(--font-mono), ui-monospace, monospace; font-size: 10px; color: var(--fg-subtle); }
|
|
960
|
+
.vui-outline-warn { display: flex; align-items: center; gap: 0.35rem; margin: 0.1rem 0 0.2rem 0.4rem; font-size: 11.5px; color: var(--warning); }
|
|
961
|
+
|
|
962
|
+
@media (prefers-reduced-motion: reduce) {
|
|
963
|
+
.vui-cblock,
|
|
964
|
+
.vui-cblock-tag,
|
|
965
|
+
.vui-drag-handle,
|
|
966
|
+
.vui-image-caption,
|
|
967
|
+
.vui-tb-btn,
|
|
968
|
+
.vui-inserter-trigger { transition: none; }
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
/* Page blocks sit inside the editor's prose root (text blocks need .prose-ui), so undo the
|
|
972
|
+
prose rules for their subtree, except inside a block's own nested .prose-ui (RichText).
|
|
973
|
+
Same layer as .prose-ui and loaded after it: equal specificity wins, utilities still win. */
|
|
974
|
+
@layer components {
|
|
975
|
+
.vui-cblock-render {
|
|
976
|
+
font-size: var(--text-body, 1rem);
|
|
977
|
+
line-height: 1.5;
|
|
978
|
+
hyphens: manual;
|
|
979
|
+
max-width: none;
|
|
980
|
+
}
|
|
981
|
+
.vui-cblock-render :where(ul, ol):where(:not(.vui-cblock-render .prose-ui *)) { list-style: none; padding-inline-start: 0; }
|
|
982
|
+
.vui-cblock-render li:where(:not(.vui-cblock-render .prose-ui *))::before { content: none; }
|
|
983
|
+
.vui-cblock-render :where(li) + li:where(:not(.vui-cblock-render .prose-ui *)) { margin-block-start: 0; }
|
|
984
|
+
.vui-cblock-render :where(h1, h2, h3, h4, h5, h6):where(:not(.vui-cblock-render .prose-ui *)) {
|
|
985
|
+
color: inherit;
|
|
986
|
+
font-family: inherit;
|
|
987
|
+
font-weight: inherit;
|
|
988
|
+
letter-spacing: inherit;
|
|
989
|
+
line-height: inherit;
|
|
990
|
+
}
|
|
991
|
+
.vui-cblock-render :is(h1, h2, h3, h4, h5, h6):where(:not(.vui-cblock-render .prose-ui *)) { font-size: inherit; }
|
|
992
|
+
.vui-cblock-render :where(a):where(:not(.vui-cblock-render .prose-ui *)) { color: inherit; text-decoration: inherit; }
|
|
993
|
+
.vui-cblock-render :where(strong, b):where(:not(.vui-cblock-render .prose-ui *)) { color: inherit; font-weight: bolder; }
|
|
994
|
+
.vui-cblock-render :where(blockquote):where(:not(.vui-cblock-render .prose-ui *)) {
|
|
995
|
+
border: 0;
|
|
996
|
+
padding: 0;
|
|
997
|
+
color: inherit;
|
|
998
|
+
font-family: inherit;
|
|
999
|
+
font-size: inherit;
|
|
1000
|
+
line-height: inherit;
|
|
1001
|
+
}
|
|
1002
|
+
.vui-cblock-render :where(code, pre):where(:not(.vui-cblock-render .prose-ui *)) {
|
|
1003
|
+
background: none;
|
|
1004
|
+
border: 0;
|
|
1005
|
+
padding: 0;
|
|
1006
|
+
font-size: inherit;
|
|
1007
|
+
}
|
|
1008
|
+
.vui-cblock-render :where(img, video):where(:not(.vui-cblock-render .prose-ui *)) { border-radius: 0; }
|
|
1009
|
+
.vui-cblock-render :where(th, td):where(:not(.vui-cblock-render .prose-ui *)) { padding: 0; border: 0; color: inherit; font-weight: inherit; }
|
|
1010
|
+
}
|
|
1011
|
+
/* Quote attribution (edited in the stored doc; shown like the site's footer). */
|
|
1012
|
+
.vui-editor-prose blockquote[data-cite]::after {
|
|
1013
|
+
content: "— " attr(data-cite);
|
|
1014
|
+
display: block;
|
|
1015
|
+
margin-block-start: 0.6em;
|
|
1016
|
+
font-family: var(--font-ui), ui-sans-serif, system-ui, sans-serif;
|
|
1017
|
+
font-size: 0.8rem;
|
|
1018
|
+
font-style: normal;
|
|
1019
|
+
color: var(--fg-subtle);
|
|
1020
|
+
}
|
|
1021
|
+
.vui-editor:not([data-variant="rich-text"]) .vui-inserter-row { background: var(--scene); max-width: none; }
|
|
1022
|
+
.vui-editor:not([data-variant="rich-text"]) .vui-inserter-row > * { max-width: 720px; margin-inline: auto; }
|