@metamorph-labs/polymorph-vue-ui 1.0.16 → 1.0.18
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/CHANGELOG.md +300 -0
- package/dist/ai/ArtifactPane.js.map +1 -1
- package/dist/ai/ArtifactPane.vue_vue_type_script_setup_true_lang.js +80 -72
- package/dist/ai/ArtifactPane.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/ai/PromptInput.js.map +1 -1
- package/dist/ai/PromptInput.vue_vue_type_script_setup_true_lang.js +105 -105
- package/dist/ai/PromptInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/ai/ReasoningDisclosure.js.map +1 -1
- package/dist/ai/ReasoningDisclosure.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/ai/ReasoningDisclosure.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/ai/ToolCall.js.map +1 -1
- package/dist/ai/ToolCall.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/ai/ToolCall.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/ai/artifact-pane.css +1 -1
- package/dist/ai/artifact-pane.module.js +1 -1
- package/dist/ai/attachment-chip.css +1 -1
- package/dist/ai/attachment-chip.module.js +1 -1
- package/dist/ai/attachment-chip.module.js.map +1 -1
- package/dist/ai/chat-thread.css +1 -1
- package/dist/ai/chat-thread.module.js +1 -1
- package/dist/ai/citation.css +1 -1
- package/dist/ai/citation.module.js +1 -1
- package/dist/ai/prompt-input.css +1 -1
- package/dist/ai/prompt-input.module.js +1 -1
- package/dist/ai/prompt-input.module.js.map +1 -1
- package/dist/ai/reasoning-disclosure.css +1 -1
- package/dist/ai/reasoning-disclosure.module.js +5 -5
- package/dist/ai/reasoning-disclosure.module.js.map +1 -1
- package/dist/ai/source-list.css +1 -1
- package/dist/ai/source-list.module.js +1 -1
- package/dist/ai/source-list.module.js.map +1 -1
- package/dist/ai/tool-call.css +1 -1
- package/dist/ai/tool-call.module.js +1 -1
- package/dist/archetypes/AppShell.js.map +1 -1
- package/dist/archetypes/AppShell.vue_vue_type_script_setup_true_lang.js +139 -88
- package/dist/archetypes/AppShell.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/archetypes/FormPage.js.map +1 -1
- package/dist/archetypes/FormPage.vue_vue_type_script_setup_true_lang.js +43 -21
- package/dist/archetypes/FormPage.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/archetypes/MasterDetailPage.js.map +1 -1
- package/dist/archetypes/MasterDetailPage.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/archetypes/MasterDetailPage.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/archetypes/app-shell.css +1 -1
- package/dist/archetypes/app-shell.module.js +9 -8
- package/dist/archetypes/app-shell.module.js.map +1 -1
- package/dist/archetypes/form-page.css +1 -1
- package/dist/archetypes/form-page.module.js +5 -3
- package/dist/archetypes/form-page.module.js.map +1 -1
- package/dist/archetypes/master-detail-page.css +1 -1
- package/dist/archetypes/master-detail-page.module.js +1 -1
- package/dist/archetypes/master-detail-page.module.js.map +1 -1
- package/dist/charts/area-chart.css +1 -1
- package/dist/charts/area-chart.module.js +1 -1
- package/dist/charts/bar-chart.css +1 -1
- package/dist/charts/bar-chart.module.js +1 -1
- package/dist/charts/donut-chart.css +1 -1
- package/dist/charts/donut-chart.module.js +1 -1
- package/dist/charts/frame/chart-frame.css +1 -1
- package/dist/charts/frame/chart-frame.module.js +1 -1
- package/dist/charts/frame/chart-legend.css +1 -1
- package/dist/charts/frame/chart-legend.module.js +1 -1
- package/dist/charts/frame/chart-legend.module.js.map +1 -1
- package/dist/charts/funnel-chart.css +1 -1
- package/dist/charts/funnel-chart.module.js +1 -1
- package/dist/charts/heatmap.css +1 -1
- package/dist/charts/heatmap.module.js +1 -1
- package/dist/charts/histogram.css +1 -1
- package/dist/charts/histogram.module.js +1 -1
- package/dist/charts/line-chart.css +1 -1
- package/dist/charts/line-chart.module.js +1 -1
- package/dist/charts/radar-chart.css +1 -1
- package/dist/charts/radar-chart.module.js +1 -1
- package/dist/charts/scatter-chart.css +1 -1
- package/dist/charts/scatter-chart.module.js +1 -1
- package/dist/charts/treemap.css +1 -1
- package/dist/charts/treemap.module.js +1 -1
- package/dist/controls/AvatarButton.js.map +1 -1
- package/dist/controls/AvatarButton.vue_vue_type_script_setup_true_lang.js +43 -35
- package/dist/controls/AvatarButton.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/controls/Button.js.map +1 -1
- package/dist/controls/Button.vue_vue_type_script_setup_true_lang.js +74 -62
- package/dist/controls/Button.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/controls/Calendar.js.map +1 -1
- package/dist/controls/Calendar.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/controls/Calendar.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/controls/Checkbox.js.map +1 -1
- package/dist/controls/Checkbox.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/controls/Checkbox.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/controls/ColorInput.js.map +1 -1
- package/dist/controls/ColorInput.vue_vue_type_script_setup_true_lang.js +95 -95
- package/dist/controls/ColorInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/controls/Combobox.js.map +1 -1
- package/dist/controls/Combobox.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/controls/Combobox.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/controls/CopyButton.js.map +1 -1
- package/dist/controls/CopyButton.vue_vue_type_script_setup_true_lang.js +44 -30
- package/dist/controls/CopyButton.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/controls/DatePicker.js.map +1 -1
- package/dist/controls/DatePicker.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/controls/DatePicker.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/controls/DateRangePicker.js.map +1 -1
- package/dist/controls/DateRangePicker.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/controls/DateRangePicker.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/controls/FileUpload.js.map +1 -1
- package/dist/controls/FileUpload.vue_vue_type_script_setup_true_lang.js +98 -89
- package/dist/controls/FileUpload.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/controls/InlineEdit.js.map +1 -1
- package/dist/controls/InlineEdit.vue_vue_type_script_setup_true_lang.js +71 -63
- package/dist/controls/InlineEdit.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/controls/MultiSelect.js.map +1 -1
- package/dist/controls/MultiSelect.vue_vue_type_script_setup_true_lang.js +188 -177
- package/dist/controls/MultiSelect.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/controls/NumberInput.js.map +1 -1
- package/dist/controls/NumberInput.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/controls/NumberInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/controls/PhoneInput.js.map +1 -1
- package/dist/controls/PhoneInput.vue_vue_type_script_setup_true_lang.js +39 -39
- package/dist/controls/PhoneInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/controls/RadioGroup.js.map +1 -1
- package/dist/controls/RadioGroup.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/controls/RadioGroup.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/controls/RichTextInput.js +7 -0
- package/dist/controls/RichTextInput.js.map +1 -0
- package/dist/controls/RichTextInput.vue_vue_type_script_setup_true_lang.js +1123 -0
- package/dist/controls/RichTextInput.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/controls/SegmentedControl.js.map +1 -1
- package/dist/controls/SegmentedControl.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/controls/SegmentedControl.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/controls/Select.js.map +1 -1
- package/dist/controls/Select.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/controls/Select.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/controls/Slider.js.map +1 -1
- package/dist/controls/Slider.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/controls/Slider.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/controls/SplitButton.js.map +1 -1
- package/dist/controls/SplitButton.vue_vue_type_script_setup_true_lang.js +102 -87
- package/dist/controls/SplitButton.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/controls/SplitButtonSubmenu.js.map +1 -1
- package/dist/controls/SplitButtonSubmenu.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/controls/SplitButtonSubmenu.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/controls/Switch.js.map +1 -1
- package/dist/controls/Switch.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/controls/Switch.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/controls/TagInput.js.map +1 -1
- package/dist/controls/TagInput.vue_vue_type_script_setup_true_lang.js +122 -111
- package/dist/controls/TagInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/controls/TreeSelect.js.map +1 -1
- package/dist/controls/TreeSelect.vue_vue_type_script_setup_true_lang.js +56 -56
- package/dist/controls/TreeSelect.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/controls/avatar-button.css +1 -1
- package/dist/controls/avatar-button.module.js +5 -4
- package/dist/controls/avatar-button.module.js.map +1 -1
- package/dist/controls/button.css +1 -1
- package/dist/controls/button.module.js +4 -3
- package/dist/controls/button.module.js.map +1 -1
- package/dist/controls/calendar.css +1 -1
- package/dist/controls/calendar.module.js +3 -3
- package/dist/controls/calendar.module.js.map +1 -1
- package/dist/controls/checkbox-group.css +1 -1
- package/dist/controls/checkbox-group.module.js +1 -1
- package/dist/controls/checkbox.css +1 -1
- package/dist/controls/checkbox.module.js +2 -2
- package/dist/controls/checkbox.module.js.map +1 -1
- package/dist/controls/choice-card.css +1 -1
- package/dist/controls/choice-card.module.js +2 -2
- package/dist/controls/choice-card.module.js.map +1 -1
- package/dist/controls/color-input.css +1 -1
- package/dist/controls/color-input.module.js +1 -1
- package/dist/controls/color-input.module.js.map +1 -1
- package/dist/controls/combobox.css +1 -1
- package/dist/controls/combobox.module.js +5 -5
- package/dist/controls/combobox.module.js.map +1 -1
- package/dist/controls/copy-button.css +1 -1
- package/dist/controls/copy-button.module.js +8 -7
- package/dist/controls/copy-button.module.js.map +1 -1
- package/dist/controls/date-picker.css +1 -1
- package/dist/controls/date-picker.module.js +1 -1
- package/dist/controls/date-range-picker.css +1 -1
- package/dist/controls/date-range-picker.module.js +6 -6
- package/dist/controls/date-range-picker.module.js.map +1 -1
- package/dist/controls/duration-input.css +1 -1
- package/dist/controls/duration-input.module.js +1 -1
- package/dist/controls/file-upload.css +1 -1
- package/dist/controls/file-upload.module.js +1 -1
- package/dist/controls/file-upload.module.js.map +1 -1
- package/dist/controls/input.css +1 -1
- package/dist/controls/input.module.js +2 -2
- package/dist/controls/input.module.js.map +1 -1
- package/dist/controls/link.css +1 -1
- package/dist/controls/link.module.js +1 -1
- package/dist/controls/link.module.js.map +1 -1
- package/dist/controls/month-input.css +1 -1
- package/dist/controls/month-input.module.js +1 -1
- package/dist/controls/multi-select.css +1 -1
- package/dist/controls/multi-select.module.js +5 -5
- package/dist/controls/multi-select.module.js.map +1 -1
- package/dist/controls/number-input.css +1 -1
- package/dist/controls/number-input.module.js +1 -1
- package/dist/controls/number-input.module.js.map +1 -1
- package/dist/controls/otp-input.css +1 -1
- package/dist/controls/otp-input.module.js +2 -2
- package/dist/controls/otp-input.module.js.map +1 -1
- package/dist/controls/password-input.css +1 -1
- package/dist/controls/password-input.module.js +2 -2
- package/dist/controls/password-input.module.js.map +1 -1
- package/dist/controls/provider-button.css +1 -1
- package/dist/controls/provider-button.module.js +1 -1
- package/dist/controls/radio-group.css +1 -1
- package/dist/controls/radio-group.module.js +2 -2
- package/dist/controls/radio-group.module.js.map +1 -1
- package/dist/controls/rating.css +1 -1
- package/dist/controls/rating.module.js +1 -1
- package/dist/controls/rich-text-input.css +1 -0
- package/dist/controls/rich-text-input.module.js +47 -0
- package/dist/controls/rich-text-input.module.js.map +1 -0
- package/dist/controls/segmented-control.css +1 -1
- package/dist/controls/segmented-control.module.js +1 -1
- package/dist/controls/select.css +1 -1
- package/dist/controls/select.module.js +3 -3
- package/dist/controls/select.module.js.map +1 -1
- package/dist/controls/selection-bar.css +1 -0
- package/dist/controls/selection-bar.module.js +11 -0
- package/dist/controls/selection-bar.module.js.map +1 -0
- package/dist/controls/slider.css +1 -1
- package/dist/controls/slider.module.js +1 -1
- package/dist/controls/slider.module.js.map +1 -1
- package/dist/controls/split-button.css +1 -1
- package/dist/controls/split-button.module.js +20 -19
- package/dist/controls/split-button.module.js.map +1 -1
- package/dist/controls/switch.css +1 -1
- package/dist/controls/switch.module.js +1 -1
- package/dist/controls/switch.module.js.map +1 -1
- package/dist/controls/tag-input.css +1 -1
- package/dist/controls/tag-input.module.js +1 -1
- package/dist/controls/textarea.css +1 -1
- package/dist/controls/textarea.module.js +1 -1
- package/dist/controls/time-input.css +1 -1
- package/dist/controls/time-input.module.js +1 -1
- package/dist/controls/tree-select.css +1 -1
- package/dist/controls/tree-select.module.js +1 -1
- package/dist/index.js +41 -39
- package/dist/index.js.map +1 -1
- package/dist/layout/split-pane.css +1 -1
- package/dist/layout/split-pane.module.js +1 -1
- package/dist/layout/split-pane.module.js.map +1 -1
- package/dist/node/ai/ArtifactPane.js.map +1 -1
- package/dist/node/ai/ArtifactPane.vue_vue_type_script_setup_true_lang.js +80 -72
- package/dist/node/ai/ArtifactPane.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/ai/PromptInput.js.map +1 -1
- package/dist/node/ai/PromptInput.vue_vue_type_script_setup_true_lang.js +105 -105
- package/dist/node/ai/PromptInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/ai/ReasoningDisclosure.js.map +1 -1
- package/dist/node/ai/ReasoningDisclosure.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/node/ai/ReasoningDisclosure.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/ai/ToolCall.js.map +1 -1
- package/dist/node/ai/ToolCall.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/node/ai/ToolCall.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/ai/artifact-pane.module.js +1 -1
- package/dist/node/ai/attachment-chip.module.js +1 -1
- package/dist/node/ai/attachment-chip.module.js.map +1 -1
- package/dist/node/ai/chat-thread.module.js +1 -1
- package/dist/node/ai/citation.module.js +1 -1
- package/dist/node/ai/prompt-input.module.js +1 -1
- package/dist/node/ai/prompt-input.module.js.map +1 -1
- package/dist/node/ai/reasoning-disclosure.module.js +5 -5
- package/dist/node/ai/reasoning-disclosure.module.js.map +1 -1
- package/dist/node/ai/source-list.module.js +1 -1
- package/dist/node/ai/source-list.module.js.map +1 -1
- package/dist/node/ai/tool-call.module.js +1 -1
- package/dist/node/archetypes/AppShell.js.map +1 -1
- package/dist/node/archetypes/AppShell.vue_vue_type_script_setup_true_lang.js +139 -88
- package/dist/node/archetypes/AppShell.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/archetypes/FormPage.js.map +1 -1
- package/dist/node/archetypes/FormPage.vue_vue_type_script_setup_true_lang.js +43 -21
- package/dist/node/archetypes/FormPage.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/archetypes/MasterDetailPage.js.map +1 -1
- package/dist/node/archetypes/MasterDetailPage.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/node/archetypes/MasterDetailPage.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/archetypes/app-shell.module.js +9 -8
- package/dist/node/archetypes/app-shell.module.js.map +1 -1
- package/dist/node/archetypes/form-page.module.js +5 -3
- package/dist/node/archetypes/form-page.module.js.map +1 -1
- package/dist/node/archetypes/master-detail-page.module.js +1 -1
- package/dist/node/archetypes/master-detail-page.module.js.map +1 -1
- package/dist/node/charts/area-chart.module.js +1 -1
- package/dist/node/charts/bar-chart.module.js +1 -1
- package/dist/node/charts/donut-chart.module.js +1 -1
- package/dist/node/charts/frame/chart-frame.module.js +1 -1
- package/dist/node/charts/frame/chart-legend.module.js +1 -1
- package/dist/node/charts/frame/chart-legend.module.js.map +1 -1
- package/dist/node/charts/funnel-chart.module.js +1 -1
- package/dist/node/charts/heatmap.module.js +1 -1
- package/dist/node/charts/histogram.module.js +1 -1
- package/dist/node/charts/line-chart.module.js +1 -1
- package/dist/node/charts/radar-chart.module.js +1 -1
- package/dist/node/charts/scatter-chart.module.js +1 -1
- package/dist/node/charts/treemap.module.js +1 -1
- package/dist/node/controls/AvatarButton.js.map +1 -1
- package/dist/node/controls/AvatarButton.vue_vue_type_script_setup_true_lang.js +43 -35
- package/dist/node/controls/AvatarButton.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/controls/Button.js.map +1 -1
- package/dist/node/controls/Button.vue_vue_type_script_setup_true_lang.js +74 -62
- package/dist/node/controls/Button.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/controls/Calendar.js.map +1 -1
- package/dist/node/controls/Calendar.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/node/controls/Calendar.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/controls/Checkbox.js.map +1 -1
- package/dist/node/controls/Checkbox.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/node/controls/Checkbox.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/controls/ColorInput.js.map +1 -1
- package/dist/node/controls/ColorInput.vue_vue_type_script_setup_true_lang.js +95 -95
- package/dist/node/controls/ColorInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/controls/Combobox.js.map +1 -1
- package/dist/node/controls/Combobox.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/node/controls/Combobox.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/controls/CopyButton.js.map +1 -1
- package/dist/node/controls/CopyButton.vue_vue_type_script_setup_true_lang.js +44 -30
- package/dist/node/controls/CopyButton.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/controls/DatePicker.js.map +1 -1
- package/dist/node/controls/DatePicker.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/node/controls/DatePicker.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/controls/DateRangePicker.js.map +1 -1
- package/dist/node/controls/DateRangePicker.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/node/controls/DateRangePicker.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/controls/FileUpload.js.map +1 -1
- package/dist/node/controls/FileUpload.vue_vue_type_script_setup_true_lang.js +98 -89
- package/dist/node/controls/FileUpload.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/controls/InlineEdit.js.map +1 -1
- package/dist/node/controls/InlineEdit.vue_vue_type_script_setup_true_lang.js +71 -63
- package/dist/node/controls/InlineEdit.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/controls/MultiSelect.js.map +1 -1
- package/dist/node/controls/MultiSelect.vue_vue_type_script_setup_true_lang.js +188 -177
- package/dist/node/controls/MultiSelect.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/controls/NumberInput.js.map +1 -1
- package/dist/node/controls/NumberInput.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/node/controls/NumberInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/controls/PhoneInput.js.map +1 -1
- package/dist/node/controls/PhoneInput.vue_vue_type_script_setup_true_lang.js +39 -39
- package/dist/node/controls/PhoneInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/controls/RadioGroup.js.map +1 -1
- package/dist/node/controls/RadioGroup.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/node/controls/RadioGroup.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/controls/RichTextInput.js +7 -0
- package/dist/node/controls/RichTextInput.js.map +1 -0
- package/dist/node/controls/RichTextInput.vue_vue_type_script_setup_true_lang.js +1123 -0
- package/dist/node/controls/RichTextInput.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/node/controls/SegmentedControl.js.map +1 -1
- package/dist/node/controls/SegmentedControl.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/node/controls/SegmentedControl.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/controls/Select.js.map +1 -1
- package/dist/node/controls/Select.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/node/controls/Select.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/controls/Slider.js.map +1 -1
- package/dist/node/controls/Slider.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/node/controls/Slider.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/controls/SplitButton.js.map +1 -1
- package/dist/node/controls/SplitButton.vue_vue_type_script_setup_true_lang.js +102 -87
- package/dist/node/controls/SplitButton.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/controls/SplitButtonSubmenu.js.map +1 -1
- package/dist/node/controls/SplitButtonSubmenu.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/node/controls/SplitButtonSubmenu.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/controls/Switch.js.map +1 -1
- package/dist/node/controls/Switch.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/node/controls/Switch.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/controls/TagInput.js.map +1 -1
- package/dist/node/controls/TagInput.vue_vue_type_script_setup_true_lang.js +122 -111
- package/dist/node/controls/TagInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/controls/TreeSelect.js.map +1 -1
- package/dist/node/controls/TreeSelect.vue_vue_type_script_setup_true_lang.js +56 -56
- package/dist/node/controls/TreeSelect.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/controls/avatar-button.module.js +5 -4
- package/dist/node/controls/avatar-button.module.js.map +1 -1
- package/dist/node/controls/button.module.js +4 -3
- package/dist/node/controls/button.module.js.map +1 -1
- package/dist/node/controls/calendar.module.js +3 -3
- package/dist/node/controls/calendar.module.js.map +1 -1
- package/dist/node/controls/checkbox-group.module.js +1 -1
- package/dist/node/controls/checkbox.module.js +2 -2
- package/dist/node/controls/checkbox.module.js.map +1 -1
- package/dist/node/controls/choice-card.module.js +2 -2
- package/dist/node/controls/choice-card.module.js.map +1 -1
- package/dist/node/controls/color-input.module.js +1 -1
- package/dist/node/controls/color-input.module.js.map +1 -1
- package/dist/node/controls/combobox.module.js +5 -5
- package/dist/node/controls/combobox.module.js.map +1 -1
- package/dist/node/controls/copy-button.module.js +8 -7
- package/dist/node/controls/copy-button.module.js.map +1 -1
- package/dist/node/controls/date-picker.module.js +1 -1
- package/dist/node/controls/date-range-picker.module.js +6 -6
- package/dist/node/controls/date-range-picker.module.js.map +1 -1
- package/dist/node/controls/duration-input.module.js +1 -1
- package/dist/node/controls/file-upload.module.js +1 -1
- package/dist/node/controls/file-upload.module.js.map +1 -1
- package/dist/node/controls/input.module.js +2 -2
- package/dist/node/controls/input.module.js.map +1 -1
- package/dist/node/controls/link.module.js +1 -1
- package/dist/node/controls/link.module.js.map +1 -1
- package/dist/node/controls/month-input.module.js +1 -1
- package/dist/node/controls/multi-select.module.js +5 -5
- package/dist/node/controls/multi-select.module.js.map +1 -1
- package/dist/node/controls/number-input.module.js +1 -1
- package/dist/node/controls/number-input.module.js.map +1 -1
- package/dist/node/controls/otp-input.module.js +2 -2
- package/dist/node/controls/otp-input.module.js.map +1 -1
- package/dist/node/controls/password-input.module.js +2 -2
- package/dist/node/controls/password-input.module.js.map +1 -1
- package/dist/node/controls/provider-button.module.js +1 -1
- package/dist/node/controls/radio-group.module.js +2 -2
- package/dist/node/controls/radio-group.module.js.map +1 -1
- package/dist/node/controls/rating.module.js +1 -1
- package/dist/node/controls/rich-text-input.module.js +46 -0
- package/dist/node/controls/rich-text-input.module.js.map +1 -0
- package/dist/node/controls/segmented-control.module.js +1 -1
- package/dist/node/controls/select.module.js +3 -3
- package/dist/node/controls/select.module.js.map +1 -1
- package/dist/node/controls/selection-bar.module.js +10 -0
- package/dist/node/controls/selection-bar.module.js.map +1 -0
- package/dist/node/controls/slider.module.js +1 -1
- package/dist/node/controls/slider.module.js.map +1 -1
- package/dist/node/controls/split-button.module.js +20 -19
- package/dist/node/controls/split-button.module.js.map +1 -1
- package/dist/node/controls/switch.module.js +1 -1
- package/dist/node/controls/switch.module.js.map +1 -1
- package/dist/node/controls/tag-input.module.js +1 -1
- package/dist/node/controls/textarea.module.js +1 -1
- package/dist/node/controls/time-input.module.js +1 -1
- package/dist/node/controls/tree-select.module.js +1 -1
- package/dist/node/index.js +41 -39
- package/dist/node/index.js.map +1 -1
- package/dist/node/layout/split-pane.module.js +1 -1
- package/dist/node/layout/split-pane.module.js.map +1 -1
- package/dist/node/overlays/Command.js.map +1 -1
- package/dist/node/overlays/Command.vue_vue_type_script_setup_true_lang.js +50 -45
- package/dist/node/overlays/Command.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/overlays/CommandPanel.js.map +1 -1
- package/dist/node/overlays/CommandPanel.vue_vue_type_script_setup_true_lang.js +82 -82
- package/dist/node/overlays/CommandPanel.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/overlays/ContextMenu.js.map +1 -1
- package/dist/node/overlays/ContextMenu.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/node/overlays/ContextMenu.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/overlays/ContextMenuSubmenu.js.map +1 -1
- package/dist/node/overlays/ContextMenuSubmenu.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/node/overlays/ContextMenuSubmenu.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/overlays/Dialog.js.map +1 -1
- package/dist/node/overlays/Dialog.vue_vue_type_script_setup_true_lang.js +47 -43
- package/dist/node/overlays/Dialog.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/overlays/Drawer.js.map +1 -1
- package/dist/node/overlays/Drawer.vue_vue_type_script_setup_true_lang.js +58 -53
- package/dist/node/overlays/Drawer.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/overlays/Lightbox.js.map +1 -1
- package/dist/node/overlays/Lightbox.vue_vue_type_script_setup_true_lang.js +65 -61
- package/dist/node/overlays/Lightbox.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/overlays/Menu.js.map +1 -1
- package/dist/node/overlays/Menu.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/node/overlays/Menu.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/overlays/MenuSubmenu.js.map +1 -1
- package/dist/node/overlays/MenuSubmenu.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/node/overlays/MenuSubmenu.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/overlays/Menubar.js.map +1 -1
- package/dist/node/overlays/Menubar.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/node/overlays/Menubar.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/overlays/MenubarSubmenu.js.map +1 -1
- package/dist/node/overlays/MenubarSubmenu.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/node/overlays/MenubarSubmenu.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/overlays/Popover.js.map +1 -1
- package/dist/node/overlays/Popover.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/node/overlays/Popover.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/overlays/Tabs.js.map +1 -1
- package/dist/node/overlays/Tabs.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/node/overlays/Tabs.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/overlays/Toast.js.map +1 -1
- package/dist/node/overlays/Toast.vue_vue_type_script_setup_true_lang.js +27 -27
- package/dist/node/overlays/Toast.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/overlays/ToastCard.js.map +1 -1
- package/dist/node/overlays/ToastCard.vue_vue_type_script_setup_true_lang.js +74 -71
- package/dist/node/overlays/ToastCard.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/overlays/ToastViewport.js.map +1 -1
- package/dist/node/overlays/ToastViewport.vue_vue_type_script_setup_true_lang.js +70 -59
- package/dist/node/overlays/ToastViewport.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/overlays/Tooltip.js.map +1 -1
- package/dist/node/overlays/Tooltip.vue_vue_type_script_setup_true_lang.js +46 -26
- package/dist/node/overlays/Tooltip.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/overlays/Tour.js.map +1 -1
- package/dist/node/overlays/Tour.vue_vue_type_script_setup_true_lang.js +74 -69
- package/dist/node/overlays/Tour.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/overlays/context-menu.module.js +4 -4
- package/dist/node/overlays/context-menu.module.js.map +1 -1
- package/dist/node/overlays/dialog.module.js +1 -1
- package/dist/node/overlays/dialog.module.js.map +1 -1
- package/dist/node/overlays/drawer.module.js +1 -1
- package/dist/node/overlays/drawer.module.js.map +1 -1
- package/dist/node/overlays/lightbox.module.js +1 -1
- package/dist/node/overlays/menu.module.js +4 -4
- package/dist/node/overlays/menu.module.js.map +1 -1
- package/dist/node/overlays/menubar.module.js +1 -1
- package/dist/node/overlays/menubar.module.js.map +1 -1
- package/dist/node/overlays/popover.module.js +3 -3
- package/dist/node/overlays/popover.module.js.map +1 -1
- package/dist/node/overlays/sheet.module.js +1 -1
- package/dist/node/overlays/sheet.module.js.map +1 -1
- package/dist/node/overlays/tabs.module.js +4 -4
- package/dist/node/overlays/tabs.module.js.map +1 -1
- package/dist/node/overlays/toast.module.js +1 -1
- package/dist/node/overlays/toast.module.js.map +1 -1
- package/dist/node/overlays/tour.module.js +1 -1
- package/dist/node/overlays/tour.module.js.map +1 -1
- package/dist/node/structure/Accordion.js.map +1 -1
- package/dist/node/structure/Accordion.vue_vue_type_script_setup_true_lang.js +5 -1
- package/dist/node/structure/Accordion.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/structure/Alert.js.map +1 -1
- package/dist/node/structure/Alert.vue_vue_type_script_setup_true_lang.js +62 -54
- package/dist/node/structure/Alert.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/structure/Banner.js.map +1 -1
- package/dist/node/structure/Banner.vue_vue_type_script_setup_true_lang.js +42 -34
- package/dist/node/structure/Banner.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/structure/Carousel.js.map +1 -1
- package/dist/node/structure/Carousel.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/node/structure/Carousel.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/structure/Collapsible.js.map +1 -1
- package/dist/node/structure/Collapsible.vue_vue_type_script_setup_true_lang.js +5 -1
- package/dist/node/structure/Collapsible.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/structure/CursorPagination.js.map +1 -1
- package/dist/node/structure/CursorPagination.vue_vue_type_script_setup_true_lang.js +140 -93
- package/dist/node/structure/CursorPagination.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/structure/DataTable.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/structure/Image.js.map +1 -1
- package/dist/node/structure/Image.vue_vue_type_script_setup_true_lang.js +30 -18
- package/dist/node/structure/Image.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/structure/Pagination.js.map +1 -1
- package/dist/node/structure/Pagination.vue_vue_type_script_setup_true_lang.js +154 -71
- package/dist/node/structure/Pagination.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/structure/RichTextContent.js +7 -0
- package/dist/node/structure/RichTextContent.js.map +1 -0
- package/dist/node/structure/RichTextContent.vue_vue_type_script_setup_true_lang.js +298 -0
- package/dist/node/structure/RichTextContent.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/node/structure/RichTextContentBlocks.js +7 -0
- package/dist/node/structure/RichTextContentBlocks.js.map +1 -0
- package/dist/node/structure/RichTextContentBlocks.vue_vue_type_script_setup_true_lang.js +94 -0
- package/dist/node/structure/RichTextContentBlocks.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/node/structure/RichTextContentInlines.js +7 -0
- package/dist/node/structure/RichTextContentInlines.js.map +1 -0
- package/dist/node/structure/RichTextContentInlines.vue_vue_type_script_setup_true_lang.js +69 -0
- package/dist/node/structure/RichTextContentInlines.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/node/structure/RichTextContentItem.js +7 -0
- package/dist/node/structure/RichTextContentItem.js.map +1 -0
- package/dist/node/structure/RichTextContentItem.vue_vue_type_script_setup_true_lang.js +94 -0
- package/dist/node/structure/RichTextContentItem.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/node/structure/ScrollArea.js.map +1 -1
- package/dist/node/structure/ScrollArea.vue_vue_type_script_setup_true_lang.js +30 -27
- package/dist/node/structure/ScrollArea.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/structure/Table.js.map +1 -1
- package/dist/node/structure/Table.vue_vue_type_script_setup_true_lang.js +71 -61
- package/dist/node/structure/Table.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/node/structure/accordion.module.js +5 -5
- package/dist/node/structure/accordion.module.js.map +1 -1
- package/dist/node/structure/breadcrumbs.module.js +1 -1
- package/dist/node/structure/breadcrumbs.module.js.map +1 -1
- package/dist/node/structure/card.module.js +1 -1
- package/dist/node/structure/card.module.js.map +1 -1
- package/dist/node/structure/carousel.module.js +1 -1
- package/dist/node/structure/carousel.module.js.map +1 -1
- package/dist/node/structure/code-block.module.js +2 -2
- package/dist/node/structure/code-block.module.js.map +1 -1
- package/dist/node/structure/collapsible.module.js +5 -5
- package/dist/node/structure/collapsible.module.js.map +1 -1
- package/dist/node/structure/cursor-pagination.module.js +6 -3
- package/dist/node/structure/cursor-pagination.module.js.map +1 -1
- package/dist/node/structure/data-table.module.js +1 -1
- package/dist/node/structure/error-summary.module.js +1 -1
- package/dist/node/structure/error-summary.module.js.map +1 -1
- package/dist/node/structure/json-tree.module.js +1 -1
- package/dist/node/structure/json-tree.module.js.map +1 -1
- package/dist/node/structure/list.module.js +1 -1
- package/dist/node/structure/list.module.js.map +1 -1
- package/dist/node/structure/log-view.module.js +1 -1
- package/dist/node/structure/pagination.module.js +7 -3
- package/dist/node/structure/pagination.module.js.map +1 -1
- package/dist/node/structure/rich-text-content.module.js +18 -0
- package/dist/node/structure/rich-text-content.module.js.map +1 -0
- package/dist/node/structure/section-nav.module.js +1 -1
- package/dist/node/structure/section-nav.module.js.map +1 -1
- package/dist/node/structure/stepper.module.js +2 -2
- package/dist/node/structure/stepper.module.js.map +1 -1
- package/dist/node/structure/table-of-contents.module.js +1 -1
- package/dist/node/structure/table-of-contents.module.js.map +1 -1
- package/dist/node/structure/table.module.js +1 -1
- package/dist/node/structure/table.module.js.map +1 -1
- package/dist/node/structure/tree.module.js +1 -1
- package/dist/node/structure/tree.module.js.map +1 -1
- package/dist/overlays/Command.js.map +1 -1
- package/dist/overlays/Command.vue_vue_type_script_setup_true_lang.js +50 -45
- package/dist/overlays/Command.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/overlays/CommandPanel.js.map +1 -1
- package/dist/overlays/CommandPanel.vue_vue_type_script_setup_true_lang.js +82 -82
- package/dist/overlays/CommandPanel.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/overlays/ContextMenu.js.map +1 -1
- package/dist/overlays/ContextMenu.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/overlays/ContextMenu.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/overlays/ContextMenuSubmenu.js.map +1 -1
- package/dist/overlays/ContextMenuSubmenu.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/overlays/ContextMenuSubmenu.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/overlays/Dialog.js.map +1 -1
- package/dist/overlays/Dialog.vue_vue_type_script_setup_true_lang.js +47 -43
- package/dist/overlays/Dialog.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/overlays/Drawer.js.map +1 -1
- package/dist/overlays/Drawer.vue_vue_type_script_setup_true_lang.js +58 -53
- package/dist/overlays/Drawer.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/overlays/Lightbox.js.map +1 -1
- package/dist/overlays/Lightbox.vue_vue_type_script_setup_true_lang.js +65 -61
- package/dist/overlays/Lightbox.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/overlays/Menu.js.map +1 -1
- package/dist/overlays/Menu.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/overlays/Menu.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/overlays/MenuSubmenu.js.map +1 -1
- package/dist/overlays/MenuSubmenu.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/overlays/MenuSubmenu.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/overlays/Menubar.js.map +1 -1
- package/dist/overlays/Menubar.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/overlays/Menubar.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/overlays/MenubarSubmenu.js.map +1 -1
- package/dist/overlays/MenubarSubmenu.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/overlays/MenubarSubmenu.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/overlays/Popover.js.map +1 -1
- package/dist/overlays/Popover.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/overlays/Popover.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/overlays/Tabs.js.map +1 -1
- package/dist/overlays/Tabs.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/overlays/Tabs.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/overlays/Toast.js.map +1 -1
- package/dist/overlays/Toast.vue_vue_type_script_setup_true_lang.js +27 -27
- package/dist/overlays/Toast.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/overlays/ToastCard.js.map +1 -1
- package/dist/overlays/ToastCard.vue_vue_type_script_setup_true_lang.js +74 -71
- package/dist/overlays/ToastCard.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/overlays/ToastViewport.js.map +1 -1
- package/dist/overlays/ToastViewport.vue_vue_type_script_setup_true_lang.js +70 -59
- package/dist/overlays/ToastViewport.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/overlays/Tooltip.js.map +1 -1
- package/dist/overlays/Tooltip.vue_vue_type_script_setup_true_lang.js +46 -26
- package/dist/overlays/Tooltip.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/overlays/Tour.js.map +1 -1
- package/dist/overlays/Tour.vue_vue_type_script_setup_true_lang.js +74 -69
- package/dist/overlays/Tour.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/overlays/context-menu.css +1 -1
- package/dist/overlays/context-menu.module.js +4 -4
- package/dist/overlays/context-menu.module.js.map +1 -1
- package/dist/overlays/dialog.css +1 -1
- package/dist/overlays/dialog.module.js +1 -1
- package/dist/overlays/dialog.module.js.map +1 -1
- package/dist/overlays/drawer.css +1 -1
- package/dist/overlays/drawer.module.js +1 -1
- package/dist/overlays/drawer.module.js.map +1 -1
- package/dist/overlays/lightbox.css +1 -1
- package/dist/overlays/lightbox.module.js +1 -1
- package/dist/overlays/menu.css +1 -1
- package/dist/overlays/menu.module.js +4 -4
- package/dist/overlays/menu.module.js.map +1 -1
- package/dist/overlays/menubar.css +1 -1
- package/dist/overlays/menubar.module.js +1 -1
- package/dist/overlays/menubar.module.js.map +1 -1
- package/dist/overlays/popover.css +1 -1
- package/dist/overlays/popover.module.js +3 -3
- package/dist/overlays/popover.module.js.map +1 -1
- package/dist/overlays/sheet.css +1 -1
- package/dist/overlays/sheet.module.js +1 -1
- package/dist/overlays/sheet.module.js.map +1 -1
- package/dist/overlays/tabs.css +1 -1
- package/dist/overlays/tabs.module.js +4 -4
- package/dist/overlays/tabs.module.js.map +1 -1
- package/dist/overlays/toast.css +1 -1
- package/dist/overlays/toast.module.js +1 -1
- package/dist/overlays/toast.module.js.map +1 -1
- package/dist/overlays/tour.css +1 -1
- package/dist/overlays/tour.module.js +1 -1
- package/dist/overlays/tour.module.js.map +1 -1
- package/dist/structure/Accordion.js.map +1 -1
- package/dist/structure/Accordion.vue_vue_type_script_setup_true_lang.js +5 -1
- package/dist/structure/Accordion.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/structure/Alert.js.map +1 -1
- package/dist/structure/Alert.vue_vue_type_script_setup_true_lang.js +62 -54
- package/dist/structure/Alert.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/structure/Banner.js.map +1 -1
- package/dist/structure/Banner.vue_vue_type_script_setup_true_lang.js +42 -34
- package/dist/structure/Banner.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/structure/Carousel.js.map +1 -1
- package/dist/structure/Carousel.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/structure/Carousel.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/structure/Collapsible.js.map +1 -1
- package/dist/structure/Collapsible.vue_vue_type_script_setup_true_lang.js +5 -1
- package/dist/structure/Collapsible.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/structure/CursorPagination.js.map +1 -1
- package/dist/structure/CursorPagination.vue_vue_type_script_setup_true_lang.js +140 -93
- package/dist/structure/CursorPagination.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/structure/DataTable.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/structure/Image.js.map +1 -1
- package/dist/structure/Image.vue_vue_type_script_setup_true_lang.js +30 -18
- package/dist/structure/Image.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/structure/Pagination.js.map +1 -1
- package/dist/structure/Pagination.vue_vue_type_script_setup_true_lang.js +154 -71
- package/dist/structure/Pagination.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/structure/RichTextContent.js +7 -0
- package/dist/structure/RichTextContent.js.map +1 -0
- package/dist/structure/RichTextContent.vue_vue_type_script_setup_true_lang.js +298 -0
- package/dist/structure/RichTextContent.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/structure/RichTextContentBlocks.js +7 -0
- package/dist/structure/RichTextContentBlocks.js.map +1 -0
- package/dist/structure/RichTextContentBlocks.vue_vue_type_script_setup_true_lang.js +94 -0
- package/dist/structure/RichTextContentBlocks.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/structure/RichTextContentInlines.js +7 -0
- package/dist/structure/RichTextContentInlines.js.map +1 -0
- package/dist/structure/RichTextContentInlines.vue_vue_type_script_setup_true_lang.js +69 -0
- package/dist/structure/RichTextContentInlines.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/structure/RichTextContentItem.js +7 -0
- package/dist/structure/RichTextContentItem.js.map +1 -0
- package/dist/structure/RichTextContentItem.vue_vue_type_script_setup_true_lang.js +94 -0
- package/dist/structure/RichTextContentItem.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/structure/ScrollArea.js.map +1 -1
- package/dist/structure/ScrollArea.vue_vue_type_script_setup_true_lang.js +30 -27
- package/dist/structure/ScrollArea.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/structure/Table.js.map +1 -1
- package/dist/structure/Table.vue_vue_type_script_setup_true_lang.js +71 -61
- package/dist/structure/Table.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/structure/accordion.css +1 -1
- package/dist/structure/accordion.module.js +5 -5
- package/dist/structure/accordion.module.js.map +1 -1
- package/dist/structure/breadcrumbs.css +1 -1
- package/dist/structure/breadcrumbs.module.js +1 -1
- package/dist/structure/breadcrumbs.module.js.map +1 -1
- package/dist/structure/card.css +1 -1
- package/dist/structure/card.module.js +1 -1
- package/dist/structure/card.module.js.map +1 -1
- package/dist/structure/carousel.css +1 -1
- package/dist/structure/carousel.module.js +1 -1
- package/dist/structure/carousel.module.js.map +1 -1
- package/dist/structure/code-block.css +1 -1
- package/dist/structure/code-block.module.js +2 -2
- package/dist/structure/code-block.module.js.map +1 -1
- package/dist/structure/collapsible.css +1 -1
- package/dist/structure/collapsible.module.js +5 -5
- package/dist/structure/collapsible.module.js.map +1 -1
- package/dist/structure/cursor-pagination.css +1 -1
- package/dist/structure/cursor-pagination.module.js +6 -3
- package/dist/structure/cursor-pagination.module.js.map +1 -1
- package/dist/structure/data-table.css +1 -1
- package/dist/structure/data-table.module.js +1 -1
- package/dist/structure/error-summary.css +1 -1
- package/dist/structure/error-summary.module.js +1 -1
- package/dist/structure/error-summary.module.js.map +1 -1
- package/dist/structure/json-tree.css +1 -1
- package/dist/structure/json-tree.module.js +1 -1
- package/dist/structure/json-tree.module.js.map +1 -1
- package/dist/structure/list.css +1 -1
- package/dist/structure/list.module.js +1 -1
- package/dist/structure/list.module.js.map +1 -1
- package/dist/structure/log-view.css +1 -1
- package/dist/structure/log-view.module.js +1 -1
- package/dist/structure/pagination.css +1 -1
- package/dist/structure/pagination.module.js +7 -3
- package/dist/structure/pagination.module.js.map +1 -1
- package/dist/structure/rich-text-content.css +1 -0
- package/dist/structure/rich-text-content.module.js +19 -0
- package/dist/structure/rich-text-content.module.js.map +1 -0
- package/dist/structure/section-nav.css +1 -1
- package/dist/structure/section-nav.module.js +1 -1
- package/dist/structure/section-nav.module.js.map +1 -1
- package/dist/structure/stepper.css +1 -1
- package/dist/structure/stepper.module.js +2 -2
- package/dist/structure/stepper.module.js.map +1 -1
- package/dist/structure/table-of-contents.css +1 -1
- package/dist/structure/table-of-contents.module.js +1 -1
- package/dist/structure/table-of-contents.module.js.map +1 -1
- package/dist/structure/table.css +1 -1
- package/dist/structure/table.module.js +1 -1
- package/dist/structure/table.module.js.map +1 -1
- package/dist/structure/tree.css +1 -1
- package/dist/structure/tree.module.js +1 -1
- package/dist/structure/tree.module.js.map +1 -1
- package/dist/types/ai/ArtifactPane.vue.d.ts +1 -1
- package/dist/types/ai/AttachmentChip.vue.d.ts +1 -1
- package/dist/types/ai/ToolCall.vue.d.ts +1 -1
- package/dist/types/archetypes/FormPage.vue.d.ts +1 -0
- package/dist/types/charts/BarChart.vue.d.ts +1 -1
- package/dist/types/controls/FileUpload.vue.d.ts +1 -1
- package/dist/types/controls/RecordButton.vue.d.ts +2 -2
- package/dist/types/controls/RichTextInput.vue.d.ts +210 -0
- package/dist/types/controls/Slider.vue.d.ts +1 -1
- package/dist/types/index.d.ts +4 -0
- package/dist/types/layout/Grid.vue.d.ts +1 -1
- package/dist/types/layout/Inline.vue.d.ts +2 -2
- package/dist/types/layout/Stack.vue.d.ts +2 -2
- package/dist/types/overlays/CommandPanel.vue.d.ts +2 -2
- package/dist/types/overlays/Drawer.vue.d.ts +1 -1
- package/dist/types/overlays/HoverCard.vue.d.ts +1 -1
- package/dist/types/overlays/Menu.vue.d.ts +1 -1
- package/dist/types/overlays/Popover.vue.d.ts +1 -1
- package/dist/types/overlays/Toast.vue.d.ts +3 -1
- package/dist/types/overlays/Tooltip.vue.d.ts +1 -1
- package/dist/types/structure/Accordion.vue.d.ts +7 -0
- package/dist/types/structure/Collapsible.vue.d.ts +7 -0
- package/dist/types/structure/CursorPagination.vue.d.ts +13 -0
- package/dist/types/structure/EmptyState.vue.d.ts +1 -1
- package/dist/types/structure/Hero.vue.d.ts +1 -1
- package/dist/types/structure/Image.vue.d.ts +13 -0
- package/dist/types/structure/Pagination.vue.d.ts +8 -0
- package/dist/types/structure/RelativeTime.vue.d.ts +1 -1
- package/dist/types/structure/RichTextContent.vue.d.ts +59 -0
- package/dist/types/structure/RichTextContentBlocks.vue.d.ts +7 -0
- package/dist/types/structure/RichTextContentInlines.vue.d.ts +7 -0
- package/dist/types/structure/RichTextContentItem.vue.d.ts +7 -0
- package/package.json +17 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multi-select.module.js","names":[],"sources":["../../../../recipes/src/controls/multi-select.module.css"],"sourcesContent":["/* MultiSelect — `design/components/multi-select.md`.\n *\n * The recipe copies two others instead of composing them. The field is TagInput's\n * container: Input's recipe in every state, but growing in height. The panel is Select's\n * content recipe, as Combobox uses it. The completeness law checks each component's own\n * stylesheet, so each member keeps its own copy of the rules it uses. Combobox makes the\n * same choice for the same reason.\n *\n * `var(--radix-popover-*)` values are measured by the positioning engine at runtime. No\n * one authors them, so the token law allows that namespace. */\n\n.field {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback from '../conventions/motion.module.css';\n position: relative;\n display: flex;\n flex-wrap: wrap;\n gap: var(--pm-space-1);\n align-items: center;\n min-block-size: var(--pm-control-height-md);\n padding: var(--pm-space-1) var(--pm-space-2);\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-primary);\n cursor: text;\n background: var(--pm-bg-surface);\n border: 1px solid var(--pm-border-field);\n border-radius: var(--pm-radius-control);\n\n /* The control seat shadow, from Input, used by every field in the family. */\n box-shadow: var(--pm-shadow-seat);\n}\n\n/* The chips are a real `<ul>` that screen readers announce, but not a layout box.\n `display: contents` puts them into the field's wrapping flow (as in TagInput). */\n.chips {\n display: contents;\n}\n\n.chip {\n display: inline-flex;\n gap: var(--pm-space-1);\n align-items: center;\n block-size: calc(var(--pm-control-height-sm) - var(--pm-space-2));\n padding-inline: var(--pm-space-2);\n background: var(--pm-bg-subtle);\n border: 1px solid var(--pm-border-subtle);\n border-radius: var(--pm-radius-pill);\n}\n\n/* A long label is truncated with an ellipsis so the field does not grow a third row. */\n.label {\n max-inline-size: calc(var(--pm-space-10) * 2);\n overflow: hidden;\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-primary);\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n/* The labelled remove button, as in TagInput. It has its own focus ring and is square\n at the chip's full height. The minimum target size comes from a negative inset on\n `::before`, not from layout. */\n.remove {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback pressable from '../conventions/motion.module.css';\n position: relative;\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n align-self: stretch;\n aspect-ratio: 1;\n padding: 0;\n color: var(--pm-text-muted);\n cursor: pointer;\n background: transparent;\n border: 0;\n border-radius: var(--pm-radius-pill);\n}\n\n.remove::before {\n position: absolute;\n inset: calc((100% - var(--pm-control-height-sm)) / 2);\n content: '';\n}\n\n.remove:hover {\n color: var(--pm-danger-text);\n}\n\n/* During keyboard navigation, the chip that holds focus shows it on its border. */\n.chip:focus-within {\n border-color: var(--pm-border-focus-solid);\n}\n\n/* Unstyled, with the field's type. `font: inherit` keeps the caret on the type scale\n at every size. */\n.input {\n flex: 1;\n min-inline-size: calc(var(--pm-space-10) / 2);\n padding: 0;\n font: inherit;\n color: inherit;\n background: transparent;\n border: 0;\n outline: none;\n}\n\n/* Firefox dims placeholders by default. The muted colour already marks them, so the\n opacity is reset to avoid dimming twice. */\n.input::placeholder {\n color: var(--pm-text-muted);\n opacity: 1;\n}\n\n/* Combobox's chevron. It is muted and rotates while the panel is open. Motion binding\n `select.chevron`: transform, control class, `standard` easing. */\n.chevron {\n composes: focusRing from '../conventions/focus.module.css';\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n padding: 0;\n color: var(--pm-text-muted);\n cursor: pointer;\n background: transparent;\n border: 0;\n border-radius: var(--pm-radius-sm);\n transition: transform var(--pm-motion-duration-control) var(--pm-motion-easing-standard);\n}\n\n/* Motion binding `combobox.glyph`: `fade`, control class. The glyph element is replaced\n when loading starts and ends, so only the enter is animated. */\n.chevron svg {\n animation: multi-select-glyph-enter var(--pm-motion-duration-control)\n var(--pm-motion-easing-enter);\n}\n\n@keyframes multi-select-glyph-enter {\n from {\n opacity: 0;\n }\n}\n\n/* The loading glyph spins, as Button's spinner does. The motion module owns its period,\n its inverse temperament scaling and the three ways it is switched off. */\n.spinner {\n composes: spin from '../conventions/motion.module.css';\n display: inline-flex;\n}\n\n/* Screen-reader-only text: the count and maximum sentence, and the removal\n announcements (as in TagInput). */\n.reader {\n composes: visuallyHidden from '../conventions/a11y.module.css';\n}\n\n/* The single async live region (as in Combobox). It is hidden by clipping, not by\n `display: none`, because `display: none` would stop announcements. */\n.status {\n position: absolute;\n inline-size: 1px;\n block-size: 1px;\n padding: 0;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n}\n\n/* sizes — container min-height steps, chips stay one size (conventions) ----- */\n\n.field[data-size='sm'] {\n min-block-size: var(--pm-control-height-sm);\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n line-height: var(--pm-text-xs-line-height);\n letter-spacing: var(--pm-text-xs-tracking);\n}\n\n.field[data-size='lg'] {\n min-block-size: var(--pm-control-height-lg);\n font-family: var(--pm-text-md-family);\n font-size: var(--pm-text-md-size);\n font-weight: var(--pm-text-md-weight);\n line-height: var(--pm-text-md-line-height);\n letter-spacing: var(--pm-text-md-tracking);\n}\n\n/* field states --------------------------------------------------------------- */\n\n.field[data-invalid] {\n border-color: var(--pm-danger-border);\n}\n\n/* The refusal flash, copied from TagInput's `tag-input-refusal` (the \"Refusal is\n answered\" rule). The border turns danger and back once over the control duration. It\n changes colour only. At `none` the duration token is 0, so there is no flash and the\n announcement alone reports the refusal. */\n@keyframes multi-select-refusal {\n 50% {\n border-color: var(--pm-danger-border);\n }\n}\n\n.field[data-refused] {\n animation: multi-select-refusal var(--pm-motion-duration-control) var(--pm-motion-easing-standard);\n}\n\n.field[data-disabled] {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n background: var(--pm-bg-subtle);\n border-color: var(--pm-border-subtle);\n\n /* The seat shadow signals a ready control, so disabled removes it (as in Input). */\n box-shadow: none;\n}\n\n.field[data-disabled] .label {\n color: var(--pm-text-disabled);\n}\n\n.field[data-disabled] .chevron {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n}\n\n/* At the maximum. The field stays focusable, but no more values can be added, so the\n text cursor is removed. */\n.field[data-at-max] {\n cursor: default;\n}\n\n/* While open, the field keeps the hover border so it does not flicker back to rest.\n Invalid fields are excluded rather than overridden (as in Combobox). */\n.field[data-state='open']:not([data-invalid]) {\n border-color: var(--pm-border-strong);\n}\n\n.field:hover:not([data-disabled], [data-invalid]) {\n border-color: var(--pm-border-strong);\n}\n\n.field[data-state='open'] .chevron {\n transform: rotate(180deg);\n}\n\n/* While a query is loading the glyph is a spinner, and it does not rotate with the\n panel, so the control shows one state at a time. */\n.field[data-loading] .chevron {\n transform: none;\n}\n\n/* A chip that is being removed cannot be clicked again (the interruption laws in\n motion.md). */\n.chip[data-removing] {\n pointer-events: none;\n}\n\n/* panel — Select's content recipe, copied as in Combobox --------------------- */\n\n.content {\n display: flex;\n flex-direction: column;\n\n /* `overlay` from the stacking scale. The popper copies it onto its wrapper\n (menu.module.css explains how). */\n z-index: var(--pm-z-overlay);\n min-inline-size: var(--radix-popover-trigger-width);\n max-block-size: var(--radix-popover-content-available-height);\n padding: var(--pm-space-2);\n overflow: hidden;\n background: var(--pm-bg-overlay);\n border: 1px solid var(--pm-border-subtle);\n border-radius: var(--pm-radius-surface);\n box-shadow: var(--pm-shadow-transient);\n transform-origin: var(--radix-popover-content-transform-origin);\n}\n\n/* Motion binding `combobox.popup`: `scale-fade`, surface class, anchored origin. It is\n the same as Select's. Radix keeps the node mounted for the closed animation, so the\n exit animates instead of cutting. */\n.content[data-state='open'] {\n animation: multi-select-content-enter var(--pm-motion-duration-surface)\n var(--pm-motion-easing-enter);\n}\n\n.content[data-state='closed'] {\n animation: multi-select-content-exit var(--pm-motion-duration-surface-exit)\n var(--pm-motion-easing-exit);\n}\n\n@keyframes multi-select-content-enter {\n from {\n opacity: 0;\n transform: scale(0.94);\n }\n}\n\n@keyframes multi-select-content-exit {\n to {\n opacity: 0;\n transform: scale(0.94);\n }\n}\n\n.listbox {\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-1);\n min-block-size: 0;\n padding: 0;\n margin: 0;\n overflow-y: auto;\n list-style: none;\n outline: none;\n}\n\n/* The sheet below 30rem (the conventions' sheet presentation), copied from Combobox.\n It keeps the popper panel's `--pm-space-2` inset, the listbox scrolls under the\n sheet's height cap, and the safe-area inset adds to this member's own edge padding.\n The popper rules do not apply because there is no anchor. */\n.sheetBody {\n display: flex;\n flex-direction: column;\n min-block-size: 0;\n padding: var(--pm-space-2);\n padding-block-end: calc(var(--pm-space-2) + env(safe-area-inset-bottom, 0px));\n}\n\n/* options — Select's item recipe with the check column, as in Combobox ------- */\n\n.option {\n composes: stateFeedback from '../conventions/motion.module.css';\n display: flex;\n gap: var(--pm-space-2);\n align-items: center;\n min-block-size: var(--pm-control-height-sm);\n padding-inline: var(--pm-space-3);\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-primary);\n cursor: pointer;\n user-select: none;\n border-radius: var(--pm-radius-sm);\n outline: none;\n}\n\n/* The check column is reserved on every row, so labels do not shift as checks appear\n and disappear. */\n.check {\n composes: stateFeedback from '../conventions/motion.module.css';\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n inline-size: var(--pm-icon-size-sm);\n}\n\n.text {\n display: flex;\n flex-direction: column;\n justify-content: center;\n min-inline-size: 0;\n}\n\n.optionLabel {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n/* A two-line option grows to fit; the check column is unchanged. */\n.description {\n composes: stateFeedback from '../conventions/motion.module.css';\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n line-height: var(--pm-text-xs-line-height);\n letter-spacing: var(--pm-text-xs-tracking);\n color: var(--pm-text-muted);\n}\n\n/* `data-highlighted` marks both the keyboard and the pointer position. It is a\n transient tint, not the selection (Menu's law). The check column shows what is\n chosen, so the two states cannot be confused. */\n.option[data-highlighted] {\n color: var(--pm-accent-text);\n background: var(--pm-accent-subtle);\n}\n\n.option[data-highlighted] .description {\n color: inherit;\n}\n\n/* At the maximum every unchecked row is disabled and looks disabled. */\n.option[data-disabled] {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n background: transparent;\n}\n\n.option[data-disabled] .description {\n color: var(--pm-text-disabled);\n}\n\n/* The label keeps the primary colour when chosen. The check shows the selection\n (Select's law). */\n.option[data-state='checked'] .check {\n color: var(--pm-accent-text);\n}\n\n/* Both containers. The sheet uses the same rows with the same size steps. */\n.content[data-size='sm'] .option,\n.sheetBody[data-size='sm'] .option {\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n line-height: var(--pm-text-xs-line-height);\n letter-spacing: var(--pm-text-xs-tracking);\n}\n\n.content[data-size='lg'] .option,\n.sheetBody[data-size='lg'] .option {\n font-family: var(--pm-text-md-family);\n font-size: var(--pm-text-md-size);\n font-weight: var(--pm-text-md-weight);\n line-height: var(--pm-text-md-line-height);\n letter-spacing: var(--pm-text-md-tracking);\n}\n\n/* async rows — copied from Combobox ------------------------------------------ */\n\n/* Three placeholder rows at option height instead of a centred spinner. The panel keeps\n its size, so the layout does not jump when results arrive. */\n.rows {\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-1);\n}\n\n.row {\n display: flex;\n align-items: center;\n block-size: var(--pm-control-height-sm);\n padding-inline: var(--pm-space-3);\n}\n\n/* The empty state is one line of text, not an illustration. */\n.empty {\n display: flex;\n align-items: center;\n justify-content: center;\n block-size: var(--pm-control-height-sm);\n padding-inline: var(--pm-space-3);\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-muted);\n}\n\n/* The conventions' focus-zoom floor for phones. Below `30rem` the `<input>` uses the md\n size and line height so iOS does not zoom the page on focus. Only those two metrics\n change. Colour, weight and tracking stay the same, and nothing else moves. */\n@media (width < 30rem) {\n .input {\n font-size: var(--pm-text-entry-size);\n line-height: var(--pm-text-entry-line-height);\n }\n}\n\n/* Reduced-motion versions (motion.md). The chevron still rotates, without a transition,\n because the rotation shows open or closed. Removing it would remove state, not just\n motion. `scale-fade` becomes `fade` with the same durations. */\n@media (prefers-reduced-motion: reduce) {\n .chevron {\n transition: none;\n }\n\n @keyframes multi-select-content-enter {\n from {\n opacity: 0;\n }\n }\n\n @keyframes multi-select-content-exit {\n to {\n opacity: 0;\n }\n }\n}\n\n/* While the sheet is open, the field sits on the sheet's layer, as in Combobox. The\n * in-page part rises one step above the overlay layer so taps on the chips or the\n * input reach them. The scrim catches every other tap. */\n.field[data-sheeting] {\n z-index: calc(var(--pm-z-overlay) + var(--pm-z-raise));\n}\n\n/* Glass (`depth: glass`). The pane uses the surface role at the engine's mix\n (`--pm-material-surface`). The material separates the pane from the page instead of\n a lighter overlay step: the backdrop shows through as a blurred, saturated tint. The\n glass law checks the mix's contrast over worst-case backdrops, and recipes only\n apply it. */\n@container style(--pm-axis-depth: glass) {\n .content {\n background: var(--pm-material-surface);\n backdrop-filter: blur(var(--pm-material-blur)) saturate(var(--pm-material-saturate));\n }\n}\n"],"mappings":""}
|
|
1
|
+
{"version":3,"file":"multi-select.module.js","names":[],"sources":["../../../../recipes/src/controls/multi-select.module.css"],"sourcesContent":["/* MultiSelect — `design/components/multi-select.md`.\n *\n * The recipe copies two others instead of composing them. The field is TagInput's\n * container: Input's recipe in every state, but growing in height. The panel is Select's\n * content recipe, as Combobox uses it. The completeness law checks each component's own\n * stylesheet, so each member keeps its own copy of the rules it uses. Combobox makes the\n * same choice for the same reason.\n *\n * `var(--radix-popover-*)` values are measured by the positioning engine at runtime. No\n * one authors them, so the token law allows that namespace. */\n\n.field {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback from '../conventions/motion.module.css';\n position: relative;\n display: flex;\n flex-wrap: wrap;\n gap: var(--pm-space-1);\n align-items: center;\n min-block-size: var(--pm-control-height-md);\n padding: var(--pm-space-1) var(--pm-space-2);\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-primary);\n cursor: text;\n background: var(--pm-bg-surface);\n border: 1px solid var(--pm-border-field);\n border-radius: var(--pm-radius-control);\n\n /* The control seat shadow, from Input, used by every field in the family. */\n box-shadow: var(--pm-shadow-seat);\n}\n\n/* The chips are a real `<ul>` that screen readers announce, but not a layout box.\n `display: contents` puts them into the field's wrapping flow (as in TagInput). */\n.chips {\n display: contents;\n}\n\n.chip {\n display: inline-flex;\n gap: var(--pm-space-1);\n align-items: center;\n block-size: calc(var(--pm-control-height-sm) - var(--pm-space-2));\n padding-inline: var(--pm-space-2);\n background: var(--pm-bg-subtle);\n border: 1px solid var(--pm-border-subtle);\n border-radius: var(--pm-radius-pill);\n}\n\n/* A long label is truncated with an ellipsis so the field does not grow a third row. */\n.label {\n max-inline-size: calc(var(--pm-space-10) * 2);\n overflow: hidden;\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-primary);\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n/* The labelled remove button, as in TagInput. It has its own focus ring and is square\n at the chip's full height. The minimum target size comes from a negative inset on\n `::before`, not from layout. */\n.remove {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback pressable from '../conventions/motion.module.css';\n position: relative;\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n align-self: stretch;\n aspect-ratio: 1;\n padding: 0;\n color: var(--pm-text-muted);\n cursor: pointer;\n background: transparent;\n border: 0;\n border-radius: var(--pm-radius-pill);\n}\n\n.remove::before {\n position: absolute;\n inset: calc((100% - var(--pm-control-height-sm)) / 2);\n content: '';\n}\n\n.remove:hover {\n color: var(--pm-danger-text);\n}\n\n/* During keyboard navigation, the chip that holds focus shows it on its border. */\n.chip:focus-within {\n border-color: var(--pm-border-focus-solid);\n}\n\n/* Unstyled, with the field's type. `font: inherit` keeps the caret on the type scale\n at every size. */\n.input {\n flex: 1;\n min-inline-size: calc(var(--pm-space-10) / 2);\n padding: 0;\n font: inherit;\n color: inherit;\n background: transparent;\n border: 0;\n outline: none;\n}\n\n/* Firefox dims placeholders by default. The muted colour already marks them, so the\n opacity is reset to avoid dimming twice. */\n.input::placeholder {\n color: var(--pm-text-muted);\n opacity: 1;\n}\n\n/* Combobox's chevron. It is muted and rotates while the panel is open. Motion binding\n `select.chevron`: transform, control class, `standard` easing. */\n.chevron {\n composes: focusRing from '../conventions/focus.module.css';\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n padding: 0;\n color: var(--pm-text-muted);\n cursor: pointer;\n background: transparent;\n border: 0;\n border-radius: var(--pm-radius-sm);\n transition: transform var(--pm-motion-duration-control) var(--pm-motion-easing-standard);\n}\n\n/* Motion binding `combobox.glyph`: `fade`, control class. The glyph element is replaced\n when loading starts and ends, so only the enter is animated. */\n.chevron svg {\n animation: multi-select-glyph-enter var(--pm-motion-duration-control)\n var(--pm-motion-easing-enter);\n}\n\n@keyframes multi-select-glyph-enter {\n from {\n opacity: 0;\n }\n}\n\n/* The loading glyph spins, as Button's spinner does. The motion module owns its period,\n its inverse temperament scaling and the three ways it is switched off. */\n.spinner {\n composes: spin from '../conventions/motion.module.css';\n display: inline-flex;\n}\n\n/* Screen-reader-only text: the count and maximum sentence, and the removal\n announcements (as in TagInput). */\n.reader {\n composes: visuallyHidden from '../conventions/a11y.module.css';\n}\n\n/* The single async live region (as in Combobox). It is hidden by clipping, not by\n `display: none`, because `display: none` would stop announcements. */\n.status {\n position: absolute;\n inline-size: 1px;\n block-size: 1px;\n padding: 0;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n}\n\n/* sizes — container min-height steps, chips stay one size (conventions) ----- */\n\n.field[data-size='sm'] {\n min-block-size: var(--pm-control-height-sm);\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n line-height: var(--pm-text-xs-line-height);\n letter-spacing: var(--pm-text-xs-tracking);\n}\n\n.field[data-size='lg'] {\n min-block-size: var(--pm-control-height-lg);\n font-family: var(--pm-text-md-family);\n font-size: var(--pm-text-md-size);\n font-weight: var(--pm-text-md-weight);\n line-height: var(--pm-text-md-line-height);\n letter-spacing: var(--pm-text-md-tracking);\n}\n\n/* field states --------------------------------------------------------------- */\n\n.field[data-invalid] {\n border-color: var(--pm-danger-border);\n}\n\n/* The refusal flash, copied from TagInput's `tag-input-refusal` (the \"Refusal is\n answered\" rule). The border turns danger and back once over the control duration. It\n changes colour only. At `none` the duration token is 0, so there is no flash and the\n announcement alone reports the refusal. */\n@keyframes multi-select-refusal {\n 50% {\n border-color: var(--pm-danger-border);\n }\n}\n\n.field[data-refused] {\n animation: multi-select-refusal var(--pm-motion-duration-control) var(--pm-motion-easing-standard);\n}\n\n.field[data-disabled] {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n background: var(--pm-bg-subtle);\n border-color: var(--pm-border-subtle);\n\n /* The seat shadow signals a ready control, so disabled removes it (as in Input). */\n box-shadow: none;\n}\n\n.field[data-disabled] .label {\n color: var(--pm-text-disabled);\n}\n\n.field[data-disabled] .chevron {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n}\n\n/* At the maximum. The field stays focusable, but no more values can be added, so the\n text cursor is removed. */\n.field[data-at-max] {\n cursor: default;\n}\n\n/* While open, the field keeps the hover border so it does not flicker back to rest.\n Invalid fields are excluded rather than overridden (as in Combobox). */\n.field[data-state='open']:not([data-invalid]) {\n border-color: var(--pm-border-strong);\n}\n\n.field:hover:not([data-disabled], [data-invalid]) {\n border-color: var(--pm-border-strong);\n}\n\n.field[data-state='open'] .chevron {\n transform: rotate(180deg);\n}\n\n/* While a query is loading the glyph is a spinner, and it does not rotate with the\n panel, so the control shows one state at a time. */\n.field[data-loading] .chevron {\n transform: none;\n}\n\n/* A chip that is being removed cannot be clicked again (the interruption laws in\n motion.md). */\n.chip[data-removing] {\n pointer-events: none;\n}\n\n/* panel — Select's content recipe, copied as in Combobox --------------------- */\n\n.content {\n display: flex;\n flex-direction: column;\n\n /* `overlay` from the stacking scale. The popper copies it onto its wrapper\n (menu.module.css explains how). */\n z-index: var(--pm-z-overlay);\n min-inline-size: var(--radix-popover-trigger-width);\n max-block-size: var(--radix-popover-content-available-height);\n padding: var(--pm-space-2);\n overflow: hidden;\n background: var(--pm-bg-overlay);\n border: 1px solid var(--pm-border-subtle);\n border-radius: var(--pm-radius-surface);\n box-shadow: var(--pm-shadow-transient);\n transform-origin: var(--radix-popover-content-transform-origin);\n}\n\n/* Motion binding `combobox.popup`: `scale-fade`, surface class, anchored origin. It is\n the same as Select's. Radix keeps the node mounted for the closed animation, so the\n exit animates instead of cutting. */\n.content[data-state='open'] {\n animation: multi-select-content-enter var(--pm-motion-duration-surface)\n var(--pm-motion-easing-enter);\n}\n\n.content[data-state='closed'] {\n animation: multi-select-content-exit var(--pm-motion-duration-surface-exit)\n var(--pm-motion-easing-exit);\n}\n\n@keyframes multi-select-content-enter {\n from {\n opacity: 0;\n transform: scale(0.94);\n }\n}\n\n@keyframes multi-select-content-exit {\n to {\n opacity: 0;\n transform: scale(0.94);\n }\n}\n\n.listbox {\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-1);\n min-block-size: 0;\n padding: 0;\n margin: 0;\n overflow-y: auto;\n list-style: none;\n outline: none;\n}\n\n/* The sheet below 30rem (the conventions' sheet presentation), copied from Combobox.\n It keeps the popper panel's `--pm-space-2` inset, the listbox scrolls under the\n sheet's height cap, and the safe-area inset adds to this member's own edge padding.\n The popper rules do not apply because there is no anchor. */\n.sheetBody {\n display: flex;\n flex-direction: column;\n min-block-size: 0;\n padding: var(--pm-space-2);\n padding-block-end: calc(var(--pm-space-2) + env(safe-area-inset-bottom, 0px));\n}\n\n/* options — Select's item recipe with the check column, as in Combobox ------- */\n\n.option {\n composes: stateFeedback from '../conventions/motion.module.css';\n display: flex;\n gap: var(--pm-space-2);\n align-items: center;\n min-block-size: var(--pm-control-height-sm);\n padding-inline: var(--pm-space-3);\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-primary);\n cursor: pointer;\n user-select: none;\n border-radius: var(--pm-radius-sm);\n outline: none;\n}\n\n/* The check column is reserved on every row, so labels do not shift as checks appear\n and disappear. */\n.check {\n composes: stateFeedback from '../conventions/motion.module.css';\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n inline-size: var(--pm-icon-size-sm);\n}\n\n.text {\n display: flex;\n flex-direction: column;\n justify-content: center;\n min-inline-size: 0;\n}\n\n.optionLabel {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n/* A two-line option grows to fit; the check column is unchanged. */\n.description {\n composes: stateFeedback from '../conventions/motion.module.css';\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n line-height: var(--pm-text-xs-line-height);\n letter-spacing: var(--pm-text-xs-tracking);\n color: var(--pm-text-muted);\n}\n\n/* `data-highlighted` marks both the keyboard and the pointer position. It is a\n transient tint, not the selection (Menu's law). The check column shows what is\n chosen, so the two states cannot be confused. */\n.option[data-highlighted] {\n color: var(--pm-accent-text);\n background: var(--pm-accent-subtle);\n}\n\n.option[data-highlighted] .description {\n color: inherit;\n}\n\n/* At the maximum every unchecked row is disabled and looks disabled. */\n.option[data-disabled] {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n background: transparent;\n}\n\n.option[data-disabled] .description {\n color: var(--pm-text-disabled);\n}\n\n/* The label keeps the primary colour when chosen. The check shows the selection\n (Select's law). */\n.option[data-state='checked'] .check {\n color: var(--pm-accent-text);\n}\n\n/* A chosen option that is disabled fades its check with its label. */\n.option[data-disabled] .check {\n color: var(--pm-text-disabled);\n}\n\n/* Both containers. The sheet uses the same rows with the same size steps. */\n.content[data-size='sm'] .option,\n.sheetBody[data-size='sm'] .option {\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n line-height: var(--pm-text-xs-line-height);\n letter-spacing: var(--pm-text-xs-tracking);\n}\n\n.content[data-size='lg'] .option,\n.sheetBody[data-size='lg'] .option {\n font-family: var(--pm-text-md-family);\n font-size: var(--pm-text-md-size);\n font-weight: var(--pm-text-md-weight);\n line-height: var(--pm-text-md-line-height);\n letter-spacing: var(--pm-text-md-tracking);\n}\n\n/* async rows — copied from Combobox ------------------------------------------ */\n\n/* Three placeholder rows at option height instead of a centred spinner. The panel keeps\n its size, so the layout does not jump when results arrive. */\n.rows {\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-1);\n}\n\n.row {\n display: flex;\n align-items: center;\n block-size: var(--pm-control-height-sm);\n padding-inline: var(--pm-space-3);\n}\n\n/* The empty state is one line of text, not an illustration. */\n.empty {\n display: flex;\n align-items: center;\n justify-content: center;\n block-size: var(--pm-control-height-sm);\n padding-inline: var(--pm-space-3);\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-muted);\n}\n\n/* The conventions' focus-zoom floor for phones. Below `30rem` the `<input>` uses the md\n size and line height so iOS does not zoom the page on focus. Only those two metrics\n change. Colour, weight and tracking stay the same, and nothing else moves. */\n@media (width < 30rem) {\n .input {\n font-size: var(--pm-text-entry-size);\n line-height: var(--pm-text-entry-line-height);\n }\n}\n\n/* Reduced-motion versions (motion.md). The chevron still rotates, without a transition,\n because the rotation shows open or closed. Removing it would remove state, not just\n motion. `scale-fade` becomes `fade` with the same durations. */\n@media (prefers-reduced-motion: reduce) {\n .chevron {\n transition: none;\n }\n\n @keyframes multi-select-content-enter {\n from {\n opacity: 0;\n }\n }\n\n @keyframes multi-select-content-exit {\n to {\n opacity: 0;\n }\n }\n}\n\n/* While the sheet is open, the field sits on the sheet's layer, as in Combobox. The\n * in-page part rises one step above the overlay layer so taps on the chips or the\n * input reach them. The scrim catches every other tap. */\n.field[data-sheeting] {\n z-index: calc(var(--pm-z-overlay) + var(--pm-z-raise));\n}\n\n/* Glass (`depth: glass`). The pane uses the surface role at the engine's mix\n (`--pm-material-surface`). The material separates the pane from the page instead of\n a lighter overlay step: the backdrop shows through as a blurred, saturated tint. The\n glass law checks the mix's contrast over worst-case backdrops, and recipes only\n apply it. */\n@container style(--pm-axis-depth: glass) {\n .content {\n background: var(--pm-material-surface);\n backdrop-filter: blur(var(--pm-material-blur)) saturate(var(--pm-material-saturate));\n }\n}\n"],"mappings":""}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region ../recipes/src/controls/number-input.module.css
|
|
2
|
-
var e = "
|
|
2
|
+
var e = "_field_wy2ye_14 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17", t = "_input_wy2ye_42", n = "_affix_wy2ye_64 _stateFeedback_lkjqs_17", r = "_steppers_wy2ye_72", i = "_stepper_wy2ye_72 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17 _pressable_lkjqs_38", a = {
|
|
3
3
|
field: e,
|
|
4
4
|
input: t,
|
|
5
5
|
affix: n,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"number-input.module.js","names":[],"sources":["../../../../recipes/src/controls/number-input.module.css"],"sourcesContent":["/* NumberInput — `design/components/number-input.md`.\n *\n * Input's container, holding a parsed number instead of a string. The rules are copied\n * rather than shared, for the same reason as in DatePicker: the completeness law checks\n * each component's own stylesheet, and the browser test compares the computed styles of\n * the two, which is the stronger check.\n *\n * The steppers are the only new part. Each uses the clear button's embedded-adornment\n * recipe. The clear button is a square the field's height, which suits a single\n * embedded action. Two such squares would take a third of an `lg` field. So each stepper\n * is exactly the minimum target size in its narrow dimension: `--pm-control-height-sm`\n * wide and the field's height tall. */\n\n.field {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback from '../conventions/motion.module.css';\n display: inline-flex;\n gap: var(--pm-space-3);\n align-items: center;\n max-inline-size: 100%;\n block-size: var(--pm-control-height-md);\n padding-inline: var(--pm-space-5);\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-primary);\n cursor: text;\n background: var(--pm-bg-surface);\n border: 1px solid var(--pm-border-field);\n border-radius: var(--pm-radius-control);\n\n /* The control seat shadow, from Input, used by every field in the family. */\n box-shadow: var(--pm-shadow-seat);\n}\n\n/* Transparent, borderless, with the container's type, copied from Input's inner\n element. Digits keep their width as they change. */\n.input {\n flex: 1;\n min-inline-size: 0;\n padding: 0;\n font: inherit;\n color: inherit;\n background: transparent;\n border: 0;\n outline: none;\n font-variant-numeric: var(--pm-font-numeric);\n}\n\n/* Firefox dims placeholders by default. The muted colour already marks them, so the\n opacity is reset to avoid dimming twice. */\n.input::placeholder {\n color: var(--pm-text-muted);\n opacity: 1;\n}\n\n/* The static affix, next to the value at the same size step and muted so it does not\n compete with the value. */\n.affix {\n composes: stateFeedback from '../conventions/motion.module.css';\n flex: none;\n color: var(--pm-text-muted);\n}\n\n/* The stepper pair, at the end inside the frame. The buttons touch so the pair reads as\n one control with two ends, not two separate buttons. */\n.steppers {\n display: inline-flex;\n flex: none;\n align-self: stretch;\n align-items: stretch;\n}\n\n/* The clear button's embedded-adornment recipe, on each stepper. Muted at rest. On hover\n it turns primary on a `bg-subtle` background, with its own `sm` radius inside the\n field's `md`. It has press feedback and the focus ring. */\n.stepper {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback pressable from '../conventions/motion.module.css';\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n inline-size: var(--pm-control-height-sm);\n padding: 0;\n color: var(--pm-text-muted);\n cursor: pointer;\n background: transparent;\n border: 0;\n border-radius: var(--pm-radius-sm);\n}\n\n/* At a limit, the substrate disables the stepper that cannot move, and the other keeps\n working. The disabled one has no hover background and no press feedback. This rule\n comes before hover and still applies, because the hover rule below uses\n `:not(:disabled)` instead of relying on higher specificity (as in Button). */\n.stepper:disabled {\n color: var(--pm-text-disabled);\n cursor: default;\n background: transparent;\n}\n\n.stepper:hover:not(:disabled) {\n color: var(--pm-text-primary);\n background: var(--pm-bg-subtle);\n}\n\n/* sizes — the conventions' size system -------------------------------------- */\n\n.field[data-size='sm'] {\n gap: var(--pm-space-2);\n block-size: var(--pm-control-height-sm);\n padding-inline: var(--pm-space-4);\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n line-height: var(--pm-text-xs-line-height);\n letter-spacing: var(--pm-text-xs-tracking);\n}\n\n.field[data-size='lg'] {\n block-size: var(--pm-control-height-lg);\n padding-inline: var(--pm-space-6);\n font-family: var(--pm-text-md-family);\n font-size: var(--pm-text-md-size);\n font-weight: var(--pm-text-md-weight);\n line-height: var(--pm-text-md-line-height);\n letter-spacing: var(--pm-text-md-tracking);\n}\n\n/* states -------------------------------------------------------------------- */\n\n.field[data-invalid] {\n border-color: var(--pm-danger-border);\n}\n\n.field[data-readonly] {\n color: var(--pm-text-secondary);\n}\n\n/* Input's disabled rule. The steppers are disabled with the field, and the frame keeps\n its shape (PasswordInput's law). */\n.field[data-disabled] {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n background: var(--pm-bg-subtle);\n border-color: var(--pm-border-subtle);\n\n /* The seat shadow signals a ready control, so disabled removes it (as in Input). */\n box-shadow: none;\n}\n\n.field[data-disabled] .affix {\n color: var(--pm-text-disabled);\n}\n\n/* Invalid is excluded rather than overridden, so the error border stays on hover. */\n.field:hover:not([data-disabled], [data-readonly], [data-invalid]) {\n border-color: var(--pm-border-strong);\n}\n\n/* The conventions' focus-zoom floor for phones. Below `30rem` the `<input>` uses the md\n size and line height so iOS does not zoom the page on focus. Only those two metrics\n change. Colour, weight and tracking stay the same, and nothing else moves. The\n steppers are buttons, so they do not change. */\n@media (width < 30rem) {\n .input {\n font-size: var(--pm-text-entry-size);\n line-height: var(--pm-text-entry-line-height);\n }\n}\n"],"mappings":""}
|
|
1
|
+
{"version":3,"file":"number-input.module.js","names":[],"sources":["../../../../recipes/src/controls/number-input.module.css"],"sourcesContent":["/* NumberInput — `design/components/number-input.md`.\n *\n * Input's container, holding a parsed number instead of a string. The rules are copied\n * rather than shared, for the same reason as in DatePicker: the completeness law checks\n * each component's own stylesheet, and the browser test compares the computed styles of\n * the two, which is the stronger check.\n *\n * The steppers are the only new part. Each uses the clear button's embedded-adornment\n * recipe. The clear button is a square the field's height, which suits a single\n * embedded action. Two such squares would take a third of an `lg` field. So each stepper\n * is exactly the minimum target size in its narrow dimension: `--pm-control-height-sm`\n * wide and the field's height tall. */\n\n.field {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback from '../conventions/motion.module.css';\n display: inline-flex;\n gap: var(--pm-space-3);\n align-items: center;\n max-inline-size: 100%;\n block-size: var(--pm-control-height-md);\n padding-inline: var(--pm-space-5);\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-primary);\n cursor: text;\n background: var(--pm-bg-surface);\n border: 1px solid var(--pm-border-field);\n border-radius: var(--pm-radius-control);\n\n /* The control seat shadow, from Input, used by every field in the family. */\n box-shadow: var(--pm-shadow-seat);\n}\n\n/* Transparent, borderless, with the container's type, copied from Input's inner\n element. Digits keep their width as they change. In a narrow field the value\n gives way, as in Input: the affixes and the steppers keep their width, and a\n value cut short ends in an ellipsis while the field is not focused. */\n.input {\n flex: 1;\n min-inline-size: 0;\n padding: 0;\n font: inherit;\n color: inherit;\n text-overflow: ellipsis;\n background: transparent;\n border: 0;\n outline: none;\n font-variant-numeric: var(--pm-font-numeric);\n}\n\n/* Firefox dims placeholders by default. The muted colour already marks them, so the\n opacity is reset to avoid dimming twice. */\n.input::placeholder {\n color: var(--pm-text-muted);\n opacity: 1;\n}\n\n/* The static affix, next to the value at the same size step and muted so it does not\n compete with the value. */\n.affix {\n composes: stateFeedback from '../conventions/motion.module.css';\n flex: none;\n color: var(--pm-text-muted);\n}\n\n/* The stepper pair, at the end inside the frame. The buttons touch so the pair reads as\n one control with two ends, not two separate buttons. */\n.steppers {\n display: inline-flex;\n flex: none;\n align-self: stretch;\n align-items: stretch;\n}\n\n/* The clear button's embedded-adornment recipe, on each stepper. Muted at rest. On hover\n it turns primary on a `bg-subtle` background, with its own `sm` radius inside the\n field's `md`. It has press feedback and the focus ring. */\n.stepper {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback pressable from '../conventions/motion.module.css';\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n inline-size: var(--pm-control-height-sm);\n padding: 0;\n color: var(--pm-text-muted);\n cursor: pointer;\n background: transparent;\n border: 0;\n border-radius: var(--pm-radius-sm);\n}\n\n/* At a limit, the substrate disables the stepper that cannot move, and the other keeps\n working. The disabled one has no hover background and no press feedback. This rule\n comes before hover and still applies, because the hover rule below uses\n `:not(:disabled)` instead of relying on higher specificity (as in Button). */\n.stepper:disabled {\n color: var(--pm-text-disabled);\n cursor: default;\n background: transparent;\n}\n\n.stepper:hover:not(:disabled) {\n color: var(--pm-text-primary);\n background: var(--pm-bg-subtle);\n}\n\n/* sizes — the conventions' size system -------------------------------------- */\n\n.field[data-size='sm'] {\n gap: var(--pm-space-2);\n block-size: var(--pm-control-height-sm);\n padding-inline: var(--pm-space-4);\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n line-height: var(--pm-text-xs-line-height);\n letter-spacing: var(--pm-text-xs-tracking);\n}\n\n.field[data-size='lg'] {\n block-size: var(--pm-control-height-lg);\n padding-inline: var(--pm-space-6);\n font-family: var(--pm-text-md-family);\n font-size: var(--pm-text-md-size);\n font-weight: var(--pm-text-md-weight);\n line-height: var(--pm-text-md-line-height);\n letter-spacing: var(--pm-text-md-tracking);\n}\n\n/* states -------------------------------------------------------------------- */\n\n.field[data-invalid] {\n border-color: var(--pm-danger-border);\n}\n\n.field[data-readonly] {\n color: var(--pm-text-secondary);\n}\n\n/* Input's disabled rule. The steppers are disabled with the field, and the frame keeps\n its shape (PasswordInput's law). */\n.field[data-disabled] {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n background: var(--pm-bg-subtle);\n border-color: var(--pm-border-subtle);\n\n /* The seat shadow signals a ready control, so disabled removes it (as in Input). */\n box-shadow: none;\n}\n\n.field[data-disabled] .affix {\n color: var(--pm-text-disabled);\n}\n\n/* Invalid is excluded rather than overridden, so the error border stays on hover. */\n.field:hover:not([data-disabled], [data-readonly], [data-invalid]) {\n border-color: var(--pm-border-strong);\n}\n\n/* The conventions' focus-zoom floor for phones. Below `30rem` the `<input>` uses the md\n size and line height so iOS does not zoom the page on focus. Only those two metrics\n change. Colour, weight and tracking stay the same, and nothing else moves. The\n steppers are buttons, so they do not change. */\n@media (width < 30rem) {\n .input {\n font-size: var(--pm-text-entry-size);\n line-height: var(--pm-text-entry-line-height);\n }\n}\n"],"mappings":""}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
//#region ../recipes/src/controls/otp-input.module.css
|
|
2
|
-
var e = "
|
|
2
|
+
var e = "_root_1ixgu_14", t = "_input_1ixgu_26", n = "_cell_1ixgu_44", r = "_digit_1ixgu_61", i = {
|
|
3
3
|
root: e,
|
|
4
4
|
input: t,
|
|
5
5
|
cell: n,
|
|
6
6
|
digit: r,
|
|
7
|
-
"otp-digit-enter": "_otp-digit-
|
|
7
|
+
"otp-digit-enter": "_otp-digit-enter_1ixgu_1"
|
|
8
8
|
};
|
|
9
9
|
//#endregion
|
|
10
10
|
export { n as cell, i as default, r as digit, t as input, e as root };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"otp-input.module.js","names":[],"sources":["../../../../recipes/src/controls/otp-input.module.css"],"sourcesContent":["/* OTPInput — `design/components/otp-input.md`.\n *\n * The cells are drawn over one real input. The input is invisible, with transparent\n * text and caret. It is never `display: none`, because it must stay focusable and\n * receive every pointer event. Each cell draws one character of its value. Cells use\n * the size table's `lg` row, the most comfortable touch size, because people often\n * retype the code from memory on a phone. There is one size and no `size` prop, because\n * the code is usually the only field on its page.\n *\n * There is no hover style, on purpose. All cells are one target, and a hover style on a\n * single cell would suggest per-cell focus, which does not exist. The `cursor: text`\n * over the group shows that it accepts input. */\n\n.root {\n position: relative;\n display: inline-flex;\n min-inline-size: 0;\n max-inline-size: 100%;\n gap: var(--pm-space-3);\n cursor: text;\n}\n\n/* The real input. Invisible and covering the whole group, it is the only focusable\n element and the only pointer target. The drawn cells ignore the pointer, so every\n press lands here. */\n.input {\n position: absolute;\n inset: 0;\n inline-size: 100%;\n block-size: 100%;\n padding: 0;\n font-size: var(--pm-text-sm-size);\n line-height: var(--pm-text-sm-line-height);\n color: transparent;\n caret-color: transparent;\n background: transparent;\n border: 0;\n outline: none;\n}\n\n/* Input's rest style, copied: surface, default border, the control seat shadow and the\n control radius, as a square at the lg control height. Visual only. The pointer passes\n through to the input that covers the group. */\n.cell {\n display: inline-flex;\n flex: 0 1 var(--pm-control-height-lg);\n min-inline-size: 0;\n align-items: center;\n justify-content: center;\n inline-size: var(--pm-control-height-lg);\n block-size: var(--pm-control-height-lg);\n pointer-events: none;\n background: var(--pm-bg-surface);\n border: 1px solid var(--pm-border-field);\n border-radius: var(--pm-radius-control);\n box-shadow: var(--pm-shadow-seat);\n}\n\n/* The digit uses the md text style (the lg size's text step) and the theme's numeric\n figures. */\n.digit {\n font-family: var(--pm-text-md-family);\n font-size: var(--pm-text-md-size);\n font-weight: var(--pm-text-md-weight);\n line-height: var(--pm-text-md-line-height);\n letter-spacing: var(--pm-text-md-tracking);\n color: var(--pm-text-primary);\n font-variant-numeric: var(--pm-font-numeric);\n}\n\n/* A new digit fades in at the control duration, like Input's clear button, which is the\n smallest entrance the system has. The animation is keyed on the filled cell, because\n that is what changed. Paste fills every cell in the same frame, with no stagger. The\n caret moves with the user's keystroke and is never animated (Slider's rule for\n direct manipulation). */\n.cell[data-filled] > .digit {\n animation: otp-digit-enter var(--pm-motion-duration-control) var(--pm-motion-easing-enter);\n}\n\n@keyframes otp-digit-enter {\n from {\n opacity: 0;\n }\n}\n\n/* The only allowed proxy focus
|
|
1
|
+
{"version":3,"file":"otp-input.module.js","names":[],"sources":["../../../../recipes/src/controls/otp-input.module.css"],"sourcesContent":["/* OTPInput — `design/components/otp-input.md`.\n *\n * The cells are drawn over one real input. The input is invisible, with transparent\n * text and caret. It is never `display: none`, because it must stay focusable and\n * receive every pointer event. Each cell draws one character of its value. Cells use\n * the size table's `lg` row, the most comfortable touch size, because people often\n * retype the code from memory on a phone. There is one size and no `size` prop, because\n * the code is usually the only field on its page.\n *\n * There is no hover style, on purpose. All cells are one target, and a hover style on a\n * single cell would suggest per-cell focus, which does not exist. The `cursor: text`\n * over the group shows that it accepts input. */\n\n.root {\n position: relative;\n display: inline-flex;\n min-inline-size: 0;\n max-inline-size: 100%;\n gap: var(--pm-space-3);\n cursor: text;\n}\n\n/* The real input. Invisible and covering the whole group, it is the only focusable\n element and the only pointer target. The drawn cells ignore the pointer, so every\n press lands here. */\n.input {\n position: absolute;\n inset: 0;\n inline-size: 100%;\n block-size: 100%;\n padding: 0;\n font-size: var(--pm-text-sm-size);\n line-height: var(--pm-text-sm-line-height);\n color: transparent;\n caret-color: transparent;\n background: transparent;\n border: 0;\n outline: none;\n}\n\n/* Input's rest style, copied: surface, default border, the control seat shadow and the\n control radius, as a square at the lg control height. Visual only. The pointer passes\n through to the input that covers the group. */\n.cell {\n display: inline-flex;\n flex: 0 1 var(--pm-control-height-lg);\n min-inline-size: 0;\n align-items: center;\n justify-content: center;\n inline-size: var(--pm-control-height-lg);\n block-size: var(--pm-control-height-lg);\n pointer-events: none;\n background: var(--pm-bg-surface);\n border: 1px solid var(--pm-border-field);\n border-radius: var(--pm-radius-control);\n box-shadow: var(--pm-shadow-seat);\n}\n\n/* The digit uses the md text style (the lg size's text step) and the theme's numeric\n figures. */\n.digit {\n font-family: var(--pm-text-md-family);\n font-size: var(--pm-text-md-size);\n font-weight: var(--pm-text-md-weight);\n line-height: var(--pm-text-md-line-height);\n letter-spacing: var(--pm-text-md-tracking);\n color: var(--pm-text-primary);\n font-variant-numeric: var(--pm-font-numeric);\n}\n\n/* A new digit fades in at the control duration, like Input's clear button, which is the\n smallest entrance the system has. The animation is keyed on the filled cell, because\n that is what changed. Paste fills every cell in the same frame, with no stagger. The\n caret moves with the user's keystroke and is never animated (Slider's rule for\n direct manipulation). */\n.cell[data-filled] > .digit {\n animation: otp-digit-enter var(--pm-motion-duration-control) var(--pm-motion-easing-enter);\n}\n\n@keyframes otp-digit-enter {\n from {\n opacity: 0;\n }\n}\n\n/* The only allowed proxy focus mark. The focus convention's declarations are repeated on\n the caret cell, because the focused element is invisible on purpose and the cell stands\n in for it. It depends on the root's real focus, so the mark cannot remain after focus\n leaves. The outline is at the system's offset, inside the cell's edge by default. */\n.root:focus-within .cell[data-caret] {\n outline: var(--pm-focus-width) solid var(--pm-border-focus-solid);\n outline-offset: var(--pm-focus-offset);\n}\n\n/* The active cell also takes the focus colour as its border, which shows where a system\n moves the mark outside. This is a separate rule with the focus module's invalid guard,\n because the caret selector is more specific than the danger rule below, and a wrong code\n must keep the danger border under the caret too. */\n.root:focus-within:not([data-invalid]) .cell[data-caret] {\n border-color: var(--pm-border-focus-solid);\n}\n\n/* A wrong code keeps the caret cell's danger border visible: inside the edge, the mark moves\n in past the border, as the convention moves it on an invalid field. */\n@container style(--pm-focus-place: inside) {\n .root[data-invalid]:focus-within .cell[data-caret] {\n outline-offset: calc(var(--pm-focus-offset) - 1px);\n }\n}\n\n/* The field style, as the focus convention draws it, where the system chooses it\n (`overrides.focus.field: border`, the flag `--pm-focus-field`): the caret cell's outline lies\n inside its edge by its width whatever the system's offset, and inside the danger border when\n the code is wrong. */\n@container style(--pm-focus-field: border) {\n .root:focus-within .cell[data-caret] {\n outline-offset: calc(var(--pm-focus-width) * -1);\n }\n\n .root[data-invalid]:focus-within .cell[data-caret] {\n outline-offset: calc(var(--pm-focus-width) * -1 - 1px);\n }\n}\n\n/* The whole code is wrong, not one digit, so every cell shows the error (as in Input).\n The caret cell's mark stays, inside the danger border. */\n.root[data-invalid] .cell {\n border-color: var(--pm-danger-border);\n}\n\n/* Input's disabled style, copied, on each cell. */\n.root[data-disabled] {\n cursor: not-allowed;\n}\n\n.root[data-disabled] .cell {\n background: var(--pm-bg-subtle);\n border-color: var(--pm-border-subtle);\n box-shadow: none;\n}\n\n.root[data-disabled] .digit {\n color: var(--pm-text-disabled);\n}\n\n/* The conventions' focus-zoom floor for phones. Below `30rem` the `<input>` uses the md\n size and line height. It is invisible but it is focused, and the browser reads its\n computed size to decide whether to zoom. The drawn digits stay at `text.md` and do not\n change. */\n@media (width < 30rem) {\n .input {\n font-size: var(--pm-text-entry-size);\n line-height: var(--pm-text-entry-line-height);\n }\n}\n\n/* Reduced motion: everything is instant. The border change and FormField's error\n message report problems, and there is deliberately no shake animation. */\n@media (prefers-reduced-motion: reduce) {\n .cell[data-filled] > .digit {\n animation: none;\n }\n}\n"],"mappings":""}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
//#region ../recipes/src/controls/password-input.module.css
|
|
2
|
-
var e = "
|
|
2
|
+
var e = "_password_sk09e_9", t = "_toggle_sk09e_34 _clear_92wpy_89 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17 _pressable_lkjqs_38", n = {
|
|
3
3
|
password: e,
|
|
4
4
|
toggle: t,
|
|
5
|
-
"password-glyph-enter": "_password-glyph-
|
|
5
|
+
"password-glyph-enter": "_password-glyph-enter_sk09e_1"
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
8
8
|
export { n as default, e as password, t as toggle };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"password-input.module.js","names":[],"sources":["../../../../recipes/src/controls/password-input.module.css"],"sourcesContent":["/* PasswordInput — `design/components/password-input.md`.\n *\n * The Input inside is the field and keeps its own recipe in every state. This file\n * styles only the toggle, which composes the clear button's embedded-adornment recipe\n * (`input.md`: \"any future control embedded inside another control's frame copies\n * this\"). The toggle never uses `--pm-danger-*` in an invalid field, because it is an\n * action, not a status. That needs no rule here. */\n\n.password {\n display: inline-flex;\n max-inline-size: 100%;\n}\n\n/* The Input inside is the field, so it fills the width this root is given.\n *\n * This passes FormField's stretch down one level (`form-field.module.css`). A\n * column-labelled FormField stretches this root but not its child. Without this rule\n * the Input is a flex item at `flex: 0 1 auto`, sized to its content, so the password\n * field is narrower than the email Input above it (as in AuthPage, this member's main\n * consumer). Shrinking already works, so only growth is set.\n *\n * The selector is `> *` rather than one of Input's. `data-member` is reserved for the\n * exceptions mechanism and recipes may not read it (`no-member-selectors`), Input's\n * classes belong to Input, and this member renders exactly one child. Only grow is set.\n * Basis and shrink stay Input's, so a standalone PasswordInput is exactly as wide as a\n * standalone Input. */\n.password > * {\n flex-grow: 1;\n}\n\n/* The whole clear-button recipe: muted at rest, primary on a `bg-subtle` background at\n `radius-sm` on hover,
|
|
1
|
+
{"version":3,"file":"password-input.module.js","names":[],"sources":["../../../../recipes/src/controls/password-input.module.css"],"sourcesContent":["/* PasswordInput — `design/components/password-input.md`.\n *\n * The Input inside is the field and keeps its own recipe in every state. This file\n * styles only the toggle, which composes the clear button's embedded-adornment recipe\n * (`input.md`: \"any future control embedded inside another control's frame copies\n * this\"). The toggle never uses `--pm-danger-*` in an invalid field, because it is an\n * action, not a status. That needs no rule here. */\n\n.password {\n display: inline-flex;\n max-inline-size: 100%;\n}\n\n/* The Input inside is the field, so it fills the width this root is given.\n *\n * This passes FormField's stretch down one level (`form-field.module.css`). A\n * column-labelled FormField stretches this root but not its child. Without this rule\n * the Input is a flex item at `flex: 0 1 auto`, sized to its content, so the password\n * field is narrower than the email Input above it (as in AuthPage, this member's main\n * consumer). Shrinking already works, so only growth is set.\n *\n * The selector is `> *` rather than one of Input's. `data-member` is reserved for the\n * exceptions mechanism and recipes may not read it (`no-member-selectors`), Input's\n * classes belong to Input, and this member renders exactly one child. Only grow is set.\n * Basis and shrink stay Input's, so a standalone PasswordInput is exactly as wide as a\n * standalone Input. */\n.password > * {\n flex-grow: 1;\n}\n\n/* The whole clear-button recipe: muted at rest, primary on a `bg-subtle` background at\n `radius-sm` on hover, the focus mark inside its own edge, press feedback, and\n square at the field's height. */\n.toggle {\n composes: clear from './input.module.css';\n}\n\n/* Input centres its trailing slot and sizes it to its content. The toggle must be a\n square at the input's height, so the slot is stretched from inside, because this\n member cannot reach Input's markup. */\n.password :has(> .toggle) {\n align-self: stretch;\n}\n\n/* A disabled field disables its toggle. Pointer events are off so the hover background\n cannot appear on a control that does not respond (Button's loading rule). The\n field's `not-allowed` cursor already covers the frame. */\n.toggle:disabled {\n color: var(--pm-text-disabled);\n pointer-events: none;\n}\n\n/* The glyph crossfade uses the `input.clear` binding: `fade` at `control`. The new glyph\n is a fresh node, so the enter animation runs on every toggle. There is one rule per\n state so both directions are styled here. The text masking itself changes instantly,\n because text has nothing to transition. `fade` is already its own reduced-motion\n version (motion.md), and at `none` the duration token is 0s. */\n.password[data-state='hidden'] .toggle svg {\n animation: password-glyph-enter var(--pm-motion-duration-control) var(--pm-motion-easing-enter);\n}\n\n.password[data-state='visible'] .toggle svg {\n animation: password-glyph-enter var(--pm-motion-duration-control) var(--pm-motion-easing-enter);\n}\n\n@keyframes password-glyph-enter {\n from {\n opacity: 0;\n }\n}\n"],"mappings":""}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region ../recipes/src/controls/provider-button.module.css
|
|
2
|
-
var e = "_button_1wtn5_8
|
|
2
|
+
var e = "_button_1wtn5_8 _button_cxa90_17 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17 _pressable_lkjqs_38", t = "_label_1wtn5_14", n = "_mark_1wtn5_21", r = "_spinner_1wtn5_22 _spin_lkjqs_83", i = {
|
|
3
3
|
button: e,
|
|
4
4
|
label: t,
|
|
5
5
|
mark: n,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
//#region ../recipes/src/controls/radio-group.module.css
|
|
2
|
-
var e = "
|
|
2
|
+
var e = "_group_4opbi_7", t = "_row_4opbi_18", n = "_circle_4opbi_29 _focusAround_1hr3n_95 _stateFeedback_lkjqs_17", r = "_dot_4opbi_58", i = "_label_4opbi_74 _stateFeedback_lkjqs_17", a = {
|
|
3
3
|
group: e,
|
|
4
4
|
row: t,
|
|
5
5
|
circle: n,
|
|
6
6
|
dot: r,
|
|
7
|
-
"radio-pop": "_radio-
|
|
7
|
+
"radio-pop": "_radio-pop_4opbi_1",
|
|
8
8
|
label: i
|
|
9
9
|
};
|
|
10
10
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-group.module.js","names":[],"sources":["../../../../recipes/src/controls/radio-group.module.css"],"sourcesContent":["/* Radio — `design/components/radio.md`, written as deltas from Checkbox.\n *\n * Round at every size, and checked shown as a dot inside a ring rather than a filled\n * disc. A filled circle looks like a checkbox at a glance. The dot inside a ring\n * signals \"one of several\". */\n\n.group {\n display: flex;\n gap: var(--pm-space-3);\n flex-direction: column;\n}\n\n.group[data-orientation='horizontal'] {\n flex-direction: row;\n gap: var(--pm-space-5);\n}\n\n.row {\n display: inline-flex;\n gap: var(--pm-space-3);\n align-items: flex-start;\n min-block-size: var(--pm-control-height-sm);\n padding-block: calc(\n (var(--pm-control-height-sm) - var(--pm-text-sm-line-height) * var(--pm-text-sm-size)) / 2\n );\n cursor: pointer;\n}\n\n.circle {\n composes:
|
|
1
|
+
{"version":3,"file":"radio-group.module.js","names":[],"sources":["../../../../recipes/src/controls/radio-group.module.css"],"sourcesContent":["/* Radio — `design/components/radio.md`, written as deltas from Checkbox.\n *\n * Round at every size, and checked shown as a dot inside a ring rather than a filled\n * disc. A filled circle looks like a checkbox at a glance. The dot inside a ring\n * signals \"one of several\". */\n\n.group {\n display: flex;\n gap: var(--pm-space-3);\n flex-direction: column;\n}\n\n.group[data-orientation='horizontal'] {\n flex-direction: row;\n gap: var(--pm-space-5);\n}\n\n.row {\n display: inline-flex;\n gap: var(--pm-space-3);\n align-items: flex-start;\n min-block-size: var(--pm-control-height-sm);\n padding-block: calc(\n (var(--pm-control-height-sm) - var(--pm-text-sm-line-height) * var(--pm-text-sm-size)) / 2\n );\n cursor: pointer;\n}\n\n.circle {\n composes: focusAround from '../conventions/focus.module.css';\n composes: stateFeedback from '../conventions/motion.module.css';\n position: relative;\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n inline-size: var(--pm-icon-size-md);\n block-size: var(--pm-icon-size-md);\n padding: 0;\n background: var(--pm-bg-surface);\n\n /* `border.field`, not `strong`, for Checkbox's reason: it is an interactive edge. */\n border: 1px solid var(--pm-border-field);\n border-radius: var(--pm-radius-pill);\n}\n\n/* The minimum target size without affecting layout, the same technique as Checkbox. */\n.circle::before {\n position: absolute;\n inset: calc((var(--pm-icon-size-md) - var(--pm-control-height-sm)) / 2);\n content: '';\n}\n\n/* The `radio.indicator` binding: `spring-pop`, using the enter curve for the same\n reason as Checkbox. Radix unmounts the indicator, so the presence animation has\n nothing to keep mounted, and at half an icon's size the curve difference is not\n visible. */\n.dot {\n display: inline-flex;\n inline-size: calc(var(--pm-icon-size-md) / 2);\n block-size: calc(var(--pm-icon-size-md) / 2);\n background: var(--pm-accent-bg);\n border-radius: var(--pm-radius-pill);\n animation: radio-pop var(--pm-motion-duration-control) var(--pm-motion-easing-enter);\n}\n\n@keyframes radio-pop {\n from {\n opacity: 0;\n transform: scale(0.5);\n }\n}\n\n.label {\n composes: stateFeedback from '../conventions/motion.module.css';\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-primary);\n}\n\n/* Aligned to the label's first line (the conventions' size system). */\n.row .circle {\n margin-block-start: calc(\n (var(--pm-text-sm-line-height) * var(--pm-text-sm-size) - var(--pm-icon-size-md)) / 2\n );\n}\n\n/* states ------------------------------------------------------------------- */\n\n.circle[data-state='checked'] {\n border-color: var(--pm-accent-bg);\n}\n\n.group[data-invalid] .circle {\n border-color: var(--pm-danger-border);\n}\n\n.circle[data-disabled] {\n cursor: not-allowed;\n background: var(--pm-bg-subtle);\n border-color: var(--pm-border-subtle);\n}\n\n.circle[data-disabled][data-state='checked'] {\n border-color: var(--pm-border-subtle);\n}\n\n.circle[data-disabled] .dot {\n background: var(--pm-border-subtle);\n}\n\n.circle:hover:not([data-disabled], [data-state='checked']) {\n background: var(--pm-bg-subtle);\n border-color: var(--pm-border-strong);\n}\n\n.circle[data-state='checked']:hover:not([data-disabled]) {\n border-color: var(--pm-accent-bg-hover);\n}\n\n.circle[data-state='checked']:hover:not([data-disabled]) .dot {\n background: var(--pm-accent-bg-hover);\n}\n\n.group[data-disabled] .row,\n.row:has(.circle[data-disabled]) {\n cursor: not-allowed;\n}\n\n.group[data-disabled] .label,\n.row:has(.circle[data-disabled]) .label {\n color: var(--pm-text-disabled);\n}\n\n/* Reduced-motion version (motion.md): spring-pop becomes fade. */\n@media (prefers-reduced-motion: reduce) {\n @keyframes radio-pop {\n from {\n opacity: 0;\n }\n }\n}\n"],"mappings":""}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region ../recipes/src/controls/rating.module.css
|
|
2
|
-
var e = "_rating_34kub_12", t = "_mark_34kub_24
|
|
2
|
+
var e = "_rating_34kub_12", t = "_mark_34kub_24 _focusRing_1hr3n_49", n = "_glyph_34kub_47 _stateFeedback_lkjqs_17", r = "_fill_34kub_54", i = {
|
|
3
3
|
rating: e,
|
|
4
4
|
mark: t,
|
|
5
5
|
glyph: n,
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
//#region ../recipes/src/controls/rich-text-input.module.css
|
|
2
|
+
var e = "_root_3680t_24", t = "_frame_3680t_32 _stateFeedback_lkjqs_17", n = "_toolbar_3680t_50", r = "_controls_3680t_59", i = "_group_3680t_69", a = "_slot_3680t_75", o = "_viewport_3680t_87", s = "_surface_3680t_97 _root_1q2y5_16 _root_z92xs_10", c = "_paragraph_3680t_177 _text_jx0r4_6", l = "_heading1_3680t_182 _heading_1t0qx_6", u = "_heading2_3680t_191 _heading_1t0qx_6", d = "_heading3_3680t_200 _heading_1t0qx_6", f = "_list_3680t_209 _list_1q2y5_20 _list_z92xs_21", p = "_item_3680t_213 _item_1q2y5_24 _item_z92xs_31", m = "_quote_3680t_217 _quote_1q2y5_28 _quote_z92xs_44", h = "_codeBlock_3680t_221 _block_1j1lk_6 _focusRing_1hr3n_49", g = "_code_3680t_221 _code_hc07h_7", _ = "_link_3680t_231 _link_1pcjq_13 _focusAround_1hr3n_95", v = "_entity_3680t_237 _entity_1q2y5_53", y = "_unknown_3680t_242", b = "_annotation_3680t_257 _annotation_1q2y5_76", x = "_footer_3680t_263", S = "_actions_3680t_271", C = "_count_3680t_281", w = "_suggestions_3680t_316 _suggestions_1o6qu_156", T = "_listbox_3680t_348 _listbox_1o6qu_189", E = "_option_3680t_352 _option_1o6qu_202 _stateFeedback_lkjqs_17", D = "_glyph_3680t_356 _glyph_1o6qu_223 _stateFeedback_lkjqs_17", O = "_leading_3680t_361", k = "_text_3680t_367 _text_1o6qu_231", A = "_label_3680t_371 _label_1o6qu_238", j = "_description_3680t_375 _description_1o6qu_245 _stateFeedback_lkjqs_17", M = "_rows_3680t_379 _rows_1o6qu_268", N = "_row_3680t_379 _row_1o6qu_268", P = "_empty_3680t_387 _empty_1o6qu_282", F = "_error_3680t_392 _empty_1o6qu_282", I = "_status_3680t_398 _visuallyHidden_qxi8b_14", L = "_linkForm_3680t_403", R = "_linkActions_3680t_410", z = {
|
|
3
|
+
root: e,
|
|
4
|
+
frame: t,
|
|
5
|
+
toolbar: n,
|
|
6
|
+
controls: r,
|
|
7
|
+
group: i,
|
|
8
|
+
slot: a,
|
|
9
|
+
viewport: o,
|
|
10
|
+
surface: s,
|
|
11
|
+
paragraph: c,
|
|
12
|
+
heading1: l,
|
|
13
|
+
heading2: u,
|
|
14
|
+
heading3: d,
|
|
15
|
+
list: f,
|
|
16
|
+
item: p,
|
|
17
|
+
quote: m,
|
|
18
|
+
codeBlock: h,
|
|
19
|
+
code: g,
|
|
20
|
+
link: _,
|
|
21
|
+
entity: v,
|
|
22
|
+
unknown: y,
|
|
23
|
+
annotation: b,
|
|
24
|
+
footer: x,
|
|
25
|
+
actions: S,
|
|
26
|
+
count: C,
|
|
27
|
+
suggestions: w,
|
|
28
|
+
listbox: T,
|
|
29
|
+
option: E,
|
|
30
|
+
glyph: D,
|
|
31
|
+
leading: O,
|
|
32
|
+
text: k,
|
|
33
|
+
label: A,
|
|
34
|
+
description: j,
|
|
35
|
+
rows: M,
|
|
36
|
+
row: N,
|
|
37
|
+
empty: P,
|
|
38
|
+
error: F,
|
|
39
|
+
status: I,
|
|
40
|
+
linkForm: L,
|
|
41
|
+
linkActions: R
|
|
42
|
+
};
|
|
43
|
+
//#endregion
|
|
44
|
+
export { S as actions, b as annotation, g as code, h as codeBlock, r as controls, C as count, z as default, j as description, P as empty, v as entity, F as error, x as footer, t as frame, D as glyph, i as group, l as heading1, u as heading2, d as heading3, p as item, A as label, O as leading, _ as link, R as linkActions, L as linkForm, f as list, T as listbox, E as option, c as paragraph, m as quote, e as root, N as row, M as rows, a as slot, I as status, w as suggestions, s as surface, k as text, n as toolbar, y as unknown, o as viewport };
|
|
45
|
+
|
|
46
|
+
//# sourceMappingURL=rich-text-input.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rich-text-input.module.js","names":[],"sources":["../../../../recipes/src/controls/rich-text-input.module.css"],"sourcesContent":["/* RichTextInput — `design/components/rich-text-input.md`.\n *\n * Input's split, as PromptInput has it. The frame draws the border, the seat\n * and the focus ring, and the editable surface inside it is transparent, so\n * the toolbar, the text and the footer sit inside one edge and the ring\n * surrounds the whole field. The frame takes a control's radius, because this\n * is a field in a form.\n *\n * The surface's content is drawn by the classes RichTextContent draws the same\n * nodes with, composed and not restated, so a document looks the same while it\n * is written and after it is saved: the block spacing, lists, quotes, the\n * entity token and the annotation are RichTextContent's, a paragraph is Text,\n * a code block is CodeBlock, inline code is Code and a link is Link. Two\n * recipes key a size on an attribute the editor does not write (Text's\n * `data-size`, Heading's `data-level`), so their base class is composed and\n * the step is stated here,\n * the one the reader draws by default: the body at `text.md` and the levels\n * one under the page's title. `rich-text-input.test.tsx` compares the drawn\n * values with RichTextContent's.\n *\n * The editor draws inside the surface and writes no class of its own that a\n * rule here reads; the states it draws are `data-*` attributes. */\n\n.root {\n position: relative;\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-2);\n inline-size: 100%;\n}\n\n.frame {\n composes: stateFeedback from '../conventions/motion.module.css';\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-2);\n min-inline-size: 0;\n padding: var(--pm-space-3);\n background: var(--pm-bg-surface);\n border: 1px solid var(--pm-border-field);\n border-radius: var(--pm-radius-control);\n box-shadow: var(--pm-shadow-seat);\n}\n\n/* toolbar ------------------------------------------------------------------ */\n\n/* The controls wrap onto more rows in a narrow container, and the app's slot\n follows them at the end; nothing is clipped or scrolled away. A hairline\n divides the controls from the text they act on. */\n.toolbar {\n display: flex;\n flex-wrap: wrap;\n gap: var(--pm-space-1) var(--pm-space-2);\n align-items: center;\n padding-block-end: var(--pm-space-2);\n border-block-end: 1px solid var(--pm-border-subtle);\n}\n\n.controls {\n display: flex;\n flex-wrap: wrap;\n gap: var(--pm-space-1) var(--pm-space-2);\n align-items: center;\n min-inline-size: 0;\n}\n\n/* One group of related controls (the marks, the blocks, the history), kept on\n one row and wrapped as a whole. */\n.group {\n display: flex;\n gap: var(--pm-space-1);\n align-items: center;\n}\n\n.slot {\n display: flex;\n flex-wrap: wrap;\n gap: var(--pm-space-1);\n align-items: center;\n margin-inline-start: auto;\n}\n\n/* surface ------------------------------------------------------------------ */\n\n/* The box the text scrolls in, past `maxRows`. The surface inside it grows with\n the document, so its blocks keep their size inside a scrolling field. */\n.viewport {\n min-block-size: 0;\n overflow-y: auto;\n}\n\n/* The editable element. Whitespace is kept as typed, a long word breaks, and\n ligatures are off, so the caret moves one character at a time; the editor\n needs all three. It is transparent and has no outline of its own, because\n the frame draws the ring. Below the phone line it takes the text-entry floor\n (conventions §13), because a system may set its md step under 16px. */\n.surface {\n composes: root from '../structure/rich-text-content.module.css';\n padding: var(--pm-space-1) var(--pm-space-2);\n font-family: var(--pm-text-md-family);\n font-size: var(--pm-text-md-size);\n font-weight: var(--pm-text-md-weight);\n line-height: var(--pm-text-md-line-height);\n color: var(--pm-text-primary);\n letter-spacing: var(--pm-text-md-tracking);\n overflow-wrap: break-word;\n\n /* The spaces a person typed are kept, and one at a line's end takes room on the line, so it\n wraps with its word and never hangs past the field's edge. */\n white-space: break-spaces;\n font-variant-ligatures: none;\n cursor: text;\n outline: none;\n}\n\n/* The placeholder, on the only block of an empty document. It is drawn over the\n block and takes no pointer, so the caret sits at the block's start. */\n.surface [data-placeholder] {\n position: relative;\n}\n\n.surface [data-placeholder]::before {\n position: absolute;\n inset-inline: 0;\n color: var(--pm-text-muted);\n pointer-events: none;\n content: attr(data-placeholder);\n}\n\n/* The minimum height, in body lines, and the maximum the box grows to before it\n scrolls. The values are written out because a line count is a design\n decision, and an arbitrary number would be an unchosen height. */\n.root[data-min-rows='1'] .surface {\n min-block-size: calc(\n var(--pm-text-md-size) * var(--pm-text-md-line-height) + var(--pm-space-1) * 2\n );\n}\n\n.root[data-min-rows='3'] .surface {\n min-block-size: calc(\n var(--pm-text-md-size) * var(--pm-text-md-line-height) * 3 + var(--pm-space-1) * 2\n );\n}\n\n.root[data-min-rows='6'] .surface {\n min-block-size: calc(\n var(--pm-text-md-size) * var(--pm-text-md-line-height) * 6 + var(--pm-space-1) * 2\n );\n}\n\n.root[data-min-rows='12'] .surface {\n min-block-size: calc(\n var(--pm-text-md-size) * var(--pm-text-md-line-height) * 12 + var(--pm-space-1) * 2\n );\n}\n\n.root[data-max-rows='6'] .viewport {\n max-block-size: calc(\n var(--pm-text-md-size) * var(--pm-text-md-line-height) * 6 + var(--pm-space-1) * 2\n );\n}\n\n.root[data-max-rows='12'] .viewport {\n max-block-size: calc(\n var(--pm-text-md-size) * var(--pm-text-md-line-height) * 12 + var(--pm-space-1) * 2\n );\n}\n\n.root[data-max-rows='24'] .viewport {\n max-block-size: calc(\n var(--pm-text-md-size) * var(--pm-text-md-line-height) * 24 + var(--pm-space-1) * 2\n );\n}\n\n/* content: RichTextContent's drawing, composed ----------------------------- */\n\n.paragraph {\n composes: text from '../structure/text.module.css';\n}\n\n/* Heading's levels 2, 3 and 4, for the document's levels 1, 2 and 3. */\n.heading1 {\n composes: heading from '../structure/heading.module.css';\n font-family: var(--pm-text-xl-family);\n font-size: var(--pm-text-xl-size);\n font-weight: var(--pm-text-xl-weight);\n line-height: var(--pm-text-xl-line-height);\n letter-spacing: var(--pm-text-xl-tracking);\n}\n\n.heading2 {\n composes: heading from '../structure/heading.module.css';\n font-family: var(--pm-text-lg-family);\n font-size: var(--pm-text-lg-size);\n font-weight: var(--pm-text-lg-weight);\n line-height: var(--pm-text-lg-line-height);\n letter-spacing: var(--pm-text-lg-tracking);\n}\n\n.heading3 {\n composes: heading from '../structure/heading.module.css';\n font-family: var(--pm-text-md-family);\n font-size: var(--pm-text-md-size);\n font-weight: var(--pm-text-xl-weight);\n line-height: var(--pm-text-md-line-height);\n letter-spacing: var(--pm-text-md-tracking);\n}\n\n.list {\n composes: list from '../structure/rich-text-content.module.css';\n}\n\n.item {\n composes: item from '../structure/rich-text-content.module.css';\n}\n\n.quote {\n composes: quote from '../structure/rich-text-content.module.css';\n}\n\n.codeBlock {\n composes: block from '../structure/code-block.module.css';\n}\n\n.code {\n composes: code from '../structure/code.module.css';\n}\n\n/* Link's inline variant: the accent and its rest underline. A press in the\n field places the caret and does not follow the link. */\n.link {\n composes: link from './link.module.css';\n text-decoration-line: underline;\n cursor: text;\n}\n\n.entity {\n composes: entity from '../structure/rich-text-content.module.css';\n}\n\n/* A node of a later version: its readable text, kept as one unit. */\n.unknown {\n overflow-wrap: anywhere;\n}\n\n/* An entity or an unknown node the selection holds as one unit: the selection\n treatment for a part that holds one label (`design/components/README.md`). */\n.entity[data-selected],\n.unknown[data-selected] {\n color: var(--pm-selection-text);\n background: var(--pm-selection-bg);\n}\n\n/* An annotation: RichTextContent's highlight, composed, with its active state\n and the ring of an annotated entity, so a highlight looks the same while the\n document is written and after. The editor draws each fragment as a `mark`. */\n.annotation {\n composes: annotation from '../structure/rich-text-content.module.css';\n}\n\n/* footer and count --------------------------------------------------------- */\n\n.footer {\n display: flex;\n flex-wrap: wrap;\n gap: var(--pm-space-2);\n align-items: center;\n}\n\n/* The default footer's controls, at the inline end after the count. */\n.actions {\n display: flex;\n flex-wrap: wrap;\n gap: var(--pm-space-2);\n align-items: center;\n margin-inline-start: auto;\n}\n\n/* The count: metadata, at the smallest step. Over the limit it is danger text,\n and its words say how far over, so the state is not colour alone. */\n.count {\n margin: 0;\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n line-height: var(--pm-text-xs-line-height);\n color: var(--pm-text-muted);\n letter-spacing: var(--pm-text-xs-tracking);\n font-variant-numeric: tabular-nums;\n}\n\n.count[data-state='over'] {\n color: var(--pm-danger-text);\n}\n\n/* Under the frame when there is no footer, inset like PromptInput's hint. */\n.root > .count {\n padding-inline: var(--pm-space-3);\n}\n\n/* suggestions -------------------------------------------------------------- *\n *\n * PromptInput's list, composed: the panel, the options and the rows. The panel\n * is placed at the token instead of across the field, and it is `fixed`, as\n * the selection bar is, so a scrolling ancestor (a Dialog's body) does not\n * clip it. The member measures the token and writes the panel's top-left\n * corner (`--pm-rich-text-input-x`, `--pm-rich-text-input-y`): under the\n * token's line, or above it when there is less room below in the part of the\n * window a person sees (`data-placement`), `--pm-rich-text-input-gap` from the\n * token, its start at the token's start, kept inside the field and the\n * window. It writes the field's width (`--pm-rich-text-input-field`), which\n * bounds the panel and is its width at phone width, and the room on the\n * panel's side (`--pm-rich-text-input-room`), which bounds its height. The\n * coordinates are physical, because they are the browser's. */\n\n.suggestions {\n composes: suggestions from '../ai/prompt-input.module.css';\n\n --pm-rich-text-input-x: 0px;\n --pm-rich-text-input-y: 0px;\n --pm-rich-text-input-gap: var(--pm-space-1);\n --pm-rich-text-input-field: calc(var(--pm-space-10) * 4);\n --pm-rich-text-input-room: 100vh;\n}\n\n/* The placement, under the root so it outweighs the composed panel's, whose\n stylesheet a bundler may load after this one. */\n.root > .suggestions {\n position: fixed;\n inset: auto;\n top: var(--pm-rich-text-input-y);\n left: var(--pm-rich-text-input-x);\n\n /* Above the page, as every transient surface is: the panel may cross what follows the field. */\n z-index: var(--pm-z-overlay);\n\n /* Popover's width: a name and a line under it, never wider than the field. */\n inline-size: min(var(--pm-rich-text-input-field), calc(var(--pm-space-10) * 4));\n max-block-size: min(40vh, calc(var(--pm-space-10) * 4), var(--pm-rich-text-input-room));\n}\n\n@supports (height: 1dvh) {\n .root > .suggestions {\n max-block-size: min(40dvh, calc(var(--pm-space-10) * 4), var(--pm-rich-text-input-room));\n }\n}\n\n.listbox {\n composes: listbox from '../ai/prompt-input.module.css';\n}\n\n.option {\n composes: option from '../ai/prompt-input.module.css';\n}\n\n.glyph {\n composes: glyph from '../ai/prompt-input.module.css';\n}\n\n/* The app's own leading drawing (an Avatar), decorative, as the glyph is. */\n.leading {\n display: inline-flex;\n flex: none;\n align-items: center;\n}\n\n.text {\n composes: text from '../ai/prompt-input.module.css';\n}\n\n.label {\n composes: label from '../ai/prompt-input.module.css';\n}\n\n.description {\n composes: description from '../ai/prompt-input.module.css';\n}\n\n.rows {\n composes: rows from '../ai/prompt-input.module.css';\n}\n\n.row {\n composes: row from '../ai/prompt-input.module.css';\n}\n\n.empty {\n composes: empty from '../ai/prompt-input.module.css';\n}\n\n/* The app could not load: the list's one row, in danger text. */\n.error {\n composes: empty from '../ai/prompt-input.module.css';\n color: var(--pm-danger-text);\n}\n\n/* The one live region, hidden by clipping so it stays in the accessibility tree. */\n.status {\n composes: visuallyHidden from '../conventions/a11y.module.css';\n}\n\n/* The link form inside its Popover: the address field and its two controls. */\n.linkForm {\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-3);\n margin: 0;\n}\n\n.linkActions {\n display: flex;\n flex-wrap: wrap;\n gap: var(--pm-space-2);\n justify-content: flex-end;\n}\n\n/* states ------------------------------------------------------------------- */\n\n.root[data-invalid] .frame {\n border-color: var(--pm-danger-border);\n}\n\n.root[data-readonly] .surface {\n color: var(--pm-text-secondary);\n}\n\n.root[data-disabled] .frame {\n cursor: not-allowed;\n background: var(--pm-bg-subtle);\n border-color: var(--pm-border-subtle);\n box-shadow: none;\n}\n\n.root[data-disabled] .surface {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n}\n\n/* Hover moves the border one step, as in Input. The selector excludes the\n states it must not overwrite instead of relying on their specificity. */\n.root:not([data-disabled], [data-readonly], [data-invalid]) .frame:hover {\n border-color: var(--pm-border-strong);\n}\n\n/* The focus mark on the frame while the surface inside it has focus: the\n composite-field convention (`focus.module.css`), restated because the\n convention's selector reaches a native `<input>` child only. A focused\n contenteditable matches `:focus-visible` from the pointer too, as a text\n field does. The outline is at the system's offset, inside the frame's edge\n by default. The recolour yields to the invalid border, which must survive\n focus; the mark never does. */\n.root .frame:has(.surface:focus-visible) {\n outline: var(--pm-focus-width) solid var(--pm-border-focus-solid);\n outline-offset: var(--pm-focus-offset);\n}\n\n.root:not([data-invalid]) .frame:has(.surface:focus-visible) {\n border-color: var(--pm-border-focus-solid);\n}\n\n/* An invalid frame keeps its danger border visible: inside the edge, the mark\n moves in past the border, as the convention moves it on an invalid field. */\n@container style(--pm-focus-place: inside) {\n .root[data-invalid] .frame:has(.surface:focus-visible) {\n outline-offset: calc(var(--pm-focus-offset) - 1px);\n }\n}\n\n/* The field style, where the system chooses it (`overrides.focus.field: border`,\n the flag `--pm-focus-field`): the outline lies inside the frame's edge by its\n width whatever the system's offset, and inside the danger border when the\n field is invalid. */\n@container style(--pm-focus-field: border) {\n .root .frame:has(.surface:focus-visible) {\n outline-offset: calc(var(--pm-focus-width) * -1);\n }\n\n .root[data-invalid] .frame:has(.surface:focus-visible) {\n outline-offset: calc(var(--pm-focus-width) * -1 - 1px);\n }\n}\n\n/* The focus-zoom floor (conventions §13): metrics only. The row counts are\n restated with the floor's metrics, so `minRows` and `maxRows` still count the\n lines the surface draws. At phone width the suggestions span the root. */\n@media (width < 30rem) {\n .surface {\n font-size: var(--pm-text-entry-size);\n line-height: var(--pm-text-entry-line-height);\n }\n\n .root[data-min-rows='1'] .surface {\n min-block-size: calc(\n var(--pm-text-entry-size) * var(--pm-text-entry-line-height) + var(--pm-space-1) * 2\n );\n }\n\n .root[data-min-rows='3'] .surface {\n min-block-size: calc(\n var(--pm-text-entry-size) * var(--pm-text-entry-line-height) * 3 + var(--pm-space-1) * 2\n );\n }\n\n .root[data-min-rows='6'] .surface {\n min-block-size: calc(\n var(--pm-text-entry-size) * var(--pm-text-entry-line-height) * 6 + var(--pm-space-1) * 2\n );\n }\n\n .root[data-min-rows='12'] .surface {\n min-block-size: calc(\n var(--pm-text-entry-size) * var(--pm-text-entry-line-height) * 12 + var(--pm-space-1) * 2\n );\n }\n\n .root[data-max-rows='6'] .viewport {\n max-block-size: calc(\n var(--pm-text-entry-size) * var(--pm-text-entry-line-height) * 6 + var(--pm-space-1) * 2\n );\n }\n\n .root[data-max-rows='12'] .viewport {\n max-block-size: calc(\n var(--pm-text-entry-size) * var(--pm-text-entry-line-height) * 12 + var(--pm-space-1) * 2\n );\n }\n\n .root[data-max-rows='24'] .viewport {\n max-block-size: calc(\n var(--pm-text-entry-size) * var(--pm-text-entry-line-height) * 24 + var(--pm-space-1) * 2\n );\n }\n\n .root > .suggestions {\n inline-size: var(--pm-rich-text-input-field);\n }\n}\n"],"mappings":""}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region ../recipes/src/controls/segmented-control.module.css
|
|
2
|
-
var e = "_track_11624_16", t = "_segment_11624_35
|
|
2
|
+
var e = "_track_11624_16", t = "_segment_11624_35 _focusRing_1hr3n_49", n = "_chip_11624_74", r = "_glyph_11624_84", i = "_label_11624_91", a = {
|
|
3
3
|
track: e,
|
|
4
4
|
segment: t,
|
|
5
5
|
chip: n,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
//#region ../recipes/src/controls/select.module.css
|
|
2
|
-
var e = "
|
|
2
|
+
var e = "_trigger_1nroi_12 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17", t = "_value_1nroi_37", n = "_chevron_1nroi_44", r = "_content_1nroi_119", i = "_viewport_1nroi_139", a = "_sheetList_1nroi_154", o = "_item_1nroi_194 _stateFeedback_lkjqs_17", s = "_check_1nroi_218 _stateFeedback_lkjqs_17", c = "_text_1nroi_227", l = "_description_1nroi_235 _stateFeedback_lkjqs_17", u = "_group_1nroi_249", d = "_groupLabel_1nroi_258", f = {
|
|
3
3
|
trigger: e,
|
|
4
4
|
value: t,
|
|
5
5
|
chevron: n,
|
|
6
6
|
content: r,
|
|
7
7
|
viewport: i,
|
|
8
8
|
sheetList: a,
|
|
9
|
-
"select-content-enter": "_select-content-
|
|
10
|
-
"select-content-exit": "_select-content-
|
|
9
|
+
"select-content-enter": "_select-content-enter_1nroi_1",
|
|
10
|
+
"select-content-exit": "_select-content-exit_1nroi_1",
|
|
11
11
|
item: o,
|
|
12
12
|
check: s,
|
|
13
13
|
text: c,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select.module.js","names":[],"sources":["../../../../recipes/src/controls/select.module.css"],"sourcesContent":["/* Select — `design/components/select.md`.\n *\n * The trigger copies Input's recipe instead of sharing it. The completeness law checks\n * each component's own stylesheet, and that check only means something with one\n * stylesheet per component. A test prevents drift instead: `select.test.tsx` compares\n * the two controls' computed values, which is the stronger check.\n *\n * `var(--radix-*)` values are measured by the positioning engine at runtime (anchor\n * width, available height, transform origin). No one chooses them, so the token law\n * allows them (packages/rules/src/stylelint/values.js). */\n\n.trigger {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback from '../conventions/motion.module.css';\n display: inline-flex;\n gap: var(--pm-space-3);\n align-items: center;\n justify-content: space-between;\n max-inline-size: 100%;\n block-size: var(--pm-control-height-md);\n padding-inline: var(--pm-space-5);\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-primary);\n cursor: pointer;\n background: var(--pm-bg-surface);\n border: 1px solid var(--pm-border-field);\n border-radius: var(--pm-radius-control);\n\n /* The control seat shadow, from Input, used by every field in the family. */\n box-shadow: var(--pm-shadow-seat);\n}\n\n.value {\n min-inline-size: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.chevron {\n display: inline-flex;\n flex: none;\n align-items: center;\n color: var(--pm-text-muted);\n\n /* The `select.chevron` binding: transform, control class, `standard` easing, because\n the change is symmetric with no direction of travel. */\n transition: transform var(--pm-motion-duration-control) var(--pm-motion-easing-standard);\n}\n\n/* trigger sizes — the conventions' size system ------------------------------ */\n\n.trigger[data-size='sm'] {\n gap: var(--pm-space-2);\n block-size: var(--pm-control-height-sm);\n padding-inline: var(--pm-space-4);\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n line-height: var(--pm-text-xs-line-height);\n letter-spacing: var(--pm-text-xs-tracking);\n}\n\n.trigger[data-size='lg'] {\n block-size: var(--pm-control-height-lg);\n padding-inline: var(--pm-space-6);\n font-family: var(--pm-text-md-family);\n font-size: var(--pm-text-md-size);\n font-weight: var(--pm-text-md-weight);\n line-height: var(--pm-text-md-line-height);\n letter-spacing: var(--pm-text-md-tracking);\n}\n\n/* trigger states ------------------------------------------------------------ */\n\n.trigger[data-placeholder] {\n color: var(--pm-text-muted);\n}\n\n.trigger[data-invalid] {\n border-color: var(--pm-danger-border);\n}\n\n.trigger[data-disabled] {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n background: var(--pm-bg-subtle);\n border-color: var(--pm-border-subtle);\n\n /* The seat shadow signals a ready control, so disabled removes it (as in Input). */\n box-shadow: none;\n}\n\n/* While open, the trigger keeps the hover border so it does not flicker back to rest.\n Invalid is excluded from both rules rather than overridden, so the error border stays\n on hover and while the panel is open. */\n.trigger[data-state='open']:not([data-invalid]) {\n border-color: var(--pm-border-strong);\n}\n\n.trigger:hover:not([data-disabled], [data-invalid]) {\n border-color: var(--pm-border-strong);\n}\n\n.trigger[data-state='open'] .chevron {\n transform: rotate(180deg);\n}\n\n.trigger[data-disabled] .chevron {\n color: var(--pm-text-disabled);\n}\n\n/* panel --------------------------------------------------------------------- */\n\n.content {\n display: flex;\n flex-direction: column;\n\n /* `overlay` from the stacking scale. The popper copies it onto its wrapper\n (menu.module.css explains how). */\n z-index: var(--pm-z-overlay);\n min-inline-size: var(--radix-select-trigger-width);\n max-block-size: var(--radix-select-content-available-height);\n padding: var(--pm-inset-list);\n overflow: hidden;\n background: var(--pm-bg-overlay);\n border: 1px solid var(--pm-border-subtle);\n border-radius: var(--pm-radius-surface);\n box-shadow: var(--pm-shadow-transient);\n transform-origin: var(--radix-select-content-transform-origin);\n}\n\n/* Radix sets the viewport's `flex: 1` and scrolling inline. This rule adds the gap and\n the minimum size for shrinking. */\n.viewport {\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-1);\n min-block-size: 0;\n}\n\n/* The sheet, below 30rem (the conventions' sheet presentation) ---------------\n *\n * The panel box is the shared anatomy (`sheet.module.css`, used by the sheet partial).\n * This member styles only the list inside it: the same `--pm-space-2` inset as the\n * popper panel, on a listbox that scrolls under the sheet's height cap. The popper rules\n * (trigger min-width, available height, `sideOffset`) do not apply, because a sheet has\n * no anchor. The safe-area inset comes from the sheet. It adds to this member's edge\n * padding and is zero on devices without a notch. */\n.sheetList {\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-1);\n min-block-size: 0;\n padding: var(--pm-space-2);\n padding-block-end: calc(var(--pm-space-2) + env(safe-area-inset-bottom, 0px));\n margin: 0;\n overflow-y: auto;\n list-style: none;\n outline: none;\n}\n\n/* `scale-fade`, surface class (motion.md's duration scale: a dropdown is a transient\n anchored surface, not a modal). Radix keeps the node mounted for the closed animation,\n so the exit animates instead of cutting. */\n.content[data-state='open'] {\n animation: select-content-enter var(--pm-motion-duration-surface) var(--pm-motion-easing-enter);\n}\n\n.content[data-state='closed'] {\n animation: select-content-exit var(--pm-motion-duration-surface-exit) var(--pm-motion-easing-exit);\n}\n\n@keyframes select-content-enter {\n from {\n opacity: 0;\n transform: scale(0.94);\n }\n}\n\n@keyframes select-content-exit {\n to {\n opacity: 0;\n transform: scale(0.94);\n }\n}\n\n/* items --------------------------------------------------------------------- */\n\n.item {\n composes: stateFeedback from '../conventions/motion.module.css';\n display: flex;\n gap: var(--pm-space-2);\n align-items: center;\n\n /* A minimum, not a fixed height. A two-line item grows to fit its description while\n the check column stays in place (as in Combobox). */\n min-block-size: var(--pm-control-height-sm);\n padding-inline: var(--pm-space-3);\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-primary);\n cursor: pointer;\n user-select: none;\n border-radius: var(--pm-radius-sm);\n outline: none;\n}\n\n/* The check column is reserved on every item, so labels do not shift as the selection\n moves. */\n.check {\n composes: stateFeedback from '../conventions/motion.module.css';\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n inline-size: var(--pm-icon-size-sm);\n}\n\n.text {\n display: flex;\n flex-direction: column;\n justify-content: center;\n min-inline-size: 0;\n}\n\n/* Combobox's second line, copied: muted `text.xs` under the label. */\n.description {\n composes: stateFeedback from '../conventions/motion.module.css';\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n line-height: var(--pm-text-xs-line-height);\n letter-spacing: var(--pm-text-xs-tracking);\n color: var(--pm-text-muted);\n}\n\n/* One class for two elements: Radix's Group div in the popover, and the sheet's\n `role=\"group\"` list with its `<li>` wrapper. The list resets do nothing on the div and\n are needed on the `<ul>`, because the browser's default list marker is not part of\n any recipe. */\n.group {\n display: flex;\n flex-direction: column;\n padding: 0;\n margin: 0;\n list-style: none;\n}\n\n/* Menu's label-entry recipe, copied, so every anchored list uses the same label style. */\n.groupLabel {\n padding: var(--pm-space-2) var(--pm-space-3);\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n line-height: var(--pm-text-xs-line-height);\n letter-spacing: var(--pm-text-xs-tracking);\n color: var(--pm-text-muted);\n text-transform: uppercase;\n}\n\n/* Radix uses one attribute for both the keyboard and the pointer position, so hover\n needs no separate rule here. */\n.item[data-highlighted] {\n color: var(--pm-accent-text);\n background: var(--pm-accent-subtle);\n}\n\n.item[data-disabled] {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n background: transparent;\n}\n\n/* Both containers. The sheet uses the same rows with the same size steps. */\n.content[data-size='sm'] .item,\n.sheetList[data-size='sm'] .item {\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n line-height: var(--pm-text-xs-line-height);\n letter-spacing: var(--pm-text-xs-tracking);\n}\n\n.content[data-size='lg'] .item,\n.sheetList[data-size='lg'] .item {\n font-family: var(--pm-text-md-family);\n font-size: var(--pm-text-md-size);\n font-weight: var(--pm-text-md-weight);\n line-height: var(--pm-text-md-line-height);\n letter-spacing: var(--pm-text-md-tracking);\n}\n\n/* The label keeps the primary colour when selected. The check shows the selection, and a\n recoloured label would look like a second, competing signal. */\n.item[data-state='checked'] .check {\n color: var(--pm-accent-text);\n}\n\n/* The second line follows the row's state. It stays legible on the accent background\n and turns disabled with a disabled row (Combobox's rules). */\n.item[data-highlighted] .description {\n color: inherit;\n}\n\n.item[data-disabled] .description {\n color: var(--pm-text-disabled);\n}\n\n/* Reduced-motion versions (motion.md). The motion engine handles its own bindings.\n These two run in CSS, so their reduced versions are defined here. */\n@media (prefers-reduced-motion: reduce) {\n /* The rotation stays, because it shows open or closed. Removing it would remove state,\n not just motion. Only the transition is removed. */\n .chevron {\n transition: none;\n }\n\n @keyframes select-content-enter {\n from {\n opacity: 0;\n }\n }\n\n @keyframes select-content-exit {\n to {\n opacity: 0;\n }\n }\n}\n\n/* Glass (`depth: glass`). The pane uses the surface role at the engine's mix\n (`--pm-material-surface`). The material separates the pane from the page instead of\n a lighter overlay step: the backdrop shows through as a blurred, saturated tint. The\n glass law checks the mix's contrast over worst-case backdrops, and recipes only\n apply it. */\n@container style(--pm-axis-depth: glass) {\n .content {\n background: var(--pm-material-surface);\n backdrop-filter: blur(var(--pm-material-blur)) saturate(var(--pm-material-saturate));\n }\n}\n"],"mappings":""}
|
|
1
|
+
{"version":3,"file":"select.module.js","names":[],"sources":["../../../../recipes/src/controls/select.module.css"],"sourcesContent":["/* Select — `design/components/select.md`.\n *\n * The trigger copies Input's recipe instead of sharing it. The completeness law checks\n * each component's own stylesheet, and that check only means something with one\n * stylesheet per component. A test prevents drift instead: `select.test.tsx` compares\n * the two controls' computed values, which is the stronger check.\n *\n * `var(--radix-*)` values are measured by the positioning engine at runtime (anchor\n * width, available height, transform origin). No one chooses them, so the token law\n * allows them (packages/rules/src/stylelint/values.js). */\n\n.trigger {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback from '../conventions/motion.module.css';\n display: inline-flex;\n gap: var(--pm-space-3);\n align-items: center;\n justify-content: space-between;\n max-inline-size: 100%;\n block-size: var(--pm-control-height-md);\n padding-inline: var(--pm-space-5);\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-primary);\n cursor: pointer;\n background: var(--pm-bg-surface);\n border: 1px solid var(--pm-border-field);\n border-radius: var(--pm-radius-control);\n\n /* The control seat shadow, from Input, used by every field in the family. */\n box-shadow: var(--pm-shadow-seat);\n}\n\n.value {\n min-inline-size: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.chevron {\n display: inline-flex;\n flex: none;\n align-items: center;\n color: var(--pm-text-muted);\n\n /* The `select.chevron` binding: transform, control class, `standard` easing, because\n the change is symmetric with no direction of travel. */\n transition: transform var(--pm-motion-duration-control) var(--pm-motion-easing-standard);\n}\n\n/* trigger sizes — the conventions' size system ------------------------------ */\n\n.trigger[data-size='sm'] {\n gap: var(--pm-space-2);\n block-size: var(--pm-control-height-sm);\n padding-inline: var(--pm-space-4);\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n line-height: var(--pm-text-xs-line-height);\n letter-spacing: var(--pm-text-xs-tracking);\n}\n\n.trigger[data-size='lg'] {\n block-size: var(--pm-control-height-lg);\n padding-inline: var(--pm-space-6);\n font-family: var(--pm-text-md-family);\n font-size: var(--pm-text-md-size);\n font-weight: var(--pm-text-md-weight);\n line-height: var(--pm-text-md-line-height);\n letter-spacing: var(--pm-text-md-tracking);\n}\n\n/* trigger states ------------------------------------------------------------ */\n\n.trigger[data-placeholder] {\n color: var(--pm-text-muted);\n}\n\n.trigger[data-invalid] {\n border-color: var(--pm-danger-border);\n}\n\n.trigger[data-disabled] {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n background: var(--pm-bg-subtle);\n border-color: var(--pm-border-subtle);\n\n /* The seat shadow signals a ready control, so disabled removes it (as in Input). */\n box-shadow: none;\n}\n\n/* While open, the trigger keeps the hover border so it does not flicker back to rest.\n Invalid is excluded from both rules rather than overridden, so the error border stays\n on hover and while the panel is open. */\n.trigger[data-state='open']:not([data-invalid]) {\n border-color: var(--pm-border-strong);\n}\n\n.trigger:hover:not([data-disabled], [data-invalid]) {\n border-color: var(--pm-border-strong);\n}\n\n.trigger[data-state='open'] .chevron {\n transform: rotate(180deg);\n}\n\n.trigger[data-disabled] .chevron {\n color: var(--pm-text-disabled);\n}\n\n/* panel --------------------------------------------------------------------- */\n\n.content {\n display: flex;\n flex-direction: column;\n\n /* `overlay` from the stacking scale. The popper copies it onto its wrapper\n (menu.module.css explains how). */\n z-index: var(--pm-z-overlay);\n min-inline-size: var(--radix-select-trigger-width);\n max-block-size: var(--radix-select-content-available-height);\n padding: var(--pm-inset-list);\n overflow: hidden;\n background: var(--pm-bg-overlay);\n border: 1px solid var(--pm-border-subtle);\n border-radius: var(--pm-radius-surface);\n box-shadow: var(--pm-shadow-transient);\n transform-origin: var(--radix-select-content-transform-origin);\n}\n\n/* Radix sets the viewport's `flex: 1` and scrolling inline. This rule adds the gap and\n the minimum size for shrinking. */\n.viewport {\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-1);\n min-block-size: 0;\n}\n\n/* The sheet, below 30rem (the conventions' sheet presentation) ---------------\n *\n * The panel box is the shared anatomy (`sheet.module.css`, used by the sheet partial).\n * This member styles only the list inside it: the same `--pm-space-2` inset as the\n * popper panel, on a listbox that scrolls under the sheet's height cap. The popper rules\n * (trigger min-width, available height, `sideOffset`) do not apply, because a sheet has\n * no anchor. The safe-area inset comes from the sheet. It adds to this member's edge\n * padding and is zero on devices without a notch. */\n.sheetList {\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-1);\n min-block-size: 0;\n padding: var(--pm-space-2);\n padding-block-end: calc(var(--pm-space-2) + env(safe-area-inset-bottom, 0px));\n margin: 0;\n overflow-y: auto;\n list-style: none;\n outline: none;\n}\n\n/* `scale-fade`, surface class (motion.md's duration scale: a dropdown is a transient\n anchored surface, not a modal). Radix keeps the node mounted for the closed animation,\n so the exit animates instead of cutting. */\n.content[data-state='open'] {\n animation: select-content-enter var(--pm-motion-duration-surface) var(--pm-motion-easing-enter);\n}\n\n.content[data-state='closed'] {\n animation: select-content-exit var(--pm-motion-duration-surface-exit) var(--pm-motion-easing-exit);\n}\n\n@keyframes select-content-enter {\n from {\n opacity: 0;\n transform: scale(0.94);\n }\n}\n\n@keyframes select-content-exit {\n to {\n opacity: 0;\n transform: scale(0.94);\n }\n}\n\n/* items --------------------------------------------------------------------- */\n\n.item {\n composes: stateFeedback from '../conventions/motion.module.css';\n display: flex;\n gap: var(--pm-space-2);\n align-items: center;\n\n /* A minimum, not a fixed height. A two-line item grows to fit its description while\n the check column stays in place (as in Combobox). */\n min-block-size: var(--pm-control-height-sm);\n padding-inline: var(--pm-space-3);\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-primary);\n cursor: pointer;\n user-select: none;\n border-radius: var(--pm-radius-sm);\n outline: none;\n}\n\n/* The check column is reserved on every item, so labels do not shift as the selection\n moves. */\n.check {\n composes: stateFeedback from '../conventions/motion.module.css';\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n inline-size: var(--pm-icon-size-sm);\n}\n\n.text {\n display: flex;\n flex-direction: column;\n justify-content: center;\n min-inline-size: 0;\n}\n\n/* Combobox's second line, copied: muted `text.xs` under the label. */\n.description {\n composes: stateFeedback from '../conventions/motion.module.css';\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n line-height: var(--pm-text-xs-line-height);\n letter-spacing: var(--pm-text-xs-tracking);\n color: var(--pm-text-muted);\n}\n\n/* One class for two elements: Radix's Group div in the popover, and the sheet's\n `role=\"group\"` list with its `<li>` wrapper. The list resets do nothing on the div and\n are needed on the `<ul>`, because the browser's default list marker is not part of\n any recipe. */\n.group {\n display: flex;\n flex-direction: column;\n padding: 0;\n margin: 0;\n list-style: none;\n}\n\n/* Menu's label-entry recipe, copied, so every anchored list uses the same label style. */\n.groupLabel {\n padding: var(--pm-space-2) var(--pm-space-3);\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n line-height: var(--pm-text-xs-line-height);\n letter-spacing: var(--pm-text-xs-tracking);\n color: var(--pm-text-muted);\n text-transform: uppercase;\n}\n\n/* Radix uses one attribute for both the keyboard and the pointer position, so hover\n needs no separate rule here. */\n.item[data-highlighted] {\n color: var(--pm-accent-text);\n background: var(--pm-accent-subtle);\n}\n\n.item[data-disabled] {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n background: transparent;\n}\n\n/* Both containers. The sheet uses the same rows with the same size steps. */\n.content[data-size='sm'] .item,\n.sheetList[data-size='sm'] .item {\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n line-height: var(--pm-text-xs-line-height);\n letter-spacing: var(--pm-text-xs-tracking);\n}\n\n.content[data-size='lg'] .item,\n.sheetList[data-size='lg'] .item {\n font-family: var(--pm-text-md-family);\n font-size: var(--pm-text-md-size);\n font-weight: var(--pm-text-md-weight);\n line-height: var(--pm-text-md-line-height);\n letter-spacing: var(--pm-text-md-tracking);\n}\n\n/* The label keeps the primary colour when selected. The check shows the selection, and a\n recoloured label would look like a second, competing signal. */\n.item[data-state='checked'] .check {\n color: var(--pm-accent-text);\n}\n\n/* The second line follows the row's state. It stays legible on the accent background\n and turns disabled with a disabled row (Combobox's rules). */\n.item[data-highlighted] .description {\n color: inherit;\n}\n\n.item[data-disabled] .description,\n.item[data-disabled] .check {\n color: var(--pm-text-disabled);\n}\n\n/* Reduced-motion versions (motion.md). The motion engine handles its own bindings.\n These two run in CSS, so their reduced versions are defined here. */\n@media (prefers-reduced-motion: reduce) {\n /* The rotation stays, because it shows open or closed. Removing it would remove state,\n not just motion. Only the transition is removed. */\n .chevron {\n transition: none;\n }\n\n @keyframes select-content-enter {\n from {\n opacity: 0;\n }\n }\n\n @keyframes select-content-exit {\n to {\n opacity: 0;\n }\n }\n}\n\n/* Glass (`depth: glass`). The pane uses the surface role at the engine's mix\n (`--pm-material-surface`). The material separates the pane from the page instead of\n a lighter overlay step: the backdrop shows through as a blurred, saturated tint. The\n glass law checks the mix's contrast over worst-case backdrops, and recipes only\n apply it. */\n@container style(--pm-axis-depth: glass) {\n .content {\n background: var(--pm-material-surface);\n backdrop-filter: blur(var(--pm-material-blur)) saturate(var(--pm-material-saturate));\n }\n}\n"],"mappings":""}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
//#region ../recipes/src/controls/selection-bar.module.css
|
|
2
|
+
var e = "_bar_109qb_17", t = {
|
|
3
|
+
bar: e,
|
|
4
|
+
"selection-bar-enter": "_selection-bar-enter_109qb_1",
|
|
5
|
+
"selection-bar-exit": "_selection-bar-exit_109qb_1"
|
|
6
|
+
};
|
|
7
|
+
//#endregion
|
|
8
|
+
export { e as bar, t as default };
|
|
9
|
+
|
|
10
|
+
//# sourceMappingURL=selection-bar.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selection-bar.module.js","names":[],"sources":["../../../../recipes/src/controls/selection-bar.module.css"],"sourcesContent":["/* The selection bar — the controls a member draws at the selected text\n * (`design/components/rich-text-input.md`, \"The selection bar\"). RichTextInput\n * draws its format controls and the application's `selectionActions` in it.\n * The bar is one part with one stylesheet, so a member that reads a document\n * draws the same bar.\n *\n * It is a transient surface: Popover's panel material, radius and shadow, and\n * Popover's motion tokens. It is `fixed` and placed by the member\n * from the selection's box in viewport coordinates (`--pm-selection-bar-x`,\n * `--pm-selection-bar-y`, its top-left corner), which the member measures, as\n * Tour places its panel. The coordinates are physical, because they are the\n * browser's. The placement keeps it `--pm-selection-bar-edge` inside the part\n * of the window a person sees, on both axes, and writes the widest it may be\n * there (`--pm-selection-bar-room`), so it wraps onto more rows instead of\n * running past an edge. */\n\n.bar {\n --pm-selection-bar-x: 0px;\n --pm-selection-bar-y: 0px;\n --pm-selection-bar-edge: var(--pm-space-2);\n --pm-selection-bar-room: calc(100vw - var(--pm-selection-bar-edge) * 2);\n\n position: fixed;\n top: var(--pm-selection-bar-y);\n left: var(--pm-selection-bar-x);\n\n /* Above the page, as every transient surface is. */\n z-index: var(--pm-z-overlay);\n display: flex;\n flex-wrap: wrap;\n gap: var(--pm-space-1);\n align-items: center;\n\n /* The bar wraps onto more rows at the visible width, which the placement measures. */\n max-inline-size: var(--pm-selection-bar-room);\n padding: var(--pm-space-1);\n background: var(--pm-bg-overlay);\n border: 1px solid var(--pm-border-subtle);\n border-radius: var(--pm-radius-surface);\n box-shadow: var(--pm-shadow-transient);\n animation: selection-bar-enter var(--pm-motion-duration-surface) var(--pm-motion-easing-enter);\n}\n\n/* The selection is scrolled out of the window, or out of the field's own box: the bar waits,\n unseen, for it to return. */\n.bar[data-outside] {\n visibility: hidden;\n}\n\n/* Leaving: the member keeps the bar until this ends, and it takes no press meanwhile. */\n.bar[data-state='closed'] {\n pointer-events: none;\n animation: selection-bar-exit var(--pm-motion-duration-surface-exit) var(--pm-motion-easing-exit)\n forwards;\n}\n\n/* Popover's tokens with a fade only: a scale would move the box the member\n measures to place the bar while the bar enters. */\n@keyframes selection-bar-enter {\n from {\n opacity: 0;\n }\n}\n\n@keyframes selection-bar-exit {\n to {\n opacity: 0;\n }\n}\n\n/* Under reduced motion the bar appears and leaves without moving or fading: it\n follows a selection, which the reader is making with the pointer or the keys. */\n@media (prefers-reduced-motion: reduce) {\n .bar,\n .bar[data-state='closed'] {\n animation: none;\n }\n}\n\n/* Glass (`depth: glass`): Popover's panel material, unchanged. */\n@container style(--pm-axis-depth: glass) {\n .bar {\n background: var(--pm-material-surface);\n backdrop-filter: blur(var(--pm-material-blur)) saturate(var(--pm-material-saturate));\n }\n}\n"],"mappings":""}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region ../recipes/src/controls/slider.module.css
|
|
2
|
-
var e = "
|
|
2
|
+
var e = "_root_1xnc5_13", t = "_readout_1xnc5_23", n = "_control_1xnc5_39", r = "_track_1xnc5_50", i = "_range_1xnc5_61", a = "_thumb_1xnc5_72 _focusAround_1hr3n_95", o = {
|
|
3
3
|
root: e,
|
|
4
4
|
readout: t,
|
|
5
5
|
control: n,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slider.module.js","names":[],"sources":["../../../../recipes/src/controls/slider.module.css"],"sourcesContent":["/* Slider — `design/components/slider.md`.\n *\n * The track matches Progress (same height, pill shape and gradient), so a slider looks\n * like a progress bar you can drag. The thumb is what Progress lacks, and most of the\n * recipe is about it. It has the lit treatment (seat shadow plus top light), it shows the\n * focus ring, and it is the only part that grows while dragged.\n *\n * Nothing about the value is ever transitioned. The fill and the thumb's position follow\n * the user's pointer directly, and a thumb that lags behind is the worst slider bug.\n * Keyboard steps also apply instantly for the same reason. Only the grab feedback (scale,\n * border, glow) has a duration. */\n\n.root {\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-2);\n inline-size: 100%;\n}\n\n/* At the row's end, so the number sits opposite the label FormField puts above it.\n `--pm-font-numeric` sets the theme's tabular figures, so digits keep their width while\n the value changes. */\n.readout {\n align-self: flex-end;\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n font-variant-numeric: var(--pm-font-numeric);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-secondary);\n}\n\n/* The Radix root, which is also the pointer target: a press anywhere on this row moves\n the value. Its height is `control-height-sm` so the target meets the minimum size (the\n conventions' size system) while the track inside stays 4px. Checkbox's box and Switch's\n track use the same technique with a pseudo-element. Here the row itself is used,\n because the whole row is interactive. */\n.control {\n position: relative;\n display: flex;\n align-items: center;\n inline-size: 100%;\n block-size: var(--pm-control-height-sm);\n cursor: pointer;\n touch-action: none;\n user-select: none;\n}\n\n.track {\n position: relative;\n flex: 1;\n block-size: var(--pm-space-2);\n background: var(--pm-bg-subtle);\n border-radius: var(--pm-radius-pill);\n}\n\n/* The gradient role, used exactly as in Progress. A theme without a gradient partner\n resolves it to the same solid colour as `accent.bg`, so nothing changes there. A\n gradient system's fill blends its two hues. */\n.range {\n position: absolute;\n block-size: 100%;\n background: var(--pm-accent-gradient);\n border-radius: var(--pm-radius-pill);\n}\n\n/* The lit treatment: a seat shadow plus an inset top light, in one list. The coherence\n law requires both tokens to be `none` together or both real, so a flat system's thumb\n is just a bordered disc.\n *\n * The `slider.thumb` binding is a `snappy` spring in the registry but a token-timed\n * transition here, as in Switch. A CSS transition keeps its velocity when reversed\n * (motion.md's first interruption law), which matters for something people grab and\n * release. It also means `stateFeedback` cannot be composed. That class sets a\n * `transition` shorthand, and with two shorthands on one rule one is silently dropped.\n * So the colour feedback is repeated here in the same list as the grab. */\n.thumb {\n composes:
|
|
1
|
+
{"version":3,"file":"slider.module.js","names":[],"sources":["../../../../recipes/src/controls/slider.module.css"],"sourcesContent":["/* Slider — `design/components/slider.md`.\n *\n * The track matches Progress (same height, pill shape and gradient), so a slider looks\n * like a progress bar you can drag. The thumb is what Progress lacks, and most of the\n * recipe is about it. It has the lit treatment (seat shadow plus top light), it shows the\n * focus ring, and it is the only part that grows while dragged.\n *\n * Nothing about the value is ever transitioned. The fill and the thumb's position follow\n * the user's pointer directly, and a thumb that lags behind is the worst slider bug.\n * Keyboard steps also apply instantly for the same reason. Only the grab feedback (scale,\n * border, glow) has a duration. */\n\n.root {\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-2);\n inline-size: 100%;\n}\n\n/* At the row's end, so the number sits opposite the label FormField puts above it.\n `--pm-font-numeric` sets the theme's tabular figures, so digits keep their width while\n the value changes. */\n.readout {\n align-self: flex-end;\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n font-variant-numeric: var(--pm-font-numeric);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-secondary);\n}\n\n/* The Radix root, which is also the pointer target: a press anywhere on this row moves\n the value. Its height is `control-height-sm` so the target meets the minimum size (the\n conventions' size system) while the track inside stays 4px. Checkbox's box and Switch's\n track use the same technique with a pseudo-element. Here the row itself is used,\n because the whole row is interactive. */\n.control {\n position: relative;\n display: flex;\n align-items: center;\n inline-size: 100%;\n block-size: var(--pm-control-height-sm);\n cursor: pointer;\n touch-action: none;\n user-select: none;\n}\n\n.track {\n position: relative;\n flex: 1;\n block-size: var(--pm-space-2);\n background: var(--pm-bg-subtle);\n border-radius: var(--pm-radius-pill);\n}\n\n/* The gradient role, used exactly as in Progress. A theme without a gradient partner\n resolves it to the same solid colour as `accent.bg`, so nothing changes there. A\n gradient system's fill blends its two hues. */\n.range {\n position: absolute;\n block-size: 100%;\n background: var(--pm-accent-gradient);\n border-radius: var(--pm-radius-pill);\n}\n\n/* The lit treatment: a seat shadow plus an inset top light, in one list. The coherence\n law requires both tokens to be `none` together or both real, so a flat system's thumb\n is just a bordered disc.\n *\n * The `slider.thumb` binding is a `snappy` spring in the registry but a token-timed\n * transition here, as in Switch. A CSS transition keeps its velocity when reversed\n * (motion.md's first interruption law), which matters for something people grab and\n * release. It also means `stateFeedback` cannot be composed. That class sets a\n * `transition` shorthand, and with two shorthands on one rule one is silently dropped.\n * So the colour feedback is repeated here in the same list as the grab. */\n.thumb {\n composes: focusAround from '../conventions/focus.module.css';\n display: block;\n inline-size: var(--pm-space-5);\n block-size: var(--pm-space-5);\n background: var(--pm-bg-surface);\n border: 1px solid var(--pm-border-strong);\n border-radius: var(--pm-radius-pill);\n box-shadow: var(--pm-shadow-seat), var(--pm-shadow-inset-top);\n transition:\n border-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard),\n box-shadow var(--pm-motion-duration-control) var(--pm-motion-easing-standard),\n transform var(--pm-motion-duration-control) var(--pm-motion-easing-standard);\n}\n\n/* states ------------------------------------------------------------------- */\n\n/* Dragging shows the thumb as active. The glow replaces the lit list instead of adding to\n it. Under a halo the 1px seat is not visible, and a mixed list with an\n ornament-`none` glow would make the whole value invalid. An ornament-`none` theme has\n no glow and no seat, so its dragging thumb uses only scale and border. The focus mark\n is an outline, a different property, so a focused thumb keeps it while dragged. */\n.thumb[data-state='dragging'] {\n box-shadow: var(--pm-glow-hover);\n transform: scale(1.12);\n}\n\n/* The thumb shows the error, never the fill, because a red bar would look like a danger\n level rather than an invalid value. */\n.root[data-invalid] .thumb {\n border-color: var(--pm-danger-border);\n}\n\n.root[data-disabled] .control {\n cursor: not-allowed;\n}\n\n/* Grey, not tinted. A disabled slider still shows its value, in a colour that does not\n invite interaction. */\n.root[data-disabled] .range {\n background: var(--pm-border-default);\n}\n\n.root[data-disabled] .thumb {\n border-color: var(--pm-border-subtle);\n box-shadow: none;\n}\n\n/* Hover and drag both use the accent border, except when the border already shows an\n error. As in Input, the error border stays on hover. It also stays while dragging,\n because the drag still shows through scale and glow. This is the last state rule, so\n specificity increases down the file. */\n.root:not([data-invalid], [data-disabled]) .thumb:hover,\n.root:not([data-invalid], [data-disabled]) .thumb[data-state='dragging'] {\n border-color: var(--pm-accent-bg);\n}\n\n/* motion projections ------------------------------------------------------- */\n\n/* The scale is removed, not just its duration. A duration token can make the change\n instant but cannot change the end value, and the spec says that with motion off the\n thumb stays at scale 1. Border and glow show dragging on their own. motion.module.css\n does the same for the ambient loops, for the same reason: tokens cannot express\n turning off a value, only a time. It is last in the file, so it overrides the state\n rules it undoes. */\n:global([data-motion='none']) .control .thumb[data-state='dragging'] {\n transform: none;\n}\n\n@media (prefers-reduced-motion: reduce) {\n .thumb {\n transition: none;\n }\n\n .control .thumb[data-state='dragging'] {\n transform: none;\n }\n}\n"],"mappings":""}
|
|
@@ -1,27 +1,28 @@
|
|
|
1
1
|
//#region ../recipes/src/controls/split-button.module.css
|
|
2
|
-
var e = "
|
|
2
|
+
var e = "_group_1fhkd_10", t = "_primary_1fhkd_20 _button_cxa90_17 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17 _pressable_lkjqs_38", n = "_chevron_1fhkd_28 _button_cxa90_17 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17 _pressable_lkjqs_38", r = "_tip_1fhkd_38 _tip_cxa90_80 _bubble_11q5z_14 _fadeIn_lkjqs_92", i = "_seam_1fhkd_59 _stateFeedback_lkjqs_17", a = "_label_1fhkd_96 _label_cxa90_43", o = "_glyph_1fhkd_100 _glyph_cxa90_50", s = "_spinner_1fhkd_104 _spinner_cxa90_13 _spin_lkjqs_83", c = "_content_1fhkd_110", l = "_sheetList_1fhkd_168", u = "_item_1fhkd_168 _stateFeedback_lkjqs_17", d = "_checkbox_1fhkd_212", f = "_check_1fhkd_212 _stateFeedback_lkjqs_17", p = "_rowGlyph_1fhkd_225 _stateFeedback_lkjqs_17", m = "_rowLabel_1fhkd_233", h = "_hint_1fhkd_240 _stateFeedback_lkjqs_17", g = "_separator_1fhkd_253", _ = "_groupLabel_1fhkd_258", v = {
|
|
3
3
|
group: e,
|
|
4
4
|
primary: t,
|
|
5
5
|
chevron: n,
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"split-button-content-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
6
|
+
tip: r,
|
|
7
|
+
seam: i,
|
|
8
|
+
label: a,
|
|
9
|
+
glyph: o,
|
|
10
|
+
spinner: s,
|
|
11
|
+
content: c,
|
|
12
|
+
"split-button-content-enter": "_split-button-content-enter_1fhkd_1",
|
|
13
|
+
"split-button-content-exit": "_split-button-content-exit_1fhkd_1",
|
|
14
|
+
sheetList: l,
|
|
15
|
+
item: u,
|
|
16
|
+
checkbox: d,
|
|
17
|
+
check: f,
|
|
18
|
+
rowGlyph: p,
|
|
19
|
+
rowLabel: m,
|
|
20
|
+
hint: h,
|
|
21
|
+
separator: g,
|
|
22
|
+
groupLabel: _,
|
|
23
|
+
"split-button-item-enter": "_split-button-item-enter_1fhkd_1"
|
|
23
24
|
};
|
|
24
25
|
//#endregion
|
|
25
|
-
export {
|
|
26
|
+
export { f as check, d as checkbox, n as chevron, c as content, v as default, o as glyph, e as group, _ as groupLabel, h as hint, u as item, a as label, t as primary, p as rowGlyph, m as rowLabel, i as seam, g as separator, l as sheetList, s as spinner, r as tip };
|
|
26
27
|
|
|
27
28
|
//# sourceMappingURL=split-button.module.js.map
|