@metamorph-labs/polymorph-vue-ui 1.0.16 → 1.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (810) hide show
  1. package/CHANGELOG.md +300 -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/MasterDetailPage.js.map +1 -1
  41. package/dist/archetypes/MasterDetailPage.vue_vue_type_script_setup_true_lang.js +1 -1
  42. package/dist/archetypes/MasterDetailPage.vue_vue_type_script_setup_true_lang.js.map +1 -1
  43. package/dist/archetypes/app-shell.css +1 -1
  44. package/dist/archetypes/app-shell.module.js +9 -8
  45. package/dist/archetypes/app-shell.module.js.map +1 -1
  46. package/dist/archetypes/form-page.css +1 -1
  47. package/dist/archetypes/form-page.module.js +5 -3
  48. package/dist/archetypes/form-page.module.js.map +1 -1
  49. package/dist/archetypes/master-detail-page.css +1 -1
  50. package/dist/archetypes/master-detail-page.module.js +1 -1
  51. package/dist/archetypes/master-detail-page.module.js.map +1 -1
  52. package/dist/charts/area-chart.css +1 -1
  53. package/dist/charts/area-chart.module.js +1 -1
  54. package/dist/charts/bar-chart.css +1 -1
  55. package/dist/charts/bar-chart.module.js +1 -1
  56. package/dist/charts/donut-chart.css +1 -1
  57. package/dist/charts/donut-chart.module.js +1 -1
  58. package/dist/charts/frame/chart-frame.css +1 -1
  59. package/dist/charts/frame/chart-frame.module.js +1 -1
  60. package/dist/charts/frame/chart-legend.css +1 -1
  61. package/dist/charts/frame/chart-legend.module.js +1 -1
  62. package/dist/charts/frame/chart-legend.module.js.map +1 -1
  63. package/dist/charts/funnel-chart.css +1 -1
  64. package/dist/charts/funnel-chart.module.js +1 -1
  65. package/dist/charts/heatmap.css +1 -1
  66. package/dist/charts/heatmap.module.js +1 -1
  67. package/dist/charts/histogram.css +1 -1
  68. package/dist/charts/histogram.module.js +1 -1
  69. package/dist/charts/line-chart.css +1 -1
  70. package/dist/charts/line-chart.module.js +1 -1
  71. package/dist/charts/radar-chart.css +1 -1
  72. package/dist/charts/radar-chart.module.js +1 -1
  73. package/dist/charts/scatter-chart.css +1 -1
  74. package/dist/charts/scatter-chart.module.js +1 -1
  75. package/dist/charts/treemap.css +1 -1
  76. package/dist/charts/treemap.module.js +1 -1
  77. package/dist/controls/AvatarButton.js.map +1 -1
  78. package/dist/controls/AvatarButton.vue_vue_type_script_setup_true_lang.js +43 -35
  79. package/dist/controls/AvatarButton.vue_vue_type_script_setup_true_lang.js.map +1 -1
  80. package/dist/controls/Button.js.map +1 -1
  81. package/dist/controls/Button.vue_vue_type_script_setup_true_lang.js +74 -62
  82. package/dist/controls/Button.vue_vue_type_script_setup_true_lang.js.map +1 -1
  83. package/dist/controls/Calendar.js.map +1 -1
  84. package/dist/controls/Calendar.vue_vue_type_script_setup_true_lang.js +1 -1
  85. package/dist/controls/Calendar.vue_vue_type_script_setup_true_lang.js.map +1 -1
  86. package/dist/controls/Checkbox.js.map +1 -1
  87. package/dist/controls/Checkbox.vue_vue_type_script_setup_true_lang.js +1 -1
  88. package/dist/controls/Checkbox.vue_vue_type_script_setup_true_lang.js.map +1 -1
  89. package/dist/controls/ColorInput.js.map +1 -1
  90. package/dist/controls/ColorInput.vue_vue_type_script_setup_true_lang.js +95 -95
  91. package/dist/controls/ColorInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
  92. package/dist/controls/Combobox.js.map +1 -1
  93. package/dist/controls/Combobox.vue_vue_type_script_setup_true_lang.js +1 -1
  94. package/dist/controls/Combobox.vue_vue_type_script_setup_true_lang.js.map +1 -1
  95. package/dist/controls/CopyButton.js.map +1 -1
  96. package/dist/controls/CopyButton.vue_vue_type_script_setup_true_lang.js +44 -30
  97. package/dist/controls/CopyButton.vue_vue_type_script_setup_true_lang.js.map +1 -1
  98. package/dist/controls/DatePicker.js.map +1 -1
  99. package/dist/controls/DatePicker.vue_vue_type_script_setup_true_lang.js +1 -1
  100. package/dist/controls/DatePicker.vue_vue_type_script_setup_true_lang.js.map +1 -1
  101. package/dist/controls/DateRangePicker.js.map +1 -1
  102. package/dist/controls/DateRangePicker.vue_vue_type_script_setup_true_lang.js +1 -1
  103. package/dist/controls/DateRangePicker.vue_vue_type_script_setup_true_lang.js.map +1 -1
  104. package/dist/controls/FileUpload.js.map +1 -1
  105. package/dist/controls/FileUpload.vue_vue_type_script_setup_true_lang.js +98 -89
  106. package/dist/controls/FileUpload.vue_vue_type_script_setup_true_lang.js.map +1 -1
  107. package/dist/controls/InlineEdit.js.map +1 -1
  108. package/dist/controls/InlineEdit.vue_vue_type_script_setup_true_lang.js +71 -63
  109. package/dist/controls/InlineEdit.vue_vue_type_script_setup_true_lang.js.map +1 -1
  110. package/dist/controls/MultiSelect.js.map +1 -1
  111. package/dist/controls/MultiSelect.vue_vue_type_script_setup_true_lang.js +188 -177
  112. package/dist/controls/MultiSelect.vue_vue_type_script_setup_true_lang.js.map +1 -1
  113. package/dist/controls/NumberInput.js.map +1 -1
  114. package/dist/controls/NumberInput.vue_vue_type_script_setup_true_lang.js +1 -1
  115. package/dist/controls/NumberInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
  116. package/dist/controls/PhoneInput.js.map +1 -1
  117. package/dist/controls/PhoneInput.vue_vue_type_script_setup_true_lang.js +39 -39
  118. package/dist/controls/PhoneInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
  119. package/dist/controls/RadioGroup.js.map +1 -1
  120. package/dist/controls/RadioGroup.vue_vue_type_script_setup_true_lang.js +1 -1
  121. package/dist/controls/RadioGroup.vue_vue_type_script_setup_true_lang.js.map +1 -1
  122. package/dist/controls/RichTextInput.js +7 -0
  123. package/dist/controls/RichTextInput.js.map +1 -0
  124. package/dist/controls/RichTextInput.vue_vue_type_script_setup_true_lang.js +1123 -0
  125. package/dist/controls/RichTextInput.vue_vue_type_script_setup_true_lang.js.map +1 -0
  126. package/dist/controls/SegmentedControl.js.map +1 -1
  127. package/dist/controls/SegmentedControl.vue_vue_type_script_setup_true_lang.js +1 -1
  128. package/dist/controls/SegmentedControl.vue_vue_type_script_setup_true_lang.js.map +1 -1
  129. package/dist/controls/Select.js.map +1 -1
  130. package/dist/controls/Select.vue_vue_type_script_setup_true_lang.js +1 -1
  131. package/dist/controls/Select.vue_vue_type_script_setup_true_lang.js.map +1 -1
  132. package/dist/controls/Slider.js.map +1 -1
  133. package/dist/controls/Slider.vue_vue_type_script_setup_true_lang.js +1 -1
  134. package/dist/controls/Slider.vue_vue_type_script_setup_true_lang.js.map +1 -1
  135. package/dist/controls/SplitButton.js.map +1 -1
  136. package/dist/controls/SplitButton.vue_vue_type_script_setup_true_lang.js +102 -87
  137. package/dist/controls/SplitButton.vue_vue_type_script_setup_true_lang.js.map +1 -1
  138. package/dist/controls/SplitButtonSubmenu.js.map +1 -1
  139. package/dist/controls/SplitButtonSubmenu.vue_vue_type_script_setup_true_lang.js +1 -1
  140. package/dist/controls/SplitButtonSubmenu.vue_vue_type_script_setup_true_lang.js.map +1 -1
  141. package/dist/controls/Switch.js.map +1 -1
  142. package/dist/controls/Switch.vue_vue_type_script_setup_true_lang.js +1 -1
  143. package/dist/controls/Switch.vue_vue_type_script_setup_true_lang.js.map +1 -1
  144. package/dist/controls/TagInput.js.map +1 -1
  145. package/dist/controls/TagInput.vue_vue_type_script_setup_true_lang.js +122 -111
  146. package/dist/controls/TagInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
  147. package/dist/controls/TreeSelect.js.map +1 -1
  148. package/dist/controls/TreeSelect.vue_vue_type_script_setup_true_lang.js +56 -56
  149. package/dist/controls/TreeSelect.vue_vue_type_script_setup_true_lang.js.map +1 -1
  150. package/dist/controls/avatar-button.css +1 -1
  151. package/dist/controls/avatar-button.module.js +5 -4
  152. package/dist/controls/avatar-button.module.js.map +1 -1
  153. package/dist/controls/button.css +1 -1
  154. package/dist/controls/button.module.js +4 -3
  155. package/dist/controls/button.module.js.map +1 -1
  156. package/dist/controls/calendar.css +1 -1
  157. package/dist/controls/calendar.module.js +3 -3
  158. package/dist/controls/calendar.module.js.map +1 -1
  159. package/dist/controls/checkbox-group.css +1 -1
  160. package/dist/controls/checkbox-group.module.js +1 -1
  161. package/dist/controls/checkbox.css +1 -1
  162. package/dist/controls/checkbox.module.js +2 -2
  163. package/dist/controls/checkbox.module.js.map +1 -1
  164. package/dist/controls/choice-card.css +1 -1
  165. package/dist/controls/choice-card.module.js +2 -2
  166. package/dist/controls/choice-card.module.js.map +1 -1
  167. package/dist/controls/color-input.css +1 -1
  168. package/dist/controls/color-input.module.js +1 -1
  169. package/dist/controls/color-input.module.js.map +1 -1
  170. package/dist/controls/combobox.css +1 -1
  171. package/dist/controls/combobox.module.js +5 -5
  172. package/dist/controls/combobox.module.js.map +1 -1
  173. package/dist/controls/copy-button.css +1 -1
  174. package/dist/controls/copy-button.module.js +8 -7
  175. package/dist/controls/copy-button.module.js.map +1 -1
  176. package/dist/controls/date-picker.css +1 -1
  177. package/dist/controls/date-picker.module.js +1 -1
  178. package/dist/controls/date-range-picker.css +1 -1
  179. package/dist/controls/date-range-picker.module.js +6 -6
  180. package/dist/controls/date-range-picker.module.js.map +1 -1
  181. package/dist/controls/duration-input.css +1 -1
  182. package/dist/controls/duration-input.module.js +1 -1
  183. package/dist/controls/file-upload.css +1 -1
  184. package/dist/controls/file-upload.module.js +1 -1
  185. package/dist/controls/file-upload.module.js.map +1 -1
  186. package/dist/controls/input.css +1 -1
  187. package/dist/controls/input.module.js +2 -2
  188. package/dist/controls/input.module.js.map +1 -1
  189. package/dist/controls/link.css +1 -1
  190. package/dist/controls/link.module.js +1 -1
  191. package/dist/controls/link.module.js.map +1 -1
  192. package/dist/controls/month-input.css +1 -1
  193. package/dist/controls/month-input.module.js +1 -1
  194. package/dist/controls/multi-select.css +1 -1
  195. package/dist/controls/multi-select.module.js +5 -5
  196. package/dist/controls/multi-select.module.js.map +1 -1
  197. package/dist/controls/number-input.css +1 -1
  198. package/dist/controls/number-input.module.js +1 -1
  199. package/dist/controls/number-input.module.js.map +1 -1
  200. package/dist/controls/otp-input.css +1 -1
  201. package/dist/controls/otp-input.module.js +2 -2
  202. package/dist/controls/otp-input.module.js.map +1 -1
  203. package/dist/controls/password-input.css +1 -1
  204. package/dist/controls/password-input.module.js +2 -2
  205. package/dist/controls/password-input.module.js.map +1 -1
  206. package/dist/controls/provider-button.css +1 -1
  207. package/dist/controls/provider-button.module.js +1 -1
  208. package/dist/controls/radio-group.css +1 -1
  209. package/dist/controls/radio-group.module.js +2 -2
  210. package/dist/controls/radio-group.module.js.map +1 -1
  211. package/dist/controls/rating.css +1 -1
  212. package/dist/controls/rating.module.js +1 -1
  213. package/dist/controls/rich-text-input.css +1 -0
  214. package/dist/controls/rich-text-input.module.js +47 -0
  215. package/dist/controls/rich-text-input.module.js.map +1 -0
  216. package/dist/controls/segmented-control.css +1 -1
  217. package/dist/controls/segmented-control.module.js +1 -1
  218. package/dist/controls/select.css +1 -1
  219. package/dist/controls/select.module.js +3 -3
  220. package/dist/controls/select.module.js.map +1 -1
  221. package/dist/controls/selection-bar.css +1 -0
  222. package/dist/controls/selection-bar.module.js +11 -0
  223. package/dist/controls/selection-bar.module.js.map +1 -0
  224. package/dist/controls/slider.css +1 -1
  225. package/dist/controls/slider.module.js +1 -1
  226. package/dist/controls/slider.module.js.map +1 -1
  227. package/dist/controls/split-button.css +1 -1
  228. package/dist/controls/split-button.module.js +20 -19
  229. package/dist/controls/split-button.module.js.map +1 -1
  230. package/dist/controls/switch.css +1 -1
  231. package/dist/controls/switch.module.js +1 -1
  232. package/dist/controls/switch.module.js.map +1 -1
  233. package/dist/controls/tag-input.css +1 -1
  234. package/dist/controls/tag-input.module.js +1 -1
  235. package/dist/controls/textarea.css +1 -1
  236. package/dist/controls/textarea.module.js +1 -1
  237. package/dist/controls/time-input.css +1 -1
  238. package/dist/controls/time-input.module.js +1 -1
  239. package/dist/controls/tree-select.css +1 -1
  240. package/dist/controls/tree-select.module.js +1 -1
  241. package/dist/index.js +41 -39
  242. package/dist/index.js.map +1 -1
  243. package/dist/layout/split-pane.css +1 -1
  244. package/dist/layout/split-pane.module.js +1 -1
  245. package/dist/layout/split-pane.module.js.map +1 -1
  246. package/dist/node/ai/ArtifactPane.js.map +1 -1
  247. package/dist/node/ai/ArtifactPane.vue_vue_type_script_setup_true_lang.js +80 -72
  248. package/dist/node/ai/ArtifactPane.vue_vue_type_script_setup_true_lang.js.map +1 -1
  249. package/dist/node/ai/PromptInput.js.map +1 -1
  250. package/dist/node/ai/PromptInput.vue_vue_type_script_setup_true_lang.js +105 -105
  251. package/dist/node/ai/PromptInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
  252. package/dist/node/ai/ReasoningDisclosure.js.map +1 -1
  253. package/dist/node/ai/ReasoningDisclosure.vue_vue_type_script_setup_true_lang.js +1 -1
  254. package/dist/node/ai/ReasoningDisclosure.vue_vue_type_script_setup_true_lang.js.map +1 -1
  255. package/dist/node/ai/ToolCall.js.map +1 -1
  256. package/dist/node/ai/ToolCall.vue_vue_type_script_setup_true_lang.js +1 -1
  257. package/dist/node/ai/ToolCall.vue_vue_type_script_setup_true_lang.js.map +1 -1
  258. package/dist/node/ai/artifact-pane.module.js +1 -1
  259. package/dist/node/ai/attachment-chip.module.js +1 -1
  260. package/dist/node/ai/attachment-chip.module.js.map +1 -1
  261. package/dist/node/ai/chat-thread.module.js +1 -1
  262. package/dist/node/ai/citation.module.js +1 -1
  263. package/dist/node/ai/prompt-input.module.js +1 -1
  264. package/dist/node/ai/prompt-input.module.js.map +1 -1
  265. package/dist/node/ai/reasoning-disclosure.module.js +5 -5
  266. package/dist/node/ai/reasoning-disclosure.module.js.map +1 -1
  267. package/dist/node/ai/source-list.module.js +1 -1
  268. package/dist/node/ai/source-list.module.js.map +1 -1
  269. package/dist/node/ai/tool-call.module.js +1 -1
  270. package/dist/node/archetypes/AppShell.js.map +1 -1
  271. package/dist/node/archetypes/AppShell.vue_vue_type_script_setup_true_lang.js +139 -88
  272. package/dist/node/archetypes/AppShell.vue_vue_type_script_setup_true_lang.js.map +1 -1
  273. package/dist/node/archetypes/FormPage.js.map +1 -1
  274. package/dist/node/archetypes/FormPage.vue_vue_type_script_setup_true_lang.js +43 -21
  275. package/dist/node/archetypes/FormPage.vue_vue_type_script_setup_true_lang.js.map +1 -1
  276. package/dist/node/archetypes/MasterDetailPage.js.map +1 -1
  277. package/dist/node/archetypes/MasterDetailPage.vue_vue_type_script_setup_true_lang.js +1 -1
  278. package/dist/node/archetypes/MasterDetailPage.vue_vue_type_script_setup_true_lang.js.map +1 -1
  279. package/dist/node/archetypes/app-shell.module.js +9 -8
  280. package/dist/node/archetypes/app-shell.module.js.map +1 -1
  281. package/dist/node/archetypes/form-page.module.js +5 -3
  282. package/dist/node/archetypes/form-page.module.js.map +1 -1
  283. package/dist/node/archetypes/master-detail-page.module.js +1 -1
  284. package/dist/node/archetypes/master-detail-page.module.js.map +1 -1
  285. package/dist/node/charts/area-chart.module.js +1 -1
  286. package/dist/node/charts/bar-chart.module.js +1 -1
  287. package/dist/node/charts/donut-chart.module.js +1 -1
  288. package/dist/node/charts/frame/chart-frame.module.js +1 -1
  289. package/dist/node/charts/frame/chart-legend.module.js +1 -1
  290. package/dist/node/charts/frame/chart-legend.module.js.map +1 -1
  291. package/dist/node/charts/funnel-chart.module.js +1 -1
  292. package/dist/node/charts/heatmap.module.js +1 -1
  293. package/dist/node/charts/histogram.module.js +1 -1
  294. package/dist/node/charts/line-chart.module.js +1 -1
  295. package/dist/node/charts/radar-chart.module.js +1 -1
  296. package/dist/node/charts/scatter-chart.module.js +1 -1
  297. package/dist/node/charts/treemap.module.js +1 -1
  298. package/dist/node/controls/AvatarButton.js.map +1 -1
  299. package/dist/node/controls/AvatarButton.vue_vue_type_script_setup_true_lang.js +43 -35
  300. package/dist/node/controls/AvatarButton.vue_vue_type_script_setup_true_lang.js.map +1 -1
  301. package/dist/node/controls/Button.js.map +1 -1
  302. package/dist/node/controls/Button.vue_vue_type_script_setup_true_lang.js +74 -62
  303. package/dist/node/controls/Button.vue_vue_type_script_setup_true_lang.js.map +1 -1
  304. package/dist/node/controls/Calendar.js.map +1 -1
  305. package/dist/node/controls/Calendar.vue_vue_type_script_setup_true_lang.js +1 -1
  306. package/dist/node/controls/Calendar.vue_vue_type_script_setup_true_lang.js.map +1 -1
  307. package/dist/node/controls/Checkbox.js.map +1 -1
  308. package/dist/node/controls/Checkbox.vue_vue_type_script_setup_true_lang.js +1 -1
  309. package/dist/node/controls/Checkbox.vue_vue_type_script_setup_true_lang.js.map +1 -1
  310. package/dist/node/controls/ColorInput.js.map +1 -1
  311. package/dist/node/controls/ColorInput.vue_vue_type_script_setup_true_lang.js +95 -95
  312. package/dist/node/controls/ColorInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
  313. package/dist/node/controls/Combobox.js.map +1 -1
  314. package/dist/node/controls/Combobox.vue_vue_type_script_setup_true_lang.js +1 -1
  315. package/dist/node/controls/Combobox.vue_vue_type_script_setup_true_lang.js.map +1 -1
  316. package/dist/node/controls/CopyButton.js.map +1 -1
  317. package/dist/node/controls/CopyButton.vue_vue_type_script_setup_true_lang.js +44 -30
  318. package/dist/node/controls/CopyButton.vue_vue_type_script_setup_true_lang.js.map +1 -1
  319. package/dist/node/controls/DatePicker.js.map +1 -1
  320. package/dist/node/controls/DatePicker.vue_vue_type_script_setup_true_lang.js +1 -1
  321. package/dist/node/controls/DatePicker.vue_vue_type_script_setup_true_lang.js.map +1 -1
  322. package/dist/node/controls/DateRangePicker.js.map +1 -1
  323. package/dist/node/controls/DateRangePicker.vue_vue_type_script_setup_true_lang.js +1 -1
  324. package/dist/node/controls/DateRangePicker.vue_vue_type_script_setup_true_lang.js.map +1 -1
  325. package/dist/node/controls/FileUpload.js.map +1 -1
  326. package/dist/node/controls/FileUpload.vue_vue_type_script_setup_true_lang.js +98 -89
  327. package/dist/node/controls/FileUpload.vue_vue_type_script_setup_true_lang.js.map +1 -1
  328. package/dist/node/controls/InlineEdit.js.map +1 -1
  329. package/dist/node/controls/InlineEdit.vue_vue_type_script_setup_true_lang.js +71 -63
  330. package/dist/node/controls/InlineEdit.vue_vue_type_script_setup_true_lang.js.map +1 -1
  331. package/dist/node/controls/MultiSelect.js.map +1 -1
  332. package/dist/node/controls/MultiSelect.vue_vue_type_script_setup_true_lang.js +188 -177
  333. package/dist/node/controls/MultiSelect.vue_vue_type_script_setup_true_lang.js.map +1 -1
  334. package/dist/node/controls/NumberInput.js.map +1 -1
  335. package/dist/node/controls/NumberInput.vue_vue_type_script_setup_true_lang.js +1 -1
  336. package/dist/node/controls/NumberInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
  337. package/dist/node/controls/PhoneInput.js.map +1 -1
  338. package/dist/node/controls/PhoneInput.vue_vue_type_script_setup_true_lang.js +39 -39
  339. package/dist/node/controls/PhoneInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
  340. package/dist/node/controls/RadioGroup.js.map +1 -1
  341. package/dist/node/controls/RadioGroup.vue_vue_type_script_setup_true_lang.js +1 -1
  342. package/dist/node/controls/RadioGroup.vue_vue_type_script_setup_true_lang.js.map +1 -1
  343. package/dist/node/controls/RichTextInput.js +7 -0
  344. package/dist/node/controls/RichTextInput.js.map +1 -0
  345. package/dist/node/controls/RichTextInput.vue_vue_type_script_setup_true_lang.js +1123 -0
  346. package/dist/node/controls/RichTextInput.vue_vue_type_script_setup_true_lang.js.map +1 -0
  347. package/dist/node/controls/SegmentedControl.js.map +1 -1
  348. package/dist/node/controls/SegmentedControl.vue_vue_type_script_setup_true_lang.js +1 -1
  349. package/dist/node/controls/SegmentedControl.vue_vue_type_script_setup_true_lang.js.map +1 -1
  350. package/dist/node/controls/Select.js.map +1 -1
  351. package/dist/node/controls/Select.vue_vue_type_script_setup_true_lang.js +1 -1
  352. package/dist/node/controls/Select.vue_vue_type_script_setup_true_lang.js.map +1 -1
  353. package/dist/node/controls/Slider.js.map +1 -1
  354. package/dist/node/controls/Slider.vue_vue_type_script_setup_true_lang.js +1 -1
  355. package/dist/node/controls/Slider.vue_vue_type_script_setup_true_lang.js.map +1 -1
  356. package/dist/node/controls/SplitButton.js.map +1 -1
  357. package/dist/node/controls/SplitButton.vue_vue_type_script_setup_true_lang.js +102 -87
  358. package/dist/node/controls/SplitButton.vue_vue_type_script_setup_true_lang.js.map +1 -1
  359. package/dist/node/controls/SplitButtonSubmenu.js.map +1 -1
  360. package/dist/node/controls/SplitButtonSubmenu.vue_vue_type_script_setup_true_lang.js +1 -1
  361. package/dist/node/controls/SplitButtonSubmenu.vue_vue_type_script_setup_true_lang.js.map +1 -1
  362. package/dist/node/controls/Switch.js.map +1 -1
  363. package/dist/node/controls/Switch.vue_vue_type_script_setup_true_lang.js +1 -1
  364. package/dist/node/controls/Switch.vue_vue_type_script_setup_true_lang.js.map +1 -1
  365. package/dist/node/controls/TagInput.js.map +1 -1
  366. package/dist/node/controls/TagInput.vue_vue_type_script_setup_true_lang.js +122 -111
  367. package/dist/node/controls/TagInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
  368. package/dist/node/controls/TreeSelect.js.map +1 -1
  369. package/dist/node/controls/TreeSelect.vue_vue_type_script_setup_true_lang.js +56 -56
  370. package/dist/node/controls/TreeSelect.vue_vue_type_script_setup_true_lang.js.map +1 -1
  371. package/dist/node/controls/avatar-button.module.js +5 -4
  372. package/dist/node/controls/avatar-button.module.js.map +1 -1
  373. package/dist/node/controls/button.module.js +4 -3
  374. package/dist/node/controls/button.module.js.map +1 -1
  375. package/dist/node/controls/calendar.module.js +3 -3
  376. package/dist/node/controls/calendar.module.js.map +1 -1
  377. package/dist/node/controls/checkbox-group.module.js +1 -1
  378. package/dist/node/controls/checkbox.module.js +2 -2
  379. package/dist/node/controls/checkbox.module.js.map +1 -1
  380. package/dist/node/controls/choice-card.module.js +2 -2
  381. package/dist/node/controls/choice-card.module.js.map +1 -1
  382. package/dist/node/controls/color-input.module.js +1 -1
  383. package/dist/node/controls/color-input.module.js.map +1 -1
  384. package/dist/node/controls/combobox.module.js +5 -5
  385. package/dist/node/controls/combobox.module.js.map +1 -1
  386. package/dist/node/controls/copy-button.module.js +8 -7
  387. package/dist/node/controls/copy-button.module.js.map +1 -1
  388. package/dist/node/controls/date-picker.module.js +1 -1
  389. package/dist/node/controls/date-range-picker.module.js +6 -6
  390. package/dist/node/controls/date-range-picker.module.js.map +1 -1
  391. package/dist/node/controls/duration-input.module.js +1 -1
  392. package/dist/node/controls/file-upload.module.js +1 -1
  393. package/dist/node/controls/file-upload.module.js.map +1 -1
  394. package/dist/node/controls/input.module.js +2 -2
  395. package/dist/node/controls/input.module.js.map +1 -1
  396. package/dist/node/controls/link.module.js +1 -1
  397. package/dist/node/controls/link.module.js.map +1 -1
  398. package/dist/node/controls/month-input.module.js +1 -1
  399. package/dist/node/controls/multi-select.module.js +5 -5
  400. package/dist/node/controls/multi-select.module.js.map +1 -1
  401. package/dist/node/controls/number-input.module.js +1 -1
  402. package/dist/node/controls/number-input.module.js.map +1 -1
  403. package/dist/node/controls/otp-input.module.js +2 -2
  404. package/dist/node/controls/otp-input.module.js.map +1 -1
  405. package/dist/node/controls/password-input.module.js +2 -2
  406. package/dist/node/controls/password-input.module.js.map +1 -1
  407. package/dist/node/controls/provider-button.module.js +1 -1
  408. package/dist/node/controls/radio-group.module.js +2 -2
  409. package/dist/node/controls/radio-group.module.js.map +1 -1
  410. package/dist/node/controls/rating.module.js +1 -1
  411. package/dist/node/controls/rich-text-input.module.js +46 -0
  412. package/dist/node/controls/rich-text-input.module.js.map +1 -0
  413. package/dist/node/controls/segmented-control.module.js +1 -1
  414. package/dist/node/controls/select.module.js +3 -3
  415. package/dist/node/controls/select.module.js.map +1 -1
  416. package/dist/node/controls/selection-bar.module.js +10 -0
  417. package/dist/node/controls/selection-bar.module.js.map +1 -0
  418. package/dist/node/controls/slider.module.js +1 -1
  419. package/dist/node/controls/slider.module.js.map +1 -1
  420. package/dist/node/controls/split-button.module.js +20 -19
  421. package/dist/node/controls/split-button.module.js.map +1 -1
  422. package/dist/node/controls/switch.module.js +1 -1
  423. package/dist/node/controls/switch.module.js.map +1 -1
  424. package/dist/node/controls/tag-input.module.js +1 -1
  425. package/dist/node/controls/textarea.module.js +1 -1
  426. package/dist/node/controls/time-input.module.js +1 -1
  427. package/dist/node/controls/tree-select.module.js +1 -1
  428. package/dist/node/index.js +41 -39
  429. package/dist/node/index.js.map +1 -1
  430. package/dist/node/layout/split-pane.module.js +1 -1
  431. package/dist/node/layout/split-pane.module.js.map +1 -1
  432. package/dist/node/overlays/Command.js.map +1 -1
  433. package/dist/node/overlays/Command.vue_vue_type_script_setup_true_lang.js +50 -45
  434. package/dist/node/overlays/Command.vue_vue_type_script_setup_true_lang.js.map +1 -1
  435. package/dist/node/overlays/CommandPanel.js.map +1 -1
  436. package/dist/node/overlays/CommandPanel.vue_vue_type_script_setup_true_lang.js +82 -82
  437. package/dist/node/overlays/CommandPanel.vue_vue_type_script_setup_true_lang.js.map +1 -1
  438. package/dist/node/overlays/ContextMenu.js.map +1 -1
  439. package/dist/node/overlays/ContextMenu.vue_vue_type_script_setup_true_lang.js +1 -1
  440. package/dist/node/overlays/ContextMenu.vue_vue_type_script_setup_true_lang.js.map +1 -1
  441. package/dist/node/overlays/ContextMenuSubmenu.js.map +1 -1
  442. package/dist/node/overlays/ContextMenuSubmenu.vue_vue_type_script_setup_true_lang.js +1 -1
  443. package/dist/node/overlays/ContextMenuSubmenu.vue_vue_type_script_setup_true_lang.js.map +1 -1
  444. package/dist/node/overlays/Dialog.js.map +1 -1
  445. package/dist/node/overlays/Dialog.vue_vue_type_script_setup_true_lang.js +47 -43
  446. package/dist/node/overlays/Dialog.vue_vue_type_script_setup_true_lang.js.map +1 -1
  447. package/dist/node/overlays/Drawer.js.map +1 -1
  448. package/dist/node/overlays/Drawer.vue_vue_type_script_setup_true_lang.js +58 -53
  449. package/dist/node/overlays/Drawer.vue_vue_type_script_setup_true_lang.js.map +1 -1
  450. package/dist/node/overlays/Lightbox.js.map +1 -1
  451. package/dist/node/overlays/Lightbox.vue_vue_type_script_setup_true_lang.js +65 -61
  452. package/dist/node/overlays/Lightbox.vue_vue_type_script_setup_true_lang.js.map +1 -1
  453. package/dist/node/overlays/Menu.js.map +1 -1
  454. package/dist/node/overlays/Menu.vue_vue_type_script_setup_true_lang.js +1 -1
  455. package/dist/node/overlays/Menu.vue_vue_type_script_setup_true_lang.js.map +1 -1
  456. package/dist/node/overlays/MenuSubmenu.js.map +1 -1
  457. package/dist/node/overlays/MenuSubmenu.vue_vue_type_script_setup_true_lang.js +1 -1
  458. package/dist/node/overlays/MenuSubmenu.vue_vue_type_script_setup_true_lang.js.map +1 -1
  459. package/dist/node/overlays/Menubar.js.map +1 -1
  460. package/dist/node/overlays/Menubar.vue_vue_type_script_setup_true_lang.js +1 -1
  461. package/dist/node/overlays/Menubar.vue_vue_type_script_setup_true_lang.js.map +1 -1
  462. package/dist/node/overlays/MenubarSubmenu.js.map +1 -1
  463. package/dist/node/overlays/MenubarSubmenu.vue_vue_type_script_setup_true_lang.js +1 -1
  464. package/dist/node/overlays/MenubarSubmenu.vue_vue_type_script_setup_true_lang.js.map +1 -1
  465. package/dist/node/overlays/Popover.js.map +1 -1
  466. package/dist/node/overlays/Popover.vue_vue_type_script_setup_true_lang.js +1 -1
  467. package/dist/node/overlays/Popover.vue_vue_type_script_setup_true_lang.js.map +1 -1
  468. package/dist/node/overlays/Tabs.js.map +1 -1
  469. package/dist/node/overlays/Tabs.vue_vue_type_script_setup_true_lang.js +1 -1
  470. package/dist/node/overlays/Tabs.vue_vue_type_script_setup_true_lang.js.map +1 -1
  471. package/dist/node/overlays/Toast.js.map +1 -1
  472. package/dist/node/overlays/Toast.vue_vue_type_script_setup_true_lang.js +27 -27
  473. package/dist/node/overlays/Toast.vue_vue_type_script_setup_true_lang.js.map +1 -1
  474. package/dist/node/overlays/ToastCard.js.map +1 -1
  475. package/dist/node/overlays/ToastCard.vue_vue_type_script_setup_true_lang.js +74 -71
  476. package/dist/node/overlays/ToastCard.vue_vue_type_script_setup_true_lang.js.map +1 -1
  477. package/dist/node/overlays/ToastViewport.js.map +1 -1
  478. package/dist/node/overlays/ToastViewport.vue_vue_type_script_setup_true_lang.js +70 -59
  479. package/dist/node/overlays/ToastViewport.vue_vue_type_script_setup_true_lang.js.map +1 -1
  480. package/dist/node/overlays/Tooltip.js.map +1 -1
  481. package/dist/node/overlays/Tooltip.vue_vue_type_script_setup_true_lang.js +46 -26
  482. package/dist/node/overlays/Tooltip.vue_vue_type_script_setup_true_lang.js.map +1 -1
  483. package/dist/node/overlays/Tour.js.map +1 -1
  484. package/dist/node/overlays/Tour.vue_vue_type_script_setup_true_lang.js +74 -69
  485. package/dist/node/overlays/Tour.vue_vue_type_script_setup_true_lang.js.map +1 -1
  486. package/dist/node/overlays/context-menu.module.js +4 -4
  487. package/dist/node/overlays/context-menu.module.js.map +1 -1
  488. package/dist/node/overlays/dialog.module.js +1 -1
  489. package/dist/node/overlays/dialog.module.js.map +1 -1
  490. package/dist/node/overlays/drawer.module.js +1 -1
  491. package/dist/node/overlays/drawer.module.js.map +1 -1
  492. package/dist/node/overlays/lightbox.module.js +1 -1
  493. package/dist/node/overlays/menu.module.js +4 -4
  494. package/dist/node/overlays/menu.module.js.map +1 -1
  495. package/dist/node/overlays/menubar.module.js +1 -1
  496. package/dist/node/overlays/menubar.module.js.map +1 -1
  497. package/dist/node/overlays/popover.module.js +3 -3
  498. package/dist/node/overlays/popover.module.js.map +1 -1
  499. package/dist/node/overlays/sheet.module.js +1 -1
  500. package/dist/node/overlays/sheet.module.js.map +1 -1
  501. package/dist/node/overlays/tabs.module.js +4 -4
  502. package/dist/node/overlays/tabs.module.js.map +1 -1
  503. package/dist/node/overlays/toast.module.js +1 -1
  504. package/dist/node/overlays/toast.module.js.map +1 -1
  505. package/dist/node/overlays/tour.module.js +1 -1
  506. package/dist/node/overlays/tour.module.js.map +1 -1
  507. package/dist/node/structure/Accordion.js.map +1 -1
  508. package/dist/node/structure/Accordion.vue_vue_type_script_setup_true_lang.js +5 -1
  509. package/dist/node/structure/Accordion.vue_vue_type_script_setup_true_lang.js.map +1 -1
  510. package/dist/node/structure/Alert.js.map +1 -1
  511. package/dist/node/structure/Alert.vue_vue_type_script_setup_true_lang.js +62 -54
  512. package/dist/node/structure/Alert.vue_vue_type_script_setup_true_lang.js.map +1 -1
  513. package/dist/node/structure/Banner.js.map +1 -1
  514. package/dist/node/structure/Banner.vue_vue_type_script_setup_true_lang.js +42 -34
  515. package/dist/node/structure/Banner.vue_vue_type_script_setup_true_lang.js.map +1 -1
  516. package/dist/node/structure/Carousel.js.map +1 -1
  517. package/dist/node/structure/Carousel.vue_vue_type_script_setup_true_lang.js +8 -8
  518. package/dist/node/structure/Carousel.vue_vue_type_script_setup_true_lang.js.map +1 -1
  519. package/dist/node/structure/Collapsible.js.map +1 -1
  520. package/dist/node/structure/Collapsible.vue_vue_type_script_setup_true_lang.js +5 -1
  521. package/dist/node/structure/Collapsible.vue_vue_type_script_setup_true_lang.js.map +1 -1
  522. package/dist/node/structure/CursorPagination.js.map +1 -1
  523. package/dist/node/structure/CursorPagination.vue_vue_type_script_setup_true_lang.js +140 -93
  524. package/dist/node/structure/CursorPagination.vue_vue_type_script_setup_true_lang.js.map +1 -1
  525. package/dist/node/structure/DataTable.vue_vue_type_script_setup_true_lang.js.map +1 -1
  526. package/dist/node/structure/Image.js.map +1 -1
  527. package/dist/node/structure/Image.vue_vue_type_script_setup_true_lang.js +30 -18
  528. package/dist/node/structure/Image.vue_vue_type_script_setup_true_lang.js.map +1 -1
  529. package/dist/node/structure/Pagination.js.map +1 -1
  530. package/dist/node/structure/Pagination.vue_vue_type_script_setup_true_lang.js +154 -71
  531. package/dist/node/structure/Pagination.vue_vue_type_script_setup_true_lang.js.map +1 -1
  532. package/dist/node/structure/RichTextContent.js +7 -0
  533. package/dist/node/structure/RichTextContent.js.map +1 -0
  534. package/dist/node/structure/RichTextContent.vue_vue_type_script_setup_true_lang.js +298 -0
  535. package/dist/node/structure/RichTextContent.vue_vue_type_script_setup_true_lang.js.map +1 -0
  536. package/dist/node/structure/RichTextContentBlocks.js +7 -0
  537. package/dist/node/structure/RichTextContentBlocks.js.map +1 -0
  538. package/dist/node/structure/RichTextContentBlocks.vue_vue_type_script_setup_true_lang.js +94 -0
  539. package/dist/node/structure/RichTextContentBlocks.vue_vue_type_script_setup_true_lang.js.map +1 -0
  540. package/dist/node/structure/RichTextContentInlines.js +7 -0
  541. package/dist/node/structure/RichTextContentInlines.js.map +1 -0
  542. package/dist/node/structure/RichTextContentInlines.vue_vue_type_script_setup_true_lang.js +69 -0
  543. package/dist/node/structure/RichTextContentInlines.vue_vue_type_script_setup_true_lang.js.map +1 -0
  544. package/dist/node/structure/RichTextContentItem.js +7 -0
  545. package/dist/node/structure/RichTextContentItem.js.map +1 -0
  546. package/dist/node/structure/RichTextContentItem.vue_vue_type_script_setup_true_lang.js +94 -0
  547. package/dist/node/structure/RichTextContentItem.vue_vue_type_script_setup_true_lang.js.map +1 -0
  548. package/dist/node/structure/ScrollArea.js.map +1 -1
  549. package/dist/node/structure/ScrollArea.vue_vue_type_script_setup_true_lang.js +30 -27
  550. package/dist/node/structure/ScrollArea.vue_vue_type_script_setup_true_lang.js.map +1 -1
  551. package/dist/node/structure/Table.js.map +1 -1
  552. package/dist/node/structure/Table.vue_vue_type_script_setup_true_lang.js +71 -61
  553. package/dist/node/structure/Table.vue_vue_type_script_setup_true_lang.js.map +1 -1
  554. package/dist/node/structure/accordion.module.js +5 -5
  555. package/dist/node/structure/accordion.module.js.map +1 -1
  556. package/dist/node/structure/breadcrumbs.module.js +1 -1
  557. package/dist/node/structure/breadcrumbs.module.js.map +1 -1
  558. package/dist/node/structure/card.module.js +1 -1
  559. package/dist/node/structure/card.module.js.map +1 -1
  560. package/dist/node/structure/carousel.module.js +1 -1
  561. package/dist/node/structure/carousel.module.js.map +1 -1
  562. package/dist/node/structure/code-block.module.js +2 -2
  563. package/dist/node/structure/code-block.module.js.map +1 -1
  564. package/dist/node/structure/collapsible.module.js +5 -5
  565. package/dist/node/structure/collapsible.module.js.map +1 -1
  566. package/dist/node/structure/cursor-pagination.module.js +6 -3
  567. package/dist/node/structure/cursor-pagination.module.js.map +1 -1
  568. package/dist/node/structure/data-table.module.js +1 -1
  569. package/dist/node/structure/error-summary.module.js +1 -1
  570. package/dist/node/structure/error-summary.module.js.map +1 -1
  571. package/dist/node/structure/json-tree.module.js +1 -1
  572. package/dist/node/structure/json-tree.module.js.map +1 -1
  573. package/dist/node/structure/list.module.js +1 -1
  574. package/dist/node/structure/list.module.js.map +1 -1
  575. package/dist/node/structure/log-view.module.js +1 -1
  576. package/dist/node/structure/pagination.module.js +7 -3
  577. package/dist/node/structure/pagination.module.js.map +1 -1
  578. package/dist/node/structure/rich-text-content.module.js +18 -0
  579. package/dist/node/structure/rich-text-content.module.js.map +1 -0
  580. package/dist/node/structure/section-nav.module.js +1 -1
  581. package/dist/node/structure/section-nav.module.js.map +1 -1
  582. package/dist/node/structure/stepper.module.js +2 -2
  583. package/dist/node/structure/stepper.module.js.map +1 -1
  584. package/dist/node/structure/table-of-contents.module.js +1 -1
  585. package/dist/node/structure/table-of-contents.module.js.map +1 -1
  586. package/dist/node/structure/table.module.js +1 -1
  587. package/dist/node/structure/table.module.js.map +1 -1
  588. package/dist/node/structure/tree.module.js +1 -1
  589. package/dist/node/structure/tree.module.js.map +1 -1
  590. package/dist/overlays/Command.js.map +1 -1
  591. package/dist/overlays/Command.vue_vue_type_script_setup_true_lang.js +50 -45
  592. package/dist/overlays/Command.vue_vue_type_script_setup_true_lang.js.map +1 -1
  593. package/dist/overlays/CommandPanel.js.map +1 -1
  594. package/dist/overlays/CommandPanel.vue_vue_type_script_setup_true_lang.js +82 -82
  595. package/dist/overlays/CommandPanel.vue_vue_type_script_setup_true_lang.js.map +1 -1
  596. package/dist/overlays/ContextMenu.js.map +1 -1
  597. package/dist/overlays/ContextMenu.vue_vue_type_script_setup_true_lang.js +1 -1
  598. package/dist/overlays/ContextMenu.vue_vue_type_script_setup_true_lang.js.map +1 -1
  599. package/dist/overlays/ContextMenuSubmenu.js.map +1 -1
  600. package/dist/overlays/ContextMenuSubmenu.vue_vue_type_script_setup_true_lang.js +1 -1
  601. package/dist/overlays/ContextMenuSubmenu.vue_vue_type_script_setup_true_lang.js.map +1 -1
  602. package/dist/overlays/Dialog.js.map +1 -1
  603. package/dist/overlays/Dialog.vue_vue_type_script_setup_true_lang.js +47 -43
  604. package/dist/overlays/Dialog.vue_vue_type_script_setup_true_lang.js.map +1 -1
  605. package/dist/overlays/Drawer.js.map +1 -1
  606. package/dist/overlays/Drawer.vue_vue_type_script_setup_true_lang.js +58 -53
  607. package/dist/overlays/Drawer.vue_vue_type_script_setup_true_lang.js.map +1 -1
  608. package/dist/overlays/Lightbox.js.map +1 -1
  609. package/dist/overlays/Lightbox.vue_vue_type_script_setup_true_lang.js +65 -61
  610. package/dist/overlays/Lightbox.vue_vue_type_script_setup_true_lang.js.map +1 -1
  611. package/dist/overlays/Menu.js.map +1 -1
  612. package/dist/overlays/Menu.vue_vue_type_script_setup_true_lang.js +1 -1
  613. package/dist/overlays/Menu.vue_vue_type_script_setup_true_lang.js.map +1 -1
  614. package/dist/overlays/MenuSubmenu.js.map +1 -1
  615. package/dist/overlays/MenuSubmenu.vue_vue_type_script_setup_true_lang.js +1 -1
  616. package/dist/overlays/MenuSubmenu.vue_vue_type_script_setup_true_lang.js.map +1 -1
  617. package/dist/overlays/Menubar.js.map +1 -1
  618. package/dist/overlays/Menubar.vue_vue_type_script_setup_true_lang.js +1 -1
  619. package/dist/overlays/Menubar.vue_vue_type_script_setup_true_lang.js.map +1 -1
  620. package/dist/overlays/MenubarSubmenu.js.map +1 -1
  621. package/dist/overlays/MenubarSubmenu.vue_vue_type_script_setup_true_lang.js +1 -1
  622. package/dist/overlays/MenubarSubmenu.vue_vue_type_script_setup_true_lang.js.map +1 -1
  623. package/dist/overlays/Popover.js.map +1 -1
  624. package/dist/overlays/Popover.vue_vue_type_script_setup_true_lang.js +1 -1
  625. package/dist/overlays/Popover.vue_vue_type_script_setup_true_lang.js.map +1 -1
  626. package/dist/overlays/Tabs.js.map +1 -1
  627. package/dist/overlays/Tabs.vue_vue_type_script_setup_true_lang.js +1 -1
  628. package/dist/overlays/Tabs.vue_vue_type_script_setup_true_lang.js.map +1 -1
  629. package/dist/overlays/Toast.js.map +1 -1
  630. package/dist/overlays/Toast.vue_vue_type_script_setup_true_lang.js +27 -27
  631. package/dist/overlays/Toast.vue_vue_type_script_setup_true_lang.js.map +1 -1
  632. package/dist/overlays/ToastCard.js.map +1 -1
  633. package/dist/overlays/ToastCard.vue_vue_type_script_setup_true_lang.js +74 -71
  634. package/dist/overlays/ToastCard.vue_vue_type_script_setup_true_lang.js.map +1 -1
  635. package/dist/overlays/ToastViewport.js.map +1 -1
  636. package/dist/overlays/ToastViewport.vue_vue_type_script_setup_true_lang.js +70 -59
  637. package/dist/overlays/ToastViewport.vue_vue_type_script_setup_true_lang.js.map +1 -1
  638. package/dist/overlays/Tooltip.js.map +1 -1
  639. package/dist/overlays/Tooltip.vue_vue_type_script_setup_true_lang.js +46 -26
  640. package/dist/overlays/Tooltip.vue_vue_type_script_setup_true_lang.js.map +1 -1
  641. package/dist/overlays/Tour.js.map +1 -1
  642. package/dist/overlays/Tour.vue_vue_type_script_setup_true_lang.js +74 -69
  643. package/dist/overlays/Tour.vue_vue_type_script_setup_true_lang.js.map +1 -1
  644. package/dist/overlays/context-menu.css +1 -1
  645. package/dist/overlays/context-menu.module.js +4 -4
  646. package/dist/overlays/context-menu.module.js.map +1 -1
  647. package/dist/overlays/dialog.css +1 -1
  648. package/dist/overlays/dialog.module.js +1 -1
  649. package/dist/overlays/dialog.module.js.map +1 -1
  650. package/dist/overlays/drawer.css +1 -1
  651. package/dist/overlays/drawer.module.js +1 -1
  652. package/dist/overlays/drawer.module.js.map +1 -1
  653. package/dist/overlays/lightbox.css +1 -1
  654. package/dist/overlays/lightbox.module.js +1 -1
  655. package/dist/overlays/menu.css +1 -1
  656. package/dist/overlays/menu.module.js +4 -4
  657. package/dist/overlays/menu.module.js.map +1 -1
  658. package/dist/overlays/menubar.css +1 -1
  659. package/dist/overlays/menubar.module.js +1 -1
  660. package/dist/overlays/menubar.module.js.map +1 -1
  661. package/dist/overlays/popover.css +1 -1
  662. package/dist/overlays/popover.module.js +3 -3
  663. package/dist/overlays/popover.module.js.map +1 -1
  664. package/dist/overlays/sheet.css +1 -1
  665. package/dist/overlays/sheet.module.js +1 -1
  666. package/dist/overlays/sheet.module.js.map +1 -1
  667. package/dist/overlays/tabs.css +1 -1
  668. package/dist/overlays/tabs.module.js +4 -4
  669. package/dist/overlays/tabs.module.js.map +1 -1
  670. package/dist/overlays/toast.css +1 -1
  671. package/dist/overlays/toast.module.js +1 -1
  672. package/dist/overlays/toast.module.js.map +1 -1
  673. package/dist/overlays/tour.css +1 -1
  674. package/dist/overlays/tour.module.js +1 -1
  675. package/dist/overlays/tour.module.js.map +1 -1
  676. package/dist/structure/Accordion.js.map +1 -1
  677. package/dist/structure/Accordion.vue_vue_type_script_setup_true_lang.js +5 -1
  678. package/dist/structure/Accordion.vue_vue_type_script_setup_true_lang.js.map +1 -1
  679. package/dist/structure/Alert.js.map +1 -1
  680. package/dist/structure/Alert.vue_vue_type_script_setup_true_lang.js +62 -54
  681. package/dist/structure/Alert.vue_vue_type_script_setup_true_lang.js.map +1 -1
  682. package/dist/structure/Banner.js.map +1 -1
  683. package/dist/structure/Banner.vue_vue_type_script_setup_true_lang.js +42 -34
  684. package/dist/structure/Banner.vue_vue_type_script_setup_true_lang.js.map +1 -1
  685. package/dist/structure/Carousel.js.map +1 -1
  686. package/dist/structure/Carousel.vue_vue_type_script_setup_true_lang.js +8 -8
  687. package/dist/structure/Carousel.vue_vue_type_script_setup_true_lang.js.map +1 -1
  688. package/dist/structure/Collapsible.js.map +1 -1
  689. package/dist/structure/Collapsible.vue_vue_type_script_setup_true_lang.js +5 -1
  690. package/dist/structure/Collapsible.vue_vue_type_script_setup_true_lang.js.map +1 -1
  691. package/dist/structure/CursorPagination.js.map +1 -1
  692. package/dist/structure/CursorPagination.vue_vue_type_script_setup_true_lang.js +140 -93
  693. package/dist/structure/CursorPagination.vue_vue_type_script_setup_true_lang.js.map +1 -1
  694. package/dist/structure/DataTable.vue_vue_type_script_setup_true_lang.js.map +1 -1
  695. package/dist/structure/Image.js.map +1 -1
  696. package/dist/structure/Image.vue_vue_type_script_setup_true_lang.js +30 -18
  697. package/dist/structure/Image.vue_vue_type_script_setup_true_lang.js.map +1 -1
  698. package/dist/structure/Pagination.js.map +1 -1
  699. package/dist/structure/Pagination.vue_vue_type_script_setup_true_lang.js +154 -71
  700. package/dist/structure/Pagination.vue_vue_type_script_setup_true_lang.js.map +1 -1
  701. package/dist/structure/RichTextContent.js +7 -0
  702. package/dist/structure/RichTextContent.js.map +1 -0
  703. package/dist/structure/RichTextContent.vue_vue_type_script_setup_true_lang.js +298 -0
  704. package/dist/structure/RichTextContent.vue_vue_type_script_setup_true_lang.js.map +1 -0
  705. package/dist/structure/RichTextContentBlocks.js +7 -0
  706. package/dist/structure/RichTextContentBlocks.js.map +1 -0
  707. package/dist/structure/RichTextContentBlocks.vue_vue_type_script_setup_true_lang.js +94 -0
  708. package/dist/structure/RichTextContentBlocks.vue_vue_type_script_setup_true_lang.js.map +1 -0
  709. package/dist/structure/RichTextContentInlines.js +7 -0
  710. package/dist/structure/RichTextContentInlines.js.map +1 -0
  711. package/dist/structure/RichTextContentInlines.vue_vue_type_script_setup_true_lang.js +69 -0
  712. package/dist/structure/RichTextContentInlines.vue_vue_type_script_setup_true_lang.js.map +1 -0
  713. package/dist/structure/RichTextContentItem.js +7 -0
  714. package/dist/structure/RichTextContentItem.js.map +1 -0
  715. package/dist/structure/RichTextContentItem.vue_vue_type_script_setup_true_lang.js +94 -0
  716. package/dist/structure/RichTextContentItem.vue_vue_type_script_setup_true_lang.js.map +1 -0
  717. package/dist/structure/ScrollArea.js.map +1 -1
  718. package/dist/structure/ScrollArea.vue_vue_type_script_setup_true_lang.js +30 -27
  719. package/dist/structure/ScrollArea.vue_vue_type_script_setup_true_lang.js.map +1 -1
  720. package/dist/structure/Table.js.map +1 -1
  721. package/dist/structure/Table.vue_vue_type_script_setup_true_lang.js +71 -61
  722. package/dist/structure/Table.vue_vue_type_script_setup_true_lang.js.map +1 -1
  723. package/dist/structure/accordion.css +1 -1
  724. package/dist/structure/accordion.module.js +5 -5
  725. package/dist/structure/accordion.module.js.map +1 -1
  726. package/dist/structure/breadcrumbs.css +1 -1
  727. package/dist/structure/breadcrumbs.module.js +1 -1
  728. package/dist/structure/breadcrumbs.module.js.map +1 -1
  729. package/dist/structure/card.css +1 -1
  730. package/dist/structure/card.module.js +1 -1
  731. package/dist/structure/card.module.js.map +1 -1
  732. package/dist/structure/carousel.css +1 -1
  733. package/dist/structure/carousel.module.js +1 -1
  734. package/dist/structure/carousel.module.js.map +1 -1
  735. package/dist/structure/code-block.css +1 -1
  736. package/dist/structure/code-block.module.js +2 -2
  737. package/dist/structure/code-block.module.js.map +1 -1
  738. package/dist/structure/collapsible.css +1 -1
  739. package/dist/structure/collapsible.module.js +5 -5
  740. package/dist/structure/collapsible.module.js.map +1 -1
  741. package/dist/structure/cursor-pagination.css +1 -1
  742. package/dist/structure/cursor-pagination.module.js +6 -3
  743. package/dist/structure/cursor-pagination.module.js.map +1 -1
  744. package/dist/structure/data-table.css +1 -1
  745. package/dist/structure/data-table.module.js +1 -1
  746. package/dist/structure/error-summary.css +1 -1
  747. package/dist/structure/error-summary.module.js +1 -1
  748. package/dist/structure/error-summary.module.js.map +1 -1
  749. package/dist/structure/json-tree.css +1 -1
  750. package/dist/structure/json-tree.module.js +1 -1
  751. package/dist/structure/json-tree.module.js.map +1 -1
  752. package/dist/structure/list.css +1 -1
  753. package/dist/structure/list.module.js +1 -1
  754. package/dist/structure/list.module.js.map +1 -1
  755. package/dist/structure/log-view.css +1 -1
  756. package/dist/structure/log-view.module.js +1 -1
  757. package/dist/structure/pagination.css +1 -1
  758. package/dist/structure/pagination.module.js +7 -3
  759. package/dist/structure/pagination.module.js.map +1 -1
  760. package/dist/structure/rich-text-content.css +1 -0
  761. package/dist/structure/rich-text-content.module.js +19 -0
  762. package/dist/structure/rich-text-content.module.js.map +1 -0
  763. package/dist/structure/section-nav.css +1 -1
  764. package/dist/structure/section-nav.module.js +1 -1
  765. package/dist/structure/section-nav.module.js.map +1 -1
  766. package/dist/structure/stepper.css +1 -1
  767. package/dist/structure/stepper.module.js +2 -2
  768. package/dist/structure/stepper.module.js.map +1 -1
  769. package/dist/structure/table-of-contents.css +1 -1
  770. package/dist/structure/table-of-contents.module.js +1 -1
  771. package/dist/structure/table-of-contents.module.js.map +1 -1
  772. package/dist/structure/table.css +1 -1
  773. package/dist/structure/table.module.js +1 -1
  774. package/dist/structure/table.module.js.map +1 -1
  775. package/dist/structure/tree.css +1 -1
  776. package/dist/structure/tree.module.js +1 -1
  777. package/dist/structure/tree.module.js.map +1 -1
  778. package/dist/types/ai/ArtifactPane.vue.d.ts +1 -1
  779. package/dist/types/ai/AttachmentChip.vue.d.ts +1 -1
  780. package/dist/types/ai/ToolCall.vue.d.ts +1 -1
  781. package/dist/types/archetypes/FormPage.vue.d.ts +1 -0
  782. package/dist/types/charts/BarChart.vue.d.ts +1 -1
  783. package/dist/types/controls/FileUpload.vue.d.ts +1 -1
  784. package/dist/types/controls/RecordButton.vue.d.ts +2 -2
  785. package/dist/types/controls/RichTextInput.vue.d.ts +210 -0
  786. package/dist/types/controls/Slider.vue.d.ts +1 -1
  787. package/dist/types/index.d.ts +4 -0
  788. package/dist/types/layout/Grid.vue.d.ts +1 -1
  789. package/dist/types/layout/Inline.vue.d.ts +2 -2
  790. package/dist/types/layout/Stack.vue.d.ts +2 -2
  791. package/dist/types/overlays/CommandPanel.vue.d.ts +2 -2
  792. package/dist/types/overlays/Drawer.vue.d.ts +1 -1
  793. package/dist/types/overlays/HoverCard.vue.d.ts +1 -1
  794. package/dist/types/overlays/Menu.vue.d.ts +1 -1
  795. package/dist/types/overlays/Popover.vue.d.ts +1 -1
  796. package/dist/types/overlays/Toast.vue.d.ts +3 -1
  797. package/dist/types/overlays/Tooltip.vue.d.ts +1 -1
  798. package/dist/types/structure/Accordion.vue.d.ts +7 -0
  799. package/dist/types/structure/Collapsible.vue.d.ts +7 -0
  800. package/dist/types/structure/CursorPagination.vue.d.ts +13 -0
  801. package/dist/types/structure/EmptyState.vue.d.ts +1 -1
  802. package/dist/types/structure/Hero.vue.d.ts +1 -1
  803. package/dist/types/structure/Image.vue.d.ts +13 -0
  804. package/dist/types/structure/Pagination.vue.d.ts +8 -0
  805. package/dist/types/structure/RelativeTime.vue.d.ts +1 -1
  806. package/dist/types/structure/RichTextContent.vue.d.ts +59 -0
  807. package/dist/types/structure/RichTextContentBlocks.vue.d.ts +7 -0
  808. package/dist/types/structure/RichTextContentInlines.vue.d.ts +7 -0
  809. package/dist/types/structure/RichTextContentItem.vue.d.ts +7 -0
  810. package/package.json +17 -4
@@ -1 +1 @@
1
- {"version":3,"file":"Table.vue_vue_type_script_setup_true_lang.js","names":[],"sources":["../../../src/structure/Table.vue"],"sourcesContent":["<script setup lang=\"ts\">\n/**\n * A styled native table, the main data display in ListPage (`design/components/table.md`).\n *\n * Generated by `pnpm shells` from `packages/shells/src/members/table.ts`, the member's\n * framework-neutral description. Never edit it by hand: change the description and\n * run `pnpm shells`.\n */\nimport { computed, onBeforeUnmount, onMounted, provide, ref, useTemplateRef, watch } from 'vue'\n\nimport { agentMember, pressTableSort, tableSort, tableSortColumns } from '@polymorph/vue'\nimport styles from '@polymorph/recipes/structure/table.module.css'\nimport type { TableCellProps } from './TableCell.vue'\nimport type { TableHeaderProps } from './TableHeader.vue'\nimport type { TableRowProps } from './TableRow.vue'\n\nexport type CellProps = TableCellProps\n\nexport type HeaderProps = TableHeaderProps\n\nexport type RowProps = TableRowProps\n\nexport type SortDirection = 'asc' | 'desc'\n\nexport interface TableProps {\n /**\n * Names the **table** with a real `<caption>`, its first child. `label` names the *scroll\n * region*, which exists only while the columns overflow, so a table that fits has no name.\n * That is fine for a page's main table, but a dashboard's chart twin tables would be announced\n * as \"table, table, table\". Announced but not drawn unless `captionVisible`, because most\n * tables already have their name on screen: a page title, or the chart they are the twin of.\n */\n caption?: string\n /**\n * Draws the caption above the table as well as announcing it, for a table whose name is not\n * already beside it. Not left to composition as Heading's caption is, because a `Text` above\n * the table would not be connected to it, and `<caption>` is the element for a table's name.\n */\n captionVisible?: boolean\n /**\n * The table is a **grid**: one tab stop, arrow keys between cells, and rows that may carry\n * `aria-selected`. Only for a component that owns every cell, in practice DataTable. A\n * hand-composed table is a document of prose and links, browsed with the reader's own keys,\n * and taking the arrow keys for a focus ring would only cost them.\n */\n grid?: boolean\n /**\n * Names the scroll region for keyboard users, usually the page's title.\n */\n label?: string\n /**\n * Rows can be selected in bulk. Only meaningful inside a grid, where it tells a screen reader\n * whether \"selected\" means one of many or the only one.\n */\n multiselectable?: boolean\n stickyHeader?: boolean\n}\n\ndefineOptions({ name: 'Table', inheritAttrs: false })\n\nconst props = withDefaults(defineProps<TableProps>(), {\n captionVisible: false,\n grid: false,\n multiselectable: false,\n stickyHeader: false,\n})\ndefineSlots<{ default?: (props: Record<string, never>) => unknown }>()\nconst overflowing = ref(false)\nconst at = ref({ row: 0, column: 0, detail: false })\nconst placed = ref(false)\nconst table = useTemplateRef<HTMLElement>('table')\nconst wrapper = useTemplateRef<HTMLElement>('wrapper')\nconst stopIn = computed(() => (cell: HTMLTableCellElement): HTMLElement => {\n for (const node of Array.from(\n cell.querySelectorAll<HTMLElement>('button, a[href], input, select, textarea'),\n )) {\n if (node.hasAttribute('disabled') || node.getAttribute('aria-hidden') === 'true') continue\n return node\n }\n return cell\n})\nconst gridRows = computed(\n () =>\n (element: HTMLTableElement): HTMLTableRowElement[] =>\n Array.from(element.rows).filter((row) => !row.hasAttribute('data-detail')),\n)\nconst detailUnder = computed(\n () =>\n (row: HTMLTableRowElement | undefined): HTMLTableCellElement | null => {\n const next = row?.nextElementSibling\n return next instanceof HTMLTableRowElement && next.hasAttribute('data-detail')\n ? (next.cells[0] ?? null)\n : null\n },\n)\nconst gridCellOf = computed(\n () =>\n (element: HTMLTableElement, target: EventTarget | null): HTMLTableCellElement | null => {\n let cell =\n target instanceof HTMLElement ? target.closest<HTMLTableCellElement>('th, td') : null\n while (cell !== null && cell.closest('table') !== element) {\n cell = cell.parentElement?.closest<HTMLTableCellElement>('th, td') ?? null\n }\n if (cell === null || cell.parentElement === null) return null\n return cell.parentElement.hasAttribute('data-detail') && cell !== target ? null : cell\n },\n)\nconst positionOf = computed(\n () =>\n (\n element: HTMLTableElement,\n cell: HTMLTableCellElement,\n column: number,\n ): { row: number; column: number; detail: boolean } => {\n const row = cell.parentElement as HTMLTableRowElement\n const rows = gridRows.value(element)\n return row.hasAttribute('data-detail')\n ? {\n row: rows.indexOf(row.previousElementSibling as HTMLTableRowElement),\n column,\n detail: true,\n }\n : { row: rows.indexOf(row), column: cell.cellIndex, detail: false }\n },\n)\nconst clampCell = computed(\n () =>\n (\n element: HTMLTableElement,\n to: { row: number; column: number; detail: boolean },\n ): { row: number; column: number; detail: boolean } | null => {\n const rows = gridRows.value(element)\n const row = Math.min(Math.max(to.row, 0), rows.length - 1)\n const cells = rows[row]?.cells\n if (cells === undefined || cells.length === 0) return null\n return {\n row,\n column: Math.min(Math.max(to.column, 0), cells.length - 1),\n detail: to.detail && row === to.row && detailUnder.value(rows[row]) !== null,\n }\n },\n)\nconst startOf = computed(\n () =>\n (element: HTMLTableElement): { row: number; column: number; detail: boolean } => {\n const cells = Array.from(gridRows.value(element)[0]?.cells ?? [])\n const column = cells.findIndex((cell) => cell.querySelector('[data-undrawn]') === null)\n return { row: 0, column: Math.max(column, 0), detail: false }\n },\n)\nconst whereIn = computed(\n () =>\n (element: HTMLTableElement): { row: number; column: number; detail: boolean } =>\n placed.value ? at.value : startOf.value(element),\n)\nconst stopAt = computed(\n () =>\n (\n element: HTMLTableElement,\n to: { row: number; column: number; detail: boolean },\n ): HTMLElement | null => {\n const row = gridRows.value(element)[to.row]\n if (to.detail) return detailUnder.value(row)\n const cell = row?.cells[to.column]\n return cell === undefined ? null : stopIn.value(cell)\n },\n)\nconst rove = computed(\n () => (element: HTMLTableElement, to: { row: number; column: number; detail: boolean }) => {\n at.value = to\n for (const [index, row] of gridRows.value(element).entries()) {\n for (const cell of Array.from(row.cells)) {\n const stop = stopIn.value(cell)\n const wanted = !to.detail && index === to.row && cell.cellIndex === to.column ? '0' : '-1'\n if (stop !== cell && cell.getAttribute('tabindex') !== '-1')\n cell.setAttribute('tabindex', '-1')\n if (stop.getAttribute('tabindex') !== wanted) stop.setAttribute('tabindex', wanted)\n }\n const under = detailUnder.value(row)\n const held = to.detail && index === to.row ? '0' : '-1'\n if (under !== null && under.getAttribute('tabindex') !== held)\n under.setAttribute('tabindex', held)\n }\n },\n)\nconst focusIn = computed(() => (event: FocusEvent) => {\n const element = table.value as HTMLTableElement | null\n if (element === null) return\n const cell = gridCellOf.value(element, event.target)\n if (cell === null) return\n const to = clampCell.value(\n element,\n positionOf.value(element, cell, whereIn.value(element).column),\n )\n if (to === null) return\n placed.value = true\n rove.value(element, to)\n})\nconst keyDown = computed(() => (event: KeyboardEvent) => {\n const element = table.value as HTMLTableElement | null\n const target = event.target instanceof HTMLElement ? event.target : null\n if (\n element === null ||\n target === null ||\n target.closest(\n 'input:not([type=\"checkbox\"]):not([type=\"radio\"]), textarea, [contenteditable]',\n ) !== null\n )\n return\n const cell = gridCellOf.value(element, target)\n if (cell === null) return\n const rows = gridRows.value(element)\n const here = positionOf.value(element, cell, whereIn.value(element).column)\n const forward = getComputedStyle(element).direction === 'rtl' ? -1 : 1\n const far = event.ctrlKey || event.metaKey\n const last = Number.MAX_SAFE_INTEGER\n let next: { row: number; column: number; detail: boolean } | null\n if (here.detail) {\n switch (event.key) {\n case 'ArrowDown':\n next = here.row + 1 < rows.length ? { ...here, row: here.row + 1, detail: false } : null\n break\n case 'ArrowUp':\n next = { ...here, detail: false }\n break\n case 'ArrowRight':\n case 'ArrowLeft':\n next = null\n break\n case 'Home':\n next = far ? { row: 0, column: 0, detail: false } : null\n break\n case 'End':\n next = far ? { row: last, column: last, detail: false } : null\n break\n default:\n return\n }\n } else {\n switch (event.key) {\n case 'ArrowRight':\n next = { ...here, column: here.column + forward }\n break\n case 'ArrowLeft':\n next = { ...here, column: here.column - forward }\n break\n case 'ArrowDown':\n next =\n detailUnder.value(rows[here.row]) !== null\n ? { ...here, detail: true }\n : { ...here, row: here.row + 1 }\n break\n case 'ArrowUp':\n next =\n detailUnder.value(rows[here.row - 1]) !== null\n ? { ...here, row: here.row - 1, detail: true }\n : { ...here, row: here.row - 1 }\n break\n case 'Home':\n next = far ? { row: 0, column: 0, detail: false } : { ...here, column: 0 }\n break\n case 'End':\n next = far ? { row: last, column: last, detail: false } : { ...here, column: last }\n break\n default:\n return\n }\n }\n event.preventDefault()\n const to = next === null ? null : clampCell.value(element, next)\n if (to === null) return\n placed.value = true\n rove.value(element, to)\n stopAt.value(element, to)?.focus()\n})\nconst reclamp = computed(() => () => {\n const element = table.value as HTMLTableElement | null\n if (element === null || !props.grid) return\n const to = clampCell.value(element, whereIn.value(element))\n if (to !== null) rove.value(element, to)\n})\nprovide('polymorph:Table', {\n get grid() {\n return props.grid\n },\n})\nlet release1: (() => void) | undefined\nconst effect1 = () => {\n release1?.()\n const run = () => {\n overflowing.value =\n wrapper.value !== null && wrapper.value.scrollWidth > wrapper.value.clientWidth\n }\n const resize = typeof ResizeObserver === 'undefined' ? undefined : new ResizeObserver(run)\n for (const element of [wrapper.value, wrapper.value?.firstElementChild])\n if (element) resize?.observe(element)\n release1 = () => {\n resize?.disconnect()\n }\n run()\n}\nonMounted(effect1)\nonBeforeUnmount(() => release1?.())\nlet release2: (() => void) | undefined\nconst effect2 = () => {\n release2?.()\n const run = () => {\n reclamp.value()\n }\n const mutation = typeof MutationObserver === 'undefined' ? undefined : new MutationObserver(run)\n for (const element of [table.value])\n if (element)\n mutation?.observe(element, {\n childList: true,\n characterData: true,\n subtree: true,\n attributeFilter: ['disabled'],\n })\n release2 = () => {\n mutation?.disconnect()\n }\n run()\n}\nonMounted(effect2)\nwatch(() => props.grid, effect2, { flush: 'post' })\nonBeforeUnmount(() => release2?.())\nlet release3: (() => void) | undefined\nconst effect3 = () => {\n release3?.()\n const ran =\n wrapper.value?.parentElement?.closest('[data-member]')?.getAttribute('data-member') ===\n 'data-table'\n ? () => {}\n : agentMember({\n member: 'Table',\n element: () => wrapper.value,\n state: () => ({\n 'sort-key': tableSort(table.value).key,\n 'sort-direction': tableSort(table.value).direction,\n columns: tableSortColumns(table.value),\n }),\n actions: { sort: { argument: 'id', run: (value) => pressTableSort(table.value, value) } },\n })\n release3 = () => {\n ran()\n }\n}\nonMounted(effect3)\nonBeforeUnmount(() => release3?.())\n</script>\n\n<template>\n <div\n ref=\"wrapper\"\n :class=\"styles.wrapper\"\n :data-sticky-header=\"stickyHeader ? '' : undefined\"\n :data-overflowing=\"overflowing ? '' : undefined\"\n :tabindex=\"overflowing && !grid ? '0' : undefined\"\n :role=\"overflowing && label !== undefined ? 'region' : undefined\"\n :aria-label=\"overflowing ? label : undefined\"\n data-member=\"table\"\n >\n <!-- table -->\n <table\n ref=\"table\"\n :class=\"styles.table\"\n :role=\"grid ? 'grid' : undefined\"\n :aria-multiselectable=\"grid && multiselectable ? 'true' : undefined\"\n @focusin=\"grid && focusIn($event)\"\n @keydown=\"grid && keyDown($event)\"\n >\n <!-- caption -->\n <caption\n v-if=\"caption !== undefined\"\n :class=\"[\n captionVisible ? styles.caption : undefined,\n !captionVisible ? styles.captionHidden : undefined,\n ]\"\n >\n {{\n caption\n }}\n </caption>\n <slot />\n </table>\n </div>\n</template>\n"],"mappings":";;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AAA,iBAAwC,KAAA,IAAvB,EAAA,CAAA,CAAM,CAAC,aAAgB,CAAA;OAMlH,EAAA,OAAO,GAAA,CAAA,IAGX,EAAQ,EAAA,QAAA,SAAA,CAAA,GAAA,IAAA,CAAA,CAAA,GAAA,IAAA,CAAA"}
1
+ {"version":3,"file":"Table.vue_vue_type_script_setup_true_lang.js","names":[],"sources":["../../../src/structure/Table.vue"],"sourcesContent":["<script setup lang=\"ts\">\n/**\n * A styled native table, the main data display in ListPage (`design/components/table.md`).\n *\n * Generated by `pnpm shells` from `packages/shells/src/members/table.ts`, the member's\n * framework-neutral description. Never edit it by hand: change the description and\n * run `pnpm shells`.\n */\nimport { computed, onBeforeUnmount, onMounted, provide, ref, useTemplateRef, watch } from 'vue'\n\nimport { agentMember, pressTableSort, tableSort, tableSortColumns } from '@polymorph/vue'\nimport styles from '@polymorph/recipes/structure/table.module.css'\nimport type { TableCellProps } from './TableCell.vue'\nimport type { TableHeaderProps } from './TableHeader.vue'\nimport type { TableRowProps } from './TableRow.vue'\n\nexport type CellProps = TableCellProps\n\nexport type HeaderProps = TableHeaderProps\n\nexport type RowProps = TableRowProps\n\nexport type SortDirection = 'asc' | 'desc'\n\nexport interface TableProps {\n /**\n * Names the **table** with a real `<caption>`, its first child. `label` names the *scroll\n * region*, which exists only while the columns overflow, so a table that fits has no name.\n * That is fine for a page's main table, but a dashboard's chart twin tables would be announced\n * as \"table, table, table\". Announced but not drawn unless `captionVisible`, because most\n * tables already have their name on screen: a page title, or the chart they are the twin of.\n */\n caption?: string\n /**\n * Draws the caption above the table as well as announcing it, for a table whose name is not\n * already beside it. Not left to composition as Heading's caption is, because a `Text` above\n * the table would not be connected to it, and `<caption>` is the element for a table's name.\n */\n captionVisible?: boolean\n /**\n * The table is a **grid**: one tab stop, arrow keys between cells, and rows that may carry\n * `aria-selected`. Only for a component that owns every cell, in practice DataTable. A\n * hand-composed table is a document of prose and links, browsed with the reader's own keys,\n * and taking the arrow keys for a focus ring would only cost them.\n */\n grid?: boolean\n /**\n * Names the scroll region for keyboard users, usually the page's title.\n */\n label?: string\n /**\n * Rows can be selected in bulk. Only meaningful inside a grid, where it tells a screen reader\n * whether \"selected\" means one of many or the only one.\n */\n multiselectable?: boolean\n stickyHeader?: boolean\n}\n\ndefineOptions({ name: 'Table', inheritAttrs: false })\n\nconst props = withDefaults(defineProps<TableProps>(), {\n captionVisible: false,\n grid: false,\n multiselectable: false,\n stickyHeader: false,\n})\ndefineSlots<{ default?: (props: Record<string, never>) => unknown }>()\nconst overflowing = ref(false)\nconst at = ref({ row: 0, column: 0, detail: false })\nconst placed = ref(false)\nconst holds = ref(false)\nconst table = useTemplateRef<HTMLElement>('table')\nconst wrapper = useTemplateRef<HTMLElement>('wrapper')\nconst stopIn = computed(() => (cell: HTMLTableCellElement): HTMLElement => {\n for (const node of Array.from(\n cell.querySelectorAll<HTMLElement>('button, a[href], input, select, textarea'),\n )) {\n if (node.hasAttribute('disabled') || node.getAttribute('aria-hidden') === 'true') continue\n return node\n }\n return cell\n})\nconst gridRows = computed(\n () =>\n (element: HTMLTableElement): HTMLTableRowElement[] =>\n Array.from(element.rows).filter((row) => !row.hasAttribute('data-detail')),\n)\nconst detailUnder = computed(\n () =>\n (row: HTMLTableRowElement | undefined): HTMLTableCellElement | null => {\n const next = row?.nextElementSibling\n return next instanceof HTMLTableRowElement && next.hasAttribute('data-detail')\n ? (next.cells[0] ?? null)\n : null\n },\n)\nconst gridCellOf = computed(\n () =>\n (element: HTMLTableElement, target: EventTarget | null): HTMLTableCellElement | null => {\n let cell =\n target instanceof HTMLElement ? target.closest<HTMLTableCellElement>('th, td') : null\n while (cell !== null && cell.closest('table') !== element) {\n cell = cell.parentElement?.closest<HTMLTableCellElement>('th, td') ?? null\n }\n if (cell === null || cell.parentElement === null) return null\n return cell.parentElement.hasAttribute('data-detail') && cell !== target ? null : cell\n },\n)\nconst positionOf = computed(\n () =>\n (\n element: HTMLTableElement,\n cell: HTMLTableCellElement,\n column: number,\n ): { row: number; column: number; detail: boolean } => {\n const row = cell.parentElement as HTMLTableRowElement\n const rows = gridRows.value(element)\n return row.hasAttribute('data-detail')\n ? {\n row: rows.indexOf(row.previousElementSibling as HTMLTableRowElement),\n column,\n detail: true,\n }\n : { row: rows.indexOf(row), column: cell.cellIndex, detail: false }\n },\n)\nconst clampCell = computed(\n () =>\n (\n element: HTMLTableElement,\n to: { row: number; column: number; detail: boolean },\n ): { row: number; column: number; detail: boolean } | null => {\n const rows = gridRows.value(element)\n const row = Math.min(Math.max(to.row, 0), rows.length - 1)\n const cells = rows[row]?.cells\n if (cells === undefined || cells.length === 0) return null\n return {\n row,\n column: Math.min(Math.max(to.column, 0), cells.length - 1),\n detail: to.detail && row === to.row && detailUnder.value(rows[row]) !== null,\n }\n },\n)\nconst startOf = computed(\n () =>\n (element: HTMLTableElement): { row: number; column: number; detail: boolean } => {\n const cells = Array.from(gridRows.value(element)[0]?.cells ?? [])\n const column = cells.findIndex((cell) => cell.querySelector('[data-undrawn]') === null)\n return { row: 0, column: Math.max(column, 0), detail: false }\n },\n)\nconst whereIn = computed(\n () =>\n (element: HTMLTableElement): { row: number; column: number; detail: boolean } =>\n placed.value ? at.value : startOf.value(element),\n)\nconst stopAt = computed(\n () =>\n (\n element: HTMLTableElement,\n to: { row: number; column: number; detail: boolean },\n ): HTMLElement | null => {\n const row = gridRows.value(element)[to.row]\n if (to.detail) return detailUnder.value(row)\n const cell = row?.cells[to.column]\n return cell === undefined ? null : stopIn.value(cell)\n },\n)\nconst rove = computed(\n () => (element: HTMLTableElement, to: { row: number; column: number; detail: boolean }) => {\n at.value = to\n for (const [index, row] of gridRows.value(element).entries()) {\n for (const cell of Array.from(row.cells)) {\n const stop = stopIn.value(cell)\n const wanted = !to.detail && index === to.row && cell.cellIndex === to.column ? '0' : '-1'\n if (stop !== cell && cell.getAttribute('tabindex') !== '-1')\n cell.setAttribute('tabindex', '-1')\n if (stop.getAttribute('tabindex') !== wanted) stop.setAttribute('tabindex', wanted)\n }\n const under = detailUnder.value(row)\n const held = to.detail && index === to.row ? '0' : '-1'\n if (under !== null && under.getAttribute('tabindex') !== held)\n under.setAttribute('tabindex', held)\n }\n },\n)\nconst focusIn = computed(() => (event: FocusEvent) => {\n const element = table.value as HTMLTableElement | null\n if (element === null) return\n if (!holds.value) holds.value = true\n const cell = gridCellOf.value(element, event.target)\n if (cell === null) return\n const to = clampCell.value(\n element,\n positionOf.value(element, cell, whereIn.value(element).column),\n )\n if (to === null) return\n placed.value = true\n rove.value(element, to)\n})\nconst focusOut = computed(() => (event: FocusEvent) => {\n const element = table.value as HTMLTableElement | null\n const left = event.target\n queueMicrotask(() => {\n if (\n element !== null &&\n left instanceof Node &&\n left.isConnected &&\n !element.contains(document.activeElement)\n )\n holds.value = false\n })\n})\nconst keyDown = computed(() => (event: KeyboardEvent) => {\n const element = table.value as HTMLTableElement | null\n const target = event.target instanceof HTMLElement ? event.target : null\n if (\n element === null ||\n target === null ||\n target.closest(\n 'input:not([type=\"checkbox\"]):not([type=\"radio\"]), textarea, [contenteditable]',\n ) !== null\n )\n return\n const cell = gridCellOf.value(element, target)\n if (cell === null) return\n const rows = gridRows.value(element)\n const here = positionOf.value(element, cell, whereIn.value(element).column)\n const forward = getComputedStyle(element).direction === 'rtl' ? -1 : 1\n const far = event.ctrlKey || event.metaKey\n const last = Number.MAX_SAFE_INTEGER\n let next: { row: number; column: number; detail: boolean } | null\n if (here.detail) {\n switch (event.key) {\n case 'ArrowDown':\n next = here.row + 1 < rows.length ? { ...here, row: here.row + 1, detail: false } : null\n break\n case 'ArrowUp':\n next = { ...here, detail: false }\n break\n case 'ArrowRight':\n case 'ArrowLeft':\n next = null\n break\n case 'Home':\n next = far ? { row: 0, column: 0, detail: false } : null\n break\n case 'End':\n next = far ? { row: last, column: last, detail: false } : null\n break\n default:\n return\n }\n } else {\n switch (event.key) {\n case 'ArrowRight':\n next = { ...here, column: here.column + forward }\n break\n case 'ArrowLeft':\n next = { ...here, column: here.column - forward }\n break\n case 'ArrowDown':\n next =\n detailUnder.value(rows[here.row]) !== null\n ? { ...here, detail: true }\n : { ...here, row: here.row + 1 }\n break\n case 'ArrowUp':\n next =\n detailUnder.value(rows[here.row - 1]) !== null\n ? { ...here, row: here.row - 1, detail: true }\n : { ...here, row: here.row - 1 }\n break\n case 'Home':\n next = far ? { row: 0, column: 0, detail: false } : { ...here, column: 0 }\n break\n case 'End':\n next = far ? { row: last, column: last, detail: false } : { ...here, column: last }\n break\n default:\n return\n }\n }\n event.preventDefault()\n const to = next === null ? null : clampCell.value(element, next)\n if (to === null) return\n placed.value = true\n rove.value(element, to)\n stopAt.value(element, to)?.focus()\n})\nconst reclamp = computed(() => () => {\n const element = table.value as HTMLTableElement | null\n if (element === null || !props.grid) return\n const to = clampCell.value(element, whereIn.value(element))\n if (to === null) return\n rove.value(element, to)\n const fell = document.activeElement === null || document.activeElement === document.body\n if (holds.value && fell) stopAt.value(element, to)?.focus()\n})\nprovide('polymorph:Table', {\n get grid() {\n return props.grid\n },\n})\nlet release1: (() => void) | undefined\nconst effect1 = () => {\n release1?.()\n const run = () => {\n overflowing.value =\n wrapper.value !== null && wrapper.value.scrollWidth > wrapper.value.clientWidth\n }\n const resize = typeof ResizeObserver === 'undefined' ? undefined : new ResizeObserver(run)\n for (const element of [wrapper.value, wrapper.value?.firstElementChild])\n if (element) resize?.observe(element)\n release1 = () => {\n resize?.disconnect()\n }\n run()\n}\nonMounted(effect1)\nonBeforeUnmount(() => release1?.())\nlet release2: (() => void) | undefined\nconst effect2 = () => {\n release2?.()\n const run = () => {\n reclamp.value()\n }\n const mutation = typeof MutationObserver === 'undefined' ? undefined : new MutationObserver(run)\n for (const element of [table.value])\n if (element)\n mutation?.observe(element, {\n childList: true,\n characterData: true,\n subtree: true,\n attributeFilter: ['disabled'],\n })\n release2 = () => {\n mutation?.disconnect()\n }\n run()\n}\nonMounted(effect2)\nwatch(() => props.grid, effect2, { flush: 'post' })\nonBeforeUnmount(() => release2?.())\nlet release3: (() => void) | undefined\nconst effect3 = () => {\n release3?.()\n const ran =\n wrapper.value?.parentElement?.closest('[data-member]')?.getAttribute('data-member') ===\n 'data-table'\n ? () => {}\n : agentMember({\n member: 'Table',\n element: () => wrapper.value,\n state: () => ({\n 'sort-key': tableSort(table.value).key,\n 'sort-direction': tableSort(table.value).direction,\n columns: tableSortColumns(table.value),\n }),\n actions: { sort: { argument: 'id', run: (value) => pressTableSort(table.value, value) } },\n })\n release3 = () => {\n ran()\n }\n}\nonMounted(effect3)\nonBeforeUnmount(() => release3?.())\n</script>\n\n<template>\n <div\n ref=\"wrapper\"\n :class=\"styles.wrapper\"\n :data-sticky-header=\"stickyHeader ? '' : undefined\"\n :data-overflowing=\"overflowing ? '' : undefined\"\n :tabindex=\"overflowing && !grid ? '0' : undefined\"\n :role=\"overflowing && label !== undefined ? 'region' : undefined\"\n :aria-label=\"overflowing ? label : undefined\"\n data-member=\"table\"\n >\n <!-- table -->\n <table\n ref=\"table\"\n :class=\"styles.table\"\n :role=\"grid ? 'grid' : undefined\"\n :aria-multiselectable=\"grid && multiselectable ? 'true' : undefined\"\n @focusin=\"grid && focusIn($event)\"\n @focusout=\"grid && focusOut($event)\"\n @keydown=\"grid && keyDown($event)\"\n >\n <!-- caption -->\n <caption\n v-if=\"caption !== undefined\"\n :class=\"[\n captionVisible ? styles.caption : undefined,\n !captionVisible ? styles.captionHidden : undefined,\n ]\"\n >\n {{\n caption\n }}\n </caption>\n <slot />\n </table>\n </div>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4DA,IAAM,IAAQ,GAOR,IAAc,EAAI,EAAK,GACvB,IAAK,EAAI;GAAE,KAAK;GAAG,QAAQ;GAAG,QAAQ;EAAM,CAAC,GAC7C,IAAS,EAAI,EAAK,GAClB,IAAQ,EAAI,EAAK,GACjB,IAAQ,EAA4B,OAAO,GAC3C,IAAU,EAA4B,SAAS,GAC/C,IAAS,SAAgB,MAA4C;GACzE,KAAK,IAAM,KAAQ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EAAA,YAAY,KAAA,IAOT,EAAA,IAAA,EAAA,KAPS,EAAA,GADpB,EAUU,WAAA;;GARP,OAAK,EAAA,CAAc,EAAA,iBAAiB,EAAA,CAAA,CAAM,CAAC,UAAU,KAAA,GAAsB,EAAA,iBAAwC,KAAA,IAAvB,EAAA,CAAA,CAAM,CAAC,aAAgB,CAAA;OAMlH,EAAA,OAAO,GAAA,CAAA,IAGX,EAAQ,EAAA,QAAA,SAAA,CAAA,GAAA,IAAA,CAAA,CAAA,GAAA,IAAA,CAAA"}
@@ -1,5 +1,5 @@
1
1
  //#region ../recipes/src/structure/accordion.module.css
2
- var e = "_root_11ve8_11", t = "_item_11ve8_18", n = "_header_11ve8_28", r = "_trigger_11ve8_34 _focusRing_1lfnc_15 _stateFeedback_lkjqs_17", i = "_label_11ve8_56", a = "_chevron_11ve8_61", o = "_content_11ve8_101", s = "_inner_11ve8_105", c = {
2
+ var e = "_root_15jzo_11", t = "_item_15jzo_18", n = "_header_15jzo_28", r = "_trigger_15jzo_34 _focusAround_1hr3n_95 _stateFeedback_lkjqs_17", i = "_label_15jzo_56", a = "_chevron_15jzo_61", o = "_content_15jzo_109", s = "_inner_15jzo_117", c = {
3
3
  root: e,
4
4
  item: t,
5
5
  header: n,
@@ -8,10 +8,10 @@ var e = "_root_11ve8_11", t = "_item_11ve8_18", n = "_header_11ve8_28", r = "_tr
8
8
  chevron: a,
9
9
  content: o,
10
10
  inner: s,
11
- "pm-accordion-open": "_pm-accordion-open_11ve8_1",
12
- "pm-accordion-close": "_pm-accordion-close_11ve8_1",
13
- "pm-accordion-reveal": "_pm-accordion-reveal_11ve8_1",
14
- "pm-accordion-conceal": "_pm-accordion-conceal_11ve8_1"
11
+ "pm-accordion-open": "_pm-accordion-open_15jzo_1",
12
+ "pm-accordion-close": "_pm-accordion-close_15jzo_1",
13
+ "pm-accordion-reveal": "_pm-accordion-reveal_15jzo_1",
14
+ "pm-accordion-conceal": "_pm-accordion-conceal_15jzo_1"
15
15
  };
16
16
  //#endregion
17
17
  export { a as chevron, o as content, c as default, n as header, s as inner, t as item, i as label, e as root, r as trigger };
@@ -1 +1 @@
1
- {"version":3,"file":"accordion.module.js","names":[],"sources":["../../../../recipes/src/structure/accordion.module.css"],"sourcesContent":["/* Accordion — `design/components/accordion.md`.\n *\n * One treatment: **ruled**, a hairline in technical systems and a warmer rule in\n * document ones. No boxed variant: a panel around a disclosure list is a Card.\n *\n * Motion is CSS rather than the engine, as in the sidebar. `collapse` animates a\n * size, the one thing law 2 lets a container animate, and a CSS transition on\n * Radix's measured height is interruptible. Durations are `--pm-motion-*`\n * tokens, so temperament rescales them and `none` stops them. */\n\n.root {\n display: flex;\n flex-direction: column;\n}\n\n/* Each row draws its bottom rule. The first row also draws the top rule, which\n the list would otherwise lack. */\n.item {\n border-block-end: 1px solid var(--pm-border-subtle);\n}\n\n.item:first-child {\n border-block-start: 1px solid var(--pm-border-subtle);\n}\n\n/* The heading is a real `<h3>`/`<h4>` with user-agent margins and display.\n They are reset because the trigger inside it owns the layout. */\n.header {\n display: flex;\n margin: 0;\n font: inherit;\n}\n\n.trigger {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback from '../conventions/motion.module.css';\n display: flex;\n gap: var(--pm-space-3);\n align-items: center;\n inline-size: 100%;\n min-block-size: var(--pm-control-height-lg);\n padding-block: var(--pm-space-3);\n padding-inline: 0;\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 text-align: start;\n cursor: pointer;\n background: transparent;\n border: 0;\n}\n\n.label {\n flex: 1;\n min-inline-size: 0;\n}\n\n.chevron {\n display: inline-flex;\n flex: none;\n align-items: center;\n color: var(--pm-text-muted);\n\n /* Rotates on `control` × `standard`, like Select's chevron, because the change\n is symmetric and has no direction of travel. */\n transition: transform var(--pm-motion-duration-control) var(--pm-motion-easing-standard);\n}\n\n/* states -------------------------------------------------------------------- */\n\n/* Hover changes colour only. The rules already separate the rows, and a tinted\n background on one row would look like a selection. */\n.trigger:hover {\n color: var(--pm-accent-text);\n}\n\n.trigger:hover .chevron {\n color: var(--pm-text-secondary);\n}\n\n.trigger[data-state='open'] .chevron {\n transform: rotate(180deg);\n}\n\n/* After hover, so a pointer over a disabled row does not highlight it. */\n.trigger[data-disabled],\n.trigger[data-disabled]:hover,\n.trigger[data-disabled]:hover .chevron {\n color: var(--pm-text-disabled);\n cursor: default;\n}\n\n/* the panel ------------------------------------------------------------------\n *\n * `overflow: hidden` clips the content while the size animates, as the motion\n * spec's interruption laws require (`design/motion/motion.md`). */\n\n.content {\n overflow: hidden;\n}\n\n.inner {\n padding-block: 0 var(--pm-space-4);\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-secondary);\n}\n\n/* `collapse`, persistent mode: size over `surface` × `standard` both ways, from\n Radix's measured height. That property is browser-measured geometry, so it is\n lawful in vocabulary CSS. */\n\n@keyframes pm-accordion-open {\n from {\n block-size: 0;\n }\n\n to {\n block-size: var(--radix-accordion-content-height);\n }\n}\n\n@keyframes pm-accordion-close {\n from {\n block-size: var(--radix-accordion-content-height);\n }\n\n to {\n block-size: 0;\n }\n}\n\n/* The content fade, the `collapse` pattern's 0.5 split (`design/motion/motion.md`):\n in over the second half, and out before the space closes. */\n\n@keyframes pm-accordion-reveal {\n from {\n opacity: 0;\n }\n}\n\n@keyframes pm-accordion-conceal {\n to {\n opacity: 0;\n }\n}\n\n.content[data-state='open'] {\n animation: pm-accordion-open var(--pm-motion-duration-surface) var(--pm-motion-easing-standard);\n}\n\n.content[data-state='closed'] {\n animation: pm-accordion-close var(--pm-motion-duration-surface) var(--pm-motion-easing-standard);\n}\n\n.content[data-state='open'] .inner {\n animation: pm-accordion-reveal calc(var(--pm-motion-duration-surface) * 0.5)\n var(--pm-motion-easing-standard) calc(var(--pm-motion-duration-surface) * 0.5) both;\n}\n\n.content[data-state='closed'] .inner {\n animation: pm-accordion-conceal calc(var(--pm-motion-duration-surface) * 0.5)\n var(--pm-motion-easing-standard) both;\n}\n\n/* Reduced-motion projection (`design/motion/motion.md`): `collapse` keeps the\n content fade, but the size change is instant, so only the size animations go. */\n@media (prefers-reduced-motion: reduce) {\n .content[data-state='open'],\n .content[data-state='closed'] {\n animation: none;\n }\n\n .chevron {\n transition: none;\n }\n}\n"],"mappings":""}
1
+ {"version":3,"file":"accordion.module.js","names":[],"sources":["../../../../recipes/src/structure/accordion.module.css"],"sourcesContent":["/* Accordion — `design/components/accordion.md`.\n *\n * One treatment: **ruled**, a hairline in technical systems and a warmer rule in\n * document ones. No boxed variant: a panel around a disclosure list is a Card.\n *\n * Motion is CSS rather than the engine, as in the sidebar. `collapse` animates a\n * size, the one thing law 2 lets a container animate, and a CSS transition on\n * Radix's measured height is interruptible. Durations are `--pm-motion-*`\n * tokens, so temperament rescales them and `none` stops them. */\n\n.root {\n display: flex;\n flex-direction: column;\n}\n\n/* Each row draws its bottom rule. The first row also draws the top rule, which\n the list would otherwise lack. */\n.item {\n border-block-end: 1px solid var(--pm-border-subtle);\n}\n\n.item:first-child {\n border-block-start: 1px solid var(--pm-border-subtle);\n}\n\n/* The heading is a real `<h3>`/`<h4>` with user-agent margins and display.\n They are reset because the trigger inside it owns the layout. */\n.header {\n display: flex;\n margin: 0;\n font: inherit;\n}\n\n.trigger {\n composes: focusAround from '../conventions/focus.module.css';\n composes: stateFeedback from '../conventions/motion.module.css';\n display: flex;\n gap: var(--pm-space-3);\n align-items: center;\n inline-size: 100%;\n min-block-size: var(--pm-control-height-lg);\n padding-block: var(--pm-space-3);\n padding-inline: 0;\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 text-align: start;\n cursor: pointer;\n background: transparent;\n border: 0;\n}\n\n.label {\n flex: 1;\n min-inline-size: 0;\n}\n\n.chevron {\n display: inline-flex;\n flex: none;\n align-items: center;\n color: var(--pm-text-muted);\n\n /* Rotates on `control` × `standard`, like Select's chevron, because the change\n is symmetric and has no direction of travel. */\n transition: transform var(--pm-motion-duration-control) var(--pm-motion-easing-standard);\n}\n\n/* states -------------------------------------------------------------------- */\n\n/* Hover changes colour only. The rules already separate the rows, and a tinted\n background on one row would look like a selection. */\n.trigger:hover {\n color: var(--pm-accent-text);\n}\n\n.trigger:hover .chevron {\n color: var(--pm-text-secondary);\n}\n\n.trigger[data-state='open'] .chevron {\n transform: rotate(180deg);\n}\n\n/* After hover, so a pointer over a disabled row does not highlight it. */\n.trigger[data-disabled],\n.trigger[data-disabled]:hover,\n.trigger[data-disabled] .chevron {\n color: var(--pm-text-disabled);\n cursor: default;\n}\n\n/* the panel ------------------------------------------------------------------\n *\n * `overflow: hidden` clips the content while the size animates, as the motion\n * spec's interruption laws require (`design/motion/motion.md`).\n *\n * A box that clips cuts what is drawn outside its content at its padding edge:\n * the seat shadow of a field or a Button against the panel's side, and a\n * control's focus mark, drawn a `space-1` gap outside it. So the panel is wider\n * than its content by `space-2` on each side, and its margins take that back, so\n * the content stays under the trigger's label. The room is on the inline axis\n * only, because room on the block axis would change the height Radix measures\n * and the animation runs to. */\n\n.content {\n --pm-accordion-reach: var(--pm-space-2);\n\n margin-inline: calc(var(--pm-accordion-reach) * -1);\n padding-inline: var(--pm-accordion-reach);\n overflow: hidden;\n}\n\n.inner {\n padding-block: 0 var(--pm-space-4);\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-secondary);\n}\n\n/* `collapse`, persistent mode: size over `surface` × `standard` both ways, from\n Radix's measured height. That property is browser-measured geometry, so it is\n lawful in vocabulary CSS. */\n\n@keyframes pm-accordion-open {\n from {\n block-size: 0;\n }\n\n to {\n block-size: var(--radix-accordion-content-height);\n }\n}\n\n@keyframes pm-accordion-close {\n from {\n block-size: var(--radix-accordion-content-height);\n }\n\n to {\n block-size: 0;\n }\n}\n\n/* The content fade, the `collapse` pattern's 0.5 split (`design/motion/motion.md`):\n in over the second half, and out before the space closes. */\n\n@keyframes pm-accordion-reveal {\n from {\n opacity: 0;\n }\n}\n\n@keyframes pm-accordion-conceal {\n to {\n opacity: 0;\n }\n}\n\n.content[data-state='open'] {\n animation: pm-accordion-open var(--pm-motion-duration-surface) var(--pm-motion-easing-standard);\n}\n\n.content[data-state='closed'] {\n animation: pm-accordion-close var(--pm-motion-duration-surface) var(--pm-motion-easing-standard);\n}\n\n.content[data-state='open'] .inner {\n animation: pm-accordion-reveal calc(var(--pm-motion-duration-surface) * 0.5)\n var(--pm-motion-easing-standard) calc(var(--pm-motion-duration-surface) * 0.5) both;\n}\n\n.content[data-state='closed'] .inner {\n animation: pm-accordion-conceal calc(var(--pm-motion-duration-surface) * 0.5)\n var(--pm-motion-easing-standard) both;\n}\n\n/* Reduced-motion projection (`design/motion/motion.md`): `collapse` keeps the\n content fade, but the size change is instant, so only the size animations go. */\n@media (prefers-reduced-motion: reduce) {\n .content[data-state='open'],\n .content[data-state='closed'] {\n animation: none;\n }\n\n .chevron {\n transition: none;\n }\n}\n"],"mappings":""}
@@ -1,5 +1,5 @@
1
1
  //#region ../recipes/src/structure/breadcrumbs.module.css
2
- var e = "_nav_15rpk_9", t = "_list_15rpk_13", n = "_item_15rpk_33", r = "_crumb_15rpk_46 _stateFeedback_lkjqs_17 _focusRing_1lfnc_15", i = "_separator_15rpk_84", a = {
2
+ var e = "_nav_104a1_9", t = "_list_104a1_13", n = "_item_104a1_33", r = "_crumb_104a1_46 _stateFeedback_lkjqs_17 _focusAround_1hr3n_95", i = "_separator_104a1_84", a = {
3
3
  nav: e,
4
4
  list: t,
5
5
  item: n,
@@ -1 +1 @@
1
- {"version":3,"file":"breadcrumbs.module.js","names":[],"sources":["../../../../recipes/src/structure/breadcrumbs.module.css"],"sourcesContent":["/* Breadcrumbs — `design/components/breadcrumbs.md`.\n *\n * Link's styling (underline on hover, focus ring, decoration metrics) in\n * `text.secondary`, because eight accent links would compete with the page.\n *\n * No motion of its own: navigation does not animate (the AppShell rail's law).\n * The overflow Menu brings its own. */\n\n.nav {\n min-inline-size: 0;\n}\n\n.list {\n display: flex;\n flex-wrap: nowrap;\n gap: var(--pm-space-2);\n align-items: center;\n margin: 0;\n padding: 0;\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 list-style: none;\n}\n\n/* An item is a crumb and the separator after it. It is a grid so that the row\n knows the narrowest an item can be: the crumb's track goes down to\n `--pm-space-6`, room for a letter and an ellipsis, and the separator keeps\n its width. In a flex item the crumb's whole label would count, and no item\n could narrow. */\n.item {\n display: grid;\n flex: none;\n grid-template-columns: minmax(var(--pm-space-6), auto);\n grid-auto-columns: auto;\n grid-auto-flow: column;\n gap: var(--pm-space-2);\n align-items: center;\n}\n\n/* A row wider than its container narrows its crumbs. It stays one line, and it\n does not reach past the container, where on a phone it pans the page. The\n overflow control's item holds no crumb and keeps its width. */\n.item:has(.crumb) {\n flex-shrink: 1;\n}\n\n/* The middle of the trail narrows first, as it is the middle the overflow\n takes. The first crumb and the current page keep their words until every\n crumb between them is at its floor. Flex shrink is a proportion, not an\n order, so the middle's factor is large enough that the two ends give up less\n width than a browser lays out while a middle crumb has any to give. */\n.item:has(.crumb):not(:first-child, :last-child) {\n flex-shrink: 1000000;\n}\n\n/* Every crumb is clipped at the same width, so a 40-character document title\n does not break the single row. A crumb in a narrowed item is clipped at its\n track's width. */\n.crumb {\n composes: stateFeedback from '../conventions/motion.module.css';\n composes: focusRing from '../conventions/focus.module.css';\n display: inline-block;\n min-inline-size: 0;\n max-inline-size: calc(var(--pm-space-10) * 2);\n padding: 0;\n overflow: hidden;\n font: inherit;\n color: var(--pm-text-secondary);\n text-align: start;\n text-overflow: ellipsis;\n white-space: nowrap;\n text-decoration-line: none;\n text-decoration-thickness: 1px;\n text-underline-offset: 2px;\n cursor: pointer;\n background: transparent;\n border: 0;\n border-radius: var(--pm-radius-sm);\n}\n\n.separator {\n display: inline-flex;\n flex: none;\n align-items: center;\n color: var(--pm-text-muted);\n}\n\n/* states -------------------------------------------------------------------- */\n\n/* Colour and underline, so the affordance does not depend on seeing the\n difference between two greys. This is Link's rule. */\n.crumb:hover {\n color: var(--pm-text-primary);\n text-decoration-line: underline;\n}\n\n/* After hover, so it wins. The current page is a location, not a link, so it has\n no underline, no hover colour and no pointer cursor. */\n.crumb[aria-current='page'],\n.crumb[aria-current='page']:hover {\n color: var(--pm-text-primary);\n text-decoration-line: none;\n cursor: default;\n}\n"],"mappings":""}
1
+ {"version":3,"file":"breadcrumbs.module.js","names":[],"sources":["../../../../recipes/src/structure/breadcrumbs.module.css"],"sourcesContent":["/* Breadcrumbs — `design/components/breadcrumbs.md`.\n *\n * Link's styling (underline on hover, focus ring, decoration metrics) in\n * `text.secondary`, because eight accent links would compete with the page.\n *\n * No motion of its own: navigation does not animate (the AppShell rail's law).\n * The overflow Menu brings its own. */\n\n.nav {\n min-inline-size: 0;\n}\n\n.list {\n display: flex;\n flex-wrap: nowrap;\n gap: var(--pm-space-2);\n align-items: center;\n margin: 0;\n padding: 0;\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 list-style: none;\n}\n\n/* An item is a crumb and the separator after it. It is a grid so that the row\n knows the narrowest an item can be: the crumb's track goes down to\n `--pm-space-6`, room for a letter and an ellipsis, and the separator keeps\n its width. In a flex item the crumb's whole label would count, and no item\n could narrow. */\n.item {\n display: grid;\n flex: none;\n grid-template-columns: minmax(var(--pm-space-6), auto);\n grid-auto-columns: auto;\n grid-auto-flow: column;\n gap: var(--pm-space-2);\n align-items: center;\n}\n\n/* A row wider than its container narrows its crumbs. It stays one line, and it\n does not reach past the container, where on a phone it pans the page. The\n overflow control's item holds no crumb and keeps its width. */\n.item:has(.crumb) {\n flex-shrink: 1;\n}\n\n/* The middle of the trail narrows first, as it is the middle the overflow\n takes. The first crumb and the current page keep their words until every\n crumb between them is at its floor. Flex shrink is a proportion, not an\n order, so the middle's factor is large enough that the two ends give up less\n width than a browser lays out while a middle crumb has any to give. */\n.item:has(.crumb):not(:first-child, :last-child) {\n flex-shrink: 1000000;\n}\n\n/* Every crumb is clipped at the same width, so a 40-character document title\n does not break the single row. A crumb in a narrowed item is clipped at its\n track's width. */\n.crumb {\n composes: stateFeedback from '../conventions/motion.module.css';\n composes: focusAround from '../conventions/focus.module.css';\n display: inline-block;\n min-inline-size: 0;\n max-inline-size: calc(var(--pm-space-10) * 2);\n padding: 0;\n overflow: hidden;\n font: inherit;\n color: var(--pm-text-secondary);\n text-align: start;\n text-overflow: ellipsis;\n white-space: nowrap;\n text-decoration-line: none;\n text-decoration-thickness: 1px;\n text-underline-offset: 2px;\n cursor: pointer;\n background: transparent;\n border: 0;\n border-radius: var(--pm-radius-sm);\n}\n\n.separator {\n display: inline-flex;\n flex: none;\n align-items: center;\n color: var(--pm-text-muted);\n}\n\n/* states -------------------------------------------------------------------- */\n\n/* Colour and underline, so the affordance does not depend on seeing the\n difference between two greys. This is Link's rule. */\n.crumb:hover {\n color: var(--pm-text-primary);\n text-decoration-line: underline;\n}\n\n/* After hover, so it wins. The current page is a location, not a link, so it has\n no underline, no hover colour and no pointer cursor. */\n.crumb[aria-current='page'],\n.crumb[aria-current='page']:hover {\n color: var(--pm-text-primary);\n text-decoration-line: none;\n cursor: default;\n}\n"],"mappings":""}
@@ -1,5 +1,5 @@
1
1
  //#region ../recipes/src/structure/card.module.css
2
- var e = "_card_13gut_7 _layout_ul633_13 _stateFeedback_lkjqs_17", t = "_title_13gut_34", n = "_cover_13gut_47", r = {
2
+ var e = "_card_1w51v_7 _layout_ul633_13 _stateFeedback_lkjqs_17", t = "_title_1w51v_34", n = "_cover_1w51v_47", r = {
3
3
  card: e,
4
4
  title: t,
5
5
  cover: n
@@ -1 +1 @@
1
- {"version":3,"file":"card.module.js","names":[],"sources":["../../../../recipes/src/structure/card.module.css"],"sourcesContent":["/* Card — `design/components/card.md`.\n *\n * Padding is composed from `layout`, so `data-p`, `data-px` and `data-py` share\n * Stack's table of steps. Card adds the surface and the radius patch, which\n * layout primitives lack because they paint nothing. */\n\n.card {\n composes: layout from '../layout/layout.module.css';\n composes: stateFeedback from '../conventions/motion.module.css';\n\n /* Containing block for the stretched link. Every card is positioned, so a\n linked card differs only in its states, not its layout. */\n position: relative;\n display: block;\n padding: var(--pm-inset-surface);\n background: var(--pm-bg-surface);\n\n /* Present at every depth. With a shadow it defines the edge. Without one it is\n the only separation. */\n border: 1px solid var(--pm-border-subtle);\n border-radius: var(--pm-radius-surface);\n\n /* The lit fill's top highlight, shared with controls so buttons and cards have\n one light source. It matters most in dark mode, where a black shadow cannot\n separate a panel from the background. Flat systems resolve both values to\n `none` together (the coherence law pairs them). */\n box-shadow: var(--pm-shadow-resting), var(--pm-shadow-inset-top);\n}\n\n/* The title: the section-heading recipe, which SettingsRow.Group's title\n matches and Dashboard.Panel's title is, because a product has one style for\n section headings. The same at every level, so the outline can follow the\n page. */\n.title {\n margin: 0 0 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 color: var(--pm-text-secondary);\n text-transform: uppercase;\n}\n\n/* The stretched link: covers the surface, named by `label`, paints nothing. Its\n UA ring is suppressed because the card draws the ring. */\n.cover {\n position: absolute;\n inset: 0;\n border-radius: inherit;\n outline: none;\n}\n\n/* radius patch — an instance patch, rung 3 of the exception ladder. Stated\n after the base, so a patch wins. */\n\n.card[data-radius='none'] {\n border-radius: var(--pm-radius-none);\n}\n\n.card[data-radius='sm'] {\n border-radius: var(--pm-radius-sm);\n}\n\n.card[data-radius='md'] {\n border-radius: var(--pm-radius-md);\n}\n\n.card[data-radius='lg'] {\n border-radius: var(--pm-radius-lg);\n}\n\n.card[data-radius='pill'] {\n border-radius: var(--pm-radius-pill);\n}\n\n/* the interactive card ------------------------------------------------------\n *\n * Hover: the shadow moves up one elevation step and the border one step\n * stronger, as on Input. In flat systems the border is the whole hover.\n * `stateFeedback` on the base transitions `box-shadow` with the colours. */\n\n.card[data-interactive] {\n cursor: pointer;\n}\n\n.card[data-interactive]:hover {\n border-color: var(--pm-border-default);\n box-shadow: var(--pm-shadow-transient), var(--pm-shadow-inset-top);\n}\n\n/* The focus ring on the card via `:has()`, with the composed rule's tokens.\n Restated because the focusable element is the covering link, and the\n delegating selector in `focus.module.css` covers only composite fields. Last\n state rule, so keyboard focus wins over hover. */\n.card[data-interactive]:has(:focus-visible) {\n outline: var(--pm-focus-width) solid var(--pm-border-focus);\n outline-offset: var(--pm-focus-offset);\n box-shadow: var(--pm-glow-focus);\n}\n"],"mappings":""}
1
+ {"version":3,"file":"card.module.js","names":[],"sources":["../../../../recipes/src/structure/card.module.css"],"sourcesContent":["/* Card — `design/components/card.md`.\n *\n * Padding is composed from `layout`, so `data-p`, `data-px` and `data-py` share\n * Stack's table of steps. Card adds the surface and the radius patch, which\n * layout primitives lack because they paint nothing. */\n\n.card {\n composes: layout from '../layout/layout.module.css';\n composes: stateFeedback from '../conventions/motion.module.css';\n\n /* Containing block for the stretched link. Every card is positioned, so a\n linked card differs only in its states, not its layout. */\n position: relative;\n display: block;\n padding: var(--pm-inset-surface);\n background: var(--pm-bg-surface);\n\n /* Present at every depth. With a shadow it defines the edge. Without one it is\n the only separation. */\n border: 1px solid var(--pm-border-subtle);\n border-radius: var(--pm-radius-surface);\n\n /* The lit fill's top highlight, shared with controls so buttons and cards have\n one light source. It matters most in dark mode, where a black shadow cannot\n separate a panel from the background. Flat systems resolve both values to\n `none` together (the coherence law pairs them). */\n box-shadow: var(--pm-shadow-resting), var(--pm-shadow-inset-top);\n}\n\n/* The title: the section-heading recipe, which SettingsRow.Group's title\n matches and Dashboard.Panel's title is, because a product has one style for\n section headings. The same at every level, so the outline can follow the\n page. */\n.title {\n margin: 0 0 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 color: var(--pm-text-secondary);\n text-transform: uppercase;\n}\n\n/* The stretched link: covers the surface, named by `label`, paints nothing. Its\n UA ring is suppressed because the card draws the ring. */\n.cover {\n position: absolute;\n inset: 0;\n border-radius: inherit;\n outline: none;\n}\n\n/* radius patch — an instance patch, rung 3 of the exception ladder. Stated\n after the base, so a patch wins. */\n\n.card[data-radius='none'] {\n border-radius: var(--pm-radius-none);\n}\n\n.card[data-radius='sm'] {\n border-radius: var(--pm-radius-sm);\n}\n\n.card[data-radius='md'] {\n border-radius: var(--pm-radius-md);\n}\n\n.card[data-radius='lg'] {\n border-radius: var(--pm-radius-lg);\n}\n\n.card[data-radius='pill'] {\n border-radius: var(--pm-radius-pill);\n}\n\n/* the interactive card ------------------------------------------------------\n *\n * Hover: the shadow moves up one elevation step and the border one step\n * stronger, as on Input. In flat systems the border is the whole hover.\n * `stateFeedback` on the base transitions `box-shadow` with the colours. */\n\n.card[data-interactive] {\n cursor: pointer;\n}\n\n.card[data-interactive]:hover {\n border-color: var(--pm-border-default);\n box-shadow: var(--pm-shadow-transient), var(--pm-shadow-inset-top);\n}\n\n/* The focus mark on the card via `:has()`, with the shared convention's\n tokens: the outline in the focus colour at the system's offset, inside the\n card's edge by default. Restated because the focusable element is the\n covering link, and the delegating selector in `focus.module.css` covers only\n composite fields. Last state rule, so keyboard focus wins over hover. */\n.card[data-interactive]:has(:focus-visible) {\n outline: var(--pm-focus-width) solid var(--pm-border-focus-solid);\n outline-offset: var(--pm-focus-offset);\n}\n"],"mappings":""}
@@ -1,5 +1,5 @@
1
1
  //#region ../recipes/src/structure/carousel.module.css
2
- var e = "_viewport_1n5zo_10 _focusRing_1lfnc_15", t = "_slide_1n5zo_19", n = "_controls_1n5zo_25", r = "_rail_1n5zo_39", i = "_dot_1n5zo_51 _focusRing_1lfnc_15 _stateFeedback_lkjqs_17", a = {
2
+ var e = "_viewport_3cijn_10 _focusRing_1hr3n_49", t = "_slide_3cijn_19", n = "_controls_3cijn_25", r = "_rail_3cijn_39", i = "_dot_3cijn_51 _focusAround_1hr3n_95 _stateFeedback_lkjqs_17", a = {
3
3
  viewport: e,
4
4
  slide: t,
5
5
  controls: n,
@@ -1 +1 @@
1
- {"version":3,"file":"carousel.module.js","names":[],"sources":["../../../../recipes/src/structure/carousel.module.css"],"sourcesContent":["/* Carousel — `design/components/carousel.md`.\n *\n * A snap-scrolling viewport, so swipe, momentum and RTL need no code. The\n * scrollbar is hidden because the dots and buttons replace it.\n *\n * No autoplay. The only animation here is the current dot's width, on the\n * state-feedback timing. Programmatic scrolling uses the surface duration in the\n * component. */\n\n.viewport {\n composes: focusRing from '../conventions/focus.module.css';\n display: flex;\n overflow-x: auto;\n scroll-snap-type: x mandatory;\n scrollbar-width: none;\n border-radius: var(--pm-radius-md);\n}\n\n.slide {\n min-inline-size: 100%;\n scroll-snap-align: start;\n scroll-snap-stop: always;\n}\n\n.controls {\n display: flex;\n gap: var(--pm-space-3);\n align-items: center;\n justify-content: center;\n margin-block-start: var(--pm-space-3);\n}\n\n/* The dots sit one hit target apart, centre to centre, so each dot's hit area\n ends where its neighbour's begins. Closer together, a hit area reaches over\n the next dot, and a press on a dot lands on the dot after it. The padding\n holds the outer hit areas inside the rail, clear of the buttons beside it.\n A rail longer than its line wraps, and its rows are one hit target apart\n too. */\n.rail {\n display: inline-flex;\n flex-wrap: wrap;\n gap: calc(var(--pm-hit-target) - var(--pm-space-2));\n align-items: center;\n justify-content: center;\n padding: calc((var(--pm-hit-target) - var(--pm-space-2)) / 2);\n}\n\n/* A dot shows one position. The pseudo-element grows the hit area to the\n `--pm-hit-target` square, the minimum pressable size at every density, so the\n dots can stay small. A space step would shrink with density, below it. */\n.dot {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback from '../conventions/motion.module.css';\n position: relative;\n inline-size: var(--pm-space-2);\n block-size: var(--pm-space-2);\n padding: 0;\n cursor: pointer;\n background: var(--pm-border-default);\n border: none;\n border-radius: var(--pm-radius-pill);\n transition:\n background-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard),\n inline-size var(--pm-motion-duration-control) var(--pm-motion-easing-standard),\n margin-inline var(--pm-motion-duration-control) var(--pm-motion-easing-standard);\n}\n\n.dot::after {\n position: absolute;\n inset-block-start: calc((100% - var(--pm-hit-target)) / 2);\n inset-inline-start: calc((100% - var(--pm-hit-target)) / 2);\n inline-size: var(--pm-hit-target);\n block-size: var(--pm-hit-target);\n content: '';\n}\n\n.dot:hover {\n background: var(--pm-border-strong);\n}\n\n/* The current position: a wider accent pill. The negative margin takes the\n extra width back, so the pill grows about its own centre. The other dots\n keep their places, and its hit area stays the square its neighbours end\n at. */\n.dot[aria-current='true'] {\n inline-size: var(--pm-space-4);\n margin-inline: calc((var(--pm-space-2) - var(--pm-space-4)) / 2);\n background: var(--pm-accent-bg);\n}\n"],"mappings":""}
1
+ {"version":3,"file":"carousel.module.js","names":[],"sources":["../../../../recipes/src/structure/carousel.module.css"],"sourcesContent":["/* Carousel — `design/components/carousel.md`.\n *\n * A snap-scrolling viewport, so swipe, momentum and RTL need no code. The\n * scrollbar is hidden because the dots and buttons replace it.\n *\n * No autoplay. The only animation here is the current dot's width, on the\n * state-feedback timing. Programmatic scrolling uses the surface duration in the\n * component. */\n\n.viewport {\n composes: focusRing from '../conventions/focus.module.css';\n display: flex;\n overflow-x: auto;\n scroll-snap-type: x mandatory;\n scrollbar-width: none;\n border-radius: var(--pm-radius-md);\n}\n\n.slide {\n min-inline-size: 100%;\n scroll-snap-align: start;\n scroll-snap-stop: always;\n}\n\n.controls {\n display: flex;\n gap: var(--pm-space-3);\n align-items: center;\n justify-content: center;\n margin-block-start: var(--pm-space-3);\n}\n\n/* The dots sit one hit target apart, centre to centre, so each dot's hit area\n ends where its neighbour's begins. Closer together, a hit area reaches over\n the next dot, and a press on a dot lands on the dot after it. The padding\n holds the outer hit areas inside the rail, clear of the buttons beside it.\n A rail longer than its line wraps, and its rows are one hit target apart\n too. */\n.rail {\n display: inline-flex;\n flex-wrap: wrap;\n gap: calc(var(--pm-hit-target) - var(--pm-space-2));\n align-items: center;\n justify-content: center;\n padding: calc((var(--pm-hit-target) - var(--pm-space-2)) / 2);\n}\n\n/* A dot shows one position. The pseudo-element grows the hit area to the\n `--pm-hit-target` square, the minimum pressable size at every density, so the\n dots can stay small. A space step would shrink with density, below it. */\n.dot {\n composes: focusAround from '../conventions/focus.module.css';\n composes: stateFeedback from '../conventions/motion.module.css';\n position: relative;\n inline-size: var(--pm-space-2);\n block-size: var(--pm-space-2);\n padding: 0;\n cursor: pointer;\n background: var(--pm-border-default);\n border: none;\n border-radius: var(--pm-radius-pill);\n transition:\n background-color var(--pm-motion-duration-control) var(--pm-motion-easing-standard),\n inline-size var(--pm-motion-duration-control) var(--pm-motion-easing-standard),\n margin-inline var(--pm-motion-duration-control) var(--pm-motion-easing-standard);\n}\n\n.dot::after {\n position: absolute;\n inset-block-start: calc((100% - var(--pm-hit-target)) / 2);\n inset-inline-start: calc((100% - var(--pm-hit-target)) / 2);\n inline-size: var(--pm-hit-target);\n block-size: var(--pm-hit-target);\n content: '';\n}\n\n.dot:hover {\n background: var(--pm-border-strong);\n}\n\n/* The current position: a wider accent pill. The negative margin takes the\n extra width back, so the pill grows about its own centre. The other dots\n keep their places, and its hit area stays the square its neighbours end\n at. */\n.dot[aria-current='true'] {\n inline-size: var(--pm-space-4);\n margin-inline: calc((var(--pm-space-2) - var(--pm-space-4)) / 2);\n background: var(--pm-accent-bg);\n}\n"],"mappings":""}
@@ -1,9 +1,9 @@
1
1
  //#region ../recipes/src/structure/code-block.module.css
2
- var e = "_block_122rw_6 _focusRing_1lfnc_15", t = "_copyable_122rw_29", n = "_control_122rw_35", r = "_reader_122rw_54 _visuallyHidden_qxi8b_14", i = {
2
+ var e = "_block_1j1lk_6 _focusRing_1hr3n_49", t = "_copyable_1j1lk_39", n = "_control_1j1lk_55", r = "_reader_1j1lk_81 _visuallyHidden_qxi8b_14", i = {
3
3
  block: e,
4
4
  copyable: t,
5
5
  control: n,
6
- "code-block-swap": "_code-block-swap_122rw_1",
6
+ "code-block-swap": "_code-block-swap_1j1lk_1",
7
7
  reader: r
8
8
  };
9
9
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"code-block.module.js","names":[],"sources":["../../../../recipes/src/structure/code-block.module.css"],"sourcesContent":["/* CodeBlock — `design/components/code-block.md`.\n *\n * The `<pre>` is the scroll container itself: the spec's anatomy is only\n * `<pre><code>`, and a wrapper would split the border from the scrolling. */\n\n.block {\n composes: focusRing from '../conventions/focus.module.css';\n padding: var(--pm-space-4);\n overflow-x: auto;\n font-family: var(--pm-font-mono);\n font-size: var(--pm-text-sm-size);\n color: var(--pm-text-primary);\n\n /* Whitespace is content, and wrapping a command would change it. */\n white-space: pre;\n background: var(--pm-bg-subtle);\n border: 1px solid var(--pm-border-subtle);\n border-radius: var(--pm-radius-md);\n}\n\n/* With the copy control in the corner, the block reserves its width so the\n longest line scrolls clear of it (container-first: content is never covered). */\n.block[data-copyable] {\n padding-inline-end: calc(var(--pm-space-4) + var(--pm-control-height-sm));\n}\n\n/* The wrapper exists only when copyable. It is the containing block for the\n corner control and paints nothing. */\n.copyable {\n position: relative;\n}\n\n/* Corner control, placed like Dialog's close: absolute, inset from the top and\n inline end by the block's padding step. */\n.control {\n position: absolute;\n inset-block-start: var(--pm-space-4);\n inset-inline-end: var(--pm-space-4);\n}\n\n/* The `copy` → `confirm` swap fades in at control duration, as Table's sort\n glyph does. Enter only, like Input's clear, because nobody watches the revert.\n Opacity only, so reduced motion has nothing to remove. */\n.copyable[data-state='copied'] .control {\n animation: code-block-swap var(--pm-motion-duration-control) var(--pm-motion-easing-standard);\n}\n\n@keyframes code-block-swap {\n from {\n opacity: 0;\n }\n}\n\n.reader {\n composes: visuallyHidden from '../conventions/a11y.module.css';\n}\n"],"mappings":""}
1
+ {"version":3,"file":"code-block.module.js","names":[],"sources":["../../../../recipes/src/structure/code-block.module.css"],"sourcesContent":["/* CodeBlock — `design/components/code-block.md`.\n *\n * The `<pre>` is the scroll container itself: the spec's anatomy is only\n * `<pre><code>`, and a wrapper would split the border from the scrolling. */\n\n.block {\n composes: focusRing from '../conventions/focus.module.css';\n padding: var(--pm-space-4);\n overflow-x: auto;\n font-family: var(--pm-font-mono);\n font-size: var(--pm-text-sm-size);\n\n /* Stated, not inherited, because the copy control is sized in lines. */\n line-height: var(--pm-text-sm-line-height);\n color: var(--pm-text-primary);\n\n /* Whitespace is content, and wrapping a command would change it. */\n white-space: pre;\n background: var(--pm-bg-subtle);\n border: 1px solid var(--pm-border-subtle);\n border-radius: var(--pm-radius-md);\n}\n\n/* With the copy control in the corner, the block reserves the corner's width so\n the longest line scrolls clear of it (container-first: content is never\n covered at rest). */\n.block[data-copyable] {\n padding-inline-end: calc(var(--pm-space-2) + var(--pm-control-height-sm) + var(--pm-space-4));\n}\n\n/* The wrapper exists only when copyable. It is the containing block for the\n corner control and paints nothing.\n\n It is a one-cell grid so the block always fills it. A row that stretches the\n wrapper beside a taller neighbour then stretches the block with it, as it\n stretches a block with no control, and the control, which is sized against\n the wrapper, is sized against the block. `minmax(0, 1fr)` keeps the cell the\n wrapper's width, so a long line scrolls and does not widen it. */\n.copyable {\n position: relative;\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n}\n\n/* Corner control, placed like Dialog's close: the button sits inset from the\n top and inline end by the block's padding step. The control itself reaches\n the block's corner, inside its border, and paints the block's surface, so a\n line that runs into the corner before it is scrolled is cut off at one edge\n and never shows through or beside the glyph.\n\n It ends where the second line of code ends, which is the least that holds\n the button, so it never covers part of a line. A one-line block is shorter\n than that, and the maximum stops the control at the block's bottom padding\n there, clear of the rounded corner and of a scrollbar. */\n.control {\n position: absolute;\n inset-block-start: 1px;\n inset-inline-end: 1px;\n box-sizing: border-box;\n block-size: calc(var(--pm-space-4) + 2 * var(--pm-text-sm-line-height) * var(--pm-text-sm-size));\n max-block-size: calc(100% - 2px - var(--pm-space-4));\n padding-block-start: calc(var(--pm-space-4) - 1px);\n padding-inline: var(--pm-space-2) calc(var(--pm-space-4) - 1px);\n background: var(--pm-bg-subtle);\n border-start-end-radius: var(--pm-radius-md);\n}\n\n/* The `copy` → `confirm` swap fades in at control duration, as Table's sort\n glyph does. Enter only, like Input's clear, because nobody watches the revert.\n Opacity only, so reduced motion has nothing to remove. */\n.copyable[data-state='copied'] .control {\n animation: code-block-swap var(--pm-motion-duration-control) var(--pm-motion-easing-standard);\n}\n\n@keyframes code-block-swap {\n from {\n opacity: 0;\n }\n}\n\n.reader {\n composes: visuallyHidden from '../conventions/a11y.module.css';\n}\n"],"mappings":""}
@@ -1,15 +1,15 @@
1
1
  //#region ../recipes/src/structure/collapsible.module.css
2
- var e = "_root_1yexb_7", t = "_trigger_1yexb_15 _focusRing_1lfnc_15 _stateFeedback_lkjqs_17", n = "_label_1yexb_36", r = "_chevron_1yexb_40", i = "_content_1yexb_68", a = "_inner_1yexb_79", o = {
2
+ var e = "_root_ahtoc_7", t = "_trigger_ahtoc_15 _focusAround_1hr3n_95 _stateFeedback_lkjqs_17", n = "_label_ahtoc_36", r = "_chevron_ahtoc_40", i = "_content_ahtoc_68", a = "_inner_ahtoc_91", o = {
3
3
  root: e,
4
4
  trigger: t,
5
5
  label: n,
6
6
  chevron: r,
7
7
  content: i,
8
8
  inner: a,
9
- "pm-collapsible-open": "_pm-collapsible-open_1yexb_1",
10
- "pm-collapsible-close": "_pm-collapsible-close_1yexb_1",
11
- "pm-collapsible-reveal": "_pm-collapsible-reveal_1yexb_1",
12
- "pm-collapsible-conceal": "_pm-collapsible-conceal_1yexb_1"
9
+ "pm-collapsible-open": "_pm-collapsible-open_ahtoc_1",
10
+ "pm-collapsible-close": "_pm-collapsible-close_ahtoc_1",
11
+ "pm-collapsible-reveal": "_pm-collapsible-reveal_ahtoc_1",
12
+ "pm-collapsible-conceal": "_pm-collapsible-conceal_ahtoc_1"
13
13
  };
14
14
  //#endregion
15
15
  export { r as chevron, i as content, o as default, a as inner, n as label, e as root, t as trigger };
@@ -1 +1 @@
1
- {"version":3,"file":"collapsible.module.js","names":[],"sources":["../../../../recipes/src/structure/collapsible.module.css"],"sourcesContent":["/* Collapsible — `design/components/collapsible.md`.\n *\n * The trigger is as wide as its label, because a full-width trigger would look\n * like an Accordion. No rules and no hover wash: a flush trigger has no box to\n * tint, so hover is Accordion's colour-only change. */\n\n.root {\n display: flex;\n flex-direction: column;\n}\n\n/* An inline row at the minimum target height, flush with the content.\n `align-self` keeps the trigger at content width while the region is full\n width, so a wide paragraph never widens the button. */\n.trigger {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback from '../conventions/motion.module.css';\n display: inline-flex;\n align-self: start;\n gap: var(--pm-space-2);\n align-items: center;\n min-block-size: var(--pm-control-height-sm);\n padding: 0;\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-secondary);\n text-align: start;\n cursor: pointer;\n background: transparent;\n border: 0;\n}\n\n.label {\n min-inline-size: 0;\n}\n\n.chevron {\n display: inline-flex;\n flex: none;\n align-items: center;\n color: var(--pm-text-muted);\n\n /* Rotates on `control` × `standard`, like Accordion's chevron, because the\n change is symmetric and has no direction of travel. */\n transition: transform var(--pm-motion-duration-control) var(--pm-motion-easing-standard);\n}\n\n/* states -------------------------------------------------------------------- */\n\n/* Colour only, no wash, the same hover as Accordion. */\n.trigger:hover {\n color: var(--pm-accent-text);\n}\n\n.trigger:hover .chevron {\n color: var(--pm-text-secondary);\n}\n\n.trigger[data-state='open'] .chevron {\n transform: rotate(180deg);\n}\n\n/* the region ----------------------------------------------------------------\n *\n * `collapsible.content`: `collapse`, persistent mode, `surface` class, the same\n * binding as `accordion.content` (`design/motion/motion.md`), driven by Radix's\n * measured height. `overflow: hidden` is what the interruption law requires of\n * any box whose size animates. */\n\n.content {\n overflow: hidden;\n}\n\n/* The gap to the trigger is inside the animated region, so it collapses with\n the content. Plain strings get the reading text style. */\n.inner {\n padding-block-start: 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-secondary);\n}\n\n@keyframes pm-collapsible-open {\n from {\n block-size: 0;\n }\n\n to {\n block-size: var(--radix-collapsible-content-height);\n }\n}\n\n@keyframes pm-collapsible-close {\n from {\n block-size: var(--radix-collapsible-content-height);\n }\n\n to {\n block-size: 0;\n }\n}\n\n/* The content fade uses the `collapse` pattern's 0.5 split. It fades in over the\n second half, once there is room, and out before the space closes. */\n\n@keyframes pm-collapsible-reveal {\n from {\n opacity: 0;\n }\n}\n\n@keyframes pm-collapsible-conceal {\n to {\n opacity: 0;\n }\n}\n\n.content[data-state='open'] {\n animation: pm-collapsible-open var(--pm-motion-duration-surface) var(--pm-motion-easing-standard);\n}\n\n.content[data-state='closed'] {\n animation: pm-collapsible-close var(--pm-motion-duration-surface) var(--pm-motion-easing-standard);\n}\n\n.content[data-state='open'] .inner {\n animation: pm-collapsible-reveal calc(var(--pm-motion-duration-surface) * 0.5)\n var(--pm-motion-easing-standard) calc(var(--pm-motion-duration-surface) * 0.5) both;\n}\n\n.content[data-state='closed'] .inner {\n animation: pm-collapsible-conceal calc(var(--pm-motion-duration-surface) * 0.5)\n var(--pm-motion-easing-standard) both;\n}\n\n/* Reduced-motion projection (`design/motion/motion.md`): an instant size change,\n the content fade kept, the chevron still. At `none` the durations are 0s. */\n@media (prefers-reduced-motion: reduce) {\n .content[data-state='open'],\n .content[data-state='closed'] {\n animation: none;\n }\n\n .chevron {\n transition: none;\n }\n}\n"],"mappings":""}
1
+ {"version":3,"file":"collapsible.module.js","names":[],"sources":["../../../../recipes/src/structure/collapsible.module.css"],"sourcesContent":["/* Collapsible — `design/components/collapsible.md`.\n *\n * The trigger is as wide as its label, because a full-width trigger would look\n * like an Accordion. No rules and no hover wash: a flush trigger has no box to\n * tint, so hover is Accordion's colour-only change. */\n\n.root {\n display: flex;\n flex-direction: column;\n}\n\n/* An inline row at the minimum target height, flush with the content.\n `align-self` keeps the trigger at content width while the region is full\n width, so a wide paragraph never widens the button. */\n.trigger {\n composes: focusAround from '../conventions/focus.module.css';\n composes: stateFeedback from '../conventions/motion.module.css';\n display: inline-flex;\n align-self: start;\n gap: var(--pm-space-2);\n align-items: center;\n min-block-size: var(--pm-control-height-sm);\n padding: 0;\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-secondary);\n text-align: start;\n cursor: pointer;\n background: transparent;\n border: 0;\n}\n\n.label {\n min-inline-size: 0;\n}\n\n.chevron {\n display: inline-flex;\n flex: none;\n align-items: center;\n color: var(--pm-text-muted);\n\n /* Rotates on `control` × `standard`, like Accordion's chevron, because the\n change is symmetric and has no direction of travel. */\n transition: transform var(--pm-motion-duration-control) var(--pm-motion-easing-standard);\n}\n\n/* states -------------------------------------------------------------------- */\n\n/* Colour only, no wash, the same hover as Accordion. */\n.trigger:hover {\n color: var(--pm-accent-text);\n}\n\n.trigger:hover .chevron {\n color: var(--pm-text-secondary);\n}\n\n.trigger[data-state='open'] .chevron {\n transform: rotate(180deg);\n}\n\n/* the region ----------------------------------------------------------------\n *\n * `collapsible.content`: `collapse`, persistent mode, `surface` class, the same\n * binding as `accordion.content` (`design/motion/motion.md`), driven by Radix's\n * measured height. `overflow: hidden` is what the interruption law requires of\n * any box whose size animates.\n *\n * A box that clips cuts what is drawn outside its content at its padding edge:\n * the seat shadow of a field or a Button against the region's side, and a\n * control's focus mark, drawn a `space-1` gap outside it. So the region is\n * wider than its content by `space-2` on each side, and its margins take that\n * back, so the content stays flush with the trigger. The room is on the inline\n * axis only, because room on the block axis would change the height Radix\n * measures and the animation runs to. */\n\n.content {\n --pm-collapsible-reach: var(--pm-space-2);\n\n margin-inline: calc(var(--pm-collapsible-reach) * -1);\n padding-inline: var(--pm-collapsible-reach);\n overflow: hidden;\n}\n\n/* The gap to the trigger is inside the animated region, so it collapses with\n the content. Plain strings get the reading text style. */\n.inner {\n padding-block-start: 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-secondary);\n}\n\n@keyframes pm-collapsible-open {\n from {\n block-size: 0;\n }\n\n to {\n block-size: var(--radix-collapsible-content-height);\n }\n}\n\n@keyframes pm-collapsible-close {\n from {\n block-size: var(--radix-collapsible-content-height);\n }\n\n to {\n block-size: 0;\n }\n}\n\n/* The content fade uses the `collapse` pattern's 0.5 split. It fades in over the\n second half, once there is room, and out before the space closes. */\n\n@keyframes pm-collapsible-reveal {\n from {\n opacity: 0;\n }\n}\n\n@keyframes pm-collapsible-conceal {\n to {\n opacity: 0;\n }\n}\n\n.content[data-state='open'] {\n animation: pm-collapsible-open var(--pm-motion-duration-surface) var(--pm-motion-easing-standard);\n}\n\n.content[data-state='closed'] {\n animation: pm-collapsible-close var(--pm-motion-duration-surface) var(--pm-motion-easing-standard);\n}\n\n.content[data-state='open'] .inner {\n animation: pm-collapsible-reveal calc(var(--pm-motion-duration-surface) * 0.5)\n var(--pm-motion-easing-standard) calc(var(--pm-motion-duration-surface) * 0.5) both;\n}\n\n.content[data-state='closed'] .inner {\n animation: pm-collapsible-conceal calc(var(--pm-motion-duration-surface) * 0.5)\n var(--pm-motion-easing-standard) both;\n}\n\n/* Reduced-motion projection (`design/motion/motion.md`): an instant size change,\n the content fade kept, the chevron still. At `none` the durations are 0s. */\n@media (prefers-reduced-motion: reduce) {\n .content[data-state='open'],\n .content[data-state='closed'] {\n animation: none;\n }\n\n .chevron {\n transition: none;\n }\n}\n"],"mappings":""}
@@ -1,10 +1,13 @@
1
1
  //#region ../recipes/src/structure/cursor-pagination.module.css
2
- var e = "_pagination_vvzj3_13 _focusRing_1lfnc_15", t = "_position_vvzj3_22", n = "_end_vvzj3_23", r = {
2
+ var e = "_pagination_1aa26_14 _focusRing_1hr3n_49", t = "_position_1aa26_23", n = "_end_1aa26_24", r = "_link_1aa26_43 _button_cxa90_17 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17 _pressable_lkjqs_38", i = "_linkLabel_1aa26_50 _label_cxa90_43", a = "_linkGlyph_1aa26_54 _glyph_cxa90_50", o = {
3
3
  pagination: e,
4
4
  position: t,
5
- end: n
5
+ end: n,
6
+ link: r,
7
+ linkLabel: i,
8
+ linkGlyph: a
6
9
  };
7
10
  //#endregion
8
- export { r as default, n as end, e as pagination, t as position };
11
+ export { o as default, n as end, r as link, a as linkGlyph, i as linkLabel, e as pagination, t as position };
9
12
 
10
13
  //# sourceMappingURL=cursor-pagination.module.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"cursor-pagination.module.js","names":[],"sources":["../../../../recipes/src/structure/cursor-pagination.module.css"],"sourcesContent":["/* CursorPagination — `design/components/cursor-pagination.md`.\n *\n * The controls are Buttons and the row is an Inline, so this only styles the\n * position text between the arrows, and the append form's end line. */\n\n/* A column, so the append form's end line takes a line of its own under the\n row: beside the position, two muted texts would read as one phrase. The\n replace form has one child, the row, which a column lays out as a row does.\n\n The root takes focus when the app's hold disables the button that had it\n (`cursor-pagination.md`, A11y), so it draws the one focus ring. It has the\n controls' corners, so the ring follows the row it surrounds. */\n.pagination {\n composes: focusRing from '../conventions/focus.module.css';\n display: inline-flex;\n flex-direction: column;\n border-radius: var(--pm-radius-control);\n}\n\n/* As FilterBar's count: muted text at the buttons' type step. The append\n form's end line reads as the position does. */\n.position,\n.end {\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/* Tabular numerals, so \"26–50\" → \"51–75\" does not shift the arrow. */\n.position {\n font-variant-numeric: var(--pm-font-numeric);\n}\n"],"mappings":""}
1
+ {"version":3,"file":"cursor-pagination.module.js","names":[],"sources":["../../../../recipes/src/structure/cursor-pagination.module.css"],"sourcesContent":["/* CursorPagination — `design/components/cursor-pagination.md`.\n *\n * The controls are Buttons, or links in Button's look when the windows have\n * addresses, and the row is an Inline, so this styles the position text\n * between the arrows, the append form's end line and the links. */\n\n/* A column, so the append form's end line takes a line of its own under the\n row: beside the position, two muted texts would read as one phrase. The\n replace form has one child, the row, which a column lays out as a row does.\n\n The root takes focus when the app's hold disables the button that had it\n (`cursor-pagination.md`, A11y), so it draws the one focus ring. It has the\n controls' corners, so the ring follows the row it surrounds. */\n.pagination {\n composes: focusRing from '../conventions/focus.module.css';\n display: inline-flex;\n flex-direction: column;\n border-radius: var(--pm-radius-control);\n}\n\n/* As FilterBar's count: muted text at the buttons' type step. The append\n form's end line reads as the position does. */\n.position,\n.end {\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/* Tabular numerals, so \"26–50\" → \"51–75\" does not shift the arrow. */\n.position {\n font-variant-numeric: var(--pm-font-numeric);\n}\n\n/* A control drawn as a link, when the app gives the windows addresses (`cursor-pagination.md`).\n It is the Button it replaces, by reference, as Link's button variant is: composing `.button`\n brings the base, the sizes, every rest, hover and active cell, the press feedback and the focus\n ring, all keyed off the `data-variant` × `data-tone` × `data-size` attributes the link sets.\n This rule removes what an `<a>` has and a `<button>` does not: the browser's underline. */\n.link {\n composes: button from '../controls/button.module.css';\n text-decoration: none;\n}\n\n/* Button's two content slots, composed: the label that truncates with an ellipsis, and the\n glyph's box. */\n.linkLabel {\n composes: label from '../controls/button.module.css';\n}\n\n.linkGlyph {\n composes: glyph from '../controls/button.module.css';\n}\n"],"mappings":""}
@@ -1,5 +1,5 @@
1
1
  //#region ../recipes/src/structure/data-table.module.css
2
- var e = "_table_9hzng_9", t = "_bulkBar_9hzng_19", n = "_bulkCount_9hzng_39", r = "_expandLabel_9hzng_56 _visuallyHidden_qxi8b_14", i = "_expandCell_9hzng_57", a = "_selectCell_9hzng_68", o = "_detailCell_9hzng_91 _focusRing_1lfnc_15", s = "_detail_9hzng_91", c = "_pagination_9hzng_127", l = {
2
+ var e = "_table_9hzng_9", t = "_bulkBar_9hzng_19", n = "_bulkCount_9hzng_39", r = "_expandLabel_9hzng_56 _visuallyHidden_qxi8b_14", i = "_expandCell_9hzng_57", a = "_selectCell_9hzng_68", o = "_detailCell_9hzng_91 _focusRing_1hr3n_49", s = "_detail_9hzng_91", c = "_pagination_9hzng_127", l = {
3
3
  table: e,
4
4
  bulkBar: t,
5
5
  "data-table-bulk-enter": "_data-table-bulk-enter_9hzng_1",
@@ -1,5 +1,5 @@
1
1
  //#region ../recipes/src/structure/error-summary.module.css
2
- var e = "_root_1cu9k_7", t = "_glyph_1cu9k_18", n = "_body_1cu9k_26", r = "_title_1cu9k_32", i = "_list_1cu9k_43", a = "_link_1cu9k_56 _focusRing_1lfnc_15", o = {
2
+ var e = "_root_1nxba_7", t = "_glyph_1nxba_18", n = "_body_1nxba_26", r = "_title_1nxba_32", i = "_list_1nxba_43", a = "_link_1nxba_56 _focusAround_1hr3n_95", o = {
3
3
  root: e,
4
4
  glyph: t,
5
5
  body: n,
@@ -1 +1 @@
1
- {"version":3,"file":"error-summary.module.js","names":[],"sources":["../../../../recipes/src/structure/error-summary.module.css"],"sourcesContent":["/* ErrorSummary — `design/components/error-summary.md`.\n *\n * Alert's danger recipe plus the list. No variants, sizes or tone: danger is the\n * subject. No enter animation, as in Alert (`role=\"alert\"` already announces\n * it), and no exit: it unmounts with the app's render. */\n\n.root {\n display: flex;\n gap: var(--pm-space-3);\n align-items: flex-start;\n padding: var(--pm-space-4);\n background: var(--pm-danger-subtle);\n border: 1px solid var(--pm-danger-border);\n border-radius: var(--pm-radius-lg);\n}\n\n/* One text line tall and top-aligned, exactly as Alert's glyph. */\n.glyph {\n display: inline-flex;\n flex: none;\n align-items: center;\n block-size: calc(var(--pm-text-sm-line-height) * var(--pm-text-sm-size));\n color: var(--pm-danger-text);\n}\n\n.body {\n flex: 1;\n min-inline-size: 0;\n}\n\n/* Hierarchy comes from colour, not a heavier weight (Alert's rule). */\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/* No list markers, because the links are the rows and bullets would add\n clutter. Screen readers still announce the count because the <ul> is real. */\n.list {\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-2);\n padding: 0;\n margin: 0;\n margin-block-start: var(--pm-space-2);\n list-style: none;\n}\n\n/* The danger text role, not accent, which would mix two tones on a danger wash.\n Always underlined, so colour is never the only signal, with Link's metrics.\n `danger.text` on `danger.subtle` is the law-checked pairing Alert uses. */\n.link {\n composes: focusRing from '../conventions/focus.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-danger-text);\n\n /* Full-strength underline on purpose. The muted resting underline\n (`accent.underline`) is for prose links, and an error link must stand out. */\n text-decoration-line: underline;\n text-decoration-thickness: 1px;\n text-underline-offset: 2px;\n border-radius: var(--pm-radius-sm);\n}\n\n/* Hover thickens the underline rather than changing colour, as Link does (there\n is no danger hover role). No transition, because thickness does not animate. */\n.link:hover {\n text-decoration-thickness: 2px;\n}\n"],"mappings":""}
1
+ {"version":3,"file":"error-summary.module.js","names":[],"sources":["../../../../recipes/src/structure/error-summary.module.css"],"sourcesContent":["/* ErrorSummary — `design/components/error-summary.md`.\n *\n * Alert's danger recipe plus the list. No variants, sizes or tone: danger is the\n * subject. No enter animation, as in Alert (`role=\"alert\"` already announces\n * it), and no exit: it unmounts with the app's render. */\n\n.root {\n display: flex;\n gap: var(--pm-space-3);\n align-items: flex-start;\n padding: var(--pm-space-4);\n background: var(--pm-danger-subtle);\n border: 1px solid var(--pm-danger-border);\n border-radius: var(--pm-radius-lg);\n}\n\n/* One text line tall and top-aligned, exactly as Alert's glyph. */\n.glyph {\n display: inline-flex;\n flex: none;\n align-items: center;\n block-size: calc(var(--pm-text-sm-line-height) * var(--pm-text-sm-size));\n color: var(--pm-danger-text);\n}\n\n.body {\n flex: 1;\n min-inline-size: 0;\n}\n\n/* Hierarchy comes from colour, not a heavier weight (Alert's rule). */\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/* No list markers, because the links are the rows and bullets would add\n clutter. Screen readers still announce the count because the <ul> is real. */\n.list {\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-2);\n padding: 0;\n margin: 0;\n margin-block-start: var(--pm-space-2);\n list-style: none;\n}\n\n/* The danger text role, not accent, which would mix two tones on a danger wash.\n Always underlined, so colour is never the only signal, with Link's metrics.\n `danger.text` on `danger.subtle` is the law-checked pairing Alert uses. */\n.link {\n composes: focusAround from '../conventions/focus.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-danger-text);\n\n /* Full-strength underline on purpose. The muted resting underline\n (`accent.underline`) is for prose links, and an error link must stand out. */\n text-decoration-line: underline;\n text-decoration-thickness: 1px;\n text-underline-offset: 2px;\n border-radius: var(--pm-radius-sm);\n}\n\n/* Hover thickens the underline rather than changing colour, as Link does (there\n is no danger hover role). No transition, because thickness does not animate. */\n.link:hover {\n text-decoration-thickness: 2px;\n}\n"],"mappings":""}
@@ -1,5 +1,5 @@
1
1
  //#region ../recipes/src/structure/json-tree.module.css
2
- var e = "_root_1ju24_10", t = "_row_1ju24_20", n = "_toggle_1ju24_26 _focusRing_1lfnc_15 _stateFeedback_lkjqs_17", r = "_chevron_1ju24_46", i = "_key_1ju24_56", a = "_colon_1ju24_60", o = "_summary_1ju24_64", s = "_value_1ju24_71", c = "_children_1ju24_96", l = {
2
+ var e = "_root_1gm2k_10", t = "_row_1gm2k_20", n = "_toggle_1gm2k_26 _focusAround_1hr3n_95 _stateFeedback_lkjqs_17", r = "_chevron_1gm2k_46", i = "_key_1gm2k_56", a = "_colon_1gm2k_60", o = "_summary_1gm2k_64", s = "_value_1gm2k_71", c = "_children_1gm2k_96", l = {
3
3
  root: e,
4
4
  row: t,
5
5
  toggle: n,
@@ -1 +1 @@
1
- {"version":3,"file":"json-tree.module.js","names":[],"sources":["../../../../recipes/src/structure/json-tree.module.css"],"sourcesContent":["/* JsonTree — `design/components/json-tree.md`.\n *\n * JSON is code: mono at the reading size. Kind colours come from text and\n * accent roles, not status colours, because a `false` is not a warning and\n * status colour on every boolean would teach readers to ignore it.\n *\n * Children never animate: a thousand-node subtree cannot animate smoothly, and\n * expanding should be instant. Only the chevron rotates, on control tokens. */\n\n.root {\n margin: 0;\n padding: 0;\n font-family: var(--pm-font-mono);\n font-size: var(--pm-text-sm-size);\n line-height: var(--pm-text-sm-line-height);\n color: var(--pm-text-primary);\n list-style: none;\n}\n\n.row {\n padding-block: 2px;\n}\n\n/* The disclosure toggle, styled as a ghost row. Its name is the key and summary.\n The chevron only shows what `aria-expanded` already says. */\n.toggle {\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-2);\n align-items: center;\n padding: 0 var(--pm-space-1);\n margin: 0;\n font: inherit;\n color: inherit;\n cursor: pointer;\n background: transparent;\n border: none;\n border-radius: var(--pm-radius-sm);\n}\n\n.toggle:hover {\n background: var(--pm-bg-subtle);\n}\n\n.chevron {\n display: inline-flex;\n color: var(--pm-text-muted);\n transition: transform var(--pm-motion-duration-control) var(--pm-motion-easing-standard);\n}\n\n.toggle[aria-expanded='true'] .chevron {\n transform: rotate(90deg);\n}\n\n.key {\n color: var(--pm-text-primary);\n}\n\n.colon {\n color: var(--pm-text-muted);\n}\n\n.summary {\n color: var(--pm-text-muted);\n}\n\n/* A leaf: key beside value, with the toggle's inset so leaves and branches align\n at every level. */\n.row > .key,\n.row > .value,\n.row > .summary {\n padding-inline: var(--pm-space-1);\n}\n\n.row > .key {\n padding-inline-end: 0;\n margin-inline-end: var(--pm-space-2);\n}\n\n.value[data-kind='string'] {\n color: var(--pm-text-secondary);\n}\n\n.value[data-kind='number'] {\n color: var(--pm-accent-text);\n}\n\n.value[data-kind='boolean'],\n.value[data-kind='null'] {\n font-style: italic;\n color: var(--pm-text-muted);\n}\n\n/* One level in: indented, with a guide line back to the parent. */\n.children {\n padding: 0;\n padding-inline-start: var(--pm-space-5);\n margin: 0;\n margin-inline-start: var(--pm-space-2);\n list-style: none;\n border-inline-start: 1px solid var(--pm-border-subtle);\n}\n\n/* Reduced-motion projection (`design/motion/motion.md`): the chevron rotation is\n instant. The toggle's colour feedback stays. */\n@media (prefers-reduced-motion: reduce) {\n .chevron {\n transition: none;\n }\n}\n"],"mappings":""}
1
+ {"version":3,"file":"json-tree.module.js","names":[],"sources":["../../../../recipes/src/structure/json-tree.module.css"],"sourcesContent":["/* JsonTree — `design/components/json-tree.md`.\n *\n * JSON is code: mono at the reading size. Kind colours come from text and\n * accent roles, not status colours, because a `false` is not a warning and\n * status colour on every boolean would teach readers to ignore it.\n *\n * Children never animate: a thousand-node subtree cannot animate smoothly, and\n * expanding should be instant. Only the chevron rotates, on control tokens. */\n\n.root {\n margin: 0;\n padding: 0;\n font-family: var(--pm-font-mono);\n font-size: var(--pm-text-sm-size);\n line-height: var(--pm-text-sm-line-height);\n color: var(--pm-text-primary);\n list-style: none;\n}\n\n.row {\n padding-block: 2px;\n}\n\n/* The disclosure toggle, styled as a ghost row. Its name is the key and summary.\n The chevron only shows what `aria-expanded` already says. */\n.toggle {\n composes: focusAround from '../conventions/focus.module.css';\n composes: stateFeedback from '../conventions/motion.module.css';\n display: inline-flex;\n gap: var(--pm-space-2);\n align-items: center;\n padding: 0 var(--pm-space-1);\n margin: 0;\n font: inherit;\n color: inherit;\n cursor: pointer;\n background: transparent;\n border: none;\n border-radius: var(--pm-radius-sm);\n}\n\n.toggle:hover {\n background: var(--pm-bg-subtle);\n}\n\n.chevron {\n display: inline-flex;\n color: var(--pm-text-muted);\n transition: transform var(--pm-motion-duration-control) var(--pm-motion-easing-standard);\n}\n\n.toggle[aria-expanded='true'] .chevron {\n transform: rotate(90deg);\n}\n\n.key {\n color: var(--pm-text-primary);\n}\n\n.colon {\n color: var(--pm-text-muted);\n}\n\n.summary {\n color: var(--pm-text-muted);\n}\n\n/* A leaf: key beside value, with the toggle's inset so leaves and branches align\n at every level. */\n.row > .key,\n.row > .value,\n.row > .summary {\n padding-inline: var(--pm-space-1);\n}\n\n.row > .key {\n padding-inline-end: 0;\n margin-inline-end: var(--pm-space-2);\n}\n\n.value[data-kind='string'] {\n color: var(--pm-text-secondary);\n}\n\n.value[data-kind='number'] {\n color: var(--pm-accent-text);\n}\n\n.value[data-kind='boolean'],\n.value[data-kind='null'] {\n font-style: italic;\n color: var(--pm-text-muted);\n}\n\n/* One level in: indented, with a guide line back to the parent. */\n.children {\n padding: 0;\n padding-inline-start: var(--pm-space-5);\n margin: 0;\n margin-inline-start: var(--pm-space-2);\n list-style: none;\n border-inline-start: 1px solid var(--pm-border-subtle);\n}\n\n/* Reduced-motion projection (`design/motion/motion.md`): the chevron rotation is\n instant. The toggle's colour feedback stays. */\n@media (prefers-reduced-motion: reduce) {\n .chevron {\n transition: none;\n }\n}\n"],"mappings":""}
@@ -1,5 +1,5 @@
1
1
  //#region ../recipes/src/structure/list.module.css
2
- var e = "_list_p6r9l_9", t = "_item_p6r9l_20 _stateFeedback_lkjqs_17", n = "_leading_p6r9l_39", r = "_trailing_p6r9l_40", i = "_meta_p6r9l_41", a = "_text_p6r9l_81", o = "_title_p6r9l_91", s = "_primary_p6r9l_105", c = "_description_p6r9l_120", l = {
2
+ var e = "_list_12tcx_9", t = "_item_12tcx_20 _stateFeedback_lkjqs_17", n = "_leading_12tcx_39", r = "_trailing_12tcx_40", i = "_meta_12tcx_41", a = "_text_12tcx_81", o = "_title_12tcx_91", s = "_primary_12tcx_105", c = "_description_12tcx_120", l = {
3
3
  list: e,
4
4
  item: t,
5
5
  leading: n,
@@ -1 +1 @@
1
- {"version":3,"file":"list.module.js","names":[],"sources":["../../../../recipes/src/structure/list.module.css"],"sourcesContent":["/* List — `design/components/list.md`.\n *\n * A column of ruled rows. One element takes a row's press: the title's link or\n * button, whose `::after` covers the row. A trailing control comes after the\n * title in the document and is positioned, so it is drawn above that target and\n * takes its own press. A trailing mark that is not a control leaves its press\n * to the row. */\n\n.list {\n display: flex;\n flex-direction: column;\n min-inline-size: 0;\n margin: 0;\n padding: 0;\n list-style: none;\n}\n\n/* item ---------------------------------------------------------------------- */\n\n.item {\n composes: stateFeedback from '../conventions/motion.module.css';\n\n /* Containing block for the title's stretched target. */\n position: relative;\n display: flex;\n gap: var(--pm-space-3);\n align-items: center;\n min-block-size: var(--pm-control-height-lg);\n padding: var(--pm-space-3) var(--pm-space-4);\n}\n\n/* The surface the list sits in is the outer boundary, so the first row draws no\n rule. */\n.item + .item {\n border-block-start: 1px solid var(--pm-border-subtle);\n}\n\n/* Never shrink: the text column gives up the width. */\n.leading,\n.trailing,\n.meta {\n display: flex;\n flex: none;\n align-items: center;\n}\n\n/* Positioned, and later in the document than the title, so it paints above the\n stretched target without a `z-index`. A box that holds no control takes no\n press of its own: the row shows its hover fill under a Badge as under its\n text, so a press on a mark that is not a control reaches the row's target\n below it. */\n.trailing {\n position: relative;\n pointer-events: none;\n}\n\n/* A box that holds a control takes every press inside it. The box takes them,\n and not only the control, because a control turns its own pointer events off\n in some states: a Button does while it is loading. A press on it then lands\n on the box and goes no further, where a rule on the control alone would let\n it through to the row's target, and a second press on a busy \"Revoke\" would\n follow the row's link. `label` is here for a control drawn with its own\n label, whose whole row is its target.\n\n Each kind of control is a selector of its own. A list inside one `:has()`\n reads the same, but the law that holds every recipe rule above the base\n layer splits a rule at its commas (`packages/react-ui/packaging.test.ts`). */\n.trailing:has(a),\n.trailing:has(button),\n.trailing:has(input),\n.trailing:has(select),\n.trailing:has(textarea),\n.trailing:has(label),\n.trailing:has(summary),\n.trailing:has([tabindex]) {\n pointer-events: auto;\n}\n\n/* A flex item is as wide as its content at least. With no minimum the column\n shrinks, and a long word breaks, so an item never widens its container. */\n.text {\n display: flex;\n flex: 1;\n flex-direction: column;\n gap: var(--pm-space-1);\n align-items: flex-start;\n min-inline-size: 0;\n overflow-wrap: anywhere;\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 text-align: start;\n}\n\n/* The link or the button that takes the row's press. A list is not prose, so a\n link's underline is removed, and a button's own box is removed so that both\n roots draw the same title. Its UA ring is suppressed because the item draws\n the ring. */\n.primary {\n padding: 0;\n text-decoration: none;\n cursor: pointer;\n outline: none;\n background: transparent;\n border: 0;\n}\n\n.primary::after {\n position: absolute;\n inset: 0;\n content: '';\n}\n\n.description,\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-secondary);\n}\n\n.meta {\n white-space: nowrap;\n}\n\n/* states -------------------------------------------------------------------- */\n\n.item[data-interactive] {\n cursor: pointer;\n}\n\n/* The current item uses the selection colours, not the hover colours\n (`design/components/README.md`). Its fill is the selected surface, not the\n selection fill: an item holds secondary text and a trailing control, and the\n contrast law holds every text role on the selected surface. With a hue the\n selected surface has a hover step, so pointing at the current item still\n gives feedback. A system with no hue has none, as in Table. */\n.item[data-current] {\n background: var(--pm-selection-surface);\n}\n\n.item[data-interactive][data-current]:hover {\n background: var(--pm-selection-surface-hover);\n}\n\n/* After selection and excluding it, because the state the reader chose wins\n over the pointer position. */\n.item[data-interactive]:hover:not([data-current]) {\n background: var(--pm-bg-subtle);\n}\n\n/* The focus ring on the item via `:has()`, with the shared rule's tokens.\n Restated because the focusable element is the title, and the delegating\n selector in `focus.module.css` covers only composite fields. It is drawn\n inside the item's edge: rows share their edges, and an outer ring would be cut\n by the surface around the list. A focused trailing control draws its own ring. */\n.item:has(> .text > .primary:focus-visible) {\n outline: var(--pm-focus-width) solid var(--pm-border-focus);\n outline-offset: calc(var(--pm-focus-width) * -1);\n}\n"],"mappings":""}
1
+ {"version":3,"file":"list.module.js","names":[],"sources":["../../../../recipes/src/structure/list.module.css"],"sourcesContent":["/* List — `design/components/list.md`.\n *\n * A column of ruled rows. One element takes a row's press: the title's link or\n * button, whose `::after` covers the row. A trailing control comes after the\n * title in the document and is positioned, so it is drawn above that target and\n * takes its own press. A trailing mark that is not a control leaves its press\n * to the row. */\n\n.list {\n display: flex;\n flex-direction: column;\n min-inline-size: 0;\n margin: 0;\n padding: 0;\n list-style: none;\n}\n\n/* item ---------------------------------------------------------------------- */\n\n.item {\n composes: stateFeedback from '../conventions/motion.module.css';\n\n /* Containing block for the title's stretched target. */\n position: relative;\n display: flex;\n gap: var(--pm-space-3);\n align-items: center;\n min-block-size: var(--pm-control-height-lg);\n padding: var(--pm-space-3) var(--pm-space-4);\n}\n\n/* The surface the list sits in is the outer boundary, so the first row draws no\n rule. */\n.item + .item {\n border-block-start: 1px solid var(--pm-border-subtle);\n}\n\n/* Never shrink: the text column gives up the width. */\n.leading,\n.trailing,\n.meta {\n display: flex;\n flex: none;\n align-items: center;\n}\n\n/* Positioned, and later in the document than the title, so it paints above the\n stretched target without a `z-index`. A box that holds no control takes no\n press of its own: the row shows its hover fill under a Badge as under its\n text, so a press on a mark that is not a control reaches the row's target\n below it. */\n.trailing {\n position: relative;\n pointer-events: none;\n}\n\n/* A box that holds a control takes every press inside it. The box takes them,\n and not only the control, because a control turns its own pointer events off\n in some states: a Button does while it is loading. A press on it then lands\n on the box and goes no further, where a rule on the control alone would let\n it through to the row's target, and a second press on a busy \"Revoke\" would\n follow the row's link. `label` is here for a control drawn with its own\n label, whose whole row is its target.\n\n Each kind of control is a selector of its own. A list inside one `:has()`\n reads the same, but the law that holds every recipe rule above the base\n layer splits a rule at its commas (`packages/react-ui/packaging.test.ts`). */\n.trailing:has(a),\n.trailing:has(button),\n.trailing:has(input),\n.trailing:has(select),\n.trailing:has(textarea),\n.trailing:has(label),\n.trailing:has(summary),\n.trailing:has([tabindex]) {\n pointer-events: auto;\n}\n\n/* A flex item is as wide as its content at least. With no minimum the column\n shrinks, and a long word breaks, so an item never widens its container. */\n.text {\n display: flex;\n flex: 1;\n flex-direction: column;\n gap: var(--pm-space-1);\n align-items: flex-start;\n min-inline-size: 0;\n overflow-wrap: anywhere;\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 text-align: start;\n}\n\n/* The link or the button that takes the row's press. A list is not prose, so a\n link's underline is removed, and a button's own box is removed so that both\n roots draw the same title. Its UA ring is suppressed because the item draws\n the ring. */\n.primary {\n padding: 0;\n text-decoration: none;\n cursor: pointer;\n outline: none;\n background: transparent;\n border: 0;\n}\n\n.primary::after {\n position: absolute;\n inset: 0;\n content: '';\n}\n\n.description,\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-secondary);\n}\n\n.meta {\n white-space: nowrap;\n}\n\n/* states -------------------------------------------------------------------- */\n\n.item[data-interactive] {\n cursor: pointer;\n}\n\n/* The current item uses the selection colours, not the hover colours\n (`design/components/README.md`). Its fill is the selected surface, not the\n selection fill: an item holds secondary text and a trailing control, and the\n contrast law holds every text role on the selected surface. With a hue the\n selected surface has a hover step, so pointing at the current item still\n gives feedback. A system with no hue has none, as in Table. */\n.item[data-current] {\n background: var(--pm-selection-surface);\n}\n\n.item[data-interactive][data-current]:hover {\n background: var(--pm-selection-surface-hover);\n}\n\n/* After selection and excluding it, because the state the reader chose wins\n over the pointer position. */\n.item[data-interactive]:hover:not([data-current]) {\n background: var(--pm-bg-subtle);\n}\n\n/* The focus mark on the item via `:has()`, with the shared convention's\n tokens. Restated because the focusable element is the title, and the\n delegating selector in `focus.module.css` covers only composite fields. It is\n drawn inside the item's edge by its width at every system's offset: rows\n share their edges, and a mark outside would be cut by the surface around the\n list. A focused trailing control draws its own mark. */\n.item:has(> .text > .primary:focus-visible) {\n outline: var(--pm-focus-width) solid var(--pm-border-focus-solid);\n outline-offset: calc(var(--pm-focus-width) * -1);\n}\n"],"mappings":""}
@@ -1,5 +1,5 @@
1
1
  //#region ../recipes/src/structure/log-view.module.css
2
- var e = "_root_x8qgn_11", t = "_viewport_x8qgn_24 _focusRing_1lfnc_15", n = "_lines_x8qgn_40", r = "_line_x8qgn_40", i = "_marker_x8qgn_64", a = "_time_x8qgn_96", o = "_source_x8qgn_103", s = "_text_x8qgn_75", c = "_spoken_x8qgn_124 _visuallyHidden_qxi8b_14", l = "_end_x8qgn_132", u = "_caret_x8qgn_139", d = "_jump_x8qgn_150", f = "_backing_x8qgn_167", p = "_harness_x8qgn_178", m = "_harnessNarrow_x8qgn_184", h = {
2
+ var e = "_root_x8qgn_11", t = "_viewport_x8qgn_24 _focusRing_1hr3n_49", n = "_lines_x8qgn_40", r = "_line_x8qgn_40", i = "_marker_x8qgn_64", a = "_time_x8qgn_96", o = "_source_x8qgn_103", s = "_text_x8qgn_75", c = "_spoken_x8qgn_124 _visuallyHidden_qxi8b_14", l = "_end_x8qgn_132", u = "_caret_x8qgn_139", d = "_jump_x8qgn_150", f = "_backing_x8qgn_167", p = "_harness_x8qgn_178", m = "_harnessNarrow_x8qgn_184", h = {
3
3
  root: e,
4
4
  viewport: t,
5
5
  lines: n,
@@ -1,9 +1,13 @@
1
1
  //#region ../recipes/src/structure/pagination.module.css
2
- var e = "_pagination_n235w_9 _focusRing_1lfnc_15", t = "_ellipsis_n235w_21", n = {
2
+ var e = "_pagination_tfm75_10 _focusRing_1hr3n_49", t = "_link_tfm75_26 _button_cxa90_17 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17 _pressable_lkjqs_38", n = "_linkLabel_tfm75_34 _label_cxa90_43", r = "_linkGlyph_tfm75_38 _glyph_cxa90_50", i = "_linkTip_tfm75_45 _tip_cxa90_80 _bubble_11q5z_14 _fadeIn_lkjqs_92", a = "_ellipsis_tfm75_51", o = {
3
3
  pagination: e,
4
- ellipsis: t
4
+ link: t,
5
+ linkLabel: n,
6
+ linkGlyph: r,
7
+ linkTip: i,
8
+ ellipsis: a
5
9
  };
6
10
  //#endregion
7
- export { n as default, t as ellipsis, e as pagination };
11
+ export { o as default, a as ellipsis, t as link, r as linkGlyph, n as linkLabel, i as linkTip, e as pagination };
8
12
 
9
13
  //# sourceMappingURL=pagination.module.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"pagination.module.js","names":[],"sources":["../../../../recipes/src/structure/pagination.module.css"],"sourcesContent":["/* Pagination — `design/components/pagination.md`.\n *\n * The controls are Buttons and the row is an Inline. This file only keeps each\n * button at least square, so the row does not shift from page 9 to 10. */\n\n/* The root takes focus when the app's hold disables the button that had it\n (`pagination.md`, A11y), so it draws the one focus ring. It has the\n controls' corners, so the ring follows the row it surrounds. */\n.pagination {\n composes: focusRing from '../conventions/focus.module.css';\n display: inline-flex;\n border-radius: var(--pm-radius-control);\n}\n\n.pagination button {\n min-inline-size: var(--pm-control-height-sm);\n}\n\n/* Stands for pages that are not offered. Sized like a number button so the row\n spacing stays even. */\n.ellipsis {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n inline-size: var(--pm-control-height-sm);\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-muted);\n user-select: none;\n}\n"],"mappings":""}
1
+ {"version":3,"file":"pagination.module.js","names":[],"sources":["../../../../recipes/src/structure/pagination.module.css"],"sourcesContent":["/* Pagination — `design/components/pagination.md`.\n *\n * The controls are Buttons, or links in Button's look when the pages have\n * addresses, and the row is an Inline. This file keeps each control at least\n * square, so the row does not shift from page 9 to 10. */\n\n/* The root takes focus when the app's hold disables the button that had it\n (`pagination.md`, A11y), so it draws the one focus mark. It has the\n controls' corners, so the mark follows the row's edge. */\n.pagination {\n composes: focusRing from '../conventions/focus.module.css';\n display: inline-flex;\n border-radius: var(--pm-radius-control);\n}\n\n.pagination button {\n min-inline-size: var(--pm-control-height-sm);\n}\n\n/* A control drawn as a link, when the app gives the pages addresses (`pagination.md`). It is\n the Button it replaces, by reference, as Link's button variant is: composing `.button` brings\n the base, the sizes, every rest, hover and active cell, the press feedback and the focus mark,\n all keyed off the `data-variant` × `data-tone` × `data-size` attributes the link sets. This rule\n removes what an `<a>` has and a `<button>` does not, the browser's underline, and keeps the\n link at least square, as the rule above keeps a button. */\n.link {\n composes: button from '../controls/button.module.css';\n min-inline-size: var(--pm-control-height-sm);\n text-decoration: none;\n}\n\n/* Button's two content slots, composed: the label that truncates with an ellipsis, and the\n glyph's box. */\n.linkLabel {\n composes: label from '../controls/button.module.css';\n}\n\n.linkGlyph {\n composes: glyph from '../controls/button.module.css';\n}\n\n/* The name tip (`nameTip` in `@polymorph/engine`) of a direction drawn as a link: its label,\n shown on hover and keyboard focus because the link draws only its arrow, as on the icon-only\n Button it replaces. It is Button's tip, composed. */\n.linkTip {\n composes: tip from '../controls/button.module.css';\n}\n\n/* Stands for pages that are not offered. Sized like a number button so the row\n spacing stays even. */\n.ellipsis {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n inline-size: var(--pm-control-height-sm);\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-muted);\n user-select: none;\n}\n"],"mappings":""}
@@ -0,0 +1,18 @@
1
+ //#region ../recipes/src/structure/rich-text-content.module.css
2
+ var e = "_root_1q2y5_16 _root_z92xs_10", t = "_list_1q2y5_20 _list_z92xs_21", n = "_item_1q2y5_24 _item_z92xs_31", r = "_quote_1q2y5_28 _quote_z92xs_44", i = "_heading_1q2y5_36 _heading_1t0qx_6", a = "_code_1q2y5_42 _code_hc07h_7", o = "_entity_1q2y5_53", s = "_annotation_1q2y5_76", c = "_pressable_1q2y5_103 _focusRing_1hr3n_49", l = "_actions_1q2y5_111", u = "_status_1q2y5_117 _visuallyHidden_qxi8b_14", d = {
3
+ root: e,
4
+ list: t,
5
+ item: n,
6
+ quote: r,
7
+ heading: i,
8
+ code: a,
9
+ entity: o,
10
+ annotation: s,
11
+ pressable: c,
12
+ actions: l,
13
+ status: u
14
+ };
15
+ //#endregion
16
+ export { l as actions, s as annotation, a as code, d as default, o as entity, i as heading, n as item, t as list, c as pressable, r as quote, e as root, u as status };
17
+
18
+ //# sourceMappingURL=rich-text-content.module.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rich-text-content.module.js","names":[],"sources":["../../../../recipes/src/structure/rich-text-content.module.css"],"sourcesContent":["/* RichTextContent — `design/components/rich-text-content.md`.\n *\n * Most styling comes from other members through composition: paragraphs are\n * Text, headings are Heading, code blocks are CodeBlock, inline code is Code\n * and links are Link. The spacing between blocks, a list's markers and a\n * quote's rule are Markdown's, composed and not restated, so a list in a reply\n * and a list in a comment are one decision. A heading or inline code the member\n * draws itself composes Heading's or Code's class. The entity token, the\n * annotation, the live region and the wrapper of the selection bar's controls\n * are this sheet's own.\n *\n * Each part is one class, and no rule reaches through the root, because\n * RichTextInput's editable surface composes the same classes so that a\n * document looks the same while it is written. */\n\n.root {\n composes: root from '../ai/markdown.module.css';\n}\n\n.list {\n composes: list from '../ai/markdown.module.css';\n}\n\n.item {\n composes: item from '../ai/markdown.module.css';\n}\n\n.quote {\n composes: quote from '../ai/markdown.module.css';\n}\n\n/* A heading the member draws itself: one that holds a drawn annotation, or any\n heading while the member maps selections. It is Heading's element with\n Heading's class and the level Heading writes (`data-level`), so Heading's\n rules draw it. */\n.heading {\n composes: heading from './heading.module.css';\n}\n\n/* Inline code that holds a drawn annotation: Code's element with Code's class,\n so the highlight sits inside the chip, as the editor draws it. */\n.code {\n composes: code from './code.module.css';\n}\n\n/* A reference to something the app owns, such as a person or an issue, on the\n accent wash. The label carries its trigger character (`@Ada Lovelace`), so\n the token is never marked by colour alone. It takes the surrounding text's\n step and weight, as Code keeps its weight. Padding is on the inline axis\n only, as Code's is, so a line holding a token keeps the line box of a line\n without one. A long label breaks inside the token and each line's part keeps\n the padding and the radius, Code's long-string cell. */\n.entity {\n padding-inline: var(--pm-space-1);\n color: var(--pm-accent-text);\n background: var(--pm-accent-subtle);\n border-radius: var(--pm-radius-sm);\n overflow-wrap: anywhere;\n box-decoration-break: clone;\n}\n\n/* An annotation: the words an application anchored something to, such as a\n comment thread. Each fragment is a `mark`, so the browser's own mark colours\n are replaced: the warning wash, which is neither the selection's fill nor a\n link's accent, and the text's own colour, so a link or code inside keeps its\n look. The wash is opaque, so overlapping annotations read the same, nested\n one inside the other. A rule in the warning border's colour runs under the\n words as a second cue, because the wash alone is faint on a dark surface. It\n is a bottom border, which moves no line and is drawn on every line of a\n fragment that wraps, and not a text decoration, which a link inside already\n draws. The active annotation takes the pressed wash and a frame. The outline\n is transparent at rest, so forced colours, which repaint the wash, draw it,\n and the active frame is thicker. The active rule has the specificity of the\n base rule, so the focus convention's ring wins on a highlight that takes\n focus. RichTextInput's editable surface composes this class. */\n.annotation {\n color: inherit;\n background: var(--pm-warning-subtle);\n border-block-end: 1px solid var(--pm-warning-border);\n outline: 1px solid transparent;\n box-decoration-break: clone;\n}\n\n.annotation:where([data-active]) {\n background: var(--pm-warning-subtle-active);\n outline: 2px solid var(--pm-warning-border);\n}\n\n/* An entity's own wash covers the highlight it sits in, so an annotated entity\n is ringed with the annotation's wash and carries the rule under it itself,\n at the height the fragments beside it draw theirs. */\n.annotation .entity {\n border-block-end: 1px solid var(--pm-warning-border);\n box-shadow: 0 0 0 2px var(--pm-warning-subtle);\n}\n\n.annotation:where([data-active]) .entity {\n box-shadow: 0 0 0 2px var(--pm-warning-subtle-active);\n}\n\n/* A highlight that takes a press (`onAnnotationSelect`). One fragment of each\n annotation is its tab stop, and it draws the one focus ring. */\n.pressable {\n composes: focusRing from '../conventions/focus.module.css';\n cursor: pointer;\n}\n\n/* The wrapper of the application's controls in the selection bar. It draws no\n box, so the controls are the bar's own row. The member reads the focus events\n that pass through it, to give focus back when the bar leaves. */\n.actions {\n display: contents;\n}\n\n/* The selection bar's one live region, hidden by clipping so it stays in the\n accessibility tree. */\n.status {\n composes: visuallyHidden from '../conventions/a11y.module.css';\n}\n"],"mappings":""}
@@ -1,5 +1,5 @@
1
1
  //#region ../recipes/src/structure/section-nav.module.css
2
- var e = "_nav_ghoy9_11", t = "_list_ghoy9_15", n = "_item_ghoy9_26", r = "_link_ghoy9_32 _focusRing_1lfnc_15 _stateFeedback_lkjqs_17 _pressable_lkjqs_38", i = "_label_ghoy9_54", a = {
2
+ var e = "_nav_1f7f2_11", t = "_list_1f7f2_15", n = "_item_1f7f2_26", r = "_link_1f7f2_32 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17 _pressable_lkjqs_38", i = "_label_1f7f2_54", a = {
3
3
  nav: e,
4
4
  list: t,
5
5
  item: n,
@@ -1 +1 @@
1
- {"version":3,"file":"section-nav.module.js","names":[],"sources":["../../../../recipes/src/structure/section-nav.module.css"],"sourcesContent":["/* SectionNav — `design/components/section-nav.md`.\n *\n * A row of links that wraps, so every item is on screen at any width. The\n * current item takes the selection treatment the AppShell rail gives its own,\n * so a current location looks the same at both levels.\n *\n * Nothing slides between items: they are pages, and navigation does not\n * animate (the AppShell rail's law). Colour and press feedback come from\n * `stateFeedback` and `pressable`. */\n\n.nav {\n min-inline-size: 0;\n}\n\n.list {\n display: flex;\n flex-wrap: wrap;\n gap: var(--pm-space-1);\n margin: 0;\n padding: 0;\n list-style: none;\n}\n\n/* A flex item is as wide as its content at least. The row's width is the cap,\n so a label wider than the row is clipped and does not widen the page. */\n.item {\n display: flex;\n min-inline-size: 0;\n max-inline-size: 100%;\n}\n\n.link {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback pressable from '../conventions/motion.module.css';\n display: inline-flex;\n align-items: center;\n min-inline-size: 0;\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-secondary);\n\n /* The row is navigation, not prose, so the user agent's underline is removed. */\n text-decoration: none;\n cursor: pointer;\n background: transparent;\n border-radius: var(--pm-radius-md);\n}\n\n.label {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n/* states -------------------------------------------------------------------- */\n\n/* The current item uses the selection treatment (`design/components/README.md`),\n not a persistent hover, so the current location reads as chosen, not hovered. */\n.link[aria-current='page'] {\n color: var(--pm-selection-text);\n background: var(--pm-selection-bg);\n}\n\n/* Selection takes precedence over hover: if hover restyled the current item,\n the current location would flicker with the pointer. */\n.link:hover:not([aria-current='page']) {\n color: var(--pm-text-primary);\n background: var(--pm-bg-subtle);\n}\n"],"mappings":""}
1
+ {"version":3,"file":"section-nav.module.js","names":[],"sources":["../../../../recipes/src/structure/section-nav.module.css"],"sourcesContent":["/* SectionNav — `design/components/section-nav.md`.\n *\n * A row of links that wraps, so every item is on screen at any width. The\n * current item takes the selection treatment the AppShell rail gives its own,\n * so a current location looks the same at both levels.\n *\n * Nothing slides between items: they are pages, and navigation does not\n * animate (the AppShell rail's law). Colour and press feedback come from\n * `stateFeedback` and `pressable`. */\n\n.nav {\n min-inline-size: 0;\n}\n\n.list {\n display: flex;\n flex-wrap: wrap;\n gap: var(--pm-space-1);\n margin: 0;\n padding: 0;\n list-style: none;\n}\n\n/* A flex item is as wide as its content at least. The row's width is the cap,\n so a label wider than the row is clipped and does not widen the page. */\n.item {\n display: flex;\n min-inline-size: 0;\n max-inline-size: 100%;\n}\n\n.link {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback pressable from '../conventions/motion.module.css';\n display: inline-flex;\n align-items: center;\n min-inline-size: 0;\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-secondary);\n\n /* The row is navigation, not prose, so the user agent's underline is removed. */\n text-decoration: none;\n cursor: pointer;\n background: transparent;\n border-radius: var(--pm-radius-md);\n}\n\n.label {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n/* states -------------------------------------------------------------------- */\n\n/* The current item uses the selection treatment (`design/components/README.md`),\n not a persistent hover, so the current location reads as chosen, not hovered. */\n.link[aria-current='page'] {\n color: var(--pm-selection-text);\n background: var(--pm-selection-bg);\n}\n\n/* Selection takes precedence over hover: if hover restyled the current item,\n the current location would flicker with the pointer. */\n.link:hover:not([aria-current='page']) {\n color: var(--pm-text-primary);\n background: var(--pm-bg-subtle);\n}\n\n/* The current item is the selection fill, so the focus mark lies inside the fill with a gap, in\n its text colour, the one the contrast law holds on that fill (`conventions/focus.module.css`). */\n.link[aria-current='page']:focus-visible {\n --pm-focus-mark: currentcolor;\n --pm-focus-inset: var(--pm-focus-width);\n}\n"],"mappings":""}