@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":"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,13 +1,13 @@
1
1
  //#region ../recipes/src/controls/calendar.module.css
2
- 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 = {
2
+ 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 = {
3
3
  root: e,
4
4
  header: t,
5
5
  title: n,
6
6
  grid: r,
7
7
  cell: i,
8
8
  day: a,
9
- "calendar-grid-next": "_calendar-grid-next_ndsza_1",
10
- "calendar-grid-previous": "_calendar-grid-previous_ndsza_1"
9
+ "calendar-grid-next": "_calendar-grid-next_ii2ih_1",
10
+ "calendar-grid-previous": "_calendar-grid-previous_ii2ih_1"
11
11
  };
12
12
  //#endregion
13
13
  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,5 +1,5 @@
1
1
  //#region ../recipes/src/controls/checkbox-group.module.css
2
- 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 = {
2
+ 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 = {
3
3
  group: e,
4
4
  item: t,
5
5
  row: n,
@@ -1,10 +1,10 @@
1
1
  //#region ../recipes/src/controls/checkbox.module.css
2
- 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 = {
2
+ 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 = {
3
3
  row: e,
4
4
  box: t,
5
5
  label: n,
6
6
  indicator: r,
7
- "checkbox-pop": "_checkbox-pop_1q29o_1"
7
+ "checkbox-pop": "_checkbox-pop_18y6a_1"
8
8
  };
9
9
  //#endregion
10
10
  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,5 +1,5 @@
1
1
  //#region ../recipes/src/controls/choice-card.module.css
2
- 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 = {
2
+ 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 = {
3
3
  grid: e,
4
4
  option: t,
5
5
  control: n,
@@ -7,7 +7,7 @@ var e = "_grid_18foc_16 _grid_ul633_295", t = "_option_18foc_24 _stateFeedback_l
7
7
  label: i,
8
8
  description: a,
9
9
  glyph: o,
10
- "choice-card-pop": "_choice-card-pop_18foc_1"
10
+ "choice-card-pop": "_choice-card-pop_1plol_1"
11
11
  };
12
12
  //#endregion
13
13
  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,5 +1,5 @@
1
1
  //#region ../recipes/src/controls/color-input.module.css
2
- 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 = {
2
+ var e = "_root_19brz_12", t = "_swatch_19brz_21 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17", n = "_swatchFill_19brz_55", r = "_field_19brz_80", i = "_picker_19brz_86", a = "_plane_19brz_96", o = "_rail_19brz_107", s = "_railFill_19brz_120", c = "_thumb_19brz_130 _focusAround_1hr3n_95", l = {
3
3
  root: e,
4
4
  swatch: t,
5
5
  swatchFill: n,
@@ -1 +1 @@
1
- {"version":3,"file":"color-input.module.js","names":[],"sources":["../../../../recipes/src/controls/color-input.module.css"],"sourcesContent":["/* ColorInput — `design/components/color-input.md`.\n *\n * The gradients come from the colour model, and none of them is in this file. React Aria writes\n * the plane, the hue spectrum and the alpha fade inline, and the component adds the current-colour\n * fills through `--pm-color-input-*` (the approach chart marks use for data colours). This file\n * owns what the theme owns: edges, radii, rings, the checker, and the feedback timing.\n *\n * Nothing that shows the value is transitioned. Thumb positions, the plane's hue, the swatch's\n * fill and the rails' fades all follow the pointer directly. This is Slider's no-lag law, applied\n * to three surfaces. */\n\n.root {\n display: inline-flex;\n gap: var(--pm-space-2);\n align-items: center;\n}\n\n/* The swatch shows the value, with Button's control geometry. The checker is on the button and the\n fill paints over it, so a translucent colour shows the checker through it and an opaque colour\n hides it entirely. */\n.swatch {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback from '../conventions/motion.module.css';\n position: relative;\n inline-size: var(--pm-control-height-md);\n block-size: var(--pm-control-height-md);\n padding: 0;\n overflow: hidden;\n cursor: pointer;\n background: var(--pm-bg-surface);\n border: 1px solid var(--pm-border-strong);\n border-radius: var(--pm-radius-control);\n}\n\n.swatch:hover {\n border-color: var(--pm-accent-bg);\n}\n\n/* The checker appears only with `alpha`, because only then can a translucent colour show it. */\n.root[data-alpha] .swatch {\n background: repeating-conic-gradient(var(--pm-bg-subtle) 0% 25%, var(--pm-bg-surface) 0% 50%) 0\n 0 / var(--pm-space-4) var(--pm-space-4);\n}\n\n.root[data-size='sm'] .swatch {\n inline-size: var(--pm-control-height-sm);\n block-size: var(--pm-control-height-sm);\n}\n\n.root[data-size='lg'] .swatch {\n inline-size: var(--pm-control-height-lg);\n block-size: var(--pm-control-height-lg);\n}\n\n.swatchFill {\n /* Declared here with a default and set by the component, as chart tips do. */\n --pm-color-input-swatch: transparent;\n\n position: absolute;\n inset: 0;\n background: var(--pm-color-input-swatch);\n}\n\n.root[data-invalid] .swatch {\n border-color: var(--pm-danger-border);\n}\n\n.root[data-disabled] .swatch {\n cursor: not-allowed;\n background: var(--pm-bg-subtle);\n border-color: var(--pm-border-subtle);\n}\n\n.root[data-disabled] .swatchFill {\n background: transparent;\n}\n\n/* The hex field wrapper exists for the Enter-commit listener. The Input inside draws itself. It\n takes the row's remaining width, so ColorInput in a FormField is as wide as any other field. */\n.field {\n display: contents;\n}\n\n/* The picker column. The width is the one size the popover does not set. A plane needs room to be\n usable, and `space-10 × 3` uses Popover's own max-width tokens to give a workable square. */\n.picker {\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-3);\n inline-size: calc(var(--pm-space-10) * 3);\n max-inline-size: 100%;\n}\n\n/* The saturation × brightness plane. React Aria's inline style sets the gradient and\n `position: relative`. This rule adds the theme's frame. */\n.plane {\n aspect-ratio: 1;\n inline-size: 100%;\n border: 1px solid var(--pm-border-subtle);\n border-radius: var(--pm-radius-control);\n forced-color-adjust: none;\n}\n\n/* A channel rail: the hue spectrum or the alpha fade. React Aria's gradient is moved onto the inner\n layer so the checker, which the theme owns, can sit beneath the fade, which the colour model\n owns. */\n.rail {\n position: relative;\n block-size: var(--pm-space-5);\n border: 1px solid var(--pm-border-subtle);\n border-radius: var(--pm-radius-pill);\n forced-color-adjust: none;\n}\n\n.rail[data-checker] {\n background: repeating-conic-gradient(var(--pm-bg-subtle) 0% 25%, var(--pm-bg-surface) 0% 50%) 0\n 0 / var(--pm-space-4) var(--pm-space-4);\n}\n\n.railFill {\n position: absolute;\n inset: 0;\n border-radius: var(--pm-radius-pill);\n}\n\n/* One thumb recipe for the plane and the rails: a ringed dot filled with the value at that point.\n React Aria positions it, setting left/top and the centring transform inline, including for RTL.\n The focusable element is the hidden channel input inside, so the ring appears through the\n composite-field selector. */\n.thumb {\n /* Declared here with a default and set by the component, as chart tips do. */\n --pm-color-input-thumb: transparent;\n\n composes: focusRing from '../conventions/focus.module.css';\n box-sizing: border-box;\n display: block;\n inline-size: var(--pm-space-5);\n block-size: var(--pm-space-5);\n background: var(--pm-color-input-thumb);\n border: 2px solid var(--pm-bg-surface);\n border-radius: var(--pm-radius-pill);\n box-shadow: var(--pm-shadow-control);\n transition: box-shadow var(--pm-motion-duration-control) var(--pm-motion-easing-standard);\n}\n\n/* React Aria positions a rail thumb on the main axis only (`left` plus the centring transform).\n The recipe sets the cross axis. Half of `100%`, combined with the same transform, centres the\n thumb exactly. */\n.rail .thumb {\n inset-block-start: calc(100% / 2);\n}\n\n.thumb[data-state='dragging'] {\n box-shadow: var(--pm-glow-hover);\n}\n"],"mappings":""}
1
+ {"version":3,"file":"color-input.module.js","names":[],"sources":["../../../../recipes/src/controls/color-input.module.css"],"sourcesContent":["/* ColorInput — `design/components/color-input.md`.\n *\n * The gradients come from the colour model, and none of them is in this file. React Aria writes\n * the plane, the hue spectrum and the alpha fade inline, and the component adds the current-colour\n * fills through `--pm-color-input-*` (the approach chart marks use for data colours). This file\n * owns what the theme owns: edges, radii, rings, the checker, and the feedback timing.\n *\n * Nothing that shows the value is transitioned. Thumb positions, the plane's hue, the swatch's\n * fill and the rails' fades all follow the pointer directly. This is Slider's no-lag law, applied\n * to three surfaces. */\n\n.root {\n display: inline-flex;\n gap: var(--pm-space-2);\n align-items: center;\n}\n\n/* The swatch shows the value, with Button's control geometry. The checker is on the button and the\n fill paints over it, so a translucent colour shows the checker through it and an opaque colour\n hides it entirely. */\n.swatch {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback from '../conventions/motion.module.css';\n position: relative;\n inline-size: var(--pm-control-height-md);\n block-size: var(--pm-control-height-md);\n padding: 0;\n overflow: hidden;\n cursor: pointer;\n background: var(--pm-bg-surface);\n border: 1px solid var(--pm-border-strong);\n border-radius: var(--pm-radius-control);\n}\n\n.swatch:hover {\n border-color: var(--pm-accent-bg);\n}\n\n/* The checker appears only with `alpha`, because only then can a translucent colour show it. */\n.root[data-alpha] .swatch {\n background: repeating-conic-gradient(var(--pm-bg-subtle) 0% 25%, var(--pm-bg-surface) 0% 50%) 0\n 0 / var(--pm-space-4) var(--pm-space-4);\n}\n\n.root[data-size='sm'] .swatch {\n inline-size: var(--pm-control-height-sm);\n block-size: var(--pm-control-height-sm);\n}\n\n.root[data-size='lg'] .swatch {\n inline-size: var(--pm-control-height-lg);\n block-size: var(--pm-control-height-lg);\n}\n\n.swatchFill {\n /* Declared here with a default and set by the component, as chart tips do. */\n --pm-color-input-swatch: transparent;\n\n position: absolute;\n inset: 0;\n background: var(--pm-color-input-swatch);\n}\n\n.root[data-invalid] .swatch {\n border-color: var(--pm-danger-border);\n}\n\n.root[data-disabled] .swatch {\n cursor: not-allowed;\n background: var(--pm-bg-subtle);\n border-color: var(--pm-border-subtle);\n}\n\n.root[data-disabled] .swatchFill {\n background: transparent;\n}\n\n/* The hex field wrapper exists for the Enter-commit listener. The Input inside draws itself. It\n takes the row's remaining width, so ColorInput in a FormField is as wide as any other field. */\n.field {\n display: contents;\n}\n\n/* The picker column. The width is the one size the popover does not set. A plane needs room to be\n usable, and `space-10 × 3` uses Popover's own max-width tokens to give a workable square. */\n.picker {\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-3);\n inline-size: calc(var(--pm-space-10) * 3);\n max-inline-size: 100%;\n}\n\n/* The saturation × brightness plane. React Aria's inline style sets the gradient and\n `position: relative`. This rule adds the theme's frame. */\n.plane {\n aspect-ratio: 1;\n inline-size: 100%;\n border: 1px solid var(--pm-border-subtle);\n border-radius: var(--pm-radius-control);\n forced-color-adjust: none;\n}\n\n/* A channel rail: the hue spectrum or the alpha fade. React Aria's gradient is moved onto the inner\n layer so the checker, which the theme owns, can sit beneath the fade, which the colour model\n owns. */\n.rail {\n position: relative;\n block-size: var(--pm-space-5);\n border: 1px solid var(--pm-border-subtle);\n border-radius: var(--pm-radius-pill);\n forced-color-adjust: none;\n}\n\n.rail[data-checker] {\n background: repeating-conic-gradient(var(--pm-bg-subtle) 0% 25%, var(--pm-bg-surface) 0% 50%) 0\n 0 / var(--pm-space-4) var(--pm-space-4);\n}\n\n.railFill {\n position: absolute;\n inset: 0;\n border-radius: var(--pm-radius-pill);\n}\n\n/* One thumb recipe for the plane and the rails: a ringed dot filled with the value at that point.\n React Aria positions it, setting left/top and the centring transform inline, including for RTL.\n The focusable element is the hidden channel input inside, so the ring appears through the\n composite-field selector. */\n.thumb {\n /* Declared here with a default and set by the component, as chart tips do. */\n --pm-color-input-thumb: transparent;\n\n composes: focusAround from '../conventions/focus.module.css';\n box-sizing: border-box;\n display: block;\n inline-size: var(--pm-space-5);\n block-size: var(--pm-space-5);\n background: var(--pm-color-input-thumb);\n border: 2px solid var(--pm-bg-surface);\n border-radius: var(--pm-radius-pill);\n box-shadow: var(--pm-shadow-control);\n transition: box-shadow var(--pm-motion-duration-control) var(--pm-motion-easing-standard);\n}\n\n/* React Aria positions a rail thumb on the main axis only (`left` plus the centring transform).\n The recipe sets the cross axis. Half of `100%`, combined with the same transform, centres the\n thumb exactly. */\n.rail .thumb {\n inset-block-start: calc(100% / 2);\n}\n\n.thumb[data-state='dragging'] {\n box-shadow: var(--pm-glow-hover);\n}\n"],"mappings":""}
@@ -1,16 +1,16 @@
1
1
  //#region ../recipes/src/controls/combobox.module.css
2
- var e = "_field_17qsd_12 _focusRing_1lfnc_15 _stateFeedback_lkjqs_17", t = "_input_17qsd_37", n = "_status_17qsd_57", r = "_clear_17qsd_70 _focusRing_1lfnc_15 _stateFeedback_lkjqs_17 _pressable_lkjqs_38", i = "_chevron_17qsd_100 _focusRing_1lfnc_15", a = "_spinner_17qsd_136 _spin_lkjqs_83", o = "_content_17qsd_208", s = "_listbox_17qsd_252", c = "_sheetBody_17qsd_272", l = "_option_17qsd_282 _stateFeedback_lkjqs_17", u = "_check_17qsd_303 _stateFeedback_lkjqs_17", d = "_text_17qsd_312", f = "_label_17qsd_319", p = "_description_17qsd_326 _stateFeedback_lkjqs_17", m = "_rows_17qsd_386", h = "_row_17qsd_386", g = "_empty_17qsd_401", _ = {
2
+ var e = "_field_191x7_12 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17", t = "_input_191x7_37", n = "_status_191x7_57", r = "_clear_191x7_70 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17 _pressable_lkjqs_38", i = "_chevron_191x7_100 _focusRing_1hr3n_49", a = "_spinner_191x7_136 _spin_lkjqs_83", o = "_content_191x7_208", s = "_listbox_191x7_252", c = "_sheetBody_191x7_272", l = "_option_191x7_282 _stateFeedback_lkjqs_17", u = "_check_191x7_303 _stateFeedback_lkjqs_17", d = "_text_191x7_312", f = "_label_191x7_319", p = "_description_191x7_326 _stateFeedback_lkjqs_17", m = "_rows_191x7_391", h = "_row_191x7_391", g = "_empty_191x7_406", _ = {
3
3
  field: e,
4
4
  input: t,
5
5
  status: n,
6
6
  clear: r,
7
- "combobox-clear-enter": "_combobox-clear-enter_17qsd_1",
7
+ "combobox-clear-enter": "_combobox-clear-enter_191x7_1",
8
8
  chevron: i,
9
- "combobox-glyph-enter": "_combobox-glyph-enter_17qsd_1",
9
+ "combobox-glyph-enter": "_combobox-glyph-enter_191x7_1",
10
10
  spinner: a,
11
11
  content: o,
12
- "combobox-content-enter": "_combobox-content-enter_17qsd_1",
13
- "combobox-content-exit": "_combobox-content-exit_17qsd_1",
12
+ "combobox-content-enter": "_combobox-content-enter_191x7_1",
13
+ "combobox-content-exit": "_combobox-content-exit_191x7_1",
14
14
  listbox: s,
15
15
  sheetBody: c,
16
16
  option: l,
@@ -1 +1 @@
1
- {"version":3,"file":"combobox.module.js","names":[],"sources":["../../../../recipes/src/controls/combobox.module.css"],"sourcesContent":["/* Combobox — `design/components/combobox.md`.\n *\n * Two recipes, both restated rather than shared: the field is Input's and the panel is Select's.\n * The completeness law checks a component's *own* stylesheet source, and that check is only\n * meaningful with one stylesheet per component. So a test prevents drift instead:\n * `combobox.test.tsx` compares the two controls' resolved values, which is a stronger guarantee.\n *\n * `var(--radix-popover-*)` are measurements the positioning engine takes at runtime: the anchor's\n * width, the space left below it, and the origin the panel grows from. No one authors them, so the\n * token law allows the namespace (packages/rules/src/stylelint/values.js). */\n\n.field {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback from '../conventions/motion.module.css';\n position: relative;\n display: inline-flex;\n gap: var(--pm-space-3);\n align-items: center;\n max-inline-size: 100%;\n block-size: var(--pm-control-height-md);\n padding-inline: var(--pm-space-5);\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-primary);\n cursor: text;\n background: var(--pm-bg-surface);\n border: 1px solid var(--pm-border-field);\n border-radius: var(--pm-radius-control);\n\n /* The control seat shadow, from Input's recipe, used by every field in the family. */\n box-shadow: var(--pm-shadow-seat);\n}\n\n.input {\n flex: 1;\n min-inline-size: 0;\n padding: 0;\n font: inherit;\n color: inherit;\n background: transparent;\n border: 0;\n outline: none;\n}\n\n/* Firefox dims placeholders by default. The muted role already makes them lighter, so they must\n not be dimmed twice. */\n.input::placeholder {\n color: var(--pm-text-muted);\n opacity: 1;\n}\n\n/* The one live region (see Combobox.tsx). It is hidden by clipping rather than `display: none`,\n which would remove it and its announcements from the accessibility tree. */\n.status {\n position: absolute;\n inline-size: 1px;\n block-size: 1px;\n padding: 0;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n}\n\n/* Input's embedded-adornment convention, unchanged: muted at rest to match the field's other\n glyphs, primary on a `bg-subtle` wash on hover, its own `radius-sm` inside the field's `md`, and\n the focus ring on the inner target. */\n.clear {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback pressable from '../conventions/motion.module.css';\n display: inline-flex;\n flex: none;\n align-self: stretch;\n align-items: center;\n justify-content: center;\n aspect-ratio: 1;\n padding: 0;\n color: var(--pm-text-muted);\n cursor: pointer;\n background: transparent;\n border: 0;\n border-radius: var(--pm-radius-sm);\n animation: combobox-clear-enter var(--pm-motion-duration-control) var(--pm-motion-easing-enter);\n}\n\n@keyframes combobox-clear-enter {\n from {\n opacity: 0;\n }\n}\n\n.clear:hover {\n color: var(--pm-text-primary);\n background: var(--pm-bg-subtle);\n}\n\n/* Select's chevron: muted, and rotated while the panel is open. */\n.chevron {\n composes: focusRing from '../conventions/focus.module.css';\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n padding: 0;\n color: var(--pm-text-muted);\n cursor: pointer;\n background: transparent;\n border: 0;\n border-radius: var(--pm-radius-sm);\n\n /* The `select.chevron` binding: transform, control class, `standard` easing, because the state\n change is symmetric with no direction of travel. */\n transition: transform var(--pm-motion-duration-control) var(--pm-motion-easing-standard);\n}\n\n/* The `combobox.glyph` binding: `fade`, control class. The glyph element is replaced when loading\n starts and ends, so only the entrance animates. No old node is left to fade out. `fade` is\n unchanged under reduced motion and resolves to 0s at temperament `none`, so it needs no\n reduced-motion rule of its own. The selector is a descendant, not a child, because the loading\n glyph sits inside its spinner wrapper. */\n.chevron svg {\n animation: combobox-glyph-enter var(--pm-motion-duration-control) var(--pm-motion-easing-enter);\n}\n\n@keyframes combobox-glyph-enter {\n from {\n opacity: 0;\n }\n}\n\n/* The loading glyph spins with the ambient pattern, as Button's spinner does. The motion module\n owns its period, inverse temperament scaling and three switch-offs. This restates MultiSelect's\n tested implementation. */\n.spinner {\n composes: spin from '../conventions/motion.module.css';\n display: inline-flex;\n}\n\n/* sizes — the conventions' size system -------------------------------------- */\n\n.field[data-size='sm'] {\n gap: var(--pm-space-2);\n block-size: var(--pm-control-height-sm);\n padding-inline: var(--pm-space-4);\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n line-height: var(--pm-text-xs-line-height);\n letter-spacing: var(--pm-text-xs-tracking);\n}\n\n.field[data-size='lg'] {\n block-size: var(--pm-control-height-lg);\n padding-inline: var(--pm-space-6);\n font-family: var(--pm-text-md-family);\n font-size: var(--pm-text-md-size);\n font-weight: var(--pm-text-md-weight);\n line-height: var(--pm-text-md-line-height);\n letter-spacing: var(--pm-text-md-tracking);\n}\n\n/* field states -------------------------------------------------------------- */\n\n.field[data-invalid] {\n border-color: var(--pm-danger-border);\n}\n\n.field[data-disabled] {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n background: var(--pm-bg-subtle);\n border-color: var(--pm-border-subtle);\n\n /* The seat shadow signals \"ready\", so disabled removes it (as in Input). */\n box-shadow: none;\n}\n\n/* Open keeps the hover border, so the field does not flicker back to rest while its panel is\n shown. Invalid is excluded from both rules rather than overridden, because an error border must\n stay visible under the pointer and while the panel is open. */\n.field[data-state='open']:not([data-invalid]) {\n border-color: var(--pm-border-strong);\n}\n\n.field:hover:not([data-disabled], [data-invalid]) {\n border-color: var(--pm-border-strong);\n}\n\n.field[data-state='open'] .chevron {\n transform: rotate(180deg);\n}\n\n.field[data-disabled] .chevron {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n}\n\n/* While the query is in progress the glyph is a spinner, and it does not rotate with the panel.\n Rotating *and* spinning would signal two different things about one control. */\n.field[data-loading] .chevron {\n transform: none;\n}\n\n/* panel --------------------------------------------------------------------- */\n\n.content {\n display: flex;\n flex-direction: column;\n\n /* `overlay` from the stacking scale. The popper moves it onto its wrapper (menu.module.css\n explains how). */\n z-index: var(--pm-z-overlay);\n min-inline-size: var(--radix-popover-trigger-width);\n max-block-size: var(--radix-popover-content-available-height);\n padding: var(--pm-space-2);\n overflow: hidden;\n background: var(--pm-bg-overlay);\n border: 1px solid var(--pm-border-subtle);\n border-radius: var(--pm-radius-surface);\n box-shadow: var(--pm-shadow-transient);\n transform-origin: var(--radix-popover-content-transform-origin);\n}\n\n/* The `combobox.popup` binding: `scale-fade`, surface class, anchored origin. It is Select's\n binding unchanged, because both are dropdowns of options, however the rows were produced. Radix\n keeps the node mounted for the closed animation, so the exit animates instead of cutting. */\n.content[data-state='open'] {\n animation: combobox-content-enter var(--pm-motion-duration-surface) var(--pm-motion-easing-enter);\n}\n\n.content[data-state='closed'] {\n animation: combobox-content-exit var(--pm-motion-duration-surface-exit)\n var(--pm-motion-easing-exit);\n}\n\n@keyframes combobox-content-enter {\n from {\n opacity: 0;\n transform: scale(0.94);\n }\n}\n\n@keyframes combobox-content-exit {\n to {\n opacity: 0;\n transform: scale(0.94);\n }\n}\n\n.listbox {\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-1);\n min-block-size: 0;\n padding: 0;\n margin: 0;\n overflow-y: auto;\n list-style: none;\n outline: none;\n}\n\n/* The sheet, below 30rem (the conventions' sheet presentation) ---------------\n *\n * The panel box is the shared anatomy (`sheet.module.css`). This member owns the popup's container\n * inside it: the same `--pm-space-2` inset as the popover panel, with the listbox scrolling within\n * the sheet's maximum height. The popover rules (trigger min-width, available height,\n * `sideOffset`, the anchored origin) no longer apply, because a sheet has no anchor. The safe-area\n * padding follows the sheet: it adds to this member's own edge padding and is zero without a\n * notch. */\n.sheetBody {\n display: flex;\n flex-direction: column;\n min-block-size: 0;\n padding: var(--pm-space-2);\n padding-block-end: calc(var(--pm-space-2) + env(safe-area-inset-bottom, 0px));\n}\n\n/* options ------------------------------------------------------------------- */\n\n.option {\n composes: stateFeedback from '../conventions/motion.module.css';\n display: flex;\n gap: var(--pm-space-2);\n align-items: center;\n min-block-size: var(--pm-control-height-sm);\n padding-inline: var(--pm-space-3);\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-primary);\n cursor: pointer;\n user-select: none;\n border-radius: var(--pm-radius-sm);\n outline: none;\n}\n\n/* Reserved whether or not this row is selected, so the label column does not shift when the\n selection changes. */\n.check {\n composes: stateFeedback from '../conventions/motion.module.css';\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n inline-size: var(--pm-icon-size-sm);\n}\n\n.text {\n display: flex;\n flex-direction: column;\n min-inline-size: 0;\n justify-content: center;\n}\n\n.label {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n/* A two-line option grows to fit. The check column is unchanged. */\n.description {\n composes: stateFeedback from '../conventions/motion.module.css';\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n line-height: var(--pm-text-xs-line-height);\n letter-spacing: var(--pm-text-xs-tracking);\n color: var(--pm-text-muted);\n}\n\n/* The keyboard highlight and pointer hover share one attribute. It is the temporary wash, not the\n selection (Menu's law). */\n.option[data-highlighted] {\n color: var(--pm-accent-text);\n background: var(--pm-accent-subtle);\n}\n\n.option[data-highlighted] .description {\n color: inherit;\n}\n\n.option[data-disabled] {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n background: transparent;\n}\n\n.option[data-disabled] .description {\n color: var(--pm-text-disabled);\n}\n\n/* The label stays primary when selected. The check is the selection signal, and a recoloured label\n would look like a second, competing signal (Select's law). */\n.option[data-state='checked'] .check {\n color: var(--pm-accent-text);\n}\n\n/* Both containers, because the sheet's rows are the same rows with the same size steps. */\n.content[data-size='sm'] .option,\n.sheetBody[data-size='sm'] .option {\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n line-height: var(--pm-text-xs-line-height);\n letter-spacing: var(--pm-text-xs-tracking);\n}\n\n.content[data-size='lg'] .option,\n.sheetBody[data-size='lg'] .option {\n font-family: var(--pm-text-md-family);\n font-size: var(--pm-text-md-size);\n font-weight: var(--pm-text-md-weight);\n line-height: var(--pm-text-md-line-height);\n letter-spacing: var(--pm-text-md-tracking);\n}\n\n/* async rows ---------------------------------------------------------------- */\n\n/* Three rows at option height, never a spinner in empty space. The panel must keep its size, or\n the layout jumps when the results arrive. */\n.rows {\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-1);\n}\n\n.row {\n display: flex;\n align-items: center;\n block-size: var(--pm-control-height-sm);\n padding-inline: var(--pm-space-3);\n}\n\n/* An empty dropdown shows one line of text, not an illustration, so `EmptyState` is deliberately\n not used here. */\n.empty {\n display: flex;\n align-items: center;\n justify-content: center;\n block-size: var(--pm-control-height-sm);\n padding-inline: var(--pm-space-3);\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-muted);\n}\n\n/* The phone minimum (the conventions' focus-zoom floor). Below `30rem` the one real `<input>` uses\n the text-entry floor's size and line height, so iOS does not zoom the page on focus. Only those metrics change.\n Colour, weight and tracking stay the same, and the container and its chevron do not move. */\n@media (width < 30rem) {\n .input {\n font-size: var(--pm-text-entry-size);\n line-height: var(--pm-text-entry-line-height);\n }\n}\n\n/* Reduced motion (motion.md). The rotation stays, because it signals open or closed, and removing\n it would remove state information rather than motion. Only the movement is removed: the chevron\n turns without a transition, and `scale-fade` becomes a plain fade. */\n@media (prefers-reduced-motion: reduce) {\n .chevron {\n transition: none;\n }\n\n @keyframes combobox-content-enter {\n from {\n opacity: 0;\n }\n }\n\n @keyframes combobox-content-exit {\n to {\n opacity: 0;\n }\n }\n}\n\n/* The field above its own sheet's scrim ------------------------------------\n *\n * While the popup is a sheet, the portalled scrim covers the whole page, including this field,\n * which the user is still typing into. A surface and its field form one composite, so the field\n * is raised one intra-member step above the overlay layer. The stacking scale defines that step\n * for this case. A tap on the field moves the caret, and the scrim receives every other tap. An\n * equal z-index would lose, because the portal is later in tree order and ties go to the later\n * element (verified in all three engines). */\n.field[data-sheeting] {\n z-index: calc(var(--pm-z-overlay) + var(--pm-z-raise));\n}\n\n/* Glass (`depth: glass`): the pane uses the surface role at the engine's mix\n (`--pm-material-surface`). The material provides the separation that the overlay elevation\n steps provide elsewhere. The backdrop shows through the pane as a blurred, saturated wash, so the\n surface stands apart by its material rather than by a lighter step. The mix is a contrast\n decision that the glass law measures over worst-case backdrops. A recipe only applies it. */\n@container style(--pm-axis-depth: glass) {\n .content {\n background: var(--pm-material-surface);\n backdrop-filter: blur(var(--pm-material-blur)) saturate(var(--pm-material-saturate));\n }\n}\n"],"mappings":""}
1
+ {"version":3,"file":"combobox.module.js","names":[],"sources":["../../../../recipes/src/controls/combobox.module.css"],"sourcesContent":["/* Combobox — `design/components/combobox.md`.\n *\n * Two recipes, both restated rather than shared: the field is Input's and the panel is Select's.\n * The completeness law checks a component's *own* stylesheet source, and that check is only\n * meaningful with one stylesheet per component. So a test prevents drift instead:\n * `combobox.test.tsx` compares the two controls' resolved values, which is a stronger guarantee.\n *\n * `var(--radix-popover-*)` are measurements the positioning engine takes at runtime: the anchor's\n * width, the space left below it, and the origin the panel grows from. No one authors them, so the\n * token law allows the namespace (packages/rules/src/stylelint/values.js). */\n\n.field {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback from '../conventions/motion.module.css';\n position: relative;\n display: inline-flex;\n gap: var(--pm-space-3);\n align-items: center;\n max-inline-size: 100%;\n block-size: var(--pm-control-height-md);\n padding-inline: var(--pm-space-5);\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-primary);\n cursor: text;\n background: var(--pm-bg-surface);\n border: 1px solid var(--pm-border-field);\n border-radius: var(--pm-radius-control);\n\n /* The control seat shadow, from Input's recipe, used by every field in the family. */\n box-shadow: var(--pm-shadow-seat);\n}\n\n.input {\n flex: 1;\n min-inline-size: 0;\n padding: 0;\n font: inherit;\n color: inherit;\n background: transparent;\n border: 0;\n outline: none;\n}\n\n/* Firefox dims placeholders by default. The muted role already makes them lighter, so they must\n not be dimmed twice. */\n.input::placeholder {\n color: var(--pm-text-muted);\n opacity: 1;\n}\n\n/* The one live region (see Combobox.tsx). It is hidden by clipping rather than `display: none`,\n which would remove it and its announcements from the accessibility tree. */\n.status {\n position: absolute;\n inline-size: 1px;\n block-size: 1px;\n padding: 0;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n}\n\n/* Input's embedded-adornment convention, unchanged: muted at rest to match the field's other\n glyphs, primary on a `bg-subtle` wash on hover, its own `radius-sm` inside the field's `md`, and\n the focus ring on the inner target. */\n.clear {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback pressable from '../conventions/motion.module.css';\n display: inline-flex;\n flex: none;\n align-self: stretch;\n align-items: center;\n justify-content: center;\n aspect-ratio: 1;\n padding: 0;\n color: var(--pm-text-muted);\n cursor: pointer;\n background: transparent;\n border: 0;\n border-radius: var(--pm-radius-sm);\n animation: combobox-clear-enter var(--pm-motion-duration-control) var(--pm-motion-easing-enter);\n}\n\n@keyframes combobox-clear-enter {\n from {\n opacity: 0;\n }\n}\n\n.clear:hover {\n color: var(--pm-text-primary);\n background: var(--pm-bg-subtle);\n}\n\n/* Select's chevron: muted, and rotated while the panel is open. */\n.chevron {\n composes: focusRing from '../conventions/focus.module.css';\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n padding: 0;\n color: var(--pm-text-muted);\n cursor: pointer;\n background: transparent;\n border: 0;\n border-radius: var(--pm-radius-sm);\n\n /* The `select.chevron` binding: transform, control class, `standard` easing, because the state\n change is symmetric with no direction of travel. */\n transition: transform var(--pm-motion-duration-control) var(--pm-motion-easing-standard);\n}\n\n/* The `combobox.glyph` binding: `fade`, control class. The glyph element is replaced when loading\n starts and ends, so only the entrance animates. No old node is left to fade out. `fade` is\n unchanged under reduced motion and resolves to 0s at temperament `none`, so it needs no\n reduced-motion rule of its own. The selector is a descendant, not a child, because the loading\n glyph sits inside its spinner wrapper. */\n.chevron svg {\n animation: combobox-glyph-enter var(--pm-motion-duration-control) var(--pm-motion-easing-enter);\n}\n\n@keyframes combobox-glyph-enter {\n from {\n opacity: 0;\n }\n}\n\n/* The loading glyph spins with the ambient pattern, as Button's spinner does. The motion module\n owns its period, inverse temperament scaling and three switch-offs. This restates MultiSelect's\n tested implementation. */\n.spinner {\n composes: spin from '../conventions/motion.module.css';\n display: inline-flex;\n}\n\n/* sizes — the conventions' size system -------------------------------------- */\n\n.field[data-size='sm'] {\n gap: var(--pm-space-2);\n block-size: var(--pm-control-height-sm);\n padding-inline: var(--pm-space-4);\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n line-height: var(--pm-text-xs-line-height);\n letter-spacing: var(--pm-text-xs-tracking);\n}\n\n.field[data-size='lg'] {\n block-size: var(--pm-control-height-lg);\n padding-inline: var(--pm-space-6);\n font-family: var(--pm-text-md-family);\n font-size: var(--pm-text-md-size);\n font-weight: var(--pm-text-md-weight);\n line-height: var(--pm-text-md-line-height);\n letter-spacing: var(--pm-text-md-tracking);\n}\n\n/* field states -------------------------------------------------------------- */\n\n.field[data-invalid] {\n border-color: var(--pm-danger-border);\n}\n\n.field[data-disabled] {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n background: var(--pm-bg-subtle);\n border-color: var(--pm-border-subtle);\n\n /* The seat shadow signals \"ready\", so disabled removes it (as in Input). */\n box-shadow: none;\n}\n\n/* Open keeps the hover border, so the field does not flicker back to rest while its panel is\n shown. Invalid is excluded from both rules rather than overridden, because an error border must\n stay visible under the pointer and while the panel is open. */\n.field[data-state='open']:not([data-invalid]) {\n border-color: var(--pm-border-strong);\n}\n\n.field:hover:not([data-disabled], [data-invalid]) {\n border-color: var(--pm-border-strong);\n}\n\n.field[data-state='open'] .chevron {\n transform: rotate(180deg);\n}\n\n.field[data-disabled] .chevron {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n}\n\n/* While the query is in progress the glyph is a spinner, and it does not rotate with the panel.\n Rotating *and* spinning would signal two different things about one control. */\n.field[data-loading] .chevron {\n transform: none;\n}\n\n/* panel --------------------------------------------------------------------- */\n\n.content {\n display: flex;\n flex-direction: column;\n\n /* `overlay` from the stacking scale. The popper moves it onto its wrapper (menu.module.css\n explains how). */\n z-index: var(--pm-z-overlay);\n min-inline-size: var(--radix-popover-trigger-width);\n max-block-size: var(--radix-popover-content-available-height);\n padding: var(--pm-space-2);\n overflow: hidden;\n background: var(--pm-bg-overlay);\n border: 1px solid var(--pm-border-subtle);\n border-radius: var(--pm-radius-surface);\n box-shadow: var(--pm-shadow-transient);\n transform-origin: var(--radix-popover-content-transform-origin);\n}\n\n/* The `combobox.popup` binding: `scale-fade`, surface class, anchored origin. It is Select's\n binding unchanged, because both are dropdowns of options, however the rows were produced. Radix\n keeps the node mounted for the closed animation, so the exit animates instead of cutting. */\n.content[data-state='open'] {\n animation: combobox-content-enter var(--pm-motion-duration-surface) var(--pm-motion-easing-enter);\n}\n\n.content[data-state='closed'] {\n animation: combobox-content-exit var(--pm-motion-duration-surface-exit)\n var(--pm-motion-easing-exit);\n}\n\n@keyframes combobox-content-enter {\n from {\n opacity: 0;\n transform: scale(0.94);\n }\n}\n\n@keyframes combobox-content-exit {\n to {\n opacity: 0;\n transform: scale(0.94);\n }\n}\n\n.listbox {\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-1);\n min-block-size: 0;\n padding: 0;\n margin: 0;\n overflow-y: auto;\n list-style: none;\n outline: none;\n}\n\n/* The sheet, below 30rem (the conventions' sheet presentation) ---------------\n *\n * The panel box is the shared anatomy (`sheet.module.css`). This member owns the popup's container\n * inside it: the same `--pm-space-2` inset as the popover panel, with the listbox scrolling within\n * the sheet's maximum height. The popover rules (trigger min-width, available height,\n * `sideOffset`, the anchored origin) no longer apply, because a sheet has no anchor. The safe-area\n * padding follows the sheet: it adds to this member's own edge padding and is zero without a\n * notch. */\n.sheetBody {\n display: flex;\n flex-direction: column;\n min-block-size: 0;\n padding: var(--pm-space-2);\n padding-block-end: calc(var(--pm-space-2) + env(safe-area-inset-bottom, 0px));\n}\n\n/* options ------------------------------------------------------------------- */\n\n.option {\n composes: stateFeedback from '../conventions/motion.module.css';\n display: flex;\n gap: var(--pm-space-2);\n align-items: center;\n min-block-size: var(--pm-control-height-sm);\n padding-inline: var(--pm-space-3);\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-primary);\n cursor: pointer;\n user-select: none;\n border-radius: var(--pm-radius-sm);\n outline: none;\n}\n\n/* Reserved whether or not this row is selected, so the label column does not shift when the\n selection changes. */\n.check {\n composes: stateFeedback from '../conventions/motion.module.css';\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n inline-size: var(--pm-icon-size-sm);\n}\n\n.text {\n display: flex;\n flex-direction: column;\n min-inline-size: 0;\n justify-content: center;\n}\n\n.label {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n/* A two-line option grows to fit. The check column is unchanged. */\n.description {\n composes: stateFeedback from '../conventions/motion.module.css';\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n line-height: var(--pm-text-xs-line-height);\n letter-spacing: var(--pm-text-xs-tracking);\n color: var(--pm-text-muted);\n}\n\n/* The keyboard highlight and pointer hover share one attribute. It is the temporary wash, not the\n selection (Menu's law). */\n.option[data-highlighted] {\n color: var(--pm-accent-text);\n background: var(--pm-accent-subtle);\n}\n\n.option[data-highlighted] .description {\n color: inherit;\n}\n\n.option[data-disabled] {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n background: transparent;\n}\n\n.option[data-disabled] .description {\n color: var(--pm-text-disabled);\n}\n\n/* The label stays primary when selected. The check is the selection signal, and a recoloured label\n would look like a second, competing signal (Select's law). */\n.option[data-state='checked'] .check {\n color: var(--pm-accent-text);\n}\n\n/* A chosen option that is disabled fades its check with its label. */\n.option[data-disabled] .check {\n color: var(--pm-text-disabled);\n}\n\n/* Both containers, because the sheet's rows are the same rows with the same size steps. */\n.content[data-size='sm'] .option,\n.sheetBody[data-size='sm'] .option {\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n line-height: var(--pm-text-xs-line-height);\n letter-spacing: var(--pm-text-xs-tracking);\n}\n\n.content[data-size='lg'] .option,\n.sheetBody[data-size='lg'] .option {\n font-family: var(--pm-text-md-family);\n font-size: var(--pm-text-md-size);\n font-weight: var(--pm-text-md-weight);\n line-height: var(--pm-text-md-line-height);\n letter-spacing: var(--pm-text-md-tracking);\n}\n\n/* async rows ---------------------------------------------------------------- */\n\n/* Three rows at option height, never a spinner in empty space. The panel must keep its size, or\n the layout jumps when the results arrive. */\n.rows {\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-1);\n}\n\n.row {\n display: flex;\n align-items: center;\n block-size: var(--pm-control-height-sm);\n padding-inline: var(--pm-space-3);\n}\n\n/* An empty dropdown shows one line of text, not an illustration, so `EmptyState` is deliberately\n not used here. */\n.empty {\n display: flex;\n align-items: center;\n justify-content: center;\n block-size: var(--pm-control-height-sm);\n padding-inline: var(--pm-space-3);\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-muted);\n}\n\n/* The phone minimum (the conventions' focus-zoom floor). Below `30rem` the one real `<input>` uses\n the text-entry floor's size and line height, so iOS does not zoom the page on focus. Only those metrics change.\n Colour, weight and tracking stay the same, and the container and its chevron do not move. */\n@media (width < 30rem) {\n .input {\n font-size: var(--pm-text-entry-size);\n line-height: var(--pm-text-entry-line-height);\n }\n}\n\n/* Reduced motion (motion.md). The rotation stays, because it signals open or closed, and removing\n it would remove state information rather than motion. Only the movement is removed: the chevron\n turns without a transition, and `scale-fade` becomes a plain fade. */\n@media (prefers-reduced-motion: reduce) {\n .chevron {\n transition: none;\n }\n\n @keyframes combobox-content-enter {\n from {\n opacity: 0;\n }\n }\n\n @keyframes combobox-content-exit {\n to {\n opacity: 0;\n }\n }\n}\n\n/* The field above its own sheet's scrim ------------------------------------\n *\n * While the popup is a sheet, the portalled scrim covers the whole page, including this field,\n * which the user is still typing into. A surface and its field form one composite, so the field\n * is raised one intra-member step above the overlay layer. The stacking scale defines that step\n * for this case. A tap on the field moves the caret, and the scrim receives every other tap. An\n * equal z-index would lose, because the portal is later in tree order and ties go to the later\n * element (verified in all three engines). */\n.field[data-sheeting] {\n z-index: calc(var(--pm-z-overlay) + var(--pm-z-raise));\n}\n\n/* Glass (`depth: glass`): the pane uses the surface role at the engine's mix\n (`--pm-material-surface`). The material provides the separation that the overlay elevation\n steps provide elsewhere. The backdrop shows through the pane as a blurred, saturated wash, so the\n surface stands apart by its material rather than by a lighter step. The mix is a contrast\n decision that the glass law measures over worst-case backdrops. A recipe only applies it. */\n@container style(--pm-axis-depth: glass) {\n .content {\n background: var(--pm-material-surface);\n backdrop-filter: blur(var(--pm-material-blur)) saturate(var(--pm-material-saturate));\n }\n}\n"],"mappings":""}
@@ -1,13 +1,14 @@
1
1
  //#region ../recipes/src/controls/copy-button.module.css
2
- var e = "_button_1nwki_9 _button_17o12_17 _focusRing_1lfnc_15 _stateFeedback_lkjqs_17 _pressable_lkjqs_38", t = "_glyphs_1nwki_17", n = "_copyGlyph_1nwki_21", r = "_confirmGlyph_1nwki_32", i = "_status_1nwki_75 _visuallyHidden_qxi8b_14", a = {
2
+ var e = "_button_daa4k_9 _button_cxa90_17 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17 _pressable_lkjqs_38", t = "_tip_daa4k_15 _tip_cxa90_80 _bubble_11q5z_14 _fadeIn_lkjqs_92", n = "_glyphs_daa4k_23", r = "_copyGlyph_daa4k_27", i = "_confirmGlyph_daa4k_38", a = "_status_daa4k_81 _visuallyHidden_qxi8b_14", o = {
3
3
  button: e,
4
- glyphs: t,
5
- copyGlyph: n,
6
- confirmGlyph: r,
7
- "copy-button-pop": "_copy-button-pop_1nwki_1",
8
- status: i
4
+ tip: t,
5
+ glyphs: n,
6
+ copyGlyph: r,
7
+ confirmGlyph: i,
8
+ "copy-button-pop": "_copy-button-pop_daa4k_1",
9
+ status: a
9
10
  };
10
11
  //#endregion
11
- export { e as button, r as confirmGlyph, n as copyGlyph, a as default, t as glyphs, i as status };
12
+ export { e as button, i as confirmGlyph, r as copyGlyph, o as default, n as glyphs, a as status, t as tip };
12
13
 
13
14
  //# sourceMappingURL=copy-button.module.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"copy-button.module.js","names":[],"sources":["../../../../recipes/src/controls/copy-button.module.css"],"sourcesContent":["/* CopyButton — `design/components/copy-button.md`.\n *\n * Button `ghost`/`neutral` by reference, never re-derived. `composes` brings the base, the\n * conventions' sizing, the icon-only square, the ghost/neutral rest, hover, press and disabled\n * cells, the press feedback and the focus ring. This follows Link's precedent, because this\n * element must also carry `data-state=\"copied\"`, a state Button's own API has no reason to offer.\n * This file adds only the confirmation. */\n\n.button {\n composes: button from './button.module.css';\n}\n\n/* Both glyphs share one grid cell so the confirmation can fade out. An unmounting node cannot\n animate its exit (the `input.clear` binding's reasoning), so neither glyph unmounts and the\n state chooses which one shows. The stack is `aria-hidden`, because it adds no meaning beyond the\n label. */\n.glyphs {\n display: inline-grid;\n}\n\n.copyGlyph {\n display: inline-flex;\n grid-area: 1 / 1;\n align-items: center;\n justify-content: center;\n}\n\n/* The confirmation: `confirm` in success text, which the pairing checks allow on every `bg.*`\n surface. At rest it has opacity 0 with the exit transition set, so when `copied` reverts the\n glyph fades out at `control-exit`. This is the exit half of `checkbox.indicator`'s binding,\n where a pop has no reverse. */\n.confirmGlyph {\n display: inline-flex;\n grid-area: 1 / 1;\n align-items: center;\n justify-content: center;\n color: var(--pm-success-text);\n opacity: 0;\n transition: opacity var(--pm-motion-duration-control-exit) var(--pm-motion-easing-exit);\n}\n\n/* The copy glyph hides instantly as the confirmation pops in, and returns the same way. Only the\n confirmation animates. */\n.button[data-state='copied'] .copyGlyph {\n opacity: 0;\n}\n\n/* The same entrance as `checkbox.indicator`: `spring-pop` run as the 0.5 scale on the enter curve,\n as in Checkbox's CSS. The transition is turned off while the state holds, so only the pop\n animates the entrance. */\n.button[data-state='copied'] .confirmGlyph {\n opacity: 1;\n transition: none;\n animation: copy-button-pop var(--pm-motion-duration-control) var(--pm-motion-easing-enter);\n}\n\n@keyframes copy-button-pop {\n from {\n opacity: 0;\n transform: scale(0.5);\n }\n}\n\n/* Reduced motion (motion.md): spring-pop becomes a fade. The 2000ms hold is a timer, not a motion,\n and does not scale with temperament. */\n@media (prefers-reduced-motion: reduce) {\n @keyframes copy-button-pop {\n from {\n opacity: 0;\n }\n }\n}\n\n/* The status region: content for assistive technology, outside the layout. */\n.status {\n composes: visuallyHidden from '../conventions/a11y.module.css';\n}\n"],"mappings":""}
1
+ {"version":3,"file":"copy-button.module.js","names":[],"sources":["../../../../recipes/src/controls/copy-button.module.css"],"sourcesContent":["/* CopyButton — `design/components/copy-button.md`.\n *\n * Button `ghost`/`neutral` by reference, never re-derived. `composes` brings the base, the\n * conventions' sizing, the icon-only square, the ghost/neutral rest, hover, press and disabled\n * cells, the press feedback and the focus ring. This follows Link's precedent, because this\n * element must also carry `data-state=\"copied\"`, a state Button's own API has no reason to offer.\n * This file adds only the confirmation. */\n\n.button {\n composes: button from './button.module.css';\n}\n\n/* The name tip (`nameTip` in `@polymorph/engine`): the label shown on hover and keyboard focus,\n because the control draws none. It is Button's tip, composed. */\n.tip {\n composes: tip from './button.module.css';\n}\n\n/* Both glyphs share one grid cell so the confirmation can fade out. An unmounting node cannot\n animate its exit (the `input.clear` binding's reasoning), so neither glyph unmounts and the\n state chooses which one shows. The stack is `aria-hidden`, because it adds no meaning beyond the\n label. */\n.glyphs {\n display: inline-grid;\n}\n\n.copyGlyph {\n display: inline-flex;\n grid-area: 1 / 1;\n align-items: center;\n justify-content: center;\n}\n\n/* The confirmation: `confirm` in success text, which the pairing checks allow on every `bg.*`\n surface. At rest it has opacity 0 with the exit transition set, so when `copied` reverts the\n glyph fades out at `control-exit`. This is the exit half of `checkbox.indicator`'s binding,\n where a pop has no reverse. */\n.confirmGlyph {\n display: inline-flex;\n grid-area: 1 / 1;\n align-items: center;\n justify-content: center;\n color: var(--pm-success-text);\n opacity: 0;\n transition: opacity var(--pm-motion-duration-control-exit) var(--pm-motion-easing-exit);\n}\n\n/* The copy glyph hides instantly as the confirmation pops in, and returns the same way. Only the\n confirmation animates. */\n.button[data-state='copied'] .copyGlyph {\n opacity: 0;\n}\n\n/* The same entrance as `checkbox.indicator`: `spring-pop` run as the 0.5 scale on the enter curve,\n as in Checkbox's CSS. The transition is turned off while the state holds, so only the pop\n animates the entrance. */\n.button[data-state='copied'] .confirmGlyph {\n opacity: 1;\n transition: none;\n animation: copy-button-pop var(--pm-motion-duration-control) var(--pm-motion-easing-enter);\n}\n\n@keyframes copy-button-pop {\n from {\n opacity: 0;\n transform: scale(0.5);\n }\n}\n\n/* Reduced motion (motion.md): spring-pop becomes a fade. The 2000ms hold is a timer, not a motion,\n and does not scale with temperament. */\n@media (prefers-reduced-motion: reduce) {\n @keyframes copy-button-pop {\n from {\n opacity: 0;\n }\n }\n}\n\n/* The status region: content for assistive technology, outside the layout. */\n.status {\n composes: visuallyHidden from '../conventions/a11y.module.css';\n}\n"],"mappings":""}
@@ -1,5 +1,5 @@
1
1
  //#region ../recipes/src/controls/date-picker.module.css
2
- var e = "_field_18z9c_10 _focusRing_1lfnc_15 _stateFeedback_lkjqs_17", t = "_segments_18z9c_36", n = "_segment_18z9c_36", r = "_separator_18z9c_70", i = "_clear_18z9c_75 _focusRing_1lfnc_15 _stateFeedback_lkjqs_17 _pressable_lkjqs_38", a = "_content_18z9c_161", o = "_sheetBody_18z9c_207", s = {
2
+ var e = "_field_18z9c_10 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17", t = "_segments_18z9c_36", n = "_segment_18z9c_36", r = "_separator_18z9c_70", i = "_clear_18z9c_75 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17 _pressable_lkjqs_38", a = "_content_18z9c_161", o = "_sheetBody_18z9c_207", s = {
3
3
  field: e,
4
4
  segments: t,
5
5
  segment: n,
@@ -1,5 +1,5 @@
1
1
  //#region ../recipes/src/controls/date-range-picker.module.css
2
- var e = "_field_1b5x6_14 _focusRing_1lfnc_15 _stateFeedback_lkjqs_17", t = "_segments_1b5x6_40", n = "_spacer_1b5x6_49", r = "_segment_1b5x6_40", i = "_separator_1b5x6_76", a = "_dash_1b5x6_82", o = "_clear_1b5x6_87 _focusRing_1lfnc_15 _stateFeedback_lkjqs_17 _pressable_lkjqs_38", s = "_content_1b5x6_175", c = "_sheetBody_1b5x6_216", l = "_root_1b5x6_227", u = "_header_1b5x6_235", d = "_title_1b5x6_243", f = "_grid_1b5x6_255", p = "_cell_1b5x6_270", m = "_day_1b5x6_274 _focusRing_1lfnc_15 _stateFeedback_lkjqs_17 _pressable_lkjqs_38", h = {
2
+ var e = "_field_4jdbk_14 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17", t = "_segments_4jdbk_40", n = "_spacer_4jdbk_49", r = "_segment_4jdbk_40", i = "_separator_4jdbk_76", a = "_dash_4jdbk_82", o = "_clear_4jdbk_87 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17 _pressable_lkjqs_38", s = "_content_4jdbk_175", c = "_sheetBody_4jdbk_216", l = "_root_4jdbk_227", u = "_header_4jdbk_235", d = "_title_4jdbk_243", f = "_grid_4jdbk_255", p = "_cell_4jdbk_270", m = "_day_4jdbk_274 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17 _pressable_lkjqs_38", h = {
3
3
  field: e,
4
4
  segments: t,
5
5
  spacer: n,
@@ -7,10 +7,10 @@ var e = "_field_1b5x6_14 _focusRing_1lfnc_15 _stateFeedback_lkjqs_17", t = "_seg
7
7
  separator: i,
8
8
  dash: a,
9
9
  clear: o,
10
- "date-range-picker-clear-enter": "_date-range-picker-clear-enter_1b5x6_1",
10
+ "date-range-picker-clear-enter": "_date-range-picker-clear-enter_4jdbk_1",
11
11
  content: s,
12
- "date-range-picker-content-enter": "_date-range-picker-content-enter_1b5x6_1",
13
- "date-range-picker-content-exit": "_date-range-picker-content-exit_1b5x6_1",
12
+ "date-range-picker-content-enter": "_date-range-picker-content-enter_4jdbk_1",
13
+ "date-range-picker-content-exit": "_date-range-picker-content-exit_4jdbk_1",
14
14
  sheetBody: c,
15
15
  root: l,
16
16
  header: u,
@@ -18,8 +18,8 @@ var e = "_field_1b5x6_14 _focusRing_1lfnc_15 _stateFeedback_lkjqs_17", t = "_seg
18
18
  grid: f,
19
19
  cell: p,
20
20
  day: m,
21
- "date-range-picker-grid-next": "_date-range-picker-grid-next_1b5x6_1",
22
- "date-range-picker-grid-previous": "_date-range-picker-grid-previous_1b5x6_1"
21
+ "date-range-picker-grid-next": "_date-range-picker-grid-next_4jdbk_1",
22
+ "date-range-picker-grid-previous": "_date-range-picker-grid-previous_4jdbk_1"
23
23
  };
24
24
  //#endregion
25
25
  export { p as cell, o as clear, s as content, a as dash, m as day, h as default, e as field, f as grid, u as header, l as root, r as segment, t as segments, i as separator, c as sheetBody, n as spacer, d as title };
@@ -1 +1 @@
1
- {"version":3,"file":"date-range-picker.module.js","names":[],"sources":["../../../../recipes/src/controls/date-range-picker.module.css"],"sourcesContent":["/* DateRangePicker — `design/components/date-range-picker.md`.\n *\n * Three recipes are combined here, each restated rather than shared, because the completeness law\n * checks a component's own stylesheet source. The field and popup are `date-picker.md`'s rows\n * unchanged, and the grid is `calendar.md`'s. The range cells are this member's own and apply the\n * conventions' selection treatment.\n *\n * The selection mapping: **in-range uses the accent wash, and endpoints use the full selection\n * treatment**. Endpoints use `calendar.md`'s day-selected recipe unchanged, so the ends of a range\n * look exactly like the chosen day in DatePicker's popup. Because the accent wash marks the range,\n * hover inside this member uses the ghost wash (`--pm-bg-subtle`) instead. `--pm-accent-subtle`\n * then always means *in the range*, never hover. */\n\n.field {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback from '../conventions/motion.module.css';\n display: inline-flex;\n gap: var(--pm-space-3);\n align-items: center;\n max-inline-size: 100%;\n block-size: var(--pm-control-height-md);\n padding-inline: var(--pm-space-5);\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-primary);\n cursor: text;\n background: var(--pm-bg-surface);\n border: 1px solid var(--pm-border-field);\n border-radius: var(--pm-radius-control);\n\n /* The control seat shadow, from Input's recipe, used by every field in the family. */\n box-shadow: var(--pm-shadow-seat);\n}\n\n/* Two rows share one line, so neither stretches. The spacer below takes the remaining space and\n keeps the halves close to the dash. The `2px` gap around separators matches DatePicker. */\n.segments {\n display: flex;\n flex: none;\n gap: 2px;\n align-items: center;\n min-inline-size: 0;\n outline: none;\n}\n\n.spacer {\n flex: 1;\n}\n\n.segment {\n padding-inline: 2px;\n color: var(--pm-text-primary);\n border-radius: var(--pm-radius-sm);\n outline: none;\n font-variant-numeric: var(--pm-font-numeric);\n\n /* A segment is editable text so a phone shows its keyboard, and every change is the field's\n own, so no caret is drawn in it. */\n caret-color: transparent;\n}\n\n/* The unfilled placeholder, such as `dd`, `mm`, `yyyy`, localized, on both halves. */\n.segment[data-placeholder] {\n color: var(--pm-text-muted);\n}\n\n/* Marks the current position, not a selection, with the temporary wash family. */\n.segment:focus {\n color: var(--pm-accent-text);\n background: var(--pm-accent-subtle);\n}\n\n.separator {\n color: var(--pm-text-muted);\n}\n\n/* The en-dash between the halves: muted and `aria-hidden`, because React Aria names the halves for\n screen readers, not the punctuation. */\n.dash {\n color: var(--pm-text-muted);\n}\n\n/* Input's embedded-adornment convention, unchanged. */\n.clear {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback pressable from '../conventions/motion.module.css';\n display: inline-flex;\n flex: none;\n align-self: stretch;\n align-items: center;\n justify-content: center;\n aspect-ratio: 1;\n padding: 0;\n color: var(--pm-text-muted);\n cursor: pointer;\n background: transparent;\n border: 0;\n border-radius: var(--pm-radius-sm);\n animation: date-range-picker-clear-enter var(--pm-motion-duration-control)\n var(--pm-motion-easing-enter);\n}\n\n@keyframes date-range-picker-clear-enter {\n from {\n opacity: 0;\n }\n}\n\n.clear:hover {\n color: var(--pm-text-primary);\n background: var(--pm-bg-subtle);\n}\n\n/* sizes — the conventions' size system -------------------------------------- */\n\n.field[data-size='sm'] {\n gap: var(--pm-space-2);\n block-size: var(--pm-control-height-sm);\n padding-inline: var(--pm-space-4);\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n line-height: var(--pm-text-xs-line-height);\n letter-spacing: var(--pm-text-xs-tracking);\n}\n\n.field[data-size='lg'] {\n block-size: var(--pm-control-height-lg);\n padding-inline: var(--pm-space-6);\n font-family: var(--pm-text-md-family);\n font-size: var(--pm-text-md-size);\n font-weight: var(--pm-text-md-weight);\n line-height: var(--pm-text-md-line-height);\n letter-spacing: var(--pm-text-md-tracking);\n}\n\n/* field states -------------------------------------------------------------- */\n\n.field[data-invalid] {\n border-color: var(--pm-danger-border);\n}\n\n.field[data-disabled] {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n background: var(--pm-bg-subtle);\n border-color: var(--pm-border-subtle);\n\n /* The seat shadow signals \"ready\", so disabled removes it (as in Input). */\n box-shadow: none;\n}\n\n.field[data-disabled] .segment,\n.field[data-disabled] .separator,\n.field[data-disabled] .dash {\n color: var(--pm-text-disabled);\n}\n\n/* Open keeps the hover border, and the invalid border stays in both states. */\n.field[data-state='open']:not([data-invalid]) {\n border-color: var(--pm-border-strong);\n}\n\n.field:hover:not([data-disabled], [data-invalid]) {\n border-color: var(--pm-border-strong);\n}\n\n/* popup --------------------------------------------------------------------- */\n\n/* Select's panel surface with no padding of its own, because the grid has its own `--pm-space-3`\n (as in DatePicker). */\n.content {\n /* `overlay` from the stacking scale. The popper moves it onto its wrapper (menu.module.css\n explains how). */\n z-index: var(--pm-z-overlay);\n padding: 0;\n overflow: hidden;\n background: var(--pm-bg-overlay);\n border: 1px solid var(--pm-border-subtle);\n border-radius: var(--pm-radius-surface);\n box-shadow: var(--pm-shadow-transient);\n transform-origin: var(--radix-popover-content-transform-origin);\n}\n\n.content[data-state='open'] {\n animation: date-range-picker-content-enter var(--pm-motion-duration-surface)\n var(--pm-motion-easing-enter);\n}\n\n.content[data-state='closed'] {\n animation: date-range-picker-content-exit var(--pm-motion-duration-surface-exit)\n var(--pm-motion-easing-exit);\n}\n\n@keyframes date-range-picker-content-enter {\n from {\n opacity: 0;\n transform: scale(0.94);\n }\n}\n\n@keyframes date-range-picker-content-exit {\n to {\n opacity: 0;\n transform: scale(0.94);\n }\n}\n\n/* The sheet, below 30rem (the conventions' sheet presentation). This is DatePicker's sheet\n container unchanged: zero inset (the grid has its own `--pm-space-3`), centred in the full-width\n sheet, and scrolling within the sheet's maximum height. The sheet's safe-area padding adds to\n this member's own (zero) edge padding. The popover alignment rules no longer apply. */\n.sheetBody {\n display: flex;\n flex-direction: column;\n align-items: center;\n min-block-size: 0;\n padding-block-end: env(safe-area-inset-bottom, 0);\n overflow-y: auto;\n}\n\n/* grid — `calendar.md` unchanged -------------------------------------------- */\n\n.root {\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-2);\n inline-size: fit-content;\n padding: var(--pm-space-3);\n}\n\n.header {\n display: flex;\n gap: var(--pm-space-2);\n align-items: center;\n justify-content: space-between;\n block-size: var(--pm-control-height-sm);\n}\n\n.title {\n flex: 1;\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-primary);\n text-align: center;\n font-variant-numeric: var(--pm-font-numeric);\n}\n\n.grid {\n border-collapse: collapse;\n}\n\n.grid th {\n padding: 0;\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n line-height: var(--pm-text-xs-line-height);\n letter-spacing: var(--pm-text-xs-tracking);\n color: var(--pm-text-muted);\n text-align: center;\n}\n\n.cell {\n padding: 0;\n}\n\n.day {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback pressable from '../conventions/motion.module.css';\n display: flex;\n align-items: center;\n justify-content: center;\n inline-size: var(--pm-control-height-sm);\n block-size: var(--pm-control-height-sm);\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-primary);\n cursor: pointer;\n user-select: none;\n border: 1px solid transparent;\n border-radius: var(--pm-radius-sm);\n outline: none;\n font-variant-numeric: var(--pm-font-numeric);\n}\n\n/* day states — ascending, so the range wins over hover ----------------------- */\n\n/* Today is not a selection. It gets a border and a colour, never a fill. Inside the range wash the\n border stays. At an endpoint, the selection styling below wins and `aria-current` still marks\n today. */\n.day[data-today] {\n color: var(--pm-accent-text);\n border-color: var(--pm-accent-bg);\n}\n\n/* This deliberately replaces `calendar.md`'s accent-wash hover *inside this member* with the ghost\n wash, so the accent wash only ever means in the range. Hover on an in-range middle day changes\n nothing, because it is already in the range. */\n.day:hover:not(\n [data-range-start],\n [data-range-middle],\n [data-range-end],\n [data-unavailable],\n [data-disabled]\n ) {\n color: var(--pm-text-primary);\n background: var(--pm-bg-subtle);\n}\n\n/* Button's ghost/neutral press cell. The accent steps were dropped along with the accent hover.\n The press transform comes from `pressable`, composed above. */\n.day:active:not(\n [data-range-start],\n [data-range-middle],\n [data-range-end],\n [data-unavailable],\n [data-disabled]\n ) {\n color: var(--pm-text-primary);\n background: var(--pm-bg-subtle);\n}\n\n/* Struck through and muted, but still focusable. An unavailable day has a reason, and a screen\n reader user must be able to reach the day to hear it. */\n.day[data-unavailable] {\n color: var(--pm-text-disabled);\n text-decoration: line-through;\n cursor: not-allowed;\n}\n\n.day[data-disabled] {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n}\n\n/* In-range: only the selection treatment's wash. Text stays primary, because the wash is the whole\n change. The radius is 0 between neighbours, so the range reads as one band rather than separate\n chips, and the grid's collapsed cells keep it contiguous. The anchored preview uses this same\n cell, because the preview *is* the range being made. */\n.day[data-range-middle] {\n background: var(--pm-accent-subtle);\n border-radius: 0;\n}\n\n/* Endpoints: `calendar.md`'s day-selected recipe unchanged. This is the full selection treatment,\n so the ends of a range look exactly like the chosen day in DatePicker's popup. A one-day range\n has both attributes on one cell. */\n.day[data-range-start],\n.day[data-range-end] {\n color: var(--pm-selection-text);\n background: var(--pm-selection-bg);\n border-color: var(--pm-selection-border);\n border-radius: var(--pm-radius-sm);\n}\n\n/* Selection has its own hover step (Table's law, as in `calendar.md`). */\n.day[data-range-start]:hover,\n.day[data-range-end]:hover {\n background: var(--pm-selection-bg-hover);\n}\n\n/* month change — `calendar.md` unchanged ------------------------------------- */\n\n.grid[data-travel='next'] {\n animation: date-range-picker-grid-next var(--pm-motion-duration-surface)\n var(--pm-motion-easing-enter);\n}\n\n.grid[data-travel='previous'] {\n animation: date-range-picker-grid-previous var(--pm-motion-duration-surface)\n var(--pm-motion-easing-enter);\n}\n\n@keyframes date-range-picker-grid-next {\n from {\n opacity: 0;\n transform: translateX(var(--pm-space-2));\n }\n}\n\n@keyframes date-range-picker-grid-previous {\n from {\n opacity: 0;\n transform: translateX(calc(var(--pm-space-2) * -1));\n }\n}\n\n/* RTL mirrors navigation, the chevrons and the band's direction. The attributes still describe\n time order (`data-range-start` is the earlier date), so only the drawing flips. */\n[dir='rtl'] .grid[data-travel='next'] {\n animation-name: date-range-picker-grid-previous;\n}\n\n[dir='rtl'] .grid[data-travel='previous'] {\n animation-name: date-range-picker-grid-next;\n}\n\n[dir='rtl'] .header svg {\n transform: scaleX(-1);\n}\n\n/* Reduced motion (motion.md): `scale-fade` and `slide-fade` reduce to the fade they build on, and\n keep their durations. */\n@media (prefers-reduced-motion: reduce) {\n @keyframes date-range-picker-content-enter {\n from {\n opacity: 0;\n }\n }\n\n @keyframes date-range-picker-content-exit {\n to {\n opacity: 0;\n }\n }\n\n @keyframes date-range-picker-grid-next {\n from {\n opacity: 0;\n }\n }\n\n @keyframes date-range-picker-grid-previous {\n from {\n opacity: 0;\n }\n }\n}\n\n/* Glass (`depth: glass`): the pane uses the surface role at the engine's mix\n (`--pm-material-surface`). The material provides the separation that the overlay elevation\n steps provide elsewhere. The backdrop shows through the pane as a blurred, saturated wash, so the\n surface stands apart by its material rather than by a lighter step. The mix is a contrast\n decision that the glass law measures over worst-case backdrops. A recipe only applies it. */\n@container style(--pm-axis-depth: glass) {\n .content {\n background: var(--pm-material-surface);\n backdrop-filter: blur(var(--pm-material-blur)) saturate(var(--pm-material-saturate));\n }\n}\n"],"mappings":""}
1
+ {"version":3,"file":"date-range-picker.module.js","names":[],"sources":["../../../../recipes/src/controls/date-range-picker.module.css"],"sourcesContent":["/* DateRangePicker — `design/components/date-range-picker.md`.\n *\n * Three recipes are combined here, each restated rather than shared, because the completeness law\n * checks a component's own stylesheet source. The field and popup are `date-picker.md`'s rows\n * unchanged, and the grid is `calendar.md`'s. The range cells are this member's own and apply the\n * conventions' selection treatment.\n *\n * The selection mapping: **in-range uses the accent wash, and endpoints use the full selection\n * treatment**. Endpoints use `calendar.md`'s day-selected recipe unchanged, so the ends of a range\n * look exactly like the chosen day in DatePicker's popup. Because the accent wash marks the range,\n * hover inside this member uses the ghost wash (`--pm-bg-subtle`) instead. `--pm-accent-subtle`\n * then always means *in the range*, never hover. */\n\n.field {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback from '../conventions/motion.module.css';\n display: inline-flex;\n gap: var(--pm-space-3);\n align-items: center;\n max-inline-size: 100%;\n block-size: var(--pm-control-height-md);\n padding-inline: var(--pm-space-5);\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-primary);\n cursor: text;\n background: var(--pm-bg-surface);\n border: 1px solid var(--pm-border-field);\n border-radius: var(--pm-radius-control);\n\n /* The control seat shadow, from Input's recipe, used by every field in the family. */\n box-shadow: var(--pm-shadow-seat);\n}\n\n/* Two rows share one line, so neither stretches. The spacer below takes the remaining space and\n keeps the halves close to the dash. The `2px` gap around separators matches DatePicker. */\n.segments {\n display: flex;\n flex: none;\n gap: 2px;\n align-items: center;\n min-inline-size: 0;\n outline: none;\n}\n\n.spacer {\n flex: 1;\n}\n\n.segment {\n padding-inline: 2px;\n color: var(--pm-text-primary);\n border-radius: var(--pm-radius-sm);\n outline: none;\n font-variant-numeric: var(--pm-font-numeric);\n\n /* A segment is editable text so a phone shows its keyboard, and every change is the field's\n own, so no caret is drawn in it. */\n caret-color: transparent;\n}\n\n/* The unfilled placeholder, such as `dd`, `mm`, `yyyy`, localized, on both halves. */\n.segment[data-placeholder] {\n color: var(--pm-text-muted);\n}\n\n/* Marks the current position, not a selection, with the temporary wash family. */\n.segment:focus {\n color: var(--pm-accent-text);\n background: var(--pm-accent-subtle);\n}\n\n.separator {\n color: var(--pm-text-muted);\n}\n\n/* The en-dash between the halves: muted and `aria-hidden`, because React Aria names the halves for\n screen readers, not the punctuation. */\n.dash {\n color: var(--pm-text-muted);\n}\n\n/* Input's embedded-adornment convention, unchanged. */\n.clear {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback pressable from '../conventions/motion.module.css';\n display: inline-flex;\n flex: none;\n align-self: stretch;\n align-items: center;\n justify-content: center;\n aspect-ratio: 1;\n padding: 0;\n color: var(--pm-text-muted);\n cursor: pointer;\n background: transparent;\n border: 0;\n border-radius: var(--pm-radius-sm);\n animation: date-range-picker-clear-enter var(--pm-motion-duration-control)\n var(--pm-motion-easing-enter);\n}\n\n@keyframes date-range-picker-clear-enter {\n from {\n opacity: 0;\n }\n}\n\n.clear:hover {\n color: var(--pm-text-primary);\n background: var(--pm-bg-subtle);\n}\n\n/* sizes — the conventions' size system -------------------------------------- */\n\n.field[data-size='sm'] {\n gap: var(--pm-space-2);\n block-size: var(--pm-control-height-sm);\n padding-inline: var(--pm-space-4);\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n line-height: var(--pm-text-xs-line-height);\n letter-spacing: var(--pm-text-xs-tracking);\n}\n\n.field[data-size='lg'] {\n block-size: var(--pm-control-height-lg);\n padding-inline: var(--pm-space-6);\n font-family: var(--pm-text-md-family);\n font-size: var(--pm-text-md-size);\n font-weight: var(--pm-text-md-weight);\n line-height: var(--pm-text-md-line-height);\n letter-spacing: var(--pm-text-md-tracking);\n}\n\n/* field states -------------------------------------------------------------- */\n\n.field[data-invalid] {\n border-color: var(--pm-danger-border);\n}\n\n.field[data-disabled] {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n background: var(--pm-bg-subtle);\n border-color: var(--pm-border-subtle);\n\n /* The seat shadow signals \"ready\", so disabled removes it (as in Input). */\n box-shadow: none;\n}\n\n.field[data-disabled] .segment,\n.field[data-disabled] .separator,\n.field[data-disabled] .dash {\n color: var(--pm-text-disabled);\n}\n\n/* Open keeps the hover border, and the invalid border stays in both states. */\n.field[data-state='open']:not([data-invalid]) {\n border-color: var(--pm-border-strong);\n}\n\n.field:hover:not([data-disabled], [data-invalid]) {\n border-color: var(--pm-border-strong);\n}\n\n/* popup --------------------------------------------------------------------- */\n\n/* Select's panel surface with no padding of its own, because the grid has its own `--pm-space-3`\n (as in DatePicker). */\n.content {\n /* `overlay` from the stacking scale. The popper moves it onto its wrapper (menu.module.css\n explains how). */\n z-index: var(--pm-z-overlay);\n padding: 0;\n overflow: hidden;\n background: var(--pm-bg-overlay);\n border: 1px solid var(--pm-border-subtle);\n border-radius: var(--pm-radius-surface);\n box-shadow: var(--pm-shadow-transient);\n transform-origin: var(--radix-popover-content-transform-origin);\n}\n\n.content[data-state='open'] {\n animation: date-range-picker-content-enter var(--pm-motion-duration-surface)\n var(--pm-motion-easing-enter);\n}\n\n.content[data-state='closed'] {\n animation: date-range-picker-content-exit var(--pm-motion-duration-surface-exit)\n var(--pm-motion-easing-exit);\n}\n\n@keyframes date-range-picker-content-enter {\n from {\n opacity: 0;\n transform: scale(0.94);\n }\n}\n\n@keyframes date-range-picker-content-exit {\n to {\n opacity: 0;\n transform: scale(0.94);\n }\n}\n\n/* The sheet, below 30rem (the conventions' sheet presentation). This is DatePicker's sheet\n container unchanged: zero inset (the grid has its own `--pm-space-3`), centred in the full-width\n sheet, and scrolling within the sheet's maximum height. The sheet's safe-area padding adds to\n this member's own (zero) edge padding. The popover alignment rules no longer apply. */\n.sheetBody {\n display: flex;\n flex-direction: column;\n align-items: center;\n min-block-size: 0;\n padding-block-end: env(safe-area-inset-bottom, 0);\n overflow-y: auto;\n}\n\n/* grid — `calendar.md` unchanged -------------------------------------------- */\n\n.root {\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-2);\n inline-size: fit-content;\n padding: var(--pm-space-3);\n}\n\n.header {\n display: flex;\n gap: var(--pm-space-2);\n align-items: center;\n justify-content: space-between;\n block-size: var(--pm-control-height-sm);\n}\n\n.title {\n flex: 1;\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-primary);\n text-align: center;\n font-variant-numeric: var(--pm-font-numeric);\n}\n\n.grid {\n border-collapse: collapse;\n}\n\n.grid th {\n padding: 0;\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n line-height: var(--pm-text-xs-line-height);\n letter-spacing: var(--pm-text-xs-tracking);\n color: var(--pm-text-muted);\n text-align: center;\n}\n\n.cell {\n padding: 0;\n}\n\n.day {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback pressable from '../conventions/motion.module.css';\n display: flex;\n align-items: center;\n justify-content: center;\n inline-size: var(--pm-control-height-sm);\n block-size: var(--pm-control-height-sm);\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-primary);\n cursor: pointer;\n user-select: none;\n border: 1px solid transparent;\n border-radius: var(--pm-radius-sm);\n outline: none;\n font-variant-numeric: var(--pm-font-numeric);\n}\n\n/* day states — ascending, so the range wins over hover ----------------------- */\n\n/* Today is not a selection. It gets a border and a colour, never a fill. Inside the range wash the\n border stays. At an endpoint, the selection styling below wins and `aria-current` still marks\n today. */\n.day[data-today] {\n color: var(--pm-accent-text);\n border-color: var(--pm-accent-bg);\n}\n\n/* This deliberately replaces `calendar.md`'s accent-wash hover *inside this member* with the ghost\n wash, so the accent wash only ever means in the range. Hover on an in-range middle day changes\n nothing, because it is already in the range. */\n.day:hover:not(\n [data-range-start],\n [data-range-middle],\n [data-range-end],\n [data-unavailable],\n [data-disabled]\n ) {\n color: var(--pm-text-primary);\n background: var(--pm-bg-subtle);\n}\n\n/* Button's ghost/neutral press cell. The accent steps were dropped along with the accent hover.\n The press transform comes from `pressable`, composed above. */\n.day:active:not(\n [data-range-start],\n [data-range-middle],\n [data-range-end],\n [data-unavailable],\n [data-disabled]\n ) {\n color: var(--pm-text-primary);\n background: var(--pm-bg-subtle);\n}\n\n/* Struck through and muted, but still focusable. An unavailable day has a reason, and a screen\n reader user must be able to reach the day to hear it. */\n.day[data-unavailable] {\n color: var(--pm-text-disabled);\n text-decoration: line-through;\n cursor: not-allowed;\n}\n\n.day[data-disabled] {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n}\n\n/* In-range: only the selection treatment's wash. Text stays primary, because the wash is the whole\n change. The radius is 0 between neighbours, so the range reads as one band rather than separate\n chips, and the grid's collapsed cells keep it contiguous. The anchored preview uses this same\n cell, because the preview *is* the range being made. */\n.day[data-range-middle] {\n background: var(--pm-accent-subtle);\n border-radius: 0;\n}\n\n/* Endpoints: `calendar.md`'s day-selected recipe unchanged. This is the full selection treatment,\n so the ends of a range look exactly like the chosen day in DatePicker's popup. A one-day range\n has both attributes on one cell. */\n.day[data-range-start],\n.day[data-range-end] {\n color: var(--pm-selection-text);\n background: var(--pm-selection-bg);\n border-color: var(--pm-selection-border);\n border-radius: var(--pm-radius-sm);\n}\n\n/* Selection has its own hover step (Table's law, as in `calendar.md`). */\n.day[data-range-start]:hover,\n.day[data-range-end]:hover {\n background: var(--pm-selection-bg-hover);\n}\n\n/* An endpoint is a solid fill, so the focus mark lies inside the fill with a gap, in its text\n colour, as on Calendar's selected day (`conventions/focus.module.css`). An in-range day is the\n accent wash, where the focus colour is held, so it keeps the shared mark. */\n.day[data-range-start]:focus-visible,\n.day[data-range-end]:focus-visible {\n --pm-focus-mark: currentcolor;\n --pm-focus-inset: var(--pm-focus-width);\n}\n\n/* month change — `calendar.md` unchanged ------------------------------------- */\n\n.grid[data-travel='next'] {\n animation: date-range-picker-grid-next var(--pm-motion-duration-surface)\n var(--pm-motion-easing-enter);\n}\n\n.grid[data-travel='previous'] {\n animation: date-range-picker-grid-previous var(--pm-motion-duration-surface)\n var(--pm-motion-easing-enter);\n}\n\n@keyframes date-range-picker-grid-next {\n from {\n opacity: 0;\n transform: translateX(var(--pm-space-2));\n }\n}\n\n@keyframes date-range-picker-grid-previous {\n from {\n opacity: 0;\n transform: translateX(calc(var(--pm-space-2) * -1));\n }\n}\n\n/* RTL mirrors navigation, the chevrons and the band's direction. The attributes still describe\n time order (`data-range-start` is the earlier date), so only the drawing flips. */\n[dir='rtl'] .grid[data-travel='next'] {\n animation-name: date-range-picker-grid-previous;\n}\n\n[dir='rtl'] .grid[data-travel='previous'] {\n animation-name: date-range-picker-grid-next;\n}\n\n[dir='rtl'] .header svg {\n transform: scaleX(-1);\n}\n\n/* Reduced motion (motion.md): `scale-fade` and `slide-fade` reduce to the fade they build on, and\n keep their durations. */\n@media (prefers-reduced-motion: reduce) {\n @keyframes date-range-picker-content-enter {\n from {\n opacity: 0;\n }\n }\n\n @keyframes date-range-picker-content-exit {\n to {\n opacity: 0;\n }\n }\n\n @keyframes date-range-picker-grid-next {\n from {\n opacity: 0;\n }\n }\n\n @keyframes date-range-picker-grid-previous {\n from {\n opacity: 0;\n }\n }\n}\n\n/* Glass (`depth: glass`): the pane uses the surface role at the engine's mix\n (`--pm-material-surface`). The material provides the separation that the overlay elevation\n steps provide elsewhere. The backdrop shows through the pane as a blurred, saturated wash, so the\n surface stands apart by its material rather than by a lighter step. The mix is a contrast\n decision that the glass law measures over worst-case backdrops. A recipe only applies it. */\n@container style(--pm-axis-depth: glass) {\n .content {\n background: var(--pm-material-surface);\n backdrop-filter: blur(var(--pm-material-blur)) saturate(var(--pm-material-saturate));\n }\n}\n"],"mappings":""}
@@ -1,5 +1,5 @@
1
1
  //#region ../recipes/src/controls/duration-input.module.css
2
- var e = "_field_f00h8_13 _focusRing_1lfnc_15 _stateFeedback_lkjqs_17", t = "_segments_f00h8_39", n = "_quantity_f00h8_48", r = "_segment_f00h8_39", i = "_unit_f00h8_80", a = {
2
+ var e = "_field_f00h8_13 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17", t = "_segments_f00h8_39", n = "_quantity_f00h8_48", r = "_segment_f00h8_39", i = "_unit_f00h8_80", a = {
3
3
  field: e,
4
4
  segments: t,
5
5
  quantity: n,
@@ -1,5 +1,5 @@
1
1
  //#region ../recipes/src/controls/file-upload.module.css
2
- var e = "_root_j4ytq_8", t = "_zone_j4ytq_15 _focusRing_1lfnc_15 _stateFeedback_lkjqs_17", n = "_title_j4ytq_31", r = "_hint_j4ytq_40", i = "_picker_j4ytq_51", a = "_list_j4ytq_57", o = "_row_j4ytq_63 _stateFeedback_lkjqs_17", s = "_rowIcon_j4ytq_73", c = "_details_j4ytq_81", l = "_name_j4ytq_88", u = "_meta_j4ytq_100", d = "_message_j4ytq_110", f = "_trailing_j4ytq_119", p = "_progress_j4ytq_127", m = "_percent_j4ytq_131", h = "_done_j4ytq_143", g = "_reader_j4ytq_150 _visuallyHidden_qxi8b_14", _ = {
2
+ var e = "_root_1m3c4_8", t = "_zone_1m3c4_15 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17", n = "_title_1m3c4_31", r = "_hint_1m3c4_40", i = "_picker_1m3c4_51", a = "_list_1m3c4_57", o = "_row_1m3c4_63 _stateFeedback_lkjqs_17", s = "_rowIcon_1m3c4_73", c = "_details_1m3c4_81", l = "_name_1m3c4_88", u = "_meta_1m3c4_100", d = "_message_1m3c4_110", f = "_trailing_1m3c4_119", p = "_progress_1m3c4_127", m = "_percent_1m3c4_131", h = "_done_1m3c4_143", g = "_reader_1m3c4_150 _visuallyHidden_qxi8b_14", _ = {
3
3
  root: e,
4
4
  zone: t,
5
5
  title: n,