@ctrl-ui/react 0.8.1 → 0.8.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +32 -23
- package/dist/action-bar.d.ts +11 -12
- package/dist/activity.d.ts +24 -25
- package/dist/audio-recorder.d.ts +16 -16
- package/dist/audio-visualizer.d.ts +3 -4
- package/dist/blocks/chat.d.ts +3 -4
- package/dist/blocks/chat.js +6 -3
- package/dist/blocks/coding-agent.d.ts +11 -12
- package/dist/blocks/coding-agent.js +10 -9
- package/dist/blocks/file-explorer-data.d.ts +11 -12
- package/dist/blocks/file-explorer.d.ts +3 -3
- package/dist/blocks/settings-data.d.ts +8 -9
- package/dist/blocks/settings.d.ts +4 -4
- package/dist/blocks/theme-toggle.d.ts +11 -12
- package/dist/blocks/theme-toggle.js +14 -4
- package/dist/chat-composer-attachment.d.ts +20 -21
- package/dist/chat-composer-attachment.js +24 -20
- package/dist/chat-composer-editor/extensions/mention.d.ts +5 -6
- package/dist/chat-composer-editor/ghost.d.ts +3 -4
- package/dist/chat-composer-editor/schema.d.ts +2 -3
- package/dist/chat-composer-editor/serialize.d.ts +3 -4
- package/dist/chat-composer-editor/types.d.ts +5 -6
- package/dist/chat-composer-editor.d.ts +2 -3
- package/dist/chat-composer-editor.js +18 -4
- package/dist/chat-composer.d.ts +17 -18
- package/dist/chat-composer.js +14 -8
- package/dist/chat-layout.d.ts +12 -21
- package/dist/chat-layout.js +28 -83
- package/dist/chat-message.d.ts +14 -15
- package/dist/context-model.d.ts +7 -8
- package/dist/context.d.ts +21 -22
- package/dist/control-props.d.ts +10 -11
- package/dist/control-variants.d.ts +6 -7
- package/dist/dynamic-notification-glass.d.ts +3 -4
- package/dist/dynamic-notification-liquid.d.ts +3 -4
- package/dist/dynamic-notification-siri-wave.d.ts +2 -3
- package/dist/dynamic-notification.d.ts +28 -29
- package/dist/email/email.d.ts +6 -7
- package/dist/email/email.js +12 -3
- package/dist/email/length.d.ts +3 -0
- package/dist/email/length.js +34 -0
- package/dist/email/templates.d.ts +7 -8
- package/dist/email/templates.js +5 -5
- package/dist/email/theme.d.ts +16 -5
- package/dist/email/theme.js +21 -6
- package/dist/environment-variables.d.ts +35 -36
- package/dist/extensions/create-track-highlight.d.ts +3 -4
- package/dist/extensions/supports-anchor-transitions.d.ts +2 -3
- package/dist/extensions/track-highlight.d.ts +3 -4
- package/dist/hooks/use-audio-recorder.d.ts +14 -15
- package/dist/hooks/use-chat-composer.d.ts +5 -6
- package/dist/hooks/use-chat-message.d.ts +7 -8
- package/dist/hooks/use-color-area.d.ts +5 -6
- package/dist/hooks/use-copy-to-clipboard.d.ts +7 -8
- package/dist/hooks/use-dropzone.d.ts +11 -12
- package/dist/hooks/use-dynamic-notification.d.ts +6 -7
- package/dist/hooks/use-environment-variables.d.ts +9 -10
- package/dist/hooks/use-keyboard-navigation.d.ts +3 -0
- package/dist/hooks/use-keyboard-navigation.js +22 -0
- package/dist/hooks/use-mobile.d.ts +2 -3
- package/dist/hooks/use-textarea-trigger-menu.d.ts +2 -3
- package/dist/hooks/use-trigger-menu.d.ts +7 -8
- package/dist/hooks/use-user-ask.d.ts +6 -7
- package/dist/inline-attachment.d.ts +16 -17
- package/dist/inline-citation.d.ts +22 -23
- package/dist/knob-contracts/accordion-knobs.d.ts +3 -4
- package/dist/knob-contracts/accordion-knobs.js +1 -0
- package/dist/knob-contracts/action-bar-knobs.d.ts +3 -4
- package/dist/knob-contracts/activity-knobs.d.ts +3 -4
- package/dist/knob-contracts/alert-knobs.d.ts +3 -4
- package/dist/knob-contracts/alert-knobs.js +12 -1
- package/dist/knob-contracts/audio-recorder-knobs.d.ts +3 -4
- package/dist/knob-contracts/audio-visualizer-knobs.d.ts +3 -4
- package/dist/knob-contracts/avatar-knobs.d.ts +3 -4
- package/dist/knob-contracts/avatar-knobs.js +2 -1
- package/dist/knob-contracts/badge-knobs.d.ts +3 -4
- package/dist/knob-contracts/button-group-knobs.d.ts +3 -4
- package/dist/knob-contracts/button-knobs.d.ts +3 -4
- package/dist/knob-contracts/button-knobs.js +1 -0
- package/dist/knob-contracts/calendar-knobs.d.ts +3 -4
- package/dist/knob-contracts/card-knobs.d.ts +3 -4
- package/dist/knob-contracts/chat-composer-attachment-knobs.d.ts +3 -4
- package/dist/knob-contracts/chat-composer-attachment-knobs.js +3 -1
- package/dist/knob-contracts/chat-composer-knobs.d.ts +3 -4
- package/dist/knob-contracts/chat-composer-knobs.js +1 -0
- package/dist/knob-contracts/chat-layout-knobs.d.ts +3 -4
- package/dist/knob-contracts/chat-layout-knobs.js +2 -3
- package/dist/knob-contracts/chat-message-knobs.d.ts +3 -4
- package/dist/knob-contracts/choice-knobs.d.ts +3 -4
- package/dist/knob-contracts/choice-knobs.js +2 -1
- package/dist/knob-contracts/code-diff-knobs.d.ts +3 -4
- package/dist/knob-contracts/code-diff-knobs.js +1 -0
- package/dist/knob-contracts/code-knobs.d.ts +3 -4
- package/dist/knob-contracts/code-knobs.js +3 -1
- package/dist/knob-contracts/collapsible-knobs.d.ts +3 -4
- package/dist/knob-contracts/color-picker-knobs.d.ts +3 -4
- package/dist/knob-contracts/context-knobs.d.ts +3 -4
- package/dist/knob-contracts/dockable-panel-knobs.d.ts +3 -4
- package/dist/knob-contracts/dockable-panel-knobs.js +1 -0
- package/dist/knob-contracts/dropzone-knobs.d.ts +3 -4
- package/dist/knob-contracts/dropzone-knobs.js +1 -0
- package/dist/knob-contracts/dynamic-notification-knobs.d.ts +3 -4
- package/dist/knob-contracts/empty-knobs.d.ts +3 -4
- package/dist/knob-contracts/empty-knobs.js +14 -1
- package/dist/knob-contracts/environment-variables-knobs.d.ts +3 -4
- package/dist/knob-contracts/environment-variables-knobs.js +2 -1
- package/dist/knob-contracts/field-knobs.d.ts +3 -4
- package/dist/knob-contracts/gradient-editor-knobs.d.ts +3 -4
- package/dist/knob-contracts/gradient-editor-knobs.js +3 -1
- package/dist/knob-contracts/infinite-canvas-knobs.d.ts +3 -4
- package/dist/knob-contracts/inline-attachment-knobs.d.ts +3 -4
- package/dist/knob-contracts/inline-attachment-knobs.js +2 -1
- package/dist/knob-contracts/inline-citation-knobs.d.ts +3 -4
- package/dist/knob-contracts/inline-citation-knobs.js +1 -0
- package/dist/knob-contracts/item-knobs.d.ts +3 -4
- package/dist/knob-contracts/kbd-knobs.d.ts +3 -4
- package/dist/knob-contracts/markdown-block-knobs.d.ts +3 -4
- package/dist/knob-contracts/markdown-block-knobs.js +2 -0
- package/dist/knob-contracts/markdown-knobs.d.ts +3 -4
- package/dist/knob-contracts/markdown-knobs.js +1 -0
- package/dist/knob-contracts/morphing-panel-knobs.d.ts +3 -4
- package/dist/knob-contracts/pagination-knobs.d.ts +3 -4
- package/dist/knob-contracts/phone-input-knobs.d.ts +3 -4
- package/dist/knob-contracts/phone-input-knobs.js +1 -0
- package/dist/knob-contracts/popup-knobs.d.ts +3 -4
- package/dist/knob-contracts/progressive-blur-knobs.d.ts +3 -4
- package/dist/knob-contracts/progressive-blur-knobs.js +1 -0
- package/dist/knob-contracts/range-knobs.d.ts +3 -4
- package/dist/knob-contracts/resizable-knobs.d.ts +3 -4
- package/dist/knob-contracts/resizable-knobs.js +1 -0
- package/dist/knob-contracts/rich-tooltip-knobs.d.ts +3 -4
- package/dist/knob-contracts/scroll-area-knobs.d.ts +3 -4
- package/dist/knob-contracts/separator-knobs.d.ts +3 -4
- package/dist/knob-contracts/sidebar-knobs.d.ts +3 -4
- package/dist/knob-contracts/sidebar-knobs.js +1 -0
- package/dist/knob-contracts/skeleton-knobs.d.ts +3 -4
- package/dist/knob-contracts/skeleton-knobs.js +9 -1
- package/dist/knob-contracts/source-badge-knobs.d.ts +3 -4
- package/dist/knob-contracts/spinner-knobs.d.ts +3 -4
- package/dist/knob-contracts/stepper-knobs.d.ts +3 -4
- package/dist/knob-contracts/stepper-knobs.js +1 -0
- package/dist/knob-contracts/switch-knobs.d.ts +3 -4
- package/dist/knob-contracts/switch-knobs.js +7 -1
- package/dist/knob-contracts/table-knobs.d.ts +3 -4
- package/dist/knob-contracts/table-of-contents-knobs.d.ts +3 -4
- package/dist/knob-contracts/table-of-contents-knobs.js +25 -0
- package/dist/knob-contracts/tabs-knobs.d.ts +3 -4
- package/dist/knob-contracts/tabs-knobs.js +2 -1
- package/dist/knob-contracts/task-list-knobs.d.ts +3 -4
- package/dist/knob-contracts/task-list-knobs.js +1 -0
- package/dist/knob-contracts/thread-rail-knobs.d.ts +3 -4
- package/dist/knob-contracts/timeline-knobs.d.ts +3 -4
- package/dist/knob-contracts/toolbar-knobs.d.ts +3 -4
- package/dist/knob-contracts/toolbar-knobs.js +1 -0
- package/dist/knob-contracts/track-highlight-knobs.d.ts +3 -4
- package/dist/knob-contracts/transcript-divider-knobs.d.ts +3 -4
- package/dist/knob-contracts/tree-knobs.d.ts +3 -4
- package/dist/knob-contracts/user-ask-knobs.d.ts +3 -4
- package/dist/knob-contracts/user-ask-knobs.js +1 -0
- package/dist/lib/cn.d.ts +2 -3
- package/dist/lib/code-tokens.d.ts +12 -13
- package/dist/lib/color.d.ts +26 -27
- package/dist/lib/contrast.d.ts +12 -13
- package/dist/lib/diff.d.ts +14 -15
- package/dist/lib/dropzone-validation.d.ts +25 -26
- package/dist/lib/env-file.d.ts +12 -13
- package/dist/lib/format-audio-recorder-duration.d.ts +2 -3
- package/dist/lib/liquid-glass-optics.d.ts +2 -3
- package/dist/lib/phone-input-format.d.ts +3 -4
- package/dist/lib/phone-input-format.js +1 -1
- package/dist/lib/phone-number.d.ts +8 -9
- package/dist/lib/trigger-detect.d.ts +4 -5
- package/dist/markdown-block.d.ts +11 -12
- package/dist/scripts/contrast-eval.d.ts +16 -17
- package/dist/scripts/contrast-eval.js +13 -7
- package/dist/skin-provider.d.ts +14 -0
- package/dist/skin-provider.js +21 -0
- package/dist/skin.d.ts +14 -33
- package/dist/skin.js +3 -46
- package/dist/source-badge.d.ts +7 -8
- package/dist/styles/index.css +2 -4
- package/dist/styles/recipes/accordion.css +8 -2
- package/dist/styles/recipes/action-bar.css +5 -2
- package/dist/styles/recipes/alert.css +95 -16
- package/dist/styles/recipes/avatar.css +17 -1
- package/dist/styles/recipes/badge.css +0 -1
- package/dist/styles/recipes/button.css +34 -8
- package/dist/styles/recipes/calendar.css +0 -6
- package/dist/styles/recipes/chat-composer-attachment.css +51 -53
- package/dist/styles/recipes/chat-composer.css +26 -21
- package/dist/styles/recipes/chat-layout.css +21 -62
- package/dist/styles/recipes/chat-message.css +11 -5
- package/dist/styles/recipes/choice.css +9 -2
- package/dist/styles/recipes/code-diff.css +8 -1
- package/dist/styles/recipes/code.css +39 -17
- package/dist/styles/recipes/collapsible.css +0 -3
- package/dist/styles/recipes/color-picker-details.css +1 -2
- package/dist/styles/recipes/color-picker-values.css +0 -4
- package/dist/styles/recipes/dockable-panel.css +8 -1
- package/dist/styles/recipes/dropzone.css +9 -2
- package/dist/styles/recipes/empty.css +118 -17
- package/dist/styles/recipes/environment-variables.css +8 -1
- package/dist/styles/recipes/field-parts.css +1 -6
- package/dist/styles/recipes/field.css +9 -5
- package/dist/styles/recipes/gradient-editor.css +16 -5
- package/dist/styles/recipes/inline-attachment.css +13 -8
- package/dist/styles/recipes/inline-citation.css +8 -4
- package/dist/styles/recipes/item.css +1 -1
- package/dist/styles/recipes/kbd.css +8 -0
- package/dist/styles/recipes/markdown-block.css +16 -2
- package/dist/styles/recipes/markdown.css +12 -0
- package/dist/styles/recipes/morphing-panel.css +1 -1
- package/dist/styles/recipes/pagination.css +0 -4
- package/dist/styles/recipes/phone-input.css +8 -4
- package/dist/styles/recipes/popup-lists.css +11 -0
- package/dist/styles/recipes/popup-toast.css +1 -29
- package/dist/styles/recipes/popup.css +2 -2
- package/dist/styles/recipes/progressive-blur.css +28 -7
- package/dist/styles/recipes/range.css +50 -1
- package/dist/styles/recipes/resizable.css +8 -10
- package/dist/styles/recipes/rich-tooltip.css +0 -4
- package/dist/styles/recipes/scroll-area.css +8 -2
- package/dist/styles/recipes/sidebar-menu.css +150 -0
- package/dist/styles/recipes/sidebar.css +56 -110
- package/dist/styles/recipes/skeleton.css +85 -3
- package/dist/styles/recipes/source-badge.css +0 -3
- package/dist/styles/recipes/stepper.css +8 -1
- package/dist/styles/recipes/switch.css +89 -17
- package/dist/styles/recipes/table-of-contents.css +211 -45
- package/dist/styles/recipes/table.css +0 -1
- package/dist/styles/recipes/tabs.css +19 -2
- package/dist/styles/recipes/task-list.css +8 -2
- package/dist/styles/recipes/thread-rail.css +0 -4
- package/dist/styles/recipes/toolbar.css +18 -4
- package/dist/styles/recipes/track-highlight.css +63 -5
- package/dist/styles/recipes/tree.css +2 -0
- package/dist/styles/recipes/user-ask.css +8 -4
- package/dist/styles/theme.css +130 -138
- package/dist/surface-variants.d.ts +4 -5
- package/dist/task-list.d.ts +16 -17
- package/dist/thread-rail.d.ts +21 -22
- package/dist/transcript-divider.d.ts +6 -7
- package/dist/ui/accordion.d.ts +10 -11
- package/dist/ui/alert-dialog.d.ts +11 -12
- package/dist/ui/alert-dialog.js +8 -6
- package/dist/ui/alert.d.ts +9 -10
- package/dist/ui/alert.js +3 -3
- package/dist/ui/aspect-ratio.d.ts +3 -4
- package/dist/ui/autocomplete.d.ts +19 -20
- package/dist/ui/autocomplete.js +5 -3
- package/dist/ui/avatar.d.ts +9 -10
- package/dist/ui/badge.d.ts +9 -10
- package/dist/ui/button-group.d.ts +7 -8
- package/dist/ui/button-group.js +3 -2
- package/dist/ui/button.d.ts +17 -18
- package/dist/ui/button.js +20 -5
- package/dist/ui/calendar.d.ts +3 -4
- package/dist/ui/card.d.ts +16 -17
- package/dist/ui/checkbox-group.d.ts +4 -5
- package/dist/ui/checkbox-group.js +3 -2
- package/dist/ui/checkbox.d.ts +3 -4
- package/dist/ui/code-diff.d.ts +8 -9
- package/dist/ui/code.d.ts +32 -23
- package/dist/ui/code.js +41 -20
- package/dist/ui/collapsible.d.ts +7 -8
- package/dist/ui/color-picker.d.ts +40 -41
- package/dist/ui/color-picker.js +5 -3
- package/dist/ui/combobox-disabled-selection.d.ts +3 -4
- package/dist/ui/combobox.d.ts +21 -20
- package/dist/ui/combobox.js +5 -3
- package/dist/ui/command.d.ts +19 -18
- package/dist/ui/command.js +38 -12
- package/dist/ui/context-menu.d.ts +30 -31
- package/dist/ui/context-menu.js +8 -5
- package/dist/ui/dialog.d.ts +13 -13
- package/dist/ui/dialog.js +10 -8
- package/dist/ui/dockable-panel-geometry.d.ts +7 -8
- package/dist/ui/dockable-panel.d.ts +21 -22
- package/dist/ui/drawer.d.ts +17 -18
- package/dist/ui/drawer.js +7 -6
- package/dist/ui/dropdown-menu.d.ts +36 -29
- package/dist/ui/dropdown-menu.js +116 -9
- package/dist/ui/dropzone.d.ts +24 -24
- package/dist/ui/empty.d.ts +14 -14
- package/dist/ui/empty.js +3 -3
- package/dist/ui/field.d.ts +26 -27
- package/dist/ui/form.d.ts +4 -5
- package/dist/ui/gradient-editor.d.ts +16 -17
- package/dist/ui/hover-card.d.ts +6 -7
- package/dist/ui/hover-card.js +5 -3
- package/dist/ui/infinite-canvas.d.ts +11 -12
- package/dist/ui/input-group.d.ts +6 -7
- package/dist/ui/input-otp.d.ts +7 -8
- package/dist/ui/input.d.ts +3 -4
- package/dist/ui/item.d.ts +20 -21
- package/dist/ui/kbd.d.ts +7 -5
- package/dist/ui/kbd.js +4 -2
- package/dist/ui/markdown-elements.d.ts +20 -21
- package/dist/ui/markdown.d.ts +5 -6
- package/dist/ui/menubar.d.ts +25 -26
- package/dist/ui/menubar.js +8 -5
- package/dist/ui/meter.d.ts +11 -12
- package/dist/ui/morphing-panel.d.ts +8 -9
- package/dist/ui/native-select.d.ts +3 -4
- package/dist/ui/native-select.js +1 -1
- package/dist/ui/navigation-menu.d.ts +17 -18
- package/dist/ui/navigation-menu.js +5 -3
- package/dist/ui/number-field.d.ts +15 -16
- package/dist/ui/pagination.d.ts +10 -11
- package/dist/ui/phone-input.d.ts +5 -6
- package/dist/ui/phone-input.js +40 -37
- package/dist/ui/popover.d.ts +11 -12
- package/dist/ui/popover.js +5 -3
- package/dist/ui/progress.d.ts +11 -12
- package/dist/ui/progressive-blur.d.ts +4 -5
- package/dist/ui/radio-group.d.ts +5 -6
- package/dist/ui/resizable.d.ts +12 -13
- package/dist/ui/responsive-dialog.d.ts +11 -12
- package/dist/ui/rich-tooltip-tour.d.ts +5 -6
- package/dist/ui/rich-tooltip.d.ts +21 -23
- package/dist/ui/rich-tooltip.js +5 -5
- package/dist/ui/scroll-area.d.ts +7 -8
- package/dist/ui/scroll-area.js +9 -6
- package/dist/ui/select.d.ts +21 -14
- package/dist/ui/select.js +7 -4
- package/dist/ui/separator.d.ts +2 -3
- package/dist/ui/sheet.d.ts +8 -9
- package/dist/ui/sheet.js +7 -5
- package/dist/ui/sidebar-menu.d.ts +24 -15
- package/dist/ui/sidebar-menu.js +30 -4
- package/dist/ui/sidebar-provider.d.ts +32 -7
- package/dist/ui/sidebar-provider.js +82 -22
- package/dist/ui/sidebar-resize-rail.d.ts +8 -0
- package/dist/ui/sidebar-resize-rail.js +192 -0
- package/dist/ui/sidebar.d.ts +20 -14
- package/dist/ui/sidebar.js +122 -57
- package/dist/ui/skeleton.d.ts +7 -4
- package/dist/ui/skeleton.js +9 -2
- package/dist/ui/slider.d.ts +6 -5
- package/dist/ui/slider.js +16 -13
- package/dist/ui/spinner.d.ts +3 -4
- package/dist/ui/stepper.d.ts +22 -23
- package/dist/ui/switch.d.ts +3 -4
- package/dist/ui/switch.js +12 -1
- package/dist/ui/table-of-contents.d.ts +7 -8
- package/dist/ui/table-of-contents.js +4 -2
- package/dist/ui/table.d.ts +17 -18
- package/dist/ui/tabs.d.ts +14 -11
- package/dist/ui/textarea.d.ts +3 -4
- package/dist/ui/timeline.d.ts +18 -19
- package/dist/ui/toast.d.ts +9 -9
- package/dist/ui/toast.js +21 -14
- package/dist/ui/toggle.d.ts +5 -6
- package/dist/ui/toggle.js +3 -2
- package/dist/ui/toolbar.d.ts +15 -16
- package/dist/ui/toolbar.js +15 -4
- package/dist/ui/tooltip.d.ts +6 -13
- package/dist/ui/tooltip.js +7 -8
- package/dist/ui/tree.d.ts +18 -19
- package/dist/ui/tree.js +3 -2
- package/dist/ui/trigger-menu.d.ts +15 -16
- package/dist/ui/trigger-menu.js +5 -3
- package/dist/ui/use-switch-drag.d.ts +7 -0
- package/dist/ui/use-switch-drag.js +104 -0
- package/dist/user-ask.d.ts +24 -25
- package/package.json +15 -15
- package/dist/code-block-editor.d.ts +0 -59
- package/dist/code-block-editor.js +0 -250
- package/dist/knob-contracts/code-block-editor-knobs.d.ts +0 -5
- package/dist/knob-contracts/code-block-editor-knobs.js +0 -11
- package/dist/lib/code-block-shiki.d.ts +0 -9
- package/dist/lib/code-block-shiki.js +0 -6
- package/dist/skin.config.d.ts +0 -5
- package/dist/skin.config.js +0 -12
- package/dist/styles/recipes/code-block-editor.css +0 -136
- package/dist/styles/skin-theme.css +0 -137
- package/dist/styles/skin.css +0 -143
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
[data-control-family="field"][data-field-kind="combobox"]
|
|
27
27
|
)
|
|
28
28
|
) {
|
|
29
|
-
transition-property: color,
|
|
29
|
+
transition-property: color, border-color, box-shadow, opacity, backdrop-filter;
|
|
30
30
|
transition-duration: var(--duration-fast);
|
|
31
31
|
transition-timing-function: var(--ease-standard);
|
|
32
32
|
}
|
|
@@ -59,10 +59,10 @@
|
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
@media (hover: hover) {
|
|
62
|
-
:where([data-control-family="field"][data-field-kind="autocomplete"]:hover),
|
|
63
|
-
:where([data-control-family="field"][data-field-kind="combobox"]:hover),
|
|
64
|
-
:where([data-control-family="field"][data-field-kind="native-select"]:hover),
|
|
65
|
-
:where([data-control-family="field"][data-field-kind="number-field"]:hover) {
|
|
62
|
+
:where([data-control-family="field"][data-control="true"][data-field-kind="autocomplete"]:hover),
|
|
63
|
+
:where([data-control-family="field"][data-control="true"][data-field-kind="combobox"]:hover),
|
|
64
|
+
:where([data-control-family="field"][data-control="true"][data-field-kind="native-select"]:hover),
|
|
65
|
+
:where([data-control-family="field"][data-control="true"][data-field-kind="number-field"]:hover) {
|
|
66
66
|
background: var(--hover-fill);
|
|
67
67
|
}
|
|
68
68
|
}
|
|
@@ -102,6 +102,10 @@
|
|
|
102
102
|
appearance: none;
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
+
:where([data-control-family="field"][data-field-kind="native-select"][data-slot="icon"]) {
|
|
106
|
+
right: calc(var(--padding-x) * 0.6);
|
|
107
|
+
}
|
|
108
|
+
|
|
105
109
|
:where([data-control-family="field"][data-field-kind="number-field"][data-slot="drag-icon"]) {
|
|
106
110
|
color: var(--foreground);
|
|
107
111
|
}
|
|
@@ -6,10 +6,12 @@
|
|
|
6
6
|
:where([data-control-family="gradient-editor"][data-slot="root"]) {
|
|
7
7
|
gap: calc(var(--spacing) * 3);
|
|
8
8
|
--cui-gradient-editor-add-border-color: var(--border);
|
|
9
|
+
--cui-gradient-editor-add-border-width: 1px;
|
|
9
10
|
--cui-gradient-editor-add-radius: 9999px;
|
|
10
11
|
--cui-gradient-editor-preview-radius: var(--radius-field);
|
|
11
12
|
--cui-gradient-editor-preview-ring-color: oklch(from var(--border) l c h / 0.6);
|
|
12
13
|
--cui-gradient-editor-stop-border-color: oklch(1 0 0);
|
|
14
|
+
--cui-gradient-editor-stop-border-width: 2px;
|
|
13
15
|
--cui-gradient-editor-stop-radius: 9999px;
|
|
14
16
|
--cui-gradient-editor-stop-shadow: 0 0 0 1px oklch(from var(--foreground) l c h / 0.4);
|
|
15
17
|
--cui-gradient-editor-track-radius: 9999px;
|
|
@@ -30,7 +32,7 @@
|
|
|
30
32
|
:where([data-control-family="gradient-editor"][data-slot="stop"]) {
|
|
31
33
|
inline-size: calc(var(--spacing) * 5);
|
|
32
34
|
block-size: calc(var(--spacing) * 5);
|
|
33
|
-
border:
|
|
35
|
+
border: var(--cui-gradient-editor-stop-border-width) solid var(--cui-gradient-editor-stop-border-color);
|
|
34
36
|
border-radius: var(--cui-gradient-editor-stop-radius);
|
|
35
37
|
box-shadow: var(--cui-gradient-editor-stop-shadow);
|
|
36
38
|
outline: none;
|
|
@@ -40,13 +42,10 @@
|
|
|
40
42
|
:where([data-control-family="gradient-editor"][data-slot="stop-add"]) {
|
|
41
43
|
inline-size: calc(var(--spacing) * 7);
|
|
42
44
|
block-size: calc(var(--spacing) * 7);
|
|
43
|
-
border:
|
|
45
|
+
border: var(--cui-gradient-editor-add-border-width) dashed var(--cui-gradient-editor-add-border-color);
|
|
44
46
|
border-radius: var(--cui-gradient-editor-add-radius);
|
|
45
47
|
color: var(--muted-foreground);
|
|
46
48
|
outline: none;
|
|
47
|
-
transition:
|
|
48
|
-
border-color var(--duration-fast) var(--ease-standard),
|
|
49
|
-
color var(--duration-fast) var(--ease-standard);
|
|
50
49
|
}
|
|
51
50
|
|
|
52
51
|
@media (hover: hover) {
|
|
@@ -91,6 +90,12 @@
|
|
|
91
90
|
initial-value: transparent;
|
|
92
91
|
}
|
|
93
92
|
|
|
93
|
+
@property --cui-gradient-editor-stop-border-width {
|
|
94
|
+
syntax: "<length>";
|
|
95
|
+
inherits: true;
|
|
96
|
+
initial-value: 0px;
|
|
97
|
+
}
|
|
98
|
+
|
|
94
99
|
@property --cui-gradient-editor-stop-shadow {
|
|
95
100
|
syntax: "*";
|
|
96
101
|
inherits: true;
|
|
@@ -107,3 +112,9 @@
|
|
|
107
112
|
inherits: true;
|
|
108
113
|
initial-value: transparent;
|
|
109
114
|
}
|
|
115
|
+
|
|
116
|
+
@property --cui-gradient-editor-add-border-width {
|
|
117
|
+
syntax: "<length>";
|
|
118
|
+
inherits: true;
|
|
119
|
+
initial-value: 0px;
|
|
120
|
+
}
|
|
@@ -4,18 +4,17 @@
|
|
|
4
4
|
--cui-inline-attachment-hover-shadow: var(--shadow-md);
|
|
5
5
|
--cui-inline-attachment-radius: var(--radius-scene);
|
|
6
6
|
--cui-inline-attachment-ring-color: var(--border);
|
|
7
|
+
--cui-inline-attachment-image-outline-color: oklch(from var(--foreground) l c h / 0.1);
|
|
7
8
|
--cui-inline-attachment-shadow: var(--shadow-sm);
|
|
8
9
|
--cui-inline-attachment-content-background: oklch(from var(--background) l c h / 0.85);
|
|
9
10
|
--cui-inline-attachment-content-foreground: var(--foreground);
|
|
10
11
|
--cui-inline-attachment-content-radius: var(--radius-control);
|
|
11
12
|
--cui-inline-attachment-content-shadow: var(--shadow-sm);
|
|
12
|
-
--_inline-attachment-media-hover-scale: 1.02;
|
|
13
13
|
border-radius: var(--cui-inline-attachment-radius);
|
|
14
14
|
background: var(--cui-inline-attachment-background);
|
|
15
15
|
box-shadow:
|
|
16
16
|
inset 0 0 0 1px var(--cui-inline-attachment-ring-color),
|
|
17
17
|
var(--cui-inline-attachment-shadow);
|
|
18
|
-
transition: box-shadow var(--duration-fast) var(--ease-standard);
|
|
19
18
|
text-align: left;
|
|
20
19
|
}
|
|
21
20
|
|
|
@@ -33,14 +32,14 @@
|
|
|
33
32
|
}
|
|
34
33
|
}
|
|
35
34
|
|
|
36
|
-
:where([data-control-family="inline-attachment"][data-slot="
|
|
37
|
-
|
|
35
|
+
:where([data-control-family="inline-attachment"][data-slot="image"]) {
|
|
36
|
+
border-radius: inherit;
|
|
38
37
|
}
|
|
39
38
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
39
|
+
:where([data-control-family="inline-attachment"][data-slot="media-image"]) {
|
|
40
|
+
border-radius: inherit;
|
|
41
|
+
outline: 1px solid var(--cui-inline-attachment-image-outline-color);
|
|
42
|
+
outline-offset: -1px;
|
|
44
43
|
}
|
|
45
44
|
|
|
46
45
|
:where([data-control-family="inline-attachment"][data-slot="document"]) {
|
|
@@ -180,3 +179,9 @@
|
|
|
180
179
|
syntax: "*";
|
|
181
180
|
inherits: true;
|
|
182
181
|
}
|
|
182
|
+
|
|
183
|
+
@property --cui-inline-attachment-image-outline-color {
|
|
184
|
+
syntax: "<color>";
|
|
185
|
+
inherits: true;
|
|
186
|
+
initial-value: transparent;
|
|
187
|
+
}
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
--cui-inline-citation-quote-radius: var(--radius-control);
|
|
7
7
|
--cui-inline-citation-trigger-background: oklch(from var(--muted) l c h / 0.55);
|
|
8
8
|
--cui-inline-citation-trigger-border-color: var(--border);
|
|
9
|
+
--cui-inline-citation-trigger-border-width: 1px;
|
|
9
10
|
--cui-inline-citation-trigger-foreground: var(--muted-foreground);
|
|
10
11
|
--cui-inline-citation-trigger-hover-background: var(--muted);
|
|
11
12
|
--cui-inline-citation-trigger-hover-foreground: var(--foreground);
|
|
@@ -17,16 +18,13 @@
|
|
|
17
18
|
max-inline-size: calc(var(--spacing) * 52);
|
|
18
19
|
gap: calc(var(--spacing) * 1.5);
|
|
19
20
|
padding-inline: calc(var(--spacing) * 1.5) calc(var(--spacing) * 2);
|
|
20
|
-
border:
|
|
21
|
+
border: var(--cui-inline-citation-trigger-border-width) solid var(--cui-inline-citation-trigger-border-color);
|
|
21
22
|
border-radius: var(--cui-inline-citation-trigger-radius);
|
|
22
23
|
background: var(--cui-inline-citation-trigger-background);
|
|
23
24
|
color: var(--cui-inline-citation-trigger-foreground);
|
|
24
25
|
font-size: var(--text-caption);
|
|
25
26
|
font-weight: var(--font-weight-normal);
|
|
26
27
|
outline-style: none;
|
|
27
|
-
transition-property: background-color, color, box-shadow;
|
|
28
|
-
transition-duration: var(--duration-fast);
|
|
29
|
-
transition-timing-function: var(--ease-standard);
|
|
30
28
|
}
|
|
31
29
|
|
|
32
30
|
@media (hover: hover) {
|
|
@@ -143,6 +141,12 @@
|
|
|
143
141
|
initial-value: transparent;
|
|
144
142
|
}
|
|
145
143
|
|
|
144
|
+
@property --cui-inline-citation-trigger-border-width {
|
|
145
|
+
syntax: "<length>";
|
|
146
|
+
inherits: true;
|
|
147
|
+
initial-value: 0px;
|
|
148
|
+
}
|
|
149
|
+
|
|
146
150
|
@property --cui-inline-citation-trigger-hover-background {
|
|
147
151
|
syntax: "<color>";
|
|
148
152
|
inherits: true;
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
background: var(--_item-background);
|
|
14
14
|
box-shadow: none;
|
|
15
15
|
color: var(--foreground);
|
|
16
|
-
transition-property:
|
|
16
|
+
transition-property: scale;
|
|
17
17
|
transition-duration: var(--duration-fast);
|
|
18
18
|
transition-timing-function: var(--ease-standard);
|
|
19
19
|
gap: calc(var(--spacing) * 3);
|
|
@@ -20,6 +20,14 @@
|
|
|
20
20
|
font-weight: var(--font-weight-medium);
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
+
:where([data-control-family="kbd"][data-slot="root"][data-variant="ghost"]) {
|
|
24
|
+
min-inline-size: 0;
|
|
25
|
+
padding-inline: 0;
|
|
26
|
+
--cui-kbd-background: transparent;
|
|
27
|
+
--cui-kbd-border-color: transparent;
|
|
28
|
+
--cui-kbd-shadow: 0 0 transparent;
|
|
29
|
+
}
|
|
30
|
+
|
|
23
31
|
:where([data-control-family="kbd"][data-slot="group"]) {
|
|
24
32
|
gap: calc(var(--spacing) * 1);
|
|
25
33
|
}
|
|
@@ -4,11 +4,13 @@
|
|
|
4
4
|
--cui-markdown-block-radius: var(--radius-panel);
|
|
5
5
|
--cui-markdown-block-background: var(--background);
|
|
6
6
|
--cui-markdown-block-border-color: var(--border);
|
|
7
|
+
--cui-markdown-block-border-width: 1px;
|
|
7
8
|
--cui-markdown-block-shadow: var(--shadow-sm);
|
|
8
9
|
--cui-markdown-block-header-border-color: var(--border);
|
|
10
|
+
--cui-markdown-block-header-border-width: 1px;
|
|
9
11
|
--cui-markdown-block-icon-background: oklch(from var(--foreground) l c h / 0.08);
|
|
10
12
|
background: var(--cui-markdown-block-background);
|
|
11
|
-
border:
|
|
13
|
+
border: var(--cui-markdown-block-border-width) solid var(--cui-markdown-block-border-color);
|
|
12
14
|
border-radius: var(--cui-markdown-block-radius);
|
|
13
15
|
box-shadow: var(--cui-markdown-block-shadow);
|
|
14
16
|
}
|
|
@@ -17,7 +19,7 @@
|
|
|
17
19
|
gap: calc(var(--spacing) * 3);
|
|
18
20
|
padding-inline: calc(var(--spacing) * 4);
|
|
19
21
|
padding-block: calc(var(--spacing) * 2);
|
|
20
|
-
border-bottom:
|
|
22
|
+
border-bottom: var(--cui-markdown-block-header-border-width) solid var(--cui-markdown-block-header-border-color);
|
|
21
23
|
}
|
|
22
24
|
|
|
23
25
|
:where([data-control-family="markdown-block"][data-slot="title"]) {
|
|
@@ -57,6 +59,12 @@
|
|
|
57
59
|
initial-value: transparent;
|
|
58
60
|
}
|
|
59
61
|
|
|
62
|
+
@property --cui-markdown-block-border-width {
|
|
63
|
+
syntax: "<length>";
|
|
64
|
+
inherits: true;
|
|
65
|
+
initial-value: 0px;
|
|
66
|
+
}
|
|
67
|
+
|
|
60
68
|
@property --cui-markdown-block-shadow {
|
|
61
69
|
syntax: "*";
|
|
62
70
|
inherits: true;
|
|
@@ -68,6 +76,12 @@
|
|
|
68
76
|
initial-value: transparent;
|
|
69
77
|
}
|
|
70
78
|
|
|
79
|
+
@property --cui-markdown-block-header-border-width {
|
|
80
|
+
syntax: "<length>";
|
|
81
|
+
inherits: true;
|
|
82
|
+
initial-value: 0px;
|
|
83
|
+
}
|
|
84
|
+
|
|
71
85
|
@property --cui-markdown-block-icon-background {
|
|
72
86
|
syntax: "<color>";
|
|
73
87
|
inherits: true;
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
--cui-markdown-inline-code-background: color-mix(in oklab, var(--foreground) 8%, transparent);
|
|
7
7
|
--cui-markdown-inline-code-foreground: var(--foreground);
|
|
8
8
|
--cui-markdown-inline-code-radius: 0.25rem;
|
|
9
|
+
--cui-markdown-image-outline-color: oklch(from var(--foreground) l c h / 0.1);
|
|
9
10
|
--cui-markdown-link-foreground: var(--primary-text);
|
|
10
11
|
--cui-markdown-table-cell-border-color: var(--border);
|
|
11
12
|
--cui-markdown-table-header-background: var(--muted);
|
|
@@ -13,6 +14,11 @@
|
|
|
13
14
|
font-size: var(--text-label);
|
|
14
15
|
}
|
|
15
16
|
|
|
17
|
+
:where([data-control-family="markdown"][data-slot="root"] img[data-streamdown="image"]) {
|
|
18
|
+
outline: 1px solid var(--cui-markdown-image-outline-color);
|
|
19
|
+
outline-offset: -1px;
|
|
20
|
+
}
|
|
21
|
+
|
|
16
22
|
:where([data-control-family="markdown"][data-slot="table-cell"]) {
|
|
17
23
|
padding-inline: calc(var(--spacing) * 3);
|
|
18
24
|
padding-block: calc(var(--spacing) * 1.5);
|
|
@@ -191,6 +197,12 @@
|
|
|
191
197
|
initial-value: transparent;
|
|
192
198
|
}
|
|
193
199
|
|
|
200
|
+
@property --cui-markdown-image-outline-color {
|
|
201
|
+
syntax: "<color>";
|
|
202
|
+
inherits: true;
|
|
203
|
+
initial-value: transparent;
|
|
204
|
+
}
|
|
205
|
+
|
|
194
206
|
@property --cui-markdown-table-cell-border-color {
|
|
195
207
|
syntax: "<color>";
|
|
196
208
|
inherits: true;
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
color: currentColor;
|
|
33
33
|
font-size: var(--text-body);
|
|
34
34
|
font-weight: var(--font-weight-medium);
|
|
35
|
-
transition-property: top, right, width, height, border-radius, padding, color,
|
|
35
|
+
transition-property: top, right, width, height, border-radius, padding, color, box-shadow;
|
|
36
36
|
transition-duration: var(--duration-slow);
|
|
37
37
|
transition-timing-function: var(--ease-emphasized);
|
|
38
38
|
}
|
|
@@ -21,10 +21,6 @@
|
|
|
21
21
|
var(--cui-pagination-link-shadow);
|
|
22
22
|
color: var(--cui-pagination-link-foreground);
|
|
23
23
|
outline: none;
|
|
24
|
-
transition:
|
|
25
|
-
background-color var(--duration-fast) var(--ease-standard),
|
|
26
|
-
color var(--duration-fast) var(--ease-standard),
|
|
27
|
-
box-shadow var(--duration-fast) var(--ease-standard);
|
|
28
24
|
}
|
|
29
25
|
|
|
30
26
|
:where([data-control-family="pagination"][data-slot="link"][data-active="true"]) {
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
@layer components {
|
|
2
2
|
:where([data-control-family="field"][data-field-kind="phone-input"][data-slot="root"]) {
|
|
3
3
|
--cui-phone-input-country-border-color: var(--border);
|
|
4
|
+
--cui-phone-input-country-border-width: 1px;
|
|
4
5
|
--cui-phone-input-trigger-hover-background: oklch(from var(--foreground) l c h / 0.06);
|
|
5
6
|
--cui-phone-input-trigger-focus-background: oklch(from var(--foreground) l c h / 0.06);
|
|
6
7
|
--cui-phone-input-metadata-foreground: var(--muted-foreground);
|
|
7
8
|
--cui-phone-input-chevron-foreground: var(--muted-foreground);
|
|
8
9
|
}
|
|
9
10
|
:where([data-control-family="field"][data-phone-input-country]) {
|
|
10
|
-
border-inline-end:
|
|
11
|
+
border-inline-end: var(--cui-phone-input-country-border-width) solid var(--cui-phone-input-country-border-color);
|
|
11
12
|
}
|
|
12
13
|
|
|
13
14
|
@media (hover: hover) {
|
|
@@ -64,9 +65,6 @@
|
|
|
64
65
|
gap: calc(var(--spacing) * 2);
|
|
65
66
|
padding-inline: calc(var(--spacing) * 3);
|
|
66
67
|
outline-style: none;
|
|
67
|
-
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke;
|
|
68
|
-
transition-timing-function: var(--ease-standard);
|
|
69
|
-
transition-duration: var(--duration-fast);
|
|
70
68
|
}
|
|
71
69
|
|
|
72
70
|
:where([data-control-family="field"][data-field-kind="phone-input"][data-slot="input"]) {
|
|
@@ -80,6 +78,12 @@
|
|
|
80
78
|
initial-value: transparent;
|
|
81
79
|
}
|
|
82
80
|
|
|
81
|
+
@property --cui-phone-input-country-border-width {
|
|
82
|
+
syntax: "<length>";
|
|
83
|
+
inherits: true;
|
|
84
|
+
initial-value: 0px;
|
|
85
|
+
}
|
|
86
|
+
|
|
83
87
|
@property --cui-phone-input-trigger-hover-background {
|
|
84
88
|
syntax: "<color>";
|
|
85
89
|
inherits: true;
|
|
@@ -62,6 +62,15 @@
|
|
|
62
62
|
outline-style: none;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
+
:where([data-control-family="popup"][data-popup-kind="command"][data-chrome="embedded"]) {
|
|
66
|
+
border-radius: inherit;
|
|
67
|
+
corner-shape: inherit;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
:where([data-control-family="popup"][data-popup-kind="command"] > [data-control-family="scroll-area"][data-slot="root"]:last-child) {
|
|
71
|
+
border-radius: inherit;
|
|
72
|
+
}
|
|
73
|
+
|
|
65
74
|
:where([data-control-family="popup"][data-popup-kind="command"][data-slot="group"] [cmdk-group-heading]) {
|
|
66
75
|
padding-inline: calc(var(--spacing) * 2);
|
|
67
76
|
padding-block: calc(var(--spacing) * 1.5);
|
|
@@ -79,6 +88,8 @@
|
|
|
79
88
|
}
|
|
80
89
|
|
|
81
90
|
:where([data-control-family="popup"][data-popup-kind="command"][data-slot="input-wrapper"]) {
|
|
91
|
+
border-start-start-radius: inherit;
|
|
92
|
+
border-start-end-radius: inherit;
|
|
82
93
|
gap: calc(var(--spacing) * 2);
|
|
83
94
|
block-size: var(--control-h-lg);
|
|
84
95
|
padding-inline: calc(var(--padding-x) * 1.25);
|
|
@@ -87,37 +87,9 @@
|
|
|
87
87
|
font-size: var(--text-body);
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
:where([data-control-family="
|
|
91
|
-
--_toast-control-foreground: var(--foreground);
|
|
92
|
-
border-radius: var(--radius-control);
|
|
93
|
-
background: transparent;
|
|
94
|
-
color: var(--_toast-control-foreground);
|
|
95
|
-
outline: none;
|
|
96
|
-
transition:
|
|
97
|
-
color var(--duration-fast) var(--ease-standard),
|
|
98
|
-
background-color var(--duration-fast) var(--ease-standard),
|
|
99
|
-
opacity var(--duration-fast) var(--ease-standard);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
:where([data-control-family="popup"][data-popup-kind="toast"]:where([data-slot="action"], [data-slot="close"]):hover) {
|
|
103
|
-
background: oklch(from var(--foreground) l c h / 0.06);
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
:where([data-control-family="popup"][data-popup-kind="toast"][data-slot="action"]) {
|
|
107
|
-
padding: calc(var(--spacing) * 1) calc(var(--spacing) * 2);
|
|
108
|
-
box-shadow: inset 0 0 0 1px var(--border);
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
:where([data-control-family="popup"][data-popup-kind="toast"][data-slot="close"]) {
|
|
90
|
+
:where([data-control-family="button"][data-popup-kind="toast"][data-popup-part="close"]) {
|
|
112
91
|
margin-block-start: calc(var(--spacing) * -1);
|
|
113
92
|
margin-inline-end: calc(var(--spacing) * -1);
|
|
114
|
-
padding: calc(var(--spacing) * 1);
|
|
115
|
-
--_toast-control-foreground: var(--muted-foreground);
|
|
116
|
-
opacity: 0.7;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
:where([data-control-family="popup"][data-popup-kind="toast"][data-slot="close"]:hover) {
|
|
120
|
-
opacity: 1;
|
|
121
93
|
}
|
|
122
94
|
|
|
123
95
|
:where([data-control-family="popup"][data-popup-kind="toast"][data-slot="viewport"]) {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
--cui-popup-border-width: var(--control-rim-width);
|
|
10
10
|
--cui-popup-shadow: var(--shadow-pop);
|
|
11
11
|
--cui-popup-backdrop-filter: blur(var(--backdrop-blur-popover));
|
|
12
|
-
--cui-popup-item-radius: var(--radius-popup-item);
|
|
12
|
+
--cui-popup-item-radius: var(--radius-popup-item-fit);
|
|
13
13
|
--cui-popup-item-foreground: var(--foreground);
|
|
14
14
|
--cui-popup-item-highlight-background: var(--hover-fill);
|
|
15
15
|
--cui-popup-item-highlight-foreground: var(--cui-popup-item-foreground);
|
|
@@ -175,7 +175,7 @@
|
|
|
175
175
|
|
|
176
176
|
:where([data-control-family="popup"][data-popup-part="navigation-link"]) {
|
|
177
177
|
font-size: var(--text-body);
|
|
178
|
-
transition-property:
|
|
178
|
+
transition-property: translate;
|
|
179
179
|
transition-duration: var(--duration-fast);
|
|
180
180
|
transition-timing-function: var(--ease-standard);
|
|
181
181
|
}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
:where([data-control-family="progressive-blur"][data-slot="root"]) {
|
|
3
3
|
--cui-progressive-blur-size: 3rem;
|
|
4
4
|
--cui-progressive-blur-backdrop-blur: 16px;
|
|
5
|
+
--cui-progressive-blur-fade-size: 0.5rem;
|
|
5
6
|
--cui-progressive-blur-transition-duration: var(--duration-base);
|
|
6
7
|
--cui-progressive-blur-transition-delay: calc(var(--cui-progressive-blur-transition-duration) * 0.06);
|
|
7
8
|
--_progressive-blur-direction: to bottom;
|
|
@@ -70,13 +71,20 @@
|
|
|
70
71
|
visibility: var(--_progressive-blur-visibility, hidden);
|
|
71
72
|
-webkit-backdrop-filter: blur(max(0px, calc(var(--cui-progressive-blur-backdrop-blur) / var(--_progressive-blur-divisor))));
|
|
72
73
|
backdrop-filter: blur(max(0px, calc(var(--cui-progressive-blur-backdrop-blur) / var(--_progressive-blur-divisor))));
|
|
73
|
-
mask-image:
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
74
|
+
mask-image:
|
|
75
|
+
linear-gradient(
|
|
76
|
+
var(--_progressive-blur-direction),
|
|
77
|
+
oklch(0 0 0 / 0) calc(var(--_progressive-blur-index) * 100% / 7),
|
|
78
|
+
oklch(0 0 0) calc((var(--_progressive-blur-index) + 1) * 100% / 7),
|
|
79
|
+
oklch(0 0 0) calc((var(--_progressive-blur-index) + 2) * 100% / 7),
|
|
80
|
+
oklch(0 0 0 / 0) calc((var(--_progressive-blur-index) + 3) * 100% / 7)
|
|
81
|
+
),
|
|
82
|
+
linear-gradient(
|
|
83
|
+
var(--_progressive-blur-direction),
|
|
84
|
+
oklch(0 0 0) calc(100% - min(50%, max(0px, var(--cui-progressive-blur-fade-size)))),
|
|
85
|
+
oklch(0 0 0 / 0)
|
|
86
|
+
);
|
|
87
|
+
mask-composite: intersect;
|
|
80
88
|
transition:
|
|
81
89
|
opacity var(--_progressive-blur-duration) var(--ease-standard)
|
|
82
90
|
calc(var(--_progressive-blur-enter, 0) * var(--_progressive-blur-index) * var(--cui-progressive-blur-transition-delay)),
|
|
@@ -113,6 +121,13 @@
|
|
|
113
121
|
--_progressive-blur-divisor: 1;
|
|
114
122
|
}
|
|
115
123
|
|
|
124
|
+
@container style(--cui-progressive-blur-backdrop-blur: 0px) {
|
|
125
|
+
:where([data-control-family="progressive-blur"][data-slot="layer"]) {
|
|
126
|
+
-webkit-backdrop-filter: none;
|
|
127
|
+
backdrop-filter: none;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
116
131
|
@media (prefers-reduced-transparency: reduce), (forced-colors: active) {
|
|
117
132
|
:where([data-control-family="progressive-blur"][data-slot="root"]) {
|
|
118
133
|
display: none;
|
|
@@ -132,6 +147,12 @@
|
|
|
132
147
|
initial-value: 0px;
|
|
133
148
|
}
|
|
134
149
|
|
|
150
|
+
@property --cui-progressive-blur-fade-size {
|
|
151
|
+
syntax: "<length-percentage>";
|
|
152
|
+
inherits: true;
|
|
153
|
+
initial-value: 0px;
|
|
154
|
+
}
|
|
155
|
+
|
|
135
156
|
@property --cui-progressive-blur-transition-duration {
|
|
136
157
|
syntax: "<time>";
|
|
137
158
|
inherits: true;
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
background: var(--cui-range-thumb-background);
|
|
95
95
|
box-shadow: var(--cui-range-thumb-shadow);
|
|
96
96
|
outline: none;
|
|
97
|
-
transition-property: scale,
|
|
97
|
+
transition-property: scale, box-shadow, height, width;
|
|
98
98
|
transition-duration: var(--duration-fast);
|
|
99
99
|
}
|
|
100
100
|
|
|
@@ -173,6 +173,55 @@
|
|
|
173
173
|
opacity: 50%;
|
|
174
174
|
}
|
|
175
175
|
|
|
176
|
+
:where([data-control-family="range"][data-range-kind="slider"][data-orientation="vertical"][data-slot="control"]) {
|
|
177
|
+
padding-inline: calc(var(--spacing) * 1.5);
|
|
178
|
+
padding-block: 0;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
:where([data-control-family="range"][data-range-kind="slider"][data-orientation="vertical"][data-slot="control"][data-labeled]) {
|
|
182
|
+
inline-size: calc(var(--spacing) * 7.5);
|
|
183
|
+
block-size: 100%;
|
|
184
|
+
padding-inline: 0;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
:where([data-control-family="range"][data-range-kind="slider"][data-orientation="vertical"][data-slot="track"]) {
|
|
188
|
+
inline-size: calc(var(--spacing) * 1.5);
|
|
189
|
+
block-size: 100%;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
:where([data-control-family="range"][data-range-kind="slider"][data-orientation="vertical"][data-slot="track"][data-labeled]) {
|
|
193
|
+
inline-size: 100%;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
:where([data-control-family="range"][data-range-kind="slider"][data-orientation="vertical"][data-slot="indicator"]) {
|
|
197
|
+
width: 100%;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
:where([data-control-family="range"][data-range-kind="slider"][data-orientation="vertical"][data-slot="thumb"][data-variant="plain"]) {
|
|
201
|
+
height: 0.125rem;
|
|
202
|
+
width: 1rem;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
:where(
|
|
206
|
+
[data-control-family="range"][data-range-kind="slider"][data-orientation="vertical"][data-slot="thumb"][data-variant="plain"][data-dragging]
|
|
207
|
+
) {
|
|
208
|
+
width: 1.25rem;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
:where([data-control-family="range"][data-range-kind="slider"][data-orientation="vertical"][data-slot="root"] [data-slot="tick"]) {
|
|
212
|
+
inline-size: calc(var(--spacing) * 1.5);
|
|
213
|
+
block-size: 1px;
|
|
214
|
+
left: 0;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
:where(
|
|
218
|
+
[data-control-family="range"][data-range-kind="slider"][data-orientation="vertical"][data-slot="root"] [data-slot="label-overlay"]
|
|
219
|
+
) {
|
|
220
|
+
flex-direction: column;
|
|
221
|
+
padding-inline: 0;
|
|
222
|
+
padding-block: calc(var(--spacing) * 2);
|
|
223
|
+
}
|
|
224
|
+
|
|
176
225
|
:where([data-control-family="range"][data-range-kind="progress"][data-slot="indicator"]) {
|
|
177
226
|
transition-property: width;
|
|
178
227
|
transition-duration: var(--duration-slow);
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
--cui-resizable-group-background: var(--card);
|
|
4
4
|
--cui-resizable-group-radius: var(--radius-panel);
|
|
5
5
|
--cui-resizable-group-border-color: var(--border);
|
|
6
|
+
--cui-resizable-group-border-width: 1px;
|
|
6
7
|
--cui-resizable-handle-color: var(--foreground);
|
|
7
8
|
--cui-resizable-handle-hover-background: oklch(from var(--foreground) l c h / 0.25);
|
|
8
9
|
--cui-resizable-handle-active-background: oklch(from var(--foreground) l c h / 0.4);
|
|
@@ -14,7 +15,7 @@
|
|
|
14
15
|
}
|
|
15
16
|
|
|
16
17
|
:where([data-control-family="resizable"][data-slot="panel-group"][data-variant="framed"]) {
|
|
17
|
-
border:
|
|
18
|
+
border: var(--cui-resizable-group-border-width) solid var(--cui-resizable-group-border-color);
|
|
18
19
|
border-radius: var(--cui-resizable-group-radius);
|
|
19
20
|
box-shadow: var(--shadow-sm);
|
|
20
21
|
}
|
|
@@ -26,9 +27,6 @@
|
|
|
26
27
|
|
|
27
28
|
:where([data-control-family="resizable"][data-slot="handle"]) {
|
|
28
29
|
--_resizable-gradient-color: var(--cui-resizable-handle-color);
|
|
29
|
-
transition-property: background-color, box-shadow, opacity;
|
|
30
|
-
transition-duration: var(--duration-fast);
|
|
31
|
-
transition-timing-function: var(--ease-standard);
|
|
32
30
|
outline-style: none;
|
|
33
31
|
}
|
|
34
32
|
|
|
@@ -58,9 +56,6 @@
|
|
|
58
56
|
inset: 0;
|
|
59
57
|
content: "";
|
|
60
58
|
opacity: 0;
|
|
61
|
-
transition-property: opacity;
|
|
62
|
-
transition-duration: var(--duration-base);
|
|
63
|
-
transition-timing-function: var(--ease-standard);
|
|
64
59
|
}
|
|
65
60
|
|
|
66
61
|
:where([data-control-family="resizable"][data-slot="handle"][data-variant="hover"][data-axis="vertical"])::before {
|
|
@@ -88,9 +83,6 @@
|
|
|
88
83
|
color: var(--cui-resizable-grip-foreground);
|
|
89
84
|
box-shadow: var(--shadow-sm);
|
|
90
85
|
opacity: 1;
|
|
91
|
-
transition-property: opacity;
|
|
92
|
-
transition-duration: var(--duration-fast);
|
|
93
|
-
transition-timing-function: var(--ease-standard);
|
|
94
86
|
}
|
|
95
87
|
|
|
96
88
|
:where([data-control-family="resizable"][data-slot="handle-grip"][data-axis="vertical"]) {
|
|
@@ -133,6 +125,12 @@
|
|
|
133
125
|
initial-value: transparent;
|
|
134
126
|
}
|
|
135
127
|
|
|
128
|
+
@property --cui-resizable-group-border-width {
|
|
129
|
+
syntax: "<length>";
|
|
130
|
+
inherits: true;
|
|
131
|
+
initial-value: 0px;
|
|
132
|
+
}
|
|
133
|
+
|
|
136
134
|
@property --cui-resizable-handle-color {
|
|
137
135
|
syntax: "<color>";
|
|
138
136
|
inherits: true;
|
|
@@ -131,7 +131,6 @@
|
|
|
131
131
|
--_rich-tooltip-content-title-letter-spacing: var(--_rich-tooltip-title-letter-spacing);
|
|
132
132
|
--_rich-tooltip-arrow-rotate: 0deg;
|
|
133
133
|
--_rich-tooltip-action-outline: none;
|
|
134
|
-
--_rich-tooltip-action-transition-property: background-color, color, box-shadow;
|
|
135
134
|
}
|
|
136
135
|
|
|
137
136
|
:where([data-control-family="popup"][data-popup-kind="rich-tooltip"][data-slot="content"][data-tone="accent"]) {
|
|
@@ -203,9 +202,6 @@
|
|
|
203
202
|
color: var(--cui-rich-tooltip-action-foreground);
|
|
204
203
|
font-size: var(--text-label);
|
|
205
204
|
font-weight: var(--font-weight-medium);
|
|
206
|
-
transition-property: var(--_rich-tooltip-action-transition-property);
|
|
207
|
-
transition-duration: var(--duration-fast);
|
|
208
|
-
transition-timing-function: var(--ease-standard);
|
|
209
205
|
outline-style: var(--_rich-tooltip-action-outline);
|
|
210
206
|
}
|
|
211
207
|
|
|
@@ -5,6 +5,14 @@
|
|
|
5
5
|
--cui-scroll-area-corner-background: transparent;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
+
@supports (corner-shape: squircle) {
|
|
9
|
+
@container not style(--corner-shape: round) {
|
|
10
|
+
:where([data-control-family="scroll-area"][data-slot="root"] > [data-control-family="progressive-blur"]) {
|
|
11
|
+
display: none;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
8
16
|
:where([data-control-family="scroll-area"][data-slot="root"] > [data-scroll-area-viewport]) {
|
|
9
17
|
position: relative;
|
|
10
18
|
z-index: 0;
|
|
@@ -131,7 +139,6 @@
|
|
|
131
139
|
:where([data-control-family="scroll-area"][data-slot="scrollbar"]) {
|
|
132
140
|
z-index: 1;
|
|
133
141
|
opacity: 0;
|
|
134
|
-
transition: opacity var(--duration-fast) var(--ease-standard);
|
|
135
142
|
}
|
|
136
143
|
|
|
137
144
|
:where([data-control-family="scroll-area"][data-slot="scrollbar"][data-visibility="always"]),
|
|
@@ -143,7 +150,6 @@
|
|
|
143
150
|
:where([data-control-family="scroll-area"][data-slot="thumb"]) {
|
|
144
151
|
border-radius: var(--cui-scroll-area-thumb-radius);
|
|
145
152
|
background: var(--cui-scroll-area-thumb-background);
|
|
146
|
-
transition: background-color var(--duration-fast) var(--ease-standard);
|
|
147
153
|
}
|
|
148
154
|
|
|
149
155
|
:where([data-control-family="scroll-area"][data-slot="corner"]) {
|