@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.
Files changed (722) hide show
  1. package/CHANGELOG.md +166 -0
  2. package/dist/ai/ArtifactPane.js.map +1 -1
  3. package/dist/ai/ArtifactPane.vue_vue_type_script_setup_true_lang.js +80 -72
  4. package/dist/ai/ArtifactPane.vue_vue_type_script_setup_true_lang.js.map +1 -1
  5. package/dist/ai/PromptInput.js.map +1 -1
  6. package/dist/ai/PromptInput.vue_vue_type_script_setup_true_lang.js +105 -105
  7. package/dist/ai/PromptInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
  8. package/dist/ai/ReasoningDisclosure.js.map +1 -1
  9. package/dist/ai/ReasoningDisclosure.vue_vue_type_script_setup_true_lang.js +1 -1
  10. package/dist/ai/ReasoningDisclosure.vue_vue_type_script_setup_true_lang.js.map +1 -1
  11. package/dist/ai/ToolCall.js.map +1 -1
  12. package/dist/ai/ToolCall.vue_vue_type_script_setup_true_lang.js +1 -1
  13. package/dist/ai/ToolCall.vue_vue_type_script_setup_true_lang.js.map +1 -1
  14. package/dist/ai/artifact-pane.css +1 -1
  15. package/dist/ai/artifact-pane.module.js +1 -1
  16. package/dist/ai/attachment-chip.css +1 -1
  17. package/dist/ai/attachment-chip.module.js +1 -1
  18. package/dist/ai/attachment-chip.module.js.map +1 -1
  19. package/dist/ai/chat-thread.css +1 -1
  20. package/dist/ai/chat-thread.module.js +1 -1
  21. package/dist/ai/citation.css +1 -1
  22. package/dist/ai/citation.module.js +1 -1
  23. package/dist/ai/prompt-input.css +1 -1
  24. package/dist/ai/prompt-input.module.js +1 -1
  25. package/dist/ai/prompt-input.module.js.map +1 -1
  26. package/dist/ai/reasoning-disclosure.css +1 -1
  27. package/dist/ai/reasoning-disclosure.module.js +5 -5
  28. package/dist/ai/reasoning-disclosure.module.js.map +1 -1
  29. package/dist/ai/source-list.css +1 -1
  30. package/dist/ai/source-list.module.js +1 -1
  31. package/dist/ai/source-list.module.js.map +1 -1
  32. package/dist/ai/tool-call.css +1 -1
  33. package/dist/ai/tool-call.module.js +1 -1
  34. package/dist/archetypes/AppShell.js.map +1 -1
  35. package/dist/archetypes/AppShell.vue_vue_type_script_setup_true_lang.js +139 -88
  36. package/dist/archetypes/AppShell.vue_vue_type_script_setup_true_lang.js.map +1 -1
  37. package/dist/archetypes/FormPage.js.map +1 -1
  38. package/dist/archetypes/FormPage.vue_vue_type_script_setup_true_lang.js +43 -21
  39. package/dist/archetypes/FormPage.vue_vue_type_script_setup_true_lang.js.map +1 -1
  40. package/dist/archetypes/app-shell.css +1 -1
  41. package/dist/archetypes/app-shell.module.js +9 -8
  42. package/dist/archetypes/app-shell.module.js.map +1 -1
  43. package/dist/archetypes/form-page.css +1 -1
  44. package/dist/archetypes/form-page.module.js +5 -3
  45. package/dist/archetypes/form-page.module.js.map +1 -1
  46. package/dist/archetypes/master-detail-page.css +1 -1
  47. package/dist/archetypes/master-detail-page.module.js +1 -1
  48. package/dist/archetypes/master-detail-page.module.js.map +1 -1
  49. package/dist/charts/area-chart.css +1 -1
  50. package/dist/charts/area-chart.module.js +1 -1
  51. package/dist/charts/bar-chart.css +1 -1
  52. package/dist/charts/bar-chart.module.js +1 -1
  53. package/dist/charts/donut-chart.css +1 -1
  54. package/dist/charts/donut-chart.module.js +1 -1
  55. package/dist/charts/frame/chart-frame.css +1 -1
  56. package/dist/charts/frame/chart-frame.module.js +1 -1
  57. package/dist/charts/frame/chart-legend.css +1 -1
  58. package/dist/charts/frame/chart-legend.module.js +1 -1
  59. package/dist/charts/frame/chart-legend.module.js.map +1 -1
  60. package/dist/charts/funnel-chart.css +1 -1
  61. package/dist/charts/funnel-chart.module.js +1 -1
  62. package/dist/charts/heatmap.css +1 -1
  63. package/dist/charts/heatmap.module.js +1 -1
  64. package/dist/charts/histogram.css +1 -1
  65. package/dist/charts/histogram.module.js +1 -1
  66. package/dist/charts/line-chart.css +1 -1
  67. package/dist/charts/line-chart.module.js +1 -1
  68. package/dist/charts/radar-chart.css +1 -1
  69. package/dist/charts/radar-chart.module.js +1 -1
  70. package/dist/charts/scatter-chart.css +1 -1
  71. package/dist/charts/scatter-chart.module.js +1 -1
  72. package/dist/charts/treemap.css +1 -1
  73. package/dist/charts/treemap.module.js +1 -1
  74. package/dist/controls/AvatarButton.js.map +1 -1
  75. package/dist/controls/AvatarButton.vue_vue_type_script_setup_true_lang.js +43 -35
  76. package/dist/controls/AvatarButton.vue_vue_type_script_setup_true_lang.js.map +1 -1
  77. package/dist/controls/Button.js.map +1 -1
  78. package/dist/controls/Button.vue_vue_type_script_setup_true_lang.js +74 -62
  79. package/dist/controls/Button.vue_vue_type_script_setup_true_lang.js.map +1 -1
  80. package/dist/controls/Calendar.js.map +1 -1
  81. package/dist/controls/Calendar.vue_vue_type_script_setup_true_lang.js +1 -1
  82. package/dist/controls/Calendar.vue_vue_type_script_setup_true_lang.js.map +1 -1
  83. package/dist/controls/Checkbox.js.map +1 -1
  84. package/dist/controls/Checkbox.vue_vue_type_script_setup_true_lang.js +1 -1
  85. package/dist/controls/Checkbox.vue_vue_type_script_setup_true_lang.js.map +1 -1
  86. package/dist/controls/ColorInput.js.map +1 -1
  87. package/dist/controls/ColorInput.vue_vue_type_script_setup_true_lang.js +95 -95
  88. package/dist/controls/ColorInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
  89. package/dist/controls/Combobox.js.map +1 -1
  90. package/dist/controls/Combobox.vue_vue_type_script_setup_true_lang.js +1 -1
  91. package/dist/controls/Combobox.vue_vue_type_script_setup_true_lang.js.map +1 -1
  92. package/dist/controls/CopyButton.js.map +1 -1
  93. package/dist/controls/CopyButton.vue_vue_type_script_setup_true_lang.js +44 -30
  94. package/dist/controls/CopyButton.vue_vue_type_script_setup_true_lang.js.map +1 -1
  95. package/dist/controls/DatePicker.js.map +1 -1
  96. package/dist/controls/DatePicker.vue_vue_type_script_setup_true_lang.js +1 -1
  97. package/dist/controls/DatePicker.vue_vue_type_script_setup_true_lang.js.map +1 -1
  98. package/dist/controls/DateRangePicker.js.map +1 -1
  99. package/dist/controls/DateRangePicker.vue_vue_type_script_setup_true_lang.js +1 -1
  100. package/dist/controls/DateRangePicker.vue_vue_type_script_setup_true_lang.js.map +1 -1
  101. package/dist/controls/FileUpload.js.map +1 -1
  102. package/dist/controls/FileUpload.vue_vue_type_script_setup_true_lang.js +98 -89
  103. package/dist/controls/FileUpload.vue_vue_type_script_setup_true_lang.js.map +1 -1
  104. package/dist/controls/InlineEdit.js.map +1 -1
  105. package/dist/controls/InlineEdit.vue_vue_type_script_setup_true_lang.js +71 -63
  106. package/dist/controls/InlineEdit.vue_vue_type_script_setup_true_lang.js.map +1 -1
  107. package/dist/controls/MultiSelect.js.map +1 -1
  108. package/dist/controls/MultiSelect.vue_vue_type_script_setup_true_lang.js +188 -177
  109. package/dist/controls/MultiSelect.vue_vue_type_script_setup_true_lang.js.map +1 -1
  110. package/dist/controls/NumberInput.js.map +1 -1
  111. package/dist/controls/NumberInput.vue_vue_type_script_setup_true_lang.js +1 -1
  112. package/dist/controls/NumberInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
  113. package/dist/controls/PhoneInput.js.map +1 -1
  114. package/dist/controls/PhoneInput.vue_vue_type_script_setup_true_lang.js +39 -39
  115. package/dist/controls/PhoneInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
  116. package/dist/controls/RadioGroup.js.map +1 -1
  117. package/dist/controls/RadioGroup.vue_vue_type_script_setup_true_lang.js +1 -1
  118. package/dist/controls/RadioGroup.vue_vue_type_script_setup_true_lang.js.map +1 -1
  119. package/dist/controls/SegmentedControl.js.map +1 -1
  120. package/dist/controls/SegmentedControl.vue_vue_type_script_setup_true_lang.js +1 -1
  121. package/dist/controls/SegmentedControl.vue_vue_type_script_setup_true_lang.js.map +1 -1
  122. package/dist/controls/Select.js.map +1 -1
  123. package/dist/controls/Select.vue_vue_type_script_setup_true_lang.js +1 -1
  124. package/dist/controls/Select.vue_vue_type_script_setup_true_lang.js.map +1 -1
  125. package/dist/controls/Slider.js.map +1 -1
  126. package/dist/controls/Slider.vue_vue_type_script_setup_true_lang.js +1 -1
  127. package/dist/controls/Slider.vue_vue_type_script_setup_true_lang.js.map +1 -1
  128. package/dist/controls/SplitButton.js.map +1 -1
  129. package/dist/controls/SplitButton.vue_vue_type_script_setup_true_lang.js +102 -87
  130. package/dist/controls/SplitButton.vue_vue_type_script_setup_true_lang.js.map +1 -1
  131. package/dist/controls/SplitButtonSubmenu.js.map +1 -1
  132. package/dist/controls/SplitButtonSubmenu.vue_vue_type_script_setup_true_lang.js +1 -1
  133. package/dist/controls/SplitButtonSubmenu.vue_vue_type_script_setup_true_lang.js.map +1 -1
  134. package/dist/controls/Switch.js.map +1 -1
  135. package/dist/controls/Switch.vue_vue_type_script_setup_true_lang.js +1 -1
  136. package/dist/controls/Switch.vue_vue_type_script_setup_true_lang.js.map +1 -1
  137. package/dist/controls/TagInput.js.map +1 -1
  138. package/dist/controls/TagInput.vue_vue_type_script_setup_true_lang.js +122 -111
  139. package/dist/controls/TagInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
  140. package/dist/controls/TreeSelect.js.map +1 -1
  141. package/dist/controls/TreeSelect.vue_vue_type_script_setup_true_lang.js +56 -56
  142. package/dist/controls/TreeSelect.vue_vue_type_script_setup_true_lang.js.map +1 -1
  143. package/dist/controls/avatar-button.css +1 -1
  144. package/dist/controls/avatar-button.module.js +5 -4
  145. package/dist/controls/avatar-button.module.js.map +1 -1
  146. package/dist/controls/button.css +1 -1
  147. package/dist/controls/button.module.js +4 -3
  148. package/dist/controls/button.module.js.map +1 -1
  149. package/dist/controls/calendar.css +1 -1
  150. package/dist/controls/calendar.module.js +3 -3
  151. package/dist/controls/calendar.module.js.map +1 -1
  152. package/dist/controls/checkbox-group.css +1 -1
  153. package/dist/controls/checkbox-group.module.js +1 -1
  154. package/dist/controls/checkbox.css +1 -1
  155. package/dist/controls/checkbox.module.js +2 -2
  156. package/dist/controls/checkbox.module.js.map +1 -1
  157. package/dist/controls/choice-card.css +1 -1
  158. package/dist/controls/choice-card.module.js +2 -2
  159. package/dist/controls/choice-card.module.js.map +1 -1
  160. package/dist/controls/color-input.css +1 -1
  161. package/dist/controls/color-input.module.js +1 -1
  162. package/dist/controls/color-input.module.js.map +1 -1
  163. package/dist/controls/combobox.css +1 -1
  164. package/dist/controls/combobox.module.js +5 -5
  165. package/dist/controls/combobox.module.js.map +1 -1
  166. package/dist/controls/copy-button.css +1 -1
  167. package/dist/controls/copy-button.module.js +8 -7
  168. package/dist/controls/copy-button.module.js.map +1 -1
  169. package/dist/controls/date-picker.css +1 -1
  170. package/dist/controls/date-picker.module.js +1 -1
  171. package/dist/controls/date-range-picker.css +1 -1
  172. package/dist/controls/date-range-picker.module.js +6 -6
  173. package/dist/controls/date-range-picker.module.js.map +1 -1
  174. package/dist/controls/duration-input.css +1 -1
  175. package/dist/controls/duration-input.module.js +1 -1
  176. package/dist/controls/file-upload.css +1 -1
  177. package/dist/controls/file-upload.module.js +1 -1
  178. package/dist/controls/file-upload.module.js.map +1 -1
  179. package/dist/controls/input.css +1 -1
  180. package/dist/controls/input.module.js +2 -2
  181. package/dist/controls/input.module.js.map +1 -1
  182. package/dist/controls/link.css +1 -1
  183. package/dist/controls/link.module.js +1 -1
  184. package/dist/controls/link.module.js.map +1 -1
  185. package/dist/controls/month-input.css +1 -1
  186. package/dist/controls/month-input.module.js +1 -1
  187. package/dist/controls/multi-select.css +1 -1
  188. package/dist/controls/multi-select.module.js +5 -5
  189. package/dist/controls/multi-select.module.js.map +1 -1
  190. package/dist/controls/number-input.css +1 -1
  191. package/dist/controls/number-input.module.js +1 -1
  192. package/dist/controls/number-input.module.js.map +1 -1
  193. package/dist/controls/otp-input.css +1 -1
  194. package/dist/controls/otp-input.module.js +2 -2
  195. package/dist/controls/otp-input.module.js.map +1 -1
  196. package/dist/controls/password-input.css +1 -1
  197. package/dist/controls/password-input.module.js +2 -2
  198. package/dist/controls/password-input.module.js.map +1 -1
  199. package/dist/controls/provider-button.css +1 -1
  200. package/dist/controls/provider-button.module.js +1 -1
  201. package/dist/controls/radio-group.css +1 -1
  202. package/dist/controls/radio-group.module.js +2 -2
  203. package/dist/controls/radio-group.module.js.map +1 -1
  204. package/dist/controls/rating.css +1 -1
  205. package/dist/controls/rating.module.js +1 -1
  206. package/dist/controls/rich-text-input.css +1 -1
  207. package/dist/controls/rich-text-input.module.js +1 -1
  208. package/dist/controls/rich-text-input.module.js.map +1 -1
  209. package/dist/controls/segmented-control.css +1 -1
  210. package/dist/controls/segmented-control.module.js +1 -1
  211. package/dist/controls/select.css +1 -1
  212. package/dist/controls/select.module.js +3 -3
  213. package/dist/controls/select.module.js.map +1 -1
  214. package/dist/controls/slider.css +1 -1
  215. package/dist/controls/slider.module.js +1 -1
  216. package/dist/controls/slider.module.js.map +1 -1
  217. package/dist/controls/split-button.css +1 -1
  218. package/dist/controls/split-button.module.js +20 -19
  219. package/dist/controls/split-button.module.js.map +1 -1
  220. package/dist/controls/switch.css +1 -1
  221. package/dist/controls/switch.module.js +1 -1
  222. package/dist/controls/switch.module.js.map +1 -1
  223. package/dist/controls/tag-input.css +1 -1
  224. package/dist/controls/tag-input.module.js +1 -1
  225. package/dist/controls/textarea.css +1 -1
  226. package/dist/controls/textarea.module.js +1 -1
  227. package/dist/controls/time-input.css +1 -1
  228. package/dist/controls/time-input.module.js +1 -1
  229. package/dist/controls/tree-select.css +1 -1
  230. package/dist/controls/tree-select.module.js +1 -1
  231. package/dist/layout/split-pane.css +1 -1
  232. package/dist/layout/split-pane.module.js +1 -1
  233. package/dist/layout/split-pane.module.js.map +1 -1
  234. package/dist/node/ai/ArtifactPane.js.map +1 -1
  235. package/dist/node/ai/ArtifactPane.vue_vue_type_script_setup_true_lang.js +80 -72
  236. package/dist/node/ai/ArtifactPane.vue_vue_type_script_setup_true_lang.js.map +1 -1
  237. package/dist/node/ai/PromptInput.js.map +1 -1
  238. package/dist/node/ai/PromptInput.vue_vue_type_script_setup_true_lang.js +105 -105
  239. package/dist/node/ai/PromptInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
  240. package/dist/node/ai/ReasoningDisclosure.js.map +1 -1
  241. package/dist/node/ai/ReasoningDisclosure.vue_vue_type_script_setup_true_lang.js +1 -1
  242. package/dist/node/ai/ReasoningDisclosure.vue_vue_type_script_setup_true_lang.js.map +1 -1
  243. package/dist/node/ai/ToolCall.js.map +1 -1
  244. package/dist/node/ai/ToolCall.vue_vue_type_script_setup_true_lang.js +1 -1
  245. package/dist/node/ai/ToolCall.vue_vue_type_script_setup_true_lang.js.map +1 -1
  246. package/dist/node/ai/artifact-pane.module.js +1 -1
  247. package/dist/node/ai/attachment-chip.module.js +1 -1
  248. package/dist/node/ai/attachment-chip.module.js.map +1 -1
  249. package/dist/node/ai/chat-thread.module.js +1 -1
  250. package/dist/node/ai/citation.module.js +1 -1
  251. package/dist/node/ai/prompt-input.module.js +1 -1
  252. package/dist/node/ai/prompt-input.module.js.map +1 -1
  253. package/dist/node/ai/reasoning-disclosure.module.js +5 -5
  254. package/dist/node/ai/reasoning-disclosure.module.js.map +1 -1
  255. package/dist/node/ai/source-list.module.js +1 -1
  256. package/dist/node/ai/source-list.module.js.map +1 -1
  257. package/dist/node/ai/tool-call.module.js +1 -1
  258. package/dist/node/archetypes/AppShell.js.map +1 -1
  259. package/dist/node/archetypes/AppShell.vue_vue_type_script_setup_true_lang.js +139 -88
  260. package/dist/node/archetypes/AppShell.vue_vue_type_script_setup_true_lang.js.map +1 -1
  261. package/dist/node/archetypes/FormPage.js.map +1 -1
  262. package/dist/node/archetypes/FormPage.vue_vue_type_script_setup_true_lang.js +43 -21
  263. package/dist/node/archetypes/FormPage.vue_vue_type_script_setup_true_lang.js.map +1 -1
  264. package/dist/node/archetypes/app-shell.module.js +9 -8
  265. package/dist/node/archetypes/app-shell.module.js.map +1 -1
  266. package/dist/node/archetypes/form-page.module.js +5 -3
  267. package/dist/node/archetypes/form-page.module.js.map +1 -1
  268. package/dist/node/archetypes/master-detail-page.module.js +1 -1
  269. package/dist/node/archetypes/master-detail-page.module.js.map +1 -1
  270. package/dist/node/charts/area-chart.module.js +1 -1
  271. package/dist/node/charts/bar-chart.module.js +1 -1
  272. package/dist/node/charts/donut-chart.module.js +1 -1
  273. package/dist/node/charts/frame/chart-frame.module.js +1 -1
  274. package/dist/node/charts/frame/chart-legend.module.js +1 -1
  275. package/dist/node/charts/frame/chart-legend.module.js.map +1 -1
  276. package/dist/node/charts/funnel-chart.module.js +1 -1
  277. package/dist/node/charts/heatmap.module.js +1 -1
  278. package/dist/node/charts/histogram.module.js +1 -1
  279. package/dist/node/charts/line-chart.module.js +1 -1
  280. package/dist/node/charts/radar-chart.module.js +1 -1
  281. package/dist/node/charts/scatter-chart.module.js +1 -1
  282. package/dist/node/charts/treemap.module.js +1 -1
  283. package/dist/node/controls/AvatarButton.js.map +1 -1
  284. package/dist/node/controls/AvatarButton.vue_vue_type_script_setup_true_lang.js +43 -35
  285. package/dist/node/controls/AvatarButton.vue_vue_type_script_setup_true_lang.js.map +1 -1
  286. package/dist/node/controls/Button.js.map +1 -1
  287. package/dist/node/controls/Button.vue_vue_type_script_setup_true_lang.js +74 -62
  288. package/dist/node/controls/Button.vue_vue_type_script_setup_true_lang.js.map +1 -1
  289. package/dist/node/controls/Calendar.js.map +1 -1
  290. package/dist/node/controls/Calendar.vue_vue_type_script_setup_true_lang.js +1 -1
  291. package/dist/node/controls/Calendar.vue_vue_type_script_setup_true_lang.js.map +1 -1
  292. package/dist/node/controls/Checkbox.js.map +1 -1
  293. package/dist/node/controls/Checkbox.vue_vue_type_script_setup_true_lang.js +1 -1
  294. package/dist/node/controls/Checkbox.vue_vue_type_script_setup_true_lang.js.map +1 -1
  295. package/dist/node/controls/ColorInput.js.map +1 -1
  296. package/dist/node/controls/ColorInput.vue_vue_type_script_setup_true_lang.js +95 -95
  297. package/dist/node/controls/ColorInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
  298. package/dist/node/controls/Combobox.js.map +1 -1
  299. package/dist/node/controls/Combobox.vue_vue_type_script_setup_true_lang.js +1 -1
  300. package/dist/node/controls/Combobox.vue_vue_type_script_setup_true_lang.js.map +1 -1
  301. package/dist/node/controls/CopyButton.js.map +1 -1
  302. package/dist/node/controls/CopyButton.vue_vue_type_script_setup_true_lang.js +44 -30
  303. package/dist/node/controls/CopyButton.vue_vue_type_script_setup_true_lang.js.map +1 -1
  304. package/dist/node/controls/DatePicker.js.map +1 -1
  305. package/dist/node/controls/DatePicker.vue_vue_type_script_setup_true_lang.js +1 -1
  306. package/dist/node/controls/DatePicker.vue_vue_type_script_setup_true_lang.js.map +1 -1
  307. package/dist/node/controls/DateRangePicker.js.map +1 -1
  308. package/dist/node/controls/DateRangePicker.vue_vue_type_script_setup_true_lang.js +1 -1
  309. package/dist/node/controls/DateRangePicker.vue_vue_type_script_setup_true_lang.js.map +1 -1
  310. package/dist/node/controls/FileUpload.js.map +1 -1
  311. package/dist/node/controls/FileUpload.vue_vue_type_script_setup_true_lang.js +98 -89
  312. package/dist/node/controls/FileUpload.vue_vue_type_script_setup_true_lang.js.map +1 -1
  313. package/dist/node/controls/InlineEdit.js.map +1 -1
  314. package/dist/node/controls/InlineEdit.vue_vue_type_script_setup_true_lang.js +71 -63
  315. package/dist/node/controls/InlineEdit.vue_vue_type_script_setup_true_lang.js.map +1 -1
  316. package/dist/node/controls/MultiSelect.js.map +1 -1
  317. package/dist/node/controls/MultiSelect.vue_vue_type_script_setup_true_lang.js +188 -177
  318. package/dist/node/controls/MultiSelect.vue_vue_type_script_setup_true_lang.js.map +1 -1
  319. package/dist/node/controls/NumberInput.js.map +1 -1
  320. package/dist/node/controls/NumberInput.vue_vue_type_script_setup_true_lang.js +1 -1
  321. package/dist/node/controls/NumberInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
  322. package/dist/node/controls/PhoneInput.js.map +1 -1
  323. package/dist/node/controls/PhoneInput.vue_vue_type_script_setup_true_lang.js +39 -39
  324. package/dist/node/controls/PhoneInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
  325. package/dist/node/controls/RadioGroup.js.map +1 -1
  326. package/dist/node/controls/RadioGroup.vue_vue_type_script_setup_true_lang.js +1 -1
  327. package/dist/node/controls/RadioGroup.vue_vue_type_script_setup_true_lang.js.map +1 -1
  328. package/dist/node/controls/SegmentedControl.js.map +1 -1
  329. package/dist/node/controls/SegmentedControl.vue_vue_type_script_setup_true_lang.js +1 -1
  330. package/dist/node/controls/SegmentedControl.vue_vue_type_script_setup_true_lang.js.map +1 -1
  331. package/dist/node/controls/Select.js.map +1 -1
  332. package/dist/node/controls/Select.vue_vue_type_script_setup_true_lang.js +1 -1
  333. package/dist/node/controls/Select.vue_vue_type_script_setup_true_lang.js.map +1 -1
  334. package/dist/node/controls/Slider.js.map +1 -1
  335. package/dist/node/controls/Slider.vue_vue_type_script_setup_true_lang.js +1 -1
  336. package/dist/node/controls/Slider.vue_vue_type_script_setup_true_lang.js.map +1 -1
  337. package/dist/node/controls/SplitButton.js.map +1 -1
  338. package/dist/node/controls/SplitButton.vue_vue_type_script_setup_true_lang.js +102 -87
  339. package/dist/node/controls/SplitButton.vue_vue_type_script_setup_true_lang.js.map +1 -1
  340. package/dist/node/controls/SplitButtonSubmenu.js.map +1 -1
  341. package/dist/node/controls/SplitButtonSubmenu.vue_vue_type_script_setup_true_lang.js +1 -1
  342. package/dist/node/controls/SplitButtonSubmenu.vue_vue_type_script_setup_true_lang.js.map +1 -1
  343. package/dist/node/controls/Switch.js.map +1 -1
  344. package/dist/node/controls/Switch.vue_vue_type_script_setup_true_lang.js +1 -1
  345. package/dist/node/controls/Switch.vue_vue_type_script_setup_true_lang.js.map +1 -1
  346. package/dist/node/controls/TagInput.js.map +1 -1
  347. package/dist/node/controls/TagInput.vue_vue_type_script_setup_true_lang.js +122 -111
  348. package/dist/node/controls/TagInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
  349. package/dist/node/controls/TreeSelect.js.map +1 -1
  350. package/dist/node/controls/TreeSelect.vue_vue_type_script_setup_true_lang.js +56 -56
  351. package/dist/node/controls/TreeSelect.vue_vue_type_script_setup_true_lang.js.map +1 -1
  352. package/dist/node/controls/avatar-button.module.js +5 -4
  353. package/dist/node/controls/avatar-button.module.js.map +1 -1
  354. package/dist/node/controls/button.module.js +4 -3
  355. package/dist/node/controls/button.module.js.map +1 -1
  356. package/dist/node/controls/calendar.module.js +3 -3
  357. package/dist/node/controls/calendar.module.js.map +1 -1
  358. package/dist/node/controls/checkbox-group.module.js +1 -1
  359. package/dist/node/controls/checkbox.module.js +2 -2
  360. package/dist/node/controls/checkbox.module.js.map +1 -1
  361. package/dist/node/controls/choice-card.module.js +2 -2
  362. package/dist/node/controls/choice-card.module.js.map +1 -1
  363. package/dist/node/controls/color-input.module.js +1 -1
  364. package/dist/node/controls/color-input.module.js.map +1 -1
  365. package/dist/node/controls/combobox.module.js +5 -5
  366. package/dist/node/controls/combobox.module.js.map +1 -1
  367. package/dist/node/controls/copy-button.module.js +8 -7
  368. package/dist/node/controls/copy-button.module.js.map +1 -1
  369. package/dist/node/controls/date-picker.module.js +1 -1
  370. package/dist/node/controls/date-range-picker.module.js +6 -6
  371. package/dist/node/controls/date-range-picker.module.js.map +1 -1
  372. package/dist/node/controls/duration-input.module.js +1 -1
  373. package/dist/node/controls/file-upload.module.js +1 -1
  374. package/dist/node/controls/file-upload.module.js.map +1 -1
  375. package/dist/node/controls/input.module.js +2 -2
  376. package/dist/node/controls/input.module.js.map +1 -1
  377. package/dist/node/controls/link.module.js +1 -1
  378. package/dist/node/controls/link.module.js.map +1 -1
  379. package/dist/node/controls/month-input.module.js +1 -1
  380. package/dist/node/controls/multi-select.module.js +5 -5
  381. package/dist/node/controls/multi-select.module.js.map +1 -1
  382. package/dist/node/controls/number-input.module.js +1 -1
  383. package/dist/node/controls/number-input.module.js.map +1 -1
  384. package/dist/node/controls/otp-input.module.js +2 -2
  385. package/dist/node/controls/otp-input.module.js.map +1 -1
  386. package/dist/node/controls/password-input.module.js +2 -2
  387. package/dist/node/controls/password-input.module.js.map +1 -1
  388. package/dist/node/controls/provider-button.module.js +1 -1
  389. package/dist/node/controls/radio-group.module.js +2 -2
  390. package/dist/node/controls/radio-group.module.js.map +1 -1
  391. package/dist/node/controls/rating.module.js +1 -1
  392. package/dist/node/controls/rich-text-input.module.js +1 -1
  393. package/dist/node/controls/rich-text-input.module.js.map +1 -1
  394. package/dist/node/controls/segmented-control.module.js +1 -1
  395. package/dist/node/controls/select.module.js +3 -3
  396. package/dist/node/controls/select.module.js.map +1 -1
  397. package/dist/node/controls/slider.module.js +1 -1
  398. package/dist/node/controls/slider.module.js.map +1 -1
  399. package/dist/node/controls/split-button.module.js +20 -19
  400. package/dist/node/controls/split-button.module.js.map +1 -1
  401. package/dist/node/controls/switch.module.js +1 -1
  402. package/dist/node/controls/switch.module.js.map +1 -1
  403. package/dist/node/controls/tag-input.module.js +1 -1
  404. package/dist/node/controls/textarea.module.js +1 -1
  405. package/dist/node/controls/time-input.module.js +1 -1
  406. package/dist/node/controls/tree-select.module.js +1 -1
  407. package/dist/node/layout/split-pane.module.js +1 -1
  408. package/dist/node/layout/split-pane.module.js.map +1 -1
  409. package/dist/node/overlays/Command.js.map +1 -1
  410. package/dist/node/overlays/Command.vue_vue_type_script_setup_true_lang.js +50 -45
  411. package/dist/node/overlays/Command.vue_vue_type_script_setup_true_lang.js.map +1 -1
  412. package/dist/node/overlays/CommandPanel.js.map +1 -1
  413. package/dist/node/overlays/CommandPanel.vue_vue_type_script_setup_true_lang.js +82 -82
  414. package/dist/node/overlays/CommandPanel.vue_vue_type_script_setup_true_lang.js.map +1 -1
  415. package/dist/node/overlays/ContextMenu.js.map +1 -1
  416. package/dist/node/overlays/ContextMenu.vue_vue_type_script_setup_true_lang.js +1 -1
  417. package/dist/node/overlays/ContextMenu.vue_vue_type_script_setup_true_lang.js.map +1 -1
  418. package/dist/node/overlays/ContextMenuSubmenu.js.map +1 -1
  419. package/dist/node/overlays/ContextMenuSubmenu.vue_vue_type_script_setup_true_lang.js +1 -1
  420. package/dist/node/overlays/ContextMenuSubmenu.vue_vue_type_script_setup_true_lang.js.map +1 -1
  421. package/dist/node/overlays/Dialog.js.map +1 -1
  422. package/dist/node/overlays/Dialog.vue_vue_type_script_setup_true_lang.js +47 -43
  423. package/dist/node/overlays/Dialog.vue_vue_type_script_setup_true_lang.js.map +1 -1
  424. package/dist/node/overlays/Drawer.js.map +1 -1
  425. package/dist/node/overlays/Drawer.vue_vue_type_script_setup_true_lang.js +58 -53
  426. package/dist/node/overlays/Drawer.vue_vue_type_script_setup_true_lang.js.map +1 -1
  427. package/dist/node/overlays/Lightbox.js.map +1 -1
  428. package/dist/node/overlays/Lightbox.vue_vue_type_script_setup_true_lang.js +65 -61
  429. package/dist/node/overlays/Lightbox.vue_vue_type_script_setup_true_lang.js.map +1 -1
  430. package/dist/node/overlays/Menu.js.map +1 -1
  431. package/dist/node/overlays/Menu.vue_vue_type_script_setup_true_lang.js +1 -1
  432. package/dist/node/overlays/Menu.vue_vue_type_script_setup_true_lang.js.map +1 -1
  433. package/dist/node/overlays/MenuSubmenu.js.map +1 -1
  434. package/dist/node/overlays/MenuSubmenu.vue_vue_type_script_setup_true_lang.js +1 -1
  435. package/dist/node/overlays/MenuSubmenu.vue_vue_type_script_setup_true_lang.js.map +1 -1
  436. package/dist/node/overlays/Menubar.js.map +1 -1
  437. package/dist/node/overlays/Menubar.vue_vue_type_script_setup_true_lang.js +1 -1
  438. package/dist/node/overlays/Menubar.vue_vue_type_script_setup_true_lang.js.map +1 -1
  439. package/dist/node/overlays/MenubarSubmenu.js.map +1 -1
  440. package/dist/node/overlays/MenubarSubmenu.vue_vue_type_script_setup_true_lang.js +1 -1
  441. package/dist/node/overlays/MenubarSubmenu.vue_vue_type_script_setup_true_lang.js.map +1 -1
  442. package/dist/node/overlays/Popover.js.map +1 -1
  443. package/dist/node/overlays/Popover.vue_vue_type_script_setup_true_lang.js +1 -1
  444. package/dist/node/overlays/Popover.vue_vue_type_script_setup_true_lang.js.map +1 -1
  445. package/dist/node/overlays/Tabs.js.map +1 -1
  446. package/dist/node/overlays/Tabs.vue_vue_type_script_setup_true_lang.js +1 -1
  447. package/dist/node/overlays/Tabs.vue_vue_type_script_setup_true_lang.js.map +1 -1
  448. package/dist/node/overlays/Toast.js.map +1 -1
  449. package/dist/node/overlays/Toast.vue_vue_type_script_setup_true_lang.js.map +1 -1
  450. package/dist/node/overlays/ToastCard.js.map +1 -1
  451. package/dist/node/overlays/ToastCard.vue_vue_type_script_setup_true_lang.js +74 -71
  452. package/dist/node/overlays/ToastCard.vue_vue_type_script_setup_true_lang.js.map +1 -1
  453. package/dist/node/overlays/ToastViewport.js.map +1 -1
  454. package/dist/node/overlays/ToastViewport.vue_vue_type_script_setup_true_lang.js +70 -59
  455. package/dist/node/overlays/ToastViewport.vue_vue_type_script_setup_true_lang.js.map +1 -1
  456. package/dist/node/overlays/Tooltip.js.map +1 -1
  457. package/dist/node/overlays/Tooltip.vue_vue_type_script_setup_true_lang.js +46 -26
  458. package/dist/node/overlays/Tooltip.vue_vue_type_script_setup_true_lang.js.map +1 -1
  459. package/dist/node/overlays/Tour.js.map +1 -1
  460. package/dist/node/overlays/Tour.vue_vue_type_script_setup_true_lang.js +74 -69
  461. package/dist/node/overlays/Tour.vue_vue_type_script_setup_true_lang.js.map +1 -1
  462. package/dist/node/overlays/context-menu.module.js +4 -4
  463. package/dist/node/overlays/context-menu.module.js.map +1 -1
  464. package/dist/node/overlays/dialog.module.js +1 -1
  465. package/dist/node/overlays/dialog.module.js.map +1 -1
  466. package/dist/node/overlays/drawer.module.js +1 -1
  467. package/dist/node/overlays/drawer.module.js.map +1 -1
  468. package/dist/node/overlays/lightbox.module.js +1 -1
  469. package/dist/node/overlays/menu.module.js +4 -4
  470. package/dist/node/overlays/menu.module.js.map +1 -1
  471. package/dist/node/overlays/menubar.module.js +1 -1
  472. package/dist/node/overlays/menubar.module.js.map +1 -1
  473. package/dist/node/overlays/popover.module.js +3 -3
  474. package/dist/node/overlays/popover.module.js.map +1 -1
  475. package/dist/node/overlays/sheet.module.js +1 -1
  476. package/dist/node/overlays/sheet.module.js.map +1 -1
  477. package/dist/node/overlays/tabs.module.js +4 -4
  478. package/dist/node/overlays/tabs.module.js.map +1 -1
  479. package/dist/node/overlays/toast.module.js +1 -1
  480. package/dist/node/overlays/toast.module.js.map +1 -1
  481. package/dist/node/overlays/tour.module.js +1 -1
  482. package/dist/node/overlays/tour.module.js.map +1 -1
  483. package/dist/node/structure/Accordion.js.map +1 -1
  484. package/dist/node/structure/Accordion.vue_vue_type_script_setup_true_lang.js +1 -1
  485. package/dist/node/structure/Accordion.vue_vue_type_script_setup_true_lang.js.map +1 -1
  486. package/dist/node/structure/Alert.js.map +1 -1
  487. package/dist/node/structure/Alert.vue_vue_type_script_setup_true_lang.js +62 -54
  488. package/dist/node/structure/Alert.vue_vue_type_script_setup_true_lang.js.map +1 -1
  489. package/dist/node/structure/Banner.js.map +1 -1
  490. package/dist/node/structure/Banner.vue_vue_type_script_setup_true_lang.js +42 -34
  491. package/dist/node/structure/Banner.vue_vue_type_script_setup_true_lang.js.map +1 -1
  492. package/dist/node/structure/Carousel.js.map +1 -1
  493. package/dist/node/structure/Carousel.vue_vue_type_script_setup_true_lang.js +8 -8
  494. package/dist/node/structure/Carousel.vue_vue_type_script_setup_true_lang.js.map +1 -1
  495. package/dist/node/structure/Collapsible.js.map +1 -1
  496. package/dist/node/structure/Collapsible.vue_vue_type_script_setup_true_lang.js +1 -1
  497. package/dist/node/structure/Collapsible.vue_vue_type_script_setup_true_lang.js.map +1 -1
  498. package/dist/node/structure/DataTable.vue_vue_type_script_setup_true_lang.js.map +1 -1
  499. package/dist/node/structure/Pagination.js.map +1 -1
  500. package/dist/node/structure/Pagination.vue_vue_type_script_setup_true_lang.js +118 -88
  501. package/dist/node/structure/Pagination.vue_vue_type_script_setup_true_lang.js.map +1 -1
  502. package/dist/node/structure/ScrollArea.js.map +1 -1
  503. package/dist/node/structure/ScrollArea.vue_vue_type_script_setup_true_lang.js +30 -27
  504. package/dist/node/structure/ScrollArea.vue_vue_type_script_setup_true_lang.js.map +1 -1
  505. package/dist/node/structure/Table.js.map +1 -1
  506. package/dist/node/structure/Table.vue_vue_type_script_setup_true_lang.js +71 -61
  507. package/dist/node/structure/Table.vue_vue_type_script_setup_true_lang.js.map +1 -1
  508. package/dist/node/structure/accordion.module.js +5 -5
  509. package/dist/node/structure/accordion.module.js.map +1 -1
  510. package/dist/node/structure/breadcrumbs.module.js +1 -1
  511. package/dist/node/structure/breadcrumbs.module.js.map +1 -1
  512. package/dist/node/structure/card.module.js +1 -1
  513. package/dist/node/structure/card.module.js.map +1 -1
  514. package/dist/node/structure/carousel.module.js +1 -1
  515. package/dist/node/structure/carousel.module.js.map +1 -1
  516. package/dist/node/structure/code-block.module.js +1 -1
  517. package/dist/node/structure/collapsible.module.js +5 -5
  518. package/dist/node/structure/collapsible.module.js.map +1 -1
  519. package/dist/node/structure/cursor-pagination.module.js +1 -1
  520. package/dist/node/structure/data-table.module.js +1 -1
  521. package/dist/node/structure/error-summary.module.js +1 -1
  522. package/dist/node/structure/error-summary.module.js.map +1 -1
  523. package/dist/node/structure/json-tree.module.js +1 -1
  524. package/dist/node/structure/json-tree.module.js.map +1 -1
  525. package/dist/node/structure/list.module.js +1 -1
  526. package/dist/node/structure/list.module.js.map +1 -1
  527. package/dist/node/structure/log-view.module.js +1 -1
  528. package/dist/node/structure/pagination.module.js +4 -3
  529. package/dist/node/structure/pagination.module.js.map +1 -1
  530. package/dist/node/structure/rich-text-content.module.js +1 -1
  531. package/dist/node/structure/section-nav.module.js +1 -1
  532. package/dist/node/structure/section-nav.module.js.map +1 -1
  533. package/dist/node/structure/stepper.module.js +2 -2
  534. package/dist/node/structure/stepper.module.js.map +1 -1
  535. package/dist/node/structure/table-of-contents.module.js +1 -1
  536. package/dist/node/structure/table-of-contents.module.js.map +1 -1
  537. package/dist/node/structure/table.module.js +1 -1
  538. package/dist/node/structure/table.module.js.map +1 -1
  539. package/dist/node/structure/tree.module.js +1 -1
  540. package/dist/node/structure/tree.module.js.map +1 -1
  541. package/dist/overlays/Command.js.map +1 -1
  542. package/dist/overlays/Command.vue_vue_type_script_setup_true_lang.js +50 -45
  543. package/dist/overlays/Command.vue_vue_type_script_setup_true_lang.js.map +1 -1
  544. package/dist/overlays/CommandPanel.js.map +1 -1
  545. package/dist/overlays/CommandPanel.vue_vue_type_script_setup_true_lang.js +82 -82
  546. package/dist/overlays/CommandPanel.vue_vue_type_script_setup_true_lang.js.map +1 -1
  547. package/dist/overlays/ContextMenu.js.map +1 -1
  548. package/dist/overlays/ContextMenu.vue_vue_type_script_setup_true_lang.js +1 -1
  549. package/dist/overlays/ContextMenu.vue_vue_type_script_setup_true_lang.js.map +1 -1
  550. package/dist/overlays/ContextMenuSubmenu.js.map +1 -1
  551. package/dist/overlays/ContextMenuSubmenu.vue_vue_type_script_setup_true_lang.js +1 -1
  552. package/dist/overlays/ContextMenuSubmenu.vue_vue_type_script_setup_true_lang.js.map +1 -1
  553. package/dist/overlays/Dialog.js.map +1 -1
  554. package/dist/overlays/Dialog.vue_vue_type_script_setup_true_lang.js +47 -43
  555. package/dist/overlays/Dialog.vue_vue_type_script_setup_true_lang.js.map +1 -1
  556. package/dist/overlays/Drawer.js.map +1 -1
  557. package/dist/overlays/Drawer.vue_vue_type_script_setup_true_lang.js +58 -53
  558. package/dist/overlays/Drawer.vue_vue_type_script_setup_true_lang.js.map +1 -1
  559. package/dist/overlays/Lightbox.js.map +1 -1
  560. package/dist/overlays/Lightbox.vue_vue_type_script_setup_true_lang.js +65 -61
  561. package/dist/overlays/Lightbox.vue_vue_type_script_setup_true_lang.js.map +1 -1
  562. package/dist/overlays/Menu.js.map +1 -1
  563. package/dist/overlays/Menu.vue_vue_type_script_setup_true_lang.js +1 -1
  564. package/dist/overlays/Menu.vue_vue_type_script_setup_true_lang.js.map +1 -1
  565. package/dist/overlays/MenuSubmenu.js.map +1 -1
  566. package/dist/overlays/MenuSubmenu.vue_vue_type_script_setup_true_lang.js +1 -1
  567. package/dist/overlays/MenuSubmenu.vue_vue_type_script_setup_true_lang.js.map +1 -1
  568. package/dist/overlays/Menubar.js.map +1 -1
  569. package/dist/overlays/Menubar.vue_vue_type_script_setup_true_lang.js +1 -1
  570. package/dist/overlays/Menubar.vue_vue_type_script_setup_true_lang.js.map +1 -1
  571. package/dist/overlays/MenubarSubmenu.js.map +1 -1
  572. package/dist/overlays/MenubarSubmenu.vue_vue_type_script_setup_true_lang.js +1 -1
  573. package/dist/overlays/MenubarSubmenu.vue_vue_type_script_setup_true_lang.js.map +1 -1
  574. package/dist/overlays/Popover.js.map +1 -1
  575. package/dist/overlays/Popover.vue_vue_type_script_setup_true_lang.js +1 -1
  576. package/dist/overlays/Popover.vue_vue_type_script_setup_true_lang.js.map +1 -1
  577. package/dist/overlays/Tabs.js.map +1 -1
  578. package/dist/overlays/Tabs.vue_vue_type_script_setup_true_lang.js +1 -1
  579. package/dist/overlays/Tabs.vue_vue_type_script_setup_true_lang.js.map +1 -1
  580. package/dist/overlays/Toast.js.map +1 -1
  581. package/dist/overlays/Toast.vue_vue_type_script_setup_true_lang.js.map +1 -1
  582. package/dist/overlays/ToastCard.js.map +1 -1
  583. package/dist/overlays/ToastCard.vue_vue_type_script_setup_true_lang.js +74 -71
  584. package/dist/overlays/ToastCard.vue_vue_type_script_setup_true_lang.js.map +1 -1
  585. package/dist/overlays/ToastViewport.js.map +1 -1
  586. package/dist/overlays/ToastViewport.vue_vue_type_script_setup_true_lang.js +70 -59
  587. package/dist/overlays/ToastViewport.vue_vue_type_script_setup_true_lang.js.map +1 -1
  588. package/dist/overlays/Tooltip.js.map +1 -1
  589. package/dist/overlays/Tooltip.vue_vue_type_script_setup_true_lang.js +46 -26
  590. package/dist/overlays/Tooltip.vue_vue_type_script_setup_true_lang.js.map +1 -1
  591. package/dist/overlays/Tour.js.map +1 -1
  592. package/dist/overlays/Tour.vue_vue_type_script_setup_true_lang.js +74 -69
  593. package/dist/overlays/Tour.vue_vue_type_script_setup_true_lang.js.map +1 -1
  594. package/dist/overlays/context-menu.css +1 -1
  595. package/dist/overlays/context-menu.module.js +4 -4
  596. package/dist/overlays/context-menu.module.js.map +1 -1
  597. package/dist/overlays/dialog.css +1 -1
  598. package/dist/overlays/dialog.module.js +1 -1
  599. package/dist/overlays/dialog.module.js.map +1 -1
  600. package/dist/overlays/drawer.css +1 -1
  601. package/dist/overlays/drawer.module.js +1 -1
  602. package/dist/overlays/drawer.module.js.map +1 -1
  603. package/dist/overlays/lightbox.css +1 -1
  604. package/dist/overlays/lightbox.module.js +1 -1
  605. package/dist/overlays/menu.css +1 -1
  606. package/dist/overlays/menu.module.js +4 -4
  607. package/dist/overlays/menu.module.js.map +1 -1
  608. package/dist/overlays/menubar.css +1 -1
  609. package/dist/overlays/menubar.module.js +1 -1
  610. package/dist/overlays/menubar.module.js.map +1 -1
  611. package/dist/overlays/popover.css +1 -1
  612. package/dist/overlays/popover.module.js +3 -3
  613. package/dist/overlays/popover.module.js.map +1 -1
  614. package/dist/overlays/sheet.css +1 -1
  615. package/dist/overlays/sheet.module.js +1 -1
  616. package/dist/overlays/sheet.module.js.map +1 -1
  617. package/dist/overlays/tabs.css +1 -1
  618. package/dist/overlays/tabs.module.js +4 -4
  619. package/dist/overlays/tabs.module.js.map +1 -1
  620. package/dist/overlays/toast.css +1 -1
  621. package/dist/overlays/toast.module.js +1 -1
  622. package/dist/overlays/toast.module.js.map +1 -1
  623. package/dist/overlays/tour.css +1 -1
  624. package/dist/overlays/tour.module.js +1 -1
  625. package/dist/overlays/tour.module.js.map +1 -1
  626. package/dist/structure/Accordion.js.map +1 -1
  627. package/dist/structure/Accordion.vue_vue_type_script_setup_true_lang.js +1 -1
  628. package/dist/structure/Accordion.vue_vue_type_script_setup_true_lang.js.map +1 -1
  629. package/dist/structure/Alert.js.map +1 -1
  630. package/dist/structure/Alert.vue_vue_type_script_setup_true_lang.js +62 -54
  631. package/dist/structure/Alert.vue_vue_type_script_setup_true_lang.js.map +1 -1
  632. package/dist/structure/Banner.js.map +1 -1
  633. package/dist/structure/Banner.vue_vue_type_script_setup_true_lang.js +42 -34
  634. package/dist/structure/Banner.vue_vue_type_script_setup_true_lang.js.map +1 -1
  635. package/dist/structure/Carousel.js.map +1 -1
  636. package/dist/structure/Carousel.vue_vue_type_script_setup_true_lang.js +8 -8
  637. package/dist/structure/Carousel.vue_vue_type_script_setup_true_lang.js.map +1 -1
  638. package/dist/structure/Collapsible.js.map +1 -1
  639. package/dist/structure/Collapsible.vue_vue_type_script_setup_true_lang.js +1 -1
  640. package/dist/structure/Collapsible.vue_vue_type_script_setup_true_lang.js.map +1 -1
  641. package/dist/structure/DataTable.vue_vue_type_script_setup_true_lang.js.map +1 -1
  642. package/dist/structure/Pagination.js.map +1 -1
  643. package/dist/structure/Pagination.vue_vue_type_script_setup_true_lang.js +118 -88
  644. package/dist/structure/Pagination.vue_vue_type_script_setup_true_lang.js.map +1 -1
  645. package/dist/structure/ScrollArea.js.map +1 -1
  646. package/dist/structure/ScrollArea.vue_vue_type_script_setup_true_lang.js +30 -27
  647. package/dist/structure/ScrollArea.vue_vue_type_script_setup_true_lang.js.map +1 -1
  648. package/dist/structure/Table.js.map +1 -1
  649. package/dist/structure/Table.vue_vue_type_script_setup_true_lang.js +71 -61
  650. package/dist/structure/Table.vue_vue_type_script_setup_true_lang.js.map +1 -1
  651. package/dist/structure/accordion.css +1 -1
  652. package/dist/structure/accordion.module.js +5 -5
  653. package/dist/structure/accordion.module.js.map +1 -1
  654. package/dist/structure/breadcrumbs.css +1 -1
  655. package/dist/structure/breadcrumbs.module.js +1 -1
  656. package/dist/structure/breadcrumbs.module.js.map +1 -1
  657. package/dist/structure/card.css +1 -1
  658. package/dist/structure/card.module.js +1 -1
  659. package/dist/structure/card.module.js.map +1 -1
  660. package/dist/structure/carousel.css +1 -1
  661. package/dist/structure/carousel.module.js +1 -1
  662. package/dist/structure/carousel.module.js.map +1 -1
  663. package/dist/structure/code-block.css +1 -1
  664. package/dist/structure/code-block.module.js +1 -1
  665. package/dist/structure/collapsible.css +1 -1
  666. package/dist/structure/collapsible.module.js +5 -5
  667. package/dist/structure/collapsible.module.js.map +1 -1
  668. package/dist/structure/cursor-pagination.css +1 -1
  669. package/dist/structure/cursor-pagination.module.js +1 -1
  670. package/dist/structure/data-table.css +1 -1
  671. package/dist/structure/data-table.module.js +1 -1
  672. package/dist/structure/error-summary.css +1 -1
  673. package/dist/structure/error-summary.module.js +1 -1
  674. package/dist/structure/error-summary.module.js.map +1 -1
  675. package/dist/structure/json-tree.css +1 -1
  676. package/dist/structure/json-tree.module.js +1 -1
  677. package/dist/structure/json-tree.module.js.map +1 -1
  678. package/dist/structure/list.css +1 -1
  679. package/dist/structure/list.module.js +1 -1
  680. package/dist/structure/list.module.js.map +1 -1
  681. package/dist/structure/log-view.css +1 -1
  682. package/dist/structure/log-view.module.js +1 -1
  683. package/dist/structure/pagination.css +1 -1
  684. package/dist/structure/pagination.module.js +4 -3
  685. package/dist/structure/pagination.module.js.map +1 -1
  686. package/dist/structure/rich-text-content.css +1 -1
  687. package/dist/structure/rich-text-content.module.js +1 -1
  688. package/dist/structure/section-nav.css +1 -1
  689. package/dist/structure/section-nav.module.js +1 -1
  690. package/dist/structure/section-nav.module.js.map +1 -1
  691. package/dist/structure/stepper.css +1 -1
  692. package/dist/structure/stepper.module.js +2 -2
  693. package/dist/structure/stepper.module.js.map +1 -1
  694. package/dist/structure/table-of-contents.css +1 -1
  695. package/dist/structure/table-of-contents.module.js +1 -1
  696. package/dist/structure/table-of-contents.module.js.map +1 -1
  697. package/dist/structure/table.css +1 -1
  698. package/dist/structure/table.module.js +1 -1
  699. package/dist/structure/table.module.js.map +1 -1
  700. package/dist/structure/tree.css +1 -1
  701. package/dist/structure/tree.module.js +1 -1
  702. package/dist/structure/tree.module.js.map +1 -1
  703. package/dist/types/ai/AttachmentChip.vue.d.ts +1 -1
  704. package/dist/types/ai/ToolCall.vue.d.ts +1 -1
  705. package/dist/types/archetypes/FormPage.vue.d.ts +1 -0
  706. package/dist/types/charts/BarChart.vue.d.ts +1 -1
  707. package/dist/types/controls/FileUpload.vue.d.ts +1 -1
  708. package/dist/types/controls/RecordButton.vue.d.ts +2 -2
  709. package/dist/types/controls/Slider.vue.d.ts +1 -1
  710. package/dist/types/layout/Grid.vue.d.ts +1 -1
  711. package/dist/types/layout/Inline.vue.d.ts +2 -2
  712. package/dist/types/layout/Stack.vue.d.ts +2 -2
  713. package/dist/types/overlays/Drawer.vue.d.ts +1 -1
  714. package/dist/types/overlays/HoverCard.vue.d.ts +1 -1
  715. package/dist/types/overlays/Menu.vue.d.ts +1 -1
  716. package/dist/types/overlays/Popover.vue.d.ts +1 -1
  717. package/dist/types/overlays/Toast.vue.d.ts +3 -1
  718. package/dist/types/overlays/Tooltip.vue.d.ts +1 -1
  719. package/dist/types/structure/EmptyState.vue.d.ts +1 -1
  720. package/dist/types/structure/Hero.vue.d.ts +1 -1
  721. package/dist/types/structure/RelativeTime.vue.d.ts +1 -1
  722. package/package.json +3 -3
@@ -1 +1 @@
1
- {"version":3,"file":"avatar-button.module.js","names":[],"sources":["../../../recipes/src/controls/avatar-button.module.css"],"sourcesContent":["/* AvatarButton — `design/components/avatar-button.md`.\n *\n * Composes Button `ghost`/`neutral` instead of copying it, as CopyButton and ProviderButton do.\n * `composes` brings the base, the rest, hover, press, on, loading and disabled styles, the press\n * feedback and the focus ring. This file adds only what Button has no slot for: a round box\n * sized by the face inside it. */\n\n.button {\n composes: button from './button.module.css';\n\n /* The spinner is placed over the box, where the face is. */\n position: relative;\n\n /* A face keeps its shape. A box that shrank in a crowded row would draw an oval wash. */\n flex: none;\n}\n\n/* The box: the face with a `space-1` gutter on every side, never smaller than the size's control\n height, and round at every geometry, as the Avatar inside is. Button's hairline border is the\n gutter's outer pixel, so the padding is the rest of the step, and at `md` the box is exactly\n Button's icon-only square.\n\n Each selector names the size and the cell: one attribute more than Button's size rules, which\n set the block size and the inline padding this rule replaces. A built stylesheet carries its own\n copy of every rule it composes, so a page that loads another Button preset after this member\n loads Button's rules again. Equal specificity would let that order choose the box. */\n.button[data-size][data-variant] {\n min-inline-size: var(--pm-control-height-md);\n block-size: auto;\n min-block-size: var(--pm-control-height-md);\n padding: calc(var(--pm-space-1) - 1px);\n border-radius: var(--pm-radius-pill);\n}\n\n.button[data-size='sm'][data-variant] {\n min-inline-size: var(--pm-control-height-sm);\n min-block-size: var(--pm-control-height-sm);\n}\n\n.button[data-size='lg'][data-variant] {\n min-inline-size: var(--pm-control-height-lg);\n min-block-size: var(--pm-control-height-lg);\n}\n\n/* The Avatar's box. The Avatar brings its own size, colours and image fade. */\n.face {\n display: inline-flex;\n flex: none;\n}\n\n/* While loading the face is hidden and keeps its room, so the box does not change size, and the\n spinner is centred over it in the cell's text colour. */\n.button[data-state='loading'] .face {\n visibility: hidden;\n}\n\n/* The `button.spinner` binding, composed. The motion module owns the period, the temperament\n scaling and the three ways it is switched off.\n\n The turning box is the glyph's own size, centred by its auto margins. A box the size of the\n button would swing its corners past the round cell as it turns, and add scrollable overflow to\n whatever holds the button. */\n.spinner {\n composes: spin from '../conventions/motion.module.css';\n position: absolute;\n inset: 0;\n display: inline-flex;\n inline-size: fit-content;\n block-size: fit-content;\n margin: auto;\n}\n\n/* A disabled control dims through Button's disabled style, which sets text and border. A face\n has its own fills, so it would stay at full strength and look like the only active part of a\n disabled control. It is desaturated and faded as a whole, as ProviderButton's mark is, rather\n than repainted. */\n.button[data-disabled] .face {\n filter: grayscale(1);\n opacity: 0.5;\n}\n"],"mappings":""}
1
+ {"version":3,"file":"avatar-button.module.js","names":[],"sources":["../../../recipes/src/controls/avatar-button.module.css"],"sourcesContent":["/* AvatarButton — `design/components/avatar-button.md`.\n *\n * Composes Button `ghost`/`neutral` instead of copying it, as CopyButton and ProviderButton do.\n * `composes` brings the base, the rest, hover, press, on, loading and disabled styles, the press\n * feedback and the focus ring. This file adds only what Button has no slot for: a round box\n * sized by the face inside it. */\n\n.button {\n composes: button from './button.module.css';\n\n /* The spinner is placed over the box, where the face is. */\n position: relative;\n\n /* A face keeps its shape. A box that shrank in a crowded row would draw an oval wash. */\n flex: none;\n}\n\n/* The name tip (`nameTip` in `@polymorph/engine`): the label shown on hover and keyboard focus,\n because the face draws no text. It is Button's tip, composed. */\n.tip {\n composes: tip from './button.module.css';\n}\n\n/* The box: the face with a `space-1` gutter on every side, never smaller than the size's control\n height, and round at every geometry, as the Avatar inside is. Button's hairline border is the\n gutter's outer pixel, so the padding is the rest of the step, and at `md` the box is exactly\n Button's icon-only square.\n\n Each selector names the size and the cell: one attribute more than Button's size rules, which\n set the block size and the inline padding this rule replaces. A built stylesheet carries its own\n copy of every rule it composes, so a page that loads another Button preset after this member\n loads Button's rules again. Equal specificity would let that order choose the box. */\n.button[data-size][data-variant] {\n min-inline-size: var(--pm-control-height-md);\n block-size: auto;\n min-block-size: var(--pm-control-height-md);\n padding: calc(var(--pm-space-1) - 1px);\n border-radius: var(--pm-radius-pill);\n}\n\n.button[data-size='sm'][data-variant] {\n min-inline-size: var(--pm-control-height-sm);\n min-block-size: var(--pm-control-height-sm);\n}\n\n.button[data-size='lg'][data-variant] {\n min-inline-size: var(--pm-control-height-lg);\n min-block-size: var(--pm-control-height-lg);\n}\n\n/* The Avatar's box. The Avatar brings its own size, colours and image fade. */\n.face {\n display: inline-flex;\n flex: none;\n}\n\n/* While loading the face is hidden and keeps its room, so the box does not change size, and the\n spinner is centred over it in the cell's text colour. */\n.button[data-state='loading'] .face {\n visibility: hidden;\n}\n\n/* The `button.spinner` binding, composed. The motion module owns the period, the temperament\n scaling and the three ways it is switched off.\n\n The turning box is the glyph's own size, centred by its auto margins. A box the size of the\n button would swing its corners past the round cell as it turns, and add scrollable overflow to\n whatever holds the button. */\n.spinner {\n composes: spin from '../conventions/motion.module.css';\n position: absolute;\n inset: 0;\n display: inline-flex;\n inline-size: fit-content;\n block-size: fit-content;\n margin: auto;\n}\n\n/* A disabled control dims through Button's disabled style, which sets text and border. A face\n has its own fills, so it would stay at full strength and look like the only active part of a\n disabled control. It is desaturated and faded as a whole, as ProviderButton's mark is, rather\n than repainted. */\n.button[data-disabled] .face {\n filter: grayscale(1);\n opacity: 0.5;\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)}
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)}
@@ -1,13 +1,14 @@
1
1
  import './button.css';
2
2
  //#region ../recipes/src/controls/button.module.css
3
- var e = "_button_17o12_17 _focusRing_1lfnc_15 _stateFeedback_lkjqs_17 _pressable_lkjqs_38", t = "_label_17o12_43", n = "_glyph_17o12_50", r = "_spinner_17o12_13 _spin_lkjqs_83", i = "_count_17o12_67", a = {
3
+ var e = "_button_cxa90_17 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17 _pressable_lkjqs_38", t = "_label_cxa90_43", n = "_glyph_cxa90_50", r = "_spinner_cxa90_13 _spin_lkjqs_83", i = "_count_cxa90_67", a = "_tip_cxa90_80 _bubble_11q5z_14 _fadeIn_lkjqs_92", o = {
4
4
  button: e,
5
5
  label: t,
6
6
  glyph: n,
7
7
  spinner: r,
8
- count: i
8
+ count: i,
9
+ tip: a
9
10
  };
10
11
  //#endregion
11
- export { e as button, i as count, a as default, n as glyph, t as label, r as spinner };
12
+ export { e as button, i as count, o as default, n as glyph, t as label, r as spinner, a as tip };
12
13
 
13
14
  //# sourceMappingURL=button.module.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"button.module.js","names":[],"sources":["../../../recipes/src/controls/button.module.css"],"sourcesContent":["/* Button — `design/components/button.md`, with each recipe cell copied from the spec.\n *\n * Source order matters. Selectors ascend in specificity:\n *\n * base -> size -> icon-only -> loading -> rest cells -> disabled -> hover ->\n * the unfilled hover choice -> active -> on\n *\n * Disabled comes *before* hover/active and still wins, because the interactive rules are guarded\n * with `:not(:disabled)` instead of out-specifying it. This keeps specificity non-descending\n * (stylelint's `no-descending-specificity` is enforced here) while a disabled button stays inert.\n *\n * Motion is composed, never restated. `stateFeedback` provides the colour transitions, `pressable`\n * the `button.press` binding, and `spin` the `button.spinner` binding. Their tokens, their\n * reduced-motion versions and their `[data-motion=\"none\"]` switch-off come with them\n * (`conventions/motion.module.css`), so this file names no duration and no easing. */\n\n.button {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback pressable from '../conventions/motion.module.css';\n display: inline-flex;\n gap: var(--pm-space-3);\n align-items: center;\n justify-content: 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: pointer;\n user-select: none;\n background: transparent;\n border: 1px solid transparent;\n border-radius: var(--pm-radius-control);\n}\n\n/* The label never wraps. Overflowing text is a caller bug and shows as an ellipsis. The button\n keeps flexbox's default shrink so the ellipsis can appear. The glyphs below are `flex: none`, so\n the text shrinks and the icon never does. */\n.label {\n min-inline-size: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.glyph,\n.spinner {\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n}\n\n/* The `button.spinner` binding: `spin`, an ambient motion. The motion module owns its period, its\n inverse temperament scaling and its three switch-offs. */\n.spinner {\n composes: spin from '../conventions/motion.module.css';\n}\n\n/* The count: a Badge after the label, or over the top end corner of an icon-only button's glyph.\n It takes no press of its own, so a press on it is a press on the button, and a press on a\n neighbour it reaches over is the neighbour's. */\n.count {\n display: inline-flex;\n flex: none;\n pointer-events: none;\n}\n\n/* sizes — the conventions' size system -------------------------------------- */\n\n.button[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.button[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/* icon-only — square, so width follows the height token per size ------------ */\n\n.button[data-icon-only] {\n inline-size: var(--pm-control-height-md);\n padding-inline: 0;\n}\n\n.button[data-icon-only]:has(> .count) {\n position: relative;\n}\n\n/* The count's start edge is fixed at the button's inline centre, and the count grows toward the\n inline end. One figure covers the glyph's top end corner and stays inside the box; a wider\n count reaches past the end edge instead of across the glyph. It stays inside the box on the\n block axis. */\n.button[data-icon-only] > .count {\n position: absolute;\n inset-block-start: 0;\n inset-inline-start: calc(100% / 2);\n}\n\n/* Loading keeps its rest colours and only removes pointer input (the conventions' loading rule).\n `pointer-events: none` also stops :hover and :active from matching, so no interactive rule needs\n to handle this state. */\n.button[data-state='loading'] {\n pointer-events: none;\n}\n\n.button[data-size='sm'][data-icon-only] {\n inline-size: var(--pm-control-height-sm);\n}\n\n.button[data-size='lg'][data-icon-only] {\n inline-size: var(--pm-control-height-lg);\n}\n\n/* rest cells --------------------------------------------------------------- */\n\n/* The lit fill: a contact seat shadow plus an inset top highlight, in one list. The coherence law\n requires both tokens to be `none` together (flat) or set together (borders/elevated). So the\n list is never half `none`, which would make it invalid. Flat systems stay flat, and every other\n system gets the lit fill with no branch in the recipe. */\n.button[data-variant='solid'][data-tone='accent'] {\n color: var(--pm-accent-contrast);\n background-color: var(--pm-accent-bg);\n\n /* The primary action uses the theme's gradient where one exists. Other themes need no fallback\n rule. A partnerless theme resolves the token to a plain colour, a colour is not an image, and\n an invalid image layer computes to `none`. The solid fill and its hover/active colours then\n apply unchanged. In gradient themes the image covers those colours, so hover feedback comes\n from the glow below and press feedback from the transform. Both are already composed. */\n background-image: var(--pm-accent-gradient);\n box-shadow: var(--pm-shadow-seat), var(--pm-shadow-inset-top);\n}\n\n.button[data-variant='solid'][data-tone='danger'] {\n color: var(--pm-danger-contrast);\n background: var(--pm-danger-solid);\n box-shadow: var(--pm-shadow-seat), var(--pm-shadow-inset-top);\n}\n\n.button[data-variant='soft'][data-tone='accent'] {\n color: var(--pm-accent-text);\n background: var(--pm-accent-subtle);\n}\n\n.button[data-variant='soft'][data-tone='danger'] {\n color: var(--pm-danger-text);\n background: var(--pm-danger-subtle);\n}\n\n.button[data-variant='outline'][data-tone='neutral'] {\n color: var(--pm-text-primary);\n\n /* `border.field` is the generic border in light themes and the input border in dark themes.\n That is the whole definition of this role. */\n border-color: var(--pm-border-field);\n}\n\n.button[data-variant='outline'][data-tone='accent'] {\n color: var(--pm-accent-text);\n border-color: var(--pm-accent-bg);\n}\n\n.button[data-variant='outline'][data-tone='danger'] {\n color: var(--pm-danger-text);\n border-color: var(--pm-danger-border);\n}\n\n.button[data-variant='ghost'][data-tone='neutral'] {\n color: var(--pm-text-secondary);\n}\n\n.button[data-variant='ghost'][data-tone='accent'] {\n color: var(--pm-accent-text);\n}\n\n.button[data-variant='ghost'][data-tone='danger'] {\n color: var(--pm-danger-text);\n}\n\n/* disabled — one recipe per variant, tone-independent (conventions) --------- */\n\n.button[data-variant='solid'][data-disabled],\n.button[data-variant='soft'][data-disabled] {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n background: var(--pm-bg-subtle);\n border-color: transparent;\n\n /* The seat shadow and top highlight signal \"pressable\", so disabled removes them. */\n box-shadow: none;\n}\n\n.button[data-variant='outline'][data-disabled] {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n background: transparent;\n border-color: var(--pm-border-subtle);\n}\n\n.button[data-variant='ghost'][data-disabled] {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n background: transparent;\n}\n\n/* A count has its own fill, so on a disabled button it would be the only part at full strength.\n It is desaturated and faded as a whole, as AvatarButton's face is. */\n.button[data-disabled] > .count {\n filter: grayscale(1);\n opacity: 0.5;\n}\n\n/* hover -------------------------------------------------------------------- */\n\n/* The interactive guard is `:not(:disabled)` rather than `:enabled`. On a `<button>` the two\n match the same elements with the same specificity, but only `:not(:disabled)` matches an `<a>`.\n Link's `variant=\"button\"` reuses these cells through the shared data attributes. `:enabled`\n never matches an anchor, so it would get rest colours and no hover. */\n\n/* Glow: the accent solid shows a glow on hover. The glow *replaces* the lit-fill list instead of\n joining it. A mixed list with a glow that resolves to `none` (no ornament) would invalidate the\n whole value, and under a 12px halo the 1px seat is not visible anyway. Only accent gets the\n glow, because the glow tokens carry the accent colour and would misstate a danger fill's tone. */\n.button[data-variant='solid'][data-tone='accent']:not(:disabled):hover {\n background-color: var(--pm-accent-bg-hover);\n box-shadow: var(--pm-glow-hover);\n}\n\n.button[data-variant='solid'][data-tone='danger']:not(:disabled):hover {\n background: var(--pm-danger-solid-hover);\n}\n\n.button[data-variant='soft'][data-tone='accent']:not(:disabled):hover {\n background: var(--pm-accent-subtle-hover);\n}\n\n.button[data-variant='soft'][data-tone='danger']:not(:disabled):hover {\n background: var(--pm-danger-subtle-hover);\n}\n\n.button[data-variant='outline'][data-tone='neutral']:not(:disabled):hover {\n background: var(--pm-bg-subtle);\n border-color: var(--pm-border-strong);\n}\n\n.button[data-variant='outline'][data-tone='accent']:not(:disabled):hover {\n background: var(--pm-accent-subtle);\n}\n\n.button[data-variant='outline'][data-tone='danger']:not(:disabled):hover {\n background: var(--pm-danger-subtle);\n}\n\n.button[data-variant='ghost'][data-tone='neutral']:not(:disabled):hover {\n color: var(--pm-text-primary);\n background: var(--pm-bg-subtle);\n}\n\n.button[data-variant='ghost'][data-tone='accent']:not(:disabled):hover {\n background: var(--pm-accent-subtle);\n}\n\n.button[data-variant='ghost'][data-tone='danger']:not(:disabled):hover {\n background: var(--pm-danger-subtle);\n}\n\n/* The unfilled hover choice. A system may give outline and ghost no wash under the pointer\n (`overrides.hover.unfilled: none` in the system file, written as the flag `--pm-hover-unfilled`).\n The rule has the hover rules' specificity and comes after them, so it removes their wash. The\n active and on-state rules come after it, so a press still washes one step and a toggle that is\n on keeps its wash: a control must still answer the click, and an on toggle must still look on.\n The border and text changes above stay. */\n@container style(--pm-hover-unfilled: none) {\n .button:is([data-variant='outline'], [data-variant='ghost'])[data-tone]:not(:disabled):hover {\n background: transparent;\n }\n}\n\n/* active. The press *transform* comes from `pressable`, composed above. Every washed variant\n moves one step on press instead of keeping its hover value, so the control still responds at\n the moment of the click. `soft` uses the full scale (3→4→5). `outline`/`ghost` enter the scale\n on hover, so their press is its second step (3→4), one step past hover. */\n\n.button[data-variant='solid'][data-tone='accent']:not(:disabled):active {\n background-color: var(--pm-accent-bg-active);\n}\n\n.button[data-variant='solid'][data-tone='danger']:not(:disabled):active {\n background: var(--pm-danger-solid-active);\n}\n\n.button[data-variant='soft'][data-tone='accent']:not(:disabled):active {\n background: var(--pm-accent-subtle-active);\n}\n\n.button[data-variant='soft'][data-tone='danger']:not(:disabled):active {\n background: var(--pm-danger-subtle-active);\n}\n\n.button[data-variant='outline'][data-tone='neutral']:not(:disabled):active {\n background: var(--pm-bg-subtle);\n border-color: var(--pm-border-strong);\n}\n\n.button[data-variant='outline'][data-tone='accent']:not(:disabled):active {\n background: var(--pm-accent-subtle-hover);\n}\n\n.button[data-variant='outline'][data-tone='danger']:not(:disabled):active {\n background: var(--pm-danger-subtle-hover);\n}\n\n.button[data-variant='ghost'][data-tone='neutral']:not(:disabled):active {\n color: var(--pm-text-primary);\n background: var(--pm-bg-subtle);\n}\n\n.button[data-variant='ghost'][data-tone='accent']:not(:disabled):active {\n background: var(--pm-accent-subtle-hover);\n}\n\n.button[data-variant='ghost'][data-tone='danger']:not(:disabled):active {\n background: var(--pm-danger-subtle-hover);\n}\n\n/* the toggle's on state -----------------------------------------------------\n *\n * `data-state=\"on\"` holds the variant's own `active` cell. No new cells are needed, because every\n * lawful variant × tone already defines its active row. `off` is the rest row, told apart by the\n * attributes alone, so it has no rule here.\n *\n * These are the last interactive rules and have the same specificity, so hover while on *keeps*\n * these colours. The wash scale has no further step, and the pointer still gets feedback from the\n * press transform and the solid's glow. Disabled stays excluded, as above. */\n\n.button[data-variant='solid'][data-tone='accent'][data-state='on']:not(:disabled) {\n background-color: var(--pm-accent-bg-active);\n}\n\n.button[data-variant='solid'][data-tone='danger'][data-state='on']:not(:disabled) {\n background: var(--pm-danger-solid-active);\n}\n\n.button[data-variant='soft'][data-tone='accent'][data-state='on']:not(:disabled) {\n background: var(--pm-accent-subtle-active);\n}\n\n.button[data-variant='soft'][data-tone='danger'][data-state='on']:not(:disabled) {\n background: var(--pm-danger-subtle-active);\n}\n\n.button[data-variant='outline'][data-tone='neutral'][data-state='on']:not(:disabled) {\n background: var(--pm-bg-subtle);\n border-color: var(--pm-border-strong);\n}\n\n.button[data-variant='outline'][data-tone='accent'][data-state='on']:not(:disabled) {\n background: var(--pm-accent-subtle-hover);\n}\n\n.button[data-variant='outline'][data-tone='danger'][data-state='on']:not(:disabled) {\n background: var(--pm-danger-subtle-hover);\n}\n\n.button[data-variant='ghost'][data-tone='neutral'][data-state='on']:not(:disabled) {\n color: var(--pm-text-primary);\n background: var(--pm-bg-subtle);\n}\n\n.button[data-variant='ghost'][data-tone='accent'][data-state='on']:not(:disabled) {\n background: var(--pm-accent-subtle-hover);\n}\n\n.button[data-variant='ghost'][data-tone='danger'][data-state='on']:not(:disabled) {\n background: var(--pm-danger-subtle-hover);\n}\n\n/* The focus glow is deliberately not restated. The selectors law requires every component to show\n focus through the composed ring, and that requirement takes priority over the halo. Solid cells\n set `box-shadow`, so on them the shared rule's glow loses the cascade and keyboard focus shows\n only the shared ring. On a solid the glow appears on hover instead (above). Every variant\n without a rest shadow gets the ring *and* the halo from the composed rule. */\n"],"mappings":""}
1
+ {"version":3,"file":"button.module.js","names":[],"sources":["../../../recipes/src/controls/button.module.css"],"sourcesContent":["/* Button — `design/components/button.md`, with each recipe cell copied from the spec.\n *\n * Source order matters. Selectors ascend in specificity:\n *\n * base -> size -> icon-only -> loading -> rest cells -> disabled -> hover ->\n * the unfilled hover choice -> active -> on\n *\n * Disabled comes *before* hover/active and still wins, because the interactive rules are guarded\n * with `:not(:disabled)` instead of out-specifying it. This keeps specificity non-descending\n * (stylelint's `no-descending-specificity` is enforced here) while a disabled button stays inert.\n *\n * Motion is composed, never restated. `stateFeedback` provides the colour transitions, `pressable`\n * the `button.press` binding, and `spin` the `button.spinner` binding. Their tokens, their\n * reduced-motion versions and their `[data-motion=\"none\"]` switch-off come with them\n * (`conventions/motion.module.css`), so this file names no duration and no easing. */\n\n.button {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback pressable from '../conventions/motion.module.css';\n display: inline-flex;\n gap: var(--pm-space-3);\n align-items: center;\n justify-content: 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: pointer;\n user-select: none;\n background: transparent;\n border: 1px solid transparent;\n border-radius: var(--pm-radius-control);\n}\n\n/* The label never wraps. Overflowing text is a caller bug and shows as an ellipsis. The button\n keeps flexbox's default shrink so the ellipsis can appear. The glyphs below are `flex: none`, so\n the text shrinks and the icon never does. */\n.label {\n min-inline-size: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.glyph,\n.spinner {\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n}\n\n/* The `button.spinner` binding: `spin`, an ambient motion. The motion module owns its period, its\n inverse temperament scaling and its three switch-offs. */\n.spinner {\n composes: spin from '../conventions/motion.module.css';\n}\n\n/* The count: a Badge after the label, or over the top end corner of an icon-only button's glyph.\n It takes no press of its own, so a press on it is a press on the button, and a press on a\n neighbour it reaches over is the neighbour's. */\n.count {\n display: inline-flex;\n flex: none;\n pointer-events: none;\n}\n\n/* The name tip: an icon-only button's label, which the engine's `nameTip` shows on hover and\n keyboard focus. It is the Tooltip's bubble, composed, so the two read their values from one\n place. The engine shows it as a manual popover in the top layer, and the browser gives every\n popover an inset, a border and a margin on each edge, which these rules take away. The\n bubble's margin on the edge that faces the button is the Tooltip's gap, and its selector is\n more specific than this rule's. It takes no pointer events, so a click reaches what is under\n it. It arrives with the motion conventions' fade and leaves at once. */\n.tip {\n composes: bubble from '../overlays/tooltip.module.css';\n composes: fadeIn from '../conventions/motion.module.css';\n position: fixed;\n inset: auto;\n margin: 0;\n pointer-events: none;\n border: 0;\n}\n\n/* sizes — the conventions' size system -------------------------------------- */\n\n.button[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.button[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/* icon-only — square, so width follows the height token per size ------------ */\n\n.button[data-icon-only] {\n inline-size: var(--pm-control-height-md);\n padding-inline: 0;\n}\n\n.button[data-icon-only]:has(> .count) {\n position: relative;\n}\n\n/* The count's start edge is fixed at the button's inline centre, and the count grows toward the\n inline end. One figure covers the glyph's top end corner and stays inside the box; a wider\n count reaches past the end edge instead of across the glyph. It stays inside the box on the\n block axis. */\n.button[data-icon-only] > .count {\n position: absolute;\n inset-block-start: 0;\n inset-inline-start: calc(100% / 2);\n}\n\n/* Loading keeps its rest colours and only removes pointer input (the conventions' loading rule).\n `pointer-events: none` also stops :hover and :active from matching, so no interactive rule needs\n to handle this state. */\n.button[data-state='loading'] {\n pointer-events: none;\n}\n\n.button[data-size='sm'][data-icon-only] {\n inline-size: var(--pm-control-height-sm);\n}\n\n.button[data-size='lg'][data-icon-only] {\n inline-size: var(--pm-control-height-lg);\n}\n\n/* rest cells --------------------------------------------------------------- */\n\n/* The lit fill: a contact seat shadow plus an inset top highlight, in one list. The coherence law\n requires both tokens to be `none` together (flat) or set together (borders/elevated). So the\n list is never half `none`, which would make it invalid. Flat systems stay flat, and every other\n system gets the lit fill with no branch in the recipe. */\n.button[data-variant='solid'][data-tone='accent'] {\n color: var(--pm-accent-contrast);\n background-color: var(--pm-accent-bg);\n\n /* The primary action uses the theme's gradient where one exists. Other themes need no fallback\n rule. A partnerless theme resolves the token to a plain colour, a colour is not an image, and\n an invalid image layer computes to `none`. The solid fill and its hover/active colours then\n apply unchanged. In gradient themes the image covers those colours, so hover feedback comes\n from the glow below and press feedback from the transform. Both are already composed. */\n background-image: var(--pm-accent-gradient);\n box-shadow: var(--pm-shadow-seat), var(--pm-shadow-inset-top);\n}\n\n.button[data-variant='solid'][data-tone='danger'] {\n color: var(--pm-danger-contrast);\n background: var(--pm-danger-solid);\n box-shadow: var(--pm-shadow-seat), var(--pm-shadow-inset-top);\n}\n\n.button[data-variant='soft'][data-tone='accent'] {\n color: var(--pm-accent-text);\n background: var(--pm-accent-subtle);\n}\n\n.button[data-variant='soft'][data-tone='danger'] {\n color: var(--pm-danger-text);\n background: var(--pm-danger-subtle);\n}\n\n.button[data-variant='outline'][data-tone='neutral'] {\n color: var(--pm-text-primary);\n\n /* `border.field` is the generic border in light themes and the input border in dark themes.\n That is the whole definition of this role. */\n border-color: var(--pm-border-field);\n}\n\n.button[data-variant='outline'][data-tone='accent'] {\n color: var(--pm-accent-text);\n border-color: var(--pm-accent-bg);\n}\n\n.button[data-variant='outline'][data-tone='danger'] {\n color: var(--pm-danger-text);\n border-color: var(--pm-danger-border);\n}\n\n.button[data-variant='ghost'][data-tone='neutral'] {\n color: var(--pm-text-secondary);\n}\n\n.button[data-variant='ghost'][data-tone='accent'] {\n color: var(--pm-accent-text);\n}\n\n.button[data-variant='ghost'][data-tone='danger'] {\n color: var(--pm-danger-text);\n}\n\n/* disabled — one recipe per variant, tone-independent (conventions) --------- */\n\n.button[data-variant='solid'][data-disabled],\n.button[data-variant='soft'][data-disabled] {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n background: var(--pm-bg-subtle);\n border-color: transparent;\n\n /* The seat shadow and top highlight signal \"pressable\", so disabled removes them. */\n box-shadow: none;\n}\n\n.button[data-variant='outline'][data-disabled] {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n background: transparent;\n border-color: var(--pm-border-subtle);\n}\n\n.button[data-variant='ghost'][data-disabled] {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n background: transparent;\n}\n\n/* A count has its own fill, so on a disabled button it would be the only part at full strength.\n It is desaturated and faded as a whole, as AvatarButton's face is. */\n.button[data-disabled] > .count {\n filter: grayscale(1);\n opacity: 0.5;\n}\n\n/* hover -------------------------------------------------------------------- */\n\n/* The interactive guard is `:not(:disabled)` rather than `:enabled`. On a `<button>` the two\n match the same elements with the same specificity, but only `:not(:disabled)` matches an `<a>`.\n Link's `variant=\"button\"` reuses these cells through the shared data attributes. `:enabled`\n never matches an anchor, so it would get rest colours and no hover. */\n\n/* Glow: the accent solid shows a glow on hover. The glow *replaces* the lit-fill list instead of\n joining it. A mixed list with a glow that resolves to `none` (no ornament) would invalidate the\n whole value, and under a 12px halo the 1px seat is not visible anyway. Only accent gets the\n glow, because the glow tokens carry the accent colour and would misstate a danger fill's tone. */\n.button[data-variant='solid'][data-tone='accent']:not(:disabled):hover {\n background-color: var(--pm-accent-bg-hover);\n box-shadow: var(--pm-glow-hover);\n}\n\n.button[data-variant='solid'][data-tone='danger']:not(:disabled):hover {\n background: var(--pm-danger-solid-hover);\n}\n\n.button[data-variant='soft'][data-tone='accent']:not(:disabled):hover {\n background: var(--pm-accent-subtle-hover);\n}\n\n.button[data-variant='soft'][data-tone='danger']:not(:disabled):hover {\n background: var(--pm-danger-subtle-hover);\n}\n\n.button[data-variant='outline'][data-tone='neutral']:not(:disabled):hover {\n background: var(--pm-bg-subtle);\n border-color: var(--pm-border-strong);\n}\n\n.button[data-variant='outline'][data-tone='accent']:not(:disabled):hover {\n background: var(--pm-accent-subtle);\n}\n\n.button[data-variant='outline'][data-tone='danger']:not(:disabled):hover {\n background: var(--pm-danger-subtle);\n}\n\n.button[data-variant='ghost'][data-tone='neutral']:not(:disabled):hover {\n color: var(--pm-text-primary);\n background: var(--pm-bg-subtle);\n}\n\n.button[data-variant='ghost'][data-tone='accent']:not(:disabled):hover {\n background: var(--pm-accent-subtle);\n}\n\n.button[data-variant='ghost'][data-tone='danger']:not(:disabled):hover {\n background: var(--pm-danger-subtle);\n}\n\n/* The unfilled hover choice. A system may give outline and ghost no wash under the pointer\n (`overrides.hover.unfilled: none` in the system file, written as the flag `--pm-hover-unfilled`).\n The rule has the hover rules' specificity and comes after them, so it removes their wash. The\n active and on-state rules come after it, so a press still washes one step and a toggle that is\n on keeps its wash: a control must still answer the click, and an on toggle must still look on.\n The border and text changes above stay. */\n@container style(--pm-hover-unfilled: none) {\n .button:is([data-variant='outline'], [data-variant='ghost'])[data-tone]:not(:disabled):hover {\n background: transparent;\n }\n}\n\n/* active. The press *transform* comes from `pressable`, composed above. Every washed variant\n moves one step on press instead of keeping its hover value, so the control still responds at\n the moment of the click. `soft` uses the full scale (3→4→5). `outline`/`ghost` enter the scale\n on hover, so their press is its second step (3→4), one step past hover. */\n\n.button[data-variant='solid'][data-tone='accent']:not(:disabled):active {\n background-color: var(--pm-accent-bg-active);\n}\n\n.button[data-variant='solid'][data-tone='danger']:not(:disabled):active {\n background: var(--pm-danger-solid-active);\n}\n\n.button[data-variant='soft'][data-tone='accent']:not(:disabled):active {\n background: var(--pm-accent-subtle-active);\n}\n\n.button[data-variant='soft'][data-tone='danger']:not(:disabled):active {\n background: var(--pm-danger-subtle-active);\n}\n\n.button[data-variant='outline'][data-tone='neutral']:not(:disabled):active {\n background: var(--pm-bg-subtle);\n border-color: var(--pm-border-strong);\n}\n\n.button[data-variant='outline'][data-tone='accent']:not(:disabled):active {\n background: var(--pm-accent-subtle-hover);\n}\n\n.button[data-variant='outline'][data-tone='danger']:not(:disabled):active {\n background: var(--pm-danger-subtle-hover);\n}\n\n.button[data-variant='ghost'][data-tone='neutral']:not(:disabled):active {\n color: var(--pm-text-primary);\n background: var(--pm-bg-subtle);\n}\n\n.button[data-variant='ghost'][data-tone='accent']:not(:disabled):active {\n background: var(--pm-accent-subtle-hover);\n}\n\n.button[data-variant='ghost'][data-tone='danger']:not(:disabled):active {\n background: var(--pm-danger-subtle-hover);\n}\n\n/* the toggle's on state -----------------------------------------------------\n *\n * `data-state=\"on\"` holds the variant's own `active` cell. No new cells are needed, because every\n * lawful variant × tone already defines its active row. `off` is the rest row, told apart by the\n * attributes alone, so it has no rule here.\n *\n * These are the last interactive rules and have the same specificity, so hover while on *keeps*\n * these colours. The wash scale has no further step, and the pointer still gets feedback from the\n * press transform and the solid's glow. Disabled stays excluded, as above. */\n\n.button[data-variant='solid'][data-tone='accent'][data-state='on']:not(:disabled) {\n background-color: var(--pm-accent-bg-active);\n}\n\n.button[data-variant='solid'][data-tone='danger'][data-state='on']:not(:disabled) {\n background: var(--pm-danger-solid-active);\n}\n\n.button[data-variant='soft'][data-tone='accent'][data-state='on']:not(:disabled) {\n background: var(--pm-accent-subtle-active);\n}\n\n.button[data-variant='soft'][data-tone='danger'][data-state='on']:not(:disabled) {\n background: var(--pm-danger-subtle-active);\n}\n\n.button[data-variant='outline'][data-tone='neutral'][data-state='on']:not(:disabled) {\n background: var(--pm-bg-subtle);\n border-color: var(--pm-border-strong);\n}\n\n.button[data-variant='outline'][data-tone='accent'][data-state='on']:not(:disabled) {\n background: var(--pm-accent-subtle-hover);\n}\n\n.button[data-variant='outline'][data-tone='danger'][data-state='on']:not(:disabled) {\n background: var(--pm-danger-subtle-hover);\n}\n\n.button[data-variant='ghost'][data-tone='neutral'][data-state='on']:not(:disabled) {\n color: var(--pm-text-primary);\n background: var(--pm-bg-subtle);\n}\n\n.button[data-variant='ghost'][data-tone='accent'][data-state='on']:not(:disabled) {\n background: var(--pm-accent-subtle-hover);\n}\n\n.button[data-variant='ghost'][data-tone='danger'][data-state='on']:not(:disabled) {\n background: var(--pm-danger-subtle-hover);\n}\n\n/* focus -------------------------------------------------------------------- */\n\n/* The focus mark is the composed convention's: a line inside the edge in the focus colour. A solid\n fill takes the mark inside the fill with a gap (`conventions/focus.module.css`): in its label\n colour, which the label laws hold on the fill at rest, hovered, pressed and on, and one width in\n from the edge, so the fill shows on both sides of the line. At the edge the label colour would\n sit against the page. The hooks are set on the focused state only, because a custom property\n inherits. */\n.button[data-variant='solid'][data-tone]:focus-visible {\n --pm-focus-mark: currentcolor;\n --pm-focus-inset: var(--pm-focus-width);\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}}._root_ndsza_10{gap:var(--pm-space-2);inline-size:fit-content;padding:var(--pm-space-3);flex-direction:column;display:flex}._header_ndsza_18{gap:var(--pm-space-2);block-size:var(--pm-control-height-sm);justify-content:space-between;align-items:center;display:flex}._title_ndsza_26{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_ndsza_42{border-collapse:collapse}._grid_ndsza_42 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_ndsza_57{padding:0}._day_ndsza_61{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_ndsza_61[data-today]{color:var(--pm-accent-text);border-color:var(--pm-accent-bg)}._day_ndsza_61:hover:not([data-selected],[data-unavailable],[data-disabled]){color:var(--pm-accent-text);background:var(--pm-accent-subtle)}._day_ndsza_61:active:not([data-selected],[data-unavailable],[data-disabled]){background:var(--pm-accent-subtle-active)}._day_ndsza_61[data-unavailable]{color:var(--pm-text-disabled);cursor:not-allowed;text-decoration:line-through}._day_ndsza_61[data-disabled]{color:var(--pm-text-disabled);cursor:not-allowed}._day_ndsza_61[data-selected]{color:var(--pm-selection-text);background:var(--pm-selection-bg);border-color:var(--pm-selection-border)}._day_ndsza_61[data-selected]:hover{background:var(--pm-selection-bg-hover)}._grid_ndsza_42[data-travel=next]{animation:_calendar-grid-next_ndsza_1 var(--pm-motion-duration-surface) var(--pm-motion-easing-enter)}._grid_ndsza_42[data-travel=previous]{animation:_calendar-grid-previous_ndsza_1 var(--pm-motion-duration-surface) var(--pm-motion-easing-enter)}@keyframes _calendar-grid-next_ndsza_1{0%{opacity:0;transform:translateX(var(--pm-space-2))}}@keyframes _calendar-grid-previous_ndsza_1{0%{opacity:0;transform:translateX(calc(var(--pm-space-2) * -1))}}[dir=rtl] ._grid_ndsza_42[data-travel=next]{animation-name:_calendar-grid-previous_ndsza_1}[dir=rtl] ._grid_ndsza_42[data-travel=previous]{animation-name:_calendar-grid-next_ndsza_1}[dir=rtl] ._header_ndsza_18 svg{transform:scaleX(-1)}@media (prefers-reduced-motion:reduce){@keyframes _calendar-grid-next_ndsza_1{0%{opacity:0}}@keyframes _calendar-grid-previous_ndsza_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)}}._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}}._root_ii2ih_10{gap:var(--pm-space-2);inline-size:fit-content;padding:var(--pm-space-3);flex-direction:column;display:flex}._header_ii2ih_18{gap:var(--pm-space-2);block-size:var(--pm-control-height-sm);justify-content:space-between;align-items:center;display:flex}._title_ii2ih_26{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_ii2ih_42{border-collapse:collapse}._grid_ii2ih_42 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_ii2ih_57{padding:0}._day_ii2ih_61{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_ii2ih_61[data-today]{color:var(--pm-accent-text);border-color:var(--pm-accent-bg)}._day_ii2ih_61:hover:not([data-selected],[data-unavailable],[data-disabled]){color:var(--pm-accent-text);background:var(--pm-accent-subtle)}._day_ii2ih_61:active:not([data-selected],[data-unavailable],[data-disabled]){background:var(--pm-accent-subtle-active)}._day_ii2ih_61[data-unavailable]{color:var(--pm-text-disabled);cursor:not-allowed;text-decoration:line-through}._day_ii2ih_61[data-disabled]{color:var(--pm-text-disabled);cursor:not-allowed}._day_ii2ih_61[data-selected]{color:var(--pm-selection-text);background:var(--pm-selection-bg);border-color:var(--pm-selection-border)}._day_ii2ih_61[data-selected]:hover{background:var(--pm-selection-bg-hover)}._day_ii2ih_61[data-selected]:focus-visible{--pm-focus-mark:currentcolor;--pm-focus-inset:var(--pm-focus-width)}._grid_ii2ih_42[data-travel=next]{animation:_calendar-grid-next_ii2ih_1 var(--pm-motion-duration-surface) var(--pm-motion-easing-enter)}._grid_ii2ih_42[data-travel=previous]{animation:_calendar-grid-previous_ii2ih_1 var(--pm-motion-duration-surface) var(--pm-motion-easing-enter)}@keyframes _calendar-grid-next_ii2ih_1{0%{opacity:0;transform:translateX(var(--pm-space-2))}}@keyframes _calendar-grid-previous_ii2ih_1{0%{opacity:0;transform:translateX(calc(var(--pm-space-2) * -1))}}[dir=rtl] ._grid_ii2ih_42[data-travel=next]{animation-name:_calendar-grid-previous_ii2ih_1}[dir=rtl] ._grid_ii2ih_42[data-travel=previous]{animation-name:_calendar-grid-next_ii2ih_1}[dir=rtl] ._header_ii2ih_18 svg{transform:scaleX(-1)}@media (prefers-reduced-motion:reduce){@keyframes _calendar-grid-next_ii2ih_1{0%{opacity:0}}@keyframes _calendar-grid-previous_ii2ih_1{0%{opacity:0}}}
@@ -1,14 +1,14 @@
1
1
  import './calendar.css';
2
2
  //#region ../recipes/src/controls/calendar.module.css
3
- var e = "_root_ndsza_10", t = "_header_ndsza_18", n = "_title_ndsza_26", r = "_grid_ndsza_42", i = "_cell_ndsza_57", a = "_day_ndsza_61 _focusRing_1lfnc_15 _stateFeedback_lkjqs_17 _pressable_lkjqs_38", o = {
3
+ var e = "_root_ii2ih_10", t = "_header_ii2ih_18", n = "_title_ii2ih_26", r = "_grid_ii2ih_42", i = "_cell_ii2ih_57", a = "_day_ii2ih_61 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17 _pressable_lkjqs_38", o = {
4
4
  root: e,
5
5
  header: t,
6
6
  title: n,
7
7
  grid: r,
8
8
  cell: i,
9
9
  day: a,
10
- "calendar-grid-next": "_calendar-grid-next_ndsza_1",
11
- "calendar-grid-previous": "_calendar-grid-previous_ndsza_1"
10
+ "calendar-grid-next": "_calendar-grid-next_ii2ih_1",
11
+ "calendar-grid-previous": "_calendar-grid-previous_ii2ih_1"
12
12
  };
13
13
  //#endregion
14
14
  export { i as cell, a as day, o as default, r as grid, t as header, e as root, n as title };
@@ -1 +1 @@
1
- {"version":3,"file":"calendar.module.js","names":[],"sources":["../../../recipes/src/controls/calendar.module.css"],"sourcesContent":["/* Calendar — `design/components/calendar.md`.\n *\n * This file uses two colour families that must stay distinct, which is why the selection roles\n * exist. The **accent wash** shows where the pointer is. The **selection family** shows what the\n * user chose. A day that used `accent.subtle` for both would look the same hovered and selected.\n *\n * Figures are tabular throughout, so the columns do not shift between one-digit and two-digit\n * days. */\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\n /* Keeps the year's digits in place as the month changes. */\n font-variant-numeric: var(--pm-font-numeric);\n}\n\n/* grid ---------------------------------------------------------------------- */\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 specificity, so selection wins over hover ---------- */\n\n/* Today is not a selection. It gets a border and a colour, never a fill. */\n.day[data-today] {\n color: var(--pm-accent-text);\n border-color: var(--pm-accent-bg);\n}\n\n.day:hover:not([data-selected], [data-unavailable], [data-disabled]) {\n color: var(--pm-accent-text);\n background: var(--pm-accent-subtle);\n}\n\n/* The wash's third step. */\n.day:active:not([data-selected], [data-unavailable], [data-disabled]) {\n background: var(--pm-accent-subtle-active);\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/* The selection family comes last. A selected day stays selected when the pointer leaves. It\n overrides today's border because `aria-current` already marks the date as today. */\n.day[data-selected] {\n color: var(--pm-selection-text);\n background: var(--pm-selection-bg);\n border-color: var(--pm-selection-border);\n}\n\n/* Selection has its own hover step, as Table's law requires. */\n.day[data-selected]:hover {\n background: var(--pm-selection-bg-hover);\n}\n\n/* month change -------------------------------------------------------------- */\n\n/* The `calendar.month` binding: `slide-fade` `sm` at the surface class, entering from the\n direction of travel. Only the entrance animates. The outgoing month is replaced, not dismissed,\n and fading it out before the new month arrived would leave a gap where the dates are.\n `--pm-space-2` is the `sm` distance in CSS, as `formfield.error` writes it. */\n.grid[data-travel='next'] {\n animation: calendar-grid-next var(--pm-motion-duration-surface) var(--pm-motion-easing-enter);\n}\n\n.grid[data-travel='previous'] {\n animation: calendar-grid-previous var(--pm-motion-duration-surface) var(--pm-motion-easing-enter);\n}\n\n@keyframes calendar-grid-next {\n from {\n opacity: 0;\n transform: translateX(var(--pm-space-2));\n }\n}\n\n@keyframes calendar-grid-previous {\n from {\n opacity: 0;\n transform: translateX(calc(var(--pm-space-2) * -1));\n }\n}\n\n/* RTL mirrors navigation. \"Next\" is to the left, so the incoming month arrives from the left and\n the chevrons point the other way. The icon set has no directional pairs of its own, so the two\n navigation glyphs are mirrored here. The roles still mean previous and next, as the icon rules\n require: an icon name is a meaning, not a glyph. */\n[dir='rtl'] .grid[data-travel='next'] {\n animation-name: calendar-grid-previous;\n}\n\n[dir='rtl'] .grid[data-travel='previous'] {\n animation-name: calendar-grid-next;\n}\n\n[dir='rtl'] .header svg {\n transform: scaleX(-1);\n}\n\n/* Reduced motion (motion.md): `slide-fade` reduces to the plain `fade` it builds on. The duration\n stays, because an opacity change is vestibular-safe and the new month should still be seen to\n arrive. */\n@media (prefers-reduced-motion: reduce) {\n @keyframes calendar-grid-next {\n from {\n opacity: 0;\n }\n }\n\n @keyframes calendar-grid-previous {\n from {\n opacity: 0;\n }\n }\n}\n"],"mappings":""}
1
+ {"version":3,"file":"calendar.module.js","names":[],"sources":["../../../recipes/src/controls/calendar.module.css"],"sourcesContent":["/* Calendar — `design/components/calendar.md`.\n *\n * This file uses two colour families that must stay distinct, which is why the selection roles\n * exist. The **accent wash** shows where the pointer is. The **selection family** shows what the\n * user chose. A day that used `accent.subtle` for both would look the same hovered and selected.\n *\n * Figures are tabular throughout, so the columns do not shift between one-digit and two-digit\n * days. */\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\n /* Keeps the year's digits in place as the month changes. */\n font-variant-numeric: var(--pm-font-numeric);\n}\n\n/* grid ---------------------------------------------------------------------- */\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 specificity, so selection wins over hover ---------- */\n\n/* Today is not a selection. It gets a border and a colour, never a fill. */\n.day[data-today] {\n color: var(--pm-accent-text);\n border-color: var(--pm-accent-bg);\n}\n\n.day:hover:not([data-selected], [data-unavailable], [data-disabled]) {\n color: var(--pm-accent-text);\n background: var(--pm-accent-subtle);\n}\n\n/* The wash's third step. */\n.day:active:not([data-selected], [data-unavailable], [data-disabled]) {\n background: var(--pm-accent-subtle-active);\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/* The selection family comes last. A selected day stays selected when the pointer leaves. It\n overrides today's border because `aria-current` already marks the date as today. */\n.day[data-selected] {\n color: var(--pm-selection-text);\n background: var(--pm-selection-bg);\n border-color: var(--pm-selection-border);\n}\n\n/* Selection has its own hover step, as Table's law requires. */\n.day[data-selected]:hover {\n background: var(--pm-selection-bg-hover);\n}\n\n/* A selected day is a solid fill, so the focus mark lies inside the fill with a gap, in its text\n colour, the one the contrast law holds on the selection fill (`conventions/focus.module.css`).\n The selection border stays visible outside it. */\n.day[data-selected]:focus-visible {\n --pm-focus-mark: currentcolor;\n --pm-focus-inset: var(--pm-focus-width);\n}\n\n/* month change -------------------------------------------------------------- */\n\n/* The `calendar.month` binding: `slide-fade` `sm` at the surface class, entering from the\n direction of travel. Only the entrance animates. The outgoing month is replaced, not dismissed,\n and fading it out before the new month arrived would leave a gap where the dates are.\n `--pm-space-2` is the `sm` distance in CSS, as `formfield.error` writes it. */\n.grid[data-travel='next'] {\n animation: calendar-grid-next var(--pm-motion-duration-surface) var(--pm-motion-easing-enter);\n}\n\n.grid[data-travel='previous'] {\n animation: calendar-grid-previous var(--pm-motion-duration-surface) var(--pm-motion-easing-enter);\n}\n\n@keyframes calendar-grid-next {\n from {\n opacity: 0;\n transform: translateX(var(--pm-space-2));\n }\n}\n\n@keyframes calendar-grid-previous {\n from {\n opacity: 0;\n transform: translateX(calc(var(--pm-space-2) * -1));\n }\n}\n\n/* RTL mirrors navigation. \"Next\" is to the left, so the incoming month arrives from the left and\n the chevrons point the other way. The icon set has no directional pairs of its own, so the two\n navigation glyphs are mirrored here. The roles still mean previous and next, as the icon rules\n require: an icon name is a meaning, not a glyph. */\n[dir='rtl'] .grid[data-travel='next'] {\n animation-name: calendar-grid-previous;\n}\n\n[dir='rtl'] .grid[data-travel='previous'] {\n animation-name: calendar-grid-next;\n}\n\n[dir='rtl'] .header svg {\n transform: scaleX(-1);\n}\n\n/* Reduced motion (motion.md): `slide-fade` reduces to the plain `fade` it builds on. The duration\n stays, because an opacity change is vestibular-safe and the new month should still be seen to\n arrive. */\n@media (prefers-reduced-motion: reduce) {\n @keyframes calendar-grid-next {\n from {\n opacity: 0;\n }\n }\n\n @keyframes calendar-grid-previous {\n from {\n opacity: 0;\n }\n }\n}\n"],"mappings":""}
@@ -1 +1 @@
1
- ._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}}._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)}}._row_1q29o_8{gap:var(--pm-space-3);min-block-size:var(--pm-control-height-sm);padding-block:calc((var(--pm-control-height-sm) - var(--pm-text-sm-line-height) * var(--pm-text-sm-size)) / 2);cursor:pointer;align-items:flex-start;display:inline-flex}._box_1q29o_19{inline-size:var(--pm-icon-size-md);block-size:var(--pm-icon-size-md);background:var(--pm-bg-surface);border:1px solid var(--pm-border-field);border-radius:var(--pm-radius-detail);flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex;position:relative}._box_1q29o_19:before{inset:calc((var(--pm-icon-size-md) - var(--pm-control-height-sm)) / 2);content:"";position:absolute}._label_1q29o_46{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)}._indicator_1q29o_56{color:var(--pm-accent-contrast);animation:_checkbox-pop_1q29o_1 var(--pm-motion-duration-control) var(--pm-motion-easing-enter);justify-content:center;align-items:center;display:inline-flex}@keyframes _checkbox-pop_1q29o_1{0%{opacity:0;transform:scale(.5)}}._row_1q29o_8 ._box_1q29o_19{margin-block-start:calc((var(--pm-text-sm-line-height) * var(--pm-text-sm-size) - var(--pm-icon-size-md)) / 2)}._box_1q29o_19[data-state=checked],._box_1q29o_19[data-state=indeterminate]{background:var(--pm-accent-bg);border-color:var(--pm-accent-bg)}._box_1q29o_19[data-invalid]{border-color:var(--pm-danger-border)}._box_1q29o_19[data-disabled]{cursor:not-allowed;background:var(--pm-bg-subtle);border-color:var(--pm-border-subtle)}._box_1q29o_19[data-disabled][data-state=checked],._box_1q29o_19[data-disabled][data-state=indeterminate]{background:var(--pm-border-subtle);border-color:var(--pm-border-subtle)}._box_1q29o_19:hover:not([data-disabled],[data-state=checked],[data-state=indeterminate]){background:var(--pm-bg-subtle);border-color:var(--pm-border-strong)}._box_1q29o_19[data-state=checked]:hover:not([data-disabled],[data-invalid]),._box_1q29o_19[data-state=indeterminate]:hover:not([data-disabled],[data-invalid]){background:var(--pm-accent-bg-hover);border-color:var(--pm-accent-bg-hover)}._box_1q29o_19[data-disabled] ._indicator_1q29o_56{color:var(--pm-text-disabled)}._row_1q29o_8[data-disabled]{cursor:not-allowed}._row_1q29o_8[data-disabled] ._label_1q29o_46{color:var(--pm-text-disabled)}@media (prefers-reduced-motion:reduce){@keyframes _checkbox-pop_1q29o_1{0%{opacity:0}}}._row_1q29o_8[data-required] ._label_1q29o_46:after{color:var(--pm-danger-text);content:" *" / ""}._group_4031v_7{gap:var(--pm-space-3);flex-direction:column;display:flex}._group_4031v_7[data-orientation=horizontal]{gap:var(--pm-space-5);flex-direction:row}._item_4031v_19{flex-direction:column;display:flex}._description_4031v_50{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);margin-block-start:2px;margin-inline-start:calc(var(--pm-icon-size-md) + var(--pm-space-3))}._item_4031v_19[data-disabled] ._description_4031v_50{color:var(--pm-text-disabled)}._group_4031v_7[data-invalid] ._box_4031v_31{border-color:var(--pm-danger-border)}
1
+ ._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}}._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)}}._row_18y6a_8{gap:var(--pm-space-3);min-block-size:var(--pm-control-height-sm);padding-block:calc((var(--pm-control-height-sm) - var(--pm-text-sm-line-height) * var(--pm-text-sm-size)) / 2);cursor:pointer;align-items:flex-start;display:inline-flex}._box_18y6a_19{inline-size:var(--pm-icon-size-md);block-size:var(--pm-icon-size-md);background:var(--pm-bg-surface);border:1px solid var(--pm-border-field);border-radius:var(--pm-radius-detail);flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex;position:relative}._box_18y6a_19:before{inset:calc((var(--pm-icon-size-md) - var(--pm-control-height-sm)) / 2);content:"";position:absolute}._label_18y6a_46{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)}._indicator_18y6a_56{color:var(--pm-accent-contrast);animation:_checkbox-pop_18y6a_1 var(--pm-motion-duration-control) var(--pm-motion-easing-enter);justify-content:center;align-items:center;display:inline-flex}@keyframes _checkbox-pop_18y6a_1{0%{opacity:0;transform:scale(.5)}}._row_18y6a_8 ._box_18y6a_19{margin-block-start:calc((var(--pm-text-sm-line-height) * var(--pm-text-sm-size) - var(--pm-icon-size-md)) / 2)}._box_18y6a_19[data-state=checked],._box_18y6a_19[data-state=indeterminate]{background:var(--pm-accent-bg);border-color:var(--pm-accent-bg)}._box_18y6a_19[data-invalid]{border-color:var(--pm-danger-border)}._box_18y6a_19[data-disabled]{cursor:not-allowed;background:var(--pm-bg-subtle);border-color:var(--pm-border-subtle)}._box_18y6a_19[data-disabled][data-state=checked],._box_18y6a_19[data-disabled][data-state=indeterminate]{background:var(--pm-border-subtle);border-color:var(--pm-border-subtle)}._box_18y6a_19:hover:not([data-disabled],[data-state=checked],[data-state=indeterminate]){background:var(--pm-bg-subtle);border-color:var(--pm-border-strong)}._box_18y6a_19[data-state=checked]:hover:not([data-disabled],[data-invalid]),._box_18y6a_19[data-state=indeterminate]:hover:not([data-disabled],[data-invalid]){background:var(--pm-accent-bg-hover);border-color:var(--pm-accent-bg-hover)}._box_18y6a_19[data-disabled] ._indicator_18y6a_56{color:var(--pm-text-disabled)}._row_18y6a_8[data-disabled]{cursor:not-allowed}._row_18y6a_8[data-disabled] ._label_18y6a_46{color:var(--pm-text-disabled)}@media (prefers-reduced-motion:reduce){@keyframes _checkbox-pop_18y6a_1{0%{opacity:0}}}._row_18y6a_8[data-required] ._label_18y6a_46:after{color:var(--pm-danger-text);content:" *" / ""}._group_4031v_7{gap:var(--pm-space-3);flex-direction:column;display:flex}._group_4031v_7[data-orientation=horizontal]{gap:var(--pm-space-5);flex-direction:row}._item_4031v_19{flex-direction:column;display:flex}._description_4031v_50{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);margin-block-start:2px;margin-inline-start:calc(var(--pm-icon-size-md) + var(--pm-space-3))}._item_4031v_19[data-disabled] ._description_4031v_50{color:var(--pm-text-disabled)}._group_4031v_7[data-invalid] ._box_4031v_31{border-color:var(--pm-danger-border)}
@@ -1,6 +1,6 @@
1
1
  import './checkbox-group.css';
2
2
  //#region ../recipes/src/controls/checkbox-group.module.css
3
- var e = "_group_4031v_7", t = "_item_4031v_19", n = "_row_4031v_27 _row_1q29o_8", r = "_box_4031v_31 _stateFeedback_lkjqs_17 _box_1q29o_19 _focusRing_1lfnc_15 _stateFeedback_lkjqs_17", i = "_indicator_4031v_36 _indicator_1q29o_56", a = "_label_4031v_42 _stateFeedback_lkjqs_17 _label_1q29o_46 _stateFeedback_lkjqs_17", o = "_description_4031v_50", s = {
3
+ var e = "_group_4031v_7", t = "_item_4031v_19", n = "_row_4031v_27 _row_18y6a_8", r = "_box_4031v_31 _stateFeedback_lkjqs_17 _box_18y6a_19 _focusAround_1hr3n_95 _stateFeedback_lkjqs_17", i = "_indicator_4031v_36 _indicator_18y6a_56", a = "_label_4031v_42 _stateFeedback_lkjqs_17 _label_18y6a_46 _stateFeedback_lkjqs_17", o = "_description_4031v_50", s = {
4
4
  group: e,
5
5
  item: t,
6
6
  row: 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}}._row_1q29o_8{gap:var(--pm-space-3);min-block-size:var(--pm-control-height-sm);padding-block:calc((var(--pm-control-height-sm) - var(--pm-text-sm-line-height) * var(--pm-text-sm-size)) / 2);cursor:pointer;align-items:flex-start;display:inline-flex}._box_1q29o_19{inline-size:var(--pm-icon-size-md);block-size:var(--pm-icon-size-md);background:var(--pm-bg-surface);border:1px solid var(--pm-border-field);border-radius:var(--pm-radius-detail);flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex;position:relative}._box_1q29o_19:before{inset:calc((var(--pm-icon-size-md) - var(--pm-control-height-sm)) / 2);content:"";position:absolute}._label_1q29o_46{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)}._indicator_1q29o_56{color:var(--pm-accent-contrast);animation:_checkbox-pop_1q29o_1 var(--pm-motion-duration-control) var(--pm-motion-easing-enter);justify-content:center;align-items:center;display:inline-flex}@keyframes _checkbox-pop_1q29o_1{0%{opacity:0;transform:scale(.5)}}._row_1q29o_8 ._box_1q29o_19{margin-block-start:calc((var(--pm-text-sm-line-height) * var(--pm-text-sm-size) - var(--pm-icon-size-md)) / 2)}._box_1q29o_19[data-state=checked],._box_1q29o_19[data-state=indeterminate]{background:var(--pm-accent-bg);border-color:var(--pm-accent-bg)}._box_1q29o_19[data-invalid]{border-color:var(--pm-danger-border)}._box_1q29o_19[data-disabled]{cursor:not-allowed;background:var(--pm-bg-subtle);border-color:var(--pm-border-subtle)}._box_1q29o_19[data-disabled][data-state=checked],._box_1q29o_19[data-disabled][data-state=indeterminate]{background:var(--pm-border-subtle);border-color:var(--pm-border-subtle)}._box_1q29o_19:hover:not([data-disabled],[data-state=checked],[data-state=indeterminate]){background:var(--pm-bg-subtle);border-color:var(--pm-border-strong)}._box_1q29o_19[data-state=checked]:hover:not([data-disabled],[data-invalid]),._box_1q29o_19[data-state=indeterminate]:hover:not([data-disabled],[data-invalid]){background:var(--pm-accent-bg-hover);border-color:var(--pm-accent-bg-hover)}._box_1q29o_19[data-disabled] ._indicator_1q29o_56{color:var(--pm-text-disabled)}._row_1q29o_8[data-disabled]{cursor:not-allowed}._row_1q29o_8[data-disabled] ._label_1q29o_46{color:var(--pm-text-disabled)}@media (prefers-reduced-motion:reduce){@keyframes _checkbox-pop_1q29o_1{0%{opacity:0}}}._row_1q29o_8[data-required] ._label_1q29o_46:after{color:var(--pm-danger-text);content:" *" / ""}
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}}._row_18y6a_8{gap:var(--pm-space-3);min-block-size:var(--pm-control-height-sm);padding-block:calc((var(--pm-control-height-sm) - var(--pm-text-sm-line-height) * var(--pm-text-sm-size)) / 2);cursor:pointer;align-items:flex-start;display:inline-flex}._box_18y6a_19{inline-size:var(--pm-icon-size-md);block-size:var(--pm-icon-size-md);background:var(--pm-bg-surface);border:1px solid var(--pm-border-field);border-radius:var(--pm-radius-detail);flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex;position:relative}._box_18y6a_19:before{inset:calc((var(--pm-icon-size-md) - var(--pm-control-height-sm)) / 2);content:"";position:absolute}._label_18y6a_46{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)}._indicator_18y6a_56{color:var(--pm-accent-contrast);animation:_checkbox-pop_18y6a_1 var(--pm-motion-duration-control) var(--pm-motion-easing-enter);justify-content:center;align-items:center;display:inline-flex}@keyframes _checkbox-pop_18y6a_1{0%{opacity:0;transform:scale(.5)}}._row_18y6a_8 ._box_18y6a_19{margin-block-start:calc((var(--pm-text-sm-line-height) * var(--pm-text-sm-size) - var(--pm-icon-size-md)) / 2)}._box_18y6a_19[data-state=checked],._box_18y6a_19[data-state=indeterminate]{background:var(--pm-accent-bg);border-color:var(--pm-accent-bg)}._box_18y6a_19[data-invalid]{border-color:var(--pm-danger-border)}._box_18y6a_19[data-disabled]{cursor:not-allowed;background:var(--pm-bg-subtle);border-color:var(--pm-border-subtle)}._box_18y6a_19[data-disabled][data-state=checked],._box_18y6a_19[data-disabled][data-state=indeterminate]{background:var(--pm-border-subtle);border-color:var(--pm-border-subtle)}._box_18y6a_19:hover:not([data-disabled],[data-state=checked],[data-state=indeterminate]){background:var(--pm-bg-subtle);border-color:var(--pm-border-strong)}._box_18y6a_19[data-state=checked]:hover:not([data-disabled],[data-invalid]),._box_18y6a_19[data-state=indeterminate]:hover:not([data-disabled],[data-invalid]){background:var(--pm-accent-bg-hover);border-color:var(--pm-accent-bg-hover)}._box_18y6a_19[data-disabled] ._indicator_18y6a_56{color:var(--pm-text-disabled)}._row_18y6a_8[data-disabled]{cursor:not-allowed}._row_18y6a_8[data-disabled] ._label_18y6a_46{color:var(--pm-text-disabled)}@media (prefers-reduced-motion:reduce){@keyframes _checkbox-pop_18y6a_1{0%{opacity:0}}}._row_18y6a_8[data-required] ._label_18y6a_46:after{color:var(--pm-danger-text);content:" *" / ""}
@@ -1,11 +1,11 @@
1
1
  import './checkbox.css';
2
2
  //#region ../recipes/src/controls/checkbox.module.css
3
- var e = "_row_1q29o_8", t = "_box_1q29o_19 _focusRing_1lfnc_15 _stateFeedback_lkjqs_17", n = "_label_1q29o_46 _stateFeedback_lkjqs_17", r = "_indicator_1q29o_56", i = {
3
+ var e = "_row_18y6a_8", t = "_box_18y6a_19 _focusAround_1hr3n_95 _stateFeedback_lkjqs_17", n = "_label_18y6a_46 _stateFeedback_lkjqs_17", r = "_indicator_18y6a_56", i = {
4
4
  row: e,
5
5
  box: t,
6
6
  label: n,
7
7
  indicator: r,
8
- "checkbox-pop": "_checkbox-pop_1q29o_1"
8
+ "checkbox-pop": "_checkbox-pop_18y6a_1"
9
9
  };
10
10
  //#endregion
11
11
  export { t as box, i as default, r as indicator, n as label, e as row };
@@ -1 +1 @@
1
- {"version":3,"file":"checkbox.module.js","names":[],"sources":["../../../recipes/src/controls/checkbox.module.css"],"sourcesContent":["/* Checkbox — `design/components/checkbox.md`.\n *\n * The box is glyph-scale (`--pm-icon-size-md`) and aligned to text, so it sits on the first line\n * of its label rather than centred on a paragraph. Its *hit* area is the row when there is one.\n * Otherwise it is a pseudo-element that takes no layout space, so the conventions' target floor\n * also holds in a Table cell. */\n\n.row {\n display: inline-flex;\n gap: var(--pm-space-3);\n align-items: flex-start;\n min-block-size: var(--pm-control-height-sm);\n padding-block: calc(\n (var(--pm-control-height-sm) - var(--pm-text-sm-line-height) * var(--pm-text-sm-size)) / 2\n );\n cursor: pointer;\n}\n\n.box {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback from '../conventions/motion.module.css';\n position: relative;\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n inline-size: var(--pm-icon-size-md);\n block-size: var(--pm-icon-size-md);\n padding: 0;\n background: var(--pm-bg-surface);\n\n /* `border.field`, not `strong`, because the box's edge is the same interactive edge the fields\n use. */\n border: 1px solid var(--pm-border-field);\n border-radius: var(--pm-radius-detail);\n}\n\n/* The target floor, without affecting layout. A negative inset grows the hit area from the 16px\n box to `--pm-control-height-sm` in both axes. */\n.box::before {\n position: absolute;\n inset: calc((var(--pm-icon-size-md) - var(--pm-control-height-sm)) / 2);\n content: '';\n}\n\n.label {\n composes: stateFeedback from '../conventions/motion.module.css';\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-primary);\n}\n\n/* The `checkbox.indicator` binding: `spring-pop`. The CSS version runs the same 0.5 scale on the\n enter curve instead of the `snappy` spring. Radix's indicator unmounts, so the engine's presence\n wrapper cannot hold it, and on a 16px glyph a bezier and a spring look nearly the same. Its\n exit is a plain fade by definition, because a pop has no reverse. */\n.indicator {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n color: var(--pm-accent-contrast);\n animation: checkbox-pop var(--pm-motion-duration-control) var(--pm-motion-easing-enter);\n}\n\n@keyframes checkbox-pop {\n from {\n opacity: 0;\n transform: scale(0.5);\n }\n}\n\n/* Aligned to the label's first line (the conventions' size system, spec Dimensions). */\n.row .box {\n margin-block-start: calc(\n (var(--pm-text-sm-line-height) * var(--pm-text-sm-size) - var(--pm-icon-size-md)) / 2\n );\n}\n\n/* states ------------------------------------------------------------------- */\n\n.box[data-state='checked'],\n.box[data-state='indeterminate'] {\n background: var(--pm-accent-bg);\n border-color: var(--pm-accent-bg);\n}\n\n.box[data-invalid] {\n border-color: var(--pm-danger-border);\n}\n\n.box[data-disabled] {\n cursor: not-allowed;\n background: var(--pm-bg-subtle);\n border-color: var(--pm-border-subtle);\n}\n\n.box[data-disabled][data-state='checked'],\n.box[data-disabled][data-state='indeterminate'] {\n background: var(--pm-border-subtle);\n border-color: var(--pm-border-subtle);\n}\n\n.box:hover:not([data-disabled], [data-state='checked'], [data-state='indeterminate']) {\n background: var(--pm-bg-subtle);\n border-color: var(--pm-border-strong);\n}\n\n.box[data-state='checked']:hover:not([data-disabled], [data-invalid]),\n.box[data-state='indeterminate']:hover:not([data-disabled], [data-invalid]) {\n background: var(--pm-accent-bg-hover);\n border-color: var(--pm-accent-bg-hover);\n}\n\n.box[data-disabled] .indicator {\n color: var(--pm-text-disabled);\n}\n\n.row[data-disabled] {\n cursor: not-allowed;\n}\n\n.row[data-disabled] .label {\n color: var(--pm-text-disabled);\n}\n\n/* Reduced motion (motion.md): spring-pop becomes a fade. */\n@media (prefers-reduced-motion: reduce) {\n @keyframes checkbox-pop {\n from {\n opacity: 0;\n }\n }\n}\n\n/* The required marker, rendered here because a row-labelled field has no field-level label row to\n carry it. It is generated content with empty alternative text, so assistive technology skips it\n (`aria-required` already announces the requirement) and everyone else sees it. */\n.row[data-required] .label::after {\n color: var(--pm-danger-text);\n content: ' *' / '';\n}\n"],"mappings":""}
1
+ {"version":3,"file":"checkbox.module.js","names":[],"sources":["../../../recipes/src/controls/checkbox.module.css"],"sourcesContent":["/* Checkbox — `design/components/checkbox.md`.\n *\n * The box is glyph-scale (`--pm-icon-size-md`) and aligned to text, so it sits on the first line\n * of its label rather than centred on a paragraph. Its *hit* area is the row when there is one.\n * Otherwise it is a pseudo-element that takes no layout space, so the conventions' target floor\n * also holds in a Table cell. */\n\n.row {\n display: inline-flex;\n gap: var(--pm-space-3);\n align-items: flex-start;\n min-block-size: var(--pm-control-height-sm);\n padding-block: calc(\n (var(--pm-control-height-sm) - var(--pm-text-sm-line-height) * var(--pm-text-sm-size)) / 2\n );\n cursor: pointer;\n}\n\n.box {\n composes: focusAround from '../conventions/focus.module.css';\n composes: stateFeedback from '../conventions/motion.module.css';\n position: relative;\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n inline-size: var(--pm-icon-size-md);\n block-size: var(--pm-icon-size-md);\n padding: 0;\n background: var(--pm-bg-surface);\n\n /* `border.field`, not `strong`, because the box's edge is the same interactive edge the fields\n use. */\n border: 1px solid var(--pm-border-field);\n border-radius: var(--pm-radius-detail);\n}\n\n/* The target floor, without affecting layout. A negative inset grows the hit area from the 16px\n box to `--pm-control-height-sm` in both axes. */\n.box::before {\n position: absolute;\n inset: calc((var(--pm-icon-size-md) - var(--pm-control-height-sm)) / 2);\n content: '';\n}\n\n.label {\n composes: stateFeedback from '../conventions/motion.module.css';\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-primary);\n}\n\n/* The `checkbox.indicator` binding: `spring-pop`. The CSS version runs the same 0.5 scale on the\n enter curve instead of the `snappy` spring. Radix's indicator unmounts, so the engine's presence\n wrapper cannot hold it, and on a 16px glyph a bezier and a spring look nearly the same. Its\n exit is a plain fade by definition, because a pop has no reverse. */\n.indicator {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n color: var(--pm-accent-contrast);\n animation: checkbox-pop var(--pm-motion-duration-control) var(--pm-motion-easing-enter);\n}\n\n@keyframes checkbox-pop {\n from {\n opacity: 0;\n transform: scale(0.5);\n }\n}\n\n/* Aligned to the label's first line (the conventions' size system, spec Dimensions). */\n.row .box {\n margin-block-start: calc(\n (var(--pm-text-sm-line-height) * var(--pm-text-sm-size) - var(--pm-icon-size-md)) / 2\n );\n}\n\n/* states ------------------------------------------------------------------- */\n\n.box[data-state='checked'],\n.box[data-state='indeterminate'] {\n background: var(--pm-accent-bg);\n border-color: var(--pm-accent-bg);\n}\n\n.box[data-invalid] {\n border-color: var(--pm-danger-border);\n}\n\n.box[data-disabled] {\n cursor: not-allowed;\n background: var(--pm-bg-subtle);\n border-color: var(--pm-border-subtle);\n}\n\n.box[data-disabled][data-state='checked'],\n.box[data-disabled][data-state='indeterminate'] {\n background: var(--pm-border-subtle);\n border-color: var(--pm-border-subtle);\n}\n\n.box:hover:not([data-disabled], [data-state='checked'], [data-state='indeterminate']) {\n background: var(--pm-bg-subtle);\n border-color: var(--pm-border-strong);\n}\n\n.box[data-state='checked']:hover:not([data-disabled], [data-invalid]),\n.box[data-state='indeterminate']:hover:not([data-disabled], [data-invalid]) {\n background: var(--pm-accent-bg-hover);\n border-color: var(--pm-accent-bg-hover);\n}\n\n.box[data-disabled] .indicator {\n color: var(--pm-text-disabled);\n}\n\n.row[data-disabled] {\n cursor: not-allowed;\n}\n\n.row[data-disabled] .label {\n color: var(--pm-text-disabled);\n}\n\n/* Reduced motion (motion.md): spring-pop becomes a fade. */\n@media (prefers-reduced-motion: reduce) {\n @keyframes checkbox-pop {\n from {\n opacity: 0;\n }\n }\n}\n\n/* The required marker, rendered here because a row-labelled field has no field-level label row to\n carry it. It is generated content with empty alternative text, so assistive technology skips it\n (`aria-required` already announces the requirement) and everyone else sees it. */\n.row[data-required] .label::after {\n color: var(--pm-danger-text);\n content: ' *' / '';\n}\n"],"mappings":""}
@@ -1 +1 @@
1
- ._layout_ul633_13{min-width:0}ul._layout_ul633_13,ol._layout_ul633_13{margin:0;padding:0;list-style:none}._layout_ul633_13[data-gap="0"]{gap:var(--pm-space-0)}._layout_ul633_13[data-gap="1"]{gap:var(--pm-space-1)}._layout_ul633_13[data-gap="2"]{gap:var(--pm-space-2)}._layout_ul633_13[data-gap="3"]{gap:var(--pm-space-3)}._layout_ul633_13[data-gap="4"]{gap:var(--pm-space-4)}._layout_ul633_13[data-gap="5"]{gap:var(--pm-space-5)}._layout_ul633_13[data-gap="6"]{gap:var(--pm-space-6)}._layout_ul633_13[data-gap="7"]{gap:var(--pm-space-7)}._layout_ul633_13[data-gap="8"]{gap:var(--pm-space-8)}._layout_ul633_13[data-gap="9"]{gap:var(--pm-space-9)}._layout_ul633_13[data-gap="10"]{gap:var(--pm-space-10)}._layout_ul633_13[data-p="0"]{padding:var(--pm-space-0)}._layout_ul633_13[data-p="1"]{padding:var(--pm-space-1)}._layout_ul633_13[data-p="2"]{padding:var(--pm-space-2)}._layout_ul633_13[data-p="3"]{padding:var(--pm-space-3)}._layout_ul633_13[data-p="4"]{padding:var(--pm-space-4)}._layout_ul633_13[data-p="5"]{padding:var(--pm-space-5)}._layout_ul633_13[data-p="6"]{padding:var(--pm-space-6)}._layout_ul633_13[data-p="7"]{padding:var(--pm-space-7)}._layout_ul633_13[data-p="8"]{padding:var(--pm-space-8)}._layout_ul633_13[data-p="9"]{padding:var(--pm-space-9)}._layout_ul633_13[data-p="10"]{padding:var(--pm-space-10)}._layout_ul633_13[data-px="0"]{padding-inline:var(--pm-space-0)}._layout_ul633_13[data-px="1"]{padding-inline:var(--pm-space-1)}._layout_ul633_13[data-px="2"]{padding-inline:var(--pm-space-2)}._layout_ul633_13[data-px="3"]{padding-inline:var(--pm-space-3)}._layout_ul633_13[data-px="4"]{padding-inline:var(--pm-space-4)}._layout_ul633_13[data-px="5"]{padding-inline:var(--pm-space-5)}._layout_ul633_13[data-px="6"]{padding-inline:var(--pm-space-6)}._layout_ul633_13[data-px="7"]{padding-inline:var(--pm-space-7)}._layout_ul633_13[data-px="8"]{padding-inline:var(--pm-space-8)}._layout_ul633_13[data-px="9"]{padding-inline:var(--pm-space-9)}._layout_ul633_13[data-px="10"]{padding-inline:var(--pm-space-10)}._layout_ul633_13[data-py="0"]{padding-block:var(--pm-space-0)}._layout_ul633_13[data-py="1"]{padding-block:var(--pm-space-1)}._layout_ul633_13[data-py="2"]{padding-block:var(--pm-space-2)}._layout_ul633_13[data-py="3"]{padding-block:var(--pm-space-3)}._layout_ul633_13[data-py="4"]{padding-block:var(--pm-space-4)}._layout_ul633_13[data-py="5"]{padding-block:var(--pm-space-5)}._layout_ul633_13[data-py="6"]{padding-block:var(--pm-space-6)}._layout_ul633_13[data-py="7"]{padding-block:var(--pm-space-7)}._layout_ul633_13[data-py="8"]{padding-block:var(--pm-space-8)}._layout_ul633_13[data-py="9"]{padding-block:var(--pm-space-9)}._layout_ul633_13[data-py="10"]{padding-block:var(--pm-space-10)}._layout_ul633_13[data-align=stretch]{align-items:stretch}._layout_ul633_13[data-align=start]{align-items:flex-start}._layout_ul633_13[data-align=center]{align-items:center}._layout_ul633_13[data-align=end]{align-items:flex-end}._layout_ul633_13[data-align=baseline]{align-items:baseline}._layout_ul633_13[data-justify=start]{justify-content:flex-start}._layout_ul633_13[data-justify=center]{justify-content:center}._layout_ul633_13[data-justify=end]{justify-content:flex-end}._layout_ul633_13[data-justify=between]{justify-content:space-between}._stack_ul633_250{flex-direction:column;display:flex}._inline_ul633_255{flex-direction:row;display:flex}._inline_ul633_255[data-wrap]{flex-wrap:wrap}._grid_ul633_295{grid-template-columns:repeat(12,minmax(0,1fr));inline-size:100%;display:grid;container-type:inline-size}._grid_ul633_295[data-columns="1"]>*{grid-column:span 12}._grid_ul633_295[data-columns="2"]>*{grid-column:span 6}._grid_ul633_295[data-columns="3"]>*{grid-column:span 4}._grid_ul633_295[data-columns="4"]>*{grid-column:span 3}._grid_ul633_295[data-columns="6"]>*{grid-column:span 2}._grid_ul633_295[data-columns="12"]>*{grid-column:span 1}@container (28rem<=width<44rem){._grid_ul633_295[data-columns="1"]>*,._grid_ul633_295[data-columns="2"]>*{grid-column:span 12}._grid_ul633_295[data-columns="3"]>*,._grid_ul633_295[data-columns="4"]>*{grid-column:span 6}._grid_ul633_295[data-columns="6"]>*{grid-column:span 4}._grid_ul633_295[data-columns="12"]>*{grid-column:span 2}}@container (width<28rem){._grid_ul633_295[data-columns]>*{grid-column:span 12}}._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}}._visuallyHidden_qxi8b_14{white-space:nowrap;clip-path:inset(50%);block-size:1px;inline-size:1px;position:absolute;overflow:hidden}._grid_18foc_16{gap:var(--pm-space-4)}._option_18foc_24{overflow-wrap:anywhere;min-inline-size:0;padding:var(--pm-space-6);cursor:pointer;background:var(--pm-bg-surface);border:1px solid var(--pm-border-subtle);border-radius:var(--pm-radius-lg);flex-direction:column;align-items:flex-start;display:flex;position:relative}._icon_18foc_45{color:var(--pm-text-secondary);flex:none;align-items:center;margin-block-end:var(--pm-space-3);display:inline-flex}._label_18foc_56{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);padding-inline-end:calc(var(--pm-icon-size-md) + var(--pm-space-2))}._description_18foc_67{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);margin-block-start:2px;padding-inline-end:calc(var(--pm-icon-size-md) + var(--pm-space-2))}._glyph_18foc_78{color:var(--pm-accent-text);animation:_choice-card-pop_18foc_1 var(--pm-motion-duration-control) var(--pm-motion-easing-enter);display:inline-flex;position:absolute;inset-block-start:var(--pm-space-4);inset-inline-end:var(--pm-space-4)}@keyframes _choice-card-pop_18foc_1{0%{opacity:0;transform:scale(.5)}}._option_18foc_24:has(:focus-visible){outline:var(--pm-focus-width) solid var(--pm-border-focus);outline-offset:var(--pm-focus-offset);box-shadow:var(--pm-glow-focus)}._option_18foc_24:hover:not([data-state=checked],[data-disabled]){background:var(--pm-bg-subtle)}._option_18foc_24[data-state=checked]{background:var(--pm-accent-subtle);border-color:var(--pm-accent-bg)}._option_18foc_24[data-disabled]{cursor:not-allowed;background:var(--pm-bg-subtle);border-color:var(--pm-border-subtle)}._option_18foc_24[data-disabled] ._icon_18foc_45,._option_18foc_24[data-disabled] ._label_18foc_56,._option_18foc_24[data-disabled] ._description_18foc_67,._option_18foc_24[data-disabled] ._glyph_18foc_78{color:var(--pm-text-disabled)}@media (prefers-reduced-motion:reduce){@keyframes _choice-card-pop_18foc_1{0%{opacity:0}}}
1
+ ._layout_ul633_13{min-width:0}ul._layout_ul633_13,ol._layout_ul633_13{margin:0;padding:0;list-style:none}._layout_ul633_13[data-gap="0"]{gap:var(--pm-space-0)}._layout_ul633_13[data-gap="1"]{gap:var(--pm-space-1)}._layout_ul633_13[data-gap="2"]{gap:var(--pm-space-2)}._layout_ul633_13[data-gap="3"]{gap:var(--pm-space-3)}._layout_ul633_13[data-gap="4"]{gap:var(--pm-space-4)}._layout_ul633_13[data-gap="5"]{gap:var(--pm-space-5)}._layout_ul633_13[data-gap="6"]{gap:var(--pm-space-6)}._layout_ul633_13[data-gap="7"]{gap:var(--pm-space-7)}._layout_ul633_13[data-gap="8"]{gap:var(--pm-space-8)}._layout_ul633_13[data-gap="9"]{gap:var(--pm-space-9)}._layout_ul633_13[data-gap="10"]{gap:var(--pm-space-10)}._layout_ul633_13[data-p="0"]{padding:var(--pm-space-0)}._layout_ul633_13[data-p="1"]{padding:var(--pm-space-1)}._layout_ul633_13[data-p="2"]{padding:var(--pm-space-2)}._layout_ul633_13[data-p="3"]{padding:var(--pm-space-3)}._layout_ul633_13[data-p="4"]{padding:var(--pm-space-4)}._layout_ul633_13[data-p="5"]{padding:var(--pm-space-5)}._layout_ul633_13[data-p="6"]{padding:var(--pm-space-6)}._layout_ul633_13[data-p="7"]{padding:var(--pm-space-7)}._layout_ul633_13[data-p="8"]{padding:var(--pm-space-8)}._layout_ul633_13[data-p="9"]{padding:var(--pm-space-9)}._layout_ul633_13[data-p="10"]{padding:var(--pm-space-10)}._layout_ul633_13[data-px="0"]{padding-inline:var(--pm-space-0)}._layout_ul633_13[data-px="1"]{padding-inline:var(--pm-space-1)}._layout_ul633_13[data-px="2"]{padding-inline:var(--pm-space-2)}._layout_ul633_13[data-px="3"]{padding-inline:var(--pm-space-3)}._layout_ul633_13[data-px="4"]{padding-inline:var(--pm-space-4)}._layout_ul633_13[data-px="5"]{padding-inline:var(--pm-space-5)}._layout_ul633_13[data-px="6"]{padding-inline:var(--pm-space-6)}._layout_ul633_13[data-px="7"]{padding-inline:var(--pm-space-7)}._layout_ul633_13[data-px="8"]{padding-inline:var(--pm-space-8)}._layout_ul633_13[data-px="9"]{padding-inline:var(--pm-space-9)}._layout_ul633_13[data-px="10"]{padding-inline:var(--pm-space-10)}._layout_ul633_13[data-py="0"]{padding-block:var(--pm-space-0)}._layout_ul633_13[data-py="1"]{padding-block:var(--pm-space-1)}._layout_ul633_13[data-py="2"]{padding-block:var(--pm-space-2)}._layout_ul633_13[data-py="3"]{padding-block:var(--pm-space-3)}._layout_ul633_13[data-py="4"]{padding-block:var(--pm-space-4)}._layout_ul633_13[data-py="5"]{padding-block:var(--pm-space-5)}._layout_ul633_13[data-py="6"]{padding-block:var(--pm-space-6)}._layout_ul633_13[data-py="7"]{padding-block:var(--pm-space-7)}._layout_ul633_13[data-py="8"]{padding-block:var(--pm-space-8)}._layout_ul633_13[data-py="9"]{padding-block:var(--pm-space-9)}._layout_ul633_13[data-py="10"]{padding-block:var(--pm-space-10)}._layout_ul633_13[data-align=stretch]{align-items:stretch}._layout_ul633_13[data-align=start]{align-items:flex-start}._layout_ul633_13[data-align=center]{align-items:center}._layout_ul633_13[data-align=end]{align-items:flex-end}._layout_ul633_13[data-align=baseline]{align-items:baseline}._layout_ul633_13[data-justify=start]{justify-content:flex-start}._layout_ul633_13[data-justify=center]{justify-content:center}._layout_ul633_13[data-justify=end]{justify-content:flex-end}._layout_ul633_13[data-justify=between]{justify-content:space-between}._stack_ul633_250{flex-direction:column;display:flex}._inline_ul633_255{flex-direction:row;display:flex}._inline_ul633_255[data-wrap]{flex-wrap:wrap}._grid_ul633_295{grid-template-columns:repeat(12,minmax(0,1fr));inline-size:100%;display:grid;container-type:inline-size}._grid_ul633_295[data-columns="1"]>*{grid-column:span 12}._grid_ul633_295[data-columns="2"]>*{grid-column:span 6}._grid_ul633_295[data-columns="3"]>*{grid-column:span 4}._grid_ul633_295[data-columns="4"]>*{grid-column:span 3}._grid_ul633_295[data-columns="6"]>*{grid-column:span 2}._grid_ul633_295[data-columns="12"]>*{grid-column:span 1}@container (28rem<=width<44rem){._grid_ul633_295[data-columns="1"]>*,._grid_ul633_295[data-columns="2"]>*{grid-column:span 12}._grid_ul633_295[data-columns="3"]>*,._grid_ul633_295[data-columns="4"]>*{grid-column:span 6}._grid_ul633_295[data-columns="6"]>*{grid-column:span 4}._grid_ul633_295[data-columns="12"]>*{grid-column:span 2}}@container (width<28rem){._grid_ul633_295[data-columns]>*{grid-column:span 12}}._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}}._visuallyHidden_qxi8b_14{white-space:nowrap;clip-path:inset(50%);block-size:1px;inline-size:1px;position:absolute;overflow:hidden}._grid_1plol_16{gap:var(--pm-space-4)}._option_1plol_24{overflow-wrap:anywhere;min-inline-size:0;padding:var(--pm-space-6);cursor:pointer;background:var(--pm-bg-surface);border:1px solid var(--pm-border-subtle);border-radius:var(--pm-radius-lg);flex-direction:column;align-items:flex-start;display:flex;position:relative}._icon_1plol_45{color:var(--pm-text-secondary);flex:none;align-items:center;margin-block-end:var(--pm-space-3);display:inline-flex}._label_1plol_56{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);padding-inline-end:calc(var(--pm-icon-size-md) + var(--pm-space-2))}._description_1plol_67{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);margin-block-start:2px;padding-inline-end:calc(var(--pm-icon-size-md) + var(--pm-space-2))}._glyph_1plol_78{color:var(--pm-accent-text);animation:_choice-card-pop_1plol_1 var(--pm-motion-duration-control) var(--pm-motion-easing-enter);display:inline-flex;position:absolute;inset-block-start:var(--pm-space-4);inset-inline-end:var(--pm-space-4)}@keyframes _choice-card-pop_1plol_1{0%{opacity:0;transform:scale(.5)}}._option_1plol_24:has(:focus-visible){outline:var(--pm-focus-width) solid var(--pm-border-focus-solid);outline-offset:var(--pm-focus-offset)}._option_1plol_24:hover:not([data-state=checked],[data-disabled]){background:var(--pm-bg-subtle)}._option_1plol_24[data-state=checked]{background:var(--pm-accent-subtle);border-color:var(--pm-accent-bg)}._option_1plol_24[data-disabled]{cursor:not-allowed;background:var(--pm-bg-subtle);border-color:var(--pm-border-subtle)}._option_1plol_24[data-disabled] ._icon_1plol_45,._option_1plol_24[data-disabled] ._label_1plol_56,._option_1plol_24[data-disabled] ._description_1plol_67,._option_1plol_24[data-disabled] ._glyph_1plol_78{color:var(--pm-text-disabled)}@media (prefers-reduced-motion:reduce){@keyframes _choice-card-pop_1plol_1{0%{opacity:0}}}
@@ -1,6 +1,6 @@
1
1
  import './choice-card.css';
2
2
  //#region ../recipes/src/controls/choice-card.module.css
3
- var e = "_grid_18foc_16 _grid_ul633_295", t = "_option_18foc_24 _stateFeedback_lkjqs_17", n = "_control_18foc_41 _visuallyHidden_qxi8b_14", r = "_icon_18foc_45 _stateFeedback_lkjqs_17", i = "_label_18foc_56", a = "_description_18foc_67", o = "_glyph_18foc_78", s = {
3
+ var e = "_grid_1plol_16 _grid_ul633_295", t = "_option_1plol_24 _stateFeedback_lkjqs_17", n = "_control_1plol_41 _visuallyHidden_qxi8b_14", r = "_icon_1plol_45 _stateFeedback_lkjqs_17", i = "_label_1plol_56", a = "_description_1plol_67", o = "_glyph_1plol_78", s = {
4
4
  grid: e,
5
5
  option: t,
6
6
  control: n,
@@ -8,7 +8,7 @@ var e = "_grid_18foc_16 _grid_ul633_295", t = "_option_18foc_24 _stateFeedback_l
8
8
  label: i,
9
9
  description: a,
10
10
  glyph: o,
11
- "choice-card-pop": "_choice-card-pop_18foc_1"
11
+ "choice-card-pop": "_choice-card-pop_1plol_1"
12
12
  };
13
13
  //#endregion
14
14
  export { n as control, s as default, a as description, o as glyph, e as grid, r as icon, i as label, t as option };
@@ -1 +1 @@
1
- {"version":3,"file":"choice-card.module.js","names":[],"sources":["../../../recipes/src/controls/choice-card.module.css"],"sourcesContent":["/* ChoiceCard — `design/components/choice-card.md`.\n *\n * This borrows Card's *geometry* (border, radius, padding) but deliberately not its elevation. A\n * choice sits in the page, not above it. Its hover is the selection treatment's ghost wash, never\n * Card's lift, because elevation on hover signals navigation and would imply a destination.\n *\n * Checked applies the conventions' selection treatment to this anatomy: the accent wash on the\n * surface, the border *colour* changed to the accent at the same 1px, and the `confirm` glyph at\n * the top right. The colour changes and the width never does. Selection is never shown by colour\n * alone. The glyph stays visible to a user who cannot see the tint, and the wash and border\n * reinforce it rather than replace it. */\n\n/* The option grid. The *container* resolves the column maximum on Grid's own scale, composed\n rather than restated. `data-columns` means the same here as on a Grid, so the two cannot drift\n apart. */\n.grid {\n composes: grid from '../layout/layout.module.css';\n gap: var(--pm-space-4);\n}\n\n/* The whole area is one label. The card is the hit target, and the hidden control inside receives\n focus. `stateFeedback` is composed so the wash and border colours use the conventions' shared\n state-feedback transitions. At `none` the tokens are 0 and colours change instantly. */\n.option {\n composes: stateFeedback from '../conventions/motion.module.css';\n position: relative;\n min-inline-size: 0;\n overflow-wrap: anywhere;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: var(--pm-space-6);\n cursor: pointer;\n background: var(--pm-bg-surface);\n border: 1px solid var(--pm-border-subtle);\n border-radius: var(--pm-radius-lg);\n}\n\n/* Visually hidden but real: a true form control that the card wraps as its label, never a styled\n div with a hand-set `aria-checked`. Radix keeps ownership of state, keyboard and serialization. */\n.control {\n composes: visuallyHidden from '../conventions/a11y.module.css';\n}\n\n.icon {\n composes: stateFeedback from '../conventions/motion.module.css';\n display: inline-flex;\n flex: none;\n align-items: center;\n margin-block-end: var(--pm-space-3);\n color: var(--pm-text-secondary);\n}\n\n/* The text column reserves space for the glyph in **both** states. The glyph appears in space that\n was always reserved, so nothing shifts and the first line never runs under it. */\n.label {\n padding-inline-end: calc(var(--pm-icon-size-md) + var(--pm-space-2));\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-primary);\n}\n\n/* The two-line item style (`combobox.md`, as CheckboxGroup uses it). */\n.description {\n margin-block-start: 2px;\n padding-inline-end: calc(var(--pm-icon-size-md) + var(--pm-space-2));\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n line-height: var(--pm-text-xs-line-height);\n letter-spacing: var(--pm-text-xs-tracking);\n color: var(--pm-text-muted);\n}\n\n/* The `choiceCard.glyph` binding, identical to Checkbox's indicator binding. `spring-pop` in, run\n on the enter curve for the same reasons as Checkbox: the glyph unmounts, so the presence wrapper\n cannot hold it, and at icon size the curve difference is not visible. The exit is the unmount. */\n.glyph {\n position: absolute;\n inset-block-start: var(--pm-space-4);\n inset-inline-end: var(--pm-space-4);\n display: inline-flex;\n color: var(--pm-accent-text);\n animation: choice-card-pop var(--pm-motion-duration-control) var(--pm-motion-easing-enter);\n}\n\n@keyframes choice-card-pop {\n from {\n opacity: 0;\n transform: scale(0.5);\n }\n}\n\n/* states -------------------------------------------------------------------- */\n\n/* The focus ring is drawn on the card. The hidden control receives focus, but the card is what the\n user watches. This mirrors `card.md`'s interactive rules, including the glow. It comes first\n among the state rules only for the specificity law. It shares no property with them, so nothing\n overrides the ring. */\n.option:has(:focus-visible) {\n outline: var(--pm-focus-width) solid var(--pm-border-focus);\n outline-offset: var(--pm-focus-offset);\n box-shadow: var(--pm-glow-focus);\n}\n\n/* Only the selection treatment's ghost wash. Border and elevation do not change. Hover on a\n *selected* card changes nothing, because there is nothing to preview. */\n.option:hover:not([data-state='checked'], [data-disabled]) {\n background: var(--pm-bg-subtle);\n}\n\n/* Label, description and icon colours do not change. The selection indicators (wash, border\n colour, glyph) are the whole change. */\n.option[data-state='checked'] {\n background: var(--pm-accent-subtle);\n border-color: var(--pm-accent-bg);\n}\n\n/* The conventions' disabled treatment. It comes after `checked`, so a checked and disabled card\n loses its accent colours while the glyph still shows the state. */\n.option[data-disabled] {\n cursor: not-allowed;\n background: var(--pm-bg-subtle);\n border-color: var(--pm-border-subtle);\n}\n\n.option[data-disabled] .icon,\n.option[data-disabled] .label,\n.option[data-disabled] .description,\n.option[data-disabled] .glyph {\n color: var(--pm-text-disabled);\n}\n\n/* Reduced motion (motion.md): spring-pop becomes a fade. */\n@media (prefers-reduced-motion: reduce) {\n @keyframes choice-card-pop {\n from {\n opacity: 0;\n }\n }\n}\n"],"mappings":""}
1
+ {"version":3,"file":"choice-card.module.js","names":[],"sources":["../../../recipes/src/controls/choice-card.module.css"],"sourcesContent":["/* ChoiceCard — `design/components/choice-card.md`.\n *\n * This borrows Card's *geometry* (border, radius, padding) but deliberately not its elevation. A\n * choice sits in the page, not above it. Its hover is the selection treatment's ghost wash, never\n * Card's lift, because elevation on hover signals navigation and would imply a destination.\n *\n * Checked applies the conventions' selection treatment to this anatomy: the accent wash on the\n * surface, the border *colour* changed to the accent at the same 1px, and the `confirm` glyph at\n * the top right. The colour changes and the width never does. Selection is never shown by colour\n * alone. The glyph stays visible to a user who cannot see the tint, and the wash and border\n * reinforce it rather than replace it. */\n\n/* The option grid. The *container* resolves the column maximum on Grid's own scale, composed\n rather than restated. `data-columns` means the same here as on a Grid, so the two cannot drift\n apart. */\n.grid {\n composes: grid from '../layout/layout.module.css';\n gap: var(--pm-space-4);\n}\n\n/* The whole area is one label. The card is the hit target, and the hidden control inside receives\n focus. `stateFeedback` is composed so the wash and border colours use the conventions' shared\n state-feedback transitions. At `none` the tokens are 0 and colours change instantly. */\n.option {\n composes: stateFeedback from '../conventions/motion.module.css';\n position: relative;\n min-inline-size: 0;\n overflow-wrap: anywhere;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: var(--pm-space-6);\n cursor: pointer;\n background: var(--pm-bg-surface);\n border: 1px solid var(--pm-border-subtle);\n border-radius: var(--pm-radius-lg);\n}\n\n/* Visually hidden but real: a true form control that the card wraps as its label, never a styled\n div with a hand-set `aria-checked`. Radix keeps ownership of state, keyboard and serialization. */\n.control {\n composes: visuallyHidden from '../conventions/a11y.module.css';\n}\n\n.icon {\n composes: stateFeedback from '../conventions/motion.module.css';\n display: inline-flex;\n flex: none;\n align-items: center;\n margin-block-end: var(--pm-space-3);\n color: var(--pm-text-secondary);\n}\n\n/* The text column reserves space for the glyph in **both** states. The glyph appears in space that\n was always reserved, so nothing shifts and the first line never runs under it. */\n.label {\n padding-inline-end: calc(var(--pm-icon-size-md) + var(--pm-space-2));\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-primary);\n}\n\n/* The two-line item style (`combobox.md`, as CheckboxGroup uses it). */\n.description {\n margin-block-start: 2px;\n padding-inline-end: calc(var(--pm-icon-size-md) + var(--pm-space-2));\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n line-height: var(--pm-text-xs-line-height);\n letter-spacing: var(--pm-text-xs-tracking);\n color: var(--pm-text-muted);\n}\n\n/* The `choiceCard.glyph` binding, identical to Checkbox's indicator binding. `spring-pop` in, run\n on the enter curve for the same reasons as Checkbox: the glyph unmounts, so the presence wrapper\n cannot hold it, and at icon size the curve difference is not visible. The exit is the unmount. */\n.glyph {\n position: absolute;\n inset-block-start: var(--pm-space-4);\n inset-inline-end: var(--pm-space-4);\n display: inline-flex;\n color: var(--pm-accent-text);\n animation: choice-card-pop var(--pm-motion-duration-control) var(--pm-motion-easing-enter);\n}\n\n@keyframes choice-card-pop {\n from {\n opacity: 0;\n transform: scale(0.5);\n }\n}\n\n/* states -------------------------------------------------------------------- */\n\n/* The focus mark is drawn on the card. The hidden control receives focus, but the card is what the\n user watches. This mirrors `card.md`'s interactive rule: the shared convention's outline in the\n focus colour at the system's offset, inside the card's edge by default, where it covers a checked\n card's accent border with a line of the focus colour. It comes first among the state rules only\n for the specificity law. It shares no property with them, so nothing overrides the mark. */\n.option:has(:focus-visible) {\n outline: var(--pm-focus-width) solid var(--pm-border-focus-solid);\n outline-offset: var(--pm-focus-offset);\n}\n\n/* Only the selection treatment's ghost wash. Border and elevation do not change. Hover on a\n *selected* card changes nothing, because there is nothing to preview. */\n.option:hover:not([data-state='checked'], [data-disabled]) {\n background: var(--pm-bg-subtle);\n}\n\n/* Label, description and icon colours do not change. The selection indicators (wash, border\n colour, glyph) are the whole change. */\n.option[data-state='checked'] {\n background: var(--pm-accent-subtle);\n border-color: var(--pm-accent-bg);\n}\n\n/* The conventions' disabled treatment. It comes after `checked`, so a checked and disabled card\n loses its accent colours while the glyph still shows the state. */\n.option[data-disabled] {\n cursor: not-allowed;\n background: var(--pm-bg-subtle);\n border-color: var(--pm-border-subtle);\n}\n\n.option[data-disabled] .icon,\n.option[data-disabled] .label,\n.option[data-disabled] .description,\n.option[data-disabled] .glyph {\n color: var(--pm-text-disabled);\n}\n\n/* Reduced motion (motion.md): spring-pop becomes a fade. */\n@media (prefers-reduced-motion: reduce) {\n @keyframes choice-card-pop {\n from {\n opacity: 0;\n }\n }\n}\n"],"mappings":""}
@@ -1 +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}}._root_129i1_12{gap:var(--pm-space-2);align-items:center;display:inline-flex}._swatch_129i1_21{inline-size:var(--pm-control-height-md);block-size:var(--pm-control-height-md);cursor:pointer;background:var(--pm-bg-surface);border:1px solid var(--pm-border-strong);border-radius:var(--pm-radius-control);padding:0;position:relative;overflow:hidden}._swatch_129i1_21:hover{border-color:var(--pm-accent-bg)}._root_129i1_12[data-alpha] ._swatch_129i1_21{background:repeating-conic-gradient(var(--pm-bg-subtle) 0% 25%, var(--pm-bg-surface) 0% 50%) 0 0 / var(--pm-space-4) var(--pm-space-4)}._root_129i1_12[data-size=sm] ._swatch_129i1_21{inline-size:var(--pm-control-height-sm);block-size:var(--pm-control-height-sm)}._root_129i1_12[data-size=lg] ._swatch_129i1_21{inline-size:var(--pm-control-height-lg);block-size:var(--pm-control-height-lg)}._swatchFill_129i1_55{--pm-color-input-swatch:transparent;background:var(--pm-color-input-swatch);position:absolute;inset:0}._root_129i1_12[data-invalid] ._swatch_129i1_21{border-color:var(--pm-danger-border)}._root_129i1_12[data-disabled] ._swatch_129i1_21{cursor:not-allowed;background:var(--pm-bg-subtle);border-color:var(--pm-border-subtle)}._root_129i1_12[data-disabled] ._swatchFill_129i1_55{background:0 0}._field_129i1_80{display:contents}._picker_129i1_86{gap:var(--pm-space-3);inline-size:calc(var(--pm-space-10) * 3);flex-direction:column;max-inline-size:100%;display:flex}._plane_129i1_96{aspect-ratio:1;border:1px solid var(--pm-border-subtle);border-radius:var(--pm-radius-control);forced-color-adjust:none;inline-size:100%}._rail_129i1_107{block-size:var(--pm-space-5);border:1px solid var(--pm-border-subtle);border-radius:var(--pm-radius-pill);forced-color-adjust:none;position:relative}._rail_129i1_107[data-checker]{background:repeating-conic-gradient(var(--pm-bg-subtle) 0% 25%, var(--pm-bg-surface) 0% 50%) 0 0 / var(--pm-space-4) var(--pm-space-4)}._railFill_129i1_120{border-radius:var(--pm-radius-pill);position:absolute;inset:0}._thumb_129i1_130{--pm-color-input-thumb:transparent;box-sizing:border-box;inline-size:var(--pm-space-5);block-size:var(--pm-space-5);background:var(--pm-color-input-thumb);border:2px solid var(--pm-bg-surface);border-radius:var(--pm-radius-pill);box-shadow:var(--pm-shadow-control);transition:box-shadow var(--pm-motion-duration-control) var(--pm-motion-easing-standard);display:block}._rail_129i1_107 ._thumb_129i1_130{inset-block-start:50%}._thumb_129i1_130[data-state=dragging]{box-shadow:var(--pm-glow-hover)}
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}}._root_19brz_12{gap:var(--pm-space-2);align-items:center;display:inline-flex}._swatch_19brz_21{inline-size:var(--pm-control-height-md);block-size:var(--pm-control-height-md);cursor:pointer;background:var(--pm-bg-surface);border:1px solid var(--pm-border-strong);border-radius:var(--pm-radius-control);padding:0;position:relative;overflow:hidden}._swatch_19brz_21:hover{border-color:var(--pm-accent-bg)}._root_19brz_12[data-alpha] ._swatch_19brz_21{background:repeating-conic-gradient(var(--pm-bg-subtle) 0% 25%, var(--pm-bg-surface) 0% 50%) 0 0 / var(--pm-space-4) var(--pm-space-4)}._root_19brz_12[data-size=sm] ._swatch_19brz_21{inline-size:var(--pm-control-height-sm);block-size:var(--pm-control-height-sm)}._root_19brz_12[data-size=lg] ._swatch_19brz_21{inline-size:var(--pm-control-height-lg);block-size:var(--pm-control-height-lg)}._swatchFill_19brz_55{--pm-color-input-swatch:transparent;background:var(--pm-color-input-swatch);position:absolute;inset:0}._root_19brz_12[data-invalid] ._swatch_19brz_21{border-color:var(--pm-danger-border)}._root_19brz_12[data-disabled] ._swatch_19brz_21{cursor:not-allowed;background:var(--pm-bg-subtle);border-color:var(--pm-border-subtle)}._root_19brz_12[data-disabled] ._swatchFill_19brz_55{background:0 0}._field_19brz_80{display:contents}._picker_19brz_86{gap:var(--pm-space-3);inline-size:calc(var(--pm-space-10) * 3);flex-direction:column;max-inline-size:100%;display:flex}._plane_19brz_96{aspect-ratio:1;border:1px solid var(--pm-border-subtle);border-radius:var(--pm-radius-control);forced-color-adjust:none;inline-size:100%}._rail_19brz_107{block-size:var(--pm-space-5);border:1px solid var(--pm-border-subtle);border-radius:var(--pm-radius-pill);forced-color-adjust:none;position:relative}._rail_19brz_107[data-checker]{background:repeating-conic-gradient(var(--pm-bg-subtle) 0% 25%, var(--pm-bg-surface) 0% 50%) 0 0 / var(--pm-space-4) var(--pm-space-4)}._railFill_19brz_120{border-radius:var(--pm-radius-pill);position:absolute;inset:0}._thumb_19brz_130{--pm-color-input-thumb:transparent;box-sizing:border-box;inline-size:var(--pm-space-5);block-size:var(--pm-space-5);background:var(--pm-color-input-thumb);border:2px solid var(--pm-bg-surface);border-radius:var(--pm-radius-pill);box-shadow:var(--pm-shadow-control);transition:box-shadow var(--pm-motion-duration-control) var(--pm-motion-easing-standard);display:block}._rail_19brz_107 ._thumb_19brz_130{inset-block-start:50%}._thumb_19brz_130[data-state=dragging]{box-shadow:var(--pm-glow-hover)}
@@ -1,6 +1,6 @@
1
1
  import './color-input.css';
2
2
  //#region ../recipes/src/controls/color-input.module.css
3
- var e = "_root_129i1_12", t = "_swatch_129i1_21 _focusRing_1lfnc_15 _stateFeedback_lkjqs_17", n = "_swatchFill_129i1_55", r = "_field_129i1_80", i = "_picker_129i1_86", a = "_plane_129i1_96", o = "_rail_129i1_107", s = "_railFill_129i1_120", c = "_thumb_129i1_130 _focusRing_1lfnc_15", l = {
3
+ var e = "_root_19brz_12", t = "_swatch_19brz_21 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17", n = "_swatchFill_19brz_55", r = "_field_19brz_80", i = "_picker_19brz_86", a = "_plane_19brz_96", o = "_rail_19brz_107", s = "_railFill_19brz_120", c = "_thumb_19brz_130 _focusAround_1hr3n_95", l = {
4
4
  root: e,
5
5
  swatch: t,
6
6
  swatchFill: n,