@ctrl-ui/react 0.8.6 → 0.8.8
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/dist/action-bar.d.ts +15 -7
- package/dist/action-bar.js +39 -19
- package/dist/activity.js +7 -15
- package/dist/audio-recorder.d.ts +14 -4
- package/dist/audio-recorder.js +82 -29
- package/dist/audio-visualizer.js +1 -1
- package/dist/blocks/coding-agent.js +54 -57
- package/dist/blocks/design-canvas-data.d.ts +32 -0
- package/dist/blocks/design-canvas-data.js +100 -0
- package/dist/blocks/design-canvas-inspector.d.ts +8 -0
- package/dist/blocks/design-canvas-inspector.js +238 -0
- package/dist/blocks/design-canvas.d.ts +21 -0
- package/dist/blocks/design-canvas.js +452 -0
- package/dist/blocks/discussion.d.ts +28 -0
- package/dist/blocks/discussion.js +67 -0
- package/dist/blocks/file-explorer-data.d.ts +1 -0
- package/dist/blocks/file-explorer-data.js +4 -1
- package/dist/blocks/file-explorer.d.ts +9 -1
- package/dist/blocks/file-explorer.js +461 -192
- package/dist/blocks/settings.d.ts +2 -1
- package/dist/blocks/settings.js +101 -79
- package/dist/blocks/team-chat.d.ts +12 -0
- package/dist/blocks/team-chat.js +26 -0
- package/dist/blocks/theme-toggle.js +23 -31
- package/dist/chat-composer-attachment.d.ts +12 -3
- package/dist/chat-composer-attachment.js +61 -19
- package/dist/chat-composer-editor/extensions/mention.d.ts +5 -1
- package/dist/chat-composer-editor/extensions/mention.js +58 -27
- package/dist/chat-composer-editor/ghost.js +2 -4
- package/dist/chat-composer-editor/types.d.ts +5 -0
- package/dist/chat-composer-editor.d.ts +1 -1
- package/dist/chat-composer-editor.js +71 -28
- package/dist/chat-composer.d.ts +13 -32
- package/dist/chat-composer.js +54 -13
- package/dist/chat-layout.d.ts +19 -0
- package/dist/chat-layout.js +96 -32
- package/dist/chat-message/social.d.ts +26 -0
- package/dist/chat-message/social.js +122 -0
- package/dist/chat-message.d.ts +28 -29
- package/dist/chat-message.js +106 -25
- package/dist/context.d.ts +2 -2
- package/dist/context.js +38 -23
- package/dist/dynamic-notification-canvas-loop.d.ts +24 -0
- package/dist/dynamic-notification-canvas-loop.js +113 -0
- package/dist/dynamic-notification-glass.js +23 -114
- package/dist/dynamic-notification-liquid.js +14 -118
- package/dist/dynamic-notification.d.ts +16 -8
- package/dist/dynamic-notification.js +85 -22
- package/dist/email/email-brand.d.ts +7 -4
- package/dist/email/email-brand.js +9 -6
- package/dist/email/email-code.d.ts +3 -2
- package/dist/email/email-code.js +11 -9
- package/dist/email/email-footer.d.ts +5 -3
- package/dist/email/email-footer.js +11 -5
- package/dist/email/email.d.ts +31 -9
- package/dist/email/email.js +50 -26
- package/dist/email/templates.d.ts +10 -9
- package/dist/email/templates.js +102 -38
- package/dist/email/theme.js +1 -1
- package/dist/environment-variables.d.ts +4 -2
- package/dist/environment-variables.js +52 -32
- package/dist/filter-bar/context.d.ts +32 -0
- package/dist/filter-bar/context.js +11 -0
- package/dist/filter-bar/editor.d.ts +14 -0
- package/dist/filter-bar/editor.js +216 -0
- package/dist/filter-bar/model.d.ts +10 -0
- package/dist/filter-bar/model.js +57 -0
- package/dist/filter-bar/motion.d.ts +10 -0
- package/dist/filter-bar/motion.js +84 -0
- package/dist/filter-bar/parts.d.ts +19 -0
- package/dist/filter-bar/parts.js +244 -0
- package/dist/filter-bar/types.d.ts +54 -0
- package/dist/filter-bar/types.js +0 -0
- package/dist/filter-bar.d.ts +27 -0
- package/dist/filter-bar.js +310 -0
- package/dist/hooks/use-audio-recorder.js +12 -6
- package/dist/hooks/use-chat-composer.d.ts +21 -7
- package/dist/hooks/use-chat-composer.js +32 -5
- package/dist/hooks/use-chat-message.d.ts +28 -2
- package/dist/hooks/use-chat-message.js +41 -10
- package/dist/hooks/use-chat-thread-scroll.js +43 -7
- package/dist/hooks/use-color-area.d.ts +3 -3
- package/dist/hooks/use-color-area.js +13 -12
- package/dist/hooks/use-copy-to-clipboard.d.ts +2 -1
- package/dist/hooks/use-copy-to-clipboard.js +20 -20
- package/dist/hooks/use-dropzone.d.ts +7 -4
- package/dist/hooks/use-dropzone.js +34 -3
- package/dist/hooks/use-dynamic-notification.d.ts +6 -2
- package/dist/hooks/use-dynamic-notification.js +26 -10
- package/dist/hooks/use-mobile.d.ts +3 -2
- package/dist/hooks/use-mobile.js +8 -4
- package/dist/hooks/use-textarea-trigger-menu.js +2 -1
- package/dist/hooks/use-trigger-menu.d.ts +54 -0
- package/dist/hooks/use-trigger-menu.js +102 -47
- package/dist/hooks/use-user-ask.d.ts +2 -0
- package/dist/hooks/use-user-ask.js +35 -41
- package/dist/inline-attachment.d.ts +6 -2
- package/dist/inline-attachment.js +44 -29
- package/dist/inline-citation.d.ts +12 -5
- package/dist/inline-citation.js +25 -16
- package/dist/knob-contracts/audio-recorder-knobs.d.ts +1 -1
- package/dist/knob-contracts/audio-recorder-knobs.js +2 -1
- package/dist/knob-contracts/audio-visualizer-knobs.d.ts +1 -1
- package/dist/knob-contracts/audio-visualizer-knobs.js +2 -1
- package/dist/knob-contracts/avatar-knobs.d.ts +1 -1
- package/dist/knob-contracts/avatar-knobs.js +6 -1
- package/dist/knob-contracts/badge-knobs.d.ts +1 -1
- package/dist/knob-contracts/badge-knobs.js +2 -1
- package/dist/knob-contracts/breadcrumb-knobs.d.ts +4 -0
- package/dist/knob-contracts/breadcrumb-knobs.js +8 -0
- package/dist/knob-contracts/button-knobs.d.ts +1 -1
- package/dist/knob-contracts/button-knobs.js +1 -0
- package/dist/knob-contracts/chat-layout-knobs.d.ts +1 -1
- package/dist/knob-contracts/chat-layout-knobs.js +2 -1
- package/dist/knob-contracts/chat-message-knobs.d.ts +1 -1
- package/dist/knob-contracts/chat-message-knobs.js +8 -1
- package/dist/knob-contracts/choice-knobs.d.ts +1 -1
- package/dist/knob-contracts/choice-knobs.js +1 -0
- package/dist/knob-contracts/code-diff-knobs.d.ts +1 -1
- package/dist/knob-contracts/code-diff-knobs.js +2 -0
- package/dist/knob-contracts/code-knobs.d.ts +1 -1
- package/dist/knob-contracts/code-knobs.js +2 -1
- package/dist/knob-contracts/collapsible-knobs.d.ts +1 -1
- package/dist/knob-contracts/collapsible-knobs.js +1 -1
- package/dist/knob-contracts/dynamic-notification-knobs.d.ts +1 -1
- package/dist/knob-contracts/dynamic-notification-knobs.js +2 -0
- package/dist/knob-contracts/emoji-picker-knobs.d.ts +4 -0
- package/dist/knob-contracts/emoji-picker-knobs.js +10 -0
- package/dist/knob-contracts/field-knobs.d.ts +1 -1
- package/dist/knob-contracts/field-knobs.js +5 -1
- package/dist/knob-contracts/filter-bar-knobs.d.ts +4 -0
- package/dist/knob-contracts/filter-bar-knobs.js +15 -0
- package/dist/knob-contracts/infinite-canvas-knobs.d.ts +1 -1
- package/dist/knob-contracts/infinite-canvas-knobs.js +3 -0
- package/dist/knob-contracts/markdown-knobs.d.ts +1 -1
- package/dist/knob-contracts/markdown-knobs.js +3 -1
- package/dist/knob-contracts/page-layout-knobs.d.ts +1 -1
- package/dist/knob-contracts/page-layout-knobs.js +4 -1
- package/dist/knob-contracts/popup-knobs.d.ts +1 -1
- package/dist/knob-contracts/popup-knobs.js +28 -0
- package/dist/knob-contracts/range-knobs.d.ts +1 -1
- package/dist/knob-contracts/range-knobs.js +1 -0
- package/dist/knob-contracts/rich-tooltip-knobs.d.ts +1 -1
- package/dist/knob-contracts/rich-tooltip-knobs.js +2 -1
- package/dist/knob-contracts/sidebar-knobs.d.ts +1 -1
- package/dist/knob-contracts/sidebar-knobs.js +27 -2
- package/dist/knob-contracts/spinner-knobs.d.ts +1 -1
- package/dist/knob-contracts/spinner-knobs.js +1 -1
- package/dist/knob-contracts/stepper-knobs.d.ts +1 -1
- package/dist/knob-contracts/stepper-knobs.js +4 -1
- package/dist/knob-contracts/switch-knobs.d.ts +1 -1
- package/dist/knob-contracts/switch-knobs.js +5 -0
- package/dist/knob-contracts/table-of-contents-knobs.d.ts +1 -1
- package/dist/knob-contracts/table-of-contents-knobs.js +4 -5
- package/dist/knob-contracts/tabs-knobs.d.ts +1 -1
- package/dist/knob-contracts/tabs-knobs.js +1 -0
- package/dist/knob-contracts/tree-knobs.d.ts +1 -1
- package/dist/knob-contracts/tree-knobs.js +2 -1
- package/dist/lib/cn.js +0 -4
- package/dist/lib/contrast.d.ts +1 -0
- package/dist/lib/contrast.js +17 -5
- package/dist/lib/dropzone-validation.js +41 -28
- package/dist/lib/env-file.d.ts +1 -1
- package/dist/lib/env-file.js +5 -5
- package/dist/lib/motion.d.ts +4 -0
- package/dist/lib/motion.js +15 -0
- package/dist/lib/trigger-detect.js +6 -8
- package/dist/markdown-block.js +13 -8
- package/dist/popup-parts.d.ts +8 -0
- package/dist/popup-parts.js +43 -0
- package/dist/scripts/contrast-eval.js +5 -4
- package/dist/source-badge.js +3 -1
- package/dist/styles/code.css +0 -2
- package/dist/styles/effects.css +6 -32
- package/dist/styles/index.css +14 -8
- package/dist/styles/recipes/accordion.css +9 -6
- package/dist/styles/recipes/action-bar.css +0 -15
- package/dist/styles/recipes/activity.css +5 -11
- package/dist/styles/recipes/alert.css +4 -4
- package/dist/styles/recipes/audio-recorder.css +15 -3
- package/dist/styles/recipes/audio-visualizer.css +13 -2
- package/dist/styles/recipes/avatar.css +78 -1
- package/dist/styles/recipes/badge.css +14 -4
- package/dist/styles/recipes/breadcrumb.css +77 -0
- package/dist/styles/recipes/button-group.css +6 -8
- package/dist/styles/recipes/button-states.css +66 -0
- package/dist/styles/recipes/button.css +26 -85
- package/dist/styles/recipes/calendar.css +17 -23
- package/dist/styles/recipes/card.css +2 -2
- package/dist/styles/recipes/chat-composer-attachment.css +9 -3
- package/dist/styles/recipes/chat-composer.css +21 -16
- package/dist/styles/recipes/chat-layout.css +64 -2
- package/dist/styles/recipes/chat-message-social.css +123 -0
- package/dist/styles/recipes/chat-message.css +157 -37
- package/dist/styles/recipes/choice.css +25 -21
- package/dist/styles/recipes/code-diff.css +51 -26
- package/dist/styles/recipes/code.css +44 -18
- package/dist/styles/recipes/collapsible.css +43 -1
- package/dist/styles/recipes/color-picker-details.css +3 -4
- package/dist/styles/recipes/color-picker-values.css +9 -8
- package/dist/styles/recipes/color-picker.css +23 -4
- package/dist/styles/recipes/context.css +3 -3
- package/dist/styles/recipes/dockable-panel.css +18 -7
- package/dist/styles/recipes/dropzone.css +7 -8
- package/dist/styles/recipes/dynamic-notification-input.css +8 -5
- package/dist/styles/recipes/dynamic-notification-motion.css +12 -21
- package/dist/styles/recipes/dynamic-notification.css +40 -26
- package/dist/styles/recipes/emoji-picker.css +132 -0
- package/dist/styles/recipes/empty.css +5 -4
- package/dist/styles/recipes/environment-variables.css +4 -15
- package/dist/styles/recipes/field-parts.css +89 -21
- package/dist/styles/recipes/field.css +83 -26
- package/dist/styles/recipes/filter-bar.css +161 -0
- package/dist/styles/recipes/gradient-editor.css +18 -7
- package/dist/styles/recipes/infinite-canvas.css +51 -4
- package/dist/styles/recipes/inline-attachment.css +9 -4
- package/dist/styles/recipes/inline-citation.css +10 -4
- package/dist/styles/recipes/item.css +23 -9
- package/dist/styles/recipes/markdown-block.css +5 -4
- package/dist/styles/recipes/markdown.css +68 -26
- package/dist/styles/recipes/morphing-panel.css +8 -8
- package/dist/styles/recipes/page-layout.css +36 -10
- package/dist/styles/recipes/pagination.css +5 -6
- package/dist/styles/recipes/phone-input.css +12 -8
- package/dist/styles/recipes/popup-controls.css +175 -26
- package/dist/styles/recipes/popup-drawer.css +35 -44
- package/dist/styles/recipes/popup-lists.css +139 -29
- package/dist/styles/recipes/popup-motion.css +4 -45
- package/dist/styles/recipes/popup-toast.css +55 -26
- package/dist/styles/recipes/popup.css +149 -153
- package/dist/styles/recipes/range.css +55 -19
- package/dist/styles/recipes/resizable.css +36 -7
- package/dist/styles/recipes/rich-tooltip.css +24 -34
- package/dist/styles/recipes/scroll-area.css +8 -1
- package/dist/styles/recipes/sidebar-menu.css +149 -34
- package/dist/styles/recipes/sidebar-parts.css +154 -0
- package/dist/styles/recipes/sidebar.css +187 -128
- package/dist/styles/recipes/source-badge.css +1 -1
- package/dist/styles/recipes/spinner.css +12 -1
- package/dist/styles/recipes/stepper.css +31 -13
- package/dist/styles/recipes/switch.css +68 -23
- package/dist/styles/recipes/table-of-contents.css +49 -41
- package/dist/styles/recipes/table.css +14 -10
- package/dist/styles/recipes/tabs.css +38 -12
- package/dist/styles/recipes/task-list.css +7 -14
- package/dist/styles/recipes/thread-rail.css +42 -19
- package/dist/styles/recipes/timeline.css +2 -0
- package/dist/styles/recipes/toolbar.css +27 -25
- package/dist/styles/recipes/track-highlight.css +12 -8
- package/dist/styles/recipes/transcript-divider.css +2 -2
- package/dist/styles/recipes/tree.css +31 -4
- package/dist/styles/recipes/user-ask-details.css +0 -1
- package/dist/styles/recipes/user-ask.css +4 -4
- package/dist/styles/theme.css +287 -107
- package/dist/task-list.d.ts +4 -1
- package/dist/task-list.js +24 -8
- package/dist/thread-rail.d.ts +1 -1
- package/dist/thread-rail.js +61 -19
- package/dist/transcript-divider.js +2 -1
- package/dist/ui/alert.d.ts +3 -1
- package/dist/ui/alert.js +14 -8
- package/dist/ui/autocomplete.js +7 -1
- package/dist/ui/avatar.d.ts +8 -0
- package/dist/ui/avatar.js +23 -3
- package/dist/ui/badge.js +1 -1
- package/dist/ui/breadcrumb.d.ts +27 -0
- package/dist/ui/breadcrumb.js +88 -0
- package/dist/ui/button.d.ts +2 -1
- package/dist/ui/button.js +1 -1
- package/dist/ui/calendar.js +2 -2
- package/dist/ui/card.d.ts +3 -1
- package/dist/ui/card.js +12 -7
- package/dist/ui/checkbox-group.js +1 -1
- package/dist/ui/checkbox.d.ts +2 -0
- package/dist/ui/code-diff.d.ts +1 -1
- package/dist/ui/code-diff.js +71 -27
- package/dist/ui/code.d.ts +5 -3
- package/dist/ui/code.js +27 -28
- package/dist/ui/color-picker.d.ts +5 -2
- package/dist/ui/color-picker.js +84 -36
- package/dist/ui/combobox-disabled-selection.d.ts +1 -2
- package/dist/ui/combobox-disabled-selection.js +7 -8
- package/dist/ui/combobox.d.ts +5 -23
- package/dist/ui/combobox.js +36 -16
- package/dist/ui/command.d.ts +8 -2
- package/dist/ui/command.js +39 -15
- package/dist/ui/context-menu.js +3 -0
- package/dist/ui/dialog.d.ts +2 -1
- package/dist/ui/dialog.js +3 -22
- package/dist/ui/dockable-panel-geometry.d.ts +1 -0
- package/dist/ui/dockable-panel-geometry.js +7 -1
- package/dist/ui/dockable-panel.d.ts +9 -6
- package/dist/ui/dockable-panel.js +81 -33
- package/dist/ui/drawer.d.ts +7 -4
- package/dist/ui/drawer.js +35 -22
- package/dist/ui/dropdown-menu.js +4 -3
- package/dist/ui/dropzone.d.ts +5 -3
- package/dist/ui/dropzone.js +78 -17
- package/dist/ui/emoji-picker.d.ts +18 -0
- package/dist/ui/emoji-picker.js +136 -0
- package/dist/ui/empty.d.ts +3 -1
- package/dist/ui/empty.js +12 -7
- package/dist/ui/field.js +1 -1
- package/dist/ui/gradient-editor.d.ts +1 -1
- package/dist/ui/gradient-editor.js +37 -21
- package/dist/ui/infinite-canvas.d.ts +13 -1
- package/dist/ui/infinite-canvas.js +139 -20
- package/dist/ui/input-group.d.ts +2 -4
- package/dist/ui/input-group.js +13 -14
- package/dist/ui/input-otp.d.ts +1 -1
- package/dist/ui/input-otp.js +32 -15
- package/dist/ui/input.js +11 -2
- package/dist/ui/item.d.ts +2 -1
- package/dist/ui/item.js +11 -7
- package/dist/ui/live-status.d.ts +7 -0
- package/dist/ui/live-status.js +17 -0
- package/dist/ui/markdown-elements.d.ts +6 -0
- package/dist/ui/markdown-elements.js +42 -9
- package/dist/ui/menubar.js +2 -2
- package/dist/ui/morphing-panel.js +2 -1
- package/dist/ui/native-select.d.ts +1 -1
- package/dist/ui/native-select.js +24 -11
- package/dist/ui/number-field.d.ts +1 -1
- package/dist/ui/number-field.js +13 -2
- package/dist/ui/page-layout.d.ts +2 -2
- package/dist/ui/page-layout.js +2 -4
- package/dist/ui/pagination.d.ts +7 -5
- package/dist/ui/pagination.js +19 -13
- package/dist/ui/phone-input.d.ts +1 -0
- package/dist/ui/phone-input.js +56 -58
- package/dist/ui/radio-group.d.ts +3 -0
- package/dist/ui/radio-group.js +11 -1
- package/dist/ui/resizable.d.ts +20 -2
- package/dist/ui/resizable.js +130 -8
- package/dist/ui/responsive-dialog.d.ts +1 -1
- package/dist/ui/responsive-dialog.js +9 -23
- package/dist/ui/rich-tooltip.d.ts +10 -4
- package/dist/ui/rich-tooltip.js +81 -33
- package/dist/ui/scroll-area.d.ts +4 -1
- package/dist/ui/scroll-area.js +44 -28
- package/dist/ui/select.d.ts +2 -1
- package/dist/ui/select.js +57 -32
- package/dist/ui/sidebar-menu.d.ts +5 -1
- package/dist/ui/sidebar-menu.js +31 -33
- package/dist/ui/sidebar-provider.d.ts +10 -1
- package/dist/ui/sidebar-provider.js +38 -13
- package/dist/ui/sidebar-resize-rail.js +7 -3
- package/dist/ui/sidebar.d.ts +11 -6
- package/dist/ui/sidebar.js +46 -23
- package/dist/ui/slider.js +31 -22
- package/dist/ui/spinner.d.ts +3 -2
- package/dist/ui/spinner.js +3 -2
- package/dist/ui/stepper.d.ts +8 -1
- package/dist/ui/stepper.js +74 -25
- package/dist/ui/switch.d.ts +1 -0
- package/dist/ui/table-of-contents.d.ts +5 -4
- package/dist/ui/table-of-contents.js +143 -52
- package/dist/ui/table.js +15 -9
- package/dist/ui/textarea.d.ts +1 -1
- package/dist/ui/textarea.js +20 -9
- package/dist/ui/timeline.d.ts +3 -1
- package/dist/ui/timeline.js +17 -9
- package/dist/ui/toast.d.ts +11 -5
- package/dist/ui/toast.js +100 -54
- package/dist/ui/toggle.d.ts +1 -1
- package/dist/ui/toggle.js +2 -1
- package/dist/ui/toolbar.d.ts +3 -2
- package/dist/ui/toolbar.js +4 -2
- package/dist/ui/tooltip.js +3 -20
- package/dist/ui/tree.js +120 -80
- package/dist/ui/trigger-menu.js +7 -2
- package/dist/user-ask.d.ts +10 -5
- package/dist/user-ask.js +31 -11
- package/package.json +5 -1
- package/dist/hooks/use-keyboard-navigation.d.ts +0 -3
- package/dist/hooks/use-keyboard-navigation.js +0 -22
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
--cui-dropzone-surface-radius: var(--radius-panel);
|
|
4
4
|
--cui-dropzone-surface-foreground: var(--foreground);
|
|
5
5
|
--cui-dropzone-surface-border-color: var(--border);
|
|
6
|
-
--cui-dropzone-surface-border-width:
|
|
6
|
+
--cui-dropzone-surface-border-width: var(--control-rim-width);
|
|
7
7
|
--cui-dropzone-accept-border-color: var(--primary);
|
|
8
8
|
--cui-dropzone-reject-border-color: var(--destructive);
|
|
9
9
|
--cui-dropzone-overlay-background: oklch(from var(--card) l c h / 0.95);
|
|
@@ -21,20 +21,19 @@
|
|
|
21
21
|
padding: calc(var(--spacing) * 6);
|
|
22
22
|
background-color: var(--card);
|
|
23
23
|
text-align: center;
|
|
24
|
-
outline-style: none;
|
|
25
24
|
transition-property: border-color, color, opacity, box-shadow;
|
|
26
25
|
transition-duration: var(--duration-fast);
|
|
27
26
|
transition-timing-function: var(--ease-standard);
|
|
28
27
|
}
|
|
29
28
|
|
|
30
29
|
@media (hover: hover) {
|
|
31
|
-
:where([data-control-family="dropzone"][data-slot="trigger"]:hover) {
|
|
30
|
+
:where([data-control-family="dropzone"][data-slot="trigger"]:hover:not(:disabled, [aria-disabled="true"])) {
|
|
32
31
|
background-color: oklch(from var(--muted) l c h / 0.5);
|
|
33
32
|
}
|
|
34
33
|
}
|
|
35
34
|
|
|
36
|
-
:where([data-control-family="dropzone"][data-slot="trigger"]:disabled) {
|
|
37
|
-
opacity:
|
|
35
|
+
:where([data-control-family="dropzone"][data-slot="trigger"]:is(:disabled, [aria-disabled="true"])) {
|
|
36
|
+
opacity: var(--disabled-opacity);
|
|
38
37
|
}
|
|
39
38
|
|
|
40
39
|
:where([data-control-family="dropzone"][data-slot="file-list"]),
|
|
@@ -90,16 +89,16 @@
|
|
|
90
89
|
:where([data-control-family="dropzone"][data-slot="status"]) {
|
|
91
90
|
margin-block-start: calc(var(--spacing) * 3);
|
|
92
91
|
color: var(--muted-foreground);
|
|
93
|
-
font-size: var(--text-
|
|
92
|
+
font-size: var(--text-body);
|
|
94
93
|
}
|
|
95
94
|
|
|
96
95
|
:where([data-control-family="dropzone"][data-slot="feedback-message"]) {
|
|
97
|
-
font-size: var(--text-
|
|
96
|
+
font-size: var(--text-body);
|
|
98
97
|
font-weight: var(--font-weight-medium);
|
|
99
98
|
}
|
|
100
99
|
|
|
101
100
|
:where([data-control-family="dropzone"][data-slot="feedback-spinner"]) {
|
|
102
|
-
animation: var(--
|
|
101
|
+
animation: cui-spin var(--duration-loop) linear infinite;
|
|
103
102
|
}
|
|
104
103
|
|
|
105
104
|
@starting-style {
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
color: var(--_dynamic-notification-active-foreground);
|
|
8
8
|
box-shadow: inset 0 0 0 1px oklch(from var(--_dynamic-notification-active-foreground) l c h / 0.1);
|
|
9
9
|
font-size: var(--text-body);
|
|
10
|
-
outline: none;
|
|
11
10
|
transition: box-shadow var(--duration-fast) var(--ease-standard);
|
|
12
11
|
}
|
|
13
12
|
|
|
@@ -16,20 +15,24 @@
|
|
|
16
15
|
}
|
|
17
16
|
|
|
18
17
|
:where([data-control-family="dynamic-notification"][data-slot="reply-input"]:disabled) {
|
|
19
|
-
opacity:
|
|
18
|
+
opacity: var(--disabled-opacity);
|
|
20
19
|
}
|
|
21
20
|
|
|
22
21
|
:where([data-control-family="button"][data-dynamic-notification-close="true"]) {
|
|
23
22
|
color: oklch(from var(--_dynamic-notification-active-foreground) l c h / 0.55);
|
|
24
23
|
}
|
|
25
24
|
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
@media (hover: hover) {
|
|
26
|
+
:where(
|
|
27
|
+
[data-control-family="button"][data-dynamic-notification-close="true"]:not(:disabled, [data-disabled], [aria-disabled="true"]):hover
|
|
28
|
+
) {
|
|
29
|
+
color: inherit;
|
|
30
|
+
}
|
|
28
31
|
}
|
|
29
32
|
|
|
30
33
|
@media (pointer: coarse) {
|
|
31
34
|
:where([data-control-family="dynamic-notification"][data-slot="reply-input"]) {
|
|
32
|
-
font-size: max(
|
|
35
|
+
font-size: max(var(--text-input-min), var(--text-body));
|
|
33
36
|
}
|
|
34
37
|
}
|
|
35
38
|
}
|
|
@@ -25,16 +25,16 @@
|
|
|
25
25
|
|
|
26
26
|
:where([data-control-family="dynamic-notification"][data-slot="island"]) {
|
|
27
27
|
interpolate-size: allow-keywords;
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
inline-size: 8.5rem;
|
|
29
|
+
block-size: 2.5rem;
|
|
30
30
|
border-radius: calc(2.5rem / 2);
|
|
31
31
|
opacity: 1;
|
|
32
32
|
scale: 1;
|
|
33
33
|
translate: 0 0;
|
|
34
34
|
filter: blur(0);
|
|
35
35
|
transition:
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
inline-size calc(var(--duration-slow) * 2) var(--cui-dynamic-notification-morph-easing),
|
|
37
|
+
block-size calc(var(--duration-slow) * 2) var(--cui-dynamic-notification-morph-easing),
|
|
38
38
|
border-radius calc(var(--duration-slow) * 2) var(--cui-dynamic-notification-morph-easing),
|
|
39
39
|
box-shadow calc(var(--duration-slow) * 2) var(--ease-standard),
|
|
40
40
|
opacity var(--duration-slow) var(--ease-emphasized),
|
|
@@ -60,14 +60,14 @@
|
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
:where([data-control-family="dynamic-notification"][data-slot="island"][data-state="thinking"]) {
|
|
63
|
-
|
|
64
|
-
|
|
63
|
+
inline-size: min(10rem, 100%);
|
|
64
|
+
block-size: 5.75rem;
|
|
65
65
|
border-radius: 2.75rem;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
:where([data-control-family="dynamic-notification"][data-slot="island"][data-state="expanded"]) {
|
|
69
|
-
|
|
70
|
-
|
|
69
|
+
inline-size: min(22.5rem, 100%);
|
|
70
|
+
block-size: auto;
|
|
71
71
|
border-radius: var(--cui-dynamic-notification-expanded-radius);
|
|
72
72
|
}
|
|
73
73
|
|
|
@@ -90,11 +90,11 @@
|
|
|
90
90
|
scale: 0.8;
|
|
91
91
|
pointer-events: none;
|
|
92
92
|
transition-duration: var(--duration-fast);
|
|
93
|
-
transition-delay:
|
|
93
|
+
transition-delay: initial;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
:where([data-control-family="dynamic-notification"][data-slot="content"]) {
|
|
97
|
-
|
|
97
|
+
inline-size: min(22.5rem, 100%);
|
|
98
98
|
opacity: 1;
|
|
99
99
|
filter: blur(0);
|
|
100
100
|
translate: 0 0;
|
|
@@ -124,6 +124,7 @@
|
|
|
124
124
|
|
|
125
125
|
:where([data-control-family="dynamic-notification"][data-slot="message"] [data-control-family="dynamic-notification"][data-slot="word"]) {
|
|
126
126
|
display: inline-block;
|
|
127
|
+
max-inline-size: 100%;
|
|
127
128
|
}
|
|
128
129
|
|
|
129
130
|
:where(
|
|
@@ -150,19 +151,9 @@
|
|
|
150
151
|
var(--cui-dynamic-notification-indicator-end),
|
|
151
152
|
var(--cui-dynamic-notification-indicator-start)
|
|
152
153
|
);
|
|
153
|
-
box-shadow: 0 0 8px oklch(
|
|
154
|
+
box-shadow: 0 0 8px oklch(from var(--cui-dynamic-notification-indicator-end) l c h / 0.55);
|
|
154
155
|
animation: dn-indicator-breathe calc(var(--duration-slow) * 5) var(--ease-standard) infinite;
|
|
155
156
|
}
|
|
156
|
-
|
|
157
|
-
@media (prefers-reduced-motion: reduce) {
|
|
158
|
-
:where([data-control-family="dynamic-notification"][data-slot="island"]) {
|
|
159
|
-
--_dynamic-notification-word-stagger: 0ms;
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
:where([data-motion="reduced"] :where([data-control-family="dynamic-notification"][data-slot="island"])) {
|
|
164
|
-
--_dynamic-notification-word-stagger: 0ms;
|
|
165
|
-
}
|
|
166
157
|
}
|
|
167
158
|
|
|
168
159
|
@keyframes dn-word-in {
|
|
@@ -26,12 +26,13 @@
|
|
|
26
26
|
1
|
|
27
27
|
);
|
|
28
28
|
--cui-dynamic-notification-expanded-radius: 1.65rem;
|
|
29
|
-
--cui-dynamic-notification-glass-foreground:
|
|
29
|
+
--cui-dynamic-notification-glass-foreground: oklch(1 0 0);
|
|
30
30
|
--cui-dynamic-notification-glass-ring-color: oklch(1 0 0 / 0.12);
|
|
31
31
|
--cui-dynamic-notification-indicator-end: oklch(0.7 0.17 250);
|
|
32
32
|
--cui-dynamic-notification-indicator-middle: oklch(0.75 0.15 70);
|
|
33
33
|
--cui-dynamic-notification-indicator-start: oklch(0.62 0.19 25);
|
|
34
|
-
--cui-dynamic-notification-liquid-foreground:
|
|
34
|
+
--cui-dynamic-notification-liquid-foreground: oklch(1 0 0);
|
|
35
|
+
--cui-dynamic-notification-liquid-text-shadow: 0 1px 2px oklch(0 0 0 / 0.25);
|
|
35
36
|
--cui-dynamic-notification-morph-easing: linear(
|
|
36
37
|
0,
|
|
37
38
|
0.0568 3.85%,
|
|
@@ -65,18 +66,21 @@
|
|
|
65
66
|
--cui-dynamic-notification-surface-foreground: var(--popover-foreground);
|
|
66
67
|
--cui-dynamic-notification-surface-ring-color: var(--border);
|
|
67
68
|
--cui-dynamic-notification-surface-shadow: var(--shadow-pop);
|
|
69
|
+
--cui-dynamic-notification-title-foreground: var(--muted-foreground);
|
|
68
70
|
--_dynamic-notification-active-foreground: var(--cui-dynamic-notification-surface-foreground);
|
|
69
71
|
}
|
|
70
72
|
|
|
71
73
|
:where([data-control-family="dynamic-notification"][data-slot="root"][data-variant="glass"]) {
|
|
72
74
|
--_dynamic-notification-active-foreground: var(--cui-dynamic-notification-glass-foreground);
|
|
75
|
+
--cui-dynamic-notification-title-foreground: oklch(from var(--cui-dynamic-notification-glass-foreground) l c h / 0.6);
|
|
73
76
|
}
|
|
74
77
|
|
|
75
78
|
:where([data-control-family="dynamic-notification"][data-slot="root"][data-variant="liquid"]) {
|
|
76
79
|
--_dynamic-notification-active-foreground: var(--cui-dynamic-notification-liquid-foreground);
|
|
80
|
+
--cui-dynamic-notification-title-foreground: oklch(from var(--cui-dynamic-notification-liquid-foreground) l c h / 0.6);
|
|
77
81
|
}
|
|
78
82
|
|
|
79
|
-
:where([data-control-family="dynamic-notification"][data-slot="island"][data-variant="glass"]) {
|
|
83
|
+
:where([data-control-family="dynamic-notification"][data-slot="island"]:is([data-variant="glass"], [data-variant="liquid"])) {
|
|
80
84
|
background: linear-gradient(
|
|
81
85
|
to bottom,
|
|
82
86
|
oklch(0 0 0 / 0.97) 0%,
|
|
@@ -86,6 +90,9 @@
|
|
|
86
90
|
var(--_dynamic-notification-ink-tail) var(--_dynamic-notification-ink-tail-stop),
|
|
87
91
|
var(--_dynamic-notification-ink-tail) 100%
|
|
88
92
|
);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
:where([data-control-family="dynamic-notification"][data-slot="island"][data-variant="glass"]) {
|
|
89
96
|
backdrop-filter: blur(4px) saturate(1.4);
|
|
90
97
|
color: var(--cui-dynamic-notification-glass-foreground);
|
|
91
98
|
box-shadow:
|
|
@@ -94,32 +101,24 @@
|
|
|
94
101
|
}
|
|
95
102
|
|
|
96
103
|
:where([data-control-family="dynamic-notification"][data-slot="island"][data-variant="liquid"]) {
|
|
97
|
-
background: linear-gradient(
|
|
98
|
-
to bottom,
|
|
99
|
-
oklch(0 0 0 / 0.97) 0%,
|
|
100
|
-
oklch(0 0 0 / 0.97) var(--_dynamic-notification-ink-plateau),
|
|
101
|
-
var(--_dynamic-notification-ink-mid) var(--_dynamic-notification-ink-mid-stop),
|
|
102
|
-
var(--_dynamic-notification-ink-low) var(--_dynamic-notification-ink-low-stop),
|
|
103
|
-
var(--_dynamic-notification-ink-tail) var(--_dynamic-notification-ink-tail-stop),
|
|
104
|
-
var(--_dynamic-notification-ink-tail) 100%
|
|
105
|
-
);
|
|
106
104
|
color: var(--cui-dynamic-notification-liquid-foreground);
|
|
107
|
-
text-shadow:
|
|
105
|
+
text-shadow: var(--cui-dynamic-notification-liquid-text-shadow);
|
|
108
106
|
}
|
|
109
107
|
|
|
110
|
-
:where(
|
|
111
|
-
|
|
108
|
+
:where(
|
|
109
|
+
[data-control-family="dynamic-notification"][data-slot="island"]:is([data-variant="glass"], [data-variant="liquid"]):has(
|
|
110
|
+
[data-glass-ready="true"]
|
|
111
|
+
)
|
|
112
|
+
) {
|
|
112
113
|
background: transparent;
|
|
113
114
|
}
|
|
114
115
|
|
|
115
|
-
:where([data-control-family="dynamic-notification"][data-slot="glass"])
|
|
116
|
-
:where([data-control-family="dynamic-notification"][data-slot="liquid"]) {
|
|
116
|
+
:where([data-control-family="dynamic-notification"]:is([data-slot="glass"], [data-slot="liquid"])) {
|
|
117
117
|
opacity: 0;
|
|
118
118
|
transition: opacity var(--duration-base) var(--ease-standard);
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
:where([data-control-family="dynamic-notification"][data-slot="glass"][data-glass-ready="true"])
|
|
122
|
-
:where([data-control-family="dynamic-notification"][data-slot="liquid"][data-glass-ready="true"]) {
|
|
121
|
+
:where([data-control-family="dynamic-notification"]:is([data-slot="glass"], [data-slot="liquid"])[data-glass-ready="true"]) {
|
|
123
122
|
opacity: 1;
|
|
124
123
|
}
|
|
125
124
|
|
|
@@ -133,15 +132,15 @@
|
|
|
133
132
|
}
|
|
134
133
|
|
|
135
134
|
:where([data-control-family="dynamic-notification"][data-slot="pill"]) {
|
|
135
|
+
--focus-ring-offset: calc(var(--focus-ring-width) * -1);
|
|
136
136
|
gap: calc(var(--spacing) * 2);
|
|
137
137
|
padding-inline: calc(var(--spacing) * 4);
|
|
138
138
|
font-size: var(--text-caption);
|
|
139
|
-
outline-style: none;
|
|
140
139
|
}
|
|
141
140
|
|
|
142
141
|
:where([data-control-family="dynamic-notification"][data-slot="title"]) {
|
|
143
142
|
font-size: var(--text-caption);
|
|
144
|
-
|
|
143
|
+
color: var(--cui-dynamic-notification-title-foreground);
|
|
145
144
|
font-weight: var(--font-weight-medium);
|
|
146
145
|
letter-spacing: var(--tracking-wide);
|
|
147
146
|
text-wrap: balance;
|
|
@@ -149,7 +148,9 @@
|
|
|
149
148
|
|
|
150
149
|
:where([data-control-family="dynamic-notification"][data-slot="message"]) {
|
|
151
150
|
font-size: var(--text-body-lg);
|
|
152
|
-
line-height:
|
|
151
|
+
line-height: var(--leading-snug);
|
|
152
|
+
overflow-wrap: anywhere;
|
|
153
|
+
text-wrap: pretty;
|
|
153
154
|
}
|
|
154
155
|
|
|
155
156
|
:where([data-control-family="dynamic-notification"][data-slot="indicator"]) {
|
|
@@ -168,6 +169,11 @@
|
|
|
168
169
|
gap: calc(var(--spacing) * 2);
|
|
169
170
|
}
|
|
170
171
|
|
|
172
|
+
:where([data-control-family="dynamic-notification"][data-slot="reply-error"]) {
|
|
173
|
+
font-size: var(--text-caption);
|
|
174
|
+
text-wrap: pretty;
|
|
175
|
+
}
|
|
176
|
+
|
|
171
177
|
:where([data-control-family="dynamic-notification"][data-slot="reply-input"]) {
|
|
172
178
|
block-size: calc(var(--spacing) * 9);
|
|
173
179
|
padding-inline: calc(var(--spacing) * 3.5);
|
|
@@ -176,10 +182,6 @@
|
|
|
176
182
|
:where([data-control-family="button"][data-dynamic-notification-close="true"]) {
|
|
177
183
|
margin-inline-end: calc(var(--spacing) * -1.5);
|
|
178
184
|
}
|
|
179
|
-
|
|
180
|
-
:where([data-control-family="dynamic-notification"][data-slot="island"]) {
|
|
181
|
-
outline-style: none;
|
|
182
|
-
}
|
|
183
185
|
}
|
|
184
186
|
|
|
185
187
|
@property --cui-dynamic-notification-glass-foreground {
|
|
@@ -200,12 +202,24 @@
|
|
|
200
202
|
initial-value: transparent;
|
|
201
203
|
}
|
|
202
204
|
|
|
205
|
+
@property --cui-dynamic-notification-liquid-text-shadow {
|
|
206
|
+
syntax: "*";
|
|
207
|
+
inherits: true;
|
|
208
|
+
initial-value: none;
|
|
209
|
+
}
|
|
210
|
+
|
|
203
211
|
@property --cui-dynamic-notification-surface-background {
|
|
204
212
|
syntax: "<color>";
|
|
205
213
|
inherits: true;
|
|
206
214
|
initial-value: transparent;
|
|
207
215
|
}
|
|
208
216
|
|
|
217
|
+
@property --cui-dynamic-notification-title-foreground {
|
|
218
|
+
syntax: "<color>";
|
|
219
|
+
inherits: true;
|
|
220
|
+
initial-value: transparent;
|
|
221
|
+
}
|
|
222
|
+
|
|
209
223
|
@property --cui-dynamic-notification-surface-foreground {
|
|
210
224
|
syntax: "<color>";
|
|
211
225
|
inherits: true;
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
:where([data-control-family="emoji-picker"][data-slot="root"]) {
|
|
3
|
+
--cui-emoji-picker-cell-size: calc(var(--spacing) * 8);
|
|
4
|
+
--cui-emoji-picker-cell-radius: var(--radius-control);
|
|
5
|
+
--cui-emoji-picker-active-background: var(--accent);
|
|
6
|
+
--cui-emoji-picker-header-background: var(--popover);
|
|
7
|
+
--cui-emoji-picker-header-foreground: var(--muted-foreground);
|
|
8
|
+
color: var(--foreground);
|
|
9
|
+
font-family: var(--font-sans);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
:where([data-control-family="emoji-picker"][data-slot="search"]) {
|
|
13
|
+
position: relative;
|
|
14
|
+
margin: calc(var(--spacing) * 2);
|
|
15
|
+
margin-block-end: calc(var(--spacing) * 1);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
:where([data-control-family="emoji-picker"][data-slot="search-icon"]) {
|
|
19
|
+
position: absolute;
|
|
20
|
+
inset-inline-start: calc(var(--spacing) * 2.5);
|
|
21
|
+
inline-size: calc(var(--spacing) * 4);
|
|
22
|
+
block-size: calc(var(--spacing) * 4);
|
|
23
|
+
color: var(--muted-foreground);
|
|
24
|
+
pointer-events: none;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
:where([data-control-family="emoji-picker"][data-slot="search-input"]) {
|
|
28
|
+
block-size: var(--control-h-sm);
|
|
29
|
+
padding-inline: calc(var(--spacing) * 8) calc(var(--spacing) * 2.5);
|
|
30
|
+
border: var(--control-rim-width) solid var(--control-rim);
|
|
31
|
+
border-radius: var(--radius-control);
|
|
32
|
+
background: var(--control-fill);
|
|
33
|
+
box-shadow: var(--shadow-inset);
|
|
34
|
+
color: var(--foreground);
|
|
35
|
+
font-size: var(--text-label);
|
|
36
|
+
--focus-ring-offset: calc(var(--focus-ring-width) * -1);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
:where([data-control-family="emoji-picker"][data-slot="search-input"])::placeholder {
|
|
40
|
+
color: var(--muted-foreground);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
:where([data-control-family="emoji-picker"][data-slot="content"]) {
|
|
44
|
+
overflow-y: auto;
|
|
45
|
+
overscroll-behavior: contain;
|
|
46
|
+
scrollbar-width: thin;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
:where([data-control-family="emoji-picker"][data-slot="loading"]),
|
|
50
|
+
:where([data-control-family="emoji-picker"][data-slot="empty"]) {
|
|
51
|
+
color: var(--muted-foreground);
|
|
52
|
+
font-size: var(--text-label);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
:where([data-control-family="emoji-picker"][data-slot="list"]) {
|
|
56
|
+
padding-block-end: calc(var(--spacing) * 1);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
:where([data-control-family="emoji-picker"][data-slot="category-header"]) {
|
|
60
|
+
padding: calc(var(--spacing) * 1.5) calc(var(--spacing) * 2.5) calc(var(--spacing) * 1);
|
|
61
|
+
background: var(--cui-emoji-picker-header-background);
|
|
62
|
+
color: var(--cui-emoji-picker-header-foreground);
|
|
63
|
+
font-size: var(--text-caption);
|
|
64
|
+
font-weight: var(--font-weight-medium);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
:where([data-control-family="emoji-picker"][data-slot="row"]) {
|
|
68
|
+
padding-inline: calc(var(--spacing) * 1.5);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
:where([data-control-family="emoji-picker"][data-slot="emoji"]) {
|
|
72
|
+
inline-size: var(--cui-emoji-picker-cell-size);
|
|
73
|
+
block-size: var(--cui-emoji-picker-cell-size);
|
|
74
|
+
border-radius: var(--cui-emoji-picker-cell-radius);
|
|
75
|
+
background: transparent;
|
|
76
|
+
font-size: 1.25rem;
|
|
77
|
+
line-height: 1;
|
|
78
|
+
cursor: default;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
:where([data-control-family="emoji-picker"][data-slot="emoji"][data-active]) {
|
|
82
|
+
background: var(--cui-emoji-picker-active-background);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
:where([data-control-family="emoji-picker"][data-slot="footer"]) {
|
|
86
|
+
gap: calc(var(--spacing) * 2);
|
|
87
|
+
min-block-size: calc(var(--spacing) * 11);
|
|
88
|
+
padding-inline: calc(var(--spacing) * 2.5);
|
|
89
|
+
border-block-start: 1px solid var(--border);
|
|
90
|
+
color: var(--muted-foreground);
|
|
91
|
+
font-size: var(--text-label);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
:where([data-control-family="emoji-picker"][data-slot="footer-emoji"]) {
|
|
95
|
+
font-size: 1.25rem;
|
|
96
|
+
line-height: 1;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
:where([data-control-family="emoji-picker"][data-slot="footer-label"]) {
|
|
100
|
+
color: var(--foreground);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
@property --cui-emoji-picker-cell-size {
|
|
105
|
+
syntax: "<length>";
|
|
106
|
+
inherits: true;
|
|
107
|
+
initial-value: 0px;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
@property --cui-emoji-picker-cell-radius {
|
|
111
|
+
syntax: "<length-percentage>";
|
|
112
|
+
inherits: true;
|
|
113
|
+
initial-value: 0px;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
@property --cui-emoji-picker-active-background {
|
|
117
|
+
syntax: "<color>";
|
|
118
|
+
inherits: true;
|
|
119
|
+
initial-value: transparent;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
@property --cui-emoji-picker-header-background {
|
|
123
|
+
syntax: "<color>";
|
|
124
|
+
inherits: true;
|
|
125
|
+
initial-value: transparent;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
@property --cui-emoji-picker-header-foreground {
|
|
129
|
+
syntax: "<color>";
|
|
130
|
+
inherits: true;
|
|
131
|
+
initial-value: transparent;
|
|
132
|
+
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
--cui-empty-radius: var(--radius-lg);
|
|
4
4
|
--cui-empty-background: transparent;
|
|
5
5
|
--cui-empty-border-color: transparent;
|
|
6
|
-
--cui-empty-border-width:
|
|
6
|
+
--cui-empty-border-width: var(--control-rim-width);
|
|
7
7
|
--cui-empty-border-style: solid;
|
|
8
8
|
--cui-empty-media-radius: var(--radius-lg);
|
|
9
9
|
--cui-empty-media-background: var(--muted);
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
--cui-empty-content-size: 24rem;
|
|
19
19
|
--cui-empty-media-size: calc(var(--spacing) * 10);
|
|
20
20
|
--cui-empty-media-icon-size: calc(var(--spacing) * 5);
|
|
21
|
-
--cui-empty-font-size: var(--text-
|
|
21
|
+
--cui-empty-font-size: var(--text-body);
|
|
22
22
|
--cui-empty-title-font-weight: var(--font-weight-medium);
|
|
23
23
|
border: var(--cui-empty-border-width) var(--cui-empty-border-style) var(--cui-empty-border-color);
|
|
24
24
|
border-radius: var(--cui-empty-radius);
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
:where([data-control-family="empty"][data-slot="content"]) {
|
|
54
54
|
gap: var(--cui-empty-content-gap);
|
|
55
55
|
font-size: var(--cui-empty-font-size);
|
|
56
|
-
line-height: var(--
|
|
56
|
+
line-height: var(--leading-normal);
|
|
57
57
|
text-wrap: balance;
|
|
58
58
|
}
|
|
59
59
|
|
|
@@ -61,11 +61,12 @@
|
|
|
61
61
|
font-size: var(--cui-empty-font-size);
|
|
62
62
|
line-height: var(--leading-relaxed);
|
|
63
63
|
color: var(--cui-empty-description-foreground);
|
|
64
|
+
text-wrap: pretty;
|
|
64
65
|
}
|
|
65
66
|
|
|
66
67
|
:where([data-control-family="empty"][data-slot="title"]) {
|
|
67
68
|
font-size: var(--cui-empty-font-size);
|
|
68
|
-
line-height: var(--
|
|
69
|
+
line-height: var(--leading-normal);
|
|
69
70
|
font-weight: var(--cui-empty-title-font-weight);
|
|
70
71
|
color: var(--cui-empty-foreground);
|
|
71
72
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
--cui-environment-variables-error-foreground: var(--destructive-text);
|
|
4
4
|
--cui-environment-variables-message-background: oklch(from var(--destructive) l c h / 0.05);
|
|
5
5
|
--cui-environment-variables-message-border-color: oklch(from var(--destructive) l c h / 0.4);
|
|
6
|
-
--cui-environment-variables-message-border-width:
|
|
6
|
+
--cui-environment-variables-message-border-width: var(--control-rim-width);
|
|
7
7
|
--cui-environment-variables-message-foreground: var(--destructive-text);
|
|
8
8
|
--cui-environment-variables-meta-foreground: var(--muted-foreground);
|
|
9
9
|
--cui-environment-variables-title-foreground: var(--foreground);
|
|
@@ -75,12 +75,9 @@
|
|
|
75
75
|
color: var(--foreground);
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
:where([data-control-family="environment-variables"]
|
|
79
|
-
font-size: var(--text-caption);
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
:where([data-control-family="environment-variables"][data-slot="value-group"][data-invalid="true"]) {
|
|
83
|
-
box-shadow: 0 0 0 2px oklch(from var(--destructive) l c h / 0.7);
|
|
78
|
+
:where([data-control-family="environment-variables"][data-slot="row"] [data-control-family="field"][data-control="true"]) {
|
|
79
|
+
--cui-field-font-size: var(--text-caption);
|
|
80
|
+
font-family: var(--font-mono);
|
|
84
81
|
}
|
|
85
82
|
|
|
86
83
|
:where([data-control-family="environment-variables"][data-slot="field-error"]) {
|
|
@@ -114,18 +111,10 @@
|
|
|
114
111
|
text-align: center;
|
|
115
112
|
}
|
|
116
113
|
|
|
117
|
-
:where([data-control-family="environment-variables"][data-slot="value-input"]) {
|
|
118
|
-
font-family: var(--font-mono);
|
|
119
|
-
}
|
|
120
|
-
|
|
121
114
|
:where([data-control-family="environment-variables"][data-slot="field-label"]) {
|
|
122
115
|
font-weight: var(--font-weight-medium);
|
|
123
116
|
}
|
|
124
117
|
|
|
125
|
-
:where([data-control-family="environment-variables"][data-slot="key-input"]) {
|
|
126
|
-
font-family: var(--font-mono);
|
|
127
|
-
}
|
|
128
|
-
|
|
129
118
|
:where([data-control-family="environment-variables"][data-slot="column-labels"]) {
|
|
130
119
|
gap: calc(var(--spacing) * 2);
|
|
131
120
|
padding-inline: calc(var(--spacing) * 1);
|