@wordpress/components 25.8.3 → 25.9.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 (2348) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/CONTRIBUTING.md +4 -4
  3. package/README.md +2 -7
  4. package/build/alignment-matrix-control/cell.js +4 -4
  5. package/build/alignment-matrix-control/cell.js.map +1 -1
  6. package/build/alignment-matrix-control/icon.js +4 -4
  7. package/build/alignment-matrix-control/icon.js.map +1 -1
  8. package/build/alignment-matrix-control/index.js +5 -4
  9. package/build/alignment-matrix-control/index.js.map +1 -1
  10. package/build/angle-picker-control/angle-circle.js +4 -3
  11. package/build/angle-picker-control/angle-circle.js.map +1 -1
  12. package/build/angle-picker-control/index.js +7 -6
  13. package/build/angle-picker-control/index.js.map +1 -1
  14. package/build/angle-picker-control/styles/angle-picker-control-styles.js +7 -7
  15. package/build/angle-picker-control/styles/angle-picker-control-styles.js.map +1 -1
  16. package/build/autocomplete/autocompleter-ui.js +6 -5
  17. package/build/autocomplete/autocompleter-ui.js.map +1 -1
  18. package/build/autocomplete/autocompleter-ui.native.js +9 -8
  19. package/build/autocomplete/autocompleter-ui.native.js.map +1 -1
  20. package/build/autocomplete/background-view.android.js +2 -2
  21. package/build/autocomplete/background-view.android.js.map +1 -1
  22. package/build/autocomplete/background-view.ios.js +2 -2
  23. package/build/autocomplete/background-view.ios.js.map +1 -1
  24. package/build/autocomplete/index.js +4 -3
  25. package/build/autocomplete/index.js.map +1 -1
  26. package/build/autocomplete/types.js.map +1 -1
  27. package/build/base-control/index.js +8 -8
  28. package/build/base-control/index.js.map +1 -1
  29. package/build/base-control/index.native.js +3 -3
  30. package/build/base-control/index.native.js.map +1 -1
  31. package/build/base-control/styles/base-control-styles.js +9 -9
  32. package/build/base-control/styles/base-control-styles.js.map +1 -1
  33. package/build/border-box-control/border-box-control/component.js +11 -10
  34. package/build/border-box-control/border-box-control/component.js.map +1 -1
  35. package/build/border-box-control/border-box-control/hook.js +1 -1
  36. package/build/border-box-control/border-box-control/hook.js.map +1 -1
  37. package/build/border-box-control/border-box-control-linked-button/component.js +5 -5
  38. package/build/border-box-control/border-box-control-linked-button/component.js.map +1 -1
  39. package/build/border-box-control/border-box-control-linked-button/hook.js +1 -1
  40. package/build/border-box-control/border-box-control-linked-button/hook.js.map +1 -1
  41. package/build/border-box-control/border-box-control-split-controls/component.js +9 -8
  42. package/build/border-box-control/border-box-control-split-controls/component.js.map +1 -1
  43. package/build/border-box-control/border-box-control-split-controls/hook.js +1 -1
  44. package/build/border-box-control/border-box-control-split-controls/hook.js.map +1 -1
  45. package/build/border-box-control/border-box-control-visualizer/component.js +3 -3
  46. package/build/border-box-control/border-box-control-visualizer/component.js.map +1 -1
  47. package/build/border-box-control/border-box-control-visualizer/hook.js +1 -1
  48. package/build/border-box-control/border-box-control-visualizer/hook.js.map +1 -1
  49. package/build/border-control/border-control/component.js +10 -10
  50. package/build/border-control/border-control/component.js.map +1 -1
  51. package/build/border-control/border-control/hook.js +1 -1
  52. package/build/border-control/border-control/hook.js.map +1 -1
  53. package/build/border-control/border-control-dropdown/component.js +13 -13
  54. package/build/border-control/border-control-dropdown/component.js.map +1 -1
  55. package/build/border-control/border-control-dropdown/hook.js +1 -1
  56. package/build/border-control/border-control-dropdown/hook.js.map +1 -1
  57. package/build/border-control/border-control-style-picker/component.js +8 -8
  58. package/build/border-control/border-control-style-picker/component.js.map +1 -1
  59. package/build/border-control/border-control-style-picker/hook.js +1 -1
  60. package/build/border-control/border-control-style-picker/hook.js.map +1 -1
  61. package/build/border-control/styles.js +17 -17
  62. package/build/border-control/styles.js.map +1 -1
  63. package/build/box-control/all-input-control.js +2 -2
  64. package/build/box-control/all-input-control.js.map +1 -1
  65. package/build/box-control/axial-input-controls.js +3 -3
  66. package/build/box-control/axial-input-controls.js.map +1 -1
  67. package/build/box-control/icon.js +6 -6
  68. package/build/box-control/icon.js.map +1 -1
  69. package/build/box-control/index.js +12 -11
  70. package/build/box-control/index.js.map +1 -1
  71. package/build/box-control/input-controls.js +4 -4
  72. package/build/box-control/input-controls.js.map +1 -1
  73. package/build/box-control/linked-button.js +3 -3
  74. package/build/box-control/linked-button.js.map +1 -1
  75. package/build/box-control/unit-control.js +8 -8
  76. package/build/box-control/unit-control.js.map +1 -1
  77. package/build/button/deprecated.js +3 -2
  78. package/build/button/deprecated.js.map +1 -1
  79. package/build/button/index.js +24 -11
  80. package/build/button/index.js.map +1 -1
  81. package/build/button/index.native.js +9 -8
  82. package/build/button/index.native.js.map +1 -1
  83. package/build/button/types.js.map +1 -1
  84. package/build/button-group/index.js +3 -2
  85. package/build/button-group/index.js.map +1 -1
  86. package/build/card/card/component.js +10 -9
  87. package/build/card/card/component.js.map +1 -1
  88. package/build/card/card/hook.js +1 -1
  89. package/build/card/card/hook.js.map +1 -1
  90. package/build/card/card-body/component.js +4 -4
  91. package/build/card/card-body/component.js.map +1 -1
  92. package/build/card/card-body/hook.js +1 -1
  93. package/build/card/card-body/hook.js.map +1 -1
  94. package/build/card/card-divider/component.js +3 -3
  95. package/build/card/card-divider/component.js.map +1 -1
  96. package/build/card/card-divider/hook.js +1 -1
  97. package/build/card/card-divider/hook.js.map +1 -1
  98. package/build/card/card-footer/component.js +3 -3
  99. package/build/card/card-footer/component.js.map +1 -1
  100. package/build/card/card-footer/hook.js +1 -1
  101. package/build/card/card-footer/hook.js.map +1 -1
  102. package/build/card/card-header/component.js +3 -3
  103. package/build/card/card-header/component.js.map +1 -1
  104. package/build/card/card-header/hook.js +1 -1
  105. package/build/card/card-header/hook.js.map +1 -1
  106. package/build/card/card-media/component.js +3 -3
  107. package/build/card/card-media/component.js.map +1 -1
  108. package/build/card/card-media/hook.js +1 -1
  109. package/build/card/card-media/hook.js.map +1 -1
  110. package/build/checkbox-control/index.js +8 -7
  111. package/build/checkbox-control/index.js.map +1 -1
  112. package/build/circular-option-picker/circular-option-picker-actions.js +4 -4
  113. package/build/circular-option-picker/circular-option-picker-actions.js.map +1 -1
  114. package/build/circular-option-picker/circular-option-picker-option-group.js +2 -2
  115. package/build/circular-option-picker/circular-option-picker-option-group.js.map +1 -1
  116. package/build/circular-option-picker/circular-option-picker-option.js +16 -21
  117. package/build/circular-option-picker/circular-option-picker-option.js.map +1 -1
  118. package/build/circular-option-picker/circular-option-picker.js +10 -9
  119. package/build/circular-option-picker/circular-option-picker.js.map +1 -1
  120. package/build/circular-option-picker/types.js.map +1 -1
  121. package/build/clipboard-button/index.js +3 -2
  122. package/build/clipboard-button/index.js.map +1 -1
  123. package/build/color-control/index.native.js +2 -2
  124. package/build/color-control/index.native.js.map +1 -1
  125. package/build/color-indicator/index.js +3 -2
  126. package/build/color-indicator/index.js.map +1 -1
  127. package/build/color-indicator/index.native.js +14 -14
  128. package/build/color-indicator/index.native.js.map +1 -1
  129. package/build/color-palette/index.js +22 -21
  130. package/build/color-palette/index.js.map +1 -1
  131. package/build/color-palette/index.native.js +14 -13
  132. package/build/color-palette/index.native.js.map +1 -1
  133. package/build/color-picker/color-copy-button.js +9 -9
  134. package/build/color-picker/color-copy-button.js.map +1 -1
  135. package/build/color-picker/color-input.js +4 -4
  136. package/build/color-picker/color-input.js.map +1 -1
  137. package/build/color-picker/component.js +10 -9
  138. package/build/color-picker/component.js.map +1 -1
  139. package/build/color-picker/hex-input.js +4 -4
  140. package/build/color-picker/hex-input.js.map +1 -1
  141. package/build/color-picker/hsl-input.js +5 -5
  142. package/build/color-picker/hsl-input.js.map +1 -1
  143. package/build/color-picker/hsv-color-picker.native.js +5 -4
  144. package/build/color-picker/hsv-color-picker.native.js.map +1 -1
  145. package/build/color-picker/hue-picker.native.js +6 -5
  146. package/build/color-picker/hue-picker.native.js.map +1 -1
  147. package/build/color-picker/index.native.js +12 -11
  148. package/build/color-picker/index.native.js.map +1 -1
  149. package/build/color-picker/input-with-slider.js +6 -6
  150. package/build/color-picker/input-with-slider.js.map +1 -1
  151. package/build/color-picker/legacy-adapter.js +2 -2
  152. package/build/color-picker/legacy-adapter.js.map +1 -1
  153. package/build/color-picker/picker.js +3 -2
  154. package/build/color-picker/picker.js.map +1 -1
  155. package/build/color-picker/rgb-input.js +5 -5
  156. package/build/color-picker/rgb-input.js.map +1 -1
  157. package/build/color-picker/saturation-picker.native.js +7 -6
  158. package/build/color-picker/saturation-picker.native.js.map +1 -1
  159. package/build/color-picker/styles.js +9 -9
  160. package/build/color-picker/styles.js.map +1 -1
  161. package/build/color-picker/types.js.map +1 -1
  162. package/build/combobox-control/index.js +9 -8
  163. package/build/combobox-control/index.js.map +1 -1
  164. package/build/combobox-control/styles.js +3 -3
  165. package/build/combobox-control/styles.js.map +1 -1
  166. package/build/confirm-dialog/component.js +8 -7
  167. package/build/confirm-dialog/component.js.map +1 -1
  168. package/build/context/constants.js.map +1 -0
  169. package/build/{ui/context → context}/context-connect.js +1 -1
  170. package/build/context/context-connect.js.map +1 -0
  171. package/build/{ui/context → context}/context-system-provider.js +4 -3
  172. package/build/context/context-system-provider.js.map +1 -0
  173. package/build/context/get-styled-class-name-from-key.js.map +1 -0
  174. package/build/context/index.js.map +1 -0
  175. package/build/{ui/context → context}/use-context-system.js +1 -1
  176. package/build/context/use-context-system.js.map +1 -0
  177. package/build/context/utils.js.map +1 -0
  178. package/build/context/wordpress-component.js.map +1 -0
  179. package/build/custom-gradient-picker/gradient-bar/control-points.js +14 -13
  180. package/build/custom-gradient-picker/gradient-bar/control-points.js.map +1 -1
  181. package/build/custom-gradient-picker/gradient-bar/index.js +7 -6
  182. package/build/custom-gradient-picker/gradient-bar/index.js.map +1 -1
  183. package/build/custom-gradient-picker/index.js +8 -8
  184. package/build/custom-gradient-picker/index.js.map +1 -1
  185. package/build/custom-gradient-picker/index.native.js +6 -5
  186. package/build/custom-gradient-picker/index.native.js.map +1 -1
  187. package/build/custom-select-control/index.js +20 -18
  188. package/build/custom-select-control/index.js.map +1 -1
  189. package/build/dashicon/index.js +2 -2
  190. package/build/dashicon/index.js.map +1 -1
  191. package/build/dashicon/index.native.js +2 -2
  192. package/build/dashicon/index.native.js.map +1 -1
  193. package/build/date-time/date/index.js +10 -9
  194. package/build/date-time/date/index.js.map +1 -1
  195. package/build/date-time/date/styles.js +7 -7
  196. package/build/date-time/date/styles.js.map +1 -1
  197. package/build/date-time/date-time/index.js +4 -3
  198. package/build/date-time/date-time/index.js.map +1 -1
  199. package/build/date-time/time/index.js +25 -20
  200. package/build/date-time/time/index.js.map +1 -1
  201. package/build/date-time/time/styles.js +27 -36
  202. package/build/date-time/time/styles.js.map +1 -1
  203. package/build/date-time/time/timezone.js +3 -3
  204. package/build/date-time/time/timezone.js.map +1 -1
  205. package/build/dimension-control/index.js +3 -3
  206. package/build/dimension-control/index.js.map +1 -1
  207. package/build/disabled/index.js +3 -2
  208. package/build/disabled/index.js.map +1 -1
  209. package/build/disabled/index.native.js +2 -2
  210. package/build/disabled/index.native.js.map +1 -1
  211. package/build/divider/component.js +3 -3
  212. package/build/divider/component.js.map +1 -1
  213. package/build/divider/styles.js +6 -6
  214. package/build/divider/styles.js.map +1 -1
  215. package/build/divider/types.js.map +1 -1
  216. package/build/draggable/index.js +4 -3
  217. package/build/draggable/index.js.map +1 -1
  218. package/build/draggable/index.native.js +6 -5
  219. package/build/draggable/index.native.js.map +1 -1
  220. package/build/drop-zone/index.js +8 -7
  221. package/build/drop-zone/index.js.map +1 -1
  222. package/build/dropdown/dropdown-content-wrapper.js +3 -3
  223. package/build/dropdown/dropdown-content-wrapper.js.map +1 -1
  224. package/build/dropdown/index.js +5 -4
  225. package/build/dropdown/index.js.map +1 -1
  226. package/build/dropdown/index.native.js +2 -1
  227. package/build/dropdown/index.native.js.map +1 -1
  228. package/build/dropdown/styles.js +3 -3
  229. package/build/dropdown/styles.js.map +1 -1
  230. package/build/dropdown-menu/index.js +6 -6
  231. package/build/dropdown-menu/index.js.map +1 -1
  232. package/build/dropdown-menu/index.native.js +6 -6
  233. package/build/dropdown-menu/index.native.js.map +1 -1
  234. package/build/dropdown-menu/types.js.map +1 -1
  235. package/build/dropdown-menu-v2/index.js +28 -27
  236. package/build/dropdown-menu-v2/index.js.map +1 -1
  237. package/build/dropdown-menu-v2/styles.js +17 -17
  238. package/build/dropdown-menu-v2/styles.js.map +1 -1
  239. package/build/dropdown-menu-v2/types.js.map +1 -1
  240. package/build/duotone-picker/color-list-picker/index.js +10 -9
  241. package/build/duotone-picker/color-list-picker/index.js.map +1 -1
  242. package/build/duotone-picker/custom-duotone-bar.js +2 -2
  243. package/build/duotone-picker/custom-duotone-bar.js.map +1 -1
  244. package/build/duotone-picker/duotone-picker.js +16 -11
  245. package/build/duotone-picker/duotone-picker.js.map +1 -1
  246. package/build/duotone-picker/duotone-swatch.js +3 -3
  247. package/build/duotone-picker/duotone-swatch.js.map +1 -1
  248. package/build/elevation/component.js +3 -3
  249. package/build/elevation/component.js.map +1 -1
  250. package/build/elevation/hook.js +5 -5
  251. package/build/elevation/hook.js.map +1 -1
  252. package/build/external-link/index.js +5 -4
  253. package/build/external-link/index.js.map +1 -1
  254. package/build/external-link/index.native.js +3 -3
  255. package/build/external-link/index.native.js.map +1 -1
  256. package/build/flex/flex/component.js +4 -4
  257. package/build/flex/flex/component.js.map +1 -1
  258. package/build/flex/flex/hook.js +4 -4
  259. package/build/flex/flex/hook.js.map +1 -1
  260. package/build/flex/flex-block/component.js +3 -3
  261. package/build/flex/flex-block/component.js.map +1 -1
  262. package/build/flex/flex-block/hook.js +1 -1
  263. package/build/flex/flex-block/hook.js.map +1 -1
  264. package/build/flex/flex-item/component.js +3 -3
  265. package/build/flex/flex-item/component.js.map +1 -1
  266. package/build/flex/flex-item/hook.js +2 -2
  267. package/build/flex/flex-item/hook.js.map +1 -1
  268. package/build/flex/types.js.map +1 -1
  269. package/build/focal-point-picker/controls.js +5 -5
  270. package/build/focal-point-picker/controls.js.map +1 -1
  271. package/build/focal-point-picker/focal-point.js +2 -2
  272. package/build/focal-point-picker/focal-point.js.map +1 -1
  273. package/build/focal-point-picker/focal-point.native.js +4 -4
  274. package/build/focal-point-picker/focal-point.native.js.map +1 -1
  275. package/build/focal-point-picker/grid.js +6 -6
  276. package/build/focal-point-picker/grid.js.map +1 -1
  277. package/build/focal-point-picker/index.js +9 -8
  278. package/build/focal-point-picker/index.js.map +1 -1
  279. package/build/focal-point-picker/index.native.js +13 -12
  280. package/build/focal-point-picker/index.native.js.map +1 -1
  281. package/build/focal-point-picker/media.js +4 -4
  282. package/build/focal-point-picker/media.js.map +1 -1
  283. package/build/focal-point-picker/tooltip/index.native.js +8 -7
  284. package/build/focal-point-picker/tooltip/index.native.js.map +1 -1
  285. package/build/focusable-iframe/index.js +2 -2
  286. package/build/focusable-iframe/index.js.map +1 -1
  287. package/build/font-size-picker/font-size-picker-select.js +2 -2
  288. package/build/font-size-picker/font-size-picker-select.js.map +1 -1
  289. package/build/font-size-picker/font-size-picker-toggle-group.js +3 -3
  290. package/build/font-size-picker/font-size-picker-toggle-group.js.map +1 -1
  291. package/build/font-size-picker/index.js +18 -17
  292. package/build/font-size-picker/index.js.map +1 -1
  293. package/build/font-size-picker/index.native.js +12 -11
  294. package/build/font-size-picker/index.native.js.map +1 -1
  295. package/build/font-size-picker/styles.js +7 -7
  296. package/build/font-size-picker/styles.js.map +1 -1
  297. package/build/footer-message-control/index.native.js +2 -1
  298. package/build/footer-message-control/index.native.js.map +1 -1
  299. package/build/form-file-upload/index.js +4 -3
  300. package/build/form-file-upload/index.js.map +1 -1
  301. package/build/form-toggle/index.js +5 -5
  302. package/build/form-toggle/index.js.map +1 -1
  303. package/build/form-token-field/index.js +12 -11
  304. package/build/form-token-field/index.js.map +1 -1
  305. package/build/form-token-field/styles.js +3 -3
  306. package/build/form-token-field/styles.js.map +1 -1
  307. package/build/form-token-field/suggestions-list.js +6 -5
  308. package/build/form-token-field/suggestions-list.js.map +1 -1
  309. package/build/form-token-field/token-input.js +3 -2
  310. package/build/form-token-field/token-input.js.map +1 -1
  311. package/build/form-token-field/token.js +6 -6
  312. package/build/form-token-field/token.js.map +1 -1
  313. package/build/gradient-picker/index.js +16 -15
  314. package/build/gradient-picker/index.js.map +1 -1
  315. package/build/grid/component.js +3 -3
  316. package/build/grid/component.js.map +1 -1
  317. package/build/grid/hook.js +3 -3
  318. package/build/grid/hook.js.map +1 -1
  319. package/build/grid/types.js.map +1 -1
  320. package/build/guide/icons.js +3 -3
  321. package/build/guide/icons.js.map +1 -1
  322. package/build/guide/index.js +10 -9
  323. package/build/guide/index.js.map +1 -1
  324. package/build/guide/page-control.js +5 -5
  325. package/build/guide/page-control.js.map +1 -1
  326. package/build/guide/page.js +2 -1
  327. package/build/guide/page.js.map +1 -1
  328. package/build/h-stack/component.js +3 -3
  329. package/build/h-stack/component.js.map +1 -1
  330. package/build/h-stack/hook.js +4 -4
  331. package/build/h-stack/hook.js.map +1 -1
  332. package/build/heading/component.js +3 -3
  333. package/build/heading/component.js.map +1 -1
  334. package/build/heading/hook.js +2 -2
  335. package/build/heading/hook.js.map +1 -1
  336. package/build/higher-order/navigate-regions/index.js +3 -2
  337. package/build/higher-order/navigate-regions/index.js.map +1 -1
  338. package/build/higher-order/with-constrained-tabbing/index.js +3 -3
  339. package/build/higher-order/with-constrained-tabbing/index.js.map +1 -1
  340. package/build/higher-order/with-fallback-styles/index.js +4 -3
  341. package/build/higher-order/with-fallback-styles/index.js.map +1 -1
  342. package/build/higher-order/with-filters/index.js +2 -1
  343. package/build/higher-order/with-filters/index.js.map +1 -1
  344. package/build/higher-order/with-focus-outside/index.js +3 -2
  345. package/build/higher-order/with-focus-outside/index.js.map +1 -1
  346. package/build/higher-order/with-focus-outside/index.native.js +4 -3
  347. package/build/higher-order/with-focus-outside/index.native.js.map +1 -1
  348. package/build/higher-order/with-focus-return/index.js +3 -2
  349. package/build/higher-order/with-focus-return/index.js.map +1 -1
  350. package/build/higher-order/with-notices/index.js +5 -4
  351. package/build/higher-order/with-notices/index.js.map +1 -1
  352. package/build/higher-order/with-spoken-messages/index.js +5 -5
  353. package/build/higher-order/with-spoken-messages/index.js.map +1 -1
  354. package/build/input-control/backdrop.js +2 -1
  355. package/build/input-control/backdrop.js.map +1 -1
  356. package/build/input-control/index.js +34 -31
  357. package/build/input-control/index.js.map +1 -1
  358. package/build/input-control/input-base.js +30 -27
  359. package/build/input-control/input-base.js.map +1 -1
  360. package/build/input-control/input-field.js +4 -3
  361. package/build/input-control/input-field.js.map +1 -1
  362. package/build/input-control/input-prefix-wrapper.js +3 -3
  363. package/build/input-control/input-prefix-wrapper.js.map +1 -1
  364. package/build/input-control/input-suffix-wrapper.js +3 -3
  365. package/build/input-control/input-suffix-wrapper.js.map +1 -1
  366. package/build/input-control/label.js +3 -3
  367. package/build/input-control/label.js.map +1 -1
  368. package/build/input-control/styles/input-control-styles.js +35 -35
  369. package/build/input-control/styles/input-control-styles.js.map +1 -1
  370. package/build/input-control/types.js.map +1 -1
  371. package/build/isolated-event-container/index.js +2 -1
  372. package/build/isolated-event-container/index.js.map +1 -1
  373. package/build/item-group/item/component.js +4 -4
  374. package/build/item-group/item/component.js.map +1 -1
  375. package/build/item-group/item/hook.js +1 -1
  376. package/build/item-group/item/hook.js.map +1 -1
  377. package/build/item-group/item-group/component.js +4 -4
  378. package/build/item-group/item-group/component.js.map +1 -1
  379. package/build/item-group/item-group/hook.js +1 -1
  380. package/build/item-group/item-group/hook.js.map +1 -1
  381. package/build/keyboard-shortcuts/index.js +4 -3
  382. package/build/keyboard-shortcuts/index.js.map +1 -1
  383. package/build/menu-group/index.js +5 -4
  384. package/build/menu-group/index.js.map +1 -1
  385. package/build/menu-item/index.js +9 -8
  386. package/build/menu-item/index.js.map +1 -1
  387. package/build/menu-items-choice/index.js +3 -3
  388. package/build/menu-items-choice/index.js.map +1 -1
  389. package/build/mobile/audio-player/index.native.js +15 -14
  390. package/build/mobile/audio-player/index.native.js.map +1 -1
  391. package/build/mobile/badge/index.native.js +3 -3
  392. package/build/mobile/badge/index.native.js.map +1 -1
  393. package/build/mobile/bottom-sheet/bottom-sheet-navigation/navigation-container.native.js +8 -7
  394. package/build/mobile/bottom-sheet/bottom-sheet-navigation/navigation-container.native.js.map +1 -1
  395. package/build/mobile/bottom-sheet/bottom-sheet-navigation/navigation-screen.native.js +7 -6
  396. package/build/mobile/bottom-sheet/bottom-sheet-navigation/navigation-screen.native.js.map +1 -1
  397. package/build/mobile/bottom-sheet/button.native.js +4 -4
  398. package/build/mobile/bottom-sheet/button.native.js.map +1 -1
  399. package/build/mobile/bottom-sheet/cell.native.js +22 -21
  400. package/build/mobile/bottom-sheet/cell.native.js.map +1 -1
  401. package/build/mobile/bottom-sheet/chevron-back.native.js +3 -3
  402. package/build/mobile/bottom-sheet/chevron-back.native.js.map +1 -1
  403. package/build/mobile/bottom-sheet/color-cell.native.js +4 -4
  404. package/build/mobile/bottom-sheet/color-cell.native.js.map +1 -1
  405. package/build/mobile/bottom-sheet/cycle-picker-cell.native.js +2 -2
  406. package/build/mobile/bottom-sheet/cycle-picker-cell.native.js.map +1 -1
  407. package/build/mobile/bottom-sheet/footer-message-cell.native.js +2 -2
  408. package/build/mobile/bottom-sheet/footer-message-cell.native.js.map +1 -1
  409. package/build/mobile/bottom-sheet/footer-message-link/footer-message-link.native.js +2 -2
  410. package/build/mobile/bottom-sheet/footer-message-link/footer-message-link.native.js.map +1 -1
  411. package/build/mobile/bottom-sheet/index.native.js +15 -14
  412. package/build/mobile/bottom-sheet/index.native.js.map +1 -1
  413. package/build/mobile/bottom-sheet/keyboard-avoiding-view.native.js +3 -2
  414. package/build/mobile/bottom-sheet/keyboard-avoiding-view.native.js.map +1 -1
  415. package/build/mobile/bottom-sheet/link-cell.native.js +3 -3
  416. package/build/mobile/bottom-sheet/link-cell.native.js.map +1 -1
  417. package/build/mobile/bottom-sheet/link-suggestion-item-cell.native.js +5 -5
  418. package/build/mobile/bottom-sheet/link-suggestion-item-cell.native.js.map +1 -1
  419. package/build/mobile/bottom-sheet/lock-icon/index.native.js +2 -2
  420. package/build/mobile/bottom-sheet/lock-icon/index.native.js.map +1 -1
  421. package/build/mobile/bottom-sheet/nav-bar/action-button.native.js +3 -3
  422. package/build/mobile/bottom-sheet/nav-bar/action-button.native.js.map +1 -1
  423. package/build/mobile/bottom-sheet/nav-bar/apply-button.native.js +5 -5
  424. package/build/mobile/bottom-sheet/nav-bar/apply-button.native.js.map +1 -1
  425. package/build/mobile/bottom-sheet/nav-bar/back-button.native.js +9 -9
  426. package/build/mobile/bottom-sheet/nav-bar/back-button.native.js.map +1 -1
  427. package/build/mobile/bottom-sheet/nav-bar/heading.native.js +2 -2
  428. package/build/mobile/bottom-sheet/nav-bar/heading.native.js.map +1 -1
  429. package/build/mobile/bottom-sheet/nav-bar/index.native.js +2 -2
  430. package/build/mobile/bottom-sheet/nav-bar/index.native.js.map +1 -1
  431. package/build/mobile/bottom-sheet/picker-cell.native.js +3 -3
  432. package/build/mobile/bottom-sheet/picker-cell.native.js.map +1 -1
  433. package/build/mobile/bottom-sheet/radio-cell.native.js +3 -3
  434. package/build/mobile/bottom-sheet/radio-cell.native.js.map +1 -1
  435. package/build/mobile/bottom-sheet/range-cell.native.js +9 -8
  436. package/build/mobile/bottom-sheet/range-cell.native.js.map +1 -1
  437. package/build/mobile/bottom-sheet/range-text-input.native.js +6 -5
  438. package/build/mobile/bottom-sheet/range-text-input.native.js.map +1 -1
  439. package/build/mobile/bottom-sheet/ripple.native.js +4 -4
  440. package/build/mobile/bottom-sheet/ripple.native.js.map +1 -1
  441. package/build/mobile/bottom-sheet/stepper-cell/index.native.js +8 -7
  442. package/build/mobile/bottom-sheet/stepper-cell/index.native.js.map +1 -1
  443. package/build/mobile/bottom-sheet/stepper-cell/stepper.android.js +7 -7
  444. package/build/mobile/bottom-sheet/stepper-cell/stepper.android.js.map +1 -1
  445. package/build/mobile/bottom-sheet/stepper-cell/stepper.ios.js +7 -7
  446. package/build/mobile/bottom-sheet/stepper-cell/stepper.ios.js.map +1 -1
  447. package/build/mobile/bottom-sheet/sub-sheet/index.native.js +3 -2
  448. package/build/mobile/bottom-sheet/sub-sheet/index.native.js.map +1 -1
  449. package/build/mobile/bottom-sheet/switch-cell.native.js +3 -3
  450. package/build/mobile/bottom-sheet/switch-cell.native.js.map +1 -1
  451. package/build/mobile/bottom-sheet-select-control/index.native.js +9 -8
  452. package/build/mobile/bottom-sheet-select-control/index.native.js.map +1 -1
  453. package/build/mobile/bottom-sheet-text-control/index.native.js +10 -9
  454. package/build/mobile/bottom-sheet-text-control/index.native.js.map +1 -1
  455. package/build/mobile/color-settings/gradient-picker-screen.native.js +3 -3
  456. package/build/mobile/color-settings/gradient-picker-screen.native.js.map +1 -1
  457. package/build/mobile/color-settings/index.native.js +7 -6
  458. package/build/mobile/color-settings/index.native.js.map +1 -1
  459. package/build/mobile/color-settings/palette.screen.native.js +19 -18
  460. package/build/mobile/color-settings/palette.screen.native.js.map +1 -1
  461. package/build/mobile/color-settings/picker-screen.native.js +3 -2
  462. package/build/mobile/color-settings/picker-screen.native.js.map +1 -1
  463. package/build/mobile/cycle-select-control/index.native.js +2 -1
  464. package/build/mobile/cycle-select-control/index.native.js.map +1 -1
  465. package/build/mobile/dashicons/index.native.js +4 -4
  466. package/build/mobile/dashicons/index.native.js.map +1 -1
  467. package/build/mobile/focal-point-settings-panel/index.native.js +7 -6
  468. package/build/mobile/focal-point-settings-panel/index.native.js.map +1 -1
  469. package/build/mobile/global-styles-context/index.native.js +2 -1
  470. package/build/mobile/global-styles-context/index.native.js.map +1 -1
  471. package/build/mobile/gradient/index.native.js +8 -7
  472. package/build/mobile/gradient/index.native.js.map +1 -1
  473. package/build/mobile/gridicons/index.native.js +4 -4
  474. package/build/mobile/gridicons/index.native.js.map +1 -1
  475. package/build/mobile/html-text-input/index.native.js +7 -6
  476. package/build/mobile/html-text-input/index.native.js.map +1 -1
  477. package/build/mobile/image/icon-customize.native.js +3 -3
  478. package/build/mobile/image/icon-customize.native.js.map +1 -1
  479. package/build/mobile/image/icon-retry.native.js +4 -4
  480. package/build/mobile/image/icon-retry.native.js.map +1 -1
  481. package/build/mobile/image/image-editing-button.native.js +6 -6
  482. package/build/mobile/image/image-editing-button.native.js.map +1 -1
  483. package/build/mobile/image/index.native.js +15 -14
  484. package/build/mobile/image/index.native.js.map +1 -1
  485. package/build/mobile/inserter-button/index.native.js +9 -8
  486. package/build/mobile/inserter-button/index.native.js.map +1 -1
  487. package/build/mobile/inserter-button/sparkles.js +3 -3
  488. package/build/mobile/inserter-button/sparkles.js.map +1 -1
  489. package/build/mobile/keyboard-avoiding-view/index.ios.js +4 -3
  490. package/build/mobile/keyboard-avoiding-view/index.ios.js.map +1 -1
  491. package/build/mobile/keyboard-aware-flat-list/index.android.js +3 -3
  492. package/build/mobile/keyboard-aware-flat-list/index.android.js.map +1 -1
  493. package/build/mobile/keyboard-aware-flat-list/index.ios.js +5 -4
  494. package/build/mobile/keyboard-aware-flat-list/index.ios.js.map +1 -1
  495. package/build/mobile/link-picker/index.native.js +11 -10
  496. package/build/mobile/link-picker/index.native.js.map +1 -1
  497. package/build/mobile/link-picker/link-picker-results.native.js +7 -6
  498. package/build/mobile/link-picker/link-picker-results.native.js.map +1 -1
  499. package/build/mobile/link-picker/link-picker-screen.native.js +3 -2
  500. package/build/mobile/link-picker/link-picker-screen.native.js.map +1 -1
  501. package/build/mobile/link-settings/image-link-destinations-screen.native.js +8 -8
  502. package/build/mobile/link-settings/image-link-destinations-screen.native.js.map +1 -1
  503. package/build/mobile/link-settings/index.native.js +11 -10
  504. package/build/mobile/link-settings/index.native.js.map +1 -1
  505. package/build/mobile/link-settings/link-rel.native.js +3 -3
  506. package/build/mobile/link-settings/link-rel.native.js.map +1 -1
  507. package/build/mobile/link-settings/link-settings-navigation.native.js +8 -7
  508. package/build/mobile/link-settings/link-settings-navigation.native.js.map +1 -1
  509. package/build/mobile/link-settings/link-settings-screen.native.js +3 -2
  510. package/build/mobile/link-settings/link-settings-screen.native.js.map +1 -1
  511. package/build/mobile/media-edit/index.native.js +2 -1
  512. package/build/mobile/media-edit/index.native.js.map +1 -1
  513. package/build/mobile/picker/index.android.js +8 -7
  514. package/build/mobile/picker/index.android.js.map +1 -1
  515. package/build/mobile/picker/index.ios.js +3 -2
  516. package/build/mobile/picker/index.ios.js.map +1 -1
  517. package/build/mobile/segmented-control/index.native.js +12 -11
  518. package/build/mobile/segmented-control/index.native.js.map +1 -1
  519. package/build/modal/aria-helper.js +17 -28
  520. package/build/modal/aria-helper.js.map +1 -1
  521. package/build/modal/index.js +24 -16
  522. package/build/modal/index.js.map +1 -1
  523. package/build/modal/types.js.map +1 -1
  524. package/build/navigable-container/container.js +3 -2
  525. package/build/navigable-container/container.js.map +1 -1
  526. package/build/navigable-container/menu.js +2 -1
  527. package/build/navigable-container/menu.js.map +1 -1
  528. package/build/navigable-container/tabbable.js +2 -1
  529. package/build/navigable-container/tabbable.js.map +1 -1
  530. package/build/navigable-container/types.js.map +1 -1
  531. package/build/navigation/back-button/index.js +4 -3
  532. package/build/navigation/back-button/index.js.map +1 -1
  533. package/build/navigation/group/index.js +7 -6
  534. package/build/navigation/group/index.js.map +1 -1
  535. package/build/navigation/index.js +5 -4
  536. package/build/navigation/index.js.map +1 -1
  537. package/build/navigation/item/base-content.js +3 -3
  538. package/build/navigation/item/base-content.js.map +1 -1
  539. package/build/navigation/item/base.js +3 -2
  540. package/build/navigation/item/base.js.map +1 -1
  541. package/build/navigation/item/index.js +6 -6
  542. package/build/navigation/item/index.js.map +1 -1
  543. package/build/navigation/menu/index.js +9 -8
  544. package/build/navigation/menu/index.js.map +1 -1
  545. package/build/navigation/menu/menu-title-search.js +3 -2
  546. package/build/navigation/menu/menu-title-search.js.map +1 -1
  547. package/build/navigation/menu/menu-title.js +8 -7
  548. package/build/navigation/menu/menu-title.js.map +1 -1
  549. package/build/navigation/menu/search-no-results-found.js +2 -2
  550. package/build/navigation/menu/search-no-results-found.js.map +1 -1
  551. package/build/navigation/styles/navigation-styles.js +13 -13
  552. package/build/navigation/styles/navigation-styles.js.map +1 -1
  553. package/build/navigator/navigator-back-button/component.js +3 -3
  554. package/build/navigator/navigator-back-button/component.js.map +1 -1
  555. package/build/navigator/navigator-back-button/hook.js +1 -1
  556. package/build/navigator/navigator-back-button/hook.js.map +1 -1
  557. package/build/navigator/navigator-button/component.js +3 -3
  558. package/build/navigator/navigator-button/component.js.map +1 -1
  559. package/build/navigator/navigator-button/hook.js +1 -1
  560. package/build/navigator/navigator-button/hook.js.map +1 -1
  561. package/build/navigator/navigator-provider/component.js +6 -5
  562. package/build/navigator/navigator-provider/component.js.map +1 -1
  563. package/build/navigator/navigator-screen/component.js +7 -6
  564. package/build/navigator/navigator-screen/component.js.map +1 -1
  565. package/build/navigator/navigator-to-parent-button/component.js +3 -3
  566. package/build/navigator/navigator-to-parent-button/component.js.map +1 -1
  567. package/build/notice/index.js +8 -7
  568. package/build/notice/index.js.map +1 -1
  569. package/build/notice/index.native.js +7 -6
  570. package/build/notice/index.native.js.map +1 -1
  571. package/build/notice/list.js +3 -3
  572. package/build/notice/list.js.map +1 -1
  573. package/build/notice/list.native.js +4 -3
  574. package/build/notice/list.native.js.map +1 -1
  575. package/build/number-control/index.js +32 -30
  576. package/build/number-control/index.js.map +1 -1
  577. package/build/number-control/styles/number-control-styles.js +5 -5
  578. package/build/number-control/styles/number-control-styles.js.map +1 -1
  579. package/build/palette-edit/index.js +28 -27
  580. package/build/palette-edit/index.js.map +1 -1
  581. package/build/palette-edit/styles.js +11 -11
  582. package/build/palette-edit/styles.js.map +1 -1
  583. package/build/panel/actions.native.js +5 -4
  584. package/build/panel/actions.native.js.map +1 -1
  585. package/build/panel/body.js +9 -8
  586. package/build/panel/body.js.map +1 -1
  587. package/build/panel/body.native.js +4 -4
  588. package/build/panel/body.native.js.map +1 -1
  589. package/build/panel/bottom-separator-cover.native.js +2 -2
  590. package/build/panel/bottom-separator-cover.native.js.map +1 -1
  591. package/build/panel/header.js +3 -3
  592. package/build/panel/header.js.map +1 -1
  593. package/build/panel/index.js +4 -3
  594. package/build/panel/index.js.map +1 -1
  595. package/build/panel/row.js +3 -2
  596. package/build/panel/row.js.map +1 -1
  597. package/build/panel/types.js.map +1 -1
  598. package/build/placeholder/index.js +10 -9
  599. package/build/placeholder/index.js.map +1 -1
  600. package/build/popover/index.js +16 -17
  601. package/build/popover/index.js.map +1 -1
  602. package/build/private-apis.js +1 -1
  603. package/build/private-apis.js.map +1 -1
  604. package/build/progress-bar/index.js +5 -4
  605. package/build/progress-bar/index.js.map +1 -1
  606. package/build/query-controls/author-select.js +2 -2
  607. package/build/query-controls/author-select.js.map +1 -1
  608. package/build/query-controls/category-select.js +3 -2
  609. package/build/query-controls/category-select.js.map +1 -1
  610. package/build/query-controls/index.js +7 -7
  611. package/build/query-controls/index.js.map +1 -1
  612. package/build/query-controls/index.native.js +5 -4
  613. package/build/query-controls/index.native.js.map +1 -1
  614. package/build/radio-control/index.js +6 -6
  615. package/build/radio-control/index.js.map +1 -1
  616. package/build/radio-control/index.native.js +3 -3
  617. package/build/radio-control/index.native.js.map +1 -1
  618. package/build/radio-group/index.js +4 -3
  619. package/build/radio-group/index.js.map +1 -1
  620. package/build/radio-group/radio/index.js +3 -2
  621. package/build/radio-group/radio/index.js.map +1 -1
  622. package/build/range-control/index.js +16 -15
  623. package/build/range-control/index.js.map +1 -1
  624. package/build/range-control/index.native.js +3 -2
  625. package/build/range-control/index.native.js.map +1 -1
  626. package/build/range-control/input-range.js +2 -1
  627. package/build/range-control/input-range.js.map +1 -1
  628. package/build/range-control/mark.js +3 -3
  629. package/build/range-control/mark.js.map +1 -1
  630. package/build/range-control/rail.js +5 -5
  631. package/build/range-control/rail.js.map +1 -1
  632. package/build/range-control/styles/range-control-styles.js +30 -30
  633. package/build/range-control/styles/range-control-styles.js.map +1 -1
  634. package/build/range-control/tooltip.js +3 -2
  635. package/build/range-control/tooltip.js.map +1 -1
  636. package/build/resizable-box/index.js +3 -2
  637. package/build/resizable-box/index.js.map +1 -1
  638. package/build/resizable-box/index.native.js +2 -2
  639. package/build/resizable-box/index.native.js.map +1 -1
  640. package/build/resizable-box/resize-tooltip/index.js +4 -3
  641. package/build/resizable-box/resize-tooltip/index.js.map +1 -1
  642. package/build/resizable-box/resize-tooltip/label.js +4 -3
  643. package/build/resizable-box/resize-tooltip/label.js.map +1 -1
  644. package/build/responsive-wrapper/index.js +4 -3
  645. package/build/responsive-wrapper/index.js.map +1 -1
  646. package/build/sandbox/index.js +12 -9
  647. package/build/sandbox/index.js.map +1 -1
  648. package/build/sandbox/index.native.js +10 -9
  649. package/build/sandbox/index.native.js.map +1 -1
  650. package/build/sandbox/types.js.map +1 -1
  651. package/build/scrollable/component.js +3 -3
  652. package/build/scrollable/component.js.map +1 -1
  653. package/build/scrollable/hook.js +1 -1
  654. package/build/scrollable/hook.js.map +1 -1
  655. package/build/search-control/index.js +9 -8
  656. package/build/search-control/index.js.map +1 -1
  657. package/build/search-control/index.native.js +14 -13
  658. package/build/search-control/index.native.js.map +1 -1
  659. package/build/select-control/chevron-down.js +2 -2
  660. package/build/select-control/chevron-down.js.map +1 -1
  661. package/build/select-control/index.js +12 -10
  662. package/build/select-control/index.js.map +1 -1
  663. package/build/select-control/index.native.js +2 -1
  664. package/build/select-control/index.native.js.map +1 -1
  665. package/build/select-control/styles/select-control-styles.js +13 -13
  666. package/build/select-control/styles/select-control-styles.js.map +1 -1
  667. package/build/select-control/types.js.map +1 -1
  668. package/build/shortcut/index.js +2 -2
  669. package/build/shortcut/index.js.map +1 -1
  670. package/build/slot-fill/bubbles-virtually/fill.js +9 -10
  671. package/build/slot-fill/bubbles-virtually/fill.js.map +1 -1
  672. package/build/slot-fill/bubbles-virtually/slot-fill-context.js +3 -3
  673. package/build/slot-fill/bubbles-virtually/slot-fill-context.js.map +1 -1
  674. package/build/slot-fill/bubbles-virtually/slot-fill-provider.js +17 -17
  675. package/build/slot-fill/bubbles-virtually/slot-fill-provider.js.map +1 -1
  676. package/build/slot-fill/bubbles-virtually/slot.js +8 -3
  677. package/build/slot-fill/bubbles-virtually/slot.js.map +1 -1
  678. package/build/slot-fill/bubbles-virtually/use-slot-fills.js +0 -1
  679. package/build/slot-fill/bubbles-virtually/use-slot-fills.js.map +1 -1
  680. package/build/slot-fill/bubbles-virtually/use-slot.js +0 -1
  681. package/build/slot-fill/bubbles-virtually/use-slot.js.map +1 -1
  682. package/build/slot-fill/context.js +6 -6
  683. package/build/slot-fill/context.js.map +1 -1
  684. package/build/slot-fill/fill.js +0 -2
  685. package/build/slot-fill/fill.js.map +1 -1
  686. package/build/slot-fill/index.js +26 -21
  687. package/build/slot-fill/index.js.map +1 -1
  688. package/build/slot-fill/index.native.js +4 -4
  689. package/build/slot-fill/index.native.js.map +1 -1
  690. package/build/slot-fill/provider.js +53 -58
  691. package/build/slot-fill/provider.js.map +1 -1
  692. package/build/slot-fill/slot.js +17 -10
  693. package/build/slot-fill/slot.js.map +1 -1
  694. package/build/slot-fill/types.js.map +1 -0
  695. package/build/slot-fill/use-slot.js +2 -3
  696. package/build/slot-fill/use-slot.js.map +1 -1
  697. package/build/snackbar/index.js +7 -6
  698. package/build/snackbar/index.js.map +1 -1
  699. package/build/snackbar/list.js +7 -6
  700. package/build/snackbar/list.js.map +1 -1
  701. package/build/spacer/component.js +3 -3
  702. package/build/spacer/component.js.map +1 -1
  703. package/build/spacer/hook.js +4 -4
  704. package/build/spacer/hook.js.map +1 -1
  705. package/build/spacer/types.js.map +1 -1
  706. package/build/spinner/index.js +5 -4
  707. package/build/spinner/index.js.map +1 -1
  708. package/build/spinner/index.native.js +2 -2
  709. package/build/spinner/index.native.js.map +1 -1
  710. package/build/style-provider/index.js +3 -3
  711. package/build/style-provider/index.js.map +1 -1
  712. package/build/surface/component.js +3 -3
  713. package/build/surface/component.js.map +1 -1
  714. package/build/surface/hook.js +1 -1
  715. package/build/surface/hook.js.map +1 -1
  716. package/build/tab-panel/index.js +8 -6
  717. package/build/tab-panel/index.js.map +1 -1
  718. package/build/text/component.js +5 -5
  719. package/build/text/component.js.map +1 -1
  720. package/build/text/get-line-height.js +1 -1
  721. package/build/text/get-line-height.js.map +1 -1
  722. package/build/text/hook.js +15 -15
  723. package/build/text/hook.js.map +1 -1
  724. package/build/text/types.js.map +1 -1
  725. package/build/text-control/index.js +4 -3
  726. package/build/text-control/index.js.map +1 -1
  727. package/build/text-control/index.native.js +2 -1
  728. package/build/text-control/index.native.js.map +1 -1
  729. package/build/text-highlight/index.js +3 -2
  730. package/build/text-highlight/index.js.map +1 -1
  731. package/build/textarea-control/index.js +33 -33
  732. package/build/textarea-control/index.js.map +1 -1
  733. package/build/textarea-control/index.native.js +3 -3
  734. package/build/textarea-control/index.native.js.map +1 -1
  735. package/build/theme/index.js +2 -1
  736. package/build/theme/index.js.map +1 -1
  737. package/build/tip/index.js +4 -4
  738. package/build/tip/index.js.map +1 -1
  739. package/build/toggle-control/index.js +9 -9
  740. package/build/toggle-control/index.js.map +1 -1
  741. package/build/toggle-control/index.native.js +2 -1
  742. package/build/toggle-control/index.native.js.map +1 -1
  743. package/build/toggle-group-control/toggle-group-control/as-button-group.js +4 -3
  744. package/build/toggle-group-control/toggle-group-control/as-button-group.js.map +1 -1
  745. package/build/toggle-group-control/toggle-group-control/as-radio-group.js +9 -6
  746. package/build/toggle-group-control/toggle-group-control/as-radio-group.js.map +1 -1
  747. package/build/toggle-group-control/toggle-group-control/component.js +6 -5
  748. package/build/toggle-group-control/toggle-group-control/component.js.map +1 -1
  749. package/build/toggle-group-control/toggle-group-control-option/component.js +2 -1
  750. package/build/toggle-group-control/toggle-group-control-option/component.js.map +1 -1
  751. package/build/toggle-group-control/toggle-group-control-option-base/component.js +12 -11
  752. package/build/toggle-group-control/toggle-group-control-option-base/component.js.map +1 -1
  753. package/build/toggle-group-control/toggle-group-control-option-icon/component.js +3 -2
  754. package/build/toggle-group-control/toggle-group-control-option-icon/component.js.map +1 -1
  755. package/build/toolbar/toolbar/index.js +6 -5
  756. package/build/toolbar/toolbar/index.js.map +1 -1
  757. package/build/toolbar/toolbar/toolbar-container.js +8 -4
  758. package/build/toolbar/toolbar/toolbar-container.js.map +1 -1
  759. package/build/toolbar/toolbar/toolbar-container.native.js +2 -2
  760. package/build/toolbar/toolbar/toolbar-container.native.js.map +1 -1
  761. package/build/toolbar/toolbar-button/index.js +6 -5
  762. package/build/toolbar/toolbar-button/index.js.map +1 -1
  763. package/build/toolbar/toolbar-button/toolbar-button-container.js +2 -2
  764. package/build/toolbar/toolbar-button/toolbar-button-container.js.map +1 -1
  765. package/build/toolbar/toolbar-button/toolbar-button-container.native.js +2 -2
  766. package/build/toolbar/toolbar-button/toolbar-button-container.native.js.map +1 -1
  767. package/build/toolbar/toolbar-context/index.js +1 -0
  768. package/build/toolbar/toolbar-context/index.js.map +1 -1
  769. package/build/toolbar/toolbar-dropdown-menu/index.js +4 -3
  770. package/build/toolbar/toolbar-dropdown-menu/index.js.map +1 -1
  771. package/build/toolbar/toolbar-group/index.js +5 -4
  772. package/build/toolbar/toolbar-group/index.js.map +1 -1
  773. package/build/toolbar/toolbar-group/toolbar-group-collapsed.js +3 -2
  774. package/build/toolbar/toolbar-group/toolbar-group-collapsed.js.map +1 -1
  775. package/build/toolbar/toolbar-group/toolbar-group-collapsed.native.js +3 -3
  776. package/build/toolbar/toolbar-group/toolbar-group-collapsed.native.js.map +1 -1
  777. package/build/toolbar/toolbar-group/toolbar-group-container.js +2 -2
  778. package/build/toolbar/toolbar-group/toolbar-group-container.js.map +1 -1
  779. package/build/toolbar/toolbar-group/toolbar-group-container.native.js +2 -2
  780. package/build/toolbar/toolbar-group/toolbar-group-container.native.js.map +1 -1
  781. package/build/toolbar/toolbar-item/index.js +8 -4
  782. package/build/toolbar/toolbar-item/index.js.map +1 -1
  783. package/build/tools-panel/styles.js +14 -14
  784. package/build/tools-panel/styles.js.map +1 -1
  785. package/build/tools-panel/tools-panel/component.js +5 -5
  786. package/build/tools-panel/tools-panel/component.js.map +1 -1
  787. package/build/tools-panel/tools-panel/hook.js +1 -1
  788. package/build/tools-panel/tools-panel/hook.js.map +1 -1
  789. package/build/tools-panel/tools-panel-header/component.js +14 -14
  790. package/build/tools-panel/tools-panel-header/component.js.map +1 -1
  791. package/build/tools-panel/tools-panel-header/hook.js +1 -1
  792. package/build/tools-panel/tools-panel-header/hook.js.map +1 -1
  793. package/build/tools-panel/tools-panel-item/component.js +4 -4
  794. package/build/tools-panel/tools-panel-item/component.js.map +1 -1
  795. package/build/tools-panel/tools-panel-item/hook.js +1 -1
  796. package/build/tools-panel/tools-panel-item/hook.js.map +1 -1
  797. package/build/tooltip/index.js +7 -6
  798. package/build/tooltip/index.js.map +1 -1
  799. package/build/tooltip/index.native.js +10 -9
  800. package/build/tooltip/index.native.js.map +1 -1
  801. package/build/tree-grid/cell.js +3 -2
  802. package/build/tree-grid/cell.js.map +1 -1
  803. package/build/tree-grid/index.js +5 -4
  804. package/build/tree-grid/index.js.map +1 -1
  805. package/build/tree-grid/item.js +2 -1
  806. package/build/tree-grid/item.js.map +1 -1
  807. package/build/tree-grid/roving-tab-index-item.js +2 -1
  808. package/build/tree-grid/roving-tab-index-item.js.map +1 -1
  809. package/build/tree-grid/roving-tab-index.js +2 -1
  810. package/build/tree-grid/roving-tab-index.js.map +1 -1
  811. package/build/tree-grid/row.js +2 -1
  812. package/build/tree-grid/row.js.map +1 -1
  813. package/build/tree-select/index.js +13 -10
  814. package/build/tree-select/index.js.map +1 -1
  815. package/build/truncate/component.js +3 -3
  816. package/build/truncate/component.js.map +1 -1
  817. package/build/truncate/hook.js +2 -2
  818. package/build/truncate/hook.js.map +1 -1
  819. package/build/unit-control/index.js +7 -5
  820. package/build/unit-control/index.js.map +1 -1
  821. package/build/unit-control/index.native.js +9 -8
  822. package/build/unit-control/index.native.js.map +1 -1
  823. package/build/unit-control/styles/unit-control-styles.js +11 -11
  824. package/build/unit-control/styles/unit-control-styles.js.map +1 -1
  825. package/build/unit-control/types.js.map +1 -1
  826. package/build/unit-control/unit-select-control.js +5 -4
  827. package/build/unit-control/unit-select-control.js.map +1 -1
  828. package/build/utils/colors.js +82 -0
  829. package/build/utils/colors.js.map +1 -1
  830. package/build/utils/config-values.js +1 -1
  831. package/build/utils/config-values.js.map +1 -1
  832. package/build/{ui/utils → utils}/font-size.js +1 -1
  833. package/build/utils/font-size.js.map +1 -0
  834. package/build/utils/get-valid-children.js.map +1 -0
  835. package/build/utils/space.js.map +1 -0
  836. package/build/utils/types.js.map +1 -1
  837. package/build/utils/use-deprecated-props.js +3 -2
  838. package/build/utils/use-deprecated-props.js.map +1 -1
  839. package/build/utils/use-responsive-value.js.map +1 -0
  840. package/build/v-stack/component.js +3 -3
  841. package/build/v-stack/component.js.map +1 -1
  842. package/build/v-stack/hook.js +1 -1
  843. package/build/v-stack/hook.js.map +1 -1
  844. package/build/view/component.js +1 -1
  845. package/build/view/component.js.map +1 -1
  846. package/build/visually-hidden/component.js +3 -3
  847. package/build/visually-hidden/component.js.map +1 -1
  848. package/build/z-stack/component.js +5 -4
  849. package/build/z-stack/component.js.map +1 -1
  850. package/build-module/alignment-matrix-control/cell.js +1 -1
  851. package/build-module/alignment-matrix-control/cell.js.map +1 -1
  852. package/build-module/alignment-matrix-control/icon.js +1 -1
  853. package/build-module/alignment-matrix-control/icon.js.map +1 -1
  854. package/build-module/alignment-matrix-control/index.js +1 -1
  855. package/build-module/alignment-matrix-control/index.js.map +1 -1
  856. package/build-module/angle-picker-control/angle-circle.js +1 -1
  857. package/build-module/angle-picker-control/angle-circle.js.map +1 -1
  858. package/build-module/angle-picker-control/index.js +1 -1
  859. package/build-module/angle-picker-control/index.js.map +1 -1
  860. package/build-module/angle-picker-control/styles/angle-picker-control-styles.js +7 -7
  861. package/build-module/angle-picker-control/styles/angle-picker-control-styles.js.map +1 -1
  862. package/build-module/autocomplete/autocompleter-ui.js +1 -1
  863. package/build-module/autocomplete/autocompleter-ui.native.js +1 -1
  864. package/build-module/autocomplete/background-view.android.js +1 -1
  865. package/build-module/autocomplete/background-view.ios.js +1 -1
  866. package/build-module/autocomplete/index.js +1 -1
  867. package/build-module/autocomplete/types.js.map +1 -1
  868. package/build-module/base-control/index.js +1 -1
  869. package/build-module/base-control/index.js.map +1 -1
  870. package/build-module/base-control/index.native.js +1 -1
  871. package/build-module/base-control/styles/base-control-styles.js +9 -9
  872. package/build-module/base-control/styles/base-control-styles.js.map +1 -1
  873. package/build-module/border-box-control/border-box-control/component.js +2 -2
  874. package/build-module/border-box-control/border-box-control/component.js.map +1 -1
  875. package/build-module/border-box-control/border-box-control/hook.js +1 -1
  876. package/build-module/border-box-control/border-box-control/hook.js.map +1 -1
  877. package/build-module/border-box-control/border-box-control-linked-button/component.js +2 -2
  878. package/build-module/border-box-control/border-box-control-linked-button/component.js.map +1 -1
  879. package/build-module/border-box-control/border-box-control-linked-button/hook.js +1 -1
  880. package/build-module/border-box-control/border-box-control-linked-button/hook.js.map +1 -1
  881. package/build-module/border-box-control/border-box-control-split-controls/component.js +2 -2
  882. package/build-module/border-box-control/border-box-control-split-controls/component.js.map +1 -1
  883. package/build-module/border-box-control/border-box-control-split-controls/hook.js +1 -1
  884. package/build-module/border-box-control/border-box-control-split-controls/hook.js.map +1 -1
  885. package/build-module/border-box-control/border-box-control-visualizer/component.js +2 -2
  886. package/build-module/border-box-control/border-box-control-visualizer/component.js.map +1 -1
  887. package/build-module/border-box-control/border-box-control-visualizer/hook.js +1 -1
  888. package/build-module/border-box-control/border-box-control-visualizer/hook.js.map +1 -1
  889. package/build-module/border-control/border-control/component.js +2 -2
  890. package/build-module/border-control/border-control/component.js.map +1 -1
  891. package/build-module/border-control/border-control/hook.js +1 -1
  892. package/build-module/border-control/border-control/hook.js.map +1 -1
  893. package/build-module/border-control/border-control-dropdown/component.js +2 -2
  894. package/build-module/border-control/border-control-dropdown/component.js.map +1 -1
  895. package/build-module/border-control/border-control-dropdown/hook.js +1 -1
  896. package/build-module/border-control/border-control-dropdown/hook.js.map +1 -1
  897. package/build-module/border-control/border-control-style-picker/component.js +2 -2
  898. package/build-module/border-control/border-control-style-picker/component.js.map +1 -1
  899. package/build-module/border-control/border-control-style-picker/hook.js +1 -1
  900. package/build-module/border-control/border-control-style-picker/hook.js.map +1 -1
  901. package/build-module/border-control/styles.js +17 -17
  902. package/build-module/border-control/styles.js.map +1 -1
  903. package/build-module/box-control/all-input-control.js +1 -1
  904. package/build-module/box-control/axial-input-controls.js +1 -1
  905. package/build-module/box-control/icon.js +1 -1
  906. package/build-module/box-control/icon.js.map +1 -1
  907. package/build-module/box-control/index.js +1 -1
  908. package/build-module/box-control/input-controls.js +1 -1
  909. package/build-module/box-control/linked-button.js +1 -1
  910. package/build-module/box-control/unit-control.js +1 -1
  911. package/build-module/button/deprecated.js +1 -1
  912. package/build-module/button/index.js +16 -4
  913. package/build-module/button/index.js.map +1 -1
  914. package/build-module/button/index.native.js +1 -1
  915. package/build-module/button/types.js.map +1 -1
  916. package/build-module/button-group/index.js +1 -1
  917. package/build-module/button-group/index.js.map +1 -1
  918. package/build-module/card/card/component.js +3 -3
  919. package/build-module/card/card/component.js.map +1 -1
  920. package/build-module/card/card/hook.js +1 -1
  921. package/build-module/card/card/hook.js.map +1 -1
  922. package/build-module/card/card-body/component.js +2 -2
  923. package/build-module/card/card-body/component.js.map +1 -1
  924. package/build-module/card/card-body/hook.js +1 -1
  925. package/build-module/card/card-body/hook.js.map +1 -1
  926. package/build-module/card/card-divider/component.js +2 -2
  927. package/build-module/card/card-divider/component.js.map +1 -1
  928. package/build-module/card/card-divider/hook.js +1 -1
  929. package/build-module/card/card-divider/hook.js.map +1 -1
  930. package/build-module/card/card-footer/component.js +2 -2
  931. package/build-module/card/card-footer/component.js.map +1 -1
  932. package/build-module/card/card-footer/hook.js +1 -1
  933. package/build-module/card/card-footer/hook.js.map +1 -1
  934. package/build-module/card/card-header/component.js +2 -2
  935. package/build-module/card/card-header/component.js.map +1 -1
  936. package/build-module/card/card-header/hook.js +1 -1
  937. package/build-module/card/card-header/hook.js.map +1 -1
  938. package/build-module/card/card-media/component.js +2 -2
  939. package/build-module/card/card-media/component.js.map +1 -1
  940. package/build-module/card/card-media/hook.js +1 -1
  941. package/build-module/card/card-media/hook.js.map +1 -1
  942. package/build-module/checkbox-control/index.js +1 -1
  943. package/build-module/checkbox-control/index.js.map +1 -1
  944. package/build-module/circular-option-picker/circular-option-picker-actions.js +1 -1
  945. package/build-module/circular-option-picker/circular-option-picker-actions.js.map +1 -1
  946. package/build-module/circular-option-picker/circular-option-picker-option-group.js +1 -1
  947. package/build-module/circular-option-picker/circular-option-picker-option.js +8 -14
  948. package/build-module/circular-option-picker/circular-option-picker-option.js.map +1 -1
  949. package/build-module/circular-option-picker/circular-option-picker.js +1 -1
  950. package/build-module/circular-option-picker/types.js.map +1 -1
  951. package/build-module/clipboard-button/index.js +1 -1
  952. package/build-module/clipboard-button/index.js.map +1 -1
  953. package/build-module/color-control/index.native.js +1 -1
  954. package/build-module/color-indicator/index.js +1 -1
  955. package/build-module/color-indicator/index.js.map +1 -1
  956. package/build-module/color-indicator/index.native.js +1 -1
  957. package/build-module/color-palette/index.js +1 -1
  958. package/build-module/color-palette/index.js.map +1 -1
  959. package/build-module/color-palette/index.native.js +1 -1
  960. package/build-module/color-picker/color-copy-button.js +5 -7
  961. package/build-module/color-picker/color-copy-button.js.map +1 -1
  962. package/build-module/color-picker/color-input.js +1 -1
  963. package/build-module/color-picker/component.js +2 -2
  964. package/build-module/color-picker/component.js.map +1 -1
  965. package/build-module/color-picker/hex-input.js +2 -2
  966. package/build-module/color-picker/hex-input.js.map +1 -1
  967. package/build-module/color-picker/hsl-input.js +1 -1
  968. package/build-module/color-picker/hsv-color-picker.native.js +1 -1
  969. package/build-module/color-picker/hue-picker.native.js +1 -1
  970. package/build-module/color-picker/index.native.js +1 -1
  971. package/build-module/color-picker/input-with-slider.js +2 -2
  972. package/build-module/color-picker/input-with-slider.js.map +1 -1
  973. package/build-module/color-picker/legacy-adapter.js +1 -1
  974. package/build-module/color-picker/picker.js +1 -1
  975. package/build-module/color-picker/rgb-input.js +1 -1
  976. package/build-module/color-picker/saturation-picker.native.js +1 -1
  977. package/build-module/color-picker/styles.js +9 -9
  978. package/build-module/color-picker/styles.js.map +1 -1
  979. package/build-module/color-picker/types.js.map +1 -1
  980. package/build-module/combobox-control/index.js +1 -1
  981. package/build-module/combobox-control/styles.js +3 -3
  982. package/build-module/combobox-control/styles.js.map +1 -1
  983. package/build-module/confirm-dialog/component.js +2 -2
  984. package/build-module/confirm-dialog/component.js.map +1 -1
  985. package/build-module/context/constants.js.map +1 -0
  986. package/build-module/{ui/context → context}/context-connect.js +1 -1
  987. package/build-module/context/context-connect.js.map +1 -0
  988. package/build-module/{ui/context → context}/context-system-provider.js +2 -2
  989. package/build-module/context/context-system-provider.js.map +1 -0
  990. package/build-module/context/get-styled-class-name-from-key.js.map +1 -0
  991. package/build-module/context/index.js.map +1 -0
  992. package/build-module/{ui/context → context}/use-context-system.js +1 -1
  993. package/build-module/context/use-context-system.js.map +1 -0
  994. package/build-module/context/utils.js.map +1 -0
  995. package/build-module/context/wordpress-component.js.map +1 -0
  996. package/build-module/custom-gradient-picker/gradient-bar/control-points.js +1 -1
  997. package/build-module/custom-gradient-picker/gradient-bar/control-points.js.map +1 -1
  998. package/build-module/custom-gradient-picker/gradient-bar/index.js +1 -1
  999. package/build-module/custom-gradient-picker/index.js +1 -1
  1000. package/build-module/custom-gradient-picker/index.native.js +1 -1
  1001. package/build-module/custom-select-control/index.js +7 -6
  1002. package/build-module/custom-select-control/index.js.map +1 -1
  1003. package/build-module/dashicon/index.js +1 -1
  1004. package/build-module/dashicon/index.js.map +1 -1
  1005. package/build-module/dashicon/index.native.js +1 -1
  1006. package/build-module/date-time/date/index.js +1 -1
  1007. package/build-module/date-time/date/styles.js +7 -7
  1008. package/build-module/date-time/date/styles.js.map +1 -1
  1009. package/build-module/date-time/date-time/index.js +1 -1
  1010. package/build-module/date-time/time/index.js +11 -7
  1011. package/build-module/date-time/time/index.js.map +1 -1
  1012. package/build-module/date-time/time/styles.js +26 -34
  1013. package/build-module/date-time/time/styles.js.map +1 -1
  1014. package/build-module/date-time/time/timezone.js +1 -1
  1015. package/build-module/dimension-control/index.js +1 -1
  1016. package/build-module/disabled/index.js +1 -1
  1017. package/build-module/disabled/index.js.map +1 -1
  1018. package/build-module/disabled/index.native.js +1 -1
  1019. package/build-module/divider/component.js +2 -2
  1020. package/build-module/divider/component.js.map +1 -1
  1021. package/build-module/divider/styles.js +6 -6
  1022. package/build-module/divider/styles.js.map +1 -1
  1023. package/build-module/divider/types.js.map +1 -1
  1024. package/build-module/draggable/index.js +1 -1
  1025. package/build-module/draggable/index.native.js +1 -1
  1026. package/build-module/drop-zone/index.js +1 -1
  1027. package/build-module/drop-zone/index.js.map +1 -1
  1028. package/build-module/dropdown/dropdown-content-wrapper.js +2 -2
  1029. package/build-module/dropdown/dropdown-content-wrapper.js.map +1 -1
  1030. package/build-module/dropdown/index.js +2 -2
  1031. package/build-module/dropdown/index.js.map +1 -1
  1032. package/build-module/dropdown/index.native.js +1 -1
  1033. package/build-module/dropdown/styles.js +3 -3
  1034. package/build-module/dropdown/styles.js.map +1 -1
  1035. package/build-module/dropdown-menu/index.js +2 -2
  1036. package/build-module/dropdown-menu/index.js.map +1 -1
  1037. package/build-module/dropdown-menu/index.native.js +1 -1
  1038. package/build-module/dropdown-menu/types.js.map +1 -1
  1039. package/build-module/dropdown-menu-v2/index.js +2 -2
  1040. package/build-module/dropdown-menu-v2/index.js.map +1 -1
  1041. package/build-module/dropdown-menu-v2/styles.js +17 -17
  1042. package/build-module/dropdown-menu-v2/styles.js.map +1 -1
  1043. package/build-module/dropdown-menu-v2/types.js.map +1 -1
  1044. package/build-module/duotone-picker/color-list-picker/index.js +1 -1
  1045. package/build-module/duotone-picker/custom-duotone-bar.js +1 -1
  1046. package/build-module/duotone-picker/duotone-picker.js +7 -3
  1047. package/build-module/duotone-picker/duotone-picker.js.map +1 -1
  1048. package/build-module/duotone-picker/duotone-swatch.js +1 -1
  1049. package/build-module/elevation/component.js +2 -2
  1050. package/build-module/elevation/component.js.map +1 -1
  1051. package/build-module/elevation/hook.js +5 -5
  1052. package/build-module/elevation/hook.js.map +1 -1
  1053. package/build-module/external-link/index.js +1 -1
  1054. package/build-module/external-link/index.js.map +1 -1
  1055. package/build-module/external-link/index.native.js +1 -1
  1056. package/build-module/flex/flex/component.js +2 -2
  1057. package/build-module/flex/flex/component.js.map +1 -1
  1058. package/build-module/flex/flex/hook.js +4 -4
  1059. package/build-module/flex/flex/hook.js.map +1 -1
  1060. package/build-module/flex/flex-block/component.js +2 -2
  1061. package/build-module/flex/flex-block/component.js.map +1 -1
  1062. package/build-module/flex/flex-block/hook.js +1 -1
  1063. package/build-module/flex/flex-block/hook.js.map +1 -1
  1064. package/build-module/flex/flex-item/component.js +2 -2
  1065. package/build-module/flex/flex-item/component.js.map +1 -1
  1066. package/build-module/flex/flex-item/hook.js +2 -2
  1067. package/build-module/flex/flex-item/hook.js.map +1 -1
  1068. package/build-module/flex/types.js.map +1 -1
  1069. package/build-module/focal-point-picker/controls.js +1 -1
  1070. package/build-module/focal-point-picker/focal-point.js +1 -1
  1071. package/build-module/focal-point-picker/focal-point.js.map +1 -1
  1072. package/build-module/focal-point-picker/focal-point.native.js +1 -1
  1073. package/build-module/focal-point-picker/grid.js +1 -1
  1074. package/build-module/focal-point-picker/grid.js.map +1 -1
  1075. package/build-module/focal-point-picker/index.js +1 -1
  1076. package/build-module/focal-point-picker/index.js.map +1 -1
  1077. package/build-module/focal-point-picker/index.native.js +1 -1
  1078. package/build-module/focal-point-picker/media.js +1 -1
  1079. package/build-module/focal-point-picker/tooltip/index.native.js +1 -1
  1080. package/build-module/focusable-iframe/index.js +1 -1
  1081. package/build-module/font-size-picker/font-size-picker-select.js +1 -1
  1082. package/build-module/font-size-picker/font-size-picker-toggle-group.js +1 -1
  1083. package/build-module/font-size-picker/index.js +1 -1
  1084. package/build-module/font-size-picker/index.native.js +1 -1
  1085. package/build-module/font-size-picker/styles.js +7 -7
  1086. package/build-module/font-size-picker/styles.js.map +1 -1
  1087. package/build-module/footer-message-control/index.native.js +1 -1
  1088. package/build-module/form-file-upload/index.js +1 -1
  1089. package/build-module/form-file-upload/index.js.map +1 -1
  1090. package/build-module/form-toggle/index.js +1 -1
  1091. package/build-module/form-toggle/index.js.map +1 -1
  1092. package/build-module/form-token-field/index.js +1 -1
  1093. package/build-module/form-token-field/styles.js +3 -3
  1094. package/build-module/form-token-field/styles.js.map +1 -1
  1095. package/build-module/form-token-field/suggestions-list.js +1 -1
  1096. package/build-module/form-token-field/token-input.js +1 -1
  1097. package/build-module/form-token-field/token-input.js.map +1 -1
  1098. package/build-module/form-token-field/token.js +1 -1
  1099. package/build-module/gradient-picker/index.js +1 -1
  1100. package/build-module/grid/component.js +2 -2
  1101. package/build-module/grid/component.js.map +1 -1
  1102. package/build-module/grid/hook.js +3 -3
  1103. package/build-module/grid/hook.js.map +1 -1
  1104. package/build-module/grid/types.js.map +1 -1
  1105. package/build-module/guide/icons.js +1 -1
  1106. package/build-module/guide/index.js +1 -1
  1107. package/build-module/guide/page-control.js +1 -1
  1108. package/build-module/guide/page.js +1 -1
  1109. package/build-module/guide/page.js.map +1 -1
  1110. package/build-module/h-stack/component.js +2 -2
  1111. package/build-module/h-stack/component.js.map +1 -1
  1112. package/build-module/h-stack/hook.js +3 -3
  1113. package/build-module/h-stack/hook.js.map +1 -1
  1114. package/build-module/heading/component.js +2 -2
  1115. package/build-module/heading/component.js.map +1 -1
  1116. package/build-module/heading/hook.js +2 -2
  1117. package/build-module/heading/hook.js.map +1 -1
  1118. package/build-module/higher-order/navigate-regions/index.js +1 -1
  1119. package/build-module/higher-order/with-constrained-tabbing/index.js +1 -1
  1120. package/build-module/higher-order/with-fallback-styles/index.js +1 -1
  1121. package/build-module/higher-order/with-filters/index.js +1 -1
  1122. package/build-module/higher-order/with-focus-outside/index.js +1 -1
  1123. package/build-module/higher-order/with-focus-outside/index.native.js +1 -1
  1124. package/build-module/higher-order/with-focus-return/index.js +1 -1
  1125. package/build-module/higher-order/with-focus-return/index.js.map +1 -1
  1126. package/build-module/higher-order/with-notices/index.js +1 -1
  1127. package/build-module/higher-order/with-spoken-messages/index.js +4 -4
  1128. package/build-module/higher-order/with-spoken-messages/index.js.map +1 -1
  1129. package/build-module/input-control/backdrop.js +1 -1
  1130. package/build-module/input-control/index.js +30 -28
  1131. package/build-module/input-control/index.js.map +1 -1
  1132. package/build-module/input-control/input-base.js +22 -20
  1133. package/build-module/input-control/input-base.js.map +1 -1
  1134. package/build-module/input-control/input-field.js +1 -1
  1135. package/build-module/input-control/input-field.js.map +1 -1
  1136. package/build-module/input-control/input-prefix-wrapper.js +2 -2
  1137. package/build-module/input-control/input-prefix-wrapper.js.map +1 -1
  1138. package/build-module/input-control/input-suffix-wrapper.js +2 -2
  1139. package/build-module/input-control/input-suffix-wrapper.js.map +1 -1
  1140. package/build-module/input-control/label.js +1 -1
  1141. package/build-module/input-control/label.js.map +1 -1
  1142. package/build-module/input-control/styles/input-control-styles.js +27 -27
  1143. package/build-module/input-control/styles/input-control-styles.js.map +1 -1
  1144. package/build-module/input-control/types.js.map +1 -1
  1145. package/build-module/isolated-event-container/index.js +1 -1
  1146. package/build-module/item-group/item/component.js +2 -2
  1147. package/build-module/item-group/item/component.js.map +1 -1
  1148. package/build-module/item-group/item/hook.js +1 -1
  1149. package/build-module/item-group/item/hook.js.map +1 -1
  1150. package/build-module/item-group/item-group/component.js +2 -2
  1151. package/build-module/item-group/item-group/component.js.map +1 -1
  1152. package/build-module/item-group/item-group/hook.js +1 -1
  1153. package/build-module/item-group/item-group/hook.js.map +1 -1
  1154. package/build-module/keyboard-shortcuts/index.js +1 -1
  1155. package/build-module/menu-group/index.js +1 -1
  1156. package/build-module/menu-item/index.js +1 -1
  1157. package/build-module/menu-item/index.js.map +1 -1
  1158. package/build-module/menu-items-choice/index.js +1 -1
  1159. package/build-module/mobile/audio-player/index.native.js +1 -1
  1160. package/build-module/mobile/badge/index.native.js +1 -1
  1161. package/build-module/mobile/bottom-sheet/bottom-sheet-navigation/navigation-container.native.js +1 -1
  1162. package/build-module/mobile/bottom-sheet/bottom-sheet-navigation/navigation-screen.native.js +1 -1
  1163. package/build-module/mobile/bottom-sheet/button.native.js +1 -1
  1164. package/build-module/mobile/bottom-sheet/cell.native.js +1 -1
  1165. package/build-module/mobile/bottom-sheet/chevron-back.native.js +1 -1
  1166. package/build-module/mobile/bottom-sheet/color-cell.native.js +1 -1
  1167. package/build-module/mobile/bottom-sheet/cycle-picker-cell.native.js +1 -1
  1168. package/build-module/mobile/bottom-sheet/footer-message-cell.native.js +1 -1
  1169. package/build-module/mobile/bottom-sheet/footer-message-link/footer-message-link.native.js +1 -1
  1170. package/build-module/mobile/bottom-sheet/index.native.js +1 -1
  1171. package/build-module/mobile/bottom-sheet/keyboard-avoiding-view.native.js +1 -1
  1172. package/build-module/mobile/bottom-sheet/link-cell.native.js +1 -1
  1173. package/build-module/mobile/bottom-sheet/link-suggestion-item-cell.native.js +1 -1
  1174. package/build-module/mobile/bottom-sheet/lock-icon/index.native.js +1 -1
  1175. package/build-module/mobile/bottom-sheet/nav-bar/action-button.native.js +1 -1
  1176. package/build-module/mobile/bottom-sheet/nav-bar/apply-button.native.js +1 -1
  1177. package/build-module/mobile/bottom-sheet/nav-bar/back-button.native.js +1 -1
  1178. package/build-module/mobile/bottom-sheet/nav-bar/heading.native.js +1 -1
  1179. package/build-module/mobile/bottom-sheet/nav-bar/index.native.js +1 -1
  1180. package/build-module/mobile/bottom-sheet/picker-cell.native.js +1 -1
  1181. package/build-module/mobile/bottom-sheet/radio-cell.native.js +1 -1
  1182. package/build-module/mobile/bottom-sheet/range-cell.native.js +1 -1
  1183. package/build-module/mobile/bottom-sheet/range-text-input.native.js +1 -1
  1184. package/build-module/mobile/bottom-sheet/ripple.native.js +1 -1
  1185. package/build-module/mobile/bottom-sheet/stepper-cell/index.native.js +1 -1
  1186. package/build-module/mobile/bottom-sheet/stepper-cell/stepper.android.js +1 -1
  1187. package/build-module/mobile/bottom-sheet/stepper-cell/stepper.ios.js +1 -1
  1188. package/build-module/mobile/bottom-sheet/sub-sheet/index.native.js +1 -1
  1189. package/build-module/mobile/bottom-sheet/switch-cell.native.js +1 -1
  1190. package/build-module/mobile/bottom-sheet-select-control/index.native.js +1 -1
  1191. package/build-module/mobile/bottom-sheet-text-control/index.native.js +1 -1
  1192. package/build-module/mobile/color-settings/gradient-picker-screen.native.js +1 -1
  1193. package/build-module/mobile/color-settings/index.native.js +1 -1
  1194. package/build-module/mobile/color-settings/palette.screen.native.js +1 -1
  1195. package/build-module/mobile/color-settings/picker-screen.native.js +1 -1
  1196. package/build-module/mobile/cycle-select-control/index.native.js +1 -1
  1197. package/build-module/mobile/dashicons/index.native.js +1 -1
  1198. package/build-module/mobile/focal-point-settings-panel/index.native.js +1 -1
  1199. package/build-module/mobile/global-styles-context/index.native.js +1 -1
  1200. package/build-module/mobile/gradient/index.native.js +1 -1
  1201. package/build-module/mobile/gridicons/index.native.js +1 -1
  1202. package/build-module/mobile/html-text-input/index.native.js +2 -2
  1203. package/build-module/mobile/html-text-input/index.native.js.map +1 -1
  1204. package/build-module/mobile/image/icon-customize.native.js +1 -1
  1205. package/build-module/mobile/image/icon-retry.native.js +1 -1
  1206. package/build-module/mobile/image/image-editing-button.native.js +1 -1
  1207. package/build-module/mobile/image/index.native.js +1 -1
  1208. package/build-module/mobile/inserter-button/index.native.js +1 -1
  1209. package/build-module/mobile/inserter-button/sparkles.js +1 -1
  1210. package/build-module/mobile/keyboard-avoiding-view/index.ios.js +1 -1
  1211. package/build-module/mobile/keyboard-aware-flat-list/index.android.js +1 -1
  1212. package/build-module/mobile/keyboard-aware-flat-list/index.ios.js +2 -2
  1213. package/build-module/mobile/keyboard-aware-flat-list/index.ios.js.map +1 -1
  1214. package/build-module/mobile/link-picker/index.native.js +1 -1
  1215. package/build-module/mobile/link-picker/link-picker-results.native.js +1 -1
  1216. package/build-module/mobile/link-picker/link-picker-screen.native.js +1 -1
  1217. package/build-module/mobile/link-settings/image-link-destinations-screen.native.js +1 -1
  1218. package/build-module/mobile/link-settings/index.native.js +1 -1
  1219. package/build-module/mobile/link-settings/link-rel.native.js +1 -1
  1220. package/build-module/mobile/link-settings/link-settings-navigation.native.js +1 -1
  1221. package/build-module/mobile/link-settings/link-settings-screen.native.js +1 -1
  1222. package/build-module/mobile/media-edit/index.native.js +1 -1
  1223. package/build-module/mobile/picker/index.android.js +1 -1
  1224. package/build-module/mobile/picker/index.ios.js +1 -1
  1225. package/build-module/mobile/segmented-control/index.native.js +1 -1
  1226. package/build-module/modal/aria-helper.js +15 -26
  1227. package/build-module/modal/aria-helper.js.map +1 -1
  1228. package/build-module/modal/index.js +13 -6
  1229. package/build-module/modal/index.js.map +1 -1
  1230. package/build-module/modal/types.js.map +1 -1
  1231. package/build-module/navigable-container/container.js +1 -1
  1232. package/build-module/navigable-container/menu.js +1 -1
  1233. package/build-module/navigable-container/tabbable.js +1 -1
  1234. package/build-module/navigable-container/types.js.map +1 -1
  1235. package/build-module/navigation/back-button/index.js +1 -1
  1236. package/build-module/navigation/group/index.js +1 -1
  1237. package/build-module/navigation/index.js +1 -1
  1238. package/build-module/navigation/item/base-content.js +1 -1
  1239. package/build-module/navigation/item/base.js +1 -1
  1240. package/build-module/navigation/item/index.js +1 -1
  1241. package/build-module/navigation/menu/index.js +1 -1
  1242. package/build-module/navigation/menu/menu-title-search.js +1 -1
  1243. package/build-module/navigation/menu/menu-title.js +1 -1
  1244. package/build-module/navigation/menu/search-no-results-found.js +1 -1
  1245. package/build-module/navigation/styles/navigation-styles.js +13 -13
  1246. package/build-module/navigation/styles/navigation-styles.js.map +1 -1
  1247. package/build-module/navigator/navigator-back-button/component.js +2 -2
  1248. package/build-module/navigator/navigator-back-button/component.js.map +1 -1
  1249. package/build-module/navigator/navigator-back-button/hook.js +1 -1
  1250. package/build-module/navigator/navigator-back-button/hook.js.map +1 -1
  1251. package/build-module/navigator/navigator-button/component.js +2 -2
  1252. package/build-module/navigator/navigator-button/component.js.map +1 -1
  1253. package/build-module/navigator/navigator-button/hook.js +1 -1
  1254. package/build-module/navigator/navigator-button/hook.js.map +1 -1
  1255. package/build-module/navigator/navigator-provider/component.js +3 -3
  1256. package/build-module/navigator/navigator-provider/component.js.map +1 -1
  1257. package/build-module/navigator/navigator-screen/component.js +3 -3
  1258. package/build-module/navigator/navigator-screen/component.js.map +1 -1
  1259. package/build-module/navigator/navigator-to-parent-button/component.js +2 -2
  1260. package/build-module/navigator/navigator-to-parent-button/component.js.map +1 -1
  1261. package/build-module/notice/index.js +1 -1
  1262. package/build-module/notice/index.native.js +1 -1
  1263. package/build-module/notice/list.js +1 -1
  1264. package/build-module/notice/list.js.map +1 -1
  1265. package/build-module/notice/list.native.js +1 -1
  1266. package/build-module/number-control/index.js +26 -25
  1267. package/build-module/number-control/index.js.map +1 -1
  1268. package/build-module/number-control/styles/number-control-styles.js +5 -5
  1269. package/build-module/number-control/styles/number-control-styles.js.map +1 -1
  1270. package/build-module/palette-edit/index.js +1 -1
  1271. package/build-module/palette-edit/styles.js +11 -11
  1272. package/build-module/palette-edit/styles.js.map +1 -1
  1273. package/build-module/panel/actions.native.js +1 -1
  1274. package/build-module/panel/body.js +1 -1
  1275. package/build-module/panel/body.js.map +1 -1
  1276. package/build-module/panel/body.native.js +1 -1
  1277. package/build-module/panel/bottom-separator-cover.native.js +1 -1
  1278. package/build-module/panel/header.js +1 -1
  1279. package/build-module/panel/index.js +1 -1
  1280. package/build-module/panel/row.js +1 -1
  1281. package/build-module/panel/types.js.map +1 -1
  1282. package/build-module/placeholder/index.js +1 -1
  1283. package/build-module/placeholder/index.js.map +1 -1
  1284. package/build-module/popover/index.js +2 -4
  1285. package/build-module/popover/index.js.map +1 -1
  1286. package/build-module/private-apis.js +1 -1
  1287. package/build-module/private-apis.js.map +1 -1
  1288. package/build-module/progress-bar/index.js +1 -1
  1289. package/build-module/progress-bar/index.js.map +1 -1
  1290. package/build-module/query-controls/author-select.js +1 -1
  1291. package/build-module/query-controls/category-select.js +1 -1
  1292. package/build-module/query-controls/index.js +1 -1
  1293. package/build-module/query-controls/index.native.js +1 -1
  1294. package/build-module/radio-control/index.js +1 -1
  1295. package/build-module/radio-control/index.js.map +1 -1
  1296. package/build-module/radio-control/index.native.js +1 -1
  1297. package/build-module/radio-group/index.js +1 -1
  1298. package/build-module/radio-group/radio/index.js +1 -1
  1299. package/build-module/range-control/index.js +2 -2
  1300. package/build-module/range-control/index.js.map +1 -1
  1301. package/build-module/range-control/index.native.js +1 -1
  1302. package/build-module/range-control/input-range.js +1 -1
  1303. package/build-module/range-control/input-range.js.map +1 -1
  1304. package/build-module/range-control/mark.js +1 -1
  1305. package/build-module/range-control/mark.js.map +1 -1
  1306. package/build-module/range-control/rail.js +1 -1
  1307. package/build-module/range-control/rail.js.map +1 -1
  1308. package/build-module/range-control/styles/range-control-styles.js +30 -30
  1309. package/build-module/range-control/styles/range-control-styles.js.map +1 -1
  1310. package/build-module/range-control/tooltip.js +1 -1
  1311. package/build-module/range-control/tooltip.js.map +1 -1
  1312. package/build-module/resizable-box/index.js +1 -1
  1313. package/build-module/resizable-box/index.native.js +1 -1
  1314. package/build-module/resizable-box/resize-tooltip/index.js +1 -1
  1315. package/build-module/resizable-box/resize-tooltip/label.js +1 -1
  1316. package/build-module/responsive-wrapper/index.js +1 -1
  1317. package/build-module/sandbox/index.js +4 -2
  1318. package/build-module/sandbox/index.js.map +1 -1
  1319. package/build-module/sandbox/index.native.js +1 -1
  1320. package/build-module/sandbox/types.js.map +1 -1
  1321. package/build-module/scrollable/component.js +2 -2
  1322. package/build-module/scrollable/component.js.map +1 -1
  1323. package/build-module/scrollable/hook.js +1 -1
  1324. package/build-module/scrollable/hook.js.map +1 -1
  1325. package/build-module/search-control/index.js +1 -1
  1326. package/build-module/search-control/index.js.map +1 -1
  1327. package/build-module/search-control/index.native.js +1 -1
  1328. package/build-module/select-control/chevron-down.js +1 -1
  1329. package/build-module/select-control/index.js +6 -5
  1330. package/build-module/select-control/index.js.map +1 -1
  1331. package/build-module/select-control/index.native.js +1 -1
  1332. package/build-module/select-control/styles/select-control-styles.js +13 -13
  1333. package/build-module/select-control/styles/select-control-styles.js.map +1 -1
  1334. package/build-module/select-control/types.js.map +1 -1
  1335. package/build-module/shortcut/index.js +1 -1
  1336. package/build-module/slot-fill/bubbles-virtually/fill.js +8 -10
  1337. package/build-module/slot-fill/bubbles-virtually/fill.js.map +1 -1
  1338. package/build-module/slot-fill/bubbles-virtually/slot-fill-context.js +7 -3
  1339. package/build-module/slot-fill/bubbles-virtually/slot-fill-context.js.map +1 -1
  1340. package/build-module/slot-fill/bubbles-virtually/slot-fill-provider.js +16 -17
  1341. package/build-module/slot-fill/bubbles-virtually/slot-fill-provider.js.map +1 -1
  1342. package/build-module/slot-fill/bubbles-virtually/slot.js +7 -3
  1343. package/build-module/slot-fill/bubbles-virtually/slot.js.map +1 -1
  1344. package/build-module/slot-fill/bubbles-virtually/use-slot-fills.js +0 -1
  1345. package/build-module/slot-fill/bubbles-virtually/use-slot-fills.js.map +1 -1
  1346. package/build-module/slot-fill/bubbles-virtually/use-slot.js +0 -1
  1347. package/build-module/slot-fill/bubbles-virtually/use-slot.js.map +1 -1
  1348. package/build-module/slot-fill/context.js +10 -6
  1349. package/build-module/slot-fill/context.js.map +1 -1
  1350. package/build-module/slot-fill/fill.js +0 -2
  1351. package/build-module/slot-fill/fill.js.map +1 -1
  1352. package/build-module/slot-fill/index.js +17 -15
  1353. package/build-module/slot-fill/index.js.map +1 -1
  1354. package/build-module/slot-fill/index.native.js +1 -1
  1355. package/build-module/slot-fill/provider.js +53 -59
  1356. package/build-module/slot-fill/provider.js.map +1 -1
  1357. package/build-module/slot-fill/slot.js +14 -9
  1358. package/build-module/slot-fill/slot.js.map +1 -1
  1359. package/build-module/slot-fill/types.js.map +1 -0
  1360. package/build-module/slot-fill/use-slot.js +2 -4
  1361. package/build-module/slot-fill/use-slot.js.map +1 -1
  1362. package/build-module/snackbar/index.js +1 -1
  1363. package/build-module/snackbar/index.js.map +1 -1
  1364. package/build-module/snackbar/list.js +1 -1
  1365. package/build-module/snackbar/list.js.map +1 -1
  1366. package/build-module/spacer/component.js +2 -2
  1367. package/build-module/spacer/component.js.map +1 -1
  1368. package/build-module/spacer/hook.js +4 -4
  1369. package/build-module/spacer/hook.js.map +1 -1
  1370. package/build-module/spacer/types.js.map +1 -1
  1371. package/build-module/spinner/index.js +1 -1
  1372. package/build-module/spinner/index.js.map +1 -1
  1373. package/build-module/spinner/index.native.js +1 -1
  1374. package/build-module/style-provider/index.js +1 -1
  1375. package/build-module/surface/component.js +2 -2
  1376. package/build-module/surface/component.js.map +1 -1
  1377. package/build-module/surface/hook.js +1 -1
  1378. package/build-module/surface/hook.js.map +1 -1
  1379. package/build-module/tab-panel/index.js +2 -1
  1380. package/build-module/tab-panel/index.js.map +1 -1
  1381. package/build-module/text/component.js +4 -4
  1382. package/build-module/text/component.js.map +1 -1
  1383. package/build-module/text/get-line-height.js +1 -1
  1384. package/build-module/text/get-line-height.js.map +1 -1
  1385. package/build-module/text/hook.js +8 -8
  1386. package/build-module/text/hook.js.map +1 -1
  1387. package/build-module/text/types.js.map +1 -1
  1388. package/build-module/text-control/index.js +1 -1
  1389. package/build-module/text-control/index.js.map +1 -1
  1390. package/build-module/text-control/index.native.js +1 -1
  1391. package/build-module/text-highlight/index.js +1 -1
  1392. package/build-module/textarea-control/index.js +29 -29
  1393. package/build-module/textarea-control/index.js.map +1 -1
  1394. package/build-module/textarea-control/index.native.js +1 -1
  1395. package/build-module/theme/index.js +1 -1
  1396. package/build-module/theme/index.js.map +1 -1
  1397. package/build-module/tip/index.js +1 -1
  1398. package/build-module/toggle-control/index.js +3 -3
  1399. package/build-module/toggle-control/index.js.map +1 -1
  1400. package/build-module/toggle-control/index.native.js +1 -1
  1401. package/build-module/toggle-group-control/toggle-group-control/as-button-group.js +1 -1
  1402. package/build-module/toggle-group-control/toggle-group-control/as-button-group.js.map +1 -1
  1403. package/build-module/toggle-group-control/toggle-group-control/as-radio-group.js +5 -5
  1404. package/build-module/toggle-group-control/toggle-group-control/as-radio-group.js.map +1 -1
  1405. package/build-module/toggle-group-control/toggle-group-control/component.js +2 -2
  1406. package/build-module/toggle-group-control/toggle-group-control/component.js.map +1 -1
  1407. package/build-module/toggle-group-control/toggle-group-control-option/component.js +1 -1
  1408. package/build-module/toggle-group-control/toggle-group-control-option/component.js.map +1 -1
  1409. package/build-module/toggle-group-control/toggle-group-control-option-base/component.js +4 -4
  1410. package/build-module/toggle-group-control/toggle-group-control-option-base/component.js.map +1 -1
  1411. package/build-module/toggle-group-control/toggle-group-control-option-icon/component.js +1 -1
  1412. package/build-module/toggle-group-control/toggle-group-control-option-icon/component.js.map +1 -1
  1413. package/build-module/toolbar/toolbar/index.js +2 -2
  1414. package/build-module/toolbar/toolbar/index.js.map +1 -1
  1415. package/build-module/toolbar/toolbar/toolbar-container.js +5 -4
  1416. package/build-module/toolbar/toolbar/toolbar-container.js.map +1 -1
  1417. package/build-module/toolbar/toolbar/toolbar-container.native.js +1 -1
  1418. package/build-module/toolbar/toolbar-button/index.js +1 -1
  1419. package/build-module/toolbar/toolbar-button/index.js.map +1 -1
  1420. package/build-module/toolbar/toolbar-button/toolbar-button-container.js +1 -1
  1421. package/build-module/toolbar/toolbar-button/toolbar-button-container.native.js +1 -1
  1422. package/build-module/toolbar/toolbar-context/index.js +1 -0
  1423. package/build-module/toolbar/toolbar-context/index.js.map +1 -1
  1424. package/build-module/toolbar/toolbar-dropdown-menu/index.js +1 -1
  1425. package/build-module/toolbar/toolbar-group/index.js +1 -1
  1426. package/build-module/toolbar/toolbar-group/toolbar-group-collapsed.js +1 -1
  1427. package/build-module/toolbar/toolbar-group/toolbar-group-collapsed.native.js +1 -1
  1428. package/build-module/toolbar/toolbar-group/toolbar-group-container.js +1 -1
  1429. package/build-module/toolbar/toolbar-group/toolbar-group-container.js.map +1 -1
  1430. package/build-module/toolbar/toolbar-group/toolbar-group-container.native.js +1 -1
  1431. package/build-module/toolbar/toolbar-item/index.js +4 -3
  1432. package/build-module/toolbar/toolbar-item/index.js.map +1 -1
  1433. package/build-module/tools-panel/styles.js +14 -14
  1434. package/build-module/tools-panel/styles.js.map +1 -1
  1435. package/build-module/tools-panel/tools-panel/component.js +2 -2
  1436. package/build-module/tools-panel/tools-panel/component.js.map +1 -1
  1437. package/build-module/tools-panel/tools-panel/hook.js +1 -1
  1438. package/build-module/tools-panel/tools-panel/hook.js.map +1 -1
  1439. package/build-module/tools-panel/tools-panel-header/component.js +2 -2
  1440. package/build-module/tools-panel/tools-panel-header/component.js.map +1 -1
  1441. package/build-module/tools-panel/tools-panel-header/hook.js +1 -1
  1442. package/build-module/tools-panel/tools-panel-header/hook.js.map +1 -1
  1443. package/build-module/tools-panel/tools-panel-item/component.js +2 -2
  1444. package/build-module/tools-panel/tools-panel-item/component.js.map +1 -1
  1445. package/build-module/tools-panel/tools-panel-item/hook.js +1 -1
  1446. package/build-module/tools-panel/tools-panel-item/hook.js.map +1 -1
  1447. package/build-module/tooltip/index.js +3 -3
  1448. package/build-module/tooltip/index.js.map +1 -1
  1449. package/build-module/tooltip/index.native.js +1 -1
  1450. package/build-module/tree-grid/cell.js +1 -1
  1451. package/build-module/tree-grid/cell.js.map +1 -1
  1452. package/build-module/tree-grid/index.js +1 -1
  1453. package/build-module/tree-grid/index.js.map +1 -1
  1454. package/build-module/tree-grid/item.js +1 -1
  1455. package/build-module/tree-grid/roving-tab-index-item.js +1 -1
  1456. package/build-module/tree-grid/roving-tab-index.js +1 -1
  1457. package/build-module/tree-grid/row.js +1 -1
  1458. package/build-module/tree-grid/row.js.map +1 -1
  1459. package/build-module/tree-select/index.js +12 -10
  1460. package/build-module/tree-select/index.js.map +1 -1
  1461. package/build-module/truncate/component.js +2 -2
  1462. package/build-module/truncate/component.js.map +1 -1
  1463. package/build-module/truncate/hook.js +2 -2
  1464. package/build-module/truncate/hook.js.map +1 -1
  1465. package/build-module/unit-control/index.js +4 -3
  1466. package/build-module/unit-control/index.js.map +1 -1
  1467. package/build-module/unit-control/index.native.js +1 -1
  1468. package/build-module/unit-control/styles/unit-control-styles.js +11 -11
  1469. package/build-module/unit-control/styles/unit-control-styles.js.map +1 -1
  1470. package/build-module/unit-control/types.js.map +1 -1
  1471. package/build-module/unit-control/unit-select-control.js +1 -1
  1472. package/build-module/unit-control/unit-select-control.js.map +1 -1
  1473. package/build-module/utils/colors.js +81 -0
  1474. package/build-module/utils/colors.js.map +1 -1
  1475. package/build-module/utils/config-values.js +1 -1
  1476. package/build-module/utils/config-values.js.map +1 -1
  1477. package/build-module/{ui/utils → utils}/font-size.js +1 -1
  1478. package/build-module/utils/font-size.js.map +1 -0
  1479. package/build-module/utils/get-valid-children.js.map +1 -0
  1480. package/build-module/utils/space.js.map +1 -0
  1481. package/build-module/utils/types.js.map +1 -1
  1482. package/build-module/utils/use-deprecated-props.js +3 -2
  1483. package/build-module/utils/use-deprecated-props.js.map +1 -1
  1484. package/build-module/utils/use-responsive-value.js.map +1 -0
  1485. package/build-module/v-stack/component.js +2 -2
  1486. package/build-module/v-stack/component.js.map +1 -1
  1487. package/build-module/v-stack/hook.js +1 -1
  1488. package/build-module/v-stack/hook.js.map +1 -1
  1489. package/build-module/view/component.js +1 -1
  1490. package/build-module/view/component.js.map +1 -1
  1491. package/build-module/visually-hidden/component.js +2 -2
  1492. package/build-module/visually-hidden/component.js.map +1 -1
  1493. package/build-module/z-stack/component.js +3 -3
  1494. package/build-module/z-stack/component.js.map +1 -1
  1495. package/build-style/style-rtl.css +37 -11
  1496. package/build-style/style.css +37 -11
  1497. package/build-types/alignment-matrix-control/cell.d.ts +1 -1
  1498. package/build-types/alignment-matrix-control/cell.d.ts.map +1 -1
  1499. package/build-types/alignment-matrix-control/icon.d.ts +1 -1
  1500. package/build-types/alignment-matrix-control/icon.d.ts.map +1 -1
  1501. package/build-types/alignment-matrix-control/index.d.ts +1 -1
  1502. package/build-types/alignment-matrix-control/index.d.ts.map +1 -1
  1503. package/build-types/angle-picker-control/angle-circle.d.ts +1 -1
  1504. package/build-types/angle-picker-control/angle-circle.d.ts.map +1 -1
  1505. package/build-types/autocomplete/types.d.ts +5 -3
  1506. package/build-types/autocomplete/types.d.ts.map +1 -1
  1507. package/build-types/base-control/index.d.ts +1 -1
  1508. package/build-types/base-control/index.d.ts.map +1 -1
  1509. package/build-types/border-box-control/border-box-control/component.d.ts +1 -1
  1510. package/build-types/border-box-control/border-box-control/hook.d.ts +1 -1
  1511. package/build-types/border-box-control/border-box-control/hook.d.ts.map +1 -1
  1512. package/build-types/border-box-control/border-box-control-linked-button/component.d.ts +1 -1
  1513. package/build-types/border-box-control/border-box-control-linked-button/hook.d.ts +1 -1
  1514. package/build-types/border-box-control/border-box-control-linked-button/hook.d.ts.map +1 -1
  1515. package/build-types/border-box-control/border-box-control-split-controls/component.d.ts +1 -1
  1516. package/build-types/border-box-control/border-box-control-split-controls/hook.d.ts +1 -1
  1517. package/build-types/border-box-control/border-box-control-split-controls/hook.d.ts.map +1 -1
  1518. package/build-types/border-box-control/border-box-control-visualizer/component.d.ts +1 -1
  1519. package/build-types/border-box-control/border-box-control-visualizer/hook.d.ts +1 -1
  1520. package/build-types/border-box-control/border-box-control-visualizer/hook.d.ts.map +1 -1
  1521. package/build-types/border-control/border-control/component.d.ts +1 -1
  1522. package/build-types/border-control/border-control/hook.d.ts +1 -1
  1523. package/build-types/border-control/border-control/hook.d.ts.map +1 -1
  1524. package/build-types/border-control/border-control-dropdown/component.d.ts +1 -1
  1525. package/build-types/border-control/border-control-dropdown/hook.d.ts +1 -1
  1526. package/build-types/border-control/border-control-dropdown/hook.d.ts.map +1 -1
  1527. package/build-types/border-control/border-control-style-picker/component.d.ts +1 -1
  1528. package/build-types/border-control/border-control-style-picker/hook.d.ts +1 -1
  1529. package/build-types/border-control/border-control-style-picker/hook.d.ts.map +1 -1
  1530. package/build-types/box-control/icon.d.ts +1 -1
  1531. package/build-types/box-control/icon.d.ts.map +1 -1
  1532. package/build-types/box-control/styles/box-control-styles.d.ts +2 -2
  1533. package/build-types/button/index.d.ts.map +1 -1
  1534. package/build-types/button/stories/index.story.d.ts.map +1 -1
  1535. package/build-types/button/types.d.ts +1 -1
  1536. package/build-types/button/types.d.ts.map +1 -1
  1537. package/build-types/card/card/component.d.ts +1 -1
  1538. package/build-types/card/card/hook.d.ts +1 -1
  1539. package/build-types/card/card/hook.d.ts.map +1 -1
  1540. package/build-types/card/card-body/component.d.ts +1 -1
  1541. package/build-types/card/card-body/hook.d.ts +1 -1
  1542. package/build-types/card/card-body/hook.d.ts.map +1 -1
  1543. package/build-types/card/card-divider/component.d.ts +4 -4
  1544. package/build-types/card/card-divider/hook.d.ts +4 -4
  1545. package/build-types/card/card-divider/hook.d.ts.map +1 -1
  1546. package/build-types/card/card-footer/component.d.ts +1 -1
  1547. package/build-types/card/card-footer/hook.d.ts +1 -1
  1548. package/build-types/card/card-footer/hook.d.ts.map +1 -1
  1549. package/build-types/card/card-header/component.d.ts +1 -1
  1550. package/build-types/card/card-header/hook.d.ts +1 -1
  1551. package/build-types/card/card-header/hook.d.ts.map +1 -1
  1552. package/build-types/card/card-media/component.d.ts +1 -1
  1553. package/build-types/card/card-media/component.d.ts.map +1 -1
  1554. package/build-types/card/card-media/hook.d.ts +1 -1
  1555. package/build-types/card/card-media/hook.d.ts.map +1 -1
  1556. package/build-types/checkbox-control/index.d.ts +1 -1
  1557. package/build-types/checkbox-control/index.d.ts.map +1 -1
  1558. package/build-types/circular-option-picker/circular-option-picker-actions.d.ts +1 -1
  1559. package/build-types/circular-option-picker/circular-option-picker-actions.d.ts.map +1 -1
  1560. package/build-types/circular-option-picker/circular-option-picker-option.d.ts.map +1 -1
  1561. package/build-types/circular-option-picker/types.d.ts +1 -1
  1562. package/build-types/circular-option-picker/types.d.ts.map +1 -1
  1563. package/build-types/clipboard-button/index.d.ts +1 -1
  1564. package/build-types/clipboard-button/index.d.ts.map +1 -1
  1565. package/build-types/color-palette/index.d.ts +1 -1
  1566. package/build-types/color-palette/index.d.ts.map +1 -1
  1567. package/build-types/color-palette/stories/index.story.d.ts +3 -3
  1568. package/build-types/color-palette/stories/index.story.d.ts.map +1 -1
  1569. package/build-types/color-picker/color-copy-button.d.ts.map +1 -1
  1570. package/build-types/color-picker/component.d.ts +1 -1
  1571. package/build-types/color-picker/stories/index.story.d.ts +1 -1
  1572. package/build-types/color-picker/styles.d.ts +3 -3
  1573. package/build-types/color-picker/types.d.ts +1 -1
  1574. package/build-types/color-picker/types.d.ts.map +1 -1
  1575. package/build-types/confirm-dialog/component.d.ts +2 -2
  1576. package/build-types/context/constants.d.ts.map +1 -0
  1577. package/build-types/context/context-connect.d.ts.map +1 -0
  1578. package/build-types/context/context-system-provider.d.ts.map +1 -0
  1579. package/build-types/context/get-styled-class-name-from-key.d.ts.map +1 -0
  1580. package/build-types/context/index.d.ts.map +1 -0
  1581. package/build-types/context/test/context-connect.d.ts.map +1 -0
  1582. package/build-types/context/test/wordpress-component.d.ts.map +1 -0
  1583. package/build-types/context/use-context-system.d.ts.map +1 -0
  1584. package/build-types/context/utils.d.ts.map +1 -0
  1585. package/build-types/context/wordpress-component.d.ts.map +1 -0
  1586. package/build-types/custom-select-control/index.d.ts.map +1 -1
  1587. package/build-types/dashicon/index.d.ts +1 -1
  1588. package/build-types/dashicon/index.d.ts.map +1 -1
  1589. package/build-types/date-time/time/index.d.ts.map +1 -1
  1590. package/build-types/date-time/time/styles.d.ts +4 -7
  1591. package/build-types/date-time/time/styles.d.ts.map +1 -1
  1592. package/build-types/disabled/index.d.ts +1 -1
  1593. package/build-types/disabled/index.d.ts.map +1 -1
  1594. package/build-types/divider/component.d.ts +4 -4
  1595. package/build-types/divider/styles.d.ts +3 -3
  1596. package/build-types/divider/types.d.ts +1 -1
  1597. package/build-types/divider/types.d.ts.map +1 -1
  1598. package/build-types/drop-zone/index.d.ts +1 -1
  1599. package/build-types/drop-zone/index.d.ts.map +1 -1
  1600. package/build-types/dropdown/dropdown-content-wrapper.d.ts +1 -1
  1601. package/build-types/dropdown/dropdown-content-wrapper.d.ts.map +1 -1
  1602. package/build-types/dropdown/index.d.ts +1 -1
  1603. package/build-types/dropdown/index.d.ts.map +1 -1
  1604. package/build-types/dropdown/stories/index.story.d.ts +3 -3
  1605. package/build-types/dropdown/stories/index.story.d.ts.map +1 -1
  1606. package/build-types/dropdown-menu/index.d.ts +1 -1
  1607. package/build-types/dropdown-menu/index.d.ts.map +1 -1
  1608. package/build-types/dropdown-menu/stories/index.story.d.ts +2 -2
  1609. package/build-types/dropdown-menu/stories/index.story.d.ts.map +1 -1
  1610. package/build-types/dropdown-menu/types.d.ts +1 -1
  1611. package/build-types/dropdown-menu/types.d.ts.map +1 -1
  1612. package/build-types/dropdown-menu-v2/index.d.ts +1 -1
  1613. package/build-types/dropdown-menu-v2/index.d.ts.map +1 -1
  1614. package/build-types/dropdown-menu-v2/stories/index.story.d.ts +1 -1
  1615. package/build-types/dropdown-menu-v2/stories/index.story.d.ts.map +1 -1
  1616. package/build-types/dropdown-menu-v2/types.d.ts +1 -1
  1617. package/build-types/dropdown-menu-v2/types.d.ts.map +1 -1
  1618. package/build-types/duotone-picker/duotone-picker.d.ts +1 -1
  1619. package/build-types/duotone-picker/duotone-picker.d.ts.map +1 -1
  1620. package/build-types/elevation/component.d.ts +1 -1
  1621. package/build-types/elevation/component.d.ts.map +1 -1
  1622. package/build-types/elevation/hook.d.ts +1 -1
  1623. package/build-types/elevation/hook.d.ts.map +1 -1
  1624. package/build-types/external-link/index.d.ts +1 -1
  1625. package/build-types/external-link/index.d.ts.map +1 -1
  1626. package/build-types/flex/flex/component.d.ts +1 -1
  1627. package/build-types/flex/flex/component.d.ts.map +1 -1
  1628. package/build-types/flex/flex/hook.d.ts +1 -1
  1629. package/build-types/flex/flex/hook.d.ts.map +1 -1
  1630. package/build-types/flex/flex-block/component.d.ts +1 -1
  1631. package/build-types/flex/flex-block/component.d.ts.map +1 -1
  1632. package/build-types/flex/flex-block/hook.d.ts +1 -1
  1633. package/build-types/flex/flex-block/hook.d.ts.map +1 -1
  1634. package/build-types/flex/flex-item/component.d.ts +1 -1
  1635. package/build-types/flex/flex-item/component.d.ts.map +1 -1
  1636. package/build-types/flex/flex-item/hook.d.ts +1 -1
  1637. package/build-types/flex/flex-item/hook.d.ts.map +1 -1
  1638. package/build-types/flex/types.d.ts +2 -2
  1639. package/build-types/flex/types.d.ts.map +1 -1
  1640. package/build-types/focal-point-picker/focal-point.d.ts +1 -1
  1641. package/build-types/focal-point-picker/focal-point.d.ts.map +1 -1
  1642. package/build-types/focal-point-picker/grid.d.ts +1 -1
  1643. package/build-types/focal-point-picker/grid.d.ts.map +1 -1
  1644. package/build-types/focal-point-picker/index.d.ts +1 -1
  1645. package/build-types/focal-point-picker/index.d.ts.map +1 -1
  1646. package/build-types/focal-point-picker/styles/focal-point-picker-style.d.ts +2 -2
  1647. package/build-types/form-file-upload/index.d.ts +1 -1
  1648. package/build-types/form-file-upload/index.d.ts.map +1 -1
  1649. package/build-types/form-toggle/index.d.ts +1 -1
  1650. package/build-types/form-toggle/index.d.ts.map +1 -1
  1651. package/build-types/form-token-field/token-input.d.ts +1 -1
  1652. package/build-types/form-token-field/token-input.d.ts.map +1 -1
  1653. package/build-types/grid/component.d.ts +1 -1
  1654. package/build-types/grid/component.d.ts.map +1 -1
  1655. package/build-types/grid/hook.d.ts +1 -1
  1656. package/build-types/grid/hook.d.ts.map +1 -1
  1657. package/build-types/grid/types.d.ts +1 -1
  1658. package/build-types/grid/types.d.ts.map +1 -1
  1659. package/build-types/guide/page.d.ts +1 -1
  1660. package/build-types/guide/page.d.ts.map +1 -1
  1661. package/build-types/h-stack/component.d.ts +1 -1
  1662. package/build-types/h-stack/hook.d.ts +1 -1
  1663. package/build-types/h-stack/hook.d.ts.map +1 -1
  1664. package/build-types/heading/component.d.ts +1 -1
  1665. package/build-types/heading/hook.d.ts +1 -1
  1666. package/build-types/heading/hook.d.ts.map +1 -1
  1667. package/build-types/higher-order/with-focus-return/index.d.ts +1 -1
  1668. package/build-types/higher-order/with-spoken-messages/index.d.ts +3 -3
  1669. package/build-types/higher-order/with-spoken-messages/index.d.ts.map +1 -1
  1670. package/build-types/input-control/index.d.ts +1 -1
  1671. package/build-types/input-control/index.d.ts.map +1 -1
  1672. package/build-types/input-control/input-base.d.ts +2 -2
  1673. package/build-types/input-control/input-base.d.ts.map +1 -1
  1674. package/build-types/input-control/input-prefix-wrapper.d.ts +1 -1
  1675. package/build-types/input-control/input-prefix-wrapper.d.ts.map +1 -1
  1676. package/build-types/input-control/input-suffix-wrapper.d.ts +1 -1
  1677. package/build-types/input-control/input-suffix-wrapper.d.ts.map +1 -1
  1678. package/build-types/input-control/label.d.ts +1 -1
  1679. package/build-types/input-control/label.d.ts.map +1 -1
  1680. package/build-types/input-control/styles/input-control-styles.d.ts +3 -3
  1681. package/build-types/input-control/styles/input-control-styles.d.ts.map +1 -1
  1682. package/build-types/input-control/types.d.ts +10 -3
  1683. package/build-types/input-control/types.d.ts.map +1 -1
  1684. package/build-types/item-group/item/component.d.ts +1 -1
  1685. package/build-types/item-group/item/component.d.ts.map +1 -1
  1686. package/build-types/item-group/item/hook.d.ts +1 -1
  1687. package/build-types/item-group/item/hook.d.ts.map +1 -1
  1688. package/build-types/item-group/item-group/component.d.ts +1 -1
  1689. package/build-types/item-group/item-group/component.d.ts.map +1 -1
  1690. package/build-types/item-group/item-group/hook.d.ts +1 -1
  1691. package/build-types/item-group/item-group/hook.d.ts.map +1 -1
  1692. package/build-types/modal/aria-helper.d.ts +6 -7
  1693. package/build-types/modal/aria-helper.d.ts.map +1 -1
  1694. package/build-types/modal/index.d.ts.map +1 -1
  1695. package/build-types/modal/stories/index.story.d.ts +1 -0
  1696. package/build-types/modal/stories/index.story.d.ts.map +1 -1
  1697. package/build-types/modal/types.d.ts +9 -0
  1698. package/build-types/modal/types.d.ts.map +1 -1
  1699. package/build-types/navigable-container/types.d.ts +1 -1
  1700. package/build-types/navigable-container/types.d.ts.map +1 -1
  1701. package/build-types/navigation/styles/navigation-styles.d.ts +1 -1
  1702. package/build-types/navigator/navigator-back-button/component.d.ts +1 -1
  1703. package/build-types/navigator/navigator-back-button/hook.d.ts +1 -1
  1704. package/build-types/navigator/navigator-back-button/hook.d.ts.map +1 -1
  1705. package/build-types/navigator/navigator-button/component.d.ts +1 -1
  1706. package/build-types/navigator/navigator-button/hook.d.ts +1 -1
  1707. package/build-types/navigator/navigator-button/hook.d.ts.map +1 -1
  1708. package/build-types/navigator/navigator-provider/component.d.ts +1 -1
  1709. package/build-types/navigator/navigator-provider/component.d.ts.map +1 -1
  1710. package/build-types/navigator/navigator-screen/component.d.ts +2 -2
  1711. package/build-types/navigator/navigator-screen/component.d.ts.map +1 -1
  1712. package/build-types/navigator/navigator-to-parent-button/component.d.ts +1 -1
  1713. package/build-types/notice/list.d.ts +1 -1
  1714. package/build-types/notice/list.d.ts.map +1 -1
  1715. package/build-types/number-control/index.d.ts +1 -1
  1716. package/build-types/number-control/index.d.ts.map +1 -1
  1717. package/build-types/number-control/stories/index.story.d.ts +1 -1
  1718. package/build-types/number-control/stories/index.story.d.ts.map +1 -1
  1719. package/build-types/palette-edit/styles.d.ts +1 -1
  1720. package/build-types/panel/types.d.ts +1 -1
  1721. package/build-types/panel/types.d.ts.map +1 -1
  1722. package/build-types/placeholder/index.d.ts +1 -1
  1723. package/build-types/placeholder/index.d.ts.map +1 -1
  1724. package/build-types/popover/index.d.ts +1 -1
  1725. package/build-types/popover/index.d.ts.map +1 -1
  1726. package/build-types/popover/stories/e2e/index.story.d.ts +1 -1
  1727. package/build-types/radio-control/index.d.ts +1 -1
  1728. package/build-types/radio-control/index.d.ts.map +1 -1
  1729. package/build-types/range-control/index.d.ts +2 -14
  1730. package/build-types/range-control/index.d.ts.map +1 -1
  1731. package/build-types/range-control/mark.d.ts +1 -1
  1732. package/build-types/range-control/mark.d.ts.map +1 -1
  1733. package/build-types/range-control/rail.d.ts +1 -1
  1734. package/build-types/range-control/rail.d.ts.map +1 -1
  1735. package/build-types/range-control/styles/range-control-styles.d.ts +1 -1
  1736. package/build-types/range-control/tooltip.d.ts +1 -1
  1737. package/build-types/range-control/tooltip.d.ts.map +1 -1
  1738. package/build-types/sandbox/index.d.ts +1 -1
  1739. package/build-types/sandbox/index.d.ts.map +1 -1
  1740. package/build-types/sandbox/types.d.ts +6 -0
  1741. package/build-types/sandbox/types.d.ts.map +1 -1
  1742. package/build-types/scrollable/component.d.ts +1 -1
  1743. package/build-types/scrollable/component.d.ts.map +1 -1
  1744. package/build-types/scrollable/hook.d.ts +1 -1
  1745. package/build-types/scrollable/hook.d.ts.map +1 -1
  1746. package/build-types/search-control/index.d.ts +1 -1
  1747. package/build-types/search-control/stories/index.story.d.ts +2 -2
  1748. package/build-types/select-control/index.d.ts +1 -1
  1749. package/build-types/select-control/index.d.ts.map +1 -1
  1750. package/build-types/select-control/stories/index.story.d.ts +2 -2
  1751. package/build-types/select-control/stories/index.story.d.ts.map +1 -1
  1752. package/build-types/select-control/styles/select-control-styles.d.ts +1 -1
  1753. package/build-types/select-control/types.d.ts +1 -1
  1754. package/build-types/select-control/types.d.ts.map +1 -1
  1755. package/build-types/slot-fill/bubbles-virtually/fill.d.ts +3 -4
  1756. package/build-types/slot-fill/bubbles-virtually/fill.d.ts.map +1 -1
  1757. package/build-types/slot-fill/bubbles-virtually/slot-fill-context.d.ts +6 -10
  1758. package/build-types/slot-fill/bubbles-virtually/slot-fill-context.d.ts.map +1 -1
  1759. package/build-types/slot-fill/bubbles-virtually/slot-fill-provider.d.ts +3 -3
  1760. package/build-types/slot-fill/bubbles-virtually/slot-fill-provider.d.ts.map +1 -1
  1761. package/build-types/slot-fill/bubbles-virtually/slot.d.ts +8 -1
  1762. package/build-types/slot-fill/bubbles-virtually/slot.d.ts.map +1 -1
  1763. package/build-types/slot-fill/bubbles-virtually/use-slot-fills.d.ts +2 -1
  1764. package/build-types/slot-fill/bubbles-virtually/use-slot-fills.d.ts.map +1 -1
  1765. package/build-types/slot-fill/bubbles-virtually/use-slot.d.ts +9 -1
  1766. package/build-types/slot-fill/bubbles-virtually/use-slot.d.ts.map +1 -1
  1767. package/build-types/slot-fill/context.d.ts +6 -9
  1768. package/build-types/slot-fill/context.d.ts.map +1 -1
  1769. package/build-types/slot-fill/fill.d.ts +2 -4
  1770. package/build-types/slot-fill/fill.d.ts.map +1 -1
  1771. package/build-types/slot-fill/index.d.ts +20 -16
  1772. package/build-types/slot-fill/index.d.ts.map +1 -1
  1773. package/build-types/slot-fill/provider.d.ts +4 -26
  1774. package/build-types/slot-fill/provider.d.ts.map +1 -1
  1775. package/build-types/slot-fill/slot.d.ts +3 -1
  1776. package/build-types/slot-fill/slot.d.ts.map +1 -1
  1777. package/build-types/slot-fill/stories/index.story.d.ts +15 -0
  1778. package/build-types/slot-fill/stories/index.story.d.ts.map +1 -0
  1779. package/build-types/slot-fill/types.d.ts +104 -0
  1780. package/build-types/slot-fill/types.d.ts.map +1 -0
  1781. package/build-types/slot-fill/use-slot.d.ts +6 -4
  1782. package/build-types/slot-fill/use-slot.d.ts.map +1 -1
  1783. package/build-types/snackbar/list.d.ts +1 -1
  1784. package/build-types/snackbar/list.d.ts.map +1 -1
  1785. package/build-types/spacer/component.d.ts +1 -1
  1786. package/build-types/spacer/component.d.ts.map +1 -1
  1787. package/build-types/spacer/hook.d.ts +1 -1
  1788. package/build-types/spacer/hook.d.ts.map +1 -1
  1789. package/build-types/spacer/types.d.ts +1 -1
  1790. package/build-types/spacer/types.d.ts.map +1 -1
  1791. package/build-types/spinner/index.d.ts +1 -1
  1792. package/build-types/spinner/index.d.ts.map +1 -1
  1793. package/build-types/surface/component.d.ts +1 -1
  1794. package/build-types/surface/component.d.ts.map +1 -1
  1795. package/build-types/surface/hook.d.ts +1 -1
  1796. package/build-types/surface/hook.d.ts.map +1 -1
  1797. package/build-types/tab-panel/index.d.ts.map +1 -1
  1798. package/build-types/text/component.d.ts +1 -1
  1799. package/build-types/text/component.d.ts.map +1 -1
  1800. package/build-types/text/hook.d.ts +2 -2
  1801. package/build-types/text/hook.d.ts.map +1 -1
  1802. package/build-types/text/types.d.ts +2 -1
  1803. package/build-types/text/types.d.ts.map +1 -1
  1804. package/build-types/textarea-control/index.d.ts +5 -3
  1805. package/build-types/textarea-control/index.d.ts.map +1 -1
  1806. package/build-types/theme/index.d.ts +1 -1
  1807. package/build-types/theme/index.d.ts.map +1 -1
  1808. package/build-types/toggle-control/index.d.ts +1 -1
  1809. package/build-types/toggle-control/index.d.ts.map +1 -1
  1810. package/build-types/toggle-group-control/toggle-group-control/component.d.ts +1 -1
  1811. package/build-types/toggle-group-control/toggle-group-control-option-base/component.d.ts +2 -2
  1812. package/build-types/toggle-group-control/toggle-group-control-option-base/component.d.ts.map +1 -1
  1813. package/build-types/toolbar/toolbar/toolbar-container.d.ts.map +1 -1
  1814. package/build-types/toolbar/toolbar-context/index.d.ts +2 -2
  1815. package/build-types/toolbar/toolbar-context/index.d.ts.map +1 -1
  1816. package/build-types/toolbar/toolbar-group/toolbar-group-container.d.ts +1 -1
  1817. package/build-types/toolbar/toolbar-group/toolbar-group-container.d.ts.map +1 -1
  1818. package/build-types/toolbar/toolbar-item/index.d.ts +3 -1
  1819. package/build-types/toolbar/toolbar-item/index.d.ts.map +1 -1
  1820. package/build-types/tools-panel/tools-panel/component.d.ts +1 -1
  1821. package/build-types/tools-panel/tools-panel/component.d.ts.map +1 -1
  1822. package/build-types/tools-panel/tools-panel/hook.d.ts +1 -1
  1823. package/build-types/tools-panel/tools-panel/hook.d.ts.map +1 -1
  1824. package/build-types/tools-panel/tools-panel-header/component.d.ts +1 -1
  1825. package/build-types/tools-panel/tools-panel-header/component.d.ts.map +1 -1
  1826. package/build-types/tools-panel/tools-panel-header/hook.d.ts +1 -1
  1827. package/build-types/tools-panel/tools-panel-header/hook.d.ts.map +1 -1
  1828. package/build-types/tools-panel/tools-panel-item/component.d.ts +1 -1
  1829. package/build-types/tools-panel/tools-panel-item/hook.d.ts +1 -1
  1830. package/build-types/tools-panel/tools-panel-item/hook.d.ts.map +1 -1
  1831. package/build-types/tooltip/index.d.ts.map +1 -1
  1832. package/build-types/tree-grid/cell.d.ts +1 -1
  1833. package/build-types/tree-grid/cell.d.ts.map +1 -1
  1834. package/build-types/tree-select/index.d.ts +1 -1
  1835. package/build-types/tree-select/index.d.ts.map +1 -1
  1836. package/build-types/truncate/component.d.ts +1 -1
  1837. package/build-types/truncate/component.d.ts.map +1 -1
  1838. package/build-types/truncate/hook.d.ts +1 -1
  1839. package/build-types/truncate/hook.d.ts.map +1 -1
  1840. package/build-types/unit-control/index.d.ts +2 -2
  1841. package/build-types/unit-control/index.d.ts.map +1 -1
  1842. package/build-types/unit-control/styles/unit-control-styles.d.ts +1 -1
  1843. package/build-types/unit-control/types.d.ts +8 -4
  1844. package/build-types/unit-control/types.d.ts.map +1 -1
  1845. package/build-types/unit-control/unit-select-control.d.ts +2 -6
  1846. package/build-types/unit-control/unit-select-control.d.ts.map +1 -1
  1847. package/build-types/utils/colors.d.ts +16 -0
  1848. package/build-types/utils/colors.d.ts.map +1 -1
  1849. package/build-types/utils/font-size.d.ts.map +1 -0
  1850. package/build-types/utils/get-valid-children.d.ts.map +1 -0
  1851. package/build-types/utils/space.d.ts.map +1 -0
  1852. package/build-types/utils/types.d.ts +1 -13
  1853. package/build-types/utils/types.d.ts.map +1 -1
  1854. package/build-types/utils/use-deprecated-props.d.ts +3 -1
  1855. package/build-types/utils/use-deprecated-props.d.ts.map +1 -1
  1856. package/build-types/utils/use-responsive-value.d.ts.map +1 -0
  1857. package/build-types/v-stack/component.d.ts +1 -1
  1858. package/build-types/v-stack/hook.d.ts +1 -1
  1859. package/build-types/v-stack/hook.d.ts.map +1 -1
  1860. package/build-types/view/component.d.ts +1 -1
  1861. package/build-types/view/component.d.ts.map +1 -1
  1862. package/build-types/visually-hidden/component.d.ts +1 -1
  1863. package/build-types/visually-hidden/component.d.ts.map +1 -1
  1864. package/build-types/z-stack/component.d.ts +1 -1
  1865. package/build-types/z-stack/component.d.ts.map +1 -1
  1866. package/package.json +22 -20
  1867. package/src/alignment-matrix-control/README.md +1 -1
  1868. package/src/alignment-matrix-control/cell.tsx +1 -1
  1869. package/src/alignment-matrix-control/icon.tsx +1 -1
  1870. package/src/alignment-matrix-control/index.tsx +1 -1
  1871. package/src/angle-picker-control/README.md +1 -1
  1872. package/src/angle-picker-control/angle-circle.tsx +1 -1
  1873. package/src/angle-picker-control/index.tsx +1 -1
  1874. package/src/angle-picker-control/styles/angle-picker-control-styles.tsx +1 -1
  1875. package/src/autocomplete/types.ts +6 -2
  1876. package/src/base-control/index.tsx +1 -1
  1877. package/src/base-control/styles/base-control-styles.ts +1 -1
  1878. package/src/border-box-control/border-box-control/README.md +1 -1
  1879. package/src/border-box-control/border-box-control/component.tsx +2 -2
  1880. package/src/border-box-control/border-box-control/hook.ts +2 -2
  1881. package/src/border-box-control/border-box-control-linked-button/component.tsx +2 -2
  1882. package/src/border-box-control/border-box-control-linked-button/hook.ts +2 -2
  1883. package/src/border-box-control/border-box-control-split-controls/component.tsx +2 -2
  1884. package/src/border-box-control/border-box-control-split-controls/hook.ts +2 -2
  1885. package/src/border-box-control/border-box-control-visualizer/component.tsx +2 -2
  1886. package/src/border-box-control/border-box-control-visualizer/hook.ts +2 -2
  1887. package/src/border-control/border-control/README.md +1 -1
  1888. package/src/border-control/border-control/component.tsx +2 -2
  1889. package/src/border-control/border-control/hook.ts +2 -2
  1890. package/src/border-control/border-control-dropdown/component.tsx +2 -2
  1891. package/src/border-control/border-control-dropdown/hook.ts +2 -2
  1892. package/src/border-control/border-control-style-picker/component.tsx +2 -2
  1893. package/src/border-control/border-control-style-picker/hook.ts +2 -2
  1894. package/src/border-control/styles.ts +1 -1
  1895. package/src/box-control/README.md +1 -1
  1896. package/src/box-control/icon.tsx +1 -1
  1897. package/src/button/README.md +2 -0
  1898. package/src/button/index.tsx +30 -7
  1899. package/src/button/stories/index.story.tsx +11 -0
  1900. package/src/button/style.scss +3 -2
  1901. package/src/button/test/index.tsx +67 -6
  1902. package/src/button/types.ts +1 -1
  1903. package/src/button-group/index.tsx +1 -1
  1904. package/src/card/card/README.md +1 -1
  1905. package/src/card/card/component.tsx +2 -2
  1906. package/src/card/card/hook.ts +2 -2
  1907. package/src/card/card-body/component.tsx +2 -2
  1908. package/src/card/card-body/hook.ts +2 -2
  1909. package/src/card/card-divider/component.tsx +2 -2
  1910. package/src/card/card-divider/hook.ts +2 -2
  1911. package/src/card/card-footer/component.tsx +2 -2
  1912. package/src/card/card-footer/hook.ts +2 -2
  1913. package/src/card/card-header/component.tsx +2 -2
  1914. package/src/card/card-header/hook.ts +2 -2
  1915. package/src/card/card-media/component.tsx +2 -2
  1916. package/src/card/card-media/hook.ts +2 -2
  1917. package/src/checkbox-control/README.md +2 -2
  1918. package/src/checkbox-control/index.tsx +1 -1
  1919. package/src/circular-option-picker/README.md +1 -1
  1920. package/src/circular-option-picker/circular-option-picker-actions.tsx +1 -1
  1921. package/src/circular-option-picker/circular-option-picker-option.tsx +9 -11
  1922. package/src/circular-option-picker/style.scss +2 -1
  1923. package/src/circular-option-picker/types.ts +1 -1
  1924. package/src/clipboard-button/README.md +1 -1
  1925. package/src/clipboard-button/index.tsx +1 -1
  1926. package/src/color-indicator/index.tsx +1 -1
  1927. package/src/color-palette/README.md +1 -1
  1928. package/src/color-palette/index.tsx +1 -1
  1929. package/src/color-picker/README.md +1 -1
  1930. package/src/color-picker/color-copy-button.tsx +5 -9
  1931. package/src/color-picker/component.tsx +1 -1
  1932. package/src/color-picker/hex-input.tsx +1 -1
  1933. package/src/color-picker/input-with-slider.tsx +1 -1
  1934. package/src/color-picker/styles.ts +1 -1
  1935. package/src/color-picker/types.ts +1 -1
  1936. package/src/combobox-control/README.md +1 -1
  1937. package/src/combobox-control/styles.ts +1 -1
  1938. package/src/combobox-control/test/index.tsx +6 -7
  1939. package/src/confirm-dialog/README.md +1 -1
  1940. package/src/confirm-dialog/component.tsx +2 -2
  1941. package/src/{ui/context → context}/context-connect.ts +1 -1
  1942. package/src/{ui/context → context}/context-system-provider.js +1 -1
  1943. package/src/{ui/context → context}/use-context-system.js +1 -1
  1944. package/src/custom-gradient-picker/gradient-bar/control-points.tsx +1 -1
  1945. package/src/custom-select-control/README.md +1 -4
  1946. package/src/custom-select-control/index.js +11 -6
  1947. package/src/custom-select-control/stories/index.story.js +1 -1
  1948. package/src/custom-select-control/style.scss +1 -1
  1949. package/src/dashicon/index.tsx +1 -1
  1950. package/src/date-time/README.md +1 -1
  1951. package/src/date-time/date/styles.ts +1 -1
  1952. package/src/date-time/time/index.tsx +9 -6
  1953. package/src/date-time/time/styles.ts +1 -11
  1954. package/src/dimension-control/README.md +1 -1
  1955. package/src/disabled/README.md +1 -1
  1956. package/src/disabled/index.tsx +1 -1
  1957. package/src/divider/component.tsx +2 -2
  1958. package/src/divider/styles.ts +1 -1
  1959. package/src/divider/types.ts +1 -1
  1960. package/src/drop-zone/README.md +1 -1
  1961. package/src/drop-zone/index.tsx +1 -1
  1962. package/src/dropdown/dropdown-content-wrapper.tsx +2 -2
  1963. package/src/dropdown/index.tsx +1 -1
  1964. package/src/dropdown/styles.ts +1 -1
  1965. package/src/dropdown-menu/index.tsx +1 -1
  1966. package/src/dropdown-menu/types.ts +1 -1
  1967. package/src/dropdown-menu-v2/index.tsx +1 -1
  1968. package/src/dropdown-menu-v2/stories/index.story.tsx +1 -1
  1969. package/src/dropdown-menu-v2/styles.ts +1 -1
  1970. package/src/dropdown-menu-v2/types.ts +1 -1
  1971. package/src/duotone-picker/README.md +1 -1
  1972. package/src/duotone-picker/duotone-picker.tsx +5 -1
  1973. package/src/elevation/component.tsx +2 -2
  1974. package/src/elevation/hook.ts +2 -2
  1975. package/src/external-link/index.tsx +1 -1
  1976. package/src/external-link/test/index.tsx +4 -6
  1977. package/src/flex/flex/component.tsx +2 -2
  1978. package/src/flex/flex/hook.ts +4 -4
  1979. package/src/flex/flex-block/component.tsx +2 -2
  1980. package/src/flex/flex-block/hook.ts +2 -2
  1981. package/src/flex/flex-item/component.tsx +2 -2
  1982. package/src/flex/flex-item/hook.ts +2 -2
  1983. package/src/flex/types.ts +2 -2
  1984. package/src/focal-point-picker/README.md +1 -1
  1985. package/src/focal-point-picker/focal-point.tsx +1 -1
  1986. package/src/focal-point-picker/grid.tsx +1 -1
  1987. package/src/focal-point-picker/index.tsx +1 -1
  1988. package/src/focusable-iframe/README.md +2 -2
  1989. package/src/font-size-picker/README.md +1 -1
  1990. package/src/font-size-picker/styles.ts +1 -1
  1991. package/src/form-file-upload/README.md +2 -2
  1992. package/src/form-file-upload/index.tsx +1 -1
  1993. package/src/form-toggle/README.md +1 -1
  1994. package/src/form-toggle/index.tsx +1 -1
  1995. package/src/form-token-field/README.md +1 -1
  1996. package/src/form-token-field/style.scss +2 -0
  1997. package/src/form-token-field/styles.ts +1 -1
  1998. package/src/form-token-field/token-input.tsx +1 -1
  1999. package/src/gradient-picker/README.md +1 -1
  2000. package/src/grid/component.tsx +2 -2
  2001. package/src/grid/hook.ts +3 -3
  2002. package/src/grid/types.ts +1 -1
  2003. package/src/guide/page.tsx +1 -1
  2004. package/src/h-stack/component.tsx +2 -2
  2005. package/src/h-stack/hook.tsx +3 -3
  2006. package/src/heading/component.tsx +2 -2
  2007. package/src/heading/hook.ts +3 -3
  2008. package/src/higher-order/with-constrained-tabbing/README.md +1 -1
  2009. package/src/higher-order/with-focus-return/README.md +1 -1
  2010. package/src/higher-order/with-focus-return/index.tsx +1 -1
  2011. package/src/higher-order/with-spoken-messages/index.tsx +3 -3
  2012. package/src/icon/README.md +2 -2
  2013. package/src/input-control/index.tsx +18 -11
  2014. package/src/input-control/input-base.tsx +17 -10
  2015. package/src/input-control/input-field.tsx +1 -1
  2016. package/src/input-control/input-prefix-wrapper.tsx +2 -2
  2017. package/src/input-control/input-suffix-wrapper.tsx +2 -2
  2018. package/src/input-control/label.tsx +1 -1
  2019. package/src/input-control/styles/input-control-styles.tsx +7 -7
  2020. package/src/input-control/test/index.js +5 -7
  2021. package/src/input-control/types.ts +11 -3
  2022. package/src/item-group/item/component.tsx +2 -2
  2023. package/src/item-group/item/hook.ts +2 -2
  2024. package/src/item-group/item-group/component.tsx +2 -2
  2025. package/src/item-group/item-group/hook.ts +2 -2
  2026. package/src/keyboard-shortcuts/README.md +1 -1
  2027. package/src/menu-item/README.md +3 -3
  2028. package/src/menu-item/index.tsx +1 -1
  2029. package/src/menu-items-choice/README.md +1 -1
  2030. package/src/mobile/bottom-sheet/sub-sheet/README.md +1 -1
  2031. package/src/mobile/html-text-input/index.native.js +4 -1
  2032. package/src/mobile/html-text-input/style.scss +4 -0
  2033. package/src/mobile/html-text-input/test/__snapshots__/index.native.js.snap +3 -1
  2034. package/src/mobile/keyboard-aware-flat-list/index.ios.js +1 -1
  2035. package/src/modal/README.md +9 -1
  2036. package/src/modal/aria-helper.ts +17 -25
  2037. package/src/modal/index.tsx +15 -6
  2038. package/src/modal/stories/index.story.tsx +7 -5
  2039. package/src/modal/style.scss +20 -0
  2040. package/src/modal/test/index.tsx +1 -2
  2041. package/src/modal/types.ts +9 -0
  2042. package/src/navigable-container/types.ts +1 -1
  2043. package/src/navigation/styles/navigation-styles.tsx +1 -1
  2044. package/src/navigator/navigator-back-button/component.tsx +2 -2
  2045. package/src/navigator/navigator-back-button/hook.ts +2 -2
  2046. package/src/navigator/navigator-button/component.tsx +2 -2
  2047. package/src/navigator/navigator-button/hook.ts +2 -2
  2048. package/src/navigator/navigator-provider/component.tsx +2 -2
  2049. package/src/navigator/navigator-screen/component.tsx +2 -2
  2050. package/src/navigator/navigator-to-parent-button/component.tsx +2 -2
  2051. package/src/notice/list.tsx +1 -1
  2052. package/src/number-control/index.tsx +15 -9
  2053. package/src/number-control/styles/number-control-styles.ts +1 -1
  2054. package/src/palette-edit/styles.js +1 -1
  2055. package/src/panel/body.tsx +1 -1
  2056. package/src/panel/types.ts +1 -1
  2057. package/src/placeholder/README.md +1 -1
  2058. package/src/placeholder/index.tsx +1 -1
  2059. package/src/placeholder/test/index.tsx +1 -1
  2060. package/src/popover/README.md +6 -7
  2061. package/src/popover/index.tsx +1 -2
  2062. package/src/popover/test/utils/index.tsx +1 -1
  2063. package/src/private-apis.ts +1 -1
  2064. package/src/progress-bar/index.tsx +1 -1
  2065. package/src/query-controls/README.md +1 -1
  2066. package/src/radio-control/README.md +2 -2
  2067. package/src/radio-control/index.tsx +1 -1
  2068. package/src/radio-group/README.md +2 -2
  2069. package/src/range-control/README.md +4 -4
  2070. package/src/range-control/index.tsx +2 -2
  2071. package/src/range-control/input-range.tsx +1 -1
  2072. package/src/range-control/mark.tsx +1 -1
  2073. package/src/range-control/rail.tsx +1 -1
  2074. package/src/range-control/styles/range-control-styles.ts +2 -2
  2075. package/src/range-control/tooltip.tsx +1 -1
  2076. package/src/sandbox/README.md +7 -1
  2077. package/src/sandbox/index.tsx +2 -0
  2078. package/src/sandbox/types.ts +6 -0
  2079. package/src/scroll-lock/README.md +1 -1
  2080. package/src/scrollable/component.tsx +2 -2
  2081. package/src/scrollable/hook.ts +2 -2
  2082. package/src/search-control/README.md +2 -2
  2083. package/src/search-control/index.tsx +1 -1
  2084. package/src/search-control/style.scss +6 -0
  2085. package/src/select-control/README.md +2 -2
  2086. package/src/select-control/index.tsx +10 -5
  2087. package/src/select-control/styles/select-control-styles.ts +8 -8
  2088. package/src/select-control/test/select-control.tsx +2 -4
  2089. package/src/select-control/types.ts +1 -0
  2090. package/src/slot-fill/bubbles-virtually/{fill.js → fill.tsx} +6 -7
  2091. package/src/slot-fill/bubbles-virtually/{slot-fill-context.js → slot-fill-context.ts} +8 -3
  2092. package/src/slot-fill/bubbles-virtually/slot-fill-provider.tsx +115 -0
  2093. package/src/slot-fill/bubbles-virtually/{slot.js → slot.tsx} +16 -3
  2094. package/src/slot-fill/bubbles-virtually/{use-slot-fills.js → use-slot-fills.ts} +2 -2
  2095. package/src/slot-fill/bubbles-virtually/{use-slot.js → use-slot.ts} +15 -6
  2096. package/src/slot-fill/context.ts +21 -0
  2097. package/src/slot-fill/{fill.js → fill.ts} +2 -3
  2098. package/src/slot-fill/{index.js → index.tsx} +37 -13
  2099. package/src/slot-fill/provider.tsx +129 -0
  2100. package/src/slot-fill/{slot.js → slot.tsx} +29 -15
  2101. package/src/slot-fill/stories/index.story.tsx +140 -0
  2102. package/src/slot-fill/types.ts +155 -0
  2103. package/src/slot-fill/{use-slot.js → use-slot.ts} +4 -4
  2104. package/src/snackbar/index.tsx +1 -1
  2105. package/src/snackbar/list.tsx +1 -1
  2106. package/src/spacer/component.tsx +2 -2
  2107. package/src/spacer/hook.ts +3 -3
  2108. package/src/spacer/types.ts +1 -1
  2109. package/src/spinner/index.tsx +1 -1
  2110. package/src/spinner/stories/index.story.tsx +1 -1
  2111. package/src/surface/component.tsx +2 -2
  2112. package/src/surface/hook.ts +2 -2
  2113. package/src/tab-panel/index.tsx +2 -1
  2114. package/src/text/component.js +3 -3
  2115. package/src/text/get-line-height.ts +1 -1
  2116. package/src/text/hook.js +4 -4
  2117. package/src/text/test/index.tsx +1 -1
  2118. package/src/text/types.ts +2 -1
  2119. package/src/text-control/README.md +1 -1
  2120. package/src/text-control/index.tsx +1 -1
  2121. package/src/textarea-control/README.md +2 -2
  2122. package/src/textarea-control/index.tsx +32 -32
  2123. package/src/theme/index.tsx +1 -1
  2124. package/src/toggle-control/README.md +2 -2
  2125. package/src/toggle-control/index.tsx +2 -2
  2126. package/src/toggle-group-control/toggle-group-control/as-button-group.tsx +1 -1
  2127. package/src/toggle-group-control/toggle-group-control/as-radio-group.tsx +6 -6
  2128. package/src/toggle-group-control/toggle-group-control/component.tsx +2 -2
  2129. package/src/toggle-group-control/toggle-group-control-option/component.tsx +1 -1
  2130. package/src/toggle-group-control/toggle-group-control-option-base/component.tsx +5 -5
  2131. package/src/toggle-group-control/toggle-group-control-option-icon/README.md +1 -1
  2132. package/src/toggle-group-control/toggle-group-control-option-icon/component.tsx +1 -1
  2133. package/src/toolbar/toolbar/index.tsx +2 -2
  2134. package/src/toolbar/toolbar/toolbar-container.tsx +5 -4
  2135. package/src/toolbar/toolbar-button/index.tsx +1 -1
  2136. package/src/toolbar/toolbar-context/index.ts +5 -2
  2137. package/src/toolbar/toolbar-group/toolbar-group-container.tsx +1 -1
  2138. package/src/toolbar/toolbar-item/index.tsx +3 -2
  2139. package/src/tools-panel/styles.ts +1 -1
  2140. package/src/tools-panel/tools-panel/component.tsx +2 -2
  2141. package/src/tools-panel/tools-panel/hook.ts +2 -2
  2142. package/src/tools-panel/tools-panel-header/component.tsx +2 -2
  2143. package/src/tools-panel/tools-panel-header/hook.ts +2 -2
  2144. package/src/tools-panel/tools-panel-item/component.tsx +2 -2
  2145. package/src/tools-panel/tools-panel-item/hook.ts +2 -2
  2146. package/src/tooltip/index.tsx +2 -2
  2147. package/src/tree-grid/cell.tsx +1 -1
  2148. package/src/tree-grid/index.tsx +1 -1
  2149. package/src/tree-grid/row.tsx +1 -1
  2150. package/src/tree-select/README.md +1 -1
  2151. package/src/tree-select/index.tsx +16 -9
  2152. package/src/truncate/component.tsx +2 -2
  2153. package/src/truncate/hook.ts +2 -2
  2154. package/src/unit-control/README.md +2 -2
  2155. package/src/unit-control/index.tsx +13 -3
  2156. package/src/unit-control/styles/unit-control-styles.ts +7 -7
  2157. package/src/unit-control/types.ts +8 -4
  2158. package/src/unit-control/unit-select-control.tsx +1 -1
  2159. package/src/utils/colors.js +91 -0
  2160. package/src/utils/config-values.js +1 -1
  2161. package/src/{ui/utils → utils}/font-size.ts +1 -1
  2162. package/src/utils/test/colors.js +39 -1
  2163. package/src/utils/types.ts +1 -36
  2164. package/src/utils/use-deprecated-props.ts +4 -2
  2165. package/src/v-stack/component.tsx +2 -2
  2166. package/src/v-stack/hook.ts +2 -2
  2167. package/src/view/component.tsx +1 -1
  2168. package/src/visually-hidden/component.tsx +2 -2
  2169. package/src/z-stack/component.tsx +3 -3
  2170. package/tsconfig.tsbuildinfo +1 -1
  2171. package/build/ui/context/constants.js.map +0 -1
  2172. package/build/ui/context/context-connect.js.map +0 -1
  2173. package/build/ui/context/context-system-provider.js.map +0 -1
  2174. package/build/ui/context/get-styled-class-name-from-key.js.map +0 -1
  2175. package/build/ui/context/index.js.map +0 -1
  2176. package/build/ui/context/use-context-system.js.map +0 -1
  2177. package/build/ui/context/utils.js.map +0 -1
  2178. package/build/ui/context/wordpress-component.js.map +0 -1
  2179. package/build/ui/shortcut/component.js +0 -47
  2180. package/build/ui/shortcut/component.js.map +0 -1
  2181. package/build/ui/shortcut/index.js +0 -14
  2182. package/build/ui/shortcut/index.js.map +0 -1
  2183. package/build/ui/tooltip/component.js +0 -97
  2184. package/build/ui/tooltip/component.js.map +0 -1
  2185. package/build/ui/tooltip/content.js +0 -55
  2186. package/build/ui/tooltip/content.js.map +0 -1
  2187. package/build/ui/tooltip/context.js +0 -19
  2188. package/build/ui/tooltip/context.js.map +0 -1
  2189. package/build/ui/tooltip/index.js +0 -29
  2190. package/build/ui/tooltip/index.js.map +0 -1
  2191. package/build/ui/tooltip/styles.js +0 -44
  2192. package/build/ui/tooltip/styles.js.map +0 -1
  2193. package/build/ui/tooltip/types.js.map +0 -1
  2194. package/build/ui/utils/colors.js +0 -96
  2195. package/build/ui/utils/colors.js.map +0 -1
  2196. package/build/ui/utils/font-size.js.map +0 -1
  2197. package/build/ui/utils/get-valid-children.js.map +0 -1
  2198. package/build/ui/utils/index.js +0 -13
  2199. package/build/ui/utils/index.js.map +0 -1
  2200. package/build/ui/utils/space.js.map +0 -1
  2201. package/build/ui/utils/types.js +0 -6
  2202. package/build/ui/utils/types.js.map +0 -1
  2203. package/build/ui/utils/use-responsive-value.js.map +0 -1
  2204. package/build/utils/z-index.js +0 -11
  2205. package/build/utils/z-index.js.map +0 -1
  2206. package/build-module/ui/context/constants.js.map +0 -1
  2207. package/build-module/ui/context/context-connect.js.map +0 -1
  2208. package/build-module/ui/context/context-system-provider.js.map +0 -1
  2209. package/build-module/ui/context/get-styled-class-name-from-key.js.map +0 -1
  2210. package/build-module/ui/context/index.js.map +0 -1
  2211. package/build-module/ui/context/use-context-system.js.map +0 -1
  2212. package/build-module/ui/context/utils.js.map +0 -1
  2213. package/build-module/ui/context/wordpress-component.js.map +0 -1
  2214. package/build-module/ui/shortcut/component.js +0 -40
  2215. package/build-module/ui/shortcut/component.js.map +0 -1
  2216. package/build-module/ui/shortcut/index.js +0 -2
  2217. package/build-module/ui/shortcut/index.js.map +0 -1
  2218. package/build-module/ui/tooltip/component.js +0 -90
  2219. package/build-module/ui/tooltip/component.js.map +0 -1
  2220. package/build-module/ui/tooltip/content.js +0 -45
  2221. package/build-module/ui/tooltip/content.js.map +0 -1
  2222. package/build-module/ui/tooltip/context.js +0 -11
  2223. package/build-module/ui/tooltip/context.js.map +0 -1
  2224. package/build-module/ui/tooltip/index.js +0 -3
  2225. package/build-module/ui/tooltip/index.js.map +0 -1
  2226. package/build-module/ui/tooltip/styles.js +0 -37
  2227. package/build-module/ui/tooltip/styles.js.map +0 -1
  2228. package/build-module/ui/tooltip/types.js.map +0 -1
  2229. package/build-module/ui/utils/colors.js +0 -88
  2230. package/build-module/ui/utils/colors.js.map +0 -1
  2231. package/build-module/ui/utils/font-size.js.map +0 -1
  2232. package/build-module/ui/utils/get-valid-children.js.map +0 -1
  2233. package/build-module/ui/utils/index.js +0 -2
  2234. package/build-module/ui/utils/index.js.map +0 -1
  2235. package/build-module/ui/utils/space.js.map +0 -1
  2236. package/build-module/ui/utils/types.js +0 -2
  2237. package/build-module/ui/utils/types.js.map +0 -1
  2238. package/build-module/ui/utils/use-responsive-value.js.map +0 -1
  2239. package/build-module/utils/z-index.js +0 -3
  2240. package/build-module/utils/z-index.js.map +0 -1
  2241. package/build-types/ui/context/constants.d.ts.map +0 -1
  2242. package/build-types/ui/context/context-connect.d.ts.map +0 -1
  2243. package/build-types/ui/context/context-system-provider.d.ts.map +0 -1
  2244. package/build-types/ui/context/get-styled-class-name-from-key.d.ts.map +0 -1
  2245. package/build-types/ui/context/index.d.ts.map +0 -1
  2246. package/build-types/ui/context/test/context-connect.d.ts.map +0 -1
  2247. package/build-types/ui/context/test/wordpress-component.d.ts.map +0 -1
  2248. package/build-types/ui/context/use-context-system.d.ts.map +0 -1
  2249. package/build-types/ui/context/utils.d.ts.map +0 -1
  2250. package/build-types/ui/context/wordpress-component.d.ts.map +0 -1
  2251. package/build-types/ui/shortcut/component.d.ts +0 -12
  2252. package/build-types/ui/shortcut/component.d.ts.map +0 -1
  2253. package/build-types/ui/shortcut/index.d.ts +0 -3
  2254. package/build-types/ui/shortcut/index.d.ts.map +0 -1
  2255. package/build-types/ui/tooltip/component.d.ts +0 -29
  2256. package/build-types/ui/tooltip/component.d.ts.map +0 -1
  2257. package/build-types/ui/tooltip/content.d.ts +0 -9
  2258. package/build-types/ui/tooltip/content.d.ts.map +0 -1
  2259. package/build-types/ui/tooltip/context.d.ts +0 -10
  2260. package/build-types/ui/tooltip/context.d.ts.map +0 -1
  2261. package/build-types/ui/tooltip/index.d.ts +0 -3
  2262. package/build-types/ui/tooltip/index.d.ts.map +0 -1
  2263. package/build-types/ui/tooltip/styles.d.ts +0 -12
  2264. package/build-types/ui/tooltip/styles.d.ts.map +0 -1
  2265. package/build-types/ui/tooltip/types.d.ts +0 -62
  2266. package/build-types/ui/tooltip/types.d.ts.map +0 -1
  2267. package/build-types/ui/utils/colors.d.ts +0 -17
  2268. package/build-types/ui/utils/colors.d.ts.map +0 -1
  2269. package/build-types/ui/utils/font-size.d.ts.map +0 -1
  2270. package/build-types/ui/utils/get-valid-children.d.ts.map +0 -1
  2271. package/build-types/ui/utils/index.d.ts +0 -2
  2272. package/build-types/ui/utils/index.d.ts.map +0 -1
  2273. package/build-types/ui/utils/space.d.ts.map +0 -1
  2274. package/build-types/ui/utils/types.d.ts +0 -14
  2275. package/build-types/ui/utils/types.d.ts.map +0 -1
  2276. package/build-types/ui/utils/use-responsive-value.d.ts.map +0 -1
  2277. package/build-types/utils/z-index.d.ts +0 -3
  2278. package/build-types/utils/z-index.d.ts.map +0 -1
  2279. package/src/slot-fill/bubbles-virtually/slot-fill-provider.js +0 -95
  2280. package/src/slot-fill/context.js +0 -17
  2281. package/src/slot-fill/provider.js +0 -119
  2282. package/src/slot-fill/stories/index.story.js +0 -89
  2283. package/src/ui/README.md +0 -5
  2284. package/src/ui/shortcut/component.tsx +0 -62
  2285. package/src/ui/shortcut/index.ts +0 -2
  2286. package/src/ui/shortcut/test/__snapshots__/index.js.snap +0 -13
  2287. package/src/ui/shortcut/test/index.js +0 -36
  2288. package/src/ui/tooltip/README.md +0 -21
  2289. package/src/ui/tooltip/component.js +0 -102
  2290. package/src/ui/tooltip/content.js +0 -45
  2291. package/src/ui/tooltip/context.js +0 -10
  2292. package/src/ui/tooltip/index.js +0 -2
  2293. package/src/ui/tooltip/stories/index.story.js +0 -26
  2294. package/src/ui/tooltip/styles.js +0 -45
  2295. package/src/ui/tooltip/test/__snapshots__/index.js.snap +0 -41
  2296. package/src/ui/tooltip/test/index.js +0 -80
  2297. package/src/ui/tooltip/types.ts +0 -67
  2298. package/src/ui/utils/colors.js +0 -98
  2299. package/src/ui/utils/index.js +0 -1
  2300. package/src/ui/utils/test/colors.js +0 -42
  2301. package/src/ui/utils/types.ts +0 -36
  2302. package/src/utils/z-index.js +0 -2
  2303. /package/build/{ui/context → context}/constants.js +0 -0
  2304. /package/build/{ui/context → context}/get-styled-class-name-from-key.js +0 -0
  2305. /package/build/{ui/context → context}/index.js +0 -0
  2306. /package/build/{ui/context → context}/utils.js +0 -0
  2307. /package/build/{ui/context → context}/wordpress-component.js +0 -0
  2308. /package/build/{ui/tooltip → slot-fill}/types.js +0 -0
  2309. /package/build/{ui/utils → utils}/get-valid-children.js +0 -0
  2310. /package/build/{ui/utils → utils}/space.js +0 -0
  2311. /package/build/{ui/utils → utils}/use-responsive-value.js +0 -0
  2312. /package/build-module/{ui/context → context}/constants.js +0 -0
  2313. /package/build-module/{ui/context → context}/get-styled-class-name-from-key.js +0 -0
  2314. /package/build-module/{ui/context → context}/index.js +0 -0
  2315. /package/build-module/{ui/context → context}/utils.js +0 -0
  2316. /package/build-module/{ui/context → context}/wordpress-component.js +0 -0
  2317. /package/build-module/{ui/tooltip → slot-fill}/types.js +0 -0
  2318. /package/build-module/{ui/utils → utils}/get-valid-children.js +0 -0
  2319. /package/build-module/{ui/utils → utils}/space.js +0 -0
  2320. /package/build-module/{ui/utils → utils}/use-responsive-value.js +0 -0
  2321. /package/build-types/{ui/context → context}/constants.d.ts +0 -0
  2322. /package/build-types/{ui/context → context}/context-connect.d.ts +0 -0
  2323. /package/build-types/{ui/context → context}/context-system-provider.d.ts +0 -0
  2324. /package/build-types/{ui/context → context}/get-styled-class-name-from-key.d.ts +0 -0
  2325. /package/build-types/{ui/context → context}/index.d.ts +0 -0
  2326. /package/build-types/{ui/context → context}/test/context-connect.d.ts +0 -0
  2327. /package/build-types/{ui/context → context}/test/wordpress-component.d.ts +0 -0
  2328. /package/build-types/{ui/context → context}/use-context-system.d.ts +0 -0
  2329. /package/build-types/{ui/context → context}/utils.d.ts +0 -0
  2330. /package/build-types/{ui/context → context}/wordpress-component.d.ts +0 -0
  2331. /package/build-types/{ui/utils → utils}/font-size.d.ts +0 -0
  2332. /package/build-types/{ui/utils → utils}/get-valid-children.d.ts +0 -0
  2333. /package/build-types/{ui/utils → utils}/space.d.ts +0 -0
  2334. /package/build-types/{ui/utils → utils}/use-responsive-value.d.ts +0 -0
  2335. /package/src/{ui/context → context}/constants.js +0 -0
  2336. /package/src/{ui/context → context}/get-styled-class-name-from-key.ts +0 -0
  2337. /package/src/{ui/context → context}/index.ts +0 -0
  2338. /package/src/{ui/context → context}/stories/ComponentsProvider.stories.js +0 -0
  2339. /package/src/{ui/context → context}/test/__snapshots__/context-system-provider.js.snap +0 -0
  2340. /package/src/{ui/context → context}/test/context-connect.tsx +0 -0
  2341. /package/src/{ui/context → context}/test/context-system-provider.js +0 -0
  2342. /package/src/{ui/context → context}/test/wordpress-component.tsx +0 -0
  2343. /package/src/{ui/context → context}/utils.js +0 -0
  2344. /package/src/{ui/context → context}/wordpress-component.ts +0 -0
  2345. /package/src/{ui/utils → utils}/get-valid-children.ts +0 -0
  2346. /package/src/{ui/utils → utils}/space.ts +0 -0
  2347. /package/src/{ui/utils → utils}/test/space.js +0 -0
  2348. /package/src/{ui/utils → utils}/use-responsive-value.ts +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"names":["forwardRef","warn","CONNECT_STATIC_NAMESPACE","getStyledClassNameFromKey","contextConnect","Component","namespace","_contextConnect","forwardsRef","contextConnectWithoutRef","options","WrappedComponent","SCRIPT_DEBUG","mergedNamespace","Array","isArray","Object","assign","Set","displayName","selector","getConnectNamespace","namespaces","type","hasConnectNamespace","match","includes","some","result"],"sources":["@wordpress/components/src/context/context-connect.ts"],"sourcesContent":["/**\n * External dependencies\n */\nimport type { ForwardedRef, ReactChild, ReactNode } from 'react';\n\n/**\n * WordPress dependencies\n */\nimport { forwardRef } from '@wordpress/element';\nimport warn from '@wordpress/warning';\n\n/**\n * Internal dependencies\n */\nimport { CONNECT_STATIC_NAMESPACE } from './constants';\nimport { getStyledClassNameFromKey } from './get-styled-class-name-from-key';\nimport type { WordPressComponentFromProps } from '.';\n\ntype AcceptsTwoArgs<\n\tF extends ( ...args: any ) => any,\n\tErrorMessage = never,\n> = Parameters< F >[ 'length' ] extends 2 ? {} : ErrorMessage;\n\ntype ContextConnectOptions = {\n\tforwardsRef?: boolean;\n};\n\n/**\n * Forwards ref (React.ForwardRef) and \"Connects\" (or registers) a component\n * within the Context system under a specified namespace.\n *\n * @param Component The component to register into the Context system.\n * @param namespace The namespace to register the component under.\n * @return The connected WordPressComponent\n */\nexport function contextConnect<\n\tC extends ( props: any, ref: ForwardedRef< any > ) => JSX.Element | null,\n>(\n\tComponent: C &\n\t\tAcceptsTwoArgs<\n\t\t\tC,\n\t\t\t'Warning: Your component function does not take a ref as the second argument. Did you mean to use `contextConnectWithoutRef`?'\n\t\t>,\n\tnamespace: string\n) {\n\treturn _contextConnect( Component, namespace, { forwardsRef: true } );\n}\n\n/**\n * \"Connects\" (or registers) a component within the Context system under a specified namespace.\n * Does not forward a ref.\n *\n * @param Component The component to register into the Context system.\n * @param namespace The namespace to register the component under.\n * @return The connected WordPressComponent\n */\nexport function contextConnectWithoutRef< P >(\n\tComponent: ( props: P ) => JSX.Element | null,\n\tnamespace: string\n) {\n\treturn _contextConnect( Component, namespace );\n}\n\n// This is an (experimental) evolution of the initial connect() HOC.\n// The hope is that we can improve render performance by removing functional\n// component wrappers.\nfunction _contextConnect<\n\tC extends ( props: any, ref: ForwardedRef< any > ) => JSX.Element | null,\n\tO extends ContextConnectOptions,\n>(\n\tComponent: C,\n\tnamespace: string,\n\toptions?: O\n): WordPressComponentFromProps<\n\tParameters< C >[ 0 ],\n\tO[ 'forwardsRef' ] extends true ? true : false\n> {\n\tconst WrappedComponent = options?.forwardsRef\n\t\t? forwardRef< any, Parameters< C >[ 0 ] >( Component )\n\t\t: Component;\n\n\tif ( typeof namespace === 'undefined' ) {\n\t\twarn( 'contextConnect: Please provide a namespace' );\n\t}\n\n\t// @ts-expect-error internal property\n\tlet mergedNamespace = WrappedComponent[ CONNECT_STATIC_NAMESPACE ] || [\n\t\tnamespace,\n\t];\n\n\t/**\n\t * Consolidate (merge) namespaces before attaching it to the WrappedComponent.\n\t */\n\tif ( Array.isArray( namespace ) ) {\n\t\tmergedNamespace = [ ...mergedNamespace, ...namespace ];\n\t}\n\tif ( typeof namespace === 'string' ) {\n\t\tmergedNamespace = [ ...mergedNamespace, namespace ];\n\t}\n\n\t// @ts-expect-error We can't rely on inferred types here because of the\n\t// `as` prop polymorphism we're handling in https://github.com/WordPress/gutenberg/blob/4f3a11243c365f94892e479bff0b922ccc4ccda3/packages/components/src/context/wordpress-component.ts#L32-L33\n\treturn Object.assign( WrappedComponent, {\n\t\t[ CONNECT_STATIC_NAMESPACE ]: [ ...new Set( mergedNamespace ) ],\n\t\tdisplayName: namespace,\n\t\tselector: `.${ getStyledClassNameFromKey( namespace ) }`,\n\t} );\n}\n\n/**\n * Attempts to retrieve the connected namespace from a component.\n *\n * @param Component The component to retrieve a namespace from.\n * @return The connected namespaces.\n */\nexport function getConnectNamespace(\n\tComponent: ReactChild | undefined | {}\n): string[] {\n\tif ( ! Component ) return [];\n\n\tlet namespaces = [];\n\n\t// @ts-ignore internal property\n\tif ( Component[ CONNECT_STATIC_NAMESPACE ] ) {\n\t\t// @ts-ignore internal property\n\t\tnamespaces = Component[ CONNECT_STATIC_NAMESPACE ];\n\t}\n\n\t// @ts-ignore\n\tif ( Component.type && Component.type[ CONNECT_STATIC_NAMESPACE ] ) {\n\t\t// @ts-ignore\n\t\tnamespaces = Component.type[ CONNECT_STATIC_NAMESPACE ];\n\t}\n\n\treturn namespaces;\n}\n\n/**\n * Checks to see if a component is connected within the Context system.\n *\n * @param Component The component to retrieve a namespace from.\n * @param match The namespace to check.\n */\nexport function hasConnectNamespace(\n\tComponent: ReactNode,\n\tmatch: string[] | string\n): boolean {\n\tif ( ! Component ) return false;\n\n\tif ( typeof match === 'string' ) {\n\t\treturn getConnectNamespace( Component ).includes( match );\n\t}\n\tif ( Array.isArray( match ) ) {\n\t\treturn match.some( ( result ) =>\n\t\t\tgetConnectNamespace( Component ).includes( result )\n\t\t);\n\t}\n\n\treturn false;\n}\n"],"mappings":"AAAA;AACA;AACA;;AAGA;AACA;AACA;AACA,SAASA,UAAU,QAAQ,oBAAoB;AAC/C,OAAOC,IAAI,MAAM,oBAAoB;;AAErC;AACA;AACA;AACA,SAASC,wBAAwB,QAAQ,aAAa;AACtD,SAASC,yBAAyB,QAAQ,kCAAkC;AAY5E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,cAAcA,CAG7BC,SAIE,EACFC,SAAiB,EAChB;EACD,OAAOC,eAAe,CAAEF,SAAS,EAAEC,SAAS,EAAE;IAAEE,WAAW,EAAE;EAAK,CAAE,CAAC;AACtE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,wBAAwBA,CACvCJ,SAA6C,EAC7CC,SAAiB,EAChB;EACD,OAAOC,eAAe,CAAEF,SAAS,EAAEC,SAAU,CAAC;AAC/C;;AAEA;AACA;AACA;AACA,SAASC,eAAeA,CAIvBF,SAA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,CAACkB,IAAI,CAAErB,wBAAwB,CAAE;EACxD;EAEA,OAAOoB,UAAU;AAClB;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASE,mBAAmBA,CAClCnB,SAAoB,EACpBoB,KAAwB,EACd;EACV,IAAK,CAAEpB,SAAS,EAAG,OAAO,KAAK;EAE/B,IAAK,OAAOoB,KAAK,KAAK,QAAQ,EAAG;IAChC,OAAOJ,mBAAmB,CAAEhB,SAAU,CAAC,CAACqB,QAAQ,CAAED,KAAM,CAAC;EAC1D;EACA,IAAKX,KAAK,CAACC,OAAO,CAAEU,KAAM,CAAC,EAAG;IAC7B,OAAOA,KAAK,CAACE,IAAI,CAAIC,MAAM,IAC1BP,mBAAmB,CAAEhB,SAAU,CAAC,CAACqB,QAAQ,CAAEE,MAAO,CACnD,CAAC;EACF;EAEA,OAAO,KAAK;AACb"}
@@ -1,4 +1,4 @@
1
- import { createElement } from "@wordpress/element";
1
+ import { createElement } from "react";
2
2
  /**
3
3
  * External dependencies
4
4
  */
@@ -15,7 +15,7 @@ import warn from '@wordpress/warning';
15
15
  /**
16
16
  * Internal dependencies
17
17
  */
18
- import { useUpdateEffect } from '../../utils';
18
+ import { useUpdateEffect } from '../utils';
19
19
  export const ComponentsContext = createContext( /** @type {Record<string, any>} */{});
20
20
  export const useComponentsContext = () => useContext(ComponentsContext);
21
21
 
@@ -0,0 +1 @@
1
+ {"version":3,"names":["deepmerge","fastDeepEqual","isPlainObject","createContext","useContext","useRef","useMemo","memo","warn","useUpdateEffect","ComponentsContext","useComponentsContext","useContextSystemBridge","value","parentContext","valueRef","current","SCRIPT_DEBUG","JSON","stringify","config","isMergeableObject","BaseContextSystemProvider","children","contextValue","createElement","Provider","ContextSystemProvider"],"sources":["@wordpress/components/src/context/context-system-provider.js"],"sourcesContent":["/**\n * External dependencies\n */\nimport deepmerge from 'deepmerge';\nimport fastDeepEqual from 'fast-deep-equal/es6';\nimport { isPlainObject } from 'is-plain-object';\n\n/**\n * WordPress dependencies\n */\nimport {\n\tcreateContext,\n\tuseContext,\n\tuseRef,\n\tuseMemo,\n\tmemo,\n} from '@wordpress/element';\nimport warn from '@wordpress/warning';\n\n/**\n * Internal dependencies\n */\nimport { useUpdateEffect } from '../utils';\n\nexport const ComponentsContext = createContext(\n\t/** @type {Record<string, any>} */ ( {} )\n);\nexport const useComponentsContext = () => useContext( ComponentsContext );\n\n/**\n * Consolidates incoming ContextSystem values with a (potential) parent ContextSystem value.\n *\n * Note: This function will warn if it detects an un-memoized `value`\n *\n * @param {Object} props\n * @param {Record<string, any>} props.value\n * @return {Record<string, any>} The consolidated value.\n */\nfunction useContextSystemBridge( { value } ) {\n\tconst parentContext = useComponentsContext();\n\n\tconst valueRef = useRef( value );\n\n\tuseUpdateEffect( () => {\n\t\tif (\n\t\t\t// Objects are equivalent.\n\t\t\tfastDeepEqual( valueRef.current, value ) &&\n\t\t\t// But not the same reference.\n\t\t\tvalueRef.current !== value\n\t\t) {\n\t\t\twarn( `Please memoize your context: ${ JSON.stringify( value ) }` );\n\t\t}\n\t}, [ value ] );\n\n\t// `parentContext` will always be memoized (i.e., the result of this hook itself)\n\t// or the default value from when the `ComponentsContext` was originally\n\t// initialized (which will never change, it's a static variable)\n\t// so this memoization will prevent `deepmerge()` from rerunning unless\n\t// the references to `value` change OR the `parentContext` has an actual material change\n\t// (because again, it's guaranteed to be memoized or a static reference to the empty object\n\t// so we know that the only changes for `parentContext` are material ones... i.e., why we\n\t// don't have to warn in the `useUpdateEffect` hook above for `parentContext` and we only\n\t// need to bother with the `value`). The `useUpdateEffect` above will ensure that we are\n\t// correctly warning when the `value` isn't being properly memoized. All of that to say\n\t// that this should be super safe to assume that `useMemo` will only run on actual\n\t// changes to the two dependencies, therefore saving us calls to `deepmerge()`!\n\tconst config = useMemo( () => {\n\t\t// Deep clone `parentContext` to avoid mutating it later.\n\t\treturn deepmerge( parentContext ?? {}, value ?? {}, {\n\t\t\tisMergeableObject: isPlainObject,\n\t\t} );\n\t}, [ parentContext, value ] );\n\n\treturn config;\n}\n\n/**\n * A Provider component that can modify props for connected components within\n * the Context system.\n *\n * @example\n * ```jsx\n * <ContextSystemProvider value={{ Button: { size: 'small' }}}>\n * <Button>...</Button>\n * </ContextSystemProvider>\n * ```\n *\n * @template {Record<string, any>} T\n * @param {Object} options\n * @param {import('react').ReactNode} options.children Children to render.\n * @param {T} options.value Props to render into connected components.\n * @return {JSX.Element} A Provider wrapped component.\n */\nconst BaseContextSystemProvider = ( { children, value } ) => {\n\tconst contextValue = useContextSystemBridge( { value } );\n\n\treturn (\n\t\t<ComponentsContext.Provider value={ contextValue }>\n\t\t\t{ children }\n\t\t</ComponentsContext.Provider>\n\t);\n};\n\nexport const ContextSystemProvider = memo( BaseContextSystemProvider );\n"],"mappings":";AAAA;AACA;AACA;AACA,OAAOA,SAAS,MAAM,WAAW;AACjC,OAAOC,aAAa,MAAM,qBAAqB;AAC/C,SAASC,aAAa,QAAQ,iBAAiB;;AAE/C;AACA;AACA;AACA,SACCC,aAAa,EACbC,UAAU,EACVC,MAAM,EACNC,OAAO,EACPC,IAAI,QACE,oBAAoB;AAC3B,OAAOC,IAAI,MAAM,oBAAoB;;AAErC;AACA;AACA;AACA,SAASC,eAAe,QAAQ,UAAU;AAE1C,OAAO,MAAMC,iBAAiB,GAAGP,aAAa,EAC7C,kCAAqC,CAAC,CACvC,CAAC;AACD,OAAO,MAAMQ,oBAAoB,GAAGA,CAAA,KAAMP,UAAU,CAAEM,iBAAkB,CAAC;;AAEzE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASE,sBAAsBA,CAAE;EAAEC;AAAM,CAAC,EAAG;EAC5C,MAAMC,aAAa,GAAGH,oBAAoB,CAAC,CAAC;EAE5C,MAAMI,QAAQ,GAAGV,MAAM,CAAEQ,KAAM,CAAC;EAEhCJ,eAAe,CAAE,MAAM;IACtB;IACC;IACAR,aAAa,CAAEc,QAAQ,CAACC,OAAO,EAAEH,KAAM,CAAC;IACxC;IACAE,QAAQ,CAACC,OAAO,KAAKH,KAAK,EACzB;MACD,OAAAI,YAAA,oBAAAA,YAAA,YAAAT,IAAI,CAAG,gCAAgCU,IAAI,CAACC,SAAS,CAAEN,KAAM,CAAG,EAAE,CAAC;IACpE;EACD,CAAC,EAAE,CAAEA,KAAK,CAAG,CAAC;;EAEd;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,MAAMO,MAAM,GAAGd,OAAO,CAAE,MAAM;IAC7B;IACA,OAAON,SAAS,CAAEc,aAAa,aAAbA,aAAa,cAAbA,aAAa,GAAI,CAAC,CAAC,EAAED,KAAK,aAALA,KAAK,cAALA,KAAK,GAAI,CAAC,CAAC,EAAE;MACnDQ,iBAAiB,EAAEnB;IACpB,CAAE,CAAC;EACJ,CAAC,EAAE,CAAEY,aAAa,EAAED,KAAK,CAAG,CAAC;EAE7B,OAAOO,MAAM;AACd;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAME,yBAAyB,GAAGA,CAAE;EAAEC,QAAQ;EAAEV;AAAM,CAAC,KAAM;EAC5D,MAAMW,YAAY,GAAGZ,sBAAsB,CAAE;IAAEC;EAAM,CAAE,CAAC;EAExD,OACCY,aAAA,CAACf,iBAAiB,CAACgB,QAAQ;IAACb,KAAK,EAAGW;EAAc,GAC/CD,QACyB,CAAC;AAE/B,CAAC;AAED,OAAO,MAAMI,qBAAqB,GAAGpB,IAAI,CAAEe,yBAA0B,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"names":["paramCase","kebabCase","memoize","getStyledClassName","namespace","kebab","getStyledClassNameFromKey"],"sources":["@wordpress/components/src/context/get-styled-class-name-from-key.ts"],"sourcesContent":["/**\n * External dependencies\n */\nimport { paramCase as kebabCase } from 'change-case';\nimport memoize from 'memize';\n\n/**\n * Generates the connected component CSS className based on the namespace.\n *\n * @param namespace The name of the connected component.\n * @return The generated CSS className.\n */\nfunction getStyledClassName( namespace: string ): string {\n\tconst kebab = kebabCase( namespace );\n\treturn `components-${ kebab }`;\n}\n\nexport const getStyledClassNameFromKey = memoize( getStyledClassName );\n"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,SAAS,IAAIC,SAAS,QAAQ,aAAa;AACpD,OAAOC,OAAO,MAAM,QAAQ;;AAE5B;AACA;AACA;AACA;AACA;AACA;AACA,SAASC,kBAAkBA,CAAEC,SAAiB,EAAW;EACxD,MAAMC,KAAK,GAAGJ,SAAS,CAAEG,SAAU,CAAC;EACpC,OAAQ,cAAcC,KAAO,EAAC;AAC/B;AAEA,OAAO,MAAMC,yBAAyB,GAAGJ,OAAO,CAAEC,kBAAmB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"names":["ContextSystemProvider","useComponentsContext","contextConnect","contextConnectWithoutRef","hasConnectNamespace","getConnectNamespace","useContextSystem"],"sources":["@wordpress/components/src/context/index.ts"],"sourcesContent":["export {\n\tContextSystemProvider,\n\tuseComponentsContext,\n} from './context-system-provider';\nexport {\n\tcontextConnect,\n\tcontextConnectWithoutRef,\n\thasConnectNamespace,\n\tgetConnectNamespace,\n} from './context-connect';\nexport { useContextSystem } from './use-context-system';\nexport * from './wordpress-component';\n"],"mappings":"AAAA,SACCA,qBAAqB,EACrBC,oBAAoB,QACd,2BAA2B;AAClC,SACCC,cAAc,EACdC,wBAAwB,EACxBC,mBAAmB,EACnBC,mBAAmB,QACb,mBAAmB;AAC1B,SAASC,gBAAgB,QAAQ,sBAAsB;AACvD,cAAc,uBAAuB"}
@@ -9,7 +9,7 @@ import warn from '@wordpress/warning';
9
9
  import { useComponentsContext } from './context-system-provider';
10
10
  import { getNamespace, getConnectedNamespace } from './utils';
11
11
  import { getStyledClassNameFromKey } from './get-styled-class-name-from-key';
12
- import { useCx } from '../../utils/hooks/use-cx';
12
+ import { useCx } from '../utils/hooks/use-cx';
13
13
 
14
14
  /**
15
15
  * @template TProps
@@ -0,0 +1 @@
1
+ {"version":3,"names":["warn","useComponentsContext","getNamespace","getConnectedNamespace","getStyledClassNameFromKey","useCx","useContextSystem","props","namespace","contextSystemProps","SCRIPT_DEBUG","contextProps","finalComponentProps","_overrides","overrideProps","otherContextProps","initialMergedProps","Object","entries","length","assign","cx","classes","className","rendered","renderChildren","children","key","undefined"],"sources":["@wordpress/components/src/context/use-context-system.js"],"sourcesContent":["/**\n * WordPress dependencies\n */\nimport warn from '@wordpress/warning';\n\n/**\n * Internal dependencies\n */\nimport { useComponentsContext } from './context-system-provider';\nimport { getNamespace, getConnectedNamespace } from './utils';\nimport { getStyledClassNameFromKey } from './get-styled-class-name-from-key';\nimport { useCx } from '../utils/hooks/use-cx';\n\n/**\n * @template TProps\n * @typedef {TProps & { className: string }} ConnectedProps\n */\n\n/**\n * Custom hook that derives registered props from the Context system.\n * These derived props are then consolidated with incoming component props.\n *\n * @template {{ className?: string }} P\n * @param {P} props Incoming props from the component.\n * @param {string} namespace The namespace to register and to derive context props from.\n * @return {ConnectedProps<P>} The connected props.\n */\nexport function useContextSystem( props, namespace ) {\n\tconst contextSystemProps = useComponentsContext();\n\tif ( typeof namespace === 'undefined' ) {\n\t\twarn( 'useContextSystem: Please provide a namespace' );\n\t}\n\n\tconst contextProps = contextSystemProps?.[ namespace ] || {};\n\n\t/* eslint-disable jsdoc/no-undefined-types */\n\t/** @type {ConnectedProps<P>} */\n\t// @ts-ignore We fill in the missing properties below\n\tconst finalComponentProps = {\n\t\t...getConnectedNamespace(),\n\t\t...getNamespace( namespace ),\n\t};\n\t/* eslint-enable jsdoc/no-undefined-types */\n\n\tconst { _overrides: overrideProps, ...otherContextProps } = contextProps;\n\n\tconst initialMergedProps = Object.entries( otherContextProps ).length\n\t\t? Object.assign( {}, otherContextProps, props )\n\t\t: props;\n\n\tconst cx = useCx();\n\n\tconst classes = cx(\n\t\tgetStyledClassNameFromKey( namespace ),\n\t\tprops.className\n\t);\n\n\t// Provides the ability to customize the render of the component.\n\tconst rendered =\n\t\ttypeof initialMergedProps.renderChildren === 'function'\n\t\t\t? initialMergedProps.renderChildren( initialMergedProps )\n\t\t\t: initialMergedProps.children;\n\n\tfor ( const key in initialMergedProps ) {\n\t\t// @ts-ignore filling in missing props\n\t\tfinalComponentProps[ key ] = initialMergedProps[ key ];\n\t}\n\n\tfor ( const key in overrideProps ) {\n\t\t// @ts-ignore filling in missing props\n\t\tfinalComponentProps[ key ] = overrideProps[ key ];\n\t}\n\n\t// Setting an `undefined` explicitly can cause unintended overwrites\n\t// when a `cloneElement()` is involved.\n\tif ( rendered !== undefined ) {\n\t\t// @ts-ignore\n\t\tfinalComponentProps.children = rendered;\n\t}\n\n\tfinalComponentProps.className = classes;\n\n\treturn finalComponentProps;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA,OAAOA,IAAI,MAAM,oBAAoB;;AAErC;AACA;AACA;AACA,SAASC,oBAAoB,QAAQ,2BAA2B;AAChE,SAASC,YAAY,EAAEC,qBAAqB,QAAQ,SAAS;AAC7D,SAASC,yBAAyB,QAAQ,kCAAkC;AAC5E,SAASC,KAAK,QAAQ,uBAAuB;;AAE7C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,gBAAgBA,CAAEC,KAAK,EAAEC,SAAS,EAAG;EACpD,MAAMC,kBAAkB,GAAGR,oBAAoB,CAAC,CAAC;EACjD,IAAK,OAAOO,SAAS,KAAK,WAAW,EAAG;IACvC,OAAAE,YAAA,oBAAAA,YAAA,YAAAV,IAAI,CAAE,8CAA+C,CAAC;EACvD;EAEA,MAAMW,YAAY,GAAGF,kBAAkB,GAAID,SAAS,CAAE,IAAI,CAAC,CAAC;;EAE5D;EACA;EACA;EACA,MAAMI,mBAAmB,GAAG;IAC3B,GAAGT,qBAAqB,CAAC,CAAC;IAC1B,GAAGD,YAAY,CAAEM,SAAU;EAC5B,CAAC;EACD;;EAEA,MAAM;IAAEK,UAAU,EAAEC,aAAa;IAAE,GAAGC;EAAkB,CAAC,GAAGJ,YAAY;EAExE,MAAMK,kBAAkB,GAAGC,MAAM,CAACC,OAAO,CAAEH,iBAAkB,CAAC,CAACI,MAAM,GAClEF,MAAM,CAACG,MAAM,CAAE,CAAC,CAAC,EAAEL,iBAAiB,EAAER,KAAM,CAAC,GAC7CA,KAAK;EAER,MAAMc,EAAE,GAAGhB,KAAK,CAAC,CAAC;EAElB,MAAMiB,OAAO,GAAGD,EAAE,CACjBjB,yBAAyB,CAAEI,SAAU,CAAC,EACtCD,KAAK,CAACgB,SACP,CAAC;;EAED;EACA,MAAMC,QAAQ,GACb,OAAOR,kBAAkB,CAACS,cAAc,KAAK,UAAU,GACpDT,kBAAkB,CAACS,cAAc,CAAET,kBAAmB,CAAC,GACvDA,kBAAkB,CAACU,QAAQ;EAE/B,KAAM,MAAMC,GAAG,IAAIX,kBAAkB,EAAG;IACvC;IACAJ,mBAAmB,CAAEe,GAAG,CAAE,GAAGX,kBAAkB,CAAEW,GAAG,CAAE;EACvD;EAEA,KAAM,MAAMA,GAAG,IAAIb,aAAa,EAAG;IAClC;IACAF,mBAAmB,CAAEe,GAAG,CAAE,GAAGb,aAAa,CAAEa,GAAG,CAAE;EAClD;;EAEA;EACA;EACA,IAAKH,QAAQ,KAAKI,SAAS,EAAG;IAC7B;IACAhB,mBAAmB,CAACc,QAAQ,GAAGF,QAAQ;EACxC;EAEAZ,mBAAmB,CAACW,SAAS,GAAGD,OAAO;EAEvC,OAAOV,mBAAmB;AAC3B"}
@@ -0,0 +1 @@
1
+ {"version":3,"names":["CONNECTED_NAMESPACE","COMPONENT_NAMESPACE","getNamespace","componentName","getConnectedNamespace"],"sources":["@wordpress/components/src/context/utils.js"],"sourcesContent":["/**\n * Internal dependencies\n */\nimport { CONNECTED_NAMESPACE, COMPONENT_NAMESPACE } from './constants';\n\n/**\n * Creates a dedicated context namespace HTML attribute for components.\n * ns is short for \"namespace\"\n *\n * @example\n * ```jsx\n * <div {...ns('Container')} />\n * ```\n *\n * @param {string} componentName The name for the component.\n * @return {Record<string, any>} A props object with the namespaced HTML attribute.\n */\nexport function getNamespace( componentName ) {\n\treturn { [ COMPONENT_NAMESPACE ]: componentName };\n}\n\n/**\n * Creates a dedicated connected context namespace HTML attribute for components.\n * ns is short for \"namespace\"\n *\n * @example\n * ```jsx\n * <div {...cns()} />\n * ```\n *\n * @return {Record<string, any>} A props object with the namespaced HTML attribute.\n */\nexport function getConnectedNamespace() {\n\treturn { [ CONNECTED_NAMESPACE ]: true };\n}\n"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,mBAAmB,EAAEC,mBAAmB,QAAQ,aAAa;;AAEtE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,YAAYA,CAAEC,aAAa,EAAG;EAC7C,OAAO;IAAE,CAAEF,mBAAmB,GAAIE;EAAc,CAAC;AAClD;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,qBAAqBA,CAAA,EAAG;EACvC,OAAO;IAAE,CAAEJ,mBAAmB,GAAI;EAAK,CAAC;AACzC"}
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sources":["@wordpress/components/src/context/wordpress-component.ts"],"sourcesContent":["/**\n * External dependencies\n */\nimport type * as React from 'react';\n\n// Based on https://github.com/reakit/reakit/blob/master/packages/reakit-utils/src/types.ts\nexport type WordPressComponentProps<\n\t/** Prop types. */\n\tP,\n\t/** The HTML element to inherit props from. */\n\tT extends React.ElementType,\n\t/** Supports polymorphism through the `as` prop. */\n\tIsPolymorphic extends boolean = true,\n> = P &\n\t// The `children` prop is being explicitly omitted since it is otherwise implicitly added\n\t// by `ComponentPropsWithRef`. The context is that components should require the `children`\n\t// prop explicitly when needed (see https://github.com/WordPress/gutenberg/pull/31817).\n\tOmit< React.ComponentPropsWithoutRef< T >, 'as' | keyof P | 'children' > &\n\t( IsPolymorphic extends true\n\t\t? {\n\t\t\t\t/** The HTML element or React component to render the component as. */\n\t\t\t\tas?: T | keyof JSX.IntrinsicElements;\n\t\t }\n\t\t: {} );\n\nexport type WordPressComponent<\n\tT extends React.ElementType,\n\tO,\n\tIsPolymorphic extends boolean,\n> = {\n\t< TT extends React.ElementType >(\n\t\tprops: WordPressComponentProps< O, TT, IsPolymorphic > &\n\t\t\t( IsPolymorphic extends true ? { as: TT } : {} )\n\t): JSX.Element | null;\n\t(\n\t\tprops: WordPressComponentProps< O, T, IsPolymorphic >\n\t): JSX.Element | null;\n\tdisplayName?: string;\n\t/**\n\t * A CSS selector used to fake component interpolation in styled components\n\t * for components not generated by `styled`. Anything passed to `contextConnect`\n\t * will get this property.\n\t *\n\t * We restrict it to a class to align with the already existing class names that\n\t * are generated by the context system.\n\t */\n\tselector?: `.${ string }`;\n};\n\nexport type WordPressComponentFromProps<\n\tProps,\n\tForwardsRef extends boolean = true,\n> = Props extends WordPressComponentProps< infer P, infer T, infer I >\n\t? WordPressComponent<\n\t\t\tT,\n\t\t\tP & ( ForwardsRef extends true ? React.RefAttributes< any > : {} ),\n\t\t\tI\n\t >\n\t: never;\n"],"mappings":""}
@@ -1,4 +1,4 @@
1
- import { createElement, Fragment } from "@wordpress/element";
1
+ import { createElement, Fragment } from "react";
2
2
  /**
3
3
  * External dependencies
4
4
  */
@@ -1 +1 @@
1
- {"version":3,"names":["classnames","colord","useInstanceId","useEffect","useRef","useState","useMemo","__","sprintf","plus","Button","HStack","ColorPicker","VisuallyHidden","CustomColorPickerDropdown","addControlPoint","clampPercent","removeControlPoint","updateControlPointColor","updateControlPointColorByPosition","updateControlPointPosition","getHorizontalRelativeGradientPosition","MINIMUM_SIGNIFICANT_MOVE","KEYBOARD_CONTROL_POINT_VARIATION","ControlPointButton","isOpen","position","color","additionalProps","instanceId","descriptionId","createElement","Fragment","className","id","GradientColorPickerDropdown","isRenderedInSidebar","props","popoverProps","placement","offset","mergedClassName","ControlPoints","disableRemove","disableAlpha","gradientPickerDomRef","ignoreMarkerPosition","value","controlPoints","onChange","onStartControlPointChange","onStopControlPointChange","__experimentalIsRenderedInSidebar","controlPointMoveState","onMouseMove","event","current","undefined","relativePosition","clientX","initialPosition","index","significantMoveHappened","Math","abs","cleanEventListeners","window","removeEventListener","listenersActivated","cleanEventListenersRef","map","point","key","onClose","renderToggle","onToggle","onClick","onMouseDown","addEventListener","onKeyDown","code","stopPropagation","renderContent","enableAlpha","toRgbString","length","alignment","variant","style","left","transform","InsertPoint","onOpenInserter","onCloseInserter","insertPosition","alreadyInsertedPoint","setAlreadyInsertedPoint","icon"],"sources":["@wordpress/components/src/custom-gradient-picker/gradient-bar/control-points.tsx"],"sourcesContent":["/**\n * External dependencies\n */\nimport classnames from 'classnames';\nimport { colord } from 'colord';\n\n/**\n * WordPress dependencies\n */\nimport { useInstanceId } from '@wordpress/compose';\nimport { useEffect, useRef, useState, useMemo } from '@wordpress/element';\nimport { __, sprintf } from '@wordpress/i18n';\nimport { plus } from '@wordpress/icons';\n\n/**\n * Internal dependencies\n */\nimport Button from '../../button';\nimport { HStack } from '../../h-stack';\nimport { ColorPicker } from '../../color-picker';\nimport { VisuallyHidden } from '../../visually-hidden';\nimport { CustomColorPickerDropdown } from '../../color-palette';\n\nimport {\n\taddControlPoint,\n\tclampPercent,\n\tremoveControlPoint,\n\tupdateControlPointColor,\n\tupdateControlPointColorByPosition,\n\tupdateControlPointPosition,\n\tgetHorizontalRelativeGradientPosition,\n} from './utils';\nimport {\n\tMINIMUM_SIGNIFICANT_MOVE,\n\tKEYBOARD_CONTROL_POINT_VARIATION,\n} from './constants';\nimport type { WordPressComponentProps } from '../../ui/context';\nimport type {\n\tControlPointButtonProps,\n\tControlPointMoveState,\n\tControlPointsProps,\n\tInsertPointProps,\n} from '../types';\nimport type { CustomColorPickerDropdownProps } from '../../color-palette/types';\n\nfunction ControlPointButton( {\n\tisOpen,\n\tposition,\n\tcolor,\n\t...additionalProps\n}: WordPressComponentProps< ControlPointButtonProps, 'button', true > ) {\n\tconst instanceId = useInstanceId( ControlPointButton );\n\tconst descriptionId = `components-custom-gradient-picker__control-point-button-description-${ instanceId }`;\n\treturn (\n\t\t<>\n\t\t\t<Button\n\t\t\t\taria-label={ sprintf(\n\t\t\t\t\t// translators: %1$s: gradient position e.g: 70, %2$s: gradient color code e.g: rgb(52,121,151).\n\t\t\t\t\t__(\n\t\t\t\t\t\t'Gradient control point at position %1$s%% with color code %2$s.'\n\t\t\t\t\t),\n\t\t\t\t\tposition,\n\t\t\t\t\tcolor\n\t\t\t\t) }\n\t\t\t\taria-describedby={ descriptionId }\n\t\t\t\taria-haspopup=\"true\"\n\t\t\t\taria-expanded={ isOpen }\n\t\t\t\tclassName={ classnames(\n\t\t\t\t\t'components-custom-gradient-picker__control-point-button',\n\t\t\t\t\t{\n\t\t\t\t\t\t'is-active': isOpen,\n\t\t\t\t\t}\n\t\t\t\t) }\n\t\t\t\t{ ...additionalProps }\n\t\t\t/>\n\t\t\t<VisuallyHidden id={ descriptionId }>\n\t\t\t\t{ __(\n\t\t\t\t\t'Use your left or right arrow keys or drag and drop with the mouse to change the gradient position. Press the button to change the color or remove the control point.'\n\t\t\t\t) }\n\t\t\t</VisuallyHidden>\n\t\t</>\n\t);\n}\n\nfunction GradientColorPickerDropdown( {\n\tisRenderedInSidebar,\n\tclassName,\n\t...props\n}: CustomColorPickerDropdownProps ) {\n\t// Open the popover below the gradient control/insertion point\n\tconst popoverProps = useMemo(\n\t\t() =>\n\t\t\t( {\n\t\t\t\tplacement: 'bottom',\n\t\t\t\toffset: 8,\n\t\t\t} ) as const,\n\t\t[]\n\t);\n\n\tconst mergedClassName = classnames(\n\t\t'components-custom-gradient-picker__control-point-dropdown',\n\t\tclassName\n\t);\n\n\treturn (\n\t\t<CustomColorPickerDropdown\n\t\t\tisRenderedInSidebar={ isRenderedInSidebar }\n\t\t\tpopoverProps={ popoverProps }\n\t\t\tclassName={ mergedClassName }\n\t\t\t{ ...props }\n\t\t/>\n\t);\n}\n\nfunction ControlPoints( {\n\tdisableRemove,\n\tdisableAlpha,\n\tgradientPickerDomRef,\n\tignoreMarkerPosition,\n\tvalue: controlPoints,\n\tonChange,\n\tonStartControlPointChange,\n\tonStopControlPointChange,\n\t__experimentalIsRenderedInSidebar,\n}: ControlPointsProps ) {\n\tconst controlPointMoveState = useRef< ControlPointMoveState >();\n\n\tconst onMouseMove = ( event: MouseEvent ) => {\n\t\tif (\n\t\t\tcontrolPointMoveState.current === undefined ||\n\t\t\tgradientPickerDomRef.current === null\n\t\t) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst relativePosition = getHorizontalRelativeGradientPosition(\n\t\t\tevent.clientX,\n\t\t\tgradientPickerDomRef.current\n\t\t);\n\n\t\tconst { initialPosition, index, significantMoveHappened } =\n\t\t\tcontrolPointMoveState.current;\n\n\t\tif (\n\t\t\t! significantMoveHappened &&\n\t\t\tMath.abs( initialPosition - relativePosition ) >=\n\t\t\t\tMINIMUM_SIGNIFICANT_MOVE\n\t\t) {\n\t\t\tcontrolPointMoveState.current.significantMoveHappened = true;\n\t\t}\n\n\t\tonChange(\n\t\t\tupdateControlPointPosition( controlPoints, index, relativePosition )\n\t\t);\n\t};\n\n\tconst cleanEventListeners = () => {\n\t\tif (\n\t\t\twindow &&\n\t\t\twindow.removeEventListener &&\n\t\t\tcontrolPointMoveState.current &&\n\t\t\tcontrolPointMoveState.current.listenersActivated\n\t\t) {\n\t\t\twindow.removeEventListener( 'mousemove', onMouseMove );\n\t\t\twindow.removeEventListener( 'mouseup', cleanEventListeners );\n\t\t\tonStopControlPointChange();\n\t\t\tcontrolPointMoveState.current.listenersActivated = false;\n\t\t}\n\t};\n\n\t// Adding `cleanEventListeners` to the dependency array below requires the function itself to be wrapped in a `useCallback`\n\t// This memoization would prevent the event listeners from being properly cleaned.\n\t// Instead, we'll pass a ref to the function in our `useEffect` so `cleanEventListeners` itself is no longer a dependency.\n\tconst cleanEventListenersRef = useRef< () => void >();\n\tcleanEventListenersRef.current = cleanEventListeners;\n\n\tuseEffect( () => {\n\t\treturn () => {\n\t\t\tcleanEventListenersRef.current?.();\n\t\t};\n\t}, [] );\n\n\treturn (\n\t\t<>\n\t\t\t{ controlPoints.map( ( point, index ) => {\n\t\t\t\tconst initialPosition = point?.position;\n\t\t\t\treturn (\n\t\t\t\t\tignoreMarkerPosition !== initialPosition && (\n\t\t\t\t\t\t<GradientColorPickerDropdown\n\t\t\t\t\t\t\tisRenderedInSidebar={\n\t\t\t\t\t\t\t\t__experimentalIsRenderedInSidebar\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tkey={ index }\n\t\t\t\t\t\t\tonClose={ onStopControlPointChange }\n\t\t\t\t\t\t\trenderToggle={ ( { isOpen, onToggle } ) => (\n\t\t\t\t\t\t\t\t<ControlPointButton\n\t\t\t\t\t\t\t\t\tkey={ index }\n\t\t\t\t\t\t\t\t\tonClick={ () => {\n\t\t\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\t\t\tcontrolPointMoveState.current &&\n\t\t\t\t\t\t\t\t\t\t\tcontrolPointMoveState.current\n\t\t\t\t\t\t\t\t\t\t\t\t.significantMoveHappened\n\t\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tif ( isOpen ) {\n\t\t\t\t\t\t\t\t\t\t\tonStopControlPointChange();\n\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\tonStartControlPointChange();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tonToggle();\n\t\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t\t\tonMouseDown={ () => {\n\t\t\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\t\t\twindow &&\n\t\t\t\t\t\t\t\t\t\t\twindow.addEventListener\n\t\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\t\tcontrolPointMoveState.current = {\n\t\t\t\t\t\t\t\t\t\t\t\tinitialPosition,\n\t\t\t\t\t\t\t\t\t\t\t\tindex,\n\t\t\t\t\t\t\t\t\t\t\t\tsignificantMoveHappened: false,\n\t\t\t\t\t\t\t\t\t\t\t\tlistenersActivated: true,\n\t\t\t\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\t\t\t\tonStartControlPointChange();\n\t\t\t\t\t\t\t\t\t\t\twindow.addEventListener(\n\t\t\t\t\t\t\t\t\t\t\t\t'mousemove',\n\t\t\t\t\t\t\t\t\t\t\t\tonMouseMove\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\twindow.addEventListener(\n\t\t\t\t\t\t\t\t\t\t\t\t'mouseup',\n\t\t\t\t\t\t\t\t\t\t\t\tcleanEventListeners\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t\t\tonKeyDown={ ( event ) => {\n\t\t\t\t\t\t\t\t\t\tif ( event.code === 'ArrowLeft' ) {\n\t\t\t\t\t\t\t\t\t\t\t// Stop propagation of the key press event to avoid focus moving\n\t\t\t\t\t\t\t\t\t\t\t// to another editor area.\n\t\t\t\t\t\t\t\t\t\t\tevent.stopPropagation();\n\t\t\t\t\t\t\t\t\t\t\tonChange(\n\t\t\t\t\t\t\t\t\t\t\t\tupdateControlPointPosition(\n\t\t\t\t\t\t\t\t\t\t\t\t\tcontrolPoints,\n\t\t\t\t\t\t\t\t\t\t\t\t\tindex,\n\t\t\t\t\t\t\t\t\t\t\t\t\tclampPercent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tpoint.position -\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tKEYBOARD_CONTROL_POINT_VARIATION\n\t\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t} else if (\n\t\t\t\t\t\t\t\t\t\t\tevent.code === 'ArrowRight'\n\t\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\t\t// Stop propagation of the key press event to avoid focus moving\n\t\t\t\t\t\t\t\t\t\t\t// to another editor area.\n\t\t\t\t\t\t\t\t\t\t\tevent.stopPropagation();\n\t\t\t\t\t\t\t\t\t\t\tonChange(\n\t\t\t\t\t\t\t\t\t\t\t\tupdateControlPointPosition(\n\t\t\t\t\t\t\t\t\t\t\t\t\tcontrolPoints,\n\t\t\t\t\t\t\t\t\t\t\t\t\tindex,\n\t\t\t\t\t\t\t\t\t\t\t\t\tclampPercent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tpoint.position +\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tKEYBOARD_CONTROL_POINT_VARIATION\n\t\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t\t\tisOpen={ isOpen }\n\t\t\t\t\t\t\t\t\tposition={ point.position }\n\t\t\t\t\t\t\t\t\tcolor={ point.color }\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t\trenderContent={ ( { onClose } ) => (\n\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t<ColorPicker\n\t\t\t\t\t\t\t\t\t\tenableAlpha={ ! disableAlpha }\n\t\t\t\t\t\t\t\t\t\tcolor={ point.color }\n\t\t\t\t\t\t\t\t\t\tonChange={ ( color ) => {\n\t\t\t\t\t\t\t\t\t\t\tonChange(\n\t\t\t\t\t\t\t\t\t\t\t\tupdateControlPointColor(\n\t\t\t\t\t\t\t\t\t\t\t\t\tcontrolPoints,\n\t\t\t\t\t\t\t\t\t\t\t\t\tindex,\n\t\t\t\t\t\t\t\t\t\t\t\t\tcolord(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tcolor\n\t\t\t\t\t\t\t\t\t\t\t\t\t).toRgbString()\n\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t{ ! disableRemove &&\n\t\t\t\t\t\t\t\t\t\tcontrolPoints.length > 2 && (\n\t\t\t\t\t\t\t\t\t\t\t<HStack\n\t\t\t\t\t\t\t\t\t\t\t\tclassName=\"components-custom-gradient-picker__remove-control-point-wrapper\"\n\t\t\t\t\t\t\t\t\t\t\t\talignment=\"center\"\n\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t<Button\n\t\t\t\t\t\t\t\t\t\t\t\t\tonClick={ () => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tonChange(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tremoveControlPoint(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcontrolPoints,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tindex\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tonClose();\n\t\t\t\t\t\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t\t\t\t\t\t\tvariant=\"link\"\n\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t{ __(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t'Remove Control Point'\n\t\t\t\t\t\t\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t\t\t\t\t\t\t</Button>\n\t\t\t\t\t\t\t\t\t\t\t</HStack>\n\t\t\t\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t\t\t</>\n\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t\tstyle={ {\n\t\t\t\t\t\t\t\tleft: `${ point.position }%`,\n\t\t\t\t\t\t\t\ttransform: 'translateX( -50% )',\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t/>\n\t\t\t\t\t)\n\t\t\t\t);\n\t\t\t} ) }\n\t\t</>\n\t);\n}\n\nfunction InsertPoint( {\n\tvalue: controlPoints,\n\tonChange,\n\tonOpenInserter,\n\tonCloseInserter,\n\tinsertPosition,\n\tdisableAlpha,\n\t__experimentalIsRenderedInSidebar,\n}: InsertPointProps ) {\n\tconst [ alreadyInsertedPoint, setAlreadyInsertedPoint ] = useState( false );\n\treturn (\n\t\t<GradientColorPickerDropdown\n\t\t\tisRenderedInSidebar={ __experimentalIsRenderedInSidebar }\n\t\t\tclassName=\"components-custom-gradient-picker__inserter\"\n\t\t\tonClose={ () => {\n\t\t\t\tonCloseInserter();\n\t\t\t} }\n\t\t\trenderToggle={ ( { isOpen, onToggle } ) => (\n\t\t\t\t<Button\n\t\t\t\t\taria-expanded={ isOpen }\n\t\t\t\t\taria-haspopup=\"true\"\n\t\t\t\t\tonClick={ () => {\n\t\t\t\t\t\tif ( isOpen ) {\n\t\t\t\t\t\t\tonCloseInserter();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tsetAlreadyInsertedPoint( false );\n\t\t\t\t\t\t\tonOpenInserter();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tonToggle();\n\t\t\t\t\t} }\n\t\t\t\t\tclassName=\"components-custom-gradient-picker__insert-point-dropdown\"\n\t\t\t\t\ticon={ plus }\n\t\t\t\t/>\n\t\t\t) }\n\t\t\trenderContent={ () => (\n\t\t\t\t<ColorPicker\n\t\t\t\t\tenableAlpha={ ! disableAlpha }\n\t\t\t\t\tonChange={ ( color ) => {\n\t\t\t\t\t\tif ( ! alreadyInsertedPoint ) {\n\t\t\t\t\t\t\tonChange(\n\t\t\t\t\t\t\t\taddControlPoint(\n\t\t\t\t\t\t\t\t\tcontrolPoints,\n\t\t\t\t\t\t\t\t\tinsertPosition,\n\t\t\t\t\t\t\t\t\tcolord( color ).toRgbString()\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tsetAlreadyInsertedPoint( true );\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tonChange(\n\t\t\t\t\t\t\t\tupdateControlPointColorByPosition(\n\t\t\t\t\t\t\t\t\tcontrolPoints,\n\t\t\t\t\t\t\t\t\tinsertPosition,\n\t\t\t\t\t\t\t\t\tcolord( color ).toRgbString()\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t} }\n\t\t\t\t/>\n\t\t\t) }\n\t\t\tstyle={\n\t\t\t\tinsertPosition !== null\n\t\t\t\t\t? {\n\t\t\t\t\t\t\tleft: `${ insertPosition }%`,\n\t\t\t\t\t\t\ttransform: 'translateX( -50% )',\n\t\t\t\t\t }\n\t\t\t\t\t: undefined\n\t\t\t}\n\t\t/>\n\t);\n}\nControlPoints.InsertPoint = InsertPoint;\n\nexport default ControlPoints;\n"],"mappings":";AAAA;AACA;AACA;AACA,OAAOA,UAAU,MAAM,YAAY;AACnC,SAASC,MAAM,QAAQ,QAAQ;;AAE/B;AACA;AACA;AACA,SAASC,aAAa,QAAQ,oBAAoB;AAClD,SAASC,SAAS,EAAEC,MAAM,EAAEC,QAAQ,EAAEC,OAAO,QAAQ,oBAAoB;AACzE,SAASC,EAAE,EAAEC,OAAO,QAAQ,iBAAiB;AAC7C,SAASC,IAAI,QAAQ,kBAAkB;;AAEvC;AACA;AACA;AACA,OAAOC,MAAM,MAAM,cAAc;AACjC,SAASC,MAAM,QAAQ,eAAe;AACtC,SAASC,WAAW,QAAQ,oBAAoB;AAChD,SAASC,cAAc,QAAQ,uBAAuB;AACtD,SAASC,yBAAyB,QAAQ,qBAAqB;AAE/D,SACCC,eAAe,EACfC,YAAY,EACZC,kBAAkB,EAClBC,uBAAuB,EACvB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ACdiC,aAAa,EACb8C,cAAc,EACd7F,MAAM,CAAE0B,KAAM,CAAC,CAACyD,WAAW,CAAC,CAC7B,CACD,CAAC;UACDY,uBAAuB,CAAE,IAAK,CAAC;QAChC,CAAC,MAAM;UACN/C,QAAQ,CACP9B,iCAAiC,CAChC6B,aAAa,EACb8C,cAAc,EACd7F,MAAM,CAAE0B,KAAM,CAAC,CAACyD,WAAW,CAAC,CAC7B,CACD,CAAC;QACF;MACD;IAAG,CACH,CACC;IACHI,KAAK,EACJM,cAAc,KAAK,IAAI,GACpB;MACAL,IAAI,EAAG,GAAGK,cAAgB,GAAE;MAC5BJ,SAAS,EAAE;IACX,CAAC,GACDjC;EACH,CACD,CAAC;AAEJ;AACAf,aAAa,CAACiD,WAAW,GAAGA,WAAW;AAEvC,eAAejD,aAAa"}
1
+ {"version":3,"names":["classnames","colord","useInstanceId","useEffect","useRef","useState","useMemo","__","sprintf","plus","Button","HStack","ColorPicker","VisuallyHidden","CustomColorPickerDropdown","addControlPoint","clampPercent","removeControlPoint","updateControlPointColor","updateControlPointColorByPosition","updateControlPointPosition","getHorizontalRelativeGradientPosition","MINIMUM_SIGNIFICANT_MOVE","KEYBOARD_CONTROL_POINT_VARIATION","ControlPointButton","isOpen","position","color","additionalProps","instanceId","descriptionId","createElement","Fragment","className","id","GradientColorPickerDropdown","isRenderedInSidebar","props","popoverProps","placement","offset","mergedClassName","ControlPoints","disableRemove","disableAlpha","gradientPickerDomRef","ignoreMarkerPosition","value","controlPoints","onChange","onStartControlPointChange","onStopControlPointChange","__experimentalIsRenderedInSidebar","controlPointMoveState","onMouseMove","event","current","undefined","relativePosition","clientX","initialPosition","index","significantMoveHappened","Math","abs","cleanEventListeners","window","removeEventListener","listenersActivated","cleanEventListenersRef","map","point","key","onClose","renderToggle","onToggle","onClick","onMouseDown","addEventListener","onKeyDown","code","stopPropagation","renderContent","enableAlpha","toRgbString","length","alignment","variant","style","left","transform","InsertPoint","onOpenInserter","onCloseInserter","insertPosition","alreadyInsertedPoint","setAlreadyInsertedPoint","icon"],"sources":["@wordpress/components/src/custom-gradient-picker/gradient-bar/control-points.tsx"],"sourcesContent":["/**\n * External dependencies\n */\nimport classnames from 'classnames';\nimport { colord } from 'colord';\n\n/**\n * WordPress dependencies\n */\nimport { useInstanceId } from '@wordpress/compose';\nimport { useEffect, useRef, useState, useMemo } from '@wordpress/element';\nimport { __, sprintf } from '@wordpress/i18n';\nimport { plus } from '@wordpress/icons';\n\n/**\n * Internal dependencies\n */\nimport Button from '../../button';\nimport { HStack } from '../../h-stack';\nimport { ColorPicker } from '../../color-picker';\nimport { VisuallyHidden } from '../../visually-hidden';\nimport { CustomColorPickerDropdown } from '../../color-palette';\n\nimport {\n\taddControlPoint,\n\tclampPercent,\n\tremoveControlPoint,\n\tupdateControlPointColor,\n\tupdateControlPointColorByPosition,\n\tupdateControlPointPosition,\n\tgetHorizontalRelativeGradientPosition,\n} from './utils';\nimport {\n\tMINIMUM_SIGNIFICANT_MOVE,\n\tKEYBOARD_CONTROL_POINT_VARIATION,\n} from './constants';\nimport type { WordPressComponentProps } from '../../context';\nimport type {\n\tControlPointButtonProps,\n\tControlPointMoveState,\n\tControlPointsProps,\n\tInsertPointProps,\n} from '../types';\nimport type { CustomColorPickerDropdownProps } from '../../color-palette/types';\n\nfunction ControlPointButton( {\n\tisOpen,\n\tposition,\n\tcolor,\n\t...additionalProps\n}: WordPressComponentProps< ControlPointButtonProps, 'button', true > ) {\n\tconst instanceId = useInstanceId( ControlPointButton );\n\tconst descriptionId = `components-custom-gradient-picker__control-point-button-description-${ instanceId }`;\n\treturn (\n\t\t<>\n\t\t\t<Button\n\t\t\t\taria-label={ sprintf(\n\t\t\t\t\t// translators: %1$s: gradient position e.g: 70, %2$s: gradient color code e.g: rgb(52,121,151).\n\t\t\t\t\t__(\n\t\t\t\t\t\t'Gradient control point at position %1$s%% with color code %2$s.'\n\t\t\t\t\t),\n\t\t\t\t\tposition,\n\t\t\t\t\tcolor\n\t\t\t\t) }\n\t\t\t\taria-describedby={ descriptionId }\n\t\t\t\taria-haspopup=\"true\"\n\t\t\t\taria-expanded={ isOpen }\n\t\t\t\tclassName={ classnames(\n\t\t\t\t\t'components-custom-gradient-picker__control-point-button',\n\t\t\t\t\t{\n\t\t\t\t\t\t'is-active': isOpen,\n\t\t\t\t\t}\n\t\t\t\t) }\n\t\t\t\t{ ...additionalProps }\n\t\t\t/>\n\t\t\t<VisuallyHidden id={ descriptionId }>\n\t\t\t\t{ __(\n\t\t\t\t\t'Use your left or right arrow keys or drag and drop with the mouse to change the gradient position. Press the button to change the color or remove the control point.'\n\t\t\t\t) }\n\t\t\t</VisuallyHidden>\n\t\t</>\n\t);\n}\n\nfunction GradientColorPickerDropdown( {\n\tisRenderedInSidebar,\n\tclassName,\n\t...props\n}: CustomColorPickerDropdownProps ) {\n\t// Open the popover below the gradient control/insertion point\n\tconst popoverProps = useMemo(\n\t\t() =>\n\t\t\t( {\n\t\t\t\tplacement: 'bottom',\n\t\t\t\toffset: 8,\n\t\t\t} ) as const,\n\t\t[]\n\t);\n\n\tconst mergedClassName = classnames(\n\t\t'components-custom-gradient-picker__control-point-dropdown',\n\t\tclassName\n\t);\n\n\treturn (\n\t\t<CustomColorPickerDropdown\n\t\t\tisRenderedInSidebar={ isRenderedInSidebar }\n\t\t\tpopoverProps={ popoverProps }\n\t\t\tclassName={ mergedClassName }\n\t\t\t{ ...props }\n\t\t/>\n\t);\n}\n\nfunction ControlPoints( {\n\tdisableRemove,\n\tdisableAlpha,\n\tgradientPickerDomRef,\n\tignoreMarkerPosition,\n\tvalue: controlPoints,\n\tonChange,\n\tonStartControlPointChange,\n\tonStopControlPointChange,\n\t__experimentalIsRenderedInSidebar,\n}: ControlPointsProps ) {\n\tconst controlPointMoveState = useRef< ControlPointMoveState >();\n\n\tconst onMouseMove = ( event: MouseEvent ) => {\n\t\tif (\n\t\t\tcontrolPointMoveState.current === undefined ||\n\t\t\tgradientPickerDomRef.current === null\n\t\t) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst relativePosition = getHorizontalRelativeGradientPosition(\n\t\t\tevent.clientX,\n\t\t\tgradientPickerDomRef.current\n\t\t);\n\n\t\tconst { initialPosition, index, significantMoveHappened } =\n\t\t\tcontrolPointMoveState.current;\n\n\t\tif (\n\t\t\t! significantMoveHappened &&\n\t\t\tMath.abs( initialPosition - relativePosition ) >=\n\t\t\t\tMINIMUM_SIGNIFICANT_MOVE\n\t\t) {\n\t\t\tcontrolPointMoveState.current.significantMoveHappened = true;\n\t\t}\n\n\t\tonChange(\n\t\t\tupdateControlPointPosition( controlPoints, index, relativePosition )\n\t\t);\n\t};\n\n\tconst cleanEventListeners = () => {\n\t\tif (\n\t\t\twindow &&\n\t\t\twindow.removeEventListener &&\n\t\t\tcontrolPointMoveState.current &&\n\t\t\tcontrolPointMoveState.current.listenersActivated\n\t\t) {\n\t\t\twindow.removeEventListener( 'mousemove', onMouseMove );\n\t\t\twindow.removeEventListener( 'mouseup', cleanEventListeners );\n\t\t\tonStopControlPointChange();\n\t\t\tcontrolPointMoveState.current.listenersActivated = false;\n\t\t}\n\t};\n\n\t// Adding `cleanEventListeners` to the dependency array below requires the function itself to be wrapped in a `useCallback`\n\t// This memoization would prevent the event listeners from being properly cleaned.\n\t// Instead, we'll pass a ref to the function in our `useEffect` so `cleanEventListeners` itself is no longer a dependency.\n\tconst cleanEventListenersRef = useRef< () => void >();\n\tcleanEventListenersRef.current = cleanEventListeners;\n\n\tuseEffect( () => {\n\t\treturn () => {\n\t\t\tcleanEventListenersRef.current?.();\n\t\t};\n\t}, [] );\n\n\treturn (\n\t\t<>\n\t\t\t{ controlPoints.map( ( point, index ) => {\n\t\t\t\tconst initialPosition = point?.position;\n\t\t\t\treturn (\n\t\t\t\t\tignoreMarkerPosition !== initialPosition && (\n\t\t\t\t\t\t<GradientColorPickerDropdown\n\t\t\t\t\t\t\tisRenderedInSidebar={\n\t\t\t\t\t\t\t\t__experimentalIsRenderedInSidebar\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tkey={ index }\n\t\t\t\t\t\t\tonClose={ onStopControlPointChange }\n\t\t\t\t\t\t\trenderToggle={ ( { isOpen, onToggle } ) => (\n\t\t\t\t\t\t\t\t<ControlPointButton\n\t\t\t\t\t\t\t\t\tkey={ index }\n\t\t\t\t\t\t\t\t\tonClick={ () => {\n\t\t\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\t\t\tcontrolPointMoveState.current &&\n\t\t\t\t\t\t\t\t\t\t\tcontrolPointMoveState.current\n\t\t\t\t\t\t\t\t\t\t\t\t.significantMoveHappened\n\t\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tif ( isOpen ) {\n\t\t\t\t\t\t\t\t\t\t\tonStopControlPointChange();\n\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\tonStartControlPointChange();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tonToggle();\n\t\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t\t\tonMouseDown={ () => {\n\t\t\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\t\t\twindow &&\n\t\t\t\t\t\t\t\t\t\t\twindow.addEventListener\n\t\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\t\tcontrolPointMoveState.current = {\n\t\t\t\t\t\t\t\t\t\t\t\tinitialPosition,\n\t\t\t\t\t\t\t\t\t\t\t\tindex,\n\t\t\t\t\t\t\t\t\t\t\t\tsignificantMoveHappened: false,\n\t\t\t\t\t\t\t\t\t\t\t\tlistenersActivated: true,\n\t\t\t\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\t\t\t\tonStartControlPointChange();\n\t\t\t\t\t\t\t\t\t\t\twindow.addEventListener(\n\t\t\t\t\t\t\t\t\t\t\t\t'mousemove',\n\t\t\t\t\t\t\t\t\t\t\t\tonMouseMove\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\twindow.addEventListener(\n\t\t\t\t\t\t\t\t\t\t\t\t'mouseup',\n\t\t\t\t\t\t\t\t\t\t\t\tcleanEventListeners\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t\t\tonKeyDown={ ( event ) => {\n\t\t\t\t\t\t\t\t\t\tif ( event.code === 'ArrowLeft' ) {\n\t\t\t\t\t\t\t\t\t\t\t// Stop propagation of the key press event to avoid focus moving\n\t\t\t\t\t\t\t\t\t\t\t// to another editor area.\n\t\t\t\t\t\t\t\t\t\t\tevent.stopPropagation();\n\t\t\t\t\t\t\t\t\t\t\tonChange(\n\t\t\t\t\t\t\t\t\t\t\t\tupdateControlPointPosition(\n\t\t\t\t\t\t\t\t\t\t\t\t\tcontrolPoints,\n\t\t\t\t\t\t\t\t\t\t\t\t\tindex,\n\t\t\t\t\t\t\t\t\t\t\t\t\tclampPercent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tpoint.position -\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tKEYBOARD_CONTROL_POINT_VARIATION\n\t\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t} else if (\n\t\t\t\t\t\t\t\t\t\t\tevent.code === 'ArrowRight'\n\t\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\t\t// Stop propagation of the key press event to avoid focus moving\n\t\t\t\t\t\t\t\t\t\t\t// to another editor area.\n\t\t\t\t\t\t\t\t\t\t\tevent.stopPropagation();\n\t\t\t\t\t\t\t\t\t\t\tonChange(\n\t\t\t\t\t\t\t\t\t\t\t\tupdateControlPointPosition(\n\t\t\t\t\t\t\t\t\t\t\t\t\tcontrolPoints,\n\t\t\t\t\t\t\t\t\t\t\t\t\tindex,\n\t\t\t\t\t\t\t\t\t\t\t\t\tclampPercent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tpoint.position +\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tKEYBOARD_CONTROL_POINT_VARIATION\n\t\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t\t\tisOpen={ isOpen }\n\t\t\t\t\t\t\t\t\tposition={ point.position }\n\t\t\t\t\t\t\t\t\tcolor={ point.color }\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t\trenderContent={ ( { onClose } ) => (\n\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t<ColorPicker\n\t\t\t\t\t\t\t\t\t\tenableAlpha={ ! disableAlpha }\n\t\t\t\t\t\t\t\t\t\tcolor={ point.color }\n\t\t\t\t\t\t\t\t\t\tonChange={ ( color ) => {\n\t\t\t\t\t\t\t\t\t\t\tonChange(\n\t\t\t\t\t\t\t\t\t\t\t\tupdateControlPointColor(\n\t\t\t\t\t\t\t\t\t\t\t\t\tcontrolPoints,\n\t\t\t\t\t\t\t\t\t\t\t\t\tindex,\n\t\t\t\t\t\t\t\t\t\t\t\t\tcolord(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tcolor\n\t\t\t\t\t\t\t\t\t\t\t\t\t).toRgbString()\n\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t{ ! disableRemove &&\n\t\t\t\t\t\t\t\t\t\tcontrolPoints.length > 2 && (\n\t\t\t\t\t\t\t\t\t\t\t<HStack\n\t\t\t\t\t\t\t\t\t\t\t\tclassName=\"components-custom-gradient-picker__remove-control-point-wrapper\"\n\t\t\t\t\t\t\t\t\t\t\t\talignment=\"center\"\n\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t<Button\n\t\t\t\t\t\t\t\t\t\t\t\t\tonClick={ () => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tonChange(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tremoveControlPoint(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcontrolPoints,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tindex\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tonClose();\n\t\t\t\t\t\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t\t\t\t\t\t\tvariant=\"link\"\n\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t{ __(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t'Remove Control Point'\n\t\t\t\t\t\t\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t\t\t\t\t\t\t</Button>\n\t\t\t\t\t\t\t\t\t\t\t</HStack>\n\t\t\t\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t\t\t</>\n\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t\tstyle={ {\n\t\t\t\t\t\t\t\tleft: `${ point.position }%`,\n\t\t\t\t\t\t\t\ttransform: 'translateX( -50% )',\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t/>\n\t\t\t\t\t)\n\t\t\t\t);\n\t\t\t} ) }\n\t\t</>\n\t);\n}\n\nfunction InsertPoint( {\n\tvalue: controlPoints,\n\tonChange,\n\tonOpenInserter,\n\tonCloseInserter,\n\tinsertPosition,\n\tdisableAlpha,\n\t__experimentalIsRenderedInSidebar,\n}: InsertPointProps ) {\n\tconst [ alreadyInsertedPoint, setAlreadyInsertedPoint ] = useState( false );\n\treturn (\n\t\t<GradientColorPickerDropdown\n\t\t\tisRenderedInSidebar={ __experimentalIsRenderedInSidebar }\n\t\t\tclassName=\"components-custom-gradient-picker__inserter\"\n\t\t\tonClose={ () => {\n\t\t\t\tonCloseInserter();\n\t\t\t} }\n\t\t\trenderToggle={ ( { isOpen, onToggle } ) => (\n\t\t\t\t<Button\n\t\t\t\t\taria-expanded={ isOpen }\n\t\t\t\t\taria-haspopup=\"true\"\n\t\t\t\t\tonClick={ () => {\n\t\t\t\t\t\tif ( isOpen ) {\n\t\t\t\t\t\t\tonCloseInserter();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tsetAlreadyInsertedPoint( false );\n\t\t\t\t\t\t\tonOpenInserter();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tonToggle();\n\t\t\t\t\t} }\n\t\t\t\t\tclassName=\"components-custom-gradient-picker__insert-point-dropdown\"\n\t\t\t\t\ticon={ plus }\n\t\t\t\t/>\n\t\t\t) }\n\t\t\trenderContent={ () => (\n\t\t\t\t<ColorPicker\n\t\t\t\t\tenableAlpha={ ! disableAlpha }\n\t\t\t\t\tonChange={ ( color ) => {\n\t\t\t\t\t\tif ( ! alreadyInsertedPoint ) {\n\t\t\t\t\t\t\tonChange(\n\t\t\t\t\t\t\t\taddControlPoint(\n\t\t\t\t\t\t\t\t\tcontrolPoints,\n\t\t\t\t\t\t\t\t\tinsertPosition,\n\t\t\t\t\t\t\t\t\tcolord( color ).toRgbString()\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tsetAlreadyInsertedPoint( true );\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tonChange(\n\t\t\t\t\t\t\t\tupdateControlPointColorByPosition(\n\t\t\t\t\t\t\t\t\tcontrolPoints,\n\t\t\t\t\t\t\t\t\tinsertPosition,\n\t\t\t\t\t\t\t\t\tcolord( color ).toRgbString()\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t} }\n\t\t\t\t/>\n\t\t\t) }\n\t\t\tstyle={\n\t\t\t\tinsertPosition !== null\n\t\t\t\t\t? {\n\t\t\t\t\t\t\tleft: `${ insertPosition }%`,\n\t\t\t\t\t\t\ttransform: 'translateX( -50% )',\n\t\t\t\t\t }\n\t\t\t\t\t: undefined\n\t\t\t}\n\t\t/>\n\t);\n}\nControlPoints.InsertPoint = InsertPoint;\n\nexport default ControlPoints;\n"],"mappings":";AAAA;AACA;AACA;AACA,OAAOA,UAAU,MAAM,YAAY;AACnC,SAASC,MAAM,QAAQ,QAAQ;;AAE/B;AACA;AACA;AACA,SAASC,aAAa,QAAQ,oBAAoB;AAClD,SAASC,SAAS,EAAEC,MAAM,EAAEC,QAAQ,EAAEC,OAAO,QAAQ,oBAAoB;AACzE,SAASC,EAAE,EAAEC,OAAO,QAAQ,iBAAiB;AAC7C,SAASC,IAAI,QAAQ,kBAAkB;;AAEvC;AACA;AACA;AACA,OAAOC,MAAM,MAAM,cAAc;AACjC,SAASC,MAAM,QAAQ,eAAe;AACtC,SAASC,WAAW,QAAQ,oBAAoB;AAChD,SAASC,cAAc,QAAQ,uBAAuB;AACtD,SAASC,yBAAyB,QAAQ,qBAAqB;AAE/D,SACCC,eAAe,EACfC,YAAY,EACZC,kBAAkB,EAClBC,uBAAuB,EACvBC,iCAAiC,EACjCC,0BAA0B,EAC1BC,qCAAqC,QAC/B,SAAS;AAChB,SACCC,wBAAwB,EACxBC,gCAAgC,QAC1B,aAAa;AAUpB,SAASC,kBAAkBA,CAAE;EAC5BC,MAAM;EACNC,QAAQ;EACRC,KAAK;EACL,GAAGC;AACgE,CAAC,EAAG;EACvE,MAAMC,UAAU,GAAG3B,aAAa,CAAEsB,kBAAmB,CAAC;EACtD,MAAMM,aAAa,GAAI,uEAAuED,UAAY,EAAC;EAC3G,OAC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M,cAAc,KAAK,IAAI,GACpB;MACAL,IAAI,EAAG,GAAGK,cAAgB,GAAE;MAC5BJ,SAAS,EAAE;IACX,CAAC,GACDjC;EACH,CACD,CAAC;AAEJ;AACAf,aAAa,CAACiD,WAAW,GAAGA,WAAW;AAEvC,eAAejD,aAAa"}
@@ -1,4 +1,4 @@
1
- import { createElement } from "@wordpress/element";
1
+ import { createElement } from "react";
2
2
  /**
3
3
  * External dependencies
4
4
  */
@@ -1,4 +1,4 @@
1
- import { createElement } from "@wordpress/element";
1
+ import { createElement } from "react";
2
2
  /**
3
3
  * External dependencies
4
4
  */
@@ -1,4 +1,4 @@
1
- import { createElement, Fragment } from "@wordpress/element";
1
+ import { createElement, Fragment } from "react";
2
2
  /**
3
3
  * WordPress dependencies
4
4
  */
@@ -1,4 +1,4 @@
1
- import { createElement } from "@wordpress/element";
1
+ import { createElement } from "react";
2
2
  // @ts-nocheck
3
3
  /**
4
4
  * External dependencies
@@ -22,6 +22,7 @@ import { Select as SelectControlSelect } from '../select-control/styles/select-c
22
22
  import SelectControlChevronDown from '../select-control/chevron-down';
23
23
  import { InputBaseWithBackCompatMinWidth } from './styles';
24
24
  import { StyledLabel } from '../base-control/styles/base-control-styles';
25
+ import { useDeprecated36pxDefaultSizeProp } from '../utils/use-deprecated-props';
25
26
  const itemToString = item => item?.name;
26
27
  // This is needed so that in Windows, where
27
28
  // the menu does not necessarily open on
@@ -56,7 +57,7 @@ const stateReducer = ({
56
57
  export default function CustomSelectControl(props) {
57
58
  const {
58
59
  /** Start opting into the larger default height that will become the default size in a future version. */
59
- __next36pxDefaultSize = false,
60
+ __next40pxDefaultSize = false,
60
61
  /** Start opting into the unconstrained width that will become the default in a future version. */
61
62
  __nextUnconstrainedWidth = false,
62
63
  className,
@@ -73,7 +74,7 @@ export default function CustomSelectControl(props) {
73
74
  onFocus,
74
75
  onBlur,
75
76
  __experimentalShowSelectedHint = false
76
- } = props;
77
+ } = useDeprecated36pxDefaultSizeProp(props, 'wp.components.CustomSelectControl', '6.4');
77
78
  const {
78
79
  getLabelProps,
79
80
  getToggleButtonProps,
@@ -143,7 +144,7 @@ export default function CustomSelectControl(props) {
143
144
  className: 'components-custom-select-control__label'
144
145
  })
145
146
  }, label), createElement(InputBaseWithBackCompatMinWidth, {
146
- __next36pxDefaultSize: __next36pxDefaultSize,
147
+ __next40pxDefaultSize: __next40pxDefaultSize,
147
148
  __nextUnconstrainedWidth: __nextUnconstrainedWidth,
148
149
  isFocused: isOpen || isFocused,
149
150
  __unstableInputWidth: __nextUnconstrainedWidth ? undefined : 'auto',
@@ -157,7 +158,7 @@ export default function CustomSelectControl(props) {
157
158
  onFocus: handleOnFocus,
158
159
  onBlur: handleOnBlur,
159
160
  selectSize: size,
160
- __next36pxDefaultSize: __next36pxDefaultSize,
161
+ __next40pxDefaultSize: __next40pxDefaultSize,
161
162
  ...getToggleButtonProps({
162
163
  // This is needed because some speech recognition software don't support `aria-labelledby`.
163
164
  'aria-label': label,
@@ -180,7 +181,7 @@ export default function CustomSelectControl(props) {
180
181
  className: classnames(item.className, 'components-custom-select-control__item', {
181
182
  'is-highlighted': index === highlightedIndex,
182
183
  'has-hint': !!item.__experimentalHint,
183
- 'is-next-36px-default-size': __next36pxDefaultSize
184
+ 'is-next-40px-default-size': __next40pxDefaultSize
184
185
  }),
185
186
  style: item.style
186
187
  })
@@ -1 +1 @@
1
- {"version":3,"names":["useSelect","classnames","Icon","check","__","sprintf","useCallback","useState","deprecated","VisuallyHidden","Select","SelectControlSelect","SelectControlChevronDown","InputBaseWithBackCompatMinWidth","StyledLabel","itemToString","item","name","stateReducer","selectedItem","type","changes","props","items","stateChangeTypes","ToggleButtonKeyDownArrowDown","Math","min","indexOf","length","ToggleButtonKeyDownArrowUp","max","CustomSelectControl","__next36pxDefaultSize","__nextUnconstrainedWidth","className","hideLabelFromVision","label","describedBy","options","onChange","onSelectedItemChange","size","value","_selectedItem","onMouseOver","onMouseOut","onFocus","onBlur","__experimentalShowSelectedHint","getLabelProps","getToggleButtonProps","getMenuProps","getItemProps","isOpen","highlightedIndex","initialSelectedItem","undefined","isFocused","setIsFocused","handleOnFocus","e","handleOnBlur","since","version","hint","getDescribedBy","menuProps","onKeyDownHandler","stopPropagation","onKeyDown","startsWith","createElement","as","__unstableInputWidth","labelPosition","suffix","selectSize","__experimentalHint","map","index","key","style","icon","StableCustomSelectControl"],"sources":["@wordpress/components/src/custom-select-control/index.js"],"sourcesContent":["// @ts-nocheck\n/**\n * External dependencies\n */\nimport { useSelect } from 'downshift';\nimport classnames from 'classnames';\n\n/**\n * WordPress dependencies\n */\nimport { Icon, check } from '@wordpress/icons';\nimport { __, sprintf } from '@wordpress/i18n';\nimport { useCallback, useState } from '@wordpress/element';\nimport deprecated from '@wordpress/deprecated';\n\n/**\n * Internal dependencies\n */\nimport { VisuallyHidden } from '../visually-hidden';\nimport { Select as SelectControlSelect } from '../select-control/styles/select-control-styles';\nimport SelectControlChevronDown from '../select-control/chevron-down';\nimport { InputBaseWithBackCompatMinWidth } from './styles';\nimport { StyledLabel } from '../base-control/styles/base-control-styles';\n\nconst itemToString = ( item ) => item?.name;\n// This is needed so that in Windows, where\n// the menu does not necessarily open on\n// key up/down, you can still switch between\n// options with the menu closed.\nconst stateReducer = (\n\t{ selectedItem },\n\t{ type, changes, props: { items } }\n) => {\n\tswitch ( type ) {\n\t\tcase useSelect.stateChangeTypes.ToggleButtonKeyDownArrowDown:\n\t\t\t// If we already have a selected item, try to select the next one,\n\t\t\t// without circular navigation. Otherwise, select the first item.\n\t\t\treturn {\n\t\t\t\tselectedItem:\n\t\t\t\t\titems[\n\t\t\t\t\t\tselectedItem\n\t\t\t\t\t\t\t? Math.min(\n\t\t\t\t\t\t\t\t\titems.indexOf( selectedItem ) + 1,\n\t\t\t\t\t\t\t\t\titems.length - 1\n\t\t\t\t\t\t\t )\n\t\t\t\t\t\t\t: 0\n\t\t\t\t\t],\n\t\t\t};\n\t\tcase useSelect.stateChangeTypes.ToggleButtonKeyDownArrowUp:\n\t\t\t// If we already have a selected item, try to select the previous one,\n\t\t\t// without circular navigation. Otherwise, select the last item.\n\t\t\treturn {\n\t\t\t\tselectedItem:\n\t\t\t\t\titems[\n\t\t\t\t\t\tselectedItem\n\t\t\t\t\t\t\t? Math.max( items.indexOf( selectedItem ) - 1, 0 )\n\t\t\t\t\t\t\t: items.length - 1\n\t\t\t\t\t],\n\t\t\t};\n\t\tdefault:\n\t\t\treturn changes;\n\t}\n};\n\nexport default function CustomSelectControl( props ) {\n\tconst {\n\t\t/** Start opting into the larger default height that will become the default size in a future version. */\n\t\t__next36pxDefaultSize = false,\n\t\t/** Start opting into the unconstrained width that will become the default in a future version. */\n\t\t__nextUnconstrainedWidth = false,\n\t\tclassName,\n\t\thideLabelFromVision,\n\t\tlabel,\n\t\tdescribedBy,\n\t\toptions: items,\n\t\tonChange: onSelectedItemChange,\n\t\t/** @type {import('../select-control/types').SelectControlProps.size} */\n\t\tsize = 'default',\n\t\tvalue: _selectedItem,\n\t\tonMouseOver,\n\t\tonMouseOut,\n\t\tonFocus,\n\t\tonBlur,\n\t\t__experimentalShowSelectedHint = false,\n\t} = props;\n\n\tconst {\n\t\tgetLabelProps,\n\t\tgetToggleButtonProps,\n\t\tgetMenuProps,\n\t\tgetItemProps,\n\t\tisOpen,\n\t\thighlightedIndex,\n\t\tselectedItem,\n\t} = useSelect( {\n\t\tinitialSelectedItem: items[ 0 ],\n\t\titems,\n\t\titemToString,\n\t\tonSelectedItemChange,\n\t\t...( typeof _selectedItem !== 'undefined' && _selectedItem !== null\n\t\t\t? { selectedItem: _selectedItem }\n\t\t\t: undefined ),\n\t\tstateReducer,\n\t} );\n\n\tconst [ isFocused, setIsFocused ] = useState( false );\n\n\tfunction handleOnFocus( e ) {\n\t\tsetIsFocused( true );\n\t\tonFocus?.( e );\n\t}\n\n\tfunction handleOnBlur( e ) {\n\t\tsetIsFocused( false );\n\t\tonBlur?.( e );\n\t}\n\n\tif ( ! __nextUnconstrainedWidth ) {\n\t\tdeprecated(\n\t\t\t'Constrained width styles for wp.components.CustomSelectControl',\n\t\t\t{\n\t\t\t\tsince: '6.1',\n\t\t\t\tversion: '6.4',\n\t\t\t\thint: 'Set the `__nextUnconstrainedWidth` prop to true to start opting into the new styles, which will become the default in a future version',\n\t\t\t}\n\t\t);\n\t}\n\n\tfunction getDescribedBy() {\n\t\tif ( describedBy ) {\n\t\t\treturn describedBy;\n\t\t}\n\n\t\tif ( ! selectedItem ) {\n\t\t\treturn __( 'No selection' );\n\t\t}\n\n\t\t// translators: %s: The selected option.\n\t\treturn sprintf( __( 'Currently selected: %s' ), selectedItem.name );\n\t}\n\n\tconst menuProps = getMenuProps( {\n\t\tclassName: 'components-custom-select-control__menu',\n\t\t'aria-hidden': ! isOpen,\n\t} );\n\n\tconst onKeyDownHandler = useCallback(\n\t\t( e ) => {\n\t\t\te.stopPropagation();\n\t\t\tmenuProps?.onKeyDown?.( e );\n\t\t},\n\t\t[ menuProps ]\n\t);\n\n\t// We need this here, because the null active descendant is not fully ARIA compliant.\n\tif (\n\t\tmenuProps[ 'aria-activedescendant' ]?.startsWith( 'downshift-null' )\n\t) {\n\t\tdelete menuProps[ 'aria-activedescendant' ];\n\t}\n\treturn (\n\t\t<div\n\t\t\tclassName={ classnames(\n\t\t\t\t'components-custom-select-control',\n\t\t\t\tclassName\n\t\t\t) }\n\t\t>\n\t\t\t{ hideLabelFromVision ? (\n\t\t\t\t<VisuallyHidden as=\"label\" { ...getLabelProps() }>\n\t\t\t\t\t{ label }\n\t\t\t\t</VisuallyHidden>\n\t\t\t) : (\n\t\t\t\t/* eslint-disable-next-line jsx-a11y/label-has-associated-control, jsx-a11y/label-has-for */\n\t\t\t\t<StyledLabel\n\t\t\t\t\t{ ...getLabelProps( {\n\t\t\t\t\t\tclassName: 'components-custom-select-control__label',\n\t\t\t\t\t} ) }\n\t\t\t\t>\n\t\t\t\t\t{ label }\n\t\t\t\t</StyledLabel>\n\t\t\t) }\n\t\t\t<InputBaseWithBackCompatMinWidth\n\t\t\t\t__next36pxDefaultSize={ __next36pxDefaultSize }\n\t\t\t\t__nextUnconstrainedWidth={ __nextUnconstrainedWidth }\n\t\t\t\tisFocused={ isOpen || isFocused }\n\t\t\t\t__unstableInputWidth={\n\t\t\t\t\t__nextUnconstrainedWidth ? undefined : 'auto'\n\t\t\t\t}\n\t\t\t\tlabelPosition={ __nextUnconstrainedWidth ? undefined : 'top' }\n\t\t\t\tsize={ size }\n\t\t\t\tsuffix={ <SelectControlChevronDown /> }\n\t\t\t>\n\t\t\t\t<SelectControlSelect\n\t\t\t\t\tonMouseOver={ onMouseOver }\n\t\t\t\t\tonMouseOut={ onMouseOut }\n\t\t\t\t\tas=\"button\"\n\t\t\t\t\tonFocus={ handleOnFocus }\n\t\t\t\t\tonBlur={ handleOnBlur }\n\t\t\t\t\tselectSize={ size }\n\t\t\t\t\t__next36pxDefaultSize={ __next36pxDefaultSize }\n\t\t\t\t\t{ ...getToggleButtonProps( {\n\t\t\t\t\t\t// This is needed because some speech recognition software don't support `aria-labelledby`.\n\t\t\t\t\t\t'aria-label': label,\n\t\t\t\t\t\t'aria-labelledby': undefined,\n\t\t\t\t\t\tclassName: 'components-custom-select-control__button',\n\t\t\t\t\t\tdescribedBy: getDescribedBy(),\n\t\t\t\t\t} ) }\n\t\t\t\t>\n\t\t\t\t\t{ itemToString( selectedItem ) }\n\t\t\t\t\t{ __experimentalShowSelectedHint &&\n\t\t\t\t\t\tselectedItem.__experimentalHint && (\n\t\t\t\t\t\t\t<span className=\"components-custom-select-control__hint\">\n\t\t\t\t\t\t\t\t{ selectedItem.__experimentalHint }\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t) }\n\t\t\t\t</SelectControlSelect>\n\t\t\t</InputBaseWithBackCompatMinWidth>\n\t\t\t{ /* eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions */ }\n\t\t\t<ul { ...menuProps } onKeyDown={ onKeyDownHandler }>\n\t\t\t\t{ isOpen &&\n\t\t\t\t\titems.map( ( item, index ) => (\n\t\t\t\t\t\t// eslint-disable-next-line react/jsx-key\n\t\t\t\t\t\t<li\n\t\t\t\t\t\t\t{ ...getItemProps( {\n\t\t\t\t\t\t\t\titem,\n\t\t\t\t\t\t\t\tindex,\n\t\t\t\t\t\t\t\tkey: item.key,\n\t\t\t\t\t\t\t\tclassName: classnames(\n\t\t\t\t\t\t\t\t\titem.className,\n\t\t\t\t\t\t\t\t\t'components-custom-select-control__item',\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t'is-highlighted':\n\t\t\t\t\t\t\t\t\t\t\tindex === highlightedIndex,\n\t\t\t\t\t\t\t\t\t\t'has-hint': !! item.__experimentalHint,\n\t\t\t\t\t\t\t\t\t\t'is-next-36px-default-size':\n\t\t\t\t\t\t\t\t\t\t\t__next36pxDefaultSize,\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\tstyle: item.style,\n\t\t\t\t\t\t\t} ) }\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{ item.name }\n\t\t\t\t\t\t\t{ item.__experimentalHint && (\n\t\t\t\t\t\t\t\t<span className=\"components-custom-select-control__item-hint\">\n\t\t\t\t\t\t\t\t\t{ item.__experimentalHint }\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t\t{ item === selectedItem && (\n\t\t\t\t\t\t\t\t<Icon\n\t\t\t\t\t\t\t\t\ticon={ check }\n\t\t\t\t\t\t\t\t\tclassName=\"components-custom-select-control__item-icon\"\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t</li>\n\t\t\t\t\t) ) }\n\t\t\t</ul>\n\t\t</div>\n\t);\n}\n\nexport function StableCustomSelectControl( props ) {\n\treturn (\n\t\t<CustomSelectControl\n\t\t\t{ ...props }\n\t\t\t__experimentalShowSelectedHint={ false }\n\t\t/>\n\t);\n}\n"],"mappings":";AAAA;AACA;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,kBAAkB,IACxBN,aAAA;IAAMrC,SAAS,EAAC;EAA6C,GAC1DnB,IAAI,CAAC8D,kBACF,CACN,EACC9D,IAAI,KAAKG,YAAY,IACtBqD,aAAA,CAACtE,IAAI;IACJiF,IAAI,EAAGhF,KAAO;IACdgC,SAAS,EAAC;EAA6C,CACvD,CAEC,CACH,CACA,CACA,CAAC;AAER;AAEA,OAAO,SAASiD,yBAAyBA,CAAE9D,KAAK,EAAG;EAClD,OACCkD,aAAA,CAACxC,mBAAmB;IAAA,GACdV,KAAK;IACV2B,8BAA8B,EAAG;EAAO,CACxC,CAAC;AAEJ"}
1
+ {"version":3,"names":["useSelect","classnames","Icon","check","__","sprintf","useCallback","useState","deprecated","VisuallyHidden","Select","SelectControlSelect","SelectControlChevronDown","InputBaseWithBackCompatMinWidth","StyledLabel","useDeprecated36pxDefaultSizeProp","itemToString","item","name","stateReducer","selectedItem","type","changes","props","items","stateChangeTypes","ToggleButtonKeyDownArrowDown","Math","min","indexOf","length","ToggleButtonKeyDownArrowUp","max","CustomSelectControl","__next40pxDefaultSize","__nextUnconstrainedWidth","className","hideLabelFromVision","label","describedBy","options","onChange","onSelectedItemChange","size","value","_selectedItem","onMouseOver","onMouseOut","onFocus","onBlur","__experimentalShowSelectedHint","getLabelProps","getToggleButtonProps","getMenuProps","getItemProps","isOpen","highlightedIndex","initialSelectedItem","undefined","isFocused","setIsFocused","handleOnFocus","e","handleOnBlur","since","version","hint","getDescribedBy","menuProps","onKeyDownHandler","stopPropagation","onKeyDown","startsWith","createElement","as","__unstableInputWidth","labelPosition","suffix","selectSize","__experimentalHint","map","index","key","style","icon","StableCustomSelectControl"],"sources":["@wordpress/components/src/custom-select-control/index.js"],"sourcesContent":["// @ts-nocheck\n/**\n * External dependencies\n */\nimport { useSelect } from 'downshift';\nimport classnames from 'classnames';\n\n/**\n * WordPress dependencies\n */\nimport { Icon, check } from '@wordpress/icons';\nimport { __, sprintf } from '@wordpress/i18n';\nimport { useCallback, useState } from '@wordpress/element';\nimport deprecated from '@wordpress/deprecated';\n\n/**\n * Internal dependencies\n */\nimport { VisuallyHidden } from '../visually-hidden';\nimport { Select as SelectControlSelect } from '../select-control/styles/select-control-styles';\nimport SelectControlChevronDown from '../select-control/chevron-down';\nimport { InputBaseWithBackCompatMinWidth } from './styles';\nimport { StyledLabel } from '../base-control/styles/base-control-styles';\nimport { useDeprecated36pxDefaultSizeProp } from '../utils/use-deprecated-props';\n\nconst itemToString = ( item ) => item?.name;\n// This is needed so that in Windows, where\n// the menu does not necessarily open on\n// key up/down, you can still switch between\n// options with the menu closed.\nconst stateReducer = (\n\t{ selectedItem },\n\t{ type, changes, props: { items } }\n) => {\n\tswitch ( type ) {\n\t\tcase useSelect.stateChangeTypes.ToggleButtonKeyDownArrowDown:\n\t\t\t// If we already have a selected item, try to select the next one,\n\t\t\t// without circular navigation. Otherwise, select the first item.\n\t\t\treturn {\n\t\t\t\tselectedItem:\n\t\t\t\t\titems[\n\t\t\t\t\t\tselectedItem\n\t\t\t\t\t\t\t? Math.min(\n\t\t\t\t\t\t\t\t\titems.indexOf( selectedItem ) + 1,\n\t\t\t\t\t\t\t\t\titems.length - 1\n\t\t\t\t\t\t\t )\n\t\t\t\t\t\t\t: 0\n\t\t\t\t\t],\n\t\t\t};\n\t\tcase useSelect.stateChangeTypes.ToggleButtonKeyDownArrowUp:\n\t\t\t// If we already have a selected item, try to select the previous one,\n\t\t\t// without circular navigation. Otherwise, select the last item.\n\t\t\treturn {\n\t\t\t\tselectedItem:\n\t\t\t\t\titems[\n\t\t\t\t\t\tselectedItem\n\t\t\t\t\t\t\t? Math.max( items.indexOf( selectedItem ) - 1, 0 )\n\t\t\t\t\t\t\t: items.length - 1\n\t\t\t\t\t],\n\t\t\t};\n\t\tdefault:\n\t\t\treturn changes;\n\t}\n};\n\nexport default function CustomSelectControl( props ) {\n\tconst {\n\t\t/** Start opting into the larger default height that will become the default size in a future version. */\n\t\t__next40pxDefaultSize = false,\n\t\t/** Start opting into the unconstrained width that will become the default in a future version. */\n\t\t__nextUnconstrainedWidth = false,\n\t\tclassName,\n\t\thideLabelFromVision,\n\t\tlabel,\n\t\tdescribedBy,\n\t\toptions: items,\n\t\tonChange: onSelectedItemChange,\n\t\t/** @type {import('../select-control/types').SelectControlProps.size} */\n\t\tsize = 'default',\n\t\tvalue: _selectedItem,\n\t\tonMouseOver,\n\t\tonMouseOut,\n\t\tonFocus,\n\t\tonBlur,\n\t\t__experimentalShowSelectedHint = false,\n\t} = useDeprecated36pxDefaultSizeProp(\n\t\tprops,\n\t\t'wp.components.CustomSelectControl',\n\t\t'6.4'\n\t);\n\n\tconst {\n\t\tgetLabelProps,\n\t\tgetToggleButtonProps,\n\t\tgetMenuProps,\n\t\tgetItemProps,\n\t\tisOpen,\n\t\thighlightedIndex,\n\t\tselectedItem,\n\t} = useSelect( {\n\t\tinitialSelectedItem: items[ 0 ],\n\t\titems,\n\t\titemToString,\n\t\tonSelectedItemChange,\n\t\t...( typeof _selectedItem !== 'undefined' && _selectedItem !== null\n\t\t\t? { selectedItem: _selectedItem }\n\t\t\t: undefined ),\n\t\tstateReducer,\n\t} );\n\n\tconst [ isFocused, setIsFocused ] = useState( false );\n\n\tfunction handleOnFocus( e ) {\n\t\tsetIsFocused( true );\n\t\tonFocus?.( e );\n\t}\n\n\tfunction handleOnBlur( e ) {\n\t\tsetIsFocused( false );\n\t\tonBlur?.( e );\n\t}\n\n\tif ( ! __nextUnconstrainedWidth ) {\n\t\tdeprecated(\n\t\t\t'Constrained width styles for wp.components.CustomSelectControl',\n\t\t\t{\n\t\t\t\tsince: '6.1',\n\t\t\t\tversion: '6.4',\n\t\t\t\thint: 'Set the `__nextUnconstrainedWidth` prop to true to start opting into the new styles, which will become the default in a future version',\n\t\t\t}\n\t\t);\n\t}\n\n\tfunction getDescribedBy() {\n\t\tif ( describedBy ) {\n\t\t\treturn describedBy;\n\t\t}\n\n\t\tif ( ! selectedItem ) {\n\t\t\treturn __( 'No selection' );\n\t\t}\n\n\t\t// translators: %s: The selected option.\n\t\treturn sprintf( __( 'Currently selected: %s' ), selectedItem.name );\n\t}\n\n\tconst menuProps = getMenuProps( {\n\t\tclassName: 'components-custom-select-control__menu',\n\t\t'aria-hidden': ! isOpen,\n\t} );\n\n\tconst onKeyDownHandler = useCallback(\n\t\t( e ) => {\n\t\t\te.stopPropagation();\n\t\t\tmenuProps?.onKeyDown?.( e );\n\t\t},\n\t\t[ menuProps ]\n\t);\n\n\t// We need this here, because the null active descendant is not fully ARIA compliant.\n\tif (\n\t\tmenuProps[ 'aria-activedescendant' ]?.startsWith( 'downshift-null' )\n\t) {\n\t\tdelete menuProps[ 'aria-activedescendant' ];\n\t}\n\treturn (\n\t\t<div\n\t\t\tclassName={ classnames(\n\t\t\t\t'components-custom-select-control',\n\t\t\t\tclassName\n\t\t\t) }\n\t\t>\n\t\t\t{ hideLabelFromVision ? (\n\t\t\t\t<VisuallyHidden as=\"label\" { ...getLabelProps() }>\n\t\t\t\t\t{ label }\n\t\t\t\t</VisuallyHidden>\n\t\t\t) : (\n\t\t\t\t/* eslint-disable-next-line jsx-a11y/label-has-associated-control, jsx-a11y/label-has-for */\n\t\t\t\t<StyledLabel\n\t\t\t\t\t{ ...getLabelProps( {\n\t\t\t\t\t\tclassName: 'components-custom-select-control__label',\n\t\t\t\t\t} ) }\n\t\t\t\t>\n\t\t\t\t\t{ label }\n\t\t\t\t</StyledLabel>\n\t\t\t) }\n\t\t\t<InputBaseWithBackCompatMinWidth\n\t\t\t\t__next40pxDefaultSize={ __next40pxDefaultSize }\n\t\t\t\t__nextUnconstrainedWidth={ __nextUnconstrainedWidth }\n\t\t\t\tisFocused={ isOpen || isFocused }\n\t\t\t\t__unstableInputWidth={\n\t\t\t\t\t__nextUnconstrainedWidth ? undefined : 'auto'\n\t\t\t\t}\n\t\t\t\tlabelPosition={ __nextUnconstrainedWidth ? undefined : 'top' }\n\t\t\t\tsize={ size }\n\t\t\t\tsuffix={ <SelectControlChevronDown /> }\n\t\t\t>\n\t\t\t\t<SelectControlSelect\n\t\t\t\t\tonMouseOver={ onMouseOver }\n\t\t\t\t\tonMouseOut={ onMouseOut }\n\t\t\t\t\tas=\"button\"\n\t\t\t\t\tonFocus={ handleOnFocus }\n\t\t\t\t\tonBlur={ handleOnBlur }\n\t\t\t\t\tselectSize={ size }\n\t\t\t\t\t__next40pxDefaultSize={ __next40pxDefaultSize }\n\t\t\t\t\t{ ...getToggleButtonProps( {\n\t\t\t\t\t\t// This is needed because some speech recognition software don't support `aria-labelledby`.\n\t\t\t\t\t\t'aria-label': label,\n\t\t\t\t\t\t'aria-labelledby': undefined,\n\t\t\t\t\t\tclassName: 'components-custom-select-control__button',\n\t\t\t\t\t\tdescribedBy: getDescribedBy(),\n\t\t\t\t\t} ) }\n\t\t\t\t>\n\t\t\t\t\t{ itemToString( selectedItem ) }\n\t\t\t\t\t{ __experimentalShowSelectedHint &&\n\t\t\t\t\t\tselectedItem.__experimentalHint && (\n\t\t\t\t\t\t\t<span className=\"components-custom-select-control__hint\">\n\t\t\t\t\t\t\t\t{ selectedItem.__experimentalHint }\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t) }\n\t\t\t\t</SelectControlSelect>\n\t\t\t</InputBaseWithBackCompatMinWidth>\n\t\t\t{ /* eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions */ }\n\t\t\t<ul { ...menuProps } onKeyDown={ onKeyDownHandler }>\n\t\t\t\t{ isOpen &&\n\t\t\t\t\titems.map( ( item, index ) => (\n\t\t\t\t\t\t// eslint-disable-next-line react/jsx-key\n\t\t\t\t\t\t<li\n\t\t\t\t\t\t\t{ ...getItemProps( {\n\t\t\t\t\t\t\t\titem,\n\t\t\t\t\t\t\t\tindex,\n\t\t\t\t\t\t\t\tkey: item.key,\n\t\t\t\t\t\t\t\tclassName: classnames(\n\t\t\t\t\t\t\t\t\titem.className,\n\t\t\t\t\t\t\t\t\t'components-custom-select-control__item',\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t'is-highlighted':\n\t\t\t\t\t\t\t\t\t\t\tindex === highlightedIndex,\n\t\t\t\t\t\t\t\t\t\t'has-hint': !! item.__experimentalHint,\n\t\t\t\t\t\t\t\t\t\t'is-next-40px-default-size':\n\t\t\t\t\t\t\t\t\t\t\t__next40pxDefaultSize,\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\tstyle: item.style,\n\t\t\t\t\t\t\t} ) }\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{ item.name }\n\t\t\t\t\t\t\t{ item.__experimentalHint && (\n\t\t\t\t\t\t\t\t<span className=\"components-custom-select-control__item-hint\">\n\t\t\t\t\t\t\t\t\t{ item.__experimentalHint }\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t\t{ item === selectedItem && (\n\t\t\t\t\t\t\t\t<Icon\n\t\t\t\t\t\t\t\t\ticon={ check }\n\t\t\t\t\t\t\t\t\tclassName=\"components-custom-select-control__item-icon\"\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t</li>\n\t\t\t\t\t) ) }\n\t\t\t</ul>\n\t\t</div>\n\t);\n}\n\nexport function StableCustomSelectControl( props ) {\n\treturn (\n\t\t<CustomSelectControl\n\t\t\t{ ...props }\n\t\t\t__experimentalShowSelectedHint={ false }\n\t\t/>\n\t);\n}\n"],"mappings":";AAAA;AACA;AACA;AACA;AACA,SAASA,SAAS,QAAQ,WAAW;AACrC,OAAOC,UAAU,MAAM,YAAY;;AAEnC;AACA;AACA;AACA,SAASC,IAAI,EAAEC,KAAK,QAAQ,kBAAkB;AAC9C,SAASC,EAAE,EAAEC,OAAO,QAAQ,iBAAiB;AAC7C,SAASC,WAAW,EAAEC,QAAQ,QAAQ,oBAAoB;AAC1D,OAAOC,UAAU,MAAM,uBAAuB;;AAE9C;AACA;AACA;AACA,SAASC,cAAc,QAAQ,oBAAoB;AAC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AEA,OAAO,SAASiD,yBAAyBA,CAAE9D,KAAK,EAAG;EAClD,OACCkD,aAAA,CAACxC,mBAAmB;IAAA,GACdV,KAAK;IACV2B,8BAA8B,EAAG;EAAO,CACxC,CAAC;AAEJ"}
@@ -1,4 +1,4 @@
1
- import { createElement } from "@wordpress/element";
1
+ import { createElement } from "react";
2
2
  /**
3
3
  * @typedef OwnProps
4
4
  *
@@ -1 +1 @@
1
- {"version":3,"names":["Dashicon","icon","className","size","style","extraProps","iconClass","filter","Boolean","join","sizeStyles","fontSize","width","height","styles","createElement"],"sources":["@wordpress/components/src/dashicon/index.tsx"],"sourcesContent":["/**\n * @typedef OwnProps\n *\n * @property {import('./types').IconKey} icon Icon name\n * @property {string} [className] Class name\n * @property {number} [size] Size of the icon\n */\n\n/**\n * Internal dependencies\n */\nimport type { WordPressComponentProps } from '../ui/context';\nimport type { DashiconProps } from './types';\n\nfunction Dashicon( {\n\ticon,\n\tclassName,\n\tsize = 20,\n\tstyle = {},\n\t...extraProps\n}: WordPressComponentProps< DashiconProps, 'span', false > ) {\n\tconst iconClass = [\n\t\t'dashicon',\n\t\t'dashicons',\n\t\t'dashicons-' + icon,\n\t\tclassName,\n\t]\n\t\t.filter( Boolean )\n\t\t.join( ' ' );\n\n\t// For retro-compatibility reasons (for example if people are overriding icon size with CSS), we add inline styles just if the size is different to the default\n\tconst sizeStyles =\n\t\t// using `!=` to catch both 20 and \"20\"\n\t\t// eslint-disable-next-line eqeqeq\n\t\t20 != size\n\t\t\t? {\n\t\t\t\t\tfontSize: `${ size }px`,\n\t\t\t\t\twidth: `${ size }px`,\n\t\t\t\t\theight: `${ size }px`,\n\t\t\t }\n\t\t\t: {};\n\n\tconst styles = {\n\t\t...sizeStyles,\n\t\t...style,\n\t};\n\n\treturn <span className={ iconClass } style={ styles } { ...extraProps } />;\n}\n\nexport default Dashicon;\n"],"mappings":";AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAIA,SAASA,QAAQA,CAAE;EAClBC,IAAI;EACJC,SAAS;EACTC,IAAI,GAAG,EAAE;EACTC,KAAK,GAAG,CAAC,CAAC;EACV,GAAGC;AACqD,CAAC,EAAG;EAC5D,MAAMC,SAAS,GAAG,CACjB,UAAU,EACV,WAAW,EACX,YAAY,GAAGL,IAAI,EACnBC,SAAS,CACT,CACCK,MAAM,CAAEC,OAAQ,CAAC,CACjBC,IAAI,CAAE,GAAI,CAAC;;EAEb;EACA,MAAMC,UAAU;EACf;EACA;EACA,EAAE,IAAIP,IAAI,GACP;IACAQ,QAAQ,EAAG,GAAGR,IAAM,IAAG;IACvBS,KAAK,EAAG,GAAGT,IAAM,IAAG;IACpBU,MAAM,EAAG,GAAGV,IAAM;EAClB,CAAC,GACD,CAAC,CAAC;EAEN,MAAMW,MAAM,GAAG;IACd,GAAGJ,UAAU;IACb,GAAGN;EACJ,CAAC;EAED,OAAOW,aAAA;IAAMb,SAAS,EAAGI,SAAW;IAACF,KAAK,EAAGU,MAAQ;IAAA,GAAMT;EAAU,CAAI,CAAC;AAC3E;AAEA,eAAeL,QAAQ"}
1
+ {"version":3,"names":["Dashicon","icon","className","size","style","extraProps","iconClass","filter","Boolean","join","sizeStyles","fontSize","width","height","styles","createElement"],"sources":["@wordpress/components/src/dashicon/index.tsx"],"sourcesContent":["/**\n * @typedef OwnProps\n *\n * @property {import('./types').IconKey} icon Icon name\n * @property {string} [className] Class name\n * @property {number} [size] Size of the icon\n */\n\n/**\n * Internal dependencies\n */\nimport type { WordPressComponentProps } from '../context';\nimport type { DashiconProps } from './types';\n\nfunction Dashicon( {\n\ticon,\n\tclassName,\n\tsize = 20,\n\tstyle = {},\n\t...extraProps\n}: WordPressComponentProps< DashiconProps, 'span', false > ) {\n\tconst iconClass = [\n\t\t'dashicon',\n\t\t'dashicons',\n\t\t'dashicons-' + icon,\n\t\tclassName,\n\t]\n\t\t.filter( Boolean )\n\t\t.join( ' ' );\n\n\t// For retro-compatibility reasons (for example if people are overriding icon size with CSS), we add inline styles just if the size is different to the default\n\tconst sizeStyles =\n\t\t// using `!=` to catch both 20 and \"20\"\n\t\t// eslint-disable-next-line eqeqeq\n\t\t20 != size\n\t\t\t? {\n\t\t\t\t\tfontSize: `${ size }px`,\n\t\t\t\t\twidth: `${ size }px`,\n\t\t\t\t\theight: `${ size }px`,\n\t\t\t }\n\t\t\t: {};\n\n\tconst styles = {\n\t\t...sizeStyles,\n\t\t...style,\n\t};\n\n\treturn <span className={ iconClass } style={ styles } { ...extraProps } />;\n}\n\nexport default Dashicon;\n"],"mappings":";AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAIA,SAASA,QAAQA,CAAE;EAClBC,IAAI;EACJC,SAAS;EACTC,IAAI,GAAG,EAAE;EACTC,KAAK,GAAG,CAAC,CAAC;EACV,GAAGC;AACqD,CAAC,EAAG;EAC5D,MAAMC,SAAS,GAAG,CACjB,UAAU,EACV,WAAW,EACX,YAAY,GAAGL,IAAI,EACnBC,SAAS,CACT,CACCK,MAAM,CAAEC,OAAQ,CAAC,CACjBC,IAAI,CAAE,GAAI,CAAC;;EAEb;EACA,MAAMC,UAAU;EACf;EACA;EACA,EAAE,IAAIP,IAAI,GACP;IACAQ,QAAQ,EAAG,GAAGR,IAAM,IAAG;IACvBS,KAAK,EAAG,GAAGT,IAAM,IAAG;IACpBU,MAAM,EAAG,GAAGV,IAAM;EAClB,CAAC,GACD,CAAC,CAAC;EAEN,MAAMW,MAAM,GAAG;IACd,GAAGJ,UAAU;IACb,GAAGN;EACJ,CAAC;EAED,OAAOW,aAAA;IAAMb,SAAS,EAAGI,SAAW;IAACF,KAAK,EAAGU,MAAQ;IAAA,GAAMT;EAAU,CAAI,CAAC;AAC3E;AAEA,eAAeL,QAAQ"}
@@ -1,4 +1,4 @@
1
- import { createElement } from "@wordpress/element";
1
+ import { createElement } from "react";
2
2
  /**
3
3
  * WordPress dependencies
4
4
  */
@@ -1,4 +1,4 @@
1
- import { createElement } from "@wordpress/element";
1
+ import { createElement } from "react";
2
2
  /**
3
3
  * External dependencies
4
4
  */
@@ -11,7 +11,7 @@ import Button from '../../button';
11
11
  import { COLORS, CONFIG } from '../../utils';
12
12
  import { HStack } from '../../h-stack';
13
13
  import { Heading } from '../../heading';
14
- import { space } from '../../ui/utils/space';
14
+ import { space } from '../../utils/space';
15
15
  export const Wrapper = _styled("div", process.env.NODE_ENV === "production" ? {
16
16
  target: "e105ri6r5"
17
17
  } : {
@@ -23,7 +23,7 @@ export const Wrapper = _styled("div", process.env.NODE_ENV === "production" ? {
23
23
  } : {
24
24
  name: "1khn195",
25
25
  styles: "box-sizing:border-box",
26
- map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkB3b3JkcHJlc3MvY29tcG9uZW50cy9zcmMvZGF0ZS10aW1lL2RhdGUvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNpQyIsImZpbGUiOiJAd29yZHByZXNzL2NvbXBvbmVudHMvc3JjL2RhdGUtdGltZS9kYXRlL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogRXh0ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcblxuLyoqXG4gKiBJbnRlcm5hbCBkZXBlbmRlbmNpZXNcbiAqL1xuaW1wb3J0IEJ1dHRvbiBmcm9tICcuLi8uLi9idXR0b24nO1xuaW1wb3J0IHsgQ09MT1JTLCBDT05GSUcgfSBmcm9tICcuLi8uLi91dGlscyc7XG5pbXBvcnQgeyBIU3RhY2sgfSBmcm9tICcuLi8uLi9oLXN0YWNrJztcbmltcG9ydCB7IEhlYWRpbmcgfSBmcm9tICcuLi8uLi9oZWFkaW5nJztcbmltcG9ydCB7IHNwYWNlIH0gZnJvbSAnLi4vLi4vdWkvdXRpbHMvc3BhY2UnO1xuXG5leHB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x0bWFyZ2luLWxlZnQ6IC0ycHg7XG5cdFx0XHRwb3NpdGlvbjogYWJzb2x1dGU7XG5cdFx0XHR3aWR0aDogNHB4O1xuXHRcdH1cblx0XHRgIH1cbmA7XG4iXX0= */",
27
27
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__
28
28
  });
29
29
  export const Navigator = /*#__PURE__*/_styled(HStack, process.env.NODE_ENV === "production" ? {
@@ -31,25 +31,25 @@ export const Navigator = /*#__PURE__*/_styled(HStack, process.env.NODE_ENV === "
31
31
  } : {
32
32
  target: "e105ri6r4",
33
33
  label: "Navigator"
34
- })("margin-bottom:", space(4), ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkB3b3JkcHJlc3MvY29tcG9uZW50cy9zcmMvZGF0ZS10aW1lL2RhdGUvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWtCeUMiLCJmaWxlIjoiQHdvcmRwcmVzcy9jb21wb25lbnRzL3NyYy9kYXRlLXRpbWUvZGF0ZS9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEV4dGVybmFsIGRlcGVuZGVuY2llc1xuICovXG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbi8qKlxuICogSW50ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCBCdXR0b24gZnJvbSAnLi4vLi4vYnV0dG9uJztcbmltcG9ydCB7IENPTE9SUywgQ09ORklHIH0gZnJvbSAnLi4vLi4vdXRpbHMnO1xuaW1wb3J0IHsgSFN0YWNrIH0gZnJvbSAnLi4vLi4vaC1zdGFjayc7XG5pbXBvcnQgeyBIZWFkaW5nIH0gZnJvbSAnLi4vLi4vaGVhZGluZyc7XG5pbXBvcnQgeyBzcGFjZSB9IGZyb20gJy4uLy4uL3VpL3V0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ZWxlY3RlZCAmJlxuXHRcdFx0YFxuXHRcdFx0YmFja2dyb3VuZDogJHsgQ09MT1JTLnRoZW1lLmFjY2VudCB9O1xuXHRcdFx0Y29sb3I6ICR7IENPTE9SUy53aGl0ZSB9O1xuXHRcdFx0YCB9XG5cblx0XHQkeyAoIHByb3BzICkgPT5cblx0XHRcdCEgcHJvcHMuaXNTZWxlY3RlZCAmJlxuXHRcdFx0cHJvcHMuaXNUb2RheSAmJlxuXHRcdFx0YFxuXHRcdFx0YmFja2dyb3VuZDogJHsgQ09MT1JTLmdyYXlbIDIwMCBdIH07XG5cdFx0XHRgIH1cblx0fVxuXG5cdCR7ICggcHJvcHMgKSA9PlxuXHRcdHByb3BzLmhhc0V2ZW50cyAmJlxuXHRcdGBcblx0XHQ6OmJlZm9yZSB7XG5cdFx0XHRiYWNrZ3JvdW5kOiAkeyBwcm9wcy5pc1NlbGVjdGVkID8gQ09MT1JTLndoaXRlIDogQ09MT1JTLnRoZW1lLmFjY2VudCB9O1xuXHRcdFx0Ym9yZGVyLXJhZGl1czogMnB4O1xuXHRcdFx0Ym90dG9tOiAwO1xuXHRcdFx0Y29udGVudDogXCIgXCI7XG5cdFx0XHRoZWlnaHQ6IDRweDtcblx0XHRcdGxlZnQ6IDUwJTtcblx0XHRcdG1hcmdpbi1sZWZ0OiAtMnB4O1xuXHRcdFx0cG9zaXRpb246IGFic29sdXRlO1xuXHRcdFx0d2lkdGg6IDRweDtcblx0XHR9XG5cdFx0YCB9XG5gO1xuIl19 */"));
34
+ })("margin-bottom:", space(4), ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkB3b3JkcHJlc3MvY29tcG9uZW50cy9zcmMvZGF0ZS10aW1lL2RhdGUvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWtCeUMiLCJmaWxlIjoiQHdvcmRwcmVzcy9jb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RcdFx0Ym90dG9tOiAwO1xuXHRcdFx0Y29udGVudDogXCIgXCI7XG5cdFx0XHRoZWlnaHQ6IDRweDtcblx0XHRcdGxlZnQ6IDUwJTtcblx0XHRcdG1hcmdpbi1sZWZ0OiAtMnB4O1xuXHRcdFx0cG9zaXRpb246IGFic29sdXRlO1xuXHRcdFx0d2lkdGg6IDRweDtcblx0XHR9XG5cdFx0YCB9XG5gO1xuIl19 */"));
35
35
  export const NavigatorHeading = /*#__PURE__*/_styled(Heading, process.env.NODE_ENV === "production" ? {
36
36
  target: "e105ri6r3"
37
37
  } : {
38
38
  target: "e105ri6r3",
39
39
  label: "NavigatorHeading"
40
- })("font-size:", CONFIG.fontSize, ";font-weight:", CONFIG.fontWeight, ";strong{font-weight:", CONFIG.fontWeightHeading, ";}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkB3b3JkcHJlc3MvY29tcG9uZW50cy9zcmMvZGF0ZS10aW1lL2RhdGUvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXNCaUQiLCJmaWxlIjoiQHdvcmRwcmVzcy9jb21wb25lbnRzL3NyYy9kYXRlLXRpbWUvZGF0ZS9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEV4dGVybmFsIGRlcGVuZGVuY2llc1xuICovXG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbi8qKlxuICogSW50ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCBCdXR0b24gZnJvbSAnLi4vLi4vYnV0dG9uJztcbmltcG9ydCB7IENPTE9SUywgQ09ORklHIH0gZnJvbSAnLi4vLi4vdXRpbHMnO1xuaW1wb3J0IHsgSFN0YWNrIH0gZnJvbSAnLi4vLi4vaC1zdGFjayc7XG5pbXBvcnQgeyBIZWFk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d2lkdGg6ICR7IHNwYWNlKCA3ICkgfTtcblxuXHRcdCR7ICggcHJvcHMgKSA9PlxuXHRcdFx0cHJvcHMuaXNTZWxlY3RlZCAmJlxuXHRcdFx0YFxuXHRcdFx0YmFja2dyb3VuZDogJHsgQ09MT1JTLnRoZW1lLmFjY2VudCB9O1xuXHRcdFx0Y29sb3I6ICR7IENPTE9SUy53aGl0ZSB9O1xuXHRcdFx0YCB9XG5cblx0XHQkeyAoIHByb3BzICkgPT5cblx0XHRcdCEgcHJvcHMuaXNTZWxlY3RlZCAmJlxuXHRcdFx0cHJvcHMuaXNUb2RheSAmJlxuXHRcdFx0YFxuXHRcdFx0YmFja2dyb3VuZDogJHsgQ09MT1JTLmdyYXlbIDIwMCBdIH07XG5cdFx0XHRgIH1cblx0fVxuXG5cdCR7ICggcHJvcHMgKSA9PlxuXHRcdHByb3BzLmhhc0V2ZW50cyAmJlxuXHRcdGBcblx0XHQ6OmJlZm9yZSB7XG5cdFx0XHRiYWNrZ3JvdW5kOiAkeyBwcm9wcy5pc1NlbGVjdGVkID8gQ09MT1JTLndoaXRlIDogQ09MT1JTLnRoZW1lLmFjY2VudCB9O1xuXHRcdFx0Ym9yZGVyLXJhZGl1czogMnB4O1xuXHRcdFx0Ym90dG9tOiAwO1xuXHRcdFx0Y29udGVudDogXCIgXCI7XG5cdFx0XHRoZWlnaHQ6IDRweDtcblx0XHRcdGxlZnQ6IDUwJTtcblx0XHRcdG1hcmdpbi1sZWZ0OiAtMnB4O1xuXHRcdFx0cG9zaXRpb246IGFic29sdXRlO1xuXHRcdFx0d2lkdGg6IDRweDtcblx0XHR9XG5cdFx0YCB9XG5gO1xuIl19 */"));
40
+ })("font-size:", CONFIG.fontSize, ";font-weight:", CONFIG.fontWeight, ";strong{font-weight:", CONFIG.fontWeightHeading, ";}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkB3b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HRiYWNrZ3JvdW5kOiAkeyBwcm9wcy5pc1NlbGVjdGVkID8gQ09MT1JTLndoaXRlIDogQ09MT1JTLnRoZW1lLmFjY2VudCB9O1xuXHRcdFx0Ym9yZGVyLXJhZGl1czogMnB4O1xuXHRcdFx0Ym90dG9tOiAwO1xuXHRcdFx0Y29udGVudDogXCIgXCI7XG5cdFx0XHRoZWlnaHQ6IDRweDtcblx0XHRcdGxlZnQ6IDUwJTtcblx0XHRcdG1hcmdpbi1sZWZ0OiAtMnB4O1xuXHRcdFx0cG9zaXRpb246IGFic29sdXRlO1xuXHRcdFx0d2lkdGg6IDRweDtcblx0XHR9XG5cdFx0YCB9XG5gO1xuIl19 */"));
41
41
  export const Calendar = _styled("div", process.env.NODE_ENV === "production" ? {
42
42
  target: "e105ri6r2"
43
43
  } : {
44
44
  target: "e105ri6r2",
45
45
  label: "Calendar"
46
- })("column-gap:", space(2), ";display:grid;grid-template-columns:0.5fr repeat( 5, 1fr ) 0.5fr;justify-items:center;row-gap:", space(2), ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkB3b3JkcHJlc3MvY29tcG9uZW50cy9zcmMvZGF0ZS10aW1lL2RhdGUvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQStCa0MiLCJmaWxlIjoiQHdvcmRwcmVzcy9jb21wb25lbnRzL3NyYy9kYXRlLXRpbWUvZGF0ZS9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEV4dGVybmFsIGRlcGVuZGVuY2llc1xuICovXG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbi8qKlxuICogSW50ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCBCdXR0b24gZnJvbSAnLi4vLi4vYnV0dG9uJztcbmltcG9ydCB7IENPT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r ) 0.5fr;justify-items:center;row-gap:", space(2), ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkB3b3JkcHJlc3MvY29tcG9uZW50cy9zcmMvZGF0ZS10aW1lL2RhdGUvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQStCa0MiLCJmaWxlIjoiQHdvcmRwcmVzcy9jb21wb25lbnRzL3NyYy9kYXRlLXRpbWUvZGF0ZS9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEV4dGVybmFsIGRlcGVuZGVuY2llc1xuICovXG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbi8qKlxuICogSW50ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCBCdXR0b24gZnJvbSAnLi4vLi4vYnV0dG9uJztcbmltcG9ydCB7IENPTE9SUywgQ09ORklHIH0gZnJvbSAnLi4vLi4vdXRpbHMnO1xuaW1wb3J0IHsgSFN0YWNrIH0gZnJvbSAnLi4vLi4vaC1zdGFjayc7XG5pbXBvcnQgeyBIZWFkaW5nIH0gZnJvbSAnLi4vLi4vaGVhZGluZyc7XG5pbXBvcnQgeyBzcGFjZSB9IGZyb20gJy4uLy4uL3V0aWxzL3NwYWNlJztcblxuZXhwb3J0IGNvbnN0IFdyYXBwZXIgPSBzdHlsZWQuZGl2YFxuXHRib3gtc2l6aW5nOiBib3JkZXItYm94O1xuYDtcblxuZXhwb3J0IGNvbnN0IE5hdmlnYXRvciA9IHN0eWxlZCggSFN0YWNrIClgXG5cdG1hcmdpbi1ib3R0b206ICR7IHNwYWNlKCA0ICkgfTtcbmA7XG5cbmV4cG9ydCBjb25zdCBOYXZpZ2F0b3JIZWFkaW5nID0gc3R5bGVkKCBIZWFkaW5nIClgXG5cdGZvbnQtc2l6ZTogJHsgQ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07XG5cdFx0XHRgIH1cblx0fVxuXG5cdCR7ICggcHJvcHMgKSA9PlxuXHRcdHByb3BzLmhhc0V2ZW50cyAmJlxuXHRcdGBcblx0XHQ6OmJlZm9yZSB7XG5cdFx0XHRiYWNrZ3JvdW5kOiAkeyBwcm9wcy5pc1NlbGVjdGVkID8gQ09MT1JTLndoaXRlIDogQ09MT1JTLnRoZW1lLmFjY2VudCB9O1xuXHRcdFx0Ym9yZGVyLXJhZGl1czogMnB4O1xuXHRcdFx0Ym90dG9tOiAwO1xuXHRcdFx0Y29udGVudDogXCIgXCI7XG5cdFx0XHRoZWlnaHQ6IDRweDtcblx0XHRcdGxlZnQ6IDUwJTtcblx0XHRcdG1hcmdpbi1sZWZ0OiAtMnB4O1xuXHRcdFx0cG9zaXRpb246IGFic29sdXRlO1xuXHRcdFx0d2lkdGg6IDRweDtcblx0XHR9XG5cdFx0YCB9XG5gO1xuIl19 */"));
47
47
  export const DayOfWeek = _styled("div", process.env.NODE_ENV === "production" ? {
48
48
  target: "e105ri6r1"
49
49
  } : {
50
50
  target: "e105ri6r1",
51
51
  label: "DayOfWeek"
52
- })("color:", COLORS.gray[700], ";font-size:", CONFIG.fontSize, ";line-height:", CONFIG.fontLineHeightBase, ";&:nth-of-type( 1 ){justify-self:start;}&:nth-of-type( 7 ){justify-self:end;}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkB3b3JkcHJlc3MvY29tcG9uZW50cy9zcmMvZGF0ZS10aW1lL2RhdGUvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXVDbUMiLCJmaWxlIjoiQHdvcmRwcmVzcy9jb21wb25lbnRzL3NyYy9kYXRlLXRpbWUvZGF0ZS9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEV4dGVybmFsIGRlcGVuZGVuY2llc1xuICovXG5p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bi1sZWZ0OiAtMnB4O1xuXHRcdFx0cG9zaXRpb246IGFic29sdXRlO1xuXHRcdFx0d2lkdGg6IDRweDtcblx0XHR9XG5cdFx0YCB9XG5gO1xuIl19 */"));
52
+ })("color:", COLORS.gray[700], ";font-size:", CONFIG.fontSize, ";line-height:", CONFIG.fontLineHeightBase, ";&:nth-of-type( 1 ){justify-self:start;}&:nth-of-type( 7 ){justify-self:end;}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkB3b3JkcHJlc3MvY29tcG9uZW50cy9zcmMvZGF0ZS10aW1lL2RhdGUvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXVDbUMiLCJmaWxlIjoiQHdvcmRwcmVzcy9jb21wb25lbnRzL3NyYy9kYXRlLXRpbWUvZGF0ZS9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEV4dGVybmFsIGRlcGVuZGVuY2llc1xuICovXG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbi8qKlxuICogSW50ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCBCdXR0b24gZnJvbSAnLi4vLi4vYnV0dG9uJztcbmltcG9ydCB7IENPTE9SUywgQ09ORklHIH0gZnJvbSAnLi4vLi4vdXRpbHMnO1xuaW1wb3J0IHsgSFN0YWNrIH0gZnJvbSAnLi4vLi4vaC1zdGFjayc7XG5pbXBvcnQgeyBIZWFkaW5nIH0gZnJvbSAnLi4vLi4vaGVhZGluZyc7XG5pbXBvcnQgeyBzcGFjZSB9IGZyb20gJy4uLy4uL3V0aWxzL3NwYWNlJztcblxuZXhwb3J0IGNvbnN0IFdyYXBwZXIgPSBzdHlsZWQuZGl2YFxuXHRib3gtc2l6aW5nOiBib3JkZXItYm94O1xuYDtcblxuZXhwb3J0I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53aGl0ZSB9O1xuXHRcdFx0YCB9XG5cblx0XHQkeyAoIHByb3BzICkgPT5cblx0XHRcdCEgcHJvcHMuaXNTZWxlY3RlZCAmJlxuXHRcdFx0cHJvcHMuaXNUb2RheSAmJlxuXHRcdFx0YFxuXHRcdFx0YmFja2dyb3VuZDogJHsgQ09MT1JTLmdyYXlbIDIwMCBdIH07XG5cdFx0XHRgIH1cblx0fVxuXG5cdCR7ICggcHJvcHMgKSA9PlxuXHRcdHByb3BzLmhhc0V2ZW50cyAmJlxuXHRcdGBcblx0XHQ6OmJlZm9yZSB7XG5cdFx0XHRiYWNrZ3JvdW5kOiAkeyBwcm9wcy5pc1NlbGVjdGVkID8gQ09MT1JTLndoaXRlIDogQ09MT1JTLnRoZW1lLmFjY2VudCB9O1xuXHRcdFx0Ym9yZGVyLXJhZGl1czogMnB4O1xuXHRcdFx0Ym90dG9tOiAwO1xuXHRcdFx0Y29udGVudDogXCIgXCI7XG5cdFx0XHRoZWlnaHQ6IDRweDtcblx0XHRcdGxlZnQ6IDUwJTtcblx0XHRcdG1hcmdpbi1sZWZ0OiAtMnB4O1xuXHRcdFx0cG9zaXRpb246IGFic29sdXRlO1xuXHRcdFx0d2lkdGg6IDRweDtcblx0XHR9XG5cdFx0YCB9XG5gO1xuIl19 */"));
53
53
  export const DayButton = /*#__PURE__*/_styled(Button, process.env.NODE_ENV === "production" ? {
54
54
  shouldForwardProp: prop => !['column', 'isSelected', 'isToday', 'hasEvents'].includes(prop),
55
55
  target: "e105ri6r0"
@@ -80,5 +80,5 @@ export const DayButton = /*#__PURE__*/_styled(Button, process.env.NODE_ENV === "
80
80
  position: absolute;
81
81
  width: 4px;
82
82
  }
83
- `, ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkB3b3JkcHJlc3MvY29tcG9uZW50cy9zcmMvZGF0ZS10aW1lL2RhdGUvc3R5bGVzLnR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GhlbWUuYWNjZW50IH07XG5cdFx0XHRib3JkZXItcmFkaXVzOiAycHg7XG5cdFx0XHRib3R0b206IDA7XG5cdFx0XHRjb250ZW50OiBcIiBcIjtcblx0XHRcdGhlaWdodDogNHB4O1xuXHRcdFx0bGVmdDogNTAlO1xuXHRcdFx0bWFyZ2luLWxlZnQ6IC0ycHg7XG5cdFx0XHRwb3NpdGlvbjogYWJzb2x1dGU7XG5cdFx0XHR3aWR0aDogNHB4O1xuXHRcdH1cblx0XHRgIH1cbmA7XG4iXX0= */"));
83
+ `, ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkB3b3JkcHJlc3MvY29tcG9uZW50cy9zcmMvZGF0ZS10aW1lL2RhdGUvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTZERyIsImZpbGUiOiJAd29yZHByZXNzL2NvbXBvbmVudHMvc3JjL2RhdGUtdGltZS9kYXRlL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogRXh0ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcblxuLyoqXG4gKiBJbnRlcm5hbCBkZXBlbmRlbmNpZXNcbiAqL1xuaW1wb3J0IEJ1dHRvbiBmcm9tICcuLi8uLi9idXR0b24nO1xuaW1wb3J0IHsgQ09MT1JTLCBDT05GSUcgfSBmcm9tICcuLi8uLi91dGlscyc7XG5pbXBvcnQgeyBIU3RhY2sgfSBmcm9tICcuLi8uLi9oLXN0YWNrJztcbmltcG9ydCB7IEhlYWRpbmcgfSBmcm9tICcuLi8uLi9oZWFkaW5nJztcbmltcG9ydCB7IHNwYWNlIH0gZnJvbSAnLi4vLi4vdXRpbHMvc3BhY2UnO1xuXG5leHBvcnQgY29uc3QgV3JhcHBlciA9IHN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