@riducms/admin 0.2.3 → 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/THIRD_PARTY_NOTICES.md +60 -37
- package/package.json +27 -15
- package/src/app/admin-core-view-route.svelte +38 -53
- package/src/app/admin-extension-route.svelte +19 -0
- package/src/app/admin-layout.scss +175 -0
- package/src/app/admin-layout.svelte +144 -410
- package/src/app/admin-navigation-progress.svelte +11 -77
- package/src/app/admin-page-title.svelte +17 -85
- package/src/app/admin-page-title.ts +136 -0
- package/src/app/admin-route-error.svelte +24 -0
- package/src/app/admin-router-provider.svelte +34 -0
- package/src/app/admin-router-root.svelte +41 -0
- package/src/app/admin-routes.svelte +56 -19
- package/src/app/loading-boundary.svelte +3 -1
- package/src/app-meta.ts +13 -0
- package/src/app.css +138 -496
- package/src/app.svelte +60 -26
- package/src/components/brand/ridu-logo.svelte +19 -5
- package/src/components/data/list-table.scss +63 -0
- package/src/components/icons/LICENSE.md +24 -0
- package/src/components/icons/chevron.svelte +8 -0
- package/src/components/icons/plus.svelte +12 -0
- package/src/components/icons/search.svelte +12 -0
- package/src/components/icons/x.svelte +8 -0
- package/src/components/json-tree/json-tree-node.svelte +61 -67
- package/src/components/json-tree/json-viewer.scss +153 -0
- package/src/components/json-tree/json-viewer.svelte +57 -96
- package/src/components/ui/banner/banner.scss +28 -0
- package/src/components/ui/banner/banner.svelte +9 -8
- package/src/components/ui/banner/index.ts +1 -5
- package/src/components/ui/code-editor/code-editor.scss +20 -0
- package/src/components/ui/code-editor/code-editor.svelte +71 -0
- package/src/components/ui/code-editor/code-editor.ts +151 -0
- package/src/components/ui/code-editor/code-languages.ts +29 -0
- package/src/components/ui/collapsible-panel/collapsible-panel.scss +38 -0
- package/src/components/ui/collapsible-panel/collapsible-panel.svelte +13 -0
- package/src/components/ui/collapsible-panel/index.ts +1 -0
- package/src/components/ui/combobox/combobox.scss +163 -0
- package/src/components/ui/combobox/index.ts +22 -0
- package/src/components/ui/date-value-control/date-value-calendar.svelte +128 -16
- package/src/components/ui/date-value-control/date-value-control-loader.scss +26 -0
- package/src/components/ui/date-value-control/date-value-control-loader.svelte +35 -13
- package/src/components/ui/date-value-control/date-value-control.scss +223 -0
- package/src/components/ui/date-value-control/date-value-control.svelte +62 -44
- package/src/components/ui/drawer/drawer-depth.ts +8 -0
- package/src/components/ui/dropdown-menu/dropdown-menu-content.svelte +2 -5
- package/src/components/ui/dropdown-menu/dropdown-menu-item.svelte +2 -5
- package/src/components/ui/dropdown-menu/dropdown-menu-separator.svelte +2 -2
- package/src/components/ui/dropdown-menu/dropdown-menu.scss +62 -0
- package/src/components/ui/kbd/kbd.scss +17 -0
- package/src/components/ui/kbd/kbd.svelte +3 -10
- package/src/components/ui/navigation-drawer/navigation-drawer.scss +40 -0
- package/src/components/ui/navigation-drawer/navigation-drawer.svelte +38 -0
- package/src/components/ui/popover/popover-content.svelte +3 -5
- package/src/components/ui/popover/popover.scss +18 -0
- package/src/components/ui/radio-group/index.ts +0 -1
- package/src/components/ui/radio-group/radio-card-item.svelte +7 -12
- package/src/components/ui/radio-group/radio-group.svelte +2 -2
- package/src/components/ui/radio-group/radio.scss +45 -0
- package/src/components/ui/select/select-content.svelte +5 -6
- package/src/components/ui/select/select-item.svelte +8 -8
- package/src/components/ui/select/select-scroll-down-button.svelte +3 -5
- package/src/components/ui/select/select-scroll-up-button.svelte +3 -5
- package/src/components/ui/select/select-trigger.svelte +6 -7
- package/src/components/ui/select/select.scss +126 -0
- package/src/components/ui/sheet/sheet-content.svelte +6 -34
- package/src/components/ui/sheet/sheet-description.svelte +2 -2
- package/src/components/ui/sheet/sheet-overlay.svelte +2 -21
- package/src/components/ui/sheet/sheet-title.svelte +2 -2
- package/src/components/ui/sheet/sheet.scss +221 -0
- package/src/components/ui/skeleton/skeleton.scss +20 -0
- package/src/components/ui/skeleton/skeleton.svelte +4 -16
- package/src/components/ui/sonner/sonner.scss +121 -0
- package/src/components/ui/sonner/sonner.svelte +11 -10
- package/src/components/ui/status-indicator/status-indicator.scss +48 -0
- package/src/components/ui/status-indicator/status-indicator.svelte +14 -14
- package/src/components/ui/tabs/tabs-content.svelte +2 -2
- package/src/components/ui/tabs/tabs-list.svelte +7 -7
- package/src/components/ui/tabs/tabs-trigger.svelte +2 -8
- package/src/components/ui/tabs/tabs.scss +86 -0
- package/src/components/ui/tabs/tabs.svelte +2 -2
- package/src/components/ui/timezone-picker/timezone-picker.svelte +152 -0
- package/src/core/api/admin-client.ts +2 -2
- package/src/core/bootstrap/admin-bootstrap.ts +396 -0
- package/src/core/bootstrap/admin-prepared-state.ts +213 -0
- package/src/core/bootstrap/admin-route-modules.ts +66 -0
- package/src/core/clipboard/copy-feedback.svelte.ts +43 -0
- package/src/core/forms/embedded-fields.ts +4 -8
- package/src/core/forms/field-editor-authoring.ts +8 -0
- package/src/core/forms/field-issue-focus.ts +4 -4
- package/src/core/forms/field-occurrence.ts +4 -7
- package/src/core/forms/form-controller.svelte.ts +14 -21
- package/src/core/forms/form-draft-recovery.ts +17 -4
- package/src/core/forms/form-issue-correlation.ts +13 -13
- package/src/core/forms/form-path.ts +17 -0
- package/src/core/forms/form-schema.ts +12 -43
- package/src/core/forms/form-validation.ts +7 -46
- package/src/core/forms/plugin-field-authoring.ts +6 -2
- package/src/core/forms/plugin-field-write.ts +2 -6
- package/src/core/i18n/admin-i18n.svelte.ts +18 -0
- package/src/core/i18n/format-admin-date-time.ts +19 -0
- package/src/core/i18n/humanize-identifier.ts +5 -0
- package/src/core/i18n/time-zone-label.ts +20 -0
- package/src/core/loaders/admin-view-host.svelte +72 -0
- package/src/core/loaders/admin-view-loader.svelte.ts +90 -0
- package/src/core/notifications/validation-toast.svelte +2 -2
- package/src/core/plugins/field-registry.ts +7 -8
- package/src/core/routing/admin-paths.ts +53 -2
- package/src/core/routing/admin-scroll.svelte.ts +74 -0
- package/src/core/routing/admin-view-selection.ts +78 -0
- package/src/core/runtime/admin-runtime.svelte.ts +121 -124
- package/src/core/schema/field-default.ts +33 -0
- package/src/core/schema/field-localization.ts +15 -0
- package/src/core/schema/read-document-path.ts +11 -0
- package/src/features/account/account-menu.scss +37 -0
- package/src/features/account/account-menu.svelte +115 -0
- package/src/features/{auth → account}/account-navigation.svelte +16 -19
- package/src/features/{auth → account}/account-route.svelte +206 -49
- package/src/features/account/account-security-controller.svelte.ts +157 -0
- package/src/features/{auth → account}/account-security-route.svelte +140 -42
- package/src/features/api-reference/api-reference-code.svelte +64 -0
- package/src/features/api-reference/api-reference-content.svelte +258 -0
- package/src/features/api-reference/api-reference-drawer.scss +74 -0
- package/src/features/api-reference/api-reference-examples.ts +381 -0
- package/src/features/api-reference/api-reference-schema.ts +332 -0
- package/src/features/api-reference/api-reference.scss +190 -0
- package/src/features/api-reference/api-reference.svelte +74 -0
- package/src/features/auth/auth-brand.svelte +5 -3
- package/src/features/auth/auth-field.svelte +92 -0
- package/src/features/auth/auth-frame.svelte +5 -8
- package/src/features/auth/auth.scss +122 -0
- package/src/features/auth/create-first-user-controller.svelte.ts +20 -51
- package/src/features/auth/create-first-user-route.svelte +83 -122
- package/src/features/auth/forgot-password-route.svelte +31 -23
- package/src/features/auth/login-route.svelte +68 -116
- package/src/features/auth/logout-button.scss +34 -0
- package/src/features/auth/logout-button.svelte +52 -0
- package/src/features/auth/request-verification-route.svelte +27 -22
- package/src/features/auth/reset-password-route.svelte +108 -41
- package/src/features/auth/verify-email-route.svelte +49 -15
- package/src/features/bulk-edit/bulk-edit-fields.ts +23 -0
- package/src/features/bulk-edit/bulk-edit.scss +152 -0
- package/src/features/bulk-edit/field-picker.svelte +176 -0
- package/src/features/collections/bulk/bulk-actions.svelte +148 -0
- package/src/features/collections/bulk/bulk-confirmation.svelte +153 -0
- package/src/features/collections/bulk/bulk-editor-loader.svelte +95 -0
- package/src/features/collections/bulk/bulk-editor.svelte +186 -0
- package/src/features/collections/collection-list-cell-values.ts +144 -0
- package/src/features/collections/collection-list-controller.svelte.ts +268 -379
- package/src/features/collections/collection-list-preferences-controller.svelte.ts +54 -40
- package/src/features/collections/collection-list-query.ts +223 -0
- package/src/features/collections/collection-list-results.svelte +205 -329
- package/src/features/collections/collection-list-route.svelte +143 -884
- package/src/features/collections/collection-list.scss +261 -0
- package/src/features/collections/collection-list.svelte.ts +362 -0
- package/src/features/collections/controls/column-picker.svelte +110 -0
- package/src/features/collections/controls/column-pill.svelte +62 -0
- package/src/features/collections/controls/filter-builder.svelte +193 -0
- package/src/features/collections/controls/filter-row.svelte +142 -0
- package/src/features/collections/controls/list-controls.scss +196 -0
- package/src/features/collections/controls/list-options.svelte +203 -0
- package/src/features/collections/controls/list-pagination.scss +78 -0
- package/src/features/collections/controls/list-pagination.svelte +115 -0
- package/src/features/collections/controls/list-toolbar.svelte +132 -0
- package/src/features/collections/controls/sort-heading.scss +52 -0
- package/src/features/collections/controls/sort-heading.svelte +78 -0
- package/src/features/collections/list-columns.ts +43 -0
- package/src/features/collections/list-workspace.ts +155 -54
- package/src/features/dashboard/dashboard-route.svelte +82 -86
- package/src/features/dashboard/dashboard.scss +131 -0
- package/src/features/development/development-tools.svelte +20 -36
- package/src/features/documents/document-action-bar.svelte +438 -0
- package/src/features/documents/document-api-view-loader.svelte +17 -6
- package/src/features/documents/document-api-view.scss +120 -0
- package/src/features/documents/document-api-view.svelte +169 -454
- package/src/features/documents/document-controller.svelte.ts +526 -613
- package/src/features/documents/document-credentials.scss +37 -0
- package/src/features/documents/document-credentials.svelte +72 -0
- package/src/features/documents/{document-route-dirty.ts → document-credentials.ts} +25 -0
- package/src/features/documents/document-field-sections.scss +39 -0
- package/src/features/documents/document-field-sections.svelte +4 -13
- package/src/features/documents/document-loading.scss +24 -0
- package/src/features/documents/document-lock-controller.svelte.ts +187 -0
- package/src/features/documents/document-operation-dialogs.svelte +110 -0
- package/src/features/documents/document-route-loader.svelte +17 -5
- package/src/features/documents/document-route.svelte +305 -811
- package/src/features/documents/document-schedule.scss +127 -0
- package/src/features/documents/document-schedule.svelte +323 -0
- package/src/features/documents/document-title.ts +25 -0
- package/src/features/documents/document.scss +274 -0
- package/src/features/documents/live-preview-panel.scss +117 -0
- package/src/features/documents/live-preview-panel.svelte +167 -168
- package/src/features/documents/live-preview.ts +2 -10
- package/src/features/documents/upload-document-preview-loader.svelte +26 -23
- package/src/features/localization/content-locale-switcher.scss +43 -0
- package/src/features/localization/content-locale-switcher.svelte +24 -17
- package/src/features/navigation/admin-breadcrumbs.scss +56 -0
- package/src/features/navigation/admin-breadcrumbs.svelte +102 -37
- package/src/features/navigation/admin-command-menu.svelte +38 -15
- package/src/features/navigation/admin-navigation.scss +133 -0
- package/src/features/navigation/admin-navigation.svelte +169 -0
- package/src/features/navigation/breadcrumb-context.svelte.ts +15 -0
- package/src/features/navigation/navigation-preference.svelte.ts +70 -0
- package/src/features/reference-browser/reference-browser-editor.svelte +180 -0
- package/src/features/reference-browser/reference-browser-list.scss +113 -0
- package/src/features/reference-browser/reference-browser-list.svelte +370 -0
- package/src/features/reference-browser/reference-browser-loader.svelte +26 -8
- package/src/features/reference-browser/reference-browser-workflow.svelte.ts +335 -236
- package/src/features/reference-browser/reference-browser.scss +217 -0
- package/src/features/reference-browser/reference-browser.svelte +154 -797
- package/src/features/reference-browser/reference-collection-picker.svelte +116 -0
- package/src/features/reference-browser/reference-list-query.ts +35 -0
- package/src/features/uploads/bulk-upload-controller.svelte.ts +604 -0
- package/src/features/uploads/bulk-upload-edit-all.svelte +92 -0
- package/src/features/uploads/bulk-upload-editor.svelte +191 -0
- package/src/features/uploads/bulk-upload-file-picker.svelte +70 -0
- package/src/features/uploads/bulk-upload-remote.svelte +100 -0
- package/src/features/uploads/bulk-upload-route-loader.svelte +54 -0
- package/src/features/uploads/bulk-upload-route.svelte +172 -592
- package/src/features/uploads/bulk-upload-sidebar.svelte +125 -0
- package/src/features/uploads/bulk-upload.scss +526 -0
- package/src/features/uploads/bulk-upload.ts +105 -14
- package/src/features/uploads/crop-surface.ts +150 -0
- package/src/features/uploads/image-editor.svelte +231 -0
- package/src/features/uploads/rendition-preview.svelte +64 -0
- package/src/features/uploads/upload-control.svelte +340 -0
- package/src/features/uploads/upload-document-contracts.ts +30 -0
- package/src/features/uploads/upload-draft.svelte.ts +294 -0
- package/src/features/uploads/upload-metadata-fields.scss +32 -0
- package/src/features/uploads/upload-metadata-fields.svelte +8 -7
- package/src/features/uploads/upload-thumbnail.svelte +47 -0
- package/src/features/uploads/upload.scss +361 -0
- package/src/features/versions/version-comparison.svelte +361 -0
- package/src/features/versions/version-diff-fields.svelte +136 -0
- package/src/features/versions/version-diff.ts +296 -41
- package/src/features/versions/version-history-controller.svelte.ts +311 -0
- package/src/features/versions/version-history-route-loader.svelte +32 -0
- package/src/features/versions/version-history-route.svelte +157 -522
- package/src/features/versions/version-history.scss +444 -0
- package/src/features/versions/version-history.ts +45 -0
- package/src/features/versions/version-table.svelte +91 -0
- package/src/fields/embedded-schema-draft-editor.scss +48 -0
- package/src/fields/embedded-schema-draft-editor.svelte +24 -16
- package/src/fields/field-collapsible.svelte +14 -8
- package/src/fields/field-layout.scss +171 -0
- package/src/fields/field-layout.svelte +3 -5
- package/src/fields/field-renderer.svelte +17 -29
- package/src/fields/field-shell.svelte +1 -1
- package/src/fields/field-tab-layout.svelte +25 -19
- package/src/fields/join/join-field-controller.svelte.ts +513 -0
- package/src/fields/join/join-field-values.ts +111 -0
- package/src/fields/join/join-field.scss +189 -0
- package/src/fields/join/join-field.svelte +164 -332
- package/src/fields/live-validation-feedback.svelte +4 -3
- package/src/fields/local-field-editor.svelte +2 -2
- package/src/fields/nested/block-name-input.svelte +11 -12
- package/src/fields/nested/block-picker.scss +128 -0
- package/src/fields/nested/block-picker.svelte +81 -0
- package/src/fields/nested/block-placeholder.svg +2 -0
- package/src/fields/nested/nested-field.scss +331 -0
- package/src/fields/nested/nested-field.svelte +265 -245
- package/src/fields/nested/sortable-row.svelte +9 -7
- package/src/fields/plugin-field.svelte +4 -6
- package/src/fields/point/point-field.svelte +51 -38
- package/src/fields/primitive-list/primitive-list-field.svelte +63 -19
- package/src/fields/primitive-list/primitive-list.scss +109 -0
- package/src/fields/radio/radio-field.svelte +2 -1
- package/src/fields/relationship/relationship-field-controller.svelte.ts +81 -41
- package/src/fields/relationship/relationship-field.svelte +144 -175
- package/src/fields/relationship/relationship-lookup-controller.svelte.ts +58 -30
- package/src/fields/relationship/relationship-query.ts +2 -10
- package/src/fields/relationship/relationship-quick-picker-controller.svelte.ts +36 -62
- package/src/fields/relationship/relationship-quick-picker.svelte +178 -227
- package/src/fields/relationship/relationship-selection.svelte +120 -0
- package/src/fields/relationship/relationship-value.ts +46 -7
- package/src/fields/relationship/relationship.scss +182 -0
- package/src/fields/scalar/code-field.svelte +101 -0
- package/src/fields/scalar/date-control-value.ts +13 -0
- package/src/fields/scalar/scalar-field.svelte +25 -67
- package/src/fields/select/select-field.svelte +132 -94
- package/src/fields/text/slug-field.scss +28 -0
- package/src/fields/text/slug-field.svelte +19 -15
- package/src/fields/text/text-field.svelte +1 -2
- package/src/fields/ui/ui-field.svelte +7 -4
- package/src/fields/virtual/virtual-field.svelte +2 -5
- package/src/index.ts +1 -2
- package/src/routing.ts +2 -0
- package/src/app/deferred-redirect.svelte +0 -23
- package/src/components/code-block/code-block.svelte +0 -107
- package/src/components/ui/bulk-action-bar/bulk-action-bar.svelte +0 -50
- package/src/components/ui/bulk-action-bar/index.ts +0 -1
- package/src/components/ui/button/index.ts +0 -8
- package/src/components/ui/calendar/calendar-caption.svelte +0 -72
- package/src/components/ui/calendar/calendar-cell.svelte +0 -20
- package/src/components/ui/calendar/calendar-day.svelte +0 -27
- package/src/components/ui/calendar/calendar-grid-row.svelte +0 -13
- package/src/components/ui/calendar/calendar-grid.svelte +0 -17
- package/src/components/ui/calendar/calendar-head-cell.svelte +0 -20
- package/src/components/ui/calendar/calendar-header.svelte +0 -20
- package/src/components/ui/calendar/calendar-heading.svelte +0 -17
- package/src/components/ui/calendar/calendar-month-select.svelte +0 -45
- package/src/components/ui/calendar/calendar-month.svelte +0 -16
- package/src/components/ui/calendar/calendar-months.svelte +0 -20
- package/src/components/ui/calendar/calendar-nav.svelte +0 -20
- package/src/components/ui/calendar/calendar-next-button.svelte +0 -30
- package/src/components/ui/calendar/calendar-prev-button.svelte +0 -30
- package/src/components/ui/calendar/calendar-year-select.svelte +0 -44
- package/src/components/ui/calendar/calendar.svelte +0 -118
- package/src/components/ui/calendar/index.ts +0 -1
- package/src/components/ui/checkbox/checkbox.svelte +0 -35
- package/src/components/ui/checkbox/index.ts +0 -1
- package/src/components/ui/dialog/dialog-close.svelte +0 -11
- package/src/components/ui/dialog/dialog-content.svelte +0 -52
- package/src/components/ui/dialog/dialog-description.svelte +0 -20
- package/src/components/ui/dialog/dialog-footer.svelte +0 -20
- package/src/components/ui/dialog/dialog-header.svelte +0 -20
- package/src/components/ui/dialog/dialog-overlay.svelte +0 -20
- package/src/components/ui/dialog/dialog-title.svelte +0 -17
- package/src/components/ui/dialog/dialog-trigger.svelte +0 -11
- package/src/components/ui/dialog/dialog.svelte +0 -7
- package/src/components/ui/dialog/index.ts +0 -8
- package/src/components/ui/empty-state/empty-state.svelte +0 -34
- package/src/components/ui/empty-state/index.ts +0 -1
- package/src/components/ui/input/index.ts +0 -1
- package/src/components/ui/pagination/index.ts +0 -1
- package/src/components/ui/pagination/pagination.svelte +0 -88
- package/src/components/ui/radio-group/radio-group-item.svelte +0 -17
- package/src/components/ui/slider/index.ts +0 -3
- package/src/components/ui/slider/slider-content.svelte +0 -59
- package/src/components/ui/slider/slider.svelte +0 -35
- package/src/components/ui/table/index.ts +0 -6
- package/src/components/ui/table/table-body.svelte +0 -20
- package/src/components/ui/table/table-cell.svelte +0 -23
- package/src/components/ui/table/table-head.svelte +0 -23
- package/src/components/ui/table/table-header.svelte +0 -20
- package/src/components/ui/table/table-row.svelte +0 -23
- package/src/components/ui/table/table.svelte +0 -22
- package/src/components/ui/textarea/index.ts +0 -1
- package/src/components/ui/tooltip/index.ts +0 -4
- package/src/components/ui/tooltip/tooltip-content.svelte +0 -50
- package/src/components/ui/tooltip/tooltip-provider.svelte +0 -7
- package/src/components/ui/tooltip/tooltip-trigger.svelte +0 -7
- package/src/components/ui/tooltip/tooltip.svelte +0 -7
- package/src/features/auth/account-menu.svelte +0 -159
- package/src/features/auth/account-security-controller.svelte.ts +0 -119
- package/src/features/collections/collection-list-bulk-actions.svelte +0 -143
- package/src/features/collections/collection-list-bulk-editor.svelte +0 -157
- package/src/features/collections/collection-list-filter-popover.svelte +0 -238
- package/src/features/collections/collection-list-workspace-toolbar.svelte +0 -409
- package/src/features/collections/collection-table-skeleton.svelte +0 -44
- package/src/features/documents/document-heading.ts +0 -20
- package/src/features/documents/upload-document-preview.svelte +0 -525
package/src/app-meta.ts
CHANGED
|
@@ -1,2 +1,15 @@
|
|
|
1
|
+
import type { SchemaManifest } from "@riducms/protocol";
|
|
2
|
+
import type { AdminI18n } from "@riducms/translations";
|
|
3
|
+
|
|
1
4
|
export const ADMIN_NAME = "Ridu";
|
|
2
5
|
export const ADMIN_TITLE = `${ADMIN_NAME} Admin`;
|
|
6
|
+
|
|
7
|
+
export function adminApplicationName(
|
|
8
|
+
manifest: SchemaManifest | undefined,
|
|
9
|
+
i18n: Pick<AdminI18n, "text">,
|
|
10
|
+
fallback: string
|
|
11
|
+
): string {
|
|
12
|
+
return manifest === undefined
|
|
13
|
+
? fallback
|
|
14
|
+
: i18n.text(manifest.application.name, manifest.application.nameTranslations);
|
|
15
|
+
}
|
package/src/app.css
CHANGED
|
@@ -1,526 +1,168 @@
|
|
|
1
|
-
|
|
2
|
-
color-scheme: dark;
|
|
3
|
-
--radius: 0.25rem;
|
|
4
|
-
--background: oklch(0.145 0 0);
|
|
5
|
-
--background-surface: oklch(0.18 0 0);
|
|
6
|
-
--background-layer: oklch(0.205 0 0);
|
|
7
|
-
--foreground: oklch(0.985 0 0);
|
|
8
|
-
--foreground-muted: oklch(0.708 0 0);
|
|
9
|
-
--foreground-sub: oklch(0.625 0 0);
|
|
10
|
-
--foreground-soft: oklch(0.556 0 0);
|
|
11
|
-
--card: oklch(0.205 0 0);
|
|
12
|
-
--card-foreground: oklch(0.985 0 0);
|
|
13
|
-
--popover: oklch(0.205 0 0);
|
|
14
|
-
--popover-foreground: oklch(0.985 0 0);
|
|
15
|
-
--primary: oklch(0.922 0 0);
|
|
16
|
-
--primary-foreground: oklch(0.205 0 0);
|
|
17
|
-
--secondary: oklch(0.269 0 0);
|
|
18
|
-
--secondary-foreground: oklch(0.985 0 0);
|
|
19
|
-
--muted: oklch(0.269 0 0);
|
|
20
|
-
--muted-foreground: oklch(0.708 0 0);
|
|
21
|
-
--accent: oklch(0.269 0 0);
|
|
22
|
-
--accent-foreground: oklch(0.985 0 0);
|
|
23
|
-
--destructive: oklch(0.704 0.191 22.216);
|
|
24
|
-
--destructive-foreground: oklch(0.985 0 0);
|
|
25
|
-
--destructive-hover: oklch(0.76 0.17 22.216);
|
|
26
|
-
--border: oklch(1 0 0 / 10%);
|
|
27
|
-
--input: oklch(1 0 0 / 15%);
|
|
28
|
-
--ring: oklch(0.708 0 0);
|
|
29
|
-
--control-surface: oklch(0.205 0 0);
|
|
30
|
-
--control-surface-hover: oklch(0.235 0 0);
|
|
31
|
-
--control-surface-disabled: oklch(0.18 0 0);
|
|
32
|
-
--control-border: oklch(1 0 0 / 15%);
|
|
33
|
-
--control-border-hover: oklch(1 0 0 / 24%);
|
|
34
|
-
--control-border-disabled: oklch(1 0 0 / 8%);
|
|
35
|
-
--stroke-soft: oklch(1 0 0 / 8%);
|
|
36
|
-
--brand-primary: oklch(0.922 0 0);
|
|
37
|
-
--brand-primary-foreground: oklch(0.205 0 0);
|
|
38
|
-
--brand-primary-soft: oklch(0.708 0 0);
|
|
39
|
-
--tabs-segment-surface: oklch(0.205 0 0);
|
|
40
|
-
--tabs-segment-active: oklch(0.269 0 0);
|
|
41
|
-
--tabs-segment-text-active: oklch(0.985 0 0);
|
|
42
|
-
--tabs-segment-text-inactive: oklch(0.708 0 0);
|
|
43
|
-
--sidebar: oklch(0.18 0 0);
|
|
44
|
-
--sidebar-foreground: oklch(0.708 0 0);
|
|
45
|
-
--sidebar-primary: oklch(0.922 0 0);
|
|
46
|
-
--sidebar-primary-foreground: oklch(0.205 0 0);
|
|
47
|
-
--sidebar-accent: oklch(0.269 0 0);
|
|
48
|
-
--sidebar-accent-foreground: oklch(0.985 0 0);
|
|
49
|
-
--sidebar-border: oklch(1 0 0 / 10%);
|
|
50
|
-
--sidebar-ring: oklch(0.708 0 0);
|
|
51
|
-
--warning: oklch(0.79 0.14 82);
|
|
52
|
-
--success: oklch(0.72 0.14 145);
|
|
53
|
-
--accent-hover: oklch(0.82 0 0);
|
|
54
|
-
--accent-soft: oklch(0.708 0 0);
|
|
55
|
-
--ink-strong: oklch(0.985 0 0);
|
|
56
|
-
--ink-body: oklch(0.922 0 0);
|
|
57
|
-
--ink-secondary: oklch(0.78 0 0);
|
|
58
|
-
--ink-muted: oklch(0.708 0 0);
|
|
59
|
-
--ink-faint: oklch(0.556 0 0);
|
|
60
|
-
--ink-placeholder: oklch(0.625 0 0);
|
|
61
|
-
--ink-label: oklch(0.82 0 0);
|
|
62
|
-
--ink-tag: oklch(0.625 0 0);
|
|
63
|
-
--surface-raised: oklch(0.18 0 0);
|
|
64
|
-
--surface-overlay: oklch(0.205 0 0);
|
|
65
|
-
--toast-surface: var(--background-layer);
|
|
66
|
-
--backdrop: oklch(0 0 0 / 68%);
|
|
67
|
-
--media-overlay: oklch(0 0 0 / 40%);
|
|
68
|
-
--media-foreground: oklch(1 0 0);
|
|
69
|
-
--preview-canvas: oklch(1 0 0);
|
|
70
|
-
--shadow-popover: 0 16px 48px oklch(0 0 0 / 50%);
|
|
71
|
-
--shadow-dialog: 0 24px 80px oklch(0 0 0 / 60%);
|
|
72
|
-
--syntax-property: oklch(0.72 0.1 30);
|
|
73
|
-
--syntax-number: oklch(0.76 0.07 85);
|
|
74
|
-
--syntax-string: oklch(0.76 0.09 135);
|
|
75
|
-
--syntax-operator: oklch(0.75 0.06 220);
|
|
76
|
-
--syntax-keyword: oklch(0.72 0.09 315);
|
|
77
|
-
--syntax-function: oklch(0.72 0.1 235);
|
|
78
|
-
--syntax-variable: oklch(0.72 0.11 70);
|
|
79
|
-
--font-sans: "Geist Variable", "Geist", ui-sans-serif, system-ui, sans-serif;
|
|
80
|
-
--font-serif: var(--font-sans);
|
|
81
|
-
--font-mono: "Spline Sans Mono Variable", "Spline Sans Mono", ui-monospace, monospace;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
:root[data-theme="light"] {
|
|
85
|
-
color-scheme: light;
|
|
86
|
-
--background: oklch(1 0 0);
|
|
87
|
-
--background-surface: oklch(0.985 0 0);
|
|
88
|
-
--background-layer: oklch(0.97 0 0);
|
|
89
|
-
--foreground: oklch(0.145 0 0);
|
|
90
|
-
--foreground-muted: oklch(0.556 0 0);
|
|
91
|
-
--foreground-sub: oklch(0.485 0 0);
|
|
92
|
-
--foreground-soft: oklch(0.625 0 0);
|
|
93
|
-
--card: oklch(1 0 0);
|
|
94
|
-
--card-foreground: oklch(0.145 0 0);
|
|
95
|
-
--popover: oklch(1 0 0);
|
|
96
|
-
--popover-foreground: oklch(0.145 0 0);
|
|
97
|
-
--primary: oklch(0.205 0 0);
|
|
98
|
-
--primary-foreground: oklch(0.985 0 0);
|
|
99
|
-
--secondary: oklch(0.97 0 0);
|
|
100
|
-
--secondary-foreground: oklch(0.205 0 0);
|
|
101
|
-
--muted: oklch(0.97 0 0);
|
|
102
|
-
--muted-foreground: oklch(0.556 0 0);
|
|
103
|
-
--accent: oklch(0.97 0 0);
|
|
104
|
-
--accent-foreground: oklch(0.205 0 0);
|
|
105
|
-
--destructive: oklch(0.577 0.245 27.325);
|
|
106
|
-
--destructive-foreground: oklch(0.985 0 0);
|
|
107
|
-
--destructive-hover: oklch(0.52 0.23 27.325);
|
|
108
|
-
--border: oklch(0.922 0 0);
|
|
109
|
-
--input: oklch(0.922 0 0);
|
|
110
|
-
--ring: oklch(0.556 0 0);
|
|
111
|
-
--control-surface: oklch(0.985 0 0);
|
|
112
|
-
--control-surface-hover: oklch(0.97 0 0);
|
|
113
|
-
--control-surface-disabled: oklch(0.97 0 0);
|
|
114
|
-
--control-border: oklch(0.86 0 0);
|
|
115
|
-
--control-border-hover: oklch(0.72 0 0);
|
|
116
|
-
--control-border-disabled: oklch(0.922 0 0);
|
|
117
|
-
--stroke-soft: oklch(0.922 0 0);
|
|
118
|
-
--brand-primary: oklch(0.205 0 0);
|
|
119
|
-
--brand-primary-foreground: oklch(0.985 0 0);
|
|
120
|
-
--brand-primary-soft: oklch(0.556 0 0);
|
|
121
|
-
--tabs-segment-surface: oklch(0.97 0 0);
|
|
122
|
-
--tabs-segment-active: oklch(0.922 0 0);
|
|
123
|
-
--tabs-segment-text-active: oklch(0.145 0 0);
|
|
124
|
-
--tabs-segment-text-inactive: oklch(0.556 0 0);
|
|
125
|
-
--sidebar: oklch(0.985 0 0);
|
|
126
|
-
--sidebar-foreground: oklch(0.556 0 0);
|
|
127
|
-
--sidebar-primary: oklch(0.205 0 0);
|
|
128
|
-
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
129
|
-
--sidebar-accent: oklch(0.97 0 0);
|
|
130
|
-
--sidebar-accent-foreground: oklch(0.205 0 0);
|
|
131
|
-
--sidebar-border: oklch(0.922 0 0);
|
|
132
|
-
--sidebar-ring: oklch(0.556 0 0);
|
|
133
|
-
--warning: oklch(0.58 0.14 78);
|
|
134
|
-
--success: oklch(0.52 0.14 145);
|
|
135
|
-
--accent-hover: oklch(0.269 0 0);
|
|
136
|
-
--accent-soft: oklch(0.556 0 0);
|
|
137
|
-
--ink-strong: oklch(0.145 0 0);
|
|
138
|
-
--ink-body: oklch(0.205 0 0);
|
|
139
|
-
--ink-secondary: oklch(0.371 0 0);
|
|
140
|
-
--ink-muted: oklch(0.556 0 0);
|
|
141
|
-
--ink-faint: oklch(0.625 0 0);
|
|
142
|
-
--ink-placeholder: oklch(0.556 0 0);
|
|
143
|
-
--ink-label: oklch(0.371 0 0);
|
|
144
|
-
--ink-tag: oklch(0.556 0 0);
|
|
145
|
-
--surface-raised: oklch(0.985 0 0);
|
|
146
|
-
--surface-overlay: oklch(1 0 0);
|
|
147
|
-
--toast-surface: var(--background-layer);
|
|
148
|
-
--backdrop: oklch(0 0 0 / 46%);
|
|
149
|
-
--media-overlay: oklch(0 0 0 / 40%);
|
|
150
|
-
--media-foreground: oklch(1 0 0);
|
|
151
|
-
--preview-canvas: oklch(1 0 0);
|
|
152
|
-
--shadow-popover: 0 16px 48px oklch(0 0 0 / 18%);
|
|
153
|
-
--shadow-dialog: 0 24px 80px oklch(0 0 0 / 24%);
|
|
154
|
-
--syntax-property: oklch(0.5 0.13 30);
|
|
155
|
-
--syntax-number: oklch(0.5 0.1 80);
|
|
156
|
-
--syntax-string: oklch(0.5 0.12 140);
|
|
157
|
-
--syntax-operator: oklch(0.5 0.09 220);
|
|
158
|
-
--syntax-keyword: oklch(0.5 0.12 315);
|
|
159
|
-
--syntax-function: oklch(0.5 0.13 235);
|
|
160
|
-
--syntax-variable: oklch(0.52 0.14 70);
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
* {
|
|
164
|
-
--at-apply: border-border;
|
|
165
|
-
box-sizing: border-box;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
html {
|
|
169
|
-
font-family: var(--font-sans);
|
|
170
|
-
font-synthesis: none;
|
|
171
|
-
text-rendering: optimizeLegibility;
|
|
172
|
-
scroll-behavior: smooth;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
body {
|
|
176
|
-
margin: 0;
|
|
177
|
-
min-width: 20rem;
|
|
178
|
-
background: var(--background);
|
|
179
|
-
color: var(--foreground);
|
|
180
|
-
font-size: 0.90625rem;
|
|
181
|
-
line-height: 1.5;
|
|
182
|
-
-webkit-font-smoothing: antialiased;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
button,
|
|
186
|
-
input,
|
|
187
|
-
select,
|
|
188
|
-
textarea {
|
|
189
|
-
font: inherit;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
button,
|
|
193
|
-
a,
|
|
194
|
-
input,
|
|
195
|
-
select,
|
|
196
|
-
textarea {
|
|
197
|
-
-webkit-tap-highlight-color: transparent;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
a {
|
|
201
|
-
color: inherit;
|
|
202
|
-
text-decoration: none;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
::selection {
|
|
206
|
-
background: color-mix(in oklab, var(--foreground) 18%, transparent);
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
::placeholder {
|
|
210
|
-
color: var(--ink-placeholder);
|
|
211
|
-
opacity: 1;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
::-webkit-scrollbar {
|
|
215
|
-
width: 10px;
|
|
216
|
-
height: 12px;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
::-webkit-scrollbar-thumb {
|
|
220
|
-
border: 3px solid var(--background);
|
|
221
|
-
border-radius: 5px;
|
|
222
|
-
background: color-mix(in oklab, var(--foreground) 12%, transparent);
|
|
223
|
-
background-clip: padding-box;
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
::-webkit-scrollbar-track {
|
|
227
|
-
background: transparent;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
:focus-visible {
|
|
231
|
-
outline: 2px solid color-mix(in oklab, var(--ring) 72%, transparent);
|
|
232
|
-
outline-offset: 2px;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
[data-slot="input"]:not([aria-invalid="true"]):focus-visible,
|
|
236
|
-
[data-slot="textarea"]:not([aria-invalid="true"]):focus-visible,
|
|
237
|
-
[data-slot="command-input"]:not([aria-invalid="true"]):focus-visible,
|
|
238
|
-
select:not([aria-invalid="true"]):focus-visible {
|
|
239
|
-
border-color: color-mix(in oklab, var(--ring) 78%, transparent);
|
|
240
|
-
box-shadow: none;
|
|
241
|
-
outline: none;
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
[data-slot="input"][aria-invalid="true"]:focus-visible,
|
|
245
|
-
[data-slot="textarea"][aria-invalid="true"]:focus-visible,
|
|
246
|
-
[data-slot="command-input"][aria-invalid="true"]:focus-visible,
|
|
247
|
-
select[aria-invalid="true"]:focus-visible {
|
|
248
|
-
box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--destructive) 65%, transparent);
|
|
249
|
-
outline: none;
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
.font-serif {
|
|
253
|
-
font-family: var(--font-serif);
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
.font-mono {
|
|
257
|
-
font-family: var(--font-mono);
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
.ridu-popover-enter[data-state="open"],
|
|
261
|
-
.ridu-popover-enter:not([data-state]) {
|
|
262
|
-
animation: ridu-pop-in 0.16s ease both;
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
.ridu-dialog-enter[data-state="open"] {
|
|
266
|
-
animation: ridu-dialog-in 0.16s ease both;
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
.ridu-dialog-enter.ridu-command-dialog[data-state="open"] {
|
|
270
|
-
animation-name: ridu-command-dialog-in;
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
.ridu-surface-grid {
|
|
274
|
-
background-image:
|
|
275
|
-
linear-gradient(color-mix(in oklab, var(--foreground) 2%, transparent) 1px, transparent 1px),
|
|
276
|
-
linear-gradient(
|
|
277
|
-
90deg,
|
|
278
|
-
color-mix(in oklab, var(--foreground) 2%, transparent) 1px,
|
|
279
|
-
transparent 1px
|
|
280
|
-
);
|
|
281
|
-
background-size: 32px 32px;
|
|
282
|
-
background-position: -1px -1px;
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
.ridu-field-label {
|
|
286
|
-
color: var(--ink-label);
|
|
287
|
-
font-size: 0.8125rem;
|
|
288
|
-
font-weight: 550;
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
.ridu-field-required {
|
|
292
|
-
margin-inline-start: 0.2rem;
|
|
293
|
-
color: var(--destructive);
|
|
294
|
-
font-weight: 650;
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
.ridu-field-status {
|
|
298
|
-
border: 1px solid var(--border);
|
|
299
|
-
border-radius: 999px;
|
|
300
|
-
padding: 0.08rem 0.42rem;
|
|
301
|
-
font-family: var(--font-mono);
|
|
302
|
-
font-size: 0.625rem;
|
|
303
|
-
font-weight: 400;
|
|
304
|
-
color: var(--ink-muted);
|
|
305
|
-
}
|
|
1
|
+
@import "@riducms/ui/layers.css";
|
|
306
2
|
|
|
307
|
-
.
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
.ridu-field-error {
|
|
314
|
-
color: var(--destructive);
|
|
315
|
-
font-size: 0.8125rem;
|
|
316
|
-
line-height: 1.5;
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
/*
|
|
320
|
-
* Validation feedback is a status surface, not an interactive tooltip. Keep it
|
|
321
|
-
* anchored to the control without covering its hit target or replacing help copy.
|
|
322
|
-
*/
|
|
323
|
-
.ridu-field-error-tooltip {
|
|
324
|
-
position: absolute;
|
|
325
|
-
z-index: 20;
|
|
326
|
-
inset-inline-end: 0;
|
|
327
|
-
inset-block-end: calc(100% + 0.4rem);
|
|
328
|
-
max-inline-size: min(80%, 42rem);
|
|
329
|
-
margin: 0;
|
|
330
|
-
border-radius: calc(var(--radius) - 0.0625rem);
|
|
331
|
-
padding: 0.32rem 0.55rem;
|
|
332
|
-
background: var(--destructive);
|
|
333
|
-
box-shadow: 0 0.3rem 1rem oklch(0 0 0 / 18%);
|
|
334
|
-
color: var(--destructive-foreground);
|
|
335
|
-
font-size: 0.8125rem;
|
|
336
|
-
font-weight: 500;
|
|
337
|
-
line-height: 1.35;
|
|
338
|
-
list-style: none;
|
|
339
|
-
overflow-wrap: anywhere;
|
|
340
|
-
pointer-events: none;
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
.ridu-field-error-tooltip::after {
|
|
344
|
-
position: absolute;
|
|
345
|
-
inset-block-start: 100%;
|
|
346
|
-
inset-inline-end: 0.7rem;
|
|
347
|
-
inline-size: 0;
|
|
348
|
-
block-size: 0;
|
|
349
|
-
border: 0.32rem solid transparent;
|
|
350
|
-
border-block-start-color: var(--destructive);
|
|
351
|
-
content: "";
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
.ridu-field-error-tooltip > :where(ul, ol) {
|
|
355
|
-
margin: 0;
|
|
356
|
-
padding: 0;
|
|
357
|
-
list-style: none;
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
.ridu-field-error-tooltip li + li {
|
|
361
|
-
margin-block-start: 0.2rem;
|
|
362
|
-
}
|
|
3
|
+
@layer ridu.base {
|
|
4
|
+
* {
|
|
5
|
+
--at-apply: border-border;
|
|
6
|
+
box-sizing: border-box;
|
|
7
|
+
}
|
|
363
8
|
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
9
|
+
html {
|
|
10
|
+
font-family: var(--font-sans);
|
|
11
|
+
font-synthesis: none;
|
|
12
|
+
text-rendering: optimizeLegibility;
|
|
13
|
+
scroll-behavior: smooth;
|
|
367
14
|
}
|
|
368
|
-
}
|
|
369
15
|
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
--toast-wash: var(--toast-surface);
|
|
380
|
-
--toast-edge: var(--border);
|
|
381
|
-
/*
|
|
382
|
-
* Sonner's dark theme paints the close button from these; keep them tone-neutral
|
|
383
|
-
* so the chip reads as a consistent dismiss affordance, not a decorative extension
|
|
384
|
-
* of the tinted wash. Inverted fill gives it its own identity on any tone.
|
|
385
|
-
*/
|
|
386
|
-
--normal-bg: var(--foreground);
|
|
387
|
-
--normal-bg-hover: var(--ink-strong);
|
|
388
|
-
--normal-border: transparent;
|
|
389
|
-
--normal-border-hover: transparent;
|
|
390
|
-
--normal-text: var(--background);
|
|
391
|
-
position: relative;
|
|
392
|
-
border: 1px solid var(--toast-edge);
|
|
393
|
-
background: var(--toast-wash);
|
|
394
|
-
color: var(--toast-body);
|
|
395
|
-
}
|
|
16
|
+
body {
|
|
17
|
+
margin: 0;
|
|
18
|
+
min-width: 20rem;
|
|
19
|
+
background: var(--background);
|
|
20
|
+
color: var(--foreground);
|
|
21
|
+
font-size: 0.90625rem;
|
|
22
|
+
line-height: 1.5;
|
|
23
|
+
-webkit-font-smoothing: antialiased;
|
|
24
|
+
}
|
|
396
25
|
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
26
|
+
button,
|
|
27
|
+
input,
|
|
28
|
+
select,
|
|
29
|
+
textarea {
|
|
30
|
+
font: inherit;
|
|
31
|
+
}
|
|
401
32
|
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
33
|
+
button,
|
|
34
|
+
a,
|
|
35
|
+
input,
|
|
36
|
+
select,
|
|
37
|
+
textarea {
|
|
38
|
+
-webkit-tap-highlight-color: transparent;
|
|
39
|
+
}
|
|
405
40
|
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
41
|
+
a {
|
|
42
|
+
color: inherit;
|
|
43
|
+
text-decoration: none;
|
|
44
|
+
}
|
|
409
45
|
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
* above; only geometry is set here, since sonner skips its own geometry rules
|
|
414
|
-
* while `unstyled`.
|
|
415
|
-
*/
|
|
416
|
-
[data-sonner-toaster] .ridu-toast[data-sonner-toast] [data-close-button] {
|
|
417
|
-
position: absolute;
|
|
418
|
-
top: -0.4375rem;
|
|
419
|
-
inset-inline-start: -0.4375rem;
|
|
420
|
-
display: grid;
|
|
421
|
-
place-items: center;
|
|
422
|
-
width: 1.375rem;
|
|
423
|
-
height: 1.375rem;
|
|
424
|
-
padding: 0;
|
|
425
|
-
border-width: 1px;
|
|
426
|
-
border-style: solid;
|
|
427
|
-
border-radius: 999px;
|
|
428
|
-
cursor: pointer;
|
|
429
|
-
transition:
|
|
430
|
-
background-color 0.12s ease,
|
|
431
|
-
border-color 0.12s ease;
|
|
432
|
-
}
|
|
46
|
+
::selection {
|
|
47
|
+
background: color-mix(in oklab, var(--foreground) 18%, transparent);
|
|
48
|
+
}
|
|
433
49
|
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
display: none;
|
|
439
|
-
}
|
|
50
|
+
::placeholder {
|
|
51
|
+
color: var(--ink-placeholder);
|
|
52
|
+
opacity: 1;
|
|
53
|
+
}
|
|
440
54
|
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
--toast-wash: color-mix(in oklab, var(--success) 8%, var(--toast-surface));
|
|
446
|
-
}
|
|
55
|
+
:focus-visible {
|
|
56
|
+
outline: var(--focus-outline);
|
|
57
|
+
outline-offset: var(--focus-outline-offset);
|
|
58
|
+
}
|
|
447
59
|
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
60
|
+
[data-slot="textarea"]:not([aria-invalid="true"]):focus-visible,
|
|
61
|
+
[data-slot="command-input"]:not([aria-invalid="true"]):focus-visible,
|
|
62
|
+
select:not([aria-invalid="true"]):focus-visible {
|
|
63
|
+
border-color: color-mix(in oklab, var(--ring) 78%, transparent);
|
|
64
|
+
box-shadow: none;
|
|
65
|
+
outline: none;
|
|
66
|
+
}
|
|
454
67
|
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
68
|
+
[data-slot="textarea"][aria-invalid="true"]:focus-visible,
|
|
69
|
+
[data-slot="command-input"][aria-invalid="true"]:focus-visible,
|
|
70
|
+
select[aria-invalid="true"]:focus-visible {
|
|
71
|
+
box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--destructive) 65%, transparent);
|
|
72
|
+
outline: none;
|
|
73
|
+
}
|
|
459
74
|
|
|
460
|
-
.
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
--toast-edge: color-mix(in oklab, var(--destructive) 30%, transparent);
|
|
464
|
-
--toast-wash: color-mix(in oklab, var(--destructive) 9%, var(--toast-surface));
|
|
465
|
-
}
|
|
75
|
+
.font-serif {
|
|
76
|
+
font-family: var(--font-serif);
|
|
77
|
+
}
|
|
466
78
|
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
opacity: 0;
|
|
470
|
-
transform: translateY(7px);
|
|
79
|
+
.font-mono {
|
|
80
|
+
font-family: var(--font-mono);
|
|
471
81
|
}
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
82
|
+
|
|
83
|
+
.ridu-popover-enter[data-state="open"],
|
|
84
|
+
.ridu-popover-enter:not([data-state]) {
|
|
85
|
+
animation: ridu-pop-in 0.16s ease both;
|
|
475
86
|
}
|
|
476
|
-
}
|
|
477
87
|
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
opacity: 0;
|
|
481
|
-
scale: 0.985;
|
|
482
|
-
translate: 0 -6px;
|
|
88
|
+
.ridu-dialog-enter[data-state="open"] {
|
|
89
|
+
animation: ridu-dialog-in 0.16s ease both;
|
|
483
90
|
}
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
translate: 0 0;
|
|
91
|
+
|
|
92
|
+
.ridu-dialog-enter.ridu-command-dialog[data-state="open"] {
|
|
93
|
+
animation-name: ridu-command-dialog-in;
|
|
488
94
|
}
|
|
489
|
-
}
|
|
490
95
|
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
96
|
+
.ridu-surface-grid {
|
|
97
|
+
background-image:
|
|
98
|
+
linear-gradient(color-mix(in oklab, var(--foreground) 2%, transparent) 1px, transparent 1px),
|
|
99
|
+
linear-gradient(
|
|
100
|
+
90deg,
|
|
101
|
+
color-mix(in oklab, var(--foreground) 2%, transparent) 1px,
|
|
102
|
+
transparent 1px
|
|
103
|
+
);
|
|
104
|
+
background-size: 32px 32px;
|
|
105
|
+
background-position: -1px -1px;
|
|
495
106
|
}
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
107
|
+
|
|
108
|
+
@keyframes ridu-fade-up {
|
|
109
|
+
from {
|
|
110
|
+
opacity: 0;
|
|
111
|
+
transform: translateY(7px);
|
|
112
|
+
}
|
|
113
|
+
to {
|
|
114
|
+
opacity: 1;
|
|
115
|
+
transform: none;
|
|
116
|
+
}
|
|
499
117
|
}
|
|
500
|
-
}
|
|
501
118
|
|
|
502
|
-
@keyframes ridu-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
119
|
+
@keyframes ridu-pop-in {
|
|
120
|
+
from {
|
|
121
|
+
opacity: 0;
|
|
122
|
+
scale: 0.985;
|
|
123
|
+
translate: 0 -6px;
|
|
124
|
+
}
|
|
125
|
+
to {
|
|
126
|
+
opacity: 1;
|
|
127
|
+
scale: 1;
|
|
128
|
+
translate: 0 0;
|
|
129
|
+
}
|
|
506
130
|
}
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
131
|
+
|
|
132
|
+
@keyframes ridu-dialog-in {
|
|
133
|
+
from {
|
|
134
|
+
opacity: 0;
|
|
135
|
+
scale: 0.985;
|
|
136
|
+
}
|
|
137
|
+
to {
|
|
138
|
+
opacity: 1;
|
|
139
|
+
scale: 1;
|
|
140
|
+
}
|
|
510
141
|
}
|
|
511
|
-
}
|
|
512
142
|
|
|
513
|
-
@
|
|
514
|
-
|
|
515
|
-
|
|
143
|
+
@keyframes ridu-command-dialog-in {
|
|
144
|
+
from {
|
|
145
|
+
opacity: 0;
|
|
146
|
+
scale: 0.985;
|
|
147
|
+
}
|
|
148
|
+
to {
|
|
149
|
+
opacity: 1;
|
|
150
|
+
scale: 1;
|
|
151
|
+
}
|
|
516
152
|
}
|
|
517
153
|
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
154
|
+
@media (prefers-reduced-motion: reduce) {
|
|
155
|
+
html {
|
|
156
|
+
scroll-behavior: auto;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
*,
|
|
160
|
+
*::before,
|
|
161
|
+
*::after {
|
|
162
|
+
animation-duration: 0.01ms !important;
|
|
163
|
+
animation-iteration-count: 1 !important;
|
|
164
|
+
transition-duration: 0.01ms !important;
|
|
165
|
+
scroll-behavior: auto !important;
|
|
166
|
+
}
|
|
525
167
|
}
|
|
526
168
|
}
|