@wordpress/components 32.1.1-next.v.0 → 32.2.0

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 (830) hide show
  1. package/AGENTS.md +17 -0
  2. package/CHANGELOG.md +35 -0
  3. package/CLAUDE.md +1 -0
  4. package/build/angle-picker-control/angle-circle.cjs +2 -2
  5. package/build/angle-picker-control/angle-circle.cjs.map +2 -2
  6. package/build/autocomplete/index.cjs +1 -1
  7. package/build/autocomplete/index.cjs.map +2 -2
  8. package/build/avatar/component.cjs +99 -0
  9. package/build/avatar/component.cjs.map +7 -0
  10. package/build/avatar/index.cjs +37 -0
  11. package/build/avatar/index.cjs.map +7 -0
  12. package/build/avatar/types.cjs +19 -0
  13. package/build/avatar/types.cjs.map +7 -0
  14. package/build/avatar-group/component.cjs +60 -0
  15. package/build/avatar-group/component.cjs.map +7 -0
  16. package/build/avatar-group/index.cjs +37 -0
  17. package/build/avatar-group/index.cjs.map +7 -0
  18. package/build/avatar-group/types.cjs +19 -0
  19. package/build/avatar-group/types.cjs.map +7 -0
  20. package/build/base-control/index.cjs.map +1 -1
  21. package/build/base-control/styles/base-control-styles.cjs +1 -2
  22. package/build/base-control/styles/base-control-styles.cjs.map +2 -2
  23. package/build/border-box-control/styles.cjs +2 -4
  24. package/build/border-box-control/styles.cjs.map +2 -2
  25. package/build/border-control/styles.cjs +1 -2
  26. package/build/border-control/styles.cjs.map +2 -2
  27. package/build/box-control/styles/box-control-icon-styles.cjs +8 -16
  28. package/build/box-control/styles/box-control-icon-styles.cjs.map +2 -2
  29. package/build/box-control/styles/box-control-styles.cjs +5 -10
  30. package/build/box-control/styles/box-control-styles.cjs.map +2 -2
  31. package/build/card/get-padding-by-size.cjs +1 -2
  32. package/build/card/get-padding-by-size.cjs.map +2 -2
  33. package/build/card/styles.cjs +8 -16
  34. package/build/card/styles.cjs.map +2 -2
  35. package/build/clipboard-button/index.cjs +1 -1
  36. package/build/clipboard-button/index.cjs.map +2 -2
  37. package/build/color-picker/color-copy-button.cjs +1 -1
  38. package/build/color-picker/color-copy-button.cjs.map +2 -2
  39. package/build/confirm-dialog/component.cjs +2 -2
  40. package/build/confirm-dialog/component.cjs.map +2 -2
  41. package/build/confirm-dialog/styles.cjs +1 -2
  42. package/build/confirm-dialog/styles.cjs.map +2 -2
  43. package/build/context/context-system-provider.cjs.map +1 -1
  44. package/build/custom-gradient-picker/gradient-bar/control-points.cjs +2 -2
  45. package/build/custom-gradient-picker/gradient-bar/control-points.cjs.map +2 -2
  46. package/build/custom-gradient-picker/styles/custom-gradient-picker-styles.cjs +2 -4
  47. package/build/custom-gradient-picker/styles/custom-gradient-picker-styles.cjs.map +2 -2
  48. package/build/custom-select-control-v2/styles.cjs +1 -2
  49. package/build/custom-select-control-v2/styles.cjs.map +2 -2
  50. package/build/date-time/date/index.cjs +1 -1
  51. package/build/date-time/date/index.cjs.map +2 -2
  52. package/build/date-time/date/styles.cjs +2 -4
  53. package/build/date-time/date/styles.cjs.map +2 -2
  54. package/build/date-time/date-time/styles.cjs +1 -2
  55. package/build/date-time/date-time/styles.cjs.map +2 -2
  56. package/build/date-time/time/styles.cjs +3 -6
  57. package/build/date-time/time/styles.cjs.map +2 -2
  58. package/build/date-time/utils.cjs +1 -1
  59. package/build/date-time/utils.cjs.map +2 -2
  60. package/build/disabled/context.cjs +30 -0
  61. package/build/disabled/context.cjs.map +7 -0
  62. package/build/disabled/index.cjs +13 -5
  63. package/build/disabled/index.cjs.map +3 -3
  64. package/build/disabled/styles/disabled-styles.cjs +1 -2
  65. package/build/disabled/styles/disabled-styles.cjs.map +2 -2
  66. package/build/divider/styles.cjs +1 -2
  67. package/build/divider/styles.cjs.map +2 -2
  68. package/build/dropdown/index.cjs +1 -1
  69. package/build/dropdown/index.cjs.map +2 -2
  70. package/build/elevation/styles.cjs +1 -2
  71. package/build/elevation/styles.cjs.map +2 -2
  72. package/build/external-link/index.cjs +5 -1
  73. package/build/external-link/index.cjs.map +2 -2
  74. package/build/flex/styles.cjs +5 -10
  75. package/build/flex/styles.cjs.map +2 -2
  76. package/build/focal-point-picker/styles/focal-point-picker-style.cjs +6 -12
  77. package/build/focal-point-picker/styles/focal-point-picker-style.cjs.map +2 -2
  78. package/build/font-size-picker/styles.cjs +2 -4
  79. package/build/font-size-picker/styles.cjs.map +2 -2
  80. package/build/higher-order/with-spoken-messages/index.cjs.map +2 -2
  81. package/build/input-control/styles/input-control-styles.cjs +4 -8
  82. package/build/input-control/styles/input-control-styles.cjs.map +2 -2
  83. package/build/item-group/styles.cjs +2 -4
  84. package/build/item-group/styles.cjs.map +2 -2
  85. package/build/menu/styles.cjs +1 -2
  86. package/build/menu/styles.cjs.map +2 -2
  87. package/build/modal/context.cjs +33 -0
  88. package/build/modal/context.cjs.map +7 -0
  89. package/build/modal/index.cjs +5 -6
  90. package/build/modal/index.cjs.map +2 -2
  91. package/build/modal/use-modal-exit-animation.cjs +2 -2
  92. package/build/modal/use-modal-exit-animation.cjs.map +2 -2
  93. package/build/navigation/styles/navigation-styles.cjs +3 -6
  94. package/build/navigation/styles/navigation-styles.cjs.map +2 -2
  95. package/build/navigator/styles.cjs +2 -4
  96. package/build/navigator/styles.cjs.map +2 -2
  97. package/build/number-control/index.cjs +1 -1
  98. package/build/number-control/index.cjs.map +2 -2
  99. package/build/number-control/styles/number-control-styles.cjs +1 -2
  100. package/build/number-control/styles/number-control-styles.cjs.map +2 -2
  101. package/build/palette-edit/index.cjs +1 -1
  102. package/build/palette-edit/index.cjs.map +2 -2
  103. package/build/palette-edit/styles.cjs +1 -2
  104. package/build/palette-edit/styles.cjs.map +2 -2
  105. package/build/panel/body.cjs +1 -1
  106. package/build/panel/body.cjs.map +2 -2
  107. package/build/popover/context.cjs +33 -0
  108. package/build/popover/context.cjs.map +7 -0
  109. package/build/popover/index.cjs +3 -4
  110. package/build/popover/index.cjs.map +3 -3
  111. package/build/private-apis.cjs +6 -2
  112. package/build/private-apis.cjs.map +3 -3
  113. package/build/progress-bar/styles.cjs +2 -4
  114. package/build/progress-bar/styles.cjs.map +2 -2
  115. package/build/range-control/index.cjs +1 -1
  116. package/build/range-control/index.cjs.map +2 -2
  117. package/build/range-control/styles/range-control-styles.cjs +30 -43
  118. package/build/range-control/styles/range-control-styles.cjs.map +2 -2
  119. package/build/resizable-box/resize-tooltip/styles/resize-tooltip.styles.cjs +2 -4
  120. package/build/resizable-box/resize-tooltip/styles/resize-tooltip.styles.cjs.map +2 -2
  121. package/build/resizable-box/resize-tooltip/utils.cjs +1 -1
  122. package/build/resizable-box/resize-tooltip/utils.cjs.map +2 -2
  123. package/build/sandbox/index.cjs +1 -1
  124. package/build/sandbox/index.cjs.map +2 -2
  125. package/build/scrollable/styles.cjs +6 -12
  126. package/build/scrollable/styles.cjs.map +2 -2
  127. package/build/search-control/styles.cjs +2 -4
  128. package/build/search-control/styles.cjs.map +2 -2
  129. package/build/select-control/styles/select-control-styles.cjs +2 -4
  130. package/build/select-control/styles/select-control-styles.cjs.map +2 -2
  131. package/build/slot-fill/index.cjs +3 -2
  132. package/build/slot-fill/index.cjs.map +2 -2
  133. package/build/spinner/styles.cjs +1 -2
  134. package/build/spinner/styles.cjs.map +2 -2
  135. package/build/tabs/styles.cjs +5 -6
  136. package/build/tabs/styles.cjs.map +2 -2
  137. package/build/text/hook.cjs +1 -2
  138. package/build/text/hook.cjs.map +2 -2
  139. package/build/text/styles.cjs +7 -9
  140. package/build/text/styles.cjs.map +2 -2
  141. package/build/text/utils.cjs.map +1 -1
  142. package/build/theme/styles.cjs +1 -2
  143. package/build/theme/styles.cjs.map +2 -2
  144. package/build/toggle-control/index.cjs +6 -2
  145. package/build/toggle-control/index.cjs.map +2 -2
  146. package/build/toggle-group-control/toggle-group-control/styles.cjs +7 -11
  147. package/build/toggle-group-control/toggle-group-control/styles.cjs.map +2 -2
  148. package/build/toggle-group-control/toggle-group-control-option-base/styles.cjs +2 -4
  149. package/build/toggle-group-control/toggle-group-control-option-base/styles.cjs.map +2 -2
  150. package/build/tools-panel/styles.cjs +4 -8
  151. package/build/tools-panel/styles.cjs.map +2 -2
  152. package/build/tooltip/context.cjs +35 -0
  153. package/build/tooltip/context.cjs.map +7 -0
  154. package/build/tooltip/index.cjs +3 -7
  155. package/build/tooltip/index.cjs.map +2 -2
  156. package/build/tree-grid/roving-tab-index-item.cjs +1 -1
  157. package/build/tree-grid/roving-tab-index-item.cjs.map +2 -2
  158. package/build/truncate/styles.cjs +1 -2
  159. package/build/truncate/styles.cjs.map +2 -2
  160. package/build/utils/box-sizing.cjs +1 -2
  161. package/build/utils/box-sizing.cjs.map +2 -2
  162. package/build/utils/element-rect.cjs +1 -1
  163. package/build/utils/element-rect.cjs.map +2 -2
  164. package/build/utils/hooks/use-cx.cjs.map +2 -2
  165. package/build/utils/hooks/use-update-effect.cjs.map +1 -1
  166. package/build/utils/rtl.cjs +2 -2
  167. package/build/utils/rtl.cjs.map +2 -2
  168. package/build/utils/use-responsive-value.cjs +1 -7
  169. package/build/utils/use-responsive-value.cjs.map +2 -2
  170. package/build/validated-form-controls/components/toggle-control.cjs +1 -5
  171. package/build/validated-form-controls/components/toggle-control.cjs.map +2 -2
  172. package/build/z-stack/styles.cjs +1 -2
  173. package/build/z-stack/styles.cjs.map +2 -2
  174. package/build-module/angle-picker-control/angle-circle.mjs +2 -2
  175. package/build-module/angle-picker-control/angle-circle.mjs.map +2 -2
  176. package/build-module/autocomplete/index.mjs +1 -1
  177. package/build-module/autocomplete/index.mjs.map +2 -2
  178. package/build-module/avatar/component.mjs +68 -0
  179. package/build-module/avatar/component.mjs.map +7 -0
  180. package/build-module/avatar/index.mjs +6 -0
  181. package/build-module/avatar/index.mjs.map +7 -0
  182. package/build-module/avatar/types.mjs +1 -0
  183. package/build-module/avatar/types.mjs.map +7 -0
  184. package/build-module/avatar-group/component.mjs +29 -0
  185. package/build-module/avatar-group/component.mjs.map +7 -0
  186. package/build-module/avatar-group/index.mjs +6 -0
  187. package/build-module/avatar-group/index.mjs.map +7 -0
  188. package/build-module/avatar-group/types.mjs +1 -0
  189. package/build-module/avatar-group/types.mjs.map +7 -0
  190. package/build-module/base-control/index.mjs.map +1 -1
  191. package/build-module/base-control/styles/base-control-styles.mjs +1 -2
  192. package/build-module/base-control/styles/base-control-styles.mjs.map +2 -2
  193. package/build-module/border-box-control/styles.mjs +2 -4
  194. package/build-module/border-box-control/styles.mjs.map +2 -2
  195. package/build-module/border-control/styles.mjs +1 -2
  196. package/build-module/border-control/styles.mjs.map +2 -2
  197. package/build-module/box-control/styles/box-control-icon-styles.mjs +8 -16
  198. package/build-module/box-control/styles/box-control-icon-styles.mjs.map +2 -2
  199. package/build-module/box-control/styles/box-control-styles.mjs +5 -10
  200. package/build-module/box-control/styles/box-control-styles.mjs.map +2 -2
  201. package/build-module/card/get-padding-by-size.mjs +1 -2
  202. package/build-module/card/get-padding-by-size.mjs.map +2 -2
  203. package/build-module/card/styles.mjs +8 -16
  204. package/build-module/card/styles.mjs.map +2 -2
  205. package/build-module/clipboard-button/index.mjs +1 -1
  206. package/build-module/clipboard-button/index.mjs.map +2 -2
  207. package/build-module/color-picker/color-copy-button.mjs +1 -1
  208. package/build-module/color-picker/color-copy-button.mjs.map +2 -2
  209. package/build-module/confirm-dialog/component.mjs +2 -2
  210. package/build-module/confirm-dialog/component.mjs.map +2 -2
  211. package/build-module/confirm-dialog/styles.mjs +1 -2
  212. package/build-module/confirm-dialog/styles.mjs.map +2 -2
  213. package/build-module/context/context-system-provider.mjs.map +1 -1
  214. package/build-module/custom-gradient-picker/gradient-bar/control-points.mjs +2 -2
  215. package/build-module/custom-gradient-picker/gradient-bar/control-points.mjs.map +2 -2
  216. package/build-module/custom-gradient-picker/styles/custom-gradient-picker-styles.mjs +2 -4
  217. package/build-module/custom-gradient-picker/styles/custom-gradient-picker-styles.mjs.map +2 -2
  218. package/build-module/custom-select-control-v2/styles.mjs +1 -2
  219. package/build-module/custom-select-control-v2/styles.mjs.map +2 -2
  220. package/build-module/date-time/date/index.mjs +1 -1
  221. package/build-module/date-time/date/index.mjs.map +2 -2
  222. package/build-module/date-time/date/styles.mjs +2 -4
  223. package/build-module/date-time/date/styles.mjs.map +2 -2
  224. package/build-module/date-time/date-time/styles.mjs +1 -2
  225. package/build-module/date-time/date-time/styles.mjs.map +2 -2
  226. package/build-module/date-time/time/styles.mjs +3 -6
  227. package/build-module/date-time/time/styles.mjs.map +2 -2
  228. package/build-module/date-time/utils.mjs +1 -1
  229. package/build-module/date-time/utils.mjs.map +2 -2
  230. package/build-module/disabled/context.mjs +9 -0
  231. package/build-module/disabled/context.mjs.map +7 -0
  232. package/build-module/disabled/index.mjs +1 -3
  233. package/build-module/disabled/index.mjs.map +2 -2
  234. package/build-module/disabled/styles/disabled-styles.mjs +1 -2
  235. package/build-module/disabled/styles/disabled-styles.mjs.map +2 -2
  236. package/build-module/divider/styles.mjs +1 -2
  237. package/build-module/divider/styles.mjs.map +2 -2
  238. package/build-module/dropdown/index.mjs +1 -1
  239. package/build-module/dropdown/index.mjs.map +2 -2
  240. package/build-module/elevation/styles.mjs +1 -2
  241. package/build-module/elevation/styles.mjs.map +2 -2
  242. package/build-module/external-link/index.mjs +5 -1
  243. package/build-module/external-link/index.mjs.map +2 -2
  244. package/build-module/flex/styles.mjs +5 -10
  245. package/build-module/flex/styles.mjs.map +2 -2
  246. package/build-module/focal-point-picker/styles/focal-point-picker-style.mjs +6 -12
  247. package/build-module/focal-point-picker/styles/focal-point-picker-style.mjs.map +2 -2
  248. package/build-module/font-size-picker/styles.mjs +2 -4
  249. package/build-module/font-size-picker/styles.mjs.map +2 -2
  250. package/build-module/higher-order/with-spoken-messages/index.mjs.map +2 -2
  251. package/build-module/input-control/styles/input-control-styles.mjs +4 -8
  252. package/build-module/input-control/styles/input-control-styles.mjs.map +2 -2
  253. package/build-module/item-group/styles.mjs +2 -4
  254. package/build-module/item-group/styles.mjs.map +2 -2
  255. package/build-module/menu/styles.mjs +1 -2
  256. package/build-module/menu/styles.mjs.map +2 -2
  257. package/build-module/modal/context.mjs +8 -0
  258. package/build-module/modal/context.mjs.map +7 -0
  259. package/build-module/modal/index.mjs +4 -5
  260. package/build-module/modal/index.mjs.map +2 -2
  261. package/build-module/modal/use-modal-exit-animation.mjs +2 -2
  262. package/build-module/modal/use-modal-exit-animation.mjs.map +2 -2
  263. package/build-module/navigation/styles/navigation-styles.mjs +3 -6
  264. package/build-module/navigation/styles/navigation-styles.mjs.map +2 -2
  265. package/build-module/navigator/styles.mjs +2 -4
  266. package/build-module/navigator/styles.mjs.map +2 -2
  267. package/build-module/number-control/index.mjs +1 -1
  268. package/build-module/number-control/index.mjs.map +2 -2
  269. package/build-module/number-control/styles/number-control-styles.mjs +1 -2
  270. package/build-module/number-control/styles/number-control-styles.mjs.map +2 -2
  271. package/build-module/palette-edit/index.mjs +1 -1
  272. package/build-module/palette-edit/index.mjs.map +2 -2
  273. package/build-module/palette-edit/styles.mjs +1 -2
  274. package/build-module/palette-edit/styles.mjs.map +2 -2
  275. package/build-module/panel/body.mjs +1 -1
  276. package/build-module/panel/body.mjs.map +2 -2
  277. package/build-module/popover/context.mjs +8 -0
  278. package/build-module/popover/context.mjs.map +7 -0
  279. package/build-module/popover/index.mjs +2 -3
  280. package/build-module/popover/index.mjs.map +2 -2
  281. package/build-module/private-apis.mjs +6 -2
  282. package/build-module/private-apis.mjs.map +2 -2
  283. package/build-module/progress-bar/styles.mjs +2 -4
  284. package/build-module/progress-bar/styles.mjs.map +2 -2
  285. package/build-module/range-control/index.mjs +1 -1
  286. package/build-module/range-control/index.mjs.map +2 -2
  287. package/build-module/range-control/styles/range-control-styles.mjs +30 -43
  288. package/build-module/range-control/styles/range-control-styles.mjs.map +2 -2
  289. package/build-module/resizable-box/resize-tooltip/styles/resize-tooltip.styles.mjs +2 -4
  290. package/build-module/resizable-box/resize-tooltip/styles/resize-tooltip.styles.mjs.map +2 -2
  291. package/build-module/resizable-box/resize-tooltip/utils.mjs +1 -1
  292. package/build-module/resizable-box/resize-tooltip/utils.mjs.map +2 -2
  293. package/build-module/sandbox/index.mjs +1 -1
  294. package/build-module/sandbox/index.mjs.map +2 -2
  295. package/build-module/scrollable/styles.mjs +6 -12
  296. package/build-module/scrollable/styles.mjs.map +2 -2
  297. package/build-module/search-control/styles.mjs +2 -4
  298. package/build-module/search-control/styles.mjs.map +2 -2
  299. package/build-module/select-control/styles/select-control-styles.mjs +2 -4
  300. package/build-module/select-control/styles/select-control-styles.mjs.map +2 -2
  301. package/build-module/slot-fill/index.mjs +3 -2
  302. package/build-module/slot-fill/index.mjs.map +2 -2
  303. package/build-module/spinner/styles.mjs +1 -2
  304. package/build-module/spinner/styles.mjs.map +2 -2
  305. package/build-module/tabs/styles.mjs +5 -6
  306. package/build-module/tabs/styles.mjs.map +2 -2
  307. package/build-module/text/hook.mjs +1 -2
  308. package/build-module/text/hook.mjs.map +2 -2
  309. package/build-module/text/styles.mjs +7 -9
  310. package/build-module/text/styles.mjs.map +2 -2
  311. package/build-module/text/utils.mjs.map +1 -1
  312. package/build-module/theme/styles.mjs +1 -2
  313. package/build-module/theme/styles.mjs.map +2 -2
  314. package/build-module/toggle-control/index.mjs +6 -2
  315. package/build-module/toggle-control/index.mjs.map +2 -2
  316. package/build-module/toggle-group-control/toggle-group-control/styles.mjs +7 -11
  317. package/build-module/toggle-group-control/toggle-group-control/styles.mjs.map +2 -2
  318. package/build-module/toggle-group-control/toggle-group-control-option-base/styles.mjs +2 -4
  319. package/build-module/toggle-group-control/toggle-group-control-option-base/styles.mjs.map +2 -2
  320. package/build-module/tools-panel/styles.mjs +4 -8
  321. package/build-module/tools-panel/styles.mjs.map +2 -2
  322. package/build-module/tooltip/context.mjs +10 -0
  323. package/build-module/tooltip/context.mjs.map +7 -0
  324. package/build-module/tooltip/index.mjs +2 -6
  325. package/build-module/tooltip/index.mjs.map +2 -2
  326. package/build-module/tree-grid/roving-tab-index-item.mjs +1 -1
  327. package/build-module/tree-grid/roving-tab-index-item.mjs.map +2 -2
  328. package/build-module/truncate/styles.mjs +1 -2
  329. package/build-module/truncate/styles.mjs.map +2 -2
  330. package/build-module/utils/box-sizing.mjs +1 -2
  331. package/build-module/utils/box-sizing.mjs.map +2 -2
  332. package/build-module/utils/element-rect.mjs +1 -1
  333. package/build-module/utils/element-rect.mjs.map +2 -2
  334. package/build-module/utils/hooks/use-cx.mjs.map +2 -2
  335. package/build-module/utils/hooks/use-update-effect.mjs.map +1 -1
  336. package/build-module/utils/rtl.mjs +2 -2
  337. package/build-module/utils/rtl.mjs.map +2 -2
  338. package/build-module/utils/use-responsive-value.mjs +1 -7
  339. package/build-module/utils/use-responsive-value.mjs.map +2 -2
  340. package/build-module/validated-form-controls/components/toggle-control.mjs +2 -6
  341. package/build-module/validated-form-controls/components/toggle-control.mjs.map +2 -2
  342. package/build-module/z-stack/styles.mjs +1 -2
  343. package/build-module/z-stack/styles.mjs.map +2 -2
  344. package/build-style/style-rtl.css +185 -1
  345. package/build-style/style.css +185 -1
  346. package/build-types/alignment-matrix-control/stories/index.story.d.ts.map +1 -1
  347. package/build-types/angle-picker-control/angle-circle.d.ts.map +1 -1
  348. package/build-types/angle-picker-control/index.d.ts +1 -1
  349. package/build-types/angle-picker-control/stories/index.story.d.ts +1 -1
  350. package/build-types/angle-picker-control/stories/index.story.d.ts.map +1 -1
  351. package/build-types/animate/index.d.ts +1 -1
  352. package/build-types/animate/index.d.ts.map +1 -1
  353. package/build-types/animate/stories/index.story.d.ts.map +1 -1
  354. package/build-types/animate/types.d.ts +1 -1
  355. package/build-types/animate/types.d.ts.map +1 -1
  356. package/build-types/autocomplete/index.d.ts +2 -2
  357. package/build-types/autocomplete/index.d.ts.map +1 -1
  358. package/build-types/autocomplete/types.d.ts +1 -1
  359. package/build-types/autocomplete/types.d.ts.map +1 -1
  360. package/build-types/avatar/component.d.ts +5 -0
  361. package/build-types/avatar/component.d.ts.map +1 -0
  362. package/build-types/avatar/index.d.ts +3 -0
  363. package/build-types/avatar/index.d.ts.map +1 -0
  364. package/build-types/avatar/types.d.ts +59 -0
  365. package/build-types/avatar/types.d.ts.map +1 -0
  366. package/build-types/avatar-group/component.d.ts +8 -0
  367. package/build-types/avatar-group/component.d.ts.map +1 -0
  368. package/build-types/avatar-group/index.d.ts +3 -0
  369. package/build-types/avatar-group/index.d.ts.map +1 -0
  370. package/build-types/avatar-group/types.d.ts +14 -0
  371. package/build-types/avatar-group/types.d.ts.map +1 -0
  372. package/build-types/badge/stories/index.story.d.ts.map +1 -1
  373. package/build-types/base-control/index.d.ts +3 -3
  374. package/build-types/base-control/stories/index.story.d.ts +1 -1
  375. package/build-types/base-control/stories/index.story.d.ts.map +1 -1
  376. package/build-types/border-box-control/border-box-control/hook.d.ts +1 -1
  377. package/build-types/border-box-control/border-box-control-linked-button/hook.d.ts +1 -1
  378. package/build-types/border-box-control/border-box-control-split-controls/hook.d.ts +1 -1
  379. package/build-types/border-box-control/border-box-control-visualizer/hook.d.ts +1 -1
  380. package/build-types/border-box-control/stories/index.story.d.ts.map +1 -1
  381. package/build-types/border-control/border-control/hook.d.ts +1 -1
  382. package/build-types/border-control/border-control-dropdown/hook.d.ts +1 -1
  383. package/build-types/border-control/stories/index.story.d.ts.map +1 -1
  384. package/build-types/box-control/stories/index.story.d.ts.map +1 -1
  385. package/build-types/box-control/styles/box-control-styles.d.ts +2 -2
  386. package/build-types/box-control/styles/box-control-styles.d.ts.map +1 -1
  387. package/build-types/button/stories/index.story.d.ts.map +1 -1
  388. package/build-types/card/card/hook.d.ts +1 -1
  389. package/build-types/card/card-body/hook.d.ts +1 -1
  390. package/build-types/card/card-footer/hook.d.ts +1 -1
  391. package/build-types/card/card-header/hook.d.ts +1 -1
  392. package/build-types/card/card-media/hook.d.ts +1 -1
  393. package/build-types/card/stories/index.story.d.ts.map +1 -1
  394. package/build-types/checkbox-control/stories/index.story.d.ts.map +1 -1
  395. package/build-types/circular-option-picker/stories/index.story.d.ts.map +1 -1
  396. package/build-types/color-indicator/stories/index.story.d.ts.map +1 -1
  397. package/build-types/color-palette/stories/index.story.d.ts +6 -5
  398. package/build-types/color-palette/stories/index.story.d.ts.map +1 -1
  399. package/build-types/color-palette/styles.d.ts +1 -1
  400. package/build-types/color-picker/color-copy-button.d.ts.map +1 -1
  401. package/build-types/color-picker/stories/index.story.d.ts.map +1 -1
  402. package/build-types/color-picker/styles.d.ts +2 -2
  403. package/build-types/color-picker/styles.d.ts.map +1 -1
  404. package/build-types/combobox-control/stories/index.story.d.ts.map +1 -1
  405. package/build-types/combobox-control/styles.d.ts +1 -1
  406. package/build-types/composite/stories/index.story.d.ts.map +1 -1
  407. package/build-types/confirm-dialog/stories/index.story.d.ts.map +1 -1
  408. package/build-types/context/context-connect.d.ts +2 -2
  409. package/build-types/context/context-connect.d.ts.map +1 -1
  410. package/build-types/context/context-system-provider.d.ts +2 -2
  411. package/build-types/context/context-system-provider.d.ts.map +1 -1
  412. package/build-types/context/wordpress-component.d.ts +3 -3
  413. package/build-types/context/wordpress-component.d.ts.map +1 -1
  414. package/build-types/custom-gradient-picker/gradient-bar/control-points.d.ts.map +1 -1
  415. package/build-types/custom-gradient-picker/stories/index.story.d.ts.map +1 -1
  416. package/build-types/custom-gradient-picker/styles/custom-gradient-picker-styles.d.ts +2 -2
  417. package/build-types/custom-gradient-picker/types.d.ts +1 -1
  418. package/build-types/custom-gradient-picker/types.d.ts.map +1 -1
  419. package/build-types/custom-select-control/stories/index.story.d.ts.map +1 -1
  420. package/build-types/custom-select-control-v2/stories/index.story.d.ts.map +1 -1
  421. package/build-types/custom-select-control-v2/types.d.ts +4 -4
  422. package/build-types/custom-select-control-v2/types.d.ts.map +1 -1
  423. package/build-types/date-time/date/styles.d.ts +2 -2
  424. package/build-types/date-time/date-time/styles.d.ts +1 -1
  425. package/build-types/date-time/stories/date-time.story.d.ts.map +1 -1
  426. package/build-types/date-time/stories/date.story.d.ts.map +1 -1
  427. package/build-types/date-time/stories/time.story.d.ts.map +1 -1
  428. package/build-types/disabled/context.d.ts +3 -0
  429. package/build-types/disabled/context.d.ts.map +1 -0
  430. package/build-types/disabled/index.d.ts.map +1 -1
  431. package/build-types/disabled/stories/index.story.d.ts.map +1 -1
  432. package/build-types/divider/stories/index.story.d.ts.map +1 -1
  433. package/build-types/draggable/stories/index.story.d.ts.map +1 -1
  434. package/build-types/draggable/types.d.ts +1 -1
  435. package/build-types/draggable/types.d.ts.map +1 -1
  436. package/build-types/drop-zone/stories/index.story.d.ts.map +1 -1
  437. package/build-types/drop-zone/types.d.ts +1 -1
  438. package/build-types/drop-zone/types.d.ts.map +1 -1
  439. package/build-types/dropdown/stories/index.story.d.ts.map +1 -1
  440. package/build-types/dropdown-menu/stories/index.story.d.ts.map +1 -1
  441. package/build-types/dropdown-menu/types.d.ts +1 -1
  442. package/build-types/dropdown-menu/types.d.ts.map +1 -1
  443. package/build-types/duotone-picker/stories/duotone-picker.story.d.ts.map +1 -1
  444. package/build-types/duotone-picker/stories/duotone-swatch.story.d.ts.map +1 -1
  445. package/build-types/elevation/hook.d.ts +1 -1
  446. package/build-types/elevation/stories/index.story.d.ts.map +1 -1
  447. package/build-types/external-link/index.d.ts.map +1 -1
  448. package/build-types/external-link/stories/index.story.d.ts.map +1 -1
  449. package/build-types/flex/flex/hook.d.ts +1 -1
  450. package/build-types/flex/flex-block/hook.d.ts +1 -1
  451. package/build-types/flex/flex-item/hook.d.ts +1 -1
  452. package/build-types/flex/stories/index.story.d.ts.map +1 -1
  453. package/build-types/focal-point-picker/stories/index.story.d.ts.map +1 -1
  454. package/build-types/focal-point-picker/styles/focal-point-picker-style.d.ts +1 -1
  455. package/build-types/font-size-picker/stories/index.story.d.ts +8 -7
  456. package/build-types/font-size-picker/stories/index.story.d.ts.map +1 -1
  457. package/build-types/font-size-picker/styles.d.ts +2 -2
  458. package/build-types/form-file-upload/stories/index.story.d.ts.map +1 -1
  459. package/build-types/form-toggle/stories/index.story.d.ts.map +1 -1
  460. package/build-types/form-token-field/stories/index.story.d.ts.map +1 -1
  461. package/build-types/form-token-field/styles.d.ts +1 -1
  462. package/build-types/gradient-picker/stories/index.story.d.ts +6 -5
  463. package/build-types/gradient-picker/stories/index.story.d.ts.map +1 -1
  464. package/build-types/grid/hook.d.ts +1 -1
  465. package/build-types/grid/stories/index.story.d.ts.map +1 -1
  466. package/build-types/guide/stories/index.story.d.ts.map +1 -1
  467. package/build-types/h-stack/hook.d.ts +1 -1
  468. package/build-types/h-stack/stories/index.story.d.ts.map +1 -1
  469. package/build-types/heading/hook.d.ts +1 -1
  470. package/build-types/heading/stories/index.story.d.ts.map +1 -1
  471. package/build-types/higher-order/navigate-regions/index.d.ts +1 -1
  472. package/build-types/higher-order/with-notices/types.d.ts +1 -1
  473. package/build-types/higher-order/with-notices/types.d.ts.map +1 -1
  474. package/build-types/higher-order/with-spoken-messages/index.d.ts +2 -3
  475. package/build-types/higher-order/with-spoken-messages/index.d.ts.map +1 -1
  476. package/build-types/icon/index.d.ts +2 -2
  477. package/build-types/icon/index.d.ts.map +1 -1
  478. package/build-types/icon/stories/index.story.d.ts.map +1 -1
  479. package/build-types/input-control/stories/index.story.d.ts.map +1 -1
  480. package/build-types/input-control/styles/input-control-styles.d.ts +2 -2
  481. package/build-types/item-group/item/hook.d.ts +1 -1
  482. package/build-types/item-group/item-group/hook.d.ts +1 -1
  483. package/build-types/item-group/stories/index.story.d.ts.map +1 -1
  484. package/build-types/keyboard-shortcuts/stories/index.story.d.ts.map +1 -1
  485. package/build-types/menu/index.d.ts +2 -2
  486. package/build-types/menu/item-help-text.d.ts +1 -1
  487. package/build-types/menu/item-label.d.ts +1 -1
  488. package/build-types/menu/stories/index.story.d.ts.map +1 -1
  489. package/build-types/menu/styles.d.ts +2 -2
  490. package/build-types/menu-group/stories/index.story.d.ts.map +1 -1
  491. package/build-types/menu-item/index.d.ts +1 -1
  492. package/build-types/menu-item/stories/index.story.d.ts +4 -4
  493. package/build-types/menu-item/stories/index.story.d.ts.map +1 -1
  494. package/build-types/menu-item/types.d.ts +1 -1
  495. package/build-types/menu-item/types.d.ts.map +1 -1
  496. package/build-types/menu-items-choice/stories/index.story.d.ts.map +1 -1
  497. package/build-types/modal/context.d.ts +4 -0
  498. package/build-types/modal/context.d.ts.map +1 -0
  499. package/build-types/modal/index.d.ts.map +1 -1
  500. package/build-types/modal/stories/index.story.d.ts.map +1 -1
  501. package/build-types/modal/types.d.ts +1 -1
  502. package/build-types/modal/types.d.ts.map +1 -1
  503. package/build-types/modal/use-modal-exit-animation.d.ts +1 -1
  504. package/build-types/navigable-container/stories/navigable-menu.story.d.ts.map +1 -1
  505. package/build-types/navigable-container/stories/tabbable-container.story.d.ts.map +1 -1
  506. package/build-types/navigation/styles/navigation-styles.d.ts +2 -2
  507. package/build-types/navigation/types.d.ts +1 -1
  508. package/build-types/navigation/types.d.ts.map +1 -1
  509. package/build-types/navigator/navigator-back-button/hook.d.ts +1 -1
  510. package/build-types/navigator/navigator-button/hook.d.ts +1 -1
  511. package/build-types/navigator/stories/index.story.d.ts.map +1 -1
  512. package/build-types/navigator/styles.d.ts +24 -4
  513. package/build-types/navigator/styles.d.ts.map +1 -1
  514. package/build-types/notice/stories/index.story.d.ts.map +1 -1
  515. package/build-types/number-control/stories/index.story.d.ts.map +1 -1
  516. package/build-types/palette-edit/stories/index.story.d.ts.map +1 -1
  517. package/build-types/palette-edit/styles.d.ts +1 -1
  518. package/build-types/palette-edit/types.d.ts +1 -1
  519. package/build-types/palette-edit/types.d.ts.map +1 -1
  520. package/build-types/panel/stories/index.story.d.ts.map +1 -1
  521. package/build-types/panel/types.d.ts +2 -2
  522. package/build-types/panel/types.d.ts.map +1 -1
  523. package/build-types/placeholder/stories/index.story.d.ts.map +1 -1
  524. package/build-types/popover/context.d.ts +2 -0
  525. package/build-types/popover/context.d.ts.map +1 -0
  526. package/build-types/popover/index.d.ts.map +1 -1
  527. package/build-types/popover/stories/index.story.d.ts.map +1 -1
  528. package/build-types/private-apis.d.ts.map +1 -1
  529. package/build-types/progress-bar/stories/index.story.d.ts.map +1 -1
  530. package/build-types/query-controls/stories/index.story.d.ts.map +1 -1
  531. package/build-types/radio-control/stories/index.story.d.ts.map +1 -1
  532. package/build-types/range-control/index.d.ts.map +1 -1
  533. package/build-types/range-control/input-range.d.ts +1 -1
  534. package/build-types/range-control/stories/index.story.d.ts.map +1 -1
  535. package/build-types/range-control/styles/range-control-styles.d.ts.map +1 -1
  536. package/build-types/range-control/types.d.ts +2 -2
  537. package/build-types/range-control/types.d.ts.map +1 -1
  538. package/build-types/resizable-box/resize-tooltip/styles/resize-tooltip.styles.d.ts +1 -1
  539. package/build-types/resizable-box/resize-tooltip/utils.d.ts +1 -1
  540. package/build-types/resizable-box/resize-tooltip/utils.d.ts.map +1 -1
  541. package/build-types/resizable-box/stories/index.story.d.ts.map +1 -1
  542. package/build-types/responsive-wrapper/stories/index.story.d.ts.map +1 -1
  543. package/build-types/sandbox/stories/index.story.d.ts.map +1 -1
  544. package/build-types/scroll-lock/stories/index.story.d.ts.map +1 -1
  545. package/build-types/scrollable/hook.d.ts +1 -1
  546. package/build-types/scrollable/stories/index.story.d.ts.map +1 -1
  547. package/build-types/search-control/stories/index.story.d.ts.map +1 -1
  548. package/build-types/search-control/types.d.ts +1 -1
  549. package/build-types/search-control/types.d.ts.map +1 -1
  550. package/build-types/select-control/stories/index.story.d.ts.map +1 -1
  551. package/build-types/select-control/styles/select-control-styles.d.ts +2 -2
  552. package/build-types/shortcut/stories/index.story.d.ts.map +1 -1
  553. package/build-types/slot-fill/bubbles-virtually/slot.d.ts +1 -1
  554. package/build-types/slot-fill/index.d.ts +1 -7
  555. package/build-types/slot-fill/index.d.ts.map +1 -1
  556. package/build-types/slot-fill/stories/index.story.d.ts.map +1 -1
  557. package/build-types/slot-fill/types.d.ts +1 -1
  558. package/build-types/slot-fill/types.d.ts.map +1 -1
  559. package/build-types/snackbar/index.d.ts +1 -1
  560. package/build-types/snackbar/stories/index.story.d.ts.map +1 -1
  561. package/build-types/spacer/hook.d.ts +1 -1
  562. package/build-types/spacer/stories/index.story.d.ts.map +1 -1
  563. package/build-types/spinner/stories/index.story.d.ts.map +1 -1
  564. package/build-types/surface/hook.d.ts +1 -1
  565. package/build-types/surface/stories/index.story.d.ts.map +1 -1
  566. package/build-types/tab-panel/stories/index.story.d.ts.map +1 -1
  567. package/build-types/tabs/stories/index.story.d.ts.map +1 -1
  568. package/build-types/tabs/styles.d.ts.map +1 -1
  569. package/build-types/text/hook.d.ts +1 -1
  570. package/build-types/text/stories/index.story.d.ts +3 -3
  571. package/build-types/text/stories/index.story.d.ts.map +1 -1
  572. package/build-types/text/styles.d.ts.map +1 -1
  573. package/build-types/text/utils.d.ts +18 -18
  574. package/build-types/text/utils.d.ts.map +1 -1
  575. package/build-types/text-control/stories/index.story.d.ts.map +1 -1
  576. package/build-types/text-highlight/stories/index.story.d.ts.map +1 -1
  577. package/build-types/textarea-control/stories/index.story.d.ts.map +1 -1
  578. package/build-types/theme/stories/index.story.d.ts +1 -1
  579. package/build-types/theme/stories/index.story.d.ts.map +1 -1
  580. package/build-types/tip/stories/index.story.d.ts.map +1 -1
  581. package/build-types/toggle-control/index.d.ts.map +1 -1
  582. package/build-types/toggle-control/stories/index.story.d.ts.map +1 -1
  583. package/build-types/toggle-group-control/stories/index.story.d.ts.map +1 -1
  584. package/build-types/toggle-group-control/toggle-group-control-option-icon/component.d.ts +1 -1
  585. package/build-types/toggle-group-control/types.d.ts +1 -1
  586. package/build-types/toggle-group-control/types.d.ts.map +1 -1
  587. package/build-types/toolbar/stories/index.story.d.ts.map +1 -1
  588. package/build-types/tools-panel/stories/index.story.d.ts.map +1 -1
  589. package/build-types/tools-panel/tools-panel/hook.d.ts +1 -1
  590. package/build-types/tools-panel/tools-panel-header/hook.d.ts +1 -1
  591. package/build-types/tools-panel/tools-panel-item/hook.d.ts +1 -1
  592. package/build-types/tooltip/context.d.ts +3 -0
  593. package/build-types/tooltip/context.d.ts.map +1 -0
  594. package/build-types/tooltip/index.d.ts +0 -3
  595. package/build-types/tooltip/index.d.ts.map +1 -1
  596. package/build-types/tooltip/stories/index.story.d.ts.map +1 -1
  597. package/build-types/tree-grid/stories/index.story.d.ts.map +1 -1
  598. package/build-types/tree-grid/types.d.ts +1 -1
  599. package/build-types/tree-grid/types.d.ts.map +1 -1
  600. package/build-types/tree-select/stories/index.story.d.ts.map +1 -1
  601. package/build-types/truncate/hook.d.ts +1 -1
  602. package/build-types/truncate/stories/index.story.d.ts.map +1 -1
  603. package/build-types/unit-control/stories/index.story.d.ts.map +1 -1
  604. package/build-types/utils/hooks/use-cx.d.ts +1 -1
  605. package/build-types/utils/hooks/use-cx.d.ts.map +1 -1
  606. package/build-types/utils/hooks/use-update-effect.d.ts +3 -3
  607. package/build-types/utils/hooks/use-update-effect.d.ts.map +1 -1
  608. package/build-types/utils/rtl.d.ts +4 -4
  609. package/build-types/utils/rtl.d.ts.map +1 -1
  610. package/build-types/utils/use-responsive-value.d.ts.map +1 -1
  611. package/build-types/v-stack/hook.d.ts +1 -1
  612. package/build-types/v-stack/stories/index.story.d.ts +1 -1
  613. package/build-types/v-stack/stories/index.story.d.ts.map +1 -1
  614. package/build-types/validated-form-controls/components/range-control.d.ts.map +1 -1
  615. package/build-types/validated-form-controls/components/stories/overview.story.d.ts.map +1 -1
  616. package/build-types/validated-form-controls/components/toggle-control.d.ts.map +1 -1
  617. package/build-types/view/stories/index.story.d.ts.map +1 -1
  618. package/build-types/visually-hidden/stories/index.story.d.ts.map +1 -1
  619. package/build-types/z-stack/stories/index.story.d.ts.map +1 -1
  620. package/package.json +30 -30
  621. package/src/alignment-matrix-control/stories/index.story.tsx +4 -0
  622. package/src/alignment-matrix-control/test/index.tsx +1 -1
  623. package/src/angle-picker-control/angle-circle.tsx +6 -5
  624. package/src/angle-picker-control/stories/index.story.tsx +4 -0
  625. package/src/animate/stories/index.story.tsx +5 -0
  626. package/src/animate/types.ts +1 -1
  627. package/src/autocomplete/autocompleter-ui.tsx +1 -1
  628. package/src/autocomplete/index.tsx +3 -2
  629. package/src/autocomplete/types.ts +1 -1
  630. package/src/avatar/component.tsx +82 -0
  631. package/src/avatar/index.ts +2 -0
  632. package/src/avatar/styles.scss +152 -0
  633. package/src/avatar/types.ts +59 -0
  634. package/src/avatar-group/component.tsx +46 -0
  635. package/src/avatar-group/index.ts +2 -0
  636. package/src/avatar-group/styles.scss +32 -0
  637. package/src/avatar-group/types.ts +13 -0
  638. package/src/badge/stories/index.story.tsx +7 -0
  639. package/src/base-control/README.md +1 -1
  640. package/src/base-control/index.tsx +1 -1
  641. package/src/base-control/stories/index.story.tsx +5 -0
  642. package/src/border-box-control/stories/index.story.tsx +4 -0
  643. package/src/border-control/stories/index.story.tsx +4 -0
  644. package/src/box-control/stories/index.story.tsx +5 -0
  645. package/src/button/stories/index.story.tsx +5 -0
  646. package/src/button/style.scss +6 -2
  647. package/src/calendar/style.scss +4 -2
  648. package/src/card/stories/index.story.tsx +5 -0
  649. package/src/card/test/__snapshots__/index.tsx.snap +35 -35
  650. package/src/checkbox-control/stories/index.story.tsx +5 -0
  651. package/src/circular-option-picker/stories/index.story.tsx +5 -0
  652. package/src/clipboard-button/index.tsx +1 -1
  653. package/src/color-indicator/stories/index.story.tsx +4 -0
  654. package/src/color-palette/stories/index.story.tsx +60 -48
  655. package/src/color-picker/color-copy-button.tsx +1 -3
  656. package/src/color-picker/stories/index.story.tsx +4 -0
  657. package/src/combobox-control/stories/index.story.tsx +5 -0
  658. package/src/composite/stories/index.story.tsx +5 -1
  659. package/src/confirm-dialog/component.tsx +2 -2
  660. package/src/confirm-dialog/stories/index.story.tsx +4 -0
  661. package/src/context/context-connect.ts +3 -3
  662. package/src/context/context-system-provider.js +4 -4
  663. package/src/context/test/__snapshots__/context-system-provider.js.snap +3 -3
  664. package/src/context/wordpress-component.ts +3 -5
  665. package/src/custom-gradient-picker/gradient-bar/control-points.tsx +3 -2
  666. package/src/custom-gradient-picker/stories/index.story.tsx +5 -0
  667. package/src/custom-gradient-picker/types.ts +1 -1
  668. package/src/custom-select-control/stories/index.story.tsx +5 -0
  669. package/src/custom-select-control-v2/custom-select.tsx +1 -1
  670. package/src/custom-select-control-v2/stories/index.story.tsx +8 -3
  671. package/src/custom-select-control-v2/test/index.tsx +3 -3
  672. package/src/custom-select-control-v2/types.ts +4 -4
  673. package/src/date-time/date/index.tsx +1 -1
  674. package/src/date-time/stories/date-time.story.tsx +5 -0
  675. package/src/date-time/stories/date.story.tsx +5 -0
  676. package/src/date-time/stories/time.story.tsx +5 -0
  677. package/src/date-time/time/test/index.tsx +42 -0
  678. package/src/date-time/utils.ts +1 -1
  679. package/src/disabled/context.ts +6 -0
  680. package/src/disabled/index.tsx +1 -11
  681. package/src/disabled/stories/index.story.tsx +4 -0
  682. package/src/divider/stories/index.story.tsx +5 -0
  683. package/src/draggable/index.native.js +17 -17
  684. package/src/draggable/stories/index.story.tsx +5 -0
  685. package/src/draggable/types.ts +1 -1
  686. package/src/drop-zone/stories/index.story.tsx +4 -0
  687. package/src/drop-zone/types.ts +1 -1
  688. package/src/dropdown/index.tsx +1 -1
  689. package/src/dropdown/stories/index.story.tsx +4 -0
  690. package/src/dropdown-menu/stories/index.story.tsx +5 -0
  691. package/src/dropdown-menu/types.ts +1 -1
  692. package/src/duotone-picker/stories/duotone-picker.story.tsx +4 -0
  693. package/src/duotone-picker/stories/duotone-swatch.story.tsx +4 -0
  694. package/src/elevation/stories/index.story.tsx +5 -0
  695. package/src/external-link/index.tsx +5 -1
  696. package/src/external-link/stories/index.story.tsx +4 -0
  697. package/src/flex/stories/index.story.tsx +5 -0
  698. package/src/flex/test/__snapshots__/index.tsx.snap +4 -4
  699. package/src/focal-point-picker/stories/index.story.tsx +4 -0
  700. package/src/font-size-picker/stories/index.story.tsx +137 -125
  701. package/src/form-file-upload/stories/index.story.tsx +4 -0
  702. package/src/form-toggle/stories/index.story.tsx +5 -0
  703. package/src/form-token-field/stories/index.story.tsx +5 -0
  704. package/src/gradient-picker/stories/index.story.tsx +52 -42
  705. package/src/grid/stories/index.story.tsx +5 -0
  706. package/src/guide/stories/index.story.tsx +6 -0
  707. package/src/h-stack/stories/index.story.tsx +5 -0
  708. package/src/h-stack/test/index.tsx +1 -1
  709. package/src/heading/hook.ts +2 -2
  710. package/src/heading/stories/index.story.tsx +5 -0
  711. package/src/heading/test/__snapshots__/index.tsx.snap +0 -1
  712. package/src/higher-order/with-notices/test/index.tsx +2 -2
  713. package/src/higher-order/with-notices/types.ts +1 -1
  714. package/src/higher-order/with-spoken-messages/index.tsx +2 -4
  715. package/src/icon/index.tsx +2 -2
  716. package/src/icon/stories/index.story.tsx +5 -0
  717. package/src/input-control/stories/index.story.tsx +5 -0
  718. package/src/item-group/stories/index.story.tsx +4 -0
  719. package/src/item-group/test/__snapshots__/index.js.snap +16 -16
  720. package/src/keyboard-shortcuts/index.tsx +1 -1
  721. package/src/keyboard-shortcuts/stories/index.story.tsx +4 -0
  722. package/src/menu/stories/index.story.tsx +6 -1
  723. package/src/menu-group/stories/index.story.tsx +5 -0
  724. package/src/menu-item/stories/index.story.tsx +5 -0
  725. package/src/menu-item/types.ts +1 -1
  726. package/src/menu-items-choice/stories/index.story.tsx +5 -0
  727. package/src/modal/context.ts +9 -0
  728. package/src/modal/index.tsx +5 -22
  729. package/src/modal/stories/index.story.tsx +5 -0
  730. package/src/modal/types.ts +1 -1
  731. package/src/modal/use-modal-exit-animation.ts +2 -2
  732. package/src/navigable-container/stories/navigable-menu.story.tsx +4 -0
  733. package/src/navigable-container/stories/tabbable-container.story.tsx +5 -0
  734. package/src/navigation/README.md +1 -1
  735. package/src/navigation/types.ts +1 -1
  736. package/src/navigator/stories/index.story.tsx +4 -0
  737. package/src/notice/stories/index.story.tsx +5 -0
  738. package/src/notice/test/__snapshots__/index.tsx.snap +1 -1
  739. package/src/number-control/index.tsx +1 -1
  740. package/src/number-control/stories/index.story.tsx +5 -0
  741. package/src/palette-edit/index.tsx +2 -2
  742. package/src/palette-edit/stories/index.story.tsx +4 -0
  743. package/src/palette-edit/types.ts +1 -1
  744. package/src/panel/README.md +1 -1
  745. package/src/panel/body.tsx +1 -1
  746. package/src/panel/stories/index.story.tsx +4 -0
  747. package/src/panel/types.ts +2 -2
  748. package/src/placeholder/stories/index.story.tsx +4 -0
  749. package/src/popover/context.ts +4 -0
  750. package/src/popover/index.tsx +1 -14
  751. package/src/popover/stories/index.story.tsx +5 -1
  752. package/src/private-apis.ts +10 -2
  753. package/src/progress-bar/stories/index.story.tsx +4 -0
  754. package/src/query-controls/stories/index.story.tsx +4 -0
  755. package/src/radio-control/stories/index.story.tsx +5 -0
  756. package/src/radio-control/test/index.tsx +5 -4
  757. package/src/range-control/index.tsx +1 -1
  758. package/src/range-control/stories/index.story.tsx +5 -0
  759. package/src/range-control/styles/range-control-styles.ts +33 -24
  760. package/src/range-control/types.ts +2 -2
  761. package/src/resizable-box/index.tsx +1 -1
  762. package/src/resizable-box/resize-tooltip/index.tsx +1 -1
  763. package/src/resizable-box/resize-tooltip/label.tsx +1 -1
  764. package/src/resizable-box/resize-tooltip/utils.ts +2 -2
  765. package/src/resizable-box/stories/index.story.tsx +4 -0
  766. package/src/responsive-wrapper/stories/index.story.tsx +5 -0
  767. package/src/sandbox/index.tsx +1 -1
  768. package/src/sandbox/stories/index.story.tsx +4 -0
  769. package/src/scroll-lock/stories/index.story.tsx +4 -0
  770. package/src/scrollable/stories/index.story.tsx +5 -0
  771. package/src/search-control/stories/index.story.tsx +5 -0
  772. package/src/search-control/types.ts +1 -1
  773. package/src/select-control/stories/index.story.tsx +5 -0
  774. package/src/shortcut/stories/index.story.tsx +4 -0
  775. package/src/slot-fill/index.tsx +12 -3
  776. package/src/slot-fill/stories/index.story.tsx +4 -0
  777. package/src/slot-fill/test/__snapshots__/slot.js.snap +4 -4
  778. package/src/slot-fill/test/index.js +38 -0
  779. package/src/slot-fill/types.ts +1 -1
  780. package/src/snackbar/list.tsx +1 -1
  781. package/src/snackbar/stories/index.story.tsx +4 -0
  782. package/src/spacer/stories/index.story.tsx +5 -0
  783. package/src/spinner/stories/index.story.tsx +4 -0
  784. package/src/style.scss +2 -0
  785. package/src/surface/stories/index.story.tsx +5 -0
  786. package/src/surface/test/__snapshots__/index.tsx.snap +10 -10
  787. package/src/tab-panel/stories/index.story.tsx +5 -0
  788. package/src/tabs/stories/index.story.tsx +5 -0
  789. package/src/tabs/styles.ts +1 -0
  790. package/src/text/stories/index.story.tsx +5 -0
  791. package/src/text/styles.ts +0 -1
  792. package/src/text/test/__snapshots__/index.tsx.snap +0 -2
  793. package/src/text/utils.ts +18 -18
  794. package/src/text-control/stories/index.story.tsx +5 -0
  795. package/src/text-highlight/stories/index.story.tsx +4 -0
  796. package/src/textarea-control/stories/index.story.tsx +5 -0
  797. package/src/theme/stories/index.story.tsx +5 -0
  798. package/src/tip/stories/index.story.tsx +4 -0
  799. package/src/toggle-control/index.tsx +4 -0
  800. package/src/toggle-control/stories/index.story.tsx +5 -0
  801. package/src/toggle-group-control/stories/index.story.tsx +5 -0
  802. package/src/toggle-group-control/test/__snapshots__/index.tsx.snap +4 -4
  803. package/src/toggle-group-control/toggle-group-control/styles.ts +1 -1
  804. package/src/toggle-group-control/toggle-group-control-option-base/component.tsx +1 -1
  805. package/src/toggle-group-control/types.ts +1 -1
  806. package/src/toolbar/stories/index.story.tsx +4 -0
  807. package/src/tools-panel/stories/index.story.tsx +4 -0
  808. package/src/tooltip/context.ts +8 -0
  809. package/src/tooltip/index.tsx +2 -22
  810. package/src/tooltip/stories/index.story.tsx +4 -0
  811. package/src/tree-grid/roving-tab-index-item.tsx +1 -1
  812. package/src/tree-grid/stories/index.story.tsx +4 -0
  813. package/src/tree-grid/types.ts +1 -1
  814. package/src/tree-select/stories/index.story.tsx +4 -0
  815. package/src/truncate/stories/index.story.tsx +4 -0
  816. package/src/unit-control/stories/index.story.tsx +4 -0
  817. package/src/utils/element-rect.ts +1 -1
  818. package/src/utils/hooks/use-cx.ts +1 -2
  819. package/src/utils/hooks/use-update-effect.js +2 -2
  820. package/src/utils/rtl.js +4 -4
  821. package/src/utils/use-responsive-value.ts +1 -5
  822. package/src/v-stack/stories/index.story.tsx +5 -0
  823. package/src/v-stack/test/index.tsx +1 -1
  824. package/src/validated-form-controls/components/stories/overview.story.tsx +2 -1
  825. package/src/validated-form-controls/components/toggle-control.tsx +6 -10
  826. package/src/view/stories/index.story.tsx +5 -0
  827. package/src/view/test/__snapshots__/index.js.snap +5 -5
  828. package/src/visually-hidden/stories/index.story.tsx +4 -0
  829. package/src/visually-hidden/test/__snapshots__/index.tsx.snap +1 -1
  830. package/src/z-stack/stories/index.story.tsx +5 -0
@@ -0,0 +1,32 @@
1
+ @use "@wordpress/base-styles/colors" as *;
2
+ @use "@wordpress/base-styles/variables" as *;
3
+
4
+ .components-avatar-group {
5
+ display: flex;
6
+ align-items: center;
7
+
8
+ // Overlap subsequent avatars.
9
+ > .components-avatar + .components-avatar {
10
+ margin-inline-start: -$grid-unit-10;
11
+ }
12
+
13
+ // Stack earlier avatars on top of later ones so the overlap
14
+ // is visually correct, and elevate on hover for badge expansion.
15
+ > .components-avatar {
16
+ position: relative;
17
+
18
+ @for $i from 1 through 10 {
19
+ &:nth-child(#{$i}) {
20
+ z-index: #{11 - $i};
21
+ }
22
+ }
23
+ }
24
+ }
25
+
26
+ .components-avatar-group__overflow {
27
+ margin-inline-start: $grid-unit-05;
28
+ font-size: $font-size-small;
29
+ line-height: $font-line-height-small;
30
+ color: $gray-900;
31
+ white-space: nowrap;
32
+ }
@@ -0,0 +1,13 @@
1
+ export type AvatarGroupProps = {
2
+ /**
3
+ * Maximum number of avatars to display before showing an
4
+ * overflow indicator.
5
+ *
6
+ * @default 3
7
+ */
8
+ max?: number;
9
+ /**
10
+ * Avatar elements to display in the group.
11
+ */
12
+ children: React.ReactNode;
13
+ };
@@ -13,6 +13,13 @@ const meta: Meta< typeof Badge > = {
13
13
  title: 'Components/Containers/Badge',
14
14
  id: 'components-badge',
15
15
  tags: [ 'status-private' ],
16
+ parameters: {
17
+ componentStatus: {
18
+ status: 'use-with-caution',
19
+ whereUsed: 'global',
20
+ notes: 'Will be superseded by `Badge` in `@wordpress/ui`, but continue using for now.',
21
+ },
22
+ },
16
23
  };
17
24
 
18
25
  export default meta;
@@ -4,7 +4,7 @@
4
4
 
5
5
  <p class="callout callout-info">See the <a href="https://wordpress.github.io/gutenberg/?path=/docs/components-basecontrol--docs">WordPress Storybook</a> for more detailed, interactive documentation.</p>
6
6
 
7
- `BaseControl` is a component used to generate labels and help text for components handling user inputs.
7
+ `BaseControl` is a low-level component used to generate labels and help text for components handling user inputs.
8
8
 
9
9
  ```jsx
10
10
  import { BaseControl, useBaseControlProps } from '@wordpress/components';
@@ -96,7 +96,7 @@ const UnforwardedVisualLabel = (
96
96
  export const VisualLabel = forwardRef( UnforwardedVisualLabel );
97
97
 
98
98
  /**
99
- * `BaseControl` is a component used to generate labels and help text for components handling user inputs.
99
+ * `BaseControl` is a low-level component used to generate labels and help text for components handling user inputs.
100
100
  *
101
101
  * ```jsx
102
102
  * import { BaseControl, useBaseControlProps } from '@wordpress/components';
@@ -24,6 +24,11 @@ const meta: Meta< typeof BaseControl > = {
24
24
  parameters: {
25
25
  controls: { expanded: true },
26
26
  docs: { canvas: { sourceState: 'shown' } },
27
+ componentStatus: {
28
+ status: 'stable',
29
+ whereUsed: 'global',
30
+ notes: 'Will be superseded by `Field` in `@wordpress/ui`, but continue using for now.',
31
+ },
27
32
  },
28
33
  };
29
34
  export default meta;
@@ -25,6 +25,10 @@ const meta: Meta< typeof BorderBoxControl > = {
25
25
  parameters: {
26
26
  controls: { expanded: true },
27
27
  docs: { canvas: { sourceState: 'shown' } },
28
+ componentStatus: {
29
+ status: 'stable',
30
+ whereUsed: 'editor',
31
+ },
28
32
  },
29
33
  };
30
34
  export default meta;
@@ -28,6 +28,10 @@ const meta: Meta< typeof BorderControl > = {
28
28
  parameters: {
29
29
  controls: { expanded: true },
30
30
  docs: { canvas: { sourceState: 'shown' } },
31
+ componentStatus: {
32
+ status: 'stable',
33
+ whereUsed: 'editor',
34
+ },
31
35
  },
32
36
  };
33
37
  export default meta;
@@ -26,6 +26,11 @@ const meta: Meta< typeof BoxControl > = {
26
26
  parameters: {
27
27
  controls: { expanded: true },
28
28
  docs: { canvas: { sourceState: 'shown' } },
29
+ componentStatus: {
30
+ status: 'use-with-caution',
31
+ whereUsed: 'editor',
32
+ notes: 'This component is a fallback for themes that do not supply spacing presets. Most of the time `SpacingSizesControl` from `@wordpress/block-editor` is used instead.',
33
+ },
29
34
  },
30
35
  };
31
36
  export default meta;
@@ -52,6 +52,11 @@ const meta: Meta< typeof Button > = {
52
52
  parameters: {
53
53
  controls: { expanded: true },
54
54
  docs: { canvas: { sourceState: 'shown' } },
55
+ componentStatus: {
56
+ status: 'stable',
57
+ whereUsed: 'global',
58
+ notes: 'Will be superseded by `Button` in `@wordpress/ui`, but continue using for now.',
59
+ },
55
60
  },
56
61
  };
57
62
  export default meta;
@@ -46,8 +46,10 @@
46
46
  // See https://github.com/WordPress/gutenberg/issues/13267 for more context on these selectors.
47
47
  &:focus:not(:active) {
48
48
  box-shadow: 0 0 0 var(--wp-admin-border-width-focus) $components-color-accent;
49
+ }
49
50
 
50
- // Windows High Contrast mode will show this outline, but not the box-shadow.
51
+ // Windows High Contrast mode will show this outline, but not the box-shadow.
52
+ &:focus {
51
53
  outline: 3px solid transparent;
52
54
  }
53
55
 
@@ -378,8 +380,10 @@
378
380
 
379
381
  &:focus:not(:active) {
380
382
  box-shadow: inset 0 0 0 1px $components-color-background, 0 0 0 var(--wp-admin-border-width-focus) $components-color-accent;
383
+ }
381
384
 
382
- // Windows High Contrast mode will show this outline, but not the box-shadow.
385
+ // Windows High Contrast mode will show this outline, but not the box-shadow.
386
+ &:focus {
383
387
  outline: 2px solid transparent;
384
388
  }
385
389
  }
@@ -4,7 +4,8 @@
4
4
 
5
5
  /* Root of the component. */
6
6
  // Internal variables
7
- $wp-components-calendar-outline-focus: var(--wp-admin-border-width-focus) solid $components-color-accent;
7
+ $wp-components-calendar-outline-focus: var(--wp-admin-border-width-focus)
8
+ solid $components-color-accent;
8
9
  $wp-components-calendar-button-height: $grid-unit-40;
9
10
  $wp-components-calendar-button-width: $grid-unit-40;
10
11
  $wp-components-calendar-nav-height: $grid-unit-40;
@@ -39,7 +40,8 @@ $wp-components-calendar-preview-border-color: color-mix(in srgb, $components-col
39
40
  // date follows the same color as the button's text, since the button
40
41
  // inherits its text color.
41
42
  &:has(.components-calendar__day-button:disabled) {
42
- color: $components-color-disabled;
43
+ // Use a lighter shade of gray for less visual prominence.
44
+ color: $components-color-gray-400;
43
45
  }
44
46
  &:has(.components-calendar__day-button:hover:not(:disabled)),
45
47
  &:has(.components-calendar__day-button:focus-visible) {
@@ -36,6 +36,11 @@ const meta: Meta< typeof Card > = {
36
36
  expanded: true,
37
37
  },
38
38
  docs: { canvas: { sourceState: 'shown' } },
39
+ componentStatus: {
40
+ status: 'use-with-caution',
41
+ whereUsed: 'global',
42
+ notes: 'Design is in flux, and may differ from the version used in `@wordpress/dataviews`.',
43
+ },
39
44
  },
40
45
  };
41
46
 
@@ -8,8 +8,8 @@ Snapshot Diff:
8
8
  @@ -1,8 +1,8 @@
9
9
  <div>
10
10
  <div
11
- - class="components-card__body components-card-body css-12jqy32-PolymorphicDiv-Body-borderRadius-medium e19lxcc00"
12
- + class="components-scrollable components-card__body components-card-body css-26nv7r-PolymorphicDiv-Scrollable-scrollableScrollbar-scrollY-Body-borderRadius-medium e19lxcc00"
11
+ - class="components-card__body components-card-body css-1gg1viu-PolymorphicDiv-Body-borderRadius-medium e19lxcc00"
12
+ + class="components-scrollable components-card__body components-card-body css-9p6d97-PolymorphicDiv-Scrollable-scrollableScrollbar-scrollY-Body-borderRadius-medium e19lxcc00"
13
13
  data-wp-c16t="true"
14
14
  data-wp-component="CardBody"
15
15
  >
@@ -25,8 +25,8 @@ Snapshot Diff:
25
25
  @@ -1,8 +1,8 @@
26
26
  <div>
27
27
  <div
28
- - class="components-card__body components-card-body css-12jqy32-PolymorphicDiv-Body-borderRadius-medium e19lxcc00"
29
- + class="components-card__body components-card-body css-1j7lja1-PolymorphicDiv-Body-borderRadius-medium-shady e19lxcc00"
28
+ - class="components-card__body components-card-body css-1gg1viu-PolymorphicDiv-Body-borderRadius-medium e19lxcc00"
29
+ + class="components-card__body components-card-body css-p7byxx-PolymorphicDiv-Body-borderRadius-medium-shady e19lxcc00"
30
30
  data-wp-c16t="true"
31
31
  data-wp-component="CardBody"
32
32
  >
@@ -42,8 +42,8 @@ Snapshot Diff:
42
42
  @@ -1,8 +1,8 @@
43
43
  <div>
44
44
  <div
45
- - class="components-flex components-card__footer components-card-footer css-19sc0cg-PolymorphicDiv-Flex-base-ItemsRow-Footer-borderRadius-borderColor-medium e19lxcc00"
46
- + class="components-flex components-card__footer components-card-footer css-14budie-PolymorphicDiv-Flex-base-ItemsRow-Footer-borderRadius-borderColor-medium-shady e19lxcc00"
45
+ - class="components-flex components-card__footer components-card-footer css-1s5uzde-PolymorphicDiv-Flex-base-ItemsRow-Footer-borderRadius-borderColor-medium e19lxcc00"
46
+ + class="components-flex components-card__footer components-card-footer css-12kx59h-PolymorphicDiv-Flex-base-ItemsRow-Footer-borderRadius-borderColor-medium-shady e19lxcc00"
47
47
  data-wp-c16t="true"
48
48
  data-wp-component="CardFooter"
49
49
  >
@@ -59,8 +59,8 @@ Snapshot Diff:
59
59
  @@ -1,8 +1,8 @@
60
60
  <div>
61
61
  <div
62
- - class="components-flex components-card__footer components-card-footer css-19sc0cg-PolymorphicDiv-Flex-base-ItemsRow-Footer-borderRadius-borderColor-medium e19lxcc00"
63
- + class="components-flex components-card__footer components-card-footer css-2io175-PolymorphicDiv-Flex-base-ItemsRow-Footer-borderRadius-borderColor-medium e19lxcc00"
62
+ - class="components-flex components-card__footer components-card-footer css-1s5uzde-PolymorphicDiv-Flex-base-ItemsRow-Footer-borderRadius-borderColor-medium e19lxcc00"
63
+ + class="components-flex components-card__footer components-card-footer css-11v2u4y-PolymorphicDiv-Flex-base-ItemsRow-Footer-borderRadius-borderColor-medium e19lxcc00"
64
64
  data-wp-c16t="true"
65
65
  data-wp-component="CardFooter"
66
66
  >
@@ -76,8 +76,8 @@ Snapshot Diff:
76
76
  @@ -1,8 +1,8 @@
77
77
  <div>
78
78
  <div
79
- - class="components-flex components-card__header components-card-header css-1qwshfy-PolymorphicDiv-Flex-base-ItemsRow-Header-borderRadius-borderColor-medium e19lxcc00"
80
- + class="components-flex components-card__header components-card-header css-1bzc8bz-PolymorphicDiv-Flex-base-ItemsRow-Header-borderRadius-borderColor-medium-shady e19lxcc00"
79
+ - class="components-flex components-card__header components-card-header css-1hlwlpa-PolymorphicDiv-Flex-base-ItemsRow-Header-borderRadius-borderColor-medium e19lxcc00"
80
+ + class="components-flex components-card__header components-card-header css-lljjlu-PolymorphicDiv-Flex-base-ItemsRow-Header-borderRadius-borderColor-medium-shady e19lxcc00"
81
81
  data-wp-c16t="true"
82
82
  data-wp-component="CardHeader"
83
83
  >
@@ -93,19 +93,19 @@ Snapshot Diff:
93
93
  @@ -6,18 +6,18 @@
94
94
  >
95
95
  <div
96
- class="css-76dw7d-PolymorphicDiv-Content e19lxcc00"
96
+ class="css-1yddrvs-PolymorphicDiv-Content e19lxcc00"
97
97
  >
98
98
  <div
99
- - class="components-flex components-card__header components-card-header css-1qwshfy-PolymorphicDiv-Flex-base-ItemsRow-Header-borderRadius-borderColor-medium e19lxcc00"
100
- + class="components-flex components-card__header components-card-header css-1t2zg3y-PolymorphicDiv-Flex-base-ItemsRow-Header-borderRadius-borderColor-large e19lxcc00"
99
+ - class="components-flex components-card__header components-card-header css-1hlwlpa-PolymorphicDiv-Flex-base-ItemsRow-Header-borderRadius-borderColor-medium e19lxcc00"
100
+ + class="components-flex components-card__header components-card-header css-dxbfrz-PolymorphicDiv-Flex-base-ItemsRow-Header-borderRadius-borderColor-large e19lxcc00"
101
101
  data-wp-c16t="true"
102
102
  data-wp-component="CardHeader"
103
103
  >
104
104
  Header
105
105
  </div>
106
106
  <div
107
- - class="components-card__body components-card-body css-12jqy32-PolymorphicDiv-Body-borderRadius-medium e19lxcc00"
108
- + class="components-card__body components-card-body css-e0vrqx-PolymorphicDiv-Body-borderRadius-large e19lxcc00"
107
+ - class="components-card__body components-card-body css-1gg1viu-PolymorphicDiv-Body-borderRadius-medium e19lxcc00"
108
+ + class="components-card__body components-card-body css-16631vj-PolymorphicDiv-Body-borderRadius-large e19lxcc00"
109
109
  data-wp-c16t="true"
110
110
  data-wp-component="CardBody"
111
111
  >
@@ -138,27 +138,27 @@ Snapshot Diff:
138
138
  @@ -6,25 +6,25 @@
139
139
  >
140
140
  <div
141
- class="css-76dw7d-PolymorphicDiv-Content e19lxcc00"
141
+ class="css-1yddrvs-PolymorphicDiv-Content e19lxcc00"
142
142
  >
143
143
  <div
144
- - class="components-flex components-card__header components-card-header css-ubn8f6-PolymorphicDiv-Flex-base-ItemsRow-Header-borderRadius-borderColor-large-borderless e19lxcc00"
145
- + class="components-flex components-card__header components-card-header css-1t1rswf-PolymorphicDiv-Flex-base-ItemsRow-Header-borderRadius-borderColor-small e19lxcc00"
144
+ - class="components-flex components-card__header components-card-header css-1qrvb07-PolymorphicDiv-Flex-base-ItemsRow-Header-borderRadius-borderColor-large-borderless e19lxcc00"
145
+ + class="components-flex components-card__header components-card-header css-nhtehb-PolymorphicDiv-Flex-base-ItemsRow-Header-borderRadius-borderColor-small e19lxcc00"
146
146
  data-wp-c16t="true"
147
147
  data-wp-component="CardHeader"
148
148
  >
149
149
  Header
150
150
  </div>
151
151
  <div
152
- - class="components-card__body components-card-body css-e0vrqx-PolymorphicDiv-Body-borderRadius-large e19lxcc00"
153
- + class="components-card__body components-card-body css-12jqy32-PolymorphicDiv-Body-borderRadius-medium e19lxcc00"
152
+ - class="components-card__body components-card-body css-16631vj-PolymorphicDiv-Body-borderRadius-large e19lxcc00"
153
+ + class="components-card__body components-card-body css-1gg1viu-PolymorphicDiv-Body-borderRadius-medium e19lxcc00"
154
154
  data-wp-c16t="true"
155
155
  data-wp-component="CardBody"
156
156
  >
157
157
  Body
158
158
  </div>
159
159
  <div
160
- - class="components-flex components-card__footer components-card-footer css-167csgt-PolymorphicDiv-Flex-base-ItemsRow-Footer-borderRadius-borderColor-large-borderless e19lxcc00"
161
- + class="components-flex components-card__footer components-card-footer css-1kcgqsk-PolymorphicDiv-Flex-base-ItemsRow-Footer-borderRadius-borderColor-xSmallCardPadding e19lxcc00"
160
+ - class="components-flex components-card__footer components-card-footer css-ny5e27-PolymorphicDiv-Flex-base-ItemsRow-Footer-borderRadius-borderColor-large-borderless e19lxcc00"
161
+ + class="components-flex components-card__footer components-card-footer css-1isabr8-PolymorphicDiv-Flex-base-ItemsRow-Footer-borderRadius-borderColor-xSmallCardPadding e19lxcc00"
162
162
  data-wp-c16t="true"
163
163
  data-wp-component="CardFooter"
164
164
  >
@@ -174,33 +174,33 @@ Snapshot Diff:
174
174
  @@ -1,30 +1,30 @@
175
175
  <div>
176
176
  <div
177
- - class="components-surface components-card css-1hs39fv-PolymorphicDiv-Surface-getBorders-primary-Card-boxShadowless-rounded e19lxcc00"
178
- + class="components-surface components-card css-1c6nh8q-PolymorphicDiv-Surface-getBorders-primary-Card-rounded e19lxcc00"
177
+ - class="components-surface components-card css-y9at7f-PolymorphicDiv-Surface-getBorders-primary-Card-boxShadowless-rounded e19lxcc00"
178
+ + class="components-surface components-card css-1dj5kxo-PolymorphicDiv-Surface-getBorders-primary-Card-rounded e19lxcc00"
179
179
  data-wp-c16t="true"
180
180
  data-wp-component="Card"
181
181
  >
182
182
  <div
183
- class="css-76dw7d-PolymorphicDiv-Content e19lxcc00"
183
+ class="css-1yddrvs-PolymorphicDiv-Content e19lxcc00"
184
184
  >
185
185
  <div
186
- - class="components-flex components-card__header components-card-header css-ubn8f6-PolymorphicDiv-Flex-base-ItemsRow-Header-borderRadius-borderColor-large-borderless e19lxcc00"
187
- + class="components-flex components-card__header components-card-header css-1t1rswf-PolymorphicDiv-Flex-base-ItemsRow-Header-borderRadius-borderColor-small e19lxcc00"
186
+ - class="components-flex components-card__header components-card-header css-1qrvb07-PolymorphicDiv-Flex-base-ItemsRow-Header-borderRadius-borderColor-large-borderless e19lxcc00"
187
+ + class="components-flex components-card__header components-card-header css-nhtehb-PolymorphicDiv-Flex-base-ItemsRow-Header-borderRadius-borderColor-small e19lxcc00"
188
188
  data-wp-c16t="true"
189
189
  data-wp-component="CardHeader"
190
190
  >
191
191
  Header
192
192
  </div>
193
193
  <div
194
- - class="components-card__body components-card-body css-e0vrqx-PolymorphicDiv-Body-borderRadius-large e19lxcc00"
195
- + class="components-card__body components-card-body css-hms9n9-PolymorphicDiv-Body-borderRadius-small e19lxcc00"
194
+ - class="components-card__body components-card-body css-16631vj-PolymorphicDiv-Body-borderRadius-large e19lxcc00"
195
+ + class="components-card__body components-card-body css-be2ezs-PolymorphicDiv-Body-borderRadius-small e19lxcc00"
196
196
  data-wp-c16t="true"
197
197
  data-wp-component="CardBody"
198
198
  >
199
199
  Body
200
200
  </div>
201
201
  <div
202
- - class="components-flex components-card__footer components-card-footer css-167csgt-PolymorphicDiv-Flex-base-ItemsRow-Footer-borderRadius-borderColor-large-borderless e19lxcc00"
203
- + class="components-flex components-card__footer components-card-footer css-18yn3ff-PolymorphicDiv-Flex-base-ItemsRow-Footer-borderRadius-borderColor-small e19lxcc00"
202
+ - class="components-flex components-card__footer components-card-footer css-ny5e27-PolymorphicDiv-Flex-base-ItemsRow-Footer-borderRadius-borderColor-large-borderless e19lxcc00"
203
+ + class="components-flex components-card__footer components-card-footer css-wpxcc4-PolymorphicDiv-Flex-base-ItemsRow-Footer-borderRadius-borderColor-small e19lxcc00"
204
204
  data-wp-c16t="true"
205
205
  data-wp-component="CardFooter"
206
206
  >
@@ -469,15 +469,15 @@ Snapshot Diff:
469
469
  </div>
470
470
  <div
471
471
  aria-hidden="true"
472
- - class="components-elevation css-a91pvj-PolymorphicDiv-Elevation-sx-Base-sx-Base-elevationClassName e19lxcc00"
473
- + class="components-elevation css-1q4cuxd-PolymorphicDiv-Elevation-sx-Base-sx-Base-elevationClassName e19lxcc00"
472
+ - class="components-elevation css-1gw374p-PolymorphicDiv-Elevation-sx-Base-sx-Base-elevationClassName e19lxcc00"
473
+ + class="components-elevation css-12og79l-PolymorphicDiv-Elevation-sx-Base-sx-Base-elevationClassName e19lxcc00"
474
474
  data-wp-c16t="true"
475
475
  data-wp-component="Elevation"
476
476
  />
477
477
  <div
478
478
  aria-hidden="true"
479
- - class="components-elevation css-5u83fl-PolymorphicDiv-Elevation-sx-Base-sx-Base-elevationClassName e19lxcc00"
480
- + class="components-elevation css-1q4cuxd-PolymorphicDiv-Elevation-sx-Base-sx-Base-elevationClassName e19lxcc00"
479
+ - class="components-elevation css-1570405-PolymorphicDiv-Elevation-sx-Base-sx-Base-elevationClassName e19lxcc00"
480
+ + class="components-elevation css-12og79l-PolymorphicDiv-Elevation-sx-Base-sx-Base-elevationClassName e19lxcc00"
481
481
  data-wp-c16t="true"
482
482
  data-wp-component="Elevation"
483
483
  />
@@ -34,6 +34,11 @@ const meta: Meta< typeof CheckboxControl > = {
34
34
  exclude: [ 'heading' ],
35
35
  },
36
36
  docs: { canvas: { sourceState: 'shown' } },
37
+ componentStatus: {
38
+ status: 'stable',
39
+ whereUsed: 'global',
40
+ notes: 'Will be superseded by `CheckboxControl` in `@wordpress/ui`, but continue using for now.',
41
+ },
37
42
  },
38
43
  };
39
44
  export default meta;
@@ -38,6 +38,11 @@ const meta: Meta< typeof CircularOptionPicker > = {
38
38
  canvas: { sourceState: 'shown' },
39
39
  source: { excludeDecorators: true },
40
40
  },
41
+ componentStatus: {
42
+ status: 'use-with-caution',
43
+ whereUsed: 'global',
44
+ notes: 'Mostly intended for internal use.',
45
+ },
41
46
  },
42
47
  decorators: [
43
48
  // Share current color state between main component, `actions` and `options`
@@ -32,7 +32,7 @@ export default function ClipboardButton( {
32
32
  alternative: 'wp.compose.useCopyToClipboard',
33
33
  } );
34
34
 
35
- const timeoutIdRef = useRef< NodeJS.Timeout >();
35
+ const timeoutIdRef = useRef< NodeJS.Timeout >( undefined );
36
36
  const ref = useCopyToClipboard( text, () => {
37
37
  onCopy();
38
38
  if ( timeoutIdRef.current ) {
@@ -22,6 +22,10 @@ const meta: Meta< typeof ColorIndicator > = {
22
22
  expanded: true,
23
23
  },
24
24
  docs: { canvas: { sourceState: 'shown' } },
25
+ componentStatus: {
26
+ status: 'stable',
27
+ whereUsed: 'global',
28
+ },
25
29
  },
26
30
  };
27
31
  export default meta;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * External dependencies
3
3
  */
4
- import type { Meta, StoryFn } from '@storybook/react-vite';
4
+ import type { Meta, StoryObj } from '@storybook/react-vite';
5
5
 
6
6
  /**
7
7
  * WordPress dependencies
@@ -25,15 +25,21 @@ const meta: Meta< typeof ColorPalette > = {
25
25
  parameters: {
26
26
  controls: { expanded: true },
27
27
  docs: { canvas: { sourceState: 'shown' } },
28
+ componentStatus: {
29
+ status: 'stable',
30
+ whereUsed: 'global',
31
+ },
28
32
  },
29
33
  };
30
34
  export default meta;
31
35
 
32
- const Template: StoryFn< typeof ColorPalette > = ( {
36
+ type ColorPaletteStory = StoryObj< typeof ColorPalette >;
37
+
38
+ const Template = ( {
33
39
  onChange,
34
40
  value,
35
41
  ...args
36
- } ) => {
42
+ }: React.ComponentProps< typeof ColorPalette > ) => {
37
43
  const [ color, setColor ] = useState< string | undefined >( value );
38
44
 
39
45
  return (
@@ -48,49 +54,55 @@ const Template: StoryFn< typeof ColorPalette > = ( {
48
54
  );
49
55
  };
50
56
 
51
- export const Default = Template.bind( {} );
52
- Default.args = {
53
- colors: [
54
- { name: 'Red', color: '#f00' },
55
- { name: 'White', color: '#fff' },
56
- { name: 'Blue', color: '#00f' },
57
- ],
57
+ export const Default: ColorPaletteStory = {
58
+ render: Template,
59
+ args: {
60
+ colors: [
61
+ { name: 'Red', color: '#f00' },
62
+ { name: 'White', color: '#fff' },
63
+ { name: 'Blue', color: '#00f' },
64
+ ],
65
+ },
58
66
  };
59
67
 
60
- export const InitialValue = Template.bind( {} );
61
- InitialValue.args = {
62
- colors: [
63
- { name: 'Red', color: '#f00' },
64
- { name: 'White', color: '#fff' },
65
- { name: 'Blue', color: '#00f' },
66
- ],
67
- value: '#00f',
68
+ export const InitialValue: ColorPaletteStory = {
69
+ render: Template,
70
+ args: {
71
+ colors: [
72
+ { name: 'Red', color: '#f00' },
73
+ { name: 'White', color: '#fff' },
74
+ { name: 'Blue', color: '#00f' },
75
+ ],
76
+ value: '#00f',
77
+ },
68
78
  };
69
79
 
70
- export const MultipleOrigins = Template.bind( {} );
71
- MultipleOrigins.args = {
72
- colors: [
73
- {
74
- name: 'Primary colors',
75
- colors: [
76
- { name: 'Red', color: '#f00' },
77
- { name: 'Yellow', color: '#ff0' },
78
- { name: 'Blue', color: '#00f' },
79
- ],
80
- },
81
- {
82
- name: 'Secondary colors',
83
- colors: [
84
- { name: 'Orange', color: '#f60' },
85
- { name: 'Green', color: '#0f0' },
86
- { name: 'Purple', color: '#60f' },
87
- ],
88
- },
89
- ],
80
+ export const MultipleOrigins: ColorPaletteStory = {
81
+ render: Template,
82
+ args: {
83
+ colors: [
84
+ {
85
+ name: 'Primary colors',
86
+ colors: [
87
+ { name: 'Red', color: '#f00' },
88
+ { name: 'Yellow', color: '#ff0' },
89
+ { name: 'Blue', color: '#00f' },
90
+ ],
91
+ },
92
+ {
93
+ name: 'Secondary colors',
94
+ colors: [
95
+ { name: 'Orange', color: '#f60' },
96
+ { name: 'Green', color: '#0f0' },
97
+ { name: 'Purple', color: '#60f' },
98
+ ],
99
+ },
100
+ ],
101
+ },
90
102
  };
91
103
 
92
- export const CSSVariables: StoryFn< typeof ColorPalette > = ( args ) => {
93
- return (
104
+ export const CSSVariables: ColorPaletteStory = {
105
+ render: ( args ) => (
94
106
  <div
95
107
  style={ {
96
108
  '--red': '#f00',
@@ -100,12 +112,12 @@ export const CSSVariables: StoryFn< typeof ColorPalette > = ( args ) => {
100
112
  >
101
113
  <Template { ...args } />
102
114
  </div>
103
- );
104
- };
105
- CSSVariables.args = {
106
- colors: [
107
- { name: 'Red', color: 'var(--red)' },
108
- { name: 'Yellow', color: 'var(--yellow)' },
109
- { name: 'Blue', color: 'var(--blue)' },
110
- ],
115
+ ),
116
+ args: {
117
+ colors: [
118
+ { name: 'Red', color: 'var(--red)' },
119
+ { name: 'Yellow', color: 'var(--yellow)' },
120
+ { name: 'Blue', color: 'var(--blue)' },
121
+ ],
122
+ },
111
123
  };
@@ -17,9 +17,7 @@ import type { ColorCopyButtonProps } from './types';
17
17
  export const ColorCopyButton = ( props: ColorCopyButtonProps ) => {
18
18
  const { color, colorType } = props;
19
19
  const [ copiedColor, setCopiedColor ] = useState< string | null >( null );
20
- const copyTimerRef = useRef<
21
- ReturnType< typeof setTimeout > | undefined
22
- >();
20
+ const copyTimerRef = useRef< ReturnType< typeof setTimeout > >( undefined );
23
21
  const copyRef = useCopyToClipboard< HTMLDivElement >(
24
22
  () => {
25
23
  switch ( colorType ) {
@@ -25,6 +25,10 @@ const meta: Meta< typeof ColorPicker > = {
25
25
  expanded: true,
26
26
  },
27
27
  docs: { canvas: { sourceState: 'shown' } },
28
+ componentStatus: {
29
+ status: 'stable',
30
+ whereUsed: 'global',
31
+ },
28
32
  },
29
33
  };
30
34
  export default meta;
@@ -48,6 +48,11 @@ const meta: Meta< typeof ComboboxControl > = {
48
48
  parameters: {
49
49
  controls: { expanded: true },
50
50
  docs: { canvas: { sourceState: 'shown' } },
51
+ componentStatus: {
52
+ status: 'stable',
53
+ whereUsed: 'global',
54
+ notes: 'Will be superseded by `SearchableSelectControl` in `@wordpress/ui`, but continue using for now.',
55
+ },
51
56
  },
52
57
  };
53
58
  export default meta;
@@ -47,6 +47,10 @@ const meta: Meta< typeof Composite > = {
47
47
  docs: {
48
48
  canvas: { sourceState: 'shown' },
49
49
  },
50
+ componentStatus: {
51
+ status: 'stable',
52
+ whereUsed: 'global',
53
+ },
50
54
  },
51
55
  decorators: [
52
56
  ( Story ) => {
@@ -235,7 +239,7 @@ const Fill = ( { children }: { children: React.ReactNode } ) => {
235
239
 
236
240
  // Render all context providers forwarded by the Slot via fillProps.
237
241
  return forwardedContext.reduce(
238
- ( inner: JSX.Element, [ Provider, props ] ) => (
242
+ ( inner: React.JSX.Element, [ Provider, props ] ) => (
239
243
  <Provider { ...props }>{ inner }</Provider>
240
244
  ),
241
245
  innerMarkup
@@ -35,8 +35,8 @@ const UnconnectedConfirmDialog = (
35
35
 
36
36
  const cx = useCx();
37
37
  const wrapperClassName = cx( styles.wrapper );
38
- const cancelButtonRef = useRef();
39
- const confirmButtonRef = useRef();
38
+ const cancelButtonRef = useRef< HTMLButtonElement >( null );
39
+ const confirmButtonRef = useRef< HTMLButtonElement >( null );
40
40
 
41
41
  const [ isOpen, setIsOpen ] = useState< boolean >();
42
42
  const [ shouldSelfClose, setShouldSelfClose ] = useState< boolean >();