@metamorph-labs/polymorph-vue-ui 1.0.17 → 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 +166 -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/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/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 -1
- package/dist/controls/rich-text-input.module.js +1 -1
- package/dist/controls/rich-text-input.module.js.map +1 -1
- 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/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/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/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/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 +1 -1
- package/dist/node/controls/rich-text-input.module.js.map +1 -1
- 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/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/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.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 +1 -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 +1 -1
- package/dist/node/structure/Collapsible.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/Pagination.js.map +1 -1
- package/dist/node/structure/Pagination.vue_vue_type_script_setup_true_lang.js +118 -88
- package/dist/node/structure/Pagination.vue_vue_type_script_setup_true_lang.js.map +1 -1
- 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 +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 +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 +4 -3
- package/dist/node/structure/pagination.module.js.map +1 -1
- package/dist/node/structure/rich-text-content.module.js +1 -1
- 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.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 +1 -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 +1 -1
- package/dist/structure/Collapsible.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/Pagination.js.map +1 -1
- package/dist/structure/Pagination.vue_vue_type_script_setup_true_lang.js +118 -88
- package/dist/structure/Pagination.vue_vue_type_script_setup_true_lang.js.map +1 -1
- 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 +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 +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 +4 -3
- package/dist/structure/pagination.module.js.map +1 -1
- package/dist/structure/rich-text-content.css +1 -1
- package/dist/structure/rich-text-content.module.js +1 -1
- 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/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/Slider.vue.d.ts +1 -1
- 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/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/EmptyState.vue.d.ts +1 -1
- package/dist/types/structure/Hero.vue.d.ts +1 -1
- package/dist/types/structure/RelativeTime.vue.d.ts +1 -1
- package/package.json +3 -3
|
@@ -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 +1 @@
|
|
|
1
|
-
._focusRing_1lfnc_15:focus-visible{outline:var(--pm-focus-width) solid var(--pm-border-focus);outline-offset:var(--pm-focus-offset);box-shadow:var(--pm-glow-focus)}._focusRing_1lfnc_15:has(>input:focus-visible){outline:var(--pm-focus-width) solid var(--pm-border-focus);outline-offset:var(--pm-focus-offset);box-shadow:var(--pm-glow-focus)}._focusRing_1lfnc_15:focus-visible:not([data-invalid],[aria-invalid=true],[data-selected],[data-range-start],[data-range-end]){border-color:var(--pm-border-focus-solid)}._focusRing_1lfnc_15:has(>input:focus-visible):not([data-invalid]){border-color:var(--pm-border-focus-solid)}@container style(--pm-focus-field:border){._focusRing_1lfnc_15:is(textarea,[role=combobox]):focus-visible:not([data-invalid],[aria-invalid=true]){outline-color:var(--pm-border-focus-solid);outline-offset:calc(var(--pm-focus-width) * -1);box-shadow:var(--pm-shadow-seat)}._focusRing_1lfnc_15:has(>input:focus-visible):not([data-invalid]){outline-color:var(--pm-border-focus-solid);outline-offset:calc(var(--pm-focus-width) * -1);box-shadow:var(--pm-shadow-seat)}}._stateFeedback_lkjqs_17{transition:background-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), border-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), box-shadow var(--pm-motion-duration-control) var(--pm-motion-easing-standard)}._pressable_lkjqs_38{transition:background-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), border-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), box-shadow var(--pm-motion-duration-control) var(--pm-motion-easing-standard), transform var(--pm-motion-duration-control) var(--pm-motion-easing-enter)}._pressable_lkjqs_38:active{transform:scale(var(--pm-motion-press-scale));transition:background-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), border-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), box-shadow var(--pm-motion-duration-control) var(--pm-motion-easing-standard), transform calc(var(--pm-motion-duration-control) * .5) var(--pm-motion-easing-standard)}@keyframes _pm-spin_lkjqs_1{to{transform:rotate(360deg)}}@keyframes _pm-fade-in_lkjqs_1{0%{opacity:0}}@keyframes _pm-shimmer_lkjqs_1{0%{transform:translate(-100%)}to{transform:translate(100%)}}._spin_lkjqs_83{animation:_pm-spin_lkjqs_1 var(--pm-motion-ambient-spin) linear infinite}._fadeIn_lkjqs_92{animation:_pm-fade-in_lkjqs_1 var(--pm-motion-duration-control) var(--pm-motion-easing-enter) both}._shimmer_lkjqs_98{position:relative;overflow:hidden}._shimmer_lkjqs_98:after{content:"";background:linear-gradient(90deg, var(--pm-bg-subtle) 0%, var(--pm-bg-raised) 50%, var(--pm-bg-subtle) 100%);width:200%;animation:_pm-shimmer_lkjqs_1 var(--pm-motion-ambient-shimmer) linear infinite;position:absolute;inset:0}[data-motion=none] ._spin_lkjqs_83,[data-motion=none] ._fadeIn_lkjqs_92,[data-motion=none] ._shimmer_lkjqs_98:after{animation:none}@media (prefers-reduced-motion:reduce){._spin_lkjqs_83,._fadeIn_lkjqs_92,._shimmer_lkjqs_98:after{animation:none}._pressable_lkjqs_38,._pressable_lkjqs_38:active{transition:background-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), border-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), box-shadow var(--pm-motion-duration-control) var(--pm-motion-easing-standard);transform:none}}._field_17qsd_12{gap:var(--pm-space-3);max-inline-size:100%;block-size:var(--pm-control-height-md);padding-inline:var(--pm-space-5);font-family:var(--pm-text-sm-family);font-size:var(--pm-text-sm-size);font-weight:var(--pm-text-sm-weight);line-height:var(--pm-text-sm-line-height);letter-spacing:var(--pm-text-sm-tracking);color:var(--pm-text-primary);cursor:text;background:var(--pm-bg-surface);border:1px solid var(--pm-border-field);border-radius:var(--pm-radius-control);box-shadow:var(--pm-shadow-seat);align-items:center;display:inline-flex;position:relative}._input_17qsd_37{min-inline-size:0;font:inherit;color:inherit;background:0 0;border:0;outline:none;flex:1;padding:0}._input_17qsd_37::placeholder{color:var(--pm-text-muted);opacity:1}._status_17qsd_57{clip-path:inset(50%);white-space:nowrap;block-size:1px;inline-size:1px;padding:0;position:absolute;overflow:hidden}._clear_17qsd_70{aspect-ratio:1;color:var(--pm-text-muted);cursor:pointer;border-radius:var(--pm-radius-sm);animation:_combobox-clear-enter_17qsd_1 var(--pm-motion-duration-control) var(--pm-motion-easing-enter);background:0 0;border:0;flex:none;justify-content:center;align-self:stretch;align-items:center;padding:0;display:inline-flex}@keyframes _combobox-clear-enter_17qsd_1{0%{opacity:0}}._clear_17qsd_70:hover{color:var(--pm-text-primary);background:var(--pm-bg-subtle)}._chevron_17qsd_100{color:var(--pm-text-muted);cursor:pointer;border-radius:var(--pm-radius-sm);transition:transform var(--pm-motion-duration-control) var(--pm-motion-easing-standard);background:0 0;border:0;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}._chevron_17qsd_100 svg{animation:_combobox-glyph-enter_17qsd_1 var(--pm-motion-duration-control) var(--pm-motion-easing-enter)}@keyframes _combobox-glyph-enter_17qsd_1{0%{opacity:0}}._spinner_17qsd_136{display:inline-flex}._field_17qsd_12[data-size=sm]{gap:var(--pm-space-2);block-size:var(--pm-control-height-sm);padding-inline:var(--pm-space-4);font-family:var(--pm-text-xs-family);font-size:var(--pm-text-xs-size);font-weight:var(--pm-text-xs-weight);line-height:var(--pm-text-xs-line-height);letter-spacing:var(--pm-text-xs-tracking)}._field_17qsd_12[data-size=lg]{block-size:var(--pm-control-height-lg);padding-inline:var(--pm-space-6);font-family:var(--pm-text-md-family);font-size:var(--pm-text-md-size);font-weight:var(--pm-text-md-weight);line-height:var(--pm-text-md-line-height);letter-spacing:var(--pm-text-md-tracking)}._field_17qsd_12[data-invalid]{border-color:var(--pm-danger-border)}._field_17qsd_12[data-disabled]{color:var(--pm-text-disabled);cursor:not-allowed;background:var(--pm-bg-subtle);border-color:var(--pm-border-subtle);box-shadow:none}._field_17qsd_12[data-state=open]:not([data-invalid]),._field_17qsd_12:hover:not([data-disabled],[data-invalid]){border-color:var(--pm-border-strong)}._field_17qsd_12[data-state=open] ._chevron_17qsd_100{transform:rotate(180deg)}._field_17qsd_12[data-disabled] ._chevron_17qsd_100{color:var(--pm-text-disabled);cursor:not-allowed}._field_17qsd_12[data-loading] ._chevron_17qsd_100{transform:none}._content_17qsd_208{z-index:var(--pm-z-overlay);min-inline-size:var(--radix-popover-trigger-width);max-block-size:var(--radix-popover-content-available-height);padding:var(--pm-space-2);background:var(--pm-bg-overlay);border:1px solid var(--pm-border-subtle);border-radius:var(--pm-radius-surface);box-shadow:var(--pm-shadow-transient);transform-origin:var(--radix-popover-content-transform-origin);flex-direction:column;display:flex;overflow:hidden}._content_17qsd_208[data-state=open]{animation:_combobox-content-enter_17qsd_1 var(--pm-motion-duration-surface) var(--pm-motion-easing-enter)}._content_17qsd_208[data-state=closed]{animation:_combobox-content-exit_17qsd_1 var(--pm-motion-duration-surface-exit) var(--pm-motion-easing-exit)}@keyframes _combobox-content-enter_17qsd_1{0%{opacity:0;transform:scale(.94)}}@keyframes _combobox-content-exit_17qsd_1{to{opacity:0;transform:scale(.94)}}._listbox_17qsd_252{gap:var(--pm-space-1);outline:none;flex-direction:column;min-block-size:0;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}._sheetBody_17qsd_272{min-block-size:0;padding:var(--pm-space-2);flex-direction:column;padding-block-end:calc(var(--pm-space-2) + env(safe-area-inset-bottom,0px));display:flex}._option_17qsd_282{gap:var(--pm-space-2);min-block-size:var(--pm-control-height-sm);padding-inline:var(--pm-space-3);font-family:var(--pm-text-sm-family);font-size:var(--pm-text-sm-size);font-weight:var(--pm-text-sm-weight);line-height:var(--pm-text-sm-line-height);letter-spacing:var(--pm-text-sm-tracking);color:var(--pm-text-primary);cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:var(--pm-radius-sm);outline:none;align-items:center;display:flex}._check_17qsd_303{inline-size:var(--pm-icon-size-sm);flex:none;justify-content:center;align-items:center;display:inline-flex}._text_17qsd_312{flex-direction:column;justify-content:center;min-inline-size:0;display:flex}._label_17qsd_319{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}._description_17qsd_326{font-family:var(--pm-text-xs-family);font-size:var(--pm-text-xs-size);font-weight:var(--pm-text-xs-weight);line-height:var(--pm-text-xs-line-height);letter-spacing:var(--pm-text-xs-tracking);color:var(--pm-text-muted)}._option_17qsd_282[data-highlighted]{color:var(--pm-accent-text);background:var(--pm-accent-subtle)}._option_17qsd_282[data-highlighted] ._description_17qsd_326{color:inherit}._option_17qsd_282[data-disabled]{color:var(--pm-text-disabled);cursor:not-allowed;background:0 0}._option_17qsd_282[data-disabled] ._description_17qsd_326{color:var(--pm-text-disabled)}._option_17qsd_282[data-state=checked] ._check_17qsd_303{color:var(--pm-accent-text)}._content_17qsd_208[data-size=sm] ._option_17qsd_282,._sheetBody_17qsd_272[data-size=sm] ._option_17qsd_282{font-family:var(--pm-text-xs-family);font-size:var(--pm-text-xs-size);font-weight:var(--pm-text-xs-weight);line-height:var(--pm-text-xs-line-height);letter-spacing:var(--pm-text-xs-tracking)}._content_17qsd_208[data-size=lg] ._option_17qsd_282,._sheetBody_17qsd_272[data-size=lg] ._option_17qsd_282{font-family:var(--pm-text-md-family);font-size:var(--pm-text-md-size);font-weight:var(--pm-text-md-weight);line-height:var(--pm-text-md-line-height);letter-spacing:var(--pm-text-md-tracking)}._rows_17qsd_386{gap:var(--pm-space-1);flex-direction:column;display:flex}._row_17qsd_386{block-size:var(--pm-control-height-sm);padding-inline:var(--pm-space-3);align-items:center;display:flex}._empty_17qsd_401{block-size:var(--pm-control-height-sm);padding-inline:var(--pm-space-3);font-family:var(--pm-text-sm-family);font-size:var(--pm-text-sm-size);font-weight:var(--pm-text-sm-weight);line-height:var(--pm-text-sm-line-height);letter-spacing:var(--pm-text-sm-tracking);color:var(--pm-text-muted);justify-content:center;align-items:center;display:flex}@media (width<30rem){._input_17qsd_37{font-size:var(--pm-text-entry-size);line-height:var(--pm-text-entry-line-height)}}@media (prefers-reduced-motion:reduce){._chevron_17qsd_100{transition:none}@keyframes _combobox-content-enter_17qsd_1{0%{opacity:0}}@keyframes _combobox-content-exit_17qsd_1{to{opacity:0}}}._field_17qsd_12[data-sheeting]{z-index:calc(var(--pm-z-overlay) + var(--pm-z-raise))}@container style(--pm-axis-depth:glass){._content_17qsd_208{background:var(--pm-material-surface);-webkit-backdrop-filter:blur(var(--pm-material-blur)) saturate(var(--pm-material-saturate));backdrop-filter:blur(var(--pm-material-blur)) saturate(var(--pm-material-saturate))}}
|
|
1
|
+
._focusRing_1hr3n_49{--pm-focus-mark:initial;--pm-focus-inset:0px}._focusRing_1hr3n_49:focus-visible{outline:var(--pm-focus-width) solid var(--pm-focus-mark,var(--pm-border-focus-solid));outline-offset:calc(var(--pm-focus-offset) - var(--pm-focus-inset))}._focusRing_1hr3n_49:has(>input:focus-visible){outline:var(--pm-focus-width) solid var(--pm-focus-mark,var(--pm-border-focus-solid));outline-offset:calc(var(--pm-focus-offset) - var(--pm-focus-inset))}@container style(--pm-focus-place:outside){._focusRing_1hr3n_49:focus-visible{outline-color:var(--pm-border-focus-solid);outline-offset:var(--pm-focus-offset)}._focusRing_1hr3n_49:has(>input:focus-visible){outline-color:var(--pm-border-focus-solid);outline-offset:var(--pm-focus-offset)}}@container style(--pm-focus-place:inside){._focusRing_1hr3n_49:is([data-invalid],[aria-invalid=true],[data-selected],[data-range-start],[data-range-end]):focus-visible{outline-offset:calc(var(--pm-focus-offset) - var(--pm-focus-inset) - 1px)}._focusRing_1hr3n_49[data-invalid]:has(>input:focus-visible){outline-offset:calc(var(--pm-focus-offset) - var(--pm-focus-inset) - 1px)}}._focusAround_1hr3n_95:focus-visible{outline:var(--pm-focus-width) solid var(--pm-border-focus-solid);outline-offset:max(var(--pm-space-1), var(--pm-focus-offset))}._focusAround_1hr3n_95:has(>input:focus-visible){outline:var(--pm-focus-width) solid var(--pm-border-focus-solid);outline-offset:max(var(--pm-space-1), var(--pm-focus-offset))}@container style(--pm-focus-place:outside){._focusRing_1hr3n_49:focus-visible:not([data-invalid],[aria-invalid=true],[data-selected],[data-range-start],[data-range-end]){border-color:var(--pm-border-focus-solid)}._focusRing_1hr3n_49:has(>input:focus-visible):not([data-invalid]){border-color:var(--pm-border-focus-solid)}}@container style(--pm-focus-field:border){._focusRing_1hr3n_49:is(textarea,[role=combobox]):focus-visible{outline-offset:calc(var(--pm-focus-width) * -1)}._focusRing_1hr3n_49:has(>input:focus-visible){outline-offset:calc(var(--pm-focus-width) * -1)}._focusRing_1hr3n_49:is(textarea,[role=combobox]):is([data-invalid],[aria-invalid=true]):focus-visible{outline-offset:calc(var(--pm-focus-width) * -1 - 1px)}._focusRing_1hr3n_49[data-invalid]:has(>input:focus-visible){outline-offset:calc(var(--pm-focus-width) * -1 - 1px)}}._stateFeedback_lkjqs_17{transition:background-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), border-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), box-shadow var(--pm-motion-duration-control) var(--pm-motion-easing-standard)}._pressable_lkjqs_38{transition:background-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), border-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), box-shadow var(--pm-motion-duration-control) var(--pm-motion-easing-standard), transform var(--pm-motion-duration-control) var(--pm-motion-easing-enter)}._pressable_lkjqs_38:active{transform:scale(var(--pm-motion-press-scale));transition:background-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), border-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), box-shadow var(--pm-motion-duration-control) var(--pm-motion-easing-standard), transform calc(var(--pm-motion-duration-control) * .5) var(--pm-motion-easing-standard)}@keyframes _pm-spin_lkjqs_1{to{transform:rotate(360deg)}}@keyframes _pm-fade-in_lkjqs_1{0%{opacity:0}}@keyframes _pm-shimmer_lkjqs_1{0%{transform:translate(-100%)}to{transform:translate(100%)}}._spin_lkjqs_83{animation:_pm-spin_lkjqs_1 var(--pm-motion-ambient-spin) linear infinite}._fadeIn_lkjqs_92{animation:_pm-fade-in_lkjqs_1 var(--pm-motion-duration-control) var(--pm-motion-easing-enter) both}._shimmer_lkjqs_98{position:relative;overflow:hidden}._shimmer_lkjqs_98:after{content:"";background:linear-gradient(90deg, var(--pm-bg-subtle) 0%, var(--pm-bg-raised) 50%, var(--pm-bg-subtle) 100%);width:200%;animation:_pm-shimmer_lkjqs_1 var(--pm-motion-ambient-shimmer) linear infinite;position:absolute;inset:0}[data-motion=none] ._spin_lkjqs_83,[data-motion=none] ._fadeIn_lkjqs_92,[data-motion=none] ._shimmer_lkjqs_98:after{animation:none}@media (prefers-reduced-motion:reduce){._spin_lkjqs_83,._fadeIn_lkjqs_92,._shimmer_lkjqs_98:after{animation:none}._pressable_lkjqs_38,._pressable_lkjqs_38:active{transition:background-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), border-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), box-shadow var(--pm-motion-duration-control) var(--pm-motion-easing-standard);transform:none}}._field_191x7_12{gap:var(--pm-space-3);max-inline-size:100%;block-size:var(--pm-control-height-md);padding-inline:var(--pm-space-5);font-family:var(--pm-text-sm-family);font-size:var(--pm-text-sm-size);font-weight:var(--pm-text-sm-weight);line-height:var(--pm-text-sm-line-height);letter-spacing:var(--pm-text-sm-tracking);color:var(--pm-text-primary);cursor:text;background:var(--pm-bg-surface);border:1px solid var(--pm-border-field);border-radius:var(--pm-radius-control);box-shadow:var(--pm-shadow-seat);align-items:center;display:inline-flex;position:relative}._input_191x7_37{min-inline-size:0;font:inherit;color:inherit;background:0 0;border:0;outline:none;flex:1;padding:0}._input_191x7_37::placeholder{color:var(--pm-text-muted);opacity:1}._status_191x7_57{clip-path:inset(50%);white-space:nowrap;block-size:1px;inline-size:1px;padding:0;position:absolute;overflow:hidden}._clear_191x7_70{aspect-ratio:1;color:var(--pm-text-muted);cursor:pointer;border-radius:var(--pm-radius-sm);animation:_combobox-clear-enter_191x7_1 var(--pm-motion-duration-control) var(--pm-motion-easing-enter);background:0 0;border:0;flex:none;justify-content:center;align-self:stretch;align-items:center;padding:0;display:inline-flex}@keyframes _combobox-clear-enter_191x7_1{0%{opacity:0}}._clear_191x7_70:hover{color:var(--pm-text-primary);background:var(--pm-bg-subtle)}._chevron_191x7_100{color:var(--pm-text-muted);cursor:pointer;border-radius:var(--pm-radius-sm);transition:transform var(--pm-motion-duration-control) var(--pm-motion-easing-standard);background:0 0;border:0;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}._chevron_191x7_100 svg{animation:_combobox-glyph-enter_191x7_1 var(--pm-motion-duration-control) var(--pm-motion-easing-enter)}@keyframes _combobox-glyph-enter_191x7_1{0%{opacity:0}}._spinner_191x7_136{display:inline-flex}._field_191x7_12[data-size=sm]{gap:var(--pm-space-2);block-size:var(--pm-control-height-sm);padding-inline:var(--pm-space-4);font-family:var(--pm-text-xs-family);font-size:var(--pm-text-xs-size);font-weight:var(--pm-text-xs-weight);line-height:var(--pm-text-xs-line-height);letter-spacing:var(--pm-text-xs-tracking)}._field_191x7_12[data-size=lg]{block-size:var(--pm-control-height-lg);padding-inline:var(--pm-space-6);font-family:var(--pm-text-md-family);font-size:var(--pm-text-md-size);font-weight:var(--pm-text-md-weight);line-height:var(--pm-text-md-line-height);letter-spacing:var(--pm-text-md-tracking)}._field_191x7_12[data-invalid]{border-color:var(--pm-danger-border)}._field_191x7_12[data-disabled]{color:var(--pm-text-disabled);cursor:not-allowed;background:var(--pm-bg-subtle);border-color:var(--pm-border-subtle);box-shadow:none}._field_191x7_12[data-state=open]:not([data-invalid]),._field_191x7_12:hover:not([data-disabled],[data-invalid]){border-color:var(--pm-border-strong)}._field_191x7_12[data-state=open] ._chevron_191x7_100{transform:rotate(180deg)}._field_191x7_12[data-disabled] ._chevron_191x7_100{color:var(--pm-text-disabled);cursor:not-allowed}._field_191x7_12[data-loading] ._chevron_191x7_100{transform:none}._content_191x7_208{z-index:var(--pm-z-overlay);min-inline-size:var(--radix-popover-trigger-width);max-block-size:var(--radix-popover-content-available-height);padding:var(--pm-space-2);background:var(--pm-bg-overlay);border:1px solid var(--pm-border-subtle);border-radius:var(--pm-radius-surface);box-shadow:var(--pm-shadow-transient);transform-origin:var(--radix-popover-content-transform-origin);flex-direction:column;display:flex;overflow:hidden}._content_191x7_208[data-state=open]{animation:_combobox-content-enter_191x7_1 var(--pm-motion-duration-surface) var(--pm-motion-easing-enter)}._content_191x7_208[data-state=closed]{animation:_combobox-content-exit_191x7_1 var(--pm-motion-duration-surface-exit) var(--pm-motion-easing-exit)}@keyframes _combobox-content-enter_191x7_1{0%{opacity:0;transform:scale(.94)}}@keyframes _combobox-content-exit_191x7_1{to{opacity:0;transform:scale(.94)}}._listbox_191x7_252{gap:var(--pm-space-1);outline:none;flex-direction:column;min-block-size:0;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}._sheetBody_191x7_272{min-block-size:0;padding:var(--pm-space-2);flex-direction:column;padding-block-end:calc(var(--pm-space-2) + env(safe-area-inset-bottom,0px));display:flex}._option_191x7_282{gap:var(--pm-space-2);min-block-size:var(--pm-control-height-sm);padding-inline:var(--pm-space-3);font-family:var(--pm-text-sm-family);font-size:var(--pm-text-sm-size);font-weight:var(--pm-text-sm-weight);line-height:var(--pm-text-sm-line-height);letter-spacing:var(--pm-text-sm-tracking);color:var(--pm-text-primary);cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:var(--pm-radius-sm);outline:none;align-items:center;display:flex}._check_191x7_303{inline-size:var(--pm-icon-size-sm);flex:none;justify-content:center;align-items:center;display:inline-flex}._text_191x7_312{flex-direction:column;justify-content:center;min-inline-size:0;display:flex}._label_191x7_319{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}._description_191x7_326{font-family:var(--pm-text-xs-family);font-size:var(--pm-text-xs-size);font-weight:var(--pm-text-xs-weight);line-height:var(--pm-text-xs-line-height);letter-spacing:var(--pm-text-xs-tracking);color:var(--pm-text-muted)}._option_191x7_282[data-highlighted]{color:var(--pm-accent-text);background:var(--pm-accent-subtle)}._option_191x7_282[data-highlighted] ._description_191x7_326{color:inherit}._option_191x7_282[data-disabled]{color:var(--pm-text-disabled);cursor:not-allowed;background:0 0}._option_191x7_282[data-disabled] ._description_191x7_326{color:var(--pm-text-disabled)}._option_191x7_282[data-state=checked] ._check_191x7_303{color:var(--pm-accent-text)}._option_191x7_282[data-disabled] ._check_191x7_303{color:var(--pm-text-disabled)}._content_191x7_208[data-size=sm] ._option_191x7_282,._sheetBody_191x7_272[data-size=sm] ._option_191x7_282{font-family:var(--pm-text-xs-family);font-size:var(--pm-text-xs-size);font-weight:var(--pm-text-xs-weight);line-height:var(--pm-text-xs-line-height);letter-spacing:var(--pm-text-xs-tracking)}._content_191x7_208[data-size=lg] ._option_191x7_282,._sheetBody_191x7_272[data-size=lg] ._option_191x7_282{font-family:var(--pm-text-md-family);font-size:var(--pm-text-md-size);font-weight:var(--pm-text-md-weight);line-height:var(--pm-text-md-line-height);letter-spacing:var(--pm-text-md-tracking)}._rows_191x7_391{gap:var(--pm-space-1);flex-direction:column;display:flex}._row_191x7_391{block-size:var(--pm-control-height-sm);padding-inline:var(--pm-space-3);align-items:center;display:flex}._empty_191x7_406{block-size:var(--pm-control-height-sm);padding-inline:var(--pm-space-3);font-family:var(--pm-text-sm-family);font-size:var(--pm-text-sm-size);font-weight:var(--pm-text-sm-weight);line-height:var(--pm-text-sm-line-height);letter-spacing:var(--pm-text-sm-tracking);color:var(--pm-text-muted);justify-content:center;align-items:center;display:flex}@media (width<30rem){._input_191x7_37{font-size:var(--pm-text-entry-size);line-height:var(--pm-text-entry-line-height)}}@media (prefers-reduced-motion:reduce){._chevron_191x7_100{transition:none}@keyframes _combobox-content-enter_191x7_1{0%{opacity:0}}@keyframes _combobox-content-exit_191x7_1{to{opacity:0}}}._field_191x7_12[data-sheeting]{z-index:calc(var(--pm-z-overlay) + var(--pm-z-raise))}@container style(--pm-axis-depth:glass){._content_191x7_208{background:var(--pm-material-surface);-webkit-backdrop-filter:blur(var(--pm-material-blur)) saturate(var(--pm-material-saturate));backdrop-filter:blur(var(--pm-material-blur)) saturate(var(--pm-material-saturate))}}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import './combobox.css';
|
|
2
2
|
//#region ../recipes/src/controls/combobox.module.css
|
|
3
|
-
var e = "
|
|
3
|
+
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", _ = {
|
|
4
4
|
field: e,
|
|
5
5
|
input: t,
|
|
6
6
|
status: n,
|
|
7
7
|
clear: r,
|
|
8
|
-
"combobox-clear-enter": "_combobox-clear-
|
|
8
|
+
"combobox-clear-enter": "_combobox-clear-enter_191x7_1",
|
|
9
9
|
chevron: i,
|
|
10
|
-
"combobox-glyph-enter": "_combobox-glyph-
|
|
10
|
+
"combobox-glyph-enter": "_combobox-glyph-enter_191x7_1",
|
|
11
11
|
spinner: a,
|
|
12
12
|
content: o,
|
|
13
|
-
"combobox-content-enter": "_combobox-content-
|
|
14
|
-
"combobox-content-exit": "_combobox-content-
|
|
13
|
+
"combobox-content-enter": "_combobox-content-enter_191x7_1",
|
|
14
|
+
"combobox-content-exit": "_combobox-content-exit_191x7_1",
|
|
15
15
|
listbox: s,
|
|
16
16
|
sheetBody: c,
|
|
17
17
|
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 +1 @@
|
|
|
1
|
-
._focusRing_1lfnc_15:focus-visible{outline:var(--pm-focus-width) solid var(--pm-border-focus);outline-offset:var(--pm-focus-offset);box-shadow:var(--pm-glow-focus)}._focusRing_1lfnc_15:has(>input:focus-visible){outline:var(--pm-focus-width) solid var(--pm-border-focus);outline-offset:var(--pm-focus-offset);box-shadow:var(--pm-glow-focus)}._focusRing_1lfnc_15:focus-visible:not([data-invalid],[aria-invalid=true],[data-selected],[data-range-start],[data-range-end]){border-color:var(--pm-border-focus-solid)}._focusRing_1lfnc_15:has(>input:focus-visible):not([data-invalid]){border-color:var(--pm-border-focus-solid)}@container style(--pm-focus-field:border){._focusRing_1lfnc_15:is(textarea,[role=combobox]):focus-visible:not([data-invalid],[aria-invalid=true]){outline-color:var(--pm-border-focus-solid);outline-offset:calc(var(--pm-focus-width) * -1);box-shadow:var(--pm-shadow-seat)}._focusRing_1lfnc_15:has(>input:focus-visible):not([data-invalid]){outline-color:var(--pm-border-focus-solid);outline-offset:calc(var(--pm-focus-width) * -1);box-shadow:var(--pm-shadow-seat)}}._stateFeedback_lkjqs_17{transition:background-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), border-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), box-shadow var(--pm-motion-duration-control) var(--pm-motion-easing-standard)}._pressable_lkjqs_38{transition:background-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), border-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), box-shadow var(--pm-motion-duration-control) var(--pm-motion-easing-standard), transform var(--pm-motion-duration-control) var(--pm-motion-easing-enter)}._pressable_lkjqs_38:active{transform:scale(var(--pm-motion-press-scale));transition:background-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), border-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), box-shadow var(--pm-motion-duration-control) var(--pm-motion-easing-standard), transform calc(var(--pm-motion-duration-control) * .5) var(--pm-motion-easing-standard)}@keyframes _pm-spin_lkjqs_1{to{transform:rotate(360deg)}}@keyframes _pm-fade-in_lkjqs_1{0%{opacity:0}}@keyframes _pm-shimmer_lkjqs_1{0%{transform:translate(-100%)}to{transform:translate(100%)}}._spin_lkjqs_83{animation:_pm-spin_lkjqs_1 var(--pm-motion-ambient-spin) linear infinite}._fadeIn_lkjqs_92{animation:_pm-fade-in_lkjqs_1 var(--pm-motion-duration-control) var(--pm-motion-easing-enter) both}._shimmer_lkjqs_98{position:relative;overflow:hidden}._shimmer_lkjqs_98:after{content:"";background:linear-gradient(90deg, var(--pm-bg-subtle) 0%, var(--pm-bg-raised) 50%, var(--pm-bg-subtle) 100%);width:200%;animation:_pm-shimmer_lkjqs_1 var(--pm-motion-ambient-shimmer) linear infinite;position:absolute;inset:0}[data-motion=none] ._spin_lkjqs_83,[data-motion=none] ._fadeIn_lkjqs_92,[data-motion=none] ._shimmer_lkjqs_98:after{animation:none}@media (prefers-reduced-motion:reduce){._spin_lkjqs_83,._fadeIn_lkjqs_92,._shimmer_lkjqs_98:after{animation:none}._pressable_lkjqs_38,._pressable_lkjqs_38:active{transition:background-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), border-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), box-shadow var(--pm-motion-duration-control) var(--pm-motion-easing-standard);transform:none}}._button_17o12_17{gap:var(--pm-space-3);max-inline-size:100%;block-size:var(--pm-control-height-md);padding-inline:var(--pm-space-5);font-family:var(--pm-text-sm-family);font-size:var(--pm-text-sm-size);font-weight:var(--pm-text-sm-weight);line-height:var(--pm-text-sm-line-height);letter-spacing:var(--pm-text-sm-tracking);color:var(--pm-text-primary);cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:var(--pm-radius-control);background:0 0;border:1px solid #0000;justify-content:center;align-items:center;display:inline-flex}._label_17o12_43{text-overflow:ellipsis;white-space:nowrap;min-inline-size:0;overflow:hidden}._glyph_17o12_50,._spinner_17o12_13{flex:none;justify-content:center;align-items:center;display:inline-flex}._count_17o12_67{pointer-events:none;flex:none;display:inline-flex}._button_17o12_17[data-size=sm]{gap:var(--pm-space-2);block-size:var(--pm-control-height-sm);padding-inline:var(--pm-space-4);font-family:var(--pm-text-xs-family);font-size:var(--pm-text-xs-size);font-weight:var(--pm-text-xs-weight);line-height:var(--pm-text-xs-line-height);letter-spacing:var(--pm-text-xs-tracking)}._button_17o12_17[data-size=lg]{block-size:var(--pm-control-height-lg);padding-inline:var(--pm-space-6);font-family:var(--pm-text-md-family);font-size:var(--pm-text-md-size);font-weight:var(--pm-text-md-weight);line-height:var(--pm-text-md-line-height);letter-spacing:var(--pm-text-md-tracking)}._button_17o12_17[data-icon-only]{inline-size:var(--pm-control-height-md);padding-inline:0}._button_17o12_17[data-icon-only]:has(>._count_17o12_67){position:relative}._button_17o12_17[data-icon-only]>._count_17o12_67{position:absolute;inset-block-start:0;inset-inline-start:50%}._button_17o12_17[data-state=loading]{pointer-events:none}._button_17o12_17[data-size=sm][data-icon-only]{inline-size:var(--pm-control-height-sm)}._button_17o12_17[data-size=lg][data-icon-only]{inline-size:var(--pm-control-height-lg)}._button_17o12_17[data-variant=solid][data-tone=accent]{color:var(--pm-accent-contrast);background-color:var(--pm-accent-bg);background-image:var(--pm-accent-gradient);box-shadow:var(--pm-shadow-seat), var(--pm-shadow-inset-top)}._button_17o12_17[data-variant=solid][data-tone=danger]{color:var(--pm-danger-contrast);background:var(--pm-danger-solid);box-shadow:var(--pm-shadow-seat), var(--pm-shadow-inset-top)}._button_17o12_17[data-variant=soft][data-tone=accent]{color:var(--pm-accent-text);background:var(--pm-accent-subtle)}._button_17o12_17[data-variant=soft][data-tone=danger]{color:var(--pm-danger-text);background:var(--pm-danger-subtle)}._button_17o12_17[data-variant=outline][data-tone=neutral]{color:var(--pm-text-primary);border-color:var(--pm-border-field)}._button_17o12_17[data-variant=outline][data-tone=accent]{color:var(--pm-accent-text);border-color:var(--pm-accent-bg)}._button_17o12_17[data-variant=outline][data-tone=danger]{color:var(--pm-danger-text);border-color:var(--pm-danger-border)}._button_17o12_17[data-variant=ghost][data-tone=neutral]{color:var(--pm-text-secondary)}._button_17o12_17[data-variant=ghost][data-tone=accent]{color:var(--pm-accent-text)}._button_17o12_17[data-variant=ghost][data-tone=danger]{color:var(--pm-danger-text)}._button_17o12_17[data-variant=solid][data-disabled],._button_17o12_17[data-variant=soft][data-disabled]{color:var(--pm-text-disabled);cursor:not-allowed;background:var(--pm-bg-subtle);box-shadow:none;border-color:#0000}._button_17o12_17[data-variant=outline][data-disabled]{color:var(--pm-text-disabled);cursor:not-allowed;border-color:var(--pm-border-subtle);background:0 0}._button_17o12_17[data-variant=ghost][data-disabled]{color:var(--pm-text-disabled);cursor:not-allowed;background:0 0}._button_17o12_17[data-disabled]>._count_17o12_67{filter:grayscale();opacity:.5}._button_17o12_17[data-variant=solid][data-tone=accent]:not(:disabled):hover{background-color:var(--pm-accent-bg-hover);box-shadow:var(--pm-glow-hover)}._button_17o12_17[data-variant=solid][data-tone=danger]:not(:disabled):hover{background:var(--pm-danger-solid-hover)}._button_17o12_17[data-variant=soft][data-tone=accent]:not(:disabled):hover{background:var(--pm-accent-subtle-hover)}._button_17o12_17[data-variant=soft][data-tone=danger]:not(:disabled):hover{background:var(--pm-danger-subtle-hover)}._button_17o12_17[data-variant=outline][data-tone=neutral]:not(:disabled):hover{background:var(--pm-bg-subtle);border-color:var(--pm-border-strong)}._button_17o12_17[data-variant=outline][data-tone=accent]:not(:disabled):hover{background:var(--pm-accent-subtle)}._button_17o12_17[data-variant=outline][data-tone=danger]:not(:disabled):hover{background:var(--pm-danger-subtle)}._button_17o12_17[data-variant=ghost][data-tone=neutral]:not(:disabled):hover{color:var(--pm-text-primary);background:var(--pm-bg-subtle)}._button_17o12_17[data-variant=ghost][data-tone=accent]:not(:disabled):hover{background:var(--pm-accent-subtle)}._button_17o12_17[data-variant=ghost][data-tone=danger]:not(:disabled):hover{background:var(--pm-danger-subtle)}@container style(--pm-hover-unfilled:none){._button_17o12_17:is([data-variant=outline],[data-variant=ghost])[data-tone]:not(:disabled):hover{background:0 0}}._button_17o12_17[data-variant=solid][data-tone=accent]:not(:disabled):active{background-color:var(--pm-accent-bg-active)}._button_17o12_17[data-variant=solid][data-tone=danger]:not(:disabled):active{background:var(--pm-danger-solid-active)}._button_17o12_17[data-variant=soft][data-tone=accent]:not(:disabled):active{background:var(--pm-accent-subtle-active)}._button_17o12_17[data-variant=soft][data-tone=danger]:not(:disabled):active{background:var(--pm-danger-subtle-active)}._button_17o12_17[data-variant=outline][data-tone=neutral]:not(:disabled):active{background:var(--pm-bg-subtle);border-color:var(--pm-border-strong)}._button_17o12_17[data-variant=outline][data-tone=accent]:not(:disabled):active{background:var(--pm-accent-subtle-hover)}._button_17o12_17[data-variant=outline][data-tone=danger]:not(:disabled):active{background:var(--pm-danger-subtle-hover)}._button_17o12_17[data-variant=ghost][data-tone=neutral]:not(:disabled):active{color:var(--pm-text-primary);background:var(--pm-bg-subtle)}._button_17o12_17[data-variant=ghost][data-tone=accent]:not(:disabled):active{background:var(--pm-accent-subtle-hover)}._button_17o12_17[data-variant=ghost][data-tone=danger]:not(:disabled):active{background:var(--pm-danger-subtle-hover)}._button_17o12_17[data-variant=solid][data-tone=accent][data-state=on]:not(:disabled){background-color:var(--pm-accent-bg-active)}._button_17o12_17[data-variant=solid][data-tone=danger][data-state=on]:not(:disabled){background:var(--pm-danger-solid-active)}._button_17o12_17[data-variant=soft][data-tone=accent][data-state=on]:not(:disabled){background:var(--pm-accent-subtle-active)}._button_17o12_17[data-variant=soft][data-tone=danger][data-state=on]:not(:disabled){background:var(--pm-danger-subtle-active)}._button_17o12_17[data-variant=outline][data-tone=neutral][data-state=on]:not(:disabled){background:var(--pm-bg-subtle);border-color:var(--pm-border-strong)}._button_17o12_17[data-variant=outline][data-tone=accent][data-state=on]:not(:disabled){background:var(--pm-accent-subtle-hover)}._button_17o12_17[data-variant=outline][data-tone=danger][data-state=on]:not(:disabled){background:var(--pm-danger-subtle-hover)}._button_17o12_17[data-variant=ghost][data-tone=neutral][data-state=on]:not(:disabled){color:var(--pm-text-primary);background:var(--pm-bg-subtle)}._button_17o12_17[data-variant=ghost][data-tone=accent][data-state=on]:not(:disabled){background:var(--pm-accent-subtle-hover)}._button_17o12_17[data-variant=ghost][data-tone=danger][data-state=on]:not(:disabled){background:var(--pm-danger-subtle-hover)}._visuallyHidden_qxi8b_14{white-space:nowrap;clip-path:inset(50%);block-size:1px;inline-size:1px;position:absolute;overflow:hidden}._glyphs_1nwki_17{display:inline-grid}._copyGlyph_1nwki_21{grid-area:1/1;justify-content:center;align-items:center;display:inline-flex}._confirmGlyph_1nwki_32{color:var(--pm-success-text);opacity:0;transition:opacity var(--pm-motion-duration-control-exit) var(--pm-motion-easing-exit);grid-area:1/1;justify-content:center;align-items:center;display:inline-flex}._button_1nwki_9[data-state=copied] ._copyGlyph_1nwki_21{opacity:0}._button_1nwki_9[data-state=copied] ._confirmGlyph_1nwki_32{opacity:1;animation:_copy-button-pop_1nwki_1 var(--pm-motion-duration-control) var(--pm-motion-easing-enter);transition:none}@keyframes _copy-button-pop_1nwki_1{0%{opacity:0;transform:scale(.5)}}@media (prefers-reduced-motion:reduce){@keyframes _copy-button-pop_1nwki_1{0%{opacity:0}}}
|
|
1
|
+
._focusRing_1hr3n_49{--pm-focus-mark:initial;--pm-focus-inset:0px}._focusRing_1hr3n_49:focus-visible{outline:var(--pm-focus-width) solid var(--pm-focus-mark,var(--pm-border-focus-solid));outline-offset:calc(var(--pm-focus-offset) - var(--pm-focus-inset))}._focusRing_1hr3n_49:has(>input:focus-visible){outline:var(--pm-focus-width) solid var(--pm-focus-mark,var(--pm-border-focus-solid));outline-offset:calc(var(--pm-focus-offset) - var(--pm-focus-inset))}@container style(--pm-focus-place:outside){._focusRing_1hr3n_49:focus-visible{outline-color:var(--pm-border-focus-solid);outline-offset:var(--pm-focus-offset)}._focusRing_1hr3n_49:has(>input:focus-visible){outline-color:var(--pm-border-focus-solid);outline-offset:var(--pm-focus-offset)}}@container style(--pm-focus-place:inside){._focusRing_1hr3n_49:is([data-invalid],[aria-invalid=true],[data-selected],[data-range-start],[data-range-end]):focus-visible{outline-offset:calc(var(--pm-focus-offset) - var(--pm-focus-inset) - 1px)}._focusRing_1hr3n_49[data-invalid]:has(>input:focus-visible){outline-offset:calc(var(--pm-focus-offset) - var(--pm-focus-inset) - 1px)}}._focusAround_1hr3n_95:focus-visible{outline:var(--pm-focus-width) solid var(--pm-border-focus-solid);outline-offset:max(var(--pm-space-1), var(--pm-focus-offset))}._focusAround_1hr3n_95:has(>input:focus-visible){outline:var(--pm-focus-width) solid var(--pm-border-focus-solid);outline-offset:max(var(--pm-space-1), var(--pm-focus-offset))}@container style(--pm-focus-place:outside){._focusRing_1hr3n_49:focus-visible:not([data-invalid],[aria-invalid=true],[data-selected],[data-range-start],[data-range-end]){border-color:var(--pm-border-focus-solid)}._focusRing_1hr3n_49:has(>input:focus-visible):not([data-invalid]){border-color:var(--pm-border-focus-solid)}}@container style(--pm-focus-field:border){._focusRing_1hr3n_49:is(textarea,[role=combobox]):focus-visible{outline-offset:calc(var(--pm-focus-width) * -1)}._focusRing_1hr3n_49:has(>input:focus-visible){outline-offset:calc(var(--pm-focus-width) * -1)}._focusRing_1hr3n_49:is(textarea,[role=combobox]):is([data-invalid],[aria-invalid=true]):focus-visible{outline-offset:calc(var(--pm-focus-width) * -1 - 1px)}._focusRing_1hr3n_49[data-invalid]:has(>input:focus-visible){outline-offset:calc(var(--pm-focus-width) * -1 - 1px)}}._anchor_11q5z_10{display:inline-flex}._bubble_11q5z_14{z-index:var(--pm-z-overlay);max-inline-size:min(calc(var(--pm-space-10) * 3), calc(var(--radix-tooltip-content-available-width,100vw) - var(--pm-space-2)));padding:var(--pm-space-2) var(--pm-space-3);font-family:var(--pm-text-xs-family);font-size:var(--pm-text-xs-size);font-weight:var(--pm-text-xs-weight);line-height:var(--pm-text-xs-line-height);letter-spacing:var(--pm-text-xs-tracking);color:var(--pm-text-inverse);background:var(--pm-bg-inverse);border-radius:var(--pm-radius-detail);box-shadow:var(--pm-shadow-raised)}._bubble_11q5z_14[data-side=top]{margin-bottom:var(--pm-space-2)}._bubble_11q5z_14[data-side=bottom]{margin-top:var(--pm-space-2)}._bubble_11q5z_14[data-side=left]{margin-right:var(--pm-space-2)}._bubble_11q5z_14[data-side=right]{margin-left:var(--pm-space-2)}._bubble_11q5z_14[data-state=delayed-open],._bubble_11q5z_14[data-state=instant-open]{pointer-events:auto}._bubble_11q5z_14[data-state=closed]{pointer-events:none}._stateFeedback_lkjqs_17{transition:background-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), border-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), box-shadow var(--pm-motion-duration-control) var(--pm-motion-easing-standard)}._pressable_lkjqs_38{transition:background-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), border-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), box-shadow var(--pm-motion-duration-control) var(--pm-motion-easing-standard), transform var(--pm-motion-duration-control) var(--pm-motion-easing-enter)}._pressable_lkjqs_38:active{transform:scale(var(--pm-motion-press-scale));transition:background-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), border-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), box-shadow var(--pm-motion-duration-control) var(--pm-motion-easing-standard), transform calc(var(--pm-motion-duration-control) * .5) var(--pm-motion-easing-standard)}@keyframes _pm-spin_lkjqs_1{to{transform:rotate(360deg)}}@keyframes _pm-fade-in_lkjqs_1{0%{opacity:0}}@keyframes _pm-shimmer_lkjqs_1{0%{transform:translate(-100%)}to{transform:translate(100%)}}._spin_lkjqs_83{animation:_pm-spin_lkjqs_1 var(--pm-motion-ambient-spin) linear infinite}._fadeIn_lkjqs_92{animation:_pm-fade-in_lkjqs_1 var(--pm-motion-duration-control) var(--pm-motion-easing-enter) both}._shimmer_lkjqs_98{position:relative;overflow:hidden}._shimmer_lkjqs_98:after{content:"";background:linear-gradient(90deg, var(--pm-bg-subtle) 0%, var(--pm-bg-raised) 50%, var(--pm-bg-subtle) 100%);width:200%;animation:_pm-shimmer_lkjqs_1 var(--pm-motion-ambient-shimmer) linear infinite;position:absolute;inset:0}[data-motion=none] ._spin_lkjqs_83,[data-motion=none] ._fadeIn_lkjqs_92,[data-motion=none] ._shimmer_lkjqs_98:after{animation:none}@media (prefers-reduced-motion:reduce){._spin_lkjqs_83,._fadeIn_lkjqs_92,._shimmer_lkjqs_98:after{animation:none}._pressable_lkjqs_38,._pressable_lkjqs_38:active{transition:background-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), border-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), box-shadow var(--pm-motion-duration-control) var(--pm-motion-easing-standard);transform:none}}._button_cxa90_17{gap:var(--pm-space-3);max-inline-size:100%;block-size:var(--pm-control-height-md);padding-inline:var(--pm-space-5);font-family:var(--pm-text-sm-family);font-size:var(--pm-text-sm-size);font-weight:var(--pm-text-sm-weight);line-height:var(--pm-text-sm-line-height);letter-spacing:var(--pm-text-sm-tracking);color:var(--pm-text-primary);cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:var(--pm-radius-control);background:0 0;border:1px solid #0000;justify-content:center;align-items:center;display:inline-flex}._label_cxa90_43{text-overflow:ellipsis;white-space:nowrap;min-inline-size:0;overflow:hidden}._glyph_cxa90_50,._spinner_cxa90_13{flex:none;justify-content:center;align-items:center;display:inline-flex}._count_cxa90_67{pointer-events:none;flex:none;display:inline-flex}._tip_cxa90_80{pointer-events:none;border:0;margin:0;position:fixed;inset:auto}._button_cxa90_17[data-size=sm]{gap:var(--pm-space-2);block-size:var(--pm-control-height-sm);padding-inline:var(--pm-space-4);font-family:var(--pm-text-xs-family);font-size:var(--pm-text-xs-size);font-weight:var(--pm-text-xs-weight);line-height:var(--pm-text-xs-line-height);letter-spacing:var(--pm-text-xs-tracking)}._button_cxa90_17[data-size=lg]{block-size:var(--pm-control-height-lg);padding-inline:var(--pm-space-6);font-family:var(--pm-text-md-family);font-size:var(--pm-text-md-size);font-weight:var(--pm-text-md-weight);line-height:var(--pm-text-md-line-height);letter-spacing:var(--pm-text-md-tracking)}._button_cxa90_17[data-icon-only]{inline-size:var(--pm-control-height-md);padding-inline:0}._button_cxa90_17[data-icon-only]:has(>._count_cxa90_67){position:relative}._button_cxa90_17[data-icon-only]>._count_cxa90_67{position:absolute;inset-block-start:0;inset-inline-start:50%}._button_cxa90_17[data-state=loading]{pointer-events:none}._button_cxa90_17[data-size=sm][data-icon-only]{inline-size:var(--pm-control-height-sm)}._button_cxa90_17[data-size=lg][data-icon-only]{inline-size:var(--pm-control-height-lg)}._button_cxa90_17[data-variant=solid][data-tone=accent]{color:var(--pm-accent-contrast);background-color:var(--pm-accent-bg);background-image:var(--pm-accent-gradient);box-shadow:var(--pm-shadow-seat), var(--pm-shadow-inset-top)}._button_cxa90_17[data-variant=solid][data-tone=danger]{color:var(--pm-danger-contrast);background:var(--pm-danger-solid);box-shadow:var(--pm-shadow-seat), var(--pm-shadow-inset-top)}._button_cxa90_17[data-variant=soft][data-tone=accent]{color:var(--pm-accent-text);background:var(--pm-accent-subtle)}._button_cxa90_17[data-variant=soft][data-tone=danger]{color:var(--pm-danger-text);background:var(--pm-danger-subtle)}._button_cxa90_17[data-variant=outline][data-tone=neutral]{color:var(--pm-text-primary);border-color:var(--pm-border-field)}._button_cxa90_17[data-variant=outline][data-tone=accent]{color:var(--pm-accent-text);border-color:var(--pm-accent-bg)}._button_cxa90_17[data-variant=outline][data-tone=danger]{color:var(--pm-danger-text);border-color:var(--pm-danger-border)}._button_cxa90_17[data-variant=ghost][data-tone=neutral]{color:var(--pm-text-secondary)}._button_cxa90_17[data-variant=ghost][data-tone=accent]{color:var(--pm-accent-text)}._button_cxa90_17[data-variant=ghost][data-tone=danger]{color:var(--pm-danger-text)}._button_cxa90_17[data-variant=solid][data-disabled],._button_cxa90_17[data-variant=soft][data-disabled]{color:var(--pm-text-disabled);cursor:not-allowed;background:var(--pm-bg-subtle);box-shadow:none;border-color:#0000}._button_cxa90_17[data-variant=outline][data-disabled]{color:var(--pm-text-disabled);cursor:not-allowed;border-color:var(--pm-border-subtle);background:0 0}._button_cxa90_17[data-variant=ghost][data-disabled]{color:var(--pm-text-disabled);cursor:not-allowed;background:0 0}._button_cxa90_17[data-disabled]>._count_cxa90_67{filter:grayscale();opacity:.5}._button_cxa90_17[data-variant=solid][data-tone=accent]:not(:disabled):hover{background-color:var(--pm-accent-bg-hover);box-shadow:var(--pm-glow-hover)}._button_cxa90_17[data-variant=solid][data-tone=danger]:not(:disabled):hover{background:var(--pm-danger-solid-hover)}._button_cxa90_17[data-variant=soft][data-tone=accent]:not(:disabled):hover{background:var(--pm-accent-subtle-hover)}._button_cxa90_17[data-variant=soft][data-tone=danger]:not(:disabled):hover{background:var(--pm-danger-subtle-hover)}._button_cxa90_17[data-variant=outline][data-tone=neutral]:not(:disabled):hover{background:var(--pm-bg-subtle);border-color:var(--pm-border-strong)}._button_cxa90_17[data-variant=outline][data-tone=accent]:not(:disabled):hover{background:var(--pm-accent-subtle)}._button_cxa90_17[data-variant=outline][data-tone=danger]:not(:disabled):hover{background:var(--pm-danger-subtle)}._button_cxa90_17[data-variant=ghost][data-tone=neutral]:not(:disabled):hover{color:var(--pm-text-primary);background:var(--pm-bg-subtle)}._button_cxa90_17[data-variant=ghost][data-tone=accent]:not(:disabled):hover{background:var(--pm-accent-subtle)}._button_cxa90_17[data-variant=ghost][data-tone=danger]:not(:disabled):hover{background:var(--pm-danger-subtle)}@container style(--pm-hover-unfilled:none){._button_cxa90_17:is([data-variant=outline],[data-variant=ghost])[data-tone]:not(:disabled):hover{background:0 0}}._button_cxa90_17[data-variant=solid][data-tone=accent]:not(:disabled):active{background-color:var(--pm-accent-bg-active)}._button_cxa90_17[data-variant=solid][data-tone=danger]:not(:disabled):active{background:var(--pm-danger-solid-active)}._button_cxa90_17[data-variant=soft][data-tone=accent]:not(:disabled):active{background:var(--pm-accent-subtle-active)}._button_cxa90_17[data-variant=soft][data-tone=danger]:not(:disabled):active{background:var(--pm-danger-subtle-active)}._button_cxa90_17[data-variant=outline][data-tone=neutral]:not(:disabled):active{background:var(--pm-bg-subtle);border-color:var(--pm-border-strong)}._button_cxa90_17[data-variant=outline][data-tone=accent]:not(:disabled):active{background:var(--pm-accent-subtle-hover)}._button_cxa90_17[data-variant=outline][data-tone=danger]:not(:disabled):active{background:var(--pm-danger-subtle-hover)}._button_cxa90_17[data-variant=ghost][data-tone=neutral]:not(:disabled):active{color:var(--pm-text-primary);background:var(--pm-bg-subtle)}._button_cxa90_17[data-variant=ghost][data-tone=accent]:not(:disabled):active{background:var(--pm-accent-subtle-hover)}._button_cxa90_17[data-variant=ghost][data-tone=danger]:not(:disabled):active{background:var(--pm-danger-subtle-hover)}._button_cxa90_17[data-variant=solid][data-tone=accent][data-state=on]:not(:disabled){background-color:var(--pm-accent-bg-active)}._button_cxa90_17[data-variant=solid][data-tone=danger][data-state=on]:not(:disabled){background:var(--pm-danger-solid-active)}._button_cxa90_17[data-variant=soft][data-tone=accent][data-state=on]:not(:disabled){background:var(--pm-accent-subtle-active)}._button_cxa90_17[data-variant=soft][data-tone=danger][data-state=on]:not(:disabled){background:var(--pm-danger-subtle-active)}._button_cxa90_17[data-variant=outline][data-tone=neutral][data-state=on]:not(:disabled){background:var(--pm-bg-subtle);border-color:var(--pm-border-strong)}._button_cxa90_17[data-variant=outline][data-tone=accent][data-state=on]:not(:disabled){background:var(--pm-accent-subtle-hover)}._button_cxa90_17[data-variant=outline][data-tone=danger][data-state=on]:not(:disabled){background:var(--pm-danger-subtle-hover)}._button_cxa90_17[data-variant=ghost][data-tone=neutral][data-state=on]:not(:disabled){color:var(--pm-text-primary);background:var(--pm-bg-subtle)}._button_cxa90_17[data-variant=ghost][data-tone=accent][data-state=on]:not(:disabled){background:var(--pm-accent-subtle-hover)}._button_cxa90_17[data-variant=ghost][data-tone=danger][data-state=on]:not(:disabled){background:var(--pm-danger-subtle-hover)}._button_cxa90_17[data-variant=solid][data-tone]:focus-visible{--pm-focus-mark:currentcolor;--pm-focus-inset:var(--pm-focus-width)}._visuallyHidden_qxi8b_14{white-space:nowrap;clip-path:inset(50%);block-size:1px;inline-size:1px;position:absolute;overflow:hidden}._glyphs_daa4k_23{display:inline-grid}._copyGlyph_daa4k_27{grid-area:1/1;justify-content:center;align-items:center;display:inline-flex}._confirmGlyph_daa4k_38{color:var(--pm-success-text);opacity:0;transition:opacity var(--pm-motion-duration-control-exit) var(--pm-motion-easing-exit);grid-area:1/1;justify-content:center;align-items:center;display:inline-flex}._button_daa4k_9[data-state=copied] ._copyGlyph_daa4k_27{opacity:0}._button_daa4k_9[data-state=copied] ._confirmGlyph_daa4k_38{opacity:1;animation:_copy-button-pop_daa4k_1 var(--pm-motion-duration-control) var(--pm-motion-easing-enter);transition:none}@keyframes _copy-button-pop_daa4k_1{0%{opacity:0;transform:scale(.5)}}@media (prefers-reduced-motion:reduce){@keyframes _copy-button-pop_daa4k_1{0%{opacity:0}}}
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import './copy-button.css';
|
|
2
2
|
//#region ../recipes/src/controls/copy-button.module.css
|
|
3
|
-
var e = "
|
|
3
|
+
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 = {
|
|
4
4
|
button: e,
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
tip: t,
|
|
6
|
+
glyphs: n,
|
|
7
|
+
copyGlyph: r,
|
|
8
|
+
confirmGlyph: i,
|
|
9
|
+
"copy-button-pop": "_copy-button-pop_daa4k_1",
|
|
10
|
+
status: a
|
|
10
11
|
};
|
|
11
12
|
//#endregion
|
|
12
|
-
export { e as button,
|
|
13
|
+
export { e as button, i as confirmGlyph, r as copyGlyph, o as default, n as glyphs, a as status, t as tip };
|
|
13
14
|
|
|
14
15
|
//# 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 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._focusRing_1hr3n_49{--pm-focus-mark:initial;--pm-focus-inset:0px}._focusRing_1hr3n_49:focus-visible{outline:var(--pm-focus-width) solid var(--pm-focus-mark,var(--pm-border-focus-solid));outline-offset:calc(var(--pm-focus-offset) - var(--pm-focus-inset))}._focusRing_1hr3n_49:has(>input:focus-visible){outline:var(--pm-focus-width) solid var(--pm-focus-mark,var(--pm-border-focus-solid));outline-offset:calc(var(--pm-focus-offset) - var(--pm-focus-inset))}@container style(--pm-focus-place:outside){._focusRing_1hr3n_49:focus-visible{outline-color:var(--pm-border-focus-solid);outline-offset:var(--pm-focus-offset)}._focusRing_1hr3n_49:has(>input:focus-visible){outline-color:var(--pm-border-focus-solid);outline-offset:var(--pm-focus-offset)}}@container style(--pm-focus-place:inside){._focusRing_1hr3n_49:is([data-invalid],[aria-invalid=true],[data-selected],[data-range-start],[data-range-end]):focus-visible{outline-offset:calc(var(--pm-focus-offset) - var(--pm-focus-inset) - 1px)}._focusRing_1hr3n_49[data-invalid]:has(>input:focus-visible){outline-offset:calc(var(--pm-focus-offset) - var(--pm-focus-inset) - 1px)}}._focusAround_1hr3n_95:focus-visible{outline:var(--pm-focus-width) solid var(--pm-border-focus-solid);outline-offset:max(var(--pm-space-1), var(--pm-focus-offset))}._focusAround_1hr3n_95:has(>input:focus-visible){outline:var(--pm-focus-width) solid var(--pm-border-focus-solid);outline-offset:max(var(--pm-space-1), var(--pm-focus-offset))}@container style(--pm-focus-place:outside){._focusRing_1hr3n_49:focus-visible:not([data-invalid],[aria-invalid=true],[data-selected],[data-range-start],[data-range-end]){border-color:var(--pm-border-focus-solid)}._focusRing_1hr3n_49:has(>input:focus-visible):not([data-invalid]){border-color:var(--pm-border-focus-solid)}}@container style(--pm-focus-field:border){._focusRing_1hr3n_49:is(textarea,[role=combobox]):focus-visible{outline-offset:calc(var(--pm-focus-width) * -1)}._focusRing_1hr3n_49:has(>input:focus-visible){outline-offset:calc(var(--pm-focus-width) * -1)}._focusRing_1hr3n_49:is(textarea,[role=combobox]):is([data-invalid],[aria-invalid=true]):focus-visible{outline-offset:calc(var(--pm-focus-width) * -1 - 1px)}._focusRing_1hr3n_49[data-invalid]:has(>input:focus-visible){outline-offset:calc(var(--pm-focus-width) * -1 - 1px)}}._stateFeedback_lkjqs_17{transition:background-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), border-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), box-shadow var(--pm-motion-duration-control) var(--pm-motion-easing-standard)}._pressable_lkjqs_38{transition:background-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), border-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), box-shadow var(--pm-motion-duration-control) var(--pm-motion-easing-standard), transform var(--pm-motion-duration-control) var(--pm-motion-easing-enter)}._pressable_lkjqs_38:active{transform:scale(var(--pm-motion-press-scale));transition:background-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), border-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), box-shadow var(--pm-motion-duration-control) var(--pm-motion-easing-standard), transform calc(var(--pm-motion-duration-control) * .5) var(--pm-motion-easing-standard)}@keyframes _pm-spin_lkjqs_1{to{transform:rotate(360deg)}}@keyframes _pm-fade-in_lkjqs_1{0%{opacity:0}}@keyframes _pm-shimmer_lkjqs_1{0%{transform:translate(-100%)}to{transform:translate(100%)}}._spin_lkjqs_83{animation:_pm-spin_lkjqs_1 var(--pm-motion-ambient-spin) linear infinite}._fadeIn_lkjqs_92{animation:_pm-fade-in_lkjqs_1 var(--pm-motion-duration-control) var(--pm-motion-easing-enter) both}._shimmer_lkjqs_98{position:relative;overflow:hidden}._shimmer_lkjqs_98:after{content:"";background:linear-gradient(90deg, var(--pm-bg-subtle) 0%, var(--pm-bg-raised) 50%, var(--pm-bg-subtle) 100%);width:200%;animation:_pm-shimmer_lkjqs_1 var(--pm-motion-ambient-shimmer) linear infinite;position:absolute;inset:0}[data-motion=none] ._spin_lkjqs_83,[data-motion=none] ._fadeIn_lkjqs_92,[data-motion=none] ._shimmer_lkjqs_98:after{animation:none}@media (prefers-reduced-motion:reduce){._spin_lkjqs_83,._fadeIn_lkjqs_92,._shimmer_lkjqs_98:after{animation:none}._pressable_lkjqs_38,._pressable_lkjqs_38:active{transition:background-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), border-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), box-shadow var(--pm-motion-duration-control) var(--pm-motion-easing-standard);transform:none}}._field_18z9c_10{gap:var(--pm-space-3);max-inline-size:100%;block-size:var(--pm-control-height-md);padding-inline:var(--pm-space-5);font-family:var(--pm-text-sm-family);font-size:var(--pm-text-sm-size);font-weight:var(--pm-text-sm-weight);line-height:var(--pm-text-sm-line-height);letter-spacing:var(--pm-text-sm-tracking);color:var(--pm-text-primary);cursor:text;background:var(--pm-bg-surface);border:1px solid var(--pm-border-field);border-radius:var(--pm-radius-control);box-shadow:var(--pm-shadow-seat);align-items:center;display:inline-flex}._segments_18z9c_36{outline:none;flex:1;align-items:center;gap:2px;min-inline-size:0;display:flex}._segment_18z9c_36{color:var(--pm-text-primary);border-radius:var(--pm-radius-sm);font-variant-numeric:var(--pm-font-numeric);caret-color:#0000;outline:none;padding-inline:2px}._segment_18z9c_36[data-placeholder]{color:var(--pm-text-muted)}._segment_18z9c_36:focus{color:var(--pm-accent-text);background:var(--pm-accent-subtle)}._separator_18z9c_70{color:var(--pm-text-muted)}._clear_18z9c_75{aspect-ratio:1;color:var(--pm-text-muted);cursor:pointer;border-radius:var(--pm-radius-sm);animation:_date-picker-clear-enter_18z9c_1 var(--pm-motion-duration-control) var(--pm-motion-easing-enter);background:0 0;border:0;flex:none;justify-content:center;align-self:stretch;align-items:center;padding:0;display:inline-flex}@keyframes _date-picker-clear-enter_18z9c_1{0%{opacity:0}}._clear_18z9c_75:hover{color:var(--pm-text-primary);background:var(--pm-bg-subtle)}._field_18z9c_10[data-size=sm]{gap:var(--pm-space-2);block-size:var(--pm-control-height-sm);padding-inline:var(--pm-space-4);font-family:var(--pm-text-xs-family);font-size:var(--pm-text-xs-size);font-weight:var(--pm-text-xs-weight);line-height:var(--pm-text-xs-line-height);letter-spacing:var(--pm-text-xs-tracking)}._field_18z9c_10[data-size=lg]{block-size:var(--pm-control-height-lg);padding-inline:var(--pm-space-6);font-family:var(--pm-text-md-family);font-size:var(--pm-text-md-size);font-weight:var(--pm-text-md-weight);line-height:var(--pm-text-md-line-height);letter-spacing:var(--pm-text-md-tracking)}._field_18z9c_10[data-invalid]{border-color:var(--pm-danger-border)}._field_18z9c_10[data-disabled]{color:var(--pm-text-disabled);cursor:not-allowed;background:var(--pm-bg-subtle);border-color:var(--pm-border-subtle);box-shadow:none}._field_18z9c_10[data-disabled] ._segment_18z9c_36,._field_18z9c_10[data-disabled] ._separator_18z9c_70{color:var(--pm-text-disabled)}._field_18z9c_10[data-state=open]:not([data-invalid]),._field_18z9c_10:hover:not([data-disabled],[data-invalid]){border-color:var(--pm-border-strong)}._content_18z9c_161{z-index:var(--pm-z-overlay);background:var(--pm-bg-overlay);border:1px solid var(--pm-border-subtle);border-radius:var(--pm-radius-surface);box-shadow:var(--pm-shadow-transient);transform-origin:var(--radix-popover-content-transform-origin);padding:0;overflow:hidden}._content_18z9c_161[data-state=open]{animation:_date-picker-content-enter_18z9c_1 var(--pm-motion-duration-surface) var(--pm-motion-easing-enter)}._content_18z9c_161[data-state=closed]{animation:_date-picker-content-exit_18z9c_1 var(--pm-motion-duration-surface-exit) var(--pm-motion-easing-exit)}@keyframes _date-picker-content-enter_18z9c_1{0%{opacity:0;transform:scale(.94)}}@keyframes _date-picker-content-exit_18z9c_1{to{opacity:0;transform:scale(.94)}}._sheetBody_18z9c_207{min-block-size:0;flex-direction:column;align-items:center;padding-block-end:env(safe-area-inset-bottom,0);display:flex;overflow-y:auto}@media (prefers-reduced-motion:reduce){@keyframes _date-picker-content-enter_18z9c_1{0%{opacity:0}}@keyframes _date-picker-content-exit_18z9c_1{to{opacity:0}}}@container style(--pm-axis-depth:glass){._content_18z9c_161{background:var(--pm-material-surface);-webkit-backdrop-filter:blur(var(--pm-material-blur)) saturate(var(--pm-material-saturate));backdrop-filter:blur(var(--pm-material-blur)) saturate(var(--pm-material-saturate))}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './date-picker.css';
|
|
2
2
|
//#region ../recipes/src/controls/date-picker.module.css
|
|
3
|
-
var e = "_field_18z9c_10
|
|
3
|
+
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 = {
|
|
4
4
|
field: e,
|
|
5
5
|
segments: t,
|
|
6
6
|
segment: n,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
._focusRing_1lfnc_15:focus-visible{outline:var(--pm-focus-width) solid var(--pm-border-focus);outline-offset:var(--pm-focus-offset);box-shadow:var(--pm-glow-focus)}._focusRing_1lfnc_15:has(>input:focus-visible){outline:var(--pm-focus-width) solid var(--pm-border-focus);outline-offset:var(--pm-focus-offset);box-shadow:var(--pm-glow-focus)}._focusRing_1lfnc_15:focus-visible:not([data-invalid],[aria-invalid=true],[data-selected],[data-range-start],[data-range-end]){border-color:var(--pm-border-focus-solid)}._focusRing_1lfnc_15:has(>input:focus-visible):not([data-invalid]){border-color:var(--pm-border-focus-solid)}@container style(--pm-focus-field:border){._focusRing_1lfnc_15:is(textarea,[role=combobox]):focus-visible:not([data-invalid],[aria-invalid=true]){outline-color:var(--pm-border-focus-solid);outline-offset:calc(var(--pm-focus-width) * -1);box-shadow:var(--pm-shadow-seat)}._focusRing_1lfnc_15:has(>input:focus-visible):not([data-invalid]){outline-color:var(--pm-border-focus-solid);outline-offset:calc(var(--pm-focus-width) * -1);box-shadow:var(--pm-shadow-seat)}}._stateFeedback_lkjqs_17{transition:background-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), border-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), box-shadow var(--pm-motion-duration-control) var(--pm-motion-easing-standard)}._pressable_lkjqs_38{transition:background-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), border-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), box-shadow var(--pm-motion-duration-control) var(--pm-motion-easing-standard), transform var(--pm-motion-duration-control) var(--pm-motion-easing-enter)}._pressable_lkjqs_38:active{transform:scale(var(--pm-motion-press-scale));transition:background-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), border-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), box-shadow var(--pm-motion-duration-control) var(--pm-motion-easing-standard), transform calc(var(--pm-motion-duration-control) * .5) var(--pm-motion-easing-standard)}@keyframes _pm-spin_lkjqs_1{to{transform:rotate(360deg)}}@keyframes _pm-fade-in_lkjqs_1{0%{opacity:0}}@keyframes _pm-shimmer_lkjqs_1{0%{transform:translate(-100%)}to{transform:translate(100%)}}._spin_lkjqs_83{animation:_pm-spin_lkjqs_1 var(--pm-motion-ambient-spin) linear infinite}._fadeIn_lkjqs_92{animation:_pm-fade-in_lkjqs_1 var(--pm-motion-duration-control) var(--pm-motion-easing-enter) both}._shimmer_lkjqs_98{position:relative;overflow:hidden}._shimmer_lkjqs_98:after{content:"";background:linear-gradient(90deg, var(--pm-bg-subtle) 0%, var(--pm-bg-raised) 50%, var(--pm-bg-subtle) 100%);width:200%;animation:_pm-shimmer_lkjqs_1 var(--pm-motion-ambient-shimmer) linear infinite;position:absolute;inset:0}[data-motion=none] ._spin_lkjqs_83,[data-motion=none] ._fadeIn_lkjqs_92,[data-motion=none] ._shimmer_lkjqs_98:after{animation:none}@media (prefers-reduced-motion:reduce){._spin_lkjqs_83,._fadeIn_lkjqs_92,._shimmer_lkjqs_98:after{animation:none}._pressable_lkjqs_38,._pressable_lkjqs_38:active{transition:background-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), border-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), box-shadow var(--pm-motion-duration-control) var(--pm-motion-easing-standard);transform:none}}._field_1b5x6_14{gap:var(--pm-space-3);max-inline-size:100%;block-size:var(--pm-control-height-md);padding-inline:var(--pm-space-5);font-family:var(--pm-text-sm-family);font-size:var(--pm-text-sm-size);font-weight:var(--pm-text-sm-weight);line-height:var(--pm-text-sm-line-height);letter-spacing:var(--pm-text-sm-tracking);color:var(--pm-text-primary);cursor:text;background:var(--pm-bg-surface);border:1px solid var(--pm-border-field);border-radius:var(--pm-radius-control);box-shadow:var(--pm-shadow-seat);align-items:center;display:inline-flex}._segments_1b5x6_40{outline:none;flex:none;align-items:center;gap:2px;min-inline-size:0;display:flex}._spacer_1b5x6_49{flex:1}._segment_1b5x6_40{color:var(--pm-text-primary);border-radius:var(--pm-radius-sm);font-variant-numeric:var(--pm-font-numeric);caret-color:#0000;outline:none;padding-inline:2px}._segment_1b5x6_40[data-placeholder]{color:var(--pm-text-muted)}._segment_1b5x6_40:focus{color:var(--pm-accent-text);background:var(--pm-accent-subtle)}._separator_1b5x6_76,._dash_1b5x6_82{color:var(--pm-text-muted)}._clear_1b5x6_87{aspect-ratio:1;color:var(--pm-text-muted);cursor:pointer;border-radius:var(--pm-radius-sm);animation:_date-range-picker-clear-enter_1b5x6_1 var(--pm-motion-duration-control) var(--pm-motion-easing-enter);background:0 0;border:0;flex:none;justify-content:center;align-self:stretch;align-items:center;padding:0;display:inline-flex}@keyframes _date-range-picker-clear-enter_1b5x6_1{0%{opacity:0}}._clear_1b5x6_87:hover{color:var(--pm-text-primary);background:var(--pm-bg-subtle)}._field_1b5x6_14[data-size=sm]{gap:var(--pm-space-2);block-size:var(--pm-control-height-sm);padding-inline:var(--pm-space-4);font-family:var(--pm-text-xs-family);font-size:var(--pm-text-xs-size);font-weight:var(--pm-text-xs-weight);line-height:var(--pm-text-xs-line-height);letter-spacing:var(--pm-text-xs-tracking)}._field_1b5x6_14[data-size=lg]{block-size:var(--pm-control-height-lg);padding-inline:var(--pm-space-6);font-family:var(--pm-text-md-family);font-size:var(--pm-text-md-size);font-weight:var(--pm-text-md-weight);line-height:var(--pm-text-md-line-height);letter-spacing:var(--pm-text-md-tracking)}._field_1b5x6_14[data-invalid]{border-color:var(--pm-danger-border)}._field_1b5x6_14[data-disabled]{color:var(--pm-text-disabled);cursor:not-allowed;background:var(--pm-bg-subtle);border-color:var(--pm-border-subtle);box-shadow:none}._field_1b5x6_14[data-disabled] ._segment_1b5x6_40,._field_1b5x6_14[data-disabled] ._separator_1b5x6_76,._field_1b5x6_14[data-disabled] ._dash_1b5x6_82{color:var(--pm-text-disabled)}._field_1b5x6_14[data-state=open]:not([data-invalid]),._field_1b5x6_14:hover:not([data-disabled],[data-invalid]){border-color:var(--pm-border-strong)}._content_1b5x6_175{z-index:var(--pm-z-overlay);background:var(--pm-bg-overlay);border:1px solid var(--pm-border-subtle);border-radius:var(--pm-radius-surface);box-shadow:var(--pm-shadow-transient);transform-origin:var(--radix-popover-content-transform-origin);padding:0;overflow:hidden}._content_1b5x6_175[data-state=open]{animation:_date-range-picker-content-enter_1b5x6_1 var(--pm-motion-duration-surface) var(--pm-motion-easing-enter)}._content_1b5x6_175[data-state=closed]{animation:_date-range-picker-content-exit_1b5x6_1 var(--pm-motion-duration-surface-exit) var(--pm-motion-easing-exit)}@keyframes _date-range-picker-content-enter_1b5x6_1{0%{opacity:0;transform:scale(.94)}}@keyframes _date-range-picker-content-exit_1b5x6_1{to{opacity:0;transform:scale(.94)}}._sheetBody_1b5x6_216{min-block-size:0;flex-direction:column;align-items:center;padding-block-end:env(safe-area-inset-bottom,0);display:flex;overflow-y:auto}._root_1b5x6_227{gap:var(--pm-space-2);inline-size:fit-content;padding:var(--pm-space-3);flex-direction:column;display:flex}._header_1b5x6_235{gap:var(--pm-space-2);block-size:var(--pm-control-height-sm);justify-content:space-between;align-items:center;display:flex}._title_1b5x6_243{font-family:var(--pm-text-sm-family);font-size:var(--pm-text-sm-size);font-weight:var(--pm-text-sm-weight);line-height:var(--pm-text-sm-line-height);letter-spacing:var(--pm-text-sm-tracking);color:var(--pm-text-primary);text-align:center;font-variant-numeric:var(--pm-font-numeric);flex:1}._grid_1b5x6_255{border-collapse:collapse}._grid_1b5x6_255 th{font-family:var(--pm-text-xs-family);font-size:var(--pm-text-xs-size);font-weight:var(--pm-text-xs-weight);line-height:var(--pm-text-xs-line-height);letter-spacing:var(--pm-text-xs-tracking);color:var(--pm-text-muted);text-align:center;padding:0}._cell_1b5x6_270{padding:0}._day_1b5x6_274{inline-size:var(--pm-control-height-sm);block-size:var(--pm-control-height-sm);font-family:var(--pm-text-sm-family);font-size:var(--pm-text-sm-size);font-weight:var(--pm-text-sm-weight);line-height:var(--pm-text-sm-line-height);letter-spacing:var(--pm-text-sm-tracking);color:var(--pm-text-primary);cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:var(--pm-radius-sm);font-variant-numeric:var(--pm-font-numeric);border:1px solid #0000;outline:none;justify-content:center;align-items:center;display:flex}._day_1b5x6_274[data-today]{color:var(--pm-accent-text);border-color:var(--pm-accent-bg)}._day_1b5x6_274:hover:not([data-range-start],[data-range-middle],[data-range-end],[data-unavailable],[data-disabled]),._day_1b5x6_274:active:not([data-range-start],[data-range-middle],[data-range-end],[data-unavailable],[data-disabled]){color:var(--pm-text-primary);background:var(--pm-bg-subtle)}._day_1b5x6_274[data-unavailable]{color:var(--pm-text-disabled);cursor:not-allowed;text-decoration:line-through}._day_1b5x6_274[data-disabled]{color:var(--pm-text-disabled);cursor:not-allowed}._day_1b5x6_274[data-range-middle]{background:var(--pm-accent-subtle);border-radius:0}._day_1b5x6_274[data-range-start],._day_1b5x6_274[data-range-end]{color:var(--pm-selection-text);background:var(--pm-selection-bg);border-color:var(--pm-selection-border);border-radius:var(--pm-radius-sm)}._day_1b5x6_274[data-range-start]:hover,._day_1b5x6_274[data-range-end]:hover{background:var(--pm-selection-bg-hover)}._grid_1b5x6_255[data-travel=next]{animation:_date-range-picker-grid-next_1b5x6_1 var(--pm-motion-duration-surface) var(--pm-motion-easing-enter)}._grid_1b5x6_255[data-travel=previous]{animation:_date-range-picker-grid-previous_1b5x6_1 var(--pm-motion-duration-surface) var(--pm-motion-easing-enter)}@keyframes _date-range-picker-grid-next_1b5x6_1{0%{opacity:0;transform:translateX(var(--pm-space-2))}}@keyframes _date-range-picker-grid-previous_1b5x6_1{0%{opacity:0;transform:translateX(calc(var(--pm-space-2) * -1))}}[dir=rtl] ._grid_1b5x6_255[data-travel=next]{animation-name:_date-range-picker-grid-previous_1b5x6_1}[dir=rtl] ._grid_1b5x6_255[data-travel=previous]{animation-name:_date-range-picker-grid-next_1b5x6_1}[dir=rtl] ._header_1b5x6_235 svg{transform:scaleX(-1)}@media (prefers-reduced-motion:reduce){@keyframes _date-range-picker-content-enter_1b5x6_1{0%{opacity:0}}@keyframes _date-range-picker-content-exit_1b5x6_1{to{opacity:0}}@keyframes _date-range-picker-grid-next_1b5x6_1{0%{opacity:0}}@keyframes _date-range-picker-grid-previous_1b5x6_1{0%{opacity:0}}}@container style(--pm-axis-depth:glass){._content_1b5x6_175{background:var(--pm-material-surface);-webkit-backdrop-filter:blur(var(--pm-material-blur)) saturate(var(--pm-material-saturate));backdrop-filter:blur(var(--pm-material-blur)) saturate(var(--pm-material-saturate))}}
|
|
1
|
+
._focusRing_1hr3n_49{--pm-focus-mark:initial;--pm-focus-inset:0px}._focusRing_1hr3n_49:focus-visible{outline:var(--pm-focus-width) solid var(--pm-focus-mark,var(--pm-border-focus-solid));outline-offset:calc(var(--pm-focus-offset) - var(--pm-focus-inset))}._focusRing_1hr3n_49:has(>input:focus-visible){outline:var(--pm-focus-width) solid var(--pm-focus-mark,var(--pm-border-focus-solid));outline-offset:calc(var(--pm-focus-offset) - var(--pm-focus-inset))}@container style(--pm-focus-place:outside){._focusRing_1hr3n_49:focus-visible{outline-color:var(--pm-border-focus-solid);outline-offset:var(--pm-focus-offset)}._focusRing_1hr3n_49:has(>input:focus-visible){outline-color:var(--pm-border-focus-solid);outline-offset:var(--pm-focus-offset)}}@container style(--pm-focus-place:inside){._focusRing_1hr3n_49:is([data-invalid],[aria-invalid=true],[data-selected],[data-range-start],[data-range-end]):focus-visible{outline-offset:calc(var(--pm-focus-offset) - var(--pm-focus-inset) - 1px)}._focusRing_1hr3n_49[data-invalid]:has(>input:focus-visible){outline-offset:calc(var(--pm-focus-offset) - var(--pm-focus-inset) - 1px)}}._focusAround_1hr3n_95:focus-visible{outline:var(--pm-focus-width) solid var(--pm-border-focus-solid);outline-offset:max(var(--pm-space-1), var(--pm-focus-offset))}._focusAround_1hr3n_95:has(>input:focus-visible){outline:var(--pm-focus-width) solid var(--pm-border-focus-solid);outline-offset:max(var(--pm-space-1), var(--pm-focus-offset))}@container style(--pm-focus-place:outside){._focusRing_1hr3n_49:focus-visible:not([data-invalid],[aria-invalid=true],[data-selected],[data-range-start],[data-range-end]){border-color:var(--pm-border-focus-solid)}._focusRing_1hr3n_49:has(>input:focus-visible):not([data-invalid]){border-color:var(--pm-border-focus-solid)}}@container style(--pm-focus-field:border){._focusRing_1hr3n_49:is(textarea,[role=combobox]):focus-visible{outline-offset:calc(var(--pm-focus-width) * -1)}._focusRing_1hr3n_49:has(>input:focus-visible){outline-offset:calc(var(--pm-focus-width) * -1)}._focusRing_1hr3n_49:is(textarea,[role=combobox]):is([data-invalid],[aria-invalid=true]):focus-visible{outline-offset:calc(var(--pm-focus-width) * -1 - 1px)}._focusRing_1hr3n_49[data-invalid]:has(>input:focus-visible){outline-offset:calc(var(--pm-focus-width) * -1 - 1px)}}._stateFeedback_lkjqs_17{transition:background-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), border-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), box-shadow var(--pm-motion-duration-control) var(--pm-motion-easing-standard)}._pressable_lkjqs_38{transition:background-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), border-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), box-shadow var(--pm-motion-duration-control) var(--pm-motion-easing-standard), transform var(--pm-motion-duration-control) var(--pm-motion-easing-enter)}._pressable_lkjqs_38:active{transform:scale(var(--pm-motion-press-scale));transition:background-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), border-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), box-shadow var(--pm-motion-duration-control) var(--pm-motion-easing-standard), transform calc(var(--pm-motion-duration-control) * .5) var(--pm-motion-easing-standard)}@keyframes _pm-spin_lkjqs_1{to{transform:rotate(360deg)}}@keyframes _pm-fade-in_lkjqs_1{0%{opacity:0}}@keyframes _pm-shimmer_lkjqs_1{0%{transform:translate(-100%)}to{transform:translate(100%)}}._spin_lkjqs_83{animation:_pm-spin_lkjqs_1 var(--pm-motion-ambient-spin) linear infinite}._fadeIn_lkjqs_92{animation:_pm-fade-in_lkjqs_1 var(--pm-motion-duration-control) var(--pm-motion-easing-enter) both}._shimmer_lkjqs_98{position:relative;overflow:hidden}._shimmer_lkjqs_98:after{content:"";background:linear-gradient(90deg, var(--pm-bg-subtle) 0%, var(--pm-bg-raised) 50%, var(--pm-bg-subtle) 100%);width:200%;animation:_pm-shimmer_lkjqs_1 var(--pm-motion-ambient-shimmer) linear infinite;position:absolute;inset:0}[data-motion=none] ._spin_lkjqs_83,[data-motion=none] ._fadeIn_lkjqs_92,[data-motion=none] ._shimmer_lkjqs_98:after{animation:none}@media (prefers-reduced-motion:reduce){._spin_lkjqs_83,._fadeIn_lkjqs_92,._shimmer_lkjqs_98:after{animation:none}._pressable_lkjqs_38,._pressable_lkjqs_38:active{transition:background-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), border-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), box-shadow var(--pm-motion-duration-control) var(--pm-motion-easing-standard);transform:none}}._field_4jdbk_14{gap:var(--pm-space-3);max-inline-size:100%;block-size:var(--pm-control-height-md);padding-inline:var(--pm-space-5);font-family:var(--pm-text-sm-family);font-size:var(--pm-text-sm-size);font-weight:var(--pm-text-sm-weight);line-height:var(--pm-text-sm-line-height);letter-spacing:var(--pm-text-sm-tracking);color:var(--pm-text-primary);cursor:text;background:var(--pm-bg-surface);border:1px solid var(--pm-border-field);border-radius:var(--pm-radius-control);box-shadow:var(--pm-shadow-seat);align-items:center;display:inline-flex}._segments_4jdbk_40{outline:none;flex:none;align-items:center;gap:2px;min-inline-size:0;display:flex}._spacer_4jdbk_49{flex:1}._segment_4jdbk_40{color:var(--pm-text-primary);border-radius:var(--pm-radius-sm);font-variant-numeric:var(--pm-font-numeric);caret-color:#0000;outline:none;padding-inline:2px}._segment_4jdbk_40[data-placeholder]{color:var(--pm-text-muted)}._segment_4jdbk_40:focus{color:var(--pm-accent-text);background:var(--pm-accent-subtle)}._separator_4jdbk_76,._dash_4jdbk_82{color:var(--pm-text-muted)}._clear_4jdbk_87{aspect-ratio:1;color:var(--pm-text-muted);cursor:pointer;border-radius:var(--pm-radius-sm);animation:_date-range-picker-clear-enter_4jdbk_1 var(--pm-motion-duration-control) var(--pm-motion-easing-enter);background:0 0;border:0;flex:none;justify-content:center;align-self:stretch;align-items:center;padding:0;display:inline-flex}@keyframes _date-range-picker-clear-enter_4jdbk_1{0%{opacity:0}}._clear_4jdbk_87:hover{color:var(--pm-text-primary);background:var(--pm-bg-subtle)}._field_4jdbk_14[data-size=sm]{gap:var(--pm-space-2);block-size:var(--pm-control-height-sm);padding-inline:var(--pm-space-4);font-family:var(--pm-text-xs-family);font-size:var(--pm-text-xs-size);font-weight:var(--pm-text-xs-weight);line-height:var(--pm-text-xs-line-height);letter-spacing:var(--pm-text-xs-tracking)}._field_4jdbk_14[data-size=lg]{block-size:var(--pm-control-height-lg);padding-inline:var(--pm-space-6);font-family:var(--pm-text-md-family);font-size:var(--pm-text-md-size);font-weight:var(--pm-text-md-weight);line-height:var(--pm-text-md-line-height);letter-spacing:var(--pm-text-md-tracking)}._field_4jdbk_14[data-invalid]{border-color:var(--pm-danger-border)}._field_4jdbk_14[data-disabled]{color:var(--pm-text-disabled);cursor:not-allowed;background:var(--pm-bg-subtle);border-color:var(--pm-border-subtle);box-shadow:none}._field_4jdbk_14[data-disabled] ._segment_4jdbk_40,._field_4jdbk_14[data-disabled] ._separator_4jdbk_76,._field_4jdbk_14[data-disabled] ._dash_4jdbk_82{color:var(--pm-text-disabled)}._field_4jdbk_14[data-state=open]:not([data-invalid]),._field_4jdbk_14:hover:not([data-disabled],[data-invalid]){border-color:var(--pm-border-strong)}._content_4jdbk_175{z-index:var(--pm-z-overlay);background:var(--pm-bg-overlay);border:1px solid var(--pm-border-subtle);border-radius:var(--pm-radius-surface);box-shadow:var(--pm-shadow-transient);transform-origin:var(--radix-popover-content-transform-origin);padding:0;overflow:hidden}._content_4jdbk_175[data-state=open]{animation:_date-range-picker-content-enter_4jdbk_1 var(--pm-motion-duration-surface) var(--pm-motion-easing-enter)}._content_4jdbk_175[data-state=closed]{animation:_date-range-picker-content-exit_4jdbk_1 var(--pm-motion-duration-surface-exit) var(--pm-motion-easing-exit)}@keyframes _date-range-picker-content-enter_4jdbk_1{0%{opacity:0;transform:scale(.94)}}@keyframes _date-range-picker-content-exit_4jdbk_1{to{opacity:0;transform:scale(.94)}}._sheetBody_4jdbk_216{min-block-size:0;flex-direction:column;align-items:center;padding-block-end:env(safe-area-inset-bottom,0);display:flex;overflow-y:auto}._root_4jdbk_227{gap:var(--pm-space-2);inline-size:fit-content;padding:var(--pm-space-3);flex-direction:column;display:flex}._header_4jdbk_235{gap:var(--pm-space-2);block-size:var(--pm-control-height-sm);justify-content:space-between;align-items:center;display:flex}._title_4jdbk_243{font-family:var(--pm-text-sm-family);font-size:var(--pm-text-sm-size);font-weight:var(--pm-text-sm-weight);line-height:var(--pm-text-sm-line-height);letter-spacing:var(--pm-text-sm-tracking);color:var(--pm-text-primary);text-align:center;font-variant-numeric:var(--pm-font-numeric);flex:1}._grid_4jdbk_255{border-collapse:collapse}._grid_4jdbk_255 th{font-family:var(--pm-text-xs-family);font-size:var(--pm-text-xs-size);font-weight:var(--pm-text-xs-weight);line-height:var(--pm-text-xs-line-height);letter-spacing:var(--pm-text-xs-tracking);color:var(--pm-text-muted);text-align:center;padding:0}._cell_4jdbk_270{padding:0}._day_4jdbk_274{inline-size:var(--pm-control-height-sm);block-size:var(--pm-control-height-sm);font-family:var(--pm-text-sm-family);font-size:var(--pm-text-sm-size);font-weight:var(--pm-text-sm-weight);line-height:var(--pm-text-sm-line-height);letter-spacing:var(--pm-text-sm-tracking);color:var(--pm-text-primary);cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:var(--pm-radius-sm);font-variant-numeric:var(--pm-font-numeric);border:1px solid #0000;outline:none;justify-content:center;align-items:center;display:flex}._day_4jdbk_274[data-today]{color:var(--pm-accent-text);border-color:var(--pm-accent-bg)}._day_4jdbk_274:hover:not([data-range-start],[data-range-middle],[data-range-end],[data-unavailable],[data-disabled]),._day_4jdbk_274:active:not([data-range-start],[data-range-middle],[data-range-end],[data-unavailable],[data-disabled]){color:var(--pm-text-primary);background:var(--pm-bg-subtle)}._day_4jdbk_274[data-unavailable]{color:var(--pm-text-disabled);cursor:not-allowed;text-decoration:line-through}._day_4jdbk_274[data-disabled]{color:var(--pm-text-disabled);cursor:not-allowed}._day_4jdbk_274[data-range-middle]{background:var(--pm-accent-subtle);border-radius:0}._day_4jdbk_274[data-range-start],._day_4jdbk_274[data-range-end]{color:var(--pm-selection-text);background:var(--pm-selection-bg);border-color:var(--pm-selection-border);border-radius:var(--pm-radius-sm)}._day_4jdbk_274[data-range-start]:hover,._day_4jdbk_274[data-range-end]:hover{background:var(--pm-selection-bg-hover)}._day_4jdbk_274[data-range-start]:focus-visible,._day_4jdbk_274[data-range-end]:focus-visible{--pm-focus-mark:currentcolor;--pm-focus-inset:var(--pm-focus-width)}._grid_4jdbk_255[data-travel=next]{animation:_date-range-picker-grid-next_4jdbk_1 var(--pm-motion-duration-surface) var(--pm-motion-easing-enter)}._grid_4jdbk_255[data-travel=previous]{animation:_date-range-picker-grid-previous_4jdbk_1 var(--pm-motion-duration-surface) var(--pm-motion-easing-enter)}@keyframes _date-range-picker-grid-next_4jdbk_1{0%{opacity:0;transform:translateX(var(--pm-space-2))}}@keyframes _date-range-picker-grid-previous_4jdbk_1{0%{opacity:0;transform:translateX(calc(var(--pm-space-2) * -1))}}[dir=rtl] ._grid_4jdbk_255[data-travel=next]{animation-name:_date-range-picker-grid-previous_4jdbk_1}[dir=rtl] ._grid_4jdbk_255[data-travel=previous]{animation-name:_date-range-picker-grid-next_4jdbk_1}[dir=rtl] ._header_4jdbk_235 svg{transform:scaleX(-1)}@media (prefers-reduced-motion:reduce){@keyframes _date-range-picker-content-enter_4jdbk_1{0%{opacity:0}}@keyframes _date-range-picker-content-exit_4jdbk_1{to{opacity:0}}@keyframes _date-range-picker-grid-next_4jdbk_1{0%{opacity:0}}@keyframes _date-range-picker-grid-previous_4jdbk_1{0%{opacity:0}}}@container style(--pm-axis-depth:glass){._content_4jdbk_175{background:var(--pm-material-surface);-webkit-backdrop-filter:blur(var(--pm-material-blur)) saturate(var(--pm-material-saturate));backdrop-filter:blur(var(--pm-material-blur)) saturate(var(--pm-material-saturate))}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './date-range-picker.css';
|
|
2
2
|
//#region ../recipes/src/controls/date-range-picker.module.css
|
|
3
|
-
var e = "
|
|
3
|
+
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 = {
|
|
4
4
|
field: e,
|
|
5
5
|
segments: t,
|
|
6
6
|
spacer: n,
|
|
@@ -8,10 +8,10 @@ var e = "_field_1b5x6_14 _focusRing_1lfnc_15 _stateFeedback_lkjqs_17", t = "_seg
|
|
|
8
8
|
separator: i,
|
|
9
9
|
dash: a,
|
|
10
10
|
clear: o,
|
|
11
|
-
"date-range-picker-clear-enter": "_date-range-picker-clear-
|
|
11
|
+
"date-range-picker-clear-enter": "_date-range-picker-clear-enter_4jdbk_1",
|
|
12
12
|
content: s,
|
|
13
|
-
"date-range-picker-content-enter": "_date-range-picker-content-
|
|
14
|
-
"date-range-picker-content-exit": "_date-range-picker-content-
|
|
13
|
+
"date-range-picker-content-enter": "_date-range-picker-content-enter_4jdbk_1",
|
|
14
|
+
"date-range-picker-content-exit": "_date-range-picker-content-exit_4jdbk_1",
|
|
15
15
|
sheetBody: c,
|
|
16
16
|
root: l,
|
|
17
17
|
header: u,
|
|
@@ -19,8 +19,8 @@ var e = "_field_1b5x6_14 _focusRing_1lfnc_15 _stateFeedback_lkjqs_17", t = "_seg
|
|
|
19
19
|
grid: f,
|
|
20
20
|
cell: p,
|
|
21
21
|
day: m,
|
|
22
|
-
"date-range-picker-grid-next": "_date-range-picker-grid-
|
|
23
|
-
"date-range-picker-grid-previous": "_date-range-picker-grid-
|
|
22
|
+
"date-range-picker-grid-next": "_date-range-picker-grid-next_4jdbk_1",
|
|
23
|
+
"date-range-picker-grid-previous": "_date-range-picker-grid-previous_4jdbk_1"
|
|
24
24
|
};
|
|
25
25
|
//#endregion
|
|
26
26
|
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 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._focusRing_1hr3n_49{--pm-focus-mark:initial;--pm-focus-inset:0px}._focusRing_1hr3n_49:focus-visible{outline:var(--pm-focus-width) solid var(--pm-focus-mark,var(--pm-border-focus-solid));outline-offset:calc(var(--pm-focus-offset) - var(--pm-focus-inset))}._focusRing_1hr3n_49:has(>input:focus-visible){outline:var(--pm-focus-width) solid var(--pm-focus-mark,var(--pm-border-focus-solid));outline-offset:calc(var(--pm-focus-offset) - var(--pm-focus-inset))}@container style(--pm-focus-place:outside){._focusRing_1hr3n_49:focus-visible{outline-color:var(--pm-border-focus-solid);outline-offset:var(--pm-focus-offset)}._focusRing_1hr3n_49:has(>input:focus-visible){outline-color:var(--pm-border-focus-solid);outline-offset:var(--pm-focus-offset)}}@container style(--pm-focus-place:inside){._focusRing_1hr3n_49:is([data-invalid],[aria-invalid=true],[data-selected],[data-range-start],[data-range-end]):focus-visible{outline-offset:calc(var(--pm-focus-offset) - var(--pm-focus-inset) - 1px)}._focusRing_1hr3n_49[data-invalid]:has(>input:focus-visible){outline-offset:calc(var(--pm-focus-offset) - var(--pm-focus-inset) - 1px)}}._focusAround_1hr3n_95:focus-visible{outline:var(--pm-focus-width) solid var(--pm-border-focus-solid);outline-offset:max(var(--pm-space-1), var(--pm-focus-offset))}._focusAround_1hr3n_95:has(>input:focus-visible){outline:var(--pm-focus-width) solid var(--pm-border-focus-solid);outline-offset:max(var(--pm-space-1), var(--pm-focus-offset))}@container style(--pm-focus-place:outside){._focusRing_1hr3n_49:focus-visible:not([data-invalid],[aria-invalid=true],[data-selected],[data-range-start],[data-range-end]){border-color:var(--pm-border-focus-solid)}._focusRing_1hr3n_49:has(>input:focus-visible):not([data-invalid]){border-color:var(--pm-border-focus-solid)}}@container style(--pm-focus-field:border){._focusRing_1hr3n_49:is(textarea,[role=combobox]):focus-visible{outline-offset:calc(var(--pm-focus-width) * -1)}._focusRing_1hr3n_49:has(>input:focus-visible){outline-offset:calc(var(--pm-focus-width) * -1)}._focusRing_1hr3n_49:is(textarea,[role=combobox]):is([data-invalid],[aria-invalid=true]):focus-visible{outline-offset:calc(var(--pm-focus-width) * -1 - 1px)}._focusRing_1hr3n_49[data-invalid]:has(>input:focus-visible){outline-offset:calc(var(--pm-focus-width) * -1 - 1px)}}._stateFeedback_lkjqs_17{transition:background-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), border-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), box-shadow var(--pm-motion-duration-control) var(--pm-motion-easing-standard)}._pressable_lkjqs_38{transition:background-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), border-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), box-shadow var(--pm-motion-duration-control) var(--pm-motion-easing-standard), transform var(--pm-motion-duration-control) var(--pm-motion-easing-enter)}._pressable_lkjqs_38:active{transform:scale(var(--pm-motion-press-scale));transition:background-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), border-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), box-shadow var(--pm-motion-duration-control) var(--pm-motion-easing-standard), transform calc(var(--pm-motion-duration-control) * .5) var(--pm-motion-easing-standard)}@keyframes _pm-spin_lkjqs_1{to{transform:rotate(360deg)}}@keyframes _pm-fade-in_lkjqs_1{0%{opacity:0}}@keyframes _pm-shimmer_lkjqs_1{0%{transform:translate(-100%)}to{transform:translate(100%)}}._spin_lkjqs_83{animation:_pm-spin_lkjqs_1 var(--pm-motion-ambient-spin) linear infinite}._fadeIn_lkjqs_92{animation:_pm-fade-in_lkjqs_1 var(--pm-motion-duration-control) var(--pm-motion-easing-enter) both}._shimmer_lkjqs_98{position:relative;overflow:hidden}._shimmer_lkjqs_98:after{content:"";background:linear-gradient(90deg, var(--pm-bg-subtle) 0%, var(--pm-bg-raised) 50%, var(--pm-bg-subtle) 100%);width:200%;animation:_pm-shimmer_lkjqs_1 var(--pm-motion-ambient-shimmer) linear infinite;position:absolute;inset:0}[data-motion=none] ._spin_lkjqs_83,[data-motion=none] ._fadeIn_lkjqs_92,[data-motion=none] ._shimmer_lkjqs_98:after{animation:none}@media (prefers-reduced-motion:reduce){._spin_lkjqs_83,._fadeIn_lkjqs_92,._shimmer_lkjqs_98:after{animation:none}._pressable_lkjqs_38,._pressable_lkjqs_38:active{transition:background-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), border-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), color var(--pm-motion-duration-control) var(--pm-motion-easing-standard), box-shadow var(--pm-motion-duration-control) var(--pm-motion-easing-standard);transform:none}}._field_f00h8_13{gap:var(--pm-space-3);max-inline-size:100%;block-size:var(--pm-control-height-md);padding-inline:var(--pm-space-5);font-family:var(--pm-text-sm-family);font-size:var(--pm-text-sm-size);font-weight:var(--pm-text-sm-weight);line-height:var(--pm-text-sm-line-height);letter-spacing:var(--pm-text-sm-tracking);color:var(--pm-text-primary);cursor:text;background:var(--pm-bg-surface);border:1px solid var(--pm-border-field);border-radius:var(--pm-radius-control);box-shadow:var(--pm-shadow-seat);align-items:center;display:inline-flex}._segments_f00h8_39{gap:var(--pm-space-3);flex:1;align-items:center;min-inline-size:0;display:flex}._quantity_f00h8_48{gap:var(--pm-space-1);align-items:baseline;display:inline-flex}._segment_f00h8_39{color:var(--pm-text-primary);border-radius:var(--pm-radius-sm);font-variant-numeric:var(--pm-font-numeric);caret-color:#0000;outline:none;padding-inline:2px}._segment_f00h8_39[data-placeholder]{color:var(--pm-text-muted)}._segment_f00h8_39:focus{color:var(--pm-accent-text);background:var(--pm-accent-subtle)}._unit_f00h8_80{color:var(--pm-text-muted)}._field_f00h8_13[data-size=sm]{gap:var(--pm-space-2);block-size:var(--pm-control-height-sm);padding-inline:var(--pm-space-4);font-family:var(--pm-text-xs-family);font-size:var(--pm-text-xs-size);font-weight:var(--pm-text-xs-weight);line-height:var(--pm-text-xs-line-height);letter-spacing:var(--pm-text-xs-tracking)}._field_f00h8_13[data-size=lg]{block-size:var(--pm-control-height-lg);padding-inline:var(--pm-space-6);font-family:var(--pm-text-md-family);font-size:var(--pm-text-md-size);font-weight:var(--pm-text-md-weight);line-height:var(--pm-text-md-line-height);letter-spacing:var(--pm-text-md-tracking)}._field_f00h8_13[data-invalid]{border-color:var(--pm-danger-border)}._field_f00h8_13[data-readonly],._field_f00h8_13[data-readonly] ._segment_f00h8_39{color:var(--pm-text-secondary)}._field_f00h8_13[data-disabled]{color:var(--pm-text-disabled);cursor:not-allowed;background:var(--pm-bg-subtle);border-color:var(--pm-border-subtle);box-shadow:none}._field_f00h8_13[data-disabled] ._segment_f00h8_39,._field_f00h8_13[data-disabled] ._unit_f00h8_80{color:var(--pm-text-disabled)}._field_f00h8_13:hover:not([data-disabled],[data-readonly],[data-invalid]){border-color:var(--pm-border-strong)}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './duration-input.css';
|
|
2
2
|
//#region ../recipes/src/controls/duration-input.module.css
|
|
3
|
-
var e = "_field_f00h8_13
|
|
3
|
+
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 = {
|
|
4
4
|
field: e,
|
|
5
5
|
segments: t,
|
|
6
6
|
quantity: n,
|