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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (722) hide show
  1. package/CHANGELOG.md +166 -0
  2. package/dist/ai/ArtifactPane.js.map +1 -1
  3. package/dist/ai/ArtifactPane.vue_vue_type_script_setup_true_lang.js +80 -72
  4. package/dist/ai/ArtifactPane.vue_vue_type_script_setup_true_lang.js.map +1 -1
  5. package/dist/ai/PromptInput.js.map +1 -1
  6. package/dist/ai/PromptInput.vue_vue_type_script_setup_true_lang.js +105 -105
  7. package/dist/ai/PromptInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
  8. package/dist/ai/ReasoningDisclosure.js.map +1 -1
  9. package/dist/ai/ReasoningDisclosure.vue_vue_type_script_setup_true_lang.js +1 -1
  10. package/dist/ai/ReasoningDisclosure.vue_vue_type_script_setup_true_lang.js.map +1 -1
  11. package/dist/ai/ToolCall.js.map +1 -1
  12. package/dist/ai/ToolCall.vue_vue_type_script_setup_true_lang.js +1 -1
  13. package/dist/ai/ToolCall.vue_vue_type_script_setup_true_lang.js.map +1 -1
  14. package/dist/ai/artifact-pane.css +1 -1
  15. package/dist/ai/artifact-pane.module.js +1 -1
  16. package/dist/ai/attachment-chip.css +1 -1
  17. package/dist/ai/attachment-chip.module.js +1 -1
  18. package/dist/ai/attachment-chip.module.js.map +1 -1
  19. package/dist/ai/chat-thread.css +1 -1
  20. package/dist/ai/chat-thread.module.js +1 -1
  21. package/dist/ai/citation.css +1 -1
  22. package/dist/ai/citation.module.js +1 -1
  23. package/dist/ai/prompt-input.css +1 -1
  24. package/dist/ai/prompt-input.module.js +1 -1
  25. package/dist/ai/prompt-input.module.js.map +1 -1
  26. package/dist/ai/reasoning-disclosure.css +1 -1
  27. package/dist/ai/reasoning-disclosure.module.js +5 -5
  28. package/dist/ai/reasoning-disclosure.module.js.map +1 -1
  29. package/dist/ai/source-list.css +1 -1
  30. package/dist/ai/source-list.module.js +1 -1
  31. package/dist/ai/source-list.module.js.map +1 -1
  32. package/dist/ai/tool-call.css +1 -1
  33. package/dist/ai/tool-call.module.js +1 -1
  34. package/dist/archetypes/AppShell.js.map +1 -1
  35. package/dist/archetypes/AppShell.vue_vue_type_script_setup_true_lang.js +139 -88
  36. package/dist/archetypes/AppShell.vue_vue_type_script_setup_true_lang.js.map +1 -1
  37. package/dist/archetypes/FormPage.js.map +1 -1
  38. package/dist/archetypes/FormPage.vue_vue_type_script_setup_true_lang.js +43 -21
  39. package/dist/archetypes/FormPage.vue_vue_type_script_setup_true_lang.js.map +1 -1
  40. package/dist/archetypes/app-shell.css +1 -1
  41. package/dist/archetypes/app-shell.module.js +9 -8
  42. package/dist/archetypes/app-shell.module.js.map +1 -1
  43. package/dist/archetypes/form-page.css +1 -1
  44. package/dist/archetypes/form-page.module.js +5 -3
  45. package/dist/archetypes/form-page.module.js.map +1 -1
  46. package/dist/archetypes/master-detail-page.css +1 -1
  47. package/dist/archetypes/master-detail-page.module.js +1 -1
  48. package/dist/archetypes/master-detail-page.module.js.map +1 -1
  49. package/dist/charts/area-chart.css +1 -1
  50. package/dist/charts/area-chart.module.js +1 -1
  51. package/dist/charts/bar-chart.css +1 -1
  52. package/dist/charts/bar-chart.module.js +1 -1
  53. package/dist/charts/donut-chart.css +1 -1
  54. package/dist/charts/donut-chart.module.js +1 -1
  55. package/dist/charts/frame/chart-frame.css +1 -1
  56. package/dist/charts/frame/chart-frame.module.js +1 -1
  57. package/dist/charts/frame/chart-legend.css +1 -1
  58. package/dist/charts/frame/chart-legend.module.js +1 -1
  59. package/dist/charts/frame/chart-legend.module.js.map +1 -1
  60. package/dist/charts/funnel-chart.css +1 -1
  61. package/dist/charts/funnel-chart.module.js +1 -1
  62. package/dist/charts/heatmap.css +1 -1
  63. package/dist/charts/heatmap.module.js +1 -1
  64. package/dist/charts/histogram.css +1 -1
  65. package/dist/charts/histogram.module.js +1 -1
  66. package/dist/charts/line-chart.css +1 -1
  67. package/dist/charts/line-chart.module.js +1 -1
  68. package/dist/charts/radar-chart.css +1 -1
  69. package/dist/charts/radar-chart.module.js +1 -1
  70. package/dist/charts/scatter-chart.css +1 -1
  71. package/dist/charts/scatter-chart.module.js +1 -1
  72. package/dist/charts/treemap.css +1 -1
  73. package/dist/charts/treemap.module.js +1 -1
  74. package/dist/controls/AvatarButton.js.map +1 -1
  75. package/dist/controls/AvatarButton.vue_vue_type_script_setup_true_lang.js +43 -35
  76. package/dist/controls/AvatarButton.vue_vue_type_script_setup_true_lang.js.map +1 -1
  77. package/dist/controls/Button.js.map +1 -1
  78. package/dist/controls/Button.vue_vue_type_script_setup_true_lang.js +74 -62
  79. package/dist/controls/Button.vue_vue_type_script_setup_true_lang.js.map +1 -1
  80. package/dist/controls/Calendar.js.map +1 -1
  81. package/dist/controls/Calendar.vue_vue_type_script_setup_true_lang.js +1 -1
  82. package/dist/controls/Calendar.vue_vue_type_script_setup_true_lang.js.map +1 -1
  83. package/dist/controls/Checkbox.js.map +1 -1
  84. package/dist/controls/Checkbox.vue_vue_type_script_setup_true_lang.js +1 -1
  85. package/dist/controls/Checkbox.vue_vue_type_script_setup_true_lang.js.map +1 -1
  86. package/dist/controls/ColorInput.js.map +1 -1
  87. package/dist/controls/ColorInput.vue_vue_type_script_setup_true_lang.js +95 -95
  88. package/dist/controls/ColorInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
  89. package/dist/controls/Combobox.js.map +1 -1
  90. package/dist/controls/Combobox.vue_vue_type_script_setup_true_lang.js +1 -1
  91. package/dist/controls/Combobox.vue_vue_type_script_setup_true_lang.js.map +1 -1
  92. package/dist/controls/CopyButton.js.map +1 -1
  93. package/dist/controls/CopyButton.vue_vue_type_script_setup_true_lang.js +44 -30
  94. package/dist/controls/CopyButton.vue_vue_type_script_setup_true_lang.js.map +1 -1
  95. package/dist/controls/DatePicker.js.map +1 -1
  96. package/dist/controls/DatePicker.vue_vue_type_script_setup_true_lang.js +1 -1
  97. package/dist/controls/DatePicker.vue_vue_type_script_setup_true_lang.js.map +1 -1
  98. package/dist/controls/DateRangePicker.js.map +1 -1
  99. package/dist/controls/DateRangePicker.vue_vue_type_script_setup_true_lang.js +1 -1
  100. package/dist/controls/DateRangePicker.vue_vue_type_script_setup_true_lang.js.map +1 -1
  101. package/dist/controls/FileUpload.js.map +1 -1
  102. package/dist/controls/FileUpload.vue_vue_type_script_setup_true_lang.js +98 -89
  103. package/dist/controls/FileUpload.vue_vue_type_script_setup_true_lang.js.map +1 -1
  104. package/dist/controls/InlineEdit.js.map +1 -1
  105. package/dist/controls/InlineEdit.vue_vue_type_script_setup_true_lang.js +71 -63
  106. package/dist/controls/InlineEdit.vue_vue_type_script_setup_true_lang.js.map +1 -1
  107. package/dist/controls/MultiSelect.js.map +1 -1
  108. package/dist/controls/MultiSelect.vue_vue_type_script_setup_true_lang.js +188 -177
  109. package/dist/controls/MultiSelect.vue_vue_type_script_setup_true_lang.js.map +1 -1
  110. package/dist/controls/NumberInput.js.map +1 -1
  111. package/dist/controls/NumberInput.vue_vue_type_script_setup_true_lang.js +1 -1
  112. package/dist/controls/NumberInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
  113. package/dist/controls/PhoneInput.js.map +1 -1
  114. package/dist/controls/PhoneInput.vue_vue_type_script_setup_true_lang.js +39 -39
  115. package/dist/controls/PhoneInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
  116. package/dist/controls/RadioGroup.js.map +1 -1
  117. package/dist/controls/RadioGroup.vue_vue_type_script_setup_true_lang.js +1 -1
  118. package/dist/controls/RadioGroup.vue_vue_type_script_setup_true_lang.js.map +1 -1
  119. package/dist/controls/SegmentedControl.js.map +1 -1
  120. package/dist/controls/SegmentedControl.vue_vue_type_script_setup_true_lang.js +1 -1
  121. package/dist/controls/SegmentedControl.vue_vue_type_script_setup_true_lang.js.map +1 -1
  122. package/dist/controls/Select.js.map +1 -1
  123. package/dist/controls/Select.vue_vue_type_script_setup_true_lang.js +1 -1
  124. package/dist/controls/Select.vue_vue_type_script_setup_true_lang.js.map +1 -1
  125. package/dist/controls/Slider.js.map +1 -1
  126. package/dist/controls/Slider.vue_vue_type_script_setup_true_lang.js +1 -1
  127. package/dist/controls/Slider.vue_vue_type_script_setup_true_lang.js.map +1 -1
  128. package/dist/controls/SplitButton.js.map +1 -1
  129. package/dist/controls/SplitButton.vue_vue_type_script_setup_true_lang.js +102 -87
  130. package/dist/controls/SplitButton.vue_vue_type_script_setup_true_lang.js.map +1 -1
  131. package/dist/controls/SplitButtonSubmenu.js.map +1 -1
  132. package/dist/controls/SplitButtonSubmenu.vue_vue_type_script_setup_true_lang.js +1 -1
  133. package/dist/controls/SplitButtonSubmenu.vue_vue_type_script_setup_true_lang.js.map +1 -1
  134. package/dist/controls/Switch.js.map +1 -1
  135. package/dist/controls/Switch.vue_vue_type_script_setup_true_lang.js +1 -1
  136. package/dist/controls/Switch.vue_vue_type_script_setup_true_lang.js.map +1 -1
  137. package/dist/controls/TagInput.js.map +1 -1
  138. package/dist/controls/TagInput.vue_vue_type_script_setup_true_lang.js +122 -111
  139. package/dist/controls/TagInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
  140. package/dist/controls/TreeSelect.js.map +1 -1
  141. package/dist/controls/TreeSelect.vue_vue_type_script_setup_true_lang.js +56 -56
  142. package/dist/controls/TreeSelect.vue_vue_type_script_setup_true_lang.js.map +1 -1
  143. package/dist/controls/avatar-button.css +1 -1
  144. package/dist/controls/avatar-button.module.js +5 -4
  145. package/dist/controls/avatar-button.module.js.map +1 -1
  146. package/dist/controls/button.css +1 -1
  147. package/dist/controls/button.module.js +4 -3
  148. package/dist/controls/button.module.js.map +1 -1
  149. package/dist/controls/calendar.css +1 -1
  150. package/dist/controls/calendar.module.js +3 -3
  151. package/dist/controls/calendar.module.js.map +1 -1
  152. package/dist/controls/checkbox-group.css +1 -1
  153. package/dist/controls/checkbox-group.module.js +1 -1
  154. package/dist/controls/checkbox.css +1 -1
  155. package/dist/controls/checkbox.module.js +2 -2
  156. package/dist/controls/checkbox.module.js.map +1 -1
  157. package/dist/controls/choice-card.css +1 -1
  158. package/dist/controls/choice-card.module.js +2 -2
  159. package/dist/controls/choice-card.module.js.map +1 -1
  160. package/dist/controls/color-input.css +1 -1
  161. package/dist/controls/color-input.module.js +1 -1
  162. package/dist/controls/color-input.module.js.map +1 -1
  163. package/dist/controls/combobox.css +1 -1
  164. package/dist/controls/combobox.module.js +5 -5
  165. package/dist/controls/combobox.module.js.map +1 -1
  166. package/dist/controls/copy-button.css +1 -1
  167. package/dist/controls/copy-button.module.js +8 -7
  168. package/dist/controls/copy-button.module.js.map +1 -1
  169. package/dist/controls/date-picker.css +1 -1
  170. package/dist/controls/date-picker.module.js +1 -1
  171. package/dist/controls/date-range-picker.css +1 -1
  172. package/dist/controls/date-range-picker.module.js +6 -6
  173. package/dist/controls/date-range-picker.module.js.map +1 -1
  174. package/dist/controls/duration-input.css +1 -1
  175. package/dist/controls/duration-input.module.js +1 -1
  176. package/dist/controls/file-upload.css +1 -1
  177. package/dist/controls/file-upload.module.js +1 -1
  178. package/dist/controls/file-upload.module.js.map +1 -1
  179. package/dist/controls/input.css +1 -1
  180. package/dist/controls/input.module.js +2 -2
  181. package/dist/controls/input.module.js.map +1 -1
  182. package/dist/controls/link.css +1 -1
  183. package/dist/controls/link.module.js +1 -1
  184. package/dist/controls/link.module.js.map +1 -1
  185. package/dist/controls/month-input.css +1 -1
  186. package/dist/controls/month-input.module.js +1 -1
  187. package/dist/controls/multi-select.css +1 -1
  188. package/dist/controls/multi-select.module.js +5 -5
  189. package/dist/controls/multi-select.module.js.map +1 -1
  190. package/dist/controls/number-input.css +1 -1
  191. package/dist/controls/number-input.module.js +1 -1
  192. package/dist/controls/number-input.module.js.map +1 -1
  193. package/dist/controls/otp-input.css +1 -1
  194. package/dist/controls/otp-input.module.js +2 -2
  195. package/dist/controls/otp-input.module.js.map +1 -1
  196. package/dist/controls/password-input.css +1 -1
  197. package/dist/controls/password-input.module.js +2 -2
  198. package/dist/controls/password-input.module.js.map +1 -1
  199. package/dist/controls/provider-button.css +1 -1
  200. package/dist/controls/provider-button.module.js +1 -1
  201. package/dist/controls/radio-group.css +1 -1
  202. package/dist/controls/radio-group.module.js +2 -2
  203. package/dist/controls/radio-group.module.js.map +1 -1
  204. package/dist/controls/rating.css +1 -1
  205. package/dist/controls/rating.module.js +1 -1
  206. package/dist/controls/rich-text-input.css +1 -1
  207. package/dist/controls/rich-text-input.module.js +1 -1
  208. package/dist/controls/rich-text-input.module.js.map +1 -1
  209. package/dist/controls/segmented-control.css +1 -1
  210. package/dist/controls/segmented-control.module.js +1 -1
  211. package/dist/controls/select.css +1 -1
  212. package/dist/controls/select.module.js +3 -3
  213. package/dist/controls/select.module.js.map +1 -1
  214. package/dist/controls/slider.css +1 -1
  215. package/dist/controls/slider.module.js +1 -1
  216. package/dist/controls/slider.module.js.map +1 -1
  217. package/dist/controls/split-button.css +1 -1
  218. package/dist/controls/split-button.module.js +20 -19
  219. package/dist/controls/split-button.module.js.map +1 -1
  220. package/dist/controls/switch.css +1 -1
  221. package/dist/controls/switch.module.js +1 -1
  222. package/dist/controls/switch.module.js.map +1 -1
  223. package/dist/controls/tag-input.css +1 -1
  224. package/dist/controls/tag-input.module.js +1 -1
  225. package/dist/controls/textarea.css +1 -1
  226. package/dist/controls/textarea.module.js +1 -1
  227. package/dist/controls/time-input.css +1 -1
  228. package/dist/controls/time-input.module.js +1 -1
  229. package/dist/controls/tree-select.css +1 -1
  230. package/dist/controls/tree-select.module.js +1 -1
  231. package/dist/layout/split-pane.css +1 -1
  232. package/dist/layout/split-pane.module.js +1 -1
  233. package/dist/layout/split-pane.module.js.map +1 -1
  234. package/dist/node/ai/ArtifactPane.js.map +1 -1
  235. package/dist/node/ai/ArtifactPane.vue_vue_type_script_setup_true_lang.js +80 -72
  236. package/dist/node/ai/ArtifactPane.vue_vue_type_script_setup_true_lang.js.map +1 -1
  237. package/dist/node/ai/PromptInput.js.map +1 -1
  238. package/dist/node/ai/PromptInput.vue_vue_type_script_setup_true_lang.js +105 -105
  239. package/dist/node/ai/PromptInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
  240. package/dist/node/ai/ReasoningDisclosure.js.map +1 -1
  241. package/dist/node/ai/ReasoningDisclosure.vue_vue_type_script_setup_true_lang.js +1 -1
  242. package/dist/node/ai/ReasoningDisclosure.vue_vue_type_script_setup_true_lang.js.map +1 -1
  243. package/dist/node/ai/ToolCall.js.map +1 -1
  244. package/dist/node/ai/ToolCall.vue_vue_type_script_setup_true_lang.js +1 -1
  245. package/dist/node/ai/ToolCall.vue_vue_type_script_setup_true_lang.js.map +1 -1
  246. package/dist/node/ai/artifact-pane.module.js +1 -1
  247. package/dist/node/ai/attachment-chip.module.js +1 -1
  248. package/dist/node/ai/attachment-chip.module.js.map +1 -1
  249. package/dist/node/ai/chat-thread.module.js +1 -1
  250. package/dist/node/ai/citation.module.js +1 -1
  251. package/dist/node/ai/prompt-input.module.js +1 -1
  252. package/dist/node/ai/prompt-input.module.js.map +1 -1
  253. package/dist/node/ai/reasoning-disclosure.module.js +5 -5
  254. package/dist/node/ai/reasoning-disclosure.module.js.map +1 -1
  255. package/dist/node/ai/source-list.module.js +1 -1
  256. package/dist/node/ai/source-list.module.js.map +1 -1
  257. package/dist/node/ai/tool-call.module.js +1 -1
  258. package/dist/node/archetypes/AppShell.js.map +1 -1
  259. package/dist/node/archetypes/AppShell.vue_vue_type_script_setup_true_lang.js +139 -88
  260. package/dist/node/archetypes/AppShell.vue_vue_type_script_setup_true_lang.js.map +1 -1
  261. package/dist/node/archetypes/FormPage.js.map +1 -1
  262. package/dist/node/archetypes/FormPage.vue_vue_type_script_setup_true_lang.js +43 -21
  263. package/dist/node/archetypes/FormPage.vue_vue_type_script_setup_true_lang.js.map +1 -1
  264. package/dist/node/archetypes/app-shell.module.js +9 -8
  265. package/dist/node/archetypes/app-shell.module.js.map +1 -1
  266. package/dist/node/archetypes/form-page.module.js +5 -3
  267. package/dist/node/archetypes/form-page.module.js.map +1 -1
  268. package/dist/node/archetypes/master-detail-page.module.js +1 -1
  269. package/dist/node/archetypes/master-detail-page.module.js.map +1 -1
  270. package/dist/node/charts/area-chart.module.js +1 -1
  271. package/dist/node/charts/bar-chart.module.js +1 -1
  272. package/dist/node/charts/donut-chart.module.js +1 -1
  273. package/dist/node/charts/frame/chart-frame.module.js +1 -1
  274. package/dist/node/charts/frame/chart-legend.module.js +1 -1
  275. package/dist/node/charts/frame/chart-legend.module.js.map +1 -1
  276. package/dist/node/charts/funnel-chart.module.js +1 -1
  277. package/dist/node/charts/heatmap.module.js +1 -1
  278. package/dist/node/charts/histogram.module.js +1 -1
  279. package/dist/node/charts/line-chart.module.js +1 -1
  280. package/dist/node/charts/radar-chart.module.js +1 -1
  281. package/dist/node/charts/scatter-chart.module.js +1 -1
  282. package/dist/node/charts/treemap.module.js +1 -1
  283. package/dist/node/controls/AvatarButton.js.map +1 -1
  284. package/dist/node/controls/AvatarButton.vue_vue_type_script_setup_true_lang.js +43 -35
  285. package/dist/node/controls/AvatarButton.vue_vue_type_script_setup_true_lang.js.map +1 -1
  286. package/dist/node/controls/Button.js.map +1 -1
  287. package/dist/node/controls/Button.vue_vue_type_script_setup_true_lang.js +74 -62
  288. package/dist/node/controls/Button.vue_vue_type_script_setup_true_lang.js.map +1 -1
  289. package/dist/node/controls/Calendar.js.map +1 -1
  290. package/dist/node/controls/Calendar.vue_vue_type_script_setup_true_lang.js +1 -1
  291. package/dist/node/controls/Calendar.vue_vue_type_script_setup_true_lang.js.map +1 -1
  292. package/dist/node/controls/Checkbox.js.map +1 -1
  293. package/dist/node/controls/Checkbox.vue_vue_type_script_setup_true_lang.js +1 -1
  294. package/dist/node/controls/Checkbox.vue_vue_type_script_setup_true_lang.js.map +1 -1
  295. package/dist/node/controls/ColorInput.js.map +1 -1
  296. package/dist/node/controls/ColorInput.vue_vue_type_script_setup_true_lang.js +95 -95
  297. package/dist/node/controls/ColorInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
  298. package/dist/node/controls/Combobox.js.map +1 -1
  299. package/dist/node/controls/Combobox.vue_vue_type_script_setup_true_lang.js +1 -1
  300. package/dist/node/controls/Combobox.vue_vue_type_script_setup_true_lang.js.map +1 -1
  301. package/dist/node/controls/CopyButton.js.map +1 -1
  302. package/dist/node/controls/CopyButton.vue_vue_type_script_setup_true_lang.js +44 -30
  303. package/dist/node/controls/CopyButton.vue_vue_type_script_setup_true_lang.js.map +1 -1
  304. package/dist/node/controls/DatePicker.js.map +1 -1
  305. package/dist/node/controls/DatePicker.vue_vue_type_script_setup_true_lang.js +1 -1
  306. package/dist/node/controls/DatePicker.vue_vue_type_script_setup_true_lang.js.map +1 -1
  307. package/dist/node/controls/DateRangePicker.js.map +1 -1
  308. package/dist/node/controls/DateRangePicker.vue_vue_type_script_setup_true_lang.js +1 -1
  309. package/dist/node/controls/DateRangePicker.vue_vue_type_script_setup_true_lang.js.map +1 -1
  310. package/dist/node/controls/FileUpload.js.map +1 -1
  311. package/dist/node/controls/FileUpload.vue_vue_type_script_setup_true_lang.js +98 -89
  312. package/dist/node/controls/FileUpload.vue_vue_type_script_setup_true_lang.js.map +1 -1
  313. package/dist/node/controls/InlineEdit.js.map +1 -1
  314. package/dist/node/controls/InlineEdit.vue_vue_type_script_setup_true_lang.js +71 -63
  315. package/dist/node/controls/InlineEdit.vue_vue_type_script_setup_true_lang.js.map +1 -1
  316. package/dist/node/controls/MultiSelect.js.map +1 -1
  317. package/dist/node/controls/MultiSelect.vue_vue_type_script_setup_true_lang.js +188 -177
  318. package/dist/node/controls/MultiSelect.vue_vue_type_script_setup_true_lang.js.map +1 -1
  319. package/dist/node/controls/NumberInput.js.map +1 -1
  320. package/dist/node/controls/NumberInput.vue_vue_type_script_setup_true_lang.js +1 -1
  321. package/dist/node/controls/NumberInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
  322. package/dist/node/controls/PhoneInput.js.map +1 -1
  323. package/dist/node/controls/PhoneInput.vue_vue_type_script_setup_true_lang.js +39 -39
  324. package/dist/node/controls/PhoneInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
  325. package/dist/node/controls/RadioGroup.js.map +1 -1
  326. package/dist/node/controls/RadioGroup.vue_vue_type_script_setup_true_lang.js +1 -1
  327. package/dist/node/controls/RadioGroup.vue_vue_type_script_setup_true_lang.js.map +1 -1
  328. package/dist/node/controls/SegmentedControl.js.map +1 -1
  329. package/dist/node/controls/SegmentedControl.vue_vue_type_script_setup_true_lang.js +1 -1
  330. package/dist/node/controls/SegmentedControl.vue_vue_type_script_setup_true_lang.js.map +1 -1
  331. package/dist/node/controls/Select.js.map +1 -1
  332. package/dist/node/controls/Select.vue_vue_type_script_setup_true_lang.js +1 -1
  333. package/dist/node/controls/Select.vue_vue_type_script_setup_true_lang.js.map +1 -1
  334. package/dist/node/controls/Slider.js.map +1 -1
  335. package/dist/node/controls/Slider.vue_vue_type_script_setup_true_lang.js +1 -1
  336. package/dist/node/controls/Slider.vue_vue_type_script_setup_true_lang.js.map +1 -1
  337. package/dist/node/controls/SplitButton.js.map +1 -1
  338. package/dist/node/controls/SplitButton.vue_vue_type_script_setup_true_lang.js +102 -87
  339. package/dist/node/controls/SplitButton.vue_vue_type_script_setup_true_lang.js.map +1 -1
  340. package/dist/node/controls/SplitButtonSubmenu.js.map +1 -1
  341. package/dist/node/controls/SplitButtonSubmenu.vue_vue_type_script_setup_true_lang.js +1 -1
  342. package/dist/node/controls/SplitButtonSubmenu.vue_vue_type_script_setup_true_lang.js.map +1 -1
  343. package/dist/node/controls/Switch.js.map +1 -1
  344. package/dist/node/controls/Switch.vue_vue_type_script_setup_true_lang.js +1 -1
  345. package/dist/node/controls/Switch.vue_vue_type_script_setup_true_lang.js.map +1 -1
  346. package/dist/node/controls/TagInput.js.map +1 -1
  347. package/dist/node/controls/TagInput.vue_vue_type_script_setup_true_lang.js +122 -111
  348. package/dist/node/controls/TagInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
  349. package/dist/node/controls/TreeSelect.js.map +1 -1
  350. package/dist/node/controls/TreeSelect.vue_vue_type_script_setup_true_lang.js +56 -56
  351. package/dist/node/controls/TreeSelect.vue_vue_type_script_setup_true_lang.js.map +1 -1
  352. package/dist/node/controls/avatar-button.module.js +5 -4
  353. package/dist/node/controls/avatar-button.module.js.map +1 -1
  354. package/dist/node/controls/button.module.js +4 -3
  355. package/dist/node/controls/button.module.js.map +1 -1
  356. package/dist/node/controls/calendar.module.js +3 -3
  357. package/dist/node/controls/calendar.module.js.map +1 -1
  358. package/dist/node/controls/checkbox-group.module.js +1 -1
  359. package/dist/node/controls/checkbox.module.js +2 -2
  360. package/dist/node/controls/checkbox.module.js.map +1 -1
  361. package/dist/node/controls/choice-card.module.js +2 -2
  362. package/dist/node/controls/choice-card.module.js.map +1 -1
  363. package/dist/node/controls/color-input.module.js +1 -1
  364. package/dist/node/controls/color-input.module.js.map +1 -1
  365. package/dist/node/controls/combobox.module.js +5 -5
  366. package/dist/node/controls/combobox.module.js.map +1 -1
  367. package/dist/node/controls/copy-button.module.js +8 -7
  368. package/dist/node/controls/copy-button.module.js.map +1 -1
  369. package/dist/node/controls/date-picker.module.js +1 -1
  370. package/dist/node/controls/date-range-picker.module.js +6 -6
  371. package/dist/node/controls/date-range-picker.module.js.map +1 -1
  372. package/dist/node/controls/duration-input.module.js +1 -1
  373. package/dist/node/controls/file-upload.module.js +1 -1
  374. package/dist/node/controls/file-upload.module.js.map +1 -1
  375. package/dist/node/controls/input.module.js +2 -2
  376. package/dist/node/controls/input.module.js.map +1 -1
  377. package/dist/node/controls/link.module.js +1 -1
  378. package/dist/node/controls/link.module.js.map +1 -1
  379. package/dist/node/controls/month-input.module.js +1 -1
  380. package/dist/node/controls/multi-select.module.js +5 -5
  381. package/dist/node/controls/multi-select.module.js.map +1 -1
  382. package/dist/node/controls/number-input.module.js +1 -1
  383. package/dist/node/controls/number-input.module.js.map +1 -1
  384. package/dist/node/controls/otp-input.module.js +2 -2
  385. package/dist/node/controls/otp-input.module.js.map +1 -1
  386. package/dist/node/controls/password-input.module.js +2 -2
  387. package/dist/node/controls/password-input.module.js.map +1 -1
  388. package/dist/node/controls/provider-button.module.js +1 -1
  389. package/dist/node/controls/radio-group.module.js +2 -2
  390. package/dist/node/controls/radio-group.module.js.map +1 -1
  391. package/dist/node/controls/rating.module.js +1 -1
  392. package/dist/node/controls/rich-text-input.module.js +1 -1
  393. package/dist/node/controls/rich-text-input.module.js.map +1 -1
  394. package/dist/node/controls/segmented-control.module.js +1 -1
  395. package/dist/node/controls/select.module.js +3 -3
  396. package/dist/node/controls/select.module.js.map +1 -1
  397. package/dist/node/controls/slider.module.js +1 -1
  398. package/dist/node/controls/slider.module.js.map +1 -1
  399. package/dist/node/controls/split-button.module.js +20 -19
  400. package/dist/node/controls/split-button.module.js.map +1 -1
  401. package/dist/node/controls/switch.module.js +1 -1
  402. package/dist/node/controls/switch.module.js.map +1 -1
  403. package/dist/node/controls/tag-input.module.js +1 -1
  404. package/dist/node/controls/textarea.module.js +1 -1
  405. package/dist/node/controls/time-input.module.js +1 -1
  406. package/dist/node/controls/tree-select.module.js +1 -1
  407. package/dist/node/layout/split-pane.module.js +1 -1
  408. package/dist/node/layout/split-pane.module.js.map +1 -1
  409. package/dist/node/overlays/Command.js.map +1 -1
  410. package/dist/node/overlays/Command.vue_vue_type_script_setup_true_lang.js +50 -45
  411. package/dist/node/overlays/Command.vue_vue_type_script_setup_true_lang.js.map +1 -1
  412. package/dist/node/overlays/CommandPanel.js.map +1 -1
  413. package/dist/node/overlays/CommandPanel.vue_vue_type_script_setup_true_lang.js +82 -82
  414. package/dist/node/overlays/CommandPanel.vue_vue_type_script_setup_true_lang.js.map +1 -1
  415. package/dist/node/overlays/ContextMenu.js.map +1 -1
  416. package/dist/node/overlays/ContextMenu.vue_vue_type_script_setup_true_lang.js +1 -1
  417. package/dist/node/overlays/ContextMenu.vue_vue_type_script_setup_true_lang.js.map +1 -1
  418. package/dist/node/overlays/ContextMenuSubmenu.js.map +1 -1
  419. package/dist/node/overlays/ContextMenuSubmenu.vue_vue_type_script_setup_true_lang.js +1 -1
  420. package/dist/node/overlays/ContextMenuSubmenu.vue_vue_type_script_setup_true_lang.js.map +1 -1
  421. package/dist/node/overlays/Dialog.js.map +1 -1
  422. package/dist/node/overlays/Dialog.vue_vue_type_script_setup_true_lang.js +47 -43
  423. package/dist/node/overlays/Dialog.vue_vue_type_script_setup_true_lang.js.map +1 -1
  424. package/dist/node/overlays/Drawer.js.map +1 -1
  425. package/dist/node/overlays/Drawer.vue_vue_type_script_setup_true_lang.js +58 -53
  426. package/dist/node/overlays/Drawer.vue_vue_type_script_setup_true_lang.js.map +1 -1
  427. package/dist/node/overlays/Lightbox.js.map +1 -1
  428. package/dist/node/overlays/Lightbox.vue_vue_type_script_setup_true_lang.js +65 -61
  429. package/dist/node/overlays/Lightbox.vue_vue_type_script_setup_true_lang.js.map +1 -1
  430. package/dist/node/overlays/Menu.js.map +1 -1
  431. package/dist/node/overlays/Menu.vue_vue_type_script_setup_true_lang.js +1 -1
  432. package/dist/node/overlays/Menu.vue_vue_type_script_setup_true_lang.js.map +1 -1
  433. package/dist/node/overlays/MenuSubmenu.js.map +1 -1
  434. package/dist/node/overlays/MenuSubmenu.vue_vue_type_script_setup_true_lang.js +1 -1
  435. package/dist/node/overlays/MenuSubmenu.vue_vue_type_script_setup_true_lang.js.map +1 -1
  436. package/dist/node/overlays/Menubar.js.map +1 -1
  437. package/dist/node/overlays/Menubar.vue_vue_type_script_setup_true_lang.js +1 -1
  438. package/dist/node/overlays/Menubar.vue_vue_type_script_setup_true_lang.js.map +1 -1
  439. package/dist/node/overlays/MenubarSubmenu.js.map +1 -1
  440. package/dist/node/overlays/MenubarSubmenu.vue_vue_type_script_setup_true_lang.js +1 -1
  441. package/dist/node/overlays/MenubarSubmenu.vue_vue_type_script_setup_true_lang.js.map +1 -1
  442. package/dist/node/overlays/Popover.js.map +1 -1
  443. package/dist/node/overlays/Popover.vue_vue_type_script_setup_true_lang.js +1 -1
  444. package/dist/node/overlays/Popover.vue_vue_type_script_setup_true_lang.js.map +1 -1
  445. package/dist/node/overlays/Tabs.js.map +1 -1
  446. package/dist/node/overlays/Tabs.vue_vue_type_script_setup_true_lang.js +1 -1
  447. package/dist/node/overlays/Tabs.vue_vue_type_script_setup_true_lang.js.map +1 -1
  448. package/dist/node/overlays/Toast.js.map +1 -1
  449. package/dist/node/overlays/Toast.vue_vue_type_script_setup_true_lang.js.map +1 -1
  450. package/dist/node/overlays/ToastCard.js.map +1 -1
  451. package/dist/node/overlays/ToastCard.vue_vue_type_script_setup_true_lang.js +74 -71
  452. package/dist/node/overlays/ToastCard.vue_vue_type_script_setup_true_lang.js.map +1 -1
  453. package/dist/node/overlays/ToastViewport.js.map +1 -1
  454. package/dist/node/overlays/ToastViewport.vue_vue_type_script_setup_true_lang.js +70 -59
  455. package/dist/node/overlays/ToastViewport.vue_vue_type_script_setup_true_lang.js.map +1 -1
  456. package/dist/node/overlays/Tooltip.js.map +1 -1
  457. package/dist/node/overlays/Tooltip.vue_vue_type_script_setup_true_lang.js +46 -26
  458. package/dist/node/overlays/Tooltip.vue_vue_type_script_setup_true_lang.js.map +1 -1
  459. package/dist/node/overlays/Tour.js.map +1 -1
  460. package/dist/node/overlays/Tour.vue_vue_type_script_setup_true_lang.js +74 -69
  461. package/dist/node/overlays/Tour.vue_vue_type_script_setup_true_lang.js.map +1 -1
  462. package/dist/node/overlays/context-menu.module.js +4 -4
  463. package/dist/node/overlays/context-menu.module.js.map +1 -1
  464. package/dist/node/overlays/dialog.module.js +1 -1
  465. package/dist/node/overlays/dialog.module.js.map +1 -1
  466. package/dist/node/overlays/drawer.module.js +1 -1
  467. package/dist/node/overlays/drawer.module.js.map +1 -1
  468. package/dist/node/overlays/lightbox.module.js +1 -1
  469. package/dist/node/overlays/menu.module.js +4 -4
  470. package/dist/node/overlays/menu.module.js.map +1 -1
  471. package/dist/node/overlays/menubar.module.js +1 -1
  472. package/dist/node/overlays/menubar.module.js.map +1 -1
  473. package/dist/node/overlays/popover.module.js +3 -3
  474. package/dist/node/overlays/popover.module.js.map +1 -1
  475. package/dist/node/overlays/sheet.module.js +1 -1
  476. package/dist/node/overlays/sheet.module.js.map +1 -1
  477. package/dist/node/overlays/tabs.module.js +4 -4
  478. package/dist/node/overlays/tabs.module.js.map +1 -1
  479. package/dist/node/overlays/toast.module.js +1 -1
  480. package/dist/node/overlays/toast.module.js.map +1 -1
  481. package/dist/node/overlays/tour.module.js +1 -1
  482. package/dist/node/overlays/tour.module.js.map +1 -1
  483. package/dist/node/structure/Accordion.js.map +1 -1
  484. package/dist/node/structure/Accordion.vue_vue_type_script_setup_true_lang.js +1 -1
  485. package/dist/node/structure/Accordion.vue_vue_type_script_setup_true_lang.js.map +1 -1
  486. package/dist/node/structure/Alert.js.map +1 -1
  487. package/dist/node/structure/Alert.vue_vue_type_script_setup_true_lang.js +62 -54
  488. package/dist/node/structure/Alert.vue_vue_type_script_setup_true_lang.js.map +1 -1
  489. package/dist/node/structure/Banner.js.map +1 -1
  490. package/dist/node/structure/Banner.vue_vue_type_script_setup_true_lang.js +42 -34
  491. package/dist/node/structure/Banner.vue_vue_type_script_setup_true_lang.js.map +1 -1
  492. package/dist/node/structure/Carousel.js.map +1 -1
  493. package/dist/node/structure/Carousel.vue_vue_type_script_setup_true_lang.js +8 -8
  494. package/dist/node/structure/Carousel.vue_vue_type_script_setup_true_lang.js.map +1 -1
  495. package/dist/node/structure/Collapsible.js.map +1 -1
  496. package/dist/node/structure/Collapsible.vue_vue_type_script_setup_true_lang.js +1 -1
  497. package/dist/node/structure/Collapsible.vue_vue_type_script_setup_true_lang.js.map +1 -1
  498. package/dist/node/structure/DataTable.vue_vue_type_script_setup_true_lang.js.map +1 -1
  499. package/dist/node/structure/Pagination.js.map +1 -1
  500. package/dist/node/structure/Pagination.vue_vue_type_script_setup_true_lang.js +118 -88
  501. package/dist/node/structure/Pagination.vue_vue_type_script_setup_true_lang.js.map +1 -1
  502. package/dist/node/structure/ScrollArea.js.map +1 -1
  503. package/dist/node/structure/ScrollArea.vue_vue_type_script_setup_true_lang.js +30 -27
  504. package/dist/node/structure/ScrollArea.vue_vue_type_script_setup_true_lang.js.map +1 -1
  505. package/dist/node/structure/Table.js.map +1 -1
  506. package/dist/node/structure/Table.vue_vue_type_script_setup_true_lang.js +71 -61
  507. package/dist/node/structure/Table.vue_vue_type_script_setup_true_lang.js.map +1 -1
  508. package/dist/node/structure/accordion.module.js +5 -5
  509. package/dist/node/structure/accordion.module.js.map +1 -1
  510. package/dist/node/structure/breadcrumbs.module.js +1 -1
  511. package/dist/node/structure/breadcrumbs.module.js.map +1 -1
  512. package/dist/node/structure/card.module.js +1 -1
  513. package/dist/node/structure/card.module.js.map +1 -1
  514. package/dist/node/structure/carousel.module.js +1 -1
  515. package/dist/node/structure/carousel.module.js.map +1 -1
  516. package/dist/node/structure/code-block.module.js +1 -1
  517. package/dist/node/structure/collapsible.module.js +5 -5
  518. package/dist/node/structure/collapsible.module.js.map +1 -1
  519. package/dist/node/structure/cursor-pagination.module.js +1 -1
  520. package/dist/node/structure/data-table.module.js +1 -1
  521. package/dist/node/structure/error-summary.module.js +1 -1
  522. package/dist/node/structure/error-summary.module.js.map +1 -1
  523. package/dist/node/structure/json-tree.module.js +1 -1
  524. package/dist/node/structure/json-tree.module.js.map +1 -1
  525. package/dist/node/structure/list.module.js +1 -1
  526. package/dist/node/structure/list.module.js.map +1 -1
  527. package/dist/node/structure/log-view.module.js +1 -1
  528. package/dist/node/structure/pagination.module.js +4 -3
  529. package/dist/node/structure/pagination.module.js.map +1 -1
  530. package/dist/node/structure/rich-text-content.module.js +1 -1
  531. package/dist/node/structure/section-nav.module.js +1 -1
  532. package/dist/node/structure/section-nav.module.js.map +1 -1
  533. package/dist/node/structure/stepper.module.js +2 -2
  534. package/dist/node/structure/stepper.module.js.map +1 -1
  535. package/dist/node/structure/table-of-contents.module.js +1 -1
  536. package/dist/node/structure/table-of-contents.module.js.map +1 -1
  537. package/dist/node/structure/table.module.js +1 -1
  538. package/dist/node/structure/table.module.js.map +1 -1
  539. package/dist/node/structure/tree.module.js +1 -1
  540. package/dist/node/structure/tree.module.js.map +1 -1
  541. package/dist/overlays/Command.js.map +1 -1
  542. package/dist/overlays/Command.vue_vue_type_script_setup_true_lang.js +50 -45
  543. package/dist/overlays/Command.vue_vue_type_script_setup_true_lang.js.map +1 -1
  544. package/dist/overlays/CommandPanel.js.map +1 -1
  545. package/dist/overlays/CommandPanel.vue_vue_type_script_setup_true_lang.js +82 -82
  546. package/dist/overlays/CommandPanel.vue_vue_type_script_setup_true_lang.js.map +1 -1
  547. package/dist/overlays/ContextMenu.js.map +1 -1
  548. package/dist/overlays/ContextMenu.vue_vue_type_script_setup_true_lang.js +1 -1
  549. package/dist/overlays/ContextMenu.vue_vue_type_script_setup_true_lang.js.map +1 -1
  550. package/dist/overlays/ContextMenuSubmenu.js.map +1 -1
  551. package/dist/overlays/ContextMenuSubmenu.vue_vue_type_script_setup_true_lang.js +1 -1
  552. package/dist/overlays/ContextMenuSubmenu.vue_vue_type_script_setup_true_lang.js.map +1 -1
  553. package/dist/overlays/Dialog.js.map +1 -1
  554. package/dist/overlays/Dialog.vue_vue_type_script_setup_true_lang.js +47 -43
  555. package/dist/overlays/Dialog.vue_vue_type_script_setup_true_lang.js.map +1 -1
  556. package/dist/overlays/Drawer.js.map +1 -1
  557. package/dist/overlays/Drawer.vue_vue_type_script_setup_true_lang.js +58 -53
  558. package/dist/overlays/Drawer.vue_vue_type_script_setup_true_lang.js.map +1 -1
  559. package/dist/overlays/Lightbox.js.map +1 -1
  560. package/dist/overlays/Lightbox.vue_vue_type_script_setup_true_lang.js +65 -61
  561. package/dist/overlays/Lightbox.vue_vue_type_script_setup_true_lang.js.map +1 -1
  562. package/dist/overlays/Menu.js.map +1 -1
  563. package/dist/overlays/Menu.vue_vue_type_script_setup_true_lang.js +1 -1
  564. package/dist/overlays/Menu.vue_vue_type_script_setup_true_lang.js.map +1 -1
  565. package/dist/overlays/MenuSubmenu.js.map +1 -1
  566. package/dist/overlays/MenuSubmenu.vue_vue_type_script_setup_true_lang.js +1 -1
  567. package/dist/overlays/MenuSubmenu.vue_vue_type_script_setup_true_lang.js.map +1 -1
  568. package/dist/overlays/Menubar.js.map +1 -1
  569. package/dist/overlays/Menubar.vue_vue_type_script_setup_true_lang.js +1 -1
  570. package/dist/overlays/Menubar.vue_vue_type_script_setup_true_lang.js.map +1 -1
  571. package/dist/overlays/MenubarSubmenu.js.map +1 -1
  572. package/dist/overlays/MenubarSubmenu.vue_vue_type_script_setup_true_lang.js +1 -1
  573. package/dist/overlays/MenubarSubmenu.vue_vue_type_script_setup_true_lang.js.map +1 -1
  574. package/dist/overlays/Popover.js.map +1 -1
  575. package/dist/overlays/Popover.vue_vue_type_script_setup_true_lang.js +1 -1
  576. package/dist/overlays/Popover.vue_vue_type_script_setup_true_lang.js.map +1 -1
  577. package/dist/overlays/Tabs.js.map +1 -1
  578. package/dist/overlays/Tabs.vue_vue_type_script_setup_true_lang.js +1 -1
  579. package/dist/overlays/Tabs.vue_vue_type_script_setup_true_lang.js.map +1 -1
  580. package/dist/overlays/Toast.js.map +1 -1
  581. package/dist/overlays/Toast.vue_vue_type_script_setup_true_lang.js.map +1 -1
  582. package/dist/overlays/ToastCard.js.map +1 -1
  583. package/dist/overlays/ToastCard.vue_vue_type_script_setup_true_lang.js +74 -71
  584. package/dist/overlays/ToastCard.vue_vue_type_script_setup_true_lang.js.map +1 -1
  585. package/dist/overlays/ToastViewport.js.map +1 -1
  586. package/dist/overlays/ToastViewport.vue_vue_type_script_setup_true_lang.js +70 -59
  587. package/dist/overlays/ToastViewport.vue_vue_type_script_setup_true_lang.js.map +1 -1
  588. package/dist/overlays/Tooltip.js.map +1 -1
  589. package/dist/overlays/Tooltip.vue_vue_type_script_setup_true_lang.js +46 -26
  590. package/dist/overlays/Tooltip.vue_vue_type_script_setup_true_lang.js.map +1 -1
  591. package/dist/overlays/Tour.js.map +1 -1
  592. package/dist/overlays/Tour.vue_vue_type_script_setup_true_lang.js +74 -69
  593. package/dist/overlays/Tour.vue_vue_type_script_setup_true_lang.js.map +1 -1
  594. package/dist/overlays/context-menu.css +1 -1
  595. package/dist/overlays/context-menu.module.js +4 -4
  596. package/dist/overlays/context-menu.module.js.map +1 -1
  597. package/dist/overlays/dialog.css +1 -1
  598. package/dist/overlays/dialog.module.js +1 -1
  599. package/dist/overlays/dialog.module.js.map +1 -1
  600. package/dist/overlays/drawer.css +1 -1
  601. package/dist/overlays/drawer.module.js +1 -1
  602. package/dist/overlays/drawer.module.js.map +1 -1
  603. package/dist/overlays/lightbox.css +1 -1
  604. package/dist/overlays/lightbox.module.js +1 -1
  605. package/dist/overlays/menu.css +1 -1
  606. package/dist/overlays/menu.module.js +4 -4
  607. package/dist/overlays/menu.module.js.map +1 -1
  608. package/dist/overlays/menubar.css +1 -1
  609. package/dist/overlays/menubar.module.js +1 -1
  610. package/dist/overlays/menubar.module.js.map +1 -1
  611. package/dist/overlays/popover.css +1 -1
  612. package/dist/overlays/popover.module.js +3 -3
  613. package/dist/overlays/popover.module.js.map +1 -1
  614. package/dist/overlays/sheet.css +1 -1
  615. package/dist/overlays/sheet.module.js +1 -1
  616. package/dist/overlays/sheet.module.js.map +1 -1
  617. package/dist/overlays/tabs.css +1 -1
  618. package/dist/overlays/tabs.module.js +4 -4
  619. package/dist/overlays/tabs.module.js.map +1 -1
  620. package/dist/overlays/toast.css +1 -1
  621. package/dist/overlays/toast.module.js +1 -1
  622. package/dist/overlays/toast.module.js.map +1 -1
  623. package/dist/overlays/tour.css +1 -1
  624. package/dist/overlays/tour.module.js +1 -1
  625. package/dist/overlays/tour.module.js.map +1 -1
  626. package/dist/structure/Accordion.js.map +1 -1
  627. package/dist/structure/Accordion.vue_vue_type_script_setup_true_lang.js +1 -1
  628. package/dist/structure/Accordion.vue_vue_type_script_setup_true_lang.js.map +1 -1
  629. package/dist/structure/Alert.js.map +1 -1
  630. package/dist/structure/Alert.vue_vue_type_script_setup_true_lang.js +62 -54
  631. package/dist/structure/Alert.vue_vue_type_script_setup_true_lang.js.map +1 -1
  632. package/dist/structure/Banner.js.map +1 -1
  633. package/dist/structure/Banner.vue_vue_type_script_setup_true_lang.js +42 -34
  634. package/dist/structure/Banner.vue_vue_type_script_setup_true_lang.js.map +1 -1
  635. package/dist/structure/Carousel.js.map +1 -1
  636. package/dist/structure/Carousel.vue_vue_type_script_setup_true_lang.js +8 -8
  637. package/dist/structure/Carousel.vue_vue_type_script_setup_true_lang.js.map +1 -1
  638. package/dist/structure/Collapsible.js.map +1 -1
  639. package/dist/structure/Collapsible.vue_vue_type_script_setup_true_lang.js +1 -1
  640. package/dist/structure/Collapsible.vue_vue_type_script_setup_true_lang.js.map +1 -1
  641. package/dist/structure/DataTable.vue_vue_type_script_setup_true_lang.js.map +1 -1
  642. package/dist/structure/Pagination.js.map +1 -1
  643. package/dist/structure/Pagination.vue_vue_type_script_setup_true_lang.js +118 -88
  644. package/dist/structure/Pagination.vue_vue_type_script_setup_true_lang.js.map +1 -1
  645. package/dist/structure/ScrollArea.js.map +1 -1
  646. package/dist/structure/ScrollArea.vue_vue_type_script_setup_true_lang.js +30 -27
  647. package/dist/structure/ScrollArea.vue_vue_type_script_setup_true_lang.js.map +1 -1
  648. package/dist/structure/Table.js.map +1 -1
  649. package/dist/structure/Table.vue_vue_type_script_setup_true_lang.js +71 -61
  650. package/dist/structure/Table.vue_vue_type_script_setup_true_lang.js.map +1 -1
  651. package/dist/structure/accordion.css +1 -1
  652. package/dist/structure/accordion.module.js +5 -5
  653. package/dist/structure/accordion.module.js.map +1 -1
  654. package/dist/structure/breadcrumbs.css +1 -1
  655. package/dist/structure/breadcrumbs.module.js +1 -1
  656. package/dist/structure/breadcrumbs.module.js.map +1 -1
  657. package/dist/structure/card.css +1 -1
  658. package/dist/structure/card.module.js +1 -1
  659. package/dist/structure/card.module.js.map +1 -1
  660. package/dist/structure/carousel.css +1 -1
  661. package/dist/structure/carousel.module.js +1 -1
  662. package/dist/structure/carousel.module.js.map +1 -1
  663. package/dist/structure/code-block.css +1 -1
  664. package/dist/structure/code-block.module.js +1 -1
  665. package/dist/structure/collapsible.css +1 -1
  666. package/dist/structure/collapsible.module.js +5 -5
  667. package/dist/structure/collapsible.module.js.map +1 -1
  668. package/dist/structure/cursor-pagination.css +1 -1
  669. package/dist/structure/cursor-pagination.module.js +1 -1
  670. package/dist/structure/data-table.css +1 -1
  671. package/dist/structure/data-table.module.js +1 -1
  672. package/dist/structure/error-summary.css +1 -1
  673. package/dist/structure/error-summary.module.js +1 -1
  674. package/dist/structure/error-summary.module.js.map +1 -1
  675. package/dist/structure/json-tree.css +1 -1
  676. package/dist/structure/json-tree.module.js +1 -1
  677. package/dist/structure/json-tree.module.js.map +1 -1
  678. package/dist/structure/list.css +1 -1
  679. package/dist/structure/list.module.js +1 -1
  680. package/dist/structure/list.module.js.map +1 -1
  681. package/dist/structure/log-view.css +1 -1
  682. package/dist/structure/log-view.module.js +1 -1
  683. package/dist/structure/pagination.css +1 -1
  684. package/dist/structure/pagination.module.js +4 -3
  685. package/dist/structure/pagination.module.js.map +1 -1
  686. package/dist/structure/rich-text-content.css +1 -1
  687. package/dist/structure/rich-text-content.module.js +1 -1
  688. package/dist/structure/section-nav.css +1 -1
  689. package/dist/structure/section-nav.module.js +1 -1
  690. package/dist/structure/section-nav.module.js.map +1 -1
  691. package/dist/structure/stepper.css +1 -1
  692. package/dist/structure/stepper.module.js +2 -2
  693. package/dist/structure/stepper.module.js.map +1 -1
  694. package/dist/structure/table-of-contents.css +1 -1
  695. package/dist/structure/table-of-contents.module.js +1 -1
  696. package/dist/structure/table-of-contents.module.js.map +1 -1
  697. package/dist/structure/table.css +1 -1
  698. package/dist/structure/table.module.js +1 -1
  699. package/dist/structure/table.module.js.map +1 -1
  700. package/dist/structure/tree.css +1 -1
  701. package/dist/structure/tree.module.js +1 -1
  702. package/dist/structure/tree.module.js.map +1 -1
  703. package/dist/types/ai/AttachmentChip.vue.d.ts +1 -1
  704. package/dist/types/ai/ToolCall.vue.d.ts +1 -1
  705. package/dist/types/archetypes/FormPage.vue.d.ts +1 -0
  706. package/dist/types/charts/BarChart.vue.d.ts +1 -1
  707. package/dist/types/controls/FileUpload.vue.d.ts +1 -1
  708. package/dist/types/controls/RecordButton.vue.d.ts +2 -2
  709. package/dist/types/controls/Slider.vue.d.ts +1 -1
  710. package/dist/types/layout/Grid.vue.d.ts +1 -1
  711. package/dist/types/layout/Inline.vue.d.ts +2 -2
  712. package/dist/types/layout/Stack.vue.d.ts +2 -2
  713. package/dist/types/overlays/Drawer.vue.d.ts +1 -1
  714. package/dist/types/overlays/HoverCard.vue.d.ts +1 -1
  715. package/dist/types/overlays/Menu.vue.d.ts +1 -1
  716. package/dist/types/overlays/Popover.vue.d.ts +1 -1
  717. package/dist/types/overlays/Toast.vue.d.ts +3 -1
  718. package/dist/types/overlays/Tooltip.vue.d.ts +1 -1
  719. package/dist/types/structure/EmptyState.vue.d.ts +1 -1
  720. package/dist/types/structure/Hero.vue.d.ts +1 -1
  721. package/dist/types/structure/RelativeTime.vue.d.ts +1 -1
  722. package/package.json +3 -3
@@ -1 +1 @@
1
- {"version":3,"file":"context-menu.module.js","names":[],"sources":["../../../../recipes/src/overlays/context-menu.module.css"],"sourcesContent":["/* ContextMenu — `design/components/context-menu.md`.\n *\n * Menu's full recipe, restated rather than composed, because the laws check a\n * member's own stylesheet in source (Combobox does the same with Select). The\n * one difference is positioning: the panel anchors to the press point, so\n * there is no `sideOffset` and no trigger border to keep a seam from.\n *\n * The danger tone is quiet, as in Menu: red text on a red wash, never a red\n * fill. The ConfirmDialog carries the strong warning. */\n\n/* The surface is the wrapped child, with no box of its own. The trigger span\n has the gesture handlers but no box, so a wrapped Table.Row still renders as\n a row, and the panel anchors to the press point, not to this element. */\n.surface {\n display: contents;\n}\n\n.content {\n display: flex;\n flex-direction: column;\n\n /* `overlay` in the stacking order. The popper copies it onto its wrapper\n (menu.module.css explains how). */\n z-index: var(--pm-z-overlay);\n min-inline-size: calc(var(--pm-space-10) * 2);\n max-block-size: var(--radix-context-menu-content-available-height);\n padding: var(--pm-inset-list);\n overflow: hidden;\n background: var(--pm-bg-overlay);\n border: 1px solid var(--pm-border-subtle);\n border-radius: var(--pm-radius-surface);\n box-shadow: var(--pm-shadow-transient);\n transform-origin: var(--radix-context-menu-content-transform-origin);\n}\n\n/* Menu's `scale-fade`, surface class, anchored origin. Here the origin is the\n press point, from the substrate's transform-origin variable. Radix keeps the\n node mounted for the closed animation, so the exit animates. */\n.content[data-state='open'] {\n animation: context-menu-content-enter var(--pm-motion-duration-surface)\n var(--pm-motion-easing-enter);\n}\n\n.content[data-state='closed'] {\n animation: context-menu-content-exit var(--pm-motion-duration-surface-exit)\n var(--pm-motion-easing-exit);\n}\n\n@keyframes context-menu-content-enter {\n from {\n opacity: 0;\n transform: scale(0.94);\n }\n}\n\n@keyframes context-menu-content-exit {\n to {\n opacity: 0;\n transform: scale(0.94);\n }\n}\n\n/* Reduced-motion projection (`docs/motion.md`): `scale-fade` projects to\n `fade`, and the item cascade projects to presence, because a delay counts as\n motion even when the delayed element does not move. */\n@media (prefers-reduced-motion: reduce) {\n @keyframes context-menu-content-enter {\n from {\n opacity: 0;\n }\n }\n\n @keyframes context-menu-content-exit {\n to {\n opacity: 0;\n }\n }\n\n .sheetList .item,\n .content[data-state='open'] .item {\n animation: none;\n }\n}\n\n/* The sheet, below 30rem (the sheet presentation): Menu's sheet form,\n * unchanged. The panel box is the shared anatomy (`sheet.module.css`, used by\n * the sheet partial). The press point no longer affects geometry, because a\n * sheet has no anchor, but the gesture still opens it. This member styles its\n * rows' container inside it with Menu's recipe: a `--pm-space-2` inset, and the\n * sheet presentation's safe-area padding added to the member's edge padding. */\n.sheetList {\n display: flex;\n flex-direction: column;\n min-block-size: 0;\n padding: var(--pm-inset-list);\n padding-block-end: calc(var(--pm-inset-list) + env(safe-area-inset-bottom, 0px));\n margin: 0;\n overflow-y: auto;\n list-style: none;\n outline: none;\n}\n\n/* items — Menu's grammar, unchanged ------------------------------------------ */\n\n.item {\n composes: stateFeedback from '../conventions/motion.module.css';\n display: flex;\n gap: var(--pm-space-3);\n align-items: center;\n block-size: var(--pm-control-height-sm);\n padding-inline: var(--pm-space-3);\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-primary);\n cursor: pointer;\n border-radius: var(--pm-radius-sm);\n outline: none;\n}\n\n/* The checkbox entry: the item recipe plus Select's check column. It is\n applied with `.item` (the two-class idiom) rather than composed, because the\n registry's extractor reads `composes` as a cross-file graph. */\n.checkbox {\n gap: var(--pm-space-2);\n}\n\n/* Select's check column, unchanged: reserved whether or not this row is\n checked, so labels stay aligned as checks change. */\n.check {\n composes: stateFeedback from '../conventions/motion.module.css';\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n inline-size: var(--pm-icon-size-sm);\n}\n\n.glyph {\n composes: stateFeedback from '../conventions/motion.module.css';\n display: inline-flex;\n flex: none;\n align-items: center;\n color: var(--pm-text-muted);\n}\n\n.label {\n min-inline-size: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n/* At the far edge, so hints line up down the panel. A submenu's chevron also\n sits here; a row never has both. */\n.hint {\n composes: stateFeedback from '../conventions/motion.module.css';\n display: inline-flex;\n flex: none;\n align-items: center;\n margin-inline-start: auto;\n color: var(--pm-text-muted);\n}\n\n/* The hint follows the row's colour, so it stays legible on the highlight. */\n.item[data-highlighted] .hint {\n color: inherit;\n}\n\n.separator {\n margin-block: var(--pm-space-2);\n border-block-start: 1px solid var(--pm-border-subtle);\n}\n\n.groupLabel {\n padding: var(--pm-space-2) var(--pm-space-3);\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n line-height: var(--pm-text-xs-line-height);\n letter-spacing: var(--pm-text-xs-tracking);\n color: var(--pm-text-muted);\n text-transform: uppercase;\n}\n\n/* The `menu.items` cascade: items appear during the panel's enter, each\n delayed by the stagger step and clamped to the ceiling. Temperament changes\n it only through the tokens. It runs on enter only; lists do not reverse it.\n The index steps stop at twelve, and every later item shares the ceiling. */\n.sheetList .item,\n.content[data-state='open'] .item {\n animation: context-menu-item-enter var(--pm-motion-duration-control) var(--pm-motion-easing-enter)\n backwards;\n}\n\n.sheetList[role='menu'] .item:nth-child(2),\n.content[data-state='open'] .item:nth-child(2) {\n animation-delay: min(calc(1 * var(--pm-motion-stagger-step)), var(--pm-motion-stagger-max));\n}\n\n.sheetList[role='menu'] .item:nth-child(3),\n.content[data-state='open'] .item:nth-child(3) {\n animation-delay: min(calc(2 * var(--pm-motion-stagger-step)), var(--pm-motion-stagger-max));\n}\n\n.sheetList[role='menu'] .item:nth-child(4),\n.content[data-state='open'] .item:nth-child(4) {\n animation-delay: min(calc(3 * var(--pm-motion-stagger-step)), var(--pm-motion-stagger-max));\n}\n\n.sheetList[role='menu'] .item:nth-child(5),\n.content[data-state='open'] .item:nth-child(5) {\n animation-delay: min(calc(4 * var(--pm-motion-stagger-step)), var(--pm-motion-stagger-max));\n}\n\n.sheetList[role='menu'] .item:nth-child(6),\n.content[data-state='open'] .item:nth-child(6) {\n animation-delay: min(calc(5 * var(--pm-motion-stagger-step)), var(--pm-motion-stagger-max));\n}\n\n.sheetList[role='menu'] .item:nth-child(7),\n.content[data-state='open'] .item:nth-child(7) {\n animation-delay: min(calc(6 * var(--pm-motion-stagger-step)), var(--pm-motion-stagger-max));\n}\n\n.sheetList[role='menu'] .item:nth-child(8),\n.content[data-state='open'] .item:nth-child(8) {\n animation-delay: min(calc(7 * var(--pm-motion-stagger-step)), var(--pm-motion-stagger-max));\n}\n\n.sheetList[role='menu'] .item:nth-child(9),\n.content[data-state='open'] .item:nth-child(9) {\n animation-delay: min(calc(8 * var(--pm-motion-stagger-step)), var(--pm-motion-stagger-max));\n}\n\n.sheetList[role='menu'] .item:nth-child(10),\n.content[data-state='open'] .item:nth-child(10) {\n animation-delay: min(calc(9 * var(--pm-motion-stagger-step)), var(--pm-motion-stagger-max));\n}\n\n.sheetList[role='menu'] .item:nth-child(11),\n.content[data-state='open'] .item:nth-child(11) {\n animation-delay: min(calc(10 * var(--pm-motion-stagger-step)), var(--pm-motion-stagger-max));\n}\n\n.sheetList[role='menu'] .item:nth-child(n + 12),\n.content[data-state='open'] .item:nth-child(n + 12) {\n animation-delay: var(--pm-motion-stagger-max);\n}\n\n@keyframes context-menu-item-enter {\n from {\n opacity: 0;\n transform: translateY(-2px);\n }\n}\n\n/* states — Menu's, unchanged ------------------------------------------------- */\n\n.item[data-tone='danger'] {\n color: var(--pm-danger-text);\n}\n\n/* Radix sets `data-highlighted` from both pointer and keyboard: one state\n covers both, with no `:hover` rule. */\n.item[data-highlighted] {\n color: var(--pm-accent-text);\n background: var(--pm-accent-subtle);\n}\n\n.item[data-tone='danger'][data-highlighted] {\n color: var(--pm-danger-text);\n background: var(--pm-danger-subtle);\n}\n\n.item[data-highlighted] .glyph {\n color: inherit;\n}\n\n.item[data-disabled] {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n background: transparent;\n}\n\n.item[data-disabled] .glyph {\n color: var(--pm-text-disabled);\n}\n\n/* Select's rule, unchanged: the check shows selection in the accent, and the\n label keeps the row's colour. */\n.checkbox[data-state='checked'] .check {\n color: var(--pm-accent-text);\n}\n\n/* Glass (`depth: glass`): the pane uses the surface role at the engine's mix\n (`--pm-material-surface`), and the material provides the lift that the\n overlay stacking order provides elsewhere. The backdrop shows through the\n pane as a blurred, saturated wash, so the surface stands apart by its\n material rather than by a lighter step. The mix is a contrast decision that\n the glass law measures over worst-case backdrops; a recipe only applies it. */\n@container style(--pm-axis-depth: glass) {\n .content {\n background: var(--pm-material-surface);\n backdrop-filter: blur(var(--pm-material-blur)) saturate(var(--pm-material-saturate));\n }\n}\n"],"mappings":""}
1
+ {"version":3,"file":"context-menu.module.js","names":[],"sources":["../../../../recipes/src/overlays/context-menu.module.css"],"sourcesContent":["/* ContextMenu — `design/components/context-menu.md`.\n *\n * Menu's full recipe, restated rather than composed, because the laws check a\n * member's own stylesheet in source (Combobox does the same with Select). The\n * one difference is positioning: the panel anchors to the press point, so\n * there is no `sideOffset` and no trigger border to keep a seam from.\n *\n * The danger tone is quiet, as in Menu: red text on a red wash, never a red\n * fill. The ConfirmDialog carries the strong warning. */\n\n/* The surface is the wrapped child, with no box of its own. The trigger span\n has the gesture handlers but no box, so a wrapped Table.Row still renders as\n a row, and the panel anchors to the press point, not to this element. */\n.surface {\n display: contents;\n}\n\n.content {\n display: flex;\n flex-direction: column;\n\n /* `overlay` in the stacking order. The popper copies it onto its wrapper\n (menu.module.css explains how). */\n z-index: var(--pm-z-overlay);\n min-inline-size: calc(var(--pm-space-10) * 2);\n max-block-size: var(--radix-context-menu-content-available-height);\n padding: var(--pm-inset-list);\n overflow: hidden;\n background: var(--pm-bg-overlay);\n border: 1px solid var(--pm-border-subtle);\n border-radius: var(--pm-radius-surface);\n box-shadow: var(--pm-shadow-transient);\n transform-origin: var(--radix-context-menu-content-transform-origin);\n}\n\n/* Menu's `scale-fade`, surface class, anchored origin. Here the origin is the\n press point, from the substrate's transform-origin variable. Radix keeps the\n node mounted for the closed animation, so the exit animates. */\n.content[data-state='open'] {\n animation: context-menu-content-enter var(--pm-motion-duration-surface)\n var(--pm-motion-easing-enter);\n}\n\n.content[data-state='closed'] {\n animation: context-menu-content-exit var(--pm-motion-duration-surface-exit)\n var(--pm-motion-easing-exit);\n}\n\n@keyframes context-menu-content-enter {\n from {\n opacity: 0;\n transform: scale(0.94);\n }\n}\n\n@keyframes context-menu-content-exit {\n to {\n opacity: 0;\n transform: scale(0.94);\n }\n}\n\n/* Reduced-motion projection (`docs/motion.md`): `scale-fade` projects to\n `fade`, and the item cascade projects to presence, because a delay counts as\n motion even when the delayed element does not move. */\n@media (prefers-reduced-motion: reduce) {\n @keyframes context-menu-content-enter {\n from {\n opacity: 0;\n }\n }\n\n @keyframes context-menu-content-exit {\n to {\n opacity: 0;\n }\n }\n\n .sheetList .item,\n .content[data-state='open'] .item {\n animation: none;\n }\n}\n\n/* The sheet, below 30rem (the sheet presentation): Menu's sheet form,\n * unchanged. The panel box is the shared anatomy (`sheet.module.css`, used by\n * the sheet partial). The press point no longer affects geometry, because a\n * sheet has no anchor, but the gesture still opens it. This member styles its\n * rows' container inside it with Menu's recipe: a `--pm-space-2` inset, and the\n * sheet presentation's safe-area padding added to the member's edge padding. */\n.sheetList {\n display: flex;\n flex-direction: column;\n min-block-size: 0;\n padding: var(--pm-inset-list);\n padding-block-end: calc(var(--pm-inset-list) + env(safe-area-inset-bottom, 0px));\n margin: 0;\n overflow-y: auto;\n list-style: none;\n outline: none;\n}\n\n/* items — Menu's grammar, unchanged ------------------------------------------ */\n\n.item {\n composes: stateFeedback from '../conventions/motion.module.css';\n display: flex;\n gap: var(--pm-space-3);\n align-items: center;\n block-size: var(--pm-control-height-sm);\n padding-inline: var(--pm-space-3);\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-primary);\n cursor: pointer;\n border-radius: var(--pm-radius-sm);\n outline: none;\n}\n\n/* The checkbox entry: the item recipe plus Select's check column. It is\n applied with `.item` (the two-class idiom) rather than composed, because the\n registry's extractor reads `composes` as a cross-file graph. */\n.checkbox {\n gap: var(--pm-space-2);\n}\n\n/* Select's check column, unchanged: reserved whether or not this row is\n checked, so labels stay aligned as checks change. */\n.check {\n composes: stateFeedback from '../conventions/motion.module.css';\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n inline-size: var(--pm-icon-size-sm);\n}\n\n.glyph {\n composes: stateFeedback from '../conventions/motion.module.css';\n display: inline-flex;\n flex: none;\n align-items: center;\n color: var(--pm-text-muted);\n}\n\n.label {\n min-inline-size: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n/* At the far edge, so hints line up down the panel. A submenu's chevron also\n sits here; a row never has both. */\n.hint {\n composes: stateFeedback from '../conventions/motion.module.css';\n display: inline-flex;\n flex: none;\n align-items: center;\n margin-inline-start: auto;\n color: var(--pm-text-muted);\n}\n\n/* The hint follows the row's colour, so it stays legible on the highlight. */\n.item[data-highlighted] .hint {\n color: inherit;\n}\n\n.separator {\n margin-block: var(--pm-space-2);\n border-block-start: 1px solid var(--pm-border-subtle);\n}\n\n.groupLabel {\n padding: var(--pm-space-2) var(--pm-space-3);\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n line-height: var(--pm-text-xs-line-height);\n letter-spacing: var(--pm-text-xs-tracking);\n color: var(--pm-text-muted);\n text-transform: uppercase;\n}\n\n/* The `menu.items` cascade: items appear during the panel's enter, each\n delayed by the stagger step and clamped to the ceiling. Temperament changes\n it only through the tokens. It runs on enter only; lists do not reverse it.\n The index steps stop at twelve, and every later item shares the ceiling. */\n.sheetList .item,\n.content[data-state='open'] .item {\n animation: context-menu-item-enter var(--pm-motion-duration-control) var(--pm-motion-easing-enter)\n backwards;\n}\n\n.sheetList[role='menu'] .item:nth-child(2),\n.content[data-state='open'] .item:nth-child(2) {\n animation-delay: min(calc(1 * var(--pm-motion-stagger-step)), var(--pm-motion-stagger-max));\n}\n\n.sheetList[role='menu'] .item:nth-child(3),\n.content[data-state='open'] .item:nth-child(3) {\n animation-delay: min(calc(2 * var(--pm-motion-stagger-step)), var(--pm-motion-stagger-max));\n}\n\n.sheetList[role='menu'] .item:nth-child(4),\n.content[data-state='open'] .item:nth-child(4) {\n animation-delay: min(calc(3 * var(--pm-motion-stagger-step)), var(--pm-motion-stagger-max));\n}\n\n.sheetList[role='menu'] .item:nth-child(5),\n.content[data-state='open'] .item:nth-child(5) {\n animation-delay: min(calc(4 * var(--pm-motion-stagger-step)), var(--pm-motion-stagger-max));\n}\n\n.sheetList[role='menu'] .item:nth-child(6),\n.content[data-state='open'] .item:nth-child(6) {\n animation-delay: min(calc(5 * var(--pm-motion-stagger-step)), var(--pm-motion-stagger-max));\n}\n\n.sheetList[role='menu'] .item:nth-child(7),\n.content[data-state='open'] .item:nth-child(7) {\n animation-delay: min(calc(6 * var(--pm-motion-stagger-step)), var(--pm-motion-stagger-max));\n}\n\n.sheetList[role='menu'] .item:nth-child(8),\n.content[data-state='open'] .item:nth-child(8) {\n animation-delay: min(calc(7 * var(--pm-motion-stagger-step)), var(--pm-motion-stagger-max));\n}\n\n.sheetList[role='menu'] .item:nth-child(9),\n.content[data-state='open'] .item:nth-child(9) {\n animation-delay: min(calc(8 * var(--pm-motion-stagger-step)), var(--pm-motion-stagger-max));\n}\n\n.sheetList[role='menu'] .item:nth-child(10),\n.content[data-state='open'] .item:nth-child(10) {\n animation-delay: min(calc(9 * var(--pm-motion-stagger-step)), var(--pm-motion-stagger-max));\n}\n\n.sheetList[role='menu'] .item:nth-child(11),\n.content[data-state='open'] .item:nth-child(11) {\n animation-delay: min(calc(10 * var(--pm-motion-stagger-step)), var(--pm-motion-stagger-max));\n}\n\n.sheetList[role='menu'] .item:nth-child(n + 12),\n.content[data-state='open'] .item:nth-child(n + 12) {\n animation-delay: var(--pm-motion-stagger-max);\n}\n\n@keyframes context-menu-item-enter {\n from {\n opacity: 0;\n transform: translateY(-2px);\n }\n}\n\n/* states — Menu's, unchanged ------------------------------------------------- */\n\n.item[data-tone='danger'] {\n color: var(--pm-danger-text);\n}\n\n/* Radix sets `data-highlighted` from both pointer and keyboard: one state\n covers both, with no `:hover` rule. */\n.item[data-highlighted] {\n color: var(--pm-accent-text);\n background: var(--pm-accent-subtle);\n}\n\n.item[data-tone='danger'][data-highlighted] {\n color: var(--pm-danger-text);\n background: var(--pm-danger-subtle);\n}\n\n/* A danger row's glyph takes the row's danger text, as a highlighted row's takes the accent. */\n.item[data-highlighted] .glyph,\n.item[data-tone='danger'] .glyph {\n color: inherit;\n}\n\n.item[data-disabled] {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n background: transparent;\n}\n\n/* The glyph and a submenu's chevron fade with the label. */\n.item[data-disabled] .glyph,\n.item[data-disabled] .hint {\n color: var(--pm-text-disabled);\n}\n\n/* Select's rule, unchanged: the check shows selection in the accent, and the\n label keeps the row's colour. */\n.checkbox[data-state='checked'] .check {\n color: var(--pm-accent-text);\n}\n\n/* A checked entry that is disabled fades its check with its label. */\n.item[data-disabled] .check {\n color: var(--pm-text-disabled);\n}\n\n/* Glass (`depth: glass`): the pane uses the surface role at the engine's mix\n (`--pm-material-surface`), and the material provides the lift that the\n overlay stacking order provides elsewhere. The backdrop shows through the\n pane as a blurred, saturated wash, so the surface stands apart by its\n material rather than by a lighter step. The mix is a contrast decision that\n the glass law measures over worst-case backdrops; a recipe only applies it. */\n@container style(--pm-axis-depth: glass) {\n .content {\n background: var(--pm-material-surface);\n backdrop-filter: blur(var(--pm-material-blur)) saturate(var(--pm-material-saturate));\n }\n}\n"],"mappings":""}
@@ -1,5 +1,5 @@
1
1
  //#region ../recipes/src/overlays/dialog.module.css
2
- var e = "_scrim_19gcs_16", t = "_positioner_19gcs_25", n = "_panel_19gcs_48", r = "_title_19gcs_82", i = "_description_19gcs_92", a = "_body_19gcs_105", o = "_footer_19gcs_111", s = "_close_19gcs_118", c = "_sheetPositioner_19gcs_153 _positioner_1v4qd_39", l = "_sheetPanel_19gcs_157 _panel_1v4qd_58", u = {
2
+ var e = "_scrim_17h7q_16", t = "_positioner_17h7q_25", n = "_panel_17h7q_48", r = "_title_17h7q_82", i = "_description_17h7q_92", a = "_body_17h7q_112", o = "_footer_17h7q_122", s = "_close_17h7q_129", c = "_sheetPositioner_17h7q_164 _positioner_angi5_39", l = "_sheetPanel_17h7q_168 _panel_angi5_58", u = {
3
3
  scrim: e,
4
4
  positioner: t,
5
5
  panel: n,
@@ -1 +1 @@
1
- {"version":3,"file":"dialog.module.js","names":[],"sources":["../../../../recipes/src/overlays/dialog.module.css"],"sourcesContent":["/* Dialog — `design/components/dialog.md`.\n *\n * The motion engine animates this member, not this file. The scrim fades and\n * the panel scale-fades from its trigger, both through `MotionSurface`, because\n * an exit that can be interrupted needs presence coordination and CSS cannot\n * keep a leaving node mounted.\n *\n * CSS handles what motion must not touch: the panel's box, and the rule that a\n * leaving surface stops taking clicks. That rule applies the motion law\n * \"motion never blocks input\" (`docs/motion.md`): an overlay that is closing\n * must not capture the next click. */\n\n/* `overlay` in the stacking order: every portalled overlay surface uses one\n layer, above shell chrome and below toasts. Drawer composes this scrim and\n gets the layer with it. */\n.scrim {\n position: fixed;\n inset: 0;\n z-index: var(--pm-z-overlay);\n background: var(--pm-bg-scrim);\n}\n\n/* Fills the viewport, centres the panel, and takes no pointer events itself,\n so a click that misses the panel lands on the scrim and dismisses. */\n.positioner {\n position: fixed;\n inset: 0;\n z-index: var(--pm-z-overlay);\n display: grid;\n\n /* One explicit track. An implicit `auto` track is sized by the panel's\n intrinsic size, so content wider than the window would widen the track and\n push the whole dialog, close button included, off the edge with no way to\n scroll back. `minmax(0, 1fr)` makes the track the window width, which is\n the only width an overlay has. */\n grid-template-columns: minmax(0, 1fr);\n\n /* One explicit row, for the same reason on the other axis. An implicit `auto`\n row grows to the panel's content, so a full-screen panel stretched into it\n is as tall as a long body and runs past the bottom of the window, and the\n body never has to scroll. `minmax(0, 1fr)` makes the row the window\n height. */\n grid-template-rows: minmax(0, 1fr);\n place-items: center;\n pointer-events: none;\n}\n\n.panel {\n position: relative;\n display: flex;\n flex-direction: column;\n inline-size: min(calc(var(--pm-space-10) * 5), calc(100vw - var(--pm-space-7) * 2));\n\n /* The max-height calculation uses `dvh` (dialog.md's size cell). On phones\n `100vh` includes the collapsed browser chrome, so a card capped against it\n puts its footer behind the URL bar (`docs/layout.md`); `dvh` tracks the\n live viewport. The `vh` base is here and the `dvh` override is in the\n `@supports` block after this rule, because a dedupe minifier deletes a\n same-property pair. */\n max-block-size: calc(100vh - var(--pm-space-8) * 2);\n padding: var(--pm-inset-surface);\n\n /* The body is the part that scrolls, and it shrinks first. The panel scrolls\n only when the parts that do not shrink, the title, the description and the\n footer, are taller than the panel by themselves: a long description, or\n large text in a short window. Every part then stays in reach instead of\n running past the panel's edge. */\n overflow-y: auto;\n pointer-events: auto;\n background: var(--pm-bg-overlay);\n border: 1px solid var(--pm-border-subtle);\n border-radius: var(--pm-radius-surface);\n box-shadow: var(--pm-shadow-transient);\n}\n\n@supports (height: 1dvh) {\n .panel {\n max-block-size: calc(100dvh - var(--pm-space-8) * 2);\n }\n}\n\n.title {\n padding-inline-end: var(--pm-space-8);\n font-family: var(--pm-text-xl-family);\n font-size: var(--pm-text-xl-size);\n font-weight: var(--pm-text-xl-weight);\n line-height: var(--pm-text-xl-line-height);\n letter-spacing: var(--pm-text-xl-tracking);\n color: var(--pm-text-primary);\n}\n\n.description {\n margin-block-start: var(--pm-space-2);\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-secondary);\n}\n\n/* The only scrolling region, so the title and the actions stay in place while a\n long body scrolls. `min-block-size: 0` lets it shrink inside the flex column\n instead of pushing the panel past its max height. */\n.body {\n min-block-size: 0;\n margin-block-start: var(--pm-space-5);\n overflow-y: auto;\n}\n\n.footer {\n display: flex;\n gap: var(--pm-space-3);\n justify-content: flex-end;\n margin-block-start: var(--pm-space-6);\n}\n\n.close {\n position: absolute;\n inset-block-start: var(--pm-space-4);\n inset-inline-end: var(--pm-space-4);\n}\n\n/* sizes — scaled by density on purpose, so a comfortable theme gets roomier\n dialogs, as it does everything else. */\n\n.panel[data-size='sm'] {\n inline-size: min(calc(var(--pm-space-10) * 4), calc(100vw - var(--pm-space-7) * 2));\n}\n\n.panel[data-size='lg'] {\n inline-size: min(calc(var(--pm-space-10) * 7), calc(100vw - var(--pm-space-7) * 2));\n}\n\n/* The bottom sheet (`presentation=\"sheet\"`) ----------------------------------\n *\n * The sheet presentation's anatomy (`design/components/README.md`), composed\n * from `sheet.module.css`, so the shared surface is defined once. These classes\n * replace `.panel` and `.positioner` entirely in sheet form (the component\n * swaps them below `30rem` when `'sheet'` is chosen). That also keeps the\n * `[data-size]` width rules and the full-screen block below from reaching the\n * sheet: they select `.panel`, and a sheet-form panel does not have it. `size`\n * has no visible effect below the threshold, because a sheet is as tall as its\n * content, not as wide as a card. The attribute stays on the panel, because it\n * is still what the caller asked for.\n *\n * The member's own parts stay inside the sheet: padding `--pm-space-6`, the\n * scrolling body, the close control and the footer. The safe-area padding is\n * the sheet presentation's: added to this member's edge padding, and zero where\n * there is no notch, because a footer under the home indicator is hidden\n * content (`docs/layout.md`). */\n\n.sheetPositioner {\n composes: positioner from './sheet.module.css';\n}\n\n.sheetPanel {\n composes: panel from './sheet.module.css';\n\n /* The close button's inset anchor, the same as the card's. */\n position: relative;\n padding: var(--pm-inset-surface);\n padding-block-end: calc(var(--pm-inset-surface) + env(safe-area-inset-bottom, 0px));\n\n /* The card's rule: the body scrolls, and the sheet itself scrolls only when\n its title, description and footer alone are taller than its cap. */\n overflow-y: auto;\n}\n\n/* The sheet ------------------------------------------------------------------\n *\n * Below `30rem` the panel is no longer a card in the middle of the screen; it\n * fills the screen. At that width a centred dialog would have only a thin\n * border of scrim around it, and the side padding would take space the content\n * needs.\n *\n * This uses `@media`, the one exemption from container-first responsiveness,\n * with its reasoning in `docs/layout.md`. Every other member measures its\n * container, because a Grid in a drawer and a Grid on a page have different\n * widths at the same moment. An overlay has no such ambiguity: it is portalled\n * to the document, positioned `fixed`, and its container is the viewport.\n * There is no box between this panel and the window, so querying the window\n * queries its only container. Overlays are shell-class, and the shell owns the\n * viewport.\n *\n * `30rem` is a rem literal, like the shell's `48rem`. A breakpoint is geometry,\n * not theme. Scaling it with density would turn a dialog into a sheet for a\n * reader who only changed how tight their controls are.\n *\n * All three size selectors are listed, because `[data-size]` outranks the bare\n * `.panel` and would otherwise reapply a width inside the sheet rule. The sizes\n * apply to a dialog; a full-screen panel has no small, medium or large form. */\n@media (width < 30rem) {\n .panel,\n .panel[data-size='sm'],\n .panel[data-size='lg'] {\n /* Stretched to fill the positioner rather than set to 100% of it, because\n of the panel's padding. A percentage sizes the content box, so a padded\n panel at 100% is the window plus its inset. It overflows on both sides,\n and the close button falls off. Stretching fills the area correctly under\n either box model. */\n place-self: stretch;\n inline-size: auto;\n block-size: auto;\n max-block-size: none;\n\n /* No rounded corners: every edge of the panel is now an edge of the screen,\n and a radius there would cut a curve out of the display. The border is\n removed for the same reason, because it would draw a hairline box around\n the whole window. */\n border: 0;\n border-radius: 0;\n\n /* In the full-screen form the panel's block padding clears the notch: it is\n added to the padding, and zero where there is no notch. Every edge of the\n panel is an edge of the display here, and a footer under the home\n indicator is hidden content (`docs/layout.md`). */\n padding-block: calc(var(--pm-space-6) + env(safe-area-inset-top, 0px))\n calc(var(--pm-space-6) + env(safe-area-inset-bottom, 0px));\n }\n}\n\n/* Radix focuses the panel itself when it contains nothing focusable. A ring\n around a whole modal adds no information. The ring belongs on the control the\n reader will use, and every such control composes the focus convention. This\n is the standard exception for a programmatically focused `tabindex=\"-1\"`\n container. It covers both forms, because the sheet panel is the same\n programmatic target. */\n.panel:focus-visible,\n.sheetPanel:focus-visible {\n outline: none;\n}\n\n/* A closing surface is no longer a click target. Both parts, because the scrim\n is the dismiss surface and the panel holds the content. */\n.scrim[data-state='closed'],\n.panel[data-state='closed'] {\n pointer-events: none;\n}\n\n/* While open, the panel takes clicks even though its positioner does not. This\n follows the closed rule so the cascade reads in the order the states occur. */\n.panel[data-state='open'] {\n pointer-events: auto;\n}\n\n/* Glass (`depth: glass`): the pane uses the surface role at the engine's mix\n (`--pm-material-surface`), and the material provides the lift that the\n overlay stacking order provides elsewhere. The backdrop shows through the\n pane as a blurred, saturated wash, so the surface stands apart by its\n material rather than by a lighter step. The mix is a contrast decision that\n the glass law measures over worst-case backdrops; a recipe only applies it. */\n@container style(--pm-axis-depth: glass) {\n .panel {\n background: var(--pm-material-surface);\n backdrop-filter: blur(var(--pm-material-blur)) saturate(var(--pm-material-saturate));\n }\n}\n"],"mappings":""}
1
+ {"version":3,"file":"dialog.module.js","names":[],"sources":["../../../../recipes/src/overlays/dialog.module.css"],"sourcesContent":["/* Dialog — `design/components/dialog.md`.\n *\n * The motion engine animates this member, not this file. The scrim fades and\n * the panel scale-fades from its trigger, both through `MotionSurface`, because\n * an exit that can be interrupted needs presence coordination and CSS cannot\n * keep a leaving node mounted.\n *\n * CSS handles what motion must not touch: the panel's box, and the rule that a\n * leaving surface stops taking clicks. That rule applies the motion law\n * \"motion never blocks input\" (`docs/motion.md`): an overlay that is closing\n * must not capture the next click. */\n\n/* `overlay` in the stacking order: every portalled overlay surface uses one\n layer, above shell chrome and below toasts. Drawer composes this scrim and\n gets the layer with it. */\n.scrim {\n position: fixed;\n inset: 0;\n z-index: var(--pm-z-overlay);\n background: var(--pm-bg-scrim);\n}\n\n/* Fills the viewport, centres the panel, and takes no pointer events itself,\n so a click that misses the panel lands on the scrim and dismisses. */\n.positioner {\n position: fixed;\n inset: 0;\n z-index: var(--pm-z-overlay);\n display: grid;\n\n /* One explicit track. An implicit `auto` track is sized by the panel's\n intrinsic size, so content wider than the window would widen the track and\n push the whole dialog, close button included, off the edge with no way to\n scroll back. `minmax(0, 1fr)` makes the track the window width, which is\n the only width an overlay has. */\n grid-template-columns: minmax(0, 1fr);\n\n /* One explicit row, for the same reason on the other axis. An implicit `auto`\n row grows to the panel's content, so a full-screen panel stretched into it\n is as tall as a long body and runs past the bottom of the window, and the\n body never has to scroll. `minmax(0, 1fr)` makes the row the window\n height. */\n grid-template-rows: minmax(0, 1fr);\n place-items: center;\n pointer-events: none;\n}\n\n.panel {\n position: relative;\n display: flex;\n flex-direction: column;\n inline-size: min(calc(var(--pm-space-10) * 5), calc(100vw - var(--pm-space-7) * 2));\n\n /* The max-height calculation uses `dvh` (dialog.md's size cell). On phones\n `100vh` includes the collapsed browser chrome, so a card capped against it\n puts its footer behind the URL bar (`docs/layout.md`); `dvh` tracks the\n live viewport. The `vh` base is here and the `dvh` override is in the\n `@supports` block after this rule, because a dedupe minifier deletes a\n same-property pair. */\n max-block-size: calc(100vh - var(--pm-space-8) * 2);\n padding: var(--pm-inset-surface);\n\n /* The body is the part that scrolls, and it shrinks first. The panel scrolls\n only when the parts that do not shrink, the title, the description and the\n footer, are taller than the panel by themselves: a long description, or\n large text in a short window. Every part then stays in reach instead of\n running past the panel's edge. */\n overflow-y: auto;\n pointer-events: auto;\n background: var(--pm-bg-overlay);\n border: 1px solid var(--pm-border-subtle);\n border-radius: var(--pm-radius-surface);\n box-shadow: var(--pm-shadow-transient);\n}\n\n@supports (height: 1dvh) {\n .panel {\n max-block-size: calc(100dvh - var(--pm-space-8) * 2);\n }\n}\n\n.title {\n padding-inline-end: var(--pm-space-8);\n font-family: var(--pm-text-xl-family);\n font-size: var(--pm-text-xl-size);\n font-weight: var(--pm-text-xl-weight);\n line-height: var(--pm-text-xl-line-height);\n letter-spacing: var(--pm-text-xl-tracking);\n color: var(--pm-text-primary);\n}\n\n.description {\n margin-block-start: var(--pm-space-2);\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-secondary);\n}\n\n/* The only scrolling region, so the title and the actions stay in place while a\n long body scrolls. `min-block-size: 0` lets it shrink inside the flex column\n instead of pushing the panel past its max height.\n\n A scroll container cuts what it holds at its padding edge, on both axes, so a\n field against the body's edge would have its seat shadow cut there, which\n squares off its rounded corners. So the body is larger than its content by the\n reach on every side, inside the panel's padding, and its margins take the\n reach back, so the content stays where it is. The reach is `space-2`, which\n the seat shadow of every shipped system stays within. */\n.body {\n --pm-dialog-reach: var(--pm-space-2);\n\n min-block-size: 0;\n margin-block: calc(var(--pm-space-5) - var(--pm-dialog-reach)) calc(var(--pm-dialog-reach) * -1);\n margin-inline: calc(var(--pm-dialog-reach) * -1);\n padding: var(--pm-dialog-reach);\n overflow-y: auto;\n}\n\n.footer {\n display: flex;\n gap: var(--pm-space-3);\n justify-content: flex-end;\n margin-block-start: var(--pm-space-6);\n}\n\n.close {\n position: absolute;\n inset-block-start: var(--pm-space-4);\n inset-inline-end: var(--pm-space-4);\n}\n\n/* sizes — scaled by density on purpose, so a comfortable theme gets roomier\n dialogs, as it does everything else. */\n\n.panel[data-size='sm'] {\n inline-size: min(calc(var(--pm-space-10) * 4), calc(100vw - var(--pm-space-7) * 2));\n}\n\n.panel[data-size='lg'] {\n inline-size: min(calc(var(--pm-space-10) * 7), calc(100vw - var(--pm-space-7) * 2));\n}\n\n/* The bottom sheet (`presentation=\"sheet\"`) ----------------------------------\n *\n * The sheet presentation's anatomy (`design/components/README.md`), composed\n * from `sheet.module.css`, so the shared surface is defined once. These classes\n * replace `.panel` and `.positioner` entirely in sheet form (the component\n * swaps them below `30rem` when `'sheet'` is chosen). That also keeps the\n * `[data-size]` width rules and the full-screen block below from reaching the\n * sheet: they select `.panel`, and a sheet-form panel does not have it. `size`\n * has no visible effect below the threshold, because a sheet is as tall as its\n * content, not as wide as a card. The attribute stays on the panel, because it\n * is still what the caller asked for.\n *\n * The member's own parts stay inside the sheet: padding `--pm-space-6`, the\n * scrolling body, the close control and the footer. The safe-area padding is\n * the sheet presentation's: added to this member's edge padding, and zero where\n * there is no notch, because a footer under the home indicator is hidden\n * content (`docs/layout.md`). */\n\n.sheetPositioner {\n composes: positioner from './sheet.module.css';\n}\n\n.sheetPanel {\n composes: panel from './sheet.module.css';\n\n /* The close button's inset anchor, the same as the card's. */\n position: relative;\n padding: var(--pm-inset-surface);\n padding-block-end: calc(var(--pm-inset-surface) + env(safe-area-inset-bottom, 0px));\n\n /* The card's rule: the body scrolls, and the sheet itself scrolls only when\n its title, description and footer alone are taller than its cap. */\n overflow-y: auto;\n}\n\n/* The sheet ------------------------------------------------------------------\n *\n * Below `30rem` the panel is no longer a card in the middle of the screen; it\n * fills the screen. At that width a centred dialog would have only a thin\n * border of scrim around it, and the side padding would take space the content\n * needs.\n *\n * This uses `@media`, the one exemption from container-first responsiveness,\n * with its reasoning in `docs/layout.md`. Every other member measures its\n * container, because a Grid in a drawer and a Grid on a page have different\n * widths at the same moment. An overlay has no such ambiguity: it is portalled\n * to the document, positioned `fixed`, and its container is the viewport.\n * There is no box between this panel and the window, so querying the window\n * queries its only container. Overlays are shell-class, and the shell owns the\n * viewport.\n *\n * `30rem` is a rem literal, like the shell's `48rem`. A breakpoint is geometry,\n * not theme. Scaling it with density would turn a dialog into a sheet for a\n * reader who only changed how tight their controls are.\n *\n * All three size selectors are listed, because `[data-size]` outranks the bare\n * `.panel` and would otherwise reapply a width inside the sheet rule. The sizes\n * apply to a dialog; a full-screen panel has no small, medium or large form. */\n@media (width < 30rem) {\n .panel,\n .panel[data-size='sm'],\n .panel[data-size='lg'] {\n /* Stretched to fill the positioner rather than set to 100% of it, because\n of the panel's padding. A percentage sizes the content box, so a padded\n panel at 100% is the window plus its inset. It overflows on both sides,\n and the close button falls off. Stretching fills the area correctly under\n either box model. */\n place-self: stretch;\n inline-size: auto;\n block-size: auto;\n max-block-size: none;\n\n /* No rounded corners: every edge of the panel is now an edge of the screen,\n and a radius there would cut a curve out of the display. The border is\n removed for the same reason, because it would draw a hairline box around\n the whole window. */\n border: 0;\n border-radius: 0;\n\n /* In the full-screen form the panel's block padding clears the notch: it is\n added to the padding, and zero where there is no notch. Every edge of the\n panel is an edge of the display here, and a footer under the home\n indicator is hidden content (`docs/layout.md`). */\n padding-block: calc(var(--pm-space-6) + env(safe-area-inset-top, 0px))\n calc(var(--pm-space-6) + env(safe-area-inset-bottom, 0px));\n }\n}\n\n/* Radix focuses the panel itself when it contains nothing focusable. A ring\n around a whole modal adds no information. The ring belongs on the control the\n reader will use, and every such control composes the focus convention. This\n is the standard exception for a programmatically focused `tabindex=\"-1\"`\n container. It covers both forms, because the sheet panel is the same\n programmatic target. */\n.panel:focus-visible,\n.sheetPanel:focus-visible {\n outline: none;\n}\n\n/* A closing surface is no longer a click target. Both parts, because the scrim\n is the dismiss surface and the panel holds the content. */\n.scrim[data-state='closed'],\n.panel[data-state='closed'] {\n pointer-events: none;\n}\n\n/* While open, the panel takes clicks even though its positioner does not. This\n follows the closed rule so the cascade reads in the order the states occur. */\n.panel[data-state='open'] {\n pointer-events: auto;\n}\n\n/* Glass (`depth: glass`): the pane uses the surface role at the engine's mix\n (`--pm-material-surface`), and the material provides the lift that the\n overlay stacking order provides elsewhere. The backdrop shows through the\n pane as a blurred, saturated wash, so the surface stands apart by its\n material rather than by a lighter step. The mix is a contrast decision that\n the glass law measures over worst-case backdrops; a recipe only applies it. */\n@container style(--pm-axis-depth: glass) {\n .panel {\n background: var(--pm-material-surface);\n backdrop-filter: blur(var(--pm-material-blur)) saturate(var(--pm-material-saturate));\n }\n}\n"],"mappings":""}
@@ -1,5 +1,5 @@
1
1
  //#region ../recipes/src/overlays/drawer.module.css
2
- var e = "_scrim_153gu_14 _scrim_19gcs_16", t = "_positioner_153gu_21", n = "_panel_153gu_44", r = "_header_153gu_153", i = "_heading_153gu_161", a = "_close_153gu_166", o = "_title_153gu_170", s = "_description_153gu_179", c = "_body_153gu_193", l = "_footer_153gu_199", u = {
2
+ var e = "_scrim_szfim_14 _scrim_17h7q_16", t = "_positioner_szfim_21", n = "_panel_szfim_44", r = "_header_szfim_153", i = "_heading_szfim_161", a = "_close_szfim_166", o = "_title_szfim_170", s = "_description_szfim_179", c = "_body_szfim_199", l = "_footer_szfim_218", u = {
3
3
  scrim: e,
4
4
  positioner: t,
5
5
  panel: n,
@@ -1 +1 @@
1
- {"version":3,"file":"drawer.module.js","names":[],"sources":["../../../../recipes/src/overlays/drawer.module.css"],"sourcesContent":["/* Drawer — `design/components/drawer.md`.\n *\n * The scrim is Dialog's, composed rather than restated, because it is the same\n * surface. The rest is specific to a drawer: an edge-pinned positioner, a panel\n * with free corners rounded and an attached edge, and the flat-overlay rule. A\n * transient surface stands apart from the page in every house system, however\n * flat that system's page is.\n *\n * The motion engine animates the drawer (see Drawer.tsx) with the `sheet`\n * pattern, which needs presence coordination for its exit and a transform that\n * CSS must not also write. This file handles the box, and the rule that a\n * leaving surface stops taking clicks. */\n\n.scrim {\n composes: scrim from './dialog.module.css';\n}\n\n/* Flexbox, so the pinning is logical: `flex-end` on the inline axis is the right\n edge in LTR and the left edge in RTL. That matches `side=\"end\"`, which no\n physical `inset` can express. */\n.positioner {\n position: fixed;\n inset: 0;\n\n /* `overlay` in the stacking order. The scrim above gets the same layer\n through `composes`. */\n z-index: var(--pm-z-overlay);\n display: flex;\n pointer-events: none;\n}\n\n.positioner[data-side='end'] {\n justify-content: flex-end;\n}\n\n.positioner[data-side='start'] {\n justify-content: flex-start;\n}\n\n.positioner[data-side='bottom'] {\n align-items: flex-end;\n}\n\n.panel {\n display: flex;\n flex-direction: column;\n max-inline-size: 100%;\n max-block-size: 100%;\n\n /* The body is the part that scrolls, and it shrinks first. The panel scrolls\n only when the header and the footer are taller than the panel by\n themselves: a long description, or large text in a short window. Every\n part then stays in reach instead of running past the panel's edge, as in\n Dialog. */\n overflow-y: auto;\n pointer-events: auto;\n background: var(--pm-bg-overlay);\n border-radius: 0;\n box-shadow: var(--pm-shadow-transient);\n}\n\n/* sides — one attached edge, one border, two free corners ------------------- */\n\n.panel[data-side='end'],\n.panel[data-side='start'] {\n block-size: 100%;\n}\n\n.panel[data-side='end'] {\n border-inline-start: 1px solid var(--pm-border-subtle);\n border-start-start-radius: var(--pm-radius-surface);\n border-end-start-radius: var(--pm-radius-surface);\n}\n\n.panel[data-side='start'] {\n border-inline-end: 1px solid var(--pm-border-subtle);\n border-start-end-radius: var(--pm-radius-surface);\n border-end-end-radius: var(--pm-radius-surface);\n}\n\n.panel[data-side='bottom'] {\n inline-size: 100%;\n\n /* Padding added above the home indicator, zero where there is no notch,\n because a sheet whose last row sits behind the indicator hides content\n (drawer.md's panel cell; `docs/layout.md`). Unitless `0`, as in Command,\n for a bare env() fallback: the lint law rejects `0px` outside calc(), and\n the resolved value is the same. */\n padding-block-end: env(safe-area-inset-bottom, 0);\n border-block-start: 1px solid var(--pm-border-subtle);\n border-start-start-radius: var(--pm-radius-surface);\n border-start-end-radius: var(--pm-radius-surface);\n}\n\n/* sizes — the same space-scale calculation as Dialog's widths, so a comfortable\n theme gets a roomier sheet, as it does everything else. A bottom sheet sizes\n on the other axis: it is as tall as its content, up to a share of the\n viewport, because a sheet that is always 66vh tall is a dialog. */\n\n.panel[data-side='end'][data-size='sm'],\n.panel[data-side='start'][data-size='sm'] {\n inline-size: calc(var(--pm-space-10) * 4);\n}\n\n.panel[data-side='end'][data-size='md'],\n.panel[data-side='start'][data-size='md'] {\n inline-size: calc(var(--pm-space-10) * 5);\n}\n\n.panel[data-side='end'][data-size='lg'],\n.panel[data-side='start'][data-size='lg'] {\n inline-size: calc(var(--pm-space-10) * 6);\n}\n\n/* All bottom sizes are measured in `dvh` (drawer.md's size cell, one cell at\n three sizes). On phones `100vh` includes the collapsed browser chrome, so a\n half-height sheet measured against it sits behind the URL bar\n (`docs/layout.md`). Each rule has the `vh` base, and the `dvh` override is in\n the `@supports` block right after it, because a dedupe minifier deletes a\n same-property pair and would ship the dist with `dvh` only. */\n.panel[data-side='bottom'][data-size='sm'] {\n max-block-size: 50vh;\n}\n\n@supports (height: 1dvh) {\n .panel[data-side='bottom'][data-size='sm'] {\n max-block-size: 50dvh;\n }\n}\n\n.panel[data-side='bottom'][data-size='md'] {\n max-block-size: 66vh;\n}\n\n@supports (height: 1dvh) {\n .panel[data-side='bottom'][data-size='md'] {\n max-block-size: 66dvh;\n }\n}\n\n.panel[data-side='bottom'][data-size='lg'] {\n max-block-size: 80vh;\n}\n\n@supports (height: 1dvh) {\n .panel[data-side='bottom'][data-size='lg'] {\n max-block-size: 80dvh;\n }\n}\n\n/* the three bands ----------------------------------------------------------- */\n\n.header {\n display: flex;\n flex: none;\n gap: var(--pm-space-3);\n align-items: flex-start;\n padding: var(--pm-space-5) var(--pm-space-5) var(--pm-space-3);\n}\n\n.heading {\n flex: 1;\n min-inline-size: 0;\n}\n\n.close {\n flex: none;\n}\n\n.title {\n font-family: var(--pm-text-xl-family);\n font-size: var(--pm-text-xl-size);\n font-weight: var(--pm-text-xl-weight);\n line-height: var(--pm-text-xl-line-height);\n letter-spacing: var(--pm-text-xl-tracking);\n color: var(--pm-text-primary);\n}\n\n.description {\n margin-block-start: var(--pm-space-2);\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-secondary);\n}\n\n/* The only scrolling region. This is Dialog's rule, and it matters more here: a\n drawer is the tallest surface in the vocabulary, and a header that scrolled\n away would take the ✕ with it. `min-block-size: 0` lets it shrink inside the\n flex column instead of pushing the panel past the viewport. */\n.body {\n min-block-size: 0;\n padding-inline: var(--pm-space-5);\n overflow-y: auto;\n}\n\n.footer {\n display: flex;\n flex: none;\n gap: var(--pm-space-3);\n justify-content: flex-end;\n padding: var(--pm-space-3) var(--pm-space-5) var(--pm-space-5);\n}\n\n/* states -------------------------------------------------------------------- */\n\n/* Radix focuses the panel itself when it contains nothing focusable. A ring\n around a whole sheet adds no information. The ring belongs on the control the\n reader will use, and every such control composes the focus convention. */\n.panel:focus-visible {\n outline: none;\n}\n\n/* A closing surface is no longer a click target. This applies the motion law\n \"motion never blocks input\" (`docs/motion.md`): an overlay that is closing\n must not capture the next click. */\n.panel[data-state='closed'] {\n pointer-events: none;\n}\n\n.panel[data-state='open'] {\n pointer-events: auto;\n}\n\n/* Glass (`depth: glass`): the pane uses the surface role at the engine's mix\n (`--pm-material-surface`), and the material provides the lift that the\n overlay stacking order provides elsewhere. The backdrop shows through the\n pane as a blurred, saturated wash, so the surface stands apart by its\n material rather than by a lighter step. The mix is a contrast decision that\n the glass law measures over worst-case backdrops; a recipe only applies it. */\n@container style(--pm-axis-depth: glass) {\n .panel {\n background: var(--pm-material-surface);\n backdrop-filter: blur(var(--pm-material-blur)) saturate(var(--pm-material-saturate));\n }\n}\n"],"mappings":""}
1
+ {"version":3,"file":"drawer.module.js","names":[],"sources":["../../../../recipes/src/overlays/drawer.module.css"],"sourcesContent":["/* Drawer — `design/components/drawer.md`.\n *\n * The scrim is Dialog's, composed rather than restated, because it is the same\n * surface. The rest is specific to a drawer: an edge-pinned positioner, a panel\n * with free corners rounded and an attached edge, and the flat-overlay rule. A\n * transient surface stands apart from the page in every house system, however\n * flat that system's page is.\n *\n * The motion engine animates the drawer (see Drawer.tsx) with the `sheet`\n * pattern, which needs presence coordination for its exit and a transform that\n * CSS must not also write. This file handles the box, and the rule that a\n * leaving surface stops taking clicks. */\n\n.scrim {\n composes: scrim from './dialog.module.css';\n}\n\n/* Flexbox, so the pinning is logical: `flex-end` on the inline axis is the right\n edge in LTR and the left edge in RTL. That matches `side=\"end\"`, which no\n physical `inset` can express. */\n.positioner {\n position: fixed;\n inset: 0;\n\n /* `overlay` in the stacking order. The scrim above gets the same layer\n through `composes`. */\n z-index: var(--pm-z-overlay);\n display: flex;\n pointer-events: none;\n}\n\n.positioner[data-side='end'] {\n justify-content: flex-end;\n}\n\n.positioner[data-side='start'] {\n justify-content: flex-start;\n}\n\n.positioner[data-side='bottom'] {\n align-items: flex-end;\n}\n\n.panel {\n display: flex;\n flex-direction: column;\n max-inline-size: 100%;\n max-block-size: 100%;\n\n /* The body is the part that scrolls, and it shrinks first. The panel scrolls\n only when the header and the footer are taller than the panel by\n themselves: a long description, or large text in a short window. Every\n part then stays in reach instead of running past the panel's edge, as in\n Dialog. */\n overflow-y: auto;\n pointer-events: auto;\n background: var(--pm-bg-overlay);\n border-radius: 0;\n box-shadow: var(--pm-shadow-transient);\n}\n\n/* sides — one attached edge, one border, two free corners ------------------- */\n\n.panel[data-side='end'],\n.panel[data-side='start'] {\n block-size: 100%;\n}\n\n.panel[data-side='end'] {\n border-inline-start: 1px solid var(--pm-border-subtle);\n border-start-start-radius: var(--pm-radius-surface);\n border-end-start-radius: var(--pm-radius-surface);\n}\n\n.panel[data-side='start'] {\n border-inline-end: 1px solid var(--pm-border-subtle);\n border-start-end-radius: var(--pm-radius-surface);\n border-end-end-radius: var(--pm-radius-surface);\n}\n\n.panel[data-side='bottom'] {\n inline-size: 100%;\n\n /* Padding added above the home indicator, zero where there is no notch,\n because a sheet whose last row sits behind the indicator hides content\n (drawer.md's panel cell; `docs/layout.md`). Unitless `0`, as in Command,\n for a bare env() fallback: the lint law rejects `0px` outside calc(), and\n the resolved value is the same. */\n padding-block-end: env(safe-area-inset-bottom, 0);\n border-block-start: 1px solid var(--pm-border-subtle);\n border-start-start-radius: var(--pm-radius-surface);\n border-start-end-radius: var(--pm-radius-surface);\n}\n\n/* sizes — the same space-scale calculation as Dialog's widths, so a comfortable\n theme gets a roomier sheet, as it does everything else. A bottom sheet sizes\n on the other axis: it is as tall as its content, up to a share of the\n viewport, because a sheet that is always 66vh tall is a dialog. */\n\n.panel[data-side='end'][data-size='sm'],\n.panel[data-side='start'][data-size='sm'] {\n inline-size: calc(var(--pm-space-10) * 4);\n}\n\n.panel[data-side='end'][data-size='md'],\n.panel[data-side='start'][data-size='md'] {\n inline-size: calc(var(--pm-space-10) * 5);\n}\n\n.panel[data-side='end'][data-size='lg'],\n.panel[data-side='start'][data-size='lg'] {\n inline-size: calc(var(--pm-space-10) * 6);\n}\n\n/* All bottom sizes are measured in `dvh` (drawer.md's size cell, one cell at\n three sizes). On phones `100vh` includes the collapsed browser chrome, so a\n half-height sheet measured against it sits behind the URL bar\n (`docs/layout.md`). Each rule has the `vh` base, and the `dvh` override is in\n the `@supports` block right after it, because a dedupe minifier deletes a\n same-property pair and would ship the dist with `dvh` only. */\n.panel[data-side='bottom'][data-size='sm'] {\n max-block-size: 50vh;\n}\n\n@supports (height: 1dvh) {\n .panel[data-side='bottom'][data-size='sm'] {\n max-block-size: 50dvh;\n }\n}\n\n.panel[data-side='bottom'][data-size='md'] {\n max-block-size: 66vh;\n}\n\n@supports (height: 1dvh) {\n .panel[data-side='bottom'][data-size='md'] {\n max-block-size: 66dvh;\n }\n}\n\n.panel[data-side='bottom'][data-size='lg'] {\n max-block-size: 80vh;\n}\n\n@supports (height: 1dvh) {\n .panel[data-side='bottom'][data-size='lg'] {\n max-block-size: 80dvh;\n }\n}\n\n/* the three bands ----------------------------------------------------------- */\n\n.header {\n display: flex;\n flex: none;\n gap: var(--pm-space-3);\n align-items: flex-start;\n padding: var(--pm-space-5) var(--pm-space-5) var(--pm-space-3);\n}\n\n.heading {\n flex: 1;\n min-inline-size: 0;\n}\n\n.close {\n flex: none;\n}\n\n.title {\n font-family: var(--pm-text-xl-family);\n font-size: var(--pm-text-xl-size);\n font-weight: var(--pm-text-xl-weight);\n line-height: var(--pm-text-xl-line-height);\n letter-spacing: var(--pm-text-xl-tracking);\n color: var(--pm-text-primary);\n}\n\n.description {\n margin-block-start: var(--pm-space-2);\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-secondary);\n}\n\n/* The only scrolling region. This is Dialog's rule, and it matters more here: a\n drawer is the tallest surface in the vocabulary, and a header that scrolled\n away would take the ✕ with it. `min-block-size: 0` lets it shrink inside the\n flex column instead of pushing the panel past the viewport.\n\n A scroll container cuts what it holds at its padding edge, on both axes. The\n inline padding gives a field's seat shadow room at the sides. At the top the\n body is larger than its content by Dialog's reach, `space-2`, inside the\n header's bottom padding, and its margin takes the reach back, so the content\n stays where it is. */\n.body {\n --pm-drawer-reach: var(--pm-space-2);\n\n min-block-size: 0;\n margin-block-start: calc(var(--pm-drawer-reach) * -1);\n padding-block-start: var(--pm-drawer-reach);\n padding-inline: var(--pm-space-5);\n overflow-y: auto;\n}\n\n/* The same room at the end, inside the footer's top padding, when a footer\n follows. Without one the body's end is the panel's: taken back by a margin,\n the room would make a long drawer's panel scroll by the reach, and kept, it\n would make a bottom drawer taller by it. */\n.body:not(:last-child) {\n margin-block-end: calc(var(--pm-drawer-reach) * -1);\n padding-block-end: var(--pm-drawer-reach);\n}\n\n.footer {\n display: flex;\n flex: none;\n gap: var(--pm-space-3);\n justify-content: flex-end;\n padding: var(--pm-space-3) var(--pm-space-5) var(--pm-space-5);\n}\n\n/* states -------------------------------------------------------------------- */\n\n/* Radix focuses the panel itself when it contains nothing focusable. A ring\n around a whole sheet adds no information. The ring belongs on the control the\n reader will use, and every such control composes the focus convention. */\n.panel:focus-visible {\n outline: none;\n}\n\n/* A closing surface is no longer a click target. This applies the motion law\n \"motion never blocks input\" (`docs/motion.md`): an overlay that is closing\n must not capture the next click. */\n.panel[data-state='closed'] {\n pointer-events: none;\n}\n\n.panel[data-state='open'] {\n pointer-events: auto;\n}\n\n/* Glass (`depth: glass`): the pane uses the surface role at the engine's mix\n (`--pm-material-surface`), and the material provides the lift that the\n overlay stacking order provides elsewhere. The backdrop shows through the\n pane as a blurred, saturated wash, so the surface stands apart by its\n material rather than by a lighter step. The mix is a contrast decision that\n the glass law measures over worst-case backdrops; a recipe only applies it. */\n@container style(--pm-axis-depth: glass) {\n .panel {\n background: var(--pm-material-surface);\n backdrop-filter: blur(var(--pm-material-blur)) saturate(var(--pm-material-saturate));\n }\n}\n"],"mappings":""}
@@ -1,5 +1,5 @@
1
1
  //#region ../recipes/src/overlays/lightbox.module.css
2
- var e = "_scrim_bomv8_12 _scrim_19gcs_16", t = "_positioner_bomv8_22", n = "_panel_bomv8_37", r = "_title_bomv8_63 _visuallyHidden_qxi8b_14", i = "_stage_bomv8_68", a = "_close_bomv8_109", o = "_previous_bomv8_110", s = "_next_bomv8_111", c = "_position_bomv8_22", l = {
2
+ var e = "_scrim_bomv8_12 _scrim_17h7q_16", t = "_positioner_bomv8_22", n = "_panel_bomv8_37", r = "_title_bomv8_63 _visuallyHidden_qxi8b_14", i = "_stage_bomv8_68", a = "_close_bomv8_109", o = "_previous_bomv8_110", s = "_next_bomv8_111", c = "_position_bomv8_22", l = {
3
3
  scrim: e,
4
4
  positioner: t,
5
5
  panel: n,
@@ -1,8 +1,8 @@
1
1
  //#region ../recipes/src/overlays/menu.module.css
2
- var e = "_content_p5sz5_11", t = "_sheetList_p5sz5_83", n = "_item_p5sz5_83 _stateFeedback_lkjqs_17", r = "_checkbox_p5sz5_137", i = "_check_p5sz5_137 _stateFeedback_lkjqs_17", a = "_glyph_p5sz5_152 _stateFeedback_lkjqs_17", o = "_label_p5sz5_160", s = "_hint_p5sz5_170 _stateFeedback_lkjqs_17", c = "_separator_p5sz5_185", l = "_groupLabel_p5sz5_190", u = {
2
+ var e = "_content_3qn78_11", t = "_sheetList_3qn78_83", n = "_item_3qn78_83 _stateFeedback_lkjqs_17", r = "_checkbox_3qn78_137", i = "_check_3qn78_137 _stateFeedback_lkjqs_17", a = "_glyph_3qn78_152 _stateFeedback_lkjqs_17", o = "_label_3qn78_160", s = "_hint_3qn78_170 _stateFeedback_lkjqs_17", c = "_separator_3qn78_185", l = "_groupLabel_3qn78_190", u = {
3
3
  content: e,
4
- "menu-content-enter": "_menu-content-enter_p5sz5_1",
5
- "menu-content-exit": "_menu-content-exit_p5sz5_1",
4
+ "menu-content-enter": "_menu-content-enter_3qn78_1",
5
+ "menu-content-exit": "_menu-content-exit_3qn78_1",
6
6
  sheetList: t,
7
7
  item: n,
8
8
  checkbox: r,
@@ -12,7 +12,7 @@ var e = "_content_p5sz5_11", t = "_sheetList_p5sz5_83", n = "_item_p5sz5_83 _sta
12
12
  hint: s,
13
13
  separator: c,
14
14
  groupLabel: l,
15
- "menu-item-enter": "_menu-item-enter_p5sz5_1"
15
+ "menu-item-enter": "_menu-item-enter_3qn78_1"
16
16
  };
17
17
  //#endregion
18
18
  export { i as check, r as checkbox, e as content, u as default, a as glyph, l as groupLabel, s as hint, n as item, o as label, c as separator, t as sheetList };
@@ -1 +1 @@
1
- {"version":3,"file":"menu.module.js","names":[],"sources":["../../../../recipes/src/overlays/menu.module.css"],"sourcesContent":["/* Menu — `design/components/menu.md`.\n *\n * The panel is Select's content recipe, unchanged, on purpose. A dropdown of\n * options and a dropdown of commands are the same surface at the same offset.\n * If they differed by two pixels, the product would have two dropdown designs.\n *\n * The danger tone is deliberately quiet. A destructive command stays low-key\n * until it is confirmed, and the ConfirmDialog carries the strong warning. So\n * this is red text on a red wash, never a red fill. */\n\n.content {\n display: flex;\n flex-direction: column;\n\n /* `overlay` in the stacking order. It is declared on the content class and\n applied on the popper: Radix's popper copies the content's computed z-index\n onto its own positioned wrapper (@radix-ui/react-popper 1.3.7), so the\n whole surface joins the layer without a `:global`. Every Radix-lane overlay\n content class in the vocabulary has this line. */\n z-index: var(--pm-z-overlay);\n min-inline-size: calc(var(--pm-space-10) * 2);\n max-block-size: var(--radix-dropdown-menu-content-available-height);\n padding: var(--pm-inset-list);\n overflow: hidden;\n background: var(--pm-bg-overlay);\n border: 1px solid var(--pm-border-subtle);\n border-radius: var(--pm-radius-surface);\n box-shadow: var(--pm-shadow-transient);\n transform-origin: var(--radix-dropdown-menu-content-transform-origin);\n\n /* The list takes focus only to hand it to a row, so it draws no ring of its\n own: the ring belongs on the row the reader moves through. */\n outline: none;\n}\n\n/* The `menu.content` binding: `scale-fade`, surface class, anchored origin.\n Select's rule and numbers. Radix keeps the node mounted for the closed\n animation, so the exit animates instead of cutting. */\n.content[data-state='open'] {\n animation: menu-content-enter var(--pm-motion-duration-surface) var(--pm-motion-easing-enter);\n}\n\n.content[data-state='closed'] {\n animation: menu-content-exit var(--pm-motion-duration-surface-exit) var(--pm-motion-easing-exit);\n}\n\n@keyframes menu-content-enter {\n from {\n opacity: 0;\n transform: scale(0.94);\n }\n}\n\n@keyframes menu-content-exit {\n to {\n opacity: 0;\n transform: scale(0.94);\n }\n}\n\n/* Reduced-motion projection (`docs/motion.md`): `scale-fade` projects to\n `fade`. The duration stays, because an opacity change is vestibular-safe and\n the panel must still appear to arrive rather than cut in. Select's recipe has\n the same block, and the reduced-motion law\n (`packages/react-ui/src/conventions/reduced-motion.test.ts`) fails a stylesheet\n without it. */\n@media (prefers-reduced-motion: reduce) {\n @keyframes menu-content-enter {\n from {\n opacity: 0;\n }\n }\n\n @keyframes menu-content-exit {\n to {\n opacity: 0;\n }\n }\n\n /* The cascade projects to presence (`docs/motion.md`). A delay counts as\n motion even when the delayed element does not move, so items arrive with\n their panel. Both scopes, because the sheet's rows are the same rows. */\n .sheetList .item,\n .content[data-state='open'] .item {\n animation: none;\n }\n}\n\n/* The sheet, below 30rem (the sheet presentation) ----------------------------\n *\n * The panel box is the shared anatomy (`sheet.module.css`, used by the sheet\n * partial). This member styles only its rows' container inside it: the same\n * `--pm-space-2` inset as the popper panel, on a list that scrolls under the\n * sheet presentation's cap. The `min-width` and `sideOffset` rules no longer\n * apply, because a sheet has no anchor. The safe-area padding is the sheet\n * presentation's: added to this member's edge padding, and zero where there is\n * no notch, because a sheet whose last row sits behind the home indicator hides\n * content (`docs/layout.md`). */\n.sheetList {\n display: flex;\n flex-direction: column;\n min-block-size: 0;\n padding: var(--pm-inset-list);\n padding-block-end: calc(var(--pm-inset-list) + env(safe-area-inset-bottom, 0px));\n margin: 0;\n overflow-y: auto;\n list-style: none;\n outline: none;\n}\n\n/* items --------------------------------------------------------------------- */\n\n.item {\n composes: stateFeedback from '../conventions/motion.module.css';\n display: flex;\n gap: var(--pm-space-3);\n align-items: center;\n block-size: var(--pm-control-height-sm);\n padding-inline: var(--pm-space-3);\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-primary);\n cursor: pointer;\n border-radius: var(--pm-radius-sm);\n outline: none;\n}\n\n/* The checkbox entry: the item recipe plus Select's check column, unchanged.\n The check has its own `--pm-space-2` gap where the item's icon keeps\n `--pm-space-3`. The check uses the leading slot, so a checkbox entry takes no\n icon. It is applied with `.item` (the layout primitives' two-class idiom)\n rather than composed, because the registry's extractor reads `composes` as a\n cross-file graph, and a same-file composition would be an edge to nothing. */\n.checkbox {\n gap: var(--pm-space-2);\n}\n\n/* Select's check column, unchanged: `--pm-icon-size-sm` is reserved whether or\n not this row is checked, so labels stay aligned as checks change. */\n.check {\n composes: stateFeedback from '../conventions/motion.module.css';\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n inline-size: var(--pm-icon-size-sm);\n}\n\n.glyph {\n composes: stateFeedback from '../conventions/motion.module.css';\n display: inline-flex;\n flex: none;\n align-items: center;\n color: var(--pm-text-muted);\n}\n\n.label {\n min-inline-size: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n/* At the far edge, so hints line up down the panel whatever the label length.\n A submenu's chevron also sits here. A row never has both, because a row that\n opens a list runs no command. */\n.hint {\n composes: stateFeedback from '../conventions/motion.module.css';\n display: inline-flex;\n flex: none;\n align-items: center;\n margin-inline-start: auto;\n color: var(--pm-text-muted);\n}\n\n/* The chevron follows the row's colour, so it stays legible on the highlight. A\n hint that stayed muted would disappear into the accent wash. */\n.item[data-highlighted] .hint {\n color: inherit;\n}\n\n.separator {\n margin-block: var(--pm-space-2);\n border-block-start: 1px solid var(--pm-border-subtle);\n}\n\n.groupLabel {\n padding: var(--pm-space-2) var(--pm-space-3);\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n line-height: var(--pm-text-xs-line-height);\n letter-spacing: var(--pm-text-xs-tracking);\n color: var(--pm-text-muted);\n text-transform: uppercase;\n}\n\n/* The cascade: items appear one by one during the panel's enter, each delayed\n by the stagger step and clamped to the stagger ceiling, so a long menu gets\n denser instead of slower. Temperament changes it only through the tokens:\n expressive uses 32ms per item, subtle a quick 19ms, and `none` derives zero,\n so there is no cascade. It runs on enter only; lists do not reverse it on\n exit.\n\n The index steps stop at twelve. The spec already forbids longer menus, and\n every later item shares the ceiling. */\n.sheetList .item,\n.content[data-state='open'] .item {\n animation: menu-item-enter var(--pm-motion-duration-control) var(--pm-motion-easing-enter)\n backwards;\n}\n\n.sheetList[role='menu'] .item:nth-child(2),\n.content[data-state='open'] .item:nth-child(2) {\n animation-delay: min(calc(1 * var(--pm-motion-stagger-step)), var(--pm-motion-stagger-max));\n}\n\n.sheetList[role='menu'] .item:nth-child(3),\n.content[data-state='open'] .item:nth-child(3) {\n animation-delay: min(calc(2 * var(--pm-motion-stagger-step)), var(--pm-motion-stagger-max));\n}\n\n.sheetList[role='menu'] .item:nth-child(4),\n.content[data-state='open'] .item:nth-child(4) {\n animation-delay: min(calc(3 * var(--pm-motion-stagger-step)), var(--pm-motion-stagger-max));\n}\n\n.sheetList[role='menu'] .item:nth-child(5),\n.content[data-state='open'] .item:nth-child(5) {\n animation-delay: min(calc(4 * var(--pm-motion-stagger-step)), var(--pm-motion-stagger-max));\n}\n\n.sheetList[role='menu'] .item:nth-child(6),\n.content[data-state='open'] .item:nth-child(6) {\n animation-delay: min(calc(5 * var(--pm-motion-stagger-step)), var(--pm-motion-stagger-max));\n}\n\n.sheetList[role='menu'] .item:nth-child(7),\n.content[data-state='open'] .item:nth-child(7) {\n animation-delay: min(calc(6 * var(--pm-motion-stagger-step)), var(--pm-motion-stagger-max));\n}\n\n.sheetList[role='menu'] .item:nth-child(8),\n.content[data-state='open'] .item:nth-child(8) {\n animation-delay: min(calc(7 * var(--pm-motion-stagger-step)), var(--pm-motion-stagger-max));\n}\n\n.sheetList[role='menu'] .item:nth-child(9),\n.content[data-state='open'] .item:nth-child(9) {\n animation-delay: min(calc(8 * var(--pm-motion-stagger-step)), var(--pm-motion-stagger-max));\n}\n\n.sheetList[role='menu'] .item:nth-child(10),\n.content[data-state='open'] .item:nth-child(10) {\n animation-delay: min(calc(9 * var(--pm-motion-stagger-step)), var(--pm-motion-stagger-max));\n}\n\n.sheetList[role='menu'] .item:nth-child(11),\n.content[data-state='open'] .item:nth-child(11) {\n animation-delay: min(calc(10 * var(--pm-motion-stagger-step)), var(--pm-motion-stagger-max));\n}\n\n.sheetList[role='menu'] .item:nth-child(n + 12),\n.content[data-state='open'] .item:nth-child(n + 12) {\n animation-delay: var(--pm-motion-stagger-max);\n}\n\n@keyframes menu-item-enter {\n from {\n opacity: 0;\n transform: translateY(-2px);\n }\n}\n\n/* states -------------------------------------------------------------------- */\n\n.item[data-tone='danger'] {\n color: var(--pm-danger-text);\n}\n\n/* Radix sets `data-highlighted` from both pointer and keyboard, so there is no\n `:hover` rule here: one state covers both. */\n.item[data-highlighted] {\n color: var(--pm-accent-text);\n background: var(--pm-accent-subtle);\n}\n\n.item[data-tone='danger'][data-highlighted] {\n color: var(--pm-danger-text);\n background: var(--pm-danger-subtle);\n}\n\n.item[data-highlighted] .glyph {\n color: inherit;\n}\n\n.item[data-disabled] {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n background: transparent;\n}\n\n.item[data-disabled] .glyph {\n color: var(--pm-text-disabled);\n}\n\n/* Select's rule, unchanged: the check shows selection in the accent, and the\n label keeps the row's colour. */\n.checkbox[data-state='checked'] .check {\n color: var(--pm-accent-text);\n}\n\n/* Glass (`depth: glass`): the pane uses the surface role at the engine's mix\n (`--pm-material-surface`), and the material provides the lift that the\n overlay stacking order provides elsewhere. The backdrop shows through the\n pane as a blurred, saturated wash, so the surface stands apart by its\n material rather than by a lighter step. The mix is a contrast decision that\n the glass law measures over worst-case backdrops; a recipe only applies it. */\n@container style(--pm-axis-depth: glass) {\n .content {\n background: var(--pm-material-surface);\n backdrop-filter: blur(var(--pm-material-blur)) saturate(var(--pm-material-saturate));\n }\n}\n"],"mappings":""}
1
+ {"version":3,"file":"menu.module.js","names":[],"sources":["../../../../recipes/src/overlays/menu.module.css"],"sourcesContent":["/* Menu — `design/components/menu.md`.\n *\n * The panel is Select's content recipe, unchanged, on purpose. A dropdown of\n * options and a dropdown of commands are the same surface at the same offset.\n * If they differed by two pixels, the product would have two dropdown designs.\n *\n * The danger tone is deliberately quiet. A destructive command stays low-key\n * until it is confirmed, and the ConfirmDialog carries the strong warning. So\n * this is red text on a red wash, never a red fill. */\n\n.content {\n display: flex;\n flex-direction: column;\n\n /* `overlay` in the stacking order. It is declared on the content class and\n applied on the popper: Radix's popper copies the content's computed z-index\n onto its own positioned wrapper (@radix-ui/react-popper 1.3.7), so the\n whole surface joins the layer without a `:global`. Every Radix-lane overlay\n content class in the vocabulary has this line. */\n z-index: var(--pm-z-overlay);\n min-inline-size: calc(var(--pm-space-10) * 2);\n max-block-size: var(--radix-dropdown-menu-content-available-height);\n padding: var(--pm-inset-list);\n overflow: hidden;\n background: var(--pm-bg-overlay);\n border: 1px solid var(--pm-border-subtle);\n border-radius: var(--pm-radius-surface);\n box-shadow: var(--pm-shadow-transient);\n transform-origin: var(--radix-dropdown-menu-content-transform-origin);\n\n /* The list takes focus only to hand it to a row, so it draws no ring of its\n own: the ring belongs on the row the reader moves through. */\n outline: none;\n}\n\n/* The `menu.content` binding: `scale-fade`, surface class, anchored origin.\n Select's rule and numbers. Radix keeps the node mounted for the closed\n animation, so the exit animates instead of cutting. */\n.content[data-state='open'] {\n animation: menu-content-enter var(--pm-motion-duration-surface) var(--pm-motion-easing-enter);\n}\n\n.content[data-state='closed'] {\n animation: menu-content-exit var(--pm-motion-duration-surface-exit) var(--pm-motion-easing-exit);\n}\n\n@keyframes menu-content-enter {\n from {\n opacity: 0;\n transform: scale(0.94);\n }\n}\n\n@keyframes menu-content-exit {\n to {\n opacity: 0;\n transform: scale(0.94);\n }\n}\n\n/* Reduced-motion projection (`docs/motion.md`): `scale-fade` projects to\n `fade`. The duration stays, because an opacity change is vestibular-safe and\n the panel must still appear to arrive rather than cut in. Select's recipe has\n the same block, and the reduced-motion law\n (`packages/react-ui/src/conventions/reduced-motion.test.ts`) fails a stylesheet\n without it. */\n@media (prefers-reduced-motion: reduce) {\n @keyframes menu-content-enter {\n from {\n opacity: 0;\n }\n }\n\n @keyframes menu-content-exit {\n to {\n opacity: 0;\n }\n }\n\n /* The cascade projects to presence (`docs/motion.md`). A delay counts as\n motion even when the delayed element does not move, so items arrive with\n their panel. Both scopes, because the sheet's rows are the same rows. */\n .sheetList .item,\n .content[data-state='open'] .item {\n animation: none;\n }\n}\n\n/* The sheet, below 30rem (the sheet presentation) ----------------------------\n *\n * The panel box is the shared anatomy (`sheet.module.css`, used by the sheet\n * partial). This member styles only its rows' container inside it: the same\n * `--pm-space-2` inset as the popper panel, on a list that scrolls under the\n * sheet presentation's cap. The `min-width` and `sideOffset` rules no longer\n * apply, because a sheet has no anchor. The safe-area padding is the sheet\n * presentation's: added to this member's edge padding, and zero where there is\n * no notch, because a sheet whose last row sits behind the home indicator hides\n * content (`docs/layout.md`). */\n.sheetList {\n display: flex;\n flex-direction: column;\n min-block-size: 0;\n padding: var(--pm-inset-list);\n padding-block-end: calc(var(--pm-inset-list) + env(safe-area-inset-bottom, 0px));\n margin: 0;\n overflow-y: auto;\n list-style: none;\n outline: none;\n}\n\n/* items --------------------------------------------------------------------- */\n\n.item {\n composes: stateFeedback from '../conventions/motion.module.css';\n display: flex;\n gap: var(--pm-space-3);\n align-items: center;\n block-size: var(--pm-control-height-sm);\n padding-inline: var(--pm-space-3);\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-primary);\n cursor: pointer;\n border-radius: var(--pm-radius-sm);\n outline: none;\n}\n\n/* The checkbox entry: the item recipe plus Select's check column, unchanged.\n The check has its own `--pm-space-2` gap where the item's icon keeps\n `--pm-space-3`. The check uses the leading slot, so a checkbox entry takes no\n icon. It is applied with `.item` (the layout primitives' two-class idiom)\n rather than composed, because the registry's extractor reads `composes` as a\n cross-file graph, and a same-file composition would be an edge to nothing. */\n.checkbox {\n gap: var(--pm-space-2);\n}\n\n/* Select's check column, unchanged: `--pm-icon-size-sm` is reserved whether or\n not this row is checked, so labels stay aligned as checks change. */\n.check {\n composes: stateFeedback from '../conventions/motion.module.css';\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n inline-size: var(--pm-icon-size-sm);\n}\n\n.glyph {\n composes: stateFeedback from '../conventions/motion.module.css';\n display: inline-flex;\n flex: none;\n align-items: center;\n color: var(--pm-text-muted);\n}\n\n.label {\n min-inline-size: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n/* At the far edge, so hints line up down the panel whatever the label length.\n A submenu's chevron also sits here. A row never has both, because a row that\n opens a list runs no command. */\n.hint {\n composes: stateFeedback from '../conventions/motion.module.css';\n display: inline-flex;\n flex: none;\n align-items: center;\n margin-inline-start: auto;\n color: var(--pm-text-muted);\n}\n\n/* The chevron follows the row's colour, so it stays legible on the highlight. A\n hint that stayed muted would disappear into the accent wash. */\n.item[data-highlighted] .hint {\n color: inherit;\n}\n\n.separator {\n margin-block: var(--pm-space-2);\n border-block-start: 1px solid var(--pm-border-subtle);\n}\n\n.groupLabel {\n padding: var(--pm-space-2) var(--pm-space-3);\n font-family: var(--pm-text-xs-family);\n font-size: var(--pm-text-xs-size);\n font-weight: var(--pm-text-xs-weight);\n line-height: var(--pm-text-xs-line-height);\n letter-spacing: var(--pm-text-xs-tracking);\n color: var(--pm-text-muted);\n text-transform: uppercase;\n}\n\n/* The cascade: items appear one by one during the panel's enter, each delayed\n by the stagger step and clamped to the stagger ceiling, so a long menu gets\n denser instead of slower. Temperament changes it only through the tokens:\n expressive uses 32ms per item, subtle a quick 19ms, and `none` derives zero,\n so there is no cascade. It runs on enter only; lists do not reverse it on\n exit.\n\n The index steps stop at twelve. The spec already forbids longer menus, and\n every later item shares the ceiling. */\n.sheetList .item,\n.content[data-state='open'] .item {\n animation: menu-item-enter var(--pm-motion-duration-control) var(--pm-motion-easing-enter)\n backwards;\n}\n\n.sheetList[role='menu'] .item:nth-child(2),\n.content[data-state='open'] .item:nth-child(2) {\n animation-delay: min(calc(1 * var(--pm-motion-stagger-step)), var(--pm-motion-stagger-max));\n}\n\n.sheetList[role='menu'] .item:nth-child(3),\n.content[data-state='open'] .item:nth-child(3) {\n animation-delay: min(calc(2 * var(--pm-motion-stagger-step)), var(--pm-motion-stagger-max));\n}\n\n.sheetList[role='menu'] .item:nth-child(4),\n.content[data-state='open'] .item:nth-child(4) {\n animation-delay: min(calc(3 * var(--pm-motion-stagger-step)), var(--pm-motion-stagger-max));\n}\n\n.sheetList[role='menu'] .item:nth-child(5),\n.content[data-state='open'] .item:nth-child(5) {\n animation-delay: min(calc(4 * var(--pm-motion-stagger-step)), var(--pm-motion-stagger-max));\n}\n\n.sheetList[role='menu'] .item:nth-child(6),\n.content[data-state='open'] .item:nth-child(6) {\n animation-delay: min(calc(5 * var(--pm-motion-stagger-step)), var(--pm-motion-stagger-max));\n}\n\n.sheetList[role='menu'] .item:nth-child(7),\n.content[data-state='open'] .item:nth-child(7) {\n animation-delay: min(calc(6 * var(--pm-motion-stagger-step)), var(--pm-motion-stagger-max));\n}\n\n.sheetList[role='menu'] .item:nth-child(8),\n.content[data-state='open'] .item:nth-child(8) {\n animation-delay: min(calc(7 * var(--pm-motion-stagger-step)), var(--pm-motion-stagger-max));\n}\n\n.sheetList[role='menu'] .item:nth-child(9),\n.content[data-state='open'] .item:nth-child(9) {\n animation-delay: min(calc(8 * var(--pm-motion-stagger-step)), var(--pm-motion-stagger-max));\n}\n\n.sheetList[role='menu'] .item:nth-child(10),\n.content[data-state='open'] .item:nth-child(10) {\n animation-delay: min(calc(9 * var(--pm-motion-stagger-step)), var(--pm-motion-stagger-max));\n}\n\n.sheetList[role='menu'] .item:nth-child(11),\n.content[data-state='open'] .item:nth-child(11) {\n animation-delay: min(calc(10 * var(--pm-motion-stagger-step)), var(--pm-motion-stagger-max));\n}\n\n.sheetList[role='menu'] .item:nth-child(n + 12),\n.content[data-state='open'] .item:nth-child(n + 12) {\n animation-delay: var(--pm-motion-stagger-max);\n}\n\n@keyframes menu-item-enter {\n from {\n opacity: 0;\n transform: translateY(-2px);\n }\n}\n\n/* states -------------------------------------------------------------------- */\n\n.item[data-tone='danger'] {\n color: var(--pm-danger-text);\n}\n\n/* Radix sets `data-highlighted` from both pointer and keyboard, so there is no\n `:hover` rule here: one state covers both. */\n.item[data-highlighted] {\n color: var(--pm-accent-text);\n background: var(--pm-accent-subtle);\n}\n\n.item[data-tone='danger'][data-highlighted] {\n color: var(--pm-danger-text);\n background: var(--pm-danger-subtle);\n}\n\n/* A danger row's glyph takes the row's danger text, as a highlighted row's takes the accent. */\n.item[data-highlighted] .glyph,\n.item[data-tone='danger'] .glyph {\n color: inherit;\n}\n\n.item[data-disabled] {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n background: transparent;\n}\n\n/* The glyph and a submenu's chevron fade with the label. */\n.item[data-disabled] .glyph,\n.item[data-disabled] .hint {\n color: var(--pm-text-disabled);\n}\n\n/* Select's rule, unchanged: the check shows selection in the accent, and the\n label keeps the row's colour. */\n.checkbox[data-state='checked'] .check {\n color: var(--pm-accent-text);\n}\n\n/* A checked entry that is disabled fades its check with its label. */\n.item[data-disabled] .check {\n color: var(--pm-text-disabled);\n}\n\n/* Glass (`depth: glass`): the pane uses the surface role at the engine's mix\n (`--pm-material-surface`), and the material provides the lift that the\n overlay stacking order provides elsewhere. The backdrop shows through the\n pane as a blurred, saturated wash, so the surface stands apart by its\n material rather than by a lighter step. The mix is a contrast decision that\n the glass law measures over worst-case backdrops; a recipe only applies it. */\n@container style(--pm-axis-depth: glass) {\n .content {\n background: var(--pm-material-surface);\n backdrop-filter: blur(var(--pm-material-blur)) saturate(var(--pm-material-saturate));\n }\n}\n"],"mappings":""}
@@ -1,5 +1,5 @@
1
1
  //#region ../recipes/src/overlays/menubar.module.css
2
- var e = "_bar_c1qbl_14", t = "_title_c1qbl_41 _focusRing_1lfnc_15 _stateFeedback_lkjqs_17", n = "_content_c1qbl_94 _content_p5sz5_11", r = "_item_c1qbl_98 _item_p5sz5_83 _stateFeedback_lkjqs_17", i = "_checkbox_c1qbl_102 _checkbox_p5sz5_137", a = "_check_c1qbl_102 _check_p5sz5_137 _stateFeedback_lkjqs_17", o = "_glyph_c1qbl_110 _glyph_p5sz5_152 _stateFeedback_lkjqs_17", s = "_label_c1qbl_114 _label_p5sz5_160", c = "_hint_c1qbl_118 _hint_p5sz5_170 _stateFeedback_lkjqs_17", l = "_separator_c1qbl_122 _separator_p5sz5_185", u = "_groupLabel_c1qbl_126 _groupLabel_p5sz5_190", d = "_collapsed_c1qbl_134", f = "_harness_c1qbl_140", p = {
2
+ var e = "_bar_wfgwt_16", t = "_title_wfgwt_43 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17", n = "_content_wfgwt_96 _content_3qn78_11", r = "_item_wfgwt_100 _item_3qn78_83 _stateFeedback_lkjqs_17", i = "_checkbox_wfgwt_104 _checkbox_3qn78_137", a = "_check_wfgwt_104 _check_3qn78_137 _stateFeedback_lkjqs_17", o = "_glyph_wfgwt_112 _glyph_3qn78_152 _stateFeedback_lkjqs_17", s = "_label_wfgwt_116 _label_3qn78_160", c = "_hint_wfgwt_120 _hint_3qn78_170 _stateFeedback_lkjqs_17", l = "_separator_wfgwt_124 _separator_3qn78_185", u = "_groupLabel_wfgwt_128 _groupLabel_3qn78_190", d = "_collapsed_wfgwt_136", f = "_harness_wfgwt_142", p = {
3
3
  bar: e,
4
4
  title: t,
5
5
  content: n,
@@ -1 +1 @@
1
- {"version":3,"file":"menubar.module.js","names":[],"sources":["../../../../recipes/src/overlays/menubar.module.css"],"sourcesContent":["/* Menubar — `design/components/menubar.md`.\n *\n * The bar and its titles are this file's own. Each open menu is Menu's panel\n * and Menu's rows: every class below the bar composes its class from Menu's\n * recipe instead of copying it, as SplitButton's halves compose Button's. So a\n * menu opened from a title and a menu opened from an overflow Button are one\n * design, with no copy to drift. Menu's recipe also plays the panel's motion,\n * its row cascade and their reduced-motion projection. */\n\n/* How far a focused title draws outside its box: the ring's offset and width,\n or `--pm-space-1` where that is more. The bar scrolls, and a scroll container\n clips at its padding edge, so the bar is larger than its titles by this\n much. */\n.bar {\n --pm-menubar-reach: max(calc(var(--pm-focus-offset) + var(--pm-focus-width)), var(--pm-space-1));\n\n display: flex;\n gap: var(--pm-space-1);\n align-items: center;\n\n /* A bar that is a flex or grid item may be narrower than its titles. It then\n scrolls inside its own box instead of widening the track or the page. */\n min-inline-size: 0;\n max-inline-size: 100%;\n padding: var(--pm-menubar-reach);\n\n /* The negative margins keep the titles where they would be without the\n padding. The inline end takes none: a box that passes its container's end\n edge lets the page scroll sideways. */\n margin-block: calc(var(--pm-menubar-reach) * -1);\n margin-inline-start: calc(var(--pm-menubar-reach) * -1);\n overflow: auto hidden;\n\n /* A thin scrollbar shows that a row longer than its box scrolls. Its thumb is\n the ramp's strongest step, as ScrollArea's is. */\n scrollbar-color: var(--pm-border-strong) transparent;\n scrollbar-width: thin;\n}\n\n/* A title: one label on a quiet control, Menu's row height and type. */\n.title {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback from '../conventions/motion.module.css';\n display: inline-flex;\n flex: none;\n align-items: center;\n block-size: var(--pm-control-height-sm);\n padding-block: 0;\n padding-inline: var(--pm-space-3);\n margin: 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-primary);\n white-space: nowrap;\n cursor: pointer;\n background: transparent;\n border: 0;\n border-radius: var(--pm-radius-sm);\n}\n\n/* states -------------------------------------------------------------------- */\n\n.title:disabled {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n}\n\n/* Under the pointer a title takes the ghost Button's wash. */\n.title:not(:disabled):hover {\n background: var(--pm-bg-subtle);\n}\n\n/* The system's unfilled hover choice, as Button reads it: a system may give a\n quiet control no wash under the pointer. The open rule below comes after\n it, so an open title keeps its wash. */\n@container style(--pm-hover-unfilled: none) {\n .title:not(:disabled):hover {\n background: transparent;\n }\n}\n\n/* The title whose menu is open takes Menu's highlighted row: it is the row of\n the bar the open menu belongs to. */\n.title[data-state='open'] {\n color: var(--pm-accent-text);\n background: var(--pm-accent-subtle);\n}\n\n/* the open menu — Menu's recipe, composed ----------------------------------- */\n\n.content {\n composes: content from './menu.module.css';\n}\n\n.item {\n composes: item from './menu.module.css';\n}\n\n.checkbox {\n composes: checkbox from './menu.module.css';\n}\n\n.check {\n composes: check from './menu.module.css';\n}\n\n.glyph {\n composes: glyph from './menu.module.css';\n}\n\n.label {\n composes: label from './menu.module.css';\n}\n\n.hint {\n composes: hint from './menu.module.css';\n}\n\n.separator {\n composes: separator from './menu.module.css';\n}\n\n.groupLabel {\n composes: groupLabel from './menu.module.css';\n}\n\n/* the phone form ------------------------------------------------------------ */\n\n/* Below the sheet presentation's threshold the bar is one Menu behind one\n Button. This box holds that Button and has no box of its own. */\n.collapsed {\n display: contents;\n}\n\n/* The box the narrow-container fixture puts a long row in, as Tabs' fixture\n does: narrower than the row, so the row scrolls inside it. */\n.harness {\n inline-size: calc(var(--pm-space-10) * 3);\n max-inline-size: 100%;\n}\n"],"mappings":""}
1
+ {"version":3,"file":"menubar.module.js","names":[],"sources":["../../../../recipes/src/overlays/menubar.module.css"],"sourcesContent":["/* Menubar — `design/components/menubar.md`.\n *\n * The bar and its titles are this file's own. Each open menu is Menu's panel\n * and Menu's rows: every class below the bar composes its class from Menu's\n * recipe instead of copying it, as SplitButton's halves compose Button's. So a\n * menu opened from a title and a menu opened from an overflow Button are one\n * design, with no copy to drift. Menu's recipe also plays the panel's motion,\n * its row cascade and their reduced-motion projection. */\n\n/* How far a focused title's mark reaches outside its box: the offset plus the\n width, which is 0 where the mark lies inside the edge and more where a system\n moves it outside. The room is at least `--pm-space-1`, which keeps the bar's\n padding the same whether the mark lies inside the edge or reaches a little\n outside it. The bar scrolls, and a scroll container clips at its padding\n edge, so the bar is larger than its titles by this much. */\n.bar {\n --pm-menubar-reach: max(calc(var(--pm-focus-offset) + var(--pm-focus-width)), var(--pm-space-1));\n\n display: flex;\n gap: var(--pm-space-1);\n align-items: center;\n\n /* A bar that is a flex or grid item may be narrower than its titles. It then\n scrolls inside its own box instead of widening the track or the page. */\n min-inline-size: 0;\n max-inline-size: 100%;\n padding: var(--pm-menubar-reach);\n\n /* The negative margins keep the titles where they would be without the\n padding. The inline end takes none: a box that passes its container's end\n edge lets the page scroll sideways. */\n margin-block: calc(var(--pm-menubar-reach) * -1);\n margin-inline-start: calc(var(--pm-menubar-reach) * -1);\n overflow: auto hidden;\n\n /* A thin scrollbar shows that a row longer than its box scrolls. Its thumb is\n the ramp's strongest step, as ScrollArea's is. */\n scrollbar-color: var(--pm-border-strong) transparent;\n scrollbar-width: thin;\n}\n\n/* A title: one label on a quiet control, Menu's row height and type. */\n.title {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback from '../conventions/motion.module.css';\n display: inline-flex;\n flex: none;\n align-items: center;\n block-size: var(--pm-control-height-sm);\n padding-block: 0;\n padding-inline: var(--pm-space-3);\n margin: 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-primary);\n white-space: nowrap;\n cursor: pointer;\n background: transparent;\n border: 0;\n border-radius: var(--pm-radius-sm);\n}\n\n/* states -------------------------------------------------------------------- */\n\n.title:disabled {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n}\n\n/* Under the pointer a title takes the ghost Button's wash. */\n.title:not(:disabled):hover {\n background: var(--pm-bg-subtle);\n}\n\n/* The system's unfilled hover choice, as Button reads it: a system may give a\n quiet control no wash under the pointer. The open rule below comes after\n it, so an open title keeps its wash. */\n@container style(--pm-hover-unfilled: none) {\n .title:not(:disabled):hover {\n background: transparent;\n }\n}\n\n/* The title whose menu is open takes Menu's highlighted row: it is the row of\n the bar the open menu belongs to. */\n.title[data-state='open'] {\n color: var(--pm-accent-text);\n background: var(--pm-accent-subtle);\n}\n\n/* the open menu — Menu's recipe, composed ----------------------------------- */\n\n.content {\n composes: content from './menu.module.css';\n}\n\n.item {\n composes: item from './menu.module.css';\n}\n\n.checkbox {\n composes: checkbox from './menu.module.css';\n}\n\n.check {\n composes: check from './menu.module.css';\n}\n\n.glyph {\n composes: glyph from './menu.module.css';\n}\n\n.label {\n composes: label from './menu.module.css';\n}\n\n.hint {\n composes: hint from './menu.module.css';\n}\n\n.separator {\n composes: separator from './menu.module.css';\n}\n\n.groupLabel {\n composes: groupLabel from './menu.module.css';\n}\n\n/* the phone form ------------------------------------------------------------ */\n\n/* Below the sheet presentation's threshold the bar is one Menu behind one\n Button. This box holds that Button and has no box of its own. */\n.collapsed {\n display: contents;\n}\n\n/* The box the narrow-container fixture puts a long row in, as Tabs' fixture\n does: narrower than the row, so the row scrolls inside it. */\n.harness {\n inline-size: calc(var(--pm-space-10) * 3);\n max-inline-size: 100%;\n}\n"],"mappings":""}
@@ -1,8 +1,8 @@
1
1
  //#region ../recipes/src/overlays/popover.module.css
2
- var e = "_panel_1hp8z_7", t = "_sheetBody_1hp8z_76", n = {
2
+ var e = "_panel_uit7m_7", t = "_sheetBody_uit7m_78", n = {
3
3
  panel: e,
4
- "popover-enter": "_popover-enter_1hp8z_1",
5
- "popover-exit": "_popover-exit_1hp8z_1",
4
+ "popover-enter": "_popover-enter_uit7m_1",
5
+ "popover-exit": "_popover-exit_uit7m_1",
6
6
  sheetBody: t
7
7
  };
8
8
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"popover.module.js","names":[],"sources":["../../../../recipes/src/overlays/popover.module.css"],"sourcesContent":["/* Popover — `design/components/popover.md`.\n *\n * Wider padding and a larger radius than a menu, because this holds content\n * rather than rows. A panel of FormFields at a menu's `space-2` inset would look\n * like a broken list. */\n\n.panel {\n /* `overlay` in the stacking order. The popper copies it onto its wrapper\n (menu.module.css explains how). */\n z-index: var(--pm-z-overlay);\n inline-size: max-content;\n max-inline-size: calc(var(--pm-space-10) * 4);\n padding: var(--pm-inset-pane);\n background: var(--pm-bg-overlay);\n border: 1px solid var(--pm-border-subtle);\n border-radius: var(--pm-radius-surface);\n box-shadow: var(--pm-shadow-transient);\n transform-origin: var(--radix-popover-content-transform-origin);\n}\n\n/* The `popover.panel` binding: `scale-fade`, anchored origin, surface class.\n The same transient-surface motion as Select and Menu, so the three are\n consistent. */\n.panel[data-state='open'] {\n animation: popover-enter var(--pm-motion-duration-surface) var(--pm-motion-easing-enter);\n}\n\n.panel[data-state='closed'] {\n animation: popover-exit var(--pm-motion-duration-surface-exit) var(--pm-motion-easing-exit);\n}\n\n@keyframes popover-enter {\n from {\n opacity: 0;\n transform: scale(0.94);\n }\n}\n\n@keyframes popover-exit {\n to {\n opacity: 0;\n transform: scale(0.94);\n }\n}\n\n/* Reduced-motion projection (`docs/motion.md`): `scale-fade` projects to\n `fade` with the same durations. The three transient surfaces must stay\n consistent under reduced motion too. A Popover that still grew while a\n Select did not would be an inconsistency. */\n@media (prefers-reduced-motion: reduce) {\n @keyframes popover-enter {\n from {\n opacity: 0;\n }\n }\n\n @keyframes popover-exit {\n to {\n opacity: 0;\n }\n }\n}\n\n.panel:focus-visible {\n outline: var(--pm-focus-width) solid var(--pm-border-focus);\n outline-offset: var(--pm-focus-offset);\n}\n\n/* The sheet, below 30rem with `presentation=\"sheet\"` (the sheet presentation).\n The panel box is the shared anatomy (`sheet.module.css`, used by the sheet\n partial). This member keeps its own inset inside it, the same `--pm-space-5`\n as the anchored panel, because only the shape changes, not the content. The\n sheet presentation's safe-area padding is added to the member's edge\n padding. The `max-width` rule no longer applies, because a sheet is\n full-width. */\n.sheetBody {\n min-block-size: 0;\n padding: var(--pm-inset-pane);\n padding-block-end: calc(var(--pm-inset-pane) + env(safe-area-inset-bottom, 0px));\n overflow-y: auto;\n}\n\n/* Glass (`depth: glass`): the pane uses the surface role at the engine's mix\n (`--pm-material-surface`), and the material provides the lift that the\n overlay stacking order provides elsewhere. The backdrop shows through the\n pane as a blurred, saturated wash, so the surface stands apart by its\n material rather than by a lighter step. The mix is a contrast decision that\n the glass law measures over worst-case backdrops; a recipe only applies it. */\n@container style(--pm-axis-depth: glass) {\n .panel {\n background: var(--pm-material-surface);\n backdrop-filter: blur(var(--pm-material-blur)) saturate(var(--pm-material-saturate));\n }\n}\n"],"mappings":""}
1
+ {"version":3,"file":"popover.module.js","names":[],"sources":["../../../../recipes/src/overlays/popover.module.css"],"sourcesContent":["/* Popover — `design/components/popover.md`.\n *\n * Wider padding and a larger radius than a menu, because this holds content\n * rather than rows. A panel of FormFields at a menu's `space-2` inset would look\n * like a broken list. */\n\n.panel {\n /* `overlay` in the stacking order. The popper copies it onto its wrapper\n (menu.module.css explains how). */\n z-index: var(--pm-z-overlay);\n inline-size: max-content;\n max-inline-size: calc(var(--pm-space-10) * 4);\n padding: var(--pm-inset-pane);\n background: var(--pm-bg-overlay);\n border: 1px solid var(--pm-border-subtle);\n border-radius: var(--pm-radius-surface);\n box-shadow: var(--pm-shadow-transient);\n transform-origin: var(--radix-popover-content-transform-origin);\n}\n\n/* The `popover.panel` binding: `scale-fade`, anchored origin, surface class.\n The same transient-surface motion as Select and Menu, so the three are\n consistent. */\n.panel[data-state='open'] {\n animation: popover-enter var(--pm-motion-duration-surface) var(--pm-motion-easing-enter);\n}\n\n.panel[data-state='closed'] {\n animation: popover-exit var(--pm-motion-duration-surface-exit) var(--pm-motion-easing-exit);\n}\n\n@keyframes popover-enter {\n from {\n opacity: 0;\n transform: scale(0.94);\n }\n}\n\n@keyframes popover-exit {\n to {\n opacity: 0;\n transform: scale(0.94);\n }\n}\n\n/* Reduced-motion projection (`docs/motion.md`): `scale-fade` projects to\n `fade` with the same durations. The three transient surfaces must stay\n consistent under reduced motion too. A Popover that still grew while a\n Select did not would be an inconsistency. */\n@media (prefers-reduced-motion: reduce) {\n @keyframes popover-enter {\n from {\n opacity: 0;\n }\n }\n\n @keyframes popover-exit {\n to {\n opacity: 0;\n }\n }\n}\n\n/* Focus moves into the panel when it opens. The shared convention's mark on the panel: the outline\n in the focus colour at the system's offset, inside the panel's edge by default. */\n.panel:focus-visible {\n outline: var(--pm-focus-width) solid var(--pm-border-focus-solid);\n outline-offset: var(--pm-focus-offset);\n}\n\n/* The sheet, below 30rem with `presentation=\"sheet\"` (the sheet presentation).\n The panel box is the shared anatomy (`sheet.module.css`, used by the sheet\n partial). This member keeps its own inset inside it, the same `--pm-space-5`\n as the anchored panel, because only the shape changes, not the content. The\n sheet presentation's safe-area padding is added to the member's edge\n padding. The `max-width` rule no longer applies, because a sheet is\n full-width. */\n.sheetBody {\n min-block-size: 0;\n padding: var(--pm-inset-pane);\n padding-block-end: calc(var(--pm-inset-pane) + env(safe-area-inset-bottom, 0px));\n overflow-y: auto;\n}\n\n/* Glass (`depth: glass`): the pane uses the surface role at the engine's mix\n (`--pm-material-surface`), and the material provides the lift that the\n overlay stacking order provides elsewhere. The backdrop shows through the\n pane as a blurred, saturated wash, so the surface stands apart by its\n material rather than by a lighter step. The mix is a contrast decision that\n the glass law measures over worst-case backdrops; a recipe only applies it. */\n@container style(--pm-axis-depth: glass) {\n .panel {\n background: var(--pm-material-surface);\n backdrop-filter: blur(var(--pm-material-blur)) saturate(var(--pm-material-saturate));\n }\n}\n"],"mappings":""}
@@ -1,5 +1,5 @@
1
1
  //#region ../recipes/src/overlays/sheet.module.css
2
- var e = "_scrim_1v4qd_29", t = "_positioner_1v4qd_39", n = "_panel_1v4qd_58", r = {
2
+ var e = "_scrim_angi5_29", t = "_positioner_angi5_39", n = "_panel_angi5_58", r = {
3
3
  scrim: e,
4
4
  positioner: t,
5
5
  panel: n
@@ -1 +1 @@
1
- {"version":3,"file":"sheet.module.js","names":[],"sources":["../../../../recipes/src/overlays/sheet.module.css"],"sourcesContent":["/* The sheet presentation (`design/components/README.md`).\n *\n * Drawer `side=\"bottom\"`'s anatomy, promoted to a shared recipe. `drawer.md`\n * remains the owner of the visual spec. Every member with a sheet form\n * (Dialog's `presentation=\"sheet\"`, Menu's phone form, Popover's opt-in, and\n * ContextMenu and SplitButton through Menu's lane) composes these classes\n * instead of re-deriving them.\n *\n * The anatomy is keyed on `data-presentation=\"sheet\"`, the sheet\n * presentation's attribute contract. It is resolved state: present exactly\n * while the surface is drawn as a sheet, and absent in the member's anchored or\n * card form. CSS keys the anatomy off it, the browser tests assert it, and the\n * member sets it from the same `30rem` threshold its geometry uses.\n *\n * The scrim is Dialog's, unchanged (as the sheet presentation specifies), but\n * restated here rather than composed, on purpose. Dialog's sheet form composes\n * `panel` from this file, and a `composes` edge back into `dialog.module.css`\n * would make each file depend on the other. The cost is three structural\n * declarations, and the bg token is the same token.\n *\n * Safe-area padding is not here. The sheet presentation adds\n * `env(safe-area-inset-bottom)` to the member's own edge padding, and members\n * pad differently (a menu list pads `--pm-space-2`, a dialog `--pm-space-6`).\n * Each member adds its own safe-area padding; only the box is shared. */\n\n/* `overlay` in the stacking order: every portalled overlay surface uses one\n layer, above shell chrome and below toasts. This puts a sheet's scrim above a\n drawer-mode rail (`--pm-z-shell`) instead of below it. */\n.scrim {\n position: fixed;\n inset: 0;\n z-index: var(--pm-z-overlay);\n background: var(--pm-bg-scrim);\n}\n\n/* Pins the panel to the bottom edge and takes no clicks itself, so a click that\n misses the panel lands on the scrim and dismisses. Drawer's bottom\n positioner, unchanged. */\n.positioner {\n position: fixed;\n inset: 0;\n z-index: var(--pm-z-overlay);\n display: flex;\n align-items: flex-end;\n pointer-events: none;\n}\n\n/* Drawer bottom's panel, promoted (the sheet presentation's anatomy table):\n attached to the bottom edge, full-width, top corners `--pm-radius-surface`, top\n border only, and the flat-overlay rule applies, so a transient surface stands\n apart in every system.\n\n Height: as tall as its content, up to drawer-bottom's `md` cap. The `vh` base\n is here and the `dvh` override is in the `@supports` block after this rule,\n because a dedupe minifier deletes a same-property pair. On phones `100vh`\n includes the collapsed browser chrome, and a cap measured against it hides\n the sheet's last row behind the URL bar (`docs/layout.md`). */\n.panel[data-presentation='sheet'] {\n display: flex;\n flex-direction: column;\n inline-size: 100%;\n max-block-size: 66vh;\n pointer-events: auto;\n background: var(--pm-bg-overlay);\n border-block-start: 1px solid var(--pm-border-subtle);\n border-start-start-radius: var(--pm-radius-surface);\n border-start-end-radius: var(--pm-radius-surface);\n border-end-start-radius: 0;\n border-end-end-radius: 0;\n box-shadow: var(--pm-shadow-transient);\n}\n\n@supports (height: 1dvh) {\n .panel[data-presentation='sheet'] {\n max-block-size: 66dvh;\n }\n}\n\n/* A programmatically focused panel is the focus convention's standard\n exception: the ring belongs on the control the reader will use, never on a\n whole sheet. */\n.panel:focus-visible {\n outline: none;\n}\n\n/* A closing surface is no longer a click target. This applies the motion law\n \"motion never blocks input\" (`docs/motion.md`): an overlay that is closing\n must not capture the next click. Both parts, because the scrim is the dismiss\n surface. */\n.scrim[data-state='closed'],\n.panel[data-state='closed'] {\n pointer-events: none;\n}\n\n.panel[data-state='open'] {\n pointer-events: auto;\n}\n\n/* Glass (`depth: glass`): the pane uses the surface role at the engine's mix\n (`--pm-material-surface`), and the material provides the lift that the\n overlay stacking order provides elsewhere. The backdrop shows through the\n pane as a blurred, saturated wash, so the surface stands apart by its\n material rather than by a lighter step. The mix is a contrast decision that\n the glass law measures over worst-case backdrops; a recipe only applies it. */\n@container style(--pm-axis-depth: glass) {\n .panel[data-presentation='sheet'] {\n background: var(--pm-material-surface);\n backdrop-filter: blur(var(--pm-material-blur)) saturate(var(--pm-material-saturate));\n }\n}\n"],"mappings":""}
1
+ {"version":3,"file":"sheet.module.js","names":[],"sources":["../../../../recipes/src/overlays/sheet.module.css"],"sourcesContent":["/* The sheet presentation (`design/components/README.md`).\n *\n * Drawer `side=\"bottom\"`'s anatomy, promoted to a shared recipe. `drawer.md`\n * remains the owner of the visual spec. Every member with a sheet form\n * (Dialog's `presentation=\"sheet\"`, Menu's phone form, Popover's opt-in, and\n * ContextMenu and SplitButton through Menu's lane) composes these classes\n * instead of re-deriving them.\n *\n * The anatomy is keyed on `data-presentation=\"sheet\"`, the sheet\n * presentation's attribute contract. It is resolved state: present exactly\n * while the surface is drawn as a sheet, and absent in the member's anchored or\n * card form. CSS keys the anatomy off it, the browser tests assert it, and the\n * member sets it from the same `30rem` threshold its geometry uses.\n *\n * The scrim is Dialog's, unchanged (as the sheet presentation specifies), but\n * restated here rather than composed, on purpose. Dialog's sheet form composes\n * `panel` from this file, and a `composes` edge back into `dialog.module.css`\n * would make each file depend on the other. The cost is three structural\n * declarations, and the bg token is the same token.\n *\n * Safe-area padding is not here. The sheet presentation adds\n * `env(safe-area-inset-bottom)` to the member's own edge padding, and members\n * pad differently (a menu list pads `--pm-space-2`, a dialog `--pm-space-6`).\n * Each member adds its own safe-area padding; only the box is shared. */\n\n/* `overlay` in the stacking order: every portalled overlay surface uses one\n layer, above shell chrome and below toasts. This puts a sheet's scrim above a\n drawer-mode rail (`--pm-z-shell`) instead of below it. */\n.scrim {\n position: fixed;\n inset: 0;\n z-index: var(--pm-z-overlay);\n background: var(--pm-bg-scrim);\n}\n\n/* Pins the panel to the bottom edge and takes no clicks itself, so a click that\n misses the panel lands on the scrim and dismisses. Drawer's bottom\n positioner, unchanged. */\n.positioner {\n position: fixed;\n inset: 0;\n z-index: var(--pm-z-overlay);\n display: flex;\n align-items: flex-end;\n pointer-events: none;\n}\n\n/* Drawer bottom's panel, promoted (the sheet presentation's anatomy table):\n attached to the bottom edge, full-width, top corners `--pm-radius-surface`, top\n border only, and the flat-overlay rule applies, so a transient surface stands\n apart in every system.\n\n Height: as tall as its content, up to drawer-bottom's `md` cap. The `vh` base\n is here and the `dvh` override is in the `@supports` block after this rule,\n because a dedupe minifier deletes a same-property pair. On phones `100vh`\n includes the collapsed browser chrome, and a cap measured against it hides\n the sheet's last row behind the URL bar (`docs/layout.md`). */\n.panel[data-presentation='sheet'] {\n display: flex;\n flex-direction: column;\n inline-size: 100%;\n max-block-size: 66vh;\n pointer-events: auto;\n background: var(--pm-bg-overlay);\n border-block-start: 1px solid var(--pm-border-subtle);\n border-start-start-radius: var(--pm-radius-surface);\n border-start-end-radius: var(--pm-radius-surface);\n border-end-start-radius: 0;\n border-end-end-radius: 0;\n box-shadow: var(--pm-shadow-transient);\n}\n\n@supports (height: 1dvh) {\n .panel[data-presentation='sheet'] {\n max-block-size: 66dvh;\n }\n}\n\n/* A programmatically focused panel is the focus convention's standard\n exception: the ring belongs on the control the reader will use, never on a\n whole sheet. */\n.panel:focus-visible {\n outline: none;\n}\n\n/* A closing surface is no longer a click target. This applies the motion law\n \"motion never blocks input\" (`docs/motion.md`): an overlay that is closing\n must not capture the next click. Both parts, because the scrim is the dismiss\n surface. */\n.scrim[data-state='closed'],\n.panel[data-state='closed'] {\n pointer-events: none;\n}\n\n.panel[data-state='open'] {\n pointer-events: auto;\n}\n\n/* An open scrim takes the press that dismisses, also over a modal Dialog that\n has turned the page's pointer events off. */\n.scrim[data-state='open'] {\n pointer-events: auto;\n}\n\n/* Glass (`depth: glass`): the pane uses the surface role at the engine's mix\n (`--pm-material-surface`), and the material provides the lift that the\n overlay stacking order provides elsewhere. The backdrop shows through the\n pane as a blurred, saturated wash, so the surface stands apart by its\n material rather than by a lighter step. The mix is a contrast decision that\n the glass law measures over worst-case backdrops; a recipe only applies it. */\n@container style(--pm-axis-depth: glass) {\n .panel[data-presentation='sheet'] {\n background: var(--pm-material-surface);\n backdrop-filter: blur(var(--pm-material-blur)) saturate(var(--pm-material-saturate));\n }\n}\n"],"mappings":""}
@@ -1,5 +1,5 @@
1
1
  //#region ../recipes/src/overlays/tabs.module.css
2
- var e = "_root_stm37_13", t = "_list_stm37_18", n = "_trigger_stm37_24 _focusRing_1lfnc_15 _stateFeedback_lkjqs_17", r = "_glyph_stm37_45 _stateFeedback_lkjqs_17", i = "_count_stm37_53", a = "_indicator_stm37_65", o = "_slide_stm37_78", s = "_content_stm37_90", c = "_harness_stm37_285", l = {
2
+ var e = "_root_6ylix_13", t = "_list_6ylix_18", n = "_trigger_6ylix_24 _focusAround_1hr3n_95 _stateFeedback_lkjqs_17", r = "_glyph_6ylix_45 _stateFeedback_lkjqs_17", i = "_count_6ylix_53", a = "_indicator_6ylix_65", o = "_slide_6ylix_78", s = "_content_6ylix_90", c = "_harness_6ylix_292", l = {
3
3
  root: e,
4
4
  list: t,
5
5
  trigger: n,
@@ -8,9 +8,9 @@ var e = "_root_stm37_13", t = "_list_stm37_18", n = "_trigger_stm37_24 _focusRin
8
8
  indicator: a,
9
9
  slide: o,
10
10
  content: s,
11
- "tabs-content-enter": "_tabs-content-enter_stm37_1",
12
- "tabs-fade-left": "_tabs-fade-left_stm37_1",
13
- "tabs-fade-right": "_tabs-fade-right_stm37_1",
11
+ "tabs-content-enter": "_tabs-content-enter_6ylix_1",
12
+ "tabs-fade-left": "_tabs-fade-left_6ylix_1",
13
+ "tabs-fade-right": "_tabs-fade-right_6ylix_1",
14
14
  harness: c
15
15
  };
16
16
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"tabs.module.js","names":[],"sources":["../../../../recipes/src/overlays/tabs.module.css"],"sourcesContent":["/* Tabs — `design/components/tabs.md`.\n *\n * One variant, underline. The underline sits on the strip's rule rather than\n * beside it: the rule is the baseline every tab shares, and the indicator marks\n * the active tab's part of it. So the list is positioned, and the indicator is\n * absolute inside it.\n *\n * A horizontal list wider than its container scrolls inside it, and an edge\n * with more tabs beyond it fades. All of that is in the horizontal section\n * below, keyed on the root's orientation, so the vertical strip takes none of\n * it. */\n\n.root {\n display: flex;\n flex-direction: column;\n}\n\n.list {\n position: relative;\n display: flex;\n gap: var(--pm-space-5);\n}\n\n.trigger {\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-block: var(--pm-space-3);\n padding-inline: 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 white-space: nowrap;\n cursor: pointer;\n background: transparent;\n border: 0;\n border-radius: var(--pm-radius-sm);\n}\n\n.glyph {\n composes: stateFeedback from '../conventions/motion.module.css';\n display: inline-flex;\n flex: none;\n align-items: center;\n color: var(--pm-text-muted);\n}\n\n.count {\n display: inline-flex;\n flex: none;\n align-items: center;\n}\n\n/* Sits on the list's rule, not under it: 2px covering the 1px baseline, so the\n active tab looks like a thicker piece of the same line.\n\n Positioned from the start edges and offset by transform, because the engine\n animates `x`/`y`, and a rule anchored to the opposite edge would need an\n inverted measurement for no benefit. */\n.indicator {\n inset-block: auto 0;\n block-size: 2px;\n background: var(--pm-accent-bg);\n}\n\n/* The rule's slide in a shell whose machine moves it with a CSS transition\n (Zag's tabs machine). The machine writes the transition inline, with a\n duration of its own, so these replace its duration and curve with the\n motion tokens: a temperament rescales the slide, and `none`, where the\n tokens are 0ms, makes it a jump. The React member slides the rule through\n the motion engine (`MotionIndicator`, the `tabs.indicator` spring) and draws\n no transition, so it does not take this class. */\n.slide {\n transition-duration: var(--pm-motion-duration-surface) !important;\n transition-timing-function: var(--pm-motion-easing-standard) !important;\n}\n\n/* Reduced motion: the rule jumps to the new tab (`tabs.indicator`'s projection). */\n@media (prefers-reduced-motion: reduce) {\n .slide {\n transition-property: none !important;\n }\n}\n\n.content {\n padding-block-start: var(--pm-space-5);\n}\n\n/* The `tabs.content` binding: `fade`, surface class. No slide, because tabs are\n peers and a direction would imply an order they do not have. */\n.content[data-state='active'] {\n animation: tabs-content-enter var(--pm-motion-duration-surface) var(--pm-motion-easing-enter);\n}\n\n@keyframes tabs-content-enter {\n from {\n opacity: 0;\n }\n}\n\n/* states -------------------------------------------------------------------- */\n\n.trigger[data-state='active'] {\n color: var(--pm-text-primary);\n}\n\n.trigger[data-disabled] {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n}\n\n.trigger:hover:not([data-disabled]) {\n color: var(--pm-text-primary);\n}\n\n.trigger[data-disabled] .glyph {\n color: var(--pm-text-disabled);\n}\n\n/* horizontal — a strip that scrolls when it is wider than its container ----- */\n\n/* A root that is a flex or grid item may be narrower than its triggers. The\n list then scrolls inside it instead of widening the track. */\n.root[data-orientation='horizontal'] {\n min-inline-size: 0;\n}\n\n/* Each rule below reaches the root's own list, and the indicator inside it,\n through child combinators. A panel can hold another Tabs, and a vertical one\n inside a horizontal one takes none of these. */\n\n/* The baseline rule is the root's, drawn between the list and the panel: the\n list is ordered first and the rule second, ahead of everything else the root\n holds. It is not the list's border, because the list scrolls, fades at its\n edges and is larger than its triggers (all below), and the rule does none of\n those. It spans the container. */\n.root[data-orientation='horizontal']::before {\n order: -1;\n content: '';\n border-block-end: 1px solid var(--pm-border-subtle);\n}\n\n.root[data-orientation='horizontal'] > .list {\n /* How far a focused trigger draws outside its box: the ring's offset and\n width, or `--pm-space-2` for the halo under the ring where that is more. */\n --pm-tabs-reach: max(calc(var(--pm-focus-offset) + var(--pm-focus-width)), var(--pm-space-2));\n\n order: -2;\n\n /* A scroll container has no minimum block size, so in a root shorter than\n its content the strip would give up its height and clip its triggers. The\n panel takes the shortfall instead, as it did before the strip scrolled. */\n flex: none;\n\n /* A scroll container clips at its padding edge, so the list is larger than\n its triggers by the reach on every side, and negative margins keep the\n triggers where they are without the padding. The inline end takes no\n negative margin: a box that passes the container's end edge lets the page\n scroll sideways. */\n padding: var(--pm-tabs-reach);\n margin-block: calc(var(--pm-tabs-reach) * -1);\n margin-inline-start: calc(var(--pm-tabs-reach) * -1);\n overflow: auto hidden;\n\n /* Where a tab comes to rest when the browser scrolls to it on focus, or the\n member does when it becomes current: clear of the edge fade. */\n scroll-padding-inline: calc(var(--pm-space-6) + var(--pm-tabs-reach));\n\n /* Where the edge fade below is not supported, a thin scrollbar shows that\n the strip scrolls. Its thumb is the ramp's strongest step, as ScrollArea's\n is. */\n scrollbar-color: var(--pm-border-strong) transparent;\n scrollbar-width: thin;\n}\n\n/* The list's padding edge is the reach past the triggers, so the indicator\n comes in from it by the reach, and ends where its tab ends.\n\n The React foundation's `MotionIndicator` sets `inset-block-start: 0` inline,\n which outranks this stylesheet. With both block insets and the block size\n set, a box is placed from its start inset unless its start margin is `auto`,\n which then takes the space left over. So the margin is `auto`, and the\n indicator rests on its end inset in React as it does in a renderer that\n leaves the start inset alone. */\n.root[data-orientation='horizontal'] > * > .indicator {\n inset-block-end: var(--pm-tabs-reach);\n margin-block-start: auto;\n}\n\n/* The edge fade: an edge with more tabs beyond it fades out, and an edge with\n nothing beyond it does not. It is a mask, so it needs no surface colour, and\n it is driven by the list's own scroll position, so it needs no code.\n *\n * The mask is two layers, each opaque but for a fade one space step wide at\n * one physical edge, and each larger than the list, so its fade can rest\n * outside it. The left layer slides in by position and the right one by size,\n * because two animations of one property would replace each other. Each\n * animation runs over the first or last stretch of the scroll range, as long\n * as the fade is wide. A mask reads only alpha, so `black` is not a colour\n * decision here.\n *\n * The first animation also carries the mask's image, the same at both ends.\n * A list with nothing to scroll has an inactive timeline and neither\n * animation applies, so a list that fits has no mask at all.\n *\n * The animations are written as longhands, with no duration. A scroll-driven\n * animation needs the duration left at `auto`, and a build's minifier writes\n * the `animation` shorthand out with `0s`, which makes each fade switch\n * instead of following the scroll. The React vocabulary's published build is\n * checked for it (`packages/react-ui/packaging.test.ts`).\n *\n * The gradients are physical because a gradient has no logical direction.\n * Right to left, the scroll starts at the right edge, so the two animations\n * swap ranges and run backwards. The direction is read from the root's own\n * `dir`, which Radix and Zag both write from the direction they are given.\n * An ancestor's `dir` is not read, because a right-to-left page can hold a\n * left-to-right strip. `:dir()` is not used, because the minifier rewrites it\n * as a list of languages, and a language is not the strip's direction.\n *\n * With the fade, the scrollbar is hidden, as Carousel's is behind its dots. */\n@supports (animation-timeline: scroll()) {\n .root[data-orientation='horizontal'] > .list {\n scrollbar-width: none;\n mask-repeat: no-repeat;\n mask-composite: intersect;\n animation-name: tabs-fade-left, tabs-fade-right;\n animation-timing-function: linear;\n animation-fill-mode: both;\n animation-timeline: scroll(self inline);\n animation-range:\n 0 var(--pm-space-6),\n calc(100% - var(--pm-space-6)) 100%;\n }\n\n .root[data-orientation='horizontal'][dir='rtl'] > .list {\n animation-direction: reverse;\n animation-range:\n calc(100% - var(--pm-space-6)) 100%,\n 0 var(--pm-space-6);\n }\n}\n\n@keyframes tabs-fade-left {\n from {\n mask-image:\n linear-gradient(to right, transparent, black var(--pm-space-6)),\n linear-gradient(to left, transparent, black var(--pm-space-6));\n mask-position:\n calc(var(--pm-space-6) * -1) 0,\n 0 0;\n }\n\n to {\n mask-image:\n linear-gradient(to right, transparent, black var(--pm-space-6)),\n linear-gradient(to left, transparent, black var(--pm-space-6));\n mask-position:\n 0 0,\n 0 0;\n }\n}\n\n@keyframes tabs-fade-right {\n from {\n mask-size:\n 200% 100%,\n 100% 100%;\n }\n\n to {\n mask-size:\n 200% 100%,\n calc(100% + var(--pm-space-6)) 100%;\n }\n}\n\n/* Fixture box for the spec's strip wider than its container: narrower than a\n phone, built from tokens (96 × 3 = 288px at standard density) because the CSS\n law covers every file in this package, fixtures included. */\n.harness {\n inline-size: calc(var(--pm-space-10) * 3);\n max-inline-size: 100%;\n}\n\n/* vertical — the same strip turned on its side ------------------------------ */\n\n.root[data-orientation='vertical'] {\n flex-direction: row;\n gap: var(--pm-space-6);\n}\n\n.root[data-orientation='vertical'] .list {\n flex-direction: column;\n gap: var(--pm-space-1);\n align-items: stretch;\n align-self: flex-start;\n\n /* The rule runs down the start edge instead of along the bottom. The panel\n can be taller, so keep the list intrinsic and end the rule at its final\n trigger instead of stretching it with the root's cross axis. */\n border-inline-start: 1px solid var(--pm-border-subtle);\n}\n\n/* Start-aligned and padded away from the rule. A vertical tab is a row, and a\n row with a centred label would look misaligned, as a nav item would. */\n.root[data-orientation='vertical'] .trigger {\n justify-content: flex-start;\n padding-block: var(--pm-space-2);\n padding-inline: var(--pm-space-4);\n text-align: start;\n}\n\n.root[data-orientation='vertical'] .indicator {\n inset-block: 0 auto;\n inset-inline-start: 0;\n inline-size: 2px;\n block-size: auto;\n}\n\n/* The panel takes the space the strip does not. */\n.root[data-orientation='vertical'] .content {\n flex: 1;\n min-inline-size: 0;\n padding-block-start: 0;\n}\n"],"mappings":""}
1
+ {"version":3,"file":"tabs.module.js","names":[],"sources":["../../../../recipes/src/overlays/tabs.module.css"],"sourcesContent":["/* Tabs — `design/components/tabs.md`.\n *\n * One variant, underline. The underline sits on the strip's rule rather than\n * beside it: the rule is the baseline every tab shares, and the indicator marks\n * the active tab's part of it. So the list is positioned, and the indicator is\n * absolute inside it.\n *\n * A horizontal list wider than its container scrolls inside it, and an edge\n * with more tabs beyond it fades. All of that is in the horizontal section\n * below, keyed on the root's orientation, so the vertical strip takes none of\n * it. */\n\n.root {\n display: flex;\n flex-direction: column;\n}\n\n.list {\n position: relative;\n display: flex;\n gap: var(--pm-space-5);\n}\n\n.trigger {\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-block: var(--pm-space-3);\n padding-inline: 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 white-space: nowrap;\n cursor: pointer;\n background: transparent;\n border: 0;\n border-radius: var(--pm-radius-sm);\n}\n\n.glyph {\n composes: stateFeedback from '../conventions/motion.module.css';\n display: inline-flex;\n flex: none;\n align-items: center;\n color: var(--pm-text-muted);\n}\n\n.count {\n display: inline-flex;\n flex: none;\n align-items: center;\n}\n\n/* Sits on the list's rule, not under it: 2px covering the 1px baseline, so the\n active tab looks like a thicker piece of the same line.\n\n Positioned from the start edges and offset by transform, because the engine\n animates `x`/`y`, and a rule anchored to the opposite edge would need an\n inverted measurement for no benefit. */\n.indicator {\n inset-block: auto 0;\n block-size: 2px;\n background: var(--pm-accent-bg);\n}\n\n/* The rule's slide in a shell whose machine moves it with a CSS transition\n (Zag's tabs machine). The machine writes the transition inline, with a\n duration of its own, so these replace its duration and curve with the\n motion tokens: a temperament rescales the slide, and `none`, where the\n tokens are 0ms, makes it a jump. The React member slides the rule through\n the motion engine (`MotionIndicator`, the `tabs.indicator` spring) and draws\n no transition, so it does not take this class. */\n.slide {\n transition-duration: var(--pm-motion-duration-surface) !important;\n transition-timing-function: var(--pm-motion-easing-standard) !important;\n}\n\n/* Reduced motion: the rule jumps to the new tab (`tabs.indicator`'s projection). */\n@media (prefers-reduced-motion: reduce) {\n .slide {\n transition-property: none !important;\n }\n}\n\n.content {\n padding-block-start: var(--pm-space-5);\n}\n\n/* The `tabs.content` binding: `fade`, surface class. No slide, because tabs are\n peers and a direction would imply an order they do not have. */\n.content[data-state='active'] {\n animation: tabs-content-enter var(--pm-motion-duration-surface) var(--pm-motion-easing-enter);\n}\n\n@keyframes tabs-content-enter {\n from {\n opacity: 0;\n }\n}\n\n/* states -------------------------------------------------------------------- */\n\n.trigger[data-state='active'] {\n color: var(--pm-text-primary);\n}\n\n.trigger[data-disabled] {\n color: var(--pm-text-disabled);\n cursor: not-allowed;\n}\n\n.trigger:hover:not([data-disabled]) {\n color: var(--pm-text-primary);\n}\n\n.trigger[data-disabled] .glyph {\n color: var(--pm-text-disabled);\n}\n\n/* horizontal — a strip that scrolls when it is wider than its container ----- */\n\n/* A root that is a flex or grid item may be narrower than its triggers. The\n list then scrolls inside it instead of widening the track. */\n.root[data-orientation='horizontal'] {\n min-inline-size: 0;\n}\n\n/* Each rule below reaches the root's own list, and the indicator inside it,\n through child combinators. A panel can hold another Tabs, and a vertical one\n inside a horizontal one takes none of these. */\n\n/* The baseline rule is the root's, drawn between the list and the panel: the\n list is ordered first and the rule second, ahead of everything else the root\n holds. It is not the list's border, because the list scrolls, fades at its\n edges and is larger than its triggers (all below), and the rule does none of\n those. It spans the container. */\n.root[data-orientation='horizontal']::before {\n order: -1;\n content: '';\n border-block-end: 1px solid var(--pm-border-subtle);\n}\n\n.root[data-orientation='horizontal'] > .list {\n /* How far a focused trigger's mark reaches outside its box. A trigger's box\n is its label, so the mark goes around it (`focusAround`), `--pm-space-1`\n out or at the system's offset, and reaches out by that and its width. The\n room is at least `--pm-space-2`: the list's padding, its scroll padding\n and the indicator's inset are measured from it, and the floor keeps that\n geometry the same whatever the mark's reach below it. */\n --pm-tabs-reach: max(\n calc(max(var(--pm-space-1), var(--pm-focus-offset)) + var(--pm-focus-width)),\n var(--pm-space-2)\n );\n\n order: -2;\n\n /* A scroll container has no minimum block size, so in a root shorter than\n its content the strip would give up its height and clip its triggers. The\n panel takes the shortfall instead, as it did before the strip scrolled. */\n flex: none;\n\n /* A scroll container clips at its padding edge, so the list is larger than\n its triggers by the reach on every side, and negative margins keep the\n triggers where they are without the padding. The inline end takes no\n negative margin: a box that passes the container's end edge lets the page\n scroll sideways. */\n padding: var(--pm-tabs-reach);\n margin-block: calc(var(--pm-tabs-reach) * -1);\n margin-inline-start: calc(var(--pm-tabs-reach) * -1);\n overflow: auto hidden;\n\n /* Where a tab comes to rest when the browser scrolls to it on focus, or the\n member does when it becomes current: clear of the edge fade. */\n scroll-padding-inline: calc(var(--pm-space-6) + var(--pm-tabs-reach));\n\n /* Where the edge fade below is not supported, a thin scrollbar shows that\n the strip scrolls. Its thumb is the ramp's strongest step, as ScrollArea's\n is. */\n scrollbar-color: var(--pm-border-strong) transparent;\n scrollbar-width: thin;\n}\n\n/* The list's padding edge is the reach past the triggers, so the indicator\n comes in from it by the reach, and ends where its tab ends.\n\n The React foundation's `MotionIndicator` sets `inset-block-start: 0` inline,\n which outranks this stylesheet. With both block insets and the block size\n set, a box is placed from its start inset unless its start margin is `auto`,\n which then takes the space left over. So the margin is `auto`, and the\n indicator rests on its end inset in React as it does in a renderer that\n leaves the start inset alone. */\n.root[data-orientation='horizontal'] > * > .indicator {\n inset-block-end: var(--pm-tabs-reach);\n margin-block-start: auto;\n}\n\n/* The edge fade: an edge with more tabs beyond it fades out, and an edge with\n nothing beyond it does not. It is a mask, so it needs no surface colour, and\n it is driven by the list's own scroll position, so it needs no code.\n *\n * The mask is two layers, each opaque but for a fade one space step wide at\n * one physical edge, and each larger than the list, so its fade can rest\n * outside it. The left layer slides in by position and the right one by size,\n * because two animations of one property would replace each other. Each\n * animation runs over the first or last stretch of the scroll range, as long\n * as the fade is wide. A mask reads only alpha, so `black` is not a colour\n * decision here.\n *\n * The first animation also carries the mask's image, the same at both ends.\n * A list with nothing to scroll has an inactive timeline and neither\n * animation applies, so a list that fits has no mask at all.\n *\n * The animations are written as longhands, with no duration. A scroll-driven\n * animation needs the duration left at `auto`, and a build's minifier writes\n * the `animation` shorthand out with `0s`, which makes each fade switch\n * instead of following the scroll. The React vocabulary's published build is\n * checked for it (`packages/react-ui/packaging.test.ts`).\n *\n * The gradients are physical because a gradient has no logical direction.\n * Right to left, the scroll starts at the right edge, so the two animations\n * swap ranges and run backwards. The direction is read from the root's own\n * `dir`, which Radix and Zag both write from the direction they are given.\n * An ancestor's `dir` is not read, because a right-to-left page can hold a\n * left-to-right strip. `:dir()` is not used, because the minifier rewrites it\n * as a list of languages, and a language is not the strip's direction.\n *\n * With the fade, the scrollbar is hidden, as Carousel's is behind its dots. */\n@supports (animation-timeline: scroll()) {\n .root[data-orientation='horizontal'] > .list {\n scrollbar-width: none;\n mask-repeat: no-repeat;\n mask-composite: intersect;\n animation-name: tabs-fade-left, tabs-fade-right;\n animation-timing-function: linear;\n animation-fill-mode: both;\n animation-timeline: scroll(self inline);\n animation-range:\n 0 var(--pm-space-6),\n calc(100% - var(--pm-space-6)) 100%;\n }\n\n .root[data-orientation='horizontal'][dir='rtl'] > .list {\n animation-direction: reverse;\n animation-range:\n calc(100% - var(--pm-space-6)) 100%,\n 0 var(--pm-space-6);\n }\n}\n\n@keyframes tabs-fade-left {\n from {\n mask-image:\n linear-gradient(to right, transparent, black var(--pm-space-6)),\n linear-gradient(to left, transparent, black var(--pm-space-6));\n mask-position:\n calc(var(--pm-space-6) * -1) 0,\n 0 0;\n }\n\n to {\n mask-image:\n linear-gradient(to right, transparent, black var(--pm-space-6)),\n linear-gradient(to left, transparent, black var(--pm-space-6));\n mask-position:\n 0 0,\n 0 0;\n }\n}\n\n@keyframes tabs-fade-right {\n from {\n mask-size:\n 200% 100%,\n 100% 100%;\n }\n\n to {\n mask-size:\n 200% 100%,\n calc(100% + var(--pm-space-6)) 100%;\n }\n}\n\n/* Fixture box for the spec's strip wider than its container: narrower than a\n phone, built from tokens (96 × 3 = 288px at standard density) because the CSS\n law covers every file in this package, fixtures included. */\n.harness {\n inline-size: calc(var(--pm-space-10) * 3);\n max-inline-size: 100%;\n}\n\n/* vertical — the same strip turned on its side ------------------------------ */\n\n.root[data-orientation='vertical'] {\n flex-direction: row;\n gap: var(--pm-space-6);\n}\n\n.root[data-orientation='vertical'] .list {\n flex-direction: column;\n gap: var(--pm-space-1);\n align-items: stretch;\n align-self: flex-start;\n\n /* The rule runs down the start edge instead of along the bottom. The panel\n can be taller, so keep the list intrinsic and end the rule at its final\n trigger instead of stretching it with the root's cross axis. */\n border-inline-start: 1px solid var(--pm-border-subtle);\n}\n\n/* Start-aligned and padded away from the rule. A vertical tab is a row, and a\n row with a centred label would look misaligned, as a nav item would. */\n.root[data-orientation='vertical'] .trigger {\n justify-content: flex-start;\n padding-block: var(--pm-space-2);\n padding-inline: var(--pm-space-4);\n text-align: start;\n}\n\n.root[data-orientation='vertical'] .indicator {\n inset-block: 0 auto;\n inset-inline-start: 0;\n inline-size: 2px;\n block-size: auto;\n}\n\n/* The panel takes the space the strip does not. */\n.root[data-orientation='vertical'] .content {\n flex: 1;\n min-inline-size: 0;\n padding-block-start: 0;\n}\n"],"mappings":""}
@@ -1,5 +1,5 @@
1
1
  //#region ../recipes/src/overlays/toast.module.css
2
- var e = "_viewport_u3l17_11", t = "_toast_u3l17_56 _focusRing_1lfnc_15 _stateFeedback_lkjqs_17", n = "_tone_u3l17_73", r = "_wait_u3l17_87 _spin_lkjqs_83", i = "_text_u3l17_92", a = "_title_u3l17_97", o = "_description_u3l17_107", s = "_action_u3l17_117", c = "_content_u3l17_122", l = "_close_u3l17_162", u = {
2
+ var e = "_viewport_1um2m_19", t = "_toast_1um2m_18 _focusRing_1hr3n_49 _stateFeedback_lkjqs_17", n = "_tone_1um2m_94", r = "_wait_1um2m_108 _spin_lkjqs_83", i = "_text_1um2m_113", a = "_title_1um2m_118", o = "_description_1um2m_128", s = "_action_1um2m_138", c = "_content_1um2m_143", l = "_close_1um2m_183", u = {
3
3
  viewport: e,
4
4
  toast: t,
5
5
  tone: n,
@@ -1 +1 @@
1
- {"version":3,"file":"toast.module.js","names":[],"sources":["../../../../recipes/src/overlays/toast.module.css"],"sourcesContent":["/* Toast — `design/components/toast.md`.\n *\n * One neutral surface for every tone. Only the icon shows the tone, because\n * many tinted cards together look like an alarm panel, and the title carries\n * the message in words.\n *\n * The motion engine handles enter, exit and reflow (see Toaster.tsx). This file\n * handles the box, the swipe, and the rule that a leaving card is not a click\n * target. */\n\n.viewport {\n position: fixed;\n inset-block-end: var(--pm-space-6);\n inset-inline-end: var(--pm-space-6);\n\n /* `toast`, the top of the stacking order: announcements are above surfaces,\n which are above the frame. So a toast raised while a sheet is open paints\n above the sheet instead of behind it. */\n z-index: var(--pm-z-toast);\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-3);\n inline-size: calc(var(--pm-space-10) * 4);\n max-inline-size: calc(100vw - var(--pm-space-6) * 2);\n max-block-size: calc(100dvh - var(--pm-space-6) * 2);\n overflow-y: auto;\n margin: 0;\n padding: 0;\n list-style: none;\n}\n\n/* The phone register, below 30rem (toast.md) ----------------------------------\n *\n * A fixed-width card in the `bottom-end` corner at `space-6` insets collides\n * with thumbs and the home indicator (`docs/layout.md`). So the viewport becomes\n * full-width (`inset-inline: 0`, with `padding-inline` for the margins), and the\n * bottom inset adds the safe area, which is zero where there is no notch. The\n * cards are full-width because the viewport's width cap no longer applies and\n * a column's items stretch. Max-visible, stack gap, ordering, timers and the\n * x-axis swipe are unchanged.\n *\n * `@media` is allowed here for the overlay class's reason (`docs/layout.md`):\n * the viewport is portalled and `fixed`, which makes it shell-class with the\n * window as its only container. It uses the family's one `30rem` threshold, a\n * rem literal because a breakpoint is geometry, not theme. */\n@media (width < 30rem) {\n .viewport {\n inset-block-end: calc(var(--pm-space-6) + env(safe-area-inset-bottom, 0px));\n inset-inline: 0;\n inline-size: auto;\n max-inline-size: none;\n padding-inline: var(--pm-space-4);\n }\n}\n\n.toast {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback from '../conventions/motion.module.css';\n position: relative;\n display: flex;\n gap: var(--pm-space-3);\n align-items: flex-start;\n padding: var(--pm-inset-pane);\n padding-inline-end: var(--pm-space-8);\n background: var(--pm-bg-raised);\n border: 1px solid var(--pm-border-default);\n border-radius: var(--pm-radius-surface);\n box-shadow: var(--pm-shadow-transient);\n}\n\n/* Top-aligned to the title's line box rather than centred on the card, so in a\n toast with a description the icon stays beside the title. */\n.tone {\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}\n\n/* The promise's pending state: the tone slot with the loading glyph spinning\n in it. It is applied with `.tone` (the layout primitives' two-class idiom)\n for the slot's geometry, because a same-file `composes` would be an edge to\n nothing in the registry's cross-file graph. `spin` is the ambient loop, and\n its period, inverse temperament scaling and three ways of stopping all come\n with the composition. It is muted rather than toned, because a pending\n result has no outcome yet. */\n.wait {\n composes: spin from '../conventions/motion.module.css';\n color: var(--pm-text-muted);\n}\n\n.text {\n flex: 1;\n min-inline-size: 0;\n}\n\n.title {\n overflow-wrap: anywhere;\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.description {\n margin-block-start: var(--pm-space-1);\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-secondary);\n}\n\n.action {\n flex: none;\n margin-inline-start: var(--pm-space-4);\n}\n\n.content {\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-3);\n margin-block-start: var(--pm-space-2);\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n color: var(--pm-text-secondary);\n overflow-wrap: anywhere;\n}\n\n.content > p {\n margin: 0;\n}\n\n/* Toast actions are always tertiary, including native or nested controls supplied\n as content. This container contract outranks a caller's button variant and its\n hover/pressed rules. Keep the existing focus outline, hit area and interaction. */\n.toast :is(button, [role='button'], a[data-variant]) {\n color: var(--pm-accent-text) !important;\n background: transparent !important;\n border: 0 !important;\n box-shadow: none !important;\n}\n\n.toast :is(button, [role='button'], a[data-variant])[data-tone='neutral'] {\n color: var(--pm-text-secondary) !important;\n}\n\n.toast :is(button, [role='button'], a[data-variant])[data-tone='danger'] {\n color: var(--pm-danger-text) !important;\n}\n\n.toast :is(button, [role='button'], a[data-variant]):is(:disabled, [aria-disabled='true']) {\n color: var(--pm-text-disabled) !important;\n}\n\n/* Inside the card's own padding, top-right, like Dialog's. */\n.close {\n position: absolute;\n inset-block-start: var(--pm-space-4);\n inset-inline-end: var(--pm-space-4);\n}\n\n/* tones — the icon and only the icon ---------------------------------------- */\n\n.toast[data-tone='success'] .tone {\n color: var(--pm-success-text);\n}\n\n.toast[data-tone='danger'] .tone {\n color: var(--pm-danger-text);\n}\n\n.toast[data-tone='warning'] .tone {\n color: var(--pm-warning-text);\n}\n\n.toast[data-tone='info'] .tone {\n color: var(--pm-info-text);\n}\n\n/* states -------------------------------------------------------------------- */\n\n/* The pause affordance: while the pointer is on the card the timer is paused,\n and the border changes by the same step as every other hovered surface. */\n.toast:hover {\n border-color: var(--pm-border-strong);\n}\n\n.toast[data-state='open'] {\n pointer-events: auto;\n}\n\n/* A closing card is not a click target. This applies the motion law \"motion\n never blocks input\" (`docs/motion.md`). */\n.toast[data-state='closed'] {\n pointer-events: none;\n}\n\n/* swipe ---------------------------------------------------------------------\n The finger moves the card with `translate`. In React the card is a motion\n surface: the engine animates `translate` for the enter and the exit and\n leaves its last value inline, and an inline value outranks a rule. So the\n two states in which the finger places the card are marked important, which\n outranks an inline value and a running animation. A card under a finger is\n where the finger is. `cancel` is not marked: the card returns to the rest\n value the engine left. */\n\n.toast[data-swipe='move'] {\n translate: var(--radix-toast-swipe-move-x) 0 !important;\n}\n\n.toast[data-swipe='cancel'] {\n translate: 0 0;\n transition: translate var(--pm-motion-duration-control) var(--pm-motion-easing-standard);\n}\n\n/* The card leaves from where the finger let go, and fades there. */\n.toast[data-swipe='end'] {\n translate: var(--radix-toast-swipe-end-x) 0 !important;\n}\n\n/* Reduced-motion projection (`docs/motion.md`). `move` and `end` follow the\n finger and are not animation: in direct manipulation the reader moves the\n card, not the system. Only `cancel` animates, moving the card back to rest,\n and under reduced motion it returns at once. */\n@media (prefers-reduced-motion: reduce) {\n .toast[data-swipe='cancel'] {\n transition: none;\n }\n}\n"],"mappings":""}
1
+ {"version":3,"file":"toast.module.js","names":[],"sources":["../../../../recipes/src/overlays/toast.module.css"],"sourcesContent":["/* Toast — `design/components/toast.md`.\n *\n * One neutral surface for every tone. Only the icon shows the tone, because\n * many tinted cards together look like an alarm panel, and the title carries\n * the message in words.\n *\n * The motion engine handles enter, exit and reflow (see Toaster.tsx). This file\n * handles the box, the swipe, and the rule that a leaving card is not a click\n * target. */\n\n/* The list scrolls when its cards are taller than the window, and a scroll\n * container cuts what it holds at its padding edge, on both axes. So the cards'\n * shadows are drawn inside the list's padding. The list reaches the window's end\n * and bottom edges, where the window cuts a shadow anyway, and its padding there\n * is the cards' inset, `space-6`. On the start side and the top its padding is\n * the reach of a card's shadow. The list takes no pointer events, so its padding\n * and the gaps between the cards take no click meant for the page under them;\n * an open card takes its own (`.toast[data-state='open']`). */\n.viewport {\n /* `space-9`: the reach of the longest transient shadow the shipped systems\n derive, glass's, whose widest layer blurs over 64px with no sideways offset. */\n --pm-toast-reach: var(--pm-space-9);\n\n position: fixed;\n inset-block-end: 0;\n inset-inline-end: 0;\n\n /* `toast`, the top of the stacking order: announcements are above surfaces,\n which are above the frame. So a toast raised while a sheet is open paints\n above the sheet instead of behind it. */\n z-index: var(--pm-z-toast);\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-3);\n\n /* The sizes are the cards' own, and the padding is room around them: the\n width, and the window less an inset at each end. When the cards fill the\n window's height, the room lies past its top edge, so the cards still stop\n `space-6` from it. */\n box-sizing: content-box;\n inline-size: calc(var(--pm-space-10) * 4);\n max-inline-size: calc(100vw - var(--pm-space-6) * 2);\n max-block-size: calc(100dvh - var(--pm-space-6) * 2);\n overflow-y: auto;\n margin: 0;\n padding-block: var(--pm-toast-reach) var(--pm-space-6);\n padding-inline: var(--pm-toast-reach) var(--pm-space-6);\n list-style: none;\n pointer-events: none;\n}\n\n/* The phone register, below 30rem (toast.md) ----------------------------------\n *\n * A fixed-width card in the `bottom-end` corner at `space-6` insets collides\n * with thumbs and the home indicator (`docs/layout.md`). So the viewport becomes\n * full-width (`inset-inline: 0`, with `padding-inline` for the margins), and the\n * bottom padding adds the safe area, which is zero where there is no notch. The\n * cards are full-width because the viewport's width cap no longer applies and\n * a column's items stretch. Both sides are the window's edges, so the shadow\n * needs no room there. Max-visible, stack gap, ordering, timers and the x-axis\n * swipe are unchanged.\n *\n * `@media` is allowed here for the overlay class's reason (`docs/layout.md`):\n * the viewport is portalled and `fixed`, which makes it shell-class with the\n * window as its only container. It uses the family's one `30rem` threshold, a\n * rem literal because a breakpoint is geometry, not theme. */\n@media (width < 30rem) {\n .viewport {\n inset-inline: 0;\n inline-size: auto;\n max-inline-size: none;\n padding-block-end: calc(var(--pm-space-6) + env(safe-area-inset-bottom, 0px));\n padding-inline: var(--pm-space-4);\n }\n}\n\n.toast {\n composes: focusRing from '../conventions/focus.module.css';\n composes: stateFeedback from '../conventions/motion.module.css';\n position: relative;\n display: flex;\n gap: var(--pm-space-3);\n align-items: flex-start;\n padding: var(--pm-inset-pane);\n padding-inline-end: var(--pm-space-8);\n background: var(--pm-bg-raised);\n border: 1px solid var(--pm-border-default);\n border-radius: var(--pm-radius-surface);\n box-shadow: var(--pm-shadow-transient);\n}\n\n/* Top-aligned to the title's line box rather than centred on the card, so in a\n toast with a description the icon stays beside the title. */\n.tone {\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}\n\n/* The promise's pending state: the tone slot with the loading glyph spinning\n in it. It is applied with `.tone` (the layout primitives' two-class idiom)\n for the slot's geometry, because a same-file `composes` would be an edge to\n nothing in the registry's cross-file graph. `spin` is the ambient loop, and\n its period, inverse temperament scaling and three ways of stopping all come\n with the composition. It is muted rather than toned, because a pending\n result has no outcome yet. */\n.wait {\n composes: spin from '../conventions/motion.module.css';\n color: var(--pm-text-muted);\n}\n\n.text {\n flex: 1;\n min-inline-size: 0;\n}\n\n.title {\n overflow-wrap: anywhere;\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.description {\n margin-block-start: var(--pm-space-1);\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-secondary);\n}\n\n.action {\n flex: none;\n margin-inline-start: var(--pm-space-4);\n}\n\n.content {\n display: flex;\n flex-direction: column;\n gap: var(--pm-space-3);\n margin-block-start: var(--pm-space-2);\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n color: var(--pm-text-secondary);\n overflow-wrap: anywhere;\n}\n\n.content > p {\n margin: 0;\n}\n\n/* Toast actions are always tertiary, including native or nested controls supplied\n as content. This container contract outranks a caller's button variant and its\n hover/pressed rules. Keep the existing focus outline, hit area and interaction. */\n.toast :is(button, [role='button'], a[data-variant]) {\n color: var(--pm-accent-text) !important;\n background: transparent !important;\n border: 0 !important;\n box-shadow: none !important;\n}\n\n.toast :is(button, [role='button'], a[data-variant])[data-tone='neutral'] {\n color: var(--pm-text-secondary) !important;\n}\n\n.toast :is(button, [role='button'], a[data-variant])[data-tone='danger'] {\n color: var(--pm-danger-text) !important;\n}\n\n.toast :is(button, [role='button'], a[data-variant]):is(:disabled, [aria-disabled='true']) {\n color: var(--pm-text-disabled) !important;\n}\n\n/* Inside the card's own padding, top-right, like Dialog's. */\n.close {\n position: absolute;\n inset-block-start: var(--pm-space-4);\n inset-inline-end: var(--pm-space-4);\n}\n\n/* tones — the icon and only the icon ---------------------------------------- */\n\n.toast[data-tone='success'] .tone {\n color: var(--pm-success-text);\n}\n\n.toast[data-tone='danger'] .tone {\n color: var(--pm-danger-text);\n}\n\n.toast[data-tone='warning'] .tone {\n color: var(--pm-warning-text);\n}\n\n.toast[data-tone='info'] .tone {\n color: var(--pm-info-text);\n}\n\n/* states -------------------------------------------------------------------- */\n\n/* The pause affordance: while the pointer is on the card the timer is paused,\n and the border changes by the same step as every other hovered surface. */\n.toast:hover {\n border-color: var(--pm-border-strong);\n}\n\n.toast[data-state='open'] {\n pointer-events: auto;\n}\n\n/* A closing card is not a click target. This applies the motion law \"motion\n never blocks input\" (`docs/motion.md`). */\n.toast[data-state='closed'] {\n pointer-events: none;\n}\n\n/* swipe ---------------------------------------------------------------------\n The finger moves the card with `translate`. In React the card is a motion\n surface: the engine animates `translate` for the enter and the exit and\n leaves its last value inline, and an inline value outranks a rule. So the\n two states in which the finger places the card are marked important, which\n outranks an inline value and a running animation. A card under a finger is\n where the finger is. `cancel` is not marked: the card returns to the rest\n value the engine left. */\n\n.toast[data-swipe='move'] {\n translate: var(--radix-toast-swipe-move-x) 0 !important;\n}\n\n.toast[data-swipe='cancel'] {\n translate: 0 0;\n transition: translate var(--pm-motion-duration-control) var(--pm-motion-easing-standard);\n}\n\n/* The card leaves from where the finger let go, and fades there. */\n.toast[data-swipe='end'] {\n translate: var(--radix-toast-swipe-end-x) 0 !important;\n}\n\n/* Reduced-motion projection (`docs/motion.md`). `move` and `end` follow the\n finger and are not animation: in direct manipulation the reader moves the\n card, not the system. Only `cancel` animates, moving the card back to rest,\n and under reduced motion it returns at once. */\n@media (prefers-reduced-motion: reduce) {\n .toast[data-swipe='cancel'] {\n transition: none;\n }\n}\n"],"mappings":""}
@@ -1,5 +1,5 @@
1
1
  //#region ../recipes/src/overlays/tour.module.css
2
- var e = "_target_14z8h_12", t = "_scrim_14z8h_19", n = "_spotlight_14z8h_32", r = "_positioner_14z8h_53", i = "_panel_14z8h_69", a = "_title_14z8h_102", o = "_description_14z8h_115", s = "_body_14z8h_119", c = "_position_14z8h_53", l = "_actions_14z8h_143", u = "_close_14z8h_151", d = {
2
+ var e = "_target_h2ols_12", t = "_scrim_h2ols_19", n = "_spotlight_h2ols_32", r = "_positioner_h2ols_53", i = "_panel_h2ols_69", a = "_title_h2ols_104", o = "_description_h2ols_117", s = "_body_h2ols_121", c = "_position_h2ols_53", l = "_actions_h2ols_145", u = "_close_h2ols_153", d = {
3
3
  target: e,
4
4
  scrim: t,
5
5
  spotlight: n,
@@ -1 +1 @@
1
- {"version":3,"file":"tour.module.js","names":[],"sources":["../../../../recipes/src/overlays/tour.module.css"],"sourcesContent":["/* Tour — `design/components/tour.md`.\n *\n * The motion engine animates the scrim and the panel, as it animates Dialog's\n * scrim and Popover's panel. This file draws their boxes. The member writes the\n * geometry it measures as custom properties on the elements: the panel's corner\n * (`--pm-tour-x`, `--pm-tour-y`) and the target's rectangle\n * (`--pm-tour-hole-*`). The positions are physical, because they are the\n * window's coordinates, which do not turn in a right-to-left page. */\n\n/* The part a step points at adds no box, so the layout around what it wraps\n does not change. The member measures the boxes inside it. */\n.target {\n display: contents;\n}\n\n/* A step with no target, or one whose target is not drawn: Dialog's scrim. It\n takes presses, because the modal substrate turns pointer events off on the\n page, and a press there ends nothing. */\n.scrim {\n position: fixed;\n inset: 0;\n z-index: var(--pm-z-overlay);\n pointer-events: auto;\n background: var(--pm-bg-scrim);\n}\n\n/* A step with a target: the scrim with the target cut out of it. The element\n is the cut-out, one space step larger than the target on every side, and its\n shadow is the scrim, spread past the window on every side, as ImageEditor's\n rounded mask is. The cut-out is a difference of lightness with an edge, not a\n colour, so it reads in every system and in forced colours. */\n.spotlight {\n --pm-tour-hole-x: 0px;\n --pm-tour-hole-y: 0px;\n --pm-tour-hole-width: 0px;\n --pm-tour-hole-height: 0px;\n\n position: fixed;\n top: calc(var(--pm-tour-hole-y) - var(--pm-space-2));\n left: calc(var(--pm-tour-hole-x) - var(--pm-space-2));\n z-index: var(--pm-z-overlay);\n width: calc(var(--pm-tour-hole-width) + var(--pm-space-2) * 2);\n height: calc(var(--pm-tour-hole-height) + var(--pm-space-2) * 2);\n pointer-events: none;\n border-radius: var(--pm-radius-control);\n outline: 2px solid var(--pm-border-strong);\n box-shadow: 0 0 0 100vmax var(--pm-bg-scrim);\n}\n\n/* The panel's box with its margin, at the corner the engine computed. It takes\n no presses itself; the panel does. Its width is its content's, not the room\n left of its corner, so the box the engine measures is the box it places. */\n.positioner {\n --pm-tour-x: 0px;\n --pm-tour-y: 0px;\n\n position: fixed;\n top: var(--pm-tour-y);\n left: var(--pm-tour-x);\n z-index: var(--pm-z-overlay);\n inline-size: max-content;\n pointer-events: none;\n}\n\n/* Popover's surface. The margin is the gap between the panel and its target\n and between the panel and the window's edge, so the engine's placement reads\n no length of its own. The width is Popover's, and at phone width the window\n less that margin on each side, so the panel never overflows it. */\n.panel {\n position: relative;\n display: grid;\n grid-template-columns: minmax(0, 1fr) auto;\n column-gap: var(--pm-space-3);\n align-items: center;\n inline-size: max-content;\n max-inline-size: min(calc(var(--pm-space-10) * 4), calc(100vw - var(--pm-space-3) * 2));\n\n /* `vh` here and `dvh` in the `@supports` block below, as Dialog's panel is,\n because a dedupe minifier deletes a same-property pair. */\n max-block-size: calc(100vh - var(--pm-space-3) * 2);\n margin: var(--pm-space-3);\n padding: var(--pm-inset-pane);\n overflow-y: auto;\n pointer-events: auto;\n background: var(--pm-bg-overlay);\n border: 1px solid var(--pm-border-subtle);\n border-radius: var(--pm-radius-surface);\n box-shadow: var(--pm-shadow-transient);\n}\n\n@supports (height: 1dvh) {\n .panel {\n max-block-size: calc(100dvh - var(--pm-space-3) * 2);\n }\n}\n\n.panel:focus-visible {\n outline: var(--pm-focus-width) solid var(--pm-border-focus);\n outline-offset: var(--pm-focus-offset);\n}\n\n.title {\n grid-column: 1 / -1;\n padding-inline-end: var(--pm-space-8);\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}\n\n/* The panel's description: the body and the position, read together. It adds\n no box, so both lay out in the panel's grid. */\n.description {\n display: contents;\n}\n\n.body {\n grid-column: 1 / -1;\n margin-block-start: var(--pm-space-2);\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-secondary);\n}\n\n/* The position shares the last row with the actions, at its start. */\n.position {\n grid-column: 1;\n margin-block-start: var(--pm-space-5);\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 font-variant-numeric: tabular-nums;\n color: var(--pm-text-secondary);\n}\n\n.actions {\n display: flex;\n grid-column: 2;\n gap: var(--pm-space-2);\n justify-content: flex-end;\n margin-block-start: var(--pm-space-5);\n}\n\n.close {\n position: absolute;\n inset-block-start: var(--pm-space-3);\n inset-inline-end: var(--pm-space-3);\n}\n\n/* Glass (`depth: glass`): Popover's material, for the same surface. */\n@container style(--pm-axis-depth: glass) {\n .panel {\n background: var(--pm-material-surface);\n backdrop-filter: blur(var(--pm-material-blur)) saturate(var(--pm-material-saturate));\n }\n}\n"],"mappings":""}
1
+ {"version":3,"file":"tour.module.js","names":[],"sources":["../../../../recipes/src/overlays/tour.module.css"],"sourcesContent":["/* Tour — `design/components/tour.md`.\n *\n * The motion engine animates the scrim and the panel, as it animates Dialog's\n * scrim and Popover's panel. This file draws their boxes. The member writes the\n * geometry it measures as custom properties on the elements: the panel's corner\n * (`--pm-tour-x`, `--pm-tour-y`) and the target's rectangle\n * (`--pm-tour-hole-*`). The positions are physical, because they are the\n * window's coordinates, which do not turn in a right-to-left page. */\n\n/* The part a step points at adds no box, so the layout around what it wraps\n does not change. The member measures the boxes inside it. */\n.target {\n display: contents;\n}\n\n/* A step with no target, or one whose target is not drawn: Dialog's scrim. It\n takes presses, because the modal substrate turns pointer events off on the\n page, and a press there ends nothing. */\n.scrim {\n position: fixed;\n inset: 0;\n z-index: var(--pm-z-overlay);\n pointer-events: auto;\n background: var(--pm-bg-scrim);\n}\n\n/* A step with a target: the scrim with the target cut out of it. The element\n is the cut-out, one space step larger than the target on every side, and its\n shadow is the scrim, spread past the window on every side, as ImageEditor's\n rounded mask is. The cut-out is a difference of lightness with an edge, not a\n colour, so it reads in every system and in forced colours. */\n.spotlight {\n --pm-tour-hole-x: 0px;\n --pm-tour-hole-y: 0px;\n --pm-tour-hole-width: 0px;\n --pm-tour-hole-height: 0px;\n\n position: fixed;\n top: calc(var(--pm-tour-hole-y) - var(--pm-space-2));\n left: calc(var(--pm-tour-hole-x) - var(--pm-space-2));\n z-index: var(--pm-z-overlay);\n width: calc(var(--pm-tour-hole-width) + var(--pm-space-2) * 2);\n height: calc(var(--pm-tour-hole-height) + var(--pm-space-2) * 2);\n pointer-events: none;\n border-radius: var(--pm-radius-control);\n outline: 2px solid var(--pm-border-strong);\n box-shadow: 0 0 0 100vmax var(--pm-bg-scrim);\n}\n\n/* The panel's box with its margin, at the corner the engine computed. It takes\n no presses itself; the panel does. Its width is its content's, not the room\n left of its corner, so the box the engine measures is the box it places. */\n.positioner {\n --pm-tour-x: 0px;\n --pm-tour-y: 0px;\n\n position: fixed;\n top: var(--pm-tour-y);\n left: var(--pm-tour-x);\n z-index: var(--pm-z-overlay);\n inline-size: max-content;\n pointer-events: none;\n}\n\n/* Popover's surface. The margin is the gap between the panel and its target\n and between the panel and the window's edge, so the engine's placement reads\n no length of its own. The width is Popover's, and at phone width the window\n less that margin on each side, so the panel never overflows it. */\n.panel {\n position: relative;\n display: grid;\n grid-template-columns: minmax(0, 1fr) auto;\n column-gap: var(--pm-space-3);\n align-items: center;\n inline-size: max-content;\n max-inline-size: min(calc(var(--pm-space-10) * 4), calc(100vw - var(--pm-space-3) * 2));\n\n /* `vh` here and `dvh` in the `@supports` block below, as Dialog's panel is,\n because a dedupe minifier deletes a same-property pair. */\n max-block-size: calc(100vh - var(--pm-space-3) * 2);\n margin: var(--pm-space-3);\n padding: var(--pm-inset-pane);\n overflow-y: auto;\n pointer-events: auto;\n background: var(--pm-bg-overlay);\n border: 1px solid var(--pm-border-subtle);\n border-radius: var(--pm-radius-surface);\n box-shadow: var(--pm-shadow-transient);\n}\n\n@supports (height: 1dvh) {\n .panel {\n max-block-size: calc(100dvh - var(--pm-space-3) * 2);\n }\n}\n\n/* The panel takes focus when a step opens. The shared convention's mark, restated on the panel:\n the outline in the focus colour at the system's offset, inside the panel's edge by default. */\n.panel:focus-visible {\n outline: var(--pm-focus-width) solid var(--pm-border-focus-solid);\n outline-offset: var(--pm-focus-offset);\n}\n\n.title {\n grid-column: 1 / -1;\n padding-inline-end: var(--pm-space-8);\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}\n\n/* The panel's description: the body and the position, read together. It adds\n no box, so both lay out in the panel's grid. */\n.description {\n display: contents;\n}\n\n.body {\n grid-column: 1 / -1;\n margin-block-start: var(--pm-space-2);\n font-family: var(--pm-text-sm-family);\n font-size: var(--pm-text-sm-size);\n font-weight: var(--pm-text-sm-weight);\n line-height: var(--pm-text-sm-line-height);\n letter-spacing: var(--pm-text-sm-tracking);\n color: var(--pm-text-secondary);\n}\n\n/* The position shares the last row with the actions, at its start. */\n.position {\n grid-column: 1;\n margin-block-start: var(--pm-space-5);\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 font-variant-numeric: tabular-nums;\n color: var(--pm-text-secondary);\n}\n\n.actions {\n display: flex;\n grid-column: 2;\n gap: var(--pm-space-2);\n justify-content: flex-end;\n margin-block-start: var(--pm-space-5);\n}\n\n.close {\n position: absolute;\n inset-block-start: var(--pm-space-3);\n inset-inline-end: var(--pm-space-3);\n}\n\n/* Glass (`depth: glass`): Popover's material, for the same surface. */\n@container style(--pm-axis-depth: glass) {\n .panel {\n background: var(--pm-material-surface);\n backdrop-filter: blur(var(--pm-material-blur)) saturate(var(--pm-material-saturate));\n }\n}\n"],"mappings":""}