@ctrl-ui/react 0.8.2 → 0.8.5
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/audio-visualizer.js +1 -1
- 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/extensions/mention.js +4 -0
- 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 +17 -21
- package/dist/chat-layout.js +72 -86
- package/dist/chat-message.d.ts +19 -15
- package/dist/chat-message.js +19 -2
- package/dist/context-model.d.ts +7 -8
- package/dist/context.d.ts +21 -22
- package/dist/context.js +0 -2
- 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-brand.d.ts +60 -0
- package/dist/email/email-brand.js +101 -0
- package/dist/email/email-code.d.ts +18 -0
- package/dist/email/email-code.js +172 -0
- package/dist/email/email-footer.d.ts +63 -0
- package/dist/email/email-footer.js +98 -0
- package/dist/email/email.d.ts +62 -14
- package/dist/email/email.js +155 -24
- package/dist/email/length.d.ts +2 -3
- package/dist/email/templates.d.ts +56 -12
- package/dist/email/templates.js +314 -116
- package/dist/email/theme.d.ts +15 -8
- package/dist/email/theme.js +30 -8
- 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 +8 -8
- package/dist/hooks/use-chat-message.js +1 -0
- package/dist/hooks/use-chat-thread-scroll.d.ts +8 -0
- package/dist/hooks/use-chat-thread-scroll.js +66 -0
- 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 +11 -10
- package/dist/hooks/use-user-ask.js +56 -17
- package/dist/inline-attachment.d.ts +16 -17
- package/dist/inline-attachment.js +1 -1
- 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/action-bar-knobs.js +1 -1
- package/dist/knob-contracts/activity-knobs.d.ts +3 -4
- package/dist/knob-contracts/activity-knobs.js +2 -1
- 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/audio-visualizer-knobs.js +1 -0
- 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 +5 -1
- package/dist/knob-contracts/chat-composer-knobs.d.ts +3 -4
- package/dist/knob-contracts/chat-composer-knobs.js +2 -0
- package/dist/knob-contracts/chat-layout-knobs.d.ts +3 -4
- package/dist/knob-contracts/chat-layout-knobs.js +2 -2
- package/dist/knob-contracts/chat-message-knobs.d.ts +3 -4
- package/dist/knob-contracts/chat-message-knobs.js +3 -1
- 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/context-knobs.js +3 -0
- 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 +6 -1
- package/dist/knob-contracts/inline-citation-knobs.d.ts +3 -4
- package/dist/knob-contracts/inline-citation-knobs.js +4 -1
- 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/page-layout-knobs.d.ts +4 -0
- package/dist/knob-contracts/page-layout-knobs.js +15 -0
- 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 +5 -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 +5 -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-number.d.ts +8 -9
- package/dist/lib/trigger-detect.d.ts +4 -5
- package/dist/markdown-block.d.ts +11 -12
- package/dist/markdown-block.js +1 -1
- 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 +3 -5
- package/dist/styles/recipes/accordion.css +8 -2
- package/dist/styles/recipes/action-bar.css +40 -5
- package/dist/styles/recipes/activity.css +36 -3
- package/dist/styles/recipes/alert.css +97 -16
- package/dist/styles/recipes/audio-visualizer.css +8 -1
- package/dist/styles/recipes/avatar.css +17 -1
- package/dist/styles/recipes/badge.css +0 -1
- package/dist/styles/recipes/button-group.css +8 -0
- package/dist/styles/recipes/button.css +49 -8
- package/dist/styles/recipes/calendar.css +21 -6
- package/dist/styles/recipes/card.css +2 -0
- package/dist/styles/recipes/chat-composer-attachment.css +83 -54
- package/dist/styles/recipes/chat-composer.css +41 -22
- package/dist/styles/recipes/chat-layout.css +37 -54
- package/dist/styles/recipes/chat-message.css +78 -5
- package/dist/styles/recipes/choice.css +21 -2
- package/dist/styles/recipes/code-diff.css +9 -1
- package/dist/styles/recipes/code.css +64 -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/context.css +30 -18
- package/dist/styles/recipes/dockable-panel.css +8 -1
- package/dist/styles/recipes/dropzone.css +9 -2
- package/dist/styles/recipes/dynamic-notification-input.css +6 -0
- package/dist/styles/recipes/dynamic-notification.css +1 -0
- package/dist/styles/recipes/empty.css +118 -17
- package/dist/styles/recipes/environment-variables.css +9 -1
- package/dist/styles/recipes/field-parts.css +3 -6
- package/dist/styles/recipes/field.css +15 -5
- package/dist/styles/recipes/gradient-editor.css +33 -5
- package/dist/styles/recipes/inline-attachment.css +68 -20
- package/dist/styles/recipes/inline-citation.css +52 -10
- package/dist/styles/recipes/item.css +4 -2
- package/dist/styles/recipes/kbd.css +8 -0
- package/dist/styles/recipes/markdown-block.css +17 -2
- package/dist/styles/recipes/markdown.css +19 -0
- package/dist/styles/recipes/morphing-panel.css +1 -1
- package/dist/styles/recipes/page-layout.css +203 -0
- package/dist/styles/recipes/pagination.css +16 -4
- package/dist/styles/recipes/phone-input.css +8 -4
- package/dist/styles/recipes/popup-drawer.css +3 -1
- package/dist/styles/recipes/popup-lists.css +11 -0
- package/dist/styles/recipes/popup-toast.css +3 -29
- package/dist/styles/recipes/popup.css +10 -14
- package/dist/styles/recipes/progressive-blur.css +28 -7
- package/dist/styles/recipes/range.css +74 -3
- package/dist/styles/recipes/resizable.css +8 -10
- package/dist/styles/recipes/rich-tooltip.css +1 -4
- package/dist/styles/recipes/scroll-area.css +8 -2
- package/dist/styles/recipes/sidebar-menu.css +0 -6
- package/dist/styles/recipes/sidebar.css +56 -17
- package/dist/styles/recipes/skeleton.css +85 -3
- package/dist/styles/recipes/source-badge.css +20 -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 +35 -2
- package/dist/styles/recipes/task-list.css +68 -9
- package/dist/styles/recipes/thread-rail.css +19 -17
- package/dist/styles/recipes/toolbar.css +39 -4
- package/dist/styles/recipes/track-highlight.css +63 -5
- package/dist/styles/recipes/transcript-divider.css +1 -0
- package/dist/styles/recipes/tree.css +2 -0
- package/dist/styles/recipes/user-ask.css +65 -18
- package/dist/styles/theme.css +164 -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/thread-rail.js +1 -1
- 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 +9 -7
- 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 +6 -4
- 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 +8 -6
- package/dist/ui/combobox-disabled-selection.d.ts +3 -4
- package/dist/ui/combobox.d.ts +19 -20
- package/dist/ui/combobox.js +6 -4
- package/dist/ui/command.d.ts +22 -19
- package/dist/ui/command.js +63 -13
- package/dist/ui/context-menu.d.ts +30 -31
- package/dist/ui/context-menu.js +10 -7
- package/dist/ui/dialog.d.ts +13 -13
- package/dist/ui/dialog.js +11 -9
- 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 +9 -8
- package/dist/ui/dropdown-menu.d.ts +32 -33
- package/dist/ui/dropdown-menu.js +6 -4
- package/dist/ui/dropzone.d.ts +24 -24
- package/dist/ui/dropzone.js +4 -1
- 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/gradient-editor.js +2 -2
- package/dist/ui/hover-card.d.ts +6 -7
- package/dist/ui/hover-card.js +6 -4
- package/dist/ui/infinite-canvas.d.ts +11 -12
- package/dist/ui/infinite-canvas.js +1 -0
- 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 +10 -7
- 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 +6 -4
- package/dist/ui/number-field.d.ts +15 -16
- package/dist/ui/number-field.js +1 -1
- package/dist/ui/page-layout.d.ts +44 -0
- package/dist/ui/page-layout.js +108 -0
- package/dist/ui/pagination.d.ts +10 -11
- package/dist/ui/phone-input.d.ts +5 -6
- package/dist/ui/phone-input.js +39 -36
- package/dist/ui/popover.d.ts +11 -12
- package/dist/ui/popover.js +6 -4
- 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/resizable.js +1 -1
- 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 +6 -6
- 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 +8 -5
- package/dist/ui/separator.d.ts +2 -3
- package/dist/ui/sheet.d.ts +8 -9
- package/dist/ui/sheet.js +9 -7
- package/dist/ui/sidebar-menu.d.ts +18 -19
- package/dist/ui/sidebar-menu.js +4 -3
- 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 +19 -13
- package/dist/ui/sidebar.js +120 -55
- 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 +23 -16
- 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 +8 -9
- 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 +6 -4
- 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 +28 -27
- package/dist/user-ask.js +38 -13
- package/package.json +17 -16
- 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
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
//#region src/knob-contracts/chat-composer-attachment-knobs.d.ts
|
|
2
|
-
declare const chatComposerAttachmentKnobs: readonly ["--cui-chat-composer-attachment-radius", "--cui-chat-composer-attachment-background", "--cui-chat-composer-attachment-border-color", "--cui-chat-composer-attachment-shadow", "--cui-chat-composer-attachment-progress-background", "--cui-chat-composer-attachment-progress-foreground"];
|
|
3
|
-
type ChatComposerAttachmentKnobStyle = Partial<Record<(typeof chatComposerAttachmentKnobs)[number], string>>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { ChatComposerAttachmentKnobStyle, chatComposerAttachmentKnobs };
|
|
2
|
+
export declare const chatComposerAttachmentKnobs: readonly ["--cui-chat-composer-attachment-radius", "--cui-chat-composer-attachment-height", "--cui-chat-composer-attachment-list-padding", "--cui-chat-composer-attachment-background", "--cui-chat-composer-attachment-border-color", "--cui-chat-composer-attachment-shadow", "--cui-chat-composer-attachment-backdrop-filter", "--cui-chat-composer-attachment-progress-background", "--cui-chat-composer-attachment-progress-foreground", "--cui-chat-composer-attachment-image-outline-color"];
|
|
3
|
+
export type ChatComposerAttachmentKnobStyle = Partial<Record<(typeof chatComposerAttachmentKnobs)[number], string>>;
|
|
4
|
+
//#endregion
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
//#region src/knob-contracts/chat-composer-attachment-knobs.ts
|
|
2
2
|
const chatComposerAttachmentKnobs = [
|
|
3
3
|
"--cui-chat-composer-attachment-radius",
|
|
4
|
+
"--cui-chat-composer-attachment-height",
|
|
5
|
+
"--cui-chat-composer-attachment-list-padding",
|
|
4
6
|
"--cui-chat-composer-attachment-background",
|
|
5
7
|
"--cui-chat-composer-attachment-border-color",
|
|
6
8
|
"--cui-chat-composer-attachment-shadow",
|
|
9
|
+
"--cui-chat-composer-attachment-backdrop-filter",
|
|
7
10
|
"--cui-chat-composer-attachment-progress-background",
|
|
8
|
-
"--cui-chat-composer-attachment-progress-foreground"
|
|
11
|
+
"--cui-chat-composer-attachment-progress-foreground",
|
|
12
|
+
"--cui-chat-composer-attachment-image-outline-color"
|
|
9
13
|
];
|
|
10
14
|
//#endregion
|
|
11
15
|
export { chatComposerAttachmentKnobs };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
//#region src/knob-contracts/chat-composer-knobs.d.ts
|
|
2
|
-
declare const chatComposerKnobs: readonly ["--cui-chat-composer-root-background", "--cui-chat-composer-shell-radius", "--cui-chat-composer-shell-background", "--cui-chat-composer-shell-background-image", "--cui-chat-composer-shell-backdrop-filter", "--cui-chat-composer-shell-border-color", "--cui-chat-composer-shell-shadow", "--cui-chat-composer-input-foreground", "--cui-chat-composer-input-placeholder-foreground", "--cui-chat-composer-mention-background", "--cui-chat-composer-mention-radius", "--cui-chat-composer-mention-border-color", "--cui-chat-composer-mention-border-width"];
|
|
3
|
-
type ChatComposerKnobStyle = Partial<Record<(typeof chatComposerKnobs)[number], string>>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { ChatComposerKnobStyle, chatComposerKnobs };
|
|
2
|
+
export declare const chatComposerKnobs: readonly ["--cui-chat-composer-root-background", "--cui-chat-composer-shell-radius", "--cui-chat-composer-shell-background", "--cui-chat-composer-shell-background-image", "--cui-chat-composer-shell-backdrop-filter", "--cui-chat-composer-shell-border-color", "--cui-chat-composer-shell-border-width", "--cui-chat-composer-shell-shadow", "--cui-chat-composer-input-foreground", "--cui-chat-composer-input-placeholder-foreground", "--cui-chat-composer-mention-background", "--cui-chat-composer-mention-radius", "--cui-chat-composer-mention-icon-radius", "--cui-chat-composer-mention-border-color", "--cui-chat-composer-mention-border-width"];
|
|
3
|
+
export type ChatComposerKnobStyle = Partial<Record<(typeof chatComposerKnobs)[number], string>>;
|
|
4
|
+
//#endregion
|
|
@@ -6,11 +6,13 @@ const chatComposerKnobs = [
|
|
|
6
6
|
"--cui-chat-composer-shell-background-image",
|
|
7
7
|
"--cui-chat-composer-shell-backdrop-filter",
|
|
8
8
|
"--cui-chat-composer-shell-border-color",
|
|
9
|
+
"--cui-chat-composer-shell-border-width",
|
|
9
10
|
"--cui-chat-composer-shell-shadow",
|
|
10
11
|
"--cui-chat-composer-input-foreground",
|
|
11
12
|
"--cui-chat-composer-input-placeholder-foreground",
|
|
12
13
|
"--cui-chat-composer-mention-background",
|
|
13
14
|
"--cui-chat-composer-mention-radius",
|
|
15
|
+
"--cui-chat-composer-mention-icon-radius",
|
|
14
16
|
"--cui-chat-composer-mention-border-color",
|
|
15
17
|
"--cui-chat-composer-mention-border-width"
|
|
16
18
|
];
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
//#region src/knob-contracts/chat-layout-knobs.d.ts
|
|
2
|
-
declare const chatLayoutKnobs: readonly ["--cui-chat-layout-radius", "--cui-chat-layout-background", "--cui-chat-layout-border-color", "--cui-chat-layout-
|
|
3
|
-
type ChatLayoutKnobStyle = Partial<Record<(typeof chatLayoutKnobs)[number], string>>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { ChatLayoutKnobStyle, chatLayoutKnobs };
|
|
2
|
+
export declare const chatLayoutKnobs: readonly ["--cui-chat-layout-radius", "--cui-chat-layout-background", "--cui-chat-layout-border-color", "--cui-chat-layout-border-width", "--cui-chat-layout-shadow", "--cui-chat-layout-scroll-button-gap"];
|
|
3
|
+
export type ChatLayoutKnobStyle = Partial<Record<(typeof chatLayoutKnobs)[number], string>>;
|
|
4
|
+
//#endregion
|
|
@@ -3,9 +3,9 @@ const chatLayoutKnobs = [
|
|
|
3
3
|
"--cui-chat-layout-radius",
|
|
4
4
|
"--cui-chat-layout-background",
|
|
5
5
|
"--cui-chat-layout-border-color",
|
|
6
|
+
"--cui-chat-layout-border-width",
|
|
6
7
|
"--cui-chat-layout-shadow",
|
|
7
|
-
"--cui-chat-layout-
|
|
8
|
-
"--cui-chat-layout-thought-hover-background"
|
|
8
|
+
"--cui-chat-layout-scroll-button-gap"
|
|
9
9
|
];
|
|
10
10
|
//#endregion
|
|
11
11
|
export { chatLayoutKnobs };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
//#region src/knob-contracts/chat-message-knobs.d.ts
|
|
2
|
-
declare const chatMessageKnobs: readonly ["--cui-chat-message-avatar-radius", "--cui-chat-message-avatar-background", "--cui-chat-message-avatar-border-color", "--cui-chat-message-avatar-border-width", "--cui-chat-message-radius", "--cui-chat-message-corner-radius", "--cui-chat-message-background", "--cui-chat-message-background-image", "--cui-chat-message-foreground", "--cui-chat-message-border-color", "--cui-chat-message-border-width", "--cui-chat-message-shadow"];
|
|
3
|
-
type ChatMessageKnobStyle = Partial<Record<(typeof chatMessageKnobs)[number], string>>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { ChatMessageKnobStyle, chatMessageKnobs };
|
|
2
|
+
export declare const chatMessageKnobs: readonly ["--cui-chat-message-avatar-radius", "--cui-chat-message-avatar-background", "--cui-chat-message-avatar-border-color", "--cui-chat-message-avatar-border-width", "--cui-chat-message-radius", "--cui-chat-message-corner-radius", "--cui-chat-message-background", "--cui-chat-message-background-image", "--cui-chat-message-foreground", "--cui-chat-message-border-color", "--cui-chat-message-border-width", "--cui-chat-message-shadow", "--cui-chat-message-pending-dot-color", "--cui-chat-message-pending-dot-size"];
|
|
3
|
+
export type ChatMessageKnobStyle = Partial<Record<(typeof chatMessageKnobs)[number], string>>;
|
|
4
|
+
//#endregion
|
|
@@ -11,7 +11,9 @@ const chatMessageKnobs = [
|
|
|
11
11
|
"--cui-chat-message-foreground",
|
|
12
12
|
"--cui-chat-message-border-color",
|
|
13
13
|
"--cui-chat-message-border-width",
|
|
14
|
-
"--cui-chat-message-shadow"
|
|
14
|
+
"--cui-chat-message-shadow",
|
|
15
|
+
"--cui-chat-message-pending-dot-color",
|
|
16
|
+
"--cui-chat-message-pending-dot-size"
|
|
15
17
|
];
|
|
16
18
|
//#endregion
|
|
17
19
|
export { chatMessageKnobs };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
//#region src/knob-contracts/choice-knobs.d.ts
|
|
2
|
-
declare const choiceKnobs: readonly ["--cui-choice-radius", "--cui-choice-border-color", "--cui-choice-checked-background", "--cui-choice-checked-border-color"];
|
|
3
|
-
type ChoiceKnobStyle = Partial<Record<(typeof choiceKnobs)[number], string>>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { ChoiceKnobStyle, choiceKnobs };
|
|
2
|
+
export declare const choiceKnobs: readonly ["--cui-choice-radius", "--cui-choice-border-color", "--cui-choice-checked-background", "--cui-choice-checked-border-color", "--cui-choice-shadow"];
|
|
3
|
+
export type ChoiceKnobStyle = Partial<Record<(typeof choiceKnobs)[number], string>>;
|
|
4
|
+
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
//#region src/knob-contracts/code-diff-knobs.d.ts
|
|
2
|
-
declare const codeDiffKnobs: readonly ["--cui-code-diff-radius", "--cui-code-diff-shadow", "--cui-code-diff-background", "--cui-code-diff-border-color", "--cui-code-diff-foreground", "--cui-code-diff-add-background", "--cui-code-diff-del-background", "--cui-code-diff-expand-button-radius", "--cui-code-diff-expand-button-background", "--cui-code-diff-expand-button-foreground", "--cui-code-diff-expand-button-shadow", "--cui-code-diff-expand-button-hover-background", "--cui-code-diff-expand-button-hover-foreground"];
|
|
3
|
-
type CodeDiffKnobStyle = Partial<Record<(typeof codeDiffKnobs)[number], string>>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { CodeDiffKnobStyle, codeDiffKnobs };
|
|
2
|
+
export declare const codeDiffKnobs: readonly ["--cui-code-diff-radius", "--cui-code-diff-shadow", "--cui-code-diff-background", "--cui-code-diff-border-color", "--cui-code-diff-border-width", "--cui-code-diff-foreground", "--cui-code-diff-add-background", "--cui-code-diff-del-background", "--cui-code-diff-expand-button-radius", "--cui-code-diff-expand-button-background", "--cui-code-diff-expand-button-foreground", "--cui-code-diff-expand-button-shadow", "--cui-code-diff-expand-button-hover-background", "--cui-code-diff-expand-button-hover-foreground"];
|
|
3
|
+
export type CodeDiffKnobStyle = Partial<Record<(typeof codeDiffKnobs)[number], string>>;
|
|
4
|
+
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
//#region src/knob-contracts/code-knobs.d.ts
|
|
2
|
-
declare const codeKnobs: readonly ["--cui-code-radius", "--cui-code-background", "--cui-code-border-color", "--cui-code-shadow", "--cui-code-title-foreground", "--cui-code-text-foreground"];
|
|
3
|
-
type CodeKnobStyle = Partial<Record<(typeof codeKnobs)[number], string>>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { CodeKnobStyle, codeKnobs };
|
|
2
|
+
export declare const codeKnobs: readonly ["--cui-code-radius", "--cui-code-background", "--cui-code-border-color", "--cui-code-border-width", "--cui-code-shadow", "--cui-code-title-foreground", "--cui-code-text-foreground", "--cui-code-line-highlight-background"];
|
|
3
|
+
export type CodeKnobStyle = Partial<Record<(typeof codeKnobs)[number], string>>;
|
|
4
|
+
//#endregion
|
|
@@ -3,9 +3,11 @@ const codeKnobs = [
|
|
|
3
3
|
"--cui-code-radius",
|
|
4
4
|
"--cui-code-background",
|
|
5
5
|
"--cui-code-border-color",
|
|
6
|
+
"--cui-code-border-width",
|
|
6
7
|
"--cui-code-shadow",
|
|
7
8
|
"--cui-code-title-foreground",
|
|
8
|
-
"--cui-code-text-foreground"
|
|
9
|
+
"--cui-code-text-foreground",
|
|
10
|
+
"--cui-code-line-highlight-background"
|
|
9
11
|
];
|
|
10
12
|
//#endregion
|
|
11
13
|
export { codeKnobs };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
//#region src/knob-contracts/collapsible-knobs.d.ts
|
|
2
|
-
declare const collapsibleKnobs: readonly [];
|
|
3
|
-
type CollapsibleKnobStyle = Partial<Record<(typeof collapsibleKnobs)[number], string>>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { CollapsibleKnobStyle, collapsibleKnobs };
|
|
2
|
+
export declare const collapsibleKnobs: readonly [];
|
|
3
|
+
export type CollapsibleKnobStyle = Partial<Record<(typeof collapsibleKnobs)[number], string>>;
|
|
4
|
+
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
//#region src/knob-contracts/color-picker-knobs.d.ts
|
|
2
|
-
declare const colorPickerKnobs: readonly ["--cui-color-picker-output-swatch-radius", "--cui-color-picker-swatch-radius", "--cui-color-picker-area-radius", "--cui-color-picker-trigger-radius", "--cui-color-picker-trigger-shadow", "--cui-color-picker-slider-thumb-radius", "--cui-color-picker-slider-thumb-background"];
|
|
3
|
-
type ColorPickerKnobStyle = Partial<Record<(typeof colorPickerKnobs)[number], string>>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { ColorPickerKnobStyle, colorPickerKnobs };
|
|
2
|
+
export declare const colorPickerKnobs: readonly ["--cui-color-picker-output-swatch-radius", "--cui-color-picker-swatch-radius", "--cui-color-picker-area-radius", "--cui-color-picker-trigger-radius", "--cui-color-picker-trigger-shadow", "--cui-color-picker-slider-thumb-radius", "--cui-color-picker-slider-thumb-background"];
|
|
3
|
+
export type ColorPickerKnobStyle = Partial<Record<(typeof colorPickerKnobs)[number], string>>;
|
|
4
|
+
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
//#region src/knob-contracts/context-knobs.d.ts
|
|
2
|
-
declare const contextKnobs: readonly ["--cui-context-graph-radius", "--cui-context-track-fill", "--cui-context-segment-tool-fill", "--cui-context-segment-message-fill", "--cui-context-segment-source-fill", "--cui-context-segment-reasoning-fill", "--cui-context-overage-fill", "--cui-context-limit-marker-color"];
|
|
3
|
-
type ContextKnobStyle = Partial<Record<(typeof contextKnobs)[number], string>>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { ContextKnobStyle, contextKnobs };
|
|
2
|
+
export declare const contextKnobs: readonly ["--cui-context-graph-radius", "--cui-context-legend-indicator-radius", "--cui-context-segment-system-fill", "--cui-context-segment-cache-fill", "--cui-context-track-fill", "--cui-context-segment-tool-fill", "--cui-context-segment-message-fill", "--cui-context-segment-source-fill", "--cui-context-segment-reasoning-fill", "--cui-context-overage-fill", "--cui-context-limit-marker-color"];
|
|
3
|
+
export type ContextKnobStyle = Partial<Record<(typeof contextKnobs)[number], string>>;
|
|
4
|
+
//#endregion
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
//#region src/knob-contracts/context-knobs.ts
|
|
2
2
|
const contextKnobs = [
|
|
3
3
|
"--cui-context-graph-radius",
|
|
4
|
+
"--cui-context-legend-indicator-radius",
|
|
5
|
+
"--cui-context-segment-system-fill",
|
|
6
|
+
"--cui-context-segment-cache-fill",
|
|
4
7
|
"--cui-context-track-fill",
|
|
5
8
|
"--cui-context-segment-tool-fill",
|
|
6
9
|
"--cui-context-segment-message-fill",
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
//#region src/knob-contracts/dockable-panel-knobs.d.ts
|
|
2
|
-
declare const dockablePanelKnobs: readonly ["--cui-dockable-panel-radius", "--cui-dockable-panel-background", "--cui-dockable-panel-foreground", "--cui-dockable-panel-border-color", "--cui-dockable-panel-shadow", "--cui-dockable-panel-drop-zone-active-background", "--cui-dockable-panel-drop-zone-active-border-color"];
|
|
3
|
-
type DockablePanelKnobStyle = Partial<Record<(typeof dockablePanelKnobs)[number], string>>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { DockablePanelKnobStyle, dockablePanelKnobs };
|
|
2
|
+
export declare const dockablePanelKnobs: readonly ["--cui-dockable-panel-radius", "--cui-dockable-panel-background", "--cui-dockable-panel-foreground", "--cui-dockable-panel-border-color", "--cui-dockable-panel-border-width", "--cui-dockable-panel-shadow", "--cui-dockable-panel-drop-zone-active-background", "--cui-dockable-panel-drop-zone-active-border-color"];
|
|
3
|
+
export type DockablePanelKnobStyle = Partial<Record<(typeof dockablePanelKnobs)[number], string>>;
|
|
4
|
+
//#endregion
|
|
@@ -4,6 +4,7 @@ const dockablePanelKnobs = [
|
|
|
4
4
|
"--cui-dockable-panel-background",
|
|
5
5
|
"--cui-dockable-panel-foreground",
|
|
6
6
|
"--cui-dockable-panel-border-color",
|
|
7
|
+
"--cui-dockable-panel-border-width",
|
|
7
8
|
"--cui-dockable-panel-shadow",
|
|
8
9
|
"--cui-dockable-panel-drop-zone-active-background",
|
|
9
10
|
"--cui-dockable-panel-drop-zone-active-border-color"
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
//#region src/knob-contracts/dropzone-knobs.d.ts
|
|
2
|
-
declare const dropzoneKnobs: readonly ["--cui-dropzone-surface-radius", "--cui-dropzone-surface-foreground", "--cui-dropzone-surface-border-color", "--cui-dropzone-accept-border-color", "--cui-dropzone-reject-border-color", "--cui-dropzone-overlay-background"];
|
|
3
|
-
type DropzoneKnobStyle = Partial<Record<(typeof dropzoneKnobs)[number], string>>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { DropzoneKnobStyle, dropzoneKnobs };
|
|
2
|
+
export declare const dropzoneKnobs: readonly ["--cui-dropzone-surface-radius", "--cui-dropzone-surface-foreground", "--cui-dropzone-surface-border-color", "--cui-dropzone-surface-border-width", "--cui-dropzone-accept-border-color", "--cui-dropzone-reject-border-color", "--cui-dropzone-overlay-background"];
|
|
3
|
+
export type DropzoneKnobStyle = Partial<Record<(typeof dropzoneKnobs)[number], string>>;
|
|
4
|
+
//#endregion
|
|
@@ -3,6 +3,7 @@ const dropzoneKnobs = [
|
|
|
3
3
|
"--cui-dropzone-surface-radius",
|
|
4
4
|
"--cui-dropzone-surface-foreground",
|
|
5
5
|
"--cui-dropzone-surface-border-color",
|
|
6
|
+
"--cui-dropzone-surface-border-width",
|
|
6
7
|
"--cui-dropzone-accept-border-color",
|
|
7
8
|
"--cui-dropzone-reject-border-color",
|
|
8
9
|
"--cui-dropzone-overlay-background"
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
//#region src/knob-contracts/dynamic-notification-knobs.d.ts
|
|
2
|
-
declare const dynamicNotificationKnobs: readonly ["--cui-dynamic-notification-content-easing", "--cui-dynamic-notification-expanded-radius", "--cui-dynamic-notification-morph-easing", "--cui-dynamic-notification-glass-foreground", "--cui-dynamic-notification-glass-ring-color", "--cui-dynamic-notification-liquid-foreground", "--cui-dynamic-notification-surface-background", "--cui-dynamic-notification-surface-foreground", "--cui-dynamic-notification-surface-ring-color", "--cui-dynamic-notification-surface-shadow", "--cui-dynamic-notification-indicator-end", "--cui-dynamic-notification-indicator-middle", "--cui-dynamic-notification-indicator-start"];
|
|
3
|
-
type DynamicNotificationKnobStyle = Partial<Record<(typeof dynamicNotificationKnobs)[number], string>>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { DynamicNotificationKnobStyle, dynamicNotificationKnobs };
|
|
2
|
+
export declare const dynamicNotificationKnobs: readonly ["--cui-dynamic-notification-content-easing", "--cui-dynamic-notification-expanded-radius", "--cui-dynamic-notification-morph-easing", "--cui-dynamic-notification-glass-foreground", "--cui-dynamic-notification-glass-ring-color", "--cui-dynamic-notification-liquid-foreground", "--cui-dynamic-notification-surface-background", "--cui-dynamic-notification-surface-foreground", "--cui-dynamic-notification-surface-ring-color", "--cui-dynamic-notification-surface-shadow", "--cui-dynamic-notification-indicator-end", "--cui-dynamic-notification-indicator-middle", "--cui-dynamic-notification-indicator-start"];
|
|
3
|
+
export type DynamicNotificationKnobStyle = Partial<Record<(typeof dynamicNotificationKnobs)[number], string>>;
|
|
4
|
+
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
//#region src/knob-contracts/empty-knobs.d.ts
|
|
2
|
-
declare const emptyKnobs: readonly ["--cui-empty-radius", "--cui-empty-background", "--cui-empty-border-color", "--cui-empty-border-width", "--cui-empty-border-style", "--cui-empty-media-radius", "--cui-empty-media-background"];
|
|
3
|
-
type EmptyKnobStyle = Partial<Record<(typeof emptyKnobs)[number], string>>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { EmptyKnobStyle, emptyKnobs };
|
|
2
|
+
export declare const emptyKnobs: readonly ["--cui-empty-radius", "--cui-empty-background", "--cui-empty-border-color", "--cui-empty-border-width", "--cui-empty-border-style", "--cui-empty-media-radius", "--cui-empty-media-background", "--cui-empty-shadow", "--cui-empty-foreground", "--cui-empty-description-foreground", "--cui-empty-media-foreground", "--cui-empty-padding", "--cui-empty-gap", "--cui-empty-header-gap", "--cui-empty-content-gap", "--cui-empty-content-size", "--cui-empty-media-size", "--cui-empty-media-icon-size", "--cui-empty-font-size", "--cui-empty-title-font-weight"];
|
|
3
|
+
export type EmptyKnobStyle = Partial<Record<(typeof emptyKnobs)[number], string>>;
|
|
4
|
+
//#endregion
|
|
@@ -6,7 +6,20 @@ const emptyKnobs = [
|
|
|
6
6
|
"--cui-empty-border-width",
|
|
7
7
|
"--cui-empty-border-style",
|
|
8
8
|
"--cui-empty-media-radius",
|
|
9
|
-
"--cui-empty-media-background"
|
|
9
|
+
"--cui-empty-media-background",
|
|
10
|
+
"--cui-empty-shadow",
|
|
11
|
+
"--cui-empty-foreground",
|
|
12
|
+
"--cui-empty-description-foreground",
|
|
13
|
+
"--cui-empty-media-foreground",
|
|
14
|
+
"--cui-empty-padding",
|
|
15
|
+
"--cui-empty-gap",
|
|
16
|
+
"--cui-empty-header-gap",
|
|
17
|
+
"--cui-empty-content-gap",
|
|
18
|
+
"--cui-empty-content-size",
|
|
19
|
+
"--cui-empty-media-size",
|
|
20
|
+
"--cui-empty-media-icon-size",
|
|
21
|
+
"--cui-empty-font-size",
|
|
22
|
+
"--cui-empty-title-font-weight"
|
|
10
23
|
];
|
|
11
24
|
//#endregion
|
|
12
25
|
export { emptyKnobs };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
//#region src/knob-contracts/environment-variables-knobs.d.ts
|
|
2
|
-
declare const environmentVariablesKnobs: readonly ["--cui-environment-variables-title-foreground", "--cui-environment-variables-meta-foreground", "--cui-environment-variables-error-foreground", "--cui-environment-variables-message-background", "--cui-environment-variables-message-foreground", "--cui-environment-variables-message-border-color"];
|
|
3
|
-
type EnvironmentVariablesKnobStyle = Partial<Record<(typeof environmentVariablesKnobs)[number], string>>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { EnvironmentVariablesKnobStyle, environmentVariablesKnobs };
|
|
2
|
+
export declare const environmentVariablesKnobs: readonly ["--cui-environment-variables-title-foreground", "--cui-environment-variables-meta-foreground", "--cui-environment-variables-error-foreground", "--cui-environment-variables-message-background", "--cui-environment-variables-message-foreground", "--cui-environment-variables-message-border-color", "--cui-environment-variables-message-border-width"];
|
|
3
|
+
export type EnvironmentVariablesKnobStyle = Partial<Record<(typeof environmentVariablesKnobs)[number], string>>;
|
|
4
|
+
//#endregion
|
|
@@ -5,7 +5,8 @@ const environmentVariablesKnobs = [
|
|
|
5
5
|
"--cui-environment-variables-error-foreground",
|
|
6
6
|
"--cui-environment-variables-message-background",
|
|
7
7
|
"--cui-environment-variables-message-foreground",
|
|
8
|
-
"--cui-environment-variables-message-border-color"
|
|
8
|
+
"--cui-environment-variables-message-border-color",
|
|
9
|
+
"--cui-environment-variables-message-border-width"
|
|
9
10
|
];
|
|
10
11
|
//#endregion
|
|
11
12
|
export { environmentVariablesKnobs };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
//#region src/knob-contracts/field-knobs.d.ts
|
|
2
|
-
declare const fieldKnobs: readonly ["--cui-field-radius", "--cui-field-background", "--cui-field-foreground", "--cui-field-border-color", "--cui-field-border-width", "--cui-field-shadow", "--cui-field-backdrop-filter", "--cui-field-focus-border-color", "--cui-field-height", "--cui-field-padding-inline", "--cui-field-font-size"];
|
|
3
|
-
type FieldKnobStyle = Partial<Record<(typeof fieldKnobs)[number], string>>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { FieldKnobStyle, fieldKnobs };
|
|
2
|
+
export declare const fieldKnobs: readonly ["--cui-field-radius", "--cui-field-background", "--cui-field-foreground", "--cui-field-border-color", "--cui-field-border-width", "--cui-field-shadow", "--cui-field-backdrop-filter", "--cui-field-focus-border-color", "--cui-field-height", "--cui-field-padding-inline", "--cui-field-font-size"];
|
|
3
|
+
export type FieldKnobStyle = Partial<Record<(typeof fieldKnobs)[number], string>>;
|
|
4
|
+
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
//#region src/knob-contracts/gradient-editor-knobs.d.ts
|
|
2
|
-
declare const gradientEditorKnobs: readonly ["--cui-gradient-editor-preview-radius", "--cui-gradient-editor-preview-ring-color", "--cui-gradient-editor-track-radius", "--cui-gradient-editor-stop-radius", "--cui-gradient-editor-stop-border-color", "--cui-gradient-editor-stop-shadow", "--cui-gradient-editor-add-radius", "--cui-gradient-editor-add-border-color"];
|
|
3
|
-
type GradientEditorKnobStyle = Partial<Record<(typeof gradientEditorKnobs)[number], string>>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { GradientEditorKnobStyle, gradientEditorKnobs };
|
|
2
|
+
export declare const gradientEditorKnobs: readonly ["--cui-gradient-editor-preview-radius", "--cui-gradient-editor-preview-ring-color", "--cui-gradient-editor-track-radius", "--cui-gradient-editor-stop-radius", "--cui-gradient-editor-stop-border-color", "--cui-gradient-editor-stop-border-width", "--cui-gradient-editor-stop-shadow", "--cui-gradient-editor-add-radius", "--cui-gradient-editor-add-border-color", "--cui-gradient-editor-add-border-width"];
|
|
3
|
+
export type GradientEditorKnobStyle = Partial<Record<(typeof gradientEditorKnobs)[number], string>>;
|
|
4
|
+
//#endregion
|
|
@@ -5,9 +5,11 @@ const gradientEditorKnobs = [
|
|
|
5
5
|
"--cui-gradient-editor-track-radius",
|
|
6
6
|
"--cui-gradient-editor-stop-radius",
|
|
7
7
|
"--cui-gradient-editor-stop-border-color",
|
|
8
|
+
"--cui-gradient-editor-stop-border-width",
|
|
8
9
|
"--cui-gradient-editor-stop-shadow",
|
|
9
10
|
"--cui-gradient-editor-add-radius",
|
|
10
|
-
"--cui-gradient-editor-add-border-color"
|
|
11
|
+
"--cui-gradient-editor-add-border-color",
|
|
12
|
+
"--cui-gradient-editor-add-border-width"
|
|
11
13
|
];
|
|
12
14
|
//#endregion
|
|
13
15
|
export { gradientEditorKnobs };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
//#region src/knob-contracts/infinite-canvas-knobs.d.ts
|
|
2
|
-
declare const infiniteCanvasKnobs: readonly ["--cui-infinite-canvas-radius", "--cui-infinite-canvas-background", "--cui-infinite-canvas-grid-dot-color", "--cui-infinite-canvas-border-color", "--cui-infinite-canvas-controls-radius", "--cui-infinite-canvas-controls-background", "--cui-infinite-canvas-controls-border-color", "--cui-infinite-canvas-controls-shadow"];
|
|
3
|
-
type InfiniteCanvasKnobStyle = Partial<Record<(typeof infiniteCanvasKnobs)[number], string>>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { InfiniteCanvasKnobStyle, infiniteCanvasKnobs };
|
|
2
|
+
export declare const infiniteCanvasKnobs: readonly ["--cui-infinite-canvas-radius", "--cui-infinite-canvas-background", "--cui-infinite-canvas-grid-dot-color", "--cui-infinite-canvas-border-color", "--cui-infinite-canvas-controls-radius", "--cui-infinite-canvas-controls-background", "--cui-infinite-canvas-controls-border-color", "--cui-infinite-canvas-controls-shadow"];
|
|
3
|
+
export type InfiniteCanvasKnobStyle = Partial<Record<(typeof infiniteCanvasKnobs)[number], string>>;
|
|
4
|
+
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
//#region src/knob-contracts/inline-attachment-knobs.d.ts
|
|
2
|
-
declare const inlineAttachmentKnobs: readonly ["--cui-inline-attachment-radius", "--cui-inline-attachment-background", "--cui-inline-attachment-ring-color", "--cui-inline-attachment-shadow", "--cui-inline-attachment-hover-shadow", "--cui-inline-attachment-content-radius", "--cui-inline-attachment-content-background", "--cui-inline-attachment-content-foreground", "--cui-inline-attachment-content-shadow"];
|
|
3
|
-
type InlineAttachmentKnobStyle = Partial<Record<(typeof inlineAttachmentKnobs)[number], string>>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { InlineAttachmentKnobStyle, inlineAttachmentKnobs };
|
|
2
|
+
export declare const inlineAttachmentKnobs: readonly ["--cui-inline-attachment-radius", "--cui-inline-attachment-background", "--cui-inline-attachment-ring-color", "--cui-inline-attachment-padding", "--cui-inline-attachment-document-padding", "--cui-inline-attachment-document-background", "--cui-inline-attachment-document-background-image", "--cui-inline-attachment-shadow", "--cui-inline-attachment-hover-shadow", "--cui-inline-attachment-content-radius", "--cui-inline-attachment-content-background", "--cui-inline-attachment-content-foreground", "--cui-inline-attachment-content-shadow", "--cui-inline-attachment-image-outline-color"];
|
|
3
|
+
export type InlineAttachmentKnobStyle = Partial<Record<(typeof inlineAttachmentKnobs)[number], string>>;
|
|
4
|
+
//#endregion
|
|
@@ -3,12 +3,17 @@ const inlineAttachmentKnobs = [
|
|
|
3
3
|
"--cui-inline-attachment-radius",
|
|
4
4
|
"--cui-inline-attachment-background",
|
|
5
5
|
"--cui-inline-attachment-ring-color",
|
|
6
|
+
"--cui-inline-attachment-padding",
|
|
7
|
+
"--cui-inline-attachment-document-padding",
|
|
8
|
+
"--cui-inline-attachment-document-background",
|
|
9
|
+
"--cui-inline-attachment-document-background-image",
|
|
6
10
|
"--cui-inline-attachment-shadow",
|
|
7
11
|
"--cui-inline-attachment-hover-shadow",
|
|
8
12
|
"--cui-inline-attachment-content-radius",
|
|
9
13
|
"--cui-inline-attachment-content-background",
|
|
10
14
|
"--cui-inline-attachment-content-foreground",
|
|
11
|
-
"--cui-inline-attachment-content-shadow"
|
|
15
|
+
"--cui-inline-attachment-content-shadow",
|
|
16
|
+
"--cui-inline-attachment-image-outline-color"
|
|
12
17
|
];
|
|
13
18
|
//#endregion
|
|
14
19
|
export { inlineAttachmentKnobs };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
//#region src/knob-contracts/inline-citation-knobs.d.ts
|
|
2
|
-
declare const inlineCitationKnobs: readonly ["--cui-inline-citation-trigger-radius", "--cui-inline-citation-trigger-background", "--cui-inline-citation-trigger-foreground", "--cui-inline-citation-trigger-border-color", "--cui-inline-citation-trigger-hover-background", "--cui-inline-citation-trigger-hover-foreground", "--cui-inline-citation-navigation-background", "--cui-inline-citation-quote-background", "--cui-inline-citation-quote-radius"];
|
|
3
|
-
type InlineCitationKnobStyle = Partial<Record<(typeof inlineCitationKnobs)[number], string>>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { InlineCitationKnobStyle, inlineCitationKnobs };
|
|
2
|
+
export declare const inlineCitationKnobs: readonly ["--cui-inline-citation-trigger-radius", "--cui-inline-citation-trigger-background", "--cui-inline-citation-trigger-foreground", "--cui-inline-citation-trigger-border-color", "--cui-inline-citation-trigger-border-width", "--cui-inline-citation-trigger-hover-background", "--cui-inline-citation-trigger-hover-foreground", "--cui-inline-citation-navigation-background", "--cui-inline-citation-quote-background", "--cui-inline-citation-quote-radius", "--cui-inline-citation-favicon-background", "--cui-inline-citation-favicon-radius"];
|
|
3
|
+
export type InlineCitationKnobStyle = Partial<Record<(typeof inlineCitationKnobs)[number], string>>;
|
|
4
|
+
//#endregion
|
|
@@ -4,11 +4,14 @@ const inlineCitationKnobs = [
|
|
|
4
4
|
"--cui-inline-citation-trigger-background",
|
|
5
5
|
"--cui-inline-citation-trigger-foreground",
|
|
6
6
|
"--cui-inline-citation-trigger-border-color",
|
|
7
|
+
"--cui-inline-citation-trigger-border-width",
|
|
7
8
|
"--cui-inline-citation-trigger-hover-background",
|
|
8
9
|
"--cui-inline-citation-trigger-hover-foreground",
|
|
9
10
|
"--cui-inline-citation-navigation-background",
|
|
10
11
|
"--cui-inline-citation-quote-background",
|
|
11
|
-
"--cui-inline-citation-quote-radius"
|
|
12
|
+
"--cui-inline-citation-quote-radius",
|
|
13
|
+
"--cui-inline-citation-favicon-background",
|
|
14
|
+
"--cui-inline-citation-favicon-radius"
|
|
12
15
|
];
|
|
13
16
|
//#endregion
|
|
14
17
|
export { inlineCitationKnobs };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
//#region src/knob-contracts/item-knobs.d.ts
|
|
2
|
-
declare const itemKnobs: readonly ["--cui-item-radius", "--cui-item-hover-background", "--cui-item-hover-border-color", "--cui-item-border-width", "--cui-item-active-scale"];
|
|
3
|
-
type ItemKnobStyle = Partial<Record<(typeof itemKnobs)[number], string>>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { ItemKnobStyle, itemKnobs };
|
|
2
|
+
export declare const itemKnobs: readonly ["--cui-item-radius", "--cui-item-hover-background", "--cui-item-hover-border-color", "--cui-item-border-width", "--cui-item-active-scale"];
|
|
3
|
+
export type ItemKnobStyle = Partial<Record<(typeof itemKnobs)[number], string>>;
|
|
4
|
+
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
//#region src/knob-contracts/kbd-knobs.d.ts
|
|
2
|
-
declare const kbdKnobs: readonly ["--cui-kbd-radius", "--cui-kbd-background", "--cui-kbd-foreground", "--cui-kbd-border-color", "--cui-kbd-shadow"];
|
|
3
|
-
type KbdKnobStyle = Partial<Record<(typeof kbdKnobs)[number], string>>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { KbdKnobStyle, kbdKnobs };
|
|
2
|
+
export declare const kbdKnobs: readonly ["--cui-kbd-radius", "--cui-kbd-background", "--cui-kbd-foreground", "--cui-kbd-border-color", "--cui-kbd-shadow"];
|
|
3
|
+
export type KbdKnobStyle = Partial<Record<(typeof kbdKnobs)[number], string>>;
|
|
4
|
+
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
//#region src/knob-contracts/markdown-block-knobs.d.ts
|
|
2
|
-
declare const markdownBlockKnobs: readonly ["--cui-markdown-block-radius", "--cui-markdown-block-background", "--cui-markdown-block-border-color", "--cui-markdown-block-shadow", "--cui-markdown-block-header-border-color", "--cui-markdown-block-icon-background"];
|
|
3
|
-
type MarkdownBlockKnobStyle = Partial<Record<(typeof markdownBlockKnobs)[number], string>>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { MarkdownBlockKnobStyle, markdownBlockKnobs };
|
|
2
|
+
export declare const markdownBlockKnobs: readonly ["--cui-markdown-block-radius", "--cui-markdown-block-background", "--cui-markdown-block-border-color", "--cui-markdown-block-border-width", "--cui-markdown-block-shadow", "--cui-markdown-block-header-border-color", "--cui-markdown-block-header-border-width", "--cui-markdown-block-icon-background"];
|
|
3
|
+
export type MarkdownBlockKnobStyle = Partial<Record<(typeof markdownBlockKnobs)[number], string>>;
|
|
4
|
+
//#endregion
|
|
@@ -3,8 +3,10 @@ const markdownBlockKnobs = [
|
|
|
3
3
|
"--cui-markdown-block-radius",
|
|
4
4
|
"--cui-markdown-block-background",
|
|
5
5
|
"--cui-markdown-block-border-color",
|
|
6
|
+
"--cui-markdown-block-border-width",
|
|
6
7
|
"--cui-markdown-block-shadow",
|
|
7
8
|
"--cui-markdown-block-header-border-color",
|
|
9
|
+
"--cui-markdown-block-header-border-width",
|
|
8
10
|
"--cui-markdown-block-icon-background"
|
|
9
11
|
];
|
|
10
12
|
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
//#region src/knob-contracts/markdown-knobs.d.ts
|
|
2
|
-
declare const markdownKnobs: readonly ["--cui-markdown-foreground", "--cui-markdown-blockquote-border-color", "--cui-markdown-blockquote-foreground", "--cui-markdown-inline-code-background", "--cui-markdown-inline-code-foreground", "--cui-markdown-inline-code-radius", "--cui-markdown-link-foreground", "--cui-markdown-table-cell-border-color", "--cui-markdown-table-header-background"];
|
|
3
|
-
type MarkdownKnobStyle = Partial<Record<(typeof markdownKnobs)[number], string>>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { MarkdownKnobStyle, markdownKnobs };
|
|
2
|
+
export declare const markdownKnobs: readonly ["--cui-markdown-foreground", "--cui-markdown-blockquote-border-color", "--cui-markdown-blockquote-foreground", "--cui-markdown-inline-code-background", "--cui-markdown-inline-code-foreground", "--cui-markdown-inline-code-radius", "--cui-markdown-link-foreground", "--cui-markdown-image-outline-color", "--cui-markdown-table-cell-border-color", "--cui-markdown-table-header-background"];
|
|
3
|
+
export type MarkdownKnobStyle = Partial<Record<(typeof markdownKnobs)[number], string>>;
|
|
4
|
+
//#endregion
|
|
@@ -7,6 +7,7 @@ const markdownKnobs = [
|
|
|
7
7
|
"--cui-markdown-inline-code-foreground",
|
|
8
8
|
"--cui-markdown-inline-code-radius",
|
|
9
9
|
"--cui-markdown-link-foreground",
|
|
10
|
+
"--cui-markdown-image-outline-color",
|
|
10
11
|
"--cui-markdown-table-cell-border-color",
|
|
11
12
|
"--cui-markdown-table-header-background"
|
|
12
13
|
];
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
//#region src/knob-contracts/morphing-panel-knobs.d.ts
|
|
2
|
-
declare const morphingPanelKnobs: readonly ["--cui-morphing-panel-radius", "--cui-morphing-panel-background", "--cui-morphing-panel-foreground", "--cui-morphing-panel-border-color", "--cui-morphing-panel-shadow", "--cui-morphing-panel-trigger-hover-background"];
|
|
3
|
-
type MorphingPanelKnobStyle = Partial<Record<(typeof morphingPanelKnobs)[number], string>>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { MorphingPanelKnobStyle, morphingPanelKnobs };
|
|
2
|
+
export declare const morphingPanelKnobs: readonly ["--cui-morphing-panel-radius", "--cui-morphing-panel-background", "--cui-morphing-panel-foreground", "--cui-morphing-panel-border-color", "--cui-morphing-panel-shadow", "--cui-morphing-panel-trigger-hover-background"];
|
|
3
|
+
export type MorphingPanelKnobStyle = Partial<Record<(typeof morphingPanelKnobs)[number], string>>;
|
|
4
|
+
//#endregion
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
//#region src/knob-contracts/page-layout-knobs.d.ts
|
|
2
|
+
export declare const pageLayoutKnobs: readonly ["--cui-page-layout-article-size", "--cui-page-layout-aside-size", "--cui-page-layout-padding-inline", "--cui-page-layout-padding-block", "--cui-page-layout-column-gap", "--cui-page-layout-header-gap", "--cui-page-layout-header-column-gap", "--cui-page-layout-header-row-gap", "--cui-page-layout-size", "--cui-page-layout-sticky-gap"];
|
|
3
|
+
export type PageLayoutKnobStyle = Partial<Record<(typeof pageLayoutKnobs)[number], string>>;
|
|
4
|
+
//#endregion
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/knob-contracts/page-layout-knobs.ts
|
|
2
|
+
const pageLayoutKnobs = [
|
|
3
|
+
"--cui-page-layout-article-size",
|
|
4
|
+
"--cui-page-layout-aside-size",
|
|
5
|
+
"--cui-page-layout-padding-inline",
|
|
6
|
+
"--cui-page-layout-padding-block",
|
|
7
|
+
"--cui-page-layout-column-gap",
|
|
8
|
+
"--cui-page-layout-header-gap",
|
|
9
|
+
"--cui-page-layout-header-column-gap",
|
|
10
|
+
"--cui-page-layout-header-row-gap",
|
|
11
|
+
"--cui-page-layout-size",
|
|
12
|
+
"--cui-page-layout-sticky-gap"
|
|
13
|
+
];
|
|
14
|
+
//#endregion
|
|
15
|
+
export { pageLayoutKnobs };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
//#region src/knob-contracts/pagination-knobs.d.ts
|
|
2
|
-
declare const paginationKnobs: readonly ["--cui-pagination-link-radius", "--cui-pagination-link-background", "--cui-pagination-link-hover-background", "--cui-pagination-link-foreground", "--cui-pagination-link-shadow"];
|
|
3
|
-
type PaginationKnobStyle = Partial<Record<(typeof paginationKnobs)[number], string>>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { PaginationKnobStyle, paginationKnobs };
|
|
2
|
+
export declare const paginationKnobs: readonly ["--cui-pagination-link-radius", "--cui-pagination-link-background", "--cui-pagination-link-hover-background", "--cui-pagination-link-foreground", "--cui-pagination-link-shadow"];
|
|
3
|
+
export type PaginationKnobStyle = Partial<Record<(typeof paginationKnobs)[number], string>>;
|
|
4
|
+
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
//#region src/knob-contracts/phone-input-knobs.d.ts
|
|
2
|
-
declare const phoneInputKnobs: readonly ["--cui-phone-input-country-border-color", "--cui-phone-input-trigger-hover-background", "--cui-phone-input-trigger-focus-background", "--cui-phone-input-metadata-foreground", "--cui-phone-input-chevron-foreground"];
|
|
3
|
-
type PhoneInputKnobStyle = Partial<Record<(typeof phoneInputKnobs)[number], string>>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { PhoneInputKnobStyle, phoneInputKnobs };
|
|
2
|
+
export declare const phoneInputKnobs: readonly ["--cui-phone-input-country-border-color", "--cui-phone-input-country-border-width", "--cui-phone-input-trigger-hover-background", "--cui-phone-input-trigger-focus-background", "--cui-phone-input-metadata-foreground", "--cui-phone-input-chevron-foreground"];
|
|
3
|
+
export type PhoneInputKnobStyle = Partial<Record<(typeof phoneInputKnobs)[number], string>>;
|
|
4
|
+
//#endregion
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
//#region src/knob-contracts/phone-input-knobs.ts
|
|
2
2
|
const phoneInputKnobs = [
|
|
3
3
|
"--cui-phone-input-country-border-color",
|
|
4
|
+
"--cui-phone-input-country-border-width",
|
|
4
5
|
"--cui-phone-input-trigger-hover-background",
|
|
5
6
|
"--cui-phone-input-trigger-focus-background",
|
|
6
7
|
"--cui-phone-input-metadata-foreground",
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
//#region src/knob-contracts/popup-knobs.d.ts
|
|
2
|
-
declare const popupKnobs: readonly ["--cui-popup-radius", "--cui-popup-background", "--cui-popup-foreground", "--cui-popup-border-color", "--cui-popup-border-width", "--cui-popup-shadow", "--cui-popup-backdrop-filter", "--cui-popup-backdrop-background", "--cui-popup-item-radius", "--cui-popup-item-foreground", "--cui-popup-item-highlight-background", "--cui-popup-item-highlight-foreground", "--cui-popup-item-highlight-muted-foreground", "--cui-popup-item-disabled-opacity", "--cui-popup-separator-color", "--cui-popup-shortcut-foreground"];
|
|
3
|
-
type PopupKnobStyle = Partial<Record<(typeof popupKnobs)[number], string>>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { PopupKnobStyle, popupKnobs };
|
|
2
|
+
export declare const popupKnobs: readonly ["--cui-popup-radius", "--cui-popup-background", "--cui-popup-foreground", "--cui-popup-border-color", "--cui-popup-border-width", "--cui-popup-shadow", "--cui-popup-backdrop-filter", "--cui-popup-backdrop-background", "--cui-popup-item-radius", "--cui-popup-item-foreground", "--cui-popup-item-highlight-background", "--cui-popup-item-highlight-foreground", "--cui-popup-item-highlight-muted-foreground", "--cui-popup-item-disabled-opacity", "--cui-popup-separator-color", "--cui-popup-shortcut-foreground"];
|
|
3
|
+
export type PopupKnobStyle = Partial<Record<(typeof popupKnobs)[number], string>>;
|
|
4
|
+
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
//#region src/knob-contracts/progressive-blur-knobs.d.ts
|
|
2
|
-
declare const progressiveBlurKnobs: readonly ["--cui-progressive-blur-size", "--cui-progressive-blur-backdrop-blur", "--cui-progressive-blur-transition-duration", "--cui-progressive-blur-transition-delay"];
|
|
3
|
-
type ProgressiveBlurKnobStyle = Partial<Record<(typeof progressiveBlurKnobs)[number], string>>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { ProgressiveBlurKnobStyle, progressiveBlurKnobs };
|
|
2
|
+
export declare const progressiveBlurKnobs: readonly ["--cui-progressive-blur-size", "--cui-progressive-blur-backdrop-blur", "--cui-progressive-blur-fade-size", "--cui-progressive-blur-transition-duration", "--cui-progressive-blur-transition-delay"];
|
|
3
|
+
export type ProgressiveBlurKnobStyle = Partial<Record<(typeof progressiveBlurKnobs)[number], string>>;
|
|
4
|
+
//#endregion
|