@wordpress/components 25.5.0 → 25.6.1

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 (3594) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/CONTRIBUTING.md +1 -1
  3. package/build/alignment-matrix-control/cell.js +1 -8
  4. package/build/alignment-matrix-control/cell.js.map +1 -1
  5. package/build/alignment-matrix-control/icon.js +5 -10
  6. package/build/alignment-matrix-control/icon.js.map +1 -1
  7. package/build/alignment-matrix-control/index.js +8 -20
  8. package/build/alignment-matrix-control/index.js.map +1 -1
  9. package/build/alignment-matrix-control/styles/alignment-matrix-control-icon-styles.js +0 -10
  10. package/build/alignment-matrix-control/styles/alignment-matrix-control-icon-styles.js.map +1 -1
  11. package/build/alignment-matrix-control/styles/alignment-matrix-control-styles.js +9 -22
  12. package/build/alignment-matrix-control/styles/alignment-matrix-control-styles.js.map +1 -1
  13. package/build/alignment-matrix-control/types.js.map +1 -1
  14. package/build/alignment-matrix-control/utils.js +8 -10
  15. package/build/alignment-matrix-control/utils.js.map +1 -1
  16. package/build/angle-picker-control/angle-circle.js +6 -19
  17. package/build/angle-picker-control/angle-circle.js.map +1 -1
  18. package/build/angle-picker-control/index.js +4 -18
  19. package/build/angle-picker-control/index.js.map +1 -1
  20. package/build/angle-picker-control/styles/angle-picker-control-styles.js +6 -18
  21. package/build/angle-picker-control/styles/angle-picker-control-styles.js.map +1 -1
  22. package/build/angle-picker-control/types.js.map +1 -1
  23. package/build/animate/index.js +2 -12
  24. package/build/animate/index.js.map +1 -1
  25. package/build/animate/types.js.map +1 -1
  26. package/build/animation/index.js +0 -1
  27. package/build/animation/index.js.map +1 -1
  28. package/build/autocomplete/autocompleter-ui.js +10 -32
  29. package/build/autocomplete/autocompleter-ui.js.map +1 -1
  30. package/build/autocomplete/autocompleter-ui.native.js +9 -22
  31. package/build/autocomplete/autocompleter-ui.native.js.map +1 -1
  32. package/build/autocomplete/background-view.android.js +1 -7
  33. package/build/autocomplete/background-view.android.js.map +1 -1
  34. package/build/autocomplete/background-view.ios.js +1 -6
  35. package/build/autocomplete/background-view.ios.js.map +1 -1
  36. package/build/autocomplete/get-default-use-items.js +7 -19
  37. package/build/autocomplete/get-default-use-items.js.map +1 -1
  38. package/build/autocomplete/index.js +29 -70
  39. package/build/autocomplete/index.js.map +1 -1
  40. package/build/autocomplete/types.js.map +1 -1
  41. package/build/base-control/hooks.js +2 -5
  42. package/build/base-control/hooks.js.map +1 -1
  43. package/build/base-control/index.js +5 -13
  44. package/build/base-control/index.js.map +1 -1
  45. package/build/base-control/index.native.js +1 -3
  46. package/build/base-control/index.native.js.map +1 -1
  47. package/build/base-control/styles/base-control-styles.js +0 -12
  48. package/build/base-control/styles/base-control-styles.js.map +1 -1
  49. package/build/base-control/types.js.map +1 -1
  50. package/build/border-box-control/border-box-control/component.js +7 -21
  51. package/build/border-box-control/border-box-control/component.js.map +1 -1
  52. package/build/border-box-control/border-box-control/hook.js +20 -27
  53. package/build/border-box-control/border-box-control/hook.js.map +1 -1
  54. package/build/border-box-control/border-box-control/index.js +0 -3
  55. package/build/border-box-control/border-box-control/index.js.map +1 -1
  56. package/build/border-box-control/border-box-control-linked-button/component.js +3 -12
  57. package/build/border-box-control/border-box-control-linked-button/component.js.map +1 -1
  58. package/build/border-box-control/border-box-control-linked-button/hook.js +5 -9
  59. package/build/border-box-control/border-box-control-linked-button/hook.js.map +1 -1
  60. package/build/border-box-control/border-box-control-linked-button/index.js +0 -2
  61. package/build/border-box-control/border-box-control-linked-button/index.js.map +1 -1
  62. package/build/border-box-control/border-box-control-split-controls/component.js +8 -15
  63. package/build/border-box-control/border-box-control-split-controls/component.js.map +1 -1
  64. package/build/border-box-control/border-box-control-split-controls/hook.js +5 -9
  65. package/build/border-box-control/border-box-control-split-controls/hook.js.map +1 -1
  66. package/build/border-box-control/border-box-control-split-controls/index.js +0 -2
  67. package/build/border-box-control/border-box-control-split-controls/index.js.map +1 -1
  68. package/build/border-box-control/border-box-control-visualizer/component.js +3 -7
  69. package/build/border-box-control/border-box-control-visualizer/component.js.map +1 -1
  70. package/build/border-box-control/border-box-control-visualizer/hook.js +5 -9
  71. package/build/border-box-control/border-box-control-visualizer/hook.js.map +1 -1
  72. package/build/border-box-control/border-box-control-visualizer/index.js +0 -2
  73. package/build/border-box-control/border-box-control-visualizer/index.js.map +1 -1
  74. package/build/border-box-control/index.js +0 -4
  75. package/build/border-box-control/index.js.map +1 -1
  76. package/build/border-box-control/styles.js +0 -15
  77. package/build/border-box-control/styles.js.map +1 -1
  78. package/build/border-box-control/types.js.map +1 -1
  79. package/build/border-box-control/utils.js +10 -43
  80. package/build/border-box-control/utils.js.map +1 -1
  81. package/build/border-control/border-control/component.js +2 -18
  82. package/build/border-control/border-control/component.js.map +1 -1
  83. package/build/border-control/border-control/hook.js +16 -24
  84. package/build/border-control/border-control/hook.js.map +1 -1
  85. package/build/border-control/border-control/index.js +0 -3
  86. package/build/border-control/border-control/index.js.map +1 -1
  87. package/build/border-control/border-control-dropdown/component.js +17 -40
  88. package/build/border-control/border-control-dropdown/component.js.map +1 -1
  89. package/build/border-control/border-control-dropdown/hook.js +9 -16
  90. package/build/border-control/border-control-dropdown/hook.js.map +1 -1
  91. package/build/border-control/border-control-dropdown/index.js +0 -2
  92. package/build/border-control/border-control-dropdown/index.js.map +1 -1
  93. package/build/border-control/border-control-style-picker/component.js +3 -18
  94. package/build/border-control/border-control-style-picker/component.js.map +1 -1
  95. package/build/border-control/border-control-style-picker/hook.js +5 -9
  96. package/build/border-control/border-control-style-picker/hook.js.map +1 -1
  97. package/build/border-control/border-control-style-picker/index.js +0 -2
  98. package/build/border-control/border-control-style-picker/index.js.map +1 -1
  99. package/build/border-control/index.js +0 -3
  100. package/build/border-control/index.js.map +1 -1
  101. package/build/border-control/styles.js +4 -22
  102. package/build/border-control/styles.js.map +1 -1
  103. package/build/border-control/types.js.map +1 -1
  104. package/build/box-control/all-input-control.js +6 -15
  105. package/build/box-control/all-input-control.js.map +1 -1
  106. package/build/box-control/axial-input-controls.js +9 -29
  107. package/build/box-control/axial-input-controls.js.map +1 -1
  108. package/build/box-control/icon.js +3 -8
  109. package/build/box-control/icon.js.map +1 -1
  110. package/build/box-control/index.js +11 -32
  111. package/build/box-control/index.js.map +1 -1
  112. package/build/box-control/input-controls.js +10 -23
  113. package/build/box-control/input-controls.js.map +1 -1
  114. package/build/box-control/linked-button.js +3 -8
  115. package/build/box-control/linked-button.js.map +1 -1
  116. package/build/box-control/styles/box-control-icon-styles.js +0 -7
  117. package/build/box-control/styles/box-control-icon-styles.js.map +1 -1
  118. package/build/box-control/styles/box-control-styles.js +0 -16
  119. package/build/box-control/styles/box-control-styles.js.map +1 -1
  120. package/build/box-control/styles/box-control-visualizer-styles.js +8 -16
  121. package/build/box-control/styles/box-control-visualizer-styles.js.map +1 -1
  122. package/build/box-control/types.js.map +1 -1
  123. package/build/box-control/unit-control.js +4 -10
  124. package/build/box-control/unit-control.js.map +1 -1
  125. package/build/box-control/utils.js +14 -34
  126. package/build/box-control/utils.js.map +1 -1
  127. package/build/button/deprecated.js +3 -8
  128. package/build/button/deprecated.js.map +1 -1
  129. package/build/button/index.js +22 -41
  130. package/build/button/index.js.map +1 -1
  131. package/build/button/index.native.js +17 -28
  132. package/build/button/index.native.js.map +1 -1
  133. package/build/button/types.js.map +1 -1
  134. package/build/button-group/index.js +2 -6
  135. package/build/button-group/index.js.map +1 -1
  136. package/build/button-group/types.js.map +1 -1
  137. package/build/card/card/component.js +7 -23
  138. package/build/card/card/component.js.map +1 -1
  139. package/build/card/card/hook.js +9 -23
  140. package/build/card/card/hook.js.map +1 -1
  141. package/build/card/card/index.js +0 -3
  142. package/build/card/card/index.js.map +1 -1
  143. package/build/card/card-body/component.js +6 -12
  144. package/build/card/card-body/component.js.map +1 -1
  145. package/build/card/card-body/hook.js +4 -12
  146. package/build/card/card-body/hook.js.map +1 -1
  147. package/build/card/card-body/index.js +0 -3
  148. package/build/card/card-body/index.js.map +1 -1
  149. package/build/card/card-divider/component.js +4 -8
  150. package/build/card/card-divider/component.js.map +1 -1
  151. package/build/card/card-divider/hook.js +4 -12
  152. package/build/card/card-divider/hook.js.map +1 -1
  153. package/build/card/card-divider/index.js +0 -3
  154. package/build/card/card-divider/index.js.map +1 -1
  155. package/build/card/card-footer/component.js +4 -8
  156. package/build/card/card-footer/component.js.map +1 -1
  157. package/build/card/card-footer/hook.js +4 -12
  158. package/build/card/card-footer/hook.js.map +1 -1
  159. package/build/card/card-footer/index.js +0 -3
  160. package/build/card/card-footer/index.js.map +1 -1
  161. package/build/card/card-header/component.js +4 -8
  162. package/build/card/card-header/component.js.map +1 -1
  163. package/build/card/card-header/hook.js +4 -12
  164. package/build/card/card-header/hook.js.map +1 -1
  165. package/build/card/card-header/index.js +0 -3
  166. package/build/card/card-header/index.js.map +1 -1
  167. package/build/card/card-media/component.js +4 -8
  168. package/build/card/card-media/component.js.map +1 -1
  169. package/build/card/card-media/hook.js +4 -12
  170. package/build/card/card-media/hook.js.map +1 -1
  171. package/build/card/card-media/index.js +0 -3
  172. package/build/card/card-media/index.js.map +1 -1
  173. package/build/card/context.js +1 -4
  174. package/build/card/context.js.map +1 -1
  175. package/build/card/index.js +0 -8
  176. package/build/card/index.js.map +1 -1
  177. package/build/card/styles.js +0 -4
  178. package/build/card/styles.js.map +1 -1
  179. package/build/card/types.js.map +1 -1
  180. package/build/checkbox-control/index.js +5 -17
  181. package/build/checkbox-control/index.js.map +1 -1
  182. package/build/checkbox-control/types.js.map +1 -1
  183. package/build/circular-option-picker/index.js +2 -12
  184. package/build/circular-option-picker/index.js.map +1 -1
  185. package/build/circular-option-picker/types.js.map +1 -1
  186. package/build/clipboard-button/index.js +6 -14
  187. package/build/clipboard-button/index.js.map +1 -1
  188. package/build/clipboard-button/types.js.map +1 -1
  189. package/build/color-control/index.native.js +1 -5
  190. package/build/color-control/index.native.js.map +1 -1
  191. package/build/color-indicator/index.js +2 -6
  192. package/build/color-indicator/index.js.map +1 -1
  193. package/build/color-indicator/index.native.js +1 -13
  194. package/build/color-indicator/index.native.js.map +1 -1
  195. package/build/color-indicator/types.js.map +1 -1
  196. package/build/color-palette/index.js +16 -32
  197. package/build/color-palette/index.js.map +1 -1
  198. package/build/color-palette/index.native.js +4 -37
  199. package/build/color-palette/index.native.js.map +1 -1
  200. package/build/color-palette/styles.js +0 -5
  201. package/build/color-palette/styles.js.map +1 -1
  202. package/build/color-palette/types.js.map +1 -1
  203. package/build/color-palette/utils.js +10 -35
  204. package/build/color-palette/utils.js.map +1 -1
  205. package/build/color-picker/color-copy-button.js +1 -12
  206. package/build/color-picker/color-copy-button.js.map +1 -1
  207. package/build/color-picker/color-input.js +7 -12
  208. package/build/color-picker/color-input.js.map +1 -1
  209. package/build/color-picker/component.js +3 -16
  210. package/build/color-picker/component.js.map +1 -1
  211. package/build/color-picker/hex-input.js +6 -17
  212. package/build/color-picker/hex-input.js.map +1 -1
  213. package/build/color-picker/hsl-input.js +1 -5
  214. package/build/color-picker/hsl-input.js.map +1 -1
  215. package/build/color-picker/index.js +0 -1
  216. package/build/color-picker/index.js.map +1 -1
  217. package/build/color-picker/index.native.js +3 -24
  218. package/build/color-picker/index.native.js.map +1 -1
  219. package/build/color-picker/input-with-slider.js +4 -14
  220. package/build/color-picker/input-with-slider.js.map +1 -1
  221. package/build/color-picker/legacy-adapter.js +3 -7
  222. package/build/color-picker/legacy-adapter.js.map +1 -1
  223. package/build/color-picker/picker.js +1 -5
  224. package/build/color-picker/picker.js.map +1 -1
  225. package/build/color-picker/rgb-input.js +1 -5
  226. package/build/color-picker/rgb-input.js.map +1 -1
  227. package/build/color-picker/styles.js +3 -14
  228. package/build/color-picker/styles.js.map +1 -1
  229. package/build/color-picker/types.js.map +1 -1
  230. package/build/color-picker/use-deprecated-props.js +3 -11
  231. package/build/color-picker/use-deprecated-props.js.map +1 -1
  232. package/build/combobox-control/index.js +18 -61
  233. package/build/combobox-control/index.js.map +1 -1
  234. package/build/combobox-control/styles.js +1 -7
  235. package/build/combobox-control/styles.js.map +1 -1
  236. package/build/combobox-control/types.js.map +1 -1
  237. package/build/composite/index.js +0 -1
  238. package/build/composite/index.js.map +1 -1
  239. package/build/confirm-dialog/component.js +1 -18
  240. package/build/confirm-dialog/component.js.map +1 -1
  241. package/build/confirm-dialog/index.js +0 -2
  242. package/build/confirm-dialog/index.js.map +1 -1
  243. package/build/confirm-dialog/styles.js +0 -3
  244. package/build/confirm-dialog/styles.js.map +1 -1
  245. package/build/confirm-dialog/types.js.map +1 -1
  246. package/build/custom-gradient-picker/constants.js +1 -2
  247. package/build/custom-gradient-picker/constants.js.map +1 -1
  248. package/build/custom-gradient-picker/gradient-bar/constants.js.map +1 -1
  249. package/build/custom-gradient-picker/gradient-bar/control-points.js +6 -31
  250. package/build/custom-gradient-picker/gradient-bar/control-points.js.map +1 -1
  251. package/build/custom-gradient-picker/gradient-bar/index.js +3 -28
  252. package/build/custom-gradient-picker/gradient-bar/index.js.map +1 -1
  253. package/build/custom-gradient-picker/gradient-bar/utils.js +11 -21
  254. package/build/custom-gradient-picker/gradient-bar/utils.js.map +1 -1
  255. package/build/custom-gradient-picker/index.js +13 -35
  256. package/build/custom-gradient-picker/index.js.map +1 -1
  257. package/build/custom-gradient-picker/index.native.js +7 -24
  258. package/build/custom-gradient-picker/index.native.js.map +1 -1
  259. package/build/custom-gradient-picker/serializer.js +1 -10
  260. package/build/custom-gradient-picker/serializer.js.map +1 -1
  261. package/build/custom-gradient-picker/styles/custom-gradient-picker-styles.js +0 -5
  262. package/build/custom-gradient-picker/styles/custom-gradient-picker-styles.js.map +1 -1
  263. package/build/custom-gradient-picker/types.js.map +1 -1
  264. package/build/custom-gradient-picker/utils.js +3 -20
  265. package/build/custom-gradient-picker/utils.js.map +1 -1
  266. package/build/custom-select-control/index.js +18 -40
  267. package/build/custom-select-control/index.js.map +1 -1
  268. package/build/custom-select-control/styles.js +1 -7
  269. package/build/custom-select-control/styles.js.map +1 -1
  270. package/build/dashicon/index.js +7 -6
  271. package/build/dashicon/index.js.map +1 -1
  272. package/build/dashicon/index.native.js +1 -7
  273. package/build/dashicon/index.native.js.map +1 -1
  274. package/build/dashicon/types.js.map +1 -1
  275. package/build/date-time/constants.js.map +1 -1
  276. package/build/date-time/date/index.js +20 -42
  277. package/build/date-time/date/index.js.map +1 -1
  278. package/build/date-time/date/styles.js +8 -17
  279. package/build/date-time/date/styles.js.map +1 -1
  280. package/build/date-time/date-time/index.js +2 -9
  281. package/build/date-time/date-time/index.js.map +1 -1
  282. package/build/date-time/date-time/styles.js +0 -5
  283. package/build/date-time/date-time/styles.js.map +1 -1
  284. package/build/date-time/index.js +0 -5
  285. package/build/date-time/index.js.map +1 -1
  286. package/build/date-time/time/index.js +14 -43
  287. package/build/date-time/time/index.js.map +1 -1
  288. package/build/date-time/time/styles.js +3 -13
  289. package/build/date-time/time/styles.js.map +1 -1
  290. package/build/date-time/time/timezone.js +5 -12
  291. package/build/date-time/time/timezone.js.map +1 -1
  292. package/build/date-time/types.js.map +1 -1
  293. package/build/date-time/utils.js +0 -3
  294. package/build/date-time/utils.js.map +1 -1
  295. package/build/dimension-control/index.js +0 -15
  296. package/build/dimension-control/index.js.map +1 -1
  297. package/build/dimension-control/sizes.js +0 -3
  298. package/build/dimension-control/sizes.js.map +1 -1
  299. package/build/dimension-control/types.js.map +1 -1
  300. package/build/disabled/index.js +2 -6
  301. package/build/disabled/index.js.map +1 -1
  302. package/build/disabled/index.native.js +1 -4
  303. package/build/disabled/index.native.js.map +1 -1
  304. package/build/disabled/styles/disabled-styles.js +0 -3
  305. package/build/disabled/styles/disabled-styles.js.map +1 -1
  306. package/build/disabled/types.js.map +1 -1
  307. package/build/disclosure/index.js +0 -1
  308. package/build/disclosure/index.js.map +1 -1
  309. package/build/divider/component.js +1 -10
  310. package/build/divider/component.js.map +1 -1
  311. package/build/divider/index.js +0 -2
  312. package/build/divider/index.js.map +1 -1
  313. package/build/divider/styles.js +3 -14
  314. package/build/divider/styles.js.map +1 -1
  315. package/build/divider/types.js.map +1 -1
  316. package/build/draggable/index.js +30 -38
  317. package/build/draggable/index.js.map +1 -1
  318. package/build/draggable/index.native.js +5 -24
  319. package/build/draggable/index.native.js.map +1 -1
  320. package/build/draggable/types.js.map +1 -1
  321. package/build/drop-zone/index.js +8 -23
  322. package/build/drop-zone/index.js.map +1 -1
  323. package/build/drop-zone/provider.js +1 -3
  324. package/build/drop-zone/provider.js.map +1 -1
  325. package/build/drop-zone/types.js.map +1 -1
  326. package/build/dropdown/dropdown-content-wrapper.js +4 -7
  327. package/build/dropdown/dropdown-content-wrapper.js.map +1 -1
  328. package/build/dropdown/index.js +12 -27
  329. package/build/dropdown/index.js.map +1 -1
  330. package/build/dropdown/index.native.js +1 -11
  331. package/build/dropdown/index.native.js.map +1 -1
  332. package/build/dropdown/styles.js +1 -6
  333. package/build/dropdown/styles.js.map +1 -1
  334. package/build/dropdown/types.js.map +1 -1
  335. package/build/dropdown-menu/index.js +10 -30
  336. package/build/dropdown-menu/index.js.map +1 -1
  337. package/build/dropdown-menu/index.native.js +8 -26
  338. package/build/dropdown-menu/index.native.js.map +1 -1
  339. package/build/dropdown-menu/types.js.map +1 -1
  340. package/build/dropdown-menu-v2/index.js +20 -43
  341. package/build/dropdown-menu-v2/index.js.map +1 -1
  342. package/build/dropdown-menu-v2/styles.js +2 -14
  343. package/build/dropdown-menu-v2/styles.js.map +1 -1
  344. package/build/dropdown-menu-v2/types.js.map +1 -1
  345. package/build/duotone-picker/color-list-picker/index.js +1 -11
  346. package/build/duotone-picker/color-list-picker/index.js.map +1 -1
  347. package/build/duotone-picker/color-list-picker/types.js.map +1 -1
  348. package/build/duotone-picker/custom-duotone-bar.js +1 -6
  349. package/build/duotone-picker/custom-duotone-bar.js.map +1 -1
  350. package/build/duotone-picker/duotone-picker.js +6 -18
  351. package/build/duotone-picker/duotone-picker.js.map +1 -1
  352. package/build/duotone-picker/duotone-swatch.js +1 -8
  353. package/build/duotone-picker/duotone-swatch.js.map +1 -1
  354. package/build/duotone-picker/index.js +0 -3
  355. package/build/duotone-picker/index.js.map +1 -1
  356. package/build/duotone-picker/types.js.map +1 -1
  357. package/build/duotone-picker/utils.js +5 -11
  358. package/build/duotone-picker/utils.js.map +1 -1
  359. package/build/elevation/component.js +4 -8
  360. package/build/elevation/component.js.map +1 -1
  361. package/build/elevation/hook.js +6 -25
  362. package/build/elevation/hook.js.map +1 -1
  363. package/build/elevation/index.js +0 -4
  364. package/build/elevation/index.js.map +1 -1
  365. package/build/elevation/styles.js +0 -3
  366. package/build/elevation/styles.js.map +1 -1
  367. package/build/elevation/types.js.map +1 -1
  368. package/build/external-link/index.js +6 -20
  369. package/build/external-link/index.js.map +1 -1
  370. package/build/external-link/index.native.js +1 -6
  371. package/build/external-link/index.native.js.map +1 -1
  372. package/build/external-link/styles/external-link-styles.js +0 -5
  373. package/build/external-link/styles/external-link-styles.js.map +1 -1
  374. package/build/external-link/types.js.map +1 -1
  375. package/build/flex/context.js +1 -4
  376. package/build/flex/context.js.map +1 -1
  377. package/build/flex/flex/component.js +4 -9
  378. package/build/flex/flex/component.js.map +1 -1
  379. package/build/flex/flex/hook.js +5 -21
  380. package/build/flex/flex/hook.js.map +1 -1
  381. package/build/flex/flex/index.js +0 -3
  382. package/build/flex/flex/index.js.map +1 -1
  383. package/build/flex/flex-block/component.js +4 -8
  384. package/build/flex/flex-block/component.js.map +1 -1
  385. package/build/flex/flex-block/hook.js +1 -3
  386. package/build/flex/flex-block/hook.js.map +1 -1
  387. package/build/flex/flex-block/index.js +0 -3
  388. package/build/flex/flex-block/index.js.map +1 -1
  389. package/build/flex/flex-item/component.js +4 -8
  390. package/build/flex/flex-item/component.js.map +1 -1
  391. package/build/flex/flex-item/hook.js +3 -13
  392. package/build/flex/flex-item/hook.js.map +1 -1
  393. package/build/flex/flex-item/index.js +0 -3
  394. package/build/flex/flex-item/index.js.map +1 -1
  395. package/build/flex/index.js +0 -5
  396. package/build/flex/index.js.map +1 -1
  397. package/build/flex/styles.js +1 -4
  398. package/build/flex/styles.js.map +1 -1
  399. package/build/flex/types.js.map +1 -1
  400. package/build/focal-point-picker/controls.js +3 -12
  401. package/build/focal-point-picker/controls.js.map +1 -1
  402. package/build/focal-point-picker/focal-point.js +3 -6
  403. package/build/focal-point-picker/focal-point.js.map +1 -1
  404. package/build/focal-point-picker/focal-point.native.js +1 -5
  405. package/build/focal-point-picker/focal-point.native.js.map +1 -1
  406. package/build/focal-point-picker/grid.js +3 -4
  407. package/build/focal-point-picker/grid.js.map +1 -1
  408. package/build/focal-point-picker/index.js +22 -36
  409. package/build/focal-point-picker/index.js.map +1 -1
  410. package/build/focal-point-picker/index.native.js +15 -37
  411. package/build/focal-point-picker/index.native.js.map +1 -1
  412. package/build/focal-point-picker/media.js +5 -7
  413. package/build/focal-point-picker/media.js.map +1 -1
  414. package/build/focal-point-picker/styles/focal-point-picker-style.js +0 -14
  415. package/build/focal-point-picker/styles/focal-point-picker-style.js.map +1 -1
  416. package/build/focal-point-picker/styles/focal-point-style.js +1 -3
  417. package/build/focal-point-picker/styles/focal-point-style.js.map +1 -1
  418. package/build/focal-point-picker/tooltip/index.native.js +5 -16
  419. package/build/focal-point-picker/tooltip/index.native.js.map +1 -1
  420. package/build/focal-point-picker/types.js.map +1 -1
  421. package/build/focal-point-picker/utils.js +3 -5
  422. package/build/focal-point-picker/utils.js.map +1 -1
  423. package/build/focusable-iframe/index.js +2 -7
  424. package/build/focusable-iframe/index.js.map +1 -1
  425. package/build/font-size-picker/constants.js +6 -13
  426. package/build/font-size-picker/constants.js.map +1 -1
  427. package/build/font-size-picker/font-size-picker-select.js +3 -14
  428. package/build/font-size-picker/font-size-picker-select.js.map +1 -1
  429. package/build/font-size-picker/font-size-picker-toggle-group.js +1 -6
  430. package/build/font-size-picker/font-size-picker-toggle-group.js.map +1 -1
  431. package/build/font-size-picker/index.js +4 -31
  432. package/build/font-size-picker/index.js.map +1 -1
  433. package/build/font-size-picker/index.native.js +9 -27
  434. package/build/font-size-picker/index.native.js.map +1 -1
  435. package/build/font-size-picker/styles.js +0 -9
  436. package/build/font-size-picker/styles.js.map +1 -1
  437. package/build/font-size-picker/types.js.map +1 -1
  438. package/build/font-size-picker/utils.js +1 -6
  439. package/build/font-size-picker/utils.js.map +1 -1
  440. package/build/footer-message-control/index.native.js +5 -8
  441. package/build/footer-message-control/index.native.js.map +1 -1
  442. package/build/form-file-upload/index.js +0 -7
  443. package/build/form-file-upload/index.js.map +1 -1
  444. package/build/form-file-upload/types.js.map +1 -1
  445. package/build/form-toggle/index.js +2 -8
  446. package/build/form-toggle/index.js.map +1 -1
  447. package/build/form-toggle/types.js.map +1 -1
  448. package/build/form-token-field/index.js +25 -125
  449. package/build/form-token-field/index.js.map +1 -1
  450. package/build/form-token-field/styles.js +1 -8
  451. package/build/form-token-field/styles.js.map +1 -1
  452. package/build/form-token-field/suggestions-list.js +2 -19
  453. package/build/form-token-field/suggestions-list.js.map +1 -1
  454. package/build/form-token-field/token-input.js +3 -10
  455. package/build/form-token-field/token-input.js.map +1 -1
  456. package/build/form-token-field/token.js +2 -14
  457. package/build/form-token-field/token.js.map +1 -1
  458. package/build/form-token-field/types.js.map +1 -1
  459. package/build/gradient-picker/index.js +14 -26
  460. package/build/gradient-picker/index.js.map +1 -1
  461. package/build/gradient-picker/types.js.map +1 -1
  462. package/build/grid/component.js +4 -9
  463. package/build/grid/component.js.map +1 -1
  464. package/build/grid/hook.js +3 -14
  465. package/build/grid/hook.js.map +1 -1
  466. package/build/grid/index.js +0 -3
  467. package/build/grid/index.js.map +1 -1
  468. package/build/grid/types.js.map +1 -1
  469. package/build/grid/utils.js +1 -2
  470. package/build/grid/utils.js.map +1 -1
  471. package/build/guide/icons.js +1 -4
  472. package/build/guide/icons.js.map +1 -1
  473. package/build/guide/index.js +4 -22
  474. package/build/guide/index.js.map +1 -1
  475. package/build/guide/page-control.js +4 -9
  476. package/build/guide/page-control.js.map +1 -1
  477. package/build/guide/page.js +3 -5
  478. package/build/guide/page.js.map +1 -1
  479. package/build/guide/types.js.map +1 -1
  480. package/build/h-stack/component.js +4 -8
  481. package/build/h-stack/component.js.map +1 -1
  482. package/build/h-stack/hook.js +1 -10
  483. package/build/h-stack/hook.js.map +1 -1
  484. package/build/h-stack/index.js +0 -3
  485. package/build/h-stack/index.js.map +1 -1
  486. package/build/h-stack/types.js.map +1 -1
  487. package/build/h-stack/utils.js +1 -4
  488. package/build/h-stack/utils.js.map +1 -1
  489. package/build/heading/component.js +4 -8
  490. package/build/heading/component.js.map +1 -1
  491. package/build/heading/hook.js +3 -8
  492. package/build/heading/hook.js.map +1 -1
  493. package/build/heading/index.js +0 -3
  494. package/build/heading/index.js.map +1 -1
  495. package/build/heading/types.js.map +1 -1
  496. package/build/higher-order/navigate-regions/index.js +8 -22
  497. package/build/higher-order/navigate-regions/index.js.map +1 -1
  498. package/build/higher-order/with-constrained-tabbing/index.js +2 -4
  499. package/build/higher-order/with-constrained-tabbing/index.js.map +1 -1
  500. package/build/higher-order/with-fallback-styles/index.js +2 -17
  501. package/build/higher-order/with-fallback-styles/index.js.map +1 -1
  502. package/build/higher-order/with-filters/index.js +16 -22
  503. package/build/higher-order/with-filters/index.js.map +1 -1
  504. package/build/higher-order/with-focus-outside/index.js +2 -6
  505. package/build/higher-order/with-focus-outside/index.js.map +1 -1
  506. package/build/higher-order/with-focus-outside/index.native.js +2 -7
  507. package/build/higher-order/with-focus-outside/index.native.js.map +1 -1
  508. package/build/higher-order/with-focus-return/index.js +4 -14
  509. package/build/higher-order/with-focus-return/index.js.map +1 -1
  510. package/build/higher-order/with-notices/index.js +12 -21
  511. package/build/higher-order/with-notices/index.js.map +1 -1
  512. package/build/higher-order/with-notices/types.js.map +1 -1
  513. package/build/higher-order/with-spoken-messages/index.js +2 -8
  514. package/build/higher-order/with-spoken-messages/index.js.map +1 -1
  515. package/build/icon/index.js +7 -14
  516. package/build/icon/index.js.map +1 -1
  517. package/build/index.js +0 -130
  518. package/build/index.js.map +1 -1
  519. package/build/index.native.js +0 -85
  520. package/build/index.native.js.map +1 -1
  521. package/build/input-control/backdrop.js +1 -4
  522. package/build/input-control/backdrop.js.map +1 -1
  523. package/build/input-control/index.js +6 -16
  524. package/build/input-control/index.js.map +1 -1
  525. package/build/input-control/input-base.js +7 -19
  526. package/build/input-control/input-base.js.map +1 -1
  527. package/build/input-control/input-field.js +12 -35
  528. package/build/input-control/input-field.js.map +1 -1
  529. package/build/input-control/input-prefix-wrapper.js +2 -6
  530. package/build/input-control/input-prefix-wrapper.js.map +1 -1
  531. package/build/input-control/input-suffix-wrapper.js +2 -6
  532. package/build/input-control/input-suffix-wrapper.js.map +1 -1
  533. package/build/input-control/label.js +1 -6
  534. package/build/input-control/label.js.map +1 -1
  535. package/build/input-control/reducer/actions.js +1 -1
  536. package/build/input-control/reducer/actions.js.map +1 -1
  537. package/build/input-control/reducer/reducer.js +17 -44
  538. package/build/input-control/reducer/reducer.js.map +1 -1
  539. package/build/input-control/reducer/state.js +1 -2
  540. package/build/input-control/reducer/state.js.map +1 -1
  541. package/build/input-control/styles/input-control-styles.js +27 -62
  542. package/build/input-control/styles/input-control-styles.js.map +1 -1
  543. package/build/input-control/types.js.map +1 -1
  544. package/build/input-control/utils.js +6 -14
  545. package/build/input-control/utils.js.map +1 -1
  546. package/build/isolated-event-container/index.js +6 -9
  547. package/build/isolated-event-container/index.js.map +1 -1
  548. package/build/item-group/context.js +1 -4
  549. package/build/item-group/context.js.map +1 -1
  550. package/build/item-group/index.js +0 -3
  551. package/build/item-group/index.js.map +1 -1
  552. package/build/item-group/item/component.js +4 -8
  553. package/build/item-group/item/component.js.map +1 -1
  554. package/build/item-group/item/hook.js +0 -11
  555. package/build/item-group/item/hook.js.map +1 -1
  556. package/build/item-group/item/index.js +0 -3
  557. package/build/item-group/item/index.js.map +1 -1
  558. package/build/item-group/item-group/component.js +4 -9
  559. package/build/item-group/item-group/component.js.map +1 -1
  560. package/build/item-group/item-group/hook.js +1 -6
  561. package/build/item-group/item-group/hook.js.map +1 -1
  562. package/build/item-group/item-group/index.js +0 -3
  563. package/build/item-group/item-group/index.js.map +1 -1
  564. package/build/item-group/styles.js +11 -16
  565. package/build/item-group/styles.js.map +1 -1
  566. package/build/item-group/types.js.map +1 -1
  567. package/build/keyboard-shortcuts/index.js +5 -9
  568. package/build/keyboard-shortcuts/index.js.map +1 -1
  569. package/build/keyboard-shortcuts/index.native.js +0 -2
  570. package/build/keyboard-shortcuts/index.native.js.map +1 -1
  571. package/build/keyboard-shortcuts/types.js.map +1 -1
  572. package/build/menu-group/index.js +0 -8
  573. package/build/menu-group/index.js.map +1 -1
  574. package/build/menu-group/types.js.map +1 -1
  575. package/build/menu-item/index.js +25 -14
  576. package/build/menu-item/index.js.map +1 -1
  577. package/build/menu-item/types.js.map +1 -0
  578. package/build/menu-items-choice/index.js +3 -9
  579. package/build/menu-items-choice/index.js.map +1 -1
  580. package/build/menu-items-choice/types.js.map +1 -1
  581. package/build/mobile/audio-player/audio-url-parser.native.js +1 -3
  582. package/build/mobile/audio-player/audio-url-parser.native.js.map +1 -1
  583. package/build/mobile/audio-player/index.native.js +11 -31
  584. package/build/mobile/audio-player/index.native.js.map +1 -1
  585. package/build/mobile/autocompletion-items.native.js +1 -2
  586. package/build/mobile/autocompletion-items.native.js.map +1 -1
  587. package/build/mobile/badge/index.native.js +1 -8
  588. package/build/mobile/badge/index.native.js.map +1 -1
  589. package/build/mobile/bottom-sheet/bottom-sheet-context.native.js +4 -6
  590. package/build/mobile/bottom-sheet/bottom-sheet-context.native.js.map +1 -1
  591. package/build/mobile/bottom-sheet/bottom-sheet-navigation/bottom-sheet-navigation-context.native.js +1 -2
  592. package/build/mobile/bottom-sheet/bottom-sheet-navigation/bottom-sheet-navigation-context.native.js.map +1 -1
  593. package/build/mobile/bottom-sheet/bottom-sheet-navigation/navigation-container.native.js +9 -25
  594. package/build/mobile/bottom-sheet/bottom-sheet-navigation/navigation-container.native.js.map +1 -1
  595. package/build/mobile/bottom-sheet/bottom-sheet-navigation/navigation-screen.native.js +5 -17
  596. package/build/mobile/bottom-sheet/bottom-sheet-navigation/navigation-screen.native.js.map +1 -1
  597. package/build/mobile/bottom-sheet/button.native.js +3 -7
  598. package/build/mobile/bottom-sheet/button.native.js.map +1 -1
  599. package/build/mobile/bottom-sheet/cell.native.js +17 -56
  600. package/build/mobile/bottom-sheet/cell.native.js.map +1 -1
  601. package/build/mobile/bottom-sheet/chevron-back.native.js +1 -3
  602. package/build/mobile/bottom-sheet/chevron-back.native.js.map +1 -1
  603. package/build/mobile/bottom-sheet/color-cell.native.js +4 -11
  604. package/build/mobile/bottom-sheet/color-cell.native.js.map +1 -1
  605. package/build/mobile/bottom-sheet/cycle-picker-cell.native.js +1 -6
  606. package/build/mobile/bottom-sheet/cycle-picker-cell.native.js.map +1 -1
  607. package/build/mobile/bottom-sheet/footer-message-cell.native.js +3 -9
  608. package/build/mobile/bottom-sheet/footer-message-cell.native.js.map +1 -1
  609. package/build/mobile/bottom-sheet/footer-message-link/footer-message-link.native.js +1 -7
  610. package/build/mobile/bottom-sheet/footer-message-link/footer-message-link.native.js.map +1 -1
  611. package/build/mobile/bottom-sheet/index.native.js +26 -101
  612. package/build/mobile/bottom-sheet/index.native.js.map +1 -1
  613. package/build/mobile/bottom-sheet/keyboard-avoiding-view.native.js +1 -23
  614. package/build/mobile/bottom-sheet/keyboard-avoiding-view.native.js.map +1 -1
  615. package/build/mobile/bottom-sheet/link-cell.native.js +3 -9
  616. package/build/mobile/bottom-sheet/link-cell.native.js.map +1 -1
  617. package/build/mobile/bottom-sheet/link-suggestion-item-cell.native.js +5 -21
  618. package/build/mobile/bottom-sheet/link-suggestion-item-cell.native.js.map +1 -1
  619. package/build/mobile/bottom-sheet/lock-icon/index.native.js +1 -6
  620. package/build/mobile/bottom-sheet/lock-icon/index.native.js.map +1 -1
  621. package/build/mobile/bottom-sheet/nav-bar/action-button.native.js +1 -6
  622. package/build/mobile/bottom-sheet/nav-bar/action-button.native.js.map +1 -1
  623. package/build/mobile/bottom-sheet/nav-bar/apply-button.native.js +1 -10
  624. package/build/mobile/bottom-sheet/nav-bar/apply-button.native.js.map +1 -1
  625. package/build/mobile/bottom-sheet/nav-bar/back-button.native.js +1 -18
  626. package/build/mobile/bottom-sheet/nav-bar/back-button.native.js.map +1 -1
  627. package/build/mobile/bottom-sheet/nav-bar/heading.native.js +1 -7
  628. package/build/mobile/bottom-sheet/nav-bar/heading.native.js.map +1 -1
  629. package/build/mobile/bottom-sheet/nav-bar/index.native.js +1 -9
  630. package/build/mobile/bottom-sheet/nav-bar/index.native.js.map +1 -1
  631. package/build/mobile/bottom-sheet/picker-cell.native.js +1 -8
  632. package/build/mobile/bottom-sheet/picker-cell.native.js.map +1 -1
  633. package/build/mobile/bottom-sheet/radio-cell.native.js +4 -11
  634. package/build/mobile/bottom-sheet/radio-cell.native.js.map +1 -1
  635. package/build/mobile/bottom-sheet/range-cell.native.js +7 -44
  636. package/build/mobile/bottom-sheet/range-cell.native.js.map +1 -1
  637. package/build/mobile/bottom-sheet/range-text-input.native.js +1 -35
  638. package/build/mobile/bottom-sheet/range-text-input.native.js.map +1 -1
  639. package/build/mobile/bottom-sheet/ripple.native.js +5 -13
  640. package/build/mobile/bottom-sheet/ripple.native.js.map +1 -1
  641. package/build/mobile/bottom-sheet/stepper-cell/index.native.js +2 -36
  642. package/build/mobile/bottom-sheet/stepper-cell/index.native.js.map +1 -1
  643. package/build/mobile/bottom-sheet/stepper-cell/stepper.android.js +1 -9
  644. package/build/mobile/bottom-sheet/stepper-cell/stepper.android.js.map +1 -1
  645. package/build/mobile/bottom-sheet/stepper-cell/stepper.ios.js +1 -9
  646. package/build/mobile/bottom-sheet/stepper-cell/stepper.ios.js.map +1 -1
  647. package/build/mobile/bottom-sheet/sub-sheet/index.native.js +3 -8
  648. package/build/mobile/bottom-sheet/sub-sheet/index.native.js.map +1 -1
  649. package/build/mobile/bottom-sheet/switch-cell.native.js +8 -22
  650. package/build/mobile/bottom-sheet/switch-cell.native.js.map +1 -1
  651. package/build/mobile/bottom-sheet-select-control/index.native.js +7 -18
  652. package/build/mobile/bottom-sheet-select-control/index.native.js.map +1 -1
  653. package/build/mobile/bottom-sheet-text-control/index.native.js +1 -13
  654. package/build/mobile/bottom-sheet-text-control/index.native.js.map +1 -1
  655. package/build/mobile/clipboard/index.native.js +0 -5
  656. package/build/mobile/clipboard/index.native.js.map +1 -1
  657. package/build/mobile/color-settings/gradient-picker-screen.native.js +1 -9
  658. package/build/mobile/color-settings/gradient-picker-screen.native.js.map +1 -1
  659. package/build/mobile/color-settings/index.native.js +3 -12
  660. package/build/mobile/color-settings/index.native.js.map +1 -1
  661. package/build/mobile/color-settings/palette.screen.native.js +1 -25
  662. package/build/mobile/color-settings/palette.screen.native.js.map +1 -1
  663. package/build/mobile/color-settings/picker-screen.native.js +3 -7
  664. package/build/mobile/color-settings/picker-screen.native.js.map +1 -1
  665. package/build/mobile/color-settings/utils.native.js +1 -5
  666. package/build/mobile/color-settings/utils.native.js.map +1 -1
  667. package/build/mobile/cycle-select-control/index.native.js +1 -6
  668. package/build/mobile/cycle-select-control/index.native.js.map +1 -1
  669. package/build/mobile/dashicons/index.native.js +1 -4
  670. package/build/mobile/dashicons/index.native.js.map +1 -1
  671. package/build/mobile/focal-point-settings-panel/index.native.js +3 -17
  672. package/build/mobile/focal-point-settings-panel/index.native.js.map +1 -1
  673. package/build/mobile/global-styles-context/index.native.js +10 -14
  674. package/build/mobile/global-styles-context/index.native.js.map +1 -1
  675. package/build/mobile/global-styles-context/utils.native.js +27 -67
  676. package/build/mobile/global-styles-context/utils.native.js.map +1 -1
  677. package/build/mobile/gradient/index.native.js +6 -32
  678. package/build/mobile/gradient/index.native.js.map +1 -1
  679. package/build/mobile/gridicons/index.native.js +1 -4
  680. package/build/mobile/gridicons/index.native.js.map +1 -1
  681. package/build/mobile/html-text-input/index.native.js +7 -29
  682. package/build/mobile/html-text-input/index.native.js.map +1 -1
  683. package/build/mobile/image/icon-customize.native.js +0 -4
  684. package/build/mobile/image/icon-customize.native.js.map +1 -1
  685. package/build/mobile/image/icon-retry.native.js +0 -4
  686. package/build/mobile/image/icon-retry.native.js.map +1 -1
  687. package/build/mobile/image/image-editing-button.native.js +1 -11
  688. package/build/mobile/image/image-editing-button.native.js.map +1 -1
  689. package/build/mobile/image/index.native.js +7 -30
  690. package/build/mobile/image/index.native.js.map +1 -1
  691. package/build/mobile/image/utils/index.native.js +0 -9
  692. package/build/mobile/image/utils/index.native.js.map +1 -1
  693. package/build/mobile/inserter-button/index.native.js +5 -16
  694. package/build/mobile/inserter-button/index.native.js.map +1 -1
  695. package/build/mobile/inserter-button/sparkles.js +1 -3
  696. package/build/mobile/inserter-button/sparkles.js.map +1 -1
  697. package/build/mobile/keyboard-avoiding-view/index.android.js +1 -2
  698. package/build/mobile/keyboard-avoiding-view/index.android.js.map +1 -1
  699. package/build/mobile/keyboard-avoiding-view/index.ios.js +5 -24
  700. package/build/mobile/keyboard-avoiding-view/index.ios.js.map +1 -1
  701. package/build/mobile/keyboard-aware-flat-list/index.android.js +1 -10
  702. package/build/mobile/keyboard-aware-flat-list/index.android.js.map +1 -1
  703. package/build/mobile/keyboard-aware-flat-list/index.ios.js +13 -22
  704. package/build/mobile/keyboard-aware-flat-list/index.ios.js.map +1 -1
  705. package/build/mobile/keyboard-aware-flat-list/use-keyboard-offset.native.js +3 -8
  706. package/build/mobile/keyboard-aware-flat-list/use-keyboard-offset.native.js.map +1 -1
  707. package/build/mobile/keyboard-aware-flat-list/use-scroll-to-text-input.native.js +7 -12
  708. package/build/mobile/keyboard-aware-flat-list/use-scroll-to-text-input.native.js.map +1 -1
  709. package/build/mobile/keyboard-aware-flat-list/use-text-input-caret-position.native.js +0 -5
  710. package/build/mobile/keyboard-aware-flat-list/use-text-input-caret-position.native.js.map +1 -1
  711. package/build/mobile/keyboard-aware-flat-list/use-text-input-offset.native.js +2 -8
  712. package/build/mobile/keyboard-aware-flat-list/use-text-input-offset.native.js.map +1 -1
  713. package/build/mobile/layout-animation/index.native.js +1 -3
  714. package/build/mobile/layout-animation/index.native.js.map +1 -1
  715. package/build/mobile/link-picker/index.native.js +15 -58
  716. package/build/mobile/link-picker/index.native.js.map +1 -1
  717. package/build/mobile/link-picker/link-picker-results.native.js +13 -26
  718. package/build/mobile/link-picker/link-picker-results.native.js.map +1 -1
  719. package/build/mobile/link-picker/link-picker-screen.native.js +3 -12
  720. package/build/mobile/link-picker/link-picker-screen.native.js.map +1 -1
  721. package/build/mobile/link-settings/image-link-destinations-screen.native.js +1 -22
  722. package/build/mobile/link-settings/image-link-destinations-screen.native.js.map +1 -1
  723. package/build/mobile/link-settings/index.native.js +17 -52
  724. package/build/mobile/link-settings/index.native.js.map +1 -1
  725. package/build/mobile/link-settings/link-rel.native.js +0 -4
  726. package/build/mobile/link-settings/link-rel.native.js.map +1 -1
  727. package/build/mobile/link-settings/link-settings-navigation.native.js +5 -12
  728. package/build/mobile/link-settings/link-settings-navigation.native.js.map +1 -1
  729. package/build/mobile/link-settings/link-settings-screen.native.js +5 -10
  730. package/build/mobile/link-settings/link-settings-screen.native.js.map +1 -1
  731. package/build/mobile/media-edit/index.native.js +3 -20
  732. package/build/mobile/media-edit/index.native.js.map +1 -1
  733. package/build/mobile/picker/index.android.js +1 -17
  734. package/build/mobile/picker/index.android.js.map +1 -1
  735. package/build/mobile/picker/index.ios.js +1 -15
  736. package/build/mobile/picker/index.ios.js.map +1 -1
  737. package/build/mobile/segmented-control/index.native.js +7 -18
  738. package/build/mobile/segmented-control/index.native.js.map +1 -1
  739. package/build/mobile/utils/alignments.native.js +2 -13
  740. package/build/mobile/utils/alignments.native.js.map +1 -1
  741. package/build/mobile/utils/index.native.js +0 -2
  742. package/build/mobile/utils/index.native.js.map +1 -1
  743. package/build/mobile/utils/use-is-floating-keyboard.native.js +1 -6
  744. package/build/mobile/utils/use-is-floating-keyboard.native.js.map +1 -1
  745. package/build/mobile/utils/use-unit-converter-to-mobile.native.js +5 -22
  746. package/build/mobile/utils/use-unit-converter-to-mobile.native.js.map +1 -1
  747. package/build/modal/aria-helper.js +4 -9
  748. package/build/modal/aria-helper.js.map +1 -1
  749. package/build/modal/index.js +41 -47
  750. package/build/modal/index.js.map +1 -1
  751. package/build/modal/types.js.map +1 -1
  752. package/build/navigable-container/container.js +14 -43
  753. package/build/navigable-container/container.js.map +1 -1
  754. package/build/navigable-container/index.js +0 -3
  755. package/build/navigable-container/index.js.map +1 -1
  756. package/build/navigable-container/menu.js +2 -11
  757. package/build/navigable-container/menu.js.map +1 -1
  758. package/build/navigable-container/tabbable.js +5 -12
  759. package/build/navigable-container/tabbable.js.map +1 -1
  760. package/build/navigable-container/types.js.map +1 -1
  761. package/build/navigation/back-button/index.js +1 -13
  762. package/build/navigation/back-button/index.js.map +1 -1
  763. package/build/navigation/constants.js.map +1 -1
  764. package/build/navigation/context.js +1 -8
  765. package/build/navigation/context.js.map +1 -1
  766. package/build/navigation/group/context.js +1 -4
  767. package/build/navigation/group/context.js.map +1 -1
  768. package/build/navigation/group/index.js +3 -11
  769. package/build/navigation/group/index.js.map +1 -1
  770. package/build/navigation/index.js +6 -19
  771. package/build/navigation/index.js.map +1 -1
  772. package/build/navigation/item/base-content.js +1 -3
  773. package/build/navigation/item/base-content.js.map +1 -1
  774. package/build/navigation/item/base.js +1 -10
  775. package/build/navigation/item/base.js.map +1 -1
  776. package/build/navigation/item/index.js +10 -22
  777. package/build/navigation/item/index.js.map +1 -1
  778. package/build/navigation/item/use-navigation-tree-item.js +5 -9
  779. package/build/navigation/item/use-navigation-tree-item.js.map +1 -1
  780. package/build/navigation/menu/context.js +1 -4
  781. package/build/navigation/menu/context.js.map +1 -1
  782. package/build/navigation/menu/index.js +3 -16
  783. package/build/navigation/menu/index.js.map +1 -1
  784. package/build/navigation/menu/menu-title-search.js +8 -22
  785. package/build/navigation/menu/menu-title-search.js.map +1 -1
  786. package/build/navigation/menu/menu-title.js +4 -17
  787. package/build/navigation/menu/menu-title.js.map +1 -1
  788. package/build/navigation/menu/search-no-results-found.js +1 -7
  789. package/build/navigation/menu/search-no-results-found.js.map +1 -1
  790. package/build/navigation/menu/use-navigation-tree-menu.js +5 -7
  791. package/build/navigation/menu/use-navigation-tree-menu.js.map +1 -1
  792. package/build/navigation/styles/navigation-styles.js +12 -24
  793. package/build/navigation/styles/navigation-styles.js.map +1 -1
  794. package/build/navigation/types.js.map +1 -1
  795. package/build/navigation/use-create-navigation-tree.js +4 -18
  796. package/build/navigation/use-create-navigation-tree.js.map +1 -1
  797. package/build/navigation/use-navigation-tree-nodes.js +3 -7
  798. package/build/navigation/use-navigation-tree-nodes.js.map +1 -1
  799. package/build/navigation/utils.js +1 -6
  800. package/build/navigation/utils.js.map +1 -1
  801. package/build/navigator/context.js +1 -2
  802. package/build/navigator/context.js.map +1 -1
  803. package/build/navigator/index.js +0 -7
  804. package/build/navigator/index.js.map +1 -1
  805. package/build/navigator/navigator-back-button/component.js +2 -7
  806. package/build/navigator/navigator-back-button/component.js.map +1 -1
  807. package/build/navigator/navigator-back-button/hook.js +0 -11
  808. package/build/navigator/navigator-back-button/hook.js.map +1 -1
  809. package/build/navigator/navigator-back-button/index.js +0 -2
  810. package/build/navigator/navigator-back-button/index.js.map +1 -1
  811. package/build/navigator/navigator-button/component.js +2 -7
  812. package/build/navigator/navigator-button/component.js.map +1 -1
  813. package/build/navigator/navigator-button/hook.js +0 -11
  814. package/build/navigator/navigator-button/hook.js.map +1 -1
  815. package/build/navigator/navigator-button/index.js +0 -2
  816. package/build/navigator/navigator-button/index.js.map +1 -1
  817. package/build/navigator/navigator-provider/component.js +19 -43
  818. package/build/navigator/navigator-provider/component.js.map +1 -1
  819. package/build/navigator/navigator-provider/index.js +0 -2
  820. package/build/navigator/navigator-provider/index.js.map +1 -1
  821. package/build/navigator/navigator-screen/component.js +16 -34
  822. package/build/navigator/navigator-screen/component.js.map +1 -1
  823. package/build/navigator/navigator-screen/index.js +0 -2
  824. package/build/navigator/navigator-screen/index.js.map +1 -1
  825. package/build/navigator/navigator-to-parent-button/component.js +4 -8
  826. package/build/navigator/navigator-to-parent-button/component.js.map +1 -1
  827. package/build/navigator/navigator-to-parent-button/index.js +0 -2
  828. package/build/navigator/navigator-to-parent-button/index.js.map +1 -1
  829. package/build/navigator/types.js.map +1 -1
  830. package/build/navigator/use-navigator.js +0 -4
  831. package/build/navigator/use-navigator.js.map +1 -1
  832. package/build/navigator/utils/router.js +1 -10
  833. package/build/navigator/utils/router.js.map +1 -1
  834. package/build/notice/index.js +3 -21
  835. package/build/notice/index.js.map +1 -1
  836. package/build/notice/index.native.js +1 -10
  837. package/build/notice/index.native.js.map +1 -1
  838. package/build/notice/list.js +4 -10
  839. package/build/notice/list.js.map +1 -1
  840. package/build/notice/list.native.js +3 -12
  841. package/build/notice/list.native.js.map +1 -1
  842. package/build/notice/types.js.map +1 -1
  843. package/build/number-control/index.js +23 -54
  844. package/build/number-control/index.js.map +1 -1
  845. package/build/number-control/styles/number-control-styles.js +4 -16
  846. package/build/number-control/styles/number-control-styles.js.map +1 -1
  847. package/build/number-control/types.js.map +1 -1
  848. package/build/palette-edit/index.js +27 -55
  849. package/build/palette-edit/index.js.map +1 -1
  850. package/build/palette-edit/styles.js +10 -23
  851. package/build/palette-edit/styles.js.map +1 -1
  852. package/build/palette-edit/types.js.map +1 -1
  853. package/build/panel/actions.native.js +1 -10
  854. package/build/panel/actions.native.js.map +1 -1
  855. package/build/panel/body.js +8 -18
  856. package/build/panel/body.js.map +1 -1
  857. package/build/panel/body.native.js +1 -7
  858. package/build/panel/body.native.js.map +1 -1
  859. package/build/panel/bottom-separator-cover.native.js +1 -8
  860. package/build/panel/bottom-separator-cover.native.js.map +1 -1
  861. package/build/panel/header.js +0 -3
  862. package/build/panel/header.js.map +1 -1
  863. package/build/panel/index.js +2 -7
  864. package/build/panel/index.js.map +1 -1
  865. package/build/panel/row.js +2 -6
  866. package/build/panel/row.js.map +1 -1
  867. package/build/panel/types.js.map +1 -1
  868. package/build/placeholder/index.js +7 -14
  869. package/build/placeholder/index.js.map +1 -1
  870. package/build/placeholder/types.js.map +1 -1
  871. package/build/popover/index.js +42 -70
  872. package/build/popover/index.js.map +1 -1
  873. package/build/popover/limit-shift.js +4 -15
  874. package/build/popover/limit-shift.js.map +1 -1
  875. package/build/popover/overlay-middlewares.js +5 -8
  876. package/build/popover/overlay-middlewares.js.map +1 -1
  877. package/build/popover/types.js.map +1 -1
  878. package/build/popover/utils.js +8 -37
  879. package/build/popover/utils.js.map +1 -1
  880. package/build/private-apis.js +4 -10
  881. package/build/private-apis.js.map +1 -1
  882. package/build/progress-bar/index.js +1 -7
  883. package/build/progress-bar/index.js.map +1 -1
  884. package/build/progress-bar/styles.js +7 -12
  885. package/build/progress-bar/styles.js.map +1 -1
  886. package/build/progress-bar/types.js.map +1 -1
  887. package/build/query-controls/author-select.js +1 -5
  888. package/build/query-controls/author-select.js.map +1 -1
  889. package/build/query-controls/category-select.js +1 -5
  890. package/build/query-controls/category-select.js.map +1 -1
  891. package/build/query-controls/index.js +2 -18
  892. package/build/query-controls/index.js.map +1 -1
  893. package/build/query-controls/index.native.js +1 -8
  894. package/build/query-controls/index.native.js.map +1 -1
  895. package/build/query-controls/terms.js +6 -11
  896. package/build/query-controls/terms.js.map +1 -1
  897. package/build/query-controls/types.js.map +1 -1
  898. package/build/radio-control/index.js +0 -11
  899. package/build/radio-control/index.js.map +1 -1
  900. package/build/radio-control/index.native.js +1 -5
  901. package/build/radio-control/index.native.js.map +1 -1
  902. package/build/radio-control/types.js.map +1 -1
  903. package/build/radio-group/index.js +4 -10
  904. package/build/radio-group/index.js.map +1 -1
  905. package/build/radio-group/radio/index.js +2 -9
  906. package/build/radio-group/radio/index.js.map +1 -1
  907. package/build/radio-group/radio-context/index.js +1 -2
  908. package/build/radio-group/radio-context/index.js.map +1 -1
  909. package/build/range-control/index.js +9 -39
  910. package/build/range-control/index.js.map +1 -1
  911. package/build/range-control/index.native.js +1 -6
  912. package/build/range-control/index.native.js.map +1 -1
  913. package/build/range-control/input-range.js +3 -5
  914. package/build/range-control/input-range.js.map +1 -1
  915. package/build/range-control/mark.js +3 -6
  916. package/build/range-control/mark.js.map +1 -1
  917. package/build/range-control/rail.js +5 -15
  918. package/build/range-control/rail.js.map +1 -1
  919. package/build/range-control/styles/range-control-styles.js +30 -70
  920. package/build/range-control/styles/range-control-styles.js.map +1 -1
  921. package/build/range-control/tooltip.js +5 -8
  922. package/build/range-control/tooltip.js.map +1 -1
  923. package/build/range-control/types.js.map +1 -1
  924. package/build/range-control/utils.js +4 -9
  925. package/build/range-control/utils.js.map +1 -1
  926. package/build/resizable-box/index.js +5 -10
  927. package/build/resizable-box/index.js.map +1 -1
  928. package/build/resizable-box/index.native.js +1 -8
  929. package/build/resizable-box/index.native.js.map +1 -1
  930. package/build/resizable-box/resize-tooltip/index.js +1 -9
  931. package/build/resizable-box/resize-tooltip/index.js.map +1 -1
  932. package/build/resizable-box/resize-tooltip/label.js +4 -15
  933. package/build/resizable-box/resize-tooltip/label.js.map +1 -1
  934. package/build/resizable-box/resize-tooltip/styles/resize-tooltip.styles.js +3 -8
  935. package/build/resizable-box/resize-tooltip/styles/resize-tooltip.styles.js.map +1 -1
  936. package/build/resizable-box/resize-tooltip/utils.js +9 -26
  937. package/build/resizable-box/resize-tooltip/utils.js.map +1 -1
  938. package/build/responsive-wrapper/index.js +2 -9
  939. package/build/responsive-wrapper/index.js.map +1 -1
  940. package/build/responsive-wrapper/types.js.map +1 -1
  941. package/build/sandbox/index.js +33 -42
  942. package/build/sandbox/index.js.map +1 -1
  943. package/build/sandbox/index.native.js +14 -31
  944. package/build/sandbox/index.native.js.map +1 -1
  945. package/build/sandbox/types.js.map +1 -1
  946. package/build/scroll-lock/index.js +3 -12
  947. package/build/scroll-lock/index.js.map +1 -1
  948. package/build/scrollable/component.js +4 -8
  949. package/build/scrollable/component.js.map +1 -1
  950. package/build/scrollable/hook.js +2 -11
  951. package/build/scrollable/hook.js.map +1 -1
  952. package/build/scrollable/index.js +0 -4
  953. package/build/scrollable/index.js.map +1 -1
  954. package/build/scrollable/styles.js +0 -4
  955. package/build/scrollable/styles.js.map +1 -1
  956. package/build/scrollable/types.js.map +1 -1
  957. package/build/search-control/index.js +4 -16
  958. package/build/search-control/index.js.map +1 -1
  959. package/build/search-control/index.native.js +15 -33
  960. package/build/search-control/index.native.js.map +1 -1
  961. package/build/search-control/types.js.map +1 -1
  962. package/build/select-control/chevron-down.js +1 -5
  963. package/build/select-control/chevron-down.js.map +1 -1
  964. package/build/select-control/index.js +8 -21
  965. package/build/select-control/index.js.map +1 -1
  966. package/build/select-control/index.native.js +1 -4
  967. package/build/select-control/index.native.js.map +1 -1
  968. package/build/select-control/styles/select-control-styles.js +4 -19
  969. package/build/select-control/styles/select-control-styles.js.map +1 -1
  970. package/build/select-control/types.js.map +1 -1
  971. package/build/shortcut/index.js +1 -8
  972. package/build/shortcut/index.js.map +1 -1
  973. package/build/shortcut/types.js.map +1 -1
  974. package/build/slot-fill/bubbles-virtually/fill.js +4 -12
  975. package/build/slot-fill/bubbles-virtually/fill.js.map +1 -1
  976. package/build/slot-fill/bubbles-virtually/slot-fill-context.js +2 -7
  977. package/build/slot-fill/bubbles-virtually/slot-fill-context.js.map +1 -1
  978. package/build/slot-fill/bubbles-virtually/slot-fill-provider.js +3 -22
  979. package/build/slot-fill/bubbles-virtually/slot-fill-provider.js.map +1 -1
  980. package/build/slot-fill/bubbles-virtually/slot.js +5 -11
  981. package/build/slot-fill/bubbles-virtually/slot.js.map +1 -1
  982. package/build/slot-fill/bubbles-virtually/use-slot-fills.js +3 -8
  983. package/build/slot-fill/bubbles-virtually/use-slot-fills.js.map +1 -1
  984. package/build/slot-fill/bubbles-virtually/use-slot.js +5 -9
  985. package/build/slot-fill/bubbles-virtually/use-slot.js.map +1 -1
  986. package/build/slot-fill/context.js +1 -3
  987. package/build/slot-fill/context.js.map +1 -1
  988. package/build/slot-fill/fill.js +7 -11
  989. package/build/slot-fill/fill.js.map +1 -1
  990. package/build/slot-fill/index.js +11 -27
  991. package/build/slot-fill/index.js.map +1 -1
  992. package/build/slot-fill/index.native.js +3 -11
  993. package/build/slot-fill/index.native.js.map +1 -1
  994. package/build/slot-fill/provider.js +6 -24
  995. package/build/slot-fill/provider.js.map +1 -1
  996. package/build/slot-fill/slot.js +4 -20
  997. package/build/slot-fill/slot.js.map +1 -1
  998. package/build/slot-fill/use-slot.js +0 -6
  999. package/build/slot-fill/use-slot.js.map +1 -1
  1000. package/build/snackbar/index.js +9 -22
  1001. package/build/snackbar/index.js.map +1 -1
  1002. package/build/snackbar/list.js +16 -15
  1003. package/build/snackbar/list.js.map +1 -1
  1004. package/build/snackbar/types.js.map +1 -1
  1005. package/build/spacer/component.js +4 -8
  1006. package/build/spacer/component.js.map +1 -1
  1007. package/build/spacer/hook.js +4 -12
  1008. package/build/spacer/hook.js.map +1 -1
  1009. package/build/spacer/index.js +0 -3
  1010. package/build/spacer/index.js.map +1 -1
  1011. package/build/spacer/types.js.map +1 -1
  1012. package/build/spinner/index.js +1 -7
  1013. package/build/spinner/index.js.map +1 -1
  1014. package/build/spinner/index.native.js +1 -5
  1015. package/build/spinner/index.native.js.map +1 -1
  1016. package/build/spinner/styles.js +4 -10
  1017. package/build/spinner/styles.js.map +1 -1
  1018. package/build/style-provider/index.js +13 -19
  1019. package/build/style-provider/index.js.map +1 -1
  1020. package/build/style-provider/index.native.js +0 -1
  1021. package/build/style-provider/index.native.js.map +1 -1
  1022. package/build/style-provider/types.js.map +1 -1
  1023. package/build/surface/component.js +4 -8
  1024. package/build/surface/component.js.map +1 -1
  1025. package/build/surface/hook.js +3 -8
  1026. package/build/surface/hook.js.map +1 -1
  1027. package/build/surface/index.js +0 -4
  1028. package/build/surface/index.js.map +1 -1
  1029. package/build/surface/styles.js +1 -19
  1030. package/build/surface/styles.js.map +1 -1
  1031. package/build/surface/types.js.map +1 -1
  1032. package/build/tab-panel/index.js +12 -30
  1033. package/build/tab-panel/index.js.map +1 -1
  1034. package/build/tab-panel/types.js.map +1 -1
  1035. package/build/text/component.js +1 -8
  1036. package/build/text/component.js.map +1 -1
  1037. package/build/text/get-line-height.js +1 -8
  1038. package/build/text/get-line-height.js.map +1 -1
  1039. package/build/text/hook.js +9 -40
  1040. package/build/text/hook.js.map +1 -1
  1041. package/build/text/index.js +0 -3
  1042. package/build/text/index.js.map +1 -1
  1043. package/build/text/index.native.js +1 -5
  1044. package/build/text/index.native.js.map +1 -1
  1045. package/build/text/styles/emotion-css.native.js +0 -2
  1046. package/build/text/styles/emotion-css.native.js.map +1 -1
  1047. package/build/text/styles/font-family.native.js.map +1 -1
  1048. package/build/text/styles/text-mixins.native.js +3 -20
  1049. package/build/text/styles/text-mixins.native.js.map +1 -1
  1050. package/build/text/styles.js +0 -4
  1051. package/build/text/styles.js.map +1 -1
  1052. package/build/text/types.js.map +1 -1
  1053. package/build/text/utils.js +5 -19
  1054. package/build/text/utils.js.map +1 -1
  1055. package/build/text-control/index.js +2 -9
  1056. package/build/text-control/index.js.map +1 -1
  1057. package/build/text-control/index.native.js +1 -6
  1058. package/build/text-control/index.native.js.map +1 -1
  1059. package/build/text-control/types.js.map +1 -1
  1060. package/build/text-highlight/index.js +0 -6
  1061. package/build/text-highlight/index.js.map +1 -1
  1062. package/build/text-highlight/types.js.map +1 -1
  1063. package/build/textarea-control/index.js +0 -9
  1064. package/build/textarea-control/index.js.map +1 -1
  1065. package/build/textarea-control/index.native.js +1 -6
  1066. package/build/textarea-control/index.native.js.map +1 -1
  1067. package/build/textarea-control/styles/textarea-control-styles.js +1 -4
  1068. package/build/textarea-control/styles/textarea-control-styles.js.map +1 -1
  1069. package/build/textarea-control/types.js.map +1 -1
  1070. package/build/theme/color-algorithms.js +9 -20
  1071. package/build/theme/color-algorithms.js.map +1 -1
  1072. package/build/theme/index.js +0 -8
  1073. package/build/theme/index.js.map +1 -1
  1074. package/build/theme/styles.js +1 -5
  1075. package/build/theme/styles.js.map +1 -1
  1076. package/build/theme/types.js.map +1 -1
  1077. package/build/tip/index.js +1 -4
  1078. package/build/tip/index.js.map +1 -1
  1079. package/build/tip/types.js.map +1 -1
  1080. package/build/toggle-control/index.js +0 -16
  1081. package/build/toggle-control/index.js.map +1 -1
  1082. package/build/toggle-control/index.native.js +1 -4
  1083. package/build/toggle-control/index.native.js.map +1 -1
  1084. package/build/toggle-control/types.js.map +1 -1
  1085. package/build/toggle-group-control/context.js +1 -4
  1086. package/build/toggle-group-control/context.js.map +1 -1
  1087. package/build/toggle-group-control/index.js +0 -3
  1088. package/build/toggle-group-control/index.js.map +1 -1
  1089. package/build/toggle-group-control/toggle-group-control/as-button-group.js +7 -12
  1090. package/build/toggle-group-control/toggle-group-control/as-button-group.js.map +1 -1
  1091. package/build/toggle-group-control/toggle-group-control/as-radio-group.js +10 -14
  1092. package/build/toggle-group-control/toggle-group-control/as-radio-group.js.map +1 -1
  1093. package/build/toggle-group-control/toggle-group-control/component.js +3 -18
  1094. package/build/toggle-group-control/toggle-group-control/component.js.map +1 -1
  1095. package/build/toggle-group-control/toggle-group-control/index.js +0 -2
  1096. package/build/toggle-group-control/toggle-group-control/index.js.map +1 -1
  1097. package/build/toggle-group-control/toggle-group-control/styles.js +0 -10
  1098. package/build/toggle-group-control/toggle-group-control/styles.js.map +1 -1
  1099. package/build/toggle-group-control/toggle-group-control/toggle-group-control-backdrop.js +4 -15
  1100. package/build/toggle-group-control/toggle-group-control/toggle-group-control-backdrop.js.map +1 -1
  1101. package/build/toggle-group-control/toggle-group-control-option/component.js +4 -6
  1102. package/build/toggle-group-control/toggle-group-control-option/component.js.map +1 -1
  1103. package/build/toggle-group-control/toggle-group-control-option/index.js +0 -2
  1104. package/build/toggle-group-control/toggle-group-control-option/index.js.map +1 -1
  1105. package/build/toggle-group-control/toggle-group-control-option-base/component.js +13 -32
  1106. package/build/toggle-group-control/toggle-group-control-option-base/component.js.map +1 -1
  1107. package/build/toggle-group-control/toggle-group-control-option-base/index.js +0 -2
  1108. package/build/toggle-group-control/toggle-group-control-option-base/index.js.map +1 -1
  1109. package/build/toggle-group-control/toggle-group-control-option-base/styles.js +7 -16
  1110. package/build/toggle-group-control/toggle-group-control-option-base/styles.js.map +1 -1
  1111. package/build/toggle-group-control/toggle-group-control-option-icon/component.js +4 -8
  1112. package/build/toggle-group-control/toggle-group-control-option-icon/component.js.map +1 -1
  1113. package/build/toggle-group-control/toggle-group-control-option-icon/index.js +0 -2
  1114. package/build/toggle-group-control/toggle-group-control-option-icon/index.js.map +1 -1
  1115. package/build/toggle-group-control/types.js.map +1 -1
  1116. package/build/toolbar/index.js +0 -7
  1117. package/build/toolbar/index.js.map +1 -1
  1118. package/build/toolbar/toolbar/index.js +6 -15
  1119. package/build/toolbar/toolbar/index.js.map +1 -1
  1120. package/build/toolbar/toolbar/toolbar-container.js +3 -8
  1121. package/build/toolbar/toolbar/toolbar-container.js.map +1 -1
  1122. package/build/toolbar/toolbar/toolbar-container.native.js +1 -4
  1123. package/build/toolbar/toolbar/toolbar-container.native.js.map +1 -1
  1124. package/build/toolbar/toolbar/types.js.map +1 -1
  1125. package/build/toolbar/toolbar-button/index.js +7 -16
  1126. package/build/toolbar/toolbar-button/index.js.map +1 -1
  1127. package/build/toolbar/toolbar-button/toolbar-button-container.js +1 -3
  1128. package/build/toolbar/toolbar-button/toolbar-button-container.js.map +1 -1
  1129. package/build/toolbar/toolbar-button/toolbar-button-container.native.js +0 -4
  1130. package/build/toolbar/toolbar-button/toolbar-button-container.native.js.map +1 -1
  1131. package/build/toolbar/toolbar-button/types.js.map +1 -1
  1132. package/build/toolbar/toolbar-context/index.js +1 -2
  1133. package/build/toolbar/toolbar-context/index.js.map +1 -1
  1134. package/build/toolbar/toolbar-dropdown-menu/index.js +10 -15
  1135. package/build/toolbar/toolbar-dropdown-menu/index.js.map +1 -1
  1136. package/build/toolbar/toolbar-group/index.js +4 -16
  1137. package/build/toolbar/toolbar-group/index.js.map +1 -1
  1138. package/build/toolbar/toolbar-group/toolbar-group-collapsed.js +5 -12
  1139. package/build/toolbar/toolbar-group/toolbar-group-collapsed.js.map +1 -1
  1140. package/build/toolbar/toolbar-group/toolbar-group-collapsed.native.js +1 -9
  1141. package/build/toolbar/toolbar-group/toolbar-group-collapsed.native.js.map +1 -1
  1142. package/build/toolbar/toolbar-group/toolbar-group-container.js +1 -3
  1143. package/build/toolbar/toolbar-group/toolbar-group-container.js.map +1 -1
  1144. package/build/toolbar/toolbar-group/toolbar-group-container.native.js +1 -7
  1145. package/build/toolbar/toolbar-group/toolbar-group-container.native.js.map +1 -1
  1146. package/build/toolbar/toolbar-item/index.js +8 -18
  1147. package/build/toolbar/toolbar-item/index.js.map +1 -1
  1148. package/build/toolbar/toolbar-item/index.native.js +4 -9
  1149. package/build/toolbar/toolbar-item/index.native.js.map +1 -1
  1150. package/build/toolbar/toolbar-item/types.js.map +1 -1
  1151. package/build/tools-panel/context.js +1 -5
  1152. package/build/tools-panel/context.js.map +1 -1
  1153. package/build/tools-panel/index.js +0 -4
  1154. package/build/tools-panel/index.js.map +1 -1
  1155. package/build/tools-panel/styles.js +14 -27
  1156. package/build/tools-panel/styles.js.map +1 -1
  1157. package/build/tools-panel/tools-panel/component.js +4 -11
  1158. package/build/tools-panel/tools-panel/component.js.map +1 -1
  1159. package/build/tools-panel/tools-panel/hook.js +51 -50
  1160. package/build/tools-panel/tools-panel/hook.js.map +1 -1
  1161. package/build/tools-panel/tools-panel/index.js +0 -3
  1162. package/build/tools-panel/tools-panel/index.js.map +1 -1
  1163. package/build/tools-panel/tools-panel-header/component.js +18 -32
  1164. package/build/tools-panel/tools-panel-header/component.js.map +1 -1
  1165. package/build/tools-panel/tools-panel-header/hook.js +3 -9
  1166. package/build/tools-panel/tools-panel-header/hook.js.map +1 -1
  1167. package/build/tools-panel/tools-panel-header/index.js +0 -2
  1168. package/build/tools-panel/tools-panel-header/index.js.map +1 -1
  1169. package/build/tools-panel/tools-panel-item/component.js +5 -10
  1170. package/build/tools-panel/tools-panel-item/component.js.map +1 -1
  1171. package/build/tools-panel/tools-panel-item/hook.js +18 -26
  1172. package/build/tools-panel/tools-panel-item/hook.js.map +1 -1
  1173. package/build/tools-panel/tools-panel-item/index.js +0 -3
  1174. package/build/tools-panel/tools-panel-item/index.js.map +1 -1
  1175. package/build/tools-panel/types.js.map +1 -1
  1176. package/build/tooltip/index.js +27 -53
  1177. package/build/tooltip/index.js.map +1 -1
  1178. package/build/tooltip/index.native.js +29 -45
  1179. package/build/tooltip/index.native.js.map +1 -1
  1180. package/build/tree-grid/cell.js +4 -7
  1181. package/build/tree-grid/cell.js.map +1 -1
  1182. package/build/tree-grid/index.js +51 -75
  1183. package/build/tree-grid/index.js.map +1 -1
  1184. package/build/tree-grid/item.js +2 -6
  1185. package/build/tree-grid/item.js.map +1 -1
  1186. package/build/tree-grid/roving-tab-index-context.js +1 -4
  1187. package/build/tree-grid/roving-tab-index-context.js.map +1 -1
  1188. package/build/tree-grid/roving-tab-index-item.js +7 -12
  1189. package/build/tree-grid/roving-tab-index-item.js.map +1 -1
  1190. package/build/tree-grid/roving-tab-index.js +3 -5
  1191. package/build/tree-grid/roving-tab-index.js.map +1 -1
  1192. package/build/tree-grid/row.js +4 -5
  1193. package/build/tree-grid/row.js.map +1 -1
  1194. package/build/tree-grid/types.js.map +1 -1
  1195. package/build/tree-select/index.js +2 -6
  1196. package/build/tree-select/index.js.map +1 -1
  1197. package/build/tree-select/types.js.map +1 -1
  1198. package/build/truncate/component.js +2 -8
  1199. package/build/truncate/component.js.map +1 -1
  1200. package/build/truncate/hook.js +3 -14
  1201. package/build/truncate/hook.js.map +1 -1
  1202. package/build/truncate/index.js +0 -3
  1203. package/build/truncate/index.js.map +1 -1
  1204. package/build/truncate/styles.js +0 -3
  1205. package/build/truncate/styles.js.map +1 -1
  1206. package/build/truncate/types.js.map +1 -1
  1207. package/build/truncate/utils.js +8 -20
  1208. package/build/truncate/utils.js.map +1 -1
  1209. package/build/ui/context/constants.js +3 -7
  1210. package/build/ui/context/constants.js.map +1 -1
  1211. package/build/ui/context/context-connect.js +17 -31
  1212. package/build/ui/context/context-connect.js.map +1 -1
  1213. package/build/ui/context/context-system-provider.js +12 -23
  1214. package/build/ui/context/context-system-provider.js.map +1 -1
  1215. package/build/ui/context/get-styled-class-name-from-key.js +0 -5
  1216. package/build/ui/context/get-styled-class-name-from-key.js.map +1 -1
  1217. package/build/ui/context/index.js +0 -5
  1218. package/build/ui/context/index.js.map +1 -1
  1219. package/build/ui/context/use-context-system.js +9 -20
  1220. package/build/ui/context/use-context-system.js.map +1 -1
  1221. package/build/ui/context/utils.js +1 -4
  1222. package/build/ui/context/utils.js.map +1 -1
  1223. package/build/ui/context/wordpress-component.js.map +1 -1
  1224. package/build/ui/shortcut/component.js +1 -9
  1225. package/build/ui/shortcut/component.js.map +1 -1
  1226. package/build/ui/shortcut/index.js +0 -2
  1227. package/build/ui/shortcut/index.js.map +1 -1
  1228. package/build/ui/tooltip/component.js +3 -12
  1229. package/build/ui/tooltip/component.js.map +1 -1
  1230. package/build/ui/tooltip/content.js +2 -13
  1231. package/build/ui/tooltip/content.js.map +1 -1
  1232. package/build/ui/tooltip/context.js +0 -4
  1233. package/build/ui/tooltip/context.js.map +1 -1
  1234. package/build/ui/tooltip/index.js +0 -4
  1235. package/build/ui/tooltip/index.js.map +1 -1
  1236. package/build/ui/tooltip/styles.js +0 -12
  1237. package/build/ui/tooltip/styles.js.map +1 -1
  1238. package/build/ui/tooltip/types.js.map +1 -1
  1239. package/build/ui/utils/colors.js +13 -23
  1240. package/build/ui/utils/colors.js.map +1 -1
  1241. package/build/ui/utils/font-size.js +1 -8
  1242. package/build/ui/utils/font-size.js.map +1 -1
  1243. package/build/ui/utils/get-valid-children.js +0 -2
  1244. package/build/ui/utils/get-valid-children.js.map +1 -1
  1245. package/build/ui/utils/index.js +0 -1
  1246. package/build/ui/utils/index.js.map +1 -1
  1247. package/build/ui/utils/space.js +6 -7
  1248. package/build/ui/utils/space.js.map +1 -1
  1249. package/build/ui/utils/types.js.map +1 -1
  1250. package/build/ui/utils/use-responsive-value.js +5 -18
  1251. package/build/ui/utils/use-responsive-value.js.map +1 -1
  1252. package/build/unit-control/index.js +13 -33
  1253. package/build/unit-control/index.js.map +1 -1
  1254. package/build/unit-control/index.native.js +7 -25
  1255. package/build/unit-control/index.native.js.map +1 -1
  1256. package/build/unit-control/styles/unit-control-styles.js +9 -19
  1257. package/build/unit-control/styles/unit-control-styles.js.map +1 -1
  1258. package/build/unit-control/types.js.map +1 -1
  1259. package/build/unit-control/unit-select-control.js +1 -10
  1260. package/build/unit-control/unit-select-control.js.map +1 -1
  1261. package/build/unit-control/utils.js +16 -35
  1262. package/build/unit-control/utils.js.map +1 -1
  1263. package/build/utils/base-label.js +0 -3
  1264. package/build/utils/base-label.js.map +1 -1
  1265. package/build/utils/box-sizing.js +0 -3
  1266. package/build/utils/box-sizing.js.map +1 -1
  1267. package/build/utils/breakpoint-values.js.map +1 -1
  1268. package/build/utils/breakpoint.js +0 -4
  1269. package/build/utils/breakpoint.js.map +1 -1
  1270. package/build/utils/colors-values.js +12 -12
  1271. package/build/utils/colors-values.js.map +1 -1
  1272. package/build/utils/colors.js +2 -5
  1273. package/build/utils/colors.js.map +1 -1
  1274. package/build/utils/config-values.js +6 -8
  1275. package/build/utils/config-values.js.map +1 -1
  1276. package/build/utils/font-values.js.map +1 -1
  1277. package/build/utils/font.js +0 -4
  1278. package/build/utils/font.js.map +1 -1
  1279. package/build/utils/hooks/emotion.d.js.map +1 -1
  1280. package/build/utils/hooks/index.js +0 -6
  1281. package/build/utils/hooks/index.js.map +1 -1
  1282. package/build/utils/hooks/use-controlled-state.js +5 -10
  1283. package/build/utils/hooks/use-controlled-state.js.map +1 -1
  1284. package/build/utils/hooks/use-controlled-value.js +0 -4
  1285. package/build/utils/hooks/use-controlled-value.js.map +1 -1
  1286. package/build/utils/hooks/use-cx.js +3 -10
  1287. package/build/utils/hooks/use-cx.js.map +1 -1
  1288. package/build/utils/hooks/use-latest-ref.js +0 -3
  1289. package/build/utils/hooks/use-latest-ref.js.map +1 -1
  1290. package/build/utils/hooks/use-update-effect.js +2 -5
  1291. package/build/utils/hooks/use-update-effect.js.map +1 -1
  1292. package/build/utils/index.js +0 -4
  1293. package/build/utils/index.js.map +1 -1
  1294. package/build/utils/input/base.js +3 -7
  1295. package/build/utils/input/base.js.map +1 -1
  1296. package/build/utils/input/index.js +0 -2
  1297. package/build/utils/input/index.js.map +1 -1
  1298. package/build/utils/input/input-control.js +1 -6
  1299. package/build/utils/input/input-control.js.map +1 -1
  1300. package/build/utils/math.js +7 -28
  1301. package/build/utils/math.js.map +1 -1
  1302. package/build/utils/reduce-motion.js +0 -5
  1303. package/build/utils/reduce-motion.js.map +1 -1
  1304. package/build/utils/rtl.js +7 -19
  1305. package/build/utils/rtl.js.map +1 -1
  1306. package/build/utils/strings.js +58 -35
  1307. package/build/utils/strings.js.map +1 -1
  1308. package/build/utils/style-mixins.js +0 -10
  1309. package/build/utils/style-mixins.js.map +1 -1
  1310. package/build/utils/types.js.map +1 -1
  1311. package/build/utils/unit-values.js +2 -5
  1312. package/build/utils/unit-values.js.map +1 -1
  1313. package/build/utils/use-deprecated-props.js +4 -8
  1314. package/build/utils/use-deprecated-props.js.map +1 -1
  1315. package/build/utils/values.js +3 -89
  1316. package/build/utils/values.js.map +1 -1
  1317. package/build/utils/z-index.js.map +1 -1
  1318. package/build/v-stack/component.js +4 -8
  1319. package/build/v-stack/component.js.map +1 -1
  1320. package/build/v-stack/hook.js +1 -3
  1321. package/build/v-stack/hook.js.map +1 -1
  1322. package/build/v-stack/index.js +0 -3
  1323. package/build/v-stack/index.js.map +1 -1
  1324. package/build/v-stack/types.js.map +1 -1
  1325. package/build/view/component.js +0 -3
  1326. package/build/view/component.js.map +1 -1
  1327. package/build/view/index.js +0 -2
  1328. package/build/view/index.js.map +1 -1
  1329. package/build/view/types.js.map +1 -1
  1330. package/build/visually-hidden/component.js +4 -8
  1331. package/build/visually-hidden/component.js.map +1 -1
  1332. package/build/visually-hidden/index.js +0 -2
  1333. package/build/visually-hidden/index.js.map +1 -1
  1334. package/build/visually-hidden/styles.js +1 -1
  1335. package/build/visually-hidden/styles.js.map +1 -1
  1336. package/build/visually-hidden/types.js.map +1 -1
  1337. package/build/z-stack/component.js +6 -10
  1338. package/build/z-stack/component.js.map +1 -1
  1339. package/build/z-stack/index.js +0 -2
  1340. package/build/z-stack/index.js.map +1 -1
  1341. package/build/z-stack/styles.js +0 -7
  1342. package/build/z-stack/styles.js.map +1 -1
  1343. package/build/z-stack/types.js.map +1 -1
  1344. package/build-module/alignment-matrix-control/cell.js +1 -2
  1345. package/build-module/alignment-matrix-control/cell.js.map +1 -1
  1346. package/build-module/alignment-matrix-control/icon.js +5 -6
  1347. package/build-module/alignment-matrix-control/icon.js.map +1 -1
  1348. package/build-module/alignment-matrix-control/index.js +9 -12
  1349. package/build-module/alignment-matrix-control/index.js.map +1 -1
  1350. package/build-module/alignment-matrix-control/styles/alignment-matrix-control-icon-styles.js +2 -8
  1351. package/build-module/alignment-matrix-control/styles/alignment-matrix-control-icon-styles.js.map +1 -1
  1352. package/build-module/alignment-matrix-control/styles/alignment-matrix-control-styles.js +11 -18
  1353. package/build-module/alignment-matrix-control/styles/alignment-matrix-control-styles.js.map +1 -1
  1354. package/build-module/alignment-matrix-control/types.js.map +1 -1
  1355. package/build-module/alignment-matrix-control/utils.js +7 -5
  1356. package/build-module/alignment-matrix-control/utils.js.map +1 -1
  1357. package/build-module/angle-picker-control/angle-circle.js +6 -18
  1358. package/build-module/angle-picker-control/angle-circle.js.map +1 -1
  1359. package/build-module/angle-picker-control/index.js +6 -11
  1360. package/build-module/angle-picker-control/index.js.map +1 -1
  1361. package/build-module/angle-picker-control/styles/angle-picker-control-styles.js +6 -11
  1362. package/build-module/angle-picker-control/styles/angle-picker-control-styles.js.map +1 -1
  1363. package/build-module/angle-picker-control/types.js.map +1 -1
  1364. package/build-module/animate/index.js +3 -7
  1365. package/build-module/animate/index.js.map +1 -1
  1366. package/build-module/animate/types.js.map +1 -1
  1367. package/build-module/animation/index.js +1 -0
  1368. package/build-module/animation/index.js.map +1 -1
  1369. package/build-module/autocomplete/autocompleter-ui.js +11 -22
  1370. package/build-module/autocomplete/autocompleter-ui.js.map +1 -1
  1371. package/build-module/autocomplete/autocompleter-ui.native.js +10 -13
  1372. package/build-module/autocomplete/autocompleter-ui.native.js.map +1 -1
  1373. package/build-module/autocomplete/background-view.android.js +2 -5
  1374. package/build-module/autocomplete/background-view.android.js.map +1 -1
  1375. package/build-module/autocomplete/background-view.ios.js +1 -4
  1376. package/build-module/autocomplete/background-view.ios.js.map +1 -1
  1377. package/build-module/autocomplete/get-default-use-items.js +8 -16
  1378. package/build-module/autocomplete/get-default-use-items.js.map +1 -1
  1379. package/build-module/autocomplete/index.js +30 -63
  1380. package/build-module/autocomplete/index.js.map +1 -1
  1381. package/build-module/autocomplete/types.js.map +1 -1
  1382. package/build-module/base-control/hooks.js +3 -3
  1383. package/build-module/base-control/hooks.js.map +1 -1
  1384. package/build-module/base-control/index.js +7 -6
  1385. package/build-module/base-control/index.js.map +1 -1
  1386. package/build-module/base-control/index.native.js +0 -1
  1387. package/build-module/base-control/index.native.js.map +1 -1
  1388. package/build-module/base-control/styles/base-control-styles.js +2 -8
  1389. package/build-module/base-control/styles/base-control-styles.js.map +1 -1
  1390. package/build-module/base-control/types.js.map +1 -1
  1391. package/build-module/border-box-control/border-box-control/component.js +7 -11
  1392. package/build-module/border-box-control/border-box-control/component.js.map +1 -1
  1393. package/build-module/border-box-control/border-box-control/hook.js +20 -20
  1394. package/build-module/border-box-control/border-box-control/hook.js.map +1 -1
  1395. package/build-module/border-box-control/border-box-control/index.js.map +1 -1
  1396. package/build-module/border-box-control/border-box-control-linked-button/component.js +3 -5
  1397. package/build-module/border-box-control/border-box-control-linked-button/component.js.map +1 -1
  1398. package/build-module/border-box-control/border-box-control-linked-button/hook.js +5 -3
  1399. package/build-module/border-box-control/border-box-control-linked-button/hook.js.map +1 -1
  1400. package/build-module/border-box-control/border-box-control-linked-button/index.js.map +1 -1
  1401. package/build-module/border-box-control/border-box-control-split-controls/component.js +8 -8
  1402. package/build-module/border-box-control/border-box-control-split-controls/component.js.map +1 -1
  1403. package/build-module/border-box-control/border-box-control-split-controls/hook.js +5 -3
  1404. package/build-module/border-box-control/border-box-control-split-controls/hook.js.map +1 -1
  1405. package/build-module/border-box-control/border-box-control-split-controls/index.js.map +1 -1
  1406. package/build-module/border-box-control/border-box-control-visualizer/component.js +2 -4
  1407. package/build-module/border-box-control/border-box-control-visualizer/component.js.map +1 -1
  1408. package/build-module/border-box-control/border-box-control-visualizer/hook.js +5 -3
  1409. package/build-module/border-box-control/border-box-control-visualizer/hook.js.map +1 -1
  1410. package/build-module/border-box-control/border-box-control-visualizer/index.js.map +1 -1
  1411. package/build-module/border-box-control/index.js.map +1 -1
  1412. package/build-module/border-box-control/styles.js +1 -4
  1413. package/build-module/border-box-control/styles.js.map +1 -1
  1414. package/build-module/border-box-control/types.js.map +1 -1
  1415. package/build-module/border-box-control/utils.js +9 -20
  1416. package/build-module/border-box-control/utils.js.map +1 -1
  1417. package/build-module/border-control/border-control/component.js +2 -8
  1418. package/build-module/border-control/border-control/component.js.map +1 -1
  1419. package/build-module/border-control/border-control/hook.js +16 -18
  1420. package/build-module/border-control/border-control/hook.js.map +1 -1
  1421. package/build-module/border-control/border-control/index.js.map +1 -1
  1422. package/build-module/border-control/border-control-dropdown/component.js +17 -26
  1423. package/build-module/border-control/border-control-dropdown/component.js.map +1 -1
  1424. package/build-module/border-control/border-control-dropdown/hook.js +9 -9
  1425. package/build-module/border-control/border-control-dropdown/hook.js.map +1 -1
  1426. package/build-module/border-control/border-control-dropdown/index.js.map +1 -1
  1427. package/build-module/border-control/border-control-style-picker/component.js +3 -8
  1428. package/build-module/border-control/border-control-style-picker/component.js.map +1 -1
  1429. package/build-module/border-control/border-control-style-picker/hook.js +5 -3
  1430. package/build-module/border-control/border-control-style-picker/hook.js.map +1 -1
  1431. package/build-module/border-control/border-control-style-picker/index.js.map +1 -1
  1432. package/build-module/border-control/index.js.map +1 -1
  1433. package/build-module/border-control/styles.js +5 -5
  1434. package/build-module/border-control/styles.js.map +1 -1
  1435. package/build-module/border-control/types.js.map +1 -1
  1436. package/build-module/box-control/all-input-control.js +6 -12
  1437. package/build-module/box-control/all-input-control.js.map +1 -1
  1438. package/build-module/box-control/axial-input-controls.js +8 -22
  1439. package/build-module/box-control/axial-input-controls.js.map +1 -1
  1440. package/build-module/box-control/icon.js +3 -5
  1441. package/build-module/box-control/icon.js.map +1 -1
  1442. package/build-module/box-control/index.js +11 -17
  1443. package/build-module/box-control/index.js.map +1 -1
  1444. package/build-module/box-control/input-controls.js +9 -18
  1445. package/build-module/box-control/input-controls.js.map +1 -1
  1446. package/build-module/box-control/linked-button.js +3 -3
  1447. package/build-module/box-control/linked-button.js.map +1 -1
  1448. package/build-module/box-control/styles/box-control-icon-styles.js +0 -7
  1449. package/build-module/box-control/styles/box-control-icon-styles.js.map +1 -1
  1450. package/build-module/box-control/styles/box-control-styles.js +0 -11
  1451. package/build-module/box-control/styles/box-control-styles.js.map +1 -1
  1452. package/build-module/box-control/styles/box-control-visualizer-styles.js +8 -14
  1453. package/build-module/box-control/styles/box-control-visualizer-styles.js.map +1 -1
  1454. package/build-module/box-control/types.js.map +1 -1
  1455. package/build-module/box-control/unit-control.js +4 -7
  1456. package/build-module/box-control/unit-control.js.map +1 -1
  1457. package/build-module/box-control/utils.js +14 -25
  1458. package/build-module/box-control/utils.js.map +1 -1
  1459. package/build-module/button/deprecated.js +3 -5
  1460. package/build-module/button/deprecated.js.map +1 -1
  1461. package/build-module/button/index.js +22 -34
  1462. package/build-module/button/index.js.map +1 -1
  1463. package/build-module/button/index.native.js +17 -16
  1464. package/build-module/button/index.native.js.map +1 -1
  1465. package/build-module/button/types.js.map +1 -1
  1466. package/build-module/button-group/index.js +2 -4
  1467. package/build-module/button-group/index.js.map +1 -1
  1468. package/build-module/button-group/types.js.map +1 -1
  1469. package/build-module/card/card/component.js +8 -10
  1470. package/build-module/card/card/component.js.map +1 -1
  1471. package/build-module/card/card/hook.js +10 -11
  1472. package/build-module/card/card/hook.js.map +1 -1
  1473. package/build-module/card/card/index.js.map +1 -1
  1474. package/build-module/card/card-body/component.js +6 -8
  1475. package/build-module/card/card-body/component.js.map +1 -1
  1476. package/build-module/card/card-body/hook.js +5 -2
  1477. package/build-module/card/card-body/hook.js.map +1 -1
  1478. package/build-module/card/card-body/index.js.map +1 -1
  1479. package/build-module/card/card-divider/component.js +4 -5
  1480. package/build-module/card/card-divider/component.js.map +1 -1
  1481. package/build-module/card/card-divider/hook.js +5 -2
  1482. package/build-module/card/card-divider/hook.js.map +1 -1
  1483. package/build-module/card/card-divider/index.js.map +1 -1
  1484. package/build-module/card/card-footer/component.js +4 -5
  1485. package/build-module/card/card-footer/component.js.map +1 -1
  1486. package/build-module/card/card-footer/hook.js +5 -2
  1487. package/build-module/card/card-footer/hook.js.map +1 -1
  1488. package/build-module/card/card-footer/index.js.map +1 -1
  1489. package/build-module/card/card-header/component.js +4 -5
  1490. package/build-module/card/card-header/component.js.map +1 -1
  1491. package/build-module/card/card-header/hook.js +5 -2
  1492. package/build-module/card/card-header/hook.js.map +1 -1
  1493. package/build-module/card/card-header/index.js.map +1 -1
  1494. package/build-module/card/card-media/component.js +4 -5
  1495. package/build-module/card/card-media/component.js.map +1 -1
  1496. package/build-module/card/card-media/hook.js +5 -2
  1497. package/build-module/card/card-media/hook.js.map +1 -1
  1498. package/build-module/card/card-media/index.js.map +1 -1
  1499. package/build-module/card/context.js.map +1 -1
  1500. package/build-module/card/index.js.map +1 -1
  1501. package/build-module/card/styles.js +3 -3
  1502. package/build-module/card/styles.js.map +1 -1
  1503. package/build-module/card/types.js.map +1 -1
  1504. package/build-module/checkbox-control/index.js +6 -12
  1505. package/build-module/checkbox-control/index.js.map +1 -1
  1506. package/build-module/checkbox-control/types.js.map +1 -1
  1507. package/build-module/circular-option-picker/index.js +3 -4
  1508. package/build-module/circular-option-picker/index.js.map +1 -1
  1509. package/build-module/circular-option-picker/types.js.map +1 -1
  1510. package/build-module/clipboard-button/index.js +7 -9
  1511. package/build-module/clipboard-button/index.js.map +1 -1
  1512. package/build-module/clipboard-button/types.js.map +1 -1
  1513. package/build-module/color-control/index.native.js +0 -3
  1514. package/build-module/color-control/index.native.js.map +1 -1
  1515. package/build-module/color-indicator/index.js +2 -4
  1516. package/build-module/color-indicator/index.js.map +1 -1
  1517. package/build-module/color-indicator/index.native.js +0 -8
  1518. package/build-module/color-indicator/index.native.js.map +1 -1
  1519. package/build-module/color-indicator/types.js.map +1 -1
  1520. package/build-module/color-palette/index.js +18 -19
  1521. package/build-module/color-palette/index.js.map +1 -1
  1522. package/build-module/color-palette/index.native.js +5 -32
  1523. package/build-module/color-palette/index.native.js.map +1 -1
  1524. package/build-module/color-palette/styles.js +0 -2
  1525. package/build-module/color-palette/styles.js.map +1 -1
  1526. package/build-module/color-palette/types.js.map +1 -1
  1527. package/build-module/color-palette/utils.js +9 -17
  1528. package/build-module/color-palette/utils.js.map +1 -1
  1529. package/build-module/color-picker/color-copy-button.js +1 -5
  1530. package/build-module/color-picker/color-copy-button.js.map +1 -1
  1531. package/build-module/color-picker/color-input.js +6 -7
  1532. package/build-module/color-picker/color-input.js.map +1 -1
  1533. package/build-module/color-picker/component.js +5 -6
  1534. package/build-module/color-picker/component.js.map +1 -1
  1535. package/build-module/color-picker/hex-input.js +7 -10
  1536. package/build-module/color-picker/hex-input.js.map +1 -1
  1537. package/build-module/color-picker/hsl-input.js +1 -2
  1538. package/build-module/color-picker/hsl-input.js.map +1 -1
  1539. package/build-module/color-picker/index.js.map +1 -1
  1540. package/build-module/color-picker/index.native.js +2 -16
  1541. package/build-module/color-picker/index.native.js.map +1 -1
  1542. package/build-module/color-picker/input-with-slider.js +3 -6
  1543. package/build-module/color-picker/input-with-slider.js.map +1 -1
  1544. package/build-module/color-picker/legacy-adapter.js +2 -2
  1545. package/build-module/color-picker/legacy-adapter.js.map +1 -1
  1546. package/build-module/color-picker/picker.js +1 -2
  1547. package/build-module/color-picker/picker.js.map +1 -1
  1548. package/build-module/color-picker/rgb-input.js +1 -2
  1549. package/build-module/color-picker/rgb-input.js.map +1 -1
  1550. package/build-module/color-picker/styles.js +2 -2
  1551. package/build-module/color-picker/styles.js.map +1 -1
  1552. package/build-module/color-picker/types.js.map +1 -1
  1553. package/build-module/color-picker/use-deprecated-props.js +4 -6
  1554. package/build-module/color-picker/use-deprecated-props.js.map +1 -1
  1555. package/build-module/combobox-control/index.js +19 -46
  1556. package/build-module/combobox-control/index.js.map +1 -1
  1557. package/build-module/combobox-control/styles.js +2 -4
  1558. package/build-module/combobox-control/styles.js.map +1 -1
  1559. package/build-module/combobox-control/types.js.map +1 -1
  1560. package/build-module/composite/index.js +0 -1
  1561. package/build-module/composite/index.js.map +1 -1
  1562. package/build-module/confirm-dialog/component.js +1 -6
  1563. package/build-module/confirm-dialog/component.js.map +1 -1
  1564. package/build-module/confirm-dialog/index.js.map +1 -1
  1565. package/build-module/confirm-dialog/styles.js +1 -2
  1566. package/build-module/confirm-dialog/styles.js.map +1 -1
  1567. package/build-module/confirm-dialog/types.js.map +1 -1
  1568. package/build-module/custom-gradient-picker/constants.js.map +1 -1
  1569. package/build-module/custom-gradient-picker/gradient-bar/constants.js.map +1 -1
  1570. package/build-module/custom-gradient-picker/gradient-bar/control-points.js +7 -20
  1571. package/build-module/custom-gradient-picker/gradient-bar/control-points.js.map +1 -1
  1572. package/build-module/custom-gradient-picker/gradient-bar/index.js +4 -24
  1573. package/build-module/custom-gradient-picker/gradient-bar/index.js.map +1 -1
  1574. package/build-module/custom-gradient-picker/gradient-bar/utils.js +11 -12
  1575. package/build-module/custom-gradient-picker/gradient-bar/utils.js.map +1 -1
  1576. package/build-module/custom-gradient-picker/index.js +13 -23
  1577. package/build-module/custom-gradient-picker/index.js.map +1 -1
  1578. package/build-module/custom-gradient-picker/index.native.js +7 -17
  1579. package/build-module/custom-gradient-picker/index.native.js.map +1 -1
  1580. package/build-module/custom-gradient-picker/serializer.js +1 -5
  1581. package/build-module/custom-gradient-picker/serializer.js.map +1 -1
  1582. package/build-module/custom-gradient-picker/styles/custom-gradient-picker-styles.js +0 -2
  1583. package/build-module/custom-gradient-picker/styles/custom-gradient-picker-styles.js.map +1 -1
  1584. package/build-module/custom-gradient-picker/types.js.map +1 -1
  1585. package/build-module/custom-gradient-picker/utils.js +3 -11
  1586. package/build-module/custom-gradient-picker/utils.js.map +1 -1
  1587. package/build-module/custom-select-control/index.js +19 -29
  1588. package/build-module/custom-select-control/index.js.map +1 -1
  1589. package/build-module/custom-select-control/styles.js +0 -4
  1590. package/build-module/custom-select-control/styles.js.map +1 -1
  1591. package/build-module/dashicon/index.js +7 -5
  1592. package/build-module/dashicon/index.js.map +1 -1
  1593. package/build-module/dashicon/index.native.js +3 -4
  1594. package/build-module/dashicon/index.native.js.map +1 -1
  1595. package/build-module/dashicon/types.js.map +1 -1
  1596. package/build-module/date-time/constants.js.map +1 -1
  1597. package/build-module/date-time/date/index.js +22 -33
  1598. package/build-module/date-time/date/index.js.map +1 -1
  1599. package/build-module/date-time/date/styles.js +8 -10
  1600. package/build-module/date-time/date/styles.js.map +1 -1
  1601. package/build-module/date-time/date-time/index.js +1 -6
  1602. package/build-module/date-time/date-time/index.js.map +1 -1
  1603. package/build-module/date-time/date-time/styles.js +0 -2
  1604. package/build-module/date-time/date-time/styles.js.map +1 -1
  1605. package/build-module/date-time/index.js.map +1 -1
  1606. package/build-module/date-time/time/index.js +15 -31
  1607. package/build-module/date-time/time/index.js.map +1 -1
  1608. package/build-module/date-time/time/styles.js +5 -5
  1609. package/build-module/date-time/time/styles.js.map +1 -1
  1610. package/build-module/date-time/time/timezone.js +7 -8
  1611. package/build-module/date-time/time/timezone.js.map +1 -1
  1612. package/build-module/date-time/types.js.map +1 -1
  1613. package/build-module/date-time/utils.js +1 -2
  1614. package/build-module/date-time/utils.js.map +1 -1
  1615. package/build-module/dimension-control/index.js +2 -8
  1616. package/build-module/dimension-control/index.js.map +1 -1
  1617. package/build-module/dimension-control/sizes.js +1 -0
  1618. package/build-module/dimension-control/sizes.js.map +1 -1
  1619. package/build-module/dimension-control/types.js.map +1 -1
  1620. package/build-module/disabled/index.js +2 -4
  1621. package/build-module/disabled/index.js.map +1 -1
  1622. package/build-module/disabled/index.native.js +0 -3
  1623. package/build-module/disabled/index.native.js.map +1 -1
  1624. package/build-module/disabled/styles/disabled-styles.js +0 -1
  1625. package/build-module/disabled/styles/disabled-styles.js.map +1 -1
  1626. package/build-module/disabled/types.js.map +1 -1
  1627. package/build-module/disclosure/index.js +0 -1
  1628. package/build-module/disclosure/index.js.map +1 -1
  1629. package/build-module/divider/component.js +1 -8
  1630. package/build-module/divider/component.js.map +1 -1
  1631. package/build-module/divider/index.js.map +1 -1
  1632. package/build-module/divider/styles.js +5 -10
  1633. package/build-module/divider/styles.js.map +1 -1
  1634. package/build-module/divider/types.js.map +1 -1
  1635. package/build-module/draggable/index.js +30 -35
  1636. package/build-module/draggable/index.js.map +1 -1
  1637. package/build-module/draggable/index.native.js +6 -18
  1638. package/build-module/draggable/index.native.js.map +1 -1
  1639. package/build-module/draggable/types.js.map +1 -1
  1640. package/build-module/drop-zone/index.js +10 -17
  1641. package/build-module/drop-zone/index.js.map +1 -1
  1642. package/build-module/drop-zone/provider.js.map +1 -1
  1643. package/build-module/drop-zone/types.js.map +1 -1
  1644. package/build-module/dropdown/dropdown-content-wrapper.js +4 -5
  1645. package/build-module/dropdown/dropdown-content-wrapper.js.map +1 -1
  1646. package/build-module/dropdown/index.js +12 -23
  1647. package/build-module/dropdown/index.js.map +1 -1
  1648. package/build-module/dropdown/index.native.js +0 -11
  1649. package/build-module/dropdown/index.native.js.map +1 -1
  1650. package/build-module/dropdown/styles.js +0 -4
  1651. package/build-module/dropdown/styles.js.map +1 -1
  1652. package/build-module/dropdown/types.js.map +1 -1
  1653. package/build-module/dropdown-menu/index.js +11 -25
  1654. package/build-module/dropdown-menu/index.js.map +1 -1
  1655. package/build-module/dropdown-menu/index.native.js +8 -19
  1656. package/build-module/dropdown-menu/index.native.js.map +1 -1
  1657. package/build-module/dropdown-menu/types.js.map +1 -1
  1658. package/build-module/dropdown-menu-v2/index.js +21 -16
  1659. package/build-module/dropdown-menu-v2/index.js.map +1 -1
  1660. package/build-module/dropdown-menu-v2/styles.js +4 -6
  1661. package/build-module/dropdown-menu-v2/styles.js.map +1 -1
  1662. package/build-module/dropdown-menu-v2/types.js.map +1 -1
  1663. package/build-module/duotone-picker/color-list-picker/index.js +1 -5
  1664. package/build-module/duotone-picker/color-list-picker/index.js.map +1 -1
  1665. package/build-module/duotone-picker/color-list-picker/types.js.map +1 -1
  1666. package/build-module/duotone-picker/custom-duotone-bar.js +0 -1
  1667. package/build-module/duotone-picker/custom-duotone-bar.js.map +1 -1
  1668. package/build-module/duotone-picker/duotone-picker.js +8 -11
  1669. package/build-module/duotone-picker/duotone-picker.js.map +1 -1
  1670. package/build-module/duotone-picker/duotone-swatch.js +1 -4
  1671. package/build-module/duotone-picker/duotone-swatch.js.map +1 -1
  1672. package/build-module/duotone-picker/index.js.map +1 -1
  1673. package/build-module/duotone-picker/types.js.map +1 -1
  1674. package/build-module/duotone-picker/utils.js +5 -4
  1675. package/build-module/duotone-picker/utils.js.map +1 -1
  1676. package/build-module/elevation/component.js +4 -5
  1677. package/build-module/elevation/component.js.map +1 -1
  1678. package/build-module/elevation/hook.js +9 -12
  1679. package/build-module/elevation/hook.js.map +1 -1
  1680. package/build-module/elevation/index.js.map +1 -1
  1681. package/build-module/elevation/styles.js +0 -1
  1682. package/build-module/elevation/styles.js.map +1 -1
  1683. package/build-module/elevation/types.js.map +1 -1
  1684. package/build-module/external-link/index.js +6 -16
  1685. package/build-module/external-link/index.js.map +1 -1
  1686. package/build-module/external-link/index.native.js +2 -2
  1687. package/build-module/external-link/index.native.js.map +1 -1
  1688. package/build-module/external-link/styles/external-link-styles.js +0 -2
  1689. package/build-module/external-link/styles/external-link-styles.js.map +1 -1
  1690. package/build-module/external-link/types.js.map +1 -1
  1691. package/build-module/flex/context.js.map +1 -1
  1692. package/build-module/flex/flex/component.js +4 -5
  1693. package/build-module/flex/flex/component.js.map +1 -1
  1694. package/build-module/flex/flex/hook.js +7 -8
  1695. package/build-module/flex/flex/hook.js.map +1 -1
  1696. package/build-module/flex/flex/index.js.map +1 -1
  1697. package/build-module/flex/flex-block/component.js +4 -5
  1698. package/build-module/flex/flex-block/component.js.map +1 -1
  1699. package/build-module/flex/flex-block/hook.js +1 -0
  1700. package/build-module/flex/flex-block/hook.js.map +1 -1
  1701. package/build-module/flex/flex-block/index.js.map +1 -1
  1702. package/build-module/flex/flex-item/component.js +4 -5
  1703. package/build-module/flex/flex-item/component.js.map +1 -1
  1704. package/build-module/flex/flex-item/hook.js +5 -2
  1705. package/build-module/flex/flex-item/hook.js.map +1 -1
  1706. package/build-module/flex/flex-item/index.js.map +1 -1
  1707. package/build-module/flex/index.js.map +1 -1
  1708. package/build-module/flex/styles.js +1 -2
  1709. package/build-module/flex/styles.js.map +1 -1
  1710. package/build-module/flex/types.js.map +1 -1
  1711. package/build-module/focal-point-picker/controls.js +3 -9
  1712. package/build-module/focal-point-picker/controls.js.map +1 -1
  1713. package/build-module/focal-point-picker/focal-point.js +3 -3
  1714. package/build-module/focal-point-picker/focal-point.js.map +1 -1
  1715. package/build-module/focal-point-picker/focal-point.native.js +1 -2
  1716. package/build-module/focal-point-picker/focal-point.native.js.map +1 -1
  1717. package/build-module/focal-point-picker/grid.js +2 -2
  1718. package/build-module/focal-point-picker/grid.js.map +1 -1
  1719. package/build-module/focal-point-picker/index.js +23 -24
  1720. package/build-module/focal-point-picker/index.js.map +1 -1
  1721. package/build-module/focal-point-picker/index.native.js +16 -25
  1722. package/build-module/focal-point-picker/index.native.js.map +1 -1
  1723. package/build-module/focal-point-picker/media.js +4 -4
  1724. package/build-module/focal-point-picker/media.js.map +1 -1
  1725. package/build-module/focal-point-picker/styles/focal-point-picker-style.js +0 -8
  1726. package/build-module/focal-point-picker/styles/focal-point-picker-style.js.map +1 -1
  1727. package/build-module/focal-point-picker/styles/focal-point-style.js +1 -1
  1728. package/build-module/focal-point-picker/styles/focal-point-style.js.map +1 -1
  1729. package/build-module/focal-point-picker/tooltip/index.native.js +6 -14
  1730. package/build-module/focal-point-picker/tooltip/index.native.js.map +1 -1
  1731. package/build-module/focal-point-picker/types.js.map +1 -1
  1732. package/build-module/focal-point-picker/utils.js +3 -3
  1733. package/build-module/focal-point-picker/utils.js.map +1 -1
  1734. package/build-module/focusable-iframe/index.js +3 -4
  1735. package/build-module/focusable-iframe/index.js.map +1 -1
  1736. package/build-module/font-size-picker/constants.js +7 -12
  1737. package/build-module/font-size-picker/constants.js.map +1 -1
  1738. package/build-module/font-size-picker/font-size-picker-select.js +3 -9
  1739. package/build-module/font-size-picker/font-size-picker-select.js.map +1 -1
  1740. package/build-module/font-size-picker/font-size-picker-toggle-group.js +1 -4
  1741. package/build-module/font-size-picker/font-size-picker-toggle-group.js.map +1 -1
  1742. package/build-module/font-size-picker/index.js +4 -15
  1743. package/build-module/font-size-picker/index.js.map +1 -1
  1744. package/build-module/font-size-picker/index.native.js +10 -18
  1745. package/build-module/font-size-picker/index.native.js.map +1 -1
  1746. package/build-module/font-size-picker/styles.js +0 -2
  1747. package/build-module/font-size-picker/styles.js.map +1 -1
  1748. package/build-module/font-size-picker/types.js.map +1 -1
  1749. package/build-module/font-size-picker/utils.js +3 -4
  1750. package/build-module/font-size-picker/utils.js.map +1 -1
  1751. package/build-module/footer-message-control/index.native.js +4 -6
  1752. package/build-module/footer-message-control/index.native.js.map +1 -1
  1753. package/build-module/form-file-upload/index.js +1 -5
  1754. package/build-module/form-file-upload/index.js.map +1 -1
  1755. package/build-module/form-file-upload/types.js.map +1 -1
  1756. package/build-module/form-toggle/index.js +2 -2
  1757. package/build-module/form-toggle/index.js.map +1 -1
  1758. package/build-module/form-toggle/types.js.map +1 -1
  1759. package/build-module/form-token-field/index.js +26 -112
  1760. package/build-module/form-token-field/index.js.map +1 -1
  1761. package/build-module/form-token-field/styles.js +2 -4
  1762. package/build-module/form-token-field/styles.js.map +1 -1
  1763. package/build-module/form-token-field/suggestions-list.js +3 -14
  1764. package/build-module/form-token-field/suggestions-list.js.map +1 -1
  1765. package/build-module/form-token-field/token-input.js +3 -7
  1766. package/build-module/form-token-field/token-input.js.map +1 -1
  1767. package/build-module/form-token-field/token.js +3 -9
  1768. package/build-module/form-token-field/token.js.map +1 -1
  1769. package/build-module/form-token-field/types.js.map +1 -1
  1770. package/build-module/gradient-picker/index.js +14 -18
  1771. package/build-module/gradient-picker/index.js.map +1 -1
  1772. package/build-module/gradient-picker/types.js.map +1 -1
  1773. package/build-module/grid/component.js +4 -5
  1774. package/build-module/grid/component.js.map +1 -1
  1775. package/build-module/grid/hook.js +5 -3
  1776. package/build-module/grid/hook.js.map +1 -1
  1777. package/build-module/grid/index.js.map +1 -1
  1778. package/build-module/grid/types.js.map +1 -1
  1779. package/build-module/grid/utils.js +1 -0
  1780. package/build-module/grid/utils.js.map +1 -1
  1781. package/build-module/guide/icons.js +0 -1
  1782. package/build-module/guide/icons.js.map +1 -1
  1783. package/build-module/guide/index.js +6 -17
  1784. package/build-module/guide/index.js.map +1 -1
  1785. package/build-module/guide/page-control.js +4 -5
  1786. package/build-module/guide/page-control.js.map +1 -1
  1787. package/build-module/guide/page.js +3 -2
  1788. package/build-module/guide/page.js.map +1 -1
  1789. package/build-module/guide/types.js.map +1 -1
  1790. package/build-module/h-stack/component.js +4 -5
  1791. package/build-module/h-stack/component.js.map +1 -1
  1792. package/build-module/h-stack/hook.js +1 -5
  1793. package/build-module/h-stack/hook.js.map +1 -1
  1794. package/build-module/h-stack/index.js.map +1 -1
  1795. package/build-module/h-stack/types.js.map +1 -1
  1796. package/build-module/h-stack/utils.js +1 -1
  1797. package/build-module/h-stack/utils.js.map +1 -1
  1798. package/build-module/heading/component.js +4 -5
  1799. package/build-module/heading/component.js.map +1 -1
  1800. package/build-module/heading/hook.js +3 -3
  1801. package/build-module/heading/hook.js.map +1 -1
  1802. package/build-module/heading/index.js.map +1 -1
  1803. package/build-module/heading/types.js.map +1 -1
  1804. package/build-module/higher-order/navigate-regions/index.js +7 -16
  1805. package/build-module/higher-order/navigate-regions/index.js.map +1 -1
  1806. package/build-module/higher-order/with-constrained-tabbing/index.js +3 -3
  1807. package/build-module/higher-order/with-constrained-tabbing/index.js.map +1 -1
  1808. package/build-module/higher-order/with-fallback-styles/index.js +3 -12
  1809. package/build-module/higher-order/with-fallback-styles/index.js.map +1 -1
  1810. package/build-module/higher-order/with-filters/index.js +15 -19
  1811. package/build-module/higher-order/with-filters/index.js.map +1 -1
  1812. package/build-module/higher-order/with-focus-outside/index.js +2 -1
  1813. package/build-module/higher-order/with-focus-outside/index.js.map +1 -1
  1814. package/build-module/higher-order/with-focus-outside/index.native.js +2 -3
  1815. package/build-module/higher-order/with-focus-outside/index.native.js.map +1 -1
  1816. package/build-module/higher-order/with-focus-return/index.js +5 -8
  1817. package/build-module/higher-order/with-focus-return/index.js.map +1 -1
  1818. package/build-module/higher-order/with-notices/index.js +14 -15
  1819. package/build-module/higher-order/with-notices/index.js.map +1 -1
  1820. package/build-module/higher-order/with-notices/types.js.map +1 -1
  1821. package/build-module/higher-order/with-spoken-messages/index.js +3 -3
  1822. package/build-module/higher-order/with-spoken-messages/index.js.map +1 -1
  1823. package/build-module/icon/index.js +7 -11
  1824. package/build-module/icon/index.js.map +1 -1
  1825. package/build-module/index.js +6 -3
  1826. package/build-module/index.js.map +1 -1
  1827. package/build-module/index.native.js +8 -5
  1828. package/build-module/index.native.js.map +1 -1
  1829. package/build-module/input-control/backdrop.js +0 -4
  1830. package/build-module/input-control/backdrop.js.map +1 -1
  1831. package/build-module/input-control/index.js +6 -9
  1832. package/build-module/input-control/index.js.map +1 -1
  1833. package/build-module/input-control/input-base.js +7 -12
  1834. package/build-module/input-control/input-base.js.map +1 -1
  1835. package/build-module/input-control/input-field.js +11 -32
  1836. package/build-module/input-control/input-field.js.map +1 -1
  1837. package/build-module/input-control/input-prefix-wrapper.js +1 -4
  1838. package/build-module/input-control/input-prefix-wrapper.js.map +1 -1
  1839. package/build-module/input-control/input-suffix-wrapper.js +1 -4
  1840. package/build-module/input-control/input-suffix-wrapper.js.map +1 -1
  1841. package/build-module/input-control/label.js +0 -3
  1842. package/build-module/input-control/label.js.map +1 -1
  1843. package/build-module/input-control/reducer/actions.js +1 -0
  1844. package/build-module/input-control/reducer/actions.js.map +1 -1
  1845. package/build-module/input-control/reducer/reducer.js +18 -35
  1846. package/build-module/input-control/reducer/reducer.js.map +1 -1
  1847. package/build-module/input-control/reducer/state.js +1 -0
  1848. package/build-module/input-control/reducer/state.js.map +1 -1
  1849. package/build-module/input-control/styles/input-control-styles.js +28 -54
  1850. package/build-module/input-control/styles/input-control-styles.js.map +1 -1
  1851. package/build-module/input-control/types.js.map +1 -1
  1852. package/build-module/input-control/utils.js +7 -10
  1853. package/build-module/input-control/utils.js.map +1 -1
  1854. package/build-module/isolated-event-container/index.js +6 -7
  1855. package/build-module/isolated-event-container/index.js.map +1 -1
  1856. package/build-module/item-group/context.js +1 -0
  1857. package/build-module/item-group/context.js.map +1 -1
  1858. package/build-module/item-group/index.js.map +1 -1
  1859. package/build-module/item-group/item/component.js +4 -5
  1860. package/build-module/item-group/item/component.js.map +1 -1
  1861. package/build-module/item-group/item/hook.js +1 -0
  1862. package/build-module/item-group/item/hook.js.map +1 -1
  1863. package/build-module/item-group/item/index.js.map +1 -1
  1864. package/build-module/item-group/item-group/component.js +4 -5
  1865. package/build-module/item-group/item-group/component.js.map +1 -1
  1866. package/build-module/item-group/item-group/hook.js +2 -1
  1867. package/build-module/item-group/item-group/hook.js.map +1 -1
  1868. package/build-module/item-group/item-group/index.js.map +1 -1
  1869. package/build-module/item-group/styles.js +12 -13
  1870. package/build-module/item-group/styles.js.map +1 -1
  1871. package/build-module/item-group/types.js.map +1 -1
  1872. package/build-module/keyboard-shortcuts/index.js +5 -7
  1873. package/build-module/keyboard-shortcuts/index.js.map +1 -1
  1874. package/build-module/keyboard-shortcuts/index.native.js +0 -1
  1875. package/build-module/keyboard-shortcuts/index.native.js.map +1 -1
  1876. package/build-module/keyboard-shortcuts/types.js.map +1 -1
  1877. package/build-module/menu-group/index.js +2 -4
  1878. package/build-module/menu-group/index.js.map +1 -1
  1879. package/build-module/menu-group/types.js.map +1 -1
  1880. package/build-module/menu-item/index.js +28 -8
  1881. package/build-module/menu-item/index.js.map +1 -1
  1882. package/build-module/menu-item/types.js.map +1 -0
  1883. package/build-module/menu-items-choice/index.js +3 -7
  1884. package/build-module/menu-items-choice/index.js.map +1 -1
  1885. package/build-module/menu-items-choice/types.js.map +1 -1
  1886. package/build-module/mobile/audio-player/audio-url-parser.native.js.map +1 -1
  1887. package/build-module/mobile/audio-player/index.native.js +12 -19
  1888. package/build-module/mobile/audio-player/index.native.js.map +1 -1
  1889. package/build-module/mobile/autocompletion-items.native.js.map +1 -1
  1890. package/build-module/mobile/badge/index.native.js +2 -5
  1891. package/build-module/mobile/badge/index.native.js.map +1 -1
  1892. package/build-module/mobile/bottom-sheet/bottom-sheet-context.native.js +5 -5
  1893. package/build-module/mobile/bottom-sheet/bottom-sheet-context.native.js.map +1 -1
  1894. package/build-module/mobile/bottom-sheet/bottom-sheet-navigation/bottom-sheet-navigation-context.native.js +3 -2
  1895. package/build-module/mobile/bottom-sheet/bottom-sheet-navigation/bottom-sheet-navigation-context.native.js.map +1 -1
  1896. package/build-module/mobile/bottom-sheet/bottom-sheet-navigation/navigation-container.native.js +10 -16
  1897. package/build-module/mobile/bottom-sheet/bottom-sheet-navigation/navigation-container.native.js.map +1 -1
  1898. package/build-module/mobile/bottom-sheet/bottom-sheet-navigation/navigation-screen.native.js +6 -13
  1899. package/build-module/mobile/bottom-sheet/bottom-sheet-navigation/navigation-screen.native.js.map +1 -1
  1900. package/build-module/mobile/bottom-sheet/button.native.js +3 -5
  1901. package/build-module/mobile/bottom-sheet/button.native.js.map +1 -1
  1902. package/build-module/mobile/bottom-sheet/cell.native.js +18 -45
  1903. package/build-module/mobile/bottom-sheet/cell.native.js.map +1 -1
  1904. package/build-module/mobile/bottom-sheet/chevron-back.native.js +2 -2
  1905. package/build-module/mobile/bottom-sheet/chevron-back.native.js.map +1 -1
  1906. package/build-module/mobile/bottom-sheet/color-cell.native.js +3 -5
  1907. package/build-module/mobile/bottom-sheet/color-cell.native.js.map +1 -1
  1908. package/build-module/mobile/bottom-sheet/cycle-picker-cell.native.js +0 -3
  1909. package/build-module/mobile/bottom-sheet/cycle-picker-cell.native.js.map +1 -1
  1910. package/build-module/mobile/bottom-sheet/footer-message-cell.native.js +2 -5
  1911. package/build-module/mobile/bottom-sheet/footer-message-cell.native.js.map +1 -1
  1912. package/build-module/mobile/bottom-sheet/footer-message-link/footer-message-link.native.js +0 -5
  1913. package/build-module/mobile/bottom-sheet/footer-message-link/footer-message-link.native.js.map +1 -1
  1914. package/build-module/mobile/bottom-sheet/index.native.js +27 -72
  1915. package/build-module/mobile/bottom-sheet/index.native.js.map +1 -1
  1916. package/build-module/mobile/bottom-sheet/keyboard-avoiding-view.native.js +3 -21
  1917. package/build-module/mobile/bottom-sheet/keyboard-avoiding-view.native.js.map +1 -1
  1918. package/build-module/mobile/bottom-sheet/link-cell.native.js +3 -3
  1919. package/build-module/mobile/bottom-sheet/link-cell.native.js.map +1 -1
  1920. package/build-module/mobile/bottom-sheet/link-suggestion-item-cell.native.js +6 -13
  1921. package/build-module/mobile/bottom-sheet/link-suggestion-item-cell.native.js.map +1 -1
  1922. package/build-module/mobile/bottom-sheet/lock-icon/index.native.js +1 -2
  1923. package/build-module/mobile/bottom-sheet/lock-icon/index.native.js.map +1 -1
  1924. package/build-module/mobile/bottom-sheet/nav-bar/action-button.native.js +3 -4
  1925. package/build-module/mobile/bottom-sheet/nav-bar/action-button.native.js.map +1 -1
  1926. package/build-module/mobile/bottom-sheet/nav-bar/apply-button.native.js +2 -5
  1927. package/build-module/mobile/bottom-sheet/nav-bar/apply-button.native.js.map +1 -1
  1928. package/build-module/mobile/bottom-sheet/nav-bar/back-button.native.js +2 -11
  1929. package/build-module/mobile/bottom-sheet/nav-bar/back-button.native.js.map +1 -1
  1930. package/build-module/mobile/bottom-sheet/nav-bar/heading.native.js +2 -5
  1931. package/build-module/mobile/bottom-sheet/nav-bar/heading.native.js.map +1 -1
  1932. package/build-module/mobile/bottom-sheet/nav-bar/index.native.js +1 -4
  1933. package/build-module/mobile/bottom-sheet/nav-bar/index.native.js.map +1 -1
  1934. package/build-module/mobile/bottom-sheet/picker-cell.native.js +0 -4
  1935. package/build-module/mobile/bottom-sheet/picker-cell.native.js.map +1 -1
  1936. package/build-module/mobile/bottom-sheet/radio-cell.native.js +3 -5
  1937. package/build-module/mobile/bottom-sheet/radio-cell.native.js.map +1 -1
  1938. package/build-module/mobile/bottom-sheet/range-cell.native.js +8 -34
  1939. package/build-module/mobile/bottom-sheet/range-cell.native.js.map +1 -1
  1940. package/build-module/mobile/bottom-sheet/range-text-input.native.js +2 -27
  1941. package/build-module/mobile/bottom-sheet/range-text-input.native.js.map +1 -1
  1942. package/build-module/mobile/bottom-sheet/ripple.native.js +6 -9
  1943. package/build-module/mobile/bottom-sheet/ripple.native.js.map +1 -1
  1944. package/build-module/mobile/bottom-sheet/stepper-cell/index.native.js +3 -26
  1945. package/build-module/mobile/bottom-sheet/stepper-cell/index.native.js.map +1 -1
  1946. package/build-module/mobile/bottom-sheet/stepper-cell/stepper.android.js +2 -5
  1947. package/build-module/mobile/bottom-sheet/stepper-cell/stepper.android.js.map +1 -1
  1948. package/build-module/mobile/bottom-sheet/stepper-cell/stepper.ios.js +2 -5
  1949. package/build-module/mobile/bottom-sheet/stepper-cell/stepper.ios.js.map +1 -1
  1950. package/build-module/mobile/bottom-sheet/sub-sheet/index.native.js +3 -6
  1951. package/build-module/mobile/bottom-sheet/sub-sheet/index.native.js.map +1 -1
  1952. package/build-module/mobile/bottom-sheet/switch-cell.native.js +8 -18
  1953. package/build-module/mobile/bottom-sheet/switch-cell.native.js.map +1 -1
  1954. package/build-module/mobile/bottom-sheet-select-control/index.native.js +7 -13
  1955. package/build-module/mobile/bottom-sheet-select-control/index.native.js.map +1 -1
  1956. package/build-module/mobile/bottom-sheet-text-control/index.native.js +2 -8
  1957. package/build-module/mobile/bottom-sheet-text-control/index.native.js.map +1 -1
  1958. package/build-module/mobile/clipboard/index.native.js +0 -4
  1959. package/build-module/mobile/clipboard/index.native.js.map +1 -1
  1960. package/build-module/mobile/color-settings/gradient-picker-screen.native.js +2 -5
  1961. package/build-module/mobile/color-settings/gradient-picker-screen.native.js.map +1 -1
  1962. package/build-module/mobile/color-settings/index.native.js +4 -6
  1963. package/build-module/mobile/color-settings/index.native.js.map +1 -1
  1964. package/build-module/mobile/color-settings/palette.screen.native.js +2 -14
  1965. package/build-module/mobile/color-settings/palette.screen.native.js.map +1 -1
  1966. package/build-module/mobile/color-settings/picker-screen.native.js +4 -6
  1967. package/build-module/mobile/color-settings/picker-screen.native.js.map +1 -1
  1968. package/build-module/mobile/color-settings/utils.native.js +0 -3
  1969. package/build-module/mobile/color-settings/utils.native.js.map +1 -1
  1970. package/build-module/mobile/cycle-select-control/index.native.js +0 -4
  1971. package/build-module/mobile/cycle-select-control/index.native.js.map +1 -1
  1972. package/build-module/mobile/dashicons/index.native.js +0 -3
  1973. package/build-module/mobile/dashicons/index.native.js.map +1 -1
  1974. package/build-module/mobile/focal-point-settings-panel/index.native.js +4 -11
  1975. package/build-module/mobile/focal-point-settings-panel/index.native.js.map +1 -1
  1976. package/build-module/mobile/global-styles-context/index.native.js +10 -7
  1977. package/build-module/mobile/global-styles-context/index.native.js.map +1 -1
  1978. package/build-module/mobile/global-styles-context/utils.native.js +27 -53
  1979. package/build-module/mobile/global-styles-context/utils.native.js.map +1 -1
  1980. package/build-module/mobile/gradient/index.native.js +6 -22
  1981. package/build-module/mobile/gradient/index.native.js.map +1 -1
  1982. package/build-module/mobile/gridicons/index.native.js +0 -3
  1983. package/build-module/mobile/gridicons/index.native.js.map +1 -1
  1984. package/build-module/mobile/html-text-input/index.native.js +8 -18
  1985. package/build-module/mobile/html-text-input/index.native.js.map +1 -1
  1986. package/build-module/mobile/image/icon-customize.native.js +0 -1
  1987. package/build-module/mobile/image/icon-customize.native.js.map +1 -1
  1988. package/build-module/mobile/image/icon-retry.native.js +0 -1
  1989. package/build-module/mobile/image/icon-retry.native.js.map +1 -1
  1990. package/build-module/mobile/image/image-editing-button.native.js +2 -5
  1991. package/build-module/mobile/image/image-editing-button.native.js.map +1 -1
  1992. package/build-module/mobile/image/index.native.js +8 -20
  1993. package/build-module/mobile/image/index.native.js.map +1 -1
  1994. package/build-module/mobile/image/utils/index.native.js +0 -8
  1995. package/build-module/mobile/image/utils/index.native.js.map +1 -1
  1996. package/build-module/mobile/inserter-button/index.native.js +6 -10
  1997. package/build-module/mobile/inserter-button/index.native.js.map +1 -1
  1998. package/build-module/mobile/inserter-button/sparkles.js +0 -1
  1999. package/build-module/mobile/inserter-button/sparkles.js.map +1 -1
  2000. package/build-module/mobile/keyboard-avoiding-view/index.android.js.map +1 -1
  2001. package/build-module/mobile/keyboard-avoiding-view/index.ios.js +6 -9
  2002. package/build-module/mobile/keyboard-avoiding-view/index.ios.js.map +1 -1
  2003. package/build-module/mobile/keyboard-aware-flat-list/index.android.js +1 -2
  2004. package/build-module/mobile/keyboard-aware-flat-list/index.android.js.map +1 -1
  2005. package/build-module/mobile/keyboard-aware-flat-list/index.ios.js +15 -11
  2006. package/build-module/mobile/keyboard-aware-flat-list/index.ios.js.map +1 -1
  2007. package/build-module/mobile/keyboard-aware-flat-list/use-keyboard-offset.native.js +6 -7
  2008. package/build-module/mobile/keyboard-aware-flat-list/use-keyboard-offset.native.js.map +1 -1
  2009. package/build-module/mobile/keyboard-aware-flat-list/use-scroll-to-text-input.native.js +7 -10
  2010. package/build-module/mobile/keyboard-aware-flat-list/use-scroll-to-text-input.native.js.map +1 -1
  2011. package/build-module/mobile/keyboard-aware-flat-list/use-text-input-caret-position.native.js +1 -2
  2012. package/build-module/mobile/keyboard-aware-flat-list/use-text-input-caret-position.native.js.map +1 -1
  2013. package/build-module/mobile/keyboard-aware-flat-list/use-text-input-offset.native.js +3 -3
  2014. package/build-module/mobile/keyboard-aware-flat-list/use-text-input-offset.native.js.map +1 -1
  2015. package/build-module/mobile/layout-animation/index.native.js.map +1 -1
  2016. package/build-module/mobile/link-picker/index.native.js +18 -47
  2017. package/build-module/mobile/link-picker/index.native.js.map +1 -1
  2018. package/build-module/mobile/link-picker/link-picker-results.native.js +14 -21
  2019. package/build-module/mobile/link-picker/link-picker-results.native.js.map +1 -1
  2020. package/build-module/mobile/link-picker/link-picker-screen.native.js +4 -9
  2021. package/build-module/mobile/link-picker/link-picker-screen.native.js.map +1 -1
  2022. package/build-module/mobile/link-settings/image-link-destinations-screen.native.js +2 -13
  2023. package/build-module/mobile/link-settings/image-link-destinations-screen.native.js.map +1 -1
  2024. package/build-module/mobile/link-settings/index.native.js +17 -36
  2025. package/build-module/mobile/link-settings/index.native.js.map +1 -1
  2026. package/build-module/mobile/link-settings/link-rel.native.js +0 -1
  2027. package/build-module/mobile/link-settings/link-rel.native.js.map +1 -1
  2028. package/build-module/mobile/link-settings/link-settings-navigation.native.js +4 -7
  2029. package/build-module/mobile/link-settings/link-settings-navigation.native.js.map +1 -1
  2030. package/build-module/mobile/link-settings/link-settings-screen.native.js +6 -9
  2031. package/build-module/mobile/link-settings/link-settings-screen.native.js.map +1 -1
  2032. package/build-module/mobile/media-edit/index.native.js +2 -14
  2033. package/build-module/mobile/media-edit/index.native.js.map +1 -1
  2034. package/build-module/mobile/picker/index.android.js +2 -11
  2035. package/build-module/mobile/picker/index.android.js.map +1 -1
  2036. package/build-module/mobile/picker/index.ios.js +2 -9
  2037. package/build-module/mobile/picker/index.ios.js.map +1 -1
  2038. package/build-module/mobile/segmented-control/index.native.js +7 -14
  2039. package/build-module/mobile/segmented-control/index.native.js.map +1 -1
  2040. package/build-module/mobile/utils/alignments.native.js +1 -11
  2041. package/build-module/mobile/utils/alignments.native.js.map +1 -1
  2042. package/build-module/mobile/utils/index.native.js.map +1 -1
  2043. package/build-module/mobile/utils/use-is-floating-keyboard.native.js +1 -2
  2044. package/build-module/mobile/utils/use-is-floating-keyboard.native.js.map +1 -1
  2045. package/build-module/mobile/utils/use-unit-converter-to-mobile.native.js +6 -17
  2046. package/build-module/mobile/utils/use-unit-converter-to-mobile.native.js.map +1 -1
  2047. package/build-module/modal/aria-helper.js +4 -7
  2048. package/build-module/modal/aria-helper.js.map +1 -1
  2049. package/build-module/modal/index.js +41 -37
  2050. package/build-module/modal/index.js.map +1 -1
  2051. package/build-module/modal/types.js.map +1 -1
  2052. package/build-module/navigable-container/container.js +14 -39
  2053. package/build-module/navigable-container/container.js.map +1 -1
  2054. package/build-module/navigable-container/index.js.map +1 -1
  2055. package/build-module/navigable-container/menu.js +2 -8
  2056. package/build-module/navigable-container/menu.js.map +1 -1
  2057. package/build-module/navigable-container/tabbable.js +5 -9
  2058. package/build-module/navigable-container/tabbable.js.map +1 -1
  2059. package/build-module/navigable-container/types.js.map +1 -1
  2060. package/build-module/navigation/back-button/index.js +1 -9
  2061. package/build-module/navigation/back-button/index.js.map +1 -1
  2062. package/build-module/navigation/constants.js.map +1 -1
  2063. package/build-module/navigation/context.js +1 -5
  2064. package/build-module/navigation/context.js.map +1 -1
  2065. package/build-module/navigation/group/context.js +1 -0
  2066. package/build-module/navigation/group/context.js.map +1 -1
  2067. package/build-module/navigation/group/index.js +4 -5
  2068. package/build-module/navigation/group/index.js.map +1 -1
  2069. package/build-module/navigation/index.js +7 -12
  2070. package/build-module/navigation/index.js.map +1 -1
  2071. package/build-module/navigation/item/base-content.js +0 -1
  2072. package/build-module/navigation/item/base-content.js.map +1 -1
  2073. package/build-module/navigation/item/base.js +2 -5
  2074. package/build-module/navigation/item/base.js.map +1 -1
  2075. package/build-module/navigation/item/index.js +11 -14
  2076. package/build-module/navigation/item/index.js.map +1 -1
  2077. package/build-module/navigation/item/use-navigation-tree-item.js +5 -3
  2078. package/build-module/navigation/item/use-navigation-tree-item.js.map +1 -1
  2079. package/build-module/navigation/menu/context.js +1 -0
  2080. package/build-module/navigation/menu/context.js.map +1 -1
  2081. package/build-module/navigation/menu/index.js +4 -5
  2082. package/build-module/navigation/menu/index.js.map +1 -1
  2083. package/build-module/navigation/menu/menu-title-search.js +8 -15
  2084. package/build-module/navigation/menu/menu-title-search.js.map +1 -1
  2085. package/build-module/navigation/menu/menu-title.js +4 -8
  2086. package/build-module/navigation/menu/menu-title.js.map +1 -1
  2087. package/build-module/navigation/menu/search-no-results-found.js +1 -4
  2088. package/build-module/navigation/menu/search-no-results-found.js.map +1 -1
  2089. package/build-module/navigation/menu/use-navigation-tree-menu.js +5 -3
  2090. package/build-module/navigation/menu/use-navigation-tree-menu.js.map +1 -1
  2091. package/build-module/navigation/styles/navigation-styles.js +13 -15
  2092. package/build-module/navigation/styles/navigation-styles.js.map +1 -1
  2093. package/build-module/navigation/types.js.map +1 -1
  2094. package/build-module/navigation/use-create-navigation-tree.js +4 -15
  2095. package/build-module/navigation/use-create-navigation-tree.js.map +1 -1
  2096. package/build-module/navigation/use-navigation-tree-nodes.js +2 -5
  2097. package/build-module/navigation/use-navigation-tree-nodes.js.map +1 -1
  2098. package/build-module/navigation/utils.js +2 -1
  2099. package/build-module/navigation/utils.js.map +1 -1
  2100. package/build-module/navigator/context.js +1 -0
  2101. package/build-module/navigator/context.js.map +1 -1
  2102. package/build-module/navigator/index.js.map +1 -1
  2103. package/build-module/navigator/navigator-back-button/component.js +2 -4
  2104. package/build-module/navigator/navigator-back-button/component.js.map +1 -1
  2105. package/build-module/navigator/navigator-back-button/hook.js +1 -2
  2106. package/build-module/navigator/navigator-back-button/hook.js.map +1 -1
  2107. package/build-module/navigator/navigator-back-button/index.js.map +1 -1
  2108. package/build-module/navigator/navigator-button/component.js +2 -4
  2109. package/build-module/navigator/navigator-button/component.js.map +1 -1
  2110. package/build-module/navigator/navigator-button/hook.js +1 -2
  2111. package/build-module/navigator/navigator-button/hook.js.map +1 -1
  2112. package/build-module/navigator/navigator-button/index.js.map +1 -1
  2113. package/build-module/navigator/navigator-provider/component.js +22 -35
  2114. package/build-module/navigator/navigator-provider/component.js.map +1 -1
  2115. package/build-module/navigator/navigator-provider/index.js.map +1 -1
  2116. package/build-module/navigator/navigator-screen/component.js +21 -23
  2117. package/build-module/navigator/navigator-screen/component.js.map +1 -1
  2118. package/build-module/navigator/navigator-screen/index.js.map +1 -1
  2119. package/build-module/navigator/navigator-to-parent-button/component.js +4 -5
  2120. package/build-module/navigator/navigator-to-parent-button/component.js.map +1 -1
  2121. package/build-module/navigator/navigator-to-parent-button/index.js.map +1 -1
  2122. package/build-module/navigator/types.js.map +1 -1
  2123. package/build-module/navigator/use-navigator.js +1 -3
  2124. package/build-module/navigator/use-navigator.js.map +1 -1
  2125. package/build-module/navigator/utils/router.js +1 -7
  2126. package/build-module/navigator/utils/router.js.map +1 -1
  2127. package/build-module/notice/index.js +4 -17
  2128. package/build-module/notice/index.js.map +1 -1
  2129. package/build-module/notice/index.native.js +2 -5
  2130. package/build-module/notice/index.native.js.map +1 -1
  2131. package/build-module/notice/list.js +4 -8
  2132. package/build-module/notice/list.js.map +1 -1
  2133. package/build-module/notice/list.native.js +4 -8
  2134. package/build-module/notice/list.native.js.map +1 -1
  2135. package/build-module/notice/types.js.map +1 -1
  2136. package/build-module/number-control/index.js +23 -41
  2137. package/build-module/number-control/index.js.map +1 -1
  2138. package/build-module/number-control/styles/number-control-styles.js +4 -11
  2139. package/build-module/number-control/styles/number-control-styles.js.map +1 -1
  2140. package/build-module/number-control/types.js.map +1 -1
  2141. package/build-module/palette-edit/index.js +28 -35
  2142. package/build-module/palette-edit/index.js.map +1 -1
  2143. package/build-module/palette-edit/styles.js +10 -12
  2144. package/build-module/palette-edit/styles.js.map +1 -1
  2145. package/build-module/palette-edit/types.js.map +1 -1
  2146. package/build-module/panel/actions.native.js +2 -5
  2147. package/build-module/panel/actions.native.js.map +1 -1
  2148. package/build-module/panel/body.js +9 -11
  2149. package/build-module/panel/body.js.map +1 -1
  2150. package/build-module/panel/body.native.js +1 -2
  2151. package/build-module/panel/body.native.js.map +1 -1
  2152. package/build-module/panel/bottom-separator-cover.native.js +2 -5
  2153. package/build-module/panel/bottom-separator-cover.native.js.map +1 -1
  2154. package/build-module/panel/header.js +0 -2
  2155. package/build-module/panel/header.js.map +1 -1
  2156. package/build-module/panel/index.js +3 -6
  2157. package/build-module/panel/index.js.map +1 -1
  2158. package/build-module/panel/row.js +2 -5
  2159. package/build-module/panel/row.js.map +1 -1
  2160. package/build-module/panel/types.js.map +1 -1
  2161. package/build-module/placeholder/index.js +8 -9
  2162. package/build-module/placeholder/index.js.map +1 -1
  2163. package/build-module/placeholder/types.js.map +1 -1
  2164. package/build-module/popover/index.js +47 -56
  2165. package/build-module/popover/index.js.map +1 -1
  2166. package/build-module/popover/limit-shift.js +4 -13
  2167. package/build-module/popover/limit-shift.js.map +1 -1
  2168. package/build-module/popover/overlay-middlewares.js +5 -6
  2169. package/build-module/popover/overlay-middlewares.js.map +1 -1
  2170. package/build-module/popover/types.js.map +1 -1
  2171. package/build-module/popover/utils.js +8 -23
  2172. package/build-module/popover/utils.js.map +1 -1
  2173. package/build-module/private-apis.js +4 -2
  2174. package/build-module/private-apis.js.map +1 -1
  2175. package/build-module/progress-bar/index.js +1 -4
  2176. package/build-module/progress-bar/index.js.map +1 -1
  2177. package/build-module/progress-bar/styles.js +9 -9
  2178. package/build-module/progress-bar/styles.js.map +1 -1
  2179. package/build-module/progress-bar/types.js.map +1 -1
  2180. package/build-module/query-controls/author-select.js +0 -1
  2181. package/build-module/query-controls/author-select.js.map +1 -1
  2182. package/build-module/query-controls/category-select.js +1 -2
  2183. package/build-module/query-controls/category-select.js.map +1 -1
  2184. package/build-module/query-controls/index.js +2 -9
  2185. package/build-module/query-controls/index.js.map +1 -1
  2186. package/build-module/query-controls/index.native.js +1 -4
  2187. package/build-module/query-controls/index.native.js.map +1 -1
  2188. package/build-module/query-controls/terms.js +6 -10
  2189. package/build-module/query-controls/terms.js.map +1 -1
  2190. package/build-module/query-controls/types.js.map +1 -1
  2191. package/build-module/radio-control/index.js +2 -7
  2192. package/build-module/radio-control/index.js.map +1 -1
  2193. package/build-module/radio-control/index.native.js +0 -3
  2194. package/build-module/radio-control/index.native.js.map +1 -1
  2195. package/build-module/radio-control/types.js.map +1 -1
  2196. package/build-module/radio-group/index.js +5 -6
  2197. package/build-module/radio-group/index.js.map +1 -1
  2198. package/build-module/radio-group/radio/index.js +3 -5
  2199. package/build-module/radio-group/radio/index.js.map +1 -1
  2200. package/build-module/radio-group/radio-context/index.js.map +1 -1
  2201. package/build-module/range-control/index.js +9 -26
  2202. package/build-module/range-control/index.js.map +1 -1
  2203. package/build-module/range-control/index.native.js +0 -3
  2204. package/build-module/range-control/index.native.js.map +1 -1
  2205. package/build-module/range-control/input-range.js +3 -5
  2206. package/build-module/range-control/input-range.js.map +1 -1
  2207. package/build-module/range-control/mark.js +3 -3
  2208. package/build-module/range-control/mark.js.map +1 -1
  2209. package/build-module/range-control/rail.js +5 -11
  2210. package/build-module/range-control/rail.js.map +1 -1
  2211. package/build-module/range-control/styles/range-control-styles.js +30 -65
  2212. package/build-module/range-control/styles/range-control-styles.js.map +1 -1
  2213. package/build-module/range-control/tooltip.js +6 -6
  2214. package/build-module/range-control/tooltip.js.map +1 -1
  2215. package/build-module/range-control/types.js.map +1 -1
  2216. package/build-module/range-control/utils.js +5 -6
  2217. package/build-module/range-control/utils.js.map +1 -1
  2218. package/build-module/resizable-box/index.js +5 -7
  2219. package/build-module/resizable-box/index.js.map +1 -1
  2220. package/build-module/resizable-box/index.native.js +0 -5
  2221. package/build-module/resizable-box/index.native.js.map +1 -1
  2222. package/build-module/resizable-box/resize-tooltip/index.js +1 -6
  2223. package/build-module/resizable-box/resize-tooltip/index.js.map +1 -1
  2224. package/build-module/resizable-box/resize-tooltip/label.js +5 -8
  2225. package/build-module/resizable-box/resize-tooltip/label.js.map +1 -1
  2226. package/build-module/resizable-box/resize-tooltip/styles/resize-tooltip.styles.js +3 -3
  2227. package/build-module/resizable-box/resize-tooltip/styles/resize-tooltip.styles.js.map +1 -1
  2228. package/build-module/resizable-box/resize-tooltip/utils.js +8 -24
  2229. package/build-module/resizable-box/resize-tooltip/utils.js.map +1 -1
  2230. package/build-module/responsive-wrapper/index.js +4 -7
  2231. package/build-module/responsive-wrapper/index.js.map +1 -1
  2232. package/build-module/responsive-wrapper/types.js.map +1 -1
  2233. package/build-module/sandbox/index.js +33 -40
  2234. package/build-module/sandbox/index.js.map +1 -1
  2235. package/build-module/sandbox/index.native.js +15 -21
  2236. package/build-module/sandbox/index.native.js.map +1 -1
  2237. package/build-module/sandbox/types.js.map +1 -1
  2238. package/build-module/scroll-lock/index.js +4 -10
  2239. package/build-module/scroll-lock/index.js.map +1 -1
  2240. package/build-module/scrollable/component.js +4 -5
  2241. package/build-module/scrollable/component.js.map +1 -1
  2242. package/build-module/scrollable/hook.js +3 -1
  2243. package/build-module/scrollable/hook.js.map +1 -1
  2244. package/build-module/scrollable/index.js.map +1 -1
  2245. package/build-module/scrollable/styles.js +1 -2
  2246. package/build-module/scrollable/styles.js.map +1 -1
  2247. package/build-module/scrollable/types.js.map +1 -1
  2248. package/build-module/search-control/index.js +5 -11
  2249. package/build-module/search-control/index.js.map +1 -1
  2250. package/build-module/search-control/index.native.js +18 -27
  2251. package/build-module/search-control/index.native.js.map +1 -1
  2252. package/build-module/search-control/types.js.map +1 -1
  2253. package/build-module/select-control/chevron-down.js +1 -4
  2254. package/build-module/select-control/chevron-down.js.map +1 -1
  2255. package/build-module/select-control/index.js +9 -16
  2256. package/build-module/select-control/index.js.map +1 -1
  2257. package/build-module/select-control/index.native.js +0 -2
  2258. package/build-module/select-control/index.native.js.map +1 -1
  2259. package/build-module/select-control/styles/select-control-styles.js +3 -15
  2260. package/build-module/select-control/styles/select-control-styles.js.map +1 -1
  2261. package/build-module/select-control/types.js.map +1 -1
  2262. package/build-module/shortcut/index.js +1 -7
  2263. package/build-module/shortcut/index.js.map +1 -1
  2264. package/build-module/shortcut/types.js.map +1 -1
  2265. package/build-module/slot-fill/bubbles-virtually/fill.js +4 -9
  2266. package/build-module/slot-fill/bubbles-virtually/fill.js.map +1 -1
  2267. package/build-module/slot-fill/bubbles-virtually/slot-fill-context.js +1 -3
  2268. package/build-module/slot-fill/bubbles-virtually/slot-fill-context.js.map +1 -1
  2269. package/build-module/slot-fill/bubbles-virtually/slot-fill-provider.js +4 -18
  2270. package/build-module/slot-fill/bubbles-virtually/slot-fill-provider.js.map +1 -1
  2271. package/build-module/slot-fill/bubbles-virtually/slot.js +5 -7
  2272. package/build-module/slot-fill/bubbles-virtually/slot.js.map +1 -1
  2273. package/build-module/slot-fill/bubbles-virtually/use-slot-fills.js +4 -5
  2274. package/build-module/slot-fill/bubbles-virtually/use-slot-fills.js.map +1 -1
  2275. package/build-module/slot-fill/bubbles-virtually/use-slot.js +6 -6
  2276. package/build-module/slot-fill/bubbles-virtually/use-slot.js.map +1 -1
  2277. package/build-module/slot-fill/context.js +0 -1
  2278. package/build-module/slot-fill/context.js.map +1 -1
  2279. package/build-module/slot-fill/fill.js +7 -7
  2280. package/build-module/slot-fill/fill.js.map +1 -1
  2281. package/build-module/slot-fill/index.js +11 -12
  2282. package/build-module/slot-fill/index.js.map +1 -1
  2283. package/build-module/slot-fill/index.native.js +2 -5
  2284. package/build-module/slot-fill/index.native.js.map +1 -1
  2285. package/build-module/slot-fill/provider.js +6 -20
  2286. package/build-module/slot-fill/provider.js.map +1 -1
  2287. package/build-module/slot-fill/slot.js +6 -18
  2288. package/build-module/slot-fill/slot.js.map +1 -1
  2289. package/build-module/slot-fill/use-slot.js +2 -4
  2290. package/build-module/slot-fill/use-slot.js.map +1 -1
  2291. package/build-module/snackbar/index.js +11 -17
  2292. package/build-module/snackbar/index.js.map +1 -1
  2293. package/build-module/snackbar/list.js +17 -10
  2294. package/build-module/snackbar/list.js.map +1 -1
  2295. package/build-module/snackbar/types.js.map +1 -1
  2296. package/build-module/spacer/component.js +4 -5
  2297. package/build-module/spacer/component.js.map +1 -1
  2298. package/build-module/spacer/hook.js +5 -5
  2299. package/build-module/spacer/hook.js.map +1 -1
  2300. package/build-module/spacer/index.js.map +1 -1
  2301. package/build-module/spacer/types.js.map +1 -1
  2302. package/build-module/spinner/index.js +0 -4
  2303. package/build-module/spinner/index.js.map +1 -1
  2304. package/build-module/spinner/index.native.js +1 -2
  2305. package/build-module/spinner/index.native.js.map +1 -1
  2306. package/build-module/spinner/styles.js +6 -7
  2307. package/build-module/spinner/styles.js.map +1 -1
  2308. package/build-module/style-provider/index.js +13 -9
  2309. package/build-module/style-provider/index.js.map +1 -1
  2310. package/build-module/style-provider/index.native.js.map +1 -1
  2311. package/build-module/style-provider/types.js.map +1 -1
  2312. package/build-module/surface/component.js +3 -5
  2313. package/build-module/surface/component.js.map +1 -1
  2314. package/build-module/surface/hook.js +3 -2
  2315. package/build-module/surface/hook.js.map +1 -1
  2316. package/build-module/surface/index.js.map +1 -1
  2317. package/build-module/surface/styles.js +1 -10
  2318. package/build-module/surface/styles.js.map +1 -1
  2319. package/build-module/surface/types.js.map +1 -1
  2320. package/build-module/tab-panel/index.js +12 -24
  2321. package/build-module/tab-panel/index.js.map +1 -1
  2322. package/build-module/tab-panel/types.js.map +1 -1
  2323. package/build-module/text/component.js +2 -4
  2324. package/build-module/text/component.js.map +1 -1
  2325. package/build-module/text/get-line-height.js +1 -5
  2326. package/build-module/text/get-line-height.js.map +1 -1
  2327. package/build-module/text/hook.js +12 -29
  2328. package/build-module/text/hook.js.map +1 -1
  2329. package/build-module/text/index.js.map +1 -1
  2330. package/build-module/text/index.native.js +1 -1
  2331. package/build-module/text/index.native.js.map +1 -1
  2332. package/build-module/text/styles/emotion-css.native.js.map +1 -1
  2333. package/build-module/text/styles/font-family.native.js.map +1 -1
  2334. package/build-module/text/styles/text-mixins.native.js +2 -14
  2335. package/build-module/text/styles/text-mixins.native.js.map +1 -1
  2336. package/build-module/text/styles.js +1 -2
  2337. package/build-module/text/styles.js.map +1 -1
  2338. package/build-module/text/types.js.map +1 -1
  2339. package/build-module/text/utils.js +7 -16
  2340. package/build-module/text/utils.js.map +1 -1
  2341. package/build-module/text-control/index.js +2 -7
  2342. package/build-module/text-control/index.js.map +1 -1
  2343. package/build-module/text-control/index.native.js +0 -4
  2344. package/build-module/text-control/index.native.js.map +1 -1
  2345. package/build-module/text-control/types.js.map +1 -1
  2346. package/build-module/text-highlight/index.js +1 -5
  2347. package/build-module/text-highlight/index.js.map +1 -1
  2348. package/build-module/text-highlight/types.js.map +1 -1
  2349. package/build-module/textarea-control/index.js +1 -5
  2350. package/build-module/textarea-control/index.js.map +1 -1
  2351. package/build-module/textarea-control/index.native.js +1 -4
  2352. package/build-module/textarea-control/index.native.js.map +1 -1
  2353. package/build-module/textarea-control/styles/textarea-control-styles.js +0 -1
  2354. package/build-module/textarea-control/styles/textarea-control-styles.js.map +1 -1
  2355. package/build-module/textarea-control/types.js.map +1 -1
  2356. package/build-module/theme/color-algorithms.js +10 -13
  2357. package/build-module/theme/color-algorithms.js.map +1 -1
  2358. package/build-module/theme/index.js +2 -5
  2359. package/build-module/theme/index.js.map +1 -1
  2360. package/build-module/theme/styles.js +2 -1
  2361. package/build-module/theme/styles.js.map +1 -1
  2362. package/build-module/theme/types.js.map +1 -1
  2363. package/build-module/tip/index.js +1 -1
  2364. package/build-module/tip/index.js.map +1 -1
  2365. package/build-module/tip/types.js.map +1 -1
  2366. package/build-module/toggle-control/index.js +4 -8
  2367. package/build-module/toggle-control/index.js.map +1 -1
  2368. package/build-module/toggle-control/index.native.js +0 -2
  2369. package/build-module/toggle-control/index.native.js.map +1 -1
  2370. package/build-module/toggle-control/types.js.map +1 -1
  2371. package/build-module/toggle-group-control/context.js +1 -0
  2372. package/build-module/toggle-group-control/context.js.map +1 -1
  2373. package/build-module/toggle-group-control/index.js.map +1 -1
  2374. package/build-module/toggle-group-control/toggle-group-control/as-button-group.js +7 -7
  2375. package/build-module/toggle-group-control/toggle-group-control/as-button-group.js.map +1 -1
  2376. package/build-module/toggle-group-control/toggle-group-control/as-radio-group.js +11 -9
  2377. package/build-module/toggle-group-control/toggle-group-control/as-radio-group.js.map +1 -1
  2378. package/build-module/toggle-group-control/toggle-group-control/component.js +5 -6
  2379. package/build-module/toggle-group-control/toggle-group-control/component.js.map +1 -1
  2380. package/build-module/toggle-group-control/toggle-group-control/index.js.map +1 -1
  2381. package/build-module/toggle-group-control/toggle-group-control/styles.js +0 -5
  2382. package/build-module/toggle-group-control/toggle-group-control/styles.js.map +1 -1
  2383. package/build-module/toggle-group-control/toggle-group-control/toggle-group-control-backdrop.js +4 -13
  2384. package/build-module/toggle-group-control/toggle-group-control/toggle-group-control-backdrop.js.map +1 -1
  2385. package/build-module/toggle-group-control/toggle-group-control-option/component.js +4 -5
  2386. package/build-module/toggle-group-control/toggle-group-control-option/component.js.map +1 -1
  2387. package/build-module/toggle-group-control/toggle-group-control-option/index.js.map +1 -1
  2388. package/build-module/toggle-group-control/toggle-group-control-option-base/component.js +15 -19
  2389. package/build-module/toggle-group-control/toggle-group-control-option-base/component.js.map +1 -1
  2390. package/build-module/toggle-group-control/toggle-group-control-option-base/index.js.map +1 -1
  2391. package/build-module/toggle-group-control/toggle-group-control-option-base/styles.js +7 -11
  2392. package/build-module/toggle-group-control/toggle-group-control-option-base/styles.js.map +1 -1
  2393. package/build-module/toggle-group-control/toggle-group-control-option-icon/component.js +4 -5
  2394. package/build-module/toggle-group-control/toggle-group-control-option-icon/component.js.map +1 -1
  2395. package/build-module/toggle-group-control/toggle-group-control-option-icon/index.js.map +1 -1
  2396. package/build-module/toggle-group-control/types.js.map +1 -1
  2397. package/build-module/toolbar/index.js.map +1 -1
  2398. package/build-module/toolbar/toolbar/index.js +6 -10
  2399. package/build-module/toolbar/toolbar/index.js.map +1 -1
  2400. package/build-module/toolbar/toolbar/toolbar-container.js +3 -6
  2401. package/build-module/toolbar/toolbar/toolbar-container.js.map +1 -1
  2402. package/build-module/toolbar/toolbar/toolbar-container.native.js +0 -3
  2403. package/build-module/toolbar/toolbar/toolbar-container.native.js.map +1 -1
  2404. package/build-module/toolbar/toolbar/types.js.map +1 -1
  2405. package/build-module/toolbar/toolbar-button/index.js +7 -12
  2406. package/build-module/toolbar/toolbar-button/index.js.map +1 -1
  2407. package/build-module/toolbar/toolbar-button/toolbar-button-container.js +1 -2
  2408. package/build-module/toolbar/toolbar-button/toolbar-button-container.js.map +1 -1
  2409. package/build-module/toolbar/toolbar-button/toolbar-button-container.native.js +0 -1
  2410. package/build-module/toolbar/toolbar-button/toolbar-button-container.native.js.map +1 -1
  2411. package/build-module/toolbar/toolbar-button/types.js.map +1 -1
  2412. package/build-module/toolbar/toolbar-context/index.js.map +1 -1
  2413. package/build-module/toolbar/toolbar-dropdown-menu/index.js +10 -10
  2414. package/build-module/toolbar/toolbar-dropdown-menu/index.js.map +1 -1
  2415. package/build-module/toolbar/toolbar-group/index.js +7 -11
  2416. package/build-module/toolbar/toolbar-group/index.js.map +1 -1
  2417. package/build-module/toolbar/toolbar-group/toolbar-group-collapsed.js +5 -8
  2418. package/build-module/toolbar/toolbar-group/toolbar-group-collapsed.js.map +1 -1
  2419. package/build-module/toolbar/toolbar-group/toolbar-group-collapsed.native.js +0 -5
  2420. package/build-module/toolbar/toolbar-group/toolbar-group-collapsed.native.js.map +1 -1
  2421. package/build-module/toolbar/toolbar-group/toolbar-group-container.js +1 -2
  2422. package/build-module/toolbar/toolbar-group/toolbar-group-container.js.map +1 -1
  2423. package/build-module/toolbar/toolbar-group/toolbar-group-container.native.js +2 -5
  2424. package/build-module/toolbar/toolbar-group/toolbar-group-container.native.js.map +1 -1
  2425. package/build-module/toolbar/toolbar-item/index.js +8 -15
  2426. package/build-module/toolbar/toolbar-item/index.js.map +1 -1
  2427. package/build-module/toolbar/toolbar-item/index.native.js +3 -5
  2428. package/build-module/toolbar/toolbar-item/index.native.js.map +1 -1
  2429. package/build-module/toolbar/toolbar-item/types.js.map +1 -1
  2430. package/build-module/tools-panel/context.js +1 -1
  2431. package/build-module/tools-panel/context.js.map +1 -1
  2432. package/build-module/tools-panel/index.js.map +1 -1
  2433. package/build-module/tools-panel/styles.js +17 -17
  2434. package/build-module/tools-panel/styles.js.map +1 -1
  2435. package/build-module/tools-panel/tools-panel/component.js +3 -5
  2436. package/build-module/tools-panel/tools-panel/component.js.map +1 -1
  2437. package/build-module/tools-panel/tools-panel/hook.js +51 -44
  2438. package/build-module/tools-panel/tools-panel/hook.js.map +1 -1
  2439. package/build-module/tools-panel/tools-panel/index.js.map +1 -1
  2440. package/build-module/tools-panel/tools-panel-header/component.js +18 -21
  2441. package/build-module/tools-panel/tools-panel-header/component.js.map +1 -1
  2442. package/build-module/tools-panel/tools-panel-header/hook.js +3 -2
  2443. package/build-module/tools-panel/tools-panel-header/hook.js.map +1 -1
  2444. package/build-module/tools-panel/tools-panel-header/index.js.map +1 -1
  2445. package/build-module/tools-panel/tools-panel-item/component.js +4 -7
  2446. package/build-module/tools-panel/tools-panel-item/component.js.map +1 -1
  2447. package/build-module/tools-panel/tools-panel-item/hook.js +18 -19
  2448. package/build-module/tools-panel/tools-panel-item/hook.js.map +1 -1
  2449. package/build-module/tools-panel/tools-panel-item/index.js.map +1 -1
  2450. package/build-module/tools-panel/types.js.map +1 -1
  2451. package/build-module/tooltip/index.js +30 -46
  2452. package/build-module/tooltip/index.js.map +1 -1
  2453. package/build-module/tooltip/index.native.js +30 -37
  2454. package/build-module/tooltip/index.native.js.map +1 -1
  2455. package/build-module/tree-grid/cell.js +4 -6
  2456. package/build-module/tree-grid/cell.js.map +1 -1
  2457. package/build-module/tree-grid/index.js +52 -67
  2458. package/build-module/tree-grid/index.js.map +1 -1
  2459. package/build-module/tree-grid/item.js +2 -5
  2460. package/build-module/tree-grid/item.js.map +1 -1
  2461. package/build-module/tree-grid/roving-tab-index-context.js.map +1 -1
  2462. package/build-module/tree-grid/roving-tab-index-item.js +7 -11
  2463. package/build-module/tree-grid/roving-tab-index-item.js.map +1 -1
  2464. package/build-module/tree-grid/roving-tab-index.js +5 -5
  2465. package/build-module/tree-grid/roving-tab-index.js.map +1 -1
  2466. package/build-module/tree-grid/row.js +4 -4
  2467. package/build-module/tree-grid/row.js.map +1 -1
  2468. package/build-module/tree-grid/types.js.map +1 -1
  2469. package/build-module/tree-select/index.js +2 -4
  2470. package/build-module/tree-select/index.js.map +1 -1
  2471. package/build-module/tree-select/types.js.map +1 -1
  2472. package/build-module/truncate/component.js +2 -4
  2473. package/build-module/truncate/component.js.map +1 -1
  2474. package/build-module/truncate/hook.js +5 -3
  2475. package/build-module/truncate/hook.js.map +1 -1
  2476. package/build-module/truncate/index.js.map +1 -1
  2477. package/build-module/truncate/styles.js +0 -1
  2478. package/build-module/truncate/styles.js.map +1 -1
  2479. package/build-module/truncate/types.js.map +1 -1
  2480. package/build-module/truncate/utils.js +7 -16
  2481. package/build-module/truncate/utils.js.map +1 -1
  2482. package/build-module/ui/context/constants.js +1 -3
  2483. package/build-module/ui/context/constants.js.map +1 -1
  2484. package/build-module/ui/context/context-connect.js +18 -24
  2485. package/build-module/ui/context/context-connect.js.map +1 -1
  2486. package/build-module/ui/context/context-system-provider.js +13 -15
  2487. package/build-module/ui/context/context-system-provider.js.map +1 -1
  2488. package/build-module/ui/context/get-styled-class-name-from-key.js +1 -2
  2489. package/build-module/ui/context/get-styled-class-name-from-key.js.map +1 -1
  2490. package/build-module/ui/context/index.js.map +1 -1
  2491. package/build-module/ui/context/use-context-system.js +11 -15
  2492. package/build-module/ui/context/use-context-system.js.map +1 -1
  2493. package/build-module/ui/context/utils.js +2 -2
  2494. package/build-module/ui/context/utils.js.map +1 -1
  2495. package/build-module/ui/context/wordpress-component.js.map +1 -1
  2496. package/build-module/ui/shortcut/component.js +1 -7
  2497. package/build-module/ui/shortcut/component.js.map +1 -1
  2498. package/build-module/ui/shortcut/index.js.map +1 -1
  2499. package/build-module/ui/tooltip/component.js +6 -8
  2500. package/build-module/ui/tooltip/component.js.map +1 -1
  2501. package/build-module/ui/tooltip/content.js +2 -4
  2502. package/build-module/ui/tooltip/content.js.map +1 -1
  2503. package/build-module/ui/tooltip/context.js +1 -1
  2504. package/build-module/ui/tooltip/context.js.map +1 -1
  2505. package/build-module/ui/tooltip/index.js.map +1 -1
  2506. package/build-module/ui/tooltip/styles.js +0 -3
  2507. package/build-module/ui/tooltip/styles.js.map +1 -1
  2508. package/build-module/ui/tooltip/types.js.map +1 -1
  2509. package/build-module/ui/utils/colors.js +14 -18
  2510. package/build-module/ui/utils/colors.js.map +1 -1
  2511. package/build-module/ui/utils/font-size.js +0 -3
  2512. package/build-module/ui/utils/font-size.js.map +1 -1
  2513. package/build-module/ui/utils/get-valid-children.js +1 -1
  2514. package/build-module/ui/utils/get-valid-children.js.map +1 -1
  2515. package/build-module/ui/utils/index.js.map +1 -1
  2516. package/build-module/ui/utils/space.js +6 -6
  2517. package/build-module/ui/utils/space.js.map +1 -1
  2518. package/build-module/ui/utils/types.js.map +1 -1
  2519. package/build-module/ui/utils/use-responsive-value.js +4 -13
  2520. package/build-module/ui/utils/use-responsive-value.js.map +1 -1
  2521. package/build-module/unit-control/index.js +15 -25
  2522. package/build-module/unit-control/index.js.map +1 -1
  2523. package/build-module/unit-control/index.native.js +8 -17
  2524. package/build-module/unit-control/index.native.js.map +1 -1
  2525. package/build-module/unit-control/styles/unit-control-styles.js +11 -14
  2526. package/build-module/unit-control/styles/unit-control-styles.js.map +1 -1
  2527. package/build-module/unit-control/types.js.map +1 -1
  2528. package/build-module/unit-control/unit-select-control.js +1 -6
  2529. package/build-module/unit-control/unit-select-control.js.map +1 -1
  2530. package/build-module/unit-control/utils.js +16 -23
  2531. package/build-module/unit-control/utils.js.map +1 -1
  2532. package/build-module/utils/base-label.js +3 -3
  2533. package/build-module/utils/base-label.js.map +1 -1
  2534. package/build-module/utils/box-sizing.js +0 -1
  2535. package/build-module/utils/box-sizing.js.map +1 -1
  2536. package/build-module/utils/breakpoint-values.js.map +1 -1
  2537. package/build-module/utils/breakpoint.js +1 -1
  2538. package/build-module/utils/breakpoint.js.map +1 -1
  2539. package/build-module/utils/colors-values.js +11 -10
  2540. package/build-module/utils/colors-values.js.map +1 -1
  2541. package/build-module/utils/colors.js +1 -1
  2542. package/build-module/utils/colors.js.map +1 -1
  2543. package/build-module/utils/config-values.js +5 -4
  2544. package/build-module/utils/config-values.js.map +1 -1
  2545. package/build-module/utils/font-values.js.map +1 -1
  2546. package/build-module/utils/font.js +1 -2
  2547. package/build-module/utils/font.js.map +1 -1
  2548. package/build-module/utils/hooks/emotion.d.js.map +1 -1
  2549. package/build-module/utils/hooks/index.js.map +1 -1
  2550. package/build-module/utils/hooks/use-controlled-state.js +7 -9
  2551. package/build-module/utils/hooks/use-controlled-state.js.map +1 -1
  2552. package/build-module/utils/hooks/use-controlled-value.js +0 -3
  2553. package/build-module/utils/hooks/use-controlled-value.js.map +1 -1
  2554. package/build-module/utils/hooks/use-cx.js +5 -7
  2555. package/build-module/utils/hooks/use-cx.js.map +1 -1
  2556. package/build-module/utils/hooks/use-latest-ref.js +1 -1
  2557. package/build-module/utils/hooks/use-latest-ref.js.map +1 -1
  2558. package/build-module/utils/hooks/use-update-effect.js +3 -4
  2559. package/build-module/utils/hooks/use-update-effect.js.map +1 -1
  2560. package/build-module/utils/index.js.map +1 -1
  2561. package/build-module/utils/input/base.js +3 -3
  2562. package/build-module/utils/input/base.js.map +1 -1
  2563. package/build-module/utils/input/index.js.map +1 -1
  2564. package/build-module/utils/input/input-control.js +1 -1
  2565. package/build-module/utils/input/input-control.js.map +1 -1
  2566. package/build-module/utils/math.js +7 -21
  2567. package/build-module/utils/math.js.map +1 -1
  2568. package/build-module/utils/reduce-motion.js +0 -4
  2569. package/build-module/utils/reduce-motion.js.map +1 -1
  2570. package/build-module/utils/rtl.js +7 -14
  2571. package/build-module/utils/rtl.js.map +1 -1
  2572. package/build-module/utils/strings.js +57 -29
  2573. package/build-module/utils/strings.js.map +1 -1
  2574. package/build-module/utils/style-mixins.js.map +1 -1
  2575. package/build-module/utils/types.js.map +1 -1
  2576. package/build-module/utils/unit-values.js +2 -4
  2577. package/build-module/utils/unit-values.js.map +1 -1
  2578. package/build-module/utils/use-deprecated-props.js +3 -5
  2579. package/build-module/utils/use-deprecated-props.js.map +1 -1
  2580. package/build-module/utils/values.js +0 -71
  2581. package/build-module/utils/values.js.map +1 -1
  2582. package/build-module/utils/z-index.js.map +1 -1
  2583. package/build-module/v-stack/component.js +4 -5
  2584. package/build-module/v-stack/component.js.map +1 -1
  2585. package/build-module/v-stack/hook.js +1 -0
  2586. package/build-module/v-stack/hook.js.map +1 -1
  2587. package/build-module/v-stack/index.js.map +1 -1
  2588. package/build-module/v-stack/types.js.map +1 -1
  2589. package/build-module/view/component.js +0 -1
  2590. package/build-module/view/component.js.map +1 -1
  2591. package/build-module/view/index.js.map +1 -1
  2592. package/build-module/view/types.js.map +1 -1
  2593. package/build-module/visually-hidden/component.js +4 -5
  2594. package/build-module/visually-hidden/component.js.map +1 -1
  2595. package/build-module/visually-hidden/index.js.map +1 -1
  2596. package/build-module/visually-hidden/styles.js +1 -0
  2597. package/build-module/visually-hidden/styles.js.map +1 -1
  2598. package/build-module/visually-hidden/types.js.map +1 -1
  2599. package/build-module/z-stack/component.js +6 -8
  2600. package/build-module/z-stack/component.js.map +1 -1
  2601. package/build-module/z-stack/index.js.map +1 -1
  2602. package/build-module/z-stack/styles.js +0 -4
  2603. package/build-module/z-stack/styles.js.map +1 -1
  2604. package/build-module/z-stack/types.js.map +1 -1
  2605. package/build-style/style-rtl.css +8 -7
  2606. package/build-style/style.css +8 -7
  2607. package/build-types/alignment-matrix-control/stories/index.story.d.ts +15 -0
  2608. package/build-types/alignment-matrix-control/stories/index.story.d.ts.map +1 -0
  2609. package/build-types/angle-picker-control/stories/index.story.d.ts +15 -0
  2610. package/build-types/angle-picker-control/stories/index.story.d.ts.map +1 -0
  2611. package/build-types/animate/stories/index.story.d.ts +18 -0
  2612. package/build-types/animate/stories/index.story.d.ts.map +1 -0
  2613. package/build-types/base-control/stories/{index.d.ts → index.story.d.ts} +2 -6
  2614. package/build-types/base-control/stories/index.story.d.ts.map +1 -0
  2615. package/build-types/border-box-control/border-box-control/component.d.ts +1 -1
  2616. package/build-types/border-box-control/border-box-control/component.d.ts.map +1 -1
  2617. package/build-types/border-box-control/border-box-control/hook.d.ts +2 -2
  2618. package/build-types/border-box-control/border-box-control/hook.d.ts.map +1 -1
  2619. package/build-types/border-box-control/border-box-control-linked-button/component.d.ts.map +1 -1
  2620. package/build-types/border-box-control/border-box-control-linked-button/hook.d.ts +1 -1
  2621. package/build-types/border-box-control/border-box-control-linked-button/hook.d.ts.map +1 -1
  2622. package/build-types/border-box-control/border-box-control-split-controls/component.d.ts +1 -1
  2623. package/build-types/border-box-control/border-box-control-split-controls/component.d.ts.map +1 -1
  2624. package/build-types/border-box-control/border-box-control-split-controls/hook.d.ts +2 -2
  2625. package/build-types/border-box-control/border-box-control-split-controls/hook.d.ts.map +1 -1
  2626. package/build-types/border-box-control/border-box-control-visualizer/component.d.ts.map +1 -1
  2627. package/build-types/border-box-control/border-box-control-visualizer/hook.d.ts +1 -1
  2628. package/build-types/border-box-control/border-box-control-visualizer/hook.d.ts.map +1 -1
  2629. package/build-types/border-box-control/stories/index.story.d.ts +17 -0
  2630. package/build-types/border-box-control/stories/index.story.d.ts.map +1 -0
  2631. package/build-types/border-control/border-control/component.d.ts.map +1 -1
  2632. package/build-types/border-control/border-control/hook.d.ts +1 -1
  2633. package/build-types/border-control/border-control/hook.d.ts.map +1 -1
  2634. package/build-types/border-control/border-control-dropdown/component.d.ts.map +1 -1
  2635. package/build-types/border-control/border-control-dropdown/hook.d.ts +1 -1
  2636. package/build-types/border-control/border-control-dropdown/hook.d.ts.map +1 -1
  2637. package/build-types/border-control/border-control-style-picker/component.d.ts.map +1 -1
  2638. package/build-types/border-control/border-control-style-picker/hook.d.ts +1 -1
  2639. package/build-types/border-control/border-control-style-picker/hook.d.ts.map +1 -1
  2640. package/build-types/border-control/stories/index.story.d.ts +119 -0
  2641. package/build-types/border-control/stories/index.story.d.ts.map +1 -0
  2642. package/build-types/box-control/styles/box-control-styles.d.ts +1 -1
  2643. package/build-types/button/stories/e2e/index.story.d.ts +15 -0
  2644. package/build-types/button/stories/e2e/index.story.d.ts.map +1 -0
  2645. package/build-types/button/stories/index.story.d.ts +20 -0
  2646. package/build-types/button/stories/index.story.d.ts.map +1 -0
  2647. package/build-types/button-group/stories/{index.d.ts → index.story.d.ts} +1 -1
  2648. package/build-types/button-group/stories/index.story.d.ts.map +1 -0
  2649. package/build-types/card/card/component.d.ts +3 -3
  2650. package/build-types/card/card/component.d.ts.map +1 -1
  2651. package/build-types/card/card/hook.d.ts +1 -1
  2652. package/build-types/card/card/hook.d.ts.map +1 -1
  2653. package/build-types/card/card-body/component.d.ts.map +1 -1
  2654. package/build-types/card/card-body/hook.d.ts +1 -1
  2655. package/build-types/card/card-body/hook.d.ts.map +1 -1
  2656. package/build-types/card/card-divider/component.d.ts +1 -1
  2657. package/build-types/card/card-divider/component.d.ts.map +1 -1
  2658. package/build-types/card/card-divider/hook.d.ts +1 -1
  2659. package/build-types/card/card-divider/hook.d.ts.map +1 -1
  2660. package/build-types/card/card-footer/component.d.ts.map +1 -1
  2661. package/build-types/card/card-footer/hook.d.ts +1 -1
  2662. package/build-types/card/card-footer/hook.d.ts.map +1 -1
  2663. package/build-types/card/card-header/component.d.ts.map +1 -1
  2664. package/build-types/card/card-header/hook.d.ts +1 -1
  2665. package/build-types/card/card-header/hook.d.ts.map +1 -1
  2666. package/build-types/card/card-media/component.d.ts.map +1 -1
  2667. package/build-types/card/card-media/hook.d.ts +1 -1
  2668. package/build-types/card/card-media/hook.d.ts.map +1 -1
  2669. package/build-types/card/stories/index.story.d.ts +36 -0
  2670. package/build-types/card/stories/index.story.d.ts.map +1 -0
  2671. package/build-types/checkbox-control/stories/{index.d.ts → index.story.d.ts} +1 -1
  2672. package/build-types/checkbox-control/stories/index.story.d.ts.map +1 -0
  2673. package/build-types/circular-option-picker/stories/index.story.d.ts +14 -0
  2674. package/build-types/circular-option-picker/stories/index.story.d.ts.map +1 -0
  2675. package/build-types/color-indicator/stories/{index.d.ts → index.story.d.ts} +1 -1
  2676. package/build-types/color-indicator/stories/index.story.d.ts.map +1 -0
  2677. package/build-types/color-palette/stories/{index.d.ts → index.story.d.ts} +5 -5
  2678. package/build-types/color-palette/stories/index.story.d.ts.map +1 -0
  2679. package/build-types/color-palette/utils.d.ts +0 -1
  2680. package/build-types/color-palette/utils.d.ts.map +1 -1
  2681. package/build-types/color-picker/component.d.ts.map +1 -1
  2682. package/build-types/color-picker/stories/{index.d.ts → index.story.d.ts} +4 -4
  2683. package/build-types/color-picker/stories/index.story.d.ts.map +1 -0
  2684. package/build-types/color-picker/styles.d.ts +3 -2
  2685. package/build-types/color-picker/styles.d.ts.map +1 -1
  2686. package/build-types/combobox-control/stories/index.story.d.ts +47 -0
  2687. package/build-types/combobox-control/stories/index.story.d.ts.map +1 -0
  2688. package/build-types/confirm-dialog/component.d.ts.map +1 -1
  2689. package/build-types/custom-gradient-picker/stories/index.story.d.ts +12 -0
  2690. package/build-types/custom-gradient-picker/stories/index.story.d.ts.map +1 -0
  2691. package/build-types/date-time/date/styles.d.ts +1 -1
  2692. package/build-types/date-time/date-time/styles.d.ts +1 -1
  2693. package/build-types/date-time/stories/{date-time.d.ts → date-time.story.d.ts} +1 -1
  2694. package/build-types/date-time/stories/date-time.story.d.ts.map +1 -0
  2695. package/build-types/date-time/stories/{date.d.ts → date.story.d.ts} +1 -1
  2696. package/build-types/date-time/stories/date.story.d.ts.map +1 -0
  2697. package/build-types/date-time/stories/{time.d.ts → time.story.d.ts} +1 -1
  2698. package/build-types/date-time/stories/time.story.d.ts.map +1 -0
  2699. package/build-types/date-time/time/styles.d.ts +8 -4
  2700. package/build-types/date-time/time/styles.d.ts.map +1 -1
  2701. package/build-types/dimension-control/stories/index.story.d.ts +4 -0
  2702. package/build-types/dimension-control/stories/index.story.d.ts.map +1 -0
  2703. package/build-types/disabled/stories/{index.d.ts → index.story.d.ts} +1 -1
  2704. package/build-types/disabled/stories/index.story.d.ts.map +1 -0
  2705. package/build-types/divider/component.d.ts.map +1 -1
  2706. package/build-types/divider/stories/{index.d.ts → index.story.d.ts} +1 -1
  2707. package/build-types/divider/stories/index.story.d.ts.map +1 -0
  2708. package/build-types/divider/styles.d.ts +1 -1
  2709. package/build-types/draggable/stories/{index.d.ts → index.story.d.ts} +1 -1
  2710. package/build-types/draggable/stories/index.story.d.ts.map +1 -0
  2711. package/build-types/drop-zone/stories/index.story.d.ts +13 -0
  2712. package/build-types/drop-zone/stories/index.story.d.ts.map +1 -0
  2713. package/build-types/dropdown/dropdown-content-wrapper.d.ts.map +1 -1
  2714. package/build-types/dropdown/stories/{index.d.ts → index.story.d.ts} +5 -5
  2715. package/build-types/dropdown/stories/index.story.d.ts.map +1 -0
  2716. package/build-types/dropdown-menu/stories/index.story.d.ts +14 -0
  2717. package/build-types/dropdown-menu/stories/index.story.d.ts.map +1 -0
  2718. package/build-types/dropdown-menu-v2/stories/index.story.d.ts +11 -0
  2719. package/build-types/dropdown-menu-v2/stories/index.story.d.ts.map +1 -0
  2720. package/build-types/duotone-picker/stories/duotone-picker.story.d.ts +13 -0
  2721. package/build-types/duotone-picker/stories/duotone-picker.story.d.ts.map +1 -0
  2722. package/build-types/duotone-picker/stories/duotone-swatch.story.d.ts +14 -0
  2723. package/build-types/duotone-picker/stories/duotone-swatch.story.d.ts.map +1 -0
  2724. package/build-types/elevation/component.d.ts.map +1 -1
  2725. package/build-types/elevation/hook.d.ts +1 -1
  2726. package/build-types/elevation/hook.d.ts.map +1 -1
  2727. package/build-types/elevation/stories/{index.d.ts → index.story.d.ts} +1 -1
  2728. package/build-types/elevation/stories/index.story.d.ts.map +1 -0
  2729. package/build-types/external-link/stories/{index.d.ts → index.story.d.ts} +1 -1
  2730. package/build-types/external-link/stories/index.story.d.ts.map +1 -0
  2731. package/build-types/external-link/styles/external-link-styles.d.ts +1 -1
  2732. package/build-types/flex/flex/component.d.ts.map +1 -1
  2733. package/build-types/flex/flex/hook.d.ts +1 -1
  2734. package/build-types/flex/flex/hook.d.ts.map +1 -1
  2735. package/build-types/flex/flex-block/component.d.ts.map +1 -1
  2736. package/build-types/flex/flex-block/hook.d.ts +1 -1
  2737. package/build-types/flex/flex-block/hook.d.ts.map +1 -1
  2738. package/build-types/flex/flex-item/component.d.ts.map +1 -1
  2739. package/build-types/flex/flex-item/hook.d.ts +1 -1
  2740. package/build-types/flex/flex-item/hook.d.ts.map +1 -1
  2741. package/build-types/flex/stories/{index.d.ts → index.story.d.ts} +1 -1
  2742. package/build-types/flex/stories/index.story.d.ts.map +1 -0
  2743. package/build-types/focal-point-picker/stories/index.story.d.ts +56 -0
  2744. package/build-types/focal-point-picker/stories/index.story.d.ts.map +1 -0
  2745. package/build-types/focal-point-picker/styles/focal-point-picker-style.d.ts +1 -1
  2746. package/build-types/font-size-picker/stories/e2e/{index.d.ts → index.story.d.ts} +1 -1
  2747. package/build-types/font-size-picker/stories/e2e/index.story.d.ts.map +1 -0
  2748. package/build-types/font-size-picker/stories/{index.d.ts → index.story.d.ts} +1 -1
  2749. package/build-types/font-size-picker/stories/index.story.d.ts.map +1 -0
  2750. package/build-types/font-size-picker/styles.d.ts +1 -1
  2751. package/build-types/form-file-upload/stories/index.story.d.ts +24 -0
  2752. package/build-types/form-file-upload/stories/index.story.d.ts.map +1 -0
  2753. package/build-types/form-toggle/stories/{index.d.ts → index.story.d.ts} +1 -1
  2754. package/build-types/form-toggle/stories/index.story.d.ts.map +1 -0
  2755. package/build-types/form-token-field/stories/{index.d.ts → index.story.d.ts} +1 -1
  2756. package/build-types/form-token-field/stories/index.story.d.ts.map +1 -0
  2757. package/build-types/gradient-picker/stories/index.story.d.ts +47 -0
  2758. package/build-types/gradient-picker/stories/index.story.d.ts.map +1 -0
  2759. package/build-types/grid/component.d.ts.map +1 -1
  2760. package/build-types/grid/hook.d.ts +1 -1
  2761. package/build-types/grid/hook.d.ts.map +1 -1
  2762. package/build-types/grid/stories/{index.d.ts → index.story.d.ts} +1 -1
  2763. package/build-types/grid/stories/index.story.d.ts.map +1 -0
  2764. package/build-types/guide/stories/index.story.d.ts +9 -0
  2765. package/build-types/guide/stories/index.story.d.ts.map +1 -0
  2766. package/build-types/h-stack/component.d.ts +1 -1
  2767. package/build-types/h-stack/component.d.ts.map +1 -1
  2768. package/build-types/h-stack/hook.d.ts +1 -1
  2769. package/build-types/h-stack/hook.d.ts.map +1 -1
  2770. package/build-types/h-stack/stories/e2e/{index.d.ts → index.story.d.ts} +1 -1
  2771. package/build-types/h-stack/stories/e2e/index.story.d.ts.map +1 -0
  2772. package/build-types/h-stack/stories/{index.d.ts → index.story.d.ts} +1 -1
  2773. package/build-types/h-stack/stories/index.story.d.ts.map +1 -0
  2774. package/build-types/heading/component.d.ts.map +1 -1
  2775. package/build-types/heading/hook.d.ts +1 -1
  2776. package/build-types/heading/hook.d.ts.map +1 -1
  2777. package/build-types/heading/stories/{index.d.ts → index.story.d.ts} +1 -1
  2778. package/build-types/heading/stories/index.story.d.ts.map +1 -0
  2779. package/build-types/icon/stories/index.story.d.ts +22 -0
  2780. package/build-types/icon/stories/index.story.d.ts.map +1 -0
  2781. package/build-types/input-control/input-base.d.ts +1 -1
  2782. package/build-types/input-control/input-base.d.ts.map +1 -1
  2783. package/build-types/input-control/input-prefix-wrapper.d.ts.map +1 -1
  2784. package/build-types/input-control/input-suffix-wrapper.d.ts.map +1 -1
  2785. package/build-types/input-control/reducer/reducer.d.ts +2 -2
  2786. package/build-types/input-control/reducer/reducer.d.ts.map +1 -1
  2787. package/build-types/input-control/stories/index.story.d.ts +28 -0
  2788. package/build-types/input-control/stories/index.story.d.ts.map +1 -0
  2789. package/build-types/input-control/styles/input-control-styles.d.ts.map +1 -1
  2790. package/build-types/input-control/utils.d.ts +2 -2
  2791. package/build-types/item-group/item/component.d.ts.map +1 -1
  2792. package/build-types/item-group/item/hook.d.ts +2 -2
  2793. package/build-types/item-group/item/hook.d.ts.map +1 -1
  2794. package/build-types/item-group/item-group/component.d.ts.map +1 -1
  2795. package/build-types/item-group/item-group/hook.d.ts +1 -1
  2796. package/build-types/item-group/item-group/hook.d.ts.map +1 -1
  2797. package/build-types/item-group/stories/{index.d.ts → index.story.d.ts} +1 -1
  2798. package/build-types/item-group/stories/index.story.d.ts.map +1 -0
  2799. package/build-types/keyboard-shortcuts/stories/index.story.d.ts +12 -0
  2800. package/build-types/keyboard-shortcuts/stories/index.story.d.ts.map +1 -0
  2801. package/build-types/menu-group/stories/index.story.d.ts +17 -0
  2802. package/build-types/menu-group/stories/index.story.d.ts.map +1 -0
  2803. package/build-types/menu-item/index.d.ts +92 -2
  2804. package/build-types/menu-item/index.d.ts.map +1 -1
  2805. package/build-types/menu-item/types.d.ts +62 -0
  2806. package/build-types/menu-item/types.d.ts.map +1 -0
  2807. package/build-types/menu-items-choice/stories/{index.d.ts → index.story.d.ts} +1 -1
  2808. package/build-types/menu-items-choice/stories/index.story.d.ts.map +1 -0
  2809. package/build-types/modal/index.d.ts.map +1 -1
  2810. package/build-types/modal/stories/{index.d.ts → index.story.d.ts} +2 -1
  2811. package/build-types/modal/stories/index.story.d.ts.map +1 -0
  2812. package/build-types/modal/types.d.ts +7 -0
  2813. package/build-types/modal/types.d.ts.map +1 -1
  2814. package/build-types/navigable-container/stories/{navigable-menu.d.ts → navigable-menu.story.d.ts} +1 -1
  2815. package/build-types/navigable-container/stories/navigable-menu.story.d.ts.map +1 -0
  2816. package/build-types/navigable-container/stories/{tabbable-container.d.ts → tabbable-container.story.d.ts} +1 -1
  2817. package/build-types/navigable-container/stories/tabbable-container.story.d.ts.map +1 -0
  2818. package/build-types/navigation/stories/index.story.d.ts +18 -0
  2819. package/build-types/navigation/stories/index.story.d.ts.map +1 -0
  2820. package/build-types/navigator/navigator-back-button/component.d.ts.map +1 -1
  2821. package/build-types/navigator/navigator-back-button/hook.d.ts +1 -1
  2822. package/build-types/navigator/navigator-back-button/hook.d.ts.map +1 -1
  2823. package/build-types/navigator/navigator-button/component.d.ts.map +1 -1
  2824. package/build-types/navigator/navigator-button/hook.d.ts +1 -1
  2825. package/build-types/navigator/navigator-button/hook.d.ts.map +1 -1
  2826. package/build-types/navigator/navigator-provider/component.d.ts.map +1 -1
  2827. package/build-types/navigator/navigator-screen/component.d.ts +2 -2
  2828. package/build-types/navigator/navigator-screen/component.d.ts.map +1 -1
  2829. package/build-types/navigator/navigator-to-parent-button/component.d.ts.map +1 -1
  2830. package/build-types/navigator/stories/{index.d.ts → index.story.d.ts} +1 -1
  2831. package/build-types/navigator/stories/index.story.d.ts.map +1 -0
  2832. package/build-types/notice/stories/index.story.d.ts +17 -0
  2833. package/build-types/notice/stories/index.story.d.ts.map +1 -0
  2834. package/build-types/number-control/index.d.ts +2 -1
  2835. package/build-types/number-control/index.d.ts.map +1 -1
  2836. package/build-types/number-control/stories/{index.d.ts → index.story.d.ts} +5 -4
  2837. package/build-types/number-control/stories/index.story.d.ts.map +1 -0
  2838. package/build-types/number-control/types.d.ts +7 -0
  2839. package/build-types/number-control/types.d.ts.map +1 -1
  2840. package/build-types/palette-edit/stories/index.story.d.ts +13 -0
  2841. package/build-types/palette-edit/stories/index.story.d.ts.map +1 -0
  2842. package/build-types/palette-edit/styles.d.ts +2 -2
  2843. package/build-types/panel/stories/{index.d.ts → index.story.d.ts} +1 -1
  2844. package/build-types/panel/stories/index.story.d.ts.map +1 -0
  2845. package/build-types/placeholder/stories/{index.d.ts → index.story.d.ts} +1 -1
  2846. package/build-types/placeholder/stories/index.story.d.ts.map +1 -0
  2847. package/build-types/popover/index.d.ts +1 -1
  2848. package/build-types/popover/index.d.ts.map +1 -1
  2849. package/build-types/popover/overlay-middlewares.d.ts +17 -3
  2850. package/build-types/popover/overlay-middlewares.d.ts.map +1 -1
  2851. package/build-types/popover/stories/e2e/{index.d.ts → index.story.d.ts} +2 -2
  2852. package/build-types/popover/stories/e2e/index.story.d.ts.map +1 -0
  2853. package/build-types/popover/stories/{index.d.ts → index.story.d.ts} +1 -1
  2854. package/build-types/popover/stories/index.story.d.ts.map +1 -0
  2855. package/build-types/popover/test/utils/index.d.ts +7 -0
  2856. package/build-types/popover/test/utils/index.d.ts.map +1 -0
  2857. package/build-types/private-apis.d.ts.map +1 -1
  2858. package/build-types/progress-bar/stories/{index.d.ts → index.story.d.ts} +1 -1
  2859. package/build-types/progress-bar/stories/index.story.d.ts.map +1 -0
  2860. package/build-types/query-controls/stories/index.story.d.ts +13 -0
  2861. package/build-types/query-controls/stories/index.story.d.ts.map +1 -0
  2862. package/build-types/radio-control/stories/{index.d.ts → index.story.d.ts} +1 -1
  2863. package/build-types/radio-control/stories/index.story.d.ts.map +1 -0
  2864. package/build-types/range-control/stories/{index.d.ts → index.story.d.ts} +1 -1
  2865. package/build-types/range-control/stories/index.story.d.ts.map +1 -0
  2866. package/build-types/range-control/styles/range-control-styles.d.ts +2 -1
  2867. package/build-types/range-control/styles/range-control-styles.d.ts.map +1 -1
  2868. package/build-types/range-control/types.d.ts +1 -1
  2869. package/build-types/resizable-box/index.d.ts +1 -1
  2870. package/build-types/resizable-box/resize-tooltip/index.d.ts +3 -2
  2871. package/build-types/resizable-box/resize-tooltip/index.d.ts.map +1 -1
  2872. package/build-types/resizable-box/resize-tooltip/label.d.ts +1 -1
  2873. package/build-types/resizable-box/resize-tooltip/label.d.ts.map +1 -1
  2874. package/build-types/resizable-box/stories/{index.d.ts → index.story.d.ts} +8 -8
  2875. package/build-types/resizable-box/stories/index.story.d.ts.map +1 -0
  2876. package/build-types/responsive-wrapper/stories/{index.d.ts → index.story.d.ts} +2 -2
  2877. package/build-types/responsive-wrapper/stories/index.story.d.ts.map +1 -0
  2878. package/build-types/sandbox/index.d.ts.map +1 -1
  2879. package/build-types/sandbox/stories/index.story.d.ts +12 -0
  2880. package/build-types/sandbox/stories/index.story.d.ts.map +1 -0
  2881. package/build-types/scroll-lock/stories/{index.d.ts → index.story.d.ts} +1 -1
  2882. package/build-types/scroll-lock/stories/index.story.d.ts.map +1 -0
  2883. package/build-types/scrollable/component.d.ts.map +1 -1
  2884. package/build-types/scrollable/hook.d.ts +1 -1
  2885. package/build-types/scrollable/hook.d.ts.map +1 -1
  2886. package/build-types/scrollable/stories/{index.d.ts → index.story.d.ts} +1 -1
  2887. package/build-types/scrollable/stories/index.story.d.ts.map +1 -0
  2888. package/build-types/search-control/stories/{index.d.ts → index.story.d.ts} +6 -20
  2889. package/build-types/search-control/stories/index.story.d.ts.map +1 -0
  2890. package/build-types/select-control/index.d.ts +2 -1
  2891. package/build-types/select-control/index.d.ts.map +1 -1
  2892. package/build-types/select-control/stories/index.story.d.ts +19 -0
  2893. package/build-types/select-control/stories/index.story.d.ts.map +1 -0
  2894. package/build-types/slot-fill/provider.d.ts +1 -1
  2895. package/build-types/slot-fill/provider.d.ts.map +1 -1
  2896. package/build-types/snackbar/list.d.ts.map +1 -1
  2897. package/build-types/snackbar/stories/{index.d.ts → index.story.d.ts} +1 -1
  2898. package/build-types/snackbar/stories/index.story.d.ts.map +1 -0
  2899. package/build-types/snackbar/stories/{list.d.ts → list.story.d.ts} +1 -1
  2900. package/build-types/snackbar/stories/list.story.d.ts.map +1 -0
  2901. package/build-types/spacer/component.d.ts.map +1 -1
  2902. package/build-types/spacer/hook.d.ts +1 -1
  2903. package/build-types/spacer/hook.d.ts.map +1 -1
  2904. package/build-types/spacer/stories/{index.d.ts → index.story.d.ts} +1 -1
  2905. package/build-types/spacer/stories/index.story.d.ts.map +1 -0
  2906. package/build-types/spinner/index.d.ts +1 -1
  2907. package/build-types/spinner/stories/{index.d.ts → index.story.d.ts} +1 -1
  2908. package/build-types/spinner/stories/index.story.d.ts.map +1 -0
  2909. package/build-types/style-provider/index.d.ts.map +1 -1
  2910. package/build-types/surface/stories/{index.d.ts → index.story.d.ts} +1 -1
  2911. package/build-types/surface/stories/index.story.d.ts.map +1 -0
  2912. package/build-types/tab-panel/stories/index.story.d.ts +16 -0
  2913. package/build-types/tab-panel/stories/index.story.d.ts.map +1 -0
  2914. package/build-types/text/utils.d.ts +6 -1
  2915. package/build-types/text/utils.d.ts.map +1 -1
  2916. package/build-types/text-control/stories/{index.d.ts → index.story.d.ts} +1 -1
  2917. package/build-types/text-control/stories/index.story.d.ts.map +1 -0
  2918. package/build-types/text-highlight/stories/{index.d.ts → index.story.d.ts} +1 -1
  2919. package/build-types/text-highlight/stories/index.story.d.ts.map +1 -0
  2920. package/build-types/textarea-control/stories/{index.d.ts → index.story.d.ts} +1 -1
  2921. package/build-types/textarea-control/stories/index.story.d.ts.map +1 -0
  2922. package/build-types/theme/index.d.ts +0 -2
  2923. package/build-types/theme/index.d.ts.map +1 -1
  2924. package/build-types/theme/stories/index.story.d.ts +22 -0
  2925. package/build-types/theme/stories/index.story.d.ts.map +1 -0
  2926. package/build-types/tip/stories/{index.d.ts → index.story.d.ts} +1 -1
  2927. package/build-types/tip/stories/index.story.d.ts.map +1 -0
  2928. package/build-types/toggle-control/stories/index.story.d.ts +22 -0
  2929. package/build-types/toggle-control/stories/index.story.d.ts.map +1 -0
  2930. package/build-types/toggle-group-control/stories/{index.d.ts → index.story.d.ts} +1 -1
  2931. package/build-types/toggle-group-control/stories/index.story.d.ts.map +1 -0
  2932. package/build-types/toggle-group-control/toggle-group-control/component.d.ts.map +1 -1
  2933. package/build-types/toggle-group-control/toggle-group-control-option-base/component.d.ts.map +1 -1
  2934. package/build-types/toolbar/stories/index.story.d.ts +14 -0
  2935. package/build-types/toolbar/stories/index.story.d.ts.map +1 -0
  2936. package/build-types/toolbar/toolbar/index.d.ts.map +1 -1
  2937. package/build-types/toolbar/toolbar-button/index.d.ts +13 -13
  2938. package/build-types/toolbar/toolbar-button/index.d.ts.map +1 -1
  2939. package/build-types/toolbar/toolbar-item/index.d.ts +1 -1
  2940. package/build-types/tools-panel/stories/{index.d.ts → index.story.d.ts} +1 -1
  2941. package/build-types/tools-panel/stories/index.story.d.ts.map +1 -0
  2942. package/build-types/tools-panel/tools-panel/component.d.ts.map +1 -1
  2943. package/build-types/tools-panel/tools-panel/hook.d.ts +1 -1
  2944. package/build-types/tools-panel/tools-panel/hook.d.ts.map +1 -1
  2945. package/build-types/tools-panel/tools-panel-header/component.d.ts.map +1 -1
  2946. package/build-types/tools-panel/tools-panel-header/hook.d.ts +1 -1
  2947. package/build-types/tools-panel/tools-panel-header/hook.d.ts.map +1 -1
  2948. package/build-types/tools-panel/tools-panel-item/component.d.ts.map +1 -1
  2949. package/build-types/tools-panel/tools-panel-item/hook.d.ts +1 -1
  2950. package/build-types/tools-panel/tools-panel-item/hook.d.ts.map +1 -1
  2951. package/build-types/tree-grid/stories/index.story.d.ts +13 -0
  2952. package/build-types/tree-grid/stories/index.story.d.ts.map +1 -0
  2953. package/build-types/tree-select/stories/index.story.d.ts +12 -0
  2954. package/build-types/tree-select/stories/index.story.d.ts.map +1 -0
  2955. package/build-types/truncate/component.d.ts.map +1 -1
  2956. package/build-types/truncate/hook.d.ts +1 -1
  2957. package/build-types/truncate/hook.d.ts.map +1 -1
  2958. package/build-types/truncate/stories/{index.d.ts → index.story.d.ts} +1 -1
  2959. package/build-types/truncate/stories/index.story.d.ts.map +1 -0
  2960. package/build-types/ui/context/constants.d.ts +0 -2
  2961. package/build-types/ui/context/constants.d.ts.map +1 -1
  2962. package/build-types/ui/shortcut/component.d.ts.map +1 -1
  2963. package/build-types/ui/tooltip/component.d.ts +1 -1
  2964. package/build-types/unit-control/index.d.ts +1 -1
  2965. package/build-types/unit-control/index.d.ts.map +1 -1
  2966. package/build-types/unit-control/stories/{index.d.ts → index.story.d.ts} +1 -1
  2967. package/build-types/unit-control/stories/index.story.d.ts.map +1 -0
  2968. package/build-types/unit-control/styles/unit-control-styles.d.ts +2 -1
  2969. package/build-types/unit-control/styles/unit-control-styles.d.ts.map +1 -1
  2970. package/build-types/utils/colors-values.d.ts +4 -2
  2971. package/build-types/utils/colors-values.d.ts.map +1 -1
  2972. package/build-types/utils/hooks/use-cx.d.ts +1 -1
  2973. package/build-types/utils/hooks/use-cx.d.ts.map +1 -1
  2974. package/build-types/utils/math.d.ts +0 -8
  2975. package/build-types/utils/math.d.ts.map +1 -1
  2976. package/build-types/utils/values.d.ts +0 -13
  2977. package/build-types/utils/values.d.ts.map +1 -1
  2978. package/build-types/v-stack/component.d.ts +1 -1
  2979. package/build-types/v-stack/component.d.ts.map +1 -1
  2980. package/build-types/v-stack/hook.d.ts +1 -1
  2981. package/build-types/v-stack/hook.d.ts.map +1 -1
  2982. package/build-types/v-stack/stories/e2e/{index.d.ts → index.story.d.ts} +1 -1
  2983. package/build-types/v-stack/stories/e2e/index.story.d.ts.map +1 -0
  2984. package/build-types/v-stack/stories/index.story.d.ts +15 -0
  2985. package/build-types/v-stack/stories/index.story.d.ts.map +1 -0
  2986. package/build-types/view/stories/{index.d.ts → index.story.d.ts} +1 -1
  2987. package/build-types/view/stories/index.story.d.ts.map +1 -0
  2988. package/build-types/visually-hidden/component.d.ts.map +1 -1
  2989. package/build-types/visually-hidden/stories/{index.d.ts → index.story.d.ts} +1 -1
  2990. package/build-types/visually-hidden/stories/index.story.d.ts.map +1 -0
  2991. package/build-types/z-stack/stories/{index.d.ts → index.story.d.ts} +1 -1
  2992. package/build-types/z-stack/stories/index.story.d.ts.map +1 -0
  2993. package/package.json +20 -20
  2994. package/src/alignment-matrix-control/stories/{index.tsx → index.story.tsx} +1 -4
  2995. package/src/alignment-matrix-control/styles/alignment-matrix-control-styles.ts +1 -1
  2996. package/src/alignment-matrix-control/test/index.tsx +6 -2
  2997. package/src/angle-picker-control/stories/{index.tsx → index.story.tsx} +1 -1
  2998. package/src/angle-picker-control/styles/angle-picker-control-styles.tsx +2 -2
  2999. package/src/animate/stories/{index.tsx → index.story.tsx} +10 -19
  3000. package/src/base-control/stories/{index.tsx → index.story.tsx} +1 -1
  3001. package/src/border-box-control/border-box-control/component.tsx +2 -1
  3002. package/src/border-box-control/border-box-control/hook.ts +2 -1
  3003. package/src/border-box-control/border-box-control-linked-button/component.tsx +2 -1
  3004. package/src/border-box-control/border-box-control-linked-button/hook.ts +2 -1
  3005. package/src/border-box-control/border-box-control-split-controls/component.tsx +2 -1
  3006. package/src/border-box-control/border-box-control-split-controls/hook.ts +2 -1
  3007. package/src/border-box-control/border-box-control-visualizer/component.tsx +2 -1
  3008. package/src/border-box-control/border-box-control-visualizer/hook.ts +2 -1
  3009. package/src/border-box-control/stories/{index.tsx → index.story.tsx} +1 -1
  3010. package/src/border-control/border-control/component.tsx +2 -1
  3011. package/src/border-control/border-control/hook.ts +2 -1
  3012. package/src/border-control/border-control-dropdown/component.tsx +2 -1
  3013. package/src/border-control/border-control-dropdown/hook.ts +2 -1
  3014. package/src/border-control/border-control-style-picker/component.tsx +2 -1
  3015. package/src/border-control/border-control-style-picker/hook.ts +2 -1
  3016. package/src/border-control/stories/{index.tsx → index.story.tsx} +1 -1
  3017. package/src/box-control/stories/{index.js → index.story.js} +4 -4
  3018. package/src/box-control/styles/box-control-visualizer-styles.ts +1 -1
  3019. package/src/button/stories/e2e/{index.tsx → index.story.tsx} +4 -4
  3020. package/src/button/stories/{index.tsx → index.story.tsx} +12 -14
  3021. package/src/button/style.scss +1 -1
  3022. package/src/button-group/stories/{index.tsx → index.story.tsx} +1 -1
  3023. package/src/card/card/README.md +1 -1
  3024. package/src/card/card/component.tsx +5 -8
  3025. package/src/card/card/hook.ts +2 -1
  3026. package/src/card/card-body/component.tsx +2 -1
  3027. package/src/card/card-body/hook.ts +2 -1
  3028. package/src/card/card-divider/component.tsx +4 -2
  3029. package/src/card/card-divider/hook.ts +2 -1
  3030. package/src/card/card-footer/component.tsx +2 -1
  3031. package/src/card/card-footer/hook.ts +2 -1
  3032. package/src/card/card-header/component.tsx +2 -1
  3033. package/src/card/card-header/hook.ts +2 -1
  3034. package/src/card/card-media/component.tsx +2 -1
  3035. package/src/card/card-media/hook.ts +2 -1
  3036. package/src/card/stories/{index.tsx → index.story.tsx} +1 -2
  3037. package/src/checkbox-control/stories/{index.tsx → index.story.tsx} +1 -1
  3038. package/src/circular-option-picker/stories/{index.tsx → index.story.tsx} +5 -12
  3039. package/src/color-indicator/stories/{index.tsx → index.story.tsx} +1 -1
  3040. package/src/color-palette/stories/{index.tsx → index.story.tsx} +1 -1
  3041. package/src/color-palette/test/index.tsx +15 -9
  3042. package/src/color-palette/test/utils.ts +0 -15
  3043. package/src/color-palette/utils.ts +0 -7
  3044. package/src/color-picker/component.tsx +2 -1
  3045. package/src/color-picker/hex-input.tsx +1 -1
  3046. package/src/color-picker/input-with-slider.tsx +1 -1
  3047. package/src/color-picker/stories/{index.tsx → index.story.tsx} +3 -6
  3048. package/src/combobox-control/stories/{index.tsx → index.story.tsx} +1 -1
  3049. package/src/confirm-dialog/component.tsx +2 -5
  3050. package/src/confirm-dialog/stories/{index.js → index.story.js} +3 -3
  3051. package/src/custom-gradient-picker/stories/{index.tsx → index.story.tsx} +1 -1
  3052. package/src/date-time/date/styles.ts +2 -2
  3053. package/src/date-time/date/test/index.tsx +1 -1
  3054. package/src/date-time/stories/{date-time.tsx → date-time.story.tsx} +1 -1
  3055. package/src/date-time/stories/{date.tsx → date.story.tsx} +1 -1
  3056. package/src/date-time/stories/{time.tsx → time.story.tsx} +1 -1
  3057. package/src/date-time/time/index.tsx +1 -1
  3058. package/src/dimension-control/stories/{index.tsx → index.story.tsx} +1 -1
  3059. package/src/disabled/stories/{index.tsx → index.story.tsx} +1 -1
  3060. package/src/divider/component.tsx +2 -5
  3061. package/src/divider/stories/{index.tsx → index.story.tsx} +1 -1
  3062. package/src/drop-zone/stories/{index.tsx → index.story.tsx} +1 -1
  3063. package/src/dropdown/dropdown-content-wrapper.tsx +2 -5
  3064. package/src/dropdown/stories/{index.tsx → index.story.tsx} +5 -10
  3065. package/src/dropdown-menu/stories/{index.tsx → index.story.tsx} +3 -3
  3066. package/src/dropdown-menu-v2/stories/{index.tsx → index.story.tsx} +8 -18
  3067. package/src/duotone-picker/stories/{duotone-picker.tsx → duotone-picker.story.tsx} +1 -1
  3068. package/src/duotone-picker/stories/{duotone-swatch.tsx → duotone-swatch.story.tsx} +1 -1
  3069. package/src/elevation/component.tsx +2 -1
  3070. package/src/elevation/hook.ts +4 -2
  3071. package/src/elevation/stories/{index.tsx → index.story.tsx} +1 -1
  3072. package/src/external-link/stories/{index.tsx → index.story.tsx} +1 -1
  3073. package/src/flex/flex/component.tsx +2 -1
  3074. package/src/flex/flex/hook.ts +2 -1
  3075. package/src/flex/flex-block/component.tsx +2 -1
  3076. package/src/flex/flex-block/hook.ts +2 -1
  3077. package/src/flex/flex-item/component.tsx +2 -1
  3078. package/src/flex/flex-item/hook.ts +4 -2
  3079. package/src/flex/stories/{index.tsx → index.story.tsx} +1 -2
  3080. package/src/focal-point-picker/stories/{index.tsx → index.story.tsx} +1 -1
  3081. package/src/font-size-picker/stories/{index.tsx → index.story.tsx} +1 -1
  3082. package/src/form-file-upload/stories/{index.tsx → index.story.tsx} +1 -1
  3083. package/src/form-toggle/stories/{index.tsx → index.story.tsx} +1 -1
  3084. package/src/form-token-field/stories/{index.tsx → index.story.tsx} +1 -1
  3085. package/src/gradient-picker/stories/{index.tsx → index.story.tsx} +1 -1
  3086. package/src/grid/component.tsx +2 -1
  3087. package/src/grid/hook.ts +2 -1
  3088. package/src/grid/stories/{index.tsx → index.story.tsx} +1 -1
  3089. package/src/h-stack/component.tsx +2 -1
  3090. package/src/h-stack/hook.tsx +2 -5
  3091. package/src/h-stack/stories/{index.tsx → index.story.tsx} +1 -1
  3092. package/src/heading/component.tsx +2 -1
  3093. package/src/heading/hook.ts +2 -1
  3094. package/src/heading/stories/{index.tsx → index.story.tsx} +1 -1
  3095. package/src/icon/stories/{index.tsx → index.story.tsx} +5 -7
  3096. package/src/input-control/input-base.tsx +2 -1
  3097. package/src/input-control/input-prefix-wrapper.tsx +2 -5
  3098. package/src/input-control/input-suffix-wrapper.tsx +2 -5
  3099. package/src/input-control/reducer/reducer.ts +2 -6
  3100. package/src/input-control/stories/{index.tsx → index.story.tsx} +1 -2
  3101. package/src/input-control/styles/input-control-styles.tsx +2 -1
  3102. package/src/item-group/item/component.tsx +2 -1
  3103. package/src/item-group/item/hook.ts +2 -1
  3104. package/src/item-group/item-group/component.tsx +2 -1
  3105. package/src/item-group/item-group/hook.ts +2 -1
  3106. package/src/item-group/stories/{index.tsx → index.story.tsx} +1 -2
  3107. package/src/item-group/styles.ts +2 -2
  3108. package/src/keyboard-shortcuts/stories/{index.tsx → index.story.tsx} +1 -1
  3109. package/src/menu-group/stories/index.story.tsx +83 -0
  3110. package/src/menu-item/{index.js → index.tsx} +29 -2
  3111. package/src/menu-item/types.ts +60 -0
  3112. package/src/menu-items-choice/index.tsx +1 -1
  3113. package/src/menu-items-choice/stories/{index.tsx → index.story.tsx} +1 -1
  3114. package/src/mobile/bottom-sheet/bottom-sheet-navigation/navigation-container.native.js +1 -0
  3115. package/src/mobile/keyboard-aware-flat-list/index.ios.js +1 -1
  3116. package/src/mobile/link-picker/index.native.js +7 -13
  3117. package/src/mobile/link-picker/test/performance/index.native.js +35 -0
  3118. package/src/mobile/link-settings/test/edit.native.js +0 -1
  3119. package/src/modal/README.md +7 -0
  3120. package/src/modal/index.tsx +29 -14
  3121. package/src/modal/stories/{index.tsx → index.story.tsx} +27 -0
  3122. package/src/modal/test/index.tsx +14 -0
  3123. package/src/modal/types.ts +8 -0
  3124. package/src/navigable-container/stories/{navigable-menu.tsx → navigable-menu.story.tsx} +1 -1
  3125. package/src/navigable-container/stories/{tabbable-container.tsx → tabbable-container.story.tsx} +1 -1
  3126. package/src/navigation/stories/{index.tsx → index.story.tsx} +6 -16
  3127. package/src/navigation/styles/navigation-styles.tsx +1 -1
  3128. package/src/navigator/navigator-back-button/component.tsx +2 -1
  3129. package/src/navigator/navigator-back-button/hook.ts +2 -1
  3130. package/src/navigator/navigator-button/component.tsx +2 -1
  3131. package/src/navigator/navigator-button/hook.ts +2 -1
  3132. package/src/navigator/navigator-provider/component.tsx +2 -5
  3133. package/src/navigator/navigator-screen/component.tsx +5 -6
  3134. package/src/navigator/navigator-to-parent-button/component.tsx +2 -1
  3135. package/src/navigator/stories/{index.tsx → index.story.tsx} +1 -2
  3136. package/src/notice/stories/{index.tsx → index.story.tsx} +1 -2
  3137. package/src/number-control/index.tsx +8 -8
  3138. package/src/number-control/stories/{index.tsx → index.story.tsx} +1 -1
  3139. package/src/number-control/styles/number-control-styles.ts +1 -1
  3140. package/src/number-control/test/index.tsx +64 -2
  3141. package/src/number-control/types.ts +7 -0
  3142. package/src/palette-edit/stories/{index.tsx → index.story.tsx} +3 -3
  3143. package/src/palette-edit/styles.js +3 -3
  3144. package/src/panel/stories/{index.tsx → index.story.tsx} +1 -2
  3145. package/src/placeholder/stories/{index.tsx → index.story.tsx} +1 -1
  3146. package/src/popover/index.tsx +4 -8
  3147. package/src/popover/overlay-middlewares.tsx +2 -1
  3148. package/src/popover/stories/{index.tsx → index.story.tsx} +2 -46
  3149. package/src/popover/test/index.tsx +14 -0
  3150. package/src/popover/test/utils/index.tsx +87 -0
  3151. package/src/private-apis.ts +2 -0
  3152. package/src/progress-bar/stories/{index.tsx → index.story.tsx} +1 -1
  3153. package/src/progress-bar/styles.ts +3 -3
  3154. package/src/query-controls/stories/{index.tsx → index.story.tsx} +5 -7
  3155. package/src/radio-control/stories/{index.tsx → index.story.tsx} +1 -1
  3156. package/src/radio-group/stories/{index.js → index.story.js} +2 -3
  3157. package/src/range-control/index.tsx +1 -1
  3158. package/src/range-control/stories/{index.tsx → index.story.tsx} +1 -1
  3159. package/src/range-control/styles/range-control-styles.ts +2 -2
  3160. package/src/range-control/types.ts +1 -1
  3161. package/src/resizable-box/resize-tooltip/index.tsx +2 -1
  3162. package/src/resizable-box/resize-tooltip/label.tsx +2 -1
  3163. package/src/resizable-box/stories/{index.tsx → index.story.tsx} +1 -1
  3164. package/src/responsive-wrapper/stories/{index.tsx → index.story.tsx} +1 -1
  3165. package/src/sandbox/index.tsx +4 -1
  3166. package/src/sandbox/stories/{index.tsx → index.story.tsx} +1 -1
  3167. package/src/scroll-lock/stories/{index.tsx → index.story.tsx} +1 -1
  3168. package/src/scrollable/component.tsx +2 -1
  3169. package/src/scrollable/hook.ts +2 -1
  3170. package/src/scrollable/stories/{index.tsx → index.story.tsx} +1 -1
  3171. package/src/search-control/stories/{index.tsx → index.story.tsx} +1 -1
  3172. package/src/select-control/index.tsx +2 -1
  3173. package/src/select-control/stories/{index.tsx → index.story.tsx} +5 -9
  3174. package/src/slot-fill/stories/{index.js → index.story.js} +3 -4
  3175. package/src/snackbar/list.tsx +10 -2
  3176. package/src/snackbar/stories/{index.tsx → index.story.tsx} +1 -1
  3177. package/src/snackbar/stories/{list.tsx → list.story.tsx} +1 -1
  3178. package/src/snackbar/style.scss +8 -9
  3179. package/src/spacer/component.tsx +2 -1
  3180. package/src/spacer/hook.ts +2 -1
  3181. package/src/spacer/stories/{index.tsx → index.story.tsx} +1 -1
  3182. package/src/spinner/stories/{index.tsx → index.story.tsx} +1 -1
  3183. package/src/spinner/styles.ts +1 -1
  3184. package/src/style-provider/index.tsx +19 -12
  3185. package/src/surface/stories/{index.tsx → index.story.tsx} +1 -1
  3186. package/src/tab-panel/stories/{index.tsx → index.story.tsx} +1 -1
  3187. package/src/text/stories/{index.js → index.story.js} +2 -2
  3188. package/src/text/test/index.tsx +1 -1
  3189. package/src/text-control/stories/{index.tsx → index.story.tsx} +1 -1
  3190. package/src/text-highlight/stories/{index.tsx → index.story.tsx} +1 -1
  3191. package/src/textarea-control/stories/{index.tsx → index.story.tsx} +1 -1
  3192. package/src/theme/README.md +0 -17
  3193. package/src/theme/index.tsx +0 -2
  3194. package/src/theme/stories/{index.tsx → index.story.tsx} +2 -2
  3195. package/src/tip/stories/{index.tsx → index.story.tsx} +1 -1
  3196. package/src/toggle-control/stories/{index.tsx → index.story.tsx} +1 -1
  3197. package/src/toggle-group-control/stories/{index.tsx → index.story.tsx} +1 -2
  3198. package/src/toggle-group-control/toggle-group-control/component.tsx +2 -5
  3199. package/src/toggle-group-control/toggle-group-control-option-base/component.tsx +2 -5
  3200. package/src/toggle-group-control/toggle-group-control-option-base/styles.ts +1 -1
  3201. package/src/toolbar/stories/{index.tsx → index.story.tsx} +1 -7
  3202. package/src/toolbar/toolbar/index.tsx +2 -4
  3203. package/src/toolbar/toolbar-button/index.tsx +2 -3
  3204. package/src/tools-panel/stories/{index.tsx → index.story.tsx} +1 -4
  3205. package/src/tools-panel/styles.ts +1 -1
  3206. package/src/tools-panel/test/index.tsx +2 -2
  3207. package/src/tools-panel/tools-panel/component.tsx +2 -1
  3208. package/src/tools-panel/tools-panel/hook.ts +2 -1
  3209. package/src/tools-panel/tools-panel-header/component.tsx +3 -2
  3210. package/src/tools-panel/tools-panel-header/hook.ts +2 -1
  3211. package/src/tools-panel/tools-panel-item/component.tsx +2 -1
  3212. package/src/tools-panel/tools-panel-item/hook.ts +2 -1
  3213. package/src/tooltip/stories/{index.js → index.story.js} +1 -1
  3214. package/src/tree-grid/stories/{index.tsx → index.story.tsx} +0 -1
  3215. package/src/tree-select/stories/{index.tsx → index.story.tsx} +1 -1
  3216. package/src/truncate/component.tsx +2 -1
  3217. package/src/truncate/hook.ts +2 -1
  3218. package/src/truncate/stories/{index.tsx → index.story.tsx} +1 -1
  3219. package/src/ui/README.md +3 -20
  3220. package/src/ui/context/constants.js +0 -2
  3221. package/src/ui/shortcut/component.tsx +2 -5
  3222. package/src/ui/tooltip/test/index.js +4 -4
  3223. package/src/unit-control/stories/{index.tsx → index.story.tsx} +1 -1
  3224. package/src/unit-control/styles/unit-control-styles.ts +1 -1
  3225. package/src/utils/colors-values.js +6 -2
  3226. package/src/utils/config-values.js +2 -2
  3227. package/src/utils/hooks/use-cx.ts +3 -1
  3228. package/src/utils/input/base.js +2 -2
  3229. package/src/utils/math.js +0 -11
  3230. package/src/utils/values.js +0 -81
  3231. package/src/v-stack/component.tsx +2 -1
  3232. package/src/v-stack/hook.ts +2 -1
  3233. package/src/v-stack/stories/{index.tsx → index.story.tsx} +1 -1
  3234. package/src/view/stories/{index.tsx → index.story.tsx} +1 -1
  3235. package/src/visually-hidden/component.tsx +2 -5
  3236. package/src/visually-hidden/stories/{index.tsx → index.story.tsx} +1 -1
  3237. package/src/z-stack/stories/{index.tsx → index.story.tsx} +1 -1
  3238. package/tsconfig.json +1 -3
  3239. package/tsconfig.tsbuildinfo +1 -1
  3240. package/build/ui/control-group/component.js +0 -81
  3241. package/build/ui/control-group/component.js.map +0 -1
  3242. package/build/ui/control-group/context.js +0 -21
  3243. package/build/ui/control-group/context.js.map +0 -1
  3244. package/build/ui/control-group/hook.js +0 -97
  3245. package/build/ui/control-group/hook.js.map +0 -1
  3246. package/build/ui/control-group/index.js +0 -47
  3247. package/build/ui/control-group/index.js.map +0 -1
  3248. package/build/ui/control-group/styles.js +0 -82
  3249. package/build/ui/control-group/styles.js.map +0 -1
  3250. package/build/ui/control-group/types.js.map +0 -1
  3251. package/build/ui/control-label/component.js +0 -54
  3252. package/build/ui/control-label/component.js.map +0 -1
  3253. package/build/ui/control-label/hook.js +0 -54
  3254. package/build/ui/control-label/hook.js.map +0 -1
  3255. package/build/ui/control-label/index.js +0 -33
  3256. package/build/ui/control-label/index.js.map +0 -1
  3257. package/build/ui/control-label/styles.js +0 -61
  3258. package/build/ui/control-label/styles.js.map +0 -1
  3259. package/build/ui/control-label/types.js +0 -6
  3260. package/build/ui/control-label/types.js.map +0 -1
  3261. package/build/ui/form-group/form-group-content.js +0 -65
  3262. package/build/ui/form-group/form-group-content.js.map +0 -1
  3263. package/build/ui/form-group/form-group-context.js +0 -47
  3264. package/build/ui/form-group/form-group-context.js.map +0 -1
  3265. package/build/ui/form-group/form-group-help.js +0 -46
  3266. package/build/ui/form-group/form-group-help.js.map +0 -1
  3267. package/build/ui/form-group/form-group-label.js +0 -48
  3268. package/build/ui/form-group/form-group-label.js.map +0 -1
  3269. package/build/ui/form-group/form-group-styles.js +0 -22
  3270. package/build/ui/form-group/form-group-styles.js.map +0 -1
  3271. package/build/ui/form-group/form-group.js +0 -72
  3272. package/build/ui/form-group/form-group.js.map +0 -1
  3273. package/build/ui/form-group/index.js +0 -47
  3274. package/build/ui/form-group/index.js.map +0 -1
  3275. package/build/ui/form-group/types.js +0 -6
  3276. package/build/ui/form-group/types.js.map +0 -1
  3277. package/build/ui/form-group/use-form-group.js +0 -63
  3278. package/build/ui/form-group/use-form-group.js.map +0 -1
  3279. package/build/ui/index.js +0 -71
  3280. package/build/ui/index.js.map +0 -1
  3281. package/build/ui/spinner/component.js +0 -108
  3282. package/build/ui/spinner/component.js.map +0 -1
  3283. package/build/ui/spinner/index.js +0 -16
  3284. package/build/ui/spinner/index.js.map +0 -1
  3285. package/build/ui/spinner/styles.js +0 -53
  3286. package/build/ui/spinner/styles.js.map +0 -1
  3287. package/build/ui/spinner/utils.js +0 -11
  3288. package/build/ui/spinner/utils.js.map +0 -1
  3289. package/build/ui/utils/get-high-dpi.js +0 -17
  3290. package/build/ui/utils/get-high-dpi.js.map +0 -1
  3291. package/build/utils/browsers.js +0 -36
  3292. package/build/utils/browsers.js.map +0 -1
  3293. package/build/utils/events.js +0 -47
  3294. package/build/utils/events.js.map +0 -1
  3295. package/build-module/ui/control-group/component.js +0 -69
  3296. package/build-module/ui/control-group/component.js.map +0 -1
  3297. package/build-module/ui/control-group/context.js +0 -9
  3298. package/build-module/ui/control-group/context.js.map +0 -1
  3299. package/build-module/ui/control-group/hook.js +0 -81
  3300. package/build-module/ui/control-group/hook.js.map +0 -1
  3301. package/build-module/ui/control-group/index.js +0 -4
  3302. package/build-module/ui/control-group/index.js.map +0 -1
  3303. package/build-module/ui/control-group/styles.js +0 -70
  3304. package/build-module/ui/control-group/styles.js.map +0 -1
  3305. package/build-module/ui/control-group/types.js.map +0 -1
  3306. package/build-module/ui/control-label/component.js +0 -43
  3307. package/build-module/ui/control-label/component.js.map +0 -1
  3308. package/build-module/ui/control-label/hook.js +0 -38
  3309. package/build-module/ui/control-label/hook.js.map +0 -1
  3310. package/build-module/ui/control-label/index.js +0 -3
  3311. package/build-module/ui/control-label/index.js.map +0 -1
  3312. package/build-module/ui/control-label/styles.js +0 -50
  3313. package/build-module/ui/control-label/styles.js.map +0 -1
  3314. package/build-module/ui/control-label/types.js +0 -2
  3315. package/build-module/ui/control-label/types.js.map +0 -1
  3316. package/build-module/ui/form-group/form-group-content.js +0 -51
  3317. package/build-module/ui/form-group/form-group-content.js.map +0 -1
  3318. package/build-module/ui/form-group/form-group-context.js +0 -32
  3319. package/build-module/ui/form-group/form-group-context.js.map +0 -1
  3320. package/build-module/ui/form-group/form-group-help.js +0 -37
  3321. package/build-module/ui/form-group/form-group-help.js.map +0 -1
  3322. package/build-module/ui/form-group/form-group-label.js +0 -38
  3323. package/build-module/ui/form-group/form-group-label.js.map +0 -1
  3324. package/build-module/ui/form-group/form-group-styles.js +0 -16
  3325. package/build-module/ui/form-group/form-group-styles.js.map +0 -1
  3326. package/build-module/ui/form-group/form-group.js +0 -57
  3327. package/build-module/ui/form-group/form-group.js.map +0 -1
  3328. package/build-module/ui/form-group/index.js +0 -4
  3329. package/build-module/ui/form-group/index.js.map +0 -1
  3330. package/build-module/ui/form-group/types.js +0 -2
  3331. package/build-module/ui/form-group/types.js.map +0 -1
  3332. package/build-module/ui/form-group/use-form-group.js +0 -48
  3333. package/build-module/ui/form-group/use-form-group.js.map +0 -1
  3334. package/build-module/ui/index.js +0 -6
  3335. package/build-module/ui/index.js.map +0 -1
  3336. package/build-module/ui/spinner/component.js +0 -95
  3337. package/build-module/ui/spinner/component.js.map +0 -1
  3338. package/build-module/ui/spinner/index.js +0 -2
  3339. package/build-module/ui/spinner/index.js.map +0 -1
  3340. package/build-module/ui/spinner/styles.js +0 -47
  3341. package/build-module/ui/spinner/styles.js.map +0 -1
  3342. package/build-module/ui/spinner/utils.js +0 -3
  3343. package/build-module/ui/spinner/utils.js.map +0 -1
  3344. package/build-module/ui/utils/get-high-dpi.js +0 -10
  3345. package/build-module/ui/utils/get-high-dpi.js.map +0 -1
  3346. package/build-module/utils/browsers.js +0 -26
  3347. package/build-module/utils/browsers.js.map +0 -1
  3348. package/build-module/utils/events.js +0 -40
  3349. package/build-module/utils/events.js.map +0 -1
  3350. package/build-types/alignment-matrix-control/stories/index.d.ts +0 -14
  3351. package/build-types/alignment-matrix-control/stories/index.d.ts.map +0 -1
  3352. package/build-types/angle-picker-control/stories/index.d.ts +0 -15
  3353. package/build-types/angle-picker-control/stories/index.d.ts.map +0 -1
  3354. package/build-types/animate/stories/index.d.ts +0 -18
  3355. package/build-types/animate/stories/index.d.ts.map +0 -1
  3356. package/build-types/base-control/stories/index.d.ts.map +0 -1
  3357. package/build-types/border-box-control/stories/index.d.ts +0 -17
  3358. package/build-types/border-box-control/stories/index.d.ts.map +0 -1
  3359. package/build-types/border-control/stories/index.d.ts +0 -119
  3360. package/build-types/border-control/stories/index.d.ts.map +0 -1
  3361. package/build-types/button/stories/e2e/index.d.ts +0 -15
  3362. package/build-types/button/stories/e2e/index.d.ts.map +0 -1
  3363. package/build-types/button/stories/index.d.ts +0 -20
  3364. package/build-types/button/stories/index.d.ts.map +0 -1
  3365. package/build-types/button-group/stories/index.d.ts.map +0 -1
  3366. package/build-types/card/stories/index.d.ts +0 -32
  3367. package/build-types/card/stories/index.d.ts.map +0 -1
  3368. package/build-types/checkbox-control/stories/index.d.ts.map +0 -1
  3369. package/build-types/circular-option-picker/stories/index.d.ts +0 -14
  3370. package/build-types/circular-option-picker/stories/index.d.ts.map +0 -1
  3371. package/build-types/color-indicator/stories/index.d.ts.map +0 -1
  3372. package/build-types/color-palette/stories/index.d.ts.map +0 -1
  3373. package/build-types/color-picker/stories/index.d.ts.map +0 -1
  3374. package/build-types/combobox-control/stories/index.d.ts +0 -18
  3375. package/build-types/combobox-control/stories/index.d.ts.map +0 -1
  3376. package/build-types/custom-gradient-picker/stories/index.d.ts +0 -12
  3377. package/build-types/custom-gradient-picker/stories/index.d.ts.map +0 -1
  3378. package/build-types/date-time/stories/date-time.d.ts.map +0 -1
  3379. package/build-types/date-time/stories/date.d.ts.map +0 -1
  3380. package/build-types/date-time/stories/time.d.ts.map +0 -1
  3381. package/build-types/dimension-control/stories/index.d.ts +0 -12
  3382. package/build-types/dimension-control/stories/index.d.ts.map +0 -1
  3383. package/build-types/disabled/stories/index.d.ts.map +0 -1
  3384. package/build-types/divider/stories/index.d.ts.map +0 -1
  3385. package/build-types/draggable/stories/index.d.ts.map +0 -1
  3386. package/build-types/drop-zone/stories/index.d.ts +0 -12
  3387. package/build-types/drop-zone/stories/index.d.ts.map +0 -1
  3388. package/build-types/dropdown/stories/index.d.ts.map +0 -1
  3389. package/build-types/dropdown-menu/stories/index.d.ts +0 -14
  3390. package/build-types/dropdown-menu/stories/index.d.ts.map +0 -1
  3391. package/build-types/dropdown-menu-v2/stories/index.d.ts +0 -11
  3392. package/build-types/dropdown-menu-v2/stories/index.d.ts.map +0 -1
  3393. package/build-types/duotone-picker/stories/duotone-picker.d.ts +0 -12
  3394. package/build-types/duotone-picker/stories/duotone-picker.d.ts.map +0 -1
  3395. package/build-types/duotone-picker/stories/duotone-swatch.d.ts +0 -14
  3396. package/build-types/duotone-picker/stories/duotone-swatch.d.ts.map +0 -1
  3397. package/build-types/elevation/stories/index.d.ts.map +0 -1
  3398. package/build-types/external-link/stories/index.d.ts.map +0 -1
  3399. package/build-types/flex/stories/index.d.ts.map +0 -1
  3400. package/build-types/focal-point-picker/stories/index.d.ts +0 -15
  3401. package/build-types/focal-point-picker/stories/index.d.ts.map +0 -1
  3402. package/build-types/font-size-picker/stories/e2e/index.d.ts.map +0 -1
  3403. package/build-types/font-size-picker/stories/index.d.ts.map +0 -1
  3404. package/build-types/form-file-upload/stories/index.d.ts +0 -23
  3405. package/build-types/form-file-upload/stories/index.d.ts.map +0 -1
  3406. package/build-types/form-toggle/stories/index.d.ts.map +0 -1
  3407. package/build-types/form-token-field/stories/index.d.ts.map +0 -1
  3408. package/build-types/gradient-picker/stories/index.d.ts +0 -14
  3409. package/build-types/gradient-picker/stories/index.d.ts.map +0 -1
  3410. package/build-types/grid/stories/index.d.ts.map +0 -1
  3411. package/build-types/guide/stories/index.d.ts +0 -9
  3412. package/build-types/guide/stories/index.d.ts.map +0 -1
  3413. package/build-types/h-stack/stories/e2e/index.d.ts.map +0 -1
  3414. package/build-types/h-stack/stories/index.d.ts.map +0 -1
  3415. package/build-types/heading/stories/index.d.ts.map +0 -1
  3416. package/build-types/icon/stories/index.d.ts +0 -22
  3417. package/build-types/icon/stories/index.d.ts.map +0 -1
  3418. package/build-types/input-control/stories/index.d.ts +0 -28
  3419. package/build-types/input-control/stories/index.d.ts.map +0 -1
  3420. package/build-types/item-group/stories/index.d.ts.map +0 -1
  3421. package/build-types/keyboard-shortcuts/stories/index.d.ts +0 -12
  3422. package/build-types/keyboard-shortcuts/stories/index.d.ts.map +0 -1
  3423. package/build-types/menu-items-choice/stories/index.d.ts.map +0 -1
  3424. package/build-types/modal/stories/index.d.ts.map +0 -1
  3425. package/build-types/navigable-container/stories/navigable-menu.d.ts.map +0 -1
  3426. package/build-types/navigable-container/stories/tabbable-container.d.ts.map +0 -1
  3427. package/build-types/navigation/stories/index.d.ts +0 -18
  3428. package/build-types/navigation/stories/index.d.ts.map +0 -1
  3429. package/build-types/navigator/stories/index.d.ts.map +0 -1
  3430. package/build-types/notice/stories/index.d.ts +0 -17
  3431. package/build-types/notice/stories/index.d.ts.map +0 -1
  3432. package/build-types/number-control/stories/index.d.ts.map +0 -1
  3433. package/build-types/palette-edit/stories/index.d.ts +0 -13
  3434. package/build-types/palette-edit/stories/index.d.ts.map +0 -1
  3435. package/build-types/panel/stories/index.d.ts.map +0 -1
  3436. package/build-types/placeholder/stories/index.d.ts.map +0 -1
  3437. package/build-types/popover/stories/e2e/index.d.ts.map +0 -1
  3438. package/build-types/popover/stories/index.d.ts.map +0 -1
  3439. package/build-types/progress-bar/stories/index.d.ts.map +0 -1
  3440. package/build-types/query-controls/stories/index.d.ts +0 -13
  3441. package/build-types/query-controls/stories/index.d.ts.map +0 -1
  3442. package/build-types/radio-control/stories/index.d.ts.map +0 -1
  3443. package/build-types/range-control/stories/index.d.ts.map +0 -1
  3444. package/build-types/resizable-box/stories/index.d.ts.map +0 -1
  3445. package/build-types/responsive-wrapper/stories/index.d.ts.map +0 -1
  3446. package/build-types/sandbox/stories/index.d.ts +0 -12
  3447. package/build-types/sandbox/stories/index.d.ts.map +0 -1
  3448. package/build-types/scroll-lock/stories/index.d.ts.map +0 -1
  3449. package/build-types/scrollable/stories/index.d.ts.map +0 -1
  3450. package/build-types/search-control/stories/index.d.ts.map +0 -1
  3451. package/build-types/select-control/stories/index.d.ts +0 -19
  3452. package/build-types/select-control/stories/index.d.ts.map +0 -1
  3453. package/build-types/snackbar/stories/index.d.ts.map +0 -1
  3454. package/build-types/snackbar/stories/list.d.ts.map +0 -1
  3455. package/build-types/spacer/stories/index.d.ts.map +0 -1
  3456. package/build-types/spinner/stories/index.d.ts.map +0 -1
  3457. package/build-types/surface/stories/index.d.ts.map +0 -1
  3458. package/build-types/tab-panel/stories/index.d.ts +0 -16
  3459. package/build-types/tab-panel/stories/index.d.ts.map +0 -1
  3460. package/build-types/text-control/stories/index.d.ts.map +0 -1
  3461. package/build-types/text-highlight/stories/index.d.ts.map +0 -1
  3462. package/build-types/textarea-control/stories/index.d.ts.map +0 -1
  3463. package/build-types/theme/stories/index.d.ts +0 -17
  3464. package/build-types/theme/stories/index.d.ts.map +0 -1
  3465. package/build-types/tip/stories/index.d.ts.map +0 -1
  3466. package/build-types/toggle-control/stories/index.d.ts +0 -13
  3467. package/build-types/toggle-control/stories/index.d.ts.map +0 -1
  3468. package/build-types/toggle-group-control/stories/index.d.ts.map +0 -1
  3469. package/build-types/toolbar/stories/index.d.ts +0 -14
  3470. package/build-types/toolbar/stories/index.d.ts.map +0 -1
  3471. package/build-types/tools-panel/stories/index.d.ts.map +0 -1
  3472. package/build-types/tree-grid/stories/index.d.ts +0 -13
  3473. package/build-types/tree-grid/stories/index.d.ts.map +0 -1
  3474. package/build-types/tree-select/stories/index.d.ts +0 -12
  3475. package/build-types/tree-select/stories/index.d.ts.map +0 -1
  3476. package/build-types/truncate/stories/index.d.ts.map +0 -1
  3477. package/build-types/ui/control-group/component.d.ts +0 -27
  3478. package/build-types/ui/control-group/component.d.ts.map +0 -1
  3479. package/build-types/ui/control-group/context.d.ts +0 -4
  3480. package/build-types/ui/control-group/context.d.ts.map +0 -1
  3481. package/build-types/ui/control-group/hook.d.ts +0 -266
  3482. package/build-types/ui/control-group/hook.d.ts.map +0 -1
  3483. package/build-types/ui/control-group/index.d.ts +0 -4
  3484. package/build-types/ui/control-group/index.d.ts.map +0 -1
  3485. package/build-types/ui/control-group/styles.d.ts +0 -8
  3486. package/build-types/ui/control-group/styles.d.ts.map +0 -1
  3487. package/build-types/ui/control-group/types.d.ts +0 -27
  3488. package/build-types/ui/control-group/types.d.ts.map +0 -1
  3489. package/build-types/ui/control-label/component.d.ts +0 -23
  3490. package/build-types/ui/control-label/component.d.ts.map +0 -1
  3491. package/build-types/ui/control-label/hook.d.ts +0 -265
  3492. package/build-types/ui/control-label/hook.d.ts.map +0 -1
  3493. package/build-types/ui/control-label/index.d.ts +0 -3
  3494. package/build-types/ui/control-label/index.d.ts.map +0 -1
  3495. package/build-types/ui/control-label/styles.d.ts +0 -7
  3496. package/build-types/ui/control-label/styles.d.ts.map +0 -1
  3497. package/build-types/ui/control-label/types.d.ts +0 -9
  3498. package/build-types/ui/control-label/types.d.ts.map +0 -1
  3499. package/build-types/ui/form-group/form-group-content.d.ts +0 -7
  3500. package/build-types/ui/form-group/form-group-content.d.ts.map +0 -1
  3501. package/build-types/ui/form-group/form-group-context.d.ts +0 -11
  3502. package/build-types/ui/form-group/form-group-context.d.ts.map +0 -1
  3503. package/build-types/ui/form-group/form-group-help.d.ts +0 -18
  3504. package/build-types/ui/form-group/form-group-help.d.ts.map +0 -1
  3505. package/build-types/ui/form-group/form-group-label.d.ts +0 -8
  3506. package/build-types/ui/form-group/form-group-label.d.ts.map +0 -1
  3507. package/build-types/ui/form-group/form-group-styles.d.ts +0 -2
  3508. package/build-types/ui/form-group/form-group-styles.d.ts.map +0 -1
  3509. package/build-types/ui/form-group/form-group.d.ts +0 -53
  3510. package/build-types/ui/form-group/form-group.d.ts.map +0 -1
  3511. package/build-types/ui/form-group/index.d.ts +0 -4
  3512. package/build-types/ui/form-group/index.d.ts.map +0 -1
  3513. package/build-types/ui/form-group/types.d.ts +0 -30
  3514. package/build-types/ui/form-group/types.d.ts.map +0 -1
  3515. package/build-types/ui/form-group/use-form-group.d.ts +0 -593
  3516. package/build-types/ui/form-group/use-form-group.d.ts.map +0 -1
  3517. package/build-types/ui/index.d.ts +0 -6
  3518. package/build-types/ui/index.d.ts.map +0 -1
  3519. package/build-types/ui/spinner/component.d.ts +0 -13
  3520. package/build-types/ui/spinner/component.d.ts.map +0 -1
  3521. package/build-types/ui/spinner/index.d.ts +0 -2
  3522. package/build-types/ui/spinner/index.d.ts.map +0 -1
  3523. package/build-types/ui/spinner/styles.d.ts +0 -13
  3524. package/build-types/ui/spinner/styles.d.ts.map +0 -1
  3525. package/build-types/ui/spinner/utils.d.ts +0 -3
  3526. package/build-types/ui/spinner/utils.d.ts.map +0 -1
  3527. package/build-types/ui/utils/get-high-dpi.d.ts +0 -3
  3528. package/build-types/ui/utils/get-high-dpi.d.ts.map +0 -1
  3529. package/build-types/unit-control/stories/index.d.ts.map +0 -1
  3530. package/build-types/utils/browsers.d.ts +0 -11
  3531. package/build-types/utils/browsers.d.ts.map +0 -1
  3532. package/build-types/utils/events.d.ts +0 -11
  3533. package/build-types/utils/events.d.ts.map +0 -1
  3534. package/build-types/v-stack/stories/e2e/index.d.ts.map +0 -1
  3535. package/build-types/v-stack/stories/index.d.ts +0 -13
  3536. package/build-types/v-stack/stories/index.d.ts.map +0 -1
  3537. package/build-types/view/stories/index.d.ts.map +0 -1
  3538. package/build-types/visually-hidden/stories/index.d.ts.map +0 -1
  3539. package/build-types/z-stack/stories/index.d.ts.map +0 -1
  3540. package/src/ui/control-group/README.md +0 -23
  3541. package/src/ui/control-group/component.js +0 -75
  3542. package/src/ui/control-group/context.js +0 -8
  3543. package/src/ui/control-group/hook.js +0 -93
  3544. package/src/ui/control-group/index.js +0 -3
  3545. package/src/ui/control-group/styles.js +0 -43
  3546. package/src/ui/control-group/test/__snapshots__/index.js.snap +0 -51
  3547. package/src/ui/control-group/test/index.js +0 -22
  3548. package/src/ui/control-group/types.ts +0 -29
  3549. package/src/ui/control-label/README.md +0 -22
  3550. package/src/ui/control-label/component.js +0 -37
  3551. package/src/ui/control-label/hook.js +0 -43
  3552. package/src/ui/control-label/index.js +0 -2
  3553. package/src/ui/control-label/stories/index.js +0 -13
  3554. package/src/ui/control-label/styles.js +0 -65
  3555. package/src/ui/control-label/test/__snapshots__/index.js.snap +0 -141
  3556. package/src/ui/control-label/test/index.js +0 -39
  3557. package/src/ui/control-label/types.ts +0 -9
  3558. package/src/ui/form-group/README.md +0 -113
  3559. package/src/ui/form-group/form-group-content.js +0 -59
  3560. package/src/ui/form-group/form-group-context.js +0 -31
  3561. package/src/ui/form-group/form-group-help.js +0 -32
  3562. package/src/ui/form-group/form-group-label.js +0 -30
  3563. package/src/ui/form-group/form-group-styles.js +0 -8
  3564. package/src/ui/form-group/form-group.js +0 -54
  3565. package/src/ui/form-group/index.js +0 -4
  3566. package/src/ui/form-group/stories/index.js +0 -44
  3567. package/src/ui/form-group/test/__snapshots__/index.js.snap +0 -121
  3568. package/src/ui/form-group/test/index.js +0 -82
  3569. package/src/ui/form-group/types.ts +0 -32
  3570. package/src/ui/form-group/use-form-group.js +0 -53
  3571. package/src/ui/index.js +0 -5
  3572. package/src/ui/spinner/README.md +0 -31
  3573. package/src/ui/spinner/component.js +0 -75
  3574. package/src/ui/spinner/index.js +0 -1
  3575. package/src/ui/spinner/stories/index.js +0 -19
  3576. package/src/ui/spinner/styles.js +0 -109
  3577. package/src/ui/spinner/test/__snapshots__/index.js.snap +0 -265
  3578. package/src/ui/spinner/test/index.js +0 -32
  3579. package/src/ui/spinner/utils.js +0 -2
  3580. package/src/ui/utils/get-high-dpi.ts +0 -20
  3581. package/src/utils/browsers.js +0 -36
  3582. package/src/utils/events.ts +0 -50
  3583. package/src/utils/test/events.js +0 -63
  3584. package/src/utils/test/values.js +0 -101
  3585. /package/build/{ui/control-group → menu-item}/types.js +0 -0
  3586. /package/build-module/{ui/control-group → menu-item}/types.js +0 -0
  3587. /package/src/custom-select-control/stories/{index.js → index.story.js} +0 -0
  3588. /package/src/draggable/stories/{index.tsx → index.story.tsx} +0 -0
  3589. /package/src/font-size-picker/stories/e2e/{index.tsx → index.story.tsx} +0 -0
  3590. /package/src/guide/stories/{index.tsx → index.story.tsx} +0 -0
  3591. /package/src/h-stack/stories/e2e/{index.tsx → index.story.tsx} +0 -0
  3592. /package/src/popover/stories/e2e/{index.tsx → index.story.tsx} +0 -0
  3593. /package/src/ui/tooltip/stories/{index.js → index.story.js} +0 -0
  3594. /package/src/v-stack/stories/e2e/{index.tsx → index.story.tsx} +0 -0
@@ -2,12 +2,11 @@
2
2
  * WordPress dependencies
3
3
  */
4
4
  import { useInstanceId } from '@wordpress/compose';
5
+
5
6
  /**
6
7
  * Internal dependencies
7
8
  */
8
-
9
9
  import BaseControl from '.';
10
-
11
10
  /**
12
11
  * Generate props for the `BaseControl` and the inner control itself.
13
12
  *
@@ -21,8 +20,9 @@ export function useBaseControlProps(props) {
21
20
  id: preferredId,
22
21
  ...restProps
23
22
  } = props;
24
- const uniqueId = useInstanceId(BaseControl, 'wp-components-base-control', preferredId); // ARIA descriptions can only contain plain text, so fall back to aria-details if not.
23
+ const uniqueId = useInstanceId(BaseControl, 'wp-components-base-control', preferredId);
25
24
 
25
+ // ARIA descriptions can only contain plain text, so fall back to aria-details if not.
26
26
  const helpPropName = typeof help === 'string' ? 'aria-describedby' : 'aria-details';
27
27
  return {
28
28
  baseControlProps: {
@@ -1 +1 @@
1
- {"version":3,"sources":["@wordpress/components/src/base-control/hooks.ts"],"names":["useInstanceId","BaseControl","useBaseControlProps","props","help","id","preferredId","restProps","uniqueId","helpPropName","baseControlProps","controlProps"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,aAAT,QAA8B,oBAA9B;AAEA;AACA;AACA;;AACA,OAAOC,WAAP,MAAwB,GAAxB;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,mBAAT,CACNC,KADM,EAEL;AACD,QAAM;AAAEC,IAAAA,IAAF;AAAQC,IAAAA,EAAE,EAAEC,WAAZ;AAAyB,OAAGC;AAA5B,MAA0CJ,KAAhD;AAEA,QAAMK,QAAQ,GAAGR,aAAa,CAC7BC,WAD6B,EAE7B,4BAF6B,EAG7BK,WAH6B,CAA9B,CAHC,CASD;;AACA,QAAMG,YAAY,GACjB,OAAOL,IAAP,KAAgB,QAAhB,GAA2B,kBAA3B,GAAgD,cADjD;AAGA,SAAO;AACNM,IAAAA,gBAAgB,EAAE;AACjBL,MAAAA,EAAE,EAAEG,QADa;AAEjBJ,MAAAA,IAFiB;AAGjB,SAAGG;AAHc,KADZ;AAMNI,IAAAA,YAAY,EAAE;AACbN,MAAAA,EAAE,EAAEG,QADS;AAEb,UAAK,CAAC,CAAEJ,IAAH,GAAU;AAAE,SAAEK,YAAF,GAAmB,GAAGD,QAAU;AAAlC,OAAV,GAAwD,EAA7D;AAFa;AANR,GAAP;AAWA","sourcesContent":["/**\n * WordPress dependencies\n */\nimport { useInstanceId } from '@wordpress/compose';\n\n/**\n * Internal dependencies\n */\nimport BaseControl from '.';\nimport type { BaseControlProps } from './types';\n\n/**\n * Generate props for the `BaseControl` and the inner control itself.\n *\n * Namely, it takes care of generating a unique `id`, properly associating it with the `label` and `help` elements.\n *\n * @param props\n */\nexport function useBaseControlProps(\n\tprops: Omit< BaseControlProps, 'children' >\n) {\n\tconst { help, id: preferredId, ...restProps } = props;\n\n\tconst uniqueId = useInstanceId(\n\t\tBaseControl,\n\t\t'wp-components-base-control',\n\t\tpreferredId\n\t);\n\n\t// ARIA descriptions can only contain plain text, so fall back to aria-details if not.\n\tconst helpPropName =\n\t\ttypeof help === 'string' ? 'aria-describedby' : 'aria-details';\n\n\treturn {\n\t\tbaseControlProps: {\n\t\t\tid: uniqueId,\n\t\t\thelp,\n\t\t\t...restProps,\n\t\t},\n\t\tcontrolProps: {\n\t\t\tid: uniqueId,\n\t\t\t...( !! help ? { [ helpPropName ]: `${ uniqueId }__help` } : {} ),\n\t\t},\n\t};\n}\n"]}
1
+ {"version":3,"names":["useInstanceId","BaseControl","useBaseControlProps","props","help","id","preferredId","restProps","uniqueId","helpPropName","baseControlProps","controlProps"],"sources":["@wordpress/components/src/base-control/hooks.ts"],"sourcesContent":["/**\n * WordPress dependencies\n */\nimport { useInstanceId } from '@wordpress/compose';\n\n/**\n * Internal dependencies\n */\nimport BaseControl from '.';\nimport type { BaseControlProps } from './types';\n\n/**\n * Generate props for the `BaseControl` and the inner control itself.\n *\n * Namely, it takes care of generating a unique `id`, properly associating it with the `label` and `help` elements.\n *\n * @param props\n */\nexport function useBaseControlProps(\n\tprops: Omit< BaseControlProps, 'children' >\n) {\n\tconst { help, id: preferredId, ...restProps } = props;\n\n\tconst uniqueId = useInstanceId(\n\t\tBaseControl,\n\t\t'wp-components-base-control',\n\t\tpreferredId\n\t);\n\n\t// ARIA descriptions can only contain plain text, so fall back to aria-details if not.\n\tconst helpPropName =\n\t\ttypeof help === 'string' ? 'aria-describedby' : 'aria-details';\n\n\treturn {\n\t\tbaseControlProps: {\n\t\t\tid: uniqueId,\n\t\t\thelp,\n\t\t\t...restProps,\n\t\t},\n\t\tcontrolProps: {\n\t\t\tid: uniqueId,\n\t\t\t...( !! help ? { [ helpPropName ]: `${ uniqueId }__help` } : {} ),\n\t\t},\n\t};\n}\n"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,aAAa,QAAQ,oBAAoB;;AAElD;AACA;AACA;AACA,OAAOC,WAAW,MAAM,GAAG;AAG3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,mBAAmBA,CAClCC,KAA2C,EAC1C;EACD,MAAM;IAAEC,IAAI;IAAEC,EAAE,EAAEC,WAAW;IAAE,GAAGC;EAAU,CAAC,GAAGJ,KAAK;EAErD,MAAMK,QAAQ,GAAGR,aAAa,CAC7BC,WAAW,EACX,4BAA4B,EAC5BK,WACD,CAAC;;EAED;EACA,MAAMG,YAAY,GACjB,OAAOL,IAAI,KAAK,QAAQ,GAAG,kBAAkB,GAAG,cAAc;EAE/D,OAAO;IACNM,gBAAgB,EAAE;MACjBL,EAAE,EAAEG,QAAQ;MACZJ,IAAI;MACJ,GAAGG;IACJ,CAAC;IACDI,YAAY,EAAE;MACbN,EAAE,EAAEG,QAAQ;MACZ,IAAK,CAAC,CAAEJ,IAAI,GAAG;QAAE,CAAEK,YAAY,GAAK,GAAGD,QAAU;MAAQ,CAAC,GAAG,CAAC,CAAC;IAChE;EACD,CAAC;AACF"}
@@ -1,16 +1,16 @@
1
1
  import { createElement } from "@wordpress/element";
2
-
3
2
  /**
4
3
  * External dependencies
5
4
  */
6
5
  import classnames from 'classnames';
6
+
7
7
  /**
8
8
  * Internal dependencies
9
9
  */
10
-
11
10
  import { VisuallyHidden } from '../visually-hidden';
12
11
  import { Wrapper, StyledField, StyledLabel, StyledHelp, StyledVisualLabel } from './styles/base-control-styles';
13
12
  export { useBaseControlProps } from './hooks';
13
+
14
14
  /**
15
15
  * `BaseControl` is a component used to generate labels and help text for components handling user inputs.
16
16
  *
@@ -34,7 +34,6 @@ export { useBaseControlProps } from './hooks';
34
34
  * );
35
35
  * ```
36
36
  */
37
-
38
37
  export const BaseControl = ({
39
38
  __nextHasNoMarginBottom = false,
40
39
  id,
@@ -47,7 +46,8 @@ export const BaseControl = ({
47
46
  return createElement(Wrapper, {
48
47
  className: classnames('components-base-control', className)
49
48
  }, createElement(StyledField, {
50
- className: "components-base-control__field" // TODO: Official deprecation for this should start after all internal usages have been migrated
49
+ className: "components-base-control__field"
50
+ // TODO: Official deprecation for this should start after all internal usages have been migrated
51
51
  ,
52
52
  __nextHasNoMarginBottom: __nextHasNoMarginBottom
53
53
  }, label && id && (hideLabelFromVision ? createElement(VisuallyHidden, {
@@ -64,6 +64,7 @@ export const BaseControl = ({
64
64
  __nextHasNoMarginBottom: __nextHasNoMarginBottom
65
65
  }, help));
66
66
  };
67
+
67
68
  /**
68
69
  * `BaseControl.VisualLabel` is used to render a purely visual label inside a `BaseControl` component.
69
70
  *
@@ -81,13 +82,13 @@ export const BaseControl = ({
81
82
  * </BaseControl>
82
83
  * );
83
84
  */
84
-
85
85
  export const VisualLabel = ({
86
86
  className,
87
87
  children,
88
88
  ...props
89
89
  }) => {
90
- return createElement(StyledVisualLabel, { ...props,
90
+ return createElement(StyledVisualLabel, {
91
+ ...props,
91
92
  className: classnames('components-base-control__label', className)
92
93
  }, children);
93
94
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["@wordpress/components/src/base-control/index.tsx"],"names":["classnames","VisuallyHidden","Wrapper","StyledField","StyledLabel","StyledHelp","StyledVisualLabel","useBaseControlProps","BaseControl","__nextHasNoMarginBottom","id","label","hideLabelFromVision","help","className","children","undefined","VisualLabel","props"],"mappings":";;AAAA;AACA;AACA;AACA,OAAOA,UAAP,MAAuB,YAAvB;AAEA;AACA;AACA;;AACA,SAASC,cAAT,QAA+B,oBAA/B;AAEA,SACCC,OADD,EAECC,WAFD,EAGCC,WAHD,EAICC,UAJD,EAKCC,iBALD,QAMO,8BANP;AASA,SAASC,mBAAT,QAAoC,SAApC;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,OAAO,MAAMC,WAAW,GAAG,CAAE;AAC5BC,EAAAA,uBAAuB,GAAG,KADE;AAE5BC,EAAAA,EAF4B;AAG5BC,EAAAA,KAH4B;AAI5BC,EAAAA,mBAAmB,GAAG,KAJM;AAK5BC,EAAAA,IAL4B;AAM5BC,EAAAA,SAN4B;AAO5BC,EAAAA;AAP4B,CAAF,KAQF;AACxB,SACC,cAAC,OAAD;AACC,IAAA,SAAS,EAAGf,UAAU,CAAE,yBAAF,EAA6Bc,SAA7B;AADvB,KAGC,cAAC,WAAD;AACC,IAAA,SAAS,EAAC,gCADX,CAEC;AAFD;AAGC,IAAA,uBAAuB,EAAGL;AAH3B,KAKGE,KAAK,IACND,EADC,KAECE,mBAAmB,GACpB,cAAC,cAAD;AAAgB,IAAA,EAAE,EAAC,OAAnB;AAA2B,IAAA,OAAO,EAAGF;AAArC,KACGC,KADH,CADoB,GAKpB,cAAC,WAAD;AACC,IAAA,SAAS,EAAC,gCADX;AAEC,IAAA,OAAO,EAAGD;AAFX,KAIGC,KAJH,CAPA,CALH,EAmBGA,KAAK,IACN,CAAED,EADD,KAECE,mBAAmB,GACpB,cAAC,cAAD;AAAgB,IAAA,EAAE,EAAC;AAAnB,KAA6BD,KAA7B,CADoB,GAGpB,cAAC,WAAD,CAAa,WAAb,QACGA,KADH,CALA,CAnBH,EA4BGI,QA5BH,CAHD,EAiCG,CAAC,CAAEF,IAAH,IACD,cAAC,UAAD;AACC,IAAA,EAAE,EAAGH,EAAE,GAAGA,EAAE,GAAG,QAAR,GAAmBM,SAD3B;AAEC,IAAA,SAAS,EAAC,+BAFX;AAGC,IAAA,uBAAuB,EAAGP;AAH3B,KAKGI,IALH,CAlCF,CADD;AA6CA,CAtDM;AAwDP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,OAAO,MAAMI,WAAW,GAAG,CAAE;AAC5BH,EAAAA,SAD4B;AAE5BC,EAAAA,QAF4B;AAG5B,KAAGG;AAHyB,CAAF,KAI4C;AACtE,SACC,cAAC,iBAAD,OACMA,KADN;AAEC,IAAA,SAAS,EAAGlB,UAAU,CACrB,gCADqB,EAErBc,SAFqB;AAFvB,KAOGC,QAPH,CADD;AAWA,CAhBM;AAiBPP,WAAW,CAACS,WAAZ,GAA0BA,WAA1B;AAEA,eAAeT,WAAf","sourcesContent":["/**\n * External dependencies\n */\nimport classnames from 'classnames';\n\n/**\n * Internal dependencies\n */\nimport { VisuallyHidden } from '../visually-hidden';\nimport type { BaseControlProps, BaseControlVisualLabelProps } from './types';\nimport {\n\tWrapper,\n\tStyledField,\n\tStyledLabel,\n\tStyledHelp,\n\tStyledVisualLabel,\n} from './styles/base-control-styles';\nimport type { WordPressComponentProps } from '../ui/context';\n\nexport { useBaseControlProps } from './hooks';\n\n/**\n * `BaseControl` is a component used to generate labels and help text for components handling user inputs.\n *\n * ```jsx\n * import { BaseControl, useBaseControlProps } from '@wordpress/components';\n *\n * // Render a `BaseControl` for a textarea input\n * const MyCustomTextareaControl = ({ children, ...baseProps }) => (\n * \t// `useBaseControlProps` is a convenience hook to get the props for the `BaseControl`\n * \t// and the inner control itself. Namely, it takes care of generating a unique `id`,\n * \t// properly associating it with the `label` and `help` elements.\n * \tconst { baseControlProps, controlProps } = useBaseControlProps( baseProps );\n *\n * \treturn (\n * \t\t<BaseControl { ...baseControlProps } __nextHasNoMarginBottom={ true }>\n * \t\t\t<textarea { ...controlProps }>\n * \t\t\t { children }\n * \t\t\t</textarea>\n * \t\t</BaseControl>\n * \t);\n * );\n * ```\n */\nexport const BaseControl = ( {\n\t__nextHasNoMarginBottom = false,\n\tid,\n\tlabel,\n\thideLabelFromVision = false,\n\thelp,\n\tclassName,\n\tchildren,\n}: BaseControlProps ) => {\n\treturn (\n\t\t<Wrapper\n\t\t\tclassName={ classnames( 'components-base-control', className ) }\n\t\t>\n\t\t\t<StyledField\n\t\t\t\tclassName=\"components-base-control__field\"\n\t\t\t\t// TODO: Official deprecation for this should start after all internal usages have been migrated\n\t\t\t\t__nextHasNoMarginBottom={ __nextHasNoMarginBottom }\n\t\t\t>\n\t\t\t\t{ label &&\n\t\t\t\t\tid &&\n\t\t\t\t\t( hideLabelFromVision ? (\n\t\t\t\t\t\t<VisuallyHidden as=\"label\" htmlFor={ id }>\n\t\t\t\t\t\t\t{ label }\n\t\t\t\t\t\t</VisuallyHidden>\n\t\t\t\t\t) : (\n\t\t\t\t\t\t<StyledLabel\n\t\t\t\t\t\t\tclassName=\"components-base-control__label\"\n\t\t\t\t\t\t\thtmlFor={ id }\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{ label }\n\t\t\t\t\t\t</StyledLabel>\n\t\t\t\t\t) ) }\n\t\t\t\t{ label &&\n\t\t\t\t\t! id &&\n\t\t\t\t\t( hideLabelFromVision ? (\n\t\t\t\t\t\t<VisuallyHidden as=\"label\">{ label }</VisuallyHidden>\n\t\t\t\t\t) : (\n\t\t\t\t\t\t<BaseControl.VisualLabel>\n\t\t\t\t\t\t\t{ label }\n\t\t\t\t\t\t</BaseControl.VisualLabel>\n\t\t\t\t\t) ) }\n\t\t\t\t{ children }\n\t\t\t</StyledField>\n\t\t\t{ !! help && (\n\t\t\t\t<StyledHelp\n\t\t\t\t\tid={ id ? id + '__help' : undefined }\n\t\t\t\t\tclassName=\"components-base-control__help\"\n\t\t\t\t\t__nextHasNoMarginBottom={ __nextHasNoMarginBottom }\n\t\t\t\t>\n\t\t\t\t\t{ help }\n\t\t\t\t</StyledHelp>\n\t\t\t) }\n\t\t</Wrapper>\n\t);\n};\n\n/**\n * `BaseControl.VisualLabel` is used to render a purely visual label inside a `BaseControl` component.\n *\n * It should only be used in cases where the children being rendered inside `BaseControl` are already accessibly labeled,\n * e.g., a button, but we want an additional visual label for that section equivalent to the labels `BaseControl` would\n * otherwise use if the `label` prop was passed.\n *\n * @example\n * import { BaseControl } from '@wordpress/components';\n *\n * const MyBaseControl = () => (\n * \t<BaseControl help=\"This button is already accessibly labeled.\">\n * \t\t<BaseControl.VisualLabel>Author</BaseControl.VisualLabel>\n * \t\t<Button>Select an author</Button>\n * \t</BaseControl>\n * );\n */\nexport const VisualLabel = ( {\n\tclassName,\n\tchildren,\n\t...props\n}: WordPressComponentProps< BaseControlVisualLabelProps, 'span' > ) => {\n\treturn (\n\t\t<StyledVisualLabel\n\t\t\t{ ...props }\n\t\t\tclassName={ classnames(\n\t\t\t\t'components-base-control__label',\n\t\t\t\tclassName\n\t\t\t) }\n\t\t>\n\t\t\t{ children }\n\t\t</StyledVisualLabel>\n\t);\n};\nBaseControl.VisualLabel = VisualLabel;\n\nexport default BaseControl;\n"]}
1
+ {"version":3,"names":["classnames","VisuallyHidden","Wrapper","StyledField","StyledLabel","StyledHelp","StyledVisualLabel","useBaseControlProps","BaseControl","__nextHasNoMarginBottom","id","label","hideLabelFromVision","help","className","children","createElement","as","htmlFor","VisualLabel","undefined","props"],"sources":["@wordpress/components/src/base-control/index.tsx"],"sourcesContent":["/**\n * External dependencies\n */\nimport classnames from 'classnames';\n\n/**\n * Internal dependencies\n */\nimport { VisuallyHidden } from '../visually-hidden';\nimport type { BaseControlProps, BaseControlVisualLabelProps } from './types';\nimport {\n\tWrapper,\n\tStyledField,\n\tStyledLabel,\n\tStyledHelp,\n\tStyledVisualLabel,\n} from './styles/base-control-styles';\nimport type { WordPressComponentProps } from '../ui/context';\n\nexport { useBaseControlProps } from './hooks';\n\n/**\n * `BaseControl` is a component used to generate labels and help text for components handling user inputs.\n *\n * ```jsx\n * import { BaseControl, useBaseControlProps } from '@wordpress/components';\n *\n * // Render a `BaseControl` for a textarea input\n * const MyCustomTextareaControl = ({ children, ...baseProps }) => (\n * \t// `useBaseControlProps` is a convenience hook to get the props for the `BaseControl`\n * \t// and the inner control itself. Namely, it takes care of generating a unique `id`,\n * \t// properly associating it with the `label` and `help` elements.\n * \tconst { baseControlProps, controlProps } = useBaseControlProps( baseProps );\n *\n * \treturn (\n * \t\t<BaseControl { ...baseControlProps } __nextHasNoMarginBottom={ true }>\n * \t\t\t<textarea { ...controlProps }>\n * \t\t\t { children }\n * \t\t\t</textarea>\n * \t\t</BaseControl>\n * \t);\n * );\n * ```\n */\nexport const BaseControl = ( {\n\t__nextHasNoMarginBottom = false,\n\tid,\n\tlabel,\n\thideLabelFromVision = false,\n\thelp,\n\tclassName,\n\tchildren,\n}: BaseControlProps ) => {\n\treturn (\n\t\t<Wrapper\n\t\t\tclassName={ classnames( 'components-base-control', className ) }\n\t\t>\n\t\t\t<StyledField\n\t\t\t\tclassName=\"components-base-control__field\"\n\t\t\t\t// TODO: Official deprecation for this should start after all internal usages have been migrated\n\t\t\t\t__nextHasNoMarginBottom={ __nextHasNoMarginBottom }\n\t\t\t>\n\t\t\t\t{ label &&\n\t\t\t\t\tid &&\n\t\t\t\t\t( hideLabelFromVision ? (\n\t\t\t\t\t\t<VisuallyHidden as=\"label\" htmlFor={ id }>\n\t\t\t\t\t\t\t{ label }\n\t\t\t\t\t\t</VisuallyHidden>\n\t\t\t\t\t) : (\n\t\t\t\t\t\t<StyledLabel\n\t\t\t\t\t\t\tclassName=\"components-base-control__label\"\n\t\t\t\t\t\t\thtmlFor={ id }\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{ label }\n\t\t\t\t\t\t</StyledLabel>\n\t\t\t\t\t) ) }\n\t\t\t\t{ label &&\n\t\t\t\t\t! id &&\n\t\t\t\t\t( hideLabelFromVision ? (\n\t\t\t\t\t\t<VisuallyHidden as=\"label\">{ label }</VisuallyHidden>\n\t\t\t\t\t) : (\n\t\t\t\t\t\t<BaseControl.VisualLabel>\n\t\t\t\t\t\t\t{ label }\n\t\t\t\t\t\t</BaseControl.VisualLabel>\n\t\t\t\t\t) ) }\n\t\t\t\t{ children }\n\t\t\t</StyledField>\n\t\t\t{ !! help && (\n\t\t\t\t<StyledHelp\n\t\t\t\t\tid={ id ? id + '__help' : undefined }\n\t\t\t\t\tclassName=\"components-base-control__help\"\n\t\t\t\t\t__nextHasNoMarginBottom={ __nextHasNoMarginBottom }\n\t\t\t\t>\n\t\t\t\t\t{ help }\n\t\t\t\t</StyledHelp>\n\t\t\t) }\n\t\t</Wrapper>\n\t);\n};\n\n/**\n * `BaseControl.VisualLabel` is used to render a purely visual label inside a `BaseControl` component.\n *\n * It should only be used in cases where the children being rendered inside `BaseControl` are already accessibly labeled,\n * e.g., a button, but we want an additional visual label for that section equivalent to the labels `BaseControl` would\n * otherwise use if the `label` prop was passed.\n *\n * @example\n * import { BaseControl } from '@wordpress/components';\n *\n * const MyBaseControl = () => (\n * \t<BaseControl help=\"This button is already accessibly labeled.\">\n * \t\t<BaseControl.VisualLabel>Author</BaseControl.VisualLabel>\n * \t\t<Button>Select an author</Button>\n * \t</BaseControl>\n * );\n */\nexport const VisualLabel = ( {\n\tclassName,\n\tchildren,\n\t...props\n}: WordPressComponentProps< BaseControlVisualLabelProps, 'span' > ) => {\n\treturn (\n\t\t<StyledVisualLabel\n\t\t\t{ ...props }\n\t\t\tclassName={ classnames(\n\t\t\t\t'components-base-control__label',\n\t\t\t\tclassName\n\t\t\t) }\n\t\t>\n\t\t\t{ children }\n\t\t</StyledVisualLabel>\n\t);\n};\nBaseControl.VisualLabel = VisualLabel;\n\nexport default BaseControl;\n"],"mappings":";AAAA;AACA;AACA;AACA,OAAOA,UAAU,MAAM,YAAY;;AAEnC;AACA;AACA;AACA,SAASC,cAAc,QAAQ,oBAAoB;AAEnD,SACCC,OAAO,EACPC,WAAW,EACXC,WAAW,EACXC,UAAU,EACVC,iBAAiB,QACX,8BAA8B;AAGrC,SAASC,mBAAmB,QAAQ,SAAS;;AAE7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,WAAW,GAAGA,CAAE;EAC5BC,uBAAuB,GAAG,KAAK;EAC/BC,EAAE;EACFC,KAAK;EACLC,mBAAmB,GAAG,KAAK;EAC3BC,IAAI;EACJC,SAAS;EACTC;AACiB,CAAC,KAAM;EACxB,OACCC,aAAA,CAACd,OAAO;IACPY,SAAS,EAAGd,UAAU,CAAE,yBAAyB,EAAEc,SAAU;EAAG,GAEhEE,aAAA,CAACb,WAAW;IACXW,SAAS,EAAC;IACV;IAAA;IACAL,uBAAuB,EAAGA;EAAyB,GAEjDE,KAAK,IACND,EAAE,KACAE,mBAAmB,GACpBI,aAAA,CAACf,cAAc;IAACgB,EAAE,EAAC,OAAO;IAACC,OAAO,EAAGR;EAAI,GACtCC,KACa,CAAC,GAEjBK,aAAA,CAACZ,WAAW;IACXU,SAAS,EAAC,gCAAgC;IAC1CI,OAAO,EAAGR;EAAI,GAEZC,KACU,CACb,CAAE,EACFA,KAAK,IACN,CAAED,EAAE,KACFE,mBAAmB,GACpBI,aAAA,CAACf,cAAc;IAACgB,EAAE,EAAC;EAAO,GAAGN,KAAuB,CAAC,GAErDK,aAAA,CAACR,WAAW,CAACW,WAAW,QACrBR,KACsB,CACzB,CAAE,EACFI,QACU,CAAC,EACZ,CAAC,CAAEF,IAAI,IACRG,aAAA,CAACX,UAAU;IACVK,EAAE,EAAGA,EAAE,GAAGA,EAAE,GAAG,QAAQ,GAAGU,SAAW;IACrCN,SAAS,EAAC,+BAA+B;IACzCL,uBAAuB,EAAGA;EAAyB,GAEjDI,IACS,CAEL,CAAC;AAEZ,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMM,WAAW,GAAGA,CAAE;EAC5BL,SAAS;EACTC,QAAQ;EACR,GAAGM;AAC4D,CAAC,KAAM;EACtE,OACCL,aAAA,CAACV,iBAAiB;IAAA,GACZe,KAAK;IACVP,SAAS,EAAGd,UAAU,CACrB,gCAAgC,EAChCc,SACD;EAAG,GAEDC,QACgB,CAAC;AAEtB,CAAC;AACDP,WAAW,CAACW,WAAW,GAAGA,WAAW;AAErC,eAAeX,WAAW"}
@@ -1,5 +1,4 @@
1
1
  import { createElement } from "@wordpress/element";
2
-
3
2
  /**
4
3
  * External dependencies
5
4
  */
@@ -1 +1 @@
1
- {"version":3,"sources":["@wordpress/components/src/base-control/index.native.js"],"names":["Text","View","BaseControl","label","help","children"],"mappings":";;AAAA;AACA;AACA;AACA,SAASA,IAAT,EAAeC,IAAf,QAA2B,cAA3B;AAEA,eAAe,SAASC,WAAT,CAAsB;AAAEC,EAAAA,KAAF;AAASC,EAAAA,IAAT;AAAeC,EAAAA;AAAf,CAAtB,EAAkD;AAChE,SACC,cAAC,IAAD;AAAM,IAAA,UAAU,EAAG,IAAnB;AAA0B,IAAA,kBAAkB,EAAGF;AAA/C,KACGA,KAAK,IAAI,cAAC,IAAD,QAAQA,KAAR,CADZ,EAEGE,QAFH,EAGGD,IAAI,IAAI,cAAC,IAAD,QAAQA,IAAR,CAHX,CADD;AAOA","sourcesContent":["/**\n * External dependencies\n */\nimport { Text, View } from 'react-native';\n\nexport default function BaseControl( { label, help, children } ) {\n\treturn (\n\t\t<View accessible={ true } accessibilityLabel={ label }>\n\t\t\t{ label && <Text>{ label }</Text> }\n\t\t\t{ children }\n\t\t\t{ help && <Text>{ help }</Text> }\n\t\t</View>\n\t);\n}\n"]}
1
+ {"version":3,"names":["Text","View","BaseControl","label","help","children","createElement","accessible","accessibilityLabel"],"sources":["@wordpress/components/src/base-control/index.native.js"],"sourcesContent":["/**\n * External dependencies\n */\nimport { Text, View } from 'react-native';\n\nexport default function BaseControl( { label, help, children } ) {\n\treturn (\n\t\t<View accessible={ true } accessibilityLabel={ label }>\n\t\t\t{ label && <Text>{ label }</Text> }\n\t\t\t{ children }\n\t\t\t{ help && <Text>{ help }</Text> }\n\t\t</View>\n\t);\n}\n"],"mappings":";AAAA;AACA;AACA;AACA,SAASA,IAAI,EAAEC,IAAI,QAAQ,cAAc;AAEzC,eAAe,SAASC,WAAWA,CAAE;EAAEC,KAAK;EAAEC,IAAI;EAAEC;AAAS,CAAC,EAAG;EAChE,OACCC,aAAA,CAACL,IAAI;IAACM,UAAU,EAAG,IAAM;IAACC,kBAAkB,EAAGL;EAAO,GACnDA,KAAK,IAAIG,aAAA,CAACN,IAAI,QAAGG,KAAa,CAAC,EAC/BE,QAAQ,EACRD,IAAI,IAAIE,aAAA,CAACN,IAAI,QAAGI,IAAY,CACzB,CAAC;AAET"}
@@ -1,15 +1,14 @@
1
1
  import _styled from "@emotion/styled/base";
2
-
3
2
  function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
4
-
5
3
  /**
6
4
  * External dependencies
7
5
  */
6
+
8
7
  import { css } from '@emotion/react';
8
+
9
9
  /**
10
10
  * Internal dependencies
11
11
  */
12
-
13
12
  import { baseLabelTypography, boxSizingReset, font, COLORS } from '../../utils';
14
13
  import { space } from '../../ui/utils/space';
15
14
  export const Wrapper = _styled("div", process.env.NODE_ENV === "production" ? {
@@ -18,13 +17,11 @@ export const Wrapper = _styled("div", process.env.NODE_ENV === "production" ? {
18
17
  target: "ej5x27r4",
19
18
  label: "Wrapper"
20
19
  })("font-family:", font('default.fontFamily'), ";font-size:", font('default.fontSize'), ";", boxSizingReset, ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkB3b3JkcHJlc3MvY29tcG9uZW50cy9zcmMvYmFzZS1jb250cm9sL3N0eWxlcy9iYXNlLWNvbnRyb2wtc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVlpQyIsImZpbGUiOiJAd29yZHByZXNzL2NvbXBvbmVudHMvc3JjL2Jhc2UtY29udHJvbC9zdHlsZXMvYmFzZS1jb250cm9sLXN0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogRXh0ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLyoqXG4gKiBJbnRlcm5hbCBkZXBlbmRlbmNpZXNcbiAqL1xuaW1wb3J0IHsgYmFzZUxhYmVsVHlwb2dyYXBoeSwgYm94U2l6aW5nUmVzZXQsIGZvbnQsIENPTE9SUyB9IGZyb20gJy4uLy4uL3V0aWxzJztcbmltcG9ydCB7IHNwYWNlIH0gZnJvbSAnLi4vLi4vdWkvdXRpbHMvc3BhY2UnO1xuXG5leHBvcnQgY29uc3QgV3JhcHBlciA9IHN0eWxlZC5kaXZgXG5cdGZvbnQtZmFtaWx5OiAkeyBmb250KCAnZGVmYXVsdC5mb250RmFtaWx5JyApIH07XG5cdGZvbnQtc2l6ZTogJHsgZm9udCggJ2RlZmF1bHQuZm9udFNpemUnICkgfTtcblxuXHQkeyBib3hTaXppbmdSZXNldCB9XG5gO1xuXG5jb25zdCBkZXByZWNhdGVkTWFyZ2luRmllbGQgPSAoIHsgX19uZXh0SGFzTm9NYXJnaW5Cb3R0b20gPSBmYWxzZSB9ICkgPT4ge1xuXHRyZXR1cm4gKFxuXHRcdCEgX19uZXh0SGFzTm9NYXJnaW5Cb3R0b20gJiZcblx0XHRjc3NgXG5cdFx0XHRtYXJnaW4tYm90dG9tOiAkeyBzcGFjZSggMiApIH07XG5cdFx0YFxuXHQpO1xufTtcblxuZXhwb3J0IGNvbnN0IFN0eWxlZEZpZWxkID0gc3R5bGVkLmRpdmBcblx0JHsgZGVwcmVjYXRlZE1hcmdpbkZpZWxkIH1cblxuXHQuY29tcG9uZW50cy1wYW5lbF9fcm93ICYge1xuXHRcdG1hcmdpbi1ib3R0b206IGluaGVyaXQ7XG5cdH1cbmA7XG5cbmNvbnN0IGxhYmVsU3R5bGVzID0gY3NzYFxuXHQkeyBiYXNlTGFiZWxUeXBvZ3JhcGh5IH07XG5cblx0ZGlzcGxheTogaW5saW5lLWJsb2NrO1xuXHRtYXJnaW4tYm90dG9tOiAkeyBzcGFjZSggMiApIH07XG5cdC8qKlxuXHQgKiBSZW1vdmVzIENocm9tZS9TYWZhcmkvRmlyZWZveCB1c2VyIGFnZW50IHN0eWxlc2hlZXQgcGFkZGluZyBmcm9tXG5cdCAqIFN0eWxlZExhYmVsIHdoZW4gaXQgaXMgcmVuZGVyZWQgYXMgYSBsZWdlbmQuXG5cdCAqL1xuXHRwYWRkaW5nOiAwO1xuYDtcblxuZXhwb3J0IGNvbnN0IFN0eWxlZExhYmVsID0gc3R5bGVkLmxhYmVsYFxuXHQkeyBsYWJlbFN0eWxlcyB9XG5gO1xuXG5jb25zdCBkZXByZWNhdGVkTWFyZ2luSGVscCA9ICggeyBfX25leHRIYXNOb01hcmdpbkJvdHRvbSA9IGZhbHNlIH0gKSA9PiB7XG5cdHJldHVybiAoXG5cdFx0ISBfX25leHRIYXNOb01hcmdpbkJvdHRvbSAmJlxuXHRcdGNzc2Bcblx0XHRcdG1hcmdpbi1ib3R0b206IHJldmVydDtcblx0XHRgXG5cdCk7XG59O1xuXG5leHBvcnQgY29uc3QgU3R5bGVkSGVscCA9IHN0eWxlZC5wYFxuXHRtYXJnaW4tdG9wOiAkeyBzcGFjZSggMiApIH07XG5cdG1hcmdpbi1ib3R0b206IDA7XG5cdGZvbnQtc2l6ZTogJHsgZm9udCggJ2hlbHBUZXh0LmZvbnRTaXplJyApIH07XG5cdGZvbnQtc3R5bGU6IG5vcm1hbDtcblx0Y29sb3I6ICR7IENPTE9SUy5ncmF5WyA3MDAgXSB9O1xuXG5cdCR7IGRlcHJlY2F0ZWRNYXJnaW5IZWxwIH1cbmA7XG5cbmV4cG9ydCBjb25zdCBTdHlsZWRWaXN1YWxMYWJlbCA9IHN0eWxlZC5zcGFuYFxuXHQkeyBsYWJlbFN0eWxlcyB9XG5gO1xuIl19 */"));
21
-
22
20
  const deprecatedMarginField = ({
23
21
  __nextHasNoMarginBottom = false
24
22
  }) => {
25
23
  return !__nextHasNoMarginBottom && /*#__PURE__*/css("margin-bottom:", space(2), ";" + (process.env.NODE_ENV === "production" ? "" : ";label:deprecatedMarginField;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkB3b3JkcHJlc3MvY29tcG9uZW50cy9zcmMvYmFzZS1jb250cm9sL3N0eWxlcy9iYXNlLWNvbnRyb2wtc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXNCSyIsImZpbGUiOiJAd29yZHByZXNzL2NvbXBvbmVudHMvc3JjL2Jhc2UtY29udHJvbC9zdHlsZXMvYmFzZS1jb250cm9sLXN0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogRXh0ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLyoqXG4gKiBJbnRlcm5hbCBkZXBlbmRlbmNpZXNcbiAqL1xuaW1wb3J0IHsgYmFzZUxhYmVsVHlwb2dyYXBoeSwgYm94U2l6aW5nUmVzZXQsIGZvbnQsIENPTE9SUyB9IGZyb20gJy4uLy4uL3V0aWxzJztcbmltcG9ydCB7IHNwYWNlIH0gZnJvbSAnLi4vLi4vdWkvdXRpbHMvc3BhY2UnO1xuXG5leHBvcnQgY29uc3QgV3JhcHBlciA9IHN0eWxlZC5kaXZgXG5cdGZvbnQtZmFtaWx5OiAkeyBmb250KCAnZGVmYXVsdC5mb250RmFtaWx5JyApIH07XG5cdGZvbnQtc2l6ZTogJHsgZm9udCggJ2RlZmF1bHQuZm9udFNpemUnICkgfTtcblxuXHQkeyBib3hTaXppbmdSZXNldCB9XG5gO1xuXG5jb25zdCBkZXByZWNhdGVkTWFyZ2luRmllbGQgPSAoIHsgX19uZXh0SGFzTm9NYXJnaW5Cb3R0b20gPSBmYWxzZSB9ICkgPT4ge1xuXHRyZXR1cm4gKFxuXHRcdCEgX19uZXh0SGFzTm9NYXJnaW5Cb3R0b20gJiZcblx0XHRjc3NgXG5cdFx0XHRtYXJnaW4tYm90dG9tOiAkeyBzcGFjZSggMiApIH07XG5cdFx0YFxuXHQpO1xufTtcblxuZXhwb3J0IGNvbnN0IFN0eWxlZEZpZWxkID0gc3R5bGVkLmRpdmBcblx0JHsgZGVwcmVjYXRlZE1hcmdpbkZpZWxkIH1cblxuXHQuY29tcG9uZW50cy1wYW5lbF9fcm93ICYge1xuXHRcdG1hcmdpbi1ib3R0b206IGluaGVyaXQ7XG5cdH1cbmA7XG5cbmNvbnN0IGxhYmVsU3R5bGVzID0gY3NzYFxuXHQkeyBiYXNlTGFiZWxUeXBvZ3JhcGh5IH07XG5cblx0ZGlzcGxheTogaW5saW5lLWJsb2NrO1xuXHRtYXJnaW4tYm90dG9tOiAkeyBzcGFjZSggMiApIH07XG5cdC8qKlxuXHQgKiBSZW1vdmVzIENocm9tZS9TYWZhcmkvRmlyZWZveCB1c2VyIGFnZW50IHN0eWxlc2hlZXQgcGFkZGluZyBmcm9tXG5cdCAqIFN0eWxlZExhYmVsIHdoZW4gaXQgaXMgcmVuZGVyZWQgYXMgYSBsZWdlbmQuXG5cdCAqL1xuXHRwYWRkaW5nOiAwO1xuYDtcblxuZXhwb3J0IGNvbnN0IFN0eWxlZExhYmVsID0gc3R5bGVkLmxhYmVsYFxuXHQkeyBsYWJlbFN0eWxlcyB9XG5gO1xuXG5jb25zdCBkZXByZWNhdGVkTWFyZ2luSGVscCA9ICggeyBfX25leHRIYXNOb01hcmdpbkJvdHRvbSA9IGZhbHNlIH0gKSA9PiB7XG5cdHJldHVybiAoXG5cdFx0ISBfX25leHRIYXNOb01hcmdpbkJvdHRvbSAmJlxuXHRcdGNzc2Bcblx0XHRcdG1hcmdpbi1ib3R0b206IHJldmVydDtcblx0XHRgXG5cdCk7XG59O1xuXG5leHBvcnQgY29uc3QgU3R5bGVkSGVscCA9IHN0eWxlZC5wYFxuXHRtYXJnaW4tdG9wOiAkeyBzcGFjZSggMiApIH07XG5cdG1hcmdpbi1ib3R0b206IDA7XG5cdGZvbnQtc2l6ZTogJHsgZm9udCggJ2hlbHBUZXh0LmZvbnRTaXplJyApIH07XG5cdGZvbnQtc3R5bGU6IG5vcm1hbDtcblx0Y29sb3I6ICR7IENPTE9SUy5ncmF5WyA3MDAgXSB9O1xuXG5cdCR7IGRlcHJlY2F0ZWRNYXJnaW5IZWxwIH1cbmA7XG5cbmV4cG9ydCBjb25zdCBTdHlsZWRWaXN1YWxMYWJlbCA9IHN0eWxlZC5zcGFuYFxuXHQkeyBsYWJlbFN0eWxlcyB9XG5gO1xuIl19 */");
26
24
  };
27
-
28
25
  export const StyledField = _styled("div", process.env.NODE_ENV === "production" ? {
29
26
  target: "ej5x27r3"
30
27
  } : {
@@ -38,7 +35,6 @@ export const StyledLabel = _styled("label", process.env.NODE_ENV === "production
38
35
  target: "ej5x27r2",
39
36
  label: "StyledLabel"
40
37
  })(labelStyles, ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkB3b3JkcHJlc3MvY29tcG9uZW50cy9zcmMvYmFzZS1jb250cm9sL3N0eWxlcy9iYXNlLWNvbnRyb2wtc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWdEdUMiLCJmaWxlIjoiQHdvcmRwcmVzcy9jb21wb25lbnRzL3NyYy9iYXNlLWNvbnRyb2wvc3R5bGVzL2Jhc2UtY29udHJvbC1zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEV4dGVybmFsIGRlcGVuZGVuY2llc1xuICovXG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5pbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbi8qKlxuICogSW50ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCB7IGJhc2VMYWJlbFR5cG9ncmFwaHksIGJveFNpemluZ1Jlc2V0LCBmb250LCBDT0xPUlMgfSBmcm9tICcuLi8uLi91dGlscyc7XG5pbXBvcnQgeyBzcGFjZSB9IGZyb20gJy4uLy4uL3VpL3V0aWxzL3NwYWNlJztcblxuZXhwb3J0IGNvbnN0IFdyYXBwZXIgPSBzdHlsZWQuZGl2YFxuXHRmb250LWZhbWlseTogJHsgZm9udCggJ2RlZmF1bHQuZm9udEZhbWlseScgKSB9O1xuXHRmb250LXNpemU6ICR7IGZvbnQoICdkZWZhdWx0LmZvbnRTaXplJyApIH07XG5cblx0JHsgYm94U2l6aW5nUmVzZXQgfVxuYDtcblxuY29uc3QgZGVwcmVjYXRlZE1hcmdpbkZpZWxkID0gKCB7IF9fbmV4dEhhc05vTWFyZ2luQm90dG9tID0gZmFsc2UgfSApID0+IHtcblx0cmV0dXJuIChcblx0XHQhIF9fbmV4dEhhc05vTWFyZ2luQm90dG9tICYmXG5cdFx0Y3NzYFxuXHRcdFx0bWFyZ2luLWJvdHRvbTogJHsgc3BhY2UoIDIgKSB9O1xuXHRcdGBcblx0KTtcbn07XG5cbmV4cG9ydCBjb25zdCBTdHlsZWRGaWVsZCA9IHN0eWxlZC5kaXZgXG5cdCR7IGRlcHJlY2F0ZWRNYXJnaW5GaWVsZCB9XG5cblx0LmNvbXBvbmVudHMtcGFuZWxfX3JvdyAmIHtcblx0XHRtYXJnaW4tYm90dG9tOiBpbmhlcml0O1xuXHR9XG5gO1xuXG5jb25zdCBsYWJlbFN0eWxlcyA9IGNzc2Bcblx0JHsgYmFzZUxhYmVsVHlwb2dyYXBoeSB9O1xuXG5cdGRpc3BsYXk6IGlubGluZS1ibG9jaztcblx0bWFyZ2luLWJvdHRvbTogJHsgc3BhY2UoIDIgKSB9O1xuXHQvKipcblx0ICogUmVtb3ZlcyBDaHJvbWUvU2FmYXJpL0ZpcmVmb3ggdXNlciBhZ2VudCBzdHlsZXNoZWV0IHBhZGRpbmcgZnJvbVxuXHQgKiBTdHlsZWRMYWJlbCB3aGVuIGl0IGlzIHJlbmRlcmVkIGFzIGEgbGVnZW5kLlxuXHQgKi9cblx0cGFkZGluZzogMDtcbmA7XG5cbmV4cG9ydCBjb25zdCBTdHlsZWRMYWJlbCA9IHN0eWxlZC5sYWJlbGBcblx0JHsgbGFiZWxTdHlsZXMgfVxuYDtcblxuY29uc3QgZGVwcmVjYXRlZE1hcmdpbkhlbHAgPSAoIHsgX19uZXh0SGFzTm9NYXJnaW5Cb3R0b20gPSBmYWxzZSB9ICkgPT4ge1xuXHRyZXR1cm4gKFxuXHRcdCEgX19uZXh0SGFzTm9NYXJnaW5Cb3R0b20gJiZcblx0XHRjc3NgXG5cdFx0XHRtYXJnaW4tYm90dG9tOiByZXZlcnQ7XG5cdFx0YFxuXHQpO1xufTtcblxuZXhwb3J0IGNvbnN0IFN0eWxlZEhlbHAgPSBzdHlsZWQucGBcblx0bWFyZ2luLXRvcDogJHsgc3BhY2UoIDIgKSB9O1xuXHRtYXJnaW4tYm90dG9tOiAwO1xuXHRmb250LXNpemU6ICR7IGZvbnQoICdoZWxwVGV4dC5mb250U2l6ZScgKSB9O1xuXHRmb250LXN0eWxlOiBub3JtYWw7XG5cdGNvbG9yOiAkeyBDT0xPUlMuZ3JheVsgNzAwIF0gfTtcblxuXHQkeyBkZXByZWNhdGVkTWFyZ2luSGVscCB9XG5gO1xuXG5leHBvcnQgY29uc3QgU3R5bGVkVmlzdWFsTGFiZWwgPSBzdHlsZWQuc3BhbmBcblx0JHsgbGFiZWxTdHlsZXMgfVxuYDtcbiJdfQ== */"));
41
-
42
38
  var _ref = process.env.NODE_ENV === "production" ? {
43
39
  name: "11yad0w",
44
40
  styles: "margin-bottom:revert"
@@ -48,13 +44,11 @@ var _ref = process.env.NODE_ENV === "production" ? {
48
44
  map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkB3b3JkcHJlc3MvY29tcG9uZW50cy9zcmMvYmFzZS1jb250cm9sL3N0eWxlcy9iYXNlLWNvbnRyb2wtc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXVESyIsImZpbGUiOiJAd29yZHByZXNzL2NvbXBvbmVudHMvc3JjL2Jhc2UtY29udHJvbC9zdHlsZXMvYmFzZS1jb250cm9sLXN0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogRXh0ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLyoqXG4gKiBJbnRlcm5hbCBkZXBlbmRlbmNpZXNcbiAqL1xuaW1wb3J0IHsgYmFzZUxhYmVsVHlwb2dyYXBoeSwgYm94U2l6aW5nUmVzZXQsIGZvbnQsIENPTE9SUyB9IGZyb20gJy4uLy4uL3V0aWxzJztcbmltcG9ydCB7IHNwYWNlIH0gZnJvbSAnLi4vLi4vdWkvdXRpbHMvc3BhY2UnO1xuXG5leHBvcnQgY29uc3QgV3JhcHBlciA9IHN0eWxlZC5kaXZgXG5cdGZvbnQtZmFtaWx5OiAkeyBmb250KCAnZGVmYXVsdC5mb250RmFtaWx5JyApIH07XG5cdGZvbnQtc2l6ZTogJHsgZm9udCggJ2RlZmF1bHQuZm9udFNpemUnICkgfTtcblxuXHQkeyBib3hTaXppbmdSZXNldCB9XG5gO1xuXG5jb25zdCBkZXByZWNhdGVkTWFyZ2luRmllbGQgPSAoIHsgX19uZXh0SGFzTm9NYXJnaW5Cb3R0b20gPSBmYWxzZSB9ICkgPT4ge1xuXHRyZXR1cm4gKFxuXHRcdCEgX19uZXh0SGFzTm9NYXJnaW5Cb3R0b20gJiZcblx0XHRjc3NgXG5cdFx0XHRtYXJnaW4tYm90dG9tOiAkeyBzcGFjZSggMiApIH07XG5cdFx0YFxuXHQpO1xufTtcblxuZXhwb3J0IGNvbnN0IFN0eWxlZEZpZWxkID0gc3R5bGVkLmRpdmBcblx0JHsgZGVwcmVjYXRlZE1hcmdpbkZpZWxkIH1cblxuXHQuY29tcG9uZW50cy1wYW5lbF9fcm93ICYge1xuXHRcdG1hcmdpbi1ib3R0b206IGluaGVyaXQ7XG5cdH1cbmA7XG5cbmNvbnN0IGxhYmVsU3R5bGVzID0gY3NzYFxuXHQkeyBiYXNlTGFiZWxUeXBvZ3JhcGh5IH07XG5cblx0ZGlzcGxheTogaW5saW5lLWJsb2NrO1xuXHRtYXJnaW4tYm90dG9tOiAkeyBzcGFjZSggMiApIH07XG5cdC8qKlxuXHQgKiBSZW1vdmVzIENocm9tZS9TYWZhcmkvRmlyZWZveCB1c2VyIGFnZW50IHN0eWxlc2hlZXQgcGFkZGluZyBmcm9tXG5cdCAqIFN0eWxlZExhYmVsIHdoZW4gaXQgaXMgcmVuZGVyZWQgYXMgYSBsZWdlbmQuXG5cdCAqL1xuXHRwYWRkaW5nOiAwO1xuYDtcblxuZXhwb3J0IGNvbnN0IFN0eWxlZExhYmVsID0gc3R5bGVkLmxhYmVsYFxuXHQkeyBsYWJlbFN0eWxlcyB9XG5gO1xuXG5jb25zdCBkZXByZWNhdGVkTWFyZ2luSGVscCA9ICggeyBfX25leHRIYXNOb01hcmdpbkJvdHRvbSA9IGZhbHNlIH0gKSA9PiB7XG5cdHJldHVybiAoXG5cdFx0ISBfX25leHRIYXNOb01hcmdpbkJvdHRvbSAmJlxuXHRcdGNzc2Bcblx0XHRcdG1hcmdpbi1ib3R0b206IHJldmVydDtcblx0XHRgXG5cdCk7XG59O1xuXG5leHBvcnQgY29uc3QgU3R5bGVkSGVscCA9IHN0eWxlZC5wYFxuXHRtYXJnaW4tdG9wOiAkeyBzcGFjZSggMiApIH07XG5cdG1hcmdpbi1ib3R0b206IDA7XG5cdGZvbnQtc2l6ZTogJHsgZm9udCggJ2hlbHBUZXh0LmZvbnRTaXplJyApIH07XG5cdGZvbnQtc3R5bGU6IG5vcm1hbDtcblx0Y29sb3I6ICR7IENPTE9SUy5ncmF5WyA3MDAgXSB9O1xuXG5cdCR7IGRlcHJlY2F0ZWRNYXJnaW5IZWxwIH1cbmA7XG5cbmV4cG9ydCBjb25zdCBTdHlsZWRWaXN1YWxMYWJlbCA9IHN0eWxlZC5zcGFuYFxuXHQkeyBsYWJlbFN0eWxlcyB9XG5gO1xuIl19 */",
49
45
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__
50
46
  };
51
-
52
47
  const deprecatedMarginHelp = ({
53
48
  __nextHasNoMarginBottom = false
54
49
  }) => {
55
50
  return !__nextHasNoMarginBottom && _ref;
56
51
  };
57
-
58
52
  export const StyledHelp = _styled("p", process.env.NODE_ENV === "production" ? {
59
53
  target: "ej5x27r1"
60
54
  } : {
@@ -1 +1 @@
1
- {"version":3,"sources":["@wordpress/components/src/base-control/styles/base-control-styles.ts"],"names":["css","baseLabelTypography","boxSizingReset","font","COLORS","space","Wrapper","deprecatedMarginField","__nextHasNoMarginBottom","StyledField","labelStyles","StyledLabel","deprecatedMarginHelp","StyledHelp","gray","StyledVisualLabel"],"mappings":";;;;AAAA;AACA;AACA;AAEA,SAASA,GAAT,QAAoB,gBAApB;AAEA;AACA;AACA;;AACA,SAASC,mBAAT,EAA8BC,cAA9B,EAA8CC,IAA9C,EAAoDC,MAApD,QAAkE,aAAlE;AACA,SAASC,KAAT,QAAsB,sBAAtB;AAEA,OAAO,MAAMC,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA,mBACHH,IAAI,CAAE,oBAAF,CADD,iBAELA,IAAI,CAAE,kBAAF,CAFC,OAIhBD,cAJgB,ygFAAb;;AAOP,MAAMK,qBAAqB,GAAG,CAAE;AAAEC,EAAAA,uBAAuB,GAAG;AAA5B,CAAF,KAA2C;AACxE,SACC,CAAEA,uBAAF,iBACAR,GADA,mBAEmBK,KAAK,CAAE,CAAF,CAFxB,ulFADD;AAMA,CAPD;;AASA,OAAO,MAAMI,WAAW;AAAA;AAAA;AAAA;AAAA;AAAA,GACpBF,qBADoB,6jFAAjB;AAQP,MAAMG,WAAW,gBAAGV,GAAH,CACbC,mBADa,0CAIEI,KAAK,CAAE,CAAF,CAJP,2lFAAjB;AAYA,OAAO,MAAMM,WAAW;AAAA;AAAA;AAAA;AAAA;AAAA,GACpBD,WADoB,6gFAAjB;;;;;;;;;;;;AAIP,MAAME,oBAAoB,GAAG,CAAE;AAAEJ,EAAAA,uBAAuB,GAAG;AAA5B,CAAF,KAA2C;AACvE,SACC,CAAEA,uBAAF,QADD;AAMA,CAPD;;AASA,OAAO,MAAMK,UAAU;AAAA;AAAA;AAAA;AAAA;AAAA,kBACPR,KAAK,CAAE,CAAF,CADE,iCAGRF,IAAI,CAAE,mBAAF,CAHI,+BAKZC,MAAM,CAACU,IAAP,CAAa,GAAb,CALY,OAOnBF,oBAPmB,6gFAAhB;AAUP,OAAO,MAAMG,iBAAiB;AAAA;AAAA;AAAA;AAAA;AAAA,GAC1BL,WAD0B,6gFAAvB","sourcesContent":["/**\n * External dependencies\n */\nimport styled from '@emotion/styled';\nimport { css } from '@emotion/react';\n\n/**\n * Internal dependencies\n */\nimport { baseLabelTypography, boxSizingReset, font, COLORS } from '../../utils';\nimport { space } from '../../ui/utils/space';\n\nexport const Wrapper = styled.div`\n\tfont-family: ${ font( 'default.fontFamily' ) };\n\tfont-size: ${ font( 'default.fontSize' ) };\n\n\t${ boxSizingReset }\n`;\n\nconst deprecatedMarginField = ( { __nextHasNoMarginBottom = false } ) => {\n\treturn (\n\t\t! __nextHasNoMarginBottom &&\n\t\tcss`\n\t\t\tmargin-bottom: ${ space( 2 ) };\n\t\t`\n\t);\n};\n\nexport const StyledField = styled.div`\n\t${ deprecatedMarginField }\n\n\t.components-panel__row & {\n\t\tmargin-bottom: inherit;\n\t}\n`;\n\nconst labelStyles = css`\n\t${ baseLabelTypography };\n\n\tdisplay: inline-block;\n\tmargin-bottom: ${ space( 2 ) };\n\t/**\n\t * Removes Chrome/Safari/Firefox user agent stylesheet padding from\n\t * StyledLabel when it is rendered as a legend.\n\t */\n\tpadding: 0;\n`;\n\nexport const StyledLabel = styled.label`\n\t${ labelStyles }\n`;\n\nconst deprecatedMarginHelp = ( { __nextHasNoMarginBottom = false } ) => {\n\treturn (\n\t\t! __nextHasNoMarginBottom &&\n\t\tcss`\n\t\t\tmargin-bottom: revert;\n\t\t`\n\t);\n};\n\nexport const StyledHelp = styled.p`\n\tmargin-top: ${ space( 2 ) };\n\tmargin-bottom: 0;\n\tfont-size: ${ font( 'helpText.fontSize' ) };\n\tfont-style: normal;\n\tcolor: ${ COLORS.gray[ 700 ] };\n\n\t${ deprecatedMarginHelp }\n`;\n\nexport const StyledVisualLabel = styled.span`\n\t${ labelStyles }\n`;\n"]}
1
+ {"version":3,"names":["css","baseLabelTypography","boxSizingReset","font","COLORS","space","Wrapper","_styled","process","env","NODE_ENV","target","label","deprecatedMarginField","__nextHasNoMarginBottom","StyledField","labelStyles","StyledLabel","_ref","name","styles","map","toString","_EMOTION_STRINGIFIED_CSS_ERROR__","deprecatedMarginHelp","StyledHelp","gray","StyledVisualLabel"],"sources":["@wordpress/components/src/base-control/styles/base-control-styles.ts"],"sourcesContent":["/**\n * External dependencies\n */\nimport styled from '@emotion/styled';\nimport { css } from '@emotion/react';\n\n/**\n * Internal dependencies\n */\nimport { baseLabelTypography, boxSizingReset, font, COLORS } from '../../utils';\nimport { space } from '../../ui/utils/space';\n\nexport const Wrapper = styled.div`\n\tfont-family: ${ font( 'default.fontFamily' ) };\n\tfont-size: ${ font( 'default.fontSize' ) };\n\n\t${ boxSizingReset }\n`;\n\nconst deprecatedMarginField = ( { __nextHasNoMarginBottom = false } ) => {\n\treturn (\n\t\t! __nextHasNoMarginBottom &&\n\t\tcss`\n\t\t\tmargin-bottom: ${ space( 2 ) };\n\t\t`\n\t);\n};\n\nexport const StyledField = styled.div`\n\t${ deprecatedMarginField }\n\n\t.components-panel__row & {\n\t\tmargin-bottom: inherit;\n\t}\n`;\n\nconst labelStyles = css`\n\t${ baseLabelTypography };\n\n\tdisplay: inline-block;\n\tmargin-bottom: ${ space( 2 ) };\n\t/**\n\t * Removes Chrome/Safari/Firefox user agent stylesheet padding from\n\t * StyledLabel when it is rendered as a legend.\n\t */\n\tpadding: 0;\n`;\n\nexport const StyledLabel = styled.label`\n\t${ labelStyles }\n`;\n\nconst deprecatedMarginHelp = ( { __nextHasNoMarginBottom = false } ) => {\n\treturn (\n\t\t! __nextHasNoMarginBottom &&\n\t\tcss`\n\t\t\tmargin-bottom: revert;\n\t\t`\n\t);\n};\n\nexport const StyledHelp = styled.p`\n\tmargin-top: ${ space( 2 ) };\n\tmargin-bottom: 0;\n\tfont-size: ${ font( 'helpText.fontSize' ) };\n\tfont-style: normal;\n\tcolor: ${ COLORS.gray[ 700 ] };\n\n\t${ deprecatedMarginHelp }\n`;\n\nexport const StyledVisualLabel = styled.span`\n\t${ labelStyles }\n`;\n"],"mappings":";;AAAA;AACA;AACA;;AAEA,SAASA,GAAG,QAAQ,gBAAgB;;AAEpC;AACA;AACA;AACA,SAASC,mBAAmB,EAAEC,cAAc,EAAEC,IAAI,EAAEC,MAAM,QAAQ,aAAa;AAC/E,SAASC,KAAK,QAAQ,sBAAsB;AAE5C,OAAO,MAAMC,OAAO,GAAAC,OAAA,QAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAC,MAAA;AAAA;EAAAA,MAAA;EAAAC,KAAA;AAAA,mBACHT,IAAI,CAAE,oBAAqB,CAAC,iBAC9BA,IAAI,CAAE,kBAAmB,CAAC,OAErCD,cAAc,SAAAM,OAAA,CAAAC,GAAA,CAAAC,QAAA,4+EACjB;AAED,MAAMG,qBAAqB,GAAGA,CAAE;EAAEC,uBAAuB,GAAG;AAAM,CAAC,KAAM;EACxE,OACC,CAAEA,uBAAuB,iBACzBd,GAAG,mBACgBK,KAAK,CAAE,CAAE,CAAC,SAAAG,OAAA,CAAAC,GAAA,CAAAC,QAAA,2DAAAF,OAAA,CAAAC,GAAA,CAAAC,QAAA,2+EAC5B;AAEH,CAAC;AAED,OAAO,MAAMK,WAAW,GAAAR,OAAA,QAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAC,MAAA;AAAA;EAAAA,MAAA;EAAAC,KAAA;AAAA,GACpBC,qBAAqB,yDAAAL,OAAA,CAAAC,GAAA,CAAAC,QAAA,g/EAKxB;AAED,MAAMM,WAAW,gBAAGhB,GAAG,CACnBC,mBAAmB,0CAGJI,KAAK,CAAE,CAAE,CAAC,mBAAAG,OAAA,CAAAC,GAAA,CAAAC,QAAA,iDAAAF,OAAA,CAAAC,GAAA,CAAAC,QAAA,++EAM5B;AAED,OAAO,MAAMO,WAAW,GAAAV,OAAA,UAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAC,MAAA;AAAA;EAAAA,MAAA;EAAAC,KAAA;AAAA,GACpBI,WAAW,SAAAR,OAAA,CAAAC,GAAA,CAAAC,QAAA,g/EACd;AAAC,IAAAQ,IAAA,GAAAV,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAS,IAAA;EAAAC,MAAA;AAAA;EAAAD,IAAA;EAAAC,MAAA;EAAAC,GAAA;EAAAC,QAAA,EAAAC;AAAA;AAEF,MAAMC,oBAAoB,GAAGA,CAAE;EAAEV,uBAAuB,GAAG;AAAM,CAAC,KAAM;EACvE,OACC,CAAEA,uBAAuB,IAAAI,IAGxB;AAEH,CAAC;AAED,OAAO,MAAMO,UAAU,GAAAlB,OAAA,MAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAC,MAAA;AAAA;EAAAA,MAAA;EAAAC,KAAA;AAAA,kBACPP,KAAK,CAAE,CAAE,CAAC,iCAEXF,IAAI,CAAE,mBAAoB,CAAC,+BAE/BC,MAAM,CAACsB,IAAI,CAAE,GAAG,CAAE,OAEzBF,oBAAoB,SAAAhB,OAAA,CAAAC,GAAA,CAAAC,QAAA,g/EACvB;AAED,OAAO,MAAMiB,iBAAiB,GAAApB,OAAA,SAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAC,MAAA;AAAA;EAAAA,MAAA;EAAAC,KAAA;AAAA,GAC1BI,WAAW,SAAAR,OAAA,CAAAC,GAAA,CAAAC,QAAA,g/EACd"}
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
1
+ {"version":3,"names":[],"sources":["@wordpress/components/src/base-control/types.ts"],"sourcesContent":["/**\n * External dependencies\n */\nimport type { ReactNode } from 'react';\n\nexport type BaseControlProps = {\n\t/**\n\t * Start opting into the new margin-free styles that will become the default in a future version.\n\t *\n\t * @default false\n\t */\n\t__nextHasNoMarginBottom?: boolean;\n\t/**\n\t * The HTML `id` of the control element (passed in as a child to `BaseControl`) to which labels and help text are being generated.\n\t * This is necessary to accessibly associate the label with that element.\n\t *\n\t * The recommended way is to use the `useBaseControlProps` hook, which takes care of generating a unique `id` for you.\n\t * Otherwise, if you choose to pass an explicit `id` to this prop, you are responsible for ensuring the uniqueness of the `id`.\n\t */\n\tid?: string;\n\t/**\n\t * Additional description for the control.\n\t *\n\t * It is preferable to use plain text for `help`, as it can be accessibly associated with the control using `aria-describedby`.\n\t * When the `help` contains links, or otherwise non-plain text content, it will be associated with the control using `aria-details`.\n\t */\n\thelp?: ReactNode;\n\t/**\n\t * If this property is added, a label will be generated using label property as the content.\n\t */\n\tlabel?: ReactNode;\n\t/**\n\t * If true, the label will only be visible to screen readers.\n\t *\n\t * @default false\n\t */\n\thideLabelFromVision?: boolean;\n\tclassName?: string;\n\t/**\n\t * The content to be displayed within the `BaseControl`.\n\t */\n\tchildren: ReactNode;\n};\n\nexport type BaseControlVisualLabelProps = {\n\tchildren: ReactNode;\n};\n"],"mappings":""}
@@ -1,15 +1,14 @@
1
1
  import { createElement } from "@wordpress/element";
2
-
3
2
  /**
4
3
  * WordPress dependencies
5
4
  */
6
5
  import { __ } from '@wordpress/i18n';
7
6
  import { useMemo, useState } from '@wordpress/element';
8
7
  import { useMergeRefs } from '@wordpress/compose';
8
+
9
9
  /**
10
10
  * Internal dependencies
11
11
  */
12
-
13
12
  import BorderBoxControlLinkedButton from '../border-box-control-linked-button';
14
13
  import BorderBoxControlSplitControls from '../border-box-control-split-controls';
15
14
  import { BorderControl } from '../../border-control';
@@ -18,22 +17,18 @@ import { View } from '../../view';
18
17
  import { VisuallyHidden } from '../../visually-hidden';
19
18
  import { contextConnect } from '../../ui/context';
20
19
  import { useBorderBoxControl } from './hook';
21
-
22
20
  const BorderLabel = props => {
23
21
  const {
24
22
  label,
25
23
  hideLabelFromVision
26
24
  } = props;
27
-
28
25
  if (!label) {
29
26
  return null;
30
27
  }
31
-
32
28
  return hideLabelFromVision ? createElement(VisuallyHidden, {
33
29
  as: "label"
34
30
  }, label) : createElement(StyledLabel, null, label);
35
31
  };
36
-
37
32
  const UnconnectedBorderBoxControl = (props, forwardedRef) => {
38
33
  const {
39
34
  className,
@@ -58,11 +53,13 @@ const UnconnectedBorderBoxControl = (props, forwardedRef) => {
58
53
  wrapperClassName,
59
54
  __experimentalIsRenderedInSidebar,
60
55
  ...otherProps
61
- } = useBorderBoxControl(props); // Use internal state instead of a ref to make sure that the component
62
- // re-renders when the popover's anchor updates.
56
+ } = useBorderBoxControl(props);
63
57
 
64
- const [popoverAnchor, setPopoverAnchor] = useState(null); // Memoize popoverProps to avoid returning a new object every time.
58
+ // Use internal state instead of a ref to make sure that the component
59
+ // re-renders when the popover's anchor updates.
60
+ const [popoverAnchor, setPopoverAnchor] = useState(null);
65
61
 
62
+ // Memoize popoverProps to avoid returning a new object every time.
66
63
  const popoverProps = useMemo(() => popoverPlacement ? {
67
64
  placement: popoverPlacement,
68
65
  offset: popoverOffset,
@@ -113,6 +110,7 @@ const UnconnectedBorderBoxControl = (props, forwardedRef) => {
113
110
  size: size
114
111
  })));
115
112
  };
113
+
116
114
  /**
117
115
  * The `BorderBoxControl` effectively has two view states. The first, a "linked"
118
116
  * view, allows configuration of a flat border via a single `BorderControl`.
@@ -162,8 +160,6 @@ const UnconnectedBorderBoxControl = (props, forwardedRef) => {
162
160
  * };
163
161
  * ```
164
162
  */
165
-
166
-
167
163
  export const BorderBoxControl = contextConnect(UnconnectedBorderBoxControl, 'BorderBoxControl');
168
164
  export default BorderBoxControl;
169
165
  //# sourceMappingURL=component.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["@wordpress/components/src/border-box-control/border-box-control/component.tsx"],"names":["__","useMemo","useState","useMergeRefs","BorderBoxControlLinkedButton","BorderBoxControlSplitControls","BorderControl","StyledLabel","View","VisuallyHidden","contextConnect","useBorderBoxControl","BorderLabel","props","label","hideLabelFromVision","UnconnectedBorderBoxControl","forwardedRef","className","colors","disableCustomColors","disableUnits","enableAlpha","enableStyle","hasMixedBorders","isLinked","linkedControlClassName","linkedValue","onLinkedChange","onSplitChange","popoverPlacement","popoverOffset","size","splitValue","toggleLinked","wrapperClassName","__experimentalIsRenderedInSidebar","otherProps","popoverAnchor","setPopoverAnchor","popoverProps","placement","offset","anchor","shift","undefined","mergedRef","BorderBoxControl"],"mappings":";;AAAA;AACA;AACA;AACA,SAASA,EAAT,QAAmB,iBAAnB;AACA,SAASC,OAAT,EAAkBC,QAAlB,QAAkC,oBAAlC;AACA,SAASC,YAAT,QAA6B,oBAA7B;AAEA;AACA;AACA;;AACA,OAAOC,4BAAP,MAAyC,qCAAzC;AACA,OAAOC,6BAAP,MAA0C,sCAA1C;AACA,SAASC,aAAT,QAA8B,sBAA9B;AACA,SAASC,WAAT,QAA4B,+CAA5B;AACA,SAASC,IAAT,QAAqB,YAArB;AACA,SAASC,cAAT,QAA+B,uBAA/B;AACA,SAASC,cAAT,QAAwD,kBAAxD;AACA,SAASC,mBAAT,QAAoC,QAApC;;AAQA,MAAMC,WAAW,GAAKC,KAAF,IAAyB;AAC5C,QAAM;AAAEC,IAAAA,KAAF;AAASC,IAAAA;AAAT,MAAiCF,KAAvC;;AAEA,MAAK,CAAEC,KAAP,EAAe;AACd,WAAO,IAAP;AACA;;AAED,SAAOC,mBAAmB,GACzB,cAAC,cAAD;AAAgB,IAAA,EAAE,EAAC;AAAnB,KAA6BD,KAA7B,CADyB,GAGzB,cAAC,WAAD,QAAeA,KAAf,CAHD;AAKA,CAZD;;AAcA,MAAME,2BAA2B,GAAG,CACnCH,KADmC,EAEnCI,YAFmC,KAG/B;AACJ,QAAM;AACLC,IAAAA,SADK;AAELC,IAAAA,MAFK;AAGLC,IAAAA,mBAHK;AAILC,IAAAA,YAJK;AAKLC,IAAAA,WALK;AAMLC,IAAAA,WANK;AAOLC,IAAAA,eAPK;AAQLT,IAAAA,mBARK;AASLU,IAAAA,QATK;AAULX,IAAAA,KAVK;AAWLY,IAAAA,sBAXK;AAYLC,IAAAA,WAZK;AAaLC,IAAAA,cAbK;AAcLC,IAAAA,aAdK;AAeLC,IAAAA,gBAfK;AAgBLC,IAAAA,aAhBK;AAiBLC,IAAAA,IAjBK;AAkBLC,IAAAA,UAlBK;AAmBLC,IAAAA,YAnBK;AAoBLC,IAAAA,gBApBK;AAqBLC,IAAAA,iCArBK;AAsBL,OAAGC;AAtBE,MAuBF1B,mBAAmB,CAAEE,KAAF,CAvBvB,CADI,CA0BJ;AACA;;AACA,QAAM,CAAEyB,aAAF,EAAiBC,gBAAjB,IAAsCrC,QAAQ,CACnD,IADmD,CAApD,CA5BI,CAgCJ;;AACA,QAAMsC,YAA4D,GACjEvC,OAAO,CACN,MACC6B,gBAAgB,GACb;AACAW,IAAAA,SAAS,EAAEX,gBADX;AAEAY,IAAAA,MAAM,EAAEX,aAFR;AAGAY,IAAAA,MAAM,EAAEL,aAHR;AAIAM,IAAAA,KAAK,EAAE;AAJP,GADa,GAObC,SATE,EAUN,CAAEf,gBAAF,EAAoBC,aAApB,EAAmCO,aAAnC,CAVM,CADR;AAcA,QAAMQ,SAAS,GAAG3C,YAAY,CAAE,CAAEoC,gBAAF,EAAoBtB,YAApB,CAAF,CAA9B;AAEA,SACC,cAAC,IAAD;AAAM,IAAA,SAAS,EAAGC,SAAlB;AAAA,OAAmCmB,UAAnC;AAAgD,IAAA,GAAG,EAAGS;AAAtD,KACC,cAAC,WAAD;AACC,IAAA,KAAK,EAAGhC,KADT;AAEC,IAAA,mBAAmB,EAAGC;AAFvB,IADD,EAKC,cAAC,IAAD;AAAM,IAAA,SAAS,EAAGoB;AAAlB,KACGV,QAAQ,GACT,cAAC,aAAD;AACC,IAAA,SAAS,EAAGC,sBADb;AAEC,IAAA,MAAM,EAAGP,MAFV;AAGC,IAAA,YAAY,EAAGE,YAHhB;AAIC,IAAA,mBAAmB,EAAGD,mBAJvB;AAKC,IAAA,WAAW,EAAGE,WALf;AAMC,IAAA,WAAW,EAAGC,WANf;AAOC,IAAA,QAAQ,EAAGK,cAPZ;AAQC,IAAA,WAAW,EACVJ,eAAe,GAAGxB,EAAE,CAAE,OAAF,CAAL,GAAmB6C,SATpC;AAWC,IAAA,sBAAsB,EAAGL,YAX1B;AAYC,IAAA,oBAAoB,EAAG,KAZxB,CAYgC;AAZhC;AAaC,IAAA,KAAK,EAAGb,WAbT;AAcC,IAAA,UAAU,EAAG,IAdd;AAeC,IAAA,KAAK,EACJK,IAAI,KAAK,kBAAT,GAA8B,OAA9B,GAAwC,OAhB1C;AAkBC,IAAA,iCAAiC,EAChCI,iCAnBF;AAqBC,IAAA,IAAI,EAAGJ;AArBR,IADS,GAyBT,cAAC,6BAAD;AACC,IAAA,MAAM,EAAGb,MADV;AAEC,IAAA,mBAAmB,EAAGC,mBAFvB;AAGC,IAAA,WAAW,EAAGE,WAHf;AAIC,IAAA,WAAW,EAAGC,WAJf;AAKC,IAAA,QAAQ,EAAGM,aALZ;AAMC,IAAA,gBAAgB,EAAGC,gBANpB;AAOC,IAAA,aAAa,EAAGC,aAPjB;AAQC,IAAA,KAAK,EAAGE,UART;AASC,IAAA,iCAAiC,EAChCG,iCAVF;AAYC,IAAA,IAAI,EAAGJ;AAZR,IA1BF,EAyCC,cAAC,4BAAD;AACC,IAAA,OAAO,EAAGE,YADX;AAEC,IAAA,QAAQ,EAAGT,QAFZ;AAGC,IAAA,IAAI,EAAGO;AAHR,IAzCD,CALD,CADD;AAuDA,CA3GD;AA6GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,OAAO,MAAMe,gBAAgB,GAAGrC,cAAc,CAC7CM,2BAD6C,EAE7C,kBAF6C,CAAvC;AAKP,eAAe+B,gBAAf","sourcesContent":["/**\n * WordPress dependencies\n */\nimport { __ } from '@wordpress/i18n';\nimport { useMemo, useState } from '@wordpress/element';\nimport { useMergeRefs } from '@wordpress/compose';\n\n/**\n * Internal dependencies\n */\nimport BorderBoxControlLinkedButton from '../border-box-control-linked-button';\nimport BorderBoxControlSplitControls from '../border-box-control-split-controls';\nimport { BorderControl } from '../../border-control';\nimport { StyledLabel } from '../../base-control/styles/base-control-styles';\nimport { View } from '../../view';\nimport { VisuallyHidden } from '../../visually-hidden';\nimport { contextConnect, WordPressComponentProps } from '../../ui/context';\nimport { useBorderBoxControl } from './hook';\n\nimport type { BorderBoxControlProps } from '../types';\nimport type {\n\tLabelProps,\n\tBorderControlProps,\n} from '../../border-control/types';\n\nconst BorderLabel = ( props: LabelProps ) => {\n\tconst { label, hideLabelFromVision } = props;\n\n\tif ( ! label ) {\n\t\treturn null;\n\t}\n\n\treturn hideLabelFromVision ? (\n\t\t<VisuallyHidden as=\"label\">{ label }</VisuallyHidden>\n\t) : (\n\t\t<StyledLabel>{ label }</StyledLabel>\n\t);\n};\n\nconst UnconnectedBorderBoxControl = (\n\tprops: WordPressComponentProps< BorderBoxControlProps, 'div', false >,\n\tforwardedRef: React.ForwardedRef< any >\n) => {\n\tconst {\n\t\tclassName,\n\t\tcolors,\n\t\tdisableCustomColors,\n\t\tdisableUnits,\n\t\tenableAlpha,\n\t\tenableStyle,\n\t\thasMixedBorders,\n\t\thideLabelFromVision,\n\t\tisLinked,\n\t\tlabel,\n\t\tlinkedControlClassName,\n\t\tlinkedValue,\n\t\tonLinkedChange,\n\t\tonSplitChange,\n\t\tpopoverPlacement,\n\t\tpopoverOffset,\n\t\tsize,\n\t\tsplitValue,\n\t\ttoggleLinked,\n\t\twrapperClassName,\n\t\t__experimentalIsRenderedInSidebar,\n\t\t...otherProps\n\t} = useBorderBoxControl( props );\n\n\t// Use internal state instead of a ref to make sure that the component\n\t// re-renders when the popover's anchor updates.\n\tconst [ popoverAnchor, setPopoverAnchor ] = useState< Element | null >(\n\t\tnull\n\t);\n\n\t// Memoize popoverProps to avoid returning a new object every time.\n\tconst popoverProps: BorderControlProps[ '__unstablePopoverProps' ] =\n\t\tuseMemo(\n\t\t\t() =>\n\t\t\t\tpopoverPlacement\n\t\t\t\t\t? {\n\t\t\t\t\t\t\tplacement: popoverPlacement,\n\t\t\t\t\t\t\toffset: popoverOffset,\n\t\t\t\t\t\t\tanchor: popoverAnchor,\n\t\t\t\t\t\t\tshift: true,\n\t\t\t\t\t }\n\t\t\t\t\t: undefined,\n\t\t\t[ popoverPlacement, popoverOffset, popoverAnchor ]\n\t\t);\n\n\tconst mergedRef = useMergeRefs( [ setPopoverAnchor, forwardedRef ] );\n\n\treturn (\n\t\t<View className={ className } { ...otherProps } ref={ mergedRef }>\n\t\t\t<BorderLabel\n\t\t\t\tlabel={ label }\n\t\t\t\thideLabelFromVision={ hideLabelFromVision }\n\t\t\t/>\n\t\t\t<View className={ wrapperClassName }>\n\t\t\t\t{ isLinked ? (\n\t\t\t\t\t<BorderControl\n\t\t\t\t\t\tclassName={ linkedControlClassName }\n\t\t\t\t\t\tcolors={ colors }\n\t\t\t\t\t\tdisableUnits={ disableUnits }\n\t\t\t\t\t\tdisableCustomColors={ disableCustomColors }\n\t\t\t\t\t\tenableAlpha={ enableAlpha }\n\t\t\t\t\t\tenableStyle={ enableStyle }\n\t\t\t\t\t\tonChange={ onLinkedChange }\n\t\t\t\t\t\tplaceholder={\n\t\t\t\t\t\t\thasMixedBorders ? __( 'Mixed' ) : undefined\n\t\t\t\t\t\t}\n\t\t\t\t\t\t__unstablePopoverProps={ popoverProps }\n\t\t\t\t\t\tshouldSanitizeBorder={ false } // This component will handle that.\n\t\t\t\t\t\tvalue={ linkedValue }\n\t\t\t\t\t\twithSlider={ true }\n\t\t\t\t\t\twidth={\n\t\t\t\t\t\t\tsize === '__unstable-large' ? '116px' : '110px'\n\t\t\t\t\t\t}\n\t\t\t\t\t\t__experimentalIsRenderedInSidebar={\n\t\t\t\t\t\t\t__experimentalIsRenderedInSidebar\n\t\t\t\t\t\t}\n\t\t\t\t\t\tsize={ size }\n\t\t\t\t\t/>\n\t\t\t\t) : (\n\t\t\t\t\t<BorderBoxControlSplitControls\n\t\t\t\t\t\tcolors={ colors }\n\t\t\t\t\t\tdisableCustomColors={ disableCustomColors }\n\t\t\t\t\t\tenableAlpha={ enableAlpha }\n\t\t\t\t\t\tenableStyle={ enableStyle }\n\t\t\t\t\t\tonChange={ onSplitChange }\n\t\t\t\t\t\tpopoverPlacement={ popoverPlacement }\n\t\t\t\t\t\tpopoverOffset={ popoverOffset }\n\t\t\t\t\t\tvalue={ splitValue }\n\t\t\t\t\t\t__experimentalIsRenderedInSidebar={\n\t\t\t\t\t\t\t__experimentalIsRenderedInSidebar\n\t\t\t\t\t\t}\n\t\t\t\t\t\tsize={ size }\n\t\t\t\t\t/>\n\t\t\t\t) }\n\t\t\t\t<BorderBoxControlLinkedButton\n\t\t\t\t\tonClick={ toggleLinked }\n\t\t\t\t\tisLinked={ isLinked }\n\t\t\t\t\tsize={ size }\n\t\t\t\t/>\n\t\t\t</View>\n\t\t</View>\n\t);\n};\n\n/**\n * The `BorderBoxControl` effectively has two view states. The first, a \"linked\"\n * view, allows configuration of a flat border via a single `BorderControl`.\n * The second, a \"split\" view, contains a `BorderControl` for each side\n * as well as a visualizer for the currently selected borders. Each view also\n * contains a button to toggle between the two.\n *\n * When switching from the \"split\" view to \"linked\", if the individual side\n * borders are not consistent, the \"linked\" view will display any border\n * properties selections that are consistent while showing a mixed state for\n * those that aren't. For example, if all borders had the same color and style\n * but different widths, then the border dropdown in the \"linked\" view's\n * `BorderControl` would show that consistent color and style but the \"linked\"\n * view's width input would show \"Mixed\" placeholder text.\n *\n * ```jsx\n * import { __experimentalBorderBoxControl as BorderBoxControl } from '@wordpress/components';\n * import { __ } from '@wordpress/i18n';\n *\n * const colors = [\n * \t{ name: 'Blue 20', color: '#72aee6' },\n * \t// ...\n * ];\n *\n * const MyBorderBoxControl = () => {\n * \tconst defaultBorder = {\n * \t\tcolor: '#72aee6',\n * \t\tstyle: 'dashed',\n * \t\twidth: '1px',\n * \t};\n * \tconst [ borders, setBorders ] = useState( {\n * \t\ttop: defaultBorder,\n * \t\tright: defaultBorder,\n * \t\tbottom: defaultBorder,\n * \t\tleft: defaultBorder,\n * \t} );\n * \tconst onChange = ( newBorders ) => setBorders( newBorders );\n *\n * \treturn (\n * \t\t<BorderBoxControl\n * \t\t\tcolors={ colors }\n * \t\t\tlabel={ __( 'Borders' ) }\n * \t\t\tonChange={ onChange }\n * \t\t\tvalue={ borders }\n * \t\t/>\n * \t);\n * };\n * ```\n */\nexport const BorderBoxControl = contextConnect(\n\tUnconnectedBorderBoxControl,\n\t'BorderBoxControl'\n);\n\nexport default BorderBoxControl;\n"]}
1
+ {"version":3,"names":["__","useMemo","useState","useMergeRefs","BorderBoxControlLinkedButton","BorderBoxControlSplitControls","BorderControl","StyledLabel","View","VisuallyHidden","contextConnect","useBorderBoxControl","BorderLabel","props","label","hideLabelFromVision","createElement","as","UnconnectedBorderBoxControl","forwardedRef","className","colors","disableCustomColors","disableUnits","enableAlpha","enableStyle","hasMixedBorders","isLinked","linkedControlClassName","linkedValue","onLinkedChange","onSplitChange","popoverPlacement","popoverOffset","size","splitValue","toggleLinked","wrapperClassName","__experimentalIsRenderedInSidebar","otherProps","popoverAnchor","setPopoverAnchor","popoverProps","placement","offset","anchor","shift","undefined","mergedRef","ref","onChange","placeholder","__unstablePopoverProps","shouldSanitizeBorder","value","withSlider","width","onClick","BorderBoxControl"],"sources":["@wordpress/components/src/border-box-control/border-box-control/component.tsx"],"sourcesContent":["/**\n * WordPress dependencies\n */\nimport { __ } from '@wordpress/i18n';\nimport { useMemo, useState } from '@wordpress/element';\nimport { useMergeRefs } from '@wordpress/compose';\n\n/**\n * Internal dependencies\n */\nimport BorderBoxControlLinkedButton from '../border-box-control-linked-button';\nimport BorderBoxControlSplitControls from '../border-box-control-split-controls';\nimport { BorderControl } from '../../border-control';\nimport { StyledLabel } from '../../base-control/styles/base-control-styles';\nimport { View } from '../../view';\nimport { VisuallyHidden } from '../../visually-hidden';\nimport type { WordPressComponentProps } from '../../ui/context';\nimport { contextConnect } from '../../ui/context';\nimport { useBorderBoxControl } from './hook';\n\nimport type { BorderBoxControlProps } from '../types';\nimport type {\n\tLabelProps,\n\tBorderControlProps,\n} from '../../border-control/types';\n\nconst BorderLabel = ( props: LabelProps ) => {\n\tconst { label, hideLabelFromVision } = props;\n\n\tif ( ! label ) {\n\t\treturn null;\n\t}\n\n\treturn hideLabelFromVision ? (\n\t\t<VisuallyHidden as=\"label\">{ label }</VisuallyHidden>\n\t) : (\n\t\t<StyledLabel>{ label }</StyledLabel>\n\t);\n};\n\nconst UnconnectedBorderBoxControl = (\n\tprops: WordPressComponentProps< BorderBoxControlProps, 'div', false >,\n\tforwardedRef: React.ForwardedRef< any >\n) => {\n\tconst {\n\t\tclassName,\n\t\tcolors,\n\t\tdisableCustomColors,\n\t\tdisableUnits,\n\t\tenableAlpha,\n\t\tenableStyle,\n\t\thasMixedBorders,\n\t\thideLabelFromVision,\n\t\tisLinked,\n\t\tlabel,\n\t\tlinkedControlClassName,\n\t\tlinkedValue,\n\t\tonLinkedChange,\n\t\tonSplitChange,\n\t\tpopoverPlacement,\n\t\tpopoverOffset,\n\t\tsize,\n\t\tsplitValue,\n\t\ttoggleLinked,\n\t\twrapperClassName,\n\t\t__experimentalIsRenderedInSidebar,\n\t\t...otherProps\n\t} = useBorderBoxControl( props );\n\n\t// Use internal state instead of a ref to make sure that the component\n\t// re-renders when the popover's anchor updates.\n\tconst [ popoverAnchor, setPopoverAnchor ] = useState< Element | null >(\n\t\tnull\n\t);\n\n\t// Memoize popoverProps to avoid returning a new object every time.\n\tconst popoverProps: BorderControlProps[ '__unstablePopoverProps' ] =\n\t\tuseMemo(\n\t\t\t() =>\n\t\t\t\tpopoverPlacement\n\t\t\t\t\t? {\n\t\t\t\t\t\t\tplacement: popoverPlacement,\n\t\t\t\t\t\t\toffset: popoverOffset,\n\t\t\t\t\t\t\tanchor: popoverAnchor,\n\t\t\t\t\t\t\tshift: true,\n\t\t\t\t\t }\n\t\t\t\t\t: undefined,\n\t\t\t[ popoverPlacement, popoverOffset, popoverAnchor ]\n\t\t);\n\n\tconst mergedRef = useMergeRefs( [ setPopoverAnchor, forwardedRef ] );\n\n\treturn (\n\t\t<View className={ className } { ...otherProps } ref={ mergedRef }>\n\t\t\t<BorderLabel\n\t\t\t\tlabel={ label }\n\t\t\t\thideLabelFromVision={ hideLabelFromVision }\n\t\t\t/>\n\t\t\t<View className={ wrapperClassName }>\n\t\t\t\t{ isLinked ? (\n\t\t\t\t\t<BorderControl\n\t\t\t\t\t\tclassName={ linkedControlClassName }\n\t\t\t\t\t\tcolors={ colors }\n\t\t\t\t\t\tdisableUnits={ disableUnits }\n\t\t\t\t\t\tdisableCustomColors={ disableCustomColors }\n\t\t\t\t\t\tenableAlpha={ enableAlpha }\n\t\t\t\t\t\tenableStyle={ enableStyle }\n\t\t\t\t\t\tonChange={ onLinkedChange }\n\t\t\t\t\t\tplaceholder={\n\t\t\t\t\t\t\thasMixedBorders ? __( 'Mixed' ) : undefined\n\t\t\t\t\t\t}\n\t\t\t\t\t\t__unstablePopoverProps={ popoverProps }\n\t\t\t\t\t\tshouldSanitizeBorder={ false } // This component will handle that.\n\t\t\t\t\t\tvalue={ linkedValue }\n\t\t\t\t\t\twithSlider={ true }\n\t\t\t\t\t\twidth={\n\t\t\t\t\t\t\tsize === '__unstable-large' ? '116px' : '110px'\n\t\t\t\t\t\t}\n\t\t\t\t\t\t__experimentalIsRenderedInSidebar={\n\t\t\t\t\t\t\t__experimentalIsRenderedInSidebar\n\t\t\t\t\t\t}\n\t\t\t\t\t\tsize={ size }\n\t\t\t\t\t/>\n\t\t\t\t) : (\n\t\t\t\t\t<BorderBoxControlSplitControls\n\t\t\t\t\t\tcolors={ colors }\n\t\t\t\t\t\tdisableCustomColors={ disableCustomColors }\n\t\t\t\t\t\tenableAlpha={ enableAlpha }\n\t\t\t\t\t\tenableStyle={ enableStyle }\n\t\t\t\t\t\tonChange={ onSplitChange }\n\t\t\t\t\t\tpopoverPlacement={ popoverPlacement }\n\t\t\t\t\t\tpopoverOffset={ popoverOffset }\n\t\t\t\t\t\tvalue={ splitValue }\n\t\t\t\t\t\t__experimentalIsRenderedInSidebar={\n\t\t\t\t\t\t\t__experimentalIsRenderedInSidebar\n\t\t\t\t\t\t}\n\t\t\t\t\t\tsize={ size }\n\t\t\t\t\t/>\n\t\t\t\t) }\n\t\t\t\t<BorderBoxControlLinkedButton\n\t\t\t\t\tonClick={ toggleLinked }\n\t\t\t\t\tisLinked={ isLinked }\n\t\t\t\t\tsize={ size }\n\t\t\t\t/>\n\t\t\t</View>\n\t\t</View>\n\t);\n};\n\n/**\n * The `BorderBoxControl` effectively has two view states. The first, a \"linked\"\n * view, allows configuration of a flat border via a single `BorderControl`.\n * The second, a \"split\" view, contains a `BorderControl` for each side\n * as well as a visualizer for the currently selected borders. Each view also\n * contains a button to toggle between the two.\n *\n * When switching from the \"split\" view to \"linked\", if the individual side\n * borders are not consistent, the \"linked\" view will display any border\n * properties selections that are consistent while showing a mixed state for\n * those that aren't. For example, if all borders had the same color and style\n * but different widths, then the border dropdown in the \"linked\" view's\n * `BorderControl` would show that consistent color and style but the \"linked\"\n * view's width input would show \"Mixed\" placeholder text.\n *\n * ```jsx\n * import { __experimentalBorderBoxControl as BorderBoxControl } from '@wordpress/components';\n * import { __ } from '@wordpress/i18n';\n *\n * const colors = [\n * \t{ name: 'Blue 20', color: '#72aee6' },\n * \t// ...\n * ];\n *\n * const MyBorderBoxControl = () => {\n * \tconst defaultBorder = {\n * \t\tcolor: '#72aee6',\n * \t\tstyle: 'dashed',\n * \t\twidth: '1px',\n * \t};\n * \tconst [ borders, setBorders ] = useState( {\n * \t\ttop: defaultBorder,\n * \t\tright: defaultBorder,\n * \t\tbottom: defaultBorder,\n * \t\tleft: defaultBorder,\n * \t} );\n * \tconst onChange = ( newBorders ) => setBorders( newBorders );\n *\n * \treturn (\n * \t\t<BorderBoxControl\n * \t\t\tcolors={ colors }\n * \t\t\tlabel={ __( 'Borders' ) }\n * \t\t\tonChange={ onChange }\n * \t\t\tvalue={ borders }\n * \t\t/>\n * \t);\n * };\n * ```\n */\nexport const BorderBoxControl = contextConnect(\n\tUnconnectedBorderBoxControl,\n\t'BorderBoxControl'\n);\n\nexport default BorderBoxControl;\n"],"mappings":";AAAA;AACA;AACA;AACA,SAASA,EAAE,QAAQ,iBAAiB;AACpC,SAASC,OAAO,EAAEC,QAAQ,QAAQ,oBAAoB;AACtD,SAASC,YAAY,QAAQ,oBAAoB;;AAEjD;AACA;AACA;AACA,OAAOC,4BAA4B,MAAM,qCAAqC;AAC9E,OAAOC,6BAA6B,MAAM,sCAAsC;AAChF,SAASC,aAAa,QAAQ,sBAAsB;AACpD,SAASC,WAAW,QAAQ,+CAA+C;AAC3E,SAASC,IAAI,QAAQ,YAAY;AACjC,SAASC,cAAc,QAAQ,uBAAuB;AAEtD,SAASC,cAAc,QAAQ,kBAAkB;AACjD,SAASC,mBAAmB,QAAQ,QAAQ;AAQ5C,MAAMC,WAAW,GAAKC,KAAiB,IAAM;EAC5C,MAAM;IAAEC,KAAK;IAAEC;EAAoB,CAAC,GAAGF,KAAK;EAE5C,IAAK,CAAEC,KAAK,EAAG;IACd,OAAO,IAAI;EACZ;EAEA,OAAOC,mBAAmB,GACzBC,aAAA,CAACP,cAAc;IAACQ,EAAE,EAAC;EAAO,GAAGH,KAAuB,CAAC,GAErDE,aAAA,CAACT,WAAW,QAAGO,KAAoB,CACnC;AACF,CAAC;AAED,MAAMI,2BAA2B,GAAGA,CACnCL,KAAqE,EACrEM,YAAuC,KACnC;EACJ,MAAM;IACLC,SAAS;IACTC,MAAM;IACNC,mBAAmB;IACnBC,YAAY;IACZC,WAAW;IACXC,WAAW;IACXC,eAAe;IACfX,mBAAmB;IACnBY,QAAQ;IACRb,KAAK;IACLc,sBAAsB;IACtBC,WAAW;IACXC,cAAc;IACdC,aAAa;IACbC,gBAAgB;IAChBC,aAAa;IACbC,IAAI;IACJC,UAAU;IACVC,YAAY;IACZC,gBAAgB;IAChBC,iCAAiC;IACjC,GAAGC;EACJ,CAAC,GAAG5B,mBAAmB,CAAEE,KAAM,CAAC;;EAEhC;EACA;EACA,MAAM,CAAE2B,aAAa,EAAEC,gBAAgB,CAAE,GAAGvC,QAAQ,CACnD,IACD,CAAC;;EAED;EACA,MAAMwC,YAA4D,GACjEzC,OAAO,CACN,MACC+B,gBAAgB,GACb;IACAW,SAAS,EAAEX,gBAAgB;IAC3BY,MAAM,EAAEX,aAAa;IACrBY,MAAM,EAAEL,aAAa;IACrBM,KAAK,EAAE;EACP,CAAC,GACDC,SAAS,EACb,CAAEf,gBAAgB,EAAEC,aAAa,EAAEO,aAAa,CACjD,CAAC;EAEF,MAAMQ,SAAS,GAAG7C,YAAY,CAAE,CAAEsC,gBAAgB,EAAEtB,YAAY,CAAG,CAAC;EAEpE,OACCH,aAAA,CAACR,IAAI;IAACY,SAAS,EAAGA,SAAW;IAAA,GAAMmB,UAAU;IAAGU,GAAG,EAAGD;EAAW,GAChEhC,aAAA,CAACJ,WAAW;IACXE,KAAK,EAAGA,KAAO;IACfC,mBAAmB,EAAGA;EAAqB,CAC3C,CAAC,EACFC,aAAA,CAACR,IAAI;IAACY,SAAS,EAAGiB;EAAkB,GACjCV,QAAQ,GACTX,aAAA,CAACV,aAAa;IACbc,SAAS,EAAGQ,sBAAwB;IACpCP,MAAM,EAAGA,MAAQ;IACjBE,YAAY,EAAGA,YAAc;IAC7BD,mBAAmB,EAAGA,mBAAqB;IAC3CE,WAAW,EAAGA,WAAa;IAC3BC,WAAW,EAAGA,WAAa;IAC3ByB,QAAQ,EAAGpB,cAAgB;IAC3BqB,WAAW,EACVzB,eAAe,GAAG1B,EAAE,CAAE,OAAQ,CAAC,GAAG+C,SAClC;IACDK,sBAAsB,EAAGV,YAAc;IACvCW,oBAAoB,EAAG,KAAO,CAAC;IAAA;IAC/BC,KAAK,EAAGzB,WAAa;IACrB0B,UAAU,EAAG,IAAM;IACnBC,KAAK,EACJtB,IAAI,KAAK,kBAAkB,GAAG,OAAO,GAAG,OACxC;IACDI,iCAAiC,EAChCA,iCACA;IACDJ,IAAI,EAAGA;EAAM,CACb,CAAC,GAEFlB,aAAA,CAACX,6BAA6B;IAC7BgB,MAAM,EAAGA,MAAQ;IACjBC,mBAAmB,EAAGA,mBAAqB;IAC3CE,WAAW,EAAGA,WAAa;IAC3BC,WAAW,EAAGA,WAAa;IAC3ByB,QAAQ,EAAGnB,aAAe;IAC1BC,gBAAgB,EAAGA,gBAAkB;IACrCC,aAAa,EAAGA,aAAe;IAC/BqB,KAAK,EAAGnB,UAAY;IACpBG,iCAAiC,EAChCA,iCACA;IACDJ,IAAI,EAAGA;EAAM,CACb,CACD,EACDlB,aAAA,CAACZ,4BAA4B;IAC5BqD,OAAO,EAAGrB,YAAc;IACxBT,QAAQ,EAAGA,QAAU;IACrBO,IAAI,EAAGA;EAAM,CACb,CACI,CACD,CAAC;AAET,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMwB,gBAAgB,GAAGhD,cAAc,CAC7CQ,2BAA2B,EAC3B,kBACD,CAAC;AAED,eAAewC,gBAAgB"}
@@ -2,10 +2,10 @@
2
2
  * WordPress dependencies
3
3
  */
4
4
  import { useMemo, useState } from '@wordpress/element';
5
+
5
6
  /**
6
7
  * Internal dependencies
7
8
  */
8
-
9
9
  import * as styles from '../styles';
10
10
  import { getBorderDiff, getCommonBorder, getSplitBorders, hasMixedBorders, hasSplitBorders, isCompleteBorder, isEmptyBorder } from '../utils';
11
11
  import { useContextSystem } from '../../ui/context';
@@ -25,63 +25,62 @@ export function useBorderBoxControl(props) {
25
25
  const mixedBorders = hasMixedBorders(value);
26
26
  const splitBorders = hasSplitBorders(value);
27
27
  const linkedValue = splitBorders ? getCommonBorder(value) : value;
28
- const splitValue = splitBorders ? value : getSplitBorders(value); // If no numeric width value is set, the unit select will be disabled.
28
+ const splitValue = splitBorders ? value : getSplitBorders(value);
29
29
 
30
+ // If no numeric width value is set, the unit select will be disabled.
30
31
  const hasWidthValue = !isNaN(parseFloat(`${linkedValue?.width}`));
31
32
  const [isLinked, setIsLinked] = useState(!mixedBorders);
32
-
33
33
  const toggleLinked = () => setIsLinked(!isLinked);
34
-
35
34
  const onLinkedChange = newBorder => {
36
35
  if (!newBorder) {
37
36
  return onChange(undefined);
38
- } // If we have all props defined on the new border apply it.
39
-
37
+ }
40
38
 
39
+ // If we have all props defined on the new border apply it.
41
40
  if (!mixedBorders || isCompleteBorder(newBorder)) {
42
41
  return onChange(isEmptyBorder(newBorder) ? undefined : newBorder);
43
- } // If we had mixed borders we might have had some shared border props
42
+ }
43
+
44
+ // If we had mixed borders we might have had some shared border props
44
45
  // that we need to maintain. For example; we could have mixed borders
45
46
  // with all the same color but different widths. Then from the linked
46
47
  // control we change the color. We should keep the separate widths.
47
-
48
-
49
48
  const changes = getBorderDiff(linkedValue, newBorder);
50
49
  const updatedBorders = {
51
- top: { ...value?.top,
50
+ top: {
51
+ ...value?.top,
52
52
  ...changes
53
53
  },
54
- right: { ...value?.right,
54
+ right: {
55
+ ...value?.right,
55
56
  ...changes
56
57
  },
57
- bottom: { ...value?.bottom,
58
+ bottom: {
59
+ ...value?.bottom,
58
60
  ...changes
59
61
  },
60
- left: { ...value?.left,
62
+ left: {
63
+ ...value?.left,
61
64
  ...changes
62
65
  }
63
66
  };
64
-
65
67
  if (hasMixedBorders(updatedBorders)) {
66
68
  return onChange(updatedBorders);
67
69
  }
68
-
69
70
  const filteredResult = isEmptyBorder(updatedBorders.top) ? undefined : updatedBorders.top;
70
71
  onChange(filteredResult);
71
72
  };
72
-
73
73
  const onSplitChange = (newBorder, side) => {
74
- const updatedBorders = { ...splitValue,
74
+ const updatedBorders = {
75
+ ...splitValue,
75
76
  [side]: newBorder
76
77
  };
77
-
78
78
  if (hasMixedBorders(updatedBorders)) {
79
79
  onChange(updatedBorders);
80
80
  } else {
81
81
  onChange(newBorder);
82
82
  }
83
83
  };
84
-
85
84
  const cx = useCx();
86
85
  const classes = useMemo(() => {
87
86
  return cx(styles.borderBoxControl, className);
@@ -92,7 +91,8 @@ export function useBorderBoxControl(props) {
92
91
  const wrapperClassName = useMemo(() => {
93
92
  return cx(styles.wrapper);
94
93
  }, [cx]);
95
- return { ...otherProps,
94
+ return {
95
+ ...otherProps,
96
96
  className: classes,
97
97
  colors,
98
98
  disableUnits: mixedBorders && !hasWidthValue,
@@ -1 +1 @@
1
- {"version":3,"sources":["@wordpress/components/src/border-box-control/border-box-control/hook.ts"],"names":["useMemo","useState","styles","getBorderDiff","getCommonBorder","getSplitBorders","hasMixedBorders","hasSplitBorders","isCompleteBorder","isEmptyBorder","useContextSystem","useCx","useBorderBoxControl","props","className","colors","onChange","enableAlpha","enableStyle","size","value","__experimentalIsRenderedInSidebar","otherProps","mixedBorders","splitBorders","linkedValue","splitValue","hasWidthValue","isNaN","parseFloat","width","isLinked","setIsLinked","toggleLinked","onLinkedChange","newBorder","undefined","changes","updatedBorders","top","right","bottom","left","filteredResult","onSplitChange","side","cx","classes","borderBoxControl","linkedControlClassName","linkedBorderControl","wrapperClassName","wrapper","disableUnits"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,OAAT,EAAkBC,QAAlB,QAAkC,oBAAlC;AAEA;AACA;AACA;;AACA,OAAO,KAAKC,MAAZ,MAAwB,WAAxB;AACA,SACCC,aADD,EAECC,eAFD,EAGCC,eAHD,EAICC,eAJD,EAKCC,eALD,EAMCC,gBAND,EAOCC,aAPD,QAQO,UARP;AASA,SAASC,gBAAT,QAA0D,kBAA1D;AACA,SAASC,KAAT,QAAsB,0BAAtB;AAKA,OAAO,SAASC,mBAAT,CACNC,KADM,EAEL;AACD,QAAM;AACLC,IAAAA,SADK;AAELC,IAAAA,MAAM,GAAG,EAFJ;AAGLC,IAAAA,QAHK;AAILC,IAAAA,WAAW,GAAG,KAJT;AAKLC,IAAAA,WAAW,GAAG,IALT;AAMLC,IAAAA,IAAI,GAAG,SANF;AAOLC,IAAAA,KAPK;AAQLC,IAAAA,iCAAiC,GAAG,KAR/B;AASL,OAAGC;AATE,MAUFZ,gBAAgB,CAAEG,KAAF,EAAS,kBAAT,CAVpB;AAYA,QAAMU,YAAY,GAAGjB,eAAe,CAAEc,KAAF,CAApC;AACA,QAAMI,YAAY,GAAGjB,eAAe,CAAEa,KAAF,CAApC;AAEA,QAAMK,WAAW,GAAGD,YAAY,GAC7BpB,eAAe,CAAEgB,KAAF,CADc,GAE3BA,KAFL;AAIA,QAAMM,UAAU,GAAGF,YAAY,GAC1BJ,KAD0B,GAE5Bf,eAAe,CAAEe,KAAF,CAFlB,CApBC,CAwBD;;AACA,QAAMO,aAAa,GAAG,CAAEC,KAAK,CAAEC,UAAU,CAAG,GAAGJ,WAAW,EAAEK,KAAO,EAA1B,CAAZ,CAA7B;AAEA,QAAM,CAAEC,QAAF,EAAYC,WAAZ,IAA4B/B,QAAQ,CAAE,CAAEsB,YAAJ,CAA1C;;AACA,QAAMU,YAAY,GAAG,MAAMD,WAAW,CAAE,CAAED,QAAJ,CAAtC;;AAEA,QAAMG,cAAc,GAAKC,SAAF,IAA0B;AAChD,QAAK,CAAEA,SAAP,EAAmB;AAClB,aAAOnB,QAAQ,CAAEoB,SAAF,CAAf;AACA,KAH+C,CAKhD;;;AACA,QAAK,CAAEb,YAAF,IAAkBf,gBAAgB,CAAE2B,SAAF,CAAvC,EAAuD;AACtD,aAAOnB,QAAQ,CACdP,aAAa,CAAE0B,SAAF,CAAb,GAA6BC,SAA7B,GAAyCD,SAD3B,CAAf;AAGA,KAV+C,CAYhD;AACA;AACA;AACA;;;AACA,UAAME,OAAO,GAAGlC,aAAa,CAC5BsB,WAD4B,EAE5BU,SAF4B,CAA7B;AAIA,UAAMG,cAAc,GAAG;AACtBC,MAAAA,GAAG,EAAE,EAAE,GAAKnB,KAAF,EAAsBmB,GAA3B;AAAgC,WAAGF;AAAnC,OADiB;AAEtBG,MAAAA,KAAK,EAAE,EAAE,GAAKpB,KAAF,EAAsBoB,KAA3B;AAAkC,WAAGH;AAArC,OAFe;AAGtBI,MAAAA,MAAM,EAAE,EAAE,GAAKrB,KAAF,EAAsBqB,MAA3B;AAAmC,WAAGJ;AAAtC,OAHc;AAItBK,MAAAA,IAAI,EAAE,EAAE,GAAKtB,KAAF,EAAsBsB,IAA3B;AAAiC,WAAGL;AAApC;AAJgB,KAAvB;;AAOA,QAAK/B,eAAe,CAAEgC,cAAF,CAApB,EAAyC;AACxC,aAAOtB,QAAQ,CAAEsB,cAAF,CAAf;AACA;;AAED,UAAMK,cAAc,GAAGlC,aAAa,CAAE6B,cAAc,CAACC,GAAjB,CAAb,GACpBH,SADoB,GAEpBE,cAAc,CAACC,GAFlB;AAIAvB,IAAAA,QAAQ,CAAE2B,cAAF,CAAR;AACA,GApCD;;AAsCA,QAAMC,aAAa,GAAG,CACrBT,SADqB,EAErBU,IAFqB,KAGjB;AACJ,UAAMP,cAAc,GAAG,EAAE,GAAGZ,UAAL;AAAiB,OAAEmB,IAAF,GAAUV;AAA3B,KAAvB;;AAEA,QAAK7B,eAAe,CAAEgC,cAAF,CAApB,EAAyC;AACxCtB,MAAAA,QAAQ,CAAEsB,cAAF,CAAR;AACA,KAFD,MAEO;AACNtB,MAAAA,QAAQ,CAAEmB,SAAF,CAAR;AACA;AACD,GAXD;;AAaA,QAAMW,EAAE,GAAGnC,KAAK,EAAhB;AACA,QAAMoC,OAAO,GAAG/C,OAAO,CAAE,MAAM;AAC9B,WAAO8C,EAAE,CAAE5C,MAAM,CAAC8C,gBAAT,EAA2BlC,SAA3B,CAAT;AACA,GAFsB,EAEpB,CAAEgC,EAAF,EAAMhC,SAAN,CAFoB,CAAvB;AAIA,QAAMmC,sBAAsB,GAAGjD,OAAO,CAAE,MAAM;AAC7C,WAAO8C,EAAE,CAAE5C,MAAM,CAACgD,mBAAP,EAAF,CAAT;AACA,GAFqC,EAEnC,CAAEJ,EAAF,CAFmC,CAAtC;AAIA,QAAMK,gBAAgB,GAAGnD,OAAO,CAAE,MAAM;AACvC,WAAO8C,EAAE,CAAE5C,MAAM,CAACkD,OAAT,CAAT;AACA,GAF+B,EAE7B,CAAEN,EAAF,CAF6B,CAAhC;AAIA,SAAO,EACN,GAAGxB,UADG;AAENR,IAAAA,SAAS,EAAEiC,OAFL;AAGNhC,IAAAA,MAHM;AAINsC,IAAAA,YAAY,EAAE9B,YAAY,IAAI,CAAEI,aAJ1B;AAKNV,IAAAA,WALM;AAMNC,IAAAA,WANM;AAONZ,IAAAA,eAAe,EAAEiB,YAPX;AAQNQ,IAAAA,QARM;AASNkB,IAAAA,sBATM;AAUNf,IAAAA,cAVM;AAWNU,IAAAA,aAXM;AAYNX,IAAAA,YAZM;AAaNR,IAAAA,WAbM;AAcNN,IAAAA,IAdM;AAeNO,IAAAA,UAfM;AAgBNyB,IAAAA,gBAhBM;AAiBN9B,IAAAA;AAjBM,GAAP;AAmBA","sourcesContent":["/**\n * WordPress dependencies\n */\nimport { useMemo, useState } from '@wordpress/element';\n\n/**\n * Internal dependencies\n */\nimport * as styles from '../styles';\nimport {\n\tgetBorderDiff,\n\tgetCommonBorder,\n\tgetSplitBorders,\n\thasMixedBorders,\n\thasSplitBorders,\n\tisCompleteBorder,\n\tisEmptyBorder,\n} from '../utils';\nimport { useContextSystem, WordPressComponentProps } from '../../ui/context';\nimport { useCx } from '../../utils/hooks/use-cx';\n\nimport type { Border } from '../../border-control/types';\nimport type { Borders, BorderSide, BorderBoxControlProps } from '../types';\n\nexport function useBorderBoxControl(\n\tprops: WordPressComponentProps< BorderBoxControlProps, 'div' >\n) {\n\tconst {\n\t\tclassName,\n\t\tcolors = [],\n\t\tonChange,\n\t\tenableAlpha = false,\n\t\tenableStyle = true,\n\t\tsize = 'default',\n\t\tvalue,\n\t\t__experimentalIsRenderedInSidebar = false,\n\t\t...otherProps\n\t} = useContextSystem( props, 'BorderBoxControl' );\n\n\tconst mixedBorders = hasMixedBorders( value );\n\tconst splitBorders = hasSplitBorders( value );\n\n\tconst linkedValue = splitBorders\n\t\t? getCommonBorder( value as Borders | undefined )\n\t\t: ( value as Border );\n\n\tconst splitValue = splitBorders\n\t\t? ( value as Borders )\n\t\t: getSplitBorders( value as Border | undefined );\n\n\t// If no numeric width value is set, the unit select will be disabled.\n\tconst hasWidthValue = ! isNaN( parseFloat( `${ linkedValue?.width }` ) );\n\n\tconst [ isLinked, setIsLinked ] = useState( ! mixedBorders );\n\tconst toggleLinked = () => setIsLinked( ! isLinked );\n\n\tconst onLinkedChange = ( newBorder?: Border ) => {\n\t\tif ( ! newBorder ) {\n\t\t\treturn onChange( undefined );\n\t\t}\n\n\t\t// If we have all props defined on the new border apply it.\n\t\tif ( ! mixedBorders || isCompleteBorder( newBorder ) ) {\n\t\t\treturn onChange(\n\t\t\t\tisEmptyBorder( newBorder ) ? undefined : newBorder\n\t\t\t);\n\t\t}\n\n\t\t// If we had mixed borders we might have had some shared border props\n\t\t// that we need to maintain. For example; we could have mixed borders\n\t\t// with all the same color but different widths. Then from the linked\n\t\t// control we change the color. We should keep the separate widths.\n\t\tconst changes = getBorderDiff(\n\t\t\tlinkedValue as Border,\n\t\t\tnewBorder as Border\n\t\t);\n\t\tconst updatedBorders = {\n\t\t\ttop: { ...( value as Borders )?.top, ...changes },\n\t\t\tright: { ...( value as Borders )?.right, ...changes },\n\t\t\tbottom: { ...( value as Borders )?.bottom, ...changes },\n\t\t\tleft: { ...( value as Borders )?.left, ...changes },\n\t\t};\n\n\t\tif ( hasMixedBorders( updatedBorders ) ) {\n\t\t\treturn onChange( updatedBorders );\n\t\t}\n\n\t\tconst filteredResult = isEmptyBorder( updatedBorders.top )\n\t\t\t? undefined\n\t\t\t: updatedBorders.top;\n\n\t\tonChange( filteredResult );\n\t};\n\n\tconst onSplitChange = (\n\t\tnewBorder: Border | undefined,\n\t\tside: BorderSide\n\t) => {\n\t\tconst updatedBorders = { ...splitValue, [ side ]: newBorder };\n\n\t\tif ( hasMixedBorders( updatedBorders ) ) {\n\t\t\tonChange( updatedBorders );\n\t\t} else {\n\t\t\tonChange( newBorder );\n\t\t}\n\t};\n\n\tconst cx = useCx();\n\tconst classes = useMemo( () => {\n\t\treturn cx( styles.borderBoxControl, className );\n\t}, [ cx, className ] );\n\n\tconst linkedControlClassName = useMemo( () => {\n\t\treturn cx( styles.linkedBorderControl() );\n\t}, [ cx ] );\n\n\tconst wrapperClassName = useMemo( () => {\n\t\treturn cx( styles.wrapper );\n\t}, [ cx ] );\n\n\treturn {\n\t\t...otherProps,\n\t\tclassName: classes,\n\t\tcolors,\n\t\tdisableUnits: mixedBorders && ! hasWidthValue,\n\t\tenableAlpha,\n\t\tenableStyle,\n\t\thasMixedBorders: mixedBorders,\n\t\tisLinked,\n\t\tlinkedControlClassName,\n\t\tonLinkedChange,\n\t\tonSplitChange,\n\t\ttoggleLinked,\n\t\tlinkedValue,\n\t\tsize,\n\t\tsplitValue,\n\t\twrapperClassName,\n\t\t__experimentalIsRenderedInSidebar,\n\t};\n}\n"]}
1
+ {"version":3,"names":["useMemo","useState","styles","getBorderDiff","getCommonBorder","getSplitBorders","hasMixedBorders","hasSplitBorders","isCompleteBorder","isEmptyBorder","useContextSystem","useCx","useBorderBoxControl","props","className","colors","onChange","enableAlpha","enableStyle","size","value","__experimentalIsRenderedInSidebar","otherProps","mixedBorders","splitBorders","linkedValue","splitValue","hasWidthValue","isNaN","parseFloat","width","isLinked","setIsLinked","toggleLinked","onLinkedChange","newBorder","undefined","changes","updatedBorders","top","right","bottom","left","filteredResult","onSplitChange","side","cx","classes","borderBoxControl","linkedControlClassName","linkedBorderControl","wrapperClassName","wrapper","disableUnits"],"sources":["@wordpress/components/src/border-box-control/border-box-control/hook.ts"],"sourcesContent":["/**\n * WordPress dependencies\n */\nimport { useMemo, useState } from '@wordpress/element';\n\n/**\n * Internal dependencies\n */\nimport * as styles from '../styles';\nimport {\n\tgetBorderDiff,\n\tgetCommonBorder,\n\tgetSplitBorders,\n\thasMixedBorders,\n\thasSplitBorders,\n\tisCompleteBorder,\n\tisEmptyBorder,\n} from '../utils';\nimport type { WordPressComponentProps } from '../../ui/context';\nimport { useContextSystem } from '../../ui/context';\nimport { useCx } from '../../utils/hooks/use-cx';\n\nimport type { Border } from '../../border-control/types';\nimport type { Borders, BorderSide, BorderBoxControlProps } from '../types';\n\nexport function useBorderBoxControl(\n\tprops: WordPressComponentProps< BorderBoxControlProps, 'div' >\n) {\n\tconst {\n\t\tclassName,\n\t\tcolors = [],\n\t\tonChange,\n\t\tenableAlpha = false,\n\t\tenableStyle = true,\n\t\tsize = 'default',\n\t\tvalue,\n\t\t__experimentalIsRenderedInSidebar = false,\n\t\t...otherProps\n\t} = useContextSystem( props, 'BorderBoxControl' );\n\n\tconst mixedBorders = hasMixedBorders( value );\n\tconst splitBorders = hasSplitBorders( value );\n\n\tconst linkedValue = splitBorders\n\t\t? getCommonBorder( value as Borders | undefined )\n\t\t: ( value as Border );\n\n\tconst splitValue = splitBorders\n\t\t? ( value as Borders )\n\t\t: getSplitBorders( value as Border | undefined );\n\n\t// If no numeric width value is set, the unit select will be disabled.\n\tconst hasWidthValue = ! isNaN( parseFloat( `${ linkedValue?.width }` ) );\n\n\tconst [ isLinked, setIsLinked ] = useState( ! mixedBorders );\n\tconst toggleLinked = () => setIsLinked( ! isLinked );\n\n\tconst onLinkedChange = ( newBorder?: Border ) => {\n\t\tif ( ! newBorder ) {\n\t\t\treturn onChange( undefined );\n\t\t}\n\n\t\t// If we have all props defined on the new border apply it.\n\t\tif ( ! mixedBorders || isCompleteBorder( newBorder ) ) {\n\t\t\treturn onChange(\n\t\t\t\tisEmptyBorder( newBorder ) ? undefined : newBorder\n\t\t\t);\n\t\t}\n\n\t\t// If we had mixed borders we might have had some shared border props\n\t\t// that we need to maintain. For example; we could have mixed borders\n\t\t// with all the same color but different widths. Then from the linked\n\t\t// control we change the color. We should keep the separate widths.\n\t\tconst changes = getBorderDiff(\n\t\t\tlinkedValue as Border,\n\t\t\tnewBorder as Border\n\t\t);\n\t\tconst updatedBorders = {\n\t\t\ttop: { ...( value as Borders )?.top, ...changes },\n\t\t\tright: { ...( value as Borders )?.right, ...changes },\n\t\t\tbottom: { ...( value as Borders )?.bottom, ...changes },\n\t\t\tleft: { ...( value as Borders )?.left, ...changes },\n\t\t};\n\n\t\tif ( hasMixedBorders( updatedBorders ) ) {\n\t\t\treturn onChange( updatedBorders );\n\t\t}\n\n\t\tconst filteredResult = isEmptyBorder( updatedBorders.top )\n\t\t\t? undefined\n\t\t\t: updatedBorders.top;\n\n\t\tonChange( filteredResult );\n\t};\n\n\tconst onSplitChange = (\n\t\tnewBorder: Border | undefined,\n\t\tside: BorderSide\n\t) => {\n\t\tconst updatedBorders = { ...splitValue, [ side ]: newBorder };\n\n\t\tif ( hasMixedBorders( updatedBorders ) ) {\n\t\t\tonChange( updatedBorders );\n\t\t} else {\n\t\t\tonChange( newBorder );\n\t\t}\n\t};\n\n\tconst cx = useCx();\n\tconst classes = useMemo( () => {\n\t\treturn cx( styles.borderBoxControl, className );\n\t}, [ cx, className ] );\n\n\tconst linkedControlClassName = useMemo( () => {\n\t\treturn cx( styles.linkedBorderControl() );\n\t}, [ cx ] );\n\n\tconst wrapperClassName = useMemo( () => {\n\t\treturn cx( styles.wrapper );\n\t}, [ cx ] );\n\n\treturn {\n\t\t...otherProps,\n\t\tclassName: classes,\n\t\tcolors,\n\t\tdisableUnits: mixedBorders && ! hasWidthValue,\n\t\tenableAlpha,\n\t\tenableStyle,\n\t\thasMixedBorders: mixedBorders,\n\t\tisLinked,\n\t\tlinkedControlClassName,\n\t\tonLinkedChange,\n\t\tonSplitChange,\n\t\ttoggleLinked,\n\t\tlinkedValue,\n\t\tsize,\n\t\tsplitValue,\n\t\twrapperClassName,\n\t\t__experimentalIsRenderedInSidebar,\n\t};\n}\n"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,OAAO,EAAEC,QAAQ,QAAQ,oBAAoB;;AAEtD;AACA;AACA;AACA,OAAO,KAAKC,MAAM,MAAM,WAAW;AACnC,SACCC,aAAa,EACbC,eAAe,EACfC,eAAe,EACfC,eAAe,EACfC,eAAe,EACfC,gBAAgB,EAChBC,aAAa,QACP,UAAU;AAEjB,SAASC,gBAAgB,QAAQ,kBAAkB;AACnD,SAASC,KAAK,QAAQ,0BAA0B;AAKhD,OAAO,SAASC,mBAAmBA,CAClCC,KAA8D,EAC7D;EACD,MAAM;IACLC,SAAS;IACTC,MAAM,GAAG,EAAE;IACXC,QAAQ;IACRC,WAAW,GAAG,KAAK;IACnBC,WAAW,GAAG,IAAI;IAClBC,IAAI,GAAG,SAAS;IAChBC,KAAK;IACLC,iCAAiC,GAAG,KAAK;IACzC,GAAGC;EACJ,CAAC,GAAGZ,gBAAgB,CAAEG,KAAK,EAAE,kBAAmB,CAAC;EAEjD,MAAMU,YAAY,GAAGjB,eAAe,CAAEc,KAAM,CAAC;EAC7C,MAAMI,YAAY,GAAGjB,eAAe,CAAEa,KAAM,CAAC;EAE7C,MAAMK,WAAW,GAAGD,YAAY,GAC7BpB,eAAe,CAAEgB,KAA6B,CAAC,GAC7CA,KAAiB;EAEtB,MAAMM,UAAU,GAAGF,YAAY,GAC1BJ,KAAK,GACPf,eAAe,CAAEe,KAA4B,CAAC;;EAEjD;EACA,MAAMO,aAAa,GAAG,CAAEC,KAAK,CAAEC,UAAU,CAAG,GAAGJ,WAAW,EAAEK,KAAO,EAAE,CAAE,CAAC;EAExE,MAAM,CAAEC,QAAQ,EAAEC,WAAW,CAAE,GAAG/B,QAAQ,CAAE,CAAEsB,YAAa,CAAC;EAC5D,MAAMU,YAAY,GAAGA,CAAA,KAAMD,WAAW,CAAE,CAAED,QAAS,CAAC;EAEpD,MAAMG,cAAc,GAAKC,SAAkB,IAAM;IAChD,IAAK,CAAEA,SAAS,EAAG;MAClB,OAAOnB,QAAQ,CAAEoB,SAAU,CAAC;IAC7B;;IAEA;IACA,IAAK,CAAEb,YAAY,IAAIf,gBAAgB,CAAE2B,SAAU,CAAC,EAAG;MACtD,OAAOnB,QAAQ,CACdP,aAAa,CAAE0B,SAAU,CAAC,GAAGC,SAAS,GAAGD,SAC1C,CAAC;IACF;;IAEA;IACA;IACA;IACA;IACA,MAAME,OAAO,GAAGlC,aAAa,CAC5BsB,WAAW,EACXU,SACD,CAAC;IACD,MAAMG,cAAc,GAAG;MACtBC,GAAG,EAAE;QAAE,GAAKnB,KAAK,EAAemB,GAAG;QAAE,GAAGF;MAAQ,CAAC;MACjDG,KAAK,EAAE;QAAE,GAAKpB,KAAK,EAAeoB,KAAK;QAAE,GAAGH;MAAQ,CAAC;MACrDI,MAAM,EAAE;QAAE,GAAKrB,KAAK,EAAeqB,MAAM;QAAE,GAAGJ;MAAQ,CAAC;MACvDK,IAAI,EAAE;QAAE,GAAKtB,KAAK,EAAesB,IAAI;QAAE,GAAGL;MAAQ;IACnD,CAAC;IAED,IAAK/B,eAAe,CAAEgC,cAAe,CAAC,EAAG;MACxC,OAAOtB,QAAQ,CAAEsB,cAAe,CAAC;IAClC;IAEA,MAAMK,cAAc,GAAGlC,aAAa,CAAE6B,cAAc,CAACC,GAAI,CAAC,GACvDH,SAAS,GACTE,cAAc,CAACC,GAAG;IAErBvB,QAAQ,CAAE2B,cAAe,CAAC;EAC3B,CAAC;EAED,MAAMC,aAAa,GAAGA,CACrBT,SAA6B,EAC7BU,IAAgB,KACZ;IACJ,MAAMP,cAAc,GAAG;MAAE,GAAGZ,UAAU;MAAE,CAAEmB,IAAI,GAAIV;IAAU,CAAC;IAE7D,IAAK7B,eAAe,CAAEgC,cAAe,CAAC,EAAG;MACxCtB,QAAQ,CAAEsB,cAAe,CAAC;IAC3B,CAAC,MAAM;MACNtB,QAAQ,CAAEmB,SAAU,CAAC;IACtB;EACD,CAAC;EAED,MAAMW,EAAE,GAAGnC,KAAK,CAAC,CAAC;EAClB,MAAMoC,OAAO,GAAG/C,OAAO,CAAE,MAAM;IAC9B,OAAO8C,EAAE,CAAE5C,MAAM,CAAC8C,gBAAgB,EAAElC,SAAU,CAAC;EAChD,CAAC,EAAE,CAAEgC,EAAE,EAAEhC,SAAS,CAAG,CAAC;EAEtB,MAAMmC,sBAAsB,GAAGjD,OAAO,CAAE,MAAM;IAC7C,OAAO8C,EAAE,CAAE5C,MAAM,CAACgD,mBAAmB,CAAC,CAAE,CAAC;EAC1C,CAAC,EAAE,CAAEJ,EAAE,CAAG,CAAC;EAEX,MAAMK,gBAAgB,GAAGnD,OAAO,CAAE,MAAM;IACvC,OAAO8C,EAAE,CAAE5C,MAAM,CAACkD,OAAQ,CAAC;EAC5B,CAAC,EAAE,CAAEN,EAAE,CAAG,CAAC;EAEX,OAAO;IACN,GAAGxB,UAAU;IACbR,SAAS,EAAEiC,OAAO;IAClBhC,MAAM;IACNsC,YAAY,EAAE9B,YAAY,IAAI,CAAEI,aAAa;IAC7CV,WAAW;IACXC,WAAW;IACXZ,eAAe,EAAEiB,YAAY;IAC7BQ,QAAQ;IACRkB,sBAAsB;IACtBf,cAAc;IACdU,aAAa;IACbX,YAAY;IACZR,WAAW;IACXN,IAAI;IACJO,UAAU;IACVyB,gBAAgB;IAChB9B;EACD,CAAC;AACF"}
@@ -1 +1 @@
1
- {"version":3,"sources":["@wordpress/components/src/border-box-control/border-box-control/index.ts"],"names":["default","BorderBoxControl","useBorderBoxControl"],"mappings":"AAAA,SAASA,OAAO,IAAIC,gBAApB,QAA4C,aAA5C;AACA,SAASC,mBAAT,QAAoC,QAApC","sourcesContent":["export { default as BorderBoxControl } from './component';\nexport { useBorderBoxControl } from './hook';\n"]}
1
+ {"version":3,"names":["default","BorderBoxControl","useBorderBoxControl"],"sources":["@wordpress/components/src/border-box-control/border-box-control/index.ts"],"sourcesContent":["export { default as BorderBoxControl } from './component';\nexport { useBorderBoxControl } from './hook';\n"],"mappings":"AAAA,SAASA,OAAO,IAAIC,gBAAgB,QAAQ,aAAa;AACzD,SAASC,mBAAmB,QAAQ,QAAQ"}
@@ -1,20 +1,18 @@
1
1
  import { createElement } from "@wordpress/element";
2
-
3
2
  /**
4
3
  * WordPress dependencies
5
4
  */
6
5
  import { link, linkOff } from '@wordpress/icons';
7
6
  import { __ } from '@wordpress/i18n';
7
+
8
8
  /**
9
9
  * Internal dependencies
10
10
  */
11
-
12
11
  import Button from '../../button';
13
12
  import Tooltip from '../../tooltip';
14
13
  import { View } from '../../view';
15
14
  import { contextConnect } from '../../ui/context';
16
15
  import { useBorderBoxControlLinkedButton } from './hook';
17
-
18
16
  const BorderBoxControlLinkedButton = (props, forwardedRef) => {
19
17
  const {
20
18
  className,
@@ -26,7 +24,8 @@ const BorderBoxControlLinkedButton = (props, forwardedRef) => {
26
24
  text: label
27
25
  }, createElement(View, {
28
26
  className: className
29
- }, createElement(Button, { ...buttonProps,
27
+ }, createElement(Button, {
28
+ ...buttonProps,
30
29
  isSmall: true,
31
30
  icon: isLinked ? link : linkOff,
32
31
  iconSize: 24,
@@ -34,7 +33,6 @@ const BorderBoxControlLinkedButton = (props, forwardedRef) => {
34
33
  ref: forwardedRef
35
34
  })));
36
35
  };
37
-
38
36
  const ConnectedBorderBoxControlLinkedButton = contextConnect(BorderBoxControlLinkedButton, 'BorderBoxControlLinkedButton');
39
37
  export default ConnectedBorderBoxControlLinkedButton;
40
38
  //# sourceMappingURL=component.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["@wordpress/components/src/border-box-control/border-box-control-linked-button/component.tsx"],"names":["link","linkOff","__","Button","Tooltip","View","contextConnect","useBorderBoxControlLinkedButton","BorderBoxControlLinkedButton","props","forwardedRef","className","isLinked","buttonProps","label","ConnectedBorderBoxControlLinkedButton"],"mappings":";;AAAA;AACA;AACA;AACA,SAASA,IAAT,EAAeC,OAAf,QAA8B,kBAA9B;AACA,SAASC,EAAT,QAAmB,iBAAnB;AAEA;AACA;AACA;;AACA,OAAOC,MAAP,MAAmB,cAAnB;AACA,OAAOC,OAAP,MAAoB,eAApB;AACA,SAASC,IAAT,QAAqB,YAArB;AACA,SAASC,cAAT,QAAwD,kBAAxD;AACA,SAASC,+BAAT,QAAgD,QAAhD;;AAIA,MAAMC,4BAA4B,GAAG,CACpCC,KADoC,EAEpCC,YAFoC,KAGhC;AACJ,QAAM;AAAEC,IAAAA,SAAF;AAAaC,IAAAA,QAAb;AAAuB,OAAGC;AAA1B,MACLN,+BAA+B,CAAEE,KAAF,CADhC;AAEA,QAAMK,KAAK,GAAGF,QAAQ,GAAGV,EAAE,CAAE,cAAF,CAAL,GAA0BA,EAAE,CAAE,YAAF,CAAlD;AAEA,SACC,cAAC,OAAD;AAAS,IAAA,IAAI,EAAGY;AAAhB,KACC,cAAC,IAAD;AAAM,IAAA,SAAS,EAAGH;AAAlB,KACC,cAAC,MAAD,OACME,WADN;AAEC,IAAA,OAAO,MAFR;AAGC,IAAA,IAAI,EAAGD,QAAQ,GAAGZ,IAAH,GAAUC,OAH1B;AAIC,IAAA,QAAQ,EAAG,EAJZ;AAKC,kBAAaa,KALd;AAMC,IAAA,GAAG,EAAGJ;AANP,IADD,CADD,CADD;AAcA,CAtBD;;AAwBA,MAAMK,qCAAqC,GAAGT,cAAc,CAC3DE,4BAD2D,EAE3D,8BAF2D,CAA5D;AAIA,eAAeO,qCAAf","sourcesContent":["/**\n * WordPress dependencies\n */\nimport { link, linkOff } from '@wordpress/icons';\nimport { __ } from '@wordpress/i18n';\n\n/**\n * Internal dependencies\n */\nimport Button from '../../button';\nimport Tooltip from '../../tooltip';\nimport { View } from '../../view';\nimport { contextConnect, WordPressComponentProps } from '../../ui/context';\nimport { useBorderBoxControlLinkedButton } from './hook';\n\nimport type { LinkedButtonProps } from '../types';\n\nconst BorderBoxControlLinkedButton = (\n\tprops: WordPressComponentProps< LinkedButtonProps, 'button' >,\n\tforwardedRef: React.ForwardedRef< any >\n) => {\n\tconst { className, isLinked, ...buttonProps } =\n\t\tuseBorderBoxControlLinkedButton( props );\n\tconst label = isLinked ? __( 'Unlink sides' ) : __( 'Link sides' );\n\n\treturn (\n\t\t<Tooltip text={ label }>\n\t\t\t<View className={ className }>\n\t\t\t\t<Button\n\t\t\t\t\t{ ...buttonProps }\n\t\t\t\t\tisSmall\n\t\t\t\t\ticon={ isLinked ? link : linkOff }\n\t\t\t\t\ticonSize={ 24 }\n\t\t\t\t\taria-label={ label }\n\t\t\t\t\tref={ forwardedRef }\n\t\t\t\t/>\n\t\t\t</View>\n\t\t</Tooltip>\n\t);\n};\n\nconst ConnectedBorderBoxControlLinkedButton = contextConnect(\n\tBorderBoxControlLinkedButton,\n\t'BorderBoxControlLinkedButton'\n);\nexport default ConnectedBorderBoxControlLinkedButton;\n"]}
1
+ {"version":3,"names":["link","linkOff","__","Button","Tooltip","View","contextConnect","useBorderBoxControlLinkedButton","BorderBoxControlLinkedButton","props","forwardedRef","className","isLinked","buttonProps","label","createElement","text","isSmall","icon","iconSize","ref","ConnectedBorderBoxControlLinkedButton"],"sources":["@wordpress/components/src/border-box-control/border-box-control-linked-button/component.tsx"],"sourcesContent":["/**\n * WordPress dependencies\n */\nimport { link, linkOff } from '@wordpress/icons';\nimport { __ } from '@wordpress/i18n';\n\n/**\n * Internal dependencies\n */\nimport Button from '../../button';\nimport Tooltip from '../../tooltip';\nimport { View } from '../../view';\nimport type { WordPressComponentProps } from '../../ui/context';\nimport { contextConnect } from '../../ui/context';\nimport { useBorderBoxControlLinkedButton } from './hook';\n\nimport type { LinkedButtonProps } from '../types';\n\nconst BorderBoxControlLinkedButton = (\n\tprops: WordPressComponentProps< LinkedButtonProps, 'button' >,\n\tforwardedRef: React.ForwardedRef< any >\n) => {\n\tconst { className, isLinked, ...buttonProps } =\n\t\tuseBorderBoxControlLinkedButton( props );\n\tconst label = isLinked ? __( 'Unlink sides' ) : __( 'Link sides' );\n\n\treturn (\n\t\t<Tooltip text={ label }>\n\t\t\t<View className={ className }>\n\t\t\t\t<Button\n\t\t\t\t\t{ ...buttonProps }\n\t\t\t\t\tisSmall\n\t\t\t\t\ticon={ isLinked ? link : linkOff }\n\t\t\t\t\ticonSize={ 24 }\n\t\t\t\t\taria-label={ label }\n\t\t\t\t\tref={ forwardedRef }\n\t\t\t\t/>\n\t\t\t</View>\n\t\t</Tooltip>\n\t);\n};\n\nconst ConnectedBorderBoxControlLinkedButton = contextConnect(\n\tBorderBoxControlLinkedButton,\n\t'BorderBoxControlLinkedButton'\n);\nexport default ConnectedBorderBoxControlLinkedButton;\n"],"mappings":";AAAA;AACA;AACA;AACA,SAASA,IAAI,EAAEC,OAAO,QAAQ,kBAAkB;AAChD,SAASC,EAAE,QAAQ,iBAAiB;;AAEpC;AACA;AACA;AACA,OAAOC,MAAM,MAAM,cAAc;AACjC,OAAOC,OAAO,MAAM,eAAe;AACnC,SAASC,IAAI,QAAQ,YAAY;AAEjC,SAASC,cAAc,QAAQ,kBAAkB;AACjD,SAASC,+BAA+B,QAAQ,QAAQ;AAIxD,MAAMC,4BAA4B,GAAGA,CACpCC,KAA6D,EAC7DC,YAAuC,KACnC;EACJ,MAAM;IAAEC,SAAS;IAAEC,QAAQ;IAAE,GAAGC;EAAY,CAAC,GAC5CN,+BAA+B,CAAEE,KAAM,CAAC;EACzC,MAAMK,KAAK,GAAGF,QAAQ,GAAGV,EAAE,CAAE,cAAe,CAAC,GAAGA,EAAE,CAAE,YAAa,CAAC;EAElE,OACCa,aAAA,CAACX,OAAO;IAACY,IAAI,EAAGF;EAAO,GACtBC,aAAA,CAACV,IAAI;IAACM,SAAS,EAAGA;EAAW,GAC5BI,aAAA,CAACZ,MAAM;IAAA,GACDU,WAAW;IAChBI,OAAO;IACPC,IAAI,EAAGN,QAAQ,GAAGZ,IAAI,GAAGC,OAAS;IAClCkB,QAAQ,EAAG,EAAI;IACf,cAAaL,KAAO;IACpBM,GAAG,EAAGV;EAAc,CACpB,CACI,CACE,CAAC;AAEZ,CAAC;AAED,MAAMW,qCAAqC,GAAGf,cAAc,CAC3DE,4BAA4B,EAC5B,8BACD,CAAC;AACD,eAAea,qCAAqC"}
@@ -2,10 +2,10 @@
2
2
  * WordPress dependencies
3
3
  */
4
4
  import { useMemo } from '@wordpress/element';
5
+
5
6
  /**
6
7
  * Internal dependencies
7
8
  */
8
-
9
9
  import * as styles from '../styles';
10
10
  import { useContextSystem } from '../../ui/context';
11
11
  import { useCx } from '../../utils/hooks/use-cx';
@@ -14,13 +14,15 @@ export function useBorderBoxControlLinkedButton(props) {
14
14
  className,
15
15
  size = 'default',
16
16
  ...otherProps
17
- } = useContextSystem(props, 'BorderBoxControlLinkedButton'); // Generate class names.
17
+ } = useContextSystem(props, 'BorderBoxControlLinkedButton');
18
18
 
19
+ // Generate class names.
19
20
  const cx = useCx();
20
21
  const classes = useMemo(() => {
21
22
  return cx(styles.borderBoxControlLinkedButton(size), className);
22
23
  }, [className, cx, size]);
23
- return { ...otherProps,
24
+ return {
25
+ ...otherProps,
24
26
  className: classes
25
27
  };
26
28
  }