@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":"choice-card.module.js","names":[],"sources":["../../../../recipes/src/controls/choice-card.module.css"],"sourcesContent":["/* ChoiceCard — `design/components/choice-card.md`.\n *\n * This borrows Card's *geometry* (border, radius, padding) but deliberately not its elevation. A\n * choice sits in the page, not above it. Its hover is the selection treatment's ghost wash, never\n * Card's lift, because elevation on hover signals navigation and would imply a destination.\n *\n * Checked applies the conventions' selection treatment to this anatomy: the accent wash on the\n * surface, the border *colour* changed to the accent at the same 1px, and the `confirm` glyph at\n * the top right. The colour changes and the width never does. Selection is never shown by colour\n * alone. The glyph stays visible to a user who cannot see the tint, and the wash and border\n * reinforce it rather than replace it. */\n\n/* The option grid. The *container* resolves the column maximum on Grid's own scale, composed\n rather than restated. `data-columns` means the same here as on a Grid, so the two cannot drift\n apart. */\n.grid {\n composes: grid from '../layout/layout.module.css';\n gap: var(--pm-space-4);\n}\n\n/* The whole area is one label. The card is the hit target, and the hidden control inside receives\n focus. `stateFeedback` is composed so the wash and border colours use the conventions' shared\n state-feedback transitions. At `none` the tokens are 0 and colours change instantly. */\n.option {\n composes: stateFeedback from '../conventions/motion.module.css';\n position: relative;\n min-inline-size: 0;\n overflow-wrap: anywhere;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: var(--pm-space-6);\n cursor: pointer;\n background: var(--pm-bg-surface);\n border: 1px solid var(--pm-border-subtle);\n border-radius: var(--pm-radius-lg);\n}\n\n/* Visually hidden but real: a true form control that the card wraps as its label, never a styled\n div with a hand-set `aria-checked`. Radix keeps ownership of state, keyboard and serialization. */\n.control {\n composes: visuallyHidden from '../conventions/a11y.module.css';\n}\n\n.icon {\n composes: stateFeedback from '../conventions/motion.module.css';\n display: inline-flex;\n flex: none;\n align-items: center;\n margin-block-end: var(--pm-space-3);\n color: var(--pm-text-secondary);\n}\n\n/* The text column reserves space for the glyph in **both** states. The glyph appears in space that\n was always reserved, so nothing shifts and the first line never runs under it. */\n.label {\n padding-inline-end: calc(var(--pm-icon-size-md) + 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}\n\n/* The two-line item style (`combobox.md`, as CheckboxGroup uses it). */\n.description {\n margin-block-start: 2px;\n padding-inline-end: calc(var(--pm-icon-size-md) + var(--pm-space-2));\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/* The `choiceCard.glyph` binding, identical to Checkbox's indicator binding. `spring-pop` in, run\n on the enter curve for the same reasons as Checkbox: the glyph unmounts, so the presence wrapper\n cannot hold it, and at icon size the curve difference is not visible. The exit is the unmount. */\n.glyph {\n position: absolute;\n inset-block-start: var(--pm-space-4);\n inset-inline-end: var(--pm-space-4);\n display: inline-flex;\n color: var(--pm-accent-text);\n animation: choice-card-pop var(--pm-motion-duration-control) var(--pm-motion-easing-enter);\n}\n\n@keyframes choice-card-pop {\n from {\n opacity: 0;\n transform: scale(0.5);\n }\n}\n\n/* states -------------------------------------------------------------------- */\n\n/* The focus
|
|
1
|
+
{"version":3,"file":"choice-card.module.js","names":[],"sources":["../../../../recipes/src/controls/choice-card.module.css"],"sourcesContent":["/* ChoiceCard — `design/components/choice-card.md`.\n *\n * This borrows Card's *geometry* (border, radius, padding) but deliberately not its elevation. A\n * choice sits in the page, not above it. Its hover is the selection treatment's ghost wash, never\n * Card's lift, because elevation on hover signals navigation and would imply a destination.\n *\n * Checked applies the conventions' selection treatment to this anatomy: the accent wash on the\n * surface, the border *colour* changed to the accent at the same 1px, and the `confirm` glyph at\n * the top right. The colour changes and the width never does. Selection is never shown by colour\n * alone. The glyph stays visible to a user who cannot see the tint, and the wash and border\n * reinforce it rather than replace it. */\n\n/* The option grid. The *container* resolves the column maximum on Grid's own scale, composed\n rather than restated. `data-columns` means the same here as on a Grid, so the two cannot drift\n apart. */\n.grid {\n composes: grid from '../layout/layout.module.css';\n gap: var(--pm-space-4);\n}\n\n/* The whole area is one label. The card is the hit target, and the hidden control inside receives\n focus. `stateFeedback` is composed so the wash and border colours use the conventions' shared\n state-feedback transitions. At `none` the tokens are 0 and colours change instantly. */\n.option {\n composes: stateFeedback from '../conventions/motion.module.css';\n position: relative;\n min-inline-size: 0;\n overflow-wrap: anywhere;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: var(--pm-space-6);\n cursor: pointer;\n background: var(--pm-bg-surface);\n border: 1px solid var(--pm-border-subtle);\n border-radius: var(--pm-radius-lg);\n}\n\n/* Visually hidden but real: a true form control that the card wraps as its label, never a styled\n div with a hand-set `aria-checked`. Radix keeps ownership of state, keyboard and serialization. */\n.control {\n composes: visuallyHidden from '../conventions/a11y.module.css';\n}\n\n.icon {\n composes: stateFeedback from '../conventions/motion.module.css';\n display: inline-flex;\n flex: none;\n align-items: center;\n margin-block-end: var(--pm-space-3);\n color: var(--pm-text-secondary);\n}\n\n/* The text column reserves space for the glyph in **both** states. The glyph appears in space that\n was always reserved, so nothing shifts and the first line never runs under it. */\n.label {\n padding-inline-end: calc(var(--pm-icon-size-md) + 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}\n\n/* The two-line item style (`combobox.md`, as CheckboxGroup uses it). */\n.description {\n margin-block-start: 2px;\n padding-inline-end: calc(var(--pm-icon-size-md) + var(--pm-space-2));\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/* The `choiceCard.glyph` binding, identical to Checkbox's indicator binding. `spring-pop` in, run\n on the enter curve for the same reasons as Checkbox: the glyph unmounts, so the presence wrapper\n cannot hold it, and at icon size the curve difference is not visible. The exit is the unmount. */\n.glyph {\n position: absolute;\n inset-block-start: var(--pm-space-4);\n inset-inline-end: var(--pm-space-4);\n display: inline-flex;\n color: var(--pm-accent-text);\n animation: choice-card-pop var(--pm-motion-duration-control) var(--pm-motion-easing-enter);\n}\n\n@keyframes choice-card-pop {\n from {\n opacity: 0;\n transform: scale(0.5);\n }\n}\n\n/* states -------------------------------------------------------------------- */\n\n/* The focus mark is drawn on the card. The hidden control receives focus, but the card is what the\n user watches. This mirrors `card.md`'s interactive rule: the shared convention's outline in the\n focus colour at the system's offset, inside the card's edge by default, where it covers a checked\n card's accent border with a line of the focus colour. It comes first among the state rules only\n for the specificity law. It shares no property with them, so nothing overrides the mark. */\n.option:has(:focus-visible) {\n outline: var(--pm-focus-width) solid var(--pm-border-focus-solid);\n outline-offset: var(--pm-focus-offset);\n}\n\n/* Only the selection treatment's ghost wash. Border and elevation do not change. Hover on a\n *selected* card changes nothing, because there is nothing to preview. */\n.option:hover:not([data-state='checked'], [data-disabled]) {\n background: var(--pm-bg-subtle);\n}\n\n/* Label, description and icon colours do not change. The selection indicators (wash, border\n colour, glyph) are the whole change. */\n.option[data-state='checked'] {\n background: var(--pm-accent-subtle);\n border-color: var(--pm-accent-bg);\n}\n\n/* The conventions' disabled treatment. It comes after `checked`, so a checked and disabled card\n loses its accent colours while the glyph still shows the state. */\n.option[data-disabled] {\n cursor: not-allowed;\n background: var(--pm-bg-subtle);\n border-color: var(--pm-border-subtle);\n}\n\n.option[data-disabled] .icon,\n.option[data-disabled] .label,\n.option[data-disabled] .description,\n.option[data-disabled] .glyph {\n color: var(--pm-text-disabled);\n}\n\n/* Reduced motion (motion.md): spring-pop becomes a fade. */\n@media (prefers-reduced-motion: reduce) {\n @keyframes choice-card-pop {\n from {\n opacity: 0;\n }\n }\n}\n"],"mappings":""}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region ../recipes/src/controls/color-input.module.css
|
|
2
|
-
var e = "
|
|
2
|
+
var e = "_root_19brz_12", t = "_swatch_19brz_21 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17", n = "_swatchFill_19brz_55", r = "_field_19brz_80", i = "_picker_19brz_86", a = "_plane_19brz_96", o = "_rail_19brz_107", s = "_railFill_19brz_120", c = "_thumb_19brz_130 _focusAround_1hr3n_95", l = {
|
|
3
3
|
root: e,
|
|
4
4
|
swatch: t,
|
|
5
5
|
swatchFill: n,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"color-input.module.js","names":[],"sources":["../../../../recipes/src/controls/color-input.module.css"],"sourcesContent":["/* ColorInput — `design/components/color-input.md`.\n *\n * The gradients come from the colour model, and none of them is in this file. React Aria writes\n * the plane, the hue spectrum and the alpha fade inline, and the component adds the current-colour\n * fills through `--pm-color-input-*` (the approach chart marks use for data colours). This file\n * owns what the theme owns: edges, radii, rings, the checker, and the feedback timing.\n *\n * Nothing that shows the value is transitioned. Thumb positions, the plane's hue, the swatch's\n * fill and the rails' fades all follow the pointer directly. This is Slider's no-lag law, applied\n * to three surfaces. */\n\n.root {\n display: inline-flex;\n gap: var(--pm-space-2);\n align-items: center;\n}\n\n/* The swatch shows the value, with Button's control geometry. The checker is on the button and the\n fill paints over it, so a translucent colour shows the checker through it and an opaque colour\n hides it entirely. */\n.swatch {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback from '../conventions/motion.module.css';\n position: relative;\n inline-size: var(--pm-control-height-md);\n block-size: var(--pm-control-height-md);\n padding: 0;\n overflow: hidden;\n cursor: pointer;\n background: var(--pm-bg-surface);\n border: 1px solid var(--pm-border-strong);\n border-radius: var(--pm-radius-control);\n}\n\n.swatch:hover {\n border-color: var(--pm-accent-bg);\n}\n\n/* The checker appears only with `alpha`, because only then can a translucent colour show it. */\n.root[data-alpha] .swatch {\n background: repeating-conic-gradient(var(--pm-bg-subtle) 0% 25%, var(--pm-bg-surface) 0% 50%) 0\n 0 / var(--pm-space-4) var(--pm-space-4);\n}\n\n.root[data-size='sm'] .swatch {\n inline-size: var(--pm-control-height-sm);\n block-size: var(--pm-control-height-sm);\n}\n\n.root[data-size='lg'] .swatch {\n inline-size: var(--pm-control-height-lg);\n block-size: var(--pm-control-height-lg);\n}\n\n.swatchFill {\n /* Declared here with a default and set by the component, as chart tips do. */\n --pm-color-input-swatch: transparent;\n\n position: absolute;\n inset: 0;\n background: var(--pm-color-input-swatch);\n}\n\n.root[data-invalid] .swatch {\n border-color: var(--pm-danger-border);\n}\n\n.root[data-disabled] .swatch {\n cursor: not-allowed;\n background: var(--pm-bg-subtle);\n border-color: var(--pm-border-subtle);\n}\n\n.root[data-disabled] .swatchFill {\n background: transparent;\n}\n\n/* The hex field wrapper exists for the Enter-commit listener. The Input inside draws itself. It\n takes the row's remaining width, so ColorInput in a FormField is as wide as any other field. */\n.field {\n display: contents;\n}\n\n/* The picker column. The width is the one size the popover does not set. A plane needs room to be\n usable, and `space-10 × 3` uses Popover's own max-width tokens to give a workable square. */\n.picker {\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-3);\n inline-size: calc(var(--pm-space-10) * 3);\n max-inline-size: 100%;\n}\n\n/* The saturation × brightness plane. React Aria's inline style sets the gradient and\n `position: relative`. This rule adds the theme's frame. */\n.plane {\n aspect-ratio: 1;\n inline-size: 100%;\n border: 1px solid var(--pm-border-subtle);\n border-radius: var(--pm-radius-control);\n forced-color-adjust: none;\n}\n\n/* A channel rail: the hue spectrum or the alpha fade. React Aria's gradient is moved onto the inner\n layer so the checker, which the theme owns, can sit beneath the fade, which the colour model\n owns. */\n.rail {\n position: relative;\n block-size: var(--pm-space-5);\n border: 1px solid var(--pm-border-subtle);\n border-radius: var(--pm-radius-pill);\n forced-color-adjust: none;\n}\n\n.rail[data-checker] {\n background: repeating-conic-gradient(var(--pm-bg-subtle) 0% 25%, var(--pm-bg-surface) 0% 50%) 0\n 0 / var(--pm-space-4) var(--pm-space-4);\n}\n\n.railFill {\n position: absolute;\n inset: 0;\n border-radius: var(--pm-radius-pill);\n}\n\n/* One thumb recipe for the plane and the rails: a ringed dot filled with the value at that point.\n React Aria positions it, setting left/top and the centring transform inline, including for RTL.\n The focusable element is the hidden channel input inside, so the ring appears through the\n composite-field selector. */\n.thumb {\n /* Declared here with a default and set by the component, as chart tips do. */\n --pm-color-input-thumb: transparent;\n\n composes:
|
|
1
|
+
{"version":3,"file":"color-input.module.js","names":[],"sources":["../../../../recipes/src/controls/color-input.module.css"],"sourcesContent":["/* ColorInput — `design/components/color-input.md`.\n *\n * The gradients come from the colour model, and none of them is in this file. React Aria writes\n * the plane, the hue spectrum and the alpha fade inline, and the component adds the current-colour\n * fills through `--pm-color-input-*` (the approach chart marks use for data colours). This file\n * owns what the theme owns: edges, radii, rings, the checker, and the feedback timing.\n *\n * Nothing that shows the value is transitioned. Thumb positions, the plane's hue, the swatch's\n * fill and the rails' fades all follow the pointer directly. This is Slider's no-lag law, applied\n * to three surfaces. */\n\n.root {\n display: inline-flex;\n gap: var(--pm-space-2);\n align-items: center;\n}\n\n/* The swatch shows the value, with Button's control geometry. The checker is on the button and the\n fill paints over it, so a translucent colour shows the checker through it and an opaque colour\n hides it entirely. */\n.swatch {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback from '../conventions/motion.module.css';\n position: relative;\n inline-size: var(--pm-control-height-md);\n block-size: var(--pm-control-height-md);\n padding: 0;\n overflow: hidden;\n cursor: pointer;\n background: var(--pm-bg-surface);\n border: 1px solid var(--pm-border-strong);\n border-radius: var(--pm-radius-control);\n}\n\n.swatch:hover {\n border-color: var(--pm-accent-bg);\n}\n\n/* The checker appears only with `alpha`, because only then can a translucent colour show it. */\n.root[data-alpha] .swatch {\n background: repeating-conic-gradient(var(--pm-bg-subtle) 0% 25%, var(--pm-bg-surface) 0% 50%) 0\n 0 / var(--pm-space-4) var(--pm-space-4);\n}\n\n.root[data-size='sm'] .swatch {\n inline-size: var(--pm-control-height-sm);\n block-size: var(--pm-control-height-sm);\n}\n\n.root[data-size='lg'] .swatch {\n inline-size: var(--pm-control-height-lg);\n block-size: var(--pm-control-height-lg);\n}\n\n.swatchFill {\n /* Declared here with a default and set by the component, as chart tips do. */\n --pm-color-input-swatch: transparent;\n\n position: absolute;\n inset: 0;\n background: var(--pm-color-input-swatch);\n}\n\n.root[data-invalid] .swatch {\n border-color: var(--pm-danger-border);\n}\n\n.root[data-disabled] .swatch {\n cursor: not-allowed;\n background: var(--pm-bg-subtle);\n border-color: var(--pm-border-subtle);\n}\n\n.root[data-disabled] .swatchFill {\n background: transparent;\n}\n\n/* The hex field wrapper exists for the Enter-commit listener. The Input inside draws itself. It\n takes the row's remaining width, so ColorInput in a FormField is as wide as any other field. */\n.field {\n display: contents;\n}\n\n/* The picker column. The width is the one size the popover does not set. A plane needs room to be\n usable, and `space-10 × 3` uses Popover's own max-width tokens to give a workable square. */\n.picker {\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-3);\n inline-size: calc(var(--pm-space-10) * 3);\n max-inline-size: 100%;\n}\n\n/* The saturation × brightness plane. React Aria's inline style sets the gradient and\n `position: relative`. This rule adds the theme's frame. */\n.plane {\n aspect-ratio: 1;\n inline-size: 100%;\n border: 1px solid var(--pm-border-subtle);\n border-radius: var(--pm-radius-control);\n forced-color-adjust: none;\n}\n\n/* A channel rail: the hue spectrum or the alpha fade. React Aria's gradient is moved onto the inner\n layer so the checker, which the theme owns, can sit beneath the fade, which the colour model\n owns. */\n.rail {\n position: relative;\n block-size: var(--pm-space-5);\n border: 1px solid var(--pm-border-subtle);\n border-radius: var(--pm-radius-pill);\n forced-color-adjust: none;\n}\n\n.rail[data-checker] {\n background: repeating-conic-gradient(var(--pm-bg-subtle) 0% 25%, var(--pm-bg-surface) 0% 50%) 0\n 0 / var(--pm-space-4) var(--pm-space-4);\n}\n\n.railFill {\n position: absolute;\n inset: 0;\n border-radius: var(--pm-radius-pill);\n}\n\n/* One thumb recipe for the plane and the rails: a ringed dot filled with the value at that point.\n React Aria positions it, setting left/top and the centring transform inline, including for RTL.\n The focusable element is the hidden channel input inside, so the ring appears through the\n composite-field selector. */\n.thumb {\n /* Declared here with a default and set by the component, as chart tips do. */\n --pm-color-input-thumb: transparent;\n\n composes: focusAround from '../conventions/focus.module.css';\n box-sizing: border-box;\n display: block;\n inline-size: var(--pm-space-5);\n block-size: var(--pm-space-5);\n background: var(--pm-color-input-thumb);\n border: 2px solid var(--pm-bg-surface);\n border-radius: var(--pm-radius-pill);\n box-shadow: var(--pm-shadow-control);\n transition: box-shadow var(--pm-motion-duration-control) var(--pm-motion-easing-standard);\n}\n\n/* React Aria positions a rail thumb on the main axis only (`left` plus the centring transform).\n The recipe sets the cross axis. Half of `100%`, combined with the same transform, centres the\n thumb exactly. */\n.rail .thumb {\n inset-block-start: calc(100% / 2);\n}\n\n.thumb[data-state='dragging'] {\n box-shadow: var(--pm-glow-hover);\n}\n"],"mappings":""}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
//#region ../recipes/src/controls/combobox.module.css
|
|
2
|
-
var e = "
|
|
2
|
+
var e = "_field_191x7_12 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17", t = "_input_191x7_37", n = "_status_191x7_57", r = "_clear_191x7_70 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17 _pressable_lkjqs_38", i = "_chevron_191x7_100 _focusRing_1hr3n_49", a = "_spinner_191x7_136 _spin_lkjqs_83", o = "_content_191x7_208", s = "_listbox_191x7_252", c = "_sheetBody_191x7_272", l = "_option_191x7_282 _stateFeedback_lkjqs_17", u = "_check_191x7_303 _stateFeedback_lkjqs_17", d = "_text_191x7_312", f = "_label_191x7_319", p = "_description_191x7_326 _stateFeedback_lkjqs_17", m = "_rows_191x7_391", h = "_row_191x7_391", g = "_empty_191x7_406", _ = {
|
|
3
3
|
field: e,
|
|
4
4
|
input: t,
|
|
5
5
|
status: n,
|
|
6
6
|
clear: r,
|
|
7
|
-
"combobox-clear-enter": "_combobox-clear-
|
|
7
|
+
"combobox-clear-enter": "_combobox-clear-enter_191x7_1",
|
|
8
8
|
chevron: i,
|
|
9
|
-
"combobox-glyph-enter": "_combobox-glyph-
|
|
9
|
+
"combobox-glyph-enter": "_combobox-glyph-enter_191x7_1",
|
|
10
10
|
spinner: a,
|
|
11
11
|
content: o,
|
|
12
|
-
"combobox-content-enter": "_combobox-content-
|
|
13
|
-
"combobox-content-exit": "_combobox-content-
|
|
12
|
+
"combobox-content-enter": "_combobox-content-enter_191x7_1",
|
|
13
|
+
"combobox-content-exit": "_combobox-content-exit_191x7_1",
|
|
14
14
|
listbox: s,
|
|
15
15
|
sheetBody: c,
|
|
16
16
|
option: l,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"combobox.module.js","names":[],"sources":["../../../../recipes/src/controls/combobox.module.css"],"sourcesContent":["/* Combobox — `design/components/combobox.md`.\n *\n * Two recipes, both restated rather than shared: the field is Input's and the panel is Select's.\n * The completeness law checks a component's *own* stylesheet source, and that check is only\n * meaningful with one stylesheet per component. So a test prevents drift instead:\n * `combobox.test.tsx` compares the two controls' resolved values, which is a stronger guarantee.\n *\n * `var(--radix-popover-*)` are measurements the positioning engine takes at runtime: the anchor's\n * width, the space left below it, and the origin the panel grows from. No one authors them, so the\n * token law allows the namespace (packages/rules/src/stylelint/values.js). */\n\n.field {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback from '../conventions/motion.module.css';\n position: relative;\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's recipe, used by every field in the family. */\n box-shadow: var(--pm-shadow-seat);\n}\n\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}\n\n/* Firefox dims placeholders by default. The muted role already makes them lighter, so they must\n not be dimmed twice. */\n.input::placeholder {\n color: var(--pm-text-muted);\n opacity: 1;\n}\n\n/* The one live region (see Combobox.tsx). It is hidden by clipping rather than `display: none`,\n which would remove it and its announcements from the accessibility tree. */\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/* Input's embedded-adornment convention, unchanged: muted at rest to match the field's other\n glyphs, primary on a `bg-subtle` wash on hover, its own `radius-sm` inside the field's `md`, and\n the focus ring on the inner target. */\n.clear {\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-self: stretch;\n align-items: center;\n justify-content: center;\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-sm);\n animation: combobox-clear-enter var(--pm-motion-duration-control) var(--pm-motion-easing-enter);\n}\n\n@keyframes combobox-clear-enter {\n from {\n opacity: 0;\n }\n}\n\n.clear:hover {\n color: var(--pm-text-primary);\n background: var(--pm-bg-subtle);\n}\n\n/* Select's chevron: muted, and rotated while the panel is open. */\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\n /* The `select.chevron` binding: transform, control class, `standard` easing, because the state\n change is symmetric with no direction of travel. */\n transition: transform var(--pm-motion-duration-control) var(--pm-motion-easing-standard);\n}\n\n/* The `combobox.glyph` binding: `fade`, control class. The glyph element is replaced when loading\n starts and ends, so only the entrance animates. No old node is left to fade out. `fade` is\n unchanged under reduced motion and resolves to 0s at temperament `none`, so it needs no\n reduced-motion rule of its own. The selector is a descendant, not a child, because the loading\n glyph sits inside its spinner wrapper. */\n.chevron svg {\n animation: combobox-glyph-enter var(--pm-motion-duration-control) var(--pm-motion-easing-enter);\n}\n\n@keyframes combobox-glyph-enter {\n from {\n opacity: 0;\n }\n}\n\n/* The loading glyph spins with the ambient pattern, as Button's spinner does. The motion module\n owns its period, inverse temperament scaling and three switch-offs. This restates MultiSelect's\n tested implementation. */\n.spinner {\n composes: spin from '../conventions/motion.module.css';\n display: inline-flex;\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/* field states -------------------------------------------------------------- */\n\n.field[data-invalid] {\n border-color: var(--pm-danger-border);\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 \"ready\", so disabled removes it (as in Input). */\n box-shadow: none;\n}\n\n/* Open keeps the hover border, so the field does not flicker back to rest while its panel is\n shown. Invalid is excluded from both rules rather than overridden, because an error border must\n stay visible under the pointer and while the panel is open. */\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.field[data-disabled] .chevron {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n}\n\n/* While the query is in progress the glyph is a spinner, and it does not rotate with the panel.\n Rotating *and* spinning would signal two different things about one control. */\n.field[data-loading] .chevron {\n transform: none;\n}\n\n/* panel --------------------------------------------------------------------- */\n\n.content {\n display: flex;\n flex-direction: column;\n\n /* `overlay` from the stacking scale. The popper moves it onto its wrapper (menu.module.css\n 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/* The `combobox.popup` binding: `scale-fade`, surface class, anchored origin. It is Select's\n binding unchanged, because both are dropdowns of options, however the rows were produced. Radix\n keeps the node mounted for the closed animation, so the exit animates instead of cutting. */\n.content[data-state='open'] {\n animation: combobox-content-enter var(--pm-motion-duration-surface) var(--pm-motion-easing-enter);\n}\n\n.content[data-state='closed'] {\n animation: combobox-content-exit var(--pm-motion-duration-surface-exit)\n var(--pm-motion-easing-exit);\n}\n\n@keyframes combobox-content-enter {\n from {\n opacity: 0;\n transform: scale(0.94);\n }\n}\n\n@keyframes combobox-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) ---------------\n *\n * The panel box is the shared anatomy (`sheet.module.css`). This member owns the popup's container\n * inside it: the same `--pm-space-2` inset as the popover panel, with the listbox scrolling within\n * the sheet's maximum height. The popover rules (trigger min-width, available height,\n * `sideOffset`, the anchored origin) no longer apply, because a sheet has no anchor. The safe-area\n * padding follows the sheet: it adds to this member's own edge padding and is zero without a\n * notch. */\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 ------------------------------------------------------------------- */\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/* Reserved whether or not this row is selected, so the label column does not shift when the\n selection changes. */\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 min-inline-size: 0;\n justify-content: center;\n}\n\n.label {\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/* The keyboard highlight and pointer hover share one attribute. It is the temporary wash, not the\n selection (Menu's law). */\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.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 stays primary when selected. The check is the selection signal, and a recoloured label\n would look like a second, competing signal (Select's law). */\n.option[data-state='checked'] .check {\n color: var(--pm-accent-text);\n}\n\n/* Both containers, because the sheet's rows are 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 ---------------------------------------------------------------- */\n\n/* Three rows at option height, never a spinner in empty space. The panel must keep its size, or\n the layout jumps when the 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/* An empty dropdown shows one line of text, not an illustration, so `EmptyState` is deliberately\n not used here. */\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 phone minimum (the conventions' focus-zoom floor). Below `30rem` the one real `<input>` uses\n the text-entry floor's size and line height, so iOS does not zoom the page on focus. Only those metrics change.\n Colour, weight and tracking stay the same, and the container and its chevron do not move. */\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 (motion.md). The rotation stays, because it signals open or closed, and removing\n it would remove state information rather than motion. Only the movement is removed: the chevron\n turns without a transition, and `scale-fade` becomes a plain fade. */\n@media (prefers-reduced-motion: reduce) {\n .chevron {\n transition: none;\n }\n\n @keyframes combobox-content-enter {\n from {\n opacity: 0;\n }\n }\n\n @keyframes combobox-content-exit {\n to {\n opacity: 0;\n }\n }\n}\n\n/* The field above its own sheet's scrim ------------------------------------\n *\n * While the popup is a sheet, the portalled scrim covers the whole page, including this field,\n * which the user is still typing into. A surface and its field form one composite, so the field\n * is raised one intra-member step above the overlay layer. The stacking scale defines that step\n * for this case. A tap on the field moves the caret, and the scrim receives every other tap. An\n * equal z-index would lose, because the portal is later in tree order and ties go to the later\n * element (verified in all three engines). */\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 provides the separation that the overlay elevation\n steps provide elsewhere. The backdrop shows through the pane as a blurred, saturated wash, so the\n surface stands apart by its material rather than by a lighter step. The mix is a contrast\n decision that the glass law measures over worst-case backdrops. A recipe only applies 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":"combobox.module.js","names":[],"sources":["../../../../recipes/src/controls/combobox.module.css"],"sourcesContent":["/* Combobox — `design/components/combobox.md`.\n *\n * Two recipes, both restated rather than shared: the field is Input's and the panel is Select's.\n * The completeness law checks a component's *own* stylesheet source, and that check is only\n * meaningful with one stylesheet per component. So a test prevents drift instead:\n * `combobox.test.tsx` compares the two controls' resolved values, which is a stronger guarantee.\n *\n * `var(--radix-popover-*)` are measurements the positioning engine takes at runtime: the anchor's\n * width, the space left below it, and the origin the panel grows from. No one authors them, so the\n * token law allows the namespace (packages/rules/src/stylelint/values.js). */\n\n.field {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback from '../conventions/motion.module.css';\n position: relative;\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's recipe, used by every field in the family. */\n box-shadow: var(--pm-shadow-seat);\n}\n\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}\n\n/* Firefox dims placeholders by default. The muted role already makes them lighter, so they must\n not be dimmed twice. */\n.input::placeholder {\n color: var(--pm-text-muted);\n opacity: 1;\n}\n\n/* The one live region (see Combobox.tsx). It is hidden by clipping rather than `display: none`,\n which would remove it and its announcements from the accessibility tree. */\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/* Input's embedded-adornment convention, unchanged: muted at rest to match the field's other\n glyphs, primary on a `bg-subtle` wash on hover, its own `radius-sm` inside the field's `md`, and\n the focus ring on the inner target. */\n.clear {\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-self: stretch;\n align-items: center;\n justify-content: center;\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-sm);\n animation: combobox-clear-enter var(--pm-motion-duration-control) var(--pm-motion-easing-enter);\n}\n\n@keyframes combobox-clear-enter {\n from {\n opacity: 0;\n }\n}\n\n.clear:hover {\n color: var(--pm-text-primary);\n background: var(--pm-bg-subtle);\n}\n\n/* Select's chevron: muted, and rotated while the panel is open. */\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\n /* The `select.chevron` binding: transform, control class, `standard` easing, because the state\n change is symmetric with no direction of travel. */\n transition: transform var(--pm-motion-duration-control) var(--pm-motion-easing-standard);\n}\n\n/* The `combobox.glyph` binding: `fade`, control class. The glyph element is replaced when loading\n starts and ends, so only the entrance animates. No old node is left to fade out. `fade` is\n unchanged under reduced motion and resolves to 0s at temperament `none`, so it needs no\n reduced-motion rule of its own. The selector is a descendant, not a child, because the loading\n glyph sits inside its spinner wrapper. */\n.chevron svg {\n animation: combobox-glyph-enter var(--pm-motion-duration-control) var(--pm-motion-easing-enter);\n}\n\n@keyframes combobox-glyph-enter {\n from {\n opacity: 0;\n }\n}\n\n/* The loading glyph spins with the ambient pattern, as Button's spinner does. The motion module\n owns its period, inverse temperament scaling and three switch-offs. This restates MultiSelect's\n tested implementation. */\n.spinner {\n composes: spin from '../conventions/motion.module.css';\n display: inline-flex;\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/* field states -------------------------------------------------------------- */\n\n.field[data-invalid] {\n border-color: var(--pm-danger-border);\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 \"ready\", so disabled removes it (as in Input). */\n box-shadow: none;\n}\n\n/* Open keeps the hover border, so the field does not flicker back to rest while its panel is\n shown. Invalid is excluded from both rules rather than overridden, because an error border must\n stay visible under the pointer and while the panel is open. */\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.field[data-disabled] .chevron {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n}\n\n/* While the query is in progress the glyph is a spinner, and it does not rotate with the panel.\n Rotating *and* spinning would signal two different things about one control. */\n.field[data-loading] .chevron {\n transform: none;\n}\n\n/* panel --------------------------------------------------------------------- */\n\n.content {\n display: flex;\n flex-direction: column;\n\n /* `overlay` from the stacking scale. The popper moves it onto its wrapper (menu.module.css\n 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/* The `combobox.popup` binding: `scale-fade`, surface class, anchored origin. It is Select's\n binding unchanged, because both are dropdowns of options, however the rows were produced. Radix\n keeps the node mounted for the closed animation, so the exit animates instead of cutting. */\n.content[data-state='open'] {\n animation: combobox-content-enter var(--pm-motion-duration-surface) var(--pm-motion-easing-enter);\n}\n\n.content[data-state='closed'] {\n animation: combobox-content-exit var(--pm-motion-duration-surface-exit)\n var(--pm-motion-easing-exit);\n}\n\n@keyframes combobox-content-enter {\n from {\n opacity: 0;\n transform: scale(0.94);\n }\n}\n\n@keyframes combobox-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) ---------------\n *\n * The panel box is the shared anatomy (`sheet.module.css`). This member owns the popup's container\n * inside it: the same `--pm-space-2` inset as the popover panel, with the listbox scrolling within\n * the sheet's maximum height. The popover rules (trigger min-width, available height,\n * `sideOffset`, the anchored origin) no longer apply, because a sheet has no anchor. The safe-area\n * padding follows the sheet: it adds to this member's own edge padding and is zero without a\n * notch. */\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 ------------------------------------------------------------------- */\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/* Reserved whether or not this row is selected, so the label column does not shift when the\n selection changes. */\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 min-inline-size: 0;\n justify-content: center;\n}\n\n.label {\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/* The keyboard highlight and pointer hover share one attribute. It is the temporary wash, not the\n selection (Menu's law). */\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.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 stays primary when selected. The check is the selection signal, and a recoloured label\n would look like a second, competing signal (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, because the sheet's rows are 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 ---------------------------------------------------------------- */\n\n/* Three rows at option height, never a spinner in empty space. The panel must keep its size, or\n the layout jumps when the 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/* An empty dropdown shows one line of text, not an illustration, so `EmptyState` is deliberately\n not used here. */\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 phone minimum (the conventions' focus-zoom floor). Below `30rem` the one real `<input>` uses\n the text-entry floor's size and line height, so iOS does not zoom the page on focus. Only those metrics change.\n Colour, weight and tracking stay the same, and the container and its chevron do not move. */\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 (motion.md). The rotation stays, because it signals open or closed, and removing\n it would remove state information rather than motion. Only the movement is removed: the chevron\n turns without a transition, and `scale-fade` becomes a plain fade. */\n@media (prefers-reduced-motion: reduce) {\n .chevron {\n transition: none;\n }\n\n @keyframes combobox-content-enter {\n from {\n opacity: 0;\n }\n }\n\n @keyframes combobox-content-exit {\n to {\n opacity: 0;\n }\n }\n}\n\n/* The field above its own sheet's scrim ------------------------------------\n *\n * While the popup is a sheet, the portalled scrim covers the whole page, including this field,\n * which the user is still typing into. A surface and its field form one composite, so the field\n * is raised one intra-member step above the overlay layer. The stacking scale defines that step\n * for this case. A tap on the field moves the caret, and the scrim receives every other tap. An\n * equal z-index would lose, because the portal is later in tree order and ties go to the later\n * element (verified in all three engines). */\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 provides the separation that the overlay elevation\n steps provide elsewhere. The backdrop shows through the pane as a blurred, saturated wash, so the\n surface stands apart by its material rather than by a lighter step. The mix is a contrast\n decision that the glass law measures over worst-case backdrops. A recipe only applies 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,13 +1,14 @@
|
|
|
1
1
|
//#region ../recipes/src/controls/copy-button.module.css
|
|
2
|
-
var e = "
|
|
2
|
+
var e = "_button_daa4k_9 _button_cxa90_17 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17 _pressable_lkjqs_38", t = "_tip_daa4k_15 _tip_cxa90_80 _bubble_11q5z_14 _fadeIn_lkjqs_92", n = "_glyphs_daa4k_23", r = "_copyGlyph_daa4k_27", i = "_confirmGlyph_daa4k_38", a = "_status_daa4k_81 _visuallyHidden_qxi8b_14", o = {
|
|
3
3
|
button: e,
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
tip: t,
|
|
5
|
+
glyphs: n,
|
|
6
|
+
copyGlyph: r,
|
|
7
|
+
confirmGlyph: i,
|
|
8
|
+
"copy-button-pop": "_copy-button-pop_daa4k_1",
|
|
9
|
+
status: a
|
|
9
10
|
};
|
|
10
11
|
//#endregion
|
|
11
|
-
export { e as button,
|
|
12
|
+
export { e as button, i as confirmGlyph, r as copyGlyph, o as default, n as glyphs, a as status, t as tip };
|
|
12
13
|
|
|
13
14
|
//# sourceMappingURL=copy-button.module.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"copy-button.module.js","names":[],"sources":["../../../../recipes/src/controls/copy-button.module.css"],"sourcesContent":["/* CopyButton — `design/components/copy-button.md`.\n *\n * Button `ghost`/`neutral` by reference, never re-derived. `composes` brings the base, the\n * conventions' sizing, the icon-only square, the ghost/neutral rest, hover, press and disabled\n * cells, the press feedback and the focus ring. This follows Link's precedent, because this\n * element must also carry `data-state=\"copied\"`, a state Button's own API has no reason to offer.\n * This file adds only the confirmation. */\n\n.button {\n composes: button from './button.module.css';\n}\n\n/* Both glyphs share one grid cell so the confirmation can fade out. An unmounting node cannot\n animate its exit (the `input.clear` binding's reasoning), so neither glyph unmounts and the\n state chooses which one shows. The stack is `aria-hidden`, because it adds no meaning beyond the\n label. */\n.glyphs {\n display: inline-grid;\n}\n\n.copyGlyph {\n display: inline-flex;\n grid-area: 1 / 1;\n align-items: center;\n justify-content: center;\n}\n\n/* The confirmation: `confirm` in success text, which the pairing checks allow on every `bg.*`\n surface. At rest it has opacity 0 with the exit transition set, so when `copied` reverts the\n glyph fades out at `control-exit`. This is the exit half of `checkbox.indicator`'s binding,\n where a pop has no reverse. */\n.confirmGlyph {\n display: inline-flex;\n grid-area: 1 / 1;\n align-items: center;\n justify-content: center;\n color: var(--pm-success-text);\n opacity: 0;\n transition: opacity var(--pm-motion-duration-control-exit) var(--pm-motion-easing-exit);\n}\n\n/* The copy glyph hides instantly as the confirmation pops in, and returns the same way. Only the\n confirmation animates. */\n.button[data-state='copied'] .copyGlyph {\n opacity: 0;\n}\n\n/* The same entrance as `checkbox.indicator`: `spring-pop` run as the 0.5 scale on the enter curve,\n as in Checkbox's CSS. The transition is turned off while the state holds, so only the pop\n animates the entrance. */\n.button[data-state='copied'] .confirmGlyph {\n opacity: 1;\n transition: none;\n animation: copy-button-pop var(--pm-motion-duration-control) var(--pm-motion-easing-enter);\n}\n\n@keyframes copy-button-pop {\n from {\n opacity: 0;\n transform: scale(0.5);\n }\n}\n\n/* Reduced motion (motion.md): spring-pop becomes a fade. The 2000ms hold is a timer, not a motion,\n and does not scale with temperament. */\n@media (prefers-reduced-motion: reduce) {\n @keyframes copy-button-pop {\n from {\n opacity: 0;\n }\n }\n}\n\n/* The status region: content for assistive technology, outside the layout. */\n.status {\n composes: visuallyHidden from '../conventions/a11y.module.css';\n}\n"],"mappings":""}
|
|
1
|
+
{"version":3,"file":"copy-button.module.js","names":[],"sources":["../../../../recipes/src/controls/copy-button.module.css"],"sourcesContent":["/* CopyButton — `design/components/copy-button.md`.\n *\n * Button `ghost`/`neutral` by reference, never re-derived. `composes` brings the base, the\n * conventions' sizing, the icon-only square, the ghost/neutral rest, hover, press and disabled\n * cells, the press feedback and the focus ring. This follows Link's precedent, because this\n * element must also carry `data-state=\"copied\"`, a state Button's own API has no reason to offer.\n * This file adds only the confirmation. */\n\n.button {\n composes: button from './button.module.css';\n}\n\n/* The name tip (`nameTip` in `@polymorph/engine`): the label shown on hover and keyboard focus,\n because the control draws none. It is Button's tip, composed. */\n.tip {\n composes: tip from './button.module.css';\n}\n\n/* Both glyphs share one grid cell so the confirmation can fade out. An unmounting node cannot\n animate its exit (the `input.clear` binding's reasoning), so neither glyph unmounts and the\n state chooses which one shows. The stack is `aria-hidden`, because it adds no meaning beyond the\n label. */\n.glyphs {\n display: inline-grid;\n}\n\n.copyGlyph {\n display: inline-flex;\n grid-area: 1 / 1;\n align-items: center;\n justify-content: center;\n}\n\n/* The confirmation: `confirm` in success text, which the pairing checks allow on every `bg.*`\n surface. At rest it has opacity 0 with the exit transition set, so when `copied` reverts the\n glyph fades out at `control-exit`. This is the exit half of `checkbox.indicator`'s binding,\n where a pop has no reverse. */\n.confirmGlyph {\n display: inline-flex;\n grid-area: 1 / 1;\n align-items: center;\n justify-content: center;\n color: var(--pm-success-text);\n opacity: 0;\n transition: opacity var(--pm-motion-duration-control-exit) var(--pm-motion-easing-exit);\n}\n\n/* The copy glyph hides instantly as the confirmation pops in, and returns the same way. Only the\n confirmation animates. */\n.button[data-state='copied'] .copyGlyph {\n opacity: 0;\n}\n\n/* The same entrance as `checkbox.indicator`: `spring-pop` run as the 0.5 scale on the enter curve,\n as in Checkbox's CSS. The transition is turned off while the state holds, so only the pop\n animates the entrance. */\n.button[data-state='copied'] .confirmGlyph {\n opacity: 1;\n transition: none;\n animation: copy-button-pop var(--pm-motion-duration-control) var(--pm-motion-easing-enter);\n}\n\n@keyframes copy-button-pop {\n from {\n opacity: 0;\n transform: scale(0.5);\n }\n}\n\n/* Reduced motion (motion.md): spring-pop becomes a fade. The 2000ms hold is a timer, not a motion,\n and does not scale with temperament. */\n@media (prefers-reduced-motion: reduce) {\n @keyframes copy-button-pop {\n from {\n opacity: 0;\n }\n }\n}\n\n/* The status region: content for assistive technology, outside the layout. */\n.status {\n composes: visuallyHidden from '../conventions/a11y.module.css';\n}\n"],"mappings":""}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region ../recipes/src/controls/date-picker.module.css
|
|
2
|
-
var e = "_field_18z9c_10
|
|
2
|
+
var e = "_field_18z9c_10 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17", t = "_segments_18z9c_36", n = "_segment_18z9c_36", r = "_separator_18z9c_70", i = "_clear_18z9c_75 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17 _pressable_lkjqs_38", a = "_content_18z9c_161", o = "_sheetBody_18z9c_207", s = {
|
|
3
3
|
field: e,
|
|
4
4
|
segments: t,
|
|
5
5
|
segment: n,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region ../recipes/src/controls/date-range-picker.module.css
|
|
2
|
-
var e = "
|
|
2
|
+
var e = "_field_4jdbk_14 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17", t = "_segments_4jdbk_40", n = "_spacer_4jdbk_49", r = "_segment_4jdbk_40", i = "_separator_4jdbk_76", a = "_dash_4jdbk_82", o = "_clear_4jdbk_87 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17 _pressable_lkjqs_38", s = "_content_4jdbk_175", c = "_sheetBody_4jdbk_216", l = "_root_4jdbk_227", u = "_header_4jdbk_235", d = "_title_4jdbk_243", f = "_grid_4jdbk_255", p = "_cell_4jdbk_270", m = "_day_4jdbk_274 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17 _pressable_lkjqs_38", h = {
|
|
3
3
|
field: e,
|
|
4
4
|
segments: t,
|
|
5
5
|
spacer: n,
|
|
@@ -7,10 +7,10 @@ var e = "_field_1b5x6_14 _focusRing_1lfnc_15 _stateFeedback_lkjqs_17", t = "_seg
|
|
|
7
7
|
separator: i,
|
|
8
8
|
dash: a,
|
|
9
9
|
clear: o,
|
|
10
|
-
"date-range-picker-clear-enter": "_date-range-picker-clear-
|
|
10
|
+
"date-range-picker-clear-enter": "_date-range-picker-clear-enter_4jdbk_1",
|
|
11
11
|
content: s,
|
|
12
|
-
"date-range-picker-content-enter": "_date-range-picker-content-
|
|
13
|
-
"date-range-picker-content-exit": "_date-range-picker-content-
|
|
12
|
+
"date-range-picker-content-enter": "_date-range-picker-content-enter_4jdbk_1",
|
|
13
|
+
"date-range-picker-content-exit": "_date-range-picker-content-exit_4jdbk_1",
|
|
14
14
|
sheetBody: c,
|
|
15
15
|
root: l,
|
|
16
16
|
header: u,
|
|
@@ -18,8 +18,8 @@ var e = "_field_1b5x6_14 _focusRing_1lfnc_15 _stateFeedback_lkjqs_17", t = "_seg
|
|
|
18
18
|
grid: f,
|
|
19
19
|
cell: p,
|
|
20
20
|
day: m,
|
|
21
|
-
"date-range-picker-grid-next": "_date-range-picker-grid-
|
|
22
|
-
"date-range-picker-grid-previous": "_date-range-picker-grid-
|
|
21
|
+
"date-range-picker-grid-next": "_date-range-picker-grid-next_4jdbk_1",
|
|
22
|
+
"date-range-picker-grid-previous": "_date-range-picker-grid-previous_4jdbk_1"
|
|
23
23
|
};
|
|
24
24
|
//#endregion
|
|
25
25
|
export { p as cell, o as clear, s as content, a as dash, m as day, h as default, e as field, f as grid, u as header, l as root, r as segment, t as segments, i as separator, c as sheetBody, n as spacer, d as title };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date-range-picker.module.js","names":[],"sources":["../../../../recipes/src/controls/date-range-picker.module.css"],"sourcesContent":["/* DateRangePicker — `design/components/date-range-picker.md`.\n *\n * Three recipes are combined here, each restated rather than shared, because the completeness law\n * checks a component's own stylesheet source. The field and popup are `date-picker.md`'s rows\n * unchanged, and the grid is `calendar.md`'s. The range cells are this member's own and apply the\n * conventions' selection treatment.\n *\n * The selection mapping: **in-range uses the accent wash, and endpoints use the full selection\n * treatment**. Endpoints use `calendar.md`'s day-selected recipe unchanged, so the ends of a range\n * look exactly like the chosen day in DatePicker's popup. Because the accent wash marks the range,\n * hover inside this member uses the ghost wash (`--pm-bg-subtle`) instead. `--pm-accent-subtle`\n * then always means *in the range*, never hover. */\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's recipe, used by every field in the family. */\n box-shadow: var(--pm-shadow-seat);\n}\n\n/* Two rows share one line, so neither stretches. The spacer below takes the remaining space and\n keeps the halves close to the dash. The `2px` gap around separators matches DatePicker. */\n.segments {\n display: flex;\n flex: none;\n gap: 2px;\n align-items: center;\n min-inline-size: 0;\n outline: none;\n}\n\n.spacer {\n flex: 1;\n}\n\n.segment {\n padding-inline: 2px;\n color: var(--pm-text-primary);\n border-radius: var(--pm-radius-sm);\n outline: none;\n font-variant-numeric: var(--pm-font-numeric);\n\n /* A segment is editable text so a phone shows its keyboard, and every change is the field's\n own, so no caret is drawn in it. */\n caret-color: transparent;\n}\n\n/* The unfilled placeholder, such as `dd`, `mm`, `yyyy`, localized, on both halves. */\n.segment[data-placeholder] {\n color: var(--pm-text-muted);\n}\n\n/* Marks the current position, not a selection, with the temporary wash family. */\n.segment:focus {\n color: var(--pm-accent-text);\n background: var(--pm-accent-subtle);\n}\n\n.separator {\n color: var(--pm-text-muted);\n}\n\n/* The en-dash between the halves: muted and `aria-hidden`, because React Aria names the halves for\n screen readers, not the punctuation. */\n.dash {\n color: var(--pm-text-muted);\n}\n\n/* Input's embedded-adornment convention, unchanged. */\n.clear {\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-self: stretch;\n align-items: center;\n justify-content: center;\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-sm);\n animation: date-range-picker-clear-enter var(--pm-motion-duration-control)\n var(--pm-motion-easing-enter);\n}\n\n@keyframes date-range-picker-clear-enter {\n from {\n opacity: 0;\n }\n}\n\n.clear:hover {\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/* field states -------------------------------------------------------------- */\n\n.field[data-invalid] {\n border-color: var(--pm-danger-border);\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 \"ready\", so disabled removes it (as in Input). */\n box-shadow: none;\n}\n\n.field[data-disabled] .segment,\n.field[data-disabled] .separator,\n.field[data-disabled] .dash {\n color: var(--pm-text-disabled);\n}\n\n/* Open keeps the hover border, and the invalid border stays in both states. */\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/* popup --------------------------------------------------------------------- */\n\n/* Select's panel surface with no padding of its own, because the grid has its own `--pm-space-3`\n (as in DatePicker). */\n.content {\n /* `overlay` from the stacking scale. The popper moves it onto its wrapper (menu.module.css\n explains how). */\n z-index: var(--pm-z-overlay);\n padding: 0;\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.content[data-state='open'] {\n animation: date-range-picker-content-enter var(--pm-motion-duration-surface)\n var(--pm-motion-easing-enter);\n}\n\n.content[data-state='closed'] {\n animation: date-range-picker-content-exit var(--pm-motion-duration-surface-exit)\n var(--pm-motion-easing-exit);\n}\n\n@keyframes date-range-picker-content-enter {\n from {\n opacity: 0;\n transform: scale(0.94);\n }\n}\n\n@keyframes date-range-picker-content-exit {\n to {\n opacity: 0;\n transform: scale(0.94);\n }\n}\n\n/* The sheet, below 30rem (the conventions' sheet presentation). This is DatePicker's sheet\n container unchanged: zero inset (the grid has its own `--pm-space-3`), centred in the full-width\n sheet, and scrolling within the sheet's maximum height. The sheet's safe-area padding adds to\n this member's own (zero) edge padding. The popover alignment rules no longer apply. */\n.sheetBody {\n display: flex;\n flex-direction: column;\n align-items: center;\n min-block-size: 0;\n padding-block-end: env(safe-area-inset-bottom, 0);\n overflow-y: auto;\n}\n\n/* grid — `calendar.md` unchanged -------------------------------------------- */\n\n.root {\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-2);\n inline-size: fit-content;\n padding: var(--pm-space-3);\n}\n\n.header {\n display: flex;\n gap: var(--pm-space-2);\n align-items: center;\n justify-content: space-between;\n block-size: var(--pm-control-height-sm);\n}\n\n.title {\n flex: 1;\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-align: center;\n font-variant-numeric: var(--pm-font-numeric);\n}\n\n.grid {\n border-collapse: collapse;\n}\n\n.grid th {\n padding: 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 letter-spacing: var(--pm-text-xs-tracking);\n color: var(--pm-text-muted);\n text-align: center;\n}\n\n.cell {\n padding: 0;\n}\n\n.day {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback pressable from '../conventions/motion.module.css';\n display: flex;\n align-items: center;\n justify-content: center;\n inline-size: var(--pm-control-height-sm);\n block-size: var(--pm-control-height-sm);\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: 1px solid transparent;\n border-radius: var(--pm-radius-sm);\n outline: none;\n font-variant-numeric: var(--pm-font-numeric);\n}\n\n/* day states — ascending, so the range wins over hover ----------------------- */\n\n/* Today is not a selection. It gets a border and a colour, never a fill. Inside the range wash the\n border stays. At an endpoint, the selection styling below wins and `aria-current` still marks\n today. */\n.day[data-today] {\n color: var(--pm-accent-text);\n border-color: var(--pm-accent-bg);\n}\n\n/* This deliberately replaces `calendar.md`'s accent-wash hover *inside this member* with the ghost\n wash, so the accent wash only ever means in the range. Hover on an in-range middle day changes\n nothing, because it is already in the range. */\n.day:hover:not(\n [data-range-start],\n [data-range-middle],\n [data-range-end],\n [data-unavailable],\n [data-disabled]\n ) {\n color: var(--pm-text-primary);\n background: var(--pm-bg-subtle);\n}\n\n/* Button's ghost/neutral press cell. The accent steps were dropped along with the accent hover.\n The press transform comes from `pressable`, composed above. */\n.day:active:not(\n [data-range-start],\n [data-range-middle],\n [data-range-end],\n [data-unavailable],\n [data-disabled]\n ) {\n color: var(--pm-text-primary);\n background: var(--pm-bg-subtle);\n}\n\n/* Struck through and muted, but still focusable. An unavailable day has a reason, and a screen\n reader user must be able to reach the day to hear it. */\n.day[data-unavailable] {\n color: var(--pm-text-disabled);\n text-decoration: line-through;\n cursor: not-allowed;\n}\n\n.day[data-disabled] {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n}\n\n/* In-range: only the selection treatment's wash. Text stays primary, because the wash is the whole\n change. The radius is 0 between neighbours, so the range reads as one band rather than separate\n chips, and the grid's collapsed cells keep it contiguous. The anchored preview uses this same\n cell, because the preview *is* the range being made. */\n.day[data-range-middle] {\n background: var(--pm-accent-subtle);\n border-radius: 0;\n}\n\n/* Endpoints: `calendar.md`'s day-selected recipe unchanged. This is the full selection treatment,\n so the ends of a range look exactly like the chosen day in DatePicker's popup. A one-day range\n has both attributes on one cell. */\n.day[data-range-start],\n.day[data-range-end] {\n color: var(--pm-selection-text);\n background: var(--pm-selection-bg);\n border-color: var(--pm-selection-border);\n border-radius: var(--pm-radius-sm);\n}\n\n/* Selection has its own hover step (Table's law, as in `calendar.md`). */\n.day[data-range-start]:hover,\n.day[data-range-end]:hover {\n background: var(--pm-selection-bg-hover);\n}\n\n/* month change — `calendar.md` unchanged ------------------------------------- */\n\n.grid[data-travel='next'] {\n animation: date-range-picker-grid-next var(--pm-motion-duration-surface)\n var(--pm-motion-easing-enter);\n}\n\n.grid[data-travel='previous'] {\n animation: date-range-picker-grid-previous var(--pm-motion-duration-surface)\n var(--pm-motion-easing-enter);\n}\n\n@keyframes date-range-picker-grid-next {\n from {\n opacity: 0;\n transform: translateX(var(--pm-space-2));\n }\n}\n\n@keyframes date-range-picker-grid-previous {\n from {\n opacity: 0;\n transform: translateX(calc(var(--pm-space-2) * -1));\n }\n}\n\n/* RTL mirrors navigation, the chevrons and the band's direction. The attributes still describe\n time order (`data-range-start` is the earlier date), so only the drawing flips. */\n[dir='rtl'] .grid[data-travel='next'] {\n animation-name: date-range-picker-grid-previous;\n}\n\n[dir='rtl'] .grid[data-travel='previous'] {\n animation-name: date-range-picker-grid-next;\n}\n\n[dir='rtl'] .header svg {\n transform: scaleX(-1);\n}\n\n/* Reduced motion (motion.md): `scale-fade` and `slide-fade` reduce to the fade they build on, and\n keep their durations. */\n@media (prefers-reduced-motion: reduce) {\n @keyframes date-range-picker-content-enter {\n from {\n opacity: 0;\n }\n }\n\n @keyframes date-range-picker-content-exit {\n to {\n opacity: 0;\n }\n }\n\n @keyframes date-range-picker-grid-next {\n from {\n opacity: 0;\n }\n }\n\n @keyframes date-range-picker-grid-previous {\n from {\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 provides the separation that the overlay elevation\n steps provide elsewhere. The backdrop shows through the pane as a blurred, saturated wash, so the\n surface stands apart by its material rather than by a lighter step. The mix is a contrast\n decision that the glass law measures over worst-case backdrops. A recipe only applies 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":"date-range-picker.module.js","names":[],"sources":["../../../../recipes/src/controls/date-range-picker.module.css"],"sourcesContent":["/* DateRangePicker — `design/components/date-range-picker.md`.\n *\n * Three recipes are combined here, each restated rather than shared, because the completeness law\n * checks a component's own stylesheet source. The field and popup are `date-picker.md`'s rows\n * unchanged, and the grid is `calendar.md`'s. The range cells are this member's own and apply the\n * conventions' selection treatment.\n *\n * The selection mapping: **in-range uses the accent wash, and endpoints use the full selection\n * treatment**. Endpoints use `calendar.md`'s day-selected recipe unchanged, so the ends of a range\n * look exactly like the chosen day in DatePicker's popup. Because the accent wash marks the range,\n * hover inside this member uses the ghost wash (`--pm-bg-subtle`) instead. `--pm-accent-subtle`\n * then always means *in the range*, never hover. */\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's recipe, used by every field in the family. */\n box-shadow: var(--pm-shadow-seat);\n}\n\n/* Two rows share one line, so neither stretches. The spacer below takes the remaining space and\n keeps the halves close to the dash. The `2px` gap around separators matches DatePicker. */\n.segments {\n display: flex;\n flex: none;\n gap: 2px;\n align-items: center;\n min-inline-size: 0;\n outline: none;\n}\n\n.spacer {\n flex: 1;\n}\n\n.segment {\n padding-inline: 2px;\n color: var(--pm-text-primary);\n border-radius: var(--pm-radius-sm);\n outline: none;\n font-variant-numeric: var(--pm-font-numeric);\n\n /* A segment is editable text so a phone shows its keyboard, and every change is the field's\n own, so no caret is drawn in it. */\n caret-color: transparent;\n}\n\n/* The unfilled placeholder, such as `dd`, `mm`, `yyyy`, localized, on both halves. */\n.segment[data-placeholder] {\n color: var(--pm-text-muted);\n}\n\n/* Marks the current position, not a selection, with the temporary wash family. */\n.segment:focus {\n color: var(--pm-accent-text);\n background: var(--pm-accent-subtle);\n}\n\n.separator {\n color: var(--pm-text-muted);\n}\n\n/* The en-dash between the halves: muted and `aria-hidden`, because React Aria names the halves for\n screen readers, not the punctuation. */\n.dash {\n color: var(--pm-text-muted);\n}\n\n/* Input's embedded-adornment convention, unchanged. */\n.clear {\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-self: stretch;\n align-items: center;\n justify-content: center;\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-sm);\n animation: date-range-picker-clear-enter var(--pm-motion-duration-control)\n var(--pm-motion-easing-enter);\n}\n\n@keyframes date-range-picker-clear-enter {\n from {\n opacity: 0;\n }\n}\n\n.clear:hover {\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/* field states -------------------------------------------------------------- */\n\n.field[data-invalid] {\n border-color: var(--pm-danger-border);\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 \"ready\", so disabled removes it (as in Input). */\n box-shadow: none;\n}\n\n.field[data-disabled] .segment,\n.field[data-disabled] .separator,\n.field[data-disabled] .dash {\n color: var(--pm-text-disabled);\n}\n\n/* Open keeps the hover border, and the invalid border stays in both states. */\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/* popup --------------------------------------------------------------------- */\n\n/* Select's panel surface with no padding of its own, because the grid has its own `--pm-space-3`\n (as in DatePicker). */\n.content {\n /* `overlay` from the stacking scale. The popper moves it onto its wrapper (menu.module.css\n explains how). */\n z-index: var(--pm-z-overlay);\n padding: 0;\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.content[data-state='open'] {\n animation: date-range-picker-content-enter var(--pm-motion-duration-surface)\n var(--pm-motion-easing-enter);\n}\n\n.content[data-state='closed'] {\n animation: date-range-picker-content-exit var(--pm-motion-duration-surface-exit)\n var(--pm-motion-easing-exit);\n}\n\n@keyframes date-range-picker-content-enter {\n from {\n opacity: 0;\n transform: scale(0.94);\n }\n}\n\n@keyframes date-range-picker-content-exit {\n to {\n opacity: 0;\n transform: scale(0.94);\n }\n}\n\n/* The sheet, below 30rem (the conventions' sheet presentation). This is DatePicker's sheet\n container unchanged: zero inset (the grid has its own `--pm-space-3`), centred in the full-width\n sheet, and scrolling within the sheet's maximum height. The sheet's safe-area padding adds to\n this member's own (zero) edge padding. The popover alignment rules no longer apply. */\n.sheetBody {\n display: flex;\n flex-direction: column;\n align-items: center;\n min-block-size: 0;\n padding-block-end: env(safe-area-inset-bottom, 0);\n overflow-y: auto;\n}\n\n/* grid — `calendar.md` unchanged -------------------------------------------- */\n\n.root {\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-2);\n inline-size: fit-content;\n padding: var(--pm-space-3);\n}\n\n.header {\n display: flex;\n gap: var(--pm-space-2);\n align-items: center;\n justify-content: space-between;\n block-size: var(--pm-control-height-sm);\n}\n\n.title {\n flex: 1;\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-align: center;\n font-variant-numeric: var(--pm-font-numeric);\n}\n\n.grid {\n border-collapse: collapse;\n}\n\n.grid th {\n padding: 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 letter-spacing: var(--pm-text-xs-tracking);\n color: var(--pm-text-muted);\n text-align: center;\n}\n\n.cell {\n padding: 0;\n}\n\n.day {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback pressable from '../conventions/motion.module.css';\n display: flex;\n align-items: center;\n justify-content: center;\n inline-size: var(--pm-control-height-sm);\n block-size: var(--pm-control-height-sm);\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: 1px solid transparent;\n border-radius: var(--pm-radius-sm);\n outline: none;\n font-variant-numeric: var(--pm-font-numeric);\n}\n\n/* day states — ascending, so the range wins over hover ----------------------- */\n\n/* Today is not a selection. It gets a border and a colour, never a fill. Inside the range wash the\n border stays. At an endpoint, the selection styling below wins and `aria-current` still marks\n today. */\n.day[data-today] {\n color: var(--pm-accent-text);\n border-color: var(--pm-accent-bg);\n}\n\n/* This deliberately replaces `calendar.md`'s accent-wash hover *inside this member* with the ghost\n wash, so the accent wash only ever means in the range. Hover on an in-range middle day changes\n nothing, because it is already in the range. */\n.day:hover:not(\n [data-range-start],\n [data-range-middle],\n [data-range-end],\n [data-unavailable],\n [data-disabled]\n ) {\n color: var(--pm-text-primary);\n background: var(--pm-bg-subtle);\n}\n\n/* Button's ghost/neutral press cell. The accent steps were dropped along with the accent hover.\n The press transform comes from `pressable`, composed above. */\n.day:active:not(\n [data-range-start],\n [data-range-middle],\n [data-range-end],\n [data-unavailable],\n [data-disabled]\n ) {\n color: var(--pm-text-primary);\n background: var(--pm-bg-subtle);\n}\n\n/* Struck through and muted, but still focusable. An unavailable day has a reason, and a screen\n reader user must be able to reach the day to hear it. */\n.day[data-unavailable] {\n color: var(--pm-text-disabled);\n text-decoration: line-through;\n cursor: not-allowed;\n}\n\n.day[data-disabled] {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n}\n\n/* In-range: only the selection treatment's wash. Text stays primary, because the wash is the whole\n change. The radius is 0 between neighbours, so the range reads as one band rather than separate\n chips, and the grid's collapsed cells keep it contiguous. The anchored preview uses this same\n cell, because the preview *is* the range being made. */\n.day[data-range-middle] {\n background: var(--pm-accent-subtle);\n border-radius: 0;\n}\n\n/* Endpoints: `calendar.md`'s day-selected recipe unchanged. This is the full selection treatment,\n so the ends of a range look exactly like the chosen day in DatePicker's popup. A one-day range\n has both attributes on one cell. */\n.day[data-range-start],\n.day[data-range-end] {\n color: var(--pm-selection-text);\n background: var(--pm-selection-bg);\n border-color: var(--pm-selection-border);\n border-radius: var(--pm-radius-sm);\n}\n\n/* Selection has its own hover step (Table's law, as in `calendar.md`). */\n.day[data-range-start]:hover,\n.day[data-range-end]:hover {\n background: var(--pm-selection-bg-hover);\n}\n\n/* An endpoint is a solid fill, so the focus mark lies inside the fill with a gap, in its text\n colour, as on Calendar's selected day (`conventions/focus.module.css`). An in-range day is the\n accent wash, where the focus colour is held, so it keeps the shared mark. */\n.day[data-range-start]:focus-visible,\n.day[data-range-end]:focus-visible {\n --pm-focus-mark: currentcolor;\n --pm-focus-inset: var(--pm-focus-width);\n}\n\n/* month change — `calendar.md` unchanged ------------------------------------- */\n\n.grid[data-travel='next'] {\n animation: date-range-picker-grid-next var(--pm-motion-duration-surface)\n var(--pm-motion-easing-enter);\n}\n\n.grid[data-travel='previous'] {\n animation: date-range-picker-grid-previous var(--pm-motion-duration-surface)\n var(--pm-motion-easing-enter);\n}\n\n@keyframes date-range-picker-grid-next {\n from {\n opacity: 0;\n transform: translateX(var(--pm-space-2));\n }\n}\n\n@keyframes date-range-picker-grid-previous {\n from {\n opacity: 0;\n transform: translateX(calc(var(--pm-space-2) * -1));\n }\n}\n\n/* RTL mirrors navigation, the chevrons and the band's direction. The attributes still describe\n time order (`data-range-start` is the earlier date), so only the drawing flips. */\n[dir='rtl'] .grid[data-travel='next'] {\n animation-name: date-range-picker-grid-previous;\n}\n\n[dir='rtl'] .grid[data-travel='previous'] {\n animation-name: date-range-picker-grid-next;\n}\n\n[dir='rtl'] .header svg {\n transform: scaleX(-1);\n}\n\n/* Reduced motion (motion.md): `scale-fade` and `slide-fade` reduce to the fade they build on, and\n keep their durations. */\n@media (prefers-reduced-motion: reduce) {\n @keyframes date-range-picker-content-enter {\n from {\n opacity: 0;\n }\n }\n\n @keyframes date-range-picker-content-exit {\n to {\n opacity: 0;\n }\n }\n\n @keyframes date-range-picker-grid-next {\n from {\n opacity: 0;\n }\n }\n\n @keyframes date-range-picker-grid-previous {\n from {\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 provides the separation that the overlay elevation\n steps provide elsewhere. The backdrop shows through the pane as a blurred, saturated wash, so the\n surface stands apart by its material rather than by a lighter step. The mix is a contrast\n decision that the glass law measures over worst-case backdrops. A recipe only applies 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/duration-input.module.css
|
|
2
|
-
var e = "_field_f00h8_13
|
|
2
|
+
var e = "_field_f00h8_13 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17", t = "_segments_f00h8_39", n = "_quantity_f00h8_48", r = "_segment_f00h8_39", i = "_unit_f00h8_80", a = {
|
|
3
3
|
field: e,
|
|
4
4
|
segments: t,
|
|
5
5
|
quantity: n,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region ../recipes/src/controls/file-upload.module.css
|
|
2
|
-
var e = "
|
|
2
|
+
var e = "_root_1m3c4_8", t = "_zone_1m3c4_15 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17", n = "_title_1m3c4_31", r = "_hint_1m3c4_40", i = "_picker_1m3c4_51", a = "_list_1m3c4_57", o = "_row_1m3c4_63 _stateFeedback_lkjqs_17", s = "_rowIcon_1m3c4_73", c = "_details_1m3c4_81", l = "_name_1m3c4_88", u = "_meta_1m3c4_100", d = "_message_1m3c4_110", f = "_trailing_1m3c4_119", p = "_progress_1m3c4_127", m = "_percent_1m3c4_131", h = "_done_1m3c4_143", g = "_reader_1m3c4_150 _visuallyHidden_qxi8b_14", _ = {
|
|
3
3
|
root: e,
|
|
4
4
|
zone: t,
|
|
5
5
|
title: n,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-upload.module.js","names":[],"sources":["../../../../recipes/src/controls/file-upload.module.css"],"sourcesContent":["/* FileUpload — `design/components/file-upload.md`.\n *\n * This is the only dashed border in the system, and it means one thing: *not yet content*.\n * Everything else here is a list of rows that happen to be files. They deliberately use ordinary\n * surface styling, because the meaningful state is in `data-status` and in what the app put\n * there. */\n\n.root {\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-3);\n inline-size: 100%;\n}\n\n.zone {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback from '../conventions/motion.module.css';\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-2);\n align-items: center;\n inline-size: 100%;\n padding: var(--pm-space-6);\n color: var(--pm-text-muted);\n cursor: pointer;\n background: var(--pm-bg-subtle);\n border: 1px dashed var(--pm-border-strong);\n border-radius: var(--pm-radius-lg);\n}\n\n.title {\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.hint {\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/* The real input, opened by the zone. It is out of the tab order and the accessibility tree, where\n the button stands for it, and is still posted with the form. */\n.picker {\n display: none;\n}\n\n/* the list ----------------------------------------------------------------- */\n\n.list {\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-2);\n}\n\n.row {\n composes: stateFeedback from '../conventions/motion.module.css';\n display: flex;\n gap: var(--pm-space-3);\n align-items: center;\n padding: var(--pm-space-2) var(--pm-space-3);\n border: 1px solid var(--pm-border-subtle);\n border-radius: var(--pm-radius-control);\n}\n\n.rowIcon {\n display: inline-flex;\n flex: none;\n color: var(--pm-text-muted);\n}\n\n/* `min-inline-size: 0` lets the name truncate with an ellipsis instead of pushing the trailing\n controls off the row, because a flex item's minimum size is its content by default. */\n.details {\n display: flex;\n flex: 1;\n flex-direction: column;\n min-inline-size: 0;\n}\n\n.name {\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.meta {\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/* The app's text, under the file name it refers to. */\n.message {\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-danger-text);\n}\n\n.trailing {\n display: inline-flex;\n flex: none;\n gap: var(--pm-space-2);\n align-items: center;\n}\n\n/* A bar this short only gives a rough idea. The percentage beside it shows the exact progress. */\n.progress {\n inline-size: var(--pm-space-9);\n}\n\n.percent {\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\n /* Tabular figures keep the width steady as the number rises. */\n font-variant-numeric: var(--pm-font-numeric);\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.done {\n display: inline-flex;\n flex: none;\n color: var(--pm-success-text);\n}\n\n/* Text for screen readers only: what just finished, and what just failed. */\n.reader {\n composes: visuallyHidden from '../conventions/a11y.module.css';\n}\n\n/* states ------------------------------------------------------------------- */\n\n/* A pending drop is as active as focus, so it
|
|
1
|
+
{"version":3,"file":"file-upload.module.js","names":[],"sources":["../../../../recipes/src/controls/file-upload.module.css"],"sourcesContent":["/* FileUpload — `design/components/file-upload.md`.\n *\n * This is the only dashed border in the system, and it means one thing: *not yet content*.\n * Everything else here is a list of rows that happen to be files. They deliberately use ordinary\n * surface styling, because the meaningful state is in `data-status` and in what the app put\n * there. */\n\n.root {\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-3);\n inline-size: 100%;\n}\n\n.zone {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback from '../conventions/motion.module.css';\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-2);\n align-items: center;\n inline-size: 100%;\n padding: var(--pm-space-6);\n color: var(--pm-text-muted);\n cursor: pointer;\n background: var(--pm-bg-subtle);\n border: 1px dashed var(--pm-border-strong);\n border-radius: var(--pm-radius-lg);\n}\n\n.title {\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.hint {\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/* The real input, opened by the zone. It is out of the tab order and the accessibility tree, where\n the button stands for it, and is still posted with the form. */\n.picker {\n display: none;\n}\n\n/* the list ----------------------------------------------------------------- */\n\n.list {\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-2);\n}\n\n.row {\n composes: stateFeedback from '../conventions/motion.module.css';\n display: flex;\n gap: var(--pm-space-3);\n align-items: center;\n padding: var(--pm-space-2) var(--pm-space-3);\n border: 1px solid var(--pm-border-subtle);\n border-radius: var(--pm-radius-control);\n}\n\n.rowIcon {\n display: inline-flex;\n flex: none;\n color: var(--pm-text-muted);\n}\n\n/* `min-inline-size: 0` lets the name truncate with an ellipsis instead of pushing the trailing\n controls off the row, because a flex item's minimum size is its content by default. */\n.details {\n display: flex;\n flex: 1;\n flex-direction: column;\n min-inline-size: 0;\n}\n\n.name {\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.meta {\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/* The app's text, under the file name it refers to. */\n.message {\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-danger-text);\n}\n\n.trailing {\n display: inline-flex;\n flex: none;\n gap: var(--pm-space-2);\n align-items: center;\n}\n\n/* A bar this short only gives a rough idea. The percentage beside it shows the exact progress. */\n.progress {\n inline-size: var(--pm-space-9);\n}\n\n.percent {\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\n /* Tabular figures keep the width steady as the number rises. */\n font-variant-numeric: var(--pm-font-numeric);\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.done {\n display: inline-flex;\n flex: none;\n color: var(--pm-success-text);\n}\n\n/* Text for screen readers only: what just finished, and what just failed. */\n.reader {\n composes: visuallyHidden from '../conventions/a11y.module.css';\n}\n\n/* states ------------------------------------------------------------------- */\n\n/* A pending drop is as active as focus, so it takes the focus glow (`--pm-glow-focus`), a halo the\n focus mark itself does not draw. A theme with ornament `none` derives no glow, and the border\n alone shows the state. */\n.zone[data-state='dragover'] {\n color: var(--pm-accent-text);\n background: var(--pm-accent-subtle);\n border-color: var(--pm-accent-bg);\n box-shadow: var(--pm-glow-focus);\n}\n\n/* FormField's error provides the text. The zone only changes its border colour. */\n.zone[data-invalid] {\n border-color: var(--pm-danger-border);\n}\n\n.zone[data-disabled] {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n border-color: var(--pm-border-subtle);\n}\n\n.zone[data-disabled] .title,\n.zone[data-disabled] .hint {\n color: var(--pm-text-disabled);\n}\n\n/* Invalid is excluded rather than overridden, as in Input. A dashed border that changed colour\n under the pointer would hide the error state. */\n.zone:enabled:hover:not([data-invalid], [data-state='dragover']) {\n background: var(--pm-bg-surface);\n border-color: var(--pm-accent-bg);\n}\n\n/* The row shows the failure. The message under the name says what happened, and the border makes\n the row easy to find in a longer list. */\n.row[data-status='error'] {\n border-color: var(--pm-danger-border);\n}\n"],"mappings":""}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
//#region ../recipes/src/controls/input.module.css
|
|
2
|
-
var e = "
|
|
2
|
+
var e = "_field_92wpy_10 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17", t = "_input_92wpy_43", n = "_leading_92wpy_62 _stateFeedback_lkjqs_17", r = "_trailing_92wpy_63", i = "_affix_92wpy_77", a = "_clear_92wpy_89 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17 _pressable_lkjqs_38", o = {
|
|
3
3
|
field: e,
|
|
4
4
|
input: t,
|
|
5
5
|
leading: n,
|
|
6
6
|
trailing: r,
|
|
7
7
|
affix: i,
|
|
8
8
|
clear: a,
|
|
9
|
-
"input-clear-enter": "_input-clear-
|
|
9
|
+
"input-clear-enter": "_input-clear-enter_92wpy_1"
|
|
10
10
|
};
|
|
11
11
|
//#endregion
|
|
12
12
|
export { i as affix, a as clear, o as default, e as field, t as input, n as leading, r as trailing };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.module.js","names":[],"sources":["../../../../recipes/src/controls/input.module.css"],"sourcesContent":["/* Input — `design/components/input.md`.\n *\n * The container is styled, and the native `<input>` is transparent and fills it. This split lets\n * the leading icon, the clear button and the trailing slot take their colour from the same state\n * as the border, instead of each deriving it separately.\n *\n * Selectors ascend in specificity, as in button.module.css. Hover is excluded from the states it\n * must not override, rather than being out-specified by them. */\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, the same token Button's fill uses. A field on a surface of its own\n colour would be outlined by its border alone, and a single hairline looks like a wireframe.\n Flat systems resolve the token to `none` and rely on the border alone, by design. */\n box-shadow: var(--pm-shadow-seat);\n}\n\n/* Transparent, borderless, and using the container's type. `font: inherit` keeps the text on the\n type scale without restating the text tokens. */\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}\n\n/* Firefox dims placeholders by default. The muted role already makes them lighter, so they must\n not be dimmed twice. */\n.input::placeholder {\n color: var(--pm-text-muted);\n opacity: 1;\n}\n\n.leading,\n.trailing {\n display: inline-flex;\n flex: none;\n align-items: center;\n}\n\n.leading {\n composes: stateFeedback from '../conventions/motion.module.css';\n color: var(--pm-text-muted);\n}\n\n/* The static affix, at adornment strength like the leading icon: beside the value at the size's\n own text step, never competing with it. The gap to the value is the container's\n (`--pm-space-3`, `--pm-space-2` at `sm`), the same gap as the leading icon's. */\n.affix {\n flex: none;\n color: var(--pm-text-muted);\n}\n\n/* Square, at the field's own height, so the target floor holds at every size.\n *\n * The embedded-adornment convention (input.md): muted at rest to match the leading icon and not\n * compete with the value, primary on a `bg-subtle` wash on hover, its own `radius-sm` inside the\n * field's `md`, press feedback, and the focus
|
|
1
|
+
{"version":3,"file":"input.module.js","names":[],"sources":["../../../../recipes/src/controls/input.module.css"],"sourcesContent":["/* Input — `design/components/input.md`.\n *\n * The container is styled, and the native `<input>` is transparent and fills it. This split lets\n * the leading icon, the clear button and the trailing slot take their colour from the same state\n * as the border, instead of each deriving it separately.\n *\n * Selectors ascend in specificity, as in button.module.css. Hover is excluded from the states it\n * must not override, rather than being out-specified by them. */\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, the same token Button's fill uses. A field on a surface of its own\n colour would be outlined by its border alone, and a single hairline looks like a wireframe.\n Flat systems resolve the token to `none` and rely on the border alone, by design. */\n box-shadow: var(--pm-shadow-seat);\n}\n\n/* Transparent, borderless, and using the container's type. `font: inherit` keeps the text on the\n type scale without restating the text tokens.\n\n In a field narrower than its parts, the value is the part that gives way: it shrinks to nothing\n (`min-inline-size: 0`) while the icon, the affixes and the clear button keep their width\n (`flex: none`) and the field keeps its padding. A value cut short ends in an ellipsis while the\n field is not focused; while it is, the browser scrolls the value to the caret instead. */\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}\n\n/* Firefox dims placeholders by default. The muted role already makes them lighter, so they must\n not be dimmed twice. */\n.input::placeholder {\n color: var(--pm-text-muted);\n opacity: 1;\n}\n\n.leading,\n.trailing {\n display: inline-flex;\n flex: none;\n align-items: center;\n}\n\n.leading {\n composes: stateFeedback from '../conventions/motion.module.css';\n color: var(--pm-text-muted);\n}\n\n/* The static affix, at adornment strength like the leading icon: beside the value at the size's\n own text step, never competing with it. The gap to the value is the container's\n (`--pm-space-3`, `--pm-space-2` at `sm`), the same gap as the leading icon's. */\n.affix {\n flex: none;\n color: var(--pm-text-muted);\n}\n\n/* Square, at the field's own height, so the target floor holds at every size.\n *\n * The embedded-adornment convention (input.md): muted at rest to match the leading icon and not\n * compete with the value, primary on a `bg-subtle` wash on hover, its own `radius-sm` inside the\n * field's `md`, press feedback, and the focus mark inside its own edge, which marks the inner\n * target and not the field. Never `--pm-danger-*` in an invalid field, because it\n * is an action, not a status. */\n.clear {\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-self: stretch;\n align-items: center;\n justify-content: center;\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-sm);\n animation: input-clear-enter var(--pm-motion-duration-control) var(--pm-motion-easing-enter);\n}\n\n/* The `input.clear` binding: `fade`, control class. Only the entrance animates, because an\n unmounting node cannot animate its exit. Wrapping a field's clear button in presence\n coordination would gain one frame at the cost of as much machinery as a portal. `fade` is\n unchanged under reduced motion (motion.md), and at temperament `none` the duration token is 0s,\n so this needs no reduced-motion rule and no switch-off of its own. */\n@keyframes input-clear-enter {\n from {\n opacity: 0;\n }\n}\n\n.clear:hover {\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.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 \"ready\", so disabled removes it. */\n box-shadow: none;\n}\n\n/* Invalid is excluded rather than overridden, because an error border must stay visible when the\n pointer passes over it. */\n.field:hover:not([data-disabled], [data-readonly], [data-invalid]) {\n border-color: var(--pm-border-strong);\n}\n\n.field[data-invalid] .leading {\n color: var(--pm-danger-text);\n}\n\n.field[data-disabled] .leading,\n.field[data-disabled] .affix {\n color: var(--pm-text-disabled);\n}\n\n/* The phone minimum (the conventions' focus-zoom floor). Below `30rem` the inner `<input>` uses\n the text-entry floor's size and line height, so iOS does not zoom the page on focus. Only those metrics change.\n Colour, weight and tracking stay the same, and the container keeps its own size's text tokens,\n so the leading icon, affix and clear button do not move. One rule covers every `data-size`,\n because it overrides the inherited size whatever the container sets. SearchInput and\n PasswordInput render this Input, so this rule applies to them too (one line in each spec). */\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,5 +1,5 @@
|
|
|
1
1
|
//#region ../recipes/src/controls/link.module.css
|
|
2
|
-
var e = "
|
|
2
|
+
var e = "_link_1pcjq_13 _focusAround_1hr3n_95", t = "_costume_1pcjq_65 _button_cxa90_17 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17 _pressable_lkjqs_38", n = "_costumeLabel_1pcjq_73", r = "_costumeGlyph_1pcjq_80", i = {
|
|
3
3
|
link: e,
|
|
4
4
|
costume: t,
|
|
5
5
|
costumeLabel: n,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"link.module.js","names":[],"sources":["../../../../recipes/src/controls/link.module.css"],"sourcesContent":["/* Link — `design/components/link.md`.\n *\n * Underline is never the only signal. `inline` has an underline at rest and thickens it on hover.\n * `standalone` gets one on hover. So both variants pair the accent colour with a non-colour cue,\n * and neither depends on the user seeing the accent hue.\n *\n * `text-decoration-thickness` is not animatable, and the recipe accepts that: text cues change\n * instantly, and only surfaces transition. */\n\n.link {\n composes:
|
|
1
|
+
{"version":3,"file":"link.module.js","names":[],"sources":["../../../../recipes/src/controls/link.module.css"],"sourcesContent":["/* Link — `design/components/link.md`.\n *\n * Underline is never the only signal. `inline` has an underline at rest and thickens it on hover.\n * `standalone` gets one on hover. So both variants pair the accent colour with a non-colour cue,\n * and neither depends on the user seeing the accent hue.\n *\n * `text-decoration-thickness` is not animatable, and the recipe accepts that: text cues change\n * instantly, and only surfaces transition. */\n\n/* The focus mark goes around the text box with a gap (`focusAround`): a link's box is its text,\n so a line inside it would cross the first and last letters, and a line on its edge would touch\n them. The button costume below composes Button and keeps its mark inside its edge. */\n.link {\n composes: focusAround from '../conventions/focus.module.css';\n display: inline;\n gap: var(--pm-space-1);\n color: var(--pm-accent-text);\n text-underline-offset: 2px;\n text-decoration-thickness: 1px;\n\n /* The rest underline uses the temperament's strength. The line is the required signal, so it\n stays. Its full colour is only the browser default, not a design decision. Hover restores the\n full colour together with the thickness. */\n text-decoration-color: var(--pm-accent-underline);\n border-radius: var(--pm-radius-sm);\n}\n\n/* An inline link inherits the text step around it, because a sentence does not change size where\n part of it is a link. */\n.link[data-variant='inline'] {\n text-decoration-line: underline;\n}\n\n.link[data-variant='standalone'] {\n display: inline-flex;\n align-items: center;\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 text-decoration-line: none;\n}\n\n/* An external inline link must be a flex row to align its glyph with the text, so it cannot wrap\n mid-sentence. That is the better trade-off: external links are short by convention, and a glyph\n left alone on its own line is worse than a link that cannot wrap. */\n.link[data-external] {\n display: inline-flex;\n align-items: center;\n white-space: nowrap;\n}\n\n.link:hover {\n text-decoration-line: underline;\n text-decoration-thickness: 2px;\n text-decoration-color: var(--pm-accent-text);\n}\n\n/* The button costume: Button's recipe cells by reference, never re-derived. Composing `.button`\n brings the base, the conventions' sizing, every rest/hover/active cell, the press feedback and\n the focus ring. All of them are keyed off the `data-variant` × `data-tone` × `data-size`\n attributes this element sets. This rule only handles what an `<a>` has and a `<button>` does\n not: the browser's default underline, which the frame replaces as the clickable cue. */\n.costume {\n composes: button from './button.module.css';\n text-decoration: none;\n}\n\n/* Button's two content slots, restated as anatomy: the label that truncates with an ellipsis, and\n the trailing glyph's flex container. The recipe cells (colours, sizes, states) all come with\n `.costume` above. */\n.costumeLabel {\n min-inline-size: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.costumeGlyph {\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n}\n"],"mappings":""}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region ../recipes/src/controls/month-input.module.css
|
|
2
|
-
var e = "_field_ilaoy_16
|
|
2
|
+
var e = "_field_ilaoy_16 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17", t = "_segments_ilaoy_42", n = "_segment_ilaoy_42", r = "_separator_ilaoy_76", i = {
|
|
3
3
|
field: e,
|
|
4
4
|
segments: t,
|
|
5
5
|
segment: n,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region ../recipes/src/controls/multi-select.module.css
|
|
2
|
-
var e = "
|
|
2
|
+
var e = "_field_ffywm_12 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17", t = "_chips_ffywm_39", n = "_chip_ffywm_39", r = "_label_ffywm_55", i = "_remove_ffywm_71 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17 _pressable_lkjqs_38", a = "_input_ffywm_106", o = "_chevron_ffywm_125 _focusRing_1hr3n_49", s = "_spinner_ffywm_156 _spin_lkjqs_83", c = "_reader_ffywm_163 _visuallyHidden_qxi8b_14", l = "_status_ffywm_169", u = "_content_ffywm_272", d = "_listbox_ffywm_317", f = "_sheetBody_ffywm_333", p = "_option_ffywm_343 _stateFeedback_lkjqs_17", m = "_check_ffywm_364 _stateFeedback_lkjqs_17", h = "_text_ffywm_373", g = "_optionLabel_ffywm_380", _ = "_description_ffywm_387 _stateFeedback_lkjqs_17", v = "_rows_ffywm_454", y = "_row_ffywm_454", b = "_empty_ffywm_468", x = {
|
|
3
3
|
field: e,
|
|
4
4
|
chips: t,
|
|
5
5
|
chip: n,
|
|
@@ -7,14 +7,14 @@ var e = "_field_bux58_12 _focusRing_1lfnc_15 _stateFeedback_lkjqs_17", t = "_chi
|
|
|
7
7
|
remove: i,
|
|
8
8
|
input: a,
|
|
9
9
|
chevron: o,
|
|
10
|
-
"multi-select-glyph-enter": "_multi-select-glyph-
|
|
10
|
+
"multi-select-glyph-enter": "_multi-select-glyph-enter_ffywm_1",
|
|
11
11
|
spinner: s,
|
|
12
12
|
reader: c,
|
|
13
13
|
status: l,
|
|
14
|
-
"multi-select-refusal": "_multi-select-
|
|
14
|
+
"multi-select-refusal": "_multi-select-refusal_ffywm_1",
|
|
15
15
|
content: u,
|
|
16
|
-
"multi-select-content-enter": "_multi-select-content-
|
|
17
|
-
"multi-select-content-exit": "_multi-select-content-
|
|
16
|
+
"multi-select-content-enter": "_multi-select-content-enter_ffywm_1",
|
|
17
|
+
"multi-select-content-exit": "_multi-select-content-exit_ffywm_1",
|
|
18
18
|
listbox: d,
|
|
19
19
|
sheetBody: f,
|
|
20
20
|
option: p,
|