@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":"file-upload.module.js","names":[],"sources":["../../../../recipes/src/controls/file-upload.module.css"],"sourcesContent":["/* FileUpload — `design/components/file-upload.md`.\n *\n * This is the only dashed border in the system, and it means one thing: *not yet content*.\n * Everything else here is a list of rows that happen to be files. They deliberately use ordinary\n * surface styling, because the meaningful state is in `data-status` and in what the app put\n * there. */\n\n.root {\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-3);\n inline-size: 100%;\n}\n\n.zone {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback from '../conventions/motion.module.css';\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-2);\n align-items: center;\n inline-size: 100%;\n padding: var(--pm-space-6);\n color: var(--pm-text-muted);\n cursor: pointer;\n background: var(--pm-bg-subtle);\n border: 1px dashed var(--pm-border-strong);\n border-radius: var(--pm-radius-lg);\n}\n\n.title {\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-primary);\n}\n\n.hint {\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n line-height: var(--pm-text-xs-line-height);\n letter-spacing: var(--pm-text-xs-tracking);\n color: var(--pm-text-muted);\n}\n\n/* The real input, opened by the zone. It is out of the tab order and the accessibility tree, where\n the button stands for it, and is still posted with the form. */\n.picker {\n display: none;\n}\n\n/* the list ----------------------------------------------------------------- */\n\n.list {\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-2);\n}\n\n.row {\n composes: stateFeedback from '../conventions/motion.module.css';\n display: flex;\n gap: var(--pm-space-3);\n align-items: center;\n padding: var(--pm-space-2) var(--pm-space-3);\n border: 1px solid var(--pm-border-subtle);\n border-radius: var(--pm-radius-control);\n}\n\n.rowIcon {\n display: inline-flex;\n flex: none;\n color: var(--pm-text-muted);\n}\n\n/* `min-inline-size: 0` lets the name truncate with an ellipsis instead of pushing the trailing\n controls off the row, because a flex item's minimum size is its content by default. */\n.details {\n display: flex;\n flex: 1;\n flex-direction: column;\n min-inline-size: 0;\n}\n\n.name {\n overflow: hidden;\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-primary);\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.meta {\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n line-height: var(--pm-text-xs-line-height);\n letter-spacing: var(--pm-text-xs-tracking);\n color: var(--pm-text-muted);\n}\n\n/* The app's text, under the file name it refers to. */\n.message {\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n line-height: var(--pm-text-xs-line-height);\n letter-spacing: var(--pm-text-xs-tracking);\n color: var(--pm-danger-text);\n}\n\n.trailing {\n display: inline-flex;\n flex: none;\n gap: var(--pm-space-2);\n align-items: center;\n}\n\n/* A bar this short only gives a rough idea. The percentage beside it shows the exact progress. */\n.progress {\n inline-size: var(--pm-space-9);\n}\n\n.percent {\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n\n /* Tabular figures keep the width steady as the number rises. */\n font-variant-numeric: var(--pm-font-numeric);\n line-height: var(--pm-text-xs-line-height);\n letter-spacing: var(--pm-text-xs-tracking);\n color: var(--pm-text-muted);\n}\n\n.done {\n display: inline-flex;\n flex: none;\n color: var(--pm-success-text);\n}\n\n/* Text for screen readers only: what just finished, and what just failed. */\n.reader {\n composes: visuallyHidden from '../conventions/a11y.module.css';\n}\n\n/* states ------------------------------------------------------------------- */\n\n/* A pending drop is as active as focus, so it uses the focus halo. A theme with ornament `none`\n derives no glow, and the border alone shows the state. */\n.zone[data-state='dragover'] {\n color: var(--pm-accent-text);\n background: var(--pm-accent-subtle);\n border-color: var(--pm-accent-bg);\n box-shadow: var(--pm-glow-focus);\n}\n\n/* FormField's error provides the text. The zone only changes its border colour. */\n.zone[data-invalid] {\n border-color: var(--pm-danger-border);\n}\n\n.zone[data-disabled] {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n border-color: var(--pm-border-subtle);\n}\n\n.zone[data-disabled] .title {\n color: var(--pm-text-disabled);\n}\n\n/* Invalid is excluded rather than overridden, as in Input. A dashed border that changed colour\n under the pointer would hide the error state. */\n.zone:enabled:hover:not([data-invalid], [data-state='dragover']) {\n background: var(--pm-bg-surface);\n border-color: var(--pm-accent-bg);\n}\n\n/* The row shows the failure. The message under the name says what happened, and the border makes\n the row easy to find in a longer list. */\n.row[data-status='error'] {\n border-color: var(--pm-danger-border);\n}\n"],"mappings":""}
1
+ {"version":3,"file":"file-upload.module.js","names":[],"sources":["../../../../recipes/src/controls/file-upload.module.css"],"sourcesContent":["/* FileUpload — `design/components/file-upload.md`.\n *\n * This is the only dashed border in the system, and it means one thing: *not yet content*.\n * Everything else here is a list of rows that happen to be files. They deliberately use ordinary\n * surface styling, because the meaningful state is in `data-status` and in what the app put\n * there. */\n\n.root {\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-3);\n inline-size: 100%;\n}\n\n.zone {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback from '../conventions/motion.module.css';\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-2);\n align-items: center;\n inline-size: 100%;\n padding: var(--pm-space-6);\n color: var(--pm-text-muted);\n cursor: pointer;\n background: var(--pm-bg-subtle);\n border: 1px dashed var(--pm-border-strong);\n border-radius: var(--pm-radius-lg);\n}\n\n.title {\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-primary);\n}\n\n.hint {\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n line-height: var(--pm-text-xs-line-height);\n letter-spacing: var(--pm-text-xs-tracking);\n color: var(--pm-text-muted);\n}\n\n/* The real input, opened by the zone. It is out of the tab order and the accessibility tree, where\n the button stands for it, and is still posted with the form. */\n.picker {\n display: none;\n}\n\n/* the list ----------------------------------------------------------------- */\n\n.list {\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-2);\n}\n\n.row {\n composes: stateFeedback from '../conventions/motion.module.css';\n display: flex;\n gap: var(--pm-space-3);\n align-items: center;\n padding: var(--pm-space-2) var(--pm-space-3);\n border: 1px solid var(--pm-border-subtle);\n border-radius: var(--pm-radius-control);\n}\n\n.rowIcon {\n display: inline-flex;\n flex: none;\n color: var(--pm-text-muted);\n}\n\n/* `min-inline-size: 0` lets the name truncate with an ellipsis instead of pushing the trailing\n controls off the row, because a flex item's minimum size is its content by default. */\n.details {\n display: flex;\n flex: 1;\n flex-direction: column;\n min-inline-size: 0;\n}\n\n.name {\n overflow: hidden;\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-primary);\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.meta {\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n line-height: var(--pm-text-xs-line-height);\n letter-spacing: var(--pm-text-xs-tracking);\n color: var(--pm-text-muted);\n}\n\n/* The app's text, under the file name it refers to. */\n.message {\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n line-height: var(--pm-text-xs-line-height);\n letter-spacing: var(--pm-text-xs-tracking);\n color: var(--pm-danger-text);\n}\n\n.trailing {\n display: inline-flex;\n flex: none;\n gap: var(--pm-space-2);\n align-items: center;\n}\n\n/* A bar this short only gives a rough idea. The percentage beside it shows the exact progress. */\n.progress {\n inline-size: var(--pm-space-9);\n}\n\n.percent {\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n\n /* Tabular figures keep the width steady as the number rises. */\n font-variant-numeric: var(--pm-font-numeric);\n line-height: var(--pm-text-xs-line-height);\n letter-spacing: var(--pm-text-xs-tracking);\n color: var(--pm-text-muted);\n}\n\n.done {\n display: inline-flex;\n flex: none;\n color: var(--pm-success-text);\n}\n\n/* Text for screen readers only: what just finished, and what just failed. */\n.reader {\n composes: visuallyHidden from '../conventions/a11y.module.css';\n}\n\n/* states ------------------------------------------------------------------- */\n\n/* A pending drop is as active as focus, so it takes the focus glow (`--pm-glow-focus`), a halo the\n focus mark itself does not draw. A theme with ornament `none` derives no glow, and the border\n alone shows the state. */\n.zone[data-state='dragover'] {\n color: var(--pm-accent-text);\n background: var(--pm-accent-subtle);\n border-color: var(--pm-accent-bg);\n box-shadow: var(--pm-glow-focus);\n}\n\n/* FormField's error provides the text. The zone only changes its border colour. */\n.zone[data-invalid] {\n border-color: var(--pm-danger-border);\n}\n\n.zone[data-disabled] {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n border-color: var(--pm-border-subtle);\n}\n\n.zone[data-disabled] .title,\n.zone[data-disabled] .hint {\n color: var(--pm-text-disabled);\n}\n\n/* Invalid is excluded rather than overridden, as in Input. A dashed border that changed colour\n under the pointer would hide the error state. */\n.zone:enabled:hover:not([data-invalid], [data-state='dragover']) {\n background: var(--pm-bg-surface);\n border-color: var(--pm-accent-bg);\n}\n\n/* The row shows the failure. The message under the name says what happened, and the border makes\n the row easy to find in a longer list. */\n.row[data-status='error'] {\n border-color: var(--pm-danger-border);\n}\n"],"mappings":""}
@@ -1,12 +1,12 @@
1
1
  //#region ../recipes/src/controls/input.module.css
2
- var e = "_field_hse2b_10 _focusRing_1lfnc_15 _stateFeedback_lkjqs_17", t = "_input_hse2b_38", n = "_leading_hse2b_56 _stateFeedback_lkjqs_17", r = "_trailing_hse2b_57", i = "_affix_hse2b_71", a = "_clear_hse2b_83 _focusRing_1lfnc_15 _stateFeedback_lkjqs_17 _pressable_lkjqs_38", o = {
2
+ var e = "_field_92wpy_10 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17", t = "_input_92wpy_43", n = "_leading_92wpy_62 _stateFeedback_lkjqs_17", r = "_trailing_92wpy_63", i = "_affix_92wpy_77", a = "_clear_92wpy_89 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17 _pressable_lkjqs_38", o = {
3
3
  field: e,
4
4
  input: t,
5
5
  leading: n,
6
6
  trailing: r,
7
7
  affix: i,
8
8
  clear: a,
9
- "input-clear-enter": "_input-clear-enter_hse2b_1"
9
+ "input-clear-enter": "_input-clear-enter_92wpy_1"
10
10
  };
11
11
  //#endregion
12
12
  export { i as affix, a as clear, o as default, e as field, t as input, n as leading, r as trailing };
@@ -1 +1 @@
1
- {"version":3,"file":"input.module.js","names":[],"sources":["../../../../recipes/src/controls/input.module.css"],"sourcesContent":["/* Input — `design/components/input.md`.\n *\n * The container is styled, and the native `<input>` is transparent and fills it. This split lets\n * the leading icon, the clear button and the trailing slot take their colour from the same state\n * as the border, instead of each deriving it separately.\n *\n * Selectors ascend in specificity, as in button.module.css. Hover is excluded from the states it\n * must not override, rather than being out-specified by them. */\n\n.field {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback from '../conventions/motion.module.css';\n display: inline-flex;\n gap: var(--pm-space-3);\n align-items: center;\n max-inline-size: 100%;\n block-size: var(--pm-control-height-md);\n padding-inline: var(--pm-space-5);\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-primary);\n cursor: text;\n background: var(--pm-bg-surface);\n border: 1px solid var(--pm-border-field);\n border-radius: var(--pm-radius-control);\n\n /* The control seat shadow, the same token Button's fill uses. A field on a surface of its own\n colour would be outlined by its border alone, and a single hairline looks like a wireframe.\n Flat systems resolve the token to `none` and rely on the border alone, by design. */\n box-shadow: var(--pm-shadow-seat);\n}\n\n/* Transparent, borderless, and using the container's type. `font: inherit` keeps the text on the\n type scale without restating the text tokens. */\n.input {\n flex: 1;\n min-inline-size: 0;\n padding: 0;\n font: inherit;\n color: inherit;\n background: transparent;\n border: 0;\n outline: none;\n}\n\n/* Firefox dims placeholders by default. The muted role already makes them lighter, so they must\n not be dimmed twice. */\n.input::placeholder {\n color: var(--pm-text-muted);\n opacity: 1;\n}\n\n.leading,\n.trailing {\n display: inline-flex;\n flex: none;\n align-items: center;\n}\n\n.leading {\n composes: stateFeedback from '../conventions/motion.module.css';\n color: var(--pm-text-muted);\n}\n\n/* The static affix, at adornment strength like the leading icon: beside the value at the size's\n own text step, never competing with it. The gap to the value is the container's\n (`--pm-space-3`, `--pm-space-2` at `sm`), the same gap as the leading icon's. */\n.affix {\n flex: none;\n color: var(--pm-text-muted);\n}\n\n/* Square, at the field's own height, so the target floor holds at every size.\n *\n * The embedded-adornment convention (input.md): muted at rest to match the leading icon and not\n * compete with the value, primary on a `bg-subtle` wash on hover, its own `radius-sm` inside the\n * field's `md`, press feedback, and the focus ring. The ring may overflow the field's frame, and\n * should, because it marks the inner target. Never `--pm-danger-*` in an invalid field, because it\n * is an action, not a status. */\n.clear {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback pressable from '../conventions/motion.module.css';\n display: inline-flex;\n flex: none;\n align-self: stretch;\n align-items: center;\n justify-content: center;\n aspect-ratio: 1;\n padding: 0;\n color: var(--pm-text-muted);\n cursor: pointer;\n background: transparent;\n border: 0;\n border-radius: var(--pm-radius-sm);\n animation: input-clear-enter var(--pm-motion-duration-control) var(--pm-motion-easing-enter);\n}\n\n/* The `input.clear` binding: `fade`, control class. Only the entrance animates, because an\n unmounting node cannot animate its exit. Wrapping a field's clear button in presence\n coordination would gain one frame at the cost of as much machinery as a portal. `fade` is\n unchanged under reduced motion (motion.md), and at temperament `none` the duration token is 0s,\n so this needs no reduced-motion rule and no switch-off of its own. */\n@keyframes input-clear-enter {\n from {\n opacity: 0;\n }\n}\n\n.clear:hover {\n color: var(--pm-text-primary);\n background: var(--pm-bg-subtle);\n}\n\n/* sizes — the conventions' size system -------------------------------------- */\n\n.field[data-size='sm'] {\n gap: var(--pm-space-2);\n block-size: var(--pm-control-height-sm);\n padding-inline: var(--pm-space-4);\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n line-height: var(--pm-text-xs-line-height);\n letter-spacing: var(--pm-text-xs-tracking);\n}\n\n.field[data-size='lg'] {\n block-size: var(--pm-control-height-lg);\n padding-inline: var(--pm-space-6);\n font-family: var(--pm-text-md-family);\n font-size: var(--pm-text-md-size);\n font-weight: var(--pm-text-md-weight);\n line-height: var(--pm-text-md-line-height);\n letter-spacing: var(--pm-text-md-tracking);\n}\n\n/* states ------------------------------------------------------------------- */\n\n.field[data-invalid] {\n border-color: var(--pm-danger-border);\n}\n\n.field[data-readonly] {\n color: var(--pm-text-secondary);\n}\n\n.field[data-disabled] {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n background: var(--pm-bg-subtle);\n border-color: var(--pm-border-subtle);\n\n /* The seat shadow signals \"ready\", so disabled removes it. */\n box-shadow: none;\n}\n\n/* Invalid is excluded rather than overridden, because an error border must stay visible when the\n pointer passes over it. */\n.field:hover:not([data-disabled], [data-readonly], [data-invalid]) {\n border-color: var(--pm-border-strong);\n}\n\n.field[data-invalid] .leading {\n color: var(--pm-danger-text);\n}\n\n.field[data-disabled] .leading,\n.field[data-disabled] .affix {\n color: var(--pm-text-disabled);\n}\n\n/* The phone minimum (the conventions' focus-zoom floor). Below `30rem` the inner `<input>` uses\n the text-entry floor's size and line height, so iOS does not zoom the page on focus. Only those metrics change.\n Colour, weight and tracking stay the same, and the container keeps its own size's text tokens,\n so the leading icon, affix and clear button do not move. One rule covers every `data-size`,\n because it overrides the inherited size whatever the container sets. SearchInput and\n PasswordInput render this Input, so this rule applies to them too (one line in each spec). */\n@media (width < 30rem) {\n .input {\n font-size: var(--pm-text-entry-size);\n line-height: var(--pm-text-entry-line-height);\n }\n}\n"],"mappings":""}
1
+ {"version":3,"file":"input.module.js","names":[],"sources":["../../../../recipes/src/controls/input.module.css"],"sourcesContent":["/* Input — `design/components/input.md`.\n *\n * The container is styled, and the native `<input>` is transparent and fills it. This split lets\n * the leading icon, the clear button and the trailing slot take their colour from the same state\n * as the border, instead of each deriving it separately.\n *\n * Selectors ascend in specificity, as in button.module.css. Hover is excluded from the states it\n * must not override, rather than being out-specified by them. */\n\n.field {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback from '../conventions/motion.module.css';\n display: inline-flex;\n gap: var(--pm-space-3);\n align-items: center;\n max-inline-size: 100%;\n block-size: var(--pm-control-height-md);\n padding-inline: var(--pm-space-5);\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-primary);\n cursor: text;\n background: var(--pm-bg-surface);\n border: 1px solid var(--pm-border-field);\n border-radius: var(--pm-radius-control);\n\n /* The control seat shadow, the same token Button's fill uses. A field on a surface of its own\n colour would be outlined by its border alone, and a single hairline looks like a wireframe.\n Flat systems resolve the token to `none` and rely on the border alone, by design. */\n box-shadow: var(--pm-shadow-seat);\n}\n\n/* Transparent, borderless, and using the container's type. `font: inherit` keeps the text on the\n type scale without restating the text tokens.\n\n In a field narrower than its parts, the value is the part that gives way: it shrinks to nothing\n (`min-inline-size: 0`) while the icon, the affixes and the clear button keep their width\n (`flex: none`) and the field keeps its padding. A value cut short ends in an ellipsis while the\n field is not focused; while it is, the browser scrolls the value to the caret instead. */\n.input {\n flex: 1;\n min-inline-size: 0;\n padding: 0;\n font: inherit;\n color: inherit;\n text-overflow: ellipsis;\n background: transparent;\n border: 0;\n outline: none;\n}\n\n/* Firefox dims placeholders by default. The muted role already makes them lighter, so they must\n not be dimmed twice. */\n.input::placeholder {\n color: var(--pm-text-muted);\n opacity: 1;\n}\n\n.leading,\n.trailing {\n display: inline-flex;\n flex: none;\n align-items: center;\n}\n\n.leading {\n composes: stateFeedback from '../conventions/motion.module.css';\n color: var(--pm-text-muted);\n}\n\n/* The static affix, at adornment strength like the leading icon: beside the value at the size's\n own text step, never competing with it. The gap to the value is the container's\n (`--pm-space-3`, `--pm-space-2` at `sm`), the same gap as the leading icon's. */\n.affix {\n flex: none;\n color: var(--pm-text-muted);\n}\n\n/* Square, at the field's own height, so the target floor holds at every size.\n *\n * The embedded-adornment convention (input.md): muted at rest to match the leading icon and not\n * compete with the value, primary on a `bg-subtle` wash on hover, its own `radius-sm` inside the\n * field's `md`, press feedback, and the focus mark inside its own edge, which marks the inner\n * target and not the field. Never `--pm-danger-*` in an invalid field, because it\n * is an action, not a status. */\n.clear {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback pressable from '../conventions/motion.module.css';\n display: inline-flex;\n flex: none;\n align-self: stretch;\n align-items: center;\n justify-content: center;\n aspect-ratio: 1;\n padding: 0;\n color: var(--pm-text-muted);\n cursor: pointer;\n background: transparent;\n border: 0;\n border-radius: var(--pm-radius-sm);\n animation: input-clear-enter var(--pm-motion-duration-control) var(--pm-motion-easing-enter);\n}\n\n/* The `input.clear` binding: `fade`, control class. Only the entrance animates, because an\n unmounting node cannot animate its exit. Wrapping a field's clear button in presence\n coordination would gain one frame at the cost of as much machinery as a portal. `fade` is\n unchanged under reduced motion (motion.md), and at temperament `none` the duration token is 0s,\n so this needs no reduced-motion rule and no switch-off of its own. */\n@keyframes input-clear-enter {\n from {\n opacity: 0;\n }\n}\n\n.clear:hover {\n color: var(--pm-text-primary);\n background: var(--pm-bg-subtle);\n}\n\n/* sizes — the conventions' size system -------------------------------------- */\n\n.field[data-size='sm'] {\n gap: var(--pm-space-2);\n block-size: var(--pm-control-height-sm);\n padding-inline: var(--pm-space-4);\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n line-height: var(--pm-text-xs-line-height);\n letter-spacing: var(--pm-text-xs-tracking);\n}\n\n.field[data-size='lg'] {\n block-size: var(--pm-control-height-lg);\n padding-inline: var(--pm-space-6);\n font-family: var(--pm-text-md-family);\n font-size: var(--pm-text-md-size);\n font-weight: var(--pm-text-md-weight);\n line-height: var(--pm-text-md-line-height);\n letter-spacing: var(--pm-text-md-tracking);\n}\n\n/* states ------------------------------------------------------------------- */\n\n.field[data-invalid] {\n border-color: var(--pm-danger-border);\n}\n\n.field[data-readonly] {\n color: var(--pm-text-secondary);\n}\n\n.field[data-disabled] {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n background: var(--pm-bg-subtle);\n border-color: var(--pm-border-subtle);\n\n /* The seat shadow signals \"ready\", so disabled removes it. */\n box-shadow: none;\n}\n\n/* Invalid is excluded rather than overridden, because an error border must stay visible when the\n pointer passes over it. */\n.field:hover:not([data-disabled], [data-readonly], [data-invalid]) {\n border-color: var(--pm-border-strong);\n}\n\n.field[data-invalid] .leading {\n color: var(--pm-danger-text);\n}\n\n.field[data-disabled] .leading,\n.field[data-disabled] .affix {\n color: var(--pm-text-disabled);\n}\n\n/* The phone minimum (the conventions' focus-zoom floor). Below `30rem` the inner `<input>` uses\n the text-entry floor's size and line height, so iOS does not zoom the page on focus. Only those metrics change.\n Colour, weight and tracking stay the same, and the container keeps its own size's text tokens,\n so the leading icon, affix and clear button do not move. One rule covers every `data-size`,\n because it overrides the inherited size whatever the container sets. SearchInput and\n PasswordInput render this Input, so this rule applies to them too (one line in each spec). */\n@media (width < 30rem) {\n .input {\n font-size: var(--pm-text-entry-size);\n line-height: var(--pm-text-entry-line-height);\n }\n}\n"],"mappings":""}
@@ -1,5 +1,5 @@
1
1
  //#region ../recipes/src/controls/link.module.css
2
- var e = "_link_7xsxt_10 _focusRing_1lfnc_15", t = "_costume_7xsxt_62 _button_17o12_17 _focusRing_1lfnc_15 _stateFeedback_lkjqs_17 _pressable_lkjqs_38", n = "_costumeLabel_7xsxt_70", r = "_costumeGlyph_7xsxt_77", i = {
2
+ var e = "_link_1pcjq_13 _focusAround_1hr3n_95", t = "_costume_1pcjq_65 _button_cxa90_17 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17 _pressable_lkjqs_38", n = "_costumeLabel_1pcjq_73", r = "_costumeGlyph_1pcjq_80", i = {
3
3
  link: e,
4
4
  costume: t,
5
5
  costumeLabel: n,
@@ -1 +1 @@
1
- {"version":3,"file":"link.module.js","names":[],"sources":["../../../../recipes/src/controls/link.module.css"],"sourcesContent":["/* Link — `design/components/link.md`.\n *\n * Underline is never the only signal. `inline` has an underline at rest and thickens it on hover.\n * `standalone` gets one on hover. So both variants pair the accent colour with a non-colour cue,\n * and neither depends on the user seeing the accent hue.\n *\n * `text-decoration-thickness` is not animatable, and the recipe accepts that: text cues change\n * instantly, and only surfaces transition. */\n\n.link {\n composes: focusRing from '../conventions/focus.module.css';\n display: inline;\n gap: var(--pm-space-1);\n color: var(--pm-accent-text);\n text-underline-offset: 2px;\n text-decoration-thickness: 1px;\n\n /* The rest underline uses the temperament's strength. The line is the required signal, so it\n stays. Its full colour is only the browser default, not a design decision. Hover restores the\n full colour together with the thickness. */\n text-decoration-color: var(--pm-accent-underline);\n border-radius: var(--pm-radius-sm);\n}\n\n/* An inline link inherits the text step around it, because a sentence does not change size where\n part of it is a link. */\n.link[data-variant='inline'] {\n text-decoration-line: underline;\n}\n\n.link[data-variant='standalone'] {\n display: inline-flex;\n align-items: center;\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n text-decoration-line: none;\n}\n\n/* An external inline link must be a flex row to align its glyph with the text, so it cannot wrap\n mid-sentence. That is the better trade-off: external links are short by convention, and a glyph\n left alone on its own line is worse than a link that cannot wrap. */\n.link[data-external] {\n display: inline-flex;\n align-items: center;\n white-space: nowrap;\n}\n\n.link:hover {\n text-decoration-line: underline;\n text-decoration-thickness: 2px;\n text-decoration-color: var(--pm-accent-text);\n}\n\n/* The button costume: Button's recipe cells by reference, never re-derived. Composing `.button`\n brings the base, the conventions' sizing, every rest/hover/active cell, the press feedback and\n the focus ring. All of them are keyed off the `data-variant` × `data-tone` × `data-size`\n attributes this element sets. This rule only handles what an `<a>` has and a `<button>` does\n not: the browser's default underline, which the frame replaces as the clickable cue. */\n.costume {\n composes: button from './button.module.css';\n text-decoration: none;\n}\n\n/* Button's two content slots, restated as anatomy: the label that truncates with an ellipsis, and\n the trailing glyph's flex container. The recipe cells (colours, sizes, states) all come with\n `.costume` above. */\n.costumeLabel {\n min-inline-size: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.costumeGlyph {\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n}\n"],"mappings":""}
1
+ {"version":3,"file":"link.module.js","names":[],"sources":["../../../../recipes/src/controls/link.module.css"],"sourcesContent":["/* Link — `design/components/link.md`.\n *\n * Underline is never the only signal. `inline` has an underline at rest and thickens it on hover.\n * `standalone` gets one on hover. So both variants pair the accent colour with a non-colour cue,\n * and neither depends on the user seeing the accent hue.\n *\n * `text-decoration-thickness` is not animatable, and the recipe accepts that: text cues change\n * instantly, and only surfaces transition. */\n\n/* The focus mark goes around the text box with a gap (`focusAround`): a link's box is its text,\n so a line inside it would cross the first and last letters, and a line on its edge would touch\n them. The button costume below composes Button and keeps its mark inside its edge. */\n.link {\n composes: focusAround from '../conventions/focus.module.css';\n display: inline;\n gap: var(--pm-space-1);\n color: var(--pm-accent-text);\n text-underline-offset: 2px;\n text-decoration-thickness: 1px;\n\n /* The rest underline uses the temperament's strength. The line is the required signal, so it\n stays. Its full colour is only the browser default, not a design decision. Hover restores the\n full colour together with the thickness. */\n text-decoration-color: var(--pm-accent-underline);\n border-radius: var(--pm-radius-sm);\n}\n\n/* An inline link inherits the text step around it, because a sentence does not change size where\n part of it is a link. */\n.link[data-variant='inline'] {\n text-decoration-line: underline;\n}\n\n.link[data-variant='standalone'] {\n display: inline-flex;\n align-items: center;\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n text-decoration-line: none;\n}\n\n/* An external inline link must be a flex row to align its glyph with the text, so it cannot wrap\n mid-sentence. That is the better trade-off: external links are short by convention, and a glyph\n left alone on its own line is worse than a link that cannot wrap. */\n.link[data-external] {\n display: inline-flex;\n align-items: center;\n white-space: nowrap;\n}\n\n.link:hover {\n text-decoration-line: underline;\n text-decoration-thickness: 2px;\n text-decoration-color: var(--pm-accent-text);\n}\n\n/* The button costume: Button's recipe cells by reference, never re-derived. Composing `.button`\n brings the base, the conventions' sizing, every rest/hover/active cell, the press feedback and\n the focus ring. All of them are keyed off the `data-variant` × `data-tone` × `data-size`\n attributes this element sets. This rule only handles what an `<a>` has and a `<button>` does\n not: the browser's default underline, which the frame replaces as the clickable cue. */\n.costume {\n composes: button from './button.module.css';\n text-decoration: none;\n}\n\n/* Button's two content slots, restated as anatomy: the label that truncates with an ellipsis, and\n the trailing glyph's flex container. The recipe cells (colours, sizes, states) all come with\n `.costume` above. */\n.costumeLabel {\n min-inline-size: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.costumeGlyph {\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n}\n"],"mappings":""}
@@ -1,5 +1,5 @@
1
1
  //#region ../recipes/src/controls/month-input.module.css
2
- var e = "_field_ilaoy_16 _focusRing_1lfnc_15 _stateFeedback_lkjqs_17", t = "_segments_ilaoy_42", n = "_segment_ilaoy_42", r = "_separator_ilaoy_76", i = {
2
+ var e = "_field_ilaoy_16 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17", t = "_segments_ilaoy_42", n = "_segment_ilaoy_42", r = "_separator_ilaoy_76", i = {
3
3
  field: e,
4
4
  segments: t,
5
5
  segment: n,
@@ -1,5 +1,5 @@
1
1
  //#region ../recipes/src/controls/multi-select.module.css
2
- var e = "_field_bux58_12 _focusRing_1lfnc_15 _stateFeedback_lkjqs_17", t = "_chips_bux58_39", n = "_chip_bux58_39", r = "_label_bux58_55", i = "_remove_bux58_71 _focusRing_1lfnc_15 _stateFeedback_lkjqs_17 _pressable_lkjqs_38", a = "_input_bux58_106", o = "_chevron_bux58_125 _focusRing_1lfnc_15", s = "_spinner_bux58_156 _spin_lkjqs_83", c = "_reader_bux58_163 _visuallyHidden_qxi8b_14", l = "_status_bux58_169", u = "_content_bux58_272", d = "_listbox_bux58_317", f = "_sheetBody_bux58_333", p = "_option_bux58_343 _stateFeedback_lkjqs_17", m = "_check_bux58_364 _stateFeedback_lkjqs_17", h = "_text_bux58_373", g = "_optionLabel_bux58_380", _ = "_description_bux58_387 _stateFeedback_lkjqs_17", v = "_rows_bux58_449", y = "_row_bux58_449", b = "_empty_bux58_463", x = {
2
+ var e = "_field_ffywm_12 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17", t = "_chips_ffywm_39", n = "_chip_ffywm_39", r = "_label_ffywm_55", i = "_remove_ffywm_71 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17 _pressable_lkjqs_38", a = "_input_ffywm_106", o = "_chevron_ffywm_125 _focusRing_1hr3n_49", s = "_spinner_ffywm_156 _spin_lkjqs_83", c = "_reader_ffywm_163 _visuallyHidden_qxi8b_14", l = "_status_ffywm_169", u = "_content_ffywm_272", d = "_listbox_ffywm_317", f = "_sheetBody_ffywm_333", p = "_option_ffywm_343 _stateFeedback_lkjqs_17", m = "_check_ffywm_364 _stateFeedback_lkjqs_17", h = "_text_ffywm_373", g = "_optionLabel_ffywm_380", _ = "_description_ffywm_387 _stateFeedback_lkjqs_17", v = "_rows_ffywm_454", y = "_row_ffywm_454", b = "_empty_ffywm_468", x = {
3
3
  field: e,
4
4
  chips: t,
5
5
  chip: n,
@@ -7,14 +7,14 @@ var e = "_field_bux58_12 _focusRing_1lfnc_15 _stateFeedback_lkjqs_17", t = "_chi
7
7
  remove: i,
8
8
  input: a,
9
9
  chevron: o,
10
- "multi-select-glyph-enter": "_multi-select-glyph-enter_bux58_1",
10
+ "multi-select-glyph-enter": "_multi-select-glyph-enter_ffywm_1",
11
11
  spinner: s,
12
12
  reader: c,
13
13
  status: l,
14
- "multi-select-refusal": "_multi-select-refusal_bux58_1",
14
+ "multi-select-refusal": "_multi-select-refusal_ffywm_1",
15
15
  content: u,
16
- "multi-select-content-enter": "_multi-select-content-enter_bux58_1",
17
- "multi-select-content-exit": "_multi-select-content-exit_bux58_1",
16
+ "multi-select-content-enter": "_multi-select-content-enter_ffywm_1",
17
+ "multi-select-content-exit": "_multi-select-content-exit_ffywm_1",
18
18
  listbox: d,
19
19
  sheetBody: f,
20
20
  option: p,
@@ -1 +1 @@
1
- {"version":3,"file":"multi-select.module.js","names":[],"sources":["../../../../recipes/src/controls/multi-select.module.css"],"sourcesContent":["/* MultiSelect — `design/components/multi-select.md`.\n *\n * The recipe copies two others instead of composing them. The field is TagInput's\n * container: Input's recipe in every state, but growing in height. The panel is Select's\n * content recipe, as Combobox uses it. The completeness law checks each component's own\n * stylesheet, so each member keeps its own copy of the rules it uses. Combobox makes the\n * same choice for the same reason.\n *\n * `var(--radix-popover-*)` values are measured by the positioning engine at runtime. No\n * one authors them, so the token law allows that namespace. */\n\n.field {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback from '../conventions/motion.module.css';\n position: relative;\n display: flex;\n flex-wrap: wrap;\n gap: var(--pm-space-1);\n align-items: center;\n min-block-size: var(--pm-control-height-md);\n padding: var(--pm-space-1) var(--pm-space-2);\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-primary);\n cursor: text;\n background: var(--pm-bg-surface);\n border: 1px solid var(--pm-border-field);\n border-radius: var(--pm-radius-control);\n\n /* The control seat shadow, from Input, used by every field in the family. */\n box-shadow: var(--pm-shadow-seat);\n}\n\n/* The chips are a real `<ul>` that screen readers announce, but not a layout box.\n `display: contents` puts them into the field's wrapping flow (as in TagInput). */\n.chips {\n display: contents;\n}\n\n.chip {\n display: inline-flex;\n gap: var(--pm-space-1);\n align-items: center;\n block-size: calc(var(--pm-control-height-sm) - var(--pm-space-2));\n padding-inline: var(--pm-space-2);\n background: var(--pm-bg-subtle);\n border: 1px solid var(--pm-border-subtle);\n border-radius: var(--pm-radius-pill);\n}\n\n/* A long label is truncated with an ellipsis so the field does not grow a third row. */\n.label {\n max-inline-size: calc(var(--pm-space-10) * 2);\n overflow: hidden;\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-primary);\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n/* The labelled remove button, as in TagInput. It has its own focus ring and is square\n at the chip's full height. The minimum target size comes from a negative inset on\n `::before`, not from layout. */\n.remove {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback pressable from '../conventions/motion.module.css';\n position: relative;\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n align-self: stretch;\n aspect-ratio: 1;\n padding: 0;\n color: var(--pm-text-muted);\n cursor: pointer;\n background: transparent;\n border: 0;\n border-radius: var(--pm-radius-pill);\n}\n\n.remove::before {\n position: absolute;\n inset: calc((100% - var(--pm-control-height-sm)) / 2);\n content: '';\n}\n\n.remove:hover {\n color: var(--pm-danger-text);\n}\n\n/* During keyboard navigation, the chip that holds focus shows it on its border. */\n.chip:focus-within {\n border-color: var(--pm-border-focus-solid);\n}\n\n/* Unstyled, with the field's type. `font: inherit` keeps the caret on the type scale\n at every size. */\n.input {\n flex: 1;\n min-inline-size: calc(var(--pm-space-10) / 2);\n padding: 0;\n font: inherit;\n color: inherit;\n background: transparent;\n border: 0;\n outline: none;\n}\n\n/* Firefox dims placeholders by default. The muted colour already marks them, so the\n opacity is reset to avoid dimming twice. */\n.input::placeholder {\n color: var(--pm-text-muted);\n opacity: 1;\n}\n\n/* Combobox's chevron. It is muted and rotates while the panel is open. Motion binding\n `select.chevron`: transform, control class, `standard` easing. */\n.chevron {\n composes: focusRing from '../conventions/focus.module.css';\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n padding: 0;\n color: var(--pm-text-muted);\n cursor: pointer;\n background: transparent;\n border: 0;\n border-radius: var(--pm-radius-sm);\n transition: transform var(--pm-motion-duration-control) var(--pm-motion-easing-standard);\n}\n\n/* Motion binding `combobox.glyph`: `fade`, control class. The glyph element is replaced\n when loading starts and ends, so only the enter is animated. */\n.chevron svg {\n animation: multi-select-glyph-enter var(--pm-motion-duration-control)\n var(--pm-motion-easing-enter);\n}\n\n@keyframes multi-select-glyph-enter {\n from {\n opacity: 0;\n }\n}\n\n/* The loading glyph spins, as Button's spinner does. The motion module owns its period,\n its inverse temperament scaling and the three ways it is switched off. */\n.spinner {\n composes: spin from '../conventions/motion.module.css';\n display: inline-flex;\n}\n\n/* Screen-reader-only text: the count and maximum sentence, and the removal\n announcements (as in TagInput). */\n.reader {\n composes: visuallyHidden from '../conventions/a11y.module.css';\n}\n\n/* The single async live region (as in Combobox). It is hidden by clipping, not by\n `display: none`, because `display: none` would stop announcements. */\n.status {\n position: absolute;\n inline-size: 1px;\n block-size: 1px;\n padding: 0;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n}\n\n/* sizes — container min-height steps, chips stay one size (conventions) ----- */\n\n.field[data-size='sm'] {\n min-block-size: var(--pm-control-height-sm);\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n line-height: var(--pm-text-xs-line-height);\n letter-spacing: var(--pm-text-xs-tracking);\n}\n\n.field[data-size='lg'] {\n min-block-size: var(--pm-control-height-lg);\n font-family: var(--pm-text-md-family);\n font-size: var(--pm-text-md-size);\n font-weight: var(--pm-text-md-weight);\n line-height: var(--pm-text-md-line-height);\n letter-spacing: var(--pm-text-md-tracking);\n}\n\n/* field states --------------------------------------------------------------- */\n\n.field[data-invalid] {\n border-color: var(--pm-danger-border);\n}\n\n/* The refusal flash, copied from TagInput's `tag-input-refusal` (the \"Refusal is\n answered\" rule). The border turns danger and back once over the control duration. It\n changes colour only. At `none` the duration token is 0, so there is no flash and the\n announcement alone reports the refusal. */\n@keyframes multi-select-refusal {\n 50% {\n border-color: var(--pm-danger-border);\n }\n}\n\n.field[data-refused] {\n animation: multi-select-refusal var(--pm-motion-duration-control) var(--pm-motion-easing-standard);\n}\n\n.field[data-disabled] {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n background: var(--pm-bg-subtle);\n border-color: var(--pm-border-subtle);\n\n /* The seat shadow signals a ready control, so disabled removes it (as in Input). */\n box-shadow: none;\n}\n\n.field[data-disabled] .label {\n color: var(--pm-text-disabled);\n}\n\n.field[data-disabled] .chevron {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n}\n\n/* At the maximum. The field stays focusable, but no more values can be added, so the\n text cursor is removed. */\n.field[data-at-max] {\n cursor: default;\n}\n\n/* While open, the field keeps the hover border so it does not flicker back to rest.\n Invalid fields are excluded rather than overridden (as in Combobox). */\n.field[data-state='open']:not([data-invalid]) {\n border-color: var(--pm-border-strong);\n}\n\n.field:hover:not([data-disabled], [data-invalid]) {\n border-color: var(--pm-border-strong);\n}\n\n.field[data-state='open'] .chevron {\n transform: rotate(180deg);\n}\n\n/* While a query is loading the glyph is a spinner, and it does not rotate with the\n panel, so the control shows one state at a time. */\n.field[data-loading] .chevron {\n transform: none;\n}\n\n/* A chip that is being removed cannot be clicked again (the interruption laws in\n motion.md). */\n.chip[data-removing] {\n pointer-events: none;\n}\n\n/* panel — Select's content recipe, copied as in Combobox --------------------- */\n\n.content {\n display: flex;\n flex-direction: column;\n\n /* `overlay` from the stacking scale. The popper copies it onto its wrapper\n (menu.module.css explains how). */\n z-index: var(--pm-z-overlay);\n min-inline-size: var(--radix-popover-trigger-width);\n max-block-size: var(--radix-popover-content-available-height);\n padding: var(--pm-space-2);\n overflow: hidden;\n background: var(--pm-bg-overlay);\n border: 1px solid var(--pm-border-subtle);\n border-radius: var(--pm-radius-surface);\n box-shadow: var(--pm-shadow-transient);\n transform-origin: var(--radix-popover-content-transform-origin);\n}\n\n/* Motion binding `combobox.popup`: `scale-fade`, surface class, anchored origin. It is\n the same as Select's. Radix keeps the node mounted for the closed animation, so the\n exit animates instead of cutting. */\n.content[data-state='open'] {\n animation: multi-select-content-enter var(--pm-motion-duration-surface)\n var(--pm-motion-easing-enter);\n}\n\n.content[data-state='closed'] {\n animation: multi-select-content-exit var(--pm-motion-duration-surface-exit)\n var(--pm-motion-easing-exit);\n}\n\n@keyframes multi-select-content-enter {\n from {\n opacity: 0;\n transform: scale(0.94);\n }\n}\n\n@keyframes multi-select-content-exit {\n to {\n opacity: 0;\n transform: scale(0.94);\n }\n}\n\n.listbox {\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-1);\n min-block-size: 0;\n padding: 0;\n margin: 0;\n overflow-y: auto;\n list-style: none;\n outline: none;\n}\n\n/* The sheet below 30rem (the conventions' sheet presentation), copied from Combobox.\n It keeps the popper panel's `--pm-space-2` inset, the listbox scrolls under the\n sheet's height cap, and the safe-area inset adds to this member's own edge padding.\n The popper rules do not apply because there is no anchor. */\n.sheetBody {\n display: flex;\n flex-direction: column;\n min-block-size: 0;\n padding: var(--pm-space-2);\n padding-block-end: calc(var(--pm-space-2) + env(safe-area-inset-bottom, 0px));\n}\n\n/* options — Select's item recipe with the check column, as in Combobox ------- */\n\n.option {\n composes: stateFeedback from '../conventions/motion.module.css';\n display: flex;\n gap: var(--pm-space-2);\n align-items: center;\n min-block-size: var(--pm-control-height-sm);\n padding-inline: var(--pm-space-3);\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-primary);\n cursor: pointer;\n user-select: none;\n border-radius: var(--pm-radius-sm);\n outline: none;\n}\n\n/* The check column is reserved on every row, so labels do not shift as checks appear\n and disappear. */\n.check {\n composes: stateFeedback from '../conventions/motion.module.css';\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n inline-size: var(--pm-icon-size-sm);\n}\n\n.text {\n display: flex;\n flex-direction: column;\n justify-content: center;\n min-inline-size: 0;\n}\n\n.optionLabel {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n/* A two-line option grows to fit; the check column is unchanged. */\n.description {\n composes: stateFeedback from '../conventions/motion.module.css';\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n line-height: var(--pm-text-xs-line-height);\n letter-spacing: var(--pm-text-xs-tracking);\n color: var(--pm-text-muted);\n}\n\n/* `data-highlighted` marks both the keyboard and the pointer position. It is a\n transient tint, not the selection (Menu's law). The check column shows what is\n chosen, so the two states cannot be confused. */\n.option[data-highlighted] {\n color: var(--pm-accent-text);\n background: var(--pm-accent-subtle);\n}\n\n.option[data-highlighted] .description {\n color: inherit;\n}\n\n/* At the maximum every unchecked row is disabled and looks disabled. */\n.option[data-disabled] {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n background: transparent;\n}\n\n.option[data-disabled] .description {\n color: var(--pm-text-disabled);\n}\n\n/* The label keeps the primary colour when chosen. The check shows the selection\n (Select's law). */\n.option[data-state='checked'] .check {\n color: var(--pm-accent-text);\n}\n\n/* Both containers. The sheet uses the same rows with the same size steps. */\n.content[data-size='sm'] .option,\n.sheetBody[data-size='sm'] .option {\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n line-height: var(--pm-text-xs-line-height);\n letter-spacing: var(--pm-text-xs-tracking);\n}\n\n.content[data-size='lg'] .option,\n.sheetBody[data-size='lg'] .option {\n font-family: var(--pm-text-md-family);\n font-size: var(--pm-text-md-size);\n font-weight: var(--pm-text-md-weight);\n line-height: var(--pm-text-md-line-height);\n letter-spacing: var(--pm-text-md-tracking);\n}\n\n/* async rows — copied from Combobox ------------------------------------------ */\n\n/* Three placeholder rows at option height instead of a centred spinner. The panel keeps\n its size, so the layout does not jump when results arrive. */\n.rows {\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-1);\n}\n\n.row {\n display: flex;\n align-items: center;\n block-size: var(--pm-control-height-sm);\n padding-inline: var(--pm-space-3);\n}\n\n/* The empty state is one line of text, not an illustration. */\n.empty {\n display: flex;\n align-items: center;\n justify-content: center;\n block-size: var(--pm-control-height-sm);\n padding-inline: var(--pm-space-3);\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-muted);\n}\n\n/* The conventions' focus-zoom floor for phones. Below `30rem` the `<input>` uses the md\n size and line height so iOS does not zoom the page on focus. Only those two metrics\n change. Colour, weight and tracking stay the same, and nothing else moves. */\n@media (width < 30rem) {\n .input {\n font-size: var(--pm-text-entry-size);\n line-height: var(--pm-text-entry-line-height);\n }\n}\n\n/* Reduced-motion versions (motion.md). The chevron still rotates, without a transition,\n because the rotation shows open or closed. Removing it would remove state, not just\n motion. `scale-fade` becomes `fade` with the same durations. */\n@media (prefers-reduced-motion: reduce) {\n .chevron {\n transition: none;\n }\n\n @keyframes multi-select-content-enter {\n from {\n opacity: 0;\n }\n }\n\n @keyframes multi-select-content-exit {\n to {\n opacity: 0;\n }\n }\n}\n\n/* While the sheet is open, the field sits on the sheet's layer, as in Combobox. The\n * in-page part rises one step above the overlay layer so taps on the chips or the\n * input reach them. The scrim catches every other tap. */\n.field[data-sheeting] {\n z-index: calc(var(--pm-z-overlay) + var(--pm-z-raise));\n}\n\n/* Glass (`depth: glass`). The pane uses the surface role at the engine's mix\n (`--pm-material-surface`). The material separates the pane from the page instead of\n a lighter overlay step: the backdrop shows through as a blurred, saturated tint. The\n glass law checks the mix's contrast over worst-case backdrops, and recipes only\n apply it. */\n@container style(--pm-axis-depth: glass) {\n .content {\n background: var(--pm-material-surface);\n backdrop-filter: blur(var(--pm-material-blur)) saturate(var(--pm-material-saturate));\n }\n}\n"],"mappings":""}
1
+ {"version":3,"file":"multi-select.module.js","names":[],"sources":["../../../../recipes/src/controls/multi-select.module.css"],"sourcesContent":["/* MultiSelect — `design/components/multi-select.md`.\n *\n * The recipe copies two others instead of composing them. The field is TagInput's\n * container: Input's recipe in every state, but growing in height. The panel is Select's\n * content recipe, as Combobox uses it. The completeness law checks each component's own\n * stylesheet, so each member keeps its own copy of the rules it uses. Combobox makes the\n * same choice for the same reason.\n *\n * `var(--radix-popover-*)` values are measured by the positioning engine at runtime. No\n * one authors them, so the token law allows that namespace. */\n\n.field {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback from '../conventions/motion.module.css';\n position: relative;\n display: flex;\n flex-wrap: wrap;\n gap: var(--pm-space-1);\n align-items: center;\n min-block-size: var(--pm-control-height-md);\n padding: var(--pm-space-1) var(--pm-space-2);\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-primary);\n cursor: text;\n background: var(--pm-bg-surface);\n border: 1px solid var(--pm-border-field);\n border-radius: var(--pm-radius-control);\n\n /* The control seat shadow, from Input, used by every field in the family. */\n box-shadow: var(--pm-shadow-seat);\n}\n\n/* The chips are a real `<ul>` that screen readers announce, but not a layout box.\n `display: contents` puts them into the field's wrapping flow (as in TagInput). */\n.chips {\n display: contents;\n}\n\n.chip {\n display: inline-flex;\n gap: var(--pm-space-1);\n align-items: center;\n block-size: calc(var(--pm-control-height-sm) - var(--pm-space-2));\n padding-inline: var(--pm-space-2);\n background: var(--pm-bg-subtle);\n border: 1px solid var(--pm-border-subtle);\n border-radius: var(--pm-radius-pill);\n}\n\n/* A long label is truncated with an ellipsis so the field does not grow a third row. */\n.label {\n max-inline-size: calc(var(--pm-space-10) * 2);\n overflow: hidden;\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-primary);\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n/* The labelled remove button, as in TagInput. It has its own focus ring and is square\n at the chip's full height. The minimum target size comes from a negative inset on\n `::before`, not from layout. */\n.remove {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback pressable from '../conventions/motion.module.css';\n position: relative;\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n align-self: stretch;\n aspect-ratio: 1;\n padding: 0;\n color: var(--pm-text-muted);\n cursor: pointer;\n background: transparent;\n border: 0;\n border-radius: var(--pm-radius-pill);\n}\n\n.remove::before {\n position: absolute;\n inset: calc((100% - var(--pm-control-height-sm)) / 2);\n content: '';\n}\n\n.remove:hover {\n color: var(--pm-danger-text);\n}\n\n/* During keyboard navigation, the chip that holds focus shows it on its border. */\n.chip:focus-within {\n border-color: var(--pm-border-focus-solid);\n}\n\n/* Unstyled, with the field's type. `font: inherit` keeps the caret on the type scale\n at every size. */\n.input {\n flex: 1;\n min-inline-size: calc(var(--pm-space-10) / 2);\n padding: 0;\n font: inherit;\n color: inherit;\n background: transparent;\n border: 0;\n outline: none;\n}\n\n/* Firefox dims placeholders by default. The muted colour already marks them, so the\n opacity is reset to avoid dimming twice. */\n.input::placeholder {\n color: var(--pm-text-muted);\n opacity: 1;\n}\n\n/* Combobox's chevron. It is muted and rotates while the panel is open. Motion binding\n `select.chevron`: transform, control class, `standard` easing. */\n.chevron {\n composes: focusRing from '../conventions/focus.module.css';\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n padding: 0;\n color: var(--pm-text-muted);\n cursor: pointer;\n background: transparent;\n border: 0;\n border-radius: var(--pm-radius-sm);\n transition: transform var(--pm-motion-duration-control) var(--pm-motion-easing-standard);\n}\n\n/* Motion binding `combobox.glyph`: `fade`, control class. The glyph element is replaced\n when loading starts and ends, so only the enter is animated. */\n.chevron svg {\n animation: multi-select-glyph-enter var(--pm-motion-duration-control)\n var(--pm-motion-easing-enter);\n}\n\n@keyframes multi-select-glyph-enter {\n from {\n opacity: 0;\n }\n}\n\n/* The loading glyph spins, as Button's spinner does. The motion module owns its period,\n its inverse temperament scaling and the three ways it is switched off. */\n.spinner {\n composes: spin from '../conventions/motion.module.css';\n display: inline-flex;\n}\n\n/* Screen-reader-only text: the count and maximum sentence, and the removal\n announcements (as in TagInput). */\n.reader {\n composes: visuallyHidden from '../conventions/a11y.module.css';\n}\n\n/* The single async live region (as in Combobox). It is hidden by clipping, not by\n `display: none`, because `display: none` would stop announcements. */\n.status {\n position: absolute;\n inline-size: 1px;\n block-size: 1px;\n padding: 0;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n}\n\n/* sizes — container min-height steps, chips stay one size (conventions) ----- */\n\n.field[data-size='sm'] {\n min-block-size: var(--pm-control-height-sm);\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n line-height: var(--pm-text-xs-line-height);\n letter-spacing: var(--pm-text-xs-tracking);\n}\n\n.field[data-size='lg'] {\n min-block-size: var(--pm-control-height-lg);\n font-family: var(--pm-text-md-family);\n font-size: var(--pm-text-md-size);\n font-weight: var(--pm-text-md-weight);\n line-height: var(--pm-text-md-line-height);\n letter-spacing: var(--pm-text-md-tracking);\n}\n\n/* field states --------------------------------------------------------------- */\n\n.field[data-invalid] {\n border-color: var(--pm-danger-border);\n}\n\n/* The refusal flash, copied from TagInput's `tag-input-refusal` (the \"Refusal is\n answered\" rule). The border turns danger and back once over the control duration. It\n changes colour only. At `none` the duration token is 0, so there is no flash and the\n announcement alone reports the refusal. */\n@keyframes multi-select-refusal {\n 50% {\n border-color: var(--pm-danger-border);\n }\n}\n\n.field[data-refused] {\n animation: multi-select-refusal var(--pm-motion-duration-control) var(--pm-motion-easing-standard);\n}\n\n.field[data-disabled] {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n background: var(--pm-bg-subtle);\n border-color: var(--pm-border-subtle);\n\n /* The seat shadow signals a ready control, so disabled removes it (as in Input). */\n box-shadow: none;\n}\n\n.field[data-disabled] .label {\n color: var(--pm-text-disabled);\n}\n\n.field[data-disabled] .chevron {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n}\n\n/* At the maximum. The field stays focusable, but no more values can be added, so the\n text cursor is removed. */\n.field[data-at-max] {\n cursor: default;\n}\n\n/* While open, the field keeps the hover border so it does not flicker back to rest.\n Invalid fields are excluded rather than overridden (as in Combobox). */\n.field[data-state='open']:not([data-invalid]) {\n border-color: var(--pm-border-strong);\n}\n\n.field:hover:not([data-disabled], [data-invalid]) {\n border-color: var(--pm-border-strong);\n}\n\n.field[data-state='open'] .chevron {\n transform: rotate(180deg);\n}\n\n/* While a query is loading the glyph is a spinner, and it does not rotate with the\n panel, so the control shows one state at a time. */\n.field[data-loading] .chevron {\n transform: none;\n}\n\n/* A chip that is being removed cannot be clicked again (the interruption laws in\n motion.md). */\n.chip[data-removing] {\n pointer-events: none;\n}\n\n/* panel — Select's content recipe, copied as in Combobox --------------------- */\n\n.content {\n display: flex;\n flex-direction: column;\n\n /* `overlay` from the stacking scale. The popper copies it onto its wrapper\n (menu.module.css explains how). */\n z-index: var(--pm-z-overlay);\n min-inline-size: var(--radix-popover-trigger-width);\n max-block-size: var(--radix-popover-content-available-height);\n padding: var(--pm-space-2);\n overflow: hidden;\n background: var(--pm-bg-overlay);\n border: 1px solid var(--pm-border-subtle);\n border-radius: var(--pm-radius-surface);\n box-shadow: var(--pm-shadow-transient);\n transform-origin: var(--radix-popover-content-transform-origin);\n}\n\n/* Motion binding `combobox.popup`: `scale-fade`, surface class, anchored origin. It is\n the same as Select's. Radix keeps the node mounted for the closed animation, so the\n exit animates instead of cutting. */\n.content[data-state='open'] {\n animation: multi-select-content-enter var(--pm-motion-duration-surface)\n var(--pm-motion-easing-enter);\n}\n\n.content[data-state='closed'] {\n animation: multi-select-content-exit var(--pm-motion-duration-surface-exit)\n var(--pm-motion-easing-exit);\n}\n\n@keyframes multi-select-content-enter {\n from {\n opacity: 0;\n transform: scale(0.94);\n }\n}\n\n@keyframes multi-select-content-exit {\n to {\n opacity: 0;\n transform: scale(0.94);\n }\n}\n\n.listbox {\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-1);\n min-block-size: 0;\n padding: 0;\n margin: 0;\n overflow-y: auto;\n list-style: none;\n outline: none;\n}\n\n/* The sheet below 30rem (the conventions' sheet presentation), copied from Combobox.\n It keeps the popper panel's `--pm-space-2` inset, the listbox scrolls under the\n sheet's height cap, and the safe-area inset adds to this member's own edge padding.\n The popper rules do not apply because there is no anchor. */\n.sheetBody {\n display: flex;\n flex-direction: column;\n min-block-size: 0;\n padding: var(--pm-space-2);\n padding-block-end: calc(var(--pm-space-2) + env(safe-area-inset-bottom, 0px));\n}\n\n/* options — Select's item recipe with the check column, as in Combobox ------- */\n\n.option {\n composes: stateFeedback from '../conventions/motion.module.css';\n display: flex;\n gap: var(--pm-space-2);\n align-items: center;\n min-block-size: var(--pm-control-height-sm);\n padding-inline: var(--pm-space-3);\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-primary);\n cursor: pointer;\n user-select: none;\n border-radius: var(--pm-radius-sm);\n outline: none;\n}\n\n/* The check column is reserved on every row, so labels do not shift as checks appear\n and disappear. */\n.check {\n composes: stateFeedback from '../conventions/motion.module.css';\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n inline-size: var(--pm-icon-size-sm);\n}\n\n.text {\n display: flex;\n flex-direction: column;\n justify-content: center;\n min-inline-size: 0;\n}\n\n.optionLabel {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n/* A two-line option grows to fit; the check column is unchanged. */\n.description {\n composes: stateFeedback from '../conventions/motion.module.css';\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n line-height: var(--pm-text-xs-line-height);\n letter-spacing: var(--pm-text-xs-tracking);\n color: var(--pm-text-muted);\n}\n\n/* `data-highlighted` marks both the keyboard and the pointer position. It is a\n transient tint, not the selection (Menu's law). The check column shows what is\n chosen, so the two states cannot be confused. */\n.option[data-highlighted] {\n color: var(--pm-accent-text);\n background: var(--pm-accent-subtle);\n}\n\n.option[data-highlighted] .description {\n color: inherit;\n}\n\n/* At the maximum every unchecked row is disabled and looks disabled. */\n.option[data-disabled] {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n background: transparent;\n}\n\n.option[data-disabled] .description {\n color: var(--pm-text-disabled);\n}\n\n/* The label keeps the primary colour when chosen. The check shows the selection\n (Select's law). */\n.option[data-state='checked'] .check {\n color: var(--pm-accent-text);\n}\n\n/* A chosen option that is disabled fades its check with its label. */\n.option[data-disabled] .check {\n color: var(--pm-text-disabled);\n}\n\n/* Both containers. The sheet uses the same rows with the same size steps. */\n.content[data-size='sm'] .option,\n.sheetBody[data-size='sm'] .option {\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n line-height: var(--pm-text-xs-line-height);\n letter-spacing: var(--pm-text-xs-tracking);\n}\n\n.content[data-size='lg'] .option,\n.sheetBody[data-size='lg'] .option {\n font-family: var(--pm-text-md-family);\n font-size: var(--pm-text-md-size);\n font-weight: var(--pm-text-md-weight);\n line-height: var(--pm-text-md-line-height);\n letter-spacing: var(--pm-text-md-tracking);\n}\n\n/* async rows — copied from Combobox ------------------------------------------ */\n\n/* Three placeholder rows at option height instead of a centred spinner. The panel keeps\n its size, so the layout does not jump when results arrive. */\n.rows {\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-1);\n}\n\n.row {\n display: flex;\n align-items: center;\n block-size: var(--pm-control-height-sm);\n padding-inline: var(--pm-space-3);\n}\n\n/* The empty state is one line of text, not an illustration. */\n.empty {\n display: flex;\n align-items: center;\n justify-content: center;\n block-size: var(--pm-control-height-sm);\n padding-inline: var(--pm-space-3);\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-muted);\n}\n\n/* The conventions' focus-zoom floor for phones. Below `30rem` the `<input>` uses the md\n size and line height so iOS does not zoom the page on focus. Only those two metrics\n change. Colour, weight and tracking stay the same, and nothing else moves. */\n@media (width < 30rem) {\n .input {\n font-size: var(--pm-text-entry-size);\n line-height: var(--pm-text-entry-line-height);\n }\n}\n\n/* Reduced-motion versions (motion.md). The chevron still rotates, without a transition,\n because the rotation shows open or closed. Removing it would remove state, not just\n motion. `scale-fade` becomes `fade` with the same durations. */\n@media (prefers-reduced-motion: reduce) {\n .chevron {\n transition: none;\n }\n\n @keyframes multi-select-content-enter {\n from {\n opacity: 0;\n }\n }\n\n @keyframes multi-select-content-exit {\n to {\n opacity: 0;\n }\n }\n}\n\n/* While the sheet is open, the field sits on the sheet's layer, as in Combobox. The\n * in-page part rises one step above the overlay layer so taps on the chips or the\n * input reach them. The scrim catches every other tap. */\n.field[data-sheeting] {\n z-index: calc(var(--pm-z-overlay) + var(--pm-z-raise));\n}\n\n/* Glass (`depth: glass`). The pane uses the surface role at the engine's mix\n (`--pm-material-surface`). The material separates the pane from the page instead of\n a lighter overlay step: the backdrop shows through as a blurred, saturated tint. The\n glass law checks the mix's contrast over worst-case backdrops, and recipes only\n apply it. */\n@container style(--pm-axis-depth: glass) {\n .content {\n background: var(--pm-material-surface);\n backdrop-filter: blur(var(--pm-material-blur)) saturate(var(--pm-material-saturate));\n }\n}\n"],"mappings":""}
@@ -1,5 +1,5 @@
1
1
  //#region ../recipes/src/controls/number-input.module.css
2
- var e = "_field_iyg7s_14 _focusRing_1lfnc_15 _stateFeedback_lkjqs_17", t = "_input_iyg7s_40", n = "_affix_iyg7s_61 _stateFeedback_lkjqs_17", r = "_steppers_iyg7s_69", i = "_stepper_iyg7s_69 _focusRing_1lfnc_15 _stateFeedback_lkjqs_17 _pressable_lkjqs_38", a = {
2
+ var e = "_field_wy2ye_14 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17", t = "_input_wy2ye_42", n = "_affix_wy2ye_64 _stateFeedback_lkjqs_17", r = "_steppers_wy2ye_72", i = "_stepper_wy2ye_72 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17 _pressable_lkjqs_38", a = {
3
3
  field: e,
4
4
  input: t,
5
5
  affix: n,
@@ -1 +1 @@
1
- {"version":3,"file":"number-input.module.js","names":[],"sources":["../../../../recipes/src/controls/number-input.module.css"],"sourcesContent":["/* NumberInput — `design/components/number-input.md`.\n *\n * Input's container, holding a parsed number instead of a string. The rules are copied\n * rather than shared, for the same reason as in DatePicker: the completeness law checks\n * each component's own stylesheet, and the browser test compares the computed styles of\n * the two, which is the stronger check.\n *\n * The steppers are the only new part. Each uses the clear button's embedded-adornment\n * recipe. The clear button is a square the field's height, which suits a single\n * embedded action. Two such squares would take a third of an `lg` field. So each stepper\n * is exactly the minimum target size in its narrow dimension: `--pm-control-height-sm`\n * wide and the field's height tall. */\n\n.field {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback from '../conventions/motion.module.css';\n display: inline-flex;\n gap: var(--pm-space-3);\n align-items: center;\n max-inline-size: 100%;\n block-size: var(--pm-control-height-md);\n padding-inline: var(--pm-space-5);\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-primary);\n cursor: text;\n background: var(--pm-bg-surface);\n border: 1px solid var(--pm-border-field);\n border-radius: var(--pm-radius-control);\n\n /* The control seat shadow, from Input, used by every field in the family. */\n box-shadow: var(--pm-shadow-seat);\n}\n\n/* Transparent, borderless, with the container's type, copied from Input's inner\n element. Digits keep their width as they change. */\n.input {\n flex: 1;\n min-inline-size: 0;\n padding: 0;\n font: inherit;\n color: inherit;\n background: transparent;\n border: 0;\n outline: none;\n font-variant-numeric: var(--pm-font-numeric);\n}\n\n/* Firefox dims placeholders by default. The muted colour already marks them, so the\n opacity is reset to avoid dimming twice. */\n.input::placeholder {\n color: var(--pm-text-muted);\n opacity: 1;\n}\n\n/* The static affix, next to the value at the same size step and muted so it does not\n compete with the value. */\n.affix {\n composes: stateFeedback from '../conventions/motion.module.css';\n flex: none;\n color: var(--pm-text-muted);\n}\n\n/* The stepper pair, at the end inside the frame. The buttons touch so the pair reads as\n one control with two ends, not two separate buttons. */\n.steppers {\n display: inline-flex;\n flex: none;\n align-self: stretch;\n align-items: stretch;\n}\n\n/* The clear button's embedded-adornment recipe, on each stepper. Muted at rest. On hover\n it turns primary on a `bg-subtle` background, with its own `sm` radius inside the\n field's `md`. It has press feedback and the focus ring. */\n.stepper {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback pressable from '../conventions/motion.module.css';\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n inline-size: var(--pm-control-height-sm);\n padding: 0;\n color: var(--pm-text-muted);\n cursor: pointer;\n background: transparent;\n border: 0;\n border-radius: var(--pm-radius-sm);\n}\n\n/* At a limit, the substrate disables the stepper that cannot move, and the other keeps\n working. The disabled one has no hover background and no press feedback. This rule\n comes before hover and still applies, because the hover rule below uses\n `:not(:disabled)` instead of relying on higher specificity (as in Button). */\n.stepper:disabled {\n color: var(--pm-text-disabled);\n cursor: default;\n background: transparent;\n}\n\n.stepper:hover:not(:disabled) {\n color: var(--pm-text-primary);\n background: var(--pm-bg-subtle);\n}\n\n/* sizes — the conventions' size system -------------------------------------- */\n\n.field[data-size='sm'] {\n gap: var(--pm-space-2);\n block-size: var(--pm-control-height-sm);\n padding-inline: var(--pm-space-4);\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n line-height: var(--pm-text-xs-line-height);\n letter-spacing: var(--pm-text-xs-tracking);\n}\n\n.field[data-size='lg'] {\n block-size: var(--pm-control-height-lg);\n padding-inline: var(--pm-space-6);\n font-family: var(--pm-text-md-family);\n font-size: var(--pm-text-md-size);\n font-weight: var(--pm-text-md-weight);\n line-height: var(--pm-text-md-line-height);\n letter-spacing: var(--pm-text-md-tracking);\n}\n\n/* states -------------------------------------------------------------------- */\n\n.field[data-invalid] {\n border-color: var(--pm-danger-border);\n}\n\n.field[data-readonly] {\n color: var(--pm-text-secondary);\n}\n\n/* Input's disabled rule. The steppers are disabled with the field, and the frame keeps\n its shape (PasswordInput's law). */\n.field[data-disabled] {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n background: var(--pm-bg-subtle);\n border-color: var(--pm-border-subtle);\n\n /* The seat shadow signals a ready control, so disabled removes it (as in Input). */\n box-shadow: none;\n}\n\n.field[data-disabled] .affix {\n color: var(--pm-text-disabled);\n}\n\n/* Invalid is excluded rather than overridden, so the error border stays on hover. */\n.field:hover:not([data-disabled], [data-readonly], [data-invalid]) {\n border-color: var(--pm-border-strong);\n}\n\n/* The conventions' focus-zoom floor for phones. Below `30rem` the `<input>` uses the md\n size and line height so iOS does not zoom the page on focus. Only those two metrics\n change. Colour, weight and tracking stay the same, and nothing else moves. The\n steppers are buttons, so they do not change. */\n@media (width < 30rem) {\n .input {\n font-size: var(--pm-text-entry-size);\n line-height: var(--pm-text-entry-line-height);\n }\n}\n"],"mappings":""}
1
+ {"version":3,"file":"number-input.module.js","names":[],"sources":["../../../../recipes/src/controls/number-input.module.css"],"sourcesContent":["/* NumberInput — `design/components/number-input.md`.\n *\n * Input's container, holding a parsed number instead of a string. The rules are copied\n * rather than shared, for the same reason as in DatePicker: the completeness law checks\n * each component's own stylesheet, and the browser test compares the computed styles of\n * the two, which is the stronger check.\n *\n * The steppers are the only new part. Each uses the clear button's embedded-adornment\n * recipe. The clear button is a square the field's height, which suits a single\n * embedded action. Two such squares would take a third of an `lg` field. So each stepper\n * is exactly the minimum target size in its narrow dimension: `--pm-control-height-sm`\n * wide and the field's height tall. */\n\n.field {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback from '../conventions/motion.module.css';\n display: inline-flex;\n gap: var(--pm-space-3);\n align-items: center;\n max-inline-size: 100%;\n block-size: var(--pm-control-height-md);\n padding-inline: var(--pm-space-5);\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-primary);\n cursor: text;\n background: var(--pm-bg-surface);\n border: 1px solid var(--pm-border-field);\n border-radius: var(--pm-radius-control);\n\n /* The control seat shadow, from Input, used by every field in the family. */\n box-shadow: var(--pm-shadow-seat);\n}\n\n/* Transparent, borderless, with the container's type, copied from Input's inner\n element. Digits keep their width as they change. In a narrow field the value\n gives way, as in Input: the affixes and the steppers keep their width, and a\n value cut short ends in an ellipsis while the field is not focused. */\n.input {\n flex: 1;\n min-inline-size: 0;\n padding: 0;\n font: inherit;\n color: inherit;\n text-overflow: ellipsis;\n background: transparent;\n border: 0;\n outline: none;\n font-variant-numeric: var(--pm-font-numeric);\n}\n\n/* Firefox dims placeholders by default. The muted colour already marks them, so the\n opacity is reset to avoid dimming twice. */\n.input::placeholder {\n color: var(--pm-text-muted);\n opacity: 1;\n}\n\n/* The static affix, next to the value at the same size step and muted so it does not\n compete with the value. */\n.affix {\n composes: stateFeedback from '../conventions/motion.module.css';\n flex: none;\n color: var(--pm-text-muted);\n}\n\n/* The stepper pair, at the end inside the frame. The buttons touch so the pair reads as\n one control with two ends, not two separate buttons. */\n.steppers {\n display: inline-flex;\n flex: none;\n align-self: stretch;\n align-items: stretch;\n}\n\n/* The clear button's embedded-adornment recipe, on each stepper. Muted at rest. On hover\n it turns primary on a `bg-subtle` background, with its own `sm` radius inside the\n field's `md`. It has press feedback and the focus ring. */\n.stepper {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback pressable from '../conventions/motion.module.css';\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n inline-size: var(--pm-control-height-sm);\n padding: 0;\n color: var(--pm-text-muted);\n cursor: pointer;\n background: transparent;\n border: 0;\n border-radius: var(--pm-radius-sm);\n}\n\n/* At a limit, the substrate disables the stepper that cannot move, and the other keeps\n working. The disabled one has no hover background and no press feedback. This rule\n comes before hover and still applies, because the hover rule below uses\n `:not(:disabled)` instead of relying on higher specificity (as in Button). */\n.stepper:disabled {\n color: var(--pm-text-disabled);\n cursor: default;\n background: transparent;\n}\n\n.stepper:hover:not(:disabled) {\n color: var(--pm-text-primary);\n background: var(--pm-bg-subtle);\n}\n\n/* sizes — the conventions' size system -------------------------------------- */\n\n.field[data-size='sm'] {\n gap: var(--pm-space-2);\n block-size: var(--pm-control-height-sm);\n padding-inline: var(--pm-space-4);\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n line-height: var(--pm-text-xs-line-height);\n letter-spacing: var(--pm-text-xs-tracking);\n}\n\n.field[data-size='lg'] {\n block-size: var(--pm-control-height-lg);\n padding-inline: var(--pm-space-6);\n font-family: var(--pm-text-md-family);\n font-size: var(--pm-text-md-size);\n font-weight: var(--pm-text-md-weight);\n line-height: var(--pm-text-md-line-height);\n letter-spacing: var(--pm-text-md-tracking);\n}\n\n/* states -------------------------------------------------------------------- */\n\n.field[data-invalid] {\n border-color: var(--pm-danger-border);\n}\n\n.field[data-readonly] {\n color: var(--pm-text-secondary);\n}\n\n/* Input's disabled rule. The steppers are disabled with the field, and the frame keeps\n its shape (PasswordInput's law). */\n.field[data-disabled] {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n background: var(--pm-bg-subtle);\n border-color: var(--pm-border-subtle);\n\n /* The seat shadow signals a ready control, so disabled removes it (as in Input). */\n box-shadow: none;\n}\n\n.field[data-disabled] .affix {\n color: var(--pm-text-disabled);\n}\n\n/* Invalid is excluded rather than overridden, so the error border stays on hover. */\n.field:hover:not([data-disabled], [data-readonly], [data-invalid]) {\n border-color: var(--pm-border-strong);\n}\n\n/* The conventions' focus-zoom floor for phones. Below `30rem` the `<input>` uses the md\n size and line height so iOS does not zoom the page on focus. Only those two metrics\n change. Colour, weight and tracking stay the same, and nothing else moves. The\n steppers are buttons, so they do not change. */\n@media (width < 30rem) {\n .input {\n font-size: var(--pm-text-entry-size);\n line-height: var(--pm-text-entry-line-height);\n }\n}\n"],"mappings":""}
@@ -1,10 +1,10 @@
1
1
  //#region ../recipes/src/controls/otp-input.module.css
2
- var e = "_root_alk4m_14", t = "_input_alk4m_26", n = "_cell_alk4m_44", r = "_digit_alk4m_61", i = {
2
+ var e = "_root_1ixgu_14", t = "_input_1ixgu_26", n = "_cell_1ixgu_44", r = "_digit_1ixgu_61", i = {
3
3
  root: e,
4
4
  input: t,
5
5
  cell: n,
6
6
  digit: r,
7
- "otp-digit-enter": "_otp-digit-enter_alk4m_1"
7
+ "otp-digit-enter": "_otp-digit-enter_1ixgu_1"
8
8
  };
9
9
  //#endregion
10
10
  export { n as cell, i as default, r as digit, t as input, e as root };
@@ -1 +1 @@
1
- {"version":3,"file":"otp-input.module.js","names":[],"sources":["../../../../recipes/src/controls/otp-input.module.css"],"sourcesContent":["/* OTPInput — `design/components/otp-input.md`.\n *\n * The cells are drawn over one real input. The input is invisible, with transparent\n * text and caret. It is never `display: none`, because it must stay focusable and\n * receive every pointer event. Each cell draws one character of its value. Cells use\n * the size table's `lg` row, the most comfortable touch size, because people often\n * retype the code from memory on a phone. There is one size and no `size` prop, because\n * the code is usually the only field on its page.\n *\n * There is no hover style, on purpose. All cells are one target, and a hover style on a\n * single cell would suggest per-cell focus, which does not exist. The `cursor: text`\n * over the group shows that it accepts input. */\n\n.root {\n position: relative;\n display: inline-flex;\n min-inline-size: 0;\n max-inline-size: 100%;\n gap: var(--pm-space-3);\n cursor: text;\n}\n\n/* The real input. Invisible and covering the whole group, it is the only focusable\n element and the only pointer target. The drawn cells ignore the pointer, so every\n press lands here. */\n.input {\n position: absolute;\n inset: 0;\n inline-size: 100%;\n block-size: 100%;\n padding: 0;\n font-size: var(--pm-text-sm-size);\n line-height: var(--pm-text-sm-line-height);\n color: transparent;\n caret-color: transparent;\n background: transparent;\n border: 0;\n outline: none;\n}\n\n/* Input's rest style, copied: surface, default border, the control seat shadow and the\n control radius, as a square at the lg control height. Visual only. The pointer passes\n through to the input that covers the group. */\n.cell {\n display: inline-flex;\n flex: 0 1 var(--pm-control-height-lg);\n min-inline-size: 0;\n align-items: center;\n justify-content: center;\n inline-size: var(--pm-control-height-lg);\n block-size: var(--pm-control-height-lg);\n pointer-events: none;\n background: var(--pm-bg-surface);\n border: 1px solid var(--pm-border-field);\n border-radius: var(--pm-radius-control);\n box-shadow: var(--pm-shadow-seat);\n}\n\n/* The digit uses the md text style (the lg size's text step) and the theme's numeric\n figures. */\n.digit {\n font-family: var(--pm-text-md-family);\n font-size: var(--pm-text-md-size);\n font-weight: var(--pm-text-md-weight);\n line-height: var(--pm-text-md-line-height);\n letter-spacing: var(--pm-text-md-tracking);\n color: var(--pm-text-primary);\n font-variant-numeric: var(--pm-font-numeric);\n}\n\n/* A new digit fades in at the control duration, like Input's clear button, which is the\n smallest entrance the system has. The animation is keyed on the filled cell, because\n that is what changed. Paste fills every cell in the same frame, with no stagger. The\n caret moves with the user's keystroke and is never animated (Slider's rule for\n direct manipulation). */\n.cell[data-filled] > .digit {\n animation: otp-digit-enter var(--pm-motion-duration-control) var(--pm-motion-easing-enter);\n}\n\n@keyframes otp-digit-enter {\n from {\n opacity: 0;\n }\n}\n\n/* The only allowed proxy focus ring. The focus ring's declarations are repeated on the\n caret cell, because the focused element is invisible on purpose and the cell stands\n in for it. It depends on the root's real focus, so the ring cannot remain after\n focus leaves. */\n.root:focus-within .cell[data-caret] {\n outline: var(--pm-focus-width) solid var(--pm-border-focus);\n outline-offset: var(--pm-focus-offset);\n}\n\n/* The active cell also takes the ring's colour as its border. This is a separate rule\n with the focus module's invalid guard, because the caret selector is more specific\n than the danger rule below, and a wrong code must keep the danger border under the\n caret too. */\n.root:focus-within:not([data-invalid]) .cell[data-caret] {\n border-color: var(--pm-border-focus-solid);\n}\n\n/* The field style, as the focus convention draws it, where the system chooses it\n (`overrides.focus.field: border`, the flag `--pm-focus-field`): the caret cell's outline moves\n inside its edge by its width and takes the solid focus colour. The cell keeps its seat shadow.\n A wrong code keeps the ring, so the danger border stays visible. */\n@container style(--pm-focus-field: border) {\n .root:focus-within:not([data-invalid]) .cell[data-caret] {\n outline-color: var(--pm-border-focus-solid);\n outline-offset: calc(var(--pm-focus-width) * -1);\n }\n}\n\n/* The whole code is wrong, not one digit, so every cell shows the error (as in Input).\n The ring on the caret cell is unchanged. */\n.root[data-invalid] .cell {\n border-color: var(--pm-danger-border);\n}\n\n/* Input's disabled style, copied, on each cell. */\n.root[data-disabled] {\n cursor: not-allowed;\n}\n\n.root[data-disabled] .cell {\n background: var(--pm-bg-subtle);\n border-color: var(--pm-border-subtle);\n box-shadow: none;\n}\n\n.root[data-disabled] .digit {\n color: var(--pm-text-disabled);\n}\n\n/* The conventions' focus-zoom floor for phones. Below `30rem` the `<input>` uses the md\n size and line height. It is invisible but it is focused, and the browser reads its\n computed size to decide whether to zoom. The drawn digits stay at `text.md` and do not\n change. */\n@media (width < 30rem) {\n .input {\n font-size: var(--pm-text-entry-size);\n line-height: var(--pm-text-entry-line-height);\n }\n}\n\n/* Reduced motion: everything is instant. The border change and FormField's error\n message report problems, and there is deliberately no shake animation. */\n@media (prefers-reduced-motion: reduce) {\n .cell[data-filled] > .digit {\n animation: none;\n }\n}\n"],"mappings":""}
1
+ {"version":3,"file":"otp-input.module.js","names":[],"sources":["../../../../recipes/src/controls/otp-input.module.css"],"sourcesContent":["/* OTPInput — `design/components/otp-input.md`.\n *\n * The cells are drawn over one real input. The input is invisible, with transparent\n * text and caret. It is never `display: none`, because it must stay focusable and\n * receive every pointer event. Each cell draws one character of its value. Cells use\n * the size table's `lg` row, the most comfortable touch size, because people often\n * retype the code from memory on a phone. There is one size and no `size` prop, because\n * the code is usually the only field on its page.\n *\n * There is no hover style, on purpose. All cells are one target, and a hover style on a\n * single cell would suggest per-cell focus, which does not exist. The `cursor: text`\n * over the group shows that it accepts input. */\n\n.root {\n position: relative;\n display: inline-flex;\n min-inline-size: 0;\n max-inline-size: 100%;\n gap: var(--pm-space-3);\n cursor: text;\n}\n\n/* The real input. Invisible and covering the whole group, it is the only focusable\n element and the only pointer target. The drawn cells ignore the pointer, so every\n press lands here. */\n.input {\n position: absolute;\n inset: 0;\n inline-size: 100%;\n block-size: 100%;\n padding: 0;\n font-size: var(--pm-text-sm-size);\n line-height: var(--pm-text-sm-line-height);\n color: transparent;\n caret-color: transparent;\n background: transparent;\n border: 0;\n outline: none;\n}\n\n/* Input's rest style, copied: surface, default border, the control seat shadow and the\n control radius, as a square at the lg control height. Visual only. The pointer passes\n through to the input that covers the group. */\n.cell {\n display: inline-flex;\n flex: 0 1 var(--pm-control-height-lg);\n min-inline-size: 0;\n align-items: center;\n justify-content: center;\n inline-size: var(--pm-control-height-lg);\n block-size: var(--pm-control-height-lg);\n pointer-events: none;\n background: var(--pm-bg-surface);\n border: 1px solid var(--pm-border-field);\n border-radius: var(--pm-radius-control);\n box-shadow: var(--pm-shadow-seat);\n}\n\n/* The digit uses the md text style (the lg size's text step) and the theme's numeric\n figures. */\n.digit {\n font-family: var(--pm-text-md-family);\n font-size: var(--pm-text-md-size);\n font-weight: var(--pm-text-md-weight);\n line-height: var(--pm-text-md-line-height);\n letter-spacing: var(--pm-text-md-tracking);\n color: var(--pm-text-primary);\n font-variant-numeric: var(--pm-font-numeric);\n}\n\n/* A new digit fades in at the control duration, like Input's clear button, which is the\n smallest entrance the system has. The animation is keyed on the filled cell, because\n that is what changed. Paste fills every cell in the same frame, with no stagger. The\n caret moves with the user's keystroke and is never animated (Slider's rule for\n direct manipulation). */\n.cell[data-filled] > .digit {\n animation: otp-digit-enter var(--pm-motion-duration-control) var(--pm-motion-easing-enter);\n}\n\n@keyframes otp-digit-enter {\n from {\n opacity: 0;\n }\n}\n\n/* The only allowed proxy focus mark. The focus convention's declarations are repeated on\n the caret cell, because the focused element is invisible on purpose and the cell stands\n in for it. It depends on the root's real focus, so the mark cannot remain after focus\n leaves. The outline is at the system's offset, inside the cell's edge by default. */\n.root:focus-within .cell[data-caret] {\n outline: var(--pm-focus-width) solid var(--pm-border-focus-solid);\n outline-offset: var(--pm-focus-offset);\n}\n\n/* The active cell also takes the focus colour as its border, which shows where a system\n moves the mark outside. This is a separate rule with the focus module's invalid guard,\n because the caret selector is more specific than the danger rule below, and a wrong code\n must keep the danger border under the caret too. */\n.root:focus-within:not([data-invalid]) .cell[data-caret] {\n border-color: var(--pm-border-focus-solid);\n}\n\n/* A wrong code keeps the caret cell's danger border visible: inside the edge, the mark moves\n in past the border, as the convention moves it on an invalid field. */\n@container style(--pm-focus-place: inside) {\n .root[data-invalid]:focus-within .cell[data-caret] {\n outline-offset: calc(var(--pm-focus-offset) - 1px);\n }\n}\n\n/* The field style, as the focus convention draws it, where the system chooses it\n (`overrides.focus.field: border`, the flag `--pm-focus-field`): the caret cell's outline lies\n inside its edge by its width whatever the system's offset, and inside the danger border when\n the code is wrong. */\n@container style(--pm-focus-field: border) {\n .root:focus-within .cell[data-caret] {\n outline-offset: calc(var(--pm-focus-width) * -1);\n }\n\n .root[data-invalid]:focus-within .cell[data-caret] {\n outline-offset: calc(var(--pm-focus-width) * -1 - 1px);\n }\n}\n\n/* The whole code is wrong, not one digit, so every cell shows the error (as in Input).\n The caret cell's mark stays, inside the danger border. */\n.root[data-invalid] .cell {\n border-color: var(--pm-danger-border);\n}\n\n/* Input's disabled style, copied, on each cell. */\n.root[data-disabled] {\n cursor: not-allowed;\n}\n\n.root[data-disabled] .cell {\n background: var(--pm-bg-subtle);\n border-color: var(--pm-border-subtle);\n box-shadow: none;\n}\n\n.root[data-disabled] .digit {\n color: var(--pm-text-disabled);\n}\n\n/* The conventions' focus-zoom floor for phones. Below `30rem` the `<input>` uses the md\n size and line height. It is invisible but it is focused, and the browser reads its\n computed size to decide whether to zoom. The drawn digits stay at `text.md` and do not\n change. */\n@media (width < 30rem) {\n .input {\n font-size: var(--pm-text-entry-size);\n line-height: var(--pm-text-entry-line-height);\n }\n}\n\n/* Reduced motion: everything is instant. The border change and FormField's error\n message report problems, and there is deliberately no shake animation. */\n@media (prefers-reduced-motion: reduce) {\n .cell[data-filled] > .digit {\n animation: none;\n }\n}\n"],"mappings":""}
@@ -1,8 +1,8 @@
1
1
  //#region ../recipes/src/controls/password-input.module.css
2
- var e = "_password_uwpom_9", t = "_toggle_uwpom_34 _clear_hse2b_83 _focusRing_1lfnc_15 _stateFeedback_lkjqs_17 _pressable_lkjqs_38", n = {
2
+ var e = "_password_sk09e_9", t = "_toggle_sk09e_34 _clear_92wpy_89 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17 _pressable_lkjqs_38", n = {
3
3
  password: e,
4
4
  toggle: t,
5
- "password-glyph-enter": "_password-glyph-enter_uwpom_1"
5
+ "password-glyph-enter": "_password-glyph-enter_sk09e_1"
6
6
  };
7
7
  //#endregion
8
8
  export { n as default, e as password, t as toggle };
@@ -1 +1 @@
1
- {"version":3,"file":"password-input.module.js","names":[],"sources":["../../../../recipes/src/controls/password-input.module.css"],"sourcesContent":["/* PasswordInput — `design/components/password-input.md`.\n *\n * The Input inside is the field and keeps its own recipe in every state. This file\n * styles only the toggle, which composes the clear button's embedded-adornment recipe\n * (`input.md`: \"any future control embedded inside another control's frame copies\n * this\"). The toggle never uses `--pm-danger-*` in an invalid field, because it is an\n * action, not a status. That needs no rule here. */\n\n.password {\n display: inline-flex;\n max-inline-size: 100%;\n}\n\n/* The Input inside is the field, so it fills the width this root is given.\n *\n * This passes FormField's stretch down one level (`form-field.module.css`). A\n * column-labelled FormField stretches this root but not its child. Without this rule\n * the Input is a flex item at `flex: 0 1 auto`, sized to its content, so the password\n * field is narrower than the email Input above it (as in AuthPage, this member's main\n * consumer). Shrinking already works, so only growth is set.\n *\n * The selector is `> *` rather than one of Input's. `data-member` is reserved for the\n * exceptions mechanism and recipes may not read it (`no-member-selectors`), Input's\n * classes belong to Input, and this member renders exactly one child. Only grow is set.\n * Basis and shrink stay Input's, so a standalone PasswordInput is exactly as wide as a\n * standalone Input. */\n.password > * {\n flex-grow: 1;\n}\n\n/* The whole clear-button recipe: muted at rest, primary on a `bg-subtle` background at\n `radius-sm` on hover, a focus ring that extends past the frame, press feedback, and\n square at the field's height. */\n.toggle {\n composes: clear from './input.module.css';\n}\n\n/* Input centres its trailing slot and sizes it to its content. The toggle must be a\n square at the input's height, so the slot is stretched from inside, because this\n member cannot reach Input's markup. */\n.password :has(> .toggle) {\n align-self: stretch;\n}\n\n/* A disabled field disables its toggle. Pointer events are off so the hover background\n cannot appear on a control that does not respond (Button's loading rule). The\n field's `not-allowed` cursor already covers the frame. */\n.toggle:disabled {\n color: var(--pm-text-disabled);\n pointer-events: none;\n}\n\n/* The glyph crossfade uses the `input.clear` binding: `fade` at `control`. The new glyph\n is a fresh node, so the enter animation runs on every toggle. There is one rule per\n state so both directions are styled here. The text masking itself changes instantly,\n because text has nothing to transition. `fade` is already its own reduced-motion\n version (motion.md), and at `none` the duration token is 0s. */\n.password[data-state='hidden'] .toggle svg {\n animation: password-glyph-enter var(--pm-motion-duration-control) var(--pm-motion-easing-enter);\n}\n\n.password[data-state='visible'] .toggle svg {\n animation: password-glyph-enter var(--pm-motion-duration-control) var(--pm-motion-easing-enter);\n}\n\n@keyframes password-glyph-enter {\n from {\n opacity: 0;\n }\n}\n"],"mappings":""}
1
+ {"version":3,"file":"password-input.module.js","names":[],"sources":["../../../../recipes/src/controls/password-input.module.css"],"sourcesContent":["/* PasswordInput — `design/components/password-input.md`.\n *\n * The Input inside is the field and keeps its own recipe in every state. This file\n * styles only the toggle, which composes the clear button's embedded-adornment recipe\n * (`input.md`: \"any future control embedded inside another control's frame copies\n * this\"). The toggle never uses `--pm-danger-*` in an invalid field, because it is an\n * action, not a status. That needs no rule here. */\n\n.password {\n display: inline-flex;\n max-inline-size: 100%;\n}\n\n/* The Input inside is the field, so it fills the width this root is given.\n *\n * This passes FormField's stretch down one level (`form-field.module.css`). A\n * column-labelled FormField stretches this root but not its child. Without this rule\n * the Input is a flex item at `flex: 0 1 auto`, sized to its content, so the password\n * field is narrower than the email Input above it (as in AuthPage, this member's main\n * consumer). Shrinking already works, so only growth is set.\n *\n * The selector is `> *` rather than one of Input's. `data-member` is reserved for the\n * exceptions mechanism and recipes may not read it (`no-member-selectors`), Input's\n * classes belong to Input, and this member renders exactly one child. Only grow is set.\n * Basis and shrink stay Input's, so a standalone PasswordInput is exactly as wide as a\n * standalone Input. */\n.password > * {\n flex-grow: 1;\n}\n\n/* The whole clear-button recipe: muted at rest, primary on a `bg-subtle` background at\n `radius-sm` on hover, the focus mark inside its own edge, press feedback, and\n square at the field's height. */\n.toggle {\n composes: clear from './input.module.css';\n}\n\n/* Input centres its trailing slot and sizes it to its content. The toggle must be a\n square at the input's height, so the slot is stretched from inside, because this\n member cannot reach Input's markup. */\n.password :has(> .toggle) {\n align-self: stretch;\n}\n\n/* A disabled field disables its toggle. Pointer events are off so the hover background\n cannot appear on a control that does not respond (Button's loading rule). The\n field's `not-allowed` cursor already covers the frame. */\n.toggle:disabled {\n color: var(--pm-text-disabled);\n pointer-events: none;\n}\n\n/* The glyph crossfade uses the `input.clear` binding: `fade` at `control`. The new glyph\n is a fresh node, so the enter animation runs on every toggle. There is one rule per\n state so both directions are styled here. The text masking itself changes instantly,\n because text has nothing to transition. `fade` is already its own reduced-motion\n version (motion.md), and at `none` the duration token is 0s. */\n.password[data-state='hidden'] .toggle svg {\n animation: password-glyph-enter var(--pm-motion-duration-control) var(--pm-motion-easing-enter);\n}\n\n.password[data-state='visible'] .toggle svg {\n animation: password-glyph-enter var(--pm-motion-duration-control) var(--pm-motion-easing-enter);\n}\n\n@keyframes password-glyph-enter {\n from {\n opacity: 0;\n }\n}\n"],"mappings":""}
@@ -1,5 +1,5 @@
1
1
  //#region ../recipes/src/controls/provider-button.module.css
2
- var e = "_button_1wtn5_8 _button_17o12_17 _focusRing_1lfnc_15 _stateFeedback_lkjqs_17 _pressable_lkjqs_38", t = "_label_1wtn5_14", n = "_mark_1wtn5_21", r = "_spinner_1wtn5_22 _spin_lkjqs_83", i = {
2
+ var e = "_button_1wtn5_8 _button_cxa90_17 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17 _pressable_lkjqs_38", t = "_label_1wtn5_14", n = "_mark_1wtn5_21", r = "_spinner_1wtn5_22 _spin_lkjqs_83", i = {
3
3
  button: e,
4
4
  label: t,
5
5
  mark: n,
@@ -1,10 +1,10 @@
1
1
  //#region ../recipes/src/controls/radio-group.module.css
2
- var e = "_group_y4y3g_7", t = "_row_y4y3g_18", n = "_circle_y4y3g_29 _focusRing_1lfnc_15 _stateFeedback_lkjqs_17", r = "_dot_y4y3g_58", i = "_label_y4y3g_74 _stateFeedback_lkjqs_17", a = {
2
+ var e = "_group_4opbi_7", t = "_row_4opbi_18", n = "_circle_4opbi_29 _focusAround_1hr3n_95 _stateFeedback_lkjqs_17", r = "_dot_4opbi_58", i = "_label_4opbi_74 _stateFeedback_lkjqs_17", a = {
3
3
  group: e,
4
4
  row: t,
5
5
  circle: n,
6
6
  dot: r,
7
- "radio-pop": "_radio-pop_y4y3g_1",
7
+ "radio-pop": "_radio-pop_4opbi_1",
8
8
  label: i
9
9
  };
10
10
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"radio-group.module.js","names":[],"sources":["../../../../recipes/src/controls/radio-group.module.css"],"sourcesContent":["/* Radio — `design/components/radio.md`, written as deltas from Checkbox.\n *\n * Round at every size, and checked shown as a dot inside a ring rather than a filled\n * disc. A filled circle looks like a checkbox at a glance. The dot inside a ring\n * signals \"one of several\". */\n\n.group {\n display: flex;\n gap: var(--pm-space-3);\n flex-direction: column;\n}\n\n.group[data-orientation='horizontal'] {\n flex-direction: row;\n gap: var(--pm-space-5);\n}\n\n.row {\n display: inline-flex;\n gap: var(--pm-space-3);\n align-items: flex-start;\n min-block-size: var(--pm-control-height-sm);\n padding-block: calc(\n (var(--pm-control-height-sm) - var(--pm-text-sm-line-height) * var(--pm-text-sm-size)) / 2\n );\n cursor: pointer;\n}\n\n.circle {\n composes: 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`, for Checkbox's reason: it is an interactive edge. */\n border: 1px solid var(--pm-border-field);\n border-radius: var(--pm-radius-pill);\n}\n\n/* The minimum target size without affecting layout, the same technique as Checkbox. */\n.circle::before {\n position: absolute;\n inset: calc((var(--pm-icon-size-md) - var(--pm-control-height-sm)) / 2);\n content: '';\n}\n\n/* The `radio.indicator` binding: `spring-pop`, using the enter curve for the same\n reason as Checkbox. Radix unmounts the indicator, so the presence animation has\n nothing to keep mounted, and at half an icon's size the curve difference is not\n visible. */\n.dot {\n display: inline-flex;\n inline-size: calc(var(--pm-icon-size-md) / 2);\n block-size: calc(var(--pm-icon-size-md) / 2);\n background: var(--pm-accent-bg);\n border-radius: var(--pm-radius-pill);\n animation: radio-pop var(--pm-motion-duration-control) var(--pm-motion-easing-enter);\n}\n\n@keyframes radio-pop {\n from {\n opacity: 0;\n transform: scale(0.5);\n }\n}\n\n.label {\n composes: stateFeedback from '../conventions/motion.module.css';\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-primary);\n}\n\n/* Aligned to the label's first line (the conventions' size system). */\n.row .circle {\n margin-block-start: calc(\n (var(--pm-text-sm-line-height) * var(--pm-text-sm-size) - var(--pm-icon-size-md)) / 2\n );\n}\n\n/* states ------------------------------------------------------------------- */\n\n.circle[data-state='checked'] {\n border-color: var(--pm-accent-bg);\n}\n\n.group[data-invalid] .circle {\n border-color: var(--pm-danger-border);\n}\n\n.circle[data-disabled] {\n cursor: not-allowed;\n background: var(--pm-bg-subtle);\n border-color: var(--pm-border-subtle);\n}\n\n.circle[data-disabled][data-state='checked'] {\n border-color: var(--pm-border-subtle);\n}\n\n.circle[data-disabled] .dot {\n background: var(--pm-border-subtle);\n}\n\n.circle:hover:not([data-disabled], [data-state='checked']) {\n background: var(--pm-bg-subtle);\n border-color: var(--pm-border-strong);\n}\n\n.circle[data-state='checked']:hover:not([data-disabled]) {\n border-color: var(--pm-accent-bg-hover);\n}\n\n.circle[data-state='checked']:hover:not([data-disabled]) .dot {\n background: var(--pm-accent-bg-hover);\n}\n\n.group[data-disabled] .row,\n.row:has(.circle[data-disabled]) {\n cursor: not-allowed;\n}\n\n.group[data-disabled] .label,\n.row:has(.circle[data-disabled]) .label {\n color: var(--pm-text-disabled);\n}\n\n/* Reduced-motion version (motion.md): spring-pop becomes fade. */\n@media (prefers-reduced-motion: reduce) {\n @keyframes radio-pop {\n from {\n opacity: 0;\n }\n }\n}\n"],"mappings":""}
1
+ {"version":3,"file":"radio-group.module.js","names":[],"sources":["../../../../recipes/src/controls/radio-group.module.css"],"sourcesContent":["/* Radio — `design/components/radio.md`, written as deltas from Checkbox.\n *\n * Round at every size, and checked shown as a dot inside a ring rather than a filled\n * disc. A filled circle looks like a checkbox at a glance. The dot inside a ring\n * signals \"one of several\". */\n\n.group {\n display: flex;\n gap: var(--pm-space-3);\n flex-direction: column;\n}\n\n.group[data-orientation='horizontal'] {\n flex-direction: row;\n gap: var(--pm-space-5);\n}\n\n.row {\n display: inline-flex;\n gap: var(--pm-space-3);\n align-items: flex-start;\n min-block-size: var(--pm-control-height-sm);\n padding-block: calc(\n (var(--pm-control-height-sm) - var(--pm-text-sm-line-height) * var(--pm-text-sm-size)) / 2\n );\n cursor: pointer;\n}\n\n.circle {\n composes: focusAround from '../conventions/focus.module.css';\n composes: stateFeedback from '../conventions/motion.module.css';\n position: relative;\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n inline-size: var(--pm-icon-size-md);\n block-size: var(--pm-icon-size-md);\n padding: 0;\n background: var(--pm-bg-surface);\n\n /* `border.field`, not `strong`, for Checkbox's reason: it is an interactive edge. */\n border: 1px solid var(--pm-border-field);\n border-radius: var(--pm-radius-pill);\n}\n\n/* The minimum target size without affecting layout, the same technique as Checkbox. */\n.circle::before {\n position: absolute;\n inset: calc((var(--pm-icon-size-md) - var(--pm-control-height-sm)) / 2);\n content: '';\n}\n\n/* The `radio.indicator` binding: `spring-pop`, using the enter curve for the same\n reason as Checkbox. Radix unmounts the indicator, so the presence animation has\n nothing to keep mounted, and at half an icon's size the curve difference is not\n visible. */\n.dot {\n display: inline-flex;\n inline-size: calc(var(--pm-icon-size-md) / 2);\n block-size: calc(var(--pm-icon-size-md) / 2);\n background: var(--pm-accent-bg);\n border-radius: var(--pm-radius-pill);\n animation: radio-pop var(--pm-motion-duration-control) var(--pm-motion-easing-enter);\n}\n\n@keyframes radio-pop {\n from {\n opacity: 0;\n transform: scale(0.5);\n }\n}\n\n.label {\n composes: stateFeedback from '../conventions/motion.module.css';\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-primary);\n}\n\n/* Aligned to the label's first line (the conventions' size system). */\n.row .circle {\n margin-block-start: calc(\n (var(--pm-text-sm-line-height) * var(--pm-text-sm-size) - var(--pm-icon-size-md)) / 2\n );\n}\n\n/* states ------------------------------------------------------------------- */\n\n.circle[data-state='checked'] {\n border-color: var(--pm-accent-bg);\n}\n\n.group[data-invalid] .circle {\n border-color: var(--pm-danger-border);\n}\n\n.circle[data-disabled] {\n cursor: not-allowed;\n background: var(--pm-bg-subtle);\n border-color: var(--pm-border-subtle);\n}\n\n.circle[data-disabled][data-state='checked'] {\n border-color: var(--pm-border-subtle);\n}\n\n.circle[data-disabled] .dot {\n background: var(--pm-border-subtle);\n}\n\n.circle:hover:not([data-disabled], [data-state='checked']) {\n background: var(--pm-bg-subtle);\n border-color: var(--pm-border-strong);\n}\n\n.circle[data-state='checked']:hover:not([data-disabled]) {\n border-color: var(--pm-accent-bg-hover);\n}\n\n.circle[data-state='checked']:hover:not([data-disabled]) .dot {\n background: var(--pm-accent-bg-hover);\n}\n\n.group[data-disabled] .row,\n.row:has(.circle[data-disabled]) {\n cursor: not-allowed;\n}\n\n.group[data-disabled] .label,\n.row:has(.circle[data-disabled]) .label {\n color: var(--pm-text-disabled);\n}\n\n/* Reduced-motion version (motion.md): spring-pop becomes fade. */\n@media (prefers-reduced-motion: reduce) {\n @keyframes radio-pop {\n from {\n opacity: 0;\n }\n }\n}\n"],"mappings":""}
@@ -1,5 +1,5 @@
1
1
  //#region ../recipes/src/controls/rating.module.css
2
- var e = "_rating_34kub_12", t = "_mark_34kub_24 _focusRing_1lfnc_15", n = "_glyph_34kub_47 _stateFeedback_lkjqs_17", r = "_fill_34kub_54", i = {
2
+ var e = "_rating_34kub_12", t = "_mark_34kub_24 _focusRing_1hr3n_49", n = "_glyph_34kub_47 _stateFeedback_lkjqs_17", r = "_fill_34kub_54", i = {
3
3
  rating: e,
4
4
  mark: t,
5
5
  glyph: n,
@@ -1,5 +1,5 @@
1
1
  //#region ../recipes/src/controls/rich-text-input.module.css
2
- var e = "_root_sob3c_24", t = "_frame_sob3c_32 _stateFeedback_lkjqs_17", n = "_toolbar_sob3c_50", r = "_controls_sob3c_59", i = "_group_sob3c_69", a = "_slot_sob3c_75", o = "_viewport_sob3c_87", s = "_surface_sob3c_97 _root_1q2y5_16 _root_z92xs_10", c = "_paragraph_sob3c_177 _text_jx0r4_6", l = "_heading1_sob3c_182 _heading_1t0qx_6", u = "_heading2_sob3c_191 _heading_1t0qx_6", d = "_heading3_sob3c_200 _heading_1t0qx_6", f = "_list_sob3c_209 _list_1q2y5_20 _list_z92xs_21", p = "_item_sob3c_213 _item_1q2y5_24 _item_z92xs_31", m = "_quote_sob3c_217 _quote_1q2y5_28 _quote_z92xs_44", h = "_codeBlock_sob3c_221 _block_1j1lk_6 _focusRing_1lfnc_15", g = "_code_sob3c_221 _code_hc07h_7", _ = "_link_sob3c_231 _link_7xsxt_10 _focusRing_1lfnc_15", v = "_entity_sob3c_237 _entity_1q2y5_53", y = "_unknown_sob3c_242", b = "_annotation_sob3c_257 _annotation_1q2y5_76", x = "_footer_sob3c_263", S = "_actions_sob3c_271", C = "_count_sob3c_281", w = "_suggestions_sob3c_316 _suggestions_1cg9b_157", T = "_listbox_sob3c_348 _listbox_1cg9b_190", E = "_option_sob3c_352 _option_1cg9b_203 _stateFeedback_lkjqs_17", D = "_glyph_sob3c_356 _glyph_1cg9b_224 _stateFeedback_lkjqs_17", O = "_leading_sob3c_361", k = "_text_sob3c_367 _text_1cg9b_232", A = "_label_sob3c_371 _label_1cg9b_239", j = "_description_sob3c_375 _description_1cg9b_246 _stateFeedback_lkjqs_17", M = "_rows_sob3c_379 _rows_1cg9b_269", N = "_row_sob3c_379 _row_1cg9b_269", P = "_empty_sob3c_387 _empty_1cg9b_283", F = "_error_sob3c_392 _empty_1cg9b_283", I = "_status_sob3c_398 _visuallyHidden_qxi8b_14", L = "_linkForm_sob3c_403", R = "_linkActions_sob3c_410", z = {
2
+ var e = "_root_3680t_24", t = "_frame_3680t_32 _stateFeedback_lkjqs_17", n = "_toolbar_3680t_50", r = "_controls_3680t_59", i = "_group_3680t_69", a = "_slot_3680t_75", o = "_viewport_3680t_87", s = "_surface_3680t_97 _root_1q2y5_16 _root_z92xs_10", c = "_paragraph_3680t_177 _text_jx0r4_6", l = "_heading1_3680t_182 _heading_1t0qx_6", u = "_heading2_3680t_191 _heading_1t0qx_6", d = "_heading3_3680t_200 _heading_1t0qx_6", f = "_list_3680t_209 _list_1q2y5_20 _list_z92xs_21", p = "_item_3680t_213 _item_1q2y5_24 _item_z92xs_31", m = "_quote_3680t_217 _quote_1q2y5_28 _quote_z92xs_44", h = "_codeBlock_3680t_221 _block_1j1lk_6 _focusRing_1hr3n_49", g = "_code_3680t_221 _code_hc07h_7", _ = "_link_3680t_231 _link_1pcjq_13 _focusAround_1hr3n_95", v = "_entity_3680t_237 _entity_1q2y5_53", y = "_unknown_3680t_242", b = "_annotation_3680t_257 _annotation_1q2y5_76", x = "_footer_3680t_263", S = "_actions_3680t_271", C = "_count_3680t_281", w = "_suggestions_3680t_316 _suggestions_1o6qu_156", T = "_listbox_3680t_348 _listbox_1o6qu_189", E = "_option_3680t_352 _option_1o6qu_202 _stateFeedback_lkjqs_17", D = "_glyph_3680t_356 _glyph_1o6qu_223 _stateFeedback_lkjqs_17", O = "_leading_3680t_361", k = "_text_3680t_367 _text_1o6qu_231", A = "_label_3680t_371 _label_1o6qu_238", j = "_description_3680t_375 _description_1o6qu_245 _stateFeedback_lkjqs_17", M = "_rows_3680t_379 _rows_1o6qu_268", N = "_row_3680t_379 _row_1o6qu_268", P = "_empty_3680t_387 _empty_1o6qu_282", F = "_error_3680t_392 _empty_1o6qu_282", I = "_status_3680t_398 _visuallyHidden_qxi8b_14", L = "_linkForm_3680t_403", R = "_linkActions_3680t_410", z = {
3
3
  root: e,
4
4
  frame: t,
5
5
  toolbar: n,
@@ -1 +1 @@
1
- {"version":3,"file":"rich-text-input.module.js","names":[],"sources":["../../../../recipes/src/controls/rich-text-input.module.css"],"sourcesContent":["/* RichTextInput — `design/components/rich-text-input.md`.\n *\n * Input's split, as PromptInput has it. The frame draws the border, the seat\n * and the focus ring, and the editable surface inside it is transparent, so\n * the toolbar, the text and the footer sit inside one edge and the ring\n * surrounds the whole field. The frame takes a control's radius, because this\n * is a field in a form.\n *\n * The surface's content is drawn by the classes RichTextContent draws the same\n * nodes with, composed and not restated, so a document looks the same while it\n * is written and after it is saved: the block spacing, lists, quotes, the\n * entity token and the annotation are RichTextContent's, a paragraph is Text,\n * a code block is CodeBlock, inline code is Code and a link is Link. Two\n * recipes key a size on an attribute the editor does not write (Text's\n * `data-size`, Heading's `data-level`), so their base class is composed and\n * the step is stated here,\n * the one the reader draws by default: the body at `text.md` and the levels\n * one under the page's title. `rich-text-input.test.tsx` compares the drawn\n * values with RichTextContent's.\n *\n * The editor draws inside the surface and writes no class of its own that a\n * rule here reads; the states it draws are `data-*` attributes. */\n\n.root {\n position: relative;\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-2);\n inline-size: 100%;\n}\n\n.frame {\n composes: stateFeedback from '../conventions/motion.module.css';\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-2);\n min-inline-size: 0;\n padding: var(--pm-space-3);\n background: var(--pm-bg-surface);\n border: 1px solid var(--pm-border-field);\n border-radius: var(--pm-radius-control);\n box-shadow: var(--pm-shadow-seat);\n}\n\n/* toolbar ------------------------------------------------------------------ */\n\n/* The controls wrap onto more rows in a narrow container, and the app's slot\n follows them at the end; nothing is clipped or scrolled away. A hairline\n divides the controls from the text they act on. */\n.toolbar {\n display: flex;\n flex-wrap: wrap;\n gap: var(--pm-space-1) var(--pm-space-2);\n align-items: center;\n padding-block-end: var(--pm-space-2);\n border-block-end: 1px solid var(--pm-border-subtle);\n}\n\n.controls {\n display: flex;\n flex-wrap: wrap;\n gap: var(--pm-space-1) var(--pm-space-2);\n align-items: center;\n min-inline-size: 0;\n}\n\n/* One group of related controls (the marks, the blocks, the history), kept on\n one row and wrapped as a whole. */\n.group {\n display: flex;\n gap: var(--pm-space-1);\n align-items: center;\n}\n\n.slot {\n display: flex;\n flex-wrap: wrap;\n gap: var(--pm-space-1);\n align-items: center;\n margin-inline-start: auto;\n}\n\n/* surface ------------------------------------------------------------------ */\n\n/* The box the text scrolls in, past `maxRows`. The surface inside it grows with\n the document, so its blocks keep their size inside a scrolling field. */\n.viewport {\n min-block-size: 0;\n overflow-y: auto;\n}\n\n/* The editable element. Whitespace is kept as typed, a long word breaks, and\n ligatures are off, so the caret moves one character at a time; the editor\n needs all three. It is transparent and has no outline of its own, because\n the frame draws the ring. Below the phone line it takes the text-entry floor\n (conventions §13), because a system may set its md step under 16px. */\n.surface {\n composes: root from '../structure/rich-text-content.module.css';\n padding: var(--pm-space-1) var(--pm-space-2);\n font-family: var(--pm-text-md-family);\n font-size: var(--pm-text-md-size);\n font-weight: var(--pm-text-md-weight);\n line-height: var(--pm-text-md-line-height);\n color: var(--pm-text-primary);\n letter-spacing: var(--pm-text-md-tracking);\n overflow-wrap: break-word;\n\n /* The spaces a person typed are kept, and one at a line's end takes room on the line, so it\n wraps with its word and never hangs past the field's edge. */\n white-space: break-spaces;\n font-variant-ligatures: none;\n cursor: text;\n outline: none;\n}\n\n/* The placeholder, on the only block of an empty document. It is drawn over the\n block and takes no pointer, so the caret sits at the block's start. */\n.surface [data-placeholder] {\n position: relative;\n}\n\n.surface [data-placeholder]::before {\n position: absolute;\n inset-inline: 0;\n color: var(--pm-text-muted);\n pointer-events: none;\n content: attr(data-placeholder);\n}\n\n/* The minimum height, in body lines, and the maximum the box grows to before it\n scrolls. The values are written out because a line count is a design\n decision, and an arbitrary number would be an unchosen height. */\n.root[data-min-rows='1'] .surface {\n min-block-size: calc(\n var(--pm-text-md-size) * var(--pm-text-md-line-height) + var(--pm-space-1) * 2\n );\n}\n\n.root[data-min-rows='3'] .surface {\n min-block-size: calc(\n var(--pm-text-md-size) * var(--pm-text-md-line-height) * 3 + var(--pm-space-1) * 2\n );\n}\n\n.root[data-min-rows='6'] .surface {\n min-block-size: calc(\n var(--pm-text-md-size) * var(--pm-text-md-line-height) * 6 + var(--pm-space-1) * 2\n );\n}\n\n.root[data-min-rows='12'] .surface {\n min-block-size: calc(\n var(--pm-text-md-size) * var(--pm-text-md-line-height) * 12 + var(--pm-space-1) * 2\n );\n}\n\n.root[data-max-rows='6'] .viewport {\n max-block-size: calc(\n var(--pm-text-md-size) * var(--pm-text-md-line-height) * 6 + var(--pm-space-1) * 2\n );\n}\n\n.root[data-max-rows='12'] .viewport {\n max-block-size: calc(\n var(--pm-text-md-size) * var(--pm-text-md-line-height) * 12 + var(--pm-space-1) * 2\n );\n}\n\n.root[data-max-rows='24'] .viewport {\n max-block-size: calc(\n var(--pm-text-md-size) * var(--pm-text-md-line-height) * 24 + var(--pm-space-1) * 2\n );\n}\n\n/* content: RichTextContent's drawing, composed ----------------------------- */\n\n.paragraph {\n composes: text from '../structure/text.module.css';\n}\n\n/* Heading's levels 2, 3 and 4, for the document's levels 1, 2 and 3. */\n.heading1 {\n composes: heading from '../structure/heading.module.css';\n font-family: var(--pm-text-xl-family);\n font-size: var(--pm-text-xl-size);\n font-weight: var(--pm-text-xl-weight);\n line-height: var(--pm-text-xl-line-height);\n letter-spacing: var(--pm-text-xl-tracking);\n}\n\n.heading2 {\n composes: heading from '../structure/heading.module.css';\n font-family: var(--pm-text-lg-family);\n font-size: var(--pm-text-lg-size);\n font-weight: var(--pm-text-lg-weight);\n line-height: var(--pm-text-lg-line-height);\n letter-spacing: var(--pm-text-lg-tracking);\n}\n\n.heading3 {\n composes: heading from '../structure/heading.module.css';\n font-family: var(--pm-text-md-family);\n font-size: var(--pm-text-md-size);\n font-weight: var(--pm-text-xl-weight);\n line-height: var(--pm-text-md-line-height);\n letter-spacing: var(--pm-text-md-tracking);\n}\n\n.list {\n composes: list from '../structure/rich-text-content.module.css';\n}\n\n.item {\n composes: item from '../structure/rich-text-content.module.css';\n}\n\n.quote {\n composes: quote from '../structure/rich-text-content.module.css';\n}\n\n.codeBlock {\n composes: block from '../structure/code-block.module.css';\n}\n\n.code {\n composes: code from '../structure/code.module.css';\n}\n\n/* Link's inline variant: the accent and its rest underline. A press in the\n field places the caret and does not follow the link. */\n.link {\n composes: link from './link.module.css';\n text-decoration-line: underline;\n cursor: text;\n}\n\n.entity {\n composes: entity from '../structure/rich-text-content.module.css';\n}\n\n/* A node of a later version: its readable text, kept as one unit. */\n.unknown {\n overflow-wrap: anywhere;\n}\n\n/* An entity or an unknown node the selection holds as one unit: the selection\n treatment for a part that holds one label (`design/components/README.md`). */\n.entity[data-selected],\n.unknown[data-selected] {\n color: var(--pm-selection-text);\n background: var(--pm-selection-bg);\n}\n\n/* An annotation: RichTextContent's highlight, composed, with its active state\n and the ring of an annotated entity, so a highlight looks the same while the\n document is written and after. The editor draws each fragment as a `mark`. */\n.annotation {\n composes: annotation from '../structure/rich-text-content.module.css';\n}\n\n/* footer and count --------------------------------------------------------- */\n\n.footer {\n display: flex;\n flex-wrap: wrap;\n gap: var(--pm-space-2);\n align-items: center;\n}\n\n/* The default footer's controls, at the inline end after the count. */\n.actions {\n display: flex;\n flex-wrap: wrap;\n gap: var(--pm-space-2);\n align-items: center;\n margin-inline-start: auto;\n}\n\n/* The count: metadata, at the smallest step. Over the limit it is danger text,\n and its words say how far over, so the state is not colour alone. */\n.count {\n margin: 0;\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n line-height: var(--pm-text-xs-line-height);\n color: var(--pm-text-muted);\n letter-spacing: var(--pm-text-xs-tracking);\n font-variant-numeric: tabular-nums;\n}\n\n.count[data-state='over'] {\n color: var(--pm-danger-text);\n}\n\n/* Under the frame when there is no footer, inset like PromptInput's hint. */\n.root > .count {\n padding-inline: var(--pm-space-3);\n}\n\n/* suggestions -------------------------------------------------------------- *\n *\n * PromptInput's list, composed: the panel, the options and the rows. The panel\n * is placed at the token instead of across the field, and it is `fixed`, as\n * the selection bar is, so a scrolling ancestor (a Dialog's body) does not\n * clip it. The member measures the token and writes the panel's top-left\n * corner (`--pm-rich-text-input-x`, `--pm-rich-text-input-y`): under the\n * token's line, or above it when there is less room below in the part of the\n * window a person sees (`data-placement`), `--pm-rich-text-input-gap` from the\n * token, its start at the token's start, kept inside the field and the\n * window. It writes the field's width (`--pm-rich-text-input-field`), which\n * bounds the panel and is its width at phone width, and the room on the\n * panel's side (`--pm-rich-text-input-room`), which bounds its height. The\n * coordinates are physical, because they are the browser's. */\n\n.suggestions {\n composes: suggestions from '../ai/prompt-input.module.css';\n\n --pm-rich-text-input-x: 0px;\n --pm-rich-text-input-y: 0px;\n --pm-rich-text-input-gap: var(--pm-space-1);\n --pm-rich-text-input-field: calc(var(--pm-space-10) * 4);\n --pm-rich-text-input-room: 100vh;\n}\n\n/* The placement, under the root so it outweighs the composed panel's, whose\n stylesheet a bundler may load after this one. */\n.root > .suggestions {\n position: fixed;\n inset: auto;\n top: var(--pm-rich-text-input-y);\n left: var(--pm-rich-text-input-x);\n\n /* Above the page, as every transient surface is: the panel may cross what follows the field. */\n z-index: var(--pm-z-overlay);\n\n /* Popover's width: a name and a line under it, never wider than the field. */\n inline-size: min(var(--pm-rich-text-input-field), calc(var(--pm-space-10) * 4));\n max-block-size: min(40vh, calc(var(--pm-space-10) * 4), var(--pm-rich-text-input-room));\n}\n\n@supports (height: 1dvh) {\n .root > .suggestions {\n max-block-size: min(40dvh, calc(var(--pm-space-10) * 4), var(--pm-rich-text-input-room));\n }\n}\n\n.listbox {\n composes: listbox from '../ai/prompt-input.module.css';\n}\n\n.option {\n composes: option from '../ai/prompt-input.module.css';\n}\n\n.glyph {\n composes: glyph from '../ai/prompt-input.module.css';\n}\n\n/* The app's own leading drawing (an Avatar), decorative, as the glyph is. */\n.leading {\n display: inline-flex;\n flex: none;\n align-items: center;\n}\n\n.text {\n composes: text from '../ai/prompt-input.module.css';\n}\n\n.label {\n composes: label from '../ai/prompt-input.module.css';\n}\n\n.description {\n composes: description from '../ai/prompt-input.module.css';\n}\n\n.rows {\n composes: rows from '../ai/prompt-input.module.css';\n}\n\n.row {\n composes: row from '../ai/prompt-input.module.css';\n}\n\n.empty {\n composes: empty from '../ai/prompt-input.module.css';\n}\n\n/* The app could not load: the list's one row, in danger text. */\n.error {\n composes: empty from '../ai/prompt-input.module.css';\n color: var(--pm-danger-text);\n}\n\n/* The one live region, hidden by clipping so it stays in the accessibility tree. */\n.status {\n composes: visuallyHidden from '../conventions/a11y.module.css';\n}\n\n/* The link form inside its Popover: the address field and its two controls. */\n.linkForm {\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-3);\n margin: 0;\n}\n\n.linkActions {\n display: flex;\n flex-wrap: wrap;\n gap: var(--pm-space-2);\n justify-content: flex-end;\n}\n\n/* states ------------------------------------------------------------------- */\n\n.root[data-invalid] .frame {\n border-color: var(--pm-danger-border);\n}\n\n.root[data-readonly] .surface {\n color: var(--pm-text-secondary);\n}\n\n.root[data-disabled] .frame {\n cursor: not-allowed;\n background: var(--pm-bg-subtle);\n border-color: var(--pm-border-subtle);\n box-shadow: none;\n}\n\n.root[data-disabled] .surface {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n}\n\n/* Hover moves the border one step, as in Input. The selector excludes the\n states it must not overwrite instead of relying on their specificity. */\n.root:not([data-disabled], [data-readonly], [data-invalid]) .frame:hover {\n border-color: var(--pm-border-strong);\n}\n\n/* The ring on the frame while the surface inside it has focus: the\n composite-field convention (`focus.module.css`), restated because the\n convention's selector reaches a native `<input>` child only. A focused\n contenteditable matches `:focus-visible` from the pointer too, as a text\n field does. The recolour yields to the invalid border, which must survive\n focus; the ring never does. */\n.root .frame:has(.surface: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.root:not([data-invalid]) .frame:has(.surface:focus-visible) {\n border-color: var(--pm-border-focus-solid);\n}\n\n/* The field style, where the system chooses it (`overrides.focus.field: border`,\n the flag `--pm-focus-field`): the outline moves inside the frame's edge and\n takes the solid focus colour, and the frame keeps its seat. An invalid field\n keeps the ring, so the danger border stays visible. */\n@container style(--pm-focus-field: border) {\n .root:not([data-invalid]) .frame:has(.surface:focus-visible) {\n outline-color: var(--pm-border-focus-solid);\n outline-offset: calc(var(--pm-focus-width) * -1);\n box-shadow: var(--pm-shadow-seat);\n }\n}\n\n/* The focus-zoom floor (conventions §13): metrics only. The row counts are\n restated with the floor's metrics, so `minRows` and `maxRows` still count the\n lines the surface draws. At phone width the suggestions span the root. */\n@media (width < 30rem) {\n .surface {\n font-size: var(--pm-text-entry-size);\n line-height: var(--pm-text-entry-line-height);\n }\n\n .root[data-min-rows='1'] .surface {\n min-block-size: calc(\n var(--pm-text-entry-size) * var(--pm-text-entry-line-height) + var(--pm-space-1) * 2\n );\n }\n\n .root[data-min-rows='3'] .surface {\n min-block-size: calc(\n var(--pm-text-entry-size) * var(--pm-text-entry-line-height) * 3 + var(--pm-space-1) * 2\n );\n }\n\n .root[data-min-rows='6'] .surface {\n min-block-size: calc(\n var(--pm-text-entry-size) * var(--pm-text-entry-line-height) * 6 + var(--pm-space-1) * 2\n );\n }\n\n .root[data-min-rows='12'] .surface {\n min-block-size: calc(\n var(--pm-text-entry-size) * var(--pm-text-entry-line-height) * 12 + var(--pm-space-1) * 2\n );\n }\n\n .root[data-max-rows='6'] .viewport {\n max-block-size: calc(\n var(--pm-text-entry-size) * var(--pm-text-entry-line-height) * 6 + var(--pm-space-1) * 2\n );\n }\n\n .root[data-max-rows='12'] .viewport {\n max-block-size: calc(\n var(--pm-text-entry-size) * var(--pm-text-entry-line-height) * 12 + var(--pm-space-1) * 2\n );\n }\n\n .root[data-max-rows='24'] .viewport {\n max-block-size: calc(\n var(--pm-text-entry-size) * var(--pm-text-entry-line-height) * 24 + var(--pm-space-1) * 2\n );\n }\n\n .root > .suggestions {\n inline-size: var(--pm-rich-text-input-field);\n }\n}\n"],"mappings":""}
1
+ {"version":3,"file":"rich-text-input.module.js","names":[],"sources":["../../../../recipes/src/controls/rich-text-input.module.css"],"sourcesContent":["/* RichTextInput — `design/components/rich-text-input.md`.\n *\n * Input's split, as PromptInput has it. The frame draws the border, the seat\n * and the focus ring, and the editable surface inside it is transparent, so\n * the toolbar, the text and the footer sit inside one edge and the ring\n * surrounds the whole field. The frame takes a control's radius, because this\n * is a field in a form.\n *\n * The surface's content is drawn by the classes RichTextContent draws the same\n * nodes with, composed and not restated, so a document looks the same while it\n * is written and after it is saved: the block spacing, lists, quotes, the\n * entity token and the annotation are RichTextContent's, a paragraph is Text,\n * a code block is CodeBlock, inline code is Code and a link is Link. Two\n * recipes key a size on an attribute the editor does not write (Text's\n * `data-size`, Heading's `data-level`), so their base class is composed and\n * the step is stated here,\n * the one the reader draws by default: the body at `text.md` and the levels\n * one under the page's title. `rich-text-input.test.tsx` compares the drawn\n * values with RichTextContent's.\n *\n * The editor draws inside the surface and writes no class of its own that a\n * rule here reads; the states it draws are `data-*` attributes. */\n\n.root {\n position: relative;\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-2);\n inline-size: 100%;\n}\n\n.frame {\n composes: stateFeedback from '../conventions/motion.module.css';\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-2);\n min-inline-size: 0;\n padding: var(--pm-space-3);\n background: var(--pm-bg-surface);\n border: 1px solid var(--pm-border-field);\n border-radius: var(--pm-radius-control);\n box-shadow: var(--pm-shadow-seat);\n}\n\n/* toolbar ------------------------------------------------------------------ */\n\n/* The controls wrap onto more rows in a narrow container, and the app's slot\n follows them at the end; nothing is clipped or scrolled away. A hairline\n divides the controls from the text they act on. */\n.toolbar {\n display: flex;\n flex-wrap: wrap;\n gap: var(--pm-space-1) var(--pm-space-2);\n align-items: center;\n padding-block-end: var(--pm-space-2);\n border-block-end: 1px solid var(--pm-border-subtle);\n}\n\n.controls {\n display: flex;\n flex-wrap: wrap;\n gap: var(--pm-space-1) var(--pm-space-2);\n align-items: center;\n min-inline-size: 0;\n}\n\n/* One group of related controls (the marks, the blocks, the history), kept on\n one row and wrapped as a whole. */\n.group {\n display: flex;\n gap: var(--pm-space-1);\n align-items: center;\n}\n\n.slot {\n display: flex;\n flex-wrap: wrap;\n gap: var(--pm-space-1);\n align-items: center;\n margin-inline-start: auto;\n}\n\n/* surface ------------------------------------------------------------------ */\n\n/* The box the text scrolls in, past `maxRows`. The surface inside it grows with\n the document, so its blocks keep their size inside a scrolling field. */\n.viewport {\n min-block-size: 0;\n overflow-y: auto;\n}\n\n/* The editable element. Whitespace is kept as typed, a long word breaks, and\n ligatures are off, so the caret moves one character at a time; the editor\n needs all three. It is transparent and has no outline of its own, because\n the frame draws the ring. Below the phone line it takes the text-entry floor\n (conventions §13), because a system may set its md step under 16px. */\n.surface {\n composes: root from '../structure/rich-text-content.module.css';\n padding: var(--pm-space-1) var(--pm-space-2);\n font-family: var(--pm-text-md-family);\n font-size: var(--pm-text-md-size);\n font-weight: var(--pm-text-md-weight);\n line-height: var(--pm-text-md-line-height);\n color: var(--pm-text-primary);\n letter-spacing: var(--pm-text-md-tracking);\n overflow-wrap: break-word;\n\n /* The spaces a person typed are kept, and one at a line's end takes room on the line, so it\n wraps with its word and never hangs past the field's edge. */\n white-space: break-spaces;\n font-variant-ligatures: none;\n cursor: text;\n outline: none;\n}\n\n/* The placeholder, on the only block of an empty document. It is drawn over the\n block and takes no pointer, so the caret sits at the block's start. */\n.surface [data-placeholder] {\n position: relative;\n}\n\n.surface [data-placeholder]::before {\n position: absolute;\n inset-inline: 0;\n color: var(--pm-text-muted);\n pointer-events: none;\n content: attr(data-placeholder);\n}\n\n/* The minimum height, in body lines, and the maximum the box grows to before it\n scrolls. The values are written out because a line count is a design\n decision, and an arbitrary number would be an unchosen height. */\n.root[data-min-rows='1'] .surface {\n min-block-size: calc(\n var(--pm-text-md-size) * var(--pm-text-md-line-height) + var(--pm-space-1) * 2\n );\n}\n\n.root[data-min-rows='3'] .surface {\n min-block-size: calc(\n var(--pm-text-md-size) * var(--pm-text-md-line-height) * 3 + var(--pm-space-1) * 2\n );\n}\n\n.root[data-min-rows='6'] .surface {\n min-block-size: calc(\n var(--pm-text-md-size) * var(--pm-text-md-line-height) * 6 + var(--pm-space-1) * 2\n );\n}\n\n.root[data-min-rows='12'] .surface {\n min-block-size: calc(\n var(--pm-text-md-size) * var(--pm-text-md-line-height) * 12 + var(--pm-space-1) * 2\n );\n}\n\n.root[data-max-rows='6'] .viewport {\n max-block-size: calc(\n var(--pm-text-md-size) * var(--pm-text-md-line-height) * 6 + var(--pm-space-1) * 2\n );\n}\n\n.root[data-max-rows='12'] .viewport {\n max-block-size: calc(\n var(--pm-text-md-size) * var(--pm-text-md-line-height) * 12 + var(--pm-space-1) * 2\n );\n}\n\n.root[data-max-rows='24'] .viewport {\n max-block-size: calc(\n var(--pm-text-md-size) * var(--pm-text-md-line-height) * 24 + var(--pm-space-1) * 2\n );\n}\n\n/* content: RichTextContent's drawing, composed ----------------------------- */\n\n.paragraph {\n composes: text from '../structure/text.module.css';\n}\n\n/* Heading's levels 2, 3 and 4, for the document's levels 1, 2 and 3. */\n.heading1 {\n composes: heading from '../structure/heading.module.css';\n font-family: var(--pm-text-xl-family);\n font-size: var(--pm-text-xl-size);\n font-weight: var(--pm-text-xl-weight);\n line-height: var(--pm-text-xl-line-height);\n letter-spacing: var(--pm-text-xl-tracking);\n}\n\n.heading2 {\n composes: heading from '../structure/heading.module.css';\n font-family: var(--pm-text-lg-family);\n font-size: var(--pm-text-lg-size);\n font-weight: var(--pm-text-lg-weight);\n line-height: var(--pm-text-lg-line-height);\n letter-spacing: var(--pm-text-lg-tracking);\n}\n\n.heading3 {\n composes: heading from '../structure/heading.module.css';\n font-family: var(--pm-text-md-family);\n font-size: var(--pm-text-md-size);\n font-weight: var(--pm-text-xl-weight);\n line-height: var(--pm-text-md-line-height);\n letter-spacing: var(--pm-text-md-tracking);\n}\n\n.list {\n composes: list from '../structure/rich-text-content.module.css';\n}\n\n.item {\n composes: item from '../structure/rich-text-content.module.css';\n}\n\n.quote {\n composes: quote from '../structure/rich-text-content.module.css';\n}\n\n.codeBlock {\n composes: block from '../structure/code-block.module.css';\n}\n\n.code {\n composes: code from '../structure/code.module.css';\n}\n\n/* Link's inline variant: the accent and its rest underline. A press in the\n field places the caret and does not follow the link. */\n.link {\n composes: link from './link.module.css';\n text-decoration-line: underline;\n cursor: text;\n}\n\n.entity {\n composes: entity from '../structure/rich-text-content.module.css';\n}\n\n/* A node of a later version: its readable text, kept as one unit. */\n.unknown {\n overflow-wrap: anywhere;\n}\n\n/* An entity or an unknown node the selection holds as one unit: the selection\n treatment for a part that holds one label (`design/components/README.md`). */\n.entity[data-selected],\n.unknown[data-selected] {\n color: var(--pm-selection-text);\n background: var(--pm-selection-bg);\n}\n\n/* An annotation: RichTextContent's highlight, composed, with its active state\n and the ring of an annotated entity, so a highlight looks the same while the\n document is written and after. The editor draws each fragment as a `mark`. */\n.annotation {\n composes: annotation from '../structure/rich-text-content.module.css';\n}\n\n/* footer and count --------------------------------------------------------- */\n\n.footer {\n display: flex;\n flex-wrap: wrap;\n gap: var(--pm-space-2);\n align-items: center;\n}\n\n/* The default footer's controls, at the inline end after the count. */\n.actions {\n display: flex;\n flex-wrap: wrap;\n gap: var(--pm-space-2);\n align-items: center;\n margin-inline-start: auto;\n}\n\n/* The count: metadata, at the smallest step. Over the limit it is danger text,\n and its words say how far over, so the state is not colour alone. */\n.count {\n margin: 0;\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n line-height: var(--pm-text-xs-line-height);\n color: var(--pm-text-muted);\n letter-spacing: var(--pm-text-xs-tracking);\n font-variant-numeric: tabular-nums;\n}\n\n.count[data-state='over'] {\n color: var(--pm-danger-text);\n}\n\n/* Under the frame when there is no footer, inset like PromptInput's hint. */\n.root > .count {\n padding-inline: var(--pm-space-3);\n}\n\n/* suggestions -------------------------------------------------------------- *\n *\n * PromptInput's list, composed: the panel, the options and the rows. The panel\n * is placed at the token instead of across the field, and it is `fixed`, as\n * the selection bar is, so a scrolling ancestor (a Dialog's body) does not\n * clip it. The member measures the token and writes the panel's top-left\n * corner (`--pm-rich-text-input-x`, `--pm-rich-text-input-y`): under the\n * token's line, or above it when there is less room below in the part of the\n * window a person sees (`data-placement`), `--pm-rich-text-input-gap` from the\n * token, its start at the token's start, kept inside the field and the\n * window. It writes the field's width (`--pm-rich-text-input-field`), which\n * bounds the panel and is its width at phone width, and the room on the\n * panel's side (`--pm-rich-text-input-room`), which bounds its height. The\n * coordinates are physical, because they are the browser's. */\n\n.suggestions {\n composes: suggestions from '../ai/prompt-input.module.css';\n\n --pm-rich-text-input-x: 0px;\n --pm-rich-text-input-y: 0px;\n --pm-rich-text-input-gap: var(--pm-space-1);\n --pm-rich-text-input-field: calc(var(--pm-space-10) * 4);\n --pm-rich-text-input-room: 100vh;\n}\n\n/* The placement, under the root so it outweighs the composed panel's, whose\n stylesheet a bundler may load after this one. */\n.root > .suggestions {\n position: fixed;\n inset: auto;\n top: var(--pm-rich-text-input-y);\n left: var(--pm-rich-text-input-x);\n\n /* Above the page, as every transient surface is: the panel may cross what follows the field. */\n z-index: var(--pm-z-overlay);\n\n /* Popover's width: a name and a line under it, never wider than the field. */\n inline-size: min(var(--pm-rich-text-input-field), calc(var(--pm-space-10) * 4));\n max-block-size: min(40vh, calc(var(--pm-space-10) * 4), var(--pm-rich-text-input-room));\n}\n\n@supports (height: 1dvh) {\n .root > .suggestions {\n max-block-size: min(40dvh, calc(var(--pm-space-10) * 4), var(--pm-rich-text-input-room));\n }\n}\n\n.listbox {\n composes: listbox from '../ai/prompt-input.module.css';\n}\n\n.option {\n composes: option from '../ai/prompt-input.module.css';\n}\n\n.glyph {\n composes: glyph from '../ai/prompt-input.module.css';\n}\n\n/* The app's own leading drawing (an Avatar), decorative, as the glyph is. */\n.leading {\n display: inline-flex;\n flex: none;\n align-items: center;\n}\n\n.text {\n composes: text from '../ai/prompt-input.module.css';\n}\n\n.label {\n composes: label from '../ai/prompt-input.module.css';\n}\n\n.description {\n composes: description from '../ai/prompt-input.module.css';\n}\n\n.rows {\n composes: rows from '../ai/prompt-input.module.css';\n}\n\n.row {\n composes: row from '../ai/prompt-input.module.css';\n}\n\n.empty {\n composes: empty from '../ai/prompt-input.module.css';\n}\n\n/* The app could not load: the list's one row, in danger text. */\n.error {\n composes: empty from '../ai/prompt-input.module.css';\n color: var(--pm-danger-text);\n}\n\n/* The one live region, hidden by clipping so it stays in the accessibility tree. */\n.status {\n composes: visuallyHidden from '../conventions/a11y.module.css';\n}\n\n/* The link form inside its Popover: the address field and its two controls. */\n.linkForm {\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-3);\n margin: 0;\n}\n\n.linkActions {\n display: flex;\n flex-wrap: wrap;\n gap: var(--pm-space-2);\n justify-content: flex-end;\n}\n\n/* states ------------------------------------------------------------------- */\n\n.root[data-invalid] .frame {\n border-color: var(--pm-danger-border);\n}\n\n.root[data-readonly] .surface {\n color: var(--pm-text-secondary);\n}\n\n.root[data-disabled] .frame {\n cursor: not-allowed;\n background: var(--pm-bg-subtle);\n border-color: var(--pm-border-subtle);\n box-shadow: none;\n}\n\n.root[data-disabled] .surface {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n}\n\n/* Hover moves the border one step, as in Input. The selector excludes the\n states it must not overwrite instead of relying on their specificity. */\n.root:not([data-disabled], [data-readonly], [data-invalid]) .frame:hover {\n border-color: var(--pm-border-strong);\n}\n\n/* The focus mark on the frame while the surface inside it has focus: the\n composite-field convention (`focus.module.css`), restated because the\n convention's selector reaches a native `<input>` child only. A focused\n contenteditable matches `:focus-visible` from the pointer too, as a text\n field does. The outline is at the system's offset, inside the frame's edge\n by default. The recolour yields to the invalid border, which must survive\n focus; the mark never does. */\n.root .frame:has(.surface:focus-visible) {\n outline: var(--pm-focus-width) solid var(--pm-border-focus-solid);\n outline-offset: var(--pm-focus-offset);\n}\n\n.root:not([data-invalid]) .frame:has(.surface:focus-visible) {\n border-color: var(--pm-border-focus-solid);\n}\n\n/* An invalid frame keeps its danger border visible: inside the edge, the mark\n moves in past the border, as the convention moves it on an invalid field. */\n@container style(--pm-focus-place: inside) {\n .root[data-invalid] .frame:has(.surface:focus-visible) {\n outline-offset: calc(var(--pm-focus-offset) - 1px);\n }\n}\n\n/* The field style, where the system chooses it (`overrides.focus.field: border`,\n the flag `--pm-focus-field`): the outline lies inside the frame's edge by its\n width whatever the system's offset, and inside the danger border when the\n field is invalid. */\n@container style(--pm-focus-field: border) {\n .root .frame:has(.surface:focus-visible) {\n outline-offset: calc(var(--pm-focus-width) * -1);\n }\n\n .root[data-invalid] .frame:has(.surface:focus-visible) {\n outline-offset: calc(var(--pm-focus-width) * -1 - 1px);\n }\n}\n\n/* The focus-zoom floor (conventions §13): metrics only. The row counts are\n restated with the floor's metrics, so `minRows` and `maxRows` still count the\n lines the surface draws. At phone width the suggestions span the root. */\n@media (width < 30rem) {\n .surface {\n font-size: var(--pm-text-entry-size);\n line-height: var(--pm-text-entry-line-height);\n }\n\n .root[data-min-rows='1'] .surface {\n min-block-size: calc(\n var(--pm-text-entry-size) * var(--pm-text-entry-line-height) + var(--pm-space-1) * 2\n );\n }\n\n .root[data-min-rows='3'] .surface {\n min-block-size: calc(\n var(--pm-text-entry-size) * var(--pm-text-entry-line-height) * 3 + var(--pm-space-1) * 2\n );\n }\n\n .root[data-min-rows='6'] .surface {\n min-block-size: calc(\n var(--pm-text-entry-size) * var(--pm-text-entry-line-height) * 6 + var(--pm-space-1) * 2\n );\n }\n\n .root[data-min-rows='12'] .surface {\n min-block-size: calc(\n var(--pm-text-entry-size) * var(--pm-text-entry-line-height) * 12 + var(--pm-space-1) * 2\n );\n }\n\n .root[data-max-rows='6'] .viewport {\n max-block-size: calc(\n var(--pm-text-entry-size) * var(--pm-text-entry-line-height) * 6 + var(--pm-space-1) * 2\n );\n }\n\n .root[data-max-rows='12'] .viewport {\n max-block-size: calc(\n var(--pm-text-entry-size) * var(--pm-text-entry-line-height) * 12 + var(--pm-space-1) * 2\n );\n }\n\n .root[data-max-rows='24'] .viewport {\n max-block-size: calc(\n var(--pm-text-entry-size) * var(--pm-text-entry-line-height) * 24 + var(--pm-space-1) * 2\n );\n }\n\n .root > .suggestions {\n inline-size: var(--pm-rich-text-input-field);\n }\n}\n"],"mappings":""}
@@ -1,5 +1,5 @@
1
1
  //#region ../recipes/src/controls/segmented-control.module.css
2
- var e = "_track_11624_16", t = "_segment_11624_35 _focusRing_1lfnc_15", n = "_chip_11624_74", r = "_glyph_11624_84", i = "_label_11624_91", a = {
2
+ var e = "_track_11624_16", t = "_segment_11624_35 _focusRing_1hr3n_49", n = "_chip_11624_74", r = "_glyph_11624_84", i = "_label_11624_91", a = {
3
3
  track: e,
4
4
  segment: t,
5
5
  chip: n,
@@ -1,13 +1,13 @@
1
1
  //#region ../recipes/src/controls/select.module.css
2
- var e = "_trigger_fsvt3_12 _focusRing_1lfnc_15 _stateFeedback_lkjqs_17", t = "_value_fsvt3_37", n = "_chevron_fsvt3_44", r = "_content_fsvt3_119", i = "_viewport_fsvt3_139", a = "_sheetList_fsvt3_154", o = "_item_fsvt3_194 _stateFeedback_lkjqs_17", s = "_check_fsvt3_218 _stateFeedback_lkjqs_17", c = "_text_fsvt3_227", l = "_description_fsvt3_235 _stateFeedback_lkjqs_17", u = "_group_fsvt3_249", d = "_groupLabel_fsvt3_258", f = {
2
+ var e = "_trigger_1nroi_12 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17", t = "_value_1nroi_37", n = "_chevron_1nroi_44", r = "_content_1nroi_119", i = "_viewport_1nroi_139", a = "_sheetList_1nroi_154", o = "_item_1nroi_194 _stateFeedback_lkjqs_17", s = "_check_1nroi_218 _stateFeedback_lkjqs_17", c = "_text_1nroi_227", l = "_description_1nroi_235 _stateFeedback_lkjqs_17", u = "_group_1nroi_249", d = "_groupLabel_1nroi_258", f = {
3
3
  trigger: e,
4
4
  value: t,
5
5
  chevron: n,
6
6
  content: r,
7
7
  viewport: i,
8
8
  sheetList: a,
9
- "select-content-enter": "_select-content-enter_fsvt3_1",
10
- "select-content-exit": "_select-content-exit_fsvt3_1",
9
+ "select-content-enter": "_select-content-enter_1nroi_1",
10
+ "select-content-exit": "_select-content-exit_1nroi_1",
11
11
  item: o,
12
12
  check: s,
13
13
  text: c,