@wordpress/components 38.0.0 → 39.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3024) hide show
  1. package/CHANGELOG.md +52 -0
  2. package/CONTRIBUTING.md +2 -6
  3. package/README.md +0 -10
  4. package/build/alignment-matrix-control/cell.cjs.map +2 -2
  5. package/build/alignment-matrix-control/icon.cjs.map +2 -2
  6. package/build/alignment-matrix-control/index.cjs.map +2 -2
  7. package/build/alignment-matrix-control/utils.cjs.map +2 -2
  8. package/build/angle-picker-control/angle-circle.cjs.map +2 -2
  9. package/build/angle-picker-control/index.cjs.map +2 -2
  10. package/build/animate/index.cjs +5 -0
  11. package/build/animate/index.cjs.map +3 -3
  12. package/build/autocomplete/autocompleter-ui.cjs.map +2 -2
  13. package/build/autocomplete/get-autocomplete-match.cjs.map +2 -2
  14. package/build/autocomplete/get-default-use-items.cjs.map +2 -2
  15. package/build/autocomplete/index.cjs +1 -2
  16. package/build/autocomplete/index.cjs.map +2 -2
  17. package/build/badge/index.cjs.map +2 -2
  18. package/build/base-control/hooks.cjs.map +2 -2
  19. package/build/base-control/index.cjs.map +2 -2
  20. package/build/base-control/styles/base-control-styles.cjs +6 -6
  21. package/build/base-control/styles/base-control-styles.cjs.map +2 -2
  22. package/build/border-box-control/border-box-control/component.cjs.map +2 -2
  23. package/build/border-box-control/border-box-control/hook.cjs.map +2 -2
  24. package/build/border-box-control/border-box-control-linked-button/component.cjs.map +2 -2
  25. package/build/border-box-control/border-box-control-linked-button/hook.cjs.map +2 -2
  26. package/build/border-box-control/border-box-control-split-controls/component.cjs.map +2 -2
  27. package/build/border-box-control/border-box-control-split-controls/hook.cjs.map +2 -2
  28. package/build/border-box-control/border-box-control-visualizer/component.cjs.map +2 -2
  29. package/build/border-box-control/border-box-control-visualizer/hook.cjs.map +2 -2
  30. package/build/border-box-control/styles.cjs +8 -8
  31. package/build/border-box-control/styles.cjs.map +2 -2
  32. package/build/border-box-control/utils.cjs.map +2 -2
  33. package/build/border-control/border-control/component.cjs.map +2 -2
  34. package/build/border-control/border-control/hook.cjs.map +2 -2
  35. package/build/border-control/border-control-dropdown/component.cjs.map +2 -2
  36. package/build/border-control/border-control-dropdown/hook.cjs.map +2 -2
  37. package/build/border-control/border-control-style-picker/component.cjs.map +2 -2
  38. package/build/border-control/styles.cjs +14 -14
  39. package/build/border-control/styles.cjs.map +2 -2
  40. package/build/box-control/box-input-control.cjs.map +2 -2
  41. package/build/box-control/icon.cjs.map +2 -2
  42. package/build/box-control/index.cjs.map +2 -2
  43. package/build/box-control/linked-button.cjs.map +2 -2
  44. package/build/box-control/styles/box-control-icon-styles.cjs +10 -10
  45. package/build/box-control/styles/box-control-icon-styles.cjs.map +2 -2
  46. package/build/box-control/styles/box-control-styles.cjs +6 -6
  47. package/build/box-control/styles/box-control-styles.cjs.map +2 -2
  48. package/build/box-control/utils.cjs.map +2 -2
  49. package/build/button/deprecated.cjs.map +2 -2
  50. package/build/button/index.cjs.map +2 -2
  51. package/build/button-group/index.cjs.map +2 -2
  52. package/build/card/card/component.cjs +1 -1
  53. package/build/card/card/component.cjs.map +2 -2
  54. package/build/card/card/hook.cjs.map +2 -2
  55. package/build/card/card-body/component.cjs.map +2 -2
  56. package/build/card/card-body/hook.cjs.map +2 -2
  57. package/build/card/card-divider/component.cjs.map +2 -2
  58. package/build/card/card-divider/hook.cjs.map +2 -2
  59. package/build/card/card-footer/component.cjs.map +2 -2
  60. package/build/card/card-footer/hook.cjs.map +2 -2
  61. package/build/card/card-header/component.cjs.map +2 -2
  62. package/build/card/card-header/hook.cjs.map +2 -2
  63. package/build/card/card-media/component.cjs.map +2 -2
  64. package/build/card/card-media/hook.cjs.map +2 -2
  65. package/build/card/get-padding-by-size.cjs +6 -6
  66. package/build/card/get-padding-by-size.cjs.map +2 -2
  67. package/build/card/styles.cjs +16 -16
  68. package/build/card/styles.cjs.map +2 -2
  69. package/build/checkbox-control/index.cjs.map +2 -2
  70. package/build/circular-option-picker/circular-option-picker-actions.cjs.map +2 -2
  71. package/build/circular-option-picker/circular-option-picker-context.cjs.map +2 -2
  72. package/build/circular-option-picker/circular-option-picker-option-group.cjs.map +2 -2
  73. package/build/circular-option-picker/circular-option-picker-option.cjs.map +2 -2
  74. package/build/circular-option-picker/circular-option-picker.cjs.map +2 -2
  75. package/build/circular-option-picker/index.cjs.map +2 -2
  76. package/build/circular-option-picker/utils.cjs.map +2 -2
  77. package/build/clipboard-button/index.cjs.map +2 -2
  78. package/build/color-indicator/index.cjs.map +2 -2
  79. package/build/color-palette/index.cjs.map +2 -2
  80. package/build/color-palette/styles.cjs +1 -1
  81. package/build/color-palette/styles.cjs.map +2 -2
  82. package/build/color-palette/utils.cjs.map +2 -2
  83. package/build/color-picker/color-copy-button.cjs.map +2 -2
  84. package/build/color-picker/color-input.cjs.map +2 -2
  85. package/build/color-picker/component.cjs.map +2 -2
  86. package/build/color-picker/hex-input.cjs.map +2 -2
  87. package/build/color-picker/hsl-input.cjs.map +2 -2
  88. package/build/color-picker/index.cjs.map +2 -2
  89. package/build/color-picker/input-with-slider.cjs.map +2 -2
  90. package/build/color-picker/legacy-adapter.cjs.map +2 -2
  91. package/build/color-picker/picker.cjs.map +2 -2
  92. package/build/color-picker/rgb-input.cjs.map +2 -2
  93. package/build/color-picker/styles.cjs +7 -7
  94. package/build/color-picker/styles.cjs.map +2 -2
  95. package/build/color-picker/use-deprecated-props.cjs.map +2 -2
  96. package/build/combobox-control/index.cjs +2 -2
  97. package/build/combobox-control/index.cjs.map +2 -2
  98. package/build/composite/context.cjs.map +2 -2
  99. package/build/composite/group-label.cjs.map +2 -2
  100. package/build/composite/group.cjs.map +2 -2
  101. package/build/composite/hover.cjs.map +2 -2
  102. package/build/composite/index.cjs.map +2 -2
  103. package/build/composite/item.cjs.map +2 -2
  104. package/build/composite/legacy/index.cjs.map +2 -2
  105. package/build/composite/row.cjs.map +2 -2
  106. package/build/composite/typeahead.cjs.map +2 -2
  107. package/build/confirm-dialog/component.cjs.map +2 -2
  108. package/build/confirm-dialog/docs-manifest.json +5 -0
  109. package/build/confirm-dialog/index.cjs.map +2 -2
  110. package/build/content-editable-control/index.cjs.map +2 -2
  111. package/build/context/context-connect.cjs.map +2 -2
  112. package/build/context/context-system-provider.cjs.map +2 -2
  113. package/build/context/get-styled-class-name-from-key.cjs.map +2 -2
  114. package/build/context/use-context-system.cjs.map +2 -2
  115. package/build/context/utils.cjs.map +2 -2
  116. package/build/custom-gradient-picker/constants.cjs.map +2 -2
  117. package/build/custom-gradient-picker/gradient-bar/control-points.cjs.map +2 -2
  118. package/build/custom-gradient-picker/gradient-bar/index.cjs.map +2 -2
  119. package/build/custom-gradient-picker/gradient-bar/utils.cjs.map +2 -2
  120. package/build/custom-gradient-picker/index.cjs +1 -1
  121. package/build/custom-gradient-picker/index.cjs.map +2 -2
  122. package/build/custom-gradient-picker/serializer.cjs.map +2 -2
  123. package/build/custom-gradient-picker/styles/custom-gradient-picker-styles.cjs +2 -2
  124. package/build/custom-gradient-picker/styles/custom-gradient-picker-styles.cjs.map +2 -2
  125. package/build/custom-gradient-picker/utils.cjs.map +2 -2
  126. package/build/custom-select-control/index.cjs.map +2 -2
  127. package/build/custom-select-control-v2/custom-select.cjs.map +2 -2
  128. package/build/custom-select-control-v2/index.cjs.map +2 -2
  129. package/build/custom-select-control-v2/item.cjs.map +2 -2
  130. package/build/custom-select-control-v2/styles.cjs +9 -9
  131. package/build/custom-select-control-v2/styles.cjs.map +2 -2
  132. package/build/dashicon/index.cjs.map +2 -2
  133. package/build/date-time/date-picker/index.cjs.map +2 -2
  134. package/build/date-time/date-picker/styles.cjs +8 -8
  135. package/build/date-time/date-picker/styles.cjs.map +2 -2
  136. package/build/date-time/date-picker/use-lilius/index.cjs.map +2 -2
  137. package/build/date-time/date-time/index.cjs.map +2 -2
  138. package/build/date-time/date-time/styles.cjs +1 -1
  139. package/build/date-time/date-time/styles.cjs.map +2 -2
  140. package/build/date-time/index.cjs.map +2 -2
  141. package/build/date-time/time-picker/styles.cjs +11 -11
  142. package/build/date-time/time-picker/styles.cjs.map +2 -2
  143. package/build/date-time/time-picker/time-input/index.cjs.map +2 -2
  144. package/build/date-time/time-picker/timezone.cjs.map +2 -2
  145. package/build/date-time/utils.cjs.map +2 -2
  146. package/build/disabled/index.cjs +1 -1
  147. package/build/disabled/index.cjs.map +1 -1
  148. package/build/disclosure/index.cjs.map +2 -2
  149. package/build/divider/component.cjs.map +2 -2
  150. package/build/draggable/index.cjs.map +2 -2
  151. package/build/drop-zone/index.cjs.map +2 -2
  152. package/build/drop-zone/provider.cjs.map +2 -2
  153. package/build/dropdown/dropdown-content-wrapper.cjs.map +2 -2
  154. package/build/dropdown/index.cjs.map +2 -2
  155. package/build/dropdown/styles.cjs +2 -2
  156. package/build/dropdown/styles.cjs.map +2 -2
  157. package/build/dropdown-menu/index.cjs.map +2 -2
  158. package/build/duotone-picker/color-list-picker/index.cjs +1 -1
  159. package/build/duotone-picker/color-list-picker/index.cjs.map +2 -2
  160. package/build/duotone-picker/custom-duotone-bar.cjs.map +2 -2
  161. package/build/duotone-picker/duotone-picker.cjs.map +2 -2
  162. package/build/duotone-picker/duotone-swatch.cjs.map +2 -2
  163. package/build/duotone-picker/utils.cjs.map +2 -2
  164. package/build/elevation/component.cjs.map +2 -2
  165. package/build/elevation/hook.cjs +5 -5
  166. package/build/elevation/hook.cjs.map +2 -2
  167. package/build/elevation/styles.cjs +1 -1
  168. package/build/elevation/styles.cjs.map +2 -2
  169. package/build/external-link/index.cjs.map +2 -2
  170. package/build/flex/context.cjs.map +2 -2
  171. package/build/flex/flex/component.cjs.map +2 -2
  172. package/build/flex/flex-block/component.cjs.map +2 -2
  173. package/build/flex/flex-block/hook.cjs.map +2 -2
  174. package/build/flex/flex-item/component.cjs.map +2 -2
  175. package/build/focal-point-picker/controls.cjs.map +2 -2
  176. package/build/focal-point-picker/focal-point.cjs.map +2 -2
  177. package/build/focal-point-picker/grid.cjs.map +2 -2
  178. package/build/focal-point-picker/index.cjs.map +2 -2
  179. package/build/focal-point-picker/media.cjs.map +2 -2
  180. package/build/focal-point-picker/styles/focal-point-picker-style.cjs +11 -11
  181. package/build/focal-point-picker/styles/focal-point-picker-style.cjs.map +2 -2
  182. package/build/focal-point-picker/styles/focal-point-style.cjs +1 -1
  183. package/build/focal-point-picker/styles/focal-point-style.cjs.map +2 -2
  184. package/build/focusable-iframe/index.cjs.map +2 -2
  185. package/build/font-size-picker/constants.cjs.map +2 -2
  186. package/build/font-size-picker/font-size-picker-select.cjs.map +2 -2
  187. package/build/font-size-picker/font-size-picker-toggle-group.cjs.map +2 -2
  188. package/build/font-size-picker/index.cjs.map +2 -2
  189. package/build/font-size-picker/styles.cjs +5 -5
  190. package/build/font-size-picker/styles.cjs.map +2 -2
  191. package/build/font-size-picker/utils.cjs.map +2 -2
  192. package/build/form-file-upload/index.cjs.map +2 -2
  193. package/build/form-toggle/index.cjs.map +2 -2
  194. package/build/form-token-field/index.cjs +2 -2
  195. package/build/form-token-field/index.cjs.map +2 -2
  196. package/build/form-token-field/suggestions-list.cjs.map +2 -2
  197. package/build/form-token-field/token-input.cjs.map +2 -2
  198. package/build/form-token-field/token.cjs.map +2 -2
  199. package/build/gradient-picker/index.cjs.map +2 -2
  200. package/build/grid/component.cjs.map +2 -2
  201. package/build/grid/hook.cjs +1 -1
  202. package/build/grid/hook.cjs.map +2 -2
  203. package/build/grid/utils.cjs.map +2 -2
  204. package/build/guide/icons.cjs.map +2 -2
  205. package/build/guide/index.cjs.map +2 -2
  206. package/build/guide/page-control.cjs.map +2 -2
  207. package/build/guide/page.cjs.map +2 -2
  208. package/build/h-stack/component.cjs.map +2 -2
  209. package/build/h-stack/hook.cjs.map +2 -2
  210. package/build/h-stack/utils.cjs.map +2 -2
  211. package/build/heading/component.cjs.map +2 -2
  212. package/build/heading/hook.cjs.map +2 -2
  213. package/build/higher-order/navigate-regions/index.cjs.map +2 -2
  214. package/build/higher-order/with-constrained-tabbing/index.cjs.map +2 -2
  215. package/build/higher-order/with-fallback-styles/index.cjs.map +2 -2
  216. package/build/higher-order/with-filters/index.cjs.map +2 -2
  217. package/build/higher-order/with-focus-outside/index.cjs.map +2 -2
  218. package/build/higher-order/with-focus-return/index.cjs.map +2 -2
  219. package/build/higher-order/with-notices/index.cjs.map +2 -2
  220. package/build/higher-order/with-spoken-messages/index.cjs.map +2 -2
  221. package/build/icon/index.cjs +0 -1
  222. package/build/icon/index.cjs.map +2 -2
  223. package/build/input-control/backdrop.cjs.map +2 -2
  224. package/build/input-control/index.cjs.map +2 -2
  225. package/build/input-control/input-base.cjs.map +2 -2
  226. package/build/input-control/input-field.cjs +2 -2
  227. package/build/input-control/input-field.cjs.map +2 -2
  228. package/build/input-control/input-prefix-wrapper.cjs.map +2 -2
  229. package/build/input-control/input-suffix-wrapper.cjs.map +2 -2
  230. package/build/input-control/label.cjs.map +2 -2
  231. package/build/input-control/reducer/actions.cjs.map +2 -2
  232. package/build/input-control/reducer/reducer.cjs.map +2 -2
  233. package/build/input-control/reducer/state.cjs.map +2 -2
  234. package/build/input-control/styles/input-control-styles.cjs +22 -22
  235. package/build/input-control/styles/input-control-styles.cjs.map +2 -2
  236. package/build/input-control/utils.cjs +1 -1
  237. package/build/input-control/utils.cjs.map +2 -2
  238. package/build/isolated-event-container/index.cjs.map +2 -2
  239. package/build/item-group/context.cjs.map +2 -2
  240. package/build/item-group/item/component.cjs.map +2 -2
  241. package/build/item-group/item/hook.cjs +94 -7
  242. package/build/item-group/item/hook.cjs.map +4 -4
  243. package/build/item-group/item-group/component.cjs.map +2 -2
  244. package/build/item-group/item-group/hook.cjs +91 -4
  245. package/build/item-group/item-group/hook.cjs.map +4 -4
  246. package/build/keyboard-shortcuts/index.cjs.map +2 -2
  247. package/build/lock-unlock.cjs.map +2 -2
  248. package/build/menu/checkbox-item.cjs +7 -4
  249. package/build/menu/checkbox-item.cjs.map +2 -2
  250. package/build/menu/context.cjs.map +2 -2
  251. package/build/menu/group-label.cjs.map +2 -2
  252. package/build/menu/group.cjs.map +2 -2
  253. package/build/menu/index.cjs.map +2 -2
  254. package/build/menu/item-help-text.cjs.map +2 -2
  255. package/build/menu/item-label.cjs.map +2 -2
  256. package/build/menu/item.cjs +5 -3
  257. package/build/menu/item.cjs.map +2 -2
  258. package/build/menu/popover.cjs.map +2 -2
  259. package/build/menu/radio-item.cjs +7 -4
  260. package/build/menu/radio-item.cjs.map +2 -2
  261. package/build/menu/separator.cjs.map +2 -2
  262. package/build/menu/styles.cjs +17 -17
  263. package/build/menu/styles.cjs.map +2 -2
  264. package/build/menu/submenu-trigger-item.cjs.map +2 -2
  265. package/build/menu/trigger-button.cjs.map +2 -2
  266. package/build/menu/use-menu-item-hide-on-click.cjs +66 -0
  267. package/build/menu/use-menu-item-hide-on-click.cjs.map +7 -0
  268. package/build/menu-group/index.cjs.map +2 -2
  269. package/build/menu-item/index.cjs.map +2 -2
  270. package/build/menu-items-choice/index.cjs.map +2 -2
  271. package/build/modal/index.cjs +2 -2
  272. package/build/modal/index.cjs.map +2 -2
  273. package/build/modal/use-modal-exit-animation.cjs.map +2 -2
  274. package/build/navigable-container/container.cjs.map +2 -2
  275. package/build/navigable-container/index.cjs.map +2 -2
  276. package/build/navigable-container/menu.cjs.map +2 -2
  277. package/build/navigable-container/tabbable.cjs.map +2 -2
  278. package/build/navigator/context.cjs.map +2 -2
  279. package/build/navigator/index.cjs.map +2 -2
  280. package/build/navigator/legacy.cjs.map +2 -2
  281. package/build/navigator/navigator/component.cjs.map +2 -2
  282. package/build/navigator/navigator-back-button/component.cjs.map +2 -2
  283. package/build/navigator/navigator-back-button/hook.cjs.map +2 -2
  284. package/build/navigator/navigator-button/component.cjs.map +2 -2
  285. package/build/navigator/navigator-button/hook.cjs.map +2 -2
  286. package/build/navigator/navigator-screen/component.cjs.map +2 -2
  287. package/build/navigator/navigator-screen/use-screen-animate-presence.cjs.map +2 -2
  288. package/build/navigator/navigator-to-parent-button/component.cjs.map +2 -2
  289. package/build/navigator/styles.cjs +7 -7
  290. package/build/navigator/styles.cjs.map +2 -2
  291. package/build/navigator/use-navigator.cjs.map +2 -2
  292. package/build/navigator/utils/router.cjs.map +2 -2
  293. package/build/notice/index.cjs.map +2 -2
  294. package/build/notice/list.cjs.map +2 -2
  295. package/build/number-control/index.cjs.map +2 -2
  296. package/build/number-control/styles/number-control-styles.cjs +4 -4
  297. package/build/number-control/styles/number-control-styles.cjs.map +2 -2
  298. package/build/palette-edit/index.cjs +2 -2
  299. package/build/palette-edit/index.cjs.map +2 -2
  300. package/build/palette-edit/styles.cjs +9 -9
  301. package/build/palette-edit/styles.cjs.map +2 -2
  302. package/build/panel/body.cjs.map +2 -2
  303. package/build/panel/header.cjs.map +2 -2
  304. package/build/panel/index.cjs.map +2 -2
  305. package/build/panel/row.cjs.map +2 -2
  306. package/build/placeholder/index.cjs.map +2 -2
  307. package/build/popover/index.cjs.map +2 -2
  308. package/build/popover/overlay-middlewares.cjs.map +2 -2
  309. package/build/popover/utils.cjs.map +2 -2
  310. package/build/private-apis.cjs +0 -14
  311. package/build/private-apis.cjs.map +2 -2
  312. package/build/progress-bar/index.cjs.map +2 -2
  313. package/build/progress-bar/styles.cjs +4 -4
  314. package/build/progress-bar/styles.cjs.map +2 -2
  315. package/build/query-controls/author-select.cjs.map +2 -2
  316. package/build/query-controls/index.cjs +1 -1
  317. package/build/query-controls/index.cjs.map +2 -2
  318. package/build/query-controls/terms.cjs.map +2 -2
  319. package/build/radio-control/index.cjs.map +2 -2
  320. package/build/radio-group/context.cjs.map +2 -2
  321. package/build/radio-group/index.cjs.map +2 -2
  322. package/build/radio-group/radio.cjs.map +2 -2
  323. package/build/range-control/index.cjs.map +2 -2
  324. package/build/range-control/input-range.cjs.map +2 -2
  325. package/build/range-control/mark.cjs.map +2 -2
  326. package/build/range-control/rail.cjs.map +2 -2
  327. package/build/range-control/styles/range-control-styles.cjs +25 -25
  328. package/build/range-control/styles/range-control-styles.cjs.map +2 -2
  329. package/build/range-control/tooltip.cjs.map +2 -2
  330. package/build/range-control/utils.cjs.map +2 -2
  331. package/build/resizable-box/index.cjs.map +2 -2
  332. package/build/resizable-box/resize-tooltip/index.cjs.map +2 -2
  333. package/build/resizable-box/resize-tooltip/label.cjs.map +2 -2
  334. package/build/resizable-box/resize-tooltip/styles/resize-tooltip.styles.cjs +4 -4
  335. package/build/resizable-box/resize-tooltip/styles/resize-tooltip.styles.cjs.map +2 -2
  336. package/build/resizable-box/resize-tooltip/utils.cjs.map +2 -2
  337. package/build/responsive-wrapper/index.cjs.map +2 -2
  338. package/build/sandbox/index.cjs +8 -4
  339. package/build/sandbox/index.cjs.map +2 -2
  340. package/build/scroll-lock/index.cjs.map +2 -2
  341. package/build/scrollable/component.cjs.map +2 -2
  342. package/build/scrollable/hook.cjs.map +2 -2
  343. package/build/scrollable/styles.cjs +7 -7
  344. package/build/scrollable/styles.cjs.map +2 -2
  345. package/build/search-control/index.cjs.map +2 -2
  346. package/build/select-control/chevron-down.cjs.map +2 -2
  347. package/build/select-control/index.cjs.map +2 -2
  348. package/build/select-control/styles/select-control-styles.cjs +8 -8
  349. package/build/select-control/styles/select-control-styles.cjs.map +2 -2
  350. package/build/shortcut/index.cjs.map +2 -2
  351. package/build/slot-fill/bubbles-virtually/slot.cjs.map +2 -2
  352. package/build/slot-fill/bubbles-virtually/use-slot-fills.cjs.map +2 -2
  353. package/build/slot-fill/bubbles-virtually/use-slot.cjs.map +2 -2
  354. package/build/slot-fill/context.cjs.map +2 -2
  355. package/build/slot-fill/index.cjs.map +2 -2
  356. package/build/slot-fill/provider.cjs.map +2 -2
  357. package/build/slot-fill/slot.cjs.map +2 -2
  358. package/build/snackbar/index.cjs.map +2 -2
  359. package/build/snackbar/list.cjs.map +2 -2
  360. package/build/spacer/component.cjs.map +2 -2
  361. package/build/spinner/index.cjs +91 -5
  362. package/build/spinner/index.cjs.map +3 -3
  363. package/build/surface/component.cjs +15 -0
  364. package/build/surface/component.cjs.map +3 -3
  365. package/build/surface/hook.cjs.map +2 -2
  366. package/build/tab-panel/index.cjs.map +2 -2
  367. package/build/tabs/context.cjs.map +2 -2
  368. package/build/tabs/index.cjs.map +2 -2
  369. package/build/tabs/styles.cjs +5 -5
  370. package/build/tabs/styles.cjs.map +2 -2
  371. package/build/tabs/tab.cjs +1 -1
  372. package/build/tabs/tab.cjs.map +2 -2
  373. package/build/tabs/tablist.cjs.map +2 -2
  374. package/build/tabs/tabpanel.cjs +1 -1
  375. package/build/tabs/tabpanel.cjs.map +2 -2
  376. package/build/tabs/use-track-overflow.cjs.map +2 -2
  377. package/build/text/component.cjs.map +2 -2
  378. package/build/text/get-line-height.cjs.map +2 -2
  379. package/build/text/hook.cjs +5 -5
  380. package/build/text/hook.cjs.map +2 -2
  381. package/build/text/styles.cjs +7 -7
  382. package/build/text/styles.cjs.map +2 -2
  383. package/build/text/utils.cjs.map +2 -2
  384. package/build/text-control/index.cjs.map +2 -2
  385. package/build/text-highlight/index.cjs.map +2 -2
  386. package/build/textarea-control/index.cjs.map +2 -2
  387. package/build/textarea-control/styles/textarea-control-styles.cjs +3 -3
  388. package/build/textarea-control/styles/textarea-control-styles.cjs.map +2 -2
  389. package/build/tip/index.cjs.map +2 -2
  390. package/build/toggle-control/index.cjs.map +2 -2
  391. package/build/toggle-group-control/context.cjs.map +2 -2
  392. package/build/toggle-group-control/toggle-group-control/as-button-group.cjs.map +2 -2
  393. package/build/toggle-group-control/toggle-group-control/as-radio-group.cjs.map +2 -2
  394. package/build/toggle-group-control/toggle-group-control/component.cjs.map +2 -2
  395. package/build/toggle-group-control/toggle-group-control/utils.cjs.map +2 -2
  396. package/build/toggle-group-control/toggle-group-control-option/component.cjs.map +2 -2
  397. package/build/toggle-group-control/toggle-group-control-option-base/component.cjs.map +2 -2
  398. package/build/toggle-group-control/toggle-group-control-option-icon/component.cjs.map +2 -2
  399. package/build/toolbar/toolbar/index.cjs.map +2 -2
  400. package/build/toolbar/toolbar/toolbar-container.cjs.map +2 -2
  401. package/build/toolbar/toolbar-button/index.cjs.map +2 -2
  402. package/build/toolbar/toolbar-button/toolbar-button-container.cjs.map +2 -2
  403. package/build/toolbar/toolbar-context/index.cjs.map +2 -2
  404. package/build/toolbar/toolbar-dropdown-menu/index.cjs.map +2 -2
  405. package/build/toolbar/toolbar-group/index.cjs.map +2 -2
  406. package/build/toolbar/toolbar-group/toolbar-group-collapsed.cjs.map +2 -2
  407. package/build/toolbar/toolbar-group/toolbar-group-container.cjs.map +2 -2
  408. package/build/toolbar/toolbar-item/index.cjs.map +2 -2
  409. package/build/tools-panel/context.cjs.map +2 -2
  410. package/build/tools-panel/tools-panel/component.cjs.map +2 -2
  411. package/build/tools-panel/tools-panel/hook.cjs.map +2 -2
  412. package/build/tools-panel/tools-panel-header/component.cjs.map +2 -2
  413. package/build/tools-panel/tools-panel-header/hook.cjs.map +2 -2
  414. package/build/tools-panel/tools-panel-item/component.cjs.map +2 -2
  415. package/build/tools-panel/tools-panel-item/hook.cjs.map +2 -2
  416. package/build/tree-grid/cell.cjs.map +2 -2
  417. package/build/tree-grid/index.cjs.map +2 -2
  418. package/build/tree-grid/item.cjs.map +2 -2
  419. package/build/tree-grid/roving-tab-index-context.cjs.map +2 -2
  420. package/build/tree-grid/roving-tab-index-item.cjs.map +2 -2
  421. package/build/tree-grid/roving-tab-index.cjs.map +2 -2
  422. package/build/tree-grid/row.cjs.map +2 -2
  423. package/build/tree-select/index.cjs.map +2 -2
  424. package/build/truncate/component.cjs.map +2 -2
  425. package/build/truncate/hook.cjs.map +2 -2
  426. package/build/truncate/utils.cjs.map +2 -2
  427. package/build/unit-control/index.cjs.map +2 -2
  428. package/build/unit-control/styles/unit-control-styles.cjs +7 -7
  429. package/build/unit-control/styles/unit-control-styles.cjs.map +2 -2
  430. package/build/unit-control/unit-select-control.cjs.map +2 -2
  431. package/build/unit-control/utils.cjs.map +2 -2
  432. package/build/utils/base-label.cjs +1 -1
  433. package/build/utils/base-label.cjs.map +2 -2
  434. package/build/utils/box-sizing.cjs +1 -1
  435. package/build/utils/box-sizing.cjs.map +2 -2
  436. package/build/utils/breakpoint.cjs.map +2 -2
  437. package/build/utils/colors.cjs.map +2 -2
  438. package/build/utils/config-values.cjs +0 -1
  439. package/build/utils/config-values.cjs.map +2 -2
  440. package/build/utils/element-rect.cjs.map +2 -2
  441. package/build/utils/font-size.cjs.map +2 -2
  442. package/build/utils/font.cjs.map +2 -2
  443. package/build/utils/get-valid-children.cjs.map +2 -2
  444. package/build/utils/hooks/use-animated-offset-rect.cjs.map +2 -2
  445. package/build/utils/hooks/use-controlled-state.cjs.map +2 -2
  446. package/build/utils/hooks/use-controlled-value.cjs.map +2 -2
  447. package/build/utils/hooks/use-cx.cjs.map +2 -2
  448. package/build/utils/hooks/use-on-value-update.cjs.map +2 -2
  449. package/build/utils/hooks/use-update-effect.cjs.map +2 -2
  450. package/build/utils/polymorphic-element.cjs.map +2 -2
  451. package/build/utils/rtl.cjs +2 -2
  452. package/build/utils/rtl.cjs.map +2 -2
  453. package/build/utils/strings.cjs +0 -19
  454. package/build/utils/strings.cjs.map +2 -2
  455. package/build/utils/use-responsive-value.cjs.map +2 -2
  456. package/build/v-stack/component.cjs.map +2 -2
  457. package/build/v-stack/hook.cjs.map +2 -2
  458. package/build/validated-form-controls/components/combobox-control.cjs.map +2 -2
  459. package/build/validated-form-controls/components/content-editable-control.cjs.map +2 -2
  460. package/build/validated-form-controls/components/custom-select-control.cjs.map +2 -2
  461. package/build/validated-form-controls/components/form-token-field.cjs.map +2 -2
  462. package/build/validated-form-controls/components/index.cjs +0 -10
  463. package/build/validated-form-controls/components/index.cjs.map +2 -2
  464. package/build/validated-form-controls/components/input-control.cjs.map +2 -2
  465. package/build/validated-form-controls/components/range-control.cjs.map +2 -2
  466. package/build/validated-form-controls/components/textarea-control.cjs.map +2 -2
  467. package/build/validated-form-controls/components/toggle-control.cjs.map +2 -2
  468. package/build/validated-form-controls/components/toggle-group-control.cjs.map +2 -2
  469. package/build/validated-form-controls/control-with-error.cjs.map +2 -2
  470. package/build/validated-form-controls/validity-indicator.cjs.map +2 -2
  471. package/build/view/component.cjs.map +2 -2
  472. package/build/visually-hidden/component.cjs.map +2 -2
  473. package/build/visually-hidden/styles.cjs.map +2 -2
  474. package/build/z-stack/component.cjs.map +2 -2
  475. package/build/z-stack/styles.cjs +4 -4
  476. package/build/z-stack/styles.cjs.map +2 -2
  477. package/build-module/alignment-matrix-control/cell.mjs.map +2 -2
  478. package/build-module/alignment-matrix-control/icon.mjs.map +2 -2
  479. package/build-module/alignment-matrix-control/index.mjs.map +2 -2
  480. package/build-module/alignment-matrix-control/utils.mjs.map +2 -2
  481. package/build-module/angle-picker-control/angle-circle.mjs.map +2 -2
  482. package/build-module/angle-picker-control/index.mjs.map +2 -2
  483. package/build-module/animate/index.mjs +5 -0
  484. package/build-module/animate/index.mjs.map +2 -2
  485. package/build-module/autocomplete/autocompleter-ui.mjs.map +2 -2
  486. package/build-module/autocomplete/get-autocomplete-match.mjs.map +2 -2
  487. package/build-module/autocomplete/get-default-use-items.mjs.map +2 -2
  488. package/build-module/autocomplete/index.mjs +1 -2
  489. package/build-module/autocomplete/index.mjs.map +2 -2
  490. package/build-module/badge/index.mjs.map +2 -2
  491. package/build-module/base-control/hooks.mjs.map +2 -2
  492. package/build-module/base-control/index.mjs.map +2 -2
  493. package/build-module/base-control/styles/base-control-styles.mjs +6 -6
  494. package/build-module/base-control/styles/base-control-styles.mjs.map +2 -2
  495. package/build-module/border-box-control/border-box-control/component.mjs.map +2 -2
  496. package/build-module/border-box-control/border-box-control/hook.mjs.map +2 -2
  497. package/build-module/border-box-control/border-box-control-linked-button/component.mjs.map +2 -2
  498. package/build-module/border-box-control/border-box-control-linked-button/hook.mjs.map +2 -2
  499. package/build-module/border-box-control/border-box-control-split-controls/component.mjs.map +2 -2
  500. package/build-module/border-box-control/border-box-control-split-controls/hook.mjs.map +2 -2
  501. package/build-module/border-box-control/border-box-control-visualizer/component.mjs.map +2 -2
  502. package/build-module/border-box-control/border-box-control-visualizer/hook.mjs.map +2 -2
  503. package/build-module/border-box-control/styles.mjs +8 -8
  504. package/build-module/border-box-control/styles.mjs.map +2 -2
  505. package/build-module/border-box-control/utils.mjs.map +2 -2
  506. package/build-module/border-control/border-control/component.mjs.map +2 -2
  507. package/build-module/border-control/border-control/hook.mjs.map +2 -2
  508. package/build-module/border-control/border-control-dropdown/component.mjs.map +2 -2
  509. package/build-module/border-control/border-control-dropdown/hook.mjs.map +2 -2
  510. package/build-module/border-control/border-control-style-picker/component.mjs.map +2 -2
  511. package/build-module/border-control/styles.mjs +14 -14
  512. package/build-module/border-control/styles.mjs.map +2 -2
  513. package/build-module/box-control/box-input-control.mjs.map +2 -2
  514. package/build-module/box-control/icon.mjs.map +2 -2
  515. package/build-module/box-control/index.mjs.map +2 -2
  516. package/build-module/box-control/linked-button.mjs.map +2 -2
  517. package/build-module/box-control/styles/box-control-icon-styles.mjs +10 -10
  518. package/build-module/box-control/styles/box-control-icon-styles.mjs.map +2 -2
  519. package/build-module/box-control/styles/box-control-styles.mjs +6 -6
  520. package/build-module/box-control/styles/box-control-styles.mjs.map +2 -2
  521. package/build-module/box-control/utils.mjs.map +2 -2
  522. package/build-module/button/deprecated.mjs.map +2 -2
  523. package/build-module/button/index.mjs.map +2 -2
  524. package/build-module/button-group/index.mjs.map +2 -2
  525. package/build-module/card/card/component.mjs +1 -1
  526. package/build-module/card/card/component.mjs.map +2 -2
  527. package/build-module/card/card/hook.mjs.map +2 -2
  528. package/build-module/card/card-body/component.mjs.map +2 -2
  529. package/build-module/card/card-body/hook.mjs.map +2 -2
  530. package/build-module/card/card-divider/component.mjs.map +2 -2
  531. package/build-module/card/card-divider/hook.mjs.map +2 -2
  532. package/build-module/card/card-footer/component.mjs.map +2 -2
  533. package/build-module/card/card-footer/hook.mjs.map +2 -2
  534. package/build-module/card/card-header/component.mjs.map +2 -2
  535. package/build-module/card/card-header/hook.mjs.map +2 -2
  536. package/build-module/card/card-media/component.mjs.map +2 -2
  537. package/build-module/card/card-media/hook.mjs.map +2 -2
  538. package/build-module/card/get-padding-by-size.mjs +6 -6
  539. package/build-module/card/get-padding-by-size.mjs.map +2 -2
  540. package/build-module/card/styles.mjs +16 -16
  541. package/build-module/card/styles.mjs.map +2 -2
  542. package/build-module/checkbox-control/index.mjs.map +2 -2
  543. package/build-module/circular-option-picker/circular-option-picker-actions.mjs.map +2 -2
  544. package/build-module/circular-option-picker/circular-option-picker-context.mjs.map +2 -2
  545. package/build-module/circular-option-picker/circular-option-picker-option-group.mjs.map +2 -2
  546. package/build-module/circular-option-picker/circular-option-picker-option.mjs.map +2 -2
  547. package/build-module/circular-option-picker/circular-option-picker.mjs.map +2 -2
  548. package/build-module/circular-option-picker/index.mjs.map +2 -2
  549. package/build-module/circular-option-picker/utils.mjs.map +2 -2
  550. package/build-module/clipboard-button/index.mjs.map +2 -2
  551. package/build-module/color-indicator/index.mjs.map +2 -2
  552. package/build-module/color-palette/index.mjs.map +2 -2
  553. package/build-module/color-palette/styles.mjs +1 -1
  554. package/build-module/color-palette/styles.mjs.map +2 -2
  555. package/build-module/color-palette/utils.mjs.map +2 -2
  556. package/build-module/color-picker/color-copy-button.mjs.map +2 -2
  557. package/build-module/color-picker/color-input.mjs.map +2 -2
  558. package/build-module/color-picker/component.mjs.map +2 -2
  559. package/build-module/color-picker/hex-input.mjs.map +2 -2
  560. package/build-module/color-picker/hsl-input.mjs.map +2 -2
  561. package/build-module/color-picker/index.mjs.map +2 -2
  562. package/build-module/color-picker/input-with-slider.mjs.map +2 -2
  563. package/build-module/color-picker/legacy-adapter.mjs.map +2 -2
  564. package/build-module/color-picker/picker.mjs.map +2 -2
  565. package/build-module/color-picker/rgb-input.mjs.map +2 -2
  566. package/build-module/color-picker/styles.mjs +7 -7
  567. package/build-module/color-picker/styles.mjs.map +2 -2
  568. package/build-module/color-picker/use-deprecated-props.mjs.map +2 -2
  569. package/build-module/combobox-control/index.mjs +1 -1
  570. package/build-module/combobox-control/index.mjs.map +2 -2
  571. package/build-module/composite/context.mjs.map +2 -2
  572. package/build-module/composite/group-label.mjs.map +2 -2
  573. package/build-module/composite/group.mjs.map +2 -2
  574. package/build-module/composite/hover.mjs.map +2 -2
  575. package/build-module/composite/index.mjs.map +2 -2
  576. package/build-module/composite/item.mjs.map +2 -2
  577. package/build-module/composite/legacy/index.mjs.map +2 -2
  578. package/build-module/composite/row.mjs.map +2 -2
  579. package/build-module/composite/typeahead.mjs.map +2 -2
  580. package/build-module/confirm-dialog/component.mjs.map +2 -2
  581. package/build-module/confirm-dialog/docs-manifest.json +5 -0
  582. package/build-module/confirm-dialog/index.mjs.map +2 -2
  583. package/build-module/content-editable-control/index.mjs.map +2 -2
  584. package/build-module/context/context-connect.mjs.map +2 -2
  585. package/build-module/context/context-system-provider.mjs.map +2 -2
  586. package/build-module/context/get-styled-class-name-from-key.mjs.map +2 -2
  587. package/build-module/context/use-context-system.mjs.map +2 -2
  588. package/build-module/context/utils.mjs.map +2 -2
  589. package/build-module/custom-gradient-picker/constants.mjs.map +2 -2
  590. package/build-module/custom-gradient-picker/gradient-bar/control-points.mjs.map +2 -2
  591. package/build-module/custom-gradient-picker/gradient-bar/index.mjs.map +2 -2
  592. package/build-module/custom-gradient-picker/gradient-bar/utils.mjs.map +2 -2
  593. package/build-module/custom-gradient-picker/index.mjs +1 -1
  594. package/build-module/custom-gradient-picker/index.mjs.map +2 -2
  595. package/build-module/custom-gradient-picker/serializer.mjs.map +2 -2
  596. package/build-module/custom-gradient-picker/styles/custom-gradient-picker-styles.mjs +2 -2
  597. package/build-module/custom-gradient-picker/styles/custom-gradient-picker-styles.mjs.map +2 -2
  598. package/build-module/custom-gradient-picker/utils.mjs.map +2 -2
  599. package/build-module/custom-select-control/index.mjs.map +2 -2
  600. package/build-module/custom-select-control-v2/custom-select.mjs.map +2 -2
  601. package/build-module/custom-select-control-v2/index.mjs.map +2 -2
  602. package/build-module/custom-select-control-v2/item.mjs.map +2 -2
  603. package/build-module/custom-select-control-v2/styles.mjs +9 -9
  604. package/build-module/custom-select-control-v2/styles.mjs.map +2 -2
  605. package/build-module/dashicon/index.mjs.map +2 -2
  606. package/build-module/date-time/date-picker/index.mjs.map +2 -2
  607. package/build-module/date-time/date-picker/styles.mjs +8 -8
  608. package/build-module/date-time/date-picker/styles.mjs.map +2 -2
  609. package/build-module/date-time/date-picker/use-lilius/index.mjs.map +2 -2
  610. package/build-module/date-time/date-time/index.mjs.map +2 -2
  611. package/build-module/date-time/date-time/styles.mjs +1 -1
  612. package/build-module/date-time/date-time/styles.mjs.map +2 -2
  613. package/build-module/date-time/index.mjs.map +2 -2
  614. package/build-module/date-time/time-picker/styles.mjs +11 -11
  615. package/build-module/date-time/time-picker/styles.mjs.map +2 -2
  616. package/build-module/date-time/time-picker/time-input/index.mjs.map +2 -2
  617. package/build-module/date-time/time-picker/timezone.mjs.map +2 -2
  618. package/build-module/date-time/utils.mjs.map +2 -2
  619. package/build-module/disabled/index.mjs +1 -1
  620. package/build-module/disabled/index.mjs.map +1 -1
  621. package/build-module/disclosure/index.mjs.map +2 -2
  622. package/build-module/divider/component.mjs.map +2 -2
  623. package/build-module/draggable/index.mjs.map +2 -2
  624. package/build-module/drop-zone/index.mjs.map +2 -2
  625. package/build-module/drop-zone/provider.mjs.map +2 -2
  626. package/build-module/dropdown/dropdown-content-wrapper.mjs.map +2 -2
  627. package/build-module/dropdown/index.mjs.map +2 -2
  628. package/build-module/dropdown/styles.mjs +2 -2
  629. package/build-module/dropdown/styles.mjs.map +2 -2
  630. package/build-module/dropdown-menu/index.mjs.map +2 -2
  631. package/build-module/duotone-picker/color-list-picker/index.mjs +1 -1
  632. package/build-module/duotone-picker/color-list-picker/index.mjs.map +2 -2
  633. package/build-module/duotone-picker/custom-duotone-bar.mjs.map +2 -2
  634. package/build-module/duotone-picker/duotone-picker.mjs.map +2 -2
  635. package/build-module/duotone-picker/duotone-swatch.mjs.map +2 -2
  636. package/build-module/duotone-picker/utils.mjs.map +2 -2
  637. package/build-module/elevation/component.mjs.map +2 -2
  638. package/build-module/elevation/hook.mjs +5 -5
  639. package/build-module/elevation/hook.mjs.map +2 -2
  640. package/build-module/elevation/styles.mjs +1 -1
  641. package/build-module/elevation/styles.mjs.map +2 -2
  642. package/build-module/external-link/index.mjs.map +2 -2
  643. package/build-module/flex/context.mjs.map +2 -2
  644. package/build-module/flex/flex/component.mjs.map +2 -2
  645. package/build-module/flex/flex-block/component.mjs.map +2 -2
  646. package/build-module/flex/flex-block/hook.mjs.map +2 -2
  647. package/build-module/flex/flex-item/component.mjs.map +2 -2
  648. package/build-module/focal-point-picker/controls.mjs.map +2 -2
  649. package/build-module/focal-point-picker/focal-point.mjs.map +2 -2
  650. package/build-module/focal-point-picker/grid.mjs.map +2 -2
  651. package/build-module/focal-point-picker/index.mjs.map +2 -2
  652. package/build-module/focal-point-picker/media.mjs.map +2 -2
  653. package/build-module/focal-point-picker/styles/focal-point-picker-style.mjs +11 -11
  654. package/build-module/focal-point-picker/styles/focal-point-picker-style.mjs.map +2 -2
  655. package/build-module/focal-point-picker/styles/focal-point-style.mjs +1 -1
  656. package/build-module/focal-point-picker/styles/focal-point-style.mjs.map +2 -2
  657. package/build-module/focusable-iframe/index.mjs.map +2 -2
  658. package/build-module/font-size-picker/constants.mjs.map +2 -2
  659. package/build-module/font-size-picker/font-size-picker-select.mjs.map +2 -2
  660. package/build-module/font-size-picker/font-size-picker-toggle-group.mjs.map +2 -2
  661. package/build-module/font-size-picker/index.mjs.map +2 -2
  662. package/build-module/font-size-picker/styles.mjs +5 -5
  663. package/build-module/font-size-picker/styles.mjs.map +2 -2
  664. package/build-module/font-size-picker/utils.mjs.map +2 -2
  665. package/build-module/form-file-upload/index.mjs.map +2 -2
  666. package/build-module/form-toggle/index.mjs.map +2 -2
  667. package/build-module/form-token-field/index.mjs +1 -1
  668. package/build-module/form-token-field/index.mjs.map +2 -2
  669. package/build-module/form-token-field/suggestions-list.mjs.map +2 -2
  670. package/build-module/form-token-field/token-input.mjs.map +2 -2
  671. package/build-module/form-token-field/token.mjs.map +2 -2
  672. package/build-module/gradient-picker/index.mjs.map +2 -2
  673. package/build-module/grid/component.mjs.map +2 -2
  674. package/build-module/grid/hook.mjs +1 -1
  675. package/build-module/grid/hook.mjs.map +2 -2
  676. package/build-module/grid/utils.mjs.map +2 -2
  677. package/build-module/guide/icons.mjs.map +2 -2
  678. package/build-module/guide/index.mjs.map +2 -2
  679. package/build-module/guide/page-control.mjs.map +2 -2
  680. package/build-module/guide/page.mjs.map +2 -2
  681. package/build-module/h-stack/component.mjs.map +2 -2
  682. package/build-module/h-stack/hook.mjs.map +2 -2
  683. package/build-module/h-stack/utils.mjs.map +2 -2
  684. package/build-module/heading/component.mjs.map +2 -2
  685. package/build-module/heading/hook.mjs.map +2 -2
  686. package/build-module/higher-order/navigate-regions/index.mjs.map +2 -2
  687. package/build-module/higher-order/with-constrained-tabbing/index.mjs.map +2 -2
  688. package/build-module/higher-order/with-fallback-styles/index.mjs.map +2 -2
  689. package/build-module/higher-order/with-filters/index.mjs.map +2 -2
  690. package/build-module/higher-order/with-focus-outside/index.mjs.map +2 -2
  691. package/build-module/higher-order/with-focus-return/index.mjs.map +2 -2
  692. package/build-module/higher-order/with-notices/index.mjs.map +2 -2
  693. package/build-module/higher-order/with-spoken-messages/index.mjs.map +2 -2
  694. package/build-module/icon/index.mjs +0 -1
  695. package/build-module/icon/index.mjs.map +2 -2
  696. package/build-module/input-control/backdrop.mjs.map +2 -2
  697. package/build-module/input-control/index.mjs.map +2 -2
  698. package/build-module/input-control/input-base.mjs.map +2 -2
  699. package/build-module/input-control/input-field.mjs +1 -1
  700. package/build-module/input-control/input-field.mjs.map +2 -2
  701. package/build-module/input-control/input-prefix-wrapper.mjs.map +2 -2
  702. package/build-module/input-control/input-suffix-wrapper.mjs.map +2 -2
  703. package/build-module/input-control/label.mjs.map +2 -2
  704. package/build-module/input-control/reducer/actions.mjs.map +2 -2
  705. package/build-module/input-control/reducer/reducer.mjs.map +2 -2
  706. package/build-module/input-control/reducer/state.mjs.map +2 -2
  707. package/build-module/input-control/styles/input-control-styles.mjs +22 -22
  708. package/build-module/input-control/styles/input-control-styles.mjs.map +2 -2
  709. package/build-module/input-control/utils.mjs +1 -1
  710. package/build-module/input-control/utils.mjs.map +2 -2
  711. package/build-module/isolated-event-container/index.mjs.map +2 -2
  712. package/build-module/item-group/context.mjs.map +2 -2
  713. package/build-module/item-group/item/component.mjs.map +2 -2
  714. package/build-module/item-group/item/hook.mjs +94 -7
  715. package/build-module/item-group/item/hook.mjs.map +4 -4
  716. package/build-module/item-group/item-group/component.mjs.map +2 -2
  717. package/build-module/item-group/item-group/hook.mjs +91 -4
  718. package/build-module/item-group/item-group/hook.mjs.map +3 -3
  719. package/build-module/keyboard-shortcuts/index.mjs.map +2 -2
  720. package/build-module/lock-unlock.mjs.map +2 -2
  721. package/build-module/menu/checkbox-item.mjs +7 -4
  722. package/build-module/menu/checkbox-item.mjs.map +2 -2
  723. package/build-module/menu/context.mjs.map +2 -2
  724. package/build-module/menu/group-label.mjs.map +2 -2
  725. package/build-module/menu/group.mjs.map +2 -2
  726. package/build-module/menu/index.mjs.map +2 -2
  727. package/build-module/menu/item-help-text.mjs.map +2 -2
  728. package/build-module/menu/item-label.mjs.map +2 -2
  729. package/build-module/menu/item.mjs +5 -3
  730. package/build-module/menu/item.mjs.map +2 -2
  731. package/build-module/menu/popover.mjs.map +2 -2
  732. package/build-module/menu/radio-item.mjs +7 -4
  733. package/build-module/menu/radio-item.mjs.map +2 -2
  734. package/build-module/menu/separator.mjs.map +2 -2
  735. package/build-module/menu/styles.mjs +17 -17
  736. package/build-module/menu/styles.mjs.map +2 -2
  737. package/build-module/menu/submenu-trigger-item.mjs.map +2 -2
  738. package/build-module/menu/trigger-button.mjs.map +2 -2
  739. package/build-module/menu/use-menu-item-hide-on-click.mjs +41 -0
  740. package/build-module/menu/use-menu-item-hide-on-click.mjs.map +7 -0
  741. package/build-module/menu-group/index.mjs.map +2 -2
  742. package/build-module/menu-item/index.mjs.map +2 -2
  743. package/build-module/menu-items-choice/index.mjs.map +2 -2
  744. package/build-module/modal/index.mjs +1 -1
  745. package/build-module/modal/index.mjs.map +2 -2
  746. package/build-module/modal/use-modal-exit-animation.mjs.map +2 -2
  747. package/build-module/navigable-container/container.mjs.map +2 -2
  748. package/build-module/navigable-container/index.mjs.map +2 -2
  749. package/build-module/navigable-container/menu.mjs.map +2 -2
  750. package/build-module/navigable-container/tabbable.mjs.map +2 -2
  751. package/build-module/navigator/context.mjs.map +2 -2
  752. package/build-module/navigator/index.mjs.map +2 -2
  753. package/build-module/navigator/legacy.mjs.map +2 -2
  754. package/build-module/navigator/navigator/component.mjs.map +2 -2
  755. package/build-module/navigator/navigator-back-button/component.mjs.map +2 -2
  756. package/build-module/navigator/navigator-back-button/hook.mjs.map +2 -2
  757. package/build-module/navigator/navigator-button/component.mjs.map +2 -2
  758. package/build-module/navigator/navigator-button/hook.mjs.map +2 -2
  759. package/build-module/navigator/navigator-screen/component.mjs.map +2 -2
  760. package/build-module/navigator/navigator-screen/use-screen-animate-presence.mjs.map +2 -2
  761. package/build-module/navigator/navigator-to-parent-button/component.mjs.map +2 -2
  762. package/build-module/navigator/styles.mjs +7 -7
  763. package/build-module/navigator/styles.mjs.map +2 -2
  764. package/build-module/navigator/use-navigator.mjs.map +2 -2
  765. package/build-module/navigator/utils/router.mjs.map +2 -2
  766. package/build-module/notice/index.mjs.map +2 -2
  767. package/build-module/notice/list.mjs.map +2 -2
  768. package/build-module/number-control/index.mjs.map +2 -2
  769. package/build-module/number-control/styles/number-control-styles.mjs +4 -4
  770. package/build-module/number-control/styles/number-control-styles.mjs.map +2 -2
  771. package/build-module/palette-edit/index.mjs +1 -1
  772. package/build-module/palette-edit/index.mjs.map +2 -2
  773. package/build-module/palette-edit/styles.mjs +9 -9
  774. package/build-module/palette-edit/styles.mjs.map +2 -2
  775. package/build-module/panel/body.mjs.map +2 -2
  776. package/build-module/panel/header.mjs.map +2 -2
  777. package/build-module/panel/index.mjs.map +2 -2
  778. package/build-module/panel/row.mjs.map +2 -2
  779. package/build-module/placeholder/index.mjs.map +2 -2
  780. package/build-module/popover/index.mjs.map +2 -2
  781. package/build-module/popover/overlay-middlewares.mjs.map +2 -2
  782. package/build-module/popover/utils.mjs.map +2 -2
  783. package/build-module/private-apis.mjs +1 -15
  784. package/build-module/private-apis.mjs.map +2 -2
  785. package/build-module/progress-bar/index.mjs.map +2 -2
  786. package/build-module/progress-bar/styles.mjs +4 -4
  787. package/build-module/progress-bar/styles.mjs.map +2 -2
  788. package/build-module/query-controls/author-select.mjs.map +2 -2
  789. package/build-module/query-controls/index.mjs +1 -1
  790. package/build-module/query-controls/index.mjs.map +2 -2
  791. package/build-module/query-controls/terms.mjs.map +2 -2
  792. package/build-module/radio-control/index.mjs.map +2 -2
  793. package/build-module/radio-group/context.mjs.map +2 -2
  794. package/build-module/radio-group/index.mjs.map +2 -2
  795. package/build-module/radio-group/radio.mjs.map +2 -2
  796. package/build-module/range-control/index.mjs.map +2 -2
  797. package/build-module/range-control/input-range.mjs.map +2 -2
  798. package/build-module/range-control/mark.mjs.map +2 -2
  799. package/build-module/range-control/rail.mjs.map +2 -2
  800. package/build-module/range-control/styles/range-control-styles.mjs +25 -25
  801. package/build-module/range-control/styles/range-control-styles.mjs.map +2 -2
  802. package/build-module/range-control/tooltip.mjs.map +2 -2
  803. package/build-module/range-control/utils.mjs.map +2 -2
  804. package/build-module/resizable-box/index.mjs.map +2 -2
  805. package/build-module/resizable-box/resize-tooltip/index.mjs.map +2 -2
  806. package/build-module/resizable-box/resize-tooltip/label.mjs.map +2 -2
  807. package/build-module/resizable-box/resize-tooltip/styles/resize-tooltip.styles.mjs +4 -4
  808. package/build-module/resizable-box/resize-tooltip/styles/resize-tooltip.styles.mjs.map +2 -2
  809. package/build-module/resizable-box/resize-tooltip/utils.mjs.map +2 -2
  810. package/build-module/responsive-wrapper/index.mjs.map +2 -2
  811. package/build-module/sandbox/index.mjs +8 -4
  812. package/build-module/sandbox/index.mjs.map +2 -2
  813. package/build-module/scroll-lock/index.mjs.map +2 -2
  814. package/build-module/scrollable/component.mjs.map +2 -2
  815. package/build-module/scrollable/hook.mjs.map +2 -2
  816. package/build-module/scrollable/styles.mjs +7 -7
  817. package/build-module/scrollable/styles.mjs.map +2 -2
  818. package/build-module/search-control/index.mjs.map +2 -2
  819. package/build-module/select-control/chevron-down.mjs.map +2 -2
  820. package/build-module/select-control/index.mjs.map +2 -2
  821. package/build-module/select-control/styles/select-control-styles.mjs +8 -8
  822. package/build-module/select-control/styles/select-control-styles.mjs.map +2 -2
  823. package/build-module/shortcut/index.mjs.map +2 -2
  824. package/build-module/slot-fill/bubbles-virtually/slot.mjs.map +2 -2
  825. package/build-module/slot-fill/bubbles-virtually/use-slot-fills.mjs.map +2 -2
  826. package/build-module/slot-fill/bubbles-virtually/use-slot.mjs.map +2 -2
  827. package/build-module/slot-fill/context.mjs.map +2 -2
  828. package/build-module/slot-fill/index.mjs.map +2 -2
  829. package/build-module/slot-fill/provider.mjs.map +2 -2
  830. package/build-module/slot-fill/slot.mjs.map +2 -2
  831. package/build-module/snackbar/index.mjs.map +2 -2
  832. package/build-module/snackbar/list.mjs.map +2 -2
  833. package/build-module/spacer/component.mjs.map +2 -2
  834. package/build-module/spinner/index.mjs +91 -5
  835. package/build-module/spinner/index.mjs.map +3 -3
  836. package/build-module/surface/component.mjs +5 -0
  837. package/build-module/surface/component.mjs.map +2 -2
  838. package/build-module/surface/hook.mjs.map +2 -2
  839. package/build-module/tab-panel/index.mjs.map +2 -2
  840. package/build-module/tabs/context.mjs.map +2 -2
  841. package/build-module/tabs/index.mjs.map +2 -2
  842. package/build-module/tabs/styles.mjs +5 -5
  843. package/build-module/tabs/styles.mjs.map +2 -2
  844. package/build-module/tabs/tab.mjs +1 -1
  845. package/build-module/tabs/tab.mjs.map +2 -2
  846. package/build-module/tabs/tablist.mjs.map +2 -2
  847. package/build-module/tabs/tabpanel.mjs +1 -1
  848. package/build-module/tabs/tabpanel.mjs.map +2 -2
  849. package/build-module/tabs/use-track-overflow.mjs.map +2 -2
  850. package/build-module/text/component.mjs.map +2 -2
  851. package/build-module/text/get-line-height.mjs.map +2 -2
  852. package/build-module/text/hook.mjs +5 -5
  853. package/build-module/text/hook.mjs.map +2 -2
  854. package/build-module/text/styles.mjs +7 -7
  855. package/build-module/text/styles.mjs.map +2 -2
  856. package/build-module/text/utils.mjs.map +2 -2
  857. package/build-module/text-control/index.mjs.map +2 -2
  858. package/build-module/text-highlight/index.mjs.map +2 -2
  859. package/build-module/textarea-control/index.mjs.map +2 -2
  860. package/build-module/textarea-control/styles/textarea-control-styles.mjs +3 -3
  861. package/build-module/textarea-control/styles/textarea-control-styles.mjs.map +2 -2
  862. package/build-module/tip/index.mjs.map +2 -2
  863. package/build-module/toggle-control/index.mjs.map +2 -2
  864. package/build-module/toggle-group-control/context.mjs.map +2 -2
  865. package/build-module/toggle-group-control/toggle-group-control/as-button-group.mjs.map +2 -2
  866. package/build-module/toggle-group-control/toggle-group-control/as-radio-group.mjs.map +2 -2
  867. package/build-module/toggle-group-control/toggle-group-control/component.mjs.map +2 -2
  868. package/build-module/toggle-group-control/toggle-group-control/utils.mjs.map +2 -2
  869. package/build-module/toggle-group-control/toggle-group-control-option/component.mjs.map +2 -2
  870. package/build-module/toggle-group-control/toggle-group-control-option-base/component.mjs.map +2 -2
  871. package/build-module/toggle-group-control/toggle-group-control-option-icon/component.mjs.map +2 -2
  872. package/build-module/toolbar/toolbar/index.mjs.map +2 -2
  873. package/build-module/toolbar/toolbar/toolbar-container.mjs.map +2 -2
  874. package/build-module/toolbar/toolbar-button/index.mjs.map +2 -2
  875. package/build-module/toolbar/toolbar-button/toolbar-button-container.mjs.map +2 -2
  876. package/build-module/toolbar/toolbar-context/index.mjs.map +2 -2
  877. package/build-module/toolbar/toolbar-dropdown-menu/index.mjs.map +2 -2
  878. package/build-module/toolbar/toolbar-group/index.mjs.map +2 -2
  879. package/build-module/toolbar/toolbar-group/toolbar-group-collapsed.mjs.map +2 -2
  880. package/build-module/toolbar/toolbar-group/toolbar-group-container.mjs.map +2 -2
  881. package/build-module/toolbar/toolbar-item/index.mjs.map +2 -2
  882. package/build-module/tools-panel/context.mjs.map +2 -2
  883. package/build-module/tools-panel/tools-panel/component.mjs.map +2 -2
  884. package/build-module/tools-panel/tools-panel/hook.mjs.map +2 -2
  885. package/build-module/tools-panel/tools-panel-header/component.mjs.map +2 -2
  886. package/build-module/tools-panel/tools-panel-header/hook.mjs.map +2 -2
  887. package/build-module/tools-panel/tools-panel-item/component.mjs.map +2 -2
  888. package/build-module/tools-panel/tools-panel-item/hook.mjs.map +2 -2
  889. package/build-module/tree-grid/cell.mjs.map +2 -2
  890. package/build-module/tree-grid/index.mjs.map +2 -2
  891. package/build-module/tree-grid/item.mjs.map +2 -2
  892. package/build-module/tree-grid/roving-tab-index-context.mjs.map +2 -2
  893. package/build-module/tree-grid/roving-tab-index-item.mjs.map +2 -2
  894. package/build-module/tree-grid/roving-tab-index.mjs.map +2 -2
  895. package/build-module/tree-grid/row.mjs.map +2 -2
  896. package/build-module/tree-select/index.mjs.map +2 -2
  897. package/build-module/truncate/component.mjs.map +2 -2
  898. package/build-module/truncate/hook.mjs.map +2 -2
  899. package/build-module/truncate/utils.mjs.map +2 -2
  900. package/build-module/unit-control/index.mjs.map +2 -2
  901. package/build-module/unit-control/styles/unit-control-styles.mjs +7 -7
  902. package/build-module/unit-control/styles/unit-control-styles.mjs.map +2 -2
  903. package/build-module/unit-control/unit-select-control.mjs.map +2 -2
  904. package/build-module/unit-control/utils.mjs.map +2 -2
  905. package/build-module/utils/base-label.mjs +1 -1
  906. package/build-module/utils/base-label.mjs.map +2 -2
  907. package/build-module/utils/box-sizing.mjs +1 -1
  908. package/build-module/utils/box-sizing.mjs.map +2 -2
  909. package/build-module/utils/breakpoint.mjs.map +2 -2
  910. package/build-module/utils/colors.mjs.map +2 -2
  911. package/build-module/utils/config-values.mjs +0 -1
  912. package/build-module/utils/config-values.mjs.map +2 -2
  913. package/build-module/utils/element-rect.mjs.map +2 -2
  914. package/build-module/utils/font-size.mjs.map +2 -2
  915. package/build-module/utils/font.mjs.map +2 -2
  916. package/build-module/utils/get-valid-children.mjs.map +2 -2
  917. package/build-module/utils/hooks/use-animated-offset-rect.mjs.map +2 -2
  918. package/build-module/utils/hooks/use-controlled-state.mjs.map +2 -2
  919. package/build-module/utils/hooks/use-controlled-value.mjs.map +2 -2
  920. package/build-module/utils/hooks/use-cx.mjs.map +2 -2
  921. package/build-module/utils/hooks/use-on-value-update.mjs.map +2 -2
  922. package/build-module/utils/hooks/use-update-effect.mjs.map +2 -2
  923. package/build-module/utils/polymorphic-element.mjs.map +2 -2
  924. package/build-module/utils/rtl.mjs +2 -2
  925. package/build-module/utils/rtl.mjs.map +2 -2
  926. package/build-module/utils/strings.mjs +0 -18
  927. package/build-module/utils/strings.mjs.map +2 -2
  928. package/build-module/utils/use-responsive-value.mjs.map +2 -2
  929. package/build-module/v-stack/component.mjs.map +2 -2
  930. package/build-module/v-stack/hook.mjs.map +2 -2
  931. package/build-module/validated-form-controls/components/combobox-control.mjs.map +2 -2
  932. package/build-module/validated-form-controls/components/content-editable-control.mjs.map +2 -2
  933. package/build-module/validated-form-controls/components/custom-select-control.mjs.map +2 -2
  934. package/build-module/validated-form-controls/components/form-token-field.mjs.map +2 -2
  935. package/build-module/validated-form-controls/components/index.mjs +0 -5
  936. package/build-module/validated-form-controls/components/index.mjs.map +2 -2
  937. package/build-module/validated-form-controls/components/input-control.mjs.map +2 -2
  938. package/build-module/validated-form-controls/components/range-control.mjs.map +2 -2
  939. package/build-module/validated-form-controls/components/textarea-control.mjs.map +2 -2
  940. package/build-module/validated-form-controls/components/toggle-control.mjs.map +2 -2
  941. package/build-module/validated-form-controls/components/toggle-group-control.mjs.map +2 -2
  942. package/build-module/validated-form-controls/control-with-error.mjs.map +2 -2
  943. package/build-module/validated-form-controls/validity-indicator.mjs.map +2 -2
  944. package/build-module/view/component.mjs.map +2 -2
  945. package/build-module/visually-hidden/component.mjs.map +2 -2
  946. package/build-module/visually-hidden/styles.mjs.map +2 -2
  947. package/build-module/z-stack/component.mjs.map +2 -2
  948. package/build-module/z-stack/styles.mjs +4 -4
  949. package/build-module/z-stack/styles.mjs.map +2 -2
  950. package/build-style/style-rtl.css +8 -364
  951. package/build-style/style.css +8 -364
  952. package/build-types/alignment-matrix-control/cell.d.ts.map +1 -1
  953. package/build-types/alignment-matrix-control/icon.d.ts.map +1 -1
  954. package/build-types/alignment-matrix-control/index.d.ts.map +1 -1
  955. package/build-types/alignment-matrix-control/stories/index.story.d.ts +0 -6
  956. package/build-types/alignment-matrix-control/stories/index.story.d.ts.map +1 -1
  957. package/build-types/alignment-matrix-control/utils.d.ts +0 -3
  958. package/build-types/alignment-matrix-control/utils.d.ts.map +1 -1
  959. package/build-types/angle-picker-control/angle-circle.d.ts.map +1 -1
  960. package/build-types/angle-picker-control/index.d.ts +1 -1
  961. package/build-types/angle-picker-control/index.d.ts.map +1 -1
  962. package/build-types/angle-picker-control/stories/index.story.d.ts +1 -7
  963. package/build-types/angle-picker-control/stories/index.story.d.ts.map +1 -1
  964. package/build-types/animate/index.d.ts +6 -3
  965. package/build-types/animate/index.d.ts.map +1 -1
  966. package/build-types/animate/stories/index.story.d.ts +0 -6
  967. package/build-types/animate/stories/index.story.d.ts.map +1 -1
  968. package/build-types/autocomplete/autocompleter-ui.d.ts.map +1 -1
  969. package/build-types/autocomplete/get-autocomplete-match.d.ts +0 -3
  970. package/build-types/autocomplete/get-autocomplete-match.d.ts.map +1 -1
  971. package/build-types/autocomplete/get-default-use-items.d.ts.map +1 -1
  972. package/build-types/autocomplete/index.d.ts.map +1 -1
  973. package/build-types/autocomplete/types.d.ts +0 -9
  974. package/build-types/autocomplete/types.d.ts.map +1 -1
  975. package/build-types/badge/index.d.ts +0 -3
  976. package/build-types/badge/index.d.ts.map +1 -1
  977. package/build-types/badge/stories/e2e/index.story.d.ts.map +1 -1
  978. package/build-types/badge/stories/index.story.d.ts +0 -6
  979. package/build-types/badge/stories/index.story.d.ts.map +1 -1
  980. package/build-types/base-control/hooks.d.ts.map +1 -1
  981. package/build-types/base-control/index.d.ts +624 -3
  982. package/build-types/base-control/index.d.ts.map +1 -1
  983. package/build-types/base-control/stories/index.story.d.ts +1 -7
  984. package/build-types/base-control/stories/index.story.d.ts.map +1 -1
  985. package/build-types/base-control/styles/base-control-styles.d.ts.map +1 -1
  986. package/build-types/base-control/types.d.ts +0 -3
  987. package/build-types/base-control/types.d.ts.map +1 -1
  988. package/build-types/border-box-control/border-box-control/component.d.ts +14 -9
  989. package/build-types/border-box-control/border-box-control/component.d.ts.map +1 -1
  990. package/build-types/border-box-control/border-box-control/hook.d.ts +1 -1
  991. package/build-types/border-box-control/border-box-control/hook.d.ts.map +1 -1
  992. package/build-types/border-box-control/border-box-control-linked-button/component.d.ts.map +1 -1
  993. package/build-types/border-box-control/border-box-control-linked-button/hook.d.ts +1 -1
  994. package/build-types/border-box-control/border-box-control-linked-button/hook.d.ts.map +1 -1
  995. package/build-types/border-box-control/border-box-control-split-controls/component.d.ts.map +1 -1
  996. package/build-types/border-box-control/border-box-control-split-controls/hook.d.ts +1 -1
  997. package/build-types/border-box-control/border-box-control-split-controls/hook.d.ts.map +1 -1
  998. package/build-types/border-box-control/border-box-control-visualizer/component.d.ts.map +1 -1
  999. package/build-types/border-box-control/border-box-control-visualizer/hook.d.ts +1 -1
  1000. package/build-types/border-box-control/border-box-control-visualizer/hook.d.ts.map +1 -1
  1001. package/build-types/border-box-control/stories/index.story.d.ts +0 -3
  1002. package/build-types/border-box-control/stories/index.story.d.ts.map +1 -1
  1003. package/build-types/border-box-control/styles.d.ts.map +1 -1
  1004. package/build-types/border-box-control/types.d.ts +0 -3
  1005. package/build-types/border-box-control/types.d.ts.map +1 -1
  1006. package/build-types/border-box-control/utils.d.ts.map +1 -1
  1007. package/build-types/border-control/border-control/component.d.ts +23 -18
  1008. package/build-types/border-control/border-control/component.d.ts.map +1 -1
  1009. package/build-types/border-control/border-control/hook.d.ts +1 -1
  1010. package/build-types/border-control/border-control/hook.d.ts.map +1 -1
  1011. package/build-types/border-control/border-control-dropdown/component.d.ts.map +1 -1
  1012. package/build-types/border-control/border-control-dropdown/hook.d.ts +1 -1
  1013. package/build-types/border-control/border-control-dropdown/hook.d.ts.map +1 -1
  1014. package/build-types/border-control/border-control-style-picker/component.d.ts +8 -4
  1015. package/build-types/border-control/border-control-style-picker/component.d.ts.map +1 -1
  1016. package/build-types/border-control/stories/index.story.d.ts +0 -6
  1017. package/build-types/border-control/stories/index.story.d.ts.map +1 -1
  1018. package/build-types/border-control/styles.d.ts.map +1 -1
  1019. package/build-types/border-control/types.d.ts +0 -6
  1020. package/build-types/border-control/types.d.ts.map +1 -1
  1021. package/build-types/box-control/box-input-control.d.ts.map +1 -1
  1022. package/build-types/box-control/icon.d.ts +0 -3
  1023. package/build-types/box-control/icon.d.ts.map +1 -1
  1024. package/build-types/box-control/index.d.ts.map +1 -1
  1025. package/build-types/box-control/linked-button.d.ts +0 -3
  1026. package/build-types/box-control/linked-button.d.ts.map +1 -1
  1027. package/build-types/box-control/stories/index.story.d.ts +0 -6
  1028. package/build-types/box-control/stories/index.story.d.ts.map +1 -1
  1029. package/build-types/box-control/styles/box-control-icon-styles.d.ts.map +1 -1
  1030. package/build-types/box-control/styles/box-control-styles.d.ts +2 -2
  1031. package/build-types/box-control/styles/box-control-styles.d.ts.map +1 -1
  1032. package/build-types/box-control/types.d.ts +0 -3
  1033. package/build-types/box-control/types.d.ts.map +1 -1
  1034. package/build-types/box-control/utils.d.ts +0 -3
  1035. package/build-types/box-control/utils.d.ts.map +1 -1
  1036. package/build-types/button/deprecated.d.ts.map +1 -1
  1037. package/build-types/button/index.d.ts.map +1 -1
  1038. package/build-types/button/stories/e2e/index.story.d.ts +0 -6
  1039. package/build-types/button/stories/e2e/index.story.d.ts.map +1 -1
  1040. package/build-types/button/stories/index.story.d.ts +0 -6
  1041. package/build-types/button/stories/index.story.d.ts.map +1 -1
  1042. package/build-types/button/types.d.ts +0 -6
  1043. package/build-types/button/types.d.ts.map +1 -1
  1044. package/build-types/button-group/index.d.ts +0 -3
  1045. package/build-types/button-group/index.d.ts.map +1 -1
  1046. package/build-types/button-group/stories/index.story.d.ts +0 -6
  1047. package/build-types/button-group/stories/index.story.d.ts.map +1 -1
  1048. package/build-types/button-group/types.d.ts +0 -3
  1049. package/build-types/button-group/types.d.ts.map +1 -1
  1050. package/build-types/card/card/component.d.ts.map +1 -1
  1051. package/build-types/card/card/hook.d.ts +1 -4
  1052. package/build-types/card/card/hook.d.ts.map +1 -1
  1053. package/build-types/card/card-body/component.d.ts.map +1 -1
  1054. package/build-types/card/card-body/hook.d.ts +1 -4
  1055. package/build-types/card/card-body/hook.d.ts.map +1 -1
  1056. package/build-types/card/card-divider/component.d.ts +11 -6
  1057. package/build-types/card/card-divider/component.d.ts.map +1 -1
  1058. package/build-types/card/card-divider/hook.d.ts +0 -3
  1059. package/build-types/card/card-divider/hook.d.ts.map +1 -1
  1060. package/build-types/card/card-footer/component.d.ts.map +1 -1
  1061. package/build-types/card/card-footer/hook.d.ts +1 -4
  1062. package/build-types/card/card-footer/hook.d.ts.map +1 -1
  1063. package/build-types/card/card-header/component.d.ts.map +1 -1
  1064. package/build-types/card/card-header/hook.d.ts +1 -4
  1065. package/build-types/card/card-header/hook.d.ts.map +1 -1
  1066. package/build-types/card/card-media/component.d.ts.map +1 -1
  1067. package/build-types/card/card-media/hook.d.ts +1 -4
  1068. package/build-types/card/card-media/hook.d.ts.map +1 -1
  1069. package/build-types/card/get-padding-by-size.d.ts +0 -6
  1070. package/build-types/card/get-padding-by-size.d.ts.map +1 -1
  1071. package/build-types/card/styles.d.ts.map +1 -1
  1072. package/build-types/card/types.d.ts +0 -3
  1073. package/build-types/card/types.d.ts.map +1 -1
  1074. package/build-types/checkbox-control/index.d.ts.map +1 -1
  1075. package/build-types/checkbox-control/stories/index.story.d.ts +10 -10
  1076. package/build-types/checkbox-control/stories/index.story.d.ts.map +1 -1
  1077. package/build-types/checkbox-control/types.d.ts +0 -6
  1078. package/build-types/checkbox-control/types.d.ts.map +1 -1
  1079. package/build-types/circular-option-picker/circular-option-picker-actions.d.ts.map +1 -1
  1080. package/build-types/circular-option-picker/circular-option-picker-context.d.ts +0 -3
  1081. package/build-types/circular-option-picker/circular-option-picker-context.d.ts.map +1 -1
  1082. package/build-types/circular-option-picker/circular-option-picker-option-group.d.ts +0 -3
  1083. package/build-types/circular-option-picker/circular-option-picker-option-group.d.ts.map +1 -1
  1084. package/build-types/circular-option-picker/circular-option-picker-option.d.ts.map +1 -1
  1085. package/build-types/circular-option-picker/circular-option-picker.d.ts.map +1 -1
  1086. package/build-types/circular-option-picker/index.d.ts +0 -3
  1087. package/build-types/circular-option-picker/index.d.ts.map +1 -1
  1088. package/build-types/circular-option-picker/stories/index.story.d.ts +0 -6
  1089. package/build-types/circular-option-picker/stories/index.story.d.ts.map +1 -1
  1090. package/build-types/circular-option-picker/types.d.ts +0 -9
  1091. package/build-types/circular-option-picker/types.d.ts.map +1 -1
  1092. package/build-types/circular-option-picker/utils.d.ts.map +1 -1
  1093. package/build-types/clipboard-button/index.d.ts.map +1 -1
  1094. package/build-types/clipboard-button/types.d.ts +0 -3
  1095. package/build-types/clipboard-button/types.d.ts.map +1 -1
  1096. package/build-types/color-indicator/index.d.ts.map +1 -1
  1097. package/build-types/color-indicator/stories/index.story.d.ts +0 -6
  1098. package/build-types/color-indicator/stories/index.story.d.ts.map +1 -1
  1099. package/build-types/color-indicator/types.d.ts +0 -3
  1100. package/build-types/color-indicator/types.d.ts.map +1 -1
  1101. package/build-types/color-palette/index.d.ts.map +1 -1
  1102. package/build-types/color-palette/stories/index.story.d.ts +0 -6
  1103. package/build-types/color-palette/stories/index.story.d.ts.map +1 -1
  1104. package/build-types/color-palette/styles.d.ts +1 -1
  1105. package/build-types/color-palette/styles.d.ts.map +1 -1
  1106. package/build-types/color-palette/types.d.ts +0 -6
  1107. package/build-types/color-palette/types.d.ts.map +1 -1
  1108. package/build-types/color-palette/utils.d.ts +0 -3
  1109. package/build-types/color-palette/utils.d.ts.map +1 -1
  1110. package/build-types/color-picker/color-copy-button.d.ts.map +1 -1
  1111. package/build-types/color-picker/color-input.d.ts.map +1 -1
  1112. package/build-types/color-picker/component.d.ts +11 -7
  1113. package/build-types/color-picker/component.d.ts.map +1 -1
  1114. package/build-types/color-picker/hex-input.d.ts.map +1 -1
  1115. package/build-types/color-picker/hsl-input.d.ts.map +1 -1
  1116. package/build-types/color-picker/index.d.ts +0 -3
  1117. package/build-types/color-picker/index.d.ts.map +1 -1
  1118. package/build-types/color-picker/input-with-slider.d.ts.map +1 -1
  1119. package/build-types/color-picker/legacy-adapter.d.ts.map +1 -1
  1120. package/build-types/color-picker/picker.d.ts +0 -3
  1121. package/build-types/color-picker/picker.d.ts.map +1 -1
  1122. package/build-types/color-picker/rgb-input.d.ts.map +1 -1
  1123. package/build-types/color-picker/stories/index.story.d.ts +0 -6
  1124. package/build-types/color-picker/stories/index.story.d.ts.map +1 -1
  1125. package/build-types/color-picker/styles.d.ts +2 -2
  1126. package/build-types/color-picker/styles.d.ts.map +1 -1
  1127. package/build-types/color-picker/types.d.ts +0 -6
  1128. package/build-types/color-picker/types.d.ts.map +1 -1
  1129. package/build-types/color-picker/use-deprecated-props.d.ts +0 -3
  1130. package/build-types/color-picker/use-deprecated-props.d.ts.map +1 -1
  1131. package/build-types/combobox-control/index.d.ts.map +1 -1
  1132. package/build-types/combobox-control/stories/index.story.d.ts +0 -6
  1133. package/build-types/combobox-control/stories/index.story.d.ts.map +1 -1
  1134. package/build-types/combobox-control/styles.d.ts +1 -1
  1135. package/build-types/combobox-control/types.d.ts +0 -3
  1136. package/build-types/combobox-control/types.d.ts.map +1 -1
  1137. package/build-types/composite/context.d.ts +0 -3
  1138. package/build-types/composite/context.d.ts.map +1 -1
  1139. package/build-types/composite/group-label.d.ts.map +1 -1
  1140. package/build-types/composite/group.d.ts.map +1 -1
  1141. package/build-types/composite/hover.d.ts.map +1 -1
  1142. package/build-types/composite/index.d.ts +0 -3
  1143. package/build-types/composite/index.d.ts.map +1 -1
  1144. package/build-types/composite/item.d.ts.map +1 -1
  1145. package/build-types/composite/legacy/index.d.ts +0 -3
  1146. package/build-types/composite/legacy/index.d.ts.map +1 -1
  1147. package/build-types/composite/legacy/stories/index.story.d.ts +0 -3
  1148. package/build-types/composite/legacy/stories/index.story.d.ts.map +1 -1
  1149. package/build-types/composite/legacy/stories/utils.d.ts +0 -6
  1150. package/build-types/composite/legacy/stories/utils.d.ts.map +1 -1
  1151. package/build-types/composite/row.d.ts.map +1 -1
  1152. package/build-types/composite/stories/index.story.d.ts +0 -3
  1153. package/build-types/composite/stories/index.story.d.ts.map +1 -1
  1154. package/build-types/composite/typeahead.d.ts.map +1 -1
  1155. package/build-types/composite/types.d.ts +0 -3
  1156. package/build-types/composite/types.d.ts.map +1 -1
  1157. package/build-types/confirm-dialog/component.d.ts +32 -18
  1158. package/build-types/confirm-dialog/component.d.ts.map +1 -1
  1159. package/build-types/confirm-dialog/index.d.ts +0 -3
  1160. package/build-types/confirm-dialog/index.d.ts.map +1 -1
  1161. package/build-types/confirm-dialog/stories/index.story.d.ts +0 -3
  1162. package/build-types/confirm-dialog/stories/index.story.d.ts.map +1 -1
  1163. package/build-types/confirm-dialog/types.d.ts +4 -6
  1164. package/build-types/confirm-dialog/types.d.ts.map +1 -1
  1165. package/build-types/content-editable-control/index.d.ts.map +1 -1
  1166. package/build-types/content-editable-control/stories/index.story.d.ts +0 -6
  1167. package/build-types/content-editable-control/stories/index.story.d.ts.map +1 -1
  1168. package/build-types/content-editable-control/types.d.ts +0 -3
  1169. package/build-types/content-editable-control/types.d.ts.map +1 -1
  1170. package/build-types/context/context-connect.d.ts +0 -3
  1171. package/build-types/context/context-connect.d.ts.map +1 -1
  1172. package/build-types/context/context-system-provider.d.ts.map +1 -1
  1173. package/build-types/context/get-styled-class-name-from-key.d.ts.map +1 -1
  1174. package/build-types/context/use-context-system.d.ts.map +1 -1
  1175. package/build-types/context/utils.d.ts.map +1 -1
  1176. package/build-types/context/wordpress-component.d.ts +25 -8
  1177. package/build-types/context/wordpress-component.d.ts.map +1 -1
  1178. package/build-types/custom-gradient-picker/constants.d.ts.map +1 -1
  1179. package/build-types/custom-gradient-picker/gradient-bar/control-points.d.ts.map +1 -1
  1180. package/build-types/custom-gradient-picker/gradient-bar/index.d.ts.map +1 -1
  1181. package/build-types/custom-gradient-picker/gradient-bar/utils.d.ts.map +1 -1
  1182. package/build-types/custom-gradient-picker/index.d.ts.map +1 -1
  1183. package/build-types/custom-gradient-picker/serializer.d.ts +0 -3
  1184. package/build-types/custom-gradient-picker/serializer.d.ts.map +1 -1
  1185. package/build-types/custom-gradient-picker/stories/index.story.d.ts +0 -6
  1186. package/build-types/custom-gradient-picker/stories/index.story.d.ts.map +1 -1
  1187. package/build-types/custom-gradient-picker/styles/custom-gradient-picker-styles.d.ts +2 -2
  1188. package/build-types/custom-gradient-picker/styles/custom-gradient-picker-styles.d.ts.map +1 -1
  1189. package/build-types/custom-gradient-picker/types.d.ts +0 -3
  1190. package/build-types/custom-gradient-picker/types.d.ts.map +1 -1
  1191. package/build-types/custom-gradient-picker/utils.d.ts +0 -3
  1192. package/build-types/custom-gradient-picker/utils.d.ts.map +1 -1
  1193. package/build-types/custom-select-control/index.d.ts.map +1 -1
  1194. package/build-types/custom-select-control/stories/index.story.d.ts +0 -6
  1195. package/build-types/custom-select-control/stories/index.story.d.ts.map +1 -1
  1196. package/build-types/custom-select-control/types.d.ts +0 -3
  1197. package/build-types/custom-select-control/types.d.ts.map +1 -1
  1198. package/build-types/custom-select-control-v2/custom-select.d.ts.map +1 -1
  1199. package/build-types/custom-select-control-v2/index.d.ts.map +1 -1
  1200. package/build-types/custom-select-control-v2/item.d.ts +0 -3
  1201. package/build-types/custom-select-control-v2/item.d.ts.map +1 -1
  1202. package/build-types/custom-select-control-v2/stories/index.story.d.ts +0 -6
  1203. package/build-types/custom-select-control-v2/stories/index.story.d.ts.map +1 -1
  1204. package/build-types/custom-select-control-v2/styles.d.ts +0 -3
  1205. package/build-types/custom-select-control-v2/styles.d.ts.map +1 -1
  1206. package/build-types/custom-select-control-v2/types.d.ts +0 -3
  1207. package/build-types/custom-select-control-v2/types.d.ts.map +1 -1
  1208. package/build-types/dashicon/index.d.ts +0 -3
  1209. package/build-types/dashicon/index.d.ts.map +1 -1
  1210. package/build-types/date-time/date-picker/index.d.ts.map +1 -1
  1211. package/build-types/date-time/date-picker/styles.d.ts +2 -2
  1212. package/build-types/date-time/date-picker/styles.d.ts.map +1 -1
  1213. package/build-types/date-time/date-picker/use-lilius/index.d.ts +0 -30
  1214. package/build-types/date-time/date-picker/use-lilius/index.d.ts.map +1 -1
  1215. package/build-types/date-time/date-time/index.d.ts +0 -3
  1216. package/build-types/date-time/date-time/index.d.ts.map +1 -1
  1217. package/build-types/date-time/date-time/styles.d.ts +1 -1
  1218. package/build-types/date-time/date-time/styles.d.ts.map +1 -1
  1219. package/build-types/date-time/index.d.ts +0 -3
  1220. package/build-types/date-time/index.d.ts.map +1 -1
  1221. package/build-types/date-time/stories/date-time.story.d.ts +0 -6
  1222. package/build-types/date-time/stories/date-time.story.d.ts.map +1 -1
  1223. package/build-types/date-time/stories/date.story.d.ts +0 -6
  1224. package/build-types/date-time/stories/date.story.d.ts.map +1 -1
  1225. package/build-types/date-time/stories/time.story.d.ts +0 -6
  1226. package/build-types/date-time/stories/time.story.d.ts.map +1 -1
  1227. package/build-types/date-time/time-picker/styles.d.ts.map +1 -1
  1228. package/build-types/date-time/time-picker/time-input/index.d.ts.map +1 -1
  1229. package/build-types/date-time/time-picker/timezone.d.ts.map +1 -1
  1230. package/build-types/date-time/types.d.ts +0 -3
  1231. package/build-types/date-time/types.d.ts.map +1 -1
  1232. package/build-types/date-time/utils.d.ts +0 -3
  1233. package/build-types/date-time/utils.d.ts.map +1 -1
  1234. package/build-types/disabled/stories/index.story.d.ts +0 -6
  1235. package/build-types/disabled/stories/index.story.d.ts.map +1 -1
  1236. package/build-types/disclosure/index.d.ts +0 -3
  1237. package/build-types/disclosure/index.d.ts.map +1 -1
  1238. package/build-types/divider/component.d.ts +11 -9
  1239. package/build-types/divider/component.d.ts.map +1 -1
  1240. package/build-types/divider/stories/index.story.d.ts +0 -3
  1241. package/build-types/divider/stories/index.story.d.ts.map +1 -1
  1242. package/build-types/divider/types.d.ts +0 -6
  1243. package/build-types/divider/types.d.ts.map +1 -1
  1244. package/build-types/draggable/index.d.ts +0 -3
  1245. package/build-types/draggable/index.d.ts.map +1 -1
  1246. package/build-types/draggable/stories/index.story.d.ts +0 -6
  1247. package/build-types/draggable/stories/index.story.d.ts.map +1 -1
  1248. package/build-types/draggable/types.d.ts +0 -3
  1249. package/build-types/draggable/types.d.ts.map +1 -1
  1250. package/build-types/drop-zone/index.d.ts +0 -3
  1251. package/build-types/drop-zone/index.d.ts.map +1 -1
  1252. package/build-types/drop-zone/provider.d.ts.map +1 -1
  1253. package/build-types/drop-zone/stories/index.story.d.ts +0 -6
  1254. package/build-types/drop-zone/stories/index.story.d.ts.map +1 -1
  1255. package/build-types/dropdown/dropdown-content-wrapper.d.ts +6 -1
  1256. package/build-types/dropdown/dropdown-content-wrapper.d.ts.map +1 -1
  1257. package/build-types/dropdown/index.d.ts +5 -1
  1258. package/build-types/dropdown/index.d.ts.map +1 -1
  1259. package/build-types/dropdown/stories/index.story.d.ts +0 -6
  1260. package/build-types/dropdown/stories/index.story.d.ts.map +1 -1
  1261. package/build-types/dropdown/styles.d.ts.map +1 -1
  1262. package/build-types/dropdown/types.d.ts +4 -0
  1263. package/build-types/dropdown/types.d.ts.map +1 -1
  1264. package/build-types/dropdown-menu/index.d.ts +5 -1
  1265. package/build-types/dropdown-menu/index.d.ts.map +1 -1
  1266. package/build-types/dropdown-menu/stories/index.story.d.ts +0 -6
  1267. package/build-types/dropdown-menu/stories/index.story.d.ts.map +1 -1
  1268. package/build-types/dropdown-menu/types.d.ts +0 -6
  1269. package/build-types/dropdown-menu/types.d.ts.map +1 -1
  1270. package/build-types/duotone-picker/color-list-picker/index.d.ts.map +1 -1
  1271. package/build-types/duotone-picker/color-list-picker/types.d.ts +0 -3
  1272. package/build-types/duotone-picker/color-list-picker/types.d.ts.map +1 -1
  1273. package/build-types/duotone-picker/custom-duotone-bar.d.ts.map +1 -1
  1274. package/build-types/duotone-picker/duotone-picker.d.ts.map +1 -1
  1275. package/build-types/duotone-picker/duotone-swatch.d.ts.map +1 -1
  1276. package/build-types/duotone-picker/stories/duotone-picker.story.d.ts +0 -6
  1277. package/build-types/duotone-picker/stories/duotone-picker.story.d.ts.map +1 -1
  1278. package/build-types/duotone-picker/stories/duotone-swatch.story.d.ts +0 -6
  1279. package/build-types/duotone-picker/stories/duotone-swatch.story.d.ts.map +1 -1
  1280. package/build-types/duotone-picker/utils.d.ts +0 -3
  1281. package/build-types/duotone-picker/utils.d.ts.map +1 -1
  1282. package/build-types/elevation/component.d.ts +2 -3
  1283. package/build-types/elevation/component.d.ts.map +1 -1
  1284. package/build-types/elevation/hook.d.ts +1 -4
  1285. package/build-types/elevation/hook.d.ts.map +1 -1
  1286. package/build-types/elevation/stories/index.story.d.ts +0 -6
  1287. package/build-types/elevation/stories/index.story.d.ts.map +1 -1
  1288. package/build-types/elevation/styles.d.ts.map +1 -1
  1289. package/build-types/elevation/types.d.ts +0 -3
  1290. package/build-types/elevation/types.d.ts.map +1 -1
  1291. package/build-types/external-link/index.d.ts +0 -3
  1292. package/build-types/external-link/index.d.ts.map +1 -1
  1293. package/build-types/external-link/stories/index.story.d.ts +0 -6
  1294. package/build-types/external-link/stories/index.story.d.ts.map +1 -1
  1295. package/build-types/external-link/types.d.ts +0 -3
  1296. package/build-types/external-link/types.d.ts.map +1 -1
  1297. package/build-types/flex/context.d.ts.map +1 -1
  1298. package/build-types/flex/flex/component.d.ts.map +1 -1
  1299. package/build-types/flex/flex/hook.d.ts +1 -1
  1300. package/build-types/flex/flex/hook.d.ts.map +1 -1
  1301. package/build-types/flex/flex-block/component.d.ts.map +1 -1
  1302. package/build-types/flex/flex-block/hook.d.ts +1 -4
  1303. package/build-types/flex/flex-block/hook.d.ts.map +1 -1
  1304. package/build-types/flex/flex-item/component.d.ts.map +1 -1
  1305. package/build-types/flex/flex-item/hook.d.ts +1 -1
  1306. package/build-types/flex/flex-item/hook.d.ts.map +1 -1
  1307. package/build-types/flex/stories/index.story.d.ts +0 -6
  1308. package/build-types/flex/stories/index.story.d.ts.map +1 -1
  1309. package/build-types/flex/types.d.ts +0 -6
  1310. package/build-types/flex/types.d.ts.map +1 -1
  1311. package/build-types/focal-point-picker/controls.d.ts.map +1 -1
  1312. package/build-types/focal-point-picker/focal-point.d.ts +0 -3
  1313. package/build-types/focal-point-picker/focal-point.d.ts.map +1 -1
  1314. package/build-types/focal-point-picker/grid.d.ts.map +1 -1
  1315. package/build-types/focal-point-picker/index.d.ts.map +1 -1
  1316. package/build-types/focal-point-picker/media.d.ts.map +1 -1
  1317. package/build-types/focal-point-picker/stories/index.story.d.ts +0 -6
  1318. package/build-types/focal-point-picker/stories/index.story.d.ts.map +1 -1
  1319. package/build-types/focal-point-picker/styles/focal-point-picker-style.d.ts +126 -126
  1320. package/build-types/focal-point-picker/styles/focal-point-picker-style.d.ts.map +1 -1
  1321. package/build-types/focal-point-picker/styles/focal-point-style.d.ts.map +1 -1
  1322. package/build-types/focal-point-picker/types.d.ts +0 -6
  1323. package/build-types/focal-point-picker/types.d.ts.map +1 -1
  1324. package/build-types/focusable-iframe/index.d.ts +0 -3
  1325. package/build-types/focusable-iframe/index.d.ts.map +1 -1
  1326. package/build-types/focusable-iframe/types.d.ts +0 -3
  1327. package/build-types/focusable-iframe/types.d.ts.map +1 -1
  1328. package/build-types/font-size-picker/constants.d.ts.map +1 -1
  1329. package/build-types/font-size-picker/font-size-picker-select.d.ts +0 -3
  1330. package/build-types/font-size-picker/font-size-picker-select.d.ts.map +1 -1
  1331. package/build-types/font-size-picker/font-size-picker-toggle-group.d.ts.map +1 -1
  1332. package/build-types/font-size-picker/index.d.ts.map +1 -1
  1333. package/build-types/font-size-picker/stories/e2e/index.story.d.ts +0 -6
  1334. package/build-types/font-size-picker/stories/e2e/index.story.d.ts.map +1 -1
  1335. package/build-types/font-size-picker/stories/index.story.d.ts +0 -6
  1336. package/build-types/font-size-picker/stories/index.story.d.ts.map +1 -1
  1337. package/build-types/font-size-picker/styles.d.ts +2 -2
  1338. package/build-types/font-size-picker/styles.d.ts.map +1 -1
  1339. package/build-types/font-size-picker/utils.d.ts +0 -3
  1340. package/build-types/font-size-picker/utils.d.ts.map +1 -1
  1341. package/build-types/form-file-upload/index.d.ts.map +1 -1
  1342. package/build-types/form-file-upload/stories/index.story.d.ts +0 -6
  1343. package/build-types/form-file-upload/stories/index.story.d.ts.map +1 -1
  1344. package/build-types/form-file-upload/types.d.ts +0 -6
  1345. package/build-types/form-file-upload/types.d.ts.map +1 -1
  1346. package/build-types/form-toggle/index.d.ts +0 -3
  1347. package/build-types/form-toggle/index.d.ts.map +1 -1
  1348. package/build-types/form-toggle/stories/index.story.d.ts +0 -6
  1349. package/build-types/form-toggle/stories/index.story.d.ts.map +1 -1
  1350. package/build-types/form-toggle/types.d.ts +0 -3
  1351. package/build-types/form-toggle/types.d.ts.map +1 -1
  1352. package/build-types/form-token-field/index.d.ts.map +1 -1
  1353. package/build-types/form-token-field/stories/index.story.d.ts +0 -6
  1354. package/build-types/form-token-field/stories/index.story.d.ts.map +1 -1
  1355. package/build-types/form-token-field/suggestions-list.d.ts +0 -3
  1356. package/build-types/form-token-field/suggestions-list.d.ts.map +1 -1
  1357. package/build-types/form-token-field/token-input.d.ts +0 -3
  1358. package/build-types/form-token-field/token-input.d.ts.map +1 -1
  1359. package/build-types/form-token-field/token.d.ts.map +1 -1
  1360. package/build-types/form-token-field/types.d.ts +0 -3
  1361. package/build-types/form-token-field/types.d.ts.map +1 -1
  1362. package/build-types/gradient-picker/index.d.ts.map +1 -1
  1363. package/build-types/gradient-picker/stories/index.story.d.ts +0 -6
  1364. package/build-types/gradient-picker/stories/index.story.d.ts.map +1 -1
  1365. package/build-types/gradient-picker/types.d.ts +0 -3
  1366. package/build-types/gradient-picker/types.d.ts.map +1 -1
  1367. package/build-types/grid/component.d.ts.map +1 -1
  1368. package/build-types/grid/hook.d.ts +1 -4
  1369. package/build-types/grid/hook.d.ts.map +1 -1
  1370. package/build-types/grid/stories/index.story.d.ts +0 -3
  1371. package/build-types/grid/stories/index.story.d.ts.map +1 -1
  1372. package/build-types/grid/types.d.ts +0 -6
  1373. package/build-types/grid/types.d.ts.map +1 -1
  1374. package/build-types/grid/utils.d.ts +0 -3
  1375. package/build-types/grid/utils.d.ts.map +1 -1
  1376. package/build-types/guide/icons.d.ts.map +1 -1
  1377. package/build-types/guide/index.d.ts.map +1 -1
  1378. package/build-types/guide/page-control.d.ts.map +1 -1
  1379. package/build-types/guide/page.d.ts +0 -3
  1380. package/build-types/guide/page.d.ts.map +1 -1
  1381. package/build-types/guide/stories/index.story.d.ts +0 -3
  1382. package/build-types/guide/stories/index.story.d.ts.map +1 -1
  1383. package/build-types/guide/types.d.ts +0 -6
  1384. package/build-types/guide/types.d.ts.map +1 -1
  1385. package/build-types/h-stack/component.d.ts.map +1 -1
  1386. package/build-types/h-stack/hook.d.ts +1 -4
  1387. package/build-types/h-stack/hook.d.ts.map +1 -1
  1388. package/build-types/h-stack/stories/e2e/index.story.d.ts +0 -3
  1389. package/build-types/h-stack/stories/e2e/index.story.d.ts.map +1 -1
  1390. package/build-types/h-stack/stories/index.story.d.ts +0 -3
  1391. package/build-types/h-stack/stories/index.story.d.ts.map +1 -1
  1392. package/build-types/h-stack/types.d.ts +0 -6
  1393. package/build-types/h-stack/types.d.ts.map +1 -1
  1394. package/build-types/h-stack/utils.d.ts +0 -6
  1395. package/build-types/h-stack/utils.d.ts.map +1 -1
  1396. package/build-types/heading/component.d.ts.map +1 -1
  1397. package/build-types/heading/hook.d.ts +0 -3
  1398. package/build-types/heading/hook.d.ts.map +1 -1
  1399. package/build-types/heading/stories/index.story.d.ts +0 -6
  1400. package/build-types/heading/stories/index.story.d.ts.map +1 -1
  1401. package/build-types/heading/types.d.ts +0 -3
  1402. package/build-types/heading/types.d.ts.map +1 -1
  1403. package/build-types/higher-order/navigate-regions/index.d.ts.map +1 -1
  1404. package/build-types/higher-order/with-constrained-tabbing/index.d.ts.map +1 -1
  1405. package/build-types/higher-order/with-fallback-styles/index.d.ts.map +1 -1
  1406. package/build-types/higher-order/with-filters/index.d.ts.map +1 -1
  1407. package/build-types/higher-order/with-focus-return/index.d.ts.map +1 -1
  1408. package/build-types/higher-order/with-notices/index.d.ts.map +1 -1
  1409. package/build-types/higher-order/with-notices/types.d.ts +0 -3
  1410. package/build-types/higher-order/with-notices/types.d.ts.map +1 -1
  1411. package/build-types/higher-order/with-spoken-messages/index.d.ts.map +1 -1
  1412. package/build-types/icon/index.d.ts +0 -3
  1413. package/build-types/icon/index.d.ts.map +1 -1
  1414. package/build-types/input-control/backdrop.d.ts.map +1 -1
  1415. package/build-types/input-control/index.d.ts.map +1 -1
  1416. package/build-types/input-control/input-base.d.ts.map +1 -1
  1417. package/build-types/input-control/input-field.d.ts.map +1 -1
  1418. package/build-types/input-control/input-prefix-wrapper.d.ts.map +1 -1
  1419. package/build-types/input-control/input-suffix-wrapper.d.ts.map +1 -1
  1420. package/build-types/input-control/label.d.ts.map +1 -1
  1421. package/build-types/input-control/reducer/actions.d.ts +0 -6
  1422. package/build-types/input-control/reducer/actions.d.ts.map +1 -1
  1423. package/build-types/input-control/reducer/reducer.d.ts +0 -6
  1424. package/build-types/input-control/reducer/reducer.d.ts.map +1 -1
  1425. package/build-types/input-control/reducer/state.d.ts +0 -6
  1426. package/build-types/input-control/reducer/state.d.ts.map +1 -1
  1427. package/build-types/input-control/stories/index.story.d.ts +0 -6
  1428. package/build-types/input-control/stories/index.story.d.ts.map +1 -1
  1429. package/build-types/input-control/styles/input-control-styles.d.ts +2 -8
  1430. package/build-types/input-control/styles/input-control-styles.d.ts.map +1 -1
  1431. package/build-types/input-control/types.d.ts +0 -6
  1432. package/build-types/input-control/types.d.ts.map +1 -1
  1433. package/build-types/input-control/utils.d.ts +0 -6
  1434. package/build-types/input-control/utils.d.ts.map +1 -1
  1435. package/build-types/isolated-event-container/index.d.ts.map +1 -1
  1436. package/build-types/item-group/context.d.ts +0 -3
  1437. package/build-types/item-group/context.d.ts.map +1 -1
  1438. package/build-types/item-group/item/component.d.ts +0 -3
  1439. package/build-types/item-group/item/component.d.ts.map +1 -1
  1440. package/build-types/item-group/item/hook.d.ts +1 -4
  1441. package/build-types/item-group/item/hook.d.ts.map +1 -1
  1442. package/build-types/item-group/item-group/component.d.ts.map +1 -1
  1443. package/build-types/item-group/item-group/hook.d.ts +1 -4
  1444. package/build-types/item-group/item-group/hook.d.ts.map +1 -1
  1445. package/build-types/item-group/stories/index.story.d.ts +0 -6
  1446. package/build-types/item-group/stories/index.story.d.ts.map +1 -1
  1447. package/build-types/keyboard-shortcuts/index.d.ts +0 -3
  1448. package/build-types/keyboard-shortcuts/index.d.ts.map +1 -1
  1449. package/build-types/keyboard-shortcuts/stories/index.story.d.ts +0 -6
  1450. package/build-types/keyboard-shortcuts/stories/index.story.d.ts.map +1 -1
  1451. package/build-types/keyboard-shortcuts/types.d.ts +0 -3
  1452. package/build-types/keyboard-shortcuts/types.d.ts.map +1 -1
  1453. package/build-types/lock-unlock.d.ts.map +1 -1
  1454. package/build-types/menu/checkbox-item.d.ts.map +1 -1
  1455. package/build-types/menu/context.d.ts +0 -3
  1456. package/build-types/menu/context.d.ts.map +1 -1
  1457. package/build-types/menu/group-label.d.ts.map +1 -1
  1458. package/build-types/menu/group.d.ts.map +1 -1
  1459. package/build-types/menu/index.d.ts +7 -3
  1460. package/build-types/menu/index.d.ts.map +1 -1
  1461. package/build-types/menu/item-help-text.d.ts +1 -1
  1462. package/build-types/menu/item-help-text.d.ts.map +1 -1
  1463. package/build-types/menu/item-label.d.ts +1 -1
  1464. package/build-types/menu/item-label.d.ts.map +1 -1
  1465. package/build-types/menu/item.d.ts.map +1 -1
  1466. package/build-types/menu/popover.d.ts.map +1 -1
  1467. package/build-types/menu/radio-item.d.ts.map +1 -1
  1468. package/build-types/menu/separator.d.ts.map +1 -1
  1469. package/build-types/menu/stories/index.story.d.ts +1 -4
  1470. package/build-types/menu/stories/index.story.d.ts.map +1 -1
  1471. package/build-types/menu/styles.d.ts +2 -5
  1472. package/build-types/menu/styles.d.ts.map +1 -1
  1473. package/build-types/menu/submenu-trigger-item.d.ts.map +1 -1
  1474. package/build-types/menu/trigger-button.d.ts.map +1 -1
  1475. package/build-types/menu/types.d.ts +0 -3
  1476. package/build-types/menu/types.d.ts.map +1 -1
  1477. package/build-types/menu/use-menu-item-hide-on-click.d.ts +3 -0
  1478. package/build-types/menu/use-menu-item-hide-on-click.d.ts.map +1 -0
  1479. package/build-types/menu-group/index.d.ts +0 -3
  1480. package/build-types/menu-group/index.d.ts.map +1 -1
  1481. package/build-types/menu-group/stories/index.story.d.ts +0 -6
  1482. package/build-types/menu-group/stories/index.story.d.ts.map +1 -1
  1483. package/build-types/menu-group/types.d.ts +0 -3
  1484. package/build-types/menu-group/types.d.ts.map +1 -1
  1485. package/build-types/menu-item/index.d.ts.map +1 -1
  1486. package/build-types/menu-item/stories/index.story.d.ts +0 -3
  1487. package/build-types/menu-item/stories/index.story.d.ts.map +1 -1
  1488. package/build-types/menu-item/types.d.ts +0 -6
  1489. package/build-types/menu-item/types.d.ts.map +1 -1
  1490. package/build-types/menu-items-choice/index.d.ts.map +1 -1
  1491. package/build-types/menu-items-choice/stories/index.story.d.ts +0 -6
  1492. package/build-types/menu-items-choice/stories/index.story.d.ts.map +1 -1
  1493. package/build-types/menu-items-choice/types.d.ts +0 -3
  1494. package/build-types/menu-items-choice/types.d.ts.map +1 -1
  1495. package/build-types/modal/index.d.ts.map +1 -1
  1496. package/build-types/modal/stories/index.story.d.ts +0 -3
  1497. package/build-types/modal/stories/index.story.d.ts.map +1 -1
  1498. package/build-types/modal/types.d.ts +2 -3
  1499. package/build-types/modal/types.d.ts.map +1 -1
  1500. package/build-types/modal/use-modal-exit-animation.d.ts.map +1 -1
  1501. package/build-types/navigable-container/container.d.ts.map +1 -1
  1502. package/build-types/navigable-container/index.d.ts +0 -3
  1503. package/build-types/navigable-container/index.d.ts.map +1 -1
  1504. package/build-types/navigable-container/menu.d.ts +0 -3
  1505. package/build-types/navigable-container/menu.d.ts.map +1 -1
  1506. package/build-types/navigable-container/stories/navigable-menu.story.d.ts +0 -6
  1507. package/build-types/navigable-container/stories/navigable-menu.story.d.ts.map +1 -1
  1508. package/build-types/navigable-container/stories/tabbable-container.story.d.ts +0 -6
  1509. package/build-types/navigable-container/stories/tabbable-container.story.d.ts.map +1 -1
  1510. package/build-types/navigable-container/tabbable.d.ts +0 -3
  1511. package/build-types/navigable-container/tabbable.d.ts.map +1 -1
  1512. package/build-types/navigable-container/types.d.ts +0 -6
  1513. package/build-types/navigable-container/types.d.ts.map +1 -1
  1514. package/build-types/navigator/context.d.ts +0 -3
  1515. package/build-types/navigator/context.d.ts.map +1 -1
  1516. package/build-types/navigator/index.d.ts +2180 -50
  1517. package/build-types/navigator/index.d.ts.map +1 -1
  1518. package/build-types/navigator/legacy.d.ts +2953 -73
  1519. package/build-types/navigator/legacy.d.ts.map +1 -1
  1520. package/build-types/navigator/navigator/component.d.ts.map +1 -1
  1521. package/build-types/navigator/navigator-back-button/component.d.ts.map +1 -1
  1522. package/build-types/navigator/navigator-back-button/hook.d.ts +1 -4
  1523. package/build-types/navigator/navigator-back-button/hook.d.ts.map +1 -1
  1524. package/build-types/navigator/navigator-button/component.d.ts.map +1 -1
  1525. package/build-types/navigator/navigator-button/hook.d.ts +1 -4
  1526. package/build-types/navigator/navigator-button/hook.d.ts.map +1 -1
  1527. package/build-types/navigator/navigator-screen/component.d.ts +6 -1
  1528. package/build-types/navigator/navigator-screen/component.d.ts.map +1 -1
  1529. package/build-types/navigator/navigator-screen/use-screen-animate-presence.d.ts.map +1 -1
  1530. package/build-types/navigator/navigator-to-parent-button/component.d.ts.map +1 -1
  1531. package/build-types/navigator/stories/index.story.d.ts +0 -3
  1532. package/build-types/navigator/stories/index.story.d.ts.map +1 -1
  1533. package/build-types/navigator/styles.d.ts.map +1 -1
  1534. package/build-types/navigator/types.d.ts +0 -6
  1535. package/build-types/navigator/types.d.ts.map +1 -1
  1536. package/build-types/navigator/use-navigator.d.ts.map +1 -1
  1537. package/build-types/navigator/utils/router.d.ts +0 -3
  1538. package/build-types/navigator/utils/router.d.ts.map +1 -1
  1539. package/build-types/notice/index.d.ts.map +1 -1
  1540. package/build-types/notice/list.d.ts.map +1 -1
  1541. package/build-types/notice/stories/index.story.d.ts +0 -6
  1542. package/build-types/notice/stories/index.story.d.ts.map +1 -1
  1543. package/build-types/notice/types.d.ts +0 -3
  1544. package/build-types/notice/types.d.ts.map +1 -1
  1545. package/build-types/number-control/index.d.ts.map +1 -1
  1546. package/build-types/number-control/stories/index.story.d.ts +0 -6
  1547. package/build-types/number-control/stories/index.story.d.ts.map +1 -1
  1548. package/build-types/number-control/styles/number-control-styles.d.ts.map +1 -1
  1549. package/build-types/number-control/types.d.ts +0 -3
  1550. package/build-types/number-control/types.d.ts.map +1 -1
  1551. package/build-types/palette-edit/index.d.ts.map +1 -1
  1552. package/build-types/palette-edit/stories/index.story.d.ts +0 -6
  1553. package/build-types/palette-edit/stories/index.story.d.ts.map +1 -1
  1554. package/build-types/palette-edit/styles.d.ts +376 -376
  1555. package/build-types/palette-edit/styles.d.ts.map +1 -1
  1556. package/build-types/palette-edit/types.d.ts +0 -6
  1557. package/build-types/palette-edit/types.d.ts.map +1 -1
  1558. package/build-types/panel/body.d.ts +0 -3
  1559. package/build-types/panel/body.d.ts.map +1 -1
  1560. package/build-types/panel/header.d.ts +0 -3
  1561. package/build-types/panel/header.d.ts.map +1 -1
  1562. package/build-types/panel/index.d.ts.map +1 -1
  1563. package/build-types/panel/row.d.ts +0 -3
  1564. package/build-types/panel/row.d.ts.map +1 -1
  1565. package/build-types/panel/stories/index.story.d.ts +0 -6
  1566. package/build-types/panel/stories/index.story.d.ts.map +1 -1
  1567. package/build-types/panel/types.d.ts +0 -3
  1568. package/build-types/panel/types.d.ts.map +1 -1
  1569. package/build-types/placeholder/index.d.ts.map +1 -1
  1570. package/build-types/placeholder/stories/index.story.d.ts +0 -6
  1571. package/build-types/placeholder/stories/index.story.d.ts.map +1 -1
  1572. package/build-types/placeholder/types.d.ts +0 -6
  1573. package/build-types/placeholder/types.d.ts.map +1 -1
  1574. package/build-types/popover/index.d.ts +5 -1
  1575. package/build-types/popover/index.d.ts.map +1 -1
  1576. package/build-types/popover/overlay-middlewares.d.ts +0 -3
  1577. package/build-types/popover/overlay-middlewares.d.ts.map +1 -1
  1578. package/build-types/popover/stories/e2e/index.story.d.ts +5 -1
  1579. package/build-types/popover/stories/e2e/index.story.d.ts.map +1 -1
  1580. package/build-types/popover/stories/index.story.d.ts +0 -3
  1581. package/build-types/popover/stories/index.story.d.ts.map +1 -1
  1582. package/build-types/popover/test/utils/index.d.ts +0 -3
  1583. package/build-types/popover/test/utils/index.d.ts.map +1 -1
  1584. package/build-types/popover/types.d.ts +1 -1
  1585. package/build-types/popover/utils.d.ts +0 -3
  1586. package/build-types/popover/utils.d.ts.map +1 -1
  1587. package/build-types/private-apis.d.ts.map +1 -1
  1588. package/build-types/progress-bar/index.d.ts.map +1 -1
  1589. package/build-types/progress-bar/stories/index.story.d.ts +0 -6
  1590. package/build-types/progress-bar/stories/index.story.d.ts.map +1 -1
  1591. package/build-types/progress-bar/styles.d.ts.map +1 -1
  1592. package/build-types/query-controls/author-select.d.ts.map +1 -1
  1593. package/build-types/query-controls/index.d.ts.map +1 -1
  1594. package/build-types/query-controls/stories/index.story.d.ts +0 -6
  1595. package/build-types/query-controls/stories/index.story.d.ts.map +1 -1
  1596. package/build-types/query-controls/terms.d.ts +0 -3
  1597. package/build-types/query-controls/terms.d.ts.map +1 -1
  1598. package/build-types/query-controls/types.d.ts +0 -3
  1599. package/build-types/query-controls/types.d.ts.map +1 -1
  1600. package/build-types/radio-control/index.d.ts.map +1 -1
  1601. package/build-types/radio-control/stories/index.story.d.ts +0 -6
  1602. package/build-types/radio-control/stories/index.story.d.ts.map +1 -1
  1603. package/build-types/radio-control/types.d.ts +0 -3
  1604. package/build-types/radio-control/types.d.ts.map +1 -1
  1605. package/build-types/radio-group/context.d.ts +0 -3
  1606. package/build-types/radio-group/context.d.ts.map +1 -1
  1607. package/build-types/radio-group/index.d.ts.map +1 -1
  1608. package/build-types/radio-group/radio.d.ts.map +1 -1
  1609. package/build-types/radio-group/stories/index.story.d.ts +0 -6
  1610. package/build-types/radio-group/stories/index.story.d.ts.map +1 -1
  1611. package/build-types/range-control/index.d.ts.map +1 -1
  1612. package/build-types/range-control/input-range.d.ts +1 -1
  1613. package/build-types/range-control/input-range.d.ts.map +1 -1
  1614. package/build-types/range-control/mark.d.ts.map +1 -1
  1615. package/build-types/range-control/rail.d.ts.map +1 -1
  1616. package/build-types/range-control/stories/index.story.d.ts +0 -6
  1617. package/build-types/range-control/stories/index.story.d.ts.map +1 -1
  1618. package/build-types/range-control/styles/range-control-styles.d.ts.map +1 -1
  1619. package/build-types/range-control/tooltip.d.ts.map +1 -1
  1620. package/build-types/range-control/types.d.ts +0 -6
  1621. package/build-types/range-control/types.d.ts.map +1 -1
  1622. package/build-types/range-control/utils.d.ts.map +1 -1
  1623. package/build-types/resizable-box/index.d.ts +0 -3
  1624. package/build-types/resizable-box/index.d.ts.map +1 -1
  1625. package/build-types/resizable-box/resize-tooltip/index.d.ts.map +1 -1
  1626. package/build-types/resizable-box/resize-tooltip/label.d.ts +0 -3
  1627. package/build-types/resizable-box/resize-tooltip/label.d.ts.map +1 -1
  1628. package/build-types/resizable-box/resize-tooltip/styles/resize-tooltip.styles.d.ts +1 -1
  1629. package/build-types/resizable-box/resize-tooltip/styles/resize-tooltip.styles.d.ts.map +1 -1
  1630. package/build-types/resizable-box/resize-tooltip/utils.d.ts.map +1 -1
  1631. package/build-types/resizable-box/stories/index.story.d.ts +0 -6
  1632. package/build-types/resizable-box/stories/index.story.d.ts.map +1 -1
  1633. package/build-types/responsive-wrapper/index.d.ts +0 -3
  1634. package/build-types/responsive-wrapper/index.d.ts.map +1 -1
  1635. package/build-types/responsive-wrapper/stories/index.story.d.ts +0 -6
  1636. package/build-types/responsive-wrapper/stories/index.story.d.ts.map +1 -1
  1637. package/build-types/sandbox/index.d.ts +0 -3
  1638. package/build-types/sandbox/index.d.ts.map +1 -1
  1639. package/build-types/sandbox/stories/index.story.d.ts +1 -6
  1640. package/build-types/sandbox/stories/index.story.d.ts.map +1 -1
  1641. package/build-types/sandbox/types.d.ts +10 -0
  1642. package/build-types/sandbox/types.d.ts.map +1 -1
  1643. package/build-types/scroll-lock/index.d.ts.map +1 -1
  1644. package/build-types/scroll-lock/stories/index.story.d.ts +0 -3
  1645. package/build-types/scroll-lock/stories/index.story.d.ts.map +1 -1
  1646. package/build-types/scrollable/component.d.ts.map +1 -1
  1647. package/build-types/scrollable/hook.d.ts +1 -4
  1648. package/build-types/scrollable/hook.d.ts.map +1 -1
  1649. package/build-types/scrollable/stories/index.story.d.ts +0 -3
  1650. package/build-types/scrollable/stories/index.story.d.ts.map +1 -1
  1651. package/build-types/scrollable/styles.d.ts.map +1 -1
  1652. package/build-types/scrollable/types.d.ts +0 -3
  1653. package/build-types/scrollable/types.d.ts.map +1 -1
  1654. package/build-types/search-control/index.d.ts.map +1 -1
  1655. package/build-types/search-control/stories/index.story.d.ts +0 -6
  1656. package/build-types/search-control/stories/index.story.d.ts.map +1 -1
  1657. package/build-types/search-control/types.d.ts +0 -3
  1658. package/build-types/search-control/types.d.ts.map +1 -1
  1659. package/build-types/select-control/chevron-down.d.ts.map +1 -1
  1660. package/build-types/select-control/index.d.ts.map +1 -1
  1661. package/build-types/select-control/stories/index.story.d.ts +0 -6
  1662. package/build-types/select-control/stories/index.story.d.ts.map +1 -1
  1663. package/build-types/select-control/styles/select-control-styles.d.ts +2 -2
  1664. package/build-types/select-control/styles/select-control-styles.d.ts.map +1 -1
  1665. package/build-types/select-control/types.d.ts +0 -6
  1666. package/build-types/select-control/types.d.ts.map +1 -1
  1667. package/build-types/shortcut/index.d.ts +0 -3
  1668. package/build-types/shortcut/index.d.ts.map +1 -1
  1669. package/build-types/shortcut/stories/index.story.d.ts +0 -6
  1670. package/build-types/shortcut/stories/index.story.d.ts.map +1 -1
  1671. package/build-types/slot-fill/bubbles-virtually/slot.d.ts +1 -1
  1672. package/build-types/slot-fill/bubbles-virtually/slot.d.ts.map +1 -1
  1673. package/build-types/slot-fill/bubbles-virtually/use-slot-fills.d.ts.map +1 -1
  1674. package/build-types/slot-fill/bubbles-virtually/use-slot.d.ts.map +1 -1
  1675. package/build-types/slot-fill/context.d.ts +0 -3
  1676. package/build-types/slot-fill/context.d.ts.map +1 -1
  1677. package/build-types/slot-fill/fill.d.ts.map +1 -1
  1678. package/build-types/slot-fill/index.d.ts +0 -3
  1679. package/build-types/slot-fill/index.d.ts.map +1 -1
  1680. package/build-types/slot-fill/provider.d.ts.map +1 -1
  1681. package/build-types/slot-fill/slot.d.ts.map +1 -1
  1682. package/build-types/slot-fill/stories/index.story.d.ts.map +1 -1
  1683. package/build-types/slot-fill/types.d.ts +0 -6
  1684. package/build-types/slot-fill/types.d.ts.map +1 -1
  1685. package/build-types/snackbar/index.d.ts +1 -1
  1686. package/build-types/snackbar/index.d.ts.map +1 -1
  1687. package/build-types/snackbar/list.d.ts.map +1 -1
  1688. package/build-types/snackbar/stories/index.story.d.ts +0 -3
  1689. package/build-types/snackbar/stories/index.story.d.ts.map +1 -1
  1690. package/build-types/snackbar/stories/list.story.d.ts +0 -6
  1691. package/build-types/snackbar/stories/list.story.d.ts.map +1 -1
  1692. package/build-types/snackbar/types.d.ts +0 -6
  1693. package/build-types/snackbar/types.d.ts.map +1 -1
  1694. package/build-types/spacer/component.d.ts.map +1 -1
  1695. package/build-types/spacer/hook.d.ts +1 -1
  1696. package/build-types/spacer/hook.d.ts.map +1 -1
  1697. package/build-types/spacer/stories/index.story.d.ts.map +1 -1
  1698. package/build-types/spacer/types.d.ts +0 -6
  1699. package/build-types/spacer/types.d.ts.map +1 -1
  1700. package/build-types/spinner/index.d.ts.map +1 -1
  1701. package/build-types/spinner/stories/index.story.d.ts +0 -6
  1702. package/build-types/spinner/stories/index.story.d.ts.map +1 -1
  1703. package/build-types/style-provider/types.d.ts +0 -3
  1704. package/build-types/style-provider/types.d.ts.map +1 -1
  1705. package/build-types/surface/component.d.ts +6 -0
  1706. package/build-types/surface/component.d.ts.map +1 -1
  1707. package/build-types/surface/hook.d.ts +1 -1
  1708. package/build-types/surface/hook.d.ts.map +1 -1
  1709. package/build-types/surface/stories/index.story.d.ts +0 -6
  1710. package/build-types/surface/stories/index.story.d.ts.map +1 -1
  1711. package/build-types/tab-panel/index.d.ts.map +1 -1
  1712. package/build-types/tab-panel/types.d.ts +0 -6
  1713. package/build-types/tab-panel/types.d.ts.map +1 -1
  1714. package/build-types/tabs/context.d.ts +0 -3
  1715. package/build-types/tabs/context.d.ts.map +1 -1
  1716. package/build-types/tabs/index.d.ts +0 -3
  1717. package/build-types/tabs/index.d.ts.map +1 -1
  1718. package/build-types/tabs/styles.d.ts.map +1 -1
  1719. package/build-types/tabs/tab.d.ts +0 -6
  1720. package/build-types/tabs/tab.d.ts.map +1 -1
  1721. package/build-types/tabs/tablist.d.ts +0 -3
  1722. package/build-types/tabs/tablist.d.ts.map +1 -1
  1723. package/build-types/tabs/tabpanel.d.ts +0 -3
  1724. package/build-types/tabs/tabpanel.d.ts.map +1 -1
  1725. package/build-types/tabs/types.d.ts +0 -3
  1726. package/build-types/tabs/types.d.ts.map +1 -1
  1727. package/build-types/tabs/use-track-overflow.d.ts.map +1 -1
  1728. package/build-types/text/component.d.ts.map +1 -1
  1729. package/build-types/text/get-line-height.d.ts +0 -6
  1730. package/build-types/text/get-line-height.d.ts.map +1 -1
  1731. package/build-types/text/hook.d.ts +1 -4
  1732. package/build-types/text/hook.d.ts.map +1 -1
  1733. package/build-types/text/stories/index.story.d.ts +3 -9
  1734. package/build-types/text/stories/index.story.d.ts.map +1 -1
  1735. package/build-types/text/styles.d.ts.map +1 -1
  1736. package/build-types/text/types.d.ts +0 -6
  1737. package/build-types/text/types.d.ts.map +1 -1
  1738. package/build-types/text/utils.d.ts.map +1 -1
  1739. package/build-types/text-control/index.d.ts.map +1 -1
  1740. package/build-types/text-control/stories/index.story.d.ts +0 -6
  1741. package/build-types/text-control/stories/index.story.d.ts.map +1 -1
  1742. package/build-types/text-control/types.d.ts +0 -3
  1743. package/build-types/text-control/types.d.ts.map +1 -1
  1744. package/build-types/text-highlight/index.d.ts.map +1 -1
  1745. package/build-types/text-highlight/stories/index.story.d.ts +0 -6
  1746. package/build-types/text-highlight/stories/index.story.d.ts.map +1 -1
  1747. package/build-types/textarea-control/index.d.ts.map +1 -1
  1748. package/build-types/textarea-control/stories/index.story.d.ts +0 -6
  1749. package/build-types/textarea-control/stories/index.story.d.ts.map +1 -1
  1750. package/build-types/textarea-control/styles/textarea-control-styles.d.ts.map +1 -1
  1751. package/build-types/textarea-control/types.d.ts +0 -6
  1752. package/build-types/textarea-control/types.d.ts.map +1 -1
  1753. package/build-types/tip/index.d.ts +0 -3
  1754. package/build-types/tip/index.d.ts.map +1 -1
  1755. package/build-types/tip/stories/index.story.d.ts +0 -6
  1756. package/build-types/tip/stories/index.story.d.ts.map +1 -1
  1757. package/build-types/tip/types.d.ts +0 -3
  1758. package/build-types/tip/types.d.ts.map +1 -1
  1759. package/build-types/toggle-control/index.d.ts.map +1 -1
  1760. package/build-types/toggle-control/stories/index.story.d.ts +9 -17
  1761. package/build-types/toggle-control/stories/index.story.d.ts.map +1 -1
  1762. package/build-types/toggle-control/types.d.ts +0 -6
  1763. package/build-types/toggle-control/types.d.ts.map +1 -1
  1764. package/build-types/toggle-group-control/context.d.ts +0 -3
  1765. package/build-types/toggle-group-control/context.d.ts.map +1 -1
  1766. package/build-types/toggle-group-control/stories/index.story.d.ts +0 -6
  1767. package/build-types/toggle-group-control/stories/index.story.d.ts.map +1 -1
  1768. package/build-types/toggle-group-control/toggle-group-control/as-button-group.d.ts.map +1 -1
  1769. package/build-types/toggle-group-control/toggle-group-control/as-radio-group.d.ts.map +1 -1
  1770. package/build-types/toggle-group-control/toggle-group-control/component.d.ts +18 -12
  1771. package/build-types/toggle-group-control/toggle-group-control/component.d.ts.map +1 -1
  1772. package/build-types/toggle-group-control/toggle-group-control/utils.d.ts +0 -3
  1773. package/build-types/toggle-group-control/toggle-group-control/utils.d.ts.map +1 -1
  1774. package/build-types/toggle-group-control/toggle-group-control-option/component.d.ts.map +1 -1
  1775. package/build-types/toggle-group-control/toggle-group-control-option-base/component.d.ts +5 -4
  1776. package/build-types/toggle-group-control/toggle-group-control-option-base/component.d.ts.map +1 -1
  1777. package/build-types/toggle-group-control/toggle-group-control-option-icon/component.d.ts.map +1 -1
  1778. package/build-types/toggle-group-control/types.d.ts +4 -6
  1779. package/build-types/toggle-group-control/types.d.ts.map +1 -1
  1780. package/build-types/toolbar/stories/index.story.d.ts +0 -6
  1781. package/build-types/toolbar/stories/index.story.d.ts.map +1 -1
  1782. package/build-types/toolbar/toolbar/index.d.ts.map +1 -1
  1783. package/build-types/toolbar/toolbar/toolbar-container.d.ts.map +1 -1
  1784. package/build-types/toolbar/toolbar/types.d.ts +0 -3
  1785. package/build-types/toolbar/toolbar/types.d.ts.map +1 -1
  1786. package/build-types/toolbar/toolbar-button/index.d.ts.map +1 -1
  1787. package/build-types/toolbar/toolbar-button/toolbar-button-container.d.ts +0 -3
  1788. package/build-types/toolbar/toolbar-button/toolbar-button-container.d.ts.map +1 -1
  1789. package/build-types/toolbar/toolbar-button/types.d.ts +0 -3
  1790. package/build-types/toolbar/toolbar-button/types.d.ts.map +1 -1
  1791. package/build-types/toolbar/toolbar-context/index.d.ts +0 -3
  1792. package/build-types/toolbar/toolbar-context/index.d.ts.map +1 -1
  1793. package/build-types/toolbar/toolbar-dropdown-menu/index.d.ts.map +1 -1
  1794. package/build-types/toolbar/toolbar-group/index.d.ts.map +1 -1
  1795. package/build-types/toolbar/toolbar-group/toolbar-group-collapsed.d.ts.map +1 -1
  1796. package/build-types/toolbar/toolbar-group/toolbar-group-container.d.ts +0 -3
  1797. package/build-types/toolbar/toolbar-group/toolbar-group-container.d.ts.map +1 -1
  1798. package/build-types/toolbar/toolbar-group/types.d.ts +0 -9
  1799. package/build-types/toolbar/toolbar-group/types.d.ts.map +1 -1
  1800. package/build-types/toolbar/toolbar-item/index.d.ts.map +1 -1
  1801. package/build-types/toolbar/toolbar-item/types.d.ts +0 -3
  1802. package/build-types/toolbar/toolbar-item/types.d.ts.map +1 -1
  1803. package/build-types/tools-panel/context.d.ts +0 -3
  1804. package/build-types/tools-panel/context.d.ts.map +1 -1
  1805. package/build-types/tools-panel/stories/index.story.d.ts +0 -6
  1806. package/build-types/tools-panel/stories/index.story.d.ts.map +1 -1
  1807. package/build-types/tools-panel/tools-panel/component.d.ts.map +1 -1
  1808. package/build-types/tools-panel/tools-panel/hook.d.ts +1 -1
  1809. package/build-types/tools-panel/tools-panel/hook.d.ts.map +1 -1
  1810. package/build-types/tools-panel/tools-panel-header/component.d.ts.map +1 -1
  1811. package/build-types/tools-panel/tools-panel-header/hook.d.ts +1 -1
  1812. package/build-types/tools-panel/tools-panel-header/hook.d.ts.map +1 -1
  1813. package/build-types/tools-panel/tools-panel-item/component.d.ts.map +1 -1
  1814. package/build-types/tools-panel/tools-panel-item/hook.d.ts +1 -1
  1815. package/build-types/tools-panel/tools-panel-item/hook.d.ts.map +1 -1
  1816. package/build-types/tools-panel/types.d.ts +0 -6
  1817. package/build-types/tools-panel/types.d.ts.map +1 -1
  1818. package/build-types/tooltip/stories/index.story.d.ts +0 -6
  1819. package/build-types/tooltip/stories/index.story.d.ts.map +1 -1
  1820. package/build-types/tooltip/test/utils/index.d.ts.map +1 -1
  1821. package/build-types/tooltip/types.d.ts +0 -6
  1822. package/build-types/tooltip/types.d.ts.map +1 -1
  1823. package/build-types/tree-grid/cell.d.ts.map +1 -1
  1824. package/build-types/tree-grid/index.d.ts.map +1 -1
  1825. package/build-types/tree-grid/item.d.ts.map +1 -1
  1826. package/build-types/tree-grid/roving-tab-index-context.d.ts.map +1 -1
  1827. package/build-types/tree-grid/roving-tab-index-item.d.ts.map +1 -1
  1828. package/build-types/tree-grid/roving-tab-index.d.ts.map +1 -1
  1829. package/build-types/tree-grid/row.d.ts.map +1 -1
  1830. package/build-types/tree-grid/stories/index.story.d.ts +0 -6
  1831. package/build-types/tree-grid/stories/index.story.d.ts.map +1 -1
  1832. package/build-types/tree-select/index.d.ts.map +1 -1
  1833. package/build-types/tree-select/stories/index.story.d.ts +0 -6
  1834. package/build-types/tree-select/stories/index.story.d.ts.map +1 -1
  1835. package/build-types/tree-select/types.d.ts +0 -3
  1836. package/build-types/tree-select/types.d.ts.map +1 -1
  1837. package/build-types/truncate/component.d.ts.map +1 -1
  1838. package/build-types/truncate/hook.d.ts +1 -4
  1839. package/build-types/truncate/hook.d.ts.map +1 -1
  1840. package/build-types/truncate/stories/index.story.d.ts +0 -6
  1841. package/build-types/truncate/stories/index.story.d.ts.map +1 -1
  1842. package/build-types/truncate/types.d.ts +0 -3
  1843. package/build-types/truncate/types.d.ts.map +1 -1
  1844. package/build-types/truncate/utils.d.ts.map +1 -1
  1845. package/build-types/unit-control/index.d.ts.map +1 -1
  1846. package/build-types/unit-control/stories/index.story.d.ts +0 -6
  1847. package/build-types/unit-control/stories/index.story.d.ts.map +1 -1
  1848. package/build-types/unit-control/styles/unit-control-styles.d.ts.map +1 -1
  1849. package/build-types/unit-control/types.d.ts +0 -6
  1850. package/build-types/unit-control/types.d.ts.map +1 -1
  1851. package/build-types/unit-control/unit-select-control.d.ts.map +1 -1
  1852. package/build-types/unit-control/utils.d.ts +0 -3
  1853. package/build-types/unit-control/utils.d.ts.map +1 -1
  1854. package/build-types/utils/base-label.d.ts.map +1 -1
  1855. package/build-types/utils/box-sizing.d.ts.map +1 -1
  1856. package/build-types/utils/breakpoint.d.ts +0 -3
  1857. package/build-types/utils/breakpoint.d.ts.map +1 -1
  1858. package/build-types/utils/colors.d.ts.map +1 -1
  1859. package/build-types/utils/config-values.d.ts +0 -1
  1860. package/build-types/utils/element-rect.d.ts.map +1 -1
  1861. package/build-types/utils/font-size.d.ts +0 -3
  1862. package/build-types/utils/font-size.d.ts.map +1 -1
  1863. package/build-types/utils/font.d.ts +0 -3
  1864. package/build-types/utils/font.d.ts.map +1 -1
  1865. package/build-types/utils/get-valid-children.d.ts +0 -3
  1866. package/build-types/utils/get-valid-children.d.ts.map +1 -1
  1867. package/build-types/utils/hooks/use-animated-offset-rect.d.ts +0 -3
  1868. package/build-types/utils/hooks/use-animated-offset-rect.d.ts.map +1 -1
  1869. package/build-types/utils/hooks/use-controlled-state.d.ts.map +1 -1
  1870. package/build-types/utils/hooks/use-controlled-value.d.ts.map +1 -1
  1871. package/build-types/utils/hooks/use-cx.d.ts.map +1 -1
  1872. package/build-types/utils/hooks/use-on-value-update.d.ts.map +1 -1
  1873. package/build-types/utils/hooks/use-update-effect.d.ts.map +1 -1
  1874. package/build-types/utils/polymorphic-element.d.ts +0 -3
  1875. package/build-types/utils/polymorphic-element.d.ts.map +1 -1
  1876. package/build-types/utils/rtl.d.ts.map +1 -1
  1877. package/build-types/utils/strings.d.ts +0 -12
  1878. package/build-types/utils/strings.d.ts.map +1 -1
  1879. package/build-types/utils/use-responsive-value.d.ts.map +1 -1
  1880. package/build-types/v-stack/component.d.ts.map +1 -1
  1881. package/build-types/v-stack/hook.d.ts +1 -4
  1882. package/build-types/v-stack/hook.d.ts.map +1 -1
  1883. package/build-types/v-stack/stories/e2e/index.story.d.ts +0 -3
  1884. package/build-types/v-stack/stories/e2e/index.story.d.ts.map +1 -1
  1885. package/build-types/v-stack/stories/index.story.d.ts +1 -4
  1886. package/build-types/v-stack/stories/index.story.d.ts.map +1 -1
  1887. package/build-types/v-stack/types.d.ts +0 -6
  1888. package/build-types/v-stack/types.d.ts.map +1 -1
  1889. package/build-types/validated-form-controls/components/combobox-control.d.ts.map +1 -1
  1890. package/build-types/validated-form-controls/components/content-editable-control.d.ts.map +1 -1
  1891. package/build-types/validated-form-controls/components/custom-select-control.d.ts.map +1 -1
  1892. package/build-types/validated-form-controls/components/form-token-field.d.ts.map +1 -1
  1893. package/build-types/validated-form-controls/components/index.d.ts +0 -5
  1894. package/build-types/validated-form-controls/components/index.d.ts.map +1 -1
  1895. package/build-types/validated-form-controls/components/input-control.d.ts.map +1 -1
  1896. package/build-types/validated-form-controls/components/range-control.d.ts.map +1 -1
  1897. package/build-types/validated-form-controls/components/stories/combobox-control.story.d.ts +0 -6
  1898. package/build-types/validated-form-controls/components/stories/combobox-control.story.d.ts.map +1 -1
  1899. package/build-types/validated-form-controls/components/stories/content-editable-control.story.d.ts +0 -3
  1900. package/build-types/validated-form-controls/components/stories/content-editable-control.story.d.ts.map +1 -1
  1901. package/build-types/validated-form-controls/components/stories/custom-select-control.story.d.ts +0 -6
  1902. package/build-types/validated-form-controls/components/stories/custom-select-control.story.d.ts.map +1 -1
  1903. package/build-types/validated-form-controls/components/stories/form-token-field.story.d.ts +0 -6
  1904. package/build-types/validated-form-controls/components/stories/form-token-field.story.d.ts.map +1 -1
  1905. package/build-types/validated-form-controls/components/stories/input-control.story.d.ts +0 -6
  1906. package/build-types/validated-form-controls/components/stories/input-control.story.d.ts.map +1 -1
  1907. package/build-types/validated-form-controls/components/stories/overview.story.d.ts +0 -6
  1908. package/build-types/validated-form-controls/components/stories/overview.story.d.ts.map +1 -1
  1909. package/build-types/validated-form-controls/components/stories/range-control.story.d.ts +0 -3
  1910. package/build-types/validated-form-controls/components/stories/range-control.story.d.ts.map +1 -1
  1911. package/build-types/validated-form-controls/components/stories/story-utils.d.ts +0 -6
  1912. package/build-types/validated-form-controls/components/stories/story-utils.d.ts.map +1 -1
  1913. package/build-types/validated-form-controls/components/stories/textarea-control.story.d.ts +0 -3
  1914. package/build-types/validated-form-controls/components/stories/textarea-control.story.d.ts.map +1 -1
  1915. package/build-types/validated-form-controls/components/stories/toggle-control.story.d.ts +0 -3
  1916. package/build-types/validated-form-controls/components/stories/toggle-control.story.d.ts.map +1 -1
  1917. package/build-types/validated-form-controls/components/stories/toggle-group-control.story.d.ts +0 -3
  1918. package/build-types/validated-form-controls/components/stories/toggle-group-control.story.d.ts.map +1 -1
  1919. package/build-types/validated-form-controls/components/textarea-control.d.ts.map +1 -1
  1920. package/build-types/validated-form-controls/components/toggle-control.d.ts.map +1 -1
  1921. package/build-types/validated-form-controls/components/toggle-group-control.d.ts +2 -1
  1922. package/build-types/validated-form-controls/components/toggle-group-control.d.ts.map +1 -1
  1923. package/build-types/validated-form-controls/control-with-error.d.ts +0 -3
  1924. package/build-types/validated-form-controls/control-with-error.d.ts.map +1 -1
  1925. package/build-types/validated-form-controls/validity-indicator.d.ts.map +1 -1
  1926. package/build-types/view/component.d.ts +125 -125
  1927. package/build-types/view/component.d.ts.map +1 -1
  1928. package/build-types/view/stories/index.story.d.ts +0 -6
  1929. package/build-types/view/stories/index.story.d.ts.map +1 -1
  1930. package/build-types/visually-hidden/component.d.ts.map +1 -1
  1931. package/build-types/visually-hidden/styles.d.ts +0 -3
  1932. package/build-types/visually-hidden/styles.d.ts.map +1 -1
  1933. package/build-types/visually-hidden/types.d.ts +0 -3
  1934. package/build-types/visually-hidden/types.d.ts.map +1 -1
  1935. package/build-types/z-stack/component.d.ts.map +1 -1
  1936. package/build-types/z-stack/stories/index.story.d.ts.map +1 -1
  1937. package/build-types/z-stack/styles.d.ts.map +1 -1
  1938. package/build-types/z-stack/types.d.ts +0 -3
  1939. package/build-types/z-stack/types.d.ts.map +1 -1
  1940. package/package.json +27 -27
  1941. package/src/alignment-matrix-control/cell.tsx +0 -11
  1942. package/src/alignment-matrix-control/icon.tsx +0 -11
  1943. package/src/alignment-matrix-control/index.tsx +0 -11
  1944. package/src/alignment-matrix-control/stories/index.story.tsx +0 -11
  1945. package/src/alignment-matrix-control/test/index.tsx +0 -7
  1946. package/src/alignment-matrix-control/utils.tsx +0 -7
  1947. package/src/angle-picker-control/README.md +1 -1
  1948. package/src/angle-picker-control/angle-circle.tsx +0 -12
  1949. package/src/angle-picker-control/index.tsx +0 -12
  1950. package/src/angle-picker-control/stories/index.story.tsx +0 -11
  1951. package/src/animate/README.md +4 -0
  1952. package/src/animate/index.tsx +12 -7
  1953. package/src/animate/stories/index.story.tsx +2 -9
  1954. package/src/autocomplete/autocompleter-ui.tsx +0 -11
  1955. package/src/autocomplete/get-autocomplete-match.ts +0 -7
  1956. package/src/autocomplete/get-default-use-items.tsx +0 -11
  1957. package/src/autocomplete/index.tsx +1 -9
  1958. package/src/autocomplete/test/get-autocomplete-match.ts +0 -3
  1959. package/src/autocomplete/test/index.tsx +0 -11
  1960. package/src/autocomplete/types.ts +0 -11
  1961. package/src/badge/index.tsx +0 -11
  1962. package/src/badge/stories/e2e/index.story.tsx +0 -1
  1963. package/src/badge/stories/index.story.tsx +0 -7
  1964. package/src/badge/test/index.tsx +0 -7
  1965. package/src/base-control/README.md +3 -3
  1966. package/src/base-control/hooks.ts +0 -7
  1967. package/src/base-control/index.tsx +0 -11
  1968. package/src/base-control/stories/index.story.tsx +0 -7
  1969. package/src/base-control/styles/base-control-styles.ts +0 -7
  1970. package/src/base-control/test/index.tsx +0 -7
  1971. package/src/base-control/types.ts +0 -3
  1972. package/src/border-box-control/border-box-control/component.tsx +0 -8
  1973. package/src/border-box-control/border-box-control/hook.ts +0 -8
  1974. package/src/border-box-control/border-box-control-linked-button/component.tsx +0 -8
  1975. package/src/border-box-control/border-box-control-linked-button/hook.ts +0 -8
  1976. package/src/border-box-control/border-box-control-split-controls/component.tsx +0 -8
  1977. package/src/border-box-control/border-box-control-split-controls/hook.ts +0 -8
  1978. package/src/border-box-control/border-box-control-visualizer/component.tsx +0 -4
  1979. package/src/border-box-control/border-box-control-visualizer/hook.ts +0 -8
  1980. package/src/border-box-control/stories/index.story.tsx +0 -11
  1981. package/src/border-box-control/styles.ts +0 -8
  1982. package/src/border-box-control/test/index.tsx +0 -7
  1983. package/src/border-box-control/test/utils.ts +10 -23
  1984. package/src/border-box-control/types.ts +0 -3
  1985. package/src/border-box-control/utils.ts +0 -7
  1986. package/src/border-control/border-control/component.tsx +0 -8
  1987. package/src/border-control/border-control/hook.ts +0 -7
  1988. package/src/border-control/border-control-dropdown/component.tsx +0 -12
  1989. package/src/border-control/border-control-dropdown/hook.ts +0 -8
  1990. package/src/border-control/border-control-style-picker/component.tsx +0 -7
  1991. package/src/border-control/stories/index.story.tsx +0 -11
  1992. package/src/border-control/styles.ts +0 -8
  1993. package/src/border-control/test/index.js +0 -7
  1994. package/src/border-control/types.ts +0 -7
  1995. package/src/box-control/box-input-control.tsx +0 -7
  1996. package/src/box-control/icon.tsx +0 -3
  1997. package/src/box-control/index.tsx +0 -7
  1998. package/src/box-control/linked-button.tsx +0 -7
  1999. package/src/box-control/stories/index.story.tsx +0 -11
  2000. package/src/box-control/styles/box-control-icon-styles.ts +0 -3
  2001. package/src/box-control/styles/box-control-styles.ts +0 -6
  2002. package/src/box-control/test/index.tsx +0 -11
  2003. package/src/box-control/types.ts +0 -3
  2004. package/src/box-control/utils.ts +0 -7
  2005. package/src/button/deprecated.tsx +0 -11
  2006. package/src/button/index.tsx +0 -11
  2007. package/src/button/stories/e2e/index.story.tsx +16 -12
  2008. package/src/button/stories/index.story.tsx +0 -11
  2009. package/src/button/style.scss +4 -0
  2010. package/src/button/test/index.tsx +3 -14
  2011. package/src/button/types.ts +0 -7
  2012. package/src/button-group/README.md +1 -3
  2013. package/src/button-group/index.tsx +0 -11
  2014. package/src/button-group/stories/index.story.tsx +0 -7
  2015. package/src/button-group/types.ts +0 -3
  2016. package/src/card/card/component.tsx +0 -11
  2017. package/src/card/card/hook.ts +0 -7
  2018. package/src/card/card-body/component.tsx +0 -7
  2019. package/src/card/card-body/hook.ts +0 -7
  2020. package/src/card/card-divider/component.tsx +0 -7
  2021. package/src/card/card-divider/hook.ts +0 -7
  2022. package/src/card/card-footer/component.tsx +0 -7
  2023. package/src/card/card-footer/hook.ts +0 -7
  2024. package/src/card/card-header/component.tsx +0 -7
  2025. package/src/card/card-header/hook.ts +0 -7
  2026. package/src/card/card-media/component.tsx +0 -7
  2027. package/src/card/card-media/hook.ts +0 -7
  2028. package/src/card/get-padding-by-size.ts +0 -7
  2029. package/src/card/styles.ts +0 -7
  2030. package/src/card/test/__snapshots__/index.tsx.snap +31 -31
  2031. package/src/card/test/index.tsx +0 -7
  2032. package/src/card/types.ts +0 -3
  2033. package/src/checkbox-control/index.tsx +0 -11
  2034. package/src/checkbox-control/stories/index.story.tsx +127 -99
  2035. package/src/checkbox-control/test/index.tsx +0 -11
  2036. package/src/checkbox-control/types.ts +0 -7
  2037. package/src/circular-option-picker/README.md +1 -3
  2038. package/src/circular-option-picker/circular-option-picker-actions.tsx +0 -7
  2039. package/src/circular-option-picker/circular-option-picker-context.tsx +0 -7
  2040. package/src/circular-option-picker/circular-option-picker-option-group.tsx +0 -7
  2041. package/src/circular-option-picker/circular-option-picker-option.tsx +0 -11
  2042. package/src/circular-option-picker/circular-option-picker.tsx +0 -11
  2043. package/src/circular-option-picker/index.tsx +0 -3
  2044. package/src/circular-option-picker/stories/index.story.tsx +0 -9
  2045. package/src/circular-option-picker/test/index.tsx +0 -7
  2046. package/src/circular-option-picker/types.ts +0 -11
  2047. package/src/circular-option-picker/utils.tsx +0 -3
  2048. package/src/clipboard-button/README.md +1 -3
  2049. package/src/clipboard-button/index.tsx +0 -11
  2050. package/src/clipboard-button/types.ts +0 -3
  2051. package/src/color-indicator/index.tsx +0 -11
  2052. package/src/color-indicator/stories/index.story.tsx +0 -7
  2053. package/src/color-indicator/test/index.tsx +0 -7
  2054. package/src/color-indicator/types.ts +0 -3
  2055. package/src/color-palette/index.tsx +0 -11
  2056. package/src/color-palette/stories/index.story.tsx +0 -11
  2057. package/src/color-palette/styles.ts +0 -7
  2058. package/src/color-palette/test/index.tsx +0 -9
  2059. package/src/color-palette/test/utils.ts +0 -3
  2060. package/src/color-palette/types.ts +0 -7
  2061. package/src/color-palette/utils.ts +0 -11
  2062. package/src/color-picker/color-copy-button.tsx +0 -8
  2063. package/src/color-picker/color-input.tsx +0 -3
  2064. package/src/color-picker/component.tsx +0 -12
  2065. package/src/color-picker/hex-input.tsx +0 -11
  2066. package/src/color-picker/hsl-input.tsx +0 -7
  2067. package/src/color-picker/index.ts +0 -3
  2068. package/src/color-picker/input-with-slider.tsx +1 -4
  2069. package/src/color-picker/legacy-adapter.tsx +0 -3
  2070. package/src/color-picker/picker.tsx +0 -7
  2071. package/src/color-picker/rgb-input.tsx +0 -7
  2072. package/src/color-picker/stories/index.story.tsx +0 -7
  2073. package/src/color-picker/styles.ts +0 -7
  2074. package/src/color-picker/test/index.tsx +0 -11
  2075. package/src/color-picker/types.ts +0 -6
  2076. package/src/color-picker/use-deprecated-props.ts +0 -11
  2077. package/src/combobox-control/index.tsx +1 -12
  2078. package/src/combobox-control/stories/index.story.tsx +0 -11
  2079. package/src/combobox-control/test/index.tsx +0 -11
  2080. package/src/combobox-control/types.ts +0 -3
  2081. package/src/composite/context.tsx +0 -7
  2082. package/src/composite/group-label.tsx +0 -11
  2083. package/src/composite/group.tsx +0 -11
  2084. package/src/composite/hover.tsx +0 -11
  2085. package/src/composite/index.tsx +0 -12
  2086. package/src/composite/item.tsx +0 -11
  2087. package/src/composite/legacy/index.tsx +0 -12
  2088. package/src/composite/legacy/stories/index.story.tsx +0 -7
  2089. package/src/composite/legacy/stories/utils.tsx +0 -7
  2090. package/src/composite/legacy/test/index.tsx +0 -7
  2091. package/src/composite/row.tsx +0 -11
  2092. package/src/composite/stories/index.story.tsx +0 -11
  2093. package/src/composite/test/index.tsx +0 -11
  2094. package/src/composite/typeahead.tsx +0 -11
  2095. package/src/composite/types.ts +0 -3
  2096. package/src/confirm-dialog/README.md +71 -66
  2097. package/src/confirm-dialog/component.tsx +26 -24
  2098. package/src/confirm-dialog/docs-manifest.json +5 -0
  2099. package/src/confirm-dialog/index.tsx +0 -3
  2100. package/src/confirm-dialog/stories/index.story.tsx +0 -11
  2101. package/src/confirm-dialog/test/index.tsx +0 -7
  2102. package/src/confirm-dialog/types.ts +4 -7
  2103. package/src/content-editable-control/index.tsx +0 -11
  2104. package/src/content-editable-control/stories/index.story.tsx +0 -7
  2105. package/src/content-editable-control/test/index.tsx +0 -7
  2106. package/src/content-editable-control/types.ts +0 -3
  2107. package/src/context/context-connect.ts +4 -15
  2108. package/src/context/context-system-provider.js +0 -11
  2109. package/src/context/get-styled-class-name-from-key.ts +0 -3
  2110. package/src/context/stories/ComponentsProvider.stories.jsx +0 -7
  2111. package/src/context/test/__snapshots__/context-system-provider.js.snap +3 -3
  2112. package/src/context/test/context-connect.tsx +0 -7
  2113. package/src/context/test/context-system-provider.js +0 -11
  2114. package/src/context/test/wordpress-component.tsx +0 -11
  2115. package/src/context/use-context-system.js +4 -11
  2116. package/src/context/utils.js +0 -3
  2117. package/src/context/wordpress-component.ts +40 -13
  2118. package/src/custom-gradient-picker/constants.ts +0 -3
  2119. package/src/custom-gradient-picker/gradient-bar/control-points.tsx +0 -12
  2120. package/src/custom-gradient-picker/gradient-bar/index.tsx +1 -12
  2121. package/src/custom-gradient-picker/gradient-bar/test/utils.ts +0 -3
  2122. package/src/custom-gradient-picker/gradient-bar/utils.ts +0 -3
  2123. package/src/custom-gradient-picker/index.tsx +1 -12
  2124. package/src/custom-gradient-picker/serializer.ts +0 -3
  2125. package/src/custom-gradient-picker/stories/index.story.tsx +0 -10
  2126. package/src/custom-gradient-picker/styles/custom-gradient-picker-styles.tsx +0 -6
  2127. package/src/custom-gradient-picker/test/index.tsx +0 -11
  2128. package/src/custom-gradient-picker/test/serializer.ts +0 -3
  2129. package/src/custom-gradient-picker/types.ts +0 -3
  2130. package/src/custom-gradient-picker/utils.ts +0 -7
  2131. package/src/custom-select-control/index.tsx +0 -11
  2132. package/src/custom-select-control/stories/index.story.tsx +0 -11
  2133. package/src/custom-select-control/test/index.tsx +0 -11
  2134. package/src/custom-select-control/types.ts +0 -3
  2135. package/src/custom-select-control-v2/custom-select.tsx +0 -11
  2136. package/src/custom-select-control-v2/index.tsx +0 -6
  2137. package/src/custom-select-control-v2/item.tsx +0 -6
  2138. package/src/custom-select-control-v2/stories/index.story.tsx +0 -11
  2139. package/src/custom-select-control-v2/styles.ts +0 -6
  2140. package/src/custom-select-control-v2/test/index.tsx +0 -11
  2141. package/src/custom-select-control-v2/types.ts +0 -3
  2142. package/src/dashicon/index.tsx +0 -4
  2143. package/src/date-time/date-picker/index.tsx +0 -11
  2144. package/src/date-time/date-picker/styles.ts +0 -7
  2145. package/src/date-time/date-picker/test/index.tsx +0 -7
  2146. package/src/date-time/date-picker/test/use-lilius.ts +0 -7
  2147. package/src/date-time/date-picker/use-lilius/index.ts +0 -8
  2148. package/src/date-time/date-time/index.tsx +0 -11
  2149. package/src/date-time/date-time/styles.ts +0 -7
  2150. package/src/date-time/date-time/test/index.tsx +0 -11
  2151. package/src/date-time/index.ts +0 -3
  2152. package/src/date-time/stories/date-time.story.tsx +0 -11
  2153. package/src/date-time/stories/date.story.tsx +0 -11
  2154. package/src/date-time/stories/time.story.tsx +0 -11
  2155. package/src/date-time/time-picker/styles.ts +0 -7
  2156. package/src/date-time/time-picker/test/index.tsx +0 -11
  2157. package/src/date-time/time-picker/time-input/index.tsx +0 -11
  2158. package/src/date-time/time-picker/time-input/test/index.tsx +0 -7
  2159. package/src/date-time/time-picker/timezone.tsx +0 -7
  2160. package/src/date-time/types.ts +0 -3
  2161. package/src/date-time/utils.ts +0 -11
  2162. package/src/disabled/index.tsx +1 -1
  2163. package/src/disabled/stories/index.story.tsx +0 -11
  2164. package/src/disabled/test/index.tsx +0 -7
  2165. package/src/disclosure/index.tsx +0 -11
  2166. package/src/divider/README.md +1 -3
  2167. package/src/divider/component.tsx +0 -7
  2168. package/src/divider/stories/index.story.tsx +0 -7
  2169. package/src/divider/test/index.tsx +0 -7
  2170. package/src/divider/types.ts +0 -7
  2171. package/src/draggable/index.tsx +1 -12
  2172. package/src/draggable/stories/index.story.tsx +0 -11
  2173. package/src/draggable/types.ts +0 -3
  2174. package/src/drop-zone/index.tsx +0 -11
  2175. package/src/drop-zone/provider.ts +0 -3
  2176. package/src/drop-zone/stories/index.story.tsx +0 -11
  2177. package/src/dropdown/dropdown-content-wrapper.tsx +0 -7
  2178. package/src/dropdown/index.tsx +0 -11
  2179. package/src/dropdown/stories/index.story.tsx +0 -7
  2180. package/src/dropdown/styles.ts +0 -7
  2181. package/src/dropdown/test/index.tsx +0 -7
  2182. package/src/dropdown/types.ts +4 -0
  2183. package/src/dropdown-menu/index.tsx +0 -11
  2184. package/src/dropdown-menu/stories/index.story.tsx +0 -11
  2185. package/src/dropdown-menu/test/index.tsx +0 -11
  2186. package/src/dropdown-menu/types.ts +0 -6
  2187. package/src/duotone-picker/color-list-picker/index.tsx +1 -8
  2188. package/src/duotone-picker/color-list-picker/types.ts +0 -3
  2189. package/src/duotone-picker/custom-duotone-bar.tsx +0 -4
  2190. package/src/duotone-picker/duotone-picker.tsx +0 -12
  2191. package/src/duotone-picker/duotone-swatch.tsx +0 -7
  2192. package/src/duotone-picker/stories/duotone-picker.story.tsx +0 -11
  2193. package/src/duotone-picker/stories/duotone-swatch.story.tsx +0 -7
  2194. package/src/duotone-picker/utils.ts +0 -7
  2195. package/src/elevation/README.md +3 -6
  2196. package/src/elevation/component.tsx +2 -10
  2197. package/src/elevation/hook.ts +0 -11
  2198. package/src/elevation/stories/index.story.tsx +0 -7
  2199. package/src/elevation/styles.ts +0 -3
  2200. package/src/elevation/test/index.tsx +0 -7
  2201. package/src/elevation/types.ts +0 -3
  2202. package/src/external-link/index.tsx +0 -11
  2203. package/src/external-link/stories/index.story.tsx +0 -7
  2204. package/src/external-link/test/index.tsx +0 -7
  2205. package/src/external-link/types.ts +0 -3
  2206. package/src/flex/context.ts +0 -3
  2207. package/src/flex/flex/component.tsx +0 -7
  2208. package/src/flex/flex/hook.ts +0 -1
  2209. package/src/flex/flex-block/component.tsx +0 -7
  2210. package/src/flex/flex-block/hook.ts +0 -3
  2211. package/src/flex/flex-item/component.tsx +0 -7
  2212. package/src/flex/flex-item/hook.ts +0 -1
  2213. package/src/flex/stories/index.story.tsx +0 -7
  2214. package/src/flex/test/index.tsx +0 -1
  2215. package/src/flex/types.ts +0 -7
  2216. package/src/focal-point-picker/controls.tsx +0 -7
  2217. package/src/focal-point-picker/focal-point.tsx +0 -7
  2218. package/src/focal-point-picker/grid.tsx +0 -3
  2219. package/src/focal-point-picker/index.tsx +0 -11
  2220. package/src/focal-point-picker/media.tsx +0 -7
  2221. package/src/focal-point-picker/stories/index.story.tsx +0 -10
  2222. package/src/focal-point-picker/styles/focal-point-picker-style.ts +0 -7
  2223. package/src/focal-point-picker/styles/focal-point-style.ts +0 -7
  2224. package/src/focal-point-picker/test/index.tsx +0 -7
  2225. package/src/focal-point-picker/test/media.tsx +0 -7
  2226. package/src/focal-point-picker/types.ts +0 -7
  2227. package/src/focusable-iframe/index.tsx +0 -6
  2228. package/src/focusable-iframe/types.ts +0 -3
  2229. package/src/font-size-picker/constants.ts +0 -3
  2230. package/src/font-size-picker/font-size-picker-select.tsx +0 -7
  2231. package/src/font-size-picker/font-size-picker-toggle-group.tsx +0 -7
  2232. package/src/font-size-picker/index.tsx +0 -11
  2233. package/src/font-size-picker/stories/e2e/index.story.tsx +0 -11
  2234. package/src/font-size-picker/stories/index.story.tsx +0 -11
  2235. package/src/font-size-picker/styles.ts +0 -7
  2236. package/src/font-size-picker/test/font-size-picker-select.tsx +0 -7
  2237. package/src/font-size-picker/test/font-size-picker-toggle-group.tsx +0 -7
  2238. package/src/font-size-picker/test/utils.ts +0 -3
  2239. package/src/font-size-picker/utils.ts +0 -3
  2240. package/src/form-file-upload/index.tsx +0 -7
  2241. package/src/form-file-upload/stories/index.story.tsx +0 -11
  2242. package/src/form-file-upload/types.ts +0 -7
  2243. package/src/form-toggle/index.tsx +0 -11
  2244. package/src/form-toggle/stories/index.story.tsx +0 -11
  2245. package/src/form-toggle/test/index.tsx +0 -11
  2246. package/src/form-toggle/types.ts +0 -3
  2247. package/src/form-token-field/index.tsx +1 -12
  2248. package/src/form-token-field/stories/index.story.tsx +0 -10
  2249. package/src/form-token-field/suggestions-list.tsx +0 -11
  2250. package/src/form-token-field/test/index.tsx +0 -12
  2251. package/src/form-token-field/token-input.tsx +0 -11
  2252. package/src/form-token-field/token.tsx +0 -11
  2253. package/src/form-token-field/types.ts +0 -3
  2254. package/src/gradient-picker/index.tsx +0 -7
  2255. package/src/gradient-picker/stories/index.story.tsx +0 -11
  2256. package/src/gradient-picker/test/index.tsx +0 -7
  2257. package/src/gradient-picker/types.ts +0 -3
  2258. package/src/grid/README.md +1 -3
  2259. package/src/grid/component.tsx +0 -7
  2260. package/src/grid/hook.ts +0 -11
  2261. package/src/grid/stories/index.story.tsx +0 -7
  2262. package/src/grid/test/grid.tsx +0 -7
  2263. package/src/grid/types.ts +0 -7
  2264. package/src/grid/utils.ts +0 -3
  2265. package/src/guide/icons.tsx +0 -3
  2266. package/src/guide/index.tsx +0 -11
  2267. package/src/guide/page-control.tsx +0 -7
  2268. package/src/guide/page.tsx +0 -7
  2269. package/src/guide/stories/index.story.tsx +0 -11
  2270. package/src/guide/test/index.tsx +0 -7
  2271. package/src/guide/types.ts +0 -7
  2272. package/src/h-stack/README.md +1 -3
  2273. package/src/h-stack/component.tsx +0 -3
  2274. package/src/h-stack/hook.tsx +0 -7
  2275. package/src/h-stack/stories/e2e/index.story.tsx +0 -7
  2276. package/src/h-stack/stories/index.story.tsx +0 -6
  2277. package/src/h-stack/test/index.tsx +0 -7
  2278. package/src/h-stack/types.ts +0 -7
  2279. package/src/h-stack/utils.ts +0 -6
  2280. package/src/heading/README.md +1 -3
  2281. package/src/heading/component.tsx +0 -7
  2282. package/src/heading/hook.ts +0 -3
  2283. package/src/heading/stories/index.story.tsx +0 -7
  2284. package/src/heading/test/index.tsx +0 -7
  2285. package/src/heading/types.ts +0 -3
  2286. package/src/higher-order/navigate-regions/index.tsx +0 -3
  2287. package/src/higher-order/with-constrained-tabbing/index.tsx +0 -3
  2288. package/src/higher-order/with-fallback-styles/index.tsx +0 -7
  2289. package/src/higher-order/with-fallback-styles/test/index.tsx +0 -7
  2290. package/src/higher-order/with-filters/index.tsx +0 -3
  2291. package/src/higher-order/with-filters/test/index.tsx +0 -11
  2292. package/src/higher-order/with-focus-outside/index.tsx +0 -3
  2293. package/src/higher-order/with-focus-outside/test/index.tsx +0 -11
  2294. package/src/higher-order/with-focus-return/index.tsx +0 -3
  2295. package/src/higher-order/with-focus-return/test/index.tsx +0 -11
  2296. package/src/higher-order/with-notices/index.tsx +0 -11
  2297. package/src/higher-order/with-notices/test/index.tsx +0 -11
  2298. package/src/higher-order/with-notices/types.ts +0 -3
  2299. package/src/higher-order/with-spoken-messages/index.tsx +0 -3
  2300. package/src/higher-order/with-spoken-messages/test/index.tsx +0 -7
  2301. package/src/icon/index.tsx +8 -13
  2302. package/src/icon/test/index.tsx +0 -11
  2303. package/src/input-control/README.md +1 -3
  2304. package/src/input-control/backdrop.tsx +0 -6
  2305. package/src/input-control/index.tsx +0 -11
  2306. package/src/input-control/input-base.tsx +0 -11
  2307. package/src/input-control/input-field.tsx +1 -11
  2308. package/src/input-control/input-prefix-wrapper.tsx +0 -7
  2309. package/src/input-control/input-suffix-wrapper.tsx +0 -7
  2310. package/src/input-control/label.tsx +0 -3
  2311. package/src/input-control/reducer/actions.ts +0 -7
  2312. package/src/input-control/reducer/reducer.ts +0 -11
  2313. package/src/input-control/reducer/state.ts +0 -7
  2314. package/src/input-control/stories/index.story.tsx +0 -10
  2315. package/src/input-control/styles/input-control-styles.tsx +0 -7
  2316. package/src/input-control/test/index.js +0 -11
  2317. package/src/input-control/types.ts +0 -7
  2318. package/src/input-control/utils.ts +1 -13
  2319. package/src/isolated-event-container/index.tsx +0 -7
  2320. package/src/isolated-event-container/test/index.tsx +0 -7
  2321. package/src/item-group/context.ts +0 -7
  2322. package/src/item-group/item/README.md +1 -3
  2323. package/src/item-group/item/component.tsx +0 -7
  2324. package/src/item-group/item/hook.ts +16 -24
  2325. package/src/item-group/item-group/README.md +1 -3
  2326. package/src/item-group/item-group/component.tsx +0 -7
  2327. package/src/item-group/item-group/hook.ts +9 -15
  2328. package/src/item-group/stories/index.story.tsx +0 -7
  2329. package/src/item-group/style.module.scss +115 -0
  2330. package/src/item-group/test/__snapshots__/index.js.snap +24 -59
  2331. package/src/item-group/test/index.js +0 -7
  2332. package/src/keyboard-shortcuts/index.tsx +0 -7
  2333. package/src/keyboard-shortcuts/stories/index.story.tsx +0 -7
  2334. package/src/keyboard-shortcuts/test/index.tsx +0 -7
  2335. package/src/keyboard-shortcuts/types.ts +0 -3
  2336. package/src/lock-unlock.js +0 -3
  2337. package/src/menu/README.md +5 -5
  2338. package/src/menu/checkbox-item.tsx +7 -16
  2339. package/src/menu/context.tsx +0 -7
  2340. package/src/menu/group-label.tsx +0 -7
  2341. package/src/menu/group.tsx +0 -7
  2342. package/src/menu/index.tsx +0 -11
  2343. package/src/menu/item-help-text.tsx +0 -7
  2344. package/src/menu/item-label.tsx +0 -7
  2345. package/src/menu/item.tsx +8 -11
  2346. package/src/menu/popover.tsx +0 -11
  2347. package/src/menu/radio-item.tsx +7 -16
  2348. package/src/menu/separator.tsx +0 -7
  2349. package/src/menu/stories/best-practices.mdx +0 -1
  2350. package/src/menu/stories/index.story.tsx +8 -58
  2351. package/src/menu/styles.ts +0 -7
  2352. package/src/menu/submenu-trigger-item.tsx +0 -11
  2353. package/src/menu/test/index.tsx +326 -18
  2354. package/src/menu/trigger-button.tsx +0 -11
  2355. package/src/menu/types.ts +0 -3
  2356. package/src/menu/use-menu-item-hide-on-click.ts +67 -0
  2357. package/src/menu-group/index.tsx +0 -11
  2358. package/src/menu-group/stories/index.story.tsx +0 -11
  2359. package/src/menu-group/test/index.tsx +0 -7
  2360. package/src/menu-group/types.ts +0 -3
  2361. package/src/menu-item/index.tsx +0 -11
  2362. package/src/menu-item/stories/index.story.tsx +0 -11
  2363. package/src/menu-item/test/index.js +0 -11
  2364. package/src/menu-item/types.ts +0 -7
  2365. package/src/menu-items-choice/index.tsx +0 -7
  2366. package/src/menu-items-choice/stories/index.story.tsx +0 -11
  2367. package/src/menu-items-choice/types.ts +0 -3
  2368. package/src/modal/README.md +1 -0
  2369. package/src/modal/index.tsx +1 -1
  2370. package/src/modal/stories/index.story.tsx +0 -11
  2371. package/src/modal/style.scss +4 -0
  2372. package/src/modal/test/aria-helper.ts +0 -3
  2373. package/src/modal/test/index.tsx +0 -11
  2374. package/src/modal/types.ts +2 -3
  2375. package/src/modal/use-modal-exit-animation.ts +0 -7
  2376. package/src/navigable-container/container.tsx +0 -11
  2377. package/src/navigable-container/index.tsx +0 -3
  2378. package/src/navigable-container/menu.tsx +0 -11
  2379. package/src/navigable-container/stories/navigable-menu.story.tsx +0 -7
  2380. package/src/navigable-container/stories/tabbable-container.story.tsx +0 -7
  2381. package/src/navigable-container/tabbable.tsx +0 -11
  2382. package/src/navigable-container/test/navigable-menu.tsx +0 -7
  2383. package/src/navigable-container/test/tababble-container.tsx +0 -7
  2384. package/src/navigable-container/types.ts +0 -7
  2385. package/src/navigator/context.ts +0 -7
  2386. package/src/navigator/index.tsx +0 -3
  2387. package/src/navigator/legacy.ts +0 -3
  2388. package/src/navigator/navigator/component.tsx +0 -11
  2389. package/src/navigator/navigator-back-button/component.tsx +0 -7
  2390. package/src/navigator/navigator-back-button/hook.ts +0 -7
  2391. package/src/navigator/navigator-button/component.tsx +0 -7
  2392. package/src/navigator/navigator-button/hook.ts +0 -7
  2393. package/src/navigator/navigator-screen/component.tsx +0 -11
  2394. package/src/navigator/navigator-screen/use-screen-animate-presence.ts +0 -7
  2395. package/src/navigator/navigator-to-parent-button/component.tsx +0 -7
  2396. package/src/navigator/stories/index.story.tsx +0 -7
  2397. package/src/navigator/styles.ts +0 -3
  2398. package/src/navigator/test/index.tsx +0 -11
  2399. package/src/navigator/test/router.ts +0 -3
  2400. package/src/navigator/types.ts +0 -7
  2401. package/src/navigator/use-navigator.ts +0 -7
  2402. package/src/navigator/utils/router.ts +0 -7
  2403. package/src/notice/index.tsx +0 -11
  2404. package/src/notice/list.tsx +0 -7
  2405. package/src/notice/stories/index.story.tsx +0 -11
  2406. package/src/notice/test/index.tsx +0 -11
  2407. package/src/notice/test/list.tsx +0 -7
  2408. package/src/notice/types.ts +0 -3
  2409. package/src/number-control/README.md +1 -3
  2410. package/src/number-control/index.tsx +0 -11
  2411. package/src/number-control/stories/index.story.tsx +0 -11
  2412. package/src/number-control/styles/number-control-styles.ts +0 -7
  2413. package/src/number-control/test/index.tsx +0 -11
  2414. package/src/number-control/types.ts +0 -3
  2415. package/src/palette-edit/index.tsx +1 -12
  2416. package/src/palette-edit/stories/index.story.tsx +0 -11
  2417. package/src/palette-edit/styles.ts +0 -7
  2418. package/src/palette-edit/test/index.tsx +0 -7
  2419. package/src/palette-edit/types.ts +0 -7
  2420. package/src/panel/body.tsx +0 -11
  2421. package/src/panel/header.tsx +0 -3
  2422. package/src/panel/index.tsx +0 -11
  2423. package/src/panel/row.tsx +0 -11
  2424. package/src/panel/stories/index.story.tsx +0 -11
  2425. package/src/panel/test/body.tsx +0 -7
  2426. package/src/panel/test/header.tsx +0 -7
  2427. package/src/panel/test/index.tsx +0 -7
  2428. package/src/panel/test/row.tsx +0 -7
  2429. package/src/panel/types.ts +0 -3
  2430. package/src/placeholder/index.tsx +0 -11
  2431. package/src/placeholder/stories/index.story.tsx +0 -11
  2432. package/src/placeholder/test/index.tsx +3 -14
  2433. package/src/placeholder/types.ts +0 -7
  2434. package/src/popover/index.tsx +0 -4
  2435. package/src/popover/overlay-middlewares.tsx +0 -3
  2436. package/src/popover/stories/e2e/index.story.tsx +0 -7
  2437. package/src/popover/stories/index.story.tsx +0 -11
  2438. package/src/popover/test/index.tsx +0 -11
  2439. package/src/popover/test/utils/index.tsx +0 -7
  2440. package/src/popover/types.ts +1 -1
  2441. package/src/popover/utils.ts +0 -7
  2442. package/src/private-apis.ts +0 -27
  2443. package/src/progress-bar/index.tsx +0 -11
  2444. package/src/progress-bar/stories/index.story.tsx +0 -7
  2445. package/src/progress-bar/styles.ts +0 -11
  2446. package/src/progress-bar/test/index.tsx +0 -7
  2447. package/src/query-controls/author-select.tsx +0 -3
  2448. package/src/query-controls/index.tsx +1 -8
  2449. package/src/query-controls/stories/index.story.tsx +0 -11
  2450. package/src/query-controls/terms.ts +0 -3
  2451. package/src/query-controls/test/terms.ts +0 -3
  2452. package/src/query-controls/types.ts +0 -3
  2453. package/src/radio-control/index.tsx +0 -11
  2454. package/src/radio-control/stories/index.story.tsx +0 -11
  2455. package/src/radio-control/test/index.tsx +0 -11
  2456. package/src/radio-control/types.ts +0 -3
  2457. package/src/radio-group/README.md +2 -6
  2458. package/src/radio-group/context.tsx +0 -7
  2459. package/src/radio-group/index.tsx +0 -11
  2460. package/src/radio-group/radio.tsx +0 -11
  2461. package/src/radio-group/stories/index.story.tsx +0 -11
  2462. package/src/range-control/index.tsx +0 -12
  2463. package/src/range-control/input-range.tsx +0 -8
  2464. package/src/range-control/mark.tsx +0 -8
  2465. package/src/range-control/rail.tsx +0 -8
  2466. package/src/range-control/stories/index.story.tsx +0 -11
  2467. package/src/range-control/styles/range-control-styles.ts +0 -8
  2468. package/src/range-control/tooltip.tsx +0 -12
  2469. package/src/range-control/types.ts +0 -7
  2470. package/src/range-control/utils.ts +0 -8
  2471. package/src/resizable-box/index.tsx +0 -11
  2472. package/src/resizable-box/resize-tooltip/index.tsx +0 -11
  2473. package/src/resizable-box/resize-tooltip/label.tsx +0 -11
  2474. package/src/resizable-box/resize-tooltip/styles/resize-tooltip.styles.ts +0 -7
  2475. package/src/resizable-box/resize-tooltip/utils.ts +0 -3
  2476. package/src/resizable-box/stories/index.story.tsx +0 -11
  2477. package/src/responsive-wrapper/index.tsx +0 -11
  2478. package/src/responsive-wrapper/stories/index.story.tsx +0 -7
  2479. package/src/sandbox/index.tsx +4 -11
  2480. package/src/sandbox/stories/index.story.tsx +7 -7
  2481. package/src/sandbox/test/index.tsx +21 -11
  2482. package/src/sandbox/types.ts +10 -0
  2483. package/src/scroll-lock/index.tsx +0 -3
  2484. package/src/scroll-lock/stories/index.story.tsx +0 -11
  2485. package/src/scroll-lock/test/index.tsx +0 -7
  2486. package/src/scrollable/README.md +1 -3
  2487. package/src/scrollable/component.tsx +0 -7
  2488. package/src/scrollable/hook.ts +0 -7
  2489. package/src/scrollable/stories/index.story.tsx +0 -11
  2490. package/src/scrollable/styles.ts +0 -7
  2491. package/src/scrollable/test/index.tsx +0 -7
  2492. package/src/scrollable/types.ts +0 -3
  2493. package/src/search-control/index.tsx +0 -11
  2494. package/src/search-control/stories/index.story.tsx +0 -11
  2495. package/src/search-control/test/index.tsx +0 -11
  2496. package/src/search-control/types.ts +0 -3
  2497. package/src/select-control/chevron-down.tsx +0 -7
  2498. package/src/select-control/index.tsx +0 -11
  2499. package/src/select-control/stories/index.story.tsx +0 -11
  2500. package/src/select-control/styles/select-control-styles.ts +0 -7
  2501. package/src/select-control/test/select-control.tsx +0 -7
  2502. package/src/select-control/types.ts +0 -7
  2503. package/src/shortcut/index.tsx +0 -3
  2504. package/src/shortcut/stories/index.story.tsx +0 -7
  2505. package/src/shortcut/test/index.tsx +0 -7
  2506. package/src/slot-fill/bubbles-virtually/slot.tsx +0 -11
  2507. package/src/slot-fill/bubbles-virtually/use-slot-fills.ts +0 -7
  2508. package/src/slot-fill/bubbles-virtually/use-slot.ts +0 -7
  2509. package/src/slot-fill/context.ts +0 -7
  2510. package/src/slot-fill/fill.tsx +0 -1
  2511. package/src/slot-fill/index.tsx +0 -12
  2512. package/src/slot-fill/provider.tsx +0 -7
  2513. package/src/slot-fill/slot.tsx +0 -11
  2514. package/src/slot-fill/stories/index.story.tsx +0 -2
  2515. package/src/slot-fill/test/index.js +0 -11
  2516. package/src/slot-fill/test/slot.js +0 -2
  2517. package/src/slot-fill/types.ts +0 -7
  2518. package/src/snackbar/index.tsx +0 -11
  2519. package/src/snackbar/list.tsx +0 -11
  2520. package/src/snackbar/stories/index.story.tsx +0 -11
  2521. package/src/snackbar/stories/list.story.tsx +0 -11
  2522. package/src/snackbar/test/index.tsx +0 -11
  2523. package/src/snackbar/test/list.tsx +0 -7
  2524. package/src/snackbar/types.ts +0 -7
  2525. package/src/spacer/README.md +1 -3
  2526. package/src/spacer/component.tsx +0 -7
  2527. package/src/spacer/hook.ts +0 -1
  2528. package/src/spacer/stories/index.story.tsx +0 -1
  2529. package/src/spacer/test/index.tsx +0 -1
  2530. package/src/spacer/types.ts +0 -7
  2531. package/src/spinner/index.tsx +13 -18
  2532. package/src/spinner/stories/index.story.tsx +0 -7
  2533. package/src/spinner/style.module.scss +39 -0
  2534. package/src/style-provider/types.ts +0 -3
  2535. package/src/style.scss +0 -1
  2536. package/src/surface/README.md +1 -3
  2537. package/src/surface/component.tsx +12 -7
  2538. package/src/surface/hook.ts +0 -7
  2539. package/src/surface/stories/index.story.tsx +3 -9
  2540. package/src/surface/test/index.tsx +12 -7
  2541. package/src/tab-panel/index.tsx +0 -12
  2542. package/src/tab-panel/test/index.tsx +0 -11
  2543. package/src/tab-panel/types.ts +0 -7
  2544. package/src/tabs/context.ts +0 -7
  2545. package/src/tabs/index.tsx +0 -11
  2546. package/src/tabs/stories/best-practices.mdx +0 -1
  2547. package/src/tabs/styles.ts +0 -7
  2548. package/src/tabs/tab.tsx +2 -10
  2549. package/src/tabs/tablist.tsx +0 -11
  2550. package/src/tabs/tabpanel.tsx +1 -13
  2551. package/src/tabs/test/index.tsx +0 -11
  2552. package/src/tabs/types.ts +0 -3
  2553. package/src/tabs/use-track-overflow.ts +0 -3
  2554. package/src/text/README.md +1 -3
  2555. package/src/text/component.tsx +0 -3
  2556. package/src/text/get-line-height.ts +0 -7
  2557. package/src/text/hook.ts +0 -11
  2558. package/src/text/stories/index.story.tsx +0 -7
  2559. package/src/text/styles.ts +0 -7
  2560. package/src/text/test/index.tsx +0 -7
  2561. package/src/text/types.ts +0 -7
  2562. package/src/text/utils.ts +0 -7
  2563. package/src/text-control/index.tsx +0 -11
  2564. package/src/text-control/stories/index.story.tsx +0 -11
  2565. package/src/text-control/test/text-control.tsx +0 -7
  2566. package/src/text-control/types.ts +0 -3
  2567. package/src/text-highlight/index.tsx +0 -7
  2568. package/src/text-highlight/stories/index.story.tsx +0 -7
  2569. package/src/text-highlight/test/index.tsx +0 -7
  2570. package/src/textarea-control/index.tsx +0 -11
  2571. package/src/textarea-control/stories/index.story.tsx +0 -11
  2572. package/src/textarea-control/styles/textarea-control-styles.ts +0 -7
  2573. package/src/textarea-control/types.ts +0 -7
  2574. package/src/tip/index.tsx +0 -7
  2575. package/src/tip/stories/index.story.tsx +0 -7
  2576. package/src/tip/types.ts +0 -3
  2577. package/src/toggle-control/index.tsx +0 -11
  2578. package/src/toggle-control/stories/index.story.tsx +52 -21
  2579. package/src/toggle-control/test/index.tsx +0 -7
  2580. package/src/toggle-control/types.ts +0 -7
  2581. package/src/toggle-group-control/context.ts +0 -7
  2582. package/src/toggle-group-control/stories/index.story.tsx +0 -11
  2583. package/src/toggle-group-control/test/index.tsx +0 -11
  2584. package/src/toggle-group-control/toggle-group-control/README.md +1 -3
  2585. package/src/toggle-group-control/toggle-group-control/as-button-group.tsx +0 -7
  2586. package/src/toggle-group-control/toggle-group-control/as-radio-group.tsx +0 -11
  2587. package/src/toggle-group-control/toggle-group-control/component.tsx +0 -11
  2588. package/src/toggle-group-control/toggle-group-control/utils.ts +0 -7
  2589. package/src/toggle-group-control/toggle-group-control-option/README.md +1 -3
  2590. package/src/toggle-group-control/toggle-group-control-option/component.tsx +0 -11
  2591. package/src/toggle-group-control/toggle-group-control-option-base/README.md +1 -3
  2592. package/src/toggle-group-control/toggle-group-control-option-base/component.tsx +0 -11
  2593. package/src/toggle-group-control/toggle-group-control-option-icon/README.md +1 -3
  2594. package/src/toggle-group-control/toggle-group-control-option-icon/component.tsx +0 -11
  2595. package/src/toggle-group-control/types.ts +4 -7
  2596. package/src/toolbar/stories/index.story.tsx +2 -21
  2597. package/src/toolbar/test/index.tsx +0 -7
  2598. package/src/toolbar/test/toolbar-group.tsx +1 -12
  2599. package/src/toolbar/toolbar/index.tsx +0 -11
  2600. package/src/toolbar/toolbar/toolbar-container.tsx +0 -11
  2601. package/src/toolbar/toolbar/types.ts +0 -3
  2602. package/src/toolbar/toolbar-button/index.tsx +0 -11
  2603. package/src/toolbar/toolbar-button/toolbar-button-container.tsx +0 -3
  2604. package/src/toolbar/toolbar-button/types.ts +0 -3
  2605. package/src/toolbar/toolbar-context/index.ts +0 -7
  2606. package/src/toolbar/toolbar-dropdown-menu/index.tsx +0 -11
  2607. package/src/toolbar/toolbar-group/index.tsx +0 -11
  2608. package/src/toolbar/toolbar-group/toolbar-group-collapsed.tsx +0 -7
  2609. package/src/toolbar/toolbar-group/toolbar-group-container.tsx +0 -3
  2610. package/src/toolbar/toolbar-group/types.ts +0 -11
  2611. package/src/toolbar/toolbar-item/index.tsx +0 -11
  2612. package/src/toolbar/toolbar-item/types.ts +0 -3
  2613. package/src/tools-panel/context.ts +0 -7
  2614. package/src/tools-panel/stories/index.story.tsx +0 -15
  2615. package/src/tools-panel/test/index.tsx +0 -7
  2616. package/src/tools-panel/tools-panel/README.md +2 -11
  2617. package/src/tools-panel/tools-panel/component.tsx +0 -7
  2618. package/src/tools-panel/tools-panel/hook.ts +0 -11
  2619. package/src/tools-panel/tools-panel-header/README.md +2 -6
  2620. package/src/tools-panel/tools-panel-header/component.tsx +0 -11
  2621. package/src/tools-panel/tools-panel-header/hook.ts +0 -7
  2622. package/src/tools-panel/tools-panel-item/README.md +2 -4
  2623. package/src/tools-panel/tools-panel-item/component.tsx +0 -7
  2624. package/src/tools-panel/tools-panel-item/hook.ts +0 -11
  2625. package/src/tools-panel/types.ts +0 -7
  2626. package/src/tooltip/stories/index.story.tsx +0 -11
  2627. package/src/tooltip/test/index.tsx +0 -11
  2628. package/src/tooltip/test/utils/index.tsx +0 -3
  2629. package/src/tooltip/types.ts +0 -7
  2630. package/src/tree-grid/README.md +1 -3
  2631. package/src/tree-grid/cell.tsx +0 -7
  2632. package/src/tree-grid/index.tsx +0 -7
  2633. package/src/tree-grid/item.tsx +0 -7
  2634. package/src/tree-grid/roving-tab-index-context.ts +0 -3
  2635. package/src/tree-grid/roving-tab-index-item.tsx +0 -7
  2636. package/src/tree-grid/roving-tab-index.tsx +0 -7
  2637. package/src/tree-grid/row.tsx +0 -7
  2638. package/src/tree-grid/stories/index.story.tsx +0 -11
  2639. package/src/tree-grid/test/cell.tsx +0 -11
  2640. package/src/tree-grid/test/index.tsx +0 -11
  2641. package/src/tree-grid/test/roving-tab-index-item.tsx +0 -11
  2642. package/src/tree-grid/test/roving-tab-index.tsx +0 -7
  2643. package/src/tree-grid/test/row.tsx +0 -7
  2644. package/src/tree-select/index.tsx +0 -7
  2645. package/src/tree-select/stories/index.story.tsx +0 -10
  2646. package/src/tree-select/types.ts +0 -3
  2647. package/src/truncate/README.md +1 -3
  2648. package/src/truncate/component.tsx +0 -7
  2649. package/src/truncate/hook.ts +0 -7
  2650. package/src/truncate/stories/index.story.tsx +0 -7
  2651. package/src/truncate/test/index.tsx +0 -7
  2652. package/src/truncate/types.ts +0 -3
  2653. package/src/truncate/utils.ts +0 -3
  2654. package/src/unit-control/README.md +1 -3
  2655. package/src/unit-control/index.tsx +0 -11
  2656. package/src/unit-control/stories/index.story.tsx +0 -11
  2657. package/src/unit-control/styles/unit-control-styles.ts +0 -6
  2658. package/src/unit-control/test/index.tsx +0 -11
  2659. package/src/unit-control/test/utils.ts +0 -3
  2660. package/src/unit-control/types.ts +0 -7
  2661. package/src/unit-control/unit-select-control.tsx +0 -11
  2662. package/src/unit-control/utils.ts +0 -7
  2663. package/src/utils/base-label.ts +0 -7
  2664. package/src/utils/box-sizing.ts +0 -3
  2665. package/src/utils/breakpoint.js +0 -3
  2666. package/src/utils/colors.js +0 -3
  2667. package/src/utils/config-values.js +0 -4
  2668. package/src/utils/element-rect.ts +0 -3
  2669. package/src/utils/font-size.ts +0 -7
  2670. package/src/utils/font.js +0 -3
  2671. package/src/utils/get-valid-children.ts +0 -7
  2672. package/src/utils/hooks/test/use-controlled-state.js +0 -7
  2673. package/src/utils/hooks/test/use-controlled-value.js +0 -7
  2674. package/src/utils/hooks/test/use-cx.js +0 -7
  2675. package/src/utils/hooks/use-animated-offset-rect.ts +0 -7
  2676. package/src/utils/hooks/use-controlled-state.js +0 -7
  2677. package/src/utils/hooks/use-controlled-value.ts +0 -3
  2678. package/src/utils/hooks/use-cx.ts +0 -7
  2679. package/src/utils/hooks/use-on-value-update.ts +0 -3
  2680. package/src/utils/hooks/use-update-effect.js +0 -3
  2681. package/src/utils/polymorphic-element.tsx +0 -7
  2682. package/src/utils/rtl.js +2 -9
  2683. package/src/utils/strings.ts +0 -31
  2684. package/src/utils/test/colors.js +0 -3
  2685. package/src/utils/test/get-node-text.js +0 -3
  2686. package/src/utils/test/math.js +0 -4
  2687. package/src/utils/test/polymorphic-element.tsx +0 -5
  2688. package/src/utils/test/rtl.js +0 -3
  2689. package/src/utils/test/space.js +0 -3
  2690. package/src/utils/test/strings.js +1 -99
  2691. package/src/utils/test/unit-values.js +0 -3
  2692. package/src/utils/use-responsive-value.ts +0 -3
  2693. package/src/v-stack/README.md +1 -3
  2694. package/src/v-stack/component.tsx +0 -7
  2695. package/src/v-stack/hook.ts +0 -3
  2696. package/src/v-stack/stories/e2e/index.story.tsx +0 -7
  2697. package/src/v-stack/stories/index.story.tsx +0 -7
  2698. package/src/v-stack/test/index.tsx +0 -7
  2699. package/src/v-stack/types.ts +0 -7
  2700. package/src/validated-form-controls/components/combobox-control.tsx +0 -7
  2701. package/src/validated-form-controls/components/content-editable-control.tsx +0 -11
  2702. package/src/validated-form-controls/components/custom-select-control.tsx +0 -7
  2703. package/src/validated-form-controls/components/form-token-field.tsx +0 -7
  2704. package/src/validated-form-controls/components/index.ts +0 -5
  2705. package/src/validated-form-controls/components/input-control.tsx +0 -7
  2706. package/src/validated-form-controls/components/range-control.tsx +0 -7
  2707. package/src/validated-form-controls/components/stories/combobox-control.story.tsx +0 -11
  2708. package/src/validated-form-controls/components/stories/content-editable-control.story.tsx +0 -10
  2709. package/src/validated-form-controls/components/stories/custom-select-control.story.tsx +0 -11
  2710. package/src/validated-form-controls/components/stories/form-token-field.story.tsx +0 -11
  2711. package/src/validated-form-controls/components/stories/input-control.story.tsx +0 -15
  2712. package/src/validated-form-controls/components/stories/overview.story.tsx +0 -11
  2713. package/src/validated-form-controls/components/stories/range-control.story.tsx +0 -11
  2714. package/src/validated-form-controls/components/stories/story-utils.tsx +0 -11
  2715. package/src/validated-form-controls/components/stories/textarea-control.story.tsx +0 -10
  2716. package/src/validated-form-controls/components/stories/toggle-control.story.tsx +0 -11
  2717. package/src/validated-form-controls/components/stories/toggle-group-control.story.tsx +0 -11
  2718. package/src/validated-form-controls/components/textarea-control.tsx +0 -7
  2719. package/src/validated-form-controls/components/toggle-control.tsx +0 -7
  2720. package/src/validated-form-controls/components/toggle-group-control.tsx +0 -7
  2721. package/src/validated-form-controls/control-with-error.tsx +0 -7
  2722. package/src/validated-form-controls/style.scss +2 -2
  2723. package/src/validated-form-controls/test/control-with-error.tsx +0 -11
  2724. package/src/validated-form-controls/validity-indicator.tsx +0 -11
  2725. package/src/view/README.md +1 -3
  2726. package/src/view/component.tsx +0 -7
  2727. package/src/view/stories/index.story.tsx +0 -7
  2728. package/src/view/test/index.js +0 -11
  2729. package/src/visually-hidden/component.tsx +0 -7
  2730. package/src/visually-hidden/styles.ts +0 -3
  2731. package/src/visually-hidden/types.ts +0 -3
  2732. package/src/z-stack/README.md +1 -3
  2733. package/src/z-stack/component.tsx +0 -11
  2734. package/src/z-stack/stories/index.story.tsx +0 -7
  2735. package/src/z-stack/styles.ts +0 -3
  2736. package/src/z-stack/types.ts +0 -3
  2737. package/build/calendar/date-calendar/index.cjs +0 -70
  2738. package/build/calendar/date-calendar/index.cjs.map +0 -7
  2739. package/build/calendar/date-range-calendar/index.cjs +0 -164
  2740. package/build/calendar/date-range-calendar/index.cjs.map +0 -7
  2741. package/build/calendar/index.cjs +0 -37
  2742. package/build/calendar/index.cjs.map +0 -7
  2743. package/build/calendar/types.cjs +0 -19
  2744. package/build/calendar/types.cjs.map +0 -7
  2745. package/build/calendar/utils/constants.cjs +0 -90
  2746. package/build/calendar/utils/constants.cjs.map +0 -7
  2747. package/build/calendar/utils/day-cell.cjs +0 -117
  2748. package/build/calendar/utils/day-cell.cjs.map +0 -7
  2749. package/build/calendar/utils/misc.cjs +0 -33
  2750. package/build/calendar/utils/misc.cjs.map +0 -7
  2751. package/build/calendar/utils/use-localization-props.cjs +0 -158
  2752. package/build/calendar/utils/use-localization-props.cjs.map +0 -7
  2753. package/build/item-group/styles.cjs +0 -82
  2754. package/build/item-group/styles.cjs.map +0 -7
  2755. package/build/spinner/styles.cjs +0 -84
  2756. package/build/spinner/styles.cjs.map +0 -7
  2757. package/build/utils/with-ignore-ime-events.cjs +0 -44
  2758. package/build/utils/with-ignore-ime-events.cjs.map +0 -7
  2759. package/build/validated-form-controls/components/checkbox-control.cjs +0 -69
  2760. package/build/validated-form-controls/components/checkbox-control.cjs.map +0 -7
  2761. package/build/validated-form-controls/components/number-control.cjs +0 -66
  2762. package/build/validated-form-controls/components/number-control.cjs.map +0 -7
  2763. package/build/validated-form-controls/components/radio-control.cjs +0 -66
  2764. package/build/validated-form-controls/components/radio-control.cjs.map +0 -7
  2765. package/build/validated-form-controls/components/select-control.cjs +0 -66
  2766. package/build/validated-form-controls/components/select-control.cjs.map +0 -7
  2767. package/build/validated-form-controls/components/text-control.cjs +0 -66
  2768. package/build/validated-form-controls/components/text-control.cjs.map +0 -7
  2769. package/build-module/calendar/date-calendar/index.mjs +0 -45
  2770. package/build-module/calendar/date-calendar/index.mjs.map +0 -7
  2771. package/build-module/calendar/date-range-calendar/index.mjs +0 -138
  2772. package/build-module/calendar/date-range-calendar/index.mjs.map +0 -7
  2773. package/build-module/calendar/index.mjs +0 -10
  2774. package/build-module/calendar/index.mjs.map +0 -7
  2775. package/build-module/calendar/types.mjs +0 -1
  2776. package/build-module/calendar/types.mjs.map +0 -7
  2777. package/build-module/calendar/utils/constants.mjs +0 -64
  2778. package/build-module/calendar/utils/constants.mjs.map +0 -7
  2779. package/build-module/calendar/utils/day-cell.mjs +0 -92
  2780. package/build-module/calendar/utils/day-cell.mjs.map +0 -7
  2781. package/build-module/calendar/utils/misc.mjs +0 -8
  2782. package/build-module/calendar/utils/misc.mjs.map +0 -7
  2783. package/build-module/calendar/utils/use-localization-props.mjs +0 -133
  2784. package/build-module/calendar/utils/use-localization-props.mjs.map +0 -7
  2785. package/build-module/item-group/styles.mjs +0 -50
  2786. package/build-module/item-group/styles.mjs.map +0 -7
  2787. package/build-module/spinner/styles.mjs +0 -47
  2788. package/build-module/spinner/styles.mjs.map +0 -7
  2789. package/build-module/utils/with-ignore-ime-events.mjs +0 -19
  2790. package/build-module/utils/with-ignore-ime-events.mjs.map +0 -7
  2791. package/build-module/validated-form-controls/components/checkbox-control.mjs +0 -34
  2792. package/build-module/validated-form-controls/components/checkbox-control.mjs.map +0 -7
  2793. package/build-module/validated-form-controls/components/number-control.mjs +0 -31
  2794. package/build-module/validated-form-controls/components/number-control.mjs.map +0 -7
  2795. package/build-module/validated-form-controls/components/radio-control.mjs +0 -31
  2796. package/build-module/validated-form-controls/components/radio-control.mjs.map +0 -7
  2797. package/build-module/validated-form-controls/components/select-control.mjs +0 -31
  2798. package/build-module/validated-form-controls/components/select-control.mjs.map +0 -7
  2799. package/build-module/validated-form-controls/components/text-control.mjs +0 -31
  2800. package/build-module/validated-form-controls/components/text-control.mjs.map +0 -7
  2801. package/build-types/box-control/input-control.d.ts +0 -3
  2802. package/build-types/box-control/input-control.d.ts.map +0 -1
  2803. package/build-types/calendar/date-calendar/index.d.ts +0 -11
  2804. package/build-types/calendar/date-calendar/index.d.ts.map +0 -1
  2805. package/build-types/calendar/date-range-calendar/index.d.ts +0 -14
  2806. package/build-types/calendar/date-range-calendar/index.d.ts.map +0 -1
  2807. package/build-types/calendar/index.d.ts +0 -4
  2808. package/build-types/calendar/index.d.ts.map +0 -1
  2809. package/build-types/calendar/stories/date-calendar.story.d.ts +0 -21
  2810. package/build-types/calendar/stories/date-calendar.story.d.ts.map +0 -1
  2811. package/build-types/calendar/stories/date-range-calendar.story.d.ts +0 -21
  2812. package/build-types/calendar/stories/date-range-calendar.story.d.ts.map +0 -1
  2813. package/build-types/calendar/test/__utils__/index.d.ts +0 -10
  2814. package/build-types/calendar/test/__utils__/index.d.ts.map +0 -1
  2815. package/build-types/calendar/test/date-calendar.d.ts +0 -2
  2816. package/build-types/calendar/test/date-calendar.d.ts.map +0 -1
  2817. package/build-types/calendar/test/date-range-calendar.d.ts +0 -2
  2818. package/build-types/calendar/test/date-range-calendar.d.ts.map +0 -1
  2819. package/build-types/calendar/types.d.ts +0 -329
  2820. package/build-types/calendar/types.d.ts.map +0 -1
  2821. package/build-types/calendar/utils/constants.d.ts +0 -53
  2822. package/build-types/calendar/utils/constants.d.ts.map +0 -1
  2823. package/build-types/calendar/utils/day-cell.d.ts +0 -21
  2824. package/build-types/calendar/utils/day-cell.d.ts.map +0 -1
  2825. package/build-types/calendar/utils/misc.d.ts +0 -2
  2826. package/build-types/calendar/utils/misc.d.ts.map +0 -1
  2827. package/build-types/calendar/utils/use-localization-props.d.ts +0 -68
  2828. package/build-types/calendar/utils/use-localization-props.d.ts.map +0 -1
  2829. package/build-types/card/context.d.ts +0 -3
  2830. package/build-types/card/context.d.ts.map +0 -1
  2831. package/build-types/confirm-dialog/styles.d.ts +0 -10
  2832. package/build-types/confirm-dialog/styles.d.ts.map +0 -1
  2833. package/build-types/date-time/date/index.d.ts +0 -23
  2834. package/build-types/date-time/date/index.d.ts.map +0 -1
  2835. package/build-types/date-time/date/styles.d.ts +0 -45
  2836. package/build-types/date-time/date/styles.d.ts.map +0 -1
  2837. package/build-types/date-time/date/test/index.d.ts +0 -2
  2838. package/build-types/date-time/date/test/index.d.ts.map +0 -1
  2839. package/build-types/date-time/date/test/use-lilius.d.ts +0 -2
  2840. package/build-types/date-time/date/test/use-lilius.d.ts.map +0 -1
  2841. package/build-types/date-time/date/use-lilius/index.d.ts +0 -169
  2842. package/build-types/date-time/date/use-lilius/index.d.ts.map +0 -1
  2843. package/build-types/date-time/time/index.d.ts +0 -27
  2844. package/build-types/date-time/time/index.d.ts.map +0 -1
  2845. package/build-types/date-time/time/styles.d.ts +0 -93
  2846. package/build-types/date-time/time/styles.d.ts.map +0 -1
  2847. package/build-types/date-time/time/test/index.d.ts +0 -2
  2848. package/build-types/date-time/time/test/index.d.ts.map +0 -1
  2849. package/build-types/date-time/time/time-input/index.d.ts +0 -4
  2850. package/build-types/date-time/time/time-input/index.d.ts.map +0 -1
  2851. package/build-types/date-time/time/time-input/test/index.d.ts +0 -2
  2852. package/build-types/date-time/time/time-input/test/index.d.ts.map +0 -1
  2853. package/build-types/date-time/time/timezone.d.ts +0 -7
  2854. package/build-types/date-time/time/timezone.d.ts.map +0 -1
  2855. package/build-types/disabled/styles/disabled-styles.d.ts +0 -2
  2856. package/build-types/disabled/styles/disabled-styles.d.ts.map +0 -1
  2857. package/build-types/divider/styles.d.ts +0 -10
  2858. package/build-types/divider/styles.d.ts.map +0 -1
  2859. package/build-types/flex/styles.d.ts +0 -17
  2860. package/build-types/flex/styles.d.ts.map +0 -1
  2861. package/build-types/form-token-field/styles.d.ts +0 -6
  2862. package/build-types/form-token-field/styles.d.ts.map +0 -1
  2863. package/build-types/item-group/styles.d.ts +0 -13
  2864. package/build-types/item-group/styles.d.ts.map +0 -1
  2865. package/build-types/mobile/image/constants.d.ts +0 -5
  2866. package/build-types/mobile/image/constants.d.ts.map +0 -1
  2867. package/build-types/navigation/back-button/index.d.ts +0 -7
  2868. package/build-types/navigation/back-button/index.d.ts.map +0 -1
  2869. package/build-types/navigation/constants.d.ts +0 -3
  2870. package/build-types/navigation/constants.d.ts.map +0 -1
  2871. package/build-types/navigation/context.d.ts +0 -4
  2872. package/build-types/navigation/context.d.ts.map +0 -1
  2873. package/build-types/navigation/group/context.d.ts +0 -7
  2874. package/build-types/navigation/group/context.d.ts.map +0 -1
  2875. package/build-types/navigation/group/index.d.ts +0 -7
  2876. package/build-types/navigation/group/index.d.ts.map +0 -1
  2877. package/build-types/navigation/index.d.ts +0 -46
  2878. package/build-types/navigation/index.d.ts.map +0 -1
  2879. package/build-types/navigation/item/base-content.d.ts +0 -3
  2880. package/build-types/navigation/item/base-content.d.ts.map +0 -1
  2881. package/build-types/navigation/item/base.d.ts +0 -3
  2882. package/build-types/navigation/item/base.d.ts.map +0 -1
  2883. package/build-types/navigation/item/index.d.ts +0 -7
  2884. package/build-types/navigation/item/index.d.ts.map +0 -1
  2885. package/build-types/navigation/item/use-navigation-tree-item.d.ts +0 -3
  2886. package/build-types/navigation/item/use-navigation-tree-item.d.ts.map +0 -1
  2887. package/build-types/navigation/menu/context.d.ts +0 -7
  2888. package/build-types/navigation/menu/context.d.ts.map +0 -1
  2889. package/build-types/navigation/menu/index.d.ts +0 -7
  2890. package/build-types/navigation/menu/index.d.ts.map +0 -1
  2891. package/build-types/navigation/menu/menu-title-search.d.ts +0 -3
  2892. package/build-types/navigation/menu/menu-title-search.d.ts.map +0 -1
  2893. package/build-types/navigation/menu/menu-title.d.ts +0 -3
  2894. package/build-types/navigation/menu/menu-title.d.ts.map +0 -1
  2895. package/build-types/navigation/menu/search-no-results-found.d.ts +0 -3
  2896. package/build-types/navigation/menu/search-no-results-found.d.ts.map +0 -1
  2897. package/build-types/navigation/menu/use-navigation-tree-menu.d.ts +0 -3
  2898. package/build-types/navigation/menu/use-navigation-tree-menu.d.ts.map +0 -1
  2899. package/build-types/navigation/stories/index.story.d.ts +0 -23
  2900. package/build-types/navigation/stories/index.story.d.ts.map +0 -1
  2901. package/build-types/navigation/stories/utils/controlled-state.d.ts +0 -7
  2902. package/build-types/navigation/stories/utils/controlled-state.d.ts.map +0 -1
  2903. package/build-types/navigation/stories/utils/default.d.ts +0 -10
  2904. package/build-types/navigation/stories/utils/default.d.ts.map +0 -1
  2905. package/build-types/navigation/stories/utils/group.d.ts +0 -10
  2906. package/build-types/navigation/stories/utils/group.d.ts.map +0 -1
  2907. package/build-types/navigation/stories/utils/hide-if-empty.d.ts +0 -10
  2908. package/build-types/navigation/stories/utils/hide-if-empty.d.ts.map +0 -1
  2909. package/build-types/navigation/stories/utils/more-examples.d.ts +0 -10
  2910. package/build-types/navigation/stories/utils/more-examples.d.ts.map +0 -1
  2911. package/build-types/navigation/stories/utils/search.d.ts +0 -10
  2912. package/build-types/navigation/stories/utils/search.d.ts.map +0 -1
  2913. package/build-types/navigation/styles/navigation-styles.d.ts +0 -55
  2914. package/build-types/navigation/styles/navigation-styles.d.ts.map +0 -1
  2915. package/build-types/navigation/test/index.d.ts +0 -2
  2916. package/build-types/navigation/test/index.d.ts.map +0 -1
  2917. package/build-types/navigation/types.d.ts +0 -266
  2918. package/build-types/navigation/types.d.ts.map +0 -1
  2919. package/build-types/navigation/use-create-navigation-tree.d.ts +0 -15
  2920. package/build-types/navigation/use-create-navigation-tree.d.ts.map +0 -1
  2921. package/build-types/navigation/use-navigation-tree-nodes.d.ts +0 -10
  2922. package/build-types/navigation/use-navigation-tree-nodes.d.ts.map +0 -1
  2923. package/build-types/navigation/utils.d.ts +0 -3
  2924. package/build-types/navigation/utils.d.ts.map +0 -1
  2925. package/build-types/search-control/styles.d.ts +0 -7
  2926. package/build-types/search-control/styles.d.ts.map +0 -1
  2927. package/build-types/spinner/styles.d.ts +0 -13
  2928. package/build-types/spinner/styles.d.ts.map +0 -1
  2929. package/build-types/surface/styles.d.ts +0 -11
  2930. package/build-types/surface/styles.d.ts.map +0 -1
  2931. package/build-types/theme/color-algorithms.d.ts +0 -12
  2932. package/build-types/theme/color-algorithms.d.ts.map +0 -1
  2933. package/build-types/theme/index.d.ts +0 -24
  2934. package/build-types/theme/index.d.ts.map +0 -1
  2935. package/build-types/theme/stories/index.story.d.ts +0 -21
  2936. package/build-types/theme/stories/index.story.d.ts.map +0 -1
  2937. package/build-types/theme/styles.d.ts +0 -10
  2938. package/build-types/theme/styles.d.ts.map +0 -1
  2939. package/build-types/theme/test/color-algorithms.d.ts +0 -2
  2940. package/build-types/theme/test/color-algorithms.d.ts.map +0 -1
  2941. package/build-types/theme/test/index.d.ts +0 -2
  2942. package/build-types/theme/test/index.d.ts.map +0 -1
  2943. package/build-types/theme/types.d.ts +0 -59
  2944. package/build-types/theme/types.d.ts.map +0 -1
  2945. package/build-types/toggle-group-control/toggle-group-control/styles.d.ts +0 -4
  2946. package/build-types/toggle-group-control/toggle-group-control/styles.d.ts.map +0 -1
  2947. package/build-types/toggle-group-control/toggle-group-control-option-base/styles.d.ts +0 -14
  2948. package/build-types/toggle-group-control/toggle-group-control-option-base/styles.d.ts.map +0 -1
  2949. package/build-types/tools-panel/styles.d.ts +0 -24
  2950. package/build-types/tools-panel/styles.d.ts.map +0 -1
  2951. package/build-types/truncate/styles.d.ts +0 -2
  2952. package/build-types/truncate/styles.d.ts.map +0 -1
  2953. package/build-types/utils/deprecated-36px-size.d.ts +0 -7
  2954. package/build-types/utils/deprecated-36px-size.d.ts.map +0 -1
  2955. package/build-types/utils/use-deprecated-props.d.ts +0 -7
  2956. package/build-types/utils/use-deprecated-props.d.ts.map +0 -1
  2957. package/build-types/utils/with-ignore-ime-events.d.ts +0 -14
  2958. package/build-types/utils/with-ignore-ime-events.d.ts.map +0 -1
  2959. package/build-types/validated-form-controls/components/checkbox-control.d.ts +0 -10
  2960. package/build-types/validated-form-controls/components/checkbox-control.d.ts.map +0 -1
  2961. package/build-types/validated-form-controls/components/number-control.d.ts +0 -16
  2962. package/build-types/validated-form-controls/components/number-control.d.ts.map +0 -1
  2963. package/build-types/validated-form-controls/components/radio-control.d.ts +0 -12
  2964. package/build-types/validated-form-controls/components/radio-control.d.ts.map +0 -1
  2965. package/build-types/validated-form-controls/components/select-control.d.ts +0 -8
  2966. package/build-types/validated-form-controls/components/select-control.d.ts.map +0 -1
  2967. package/build-types/validated-form-controls/components/stories/checkbox-control.story.d.ts +0 -12
  2968. package/build-types/validated-form-controls/components/stories/checkbox-control.story.d.ts.map +0 -1
  2969. package/build-types/validated-form-controls/components/stories/number-control.story.d.ts +0 -12
  2970. package/build-types/validated-form-controls/components/stories/number-control.story.d.ts.map +0 -1
  2971. package/build-types/validated-form-controls/components/stories/radio-control.story.d.ts +0 -12
  2972. package/build-types/validated-form-controls/components/stories/radio-control.story.d.ts.map +0 -1
  2973. package/build-types/validated-form-controls/components/stories/select-control.story.d.ts +0 -12
  2974. package/build-types/validated-form-controls/components/stories/select-control.story.d.ts.map +0 -1
  2975. package/build-types/validated-form-controls/components/stories/text-control.story.d.ts +0 -9
  2976. package/build-types/validated-form-controls/components/stories/text-control.story.d.ts.map +0 -1
  2977. package/build-types/validated-form-controls/components/text-control.d.ts +0 -8
  2978. package/build-types/validated-form-controls/components/text-control.d.ts.map +0 -1
  2979. package/build-types/validated-form-controls/test/checkbox-control.d.ts +0 -2
  2980. package/build-types/validated-form-controls/test/checkbox-control.d.ts.map +0 -1
  2981. package/build-types/validated-form-controls/test/number-control.d.ts +0 -2
  2982. package/build-types/validated-form-controls/test/number-control.d.ts.map +0 -1
  2983. package/build-types/validated-form-controls/test/radio-control.d.ts +0 -2
  2984. package/build-types/validated-form-controls/test/radio-control.d.ts.map +0 -1
  2985. package/build-types/validated-form-controls/test/select-control.d.ts +0 -2
  2986. package/build-types/validated-form-controls/test/select-control.d.ts.map +0 -1
  2987. package/build-types/validated-form-controls/test/text-control.d.ts +0 -2
  2988. package/build-types/validated-form-controls/test/text-control.d.ts.map +0 -1
  2989. package/build-types/visually-hidden/test/index.d.ts +0 -2
  2990. package/build-types/visually-hidden/test/index.d.ts.map +0 -1
  2991. package/src/calendar/date-calendar/README.md +0 -261
  2992. package/src/calendar/date-calendar/index.tsx +0 -69
  2993. package/src/calendar/date-range-calendar/README.md +0 -298
  2994. package/src/calendar/date-range-calendar/index.tsx +0 -215
  2995. package/src/calendar/index.tsx +0 -3
  2996. package/src/calendar/stories/date-calendar.story.tsx +0 -233
  2997. package/src/calendar/stories/date-range-calendar.story.tsx +0 -242
  2998. package/src/calendar/style.scss +0 -440
  2999. package/src/calendar/test/__utils__/index.ts +0 -56
  3000. package/src/calendar/test/date-calendar.tsx +0 -975
  3001. package/src/calendar/test/date-range-calendar.tsx +0 -1701
  3002. package/src/calendar/types.ts +0 -354
  3003. package/src/calendar/utils/constants.ts +0 -63
  3004. package/src/calendar/utils/day-cell.tsx +0 -133
  3005. package/src/calendar/utils/misc.ts +0 -3
  3006. package/src/calendar/utils/use-localization-props.ts +0 -168
  3007. package/src/item-group/styles.ts +0 -116
  3008. package/src/spinner/styles.ts +0 -50
  3009. package/src/utils/with-ignore-ime-events.ts +0 -32
  3010. package/src/validated-form-controls/components/checkbox-control.tsx +0 -49
  3011. package/src/validated-form-controls/components/number-control.tsx +0 -41
  3012. package/src/validated-form-controls/components/radio-control.tsx +0 -47
  3013. package/src/validated-form-controls/components/select-control.tsx +0 -47
  3014. package/src/validated-form-controls/components/stories/checkbox-control.story.tsx +0 -60
  3015. package/src/validated-form-controls/components/stories/number-control.story.tsx +0 -65
  3016. package/src/validated-form-controls/components/stories/radio-control.story.tsx +0 -67
  3017. package/src/validated-form-controls/components/stories/select-control.story.tsx +0 -63
  3018. package/src/validated-form-controls/components/stories/text-control.story.tsx +0 -61
  3019. package/src/validated-form-controls/components/text-control.tsx +0 -41
  3020. package/src/validated-form-controls/test/checkbox-control.tsx +0 -49
  3021. package/src/validated-form-controls/test/number-control.tsx +0 -44
  3022. package/src/validated-form-controls/test/radio-control.tsx +0 -61
  3023. package/src/validated-form-controls/test/select-control.tsx +0 -57
  3024. package/src/validated-form-controls/test/text-control.tsx +0 -49
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/range-control/tooltip.tsx"],
4
- "sourcesContent": ["/**\n * External dependencies\n */\nimport clsx from 'clsx';\n\n/**\n * WordPress dependencies\n */\nimport { useCallback, useEffect, useState } from '@wordpress/element';\n\n/**\n * Internal dependencies\n */\nimport { Tooltip } from './styles/range-control-styles';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default function SimpleTooltip(props) {\n const {\n className,\n inputRef,\n tooltipPlacement,\n show = false,\n style = {},\n value = 0,\n renderTooltipContent = v => v,\n zIndex = 100,\n ...restProps\n } = props;\n const placement = useTooltipPlacement({\n inputRef,\n tooltipPlacement\n });\n const classes = clsx('components-simple-tooltip', className);\n const styles = {\n ...style,\n zIndex\n };\n return /*#__PURE__*/_jsx(Tooltip, {\n ...restProps,\n \"aria-hidden\": \"false\",\n className: classes,\n placement: placement,\n show: show,\n role: \"tooltip\",\n style: styles,\n children: renderTooltipContent(value)\n });\n}\nfunction useTooltipPlacement({\n inputRef,\n tooltipPlacement\n}) {\n const [placement, setPlacement] = useState();\n const setTooltipPlacement = useCallback(() => {\n if (inputRef && inputRef.current) {\n setPlacement(tooltipPlacement);\n }\n }, [tooltipPlacement, inputRef]);\n useEffect(() => {\n setTooltipPlacement();\n }, [setTooltipPlacement]);\n useEffect(() => {\n window.addEventListener('resize', setTooltipPlacement);\n return () => {\n window.removeEventListener('resize', setTooltipPlacement);\n };\n });\n return placement;\n}"],
5
- "mappings": ";AAGA,OAAO,UAAU;AAKjB,SAAS,aAAa,WAAW,gBAAgB;AAKjD,SAAS,eAAe;AACxB,SAAS,OAAO,YAAY;AACb,SAAR,cAA+B,OAAO;AAC3C,QAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,IACA,OAAO;AAAA,IACP,QAAQ,CAAC;AAAA,IACT,QAAQ;AAAA,IACR,uBAAuB,OAAK;AAAA,IAC5B,SAAS;AAAA,IACT,GAAG;AAAA,EACL,IAAI;AACJ,QAAM,YAAY,oBAAoB;AAAA,IACpC;AAAA,IACA;AAAA,EACF,CAAC;AACD,QAAM,UAAU,KAAK,6BAA6B,SAAS;AAC3D,QAAM,SAAS;AAAA,IACb,GAAG;AAAA,IACH;AAAA,EACF;AACA,SAAoB,qBAAK,SAAS;AAAA,IAChC,GAAG;AAAA,IACH,eAAe;AAAA,IACf,WAAW;AAAA,IACX;AAAA,IACA;AAAA,IACA,MAAM;AAAA,IACN,OAAO;AAAA,IACP,UAAU,qBAAqB,KAAK;AAAA,EACtC,CAAC;AACH;AACA,SAAS,oBAAoB;AAAA,EAC3B;AAAA,EACA;AACF,GAAG;AACD,QAAM,CAAC,WAAW,YAAY,IAAI,SAAS;AAC3C,QAAM,sBAAsB,YAAY,MAAM;AAC5C,QAAI,YAAY,SAAS,SAAS;AAChC,mBAAa,gBAAgB;AAAA,IAC/B;AAAA,EACF,GAAG,CAAC,kBAAkB,QAAQ,CAAC;AAC/B,YAAU,MAAM;AACd,wBAAoB;AAAA,EACtB,GAAG,CAAC,mBAAmB,CAAC;AACxB,YAAU,MAAM;AACd,WAAO,iBAAiB,UAAU,mBAAmB;AACrD,WAAO,MAAM;AACX,aAAO,oBAAoB,UAAU,mBAAmB;AAAA,IAC1D;AAAA,EACF,CAAC;AACD,SAAO;AACT;",
4
+ "sourcesContent": ["import clsx from 'clsx';\nimport { useCallback, useEffect, useState } from '@wordpress/element';\nimport { Tooltip } from './styles/range-control-styles';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default function SimpleTooltip(props) {\n const {\n className,\n inputRef,\n tooltipPlacement,\n show = false,\n style = {},\n value = 0,\n renderTooltipContent = v => v,\n zIndex = 100,\n ...restProps\n } = props;\n const placement = useTooltipPlacement({\n inputRef,\n tooltipPlacement\n });\n const classes = clsx('components-simple-tooltip', className);\n const styles = {\n ...style,\n zIndex\n };\n return /*#__PURE__*/_jsx(Tooltip, {\n ...restProps,\n \"aria-hidden\": \"false\",\n className: classes,\n placement: placement,\n show: show,\n role: \"tooltip\",\n style: styles,\n children: renderTooltipContent(value)\n });\n}\nfunction useTooltipPlacement({\n inputRef,\n tooltipPlacement\n}) {\n const [placement, setPlacement] = useState();\n const setTooltipPlacement = useCallback(() => {\n if (inputRef && inputRef.current) {\n setPlacement(tooltipPlacement);\n }\n }, [tooltipPlacement, inputRef]);\n useEffect(() => {\n setTooltipPlacement();\n }, [setTooltipPlacement]);\n useEffect(() => {\n window.addEventListener('resize', setTooltipPlacement);\n return () => {\n window.removeEventListener('resize', setTooltipPlacement);\n };\n });\n return placement;\n}"],
5
+ "mappings": ";AAAA,OAAO,UAAU;AACjB,SAAS,aAAa,WAAW,gBAAgB;AACjD,SAAS,eAAe;AACxB,SAAS,OAAO,YAAY;AACb,SAAR,cAA+B,OAAO;AAC3C,QAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,IACA,OAAO;AAAA,IACP,QAAQ,CAAC;AAAA,IACT,QAAQ;AAAA,IACR,uBAAuB,OAAK;AAAA,IAC5B,SAAS;AAAA,IACT,GAAG;AAAA,EACL,IAAI;AACJ,QAAM,YAAY,oBAAoB;AAAA,IACpC;AAAA,IACA;AAAA,EACF,CAAC;AACD,QAAM,UAAU,KAAK,6BAA6B,SAAS;AAC3D,QAAM,SAAS;AAAA,IACb,GAAG;AAAA,IACH;AAAA,EACF;AACA,SAAoB,qBAAK,SAAS;AAAA,IAChC,GAAG;AAAA,IACH,eAAe;AAAA,IACf,WAAW;AAAA,IACX;AAAA,IACA;AAAA,IACA,MAAM;AAAA,IACN,OAAO;AAAA,IACP,UAAU,qBAAqB,KAAK;AAAA,EACtC,CAAC;AACH;AACA,SAAS,oBAAoB;AAAA,EAC3B;AAAA,EACA;AACF,GAAG;AACD,QAAM,CAAC,WAAW,YAAY,IAAI,SAAS;AAC3C,QAAM,sBAAsB,YAAY,MAAM;AAC5C,QAAI,YAAY,SAAS,SAAS;AAChC,mBAAa,gBAAgB;AAAA,IAC/B;AAAA,EACF,GAAG,CAAC,kBAAkB,QAAQ,CAAC;AAC/B,YAAU,MAAM;AACd,wBAAoB;AAAA,EACtB,GAAG,CAAC,mBAAmB,CAAC;AACxB,YAAU,MAAM;AACd,WAAO,iBAAiB,UAAU,mBAAmB;AACrD,WAAO,MAAM;AACX,aAAO,oBAAoB,UAAU,mBAAmB;AAAA,IAC1D;AAAA,EACF,CAAC;AACD,SAAO;AACT;",
6
6
  "names": []
7
7
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/range-control/utils.ts"],
4
- "sourcesContent": ["/**\n * WordPress dependencies\n */\nimport { useCallback } from '@wordpress/element';\n\n/**\n * Internal dependencies\n */\nimport { useControlledState } from '../utils/hooks';\nimport { clamp } from '../utils/math';\n/**\n * A float supported clamp function for a specific value.\n *\n * @param value The value to clamp.\n * @param min The minimum value.\n * @param max The maximum value.\n *\n * @return A (float) number\n */\nexport function floatClamp(value, min, max) {\n if (typeof value !== 'number') {\n return null;\n }\n return parseFloat(`${clamp(value, min, max)}`);\n}\n\n/**\n * Hook to store a clamped value, derived from props.\n *\n * @param settings\n * @return The controlled value and the value setter.\n */\nexport function useControlledRangeValue(settings) {\n const {\n min,\n max,\n value: valueProp,\n initial\n } = settings;\n const [state, setInternalState] = useControlledState(floatClamp(valueProp, min, max), {\n initial: floatClamp(initial ?? null, min, max),\n fallback: null\n });\n const setState = useCallback(nextValue => {\n if (nextValue === null) {\n setInternalState(null);\n } else {\n setInternalState(floatClamp(nextValue, min, max));\n }\n }, [min, max, setInternalState]);\n\n // `state` can't be an empty string because we specified a fallback value of\n // `null` in `useControlledState`\n return [state, setState];\n}"],
5
- "mappings": ";AAGA,SAAS,mBAAmB;AAK5B,SAAS,0BAA0B;AACnC,SAAS,aAAa;AAUf,SAAS,WAAW,OAAO,KAAK,KAAK;AAC1C,MAAI,OAAO,UAAU,UAAU;AAC7B,WAAO;AAAA,EACT;AACA,SAAO,WAAW,GAAG,MAAM,OAAO,KAAK,GAAG,CAAC,EAAE;AAC/C;AAQO,SAAS,wBAAwB,UAAU;AAChD,QAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA,OAAO;AAAA,IACP;AAAA,EACF,IAAI;AACJ,QAAM,CAAC,OAAO,gBAAgB,IAAI,mBAAmB,WAAW,WAAW,KAAK,GAAG,GAAG;AAAA,IACpF,SAAS,WAAW,WAAW,MAAM,KAAK,GAAG;AAAA,IAC7C,UAAU;AAAA,EACZ,CAAC;AACD,QAAM,WAAW,YAAY,eAAa;AACxC,QAAI,cAAc,MAAM;AACtB,uBAAiB,IAAI;AAAA,IACvB,OAAO;AACL,uBAAiB,WAAW,WAAW,KAAK,GAAG,CAAC;AAAA,IAClD;AAAA,EACF,GAAG,CAAC,KAAK,KAAK,gBAAgB,CAAC;AAI/B,SAAO,CAAC,OAAO,QAAQ;AACzB;",
4
+ "sourcesContent": ["import { useCallback } from '@wordpress/element';\nimport { useControlledState } from '../utils/hooks';\nimport { clamp } from '../utils/math';\n/**\n * A float supported clamp function for a specific value.\n *\n * @param value The value to clamp.\n * @param min The minimum value.\n * @param max The maximum value.\n *\n * @return A (float) number\n */\nexport function floatClamp(value, min, max) {\n if (typeof value !== 'number') {\n return null;\n }\n return parseFloat(`${clamp(value, min, max)}`);\n}\n\n/**\n * Hook to store a clamped value, derived from props.\n *\n * @param settings\n * @return The controlled value and the value setter.\n */\nexport function useControlledRangeValue(settings) {\n const {\n min,\n max,\n value: valueProp,\n initial\n } = settings;\n const [state, setInternalState] = useControlledState(floatClamp(valueProp, min, max), {\n initial: floatClamp(initial ?? null, min, max),\n fallback: null\n });\n const setState = useCallback(nextValue => {\n if (nextValue === null) {\n setInternalState(null);\n } else {\n setInternalState(floatClamp(nextValue, min, max));\n }\n }, [min, max, setInternalState]);\n\n // `state` can't be an empty string because we specified a fallback value of\n // `null` in `useControlledState`\n return [state, setState];\n}"],
5
+ "mappings": ";AAAA,SAAS,mBAAmB;AAC5B,SAAS,0BAA0B;AACnC,SAAS,aAAa;AAUf,SAAS,WAAW,OAAO,KAAK,KAAK;AAC1C,MAAI,OAAO,UAAU,UAAU;AAC7B,WAAO;AAAA,EACT;AACA,SAAO,WAAW,GAAG,MAAM,OAAO,KAAK,GAAG,CAAC,EAAE;AAC/C;AAQO,SAAS,wBAAwB,UAAU;AAChD,QAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA,OAAO;AAAA,IACP;AAAA,EACF,IAAI;AACJ,QAAM,CAAC,OAAO,gBAAgB,IAAI,mBAAmB,WAAW,WAAW,KAAK,GAAG,GAAG;AAAA,IACpF,SAAS,WAAW,WAAW,MAAM,KAAK,GAAG;AAAA,IAC7C,UAAU;AAAA,EACZ,CAAC;AACD,QAAM,WAAW,YAAY,eAAa;AACxC,QAAI,cAAc,MAAM;AACtB,uBAAiB,IAAI;AAAA,IACvB,OAAO;AACL,uBAAiB,WAAW,WAAW,KAAK,GAAG,CAAC;AAAA,IAClD;AAAA,EACF,GAAG,CAAC,KAAK,KAAK,gBAAgB,CAAC;AAI/B,SAAO,CAAC,OAAO,QAAQ;AACzB;",
6
6
  "names": []
7
7
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/resizable-box/index.tsx"],
4
- "sourcesContent": ["/**\n * WordPress dependencies\n */\nimport { forwardRef } from '@wordpress/element';\n\n/**\n * External dependencies\n */\nimport clsx from 'clsx';\nimport { Resizable } from 're-resizable';\n/**\n * Internal dependencies\n */\nimport ResizeTooltip from './resize-tooltip';\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst HANDLE_CLASS_NAME = 'components-resizable-box__handle';\nconst SIDE_HANDLE_CLASS_NAME = 'components-resizable-box__side-handle';\nconst CORNER_HANDLE_CLASS_NAME = 'components-resizable-box__corner-handle';\nconst HANDLE_CLASSES = {\n top: clsx(HANDLE_CLASS_NAME, SIDE_HANDLE_CLASS_NAME, 'components-resizable-box__handle-top'),\n right: clsx(HANDLE_CLASS_NAME, SIDE_HANDLE_CLASS_NAME, 'components-resizable-box__handle-right'),\n bottom: clsx(HANDLE_CLASS_NAME, SIDE_HANDLE_CLASS_NAME, 'components-resizable-box__handle-bottom'),\n left: clsx(HANDLE_CLASS_NAME, SIDE_HANDLE_CLASS_NAME, 'components-resizable-box__handle-left'),\n topLeft: clsx(HANDLE_CLASS_NAME, CORNER_HANDLE_CLASS_NAME, 'components-resizable-box__handle-top', 'components-resizable-box__handle-left'),\n topRight: clsx(HANDLE_CLASS_NAME, CORNER_HANDLE_CLASS_NAME, 'components-resizable-box__handle-top', 'components-resizable-box__handle-right'),\n bottomRight: clsx(HANDLE_CLASS_NAME, CORNER_HANDLE_CLASS_NAME, 'components-resizable-box__handle-bottom', 'components-resizable-box__handle-right'),\n bottomLeft: clsx(HANDLE_CLASS_NAME, CORNER_HANDLE_CLASS_NAME, 'components-resizable-box__handle-bottom', 'components-resizable-box__handle-left')\n};\n\n// Removes the inline styles in the drag handles.\nconst HANDLE_STYLES_OVERRIDES = {\n width: undefined,\n height: undefined,\n top: undefined,\n right: undefined,\n bottom: undefined,\n left: undefined\n};\nconst HANDLE_STYLES = {\n top: HANDLE_STYLES_OVERRIDES,\n right: HANDLE_STYLES_OVERRIDES,\n bottom: HANDLE_STYLES_OVERRIDES,\n left: HANDLE_STYLES_OVERRIDES,\n topLeft: HANDLE_STYLES_OVERRIDES,\n topRight: HANDLE_STYLES_OVERRIDES,\n bottomRight: HANDLE_STYLES_OVERRIDES,\n bottomLeft: HANDLE_STYLES_OVERRIDES\n};\nfunction UnforwardedResizableBox({\n className,\n children,\n showHandle = true,\n __experimentalShowTooltip: showTooltip = false,\n __experimentalTooltipProps: tooltipProps = {},\n ...props\n}, ref) {\n return /*#__PURE__*/_jsxs(Resizable, {\n className: clsx('components-resizable-box__container', showHandle && 'has-show-handle', className)\n // Add a focusable element within the drag handle. Unfortunately,\n // `re-resizable` does not make them properly focusable by default,\n // causing focus to move the the block wrapper which triggers block\n // drag.\n ,\n handleComponent: Object.fromEntries(Object.keys(HANDLE_CLASSES).map(key => [key, /*#__PURE__*/_jsx(\"div\", {\n tabIndex: -1\n }, key)])),\n handleClasses: HANDLE_CLASSES,\n handleStyles: HANDLE_STYLES,\n ref: ref,\n ...props,\n children: [children, showTooltip && /*#__PURE__*/_jsx(ResizeTooltip, {\n ...tooltipProps\n })]\n });\n}\n\n/**\n * `ResizableBox` wraps content in a container with draggable handles, letting\n * users interactively resize it along one or more edges or corners.\n */\nexport const ResizableBox = forwardRef(UnforwardedResizableBox);\nResizableBox.displayName = 'ResizableBox';\nexport default ResizableBox;"],
5
- "mappings": ";AAGA,SAAS,kBAAkB;AAK3B,OAAO,UAAU;AACjB,SAAS,iBAAiB;AAI1B,OAAO,mBAAmB;AAC1B,SAAS,OAAO,MAAM,QAAQ,aAAa;AAC3C,IAAM,oBAAoB;AAC1B,IAAM,yBAAyB;AAC/B,IAAM,2BAA2B;AACjC,IAAM,iBAAiB;AAAA,EACrB,KAAK,KAAK,mBAAmB,wBAAwB,sCAAsC;AAAA,EAC3F,OAAO,KAAK,mBAAmB,wBAAwB,wCAAwC;AAAA,EAC/F,QAAQ,KAAK,mBAAmB,wBAAwB,yCAAyC;AAAA,EACjG,MAAM,KAAK,mBAAmB,wBAAwB,uCAAuC;AAAA,EAC7F,SAAS,KAAK,mBAAmB,0BAA0B,wCAAwC,uCAAuC;AAAA,EAC1I,UAAU,KAAK,mBAAmB,0BAA0B,wCAAwC,wCAAwC;AAAA,EAC5I,aAAa,KAAK,mBAAmB,0BAA0B,2CAA2C,wCAAwC;AAAA,EAClJ,YAAY,KAAK,mBAAmB,0BAA0B,2CAA2C,uCAAuC;AAClJ;AAGA,IAAM,0BAA0B;AAAA,EAC9B,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,KAAK;AAAA,EACL,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,MAAM;AACR;AACA,IAAM,gBAAgB;AAAA,EACpB,KAAK;AAAA,EACL,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,MAAM;AAAA,EACN,SAAS;AAAA,EACT,UAAU;AAAA,EACV,aAAa;AAAA,EACb,YAAY;AACd;AACA,SAAS,wBAAwB;AAAA,EAC/B;AAAA,EACA;AAAA,EACA,aAAa;AAAA,EACb,2BAA2B,cAAc;AAAA,EACzC,4BAA4B,eAAe,CAAC;AAAA,EAC5C,GAAG;AACL,GAAG,KAAK;AACN,SAAoB,sBAAM,WAAW;AAAA,IACnC,WAAW,KAAK,uCAAuC,cAAc,mBAAmB,SAAS;AAAA,IAMjG,iBAAiB,OAAO,YAAY,OAAO,KAAK,cAAc,EAAE,IAAI,SAAO,CAAC,KAAkB,qBAAK,OAAO;AAAA,MACxG,UAAU;AAAA,IACZ,GAAG,GAAG,CAAC,CAAC,CAAC;AAAA,IACT,eAAe;AAAA,IACf,cAAc;AAAA,IACd;AAAA,IACA,GAAG;AAAA,IACH,UAAU,CAAC,UAAU,eAA4B,qBAAK,eAAe;AAAA,MACnE,GAAG;AAAA,IACL,CAAC,CAAC;AAAA,EACJ,CAAC;AACH;AAMO,IAAM,eAAe,WAAW,uBAAuB;AAC9D,aAAa,cAAc;AAC3B,IAAO,wBAAQ;",
4
+ "sourcesContent": ["import { forwardRef } from '@wordpress/element';\nimport clsx from 'clsx';\nimport { Resizable } from 're-resizable';\nimport ResizeTooltip from './resize-tooltip';\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst HANDLE_CLASS_NAME = 'components-resizable-box__handle';\nconst SIDE_HANDLE_CLASS_NAME = 'components-resizable-box__side-handle';\nconst CORNER_HANDLE_CLASS_NAME = 'components-resizable-box__corner-handle';\nconst HANDLE_CLASSES = {\n top: clsx(HANDLE_CLASS_NAME, SIDE_HANDLE_CLASS_NAME, 'components-resizable-box__handle-top'),\n right: clsx(HANDLE_CLASS_NAME, SIDE_HANDLE_CLASS_NAME, 'components-resizable-box__handle-right'),\n bottom: clsx(HANDLE_CLASS_NAME, SIDE_HANDLE_CLASS_NAME, 'components-resizable-box__handle-bottom'),\n left: clsx(HANDLE_CLASS_NAME, SIDE_HANDLE_CLASS_NAME, 'components-resizable-box__handle-left'),\n topLeft: clsx(HANDLE_CLASS_NAME, CORNER_HANDLE_CLASS_NAME, 'components-resizable-box__handle-top', 'components-resizable-box__handle-left'),\n topRight: clsx(HANDLE_CLASS_NAME, CORNER_HANDLE_CLASS_NAME, 'components-resizable-box__handle-top', 'components-resizable-box__handle-right'),\n bottomRight: clsx(HANDLE_CLASS_NAME, CORNER_HANDLE_CLASS_NAME, 'components-resizable-box__handle-bottom', 'components-resizable-box__handle-right'),\n bottomLeft: clsx(HANDLE_CLASS_NAME, CORNER_HANDLE_CLASS_NAME, 'components-resizable-box__handle-bottom', 'components-resizable-box__handle-left')\n};\n\n// Removes the inline styles in the drag handles.\nconst HANDLE_STYLES_OVERRIDES = {\n width: undefined,\n height: undefined,\n top: undefined,\n right: undefined,\n bottom: undefined,\n left: undefined\n};\nconst HANDLE_STYLES = {\n top: HANDLE_STYLES_OVERRIDES,\n right: HANDLE_STYLES_OVERRIDES,\n bottom: HANDLE_STYLES_OVERRIDES,\n left: HANDLE_STYLES_OVERRIDES,\n topLeft: HANDLE_STYLES_OVERRIDES,\n topRight: HANDLE_STYLES_OVERRIDES,\n bottomRight: HANDLE_STYLES_OVERRIDES,\n bottomLeft: HANDLE_STYLES_OVERRIDES\n};\nfunction UnforwardedResizableBox({\n className,\n children,\n showHandle = true,\n __experimentalShowTooltip: showTooltip = false,\n __experimentalTooltipProps: tooltipProps = {},\n ...props\n}, ref) {\n return /*#__PURE__*/_jsxs(Resizable, {\n className: clsx('components-resizable-box__container', showHandle && 'has-show-handle', className)\n // Add a focusable element within the drag handle. Unfortunately,\n // `re-resizable` does not make them properly focusable by default,\n // causing focus to move the the block wrapper which triggers block\n // drag.\n ,\n handleComponent: Object.fromEntries(Object.keys(HANDLE_CLASSES).map(key => [key, /*#__PURE__*/_jsx(\"div\", {\n tabIndex: -1\n }, key)])),\n handleClasses: HANDLE_CLASSES,\n handleStyles: HANDLE_STYLES,\n ref: ref,\n ...props,\n children: [children, showTooltip && /*#__PURE__*/_jsx(ResizeTooltip, {\n ...tooltipProps\n })]\n });\n}\n\n/**\n * `ResizableBox` wraps content in a container with draggable handles, letting\n * users interactively resize it along one or more edges or corners.\n */\nexport const ResizableBox = forwardRef(UnforwardedResizableBox);\nResizableBox.displayName = 'ResizableBox';\nexport default ResizableBox;"],
5
+ "mappings": ";AAAA,SAAS,kBAAkB;AAC3B,OAAO,UAAU;AACjB,SAAS,iBAAiB;AAC1B,OAAO,mBAAmB;AAC1B,SAAS,OAAO,MAAM,QAAQ,aAAa;AAC3C,IAAM,oBAAoB;AAC1B,IAAM,yBAAyB;AAC/B,IAAM,2BAA2B;AACjC,IAAM,iBAAiB;AAAA,EACrB,KAAK,KAAK,mBAAmB,wBAAwB,sCAAsC;AAAA,EAC3F,OAAO,KAAK,mBAAmB,wBAAwB,wCAAwC;AAAA,EAC/F,QAAQ,KAAK,mBAAmB,wBAAwB,yCAAyC;AAAA,EACjG,MAAM,KAAK,mBAAmB,wBAAwB,uCAAuC;AAAA,EAC7F,SAAS,KAAK,mBAAmB,0BAA0B,wCAAwC,uCAAuC;AAAA,EAC1I,UAAU,KAAK,mBAAmB,0BAA0B,wCAAwC,wCAAwC;AAAA,EAC5I,aAAa,KAAK,mBAAmB,0BAA0B,2CAA2C,wCAAwC;AAAA,EAClJ,YAAY,KAAK,mBAAmB,0BAA0B,2CAA2C,uCAAuC;AAClJ;AAGA,IAAM,0BAA0B;AAAA,EAC9B,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,KAAK;AAAA,EACL,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,MAAM;AACR;AACA,IAAM,gBAAgB;AAAA,EACpB,KAAK;AAAA,EACL,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,MAAM;AAAA,EACN,SAAS;AAAA,EACT,UAAU;AAAA,EACV,aAAa;AAAA,EACb,YAAY;AACd;AACA,SAAS,wBAAwB;AAAA,EAC/B;AAAA,EACA;AAAA,EACA,aAAa;AAAA,EACb,2BAA2B,cAAc;AAAA,EACzC,4BAA4B,eAAe,CAAC;AAAA,EAC5C,GAAG;AACL,GAAG,KAAK;AACN,SAAoB,sBAAM,WAAW;AAAA,IACnC,WAAW,KAAK,uCAAuC,cAAc,mBAAmB,SAAS;AAAA,IAMjG,iBAAiB,OAAO,YAAY,OAAO,KAAK,cAAc,EAAE,IAAI,SAAO,CAAC,KAAkB,qBAAK,OAAO;AAAA,MACxG,UAAU;AAAA,IACZ,GAAG,GAAG,CAAC,CAAC,CAAC;AAAA,IACT,eAAe;AAAA,IACf,cAAc;AAAA,IACd;AAAA,IACA,GAAG;AAAA,IACH,UAAU,CAAC,UAAU,eAA4B,qBAAK,eAAe;AAAA,MACnE,GAAG;AAAA,IACL,CAAC,CAAC;AAAA,EACJ,CAAC;AACH;AAMO,IAAM,eAAe,WAAW,uBAAuB;AAC9D,aAAa,cAAc;AAC3B,IAAO,wBAAQ;",
6
6
  "names": []
7
7
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/resizable-box/resize-tooltip/index.tsx"],
4
- "sourcesContent": ["/**\n * External dependencies\n */\nimport clsx from 'clsx';\n/**\n * WordPress dependencies\n */\nimport { forwardRef } from '@wordpress/element';\n\n/**\n * Internal dependencies\n */\nimport Label from './label';\nimport { useResizeLabel, POSITIONS } from './utils';\nimport { Root } from './styles/resize-tooltip.styles';\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst noop = () => {};\nfunction ResizeTooltip({\n axis,\n className,\n fadeTimeout = 180,\n isVisible = true,\n labelRef,\n onResize = noop,\n position = POSITIONS.bottom,\n showPx = true,\n zIndex = 1000,\n ...props\n}, ref) {\n const {\n label,\n resizeListener\n } = useResizeLabel({\n axis,\n fadeTimeout,\n onResize,\n showPx,\n position\n });\n if (!isVisible) {\n return null;\n }\n const classes = clsx('components-resize-tooltip', className);\n return /*#__PURE__*/_jsxs(Root, {\n \"aria-hidden\": \"true\",\n className: classes,\n ref: ref,\n ...props,\n children: [resizeListener, /*#__PURE__*/_jsx(Label, {\n \"aria-hidden\": props['aria-hidden'],\n label: label,\n position: position,\n ref: labelRef,\n zIndex: zIndex\n })]\n });\n}\nconst ForwardedComponent = forwardRef(ResizeTooltip);\nexport default ForwardedComponent;"],
5
- "mappings": ";AAGA,OAAO,UAAU;AAIjB,SAAS,kBAAkB;AAK3B,OAAO,WAAW;AAClB,SAAS,gBAAgB,iBAAiB;AAC1C,SAAS,YAAY;AACrB,SAAS,OAAO,MAAM,QAAQ,aAAa;AAC3C,IAAM,OAAO,MAAM;AAAC;AACpB,SAAS,cAAc;AAAA,EACrB;AAAA,EACA;AAAA,EACA,cAAc;AAAA,EACd,YAAY;AAAA,EACZ;AAAA,EACA,WAAW;AAAA,EACX,WAAW,UAAU;AAAA,EACrB,SAAS;AAAA,EACT,SAAS;AAAA,EACT,GAAG;AACL,GAAG,KAAK;AACN,QAAM;AAAA,IACJ;AAAA,IACA;AAAA,EACF,IAAI,eAAe;AAAA,IACjB;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF,CAAC;AACD,MAAI,CAAC,WAAW;AACd,WAAO;AAAA,EACT;AACA,QAAM,UAAU,KAAK,6BAA6B,SAAS;AAC3D,SAAoB,sBAAM,MAAM;AAAA,IAC9B,eAAe;AAAA,IACf,WAAW;AAAA,IACX;AAAA,IACA,GAAG;AAAA,IACH,UAAU,CAAC,gBAA6B,qBAAK,OAAO;AAAA,MAClD,eAAe,MAAM,aAAa;AAAA,MAClC;AAAA,MACA;AAAA,MACA,KAAK;AAAA,MACL;AAAA,IACF,CAAC,CAAC;AAAA,EACJ,CAAC;AACH;AACA,IAAM,qBAAqB,WAAW,aAAa;AACnD,IAAO,yBAAQ;",
4
+ "sourcesContent": ["import clsx from 'clsx';\nimport { forwardRef } from '@wordpress/element';\nimport Label from './label';\nimport { useResizeLabel, POSITIONS } from './utils';\nimport { Root } from './styles/resize-tooltip.styles';\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst noop = () => {};\nfunction ResizeTooltip({\n axis,\n className,\n fadeTimeout = 180,\n isVisible = true,\n labelRef,\n onResize = noop,\n position = POSITIONS.bottom,\n showPx = true,\n zIndex = 1000,\n ...props\n}, ref) {\n const {\n label,\n resizeListener\n } = useResizeLabel({\n axis,\n fadeTimeout,\n onResize,\n showPx,\n position\n });\n if (!isVisible) {\n return null;\n }\n const classes = clsx('components-resize-tooltip', className);\n return /*#__PURE__*/_jsxs(Root, {\n \"aria-hidden\": \"true\",\n className: classes,\n ref: ref,\n ...props,\n children: [resizeListener, /*#__PURE__*/_jsx(Label, {\n \"aria-hidden\": props['aria-hidden'],\n label: label,\n position: position,\n ref: labelRef,\n zIndex: zIndex\n })]\n });\n}\nconst ForwardedComponent = forwardRef(ResizeTooltip);\nexport default ForwardedComponent;"],
5
+ "mappings": ";AAAA,OAAO,UAAU;AACjB,SAAS,kBAAkB;AAC3B,OAAO,WAAW;AAClB,SAAS,gBAAgB,iBAAiB;AAC1C,SAAS,YAAY;AACrB,SAAS,OAAO,MAAM,QAAQ,aAAa;AAC3C,IAAM,OAAO,MAAM;AAAC;AACpB,SAAS,cAAc;AAAA,EACrB;AAAA,EACA;AAAA,EACA,cAAc;AAAA,EACd,YAAY;AAAA,EACZ;AAAA,EACA,WAAW;AAAA,EACX,WAAW,UAAU;AAAA,EACrB,SAAS;AAAA,EACT,SAAS;AAAA,EACT,GAAG;AACL,GAAG,KAAK;AACN,QAAM;AAAA,IACJ;AAAA,IACA;AAAA,EACF,IAAI,eAAe;AAAA,IACjB;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF,CAAC;AACD,MAAI,CAAC,WAAW;AACd,WAAO;AAAA,EACT;AACA,QAAM,UAAU,KAAK,6BAA6B,SAAS;AAC3D,SAAoB,sBAAM,MAAM;AAAA,IAC9B,eAAe;AAAA,IACf,WAAW;AAAA,IACX;AAAA,IACA,GAAG;AAAA,IACH,UAAU,CAAC,gBAA6B,qBAAK,OAAO;AAAA,MAClD,eAAe,MAAM,aAAa;AAAA,MAClC;AAAA,MACA;AAAA,MACA,KAAK;AAAA,MACL;AAAA,IACF,CAAC,CAAC;AAAA,EACJ,CAAC;AACH;AACA,IAAM,qBAAqB,WAAW,aAAa;AACnD,IAAO,yBAAQ;",
6
6
  "names": []
7
7
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/resizable-box/resize-tooltip/label.tsx"],
4
- "sourcesContent": ["/**\n * External dependencies\n */\n\n/**\n * WordPress dependencies\n */\nimport { forwardRef } from '@wordpress/element';\nimport { isRTL } from '@wordpress/i18n';\n\n/**\n * Internal dependencies\n */\n\nimport { POSITIONS } from './utils';\nimport { TooltipWrapper, Tooltip, LabelText } from './styles/resize-tooltip.styles';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst CORNER_OFFSET = 4;\nconst CURSOR_OFFSET_TOP = CORNER_OFFSET * 2.5;\nfunction Label({\n label,\n position = POSITIONS.corner,\n zIndex = 1000,\n ...props\n}, ref) {\n const showLabel = !!label;\n const isBottom = position === POSITIONS.bottom;\n const isCorner = position === POSITIONS.corner;\n if (!showLabel) {\n return null;\n }\n let style = {\n opacity: showLabel ? 1 : undefined,\n zIndex\n };\n let labelStyle = {};\n if (isBottom) {\n style = {\n ...style,\n position: 'absolute',\n bottom: CURSOR_OFFSET_TOP * -1,\n left: '50%',\n transform: 'translate(-50%, 0)'\n };\n labelStyle = {\n transform: `translate(0, 100%)`\n };\n }\n if (isCorner) {\n style = {\n ...style,\n position: 'absolute',\n top: CORNER_OFFSET,\n right: isRTL() ? undefined : CORNER_OFFSET,\n left: isRTL() ? CORNER_OFFSET : undefined\n };\n }\n return /*#__PURE__*/_jsx(TooltipWrapper, {\n \"aria-hidden\": \"true\",\n className: \"components-resizable-tooltip__tooltip-wrapper\",\n ref: ref,\n style: style,\n ...props,\n children: /*#__PURE__*/_jsx(Tooltip, {\n className: \"components-resizable-tooltip__tooltip\",\n style: labelStyle,\n children: /*#__PURE__*/_jsx(LabelText, {\n as: \"span\",\n children: label\n })\n })\n });\n}\nconst ForwardedComponent = forwardRef(Label);\nexport default ForwardedComponent;"],
5
- "mappings": ";AAOA,SAAS,kBAAkB;AAC3B,SAAS,aAAa;AAMtB,SAAS,iBAAiB;AAC1B,SAAS,gBAAgB,SAAS,iBAAiB;AACnD,SAAS,OAAO,YAAY;AAC5B,IAAM,gBAAgB;AACtB,IAAM,oBAAoB,gBAAgB;AAC1C,SAAS,MAAM;AAAA,EACb;AAAA,EACA,WAAW,UAAU;AAAA,EACrB,SAAS;AAAA,EACT,GAAG;AACL,GAAG,KAAK;AACN,QAAM,YAAY,CAAC,CAAC;AACpB,QAAM,WAAW,aAAa,UAAU;AACxC,QAAM,WAAW,aAAa,UAAU;AACxC,MAAI,CAAC,WAAW;AACd,WAAO;AAAA,EACT;AACA,MAAI,QAAQ;AAAA,IACV,SAAS,YAAY,IAAI;AAAA,IACzB;AAAA,EACF;AACA,MAAI,aAAa,CAAC;AAClB,MAAI,UAAU;AACZ,YAAQ;AAAA,MACN,GAAG;AAAA,MACH,UAAU;AAAA,MACV,QAAQ,oBAAoB;AAAA,MAC5B,MAAM;AAAA,MACN,WAAW;AAAA,IACb;AACA,iBAAa;AAAA,MACX,WAAW;AAAA,IACb;AAAA,EACF;AACA,MAAI,UAAU;AACZ,YAAQ;AAAA,MACN,GAAG;AAAA,MACH,UAAU;AAAA,MACV,KAAK;AAAA,MACL,OAAO,MAAM,IAAI,SAAY;AAAA,MAC7B,MAAM,MAAM,IAAI,gBAAgB;AAAA,IAClC;AAAA,EACF;AACA,SAAoB,qBAAK,gBAAgB;AAAA,IACvC,eAAe;AAAA,IACf,WAAW;AAAA,IACX;AAAA,IACA;AAAA,IACA,GAAG;AAAA,IACH,UAAuB,qBAAK,SAAS;AAAA,MACnC,WAAW;AAAA,MACX,OAAO;AAAA,MACP,UAAuB,qBAAK,WAAW;AAAA,QACrC,IAAI;AAAA,QACJ,UAAU;AAAA,MACZ,CAAC;AAAA,IACH,CAAC;AAAA,EACH,CAAC;AACH;AACA,IAAM,qBAAqB,WAAW,KAAK;AAC3C,IAAO,gBAAQ;",
4
+ "sourcesContent": ["import { forwardRef } from '@wordpress/element';\nimport { isRTL } from '@wordpress/i18n';\nimport { POSITIONS } from './utils';\nimport { TooltipWrapper, Tooltip, LabelText } from './styles/resize-tooltip.styles';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst CORNER_OFFSET = 4;\nconst CURSOR_OFFSET_TOP = CORNER_OFFSET * 2.5;\nfunction Label({\n label,\n position = POSITIONS.corner,\n zIndex = 1000,\n ...props\n}, ref) {\n const showLabel = !!label;\n const isBottom = position === POSITIONS.bottom;\n const isCorner = position === POSITIONS.corner;\n if (!showLabel) {\n return null;\n }\n let style = {\n opacity: showLabel ? 1 : undefined,\n zIndex\n };\n let labelStyle = {};\n if (isBottom) {\n style = {\n ...style,\n position: 'absolute',\n bottom: CURSOR_OFFSET_TOP * -1,\n left: '50%',\n transform: 'translate(-50%, 0)'\n };\n labelStyle = {\n transform: `translate(0, 100%)`\n };\n }\n if (isCorner) {\n style = {\n ...style,\n position: 'absolute',\n top: CORNER_OFFSET,\n right: isRTL() ? undefined : CORNER_OFFSET,\n left: isRTL() ? CORNER_OFFSET : undefined\n };\n }\n return /*#__PURE__*/_jsx(TooltipWrapper, {\n \"aria-hidden\": \"true\",\n className: \"components-resizable-tooltip__tooltip-wrapper\",\n ref: ref,\n style: style,\n ...props,\n children: /*#__PURE__*/_jsx(Tooltip, {\n className: \"components-resizable-tooltip__tooltip\",\n style: labelStyle,\n children: /*#__PURE__*/_jsx(LabelText, {\n as: \"span\",\n children: label\n })\n })\n });\n}\nconst ForwardedComponent = forwardRef(Label);\nexport default ForwardedComponent;"],
5
+ "mappings": ";AAAA,SAAS,kBAAkB;AAC3B,SAAS,aAAa;AACtB,SAAS,iBAAiB;AAC1B,SAAS,gBAAgB,SAAS,iBAAiB;AACnD,SAAS,OAAO,YAAY;AAC5B,IAAM,gBAAgB;AACtB,IAAM,oBAAoB,gBAAgB;AAC1C,SAAS,MAAM;AAAA,EACb;AAAA,EACA,WAAW,UAAU;AAAA,EACrB,SAAS;AAAA,EACT,GAAG;AACL,GAAG,KAAK;AACN,QAAM,YAAY,CAAC,CAAC;AACpB,QAAM,WAAW,aAAa,UAAU;AACxC,QAAM,WAAW,aAAa,UAAU;AACxC,MAAI,CAAC,WAAW;AACd,WAAO;AAAA,EACT;AACA,MAAI,QAAQ;AAAA,IACV,SAAS,YAAY,IAAI;AAAA,IACzB;AAAA,EACF;AACA,MAAI,aAAa,CAAC;AAClB,MAAI,UAAU;AACZ,YAAQ;AAAA,MACN,GAAG;AAAA,MACH,UAAU;AAAA,MACV,QAAQ,oBAAoB;AAAA,MAC5B,MAAM;AAAA,MACN,WAAW;AAAA,IACb;AACA,iBAAa;AAAA,MACX,WAAW;AAAA,IACb;AAAA,EACF;AACA,MAAI,UAAU;AACZ,YAAQ;AAAA,MACN,GAAG;AAAA,MACH,UAAU;AAAA,MACV,KAAK;AAAA,MACL,OAAO,MAAM,IAAI,SAAY;AAAA,MAC7B,MAAM,MAAM,IAAI,gBAAgB;AAAA,IAClC;AAAA,EACF;AACA,SAAoB,qBAAK,gBAAgB;AAAA,IACvC,eAAe;AAAA,IACf,WAAW;AAAA,IACX;AAAA,IACA;AAAA,IACA,GAAG;AAAA,IACH,UAAuB,qBAAK,SAAS;AAAA,MACnC,WAAW;AAAA,MACX,OAAO;AAAA,MACP,UAAuB,qBAAK,WAAW;AAAA,QACrC,IAAI;AAAA,QACJ,UAAU;AAAA,MACZ,CAAC;AAAA,IACH,CAAC;AAAA,EACH,CAAC;AACH;AACA,IAAM,qBAAqB,WAAW,KAAK;AAC3C,IAAO,gBAAQ;",
6
6
  "names": []
7
7
  }
@@ -15,7 +15,7 @@ var Root = /* @__PURE__ */ _styled("div", process.env.NODE_ENV === "production"
15
15
  styles: "bottom:0;box-sizing:border-box;left:0;pointer-events:none;position:absolute;right:0;top:0"
16
16
  } : {
17
17
  name: "1cd7zoc",
18
- styles: "bottom:0;box-sizing:border-box;left:0;pointer-events:none;position:absolute;right:0;top:0/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJlc2l6ZS10b29sdGlwLnN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFXOEIiLCJmaWxlIjoicmVzaXplLXRvb2x0aXAuc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBFeHRlcm5hbCBkZXBlbmRlbmNpZXNcbiAqL1xuaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuXG4vKipcbiAqIEludGVybmFsIGRlcGVuZGVuY2llc1xuICovXG5pbXBvcnQgeyBUZXh0IH0gZnJvbSAnLi4vLi4vLi4vdGV4dCc7XG5pbXBvcnQgeyBmb250LCBDT0xPUlMsIENPTkZJRyB9IGZyb20gJy4uLy4uLy4uL3V0aWxzJztcblxuZXhwb3J0IGNvbnN0IFJvb3QgPSBzdHlsZWQuZGl2YFxuXHRib3R0b206IDA7XG5cdGJveC1zaXppbmc6IGJvcmRlci1ib3g7XG5cdGxlZnQ6IDA7XG5cdHBvaW50ZXItZXZlbnRzOiBub25lO1xuXHRwb3NpdGlvbjogYWJzb2x1dGU7XG5cdHJpZ2h0OiAwO1xuXHR0b3A6IDA7XG5gO1xuXG5leHBvcnQgY29uc3QgVG9vbHRpcFdyYXBwZXIgPSBzdHlsZWQuZGl2YFxuXHRhbGlnbi1pdGVtczogY2VudGVyO1xuXHRib3gtc2l6aW5nOiBib3JkZXItYm94O1xuXHRkaXNwbGF5OiBpbmxpbmUtZmxleDtcblx0anVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG5cdG9wYWNpdHk6IDA7XG5cdHBvaW50ZXItZXZlbnRzOiBub25lO1xuXHR0cmFuc2l0aW9uOiBvcGFjaXR5IDEyMG1zIGxpbmVhcjtcbmA7XG5cbmV4cG9ydCBjb25zdCBUb29sdGlwID0gc3R5bGVkLmRpdmBcblx0YmFja2dyb3VuZDogJHsgQ09MT1JTLnRoZW1lLmZvcmVncm91bmQgfTtcblx0Ym9yZGVyLXJhZGl1czogJHsgQ09ORklHLnJhZGl1c1NtYWxsIH07XG5cdGJveC1zaXppbmc6IGJvcmRlci1ib3g7XG5cdGZvbnQtZmFtaWx5OiAkeyBmb250KCAnZGVmYXVsdC5mb250RmFtaWx5JyApIH07XG5cdGZvbnQtc2l6ZTogMTJweDtcblx0Y29sb3I6ICR7IENPTE9SUy50aGVtZS5mb3JlZ3JvdW5kSW52ZXJ0ZWQgfTtcblx0cGFkZGluZzogNHB4IDhweDtcblx0cG9zaXRpb246IHJlbGF0aXZlO1xuYDtcblxuLy8gVE9ETzogUmVzb2x2ZSBuZWVkIHRvIHVzZSAmJiYgdG8gaW5jcmVhc2Ugc3BlY2lmaWNpdHlcbi8vIGh0dHBzOi8vZ2l0aHViLmNvbS9Xb3JkUHJlc3MvZ3V0ZW5iZXJnL2lzc3Vlcy8xODQ4M1xuXG5leHBvcnQgY29uc3QgTGFiZWxUZXh0ID0gc3R5bGVkKCBUZXh0IClgXG5cdCYmJiB7XG5cdFx0Y29sb3I6ICR7IENPTE9SUy50aGVtZS5mb3JlZ3JvdW5kSW52ZXJ0ZWQgfTtcblx0XHRkaXNwbGF5OiBibG9jaztcblx0XHRmb250LXNpemU6IDEzcHg7XG5cdFx0bGluZS1oZWlnaHQ6IDEuNDtcblx0XHR3aGl0ZS1zcGFjZTogbm93cmFwO1xuXHR9XG5gO1xuIl19 */",
18
+ styles: "bottom:0;box-sizing:border-box;left:0;pointer-events:none;position:absolute;right:0;top:0/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJlc2l6ZS10b29sdGlwLnN0eWxlcy50cyJdLCJuYW1lcyI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G5cdGNvbG9yOiAkeyBDT0xPUlMudGhlbWUuZm9yZWdyb3VuZEludmVydGVkIH07XG5cdHBhZGRpbmc6IDRweCA4cHg7XG5cdHBvc2l0aW9uOiByZWxhdGl2ZTtcbmA7XG5cbi8vIFRPRE86IFJlc29sdmUgbmVlZCB0byB1c2UgJiYmIHRvIGluY3JlYXNlIHNwZWNpZmljaXR5XG4vLyBodHRwczovL2dpdGh1Yi5jb20vV29yZFByZXNzL2d1dGVuYmVyZy9pc3N1ZXMvMTg0ODNcblxuZXhwb3J0IGNvbnN0IExhYmVsVGV4dCA9IHN0eWxlZCggVGV4dCApYFxuXHQmJiYge1xuXHRcdGNvbG9yOiAkeyBDT0xPUlMudGhlbWUuZm9yZWdyb3VuZEludmVydGVkIH07XG5cdFx0ZGlzcGxheTogYmxvY2s7XG5cdFx0Zm9udC1zaXplOiAxM3B4O1xuXHRcdGxpbmUtaGVpZ2h0OiAxLjQ7XG5cdFx0d2hpdGUtc3BhY2U6IG5vd3JhcDtcblx0fVxuYDtcbiJdfQ== */",
19
19
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__
20
20
  });
21
21
  var TooltipWrapper = /* @__PURE__ */ _styled("div", process.env.NODE_ENV === "production" ? {
@@ -28,7 +28,7 @@ var TooltipWrapper = /* @__PURE__ */ _styled("div", process.env.NODE_ENV === "pr
28
28
  styles: "align-items:center;box-sizing:border-box;display:inline-flex;justify-content:center;opacity:0;pointer-events:none;transition:opacity 120ms linear"
29
29
  } : {
30
30
  name: "ajymcs",
31
- styles: "align-items:center;box-sizing:border-box;display:inline-flex;justify-content:center;opacity:0;pointer-events:none;transition:opacity 120ms linear/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJlc2l6ZS10b29sdGlwLnN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFxQndDIiwiZmlsZSI6InJlc2l6ZS10b29sdGlwLnN0eWxlcy50cyI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1xuXHRmb250LXNpemU6IDEycHg7XG5cdGNvbG9yOiAkeyBDT0xPUlMudGhlbWUuZm9yZWdyb3VuZEludmVydGVkIH07XG5cdHBhZGRpbmc6IDRweCA4cHg7XG5cdHBvc2l0aW9uOiByZWxhdGl2ZTtcbmA7XG5cbi8vIFRPRE86IFJlc29sdmUgbmVlZCB0byB1c2UgJiYmIHRvIGluY3JlYXNlIHNwZWNpZmljaXR5XG4vLyBodHRwczovL2dpdGh1Yi5jb20vV29yZFByZXNzL2d1dGVuYmVyZy9pc3N1ZXMvMTg0ODNcblxuZXhwb3J0IGNvbnN0IExhYmVsVGV4dCA9IHN0eWxlZCggVGV4dCApYFxuXHQmJiYge1xuXHRcdGNvbG9yOiAkeyBDT0xPUlMudGhlbWUuZm9yZWdyb3VuZEludmVydGVkIH07XG5cdFx0ZGlzcGxheTogYmxvY2s7XG5cdFx0Zm9udC1zaXplOiAxM3B4O1xuXHRcdGxpbmUtaGVpZ2h0OiAxLjQ7XG5cdFx0d2hpdGUtc3BhY2U6IG5vd3JhcDtcblx0fVxuYDtcbiJdfQ== */",
31
+ styles: "align-items:center;box-sizing:border-box;display:inline-flex;justify-content:center;opacity:0;pointer-events:none;transition:opacity 120ms linear/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJlc2l6ZS10b29sdGlwLnN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFjd0MiLCJmaWxlIjoicmVzaXplLXRvb2x0aXAuc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuaW1wb3J0IHsgVGV4dCB9IGZyb20gJy4uLy4uLy4uL3RleHQnO1xuaW1wb3J0IHsgZm9udCwgQ09MT1JTLCBDT05GSUcgfSBmcm9tICcuLi8uLi8uLi91dGlscyc7XG5cbmV4cG9ydCBjb25zdCBSb290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hYmVsVGV4dCA9IHN0eWxlZCggVGV4dCApYFxuXHQmJiYge1xuXHRcdGNvbG9yOiAkeyBDT0xPUlMudGhlbWUuZm9yZWdyb3VuZEludmVydGVkIH07XG5cdFx0ZGlzcGxheTogYmxvY2s7XG5cdFx0Zm9udC1zaXplOiAxM3B4O1xuXHRcdGxpbmUtaGVpZ2h0OiAxLjQ7XG5cdFx0d2hpdGUtc3BhY2U6IG5vd3JhcDtcblx0fVxuYDtcbiJdfQ== */",
32
32
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__
33
33
  });
34
34
  var Tooltip = /* @__PURE__ */ _styled("div", process.env.NODE_ENV === "production" ? {
@@ -36,13 +36,13 @@ var Tooltip = /* @__PURE__ */ _styled("div", process.env.NODE_ENV === "productio
36
36
  } : {
37
37
  target: "e1wq7y4k1",
38
38
  label: "Tooltip"
39
- })("background:", COLORS.theme.foreground, ";border-radius:", CONFIG.radiusSmall, ";box-sizing:border-box;font-family:", font("default.fontFamily"), ";font-size:12px;color:", COLORS.theme.foregroundInverted, ";padding:4px 8px;position:relative;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJlc2l6ZS10b29sdGlwLnN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUErQmlDIiwiZmlsZSI6InJlc2l6ZS10b29sdGlwLnN0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogRXh0ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcblxuLyoqXG4gKiBJbnRlcm5hbCBkZXBlbmRlbmNpZXNcbiAqL1xuaW1wb3J0IHsgVGV4dCB9IGZyb20gJy4uLy4uLy4uL3RleHQnO1xuaW1wb3J0IHsgZm9udCwgQ09MT1JTLCBDT05GSUcgfSBmcm9tICcuLi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Zy9pc3N1ZXMvMTg0ODNcblxuZXhwb3J0IGNvbnN0IExhYmVsVGV4dCA9IHN0eWxlZCggVGV4dCApYFxuXHQmJiYge1xuXHRcdGNvbG9yOiAkeyBDT0xPUlMudGhlbWUuZm9yZWdyb3VuZEludmVydGVkIH07XG5cdFx0ZGlzcGxheTogYmxvY2s7XG5cdFx0Zm9udC1zaXplOiAxM3B4O1xuXHRcdGxpbmUtaGVpZ2h0OiAxLjQ7XG5cdFx0d2hpdGUtc3BhY2U6IG5vd3JhcDtcblx0fVxuYDtcbiJdfQ== */"));
39
+ })("background:", COLORS.theme.foreground, ";border-radius:", CONFIG.radiusSmall, ";box-sizing:border-box;font-family:", font("default.fontFamily"), ";font-size:12px;color:", COLORS.theme.foregroundInverted, ";padding:4px 8px;position:relative;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJlc2l6ZS10b29sdGlwLnN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUF3QmlDIiwiZmlsZSI6InJlc2l6ZS10b29sdGlwLnN0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCB7IFRleHQgfSBmcm9tICcuLi8uLi8uLi90ZXh0JztcbmltcG9ydCB7IGZvbnQsIENPTE9SUywgQ09ORklHIH0gZnJvbSAnLi4vLi4vLi4vdXRpbHMnO1xuXG5leHBvcnQgY29uc3QgUm9vdCA9IHN0eWxlZC5kaXZgXG5cdGJvdHRvbTogMDtcblx0Ym94LXNpemluZzogYm9yZGVyLWJveDtcblx0bGVmdDogMDtcblx0cG9pbnRlci1ldmVudHM6IG5vbmU7XG5cdHBvc2l0aW9uOiBhYnNvbHV0ZTtcblx0cmlnaHQ6IDA7XG5cdHRvcDogMDtcbmA7XG5cbmV4cG9ydCBjb25zd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5lLWhlaWdodDogMS40O1xuXHRcdHdoaXRlLXNwYWNlOiBub3dyYXA7XG5cdH1cbmA7XG4iXX0= */"));
40
40
  var LabelText = /* @__PURE__ */ _styled(Text, process.env.NODE_ENV === "production" ? {
41
41
  target: "e1wq7y4k0"
42
42
  } : {
43
43
  target: "e1wq7y4k0",
44
44
  label: "LabelText"
45
- })("&&&{color:", COLORS.theme.foregroundInverted, ";display:block;font-size:13px;line-height:1.4;white-space:nowrap;}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJlc2l6ZS10b29sdGlwLnN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUE2Q3VDIiwiZmlsZSI6InJlc2l6ZS10b29sdGlwLnN0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogRXh0ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcblxuLyoqXG4gKiBJbnRlcm5hbCBkZXBlbmRlbmNpZXNcbiAqL1xuaW1wb3J0IHsgVGV4dCB9IGZyb20gJy4uLy4uLy4uL3RleHQnO1xuaW1wb3J0IHsgZm9udCwgQ09MT1JTLCBDT05GSUcgfSBmcm9tICcuLi8uLi8uLi91dGlscyc7XG5cbmV4cG9ydCBjb25zdCBSb290ID0gc3R5bGVkLmRpdmBcblx0Ym90dG9tOiAwO1xuXHRib3gtc2l6aW5nOiBib3JkZXItYm94O1xuXHRsZWZ0OiAwO1xuXHRwb2ludGVyLWV2ZW50czogbm9uZTtcblx0cG9zaXRpb246IGFic29sdXRlO1xuXHRyaWdodDogMDtcblx0dG9wOiAwO1xuYDtcblxuZXhwb3J0IGNvbnN0IFRvb2x0aXBXcmFwcGVyID0gc3R5bGVkLmRpdmBcblx0YWxpZ24taXRlbXM6IGNlbnRlcjtcblx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LORS.theme.foregroundInverted, ";display:block;font-size:13px;line-height:1.4;white-space:nowrap;}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJlc2l6ZS10b29sdGlwLnN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFzQ3VDIiwiZmlsZSI6InJlc2l6ZS10b29sdGlwLnN0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCB7IFRleHQgfSBmcm9tICcuLi8uLi8uLi90ZXh0JztcbmltcG9ydCB7IGZvbnQsIENPTE9SUywgQ09ORklHIH0gZnJvbSAnLi4vLi4vLi4vdXRpbHMnO1xuXG5leHBvcnQgY29uc3QgUm9vdCA9IHN0eWxlZC5kaXZgXG5cdGJvdHRvbTogMDtcblx0Ym94LXNpemluZzogYm9yZGVyLWJveDtcblx0bGVmdDogMDtcblx0cG9pbnRlci1ldmVudHM6IG5vbmU7XG5cdHBvc2l0aW9uOiBhYnNvbHV0ZTtcblx0cmlnaHQ6IDA7XG5cdHRvcDogMDtcbmA7XG5cbmV4cG9ydCBjb25zdCBUb29sdGlwV3JhcHBlciA9IHN0eWxlZC5kaXZgXG5cdGFsaWduLWl0ZW1zOiBjZW50ZXI7XG5cdGJveC1zaXppbmc6IGJvcmRlci1ib3g7XG5cdGRpc3BsYXk6IGlubGluZS1mbGV4O1xuXHRqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcblx0b3BhY2l0eTogMDtcblx0cG9pbnRlci1ldmVudHM6IG5vbmU7XG5cdHRyYW5zaXRpb246IG9wYWNpdHkgMTIwbXMgbGluZWFyO1xuYDtcblxuZXhwb3J0IGNvbnN0IFRvb2x0aXAgPSBzdHlsZWQuZGl2YFxuXHRiYWNrZ3JvdW5kOiAkeyBDT0xPUlMudGhlbWUuZm9yZWdyb3VuZCB9O1xuXHRib3JkZXItcmFkaXVzOiAkeyBDT05GSUcucmFkaXVzU21hbGwgfTtcblx0Ym94LXNpemluZzogYm9yZGVyLWJveDtcblx0Zm9udC1mYW1pbHk6ICR7IGZvbnQoICdkZWZhdWx0LmZvbnRGYW1pbHknICkgfTtcblx0Zm9udC1zaXplOiAxMnB4O1xuXHRjb2xvcjogJHsgQ09MT1JTLnRoZW1lLmZvcmVncm91bmRJbnZlcnRlZCB9O1xuXHRwYWRkaW5nOiA0cHggOHB4O1xuXHRwb3NpdGlvbjogcmVsYXRpdmU7XG5gO1xuXG4vLyBUT0RPOiBSZXNvbHZlIG5lZWQgdG8gdXNlICYmJiB0byBpbmNyZWFzZSBzcGVjaWZpY2l0eVxuLy8gaHR0cHM6Ly9naXRodWIuY29tL1dvcmRQcmVzcy9ndXRlbmJlcmcvaXNzdWVzLzE4NDgzXG5cbmV4cG9ydCBjb25zdCBMYWJlbFRleHQgPSBzdHlsZWQoIFRleHQgKWBcblx0JiYmIHtcblx0XHRjb2xvcjogJHsgQ09MT1JTLnRoZW1lLmZvcmVncm91bmRJbnZlcnRlZCB9O1xuXHRcdGRpc3BsYXk6IGJsb2NrO1xuXHRcdGZvbnQtc2l6ZTogMTNweDtcblx0XHRsaW5lLWhlaWdodDogMS40O1xuXHRcdHdoaXRlLXNwYWNlOiBub3dyYXA7XG5cdH1cbmA7XG4iXX0= */"));
46
46
  export {
47
47
  LabelText,
48
48
  Root,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/resizable-box/resize-tooltip/styles/resize-tooltip.styles.ts"],
4
- "sourcesContent": ["import _styled from \"@emotion/styled/base\";\nfunction _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).\"; }\n/**\n * External dependencies\n */\n\n/**\n * Internal dependencies\n */\nimport { Text } from '../../../text';\nimport { font, COLORS, CONFIG } from '../../../utils';\nexport const Root = /*#__PURE__*/_styled(\"div\", process.env.NODE_ENV === \"production\" ? {\n target: \"e1wq7y4k3\"\n} : {\n target: \"e1wq7y4k3\",\n label: \"Root\"\n})(process.env.NODE_ENV === \"production\" ? {\n name: \"1cd7zoc\",\n styles: \"bottom:0;box-sizing:border-box;left:0;pointer-events:none;position:absolute;right:0;top:0\"\n} : {\n name: \"1cd7zoc\",\n styles: \"bottom:0;box-sizing:border-box;left:0;pointer-events:none;position:absolute;right:0;top:0/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJlc2l6ZS10b29sdGlwLnN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFXOEIiLCJmaWxlIjoicmVzaXplLXRvb2x0aXAuc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBFeHRlcm5hbCBkZXBlbmRlbmNpZXNcbiAqL1xuaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuXG4vKipcbiAqIEludGVybmFsIGRlcGVuZGVuY2llc1xuICovXG5pbXBvcnQgeyBUZXh0IH0gZnJvbSAnLi4vLi4vLi4vdGV4dCc7XG5pbXBvcnQgeyBmb250LCBDT0xPUlMsIENPTkZJRyB9IGZyb20gJy4uLy4uLy4uL3V0aWxzJztcblxuZXhwb3J0IGNvbnN0IFJvb3QgPSBzdHlsZWQuZGl2YFxuXHRib3R0b206IDA7XG5cdGJveC1zaXppbmc6IGJvcmRlci1ib3g7XG5cdGxlZnQ6IDA7XG5cdHBvaW50ZXItZXZlbnRzOiBub25lO1xuXHRwb3NpdGlvbjogYWJzb2x1dGU7XG5cdHJpZ2h0OiAwO1xuXHR0b3A6IDA7XG5gO1xuXG5leHBvcnQgY29uc3QgVG9vbHRpcFdyYXBwZXIgPSBzdHlsZWQuZG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zcGFjZTogbm93cmFwO1xuXHR9XG5gO1xuIl19 */\",\n toString: _EMOTION_STRINGIFIED_CSS_ERROR__\n});\nexport const TooltipWrapper = /*#__PURE__*/_styled(\"div\", process.env.NODE_ENV === \"production\" ? {\n target: \"e1wq7y4k2\"\n} : {\n target: \"e1wq7y4k2\",\n label: \"TooltipWrapper\"\n})(process.env.NODE_ENV === \"production\" ? {\n name: \"ajymcs\",\n styles: \"align-items:center;box-sizing:border-box;display:inline-flex;justify-content:center;opacity:0;pointer-events:none;transition:opacity 120ms linear\"\n} : {\n name: \"ajymcs\",\n styles: \"align-items:center;box-sizing:border-box;display:inline-flex;justify-content:center;opacity:0;pointer-events:none;transition:opacity 120ms linear/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJlc2l6ZS10b29sdGlwLnN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFxQndDIiwiZmlsZSI6InJlc2l6ZS10b29sdGlwLnN0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogRXh0ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcblxuLyoqXG4gKiBJbnRlcm5hbCBkZXBlbmRlbmNpZXNcbiAqL1xuaW1wb3J0IHsgVGV4dCB9IGZyb20gJy4uLy4uLy4uL3RleHQnO1xuaW1wb3J0IHsgZm9udCwgQ09MT1JTLCBDT05GSUcgfSBmcm9tICcuLi8uLi8uLi91dGlscyc7XG5cbmV4cG9ydCBjb25zdCBSb290ID0gc3R5bGVkLmRpdmBcblx0Ym90dG9tOiAwO1xuXHRib3gtc2l6aW5nOiBib3JkZXItYm94O1xuXHRsZWZ0OiAwO1xuXHRwb2ludGVyLWV2ZW50czogbm9uZTtcblx0cG9zaXRpb246IGFic29sdXRlO1xuXHRyaWdodDogMDtcblx0dG9wOiAwO1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pbmUtaGVpZ2h0OiAxLjQ7XG5cdFx0d2hpdGUtc3BhY2U6IG5vd3JhcDtcblx0fVxuYDtcbiJdfQ== */\",\n toString: _EMOTION_STRINGIFIED_CSS_ERROR__\n});\nexport const Tooltip = /*#__PURE__*/_styled(\"div\", process.env.NODE_ENV === \"production\" ? {\n target: \"e1wq7y4k1\"\n} : {\n target: \"e1wq7y4k1\",\n label: \"Tooltip\"\n})(\"background:\", COLORS.theme.foreground, \";border-radius:\", CONFIG.radiusSmall, \";box-sizing:border-box;font-family:\", font('default.fontFamily'), \";font-size:12px;color:\", COLORS.theme.foregroundInverted, \";padding:4px 8px;position:relative;\" + (process.env.NODE_ENV === \"production\" ? \"\" : \"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJlc2l6ZS10b29sdGlwLnN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUErQmlDIiwiZmlsZSI6InJlc2l6ZS10b29sdGlwLnN0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogRXh0ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcblxuLyoqXG4gKiBJbnRlcm5hbCBkZXBlbmRlbmNpZXNcbiAqL1xuaW1wb3J0IHsgVGV4dCB9IGZyb20gJy4uLy4uLy4uL3RleHQnO1xuaW1wb3J0IHsgZm9udCwgQ09MT1JTLCBDT05GSUcgfSBmcm9tICcuLi8uLi8uLi91dGlscyc7XG5cbmV4cG9ydCBjb25zdCBSb290ID0gc3R5bGVkLmRpdmBcblx0Ym90dG9tOiAwO1xuXHRib3gtc2l6aW5nOiBib3JkZXItYm94O1xuXHRsZWZ0OiAwO1xuXHRwb2ludGVyLWV2ZW50czogbm9uZTtcblx0cG9zaXRpb246IGFic29sdXRlO1xuXHRyaWdodDogMDtcblx0dG9wOiAwO1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pbmUtaGVpZ2h0OiAxLjQ7XG5cdFx0d2hpdGUtc3BhY2U6IG5vd3JhcDtcblx0fVxuYDtcbiJdfQ== */\"));\n\n// TODO: Resolve need to use &&& to increase specificity\n// https://github.com/WordPress/gutenberg/issues/18483\n\nexport const LabelText = /*#__PURE__*/_styled(Text, process.env.NODE_ENV === \"production\" ? {\n target: \"e1wq7y4k0\"\n} : {\n target: \"e1wq7y4k0\",\n label: \"LabelText\"\n})(\"&&&{color:\", COLORS.theme.foregroundInverted, \";display:block;font-size:13px;line-height:1.4;white-space:nowrap;}\" + (process.env.NODE_ENV === \"production\" ? \"\" : \"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJlc2l6ZS10b29sdGlwLnN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUE2Q3VDIiwiZmlsZSI6InJlc2l6ZS10b29sdGlwLnN0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogRXh0ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcblxuLyoqXG4gKiBJbnRlcm5hbCBkZXBlbmRlbmNpZXNcbiAqL1xuaW1wb3J0IHsgVGV4dCB9IGZyb20gJy4uLy4uLy4uL3RleHQnO1xuaW1wb3J0IHsgZm9udCwgQ09MT1JTLCBDT05GSUcgfSBmcm9tICcuLi8uLi8uLi91dGlscyc7XG5cbmV4cG9ydCBjb25zdCBSb290ID0gc3R5bGVkLmRpdmBcblx0Ym90dG9tOiAwO1xuXHRib3gtc2l6aW5nOiBib3JkZXItYm94O1xuXHRsZWZ0OiAwO1xuXHRwb2ludGVyLWV2ZW50czogbm9uZTtcblx0cG9zaXRpb246IGFic29sdXRlO1xuXHRyaWdodDogMDtcblx0dG9wOiAwO1xuYDtcblxuZXhwb3J0IGNvbnN0IFRvb2x0aXBXcm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AA03D;",
4
+ "sourcesContent": ["import _styled from \"@emotion/styled/base\";\nfunction _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).\"; }\nimport { Text } from '../../../text';\nimport { font, COLORS, CONFIG } from '../../../utils';\nexport const Root = /*#__PURE__*/_styled(\"div\", process.env.NODE_ENV === \"production\" ? {\n target: \"e1wq7y4k3\"\n} : {\n target: \"e1wq7y4k3\",\n label: \"Root\"\n})(process.env.NODE_ENV === \"production\" ? {\n name: \"1cd7zoc\",\n styles: \"bottom:0;box-sizing:border-box;left:0;pointer-events:none;position:absolute;right:0;top:0\"\n} : {\n name: \"1cd7zoc\",\n styles: \"bottom:0;box-sizing:border-box;left:0;pointer-events:none;position:absolute;right:0;top:0/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJlc2l6ZS10b29sdGlwLnN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFJOEIiLCJmaWxlIjoicmVzaXplLXRvb2x0aXAuc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuaW1wb3J0IHsgVGV4dCB9IGZyb20gJy4uLy4uLy4uL3RleHQnO1xuaW1wb3J0IHsgZm9udCwgQ09MT1JTLCBDT05GSUcgfSBmcm9tICcuLi8uLi8uLi91dGlscyc7XG5cbmV4cG9ydCBjb25zdCBSb290ID0gc3R5bGVkLmRpdmBcblx0Ym90dG9tOiAwO1xuXHRib3gtc2l6aW5nOiBib3JkZXItYm94O1xuXHRsZWZ0OiAwO1xuXHRwb2ludGVyLWV2ZW50czogbm9uZTtcblx0cG9zaXRpb246IGFic29sdXRlO1xuXHRyaWdodDogMDtcblx0dG9wOiAwO1xuYDtcblxuZXhwb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OiAxLjQ7XG5cdFx0d2hpdGUtc3BhY2U6IG5vd3JhcDtcblx0fVxuYDtcbiJdfQ== */\",\n toString: _EMOTION_STRINGIFIED_CSS_ERROR__\n});\nexport const TooltipWrapper = /*#__PURE__*/_styled(\"div\", process.env.NODE_ENV === \"production\" ? {\n target: \"e1wq7y4k2\"\n} : {\n target: \"e1wq7y4k2\",\n label: \"TooltipWrapper\"\n})(process.env.NODE_ENV === \"production\" ? {\n name: \"ajymcs\",\n styles: \"align-items:center;box-sizing:border-box;display:inline-flex;justify-content:center;opacity:0;pointer-events:none;transition:opacity 120ms linear\"\n} : {\n name: \"ajymcs\",\n styles: \"align-items:center;box-sizing:border-box;display:inline-flex;justify-content:center;opacity:0;pointer-events:none;transition:opacity 120ms linear/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJlc2l6ZS10b29sdGlwLnN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFjd0MiLCJmaWxlIjoicmVzaXplLXRvb2x0aXAuc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuaW1wb3J0IHsgVGV4dCB9IGZyb20gJy4uLy4uLy4uL3RleHQnO1xuaW1wb3J0IHsgZm9udCwgQ09MT1JTLCBDT05GSUcgfSBmcm9tICcuLi8uLi8uLi91dGlscyc7XG5cbmV4cG9ydCBjb25zdCBSb290ID0gc3R5bGVkLmRpdmBcblx0Ym90dG9tOiAwO1xuXHRib3gtc2l6aW5nOiBib3JkZXItYm94O1xuXHRsZWZ0OiAwO1xuXHRwb2ludGVyLWV2ZW50czogbm9uZTtcblx0cG9zaXRpb246IGFic29sdXRlO1xuXHRyaWdodDogMDtcblx0dG9wOiAwO1xuYDtcblxuZXhwb3J0IGNvbnN0IFRvb2x0aXBXcmFwcGVyID0gc3R5bGVkLmRpdmBcblx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YDtcbiJdfQ== */\",\n toString: _EMOTION_STRINGIFIED_CSS_ERROR__\n});\nexport const Tooltip = /*#__PURE__*/_styled(\"div\", process.env.NODE_ENV === \"production\" ? {\n target: \"e1wq7y4k1\"\n} : {\n target: \"e1wq7y4k1\",\n label: \"Tooltip\"\n})(\"background:\", COLORS.theme.foreground, \";border-radius:\", CONFIG.radiusSmall, \";box-sizing:border-box;font-family:\", font('default.fontFamily'), \";font-size:12px;color:\", COLORS.theme.foregroundInverted, \";padding:4px 8px;position:relative;\" + (process.env.NODE_ENV === \"production\" ? \"\" : \"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJlc2l6ZS10b29sdGlwLnN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUF3QmlDIiwiZmlsZSI6InJlc2l6ZS10b29sdGlwLnN0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCB7IFRleHQgfSBmcm9tICcuLi8uLi8uLi90ZXh0JztcbmltcG9ydCB7IGZvbnQsIENPTE9SUywgQ09ORklHIH0gZnJvbSAnLi4vLi4vLi4vdXRpbHMnO1xuXG5leHBvcnQgY29uc3QgUm9vdCA9IHN0eWxlZC5kaXZgXG5cdGJvdHRvbTogMDtcblx0Ym94LXNpemluZzogYm9yZGVyLWJveDtcblx0bGVmdDogMDtcblx0cG9pbnRlci1ldmVudHM6IG5vbmU7XG5cdHBvc2l0aW9uOiBhYnNvbHV0ZTtcblx0cmlnaHQ6IDA7XG5cdHRvcDogMDtcbmA7XG5cbmV4cG9ydCBjb25zdCBUb29sdGlwV3JhcHBlciA9IHN0eWxlZC5kaXZgXG5cdGFsaWduLWl0ZW1zOiBjZW50ZXI7XG5cdGJveC1zaXppbmc6IGJvcmRlci1ib3g7XG5cdGRpc3BsYXk6IGlubGluZS1mbGV4O1xuXHRqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcblx0b3BhY2l0eTogMDtcblx0cG9pbnRlci1ldmVudHM6IG5vbmU7XG5cdHRyYW5zaXRpb246IG9wYWNpdHkgMTIwbXMgbGluZWFyO1xuYDtcblxuZXhwb3J0IGNvbnN0IFRvb2x0aXAgPSBzdHlsZWQuZGl2YFxuXHRiYWNrZ3JvdW5kOiAkeyBDT0xPUlMudGhlbWUuZm9yZWdyb3VuZCB9O1xuXHRib3JkZXItcmFkaXVzOiAkeyBDT05GSUcucmFkaXVzU21hbGwgfTtcblx0Ym94LXNpemluZzogYm9yZGVyLWJveDtcblx0Zm9udC1mYW1pbHk6ICR7IGZvbnQoICdkZWZhdWx0LmZvbnRGYW1pbHknICkgfTtcblx0Zm9udC1zaXplOiAxMnB4O1xuXHRjb2xvcjogJHsgQ09MT1JTLnRoZW1lLmZvcmVncm91bmRJbnZlcnRlZCB9O1xuXHRwYWRkaW5nOiA0cHggOHB4O1xuXHRwb3NpdGlvbjogcmVsYXRpdmU7XG5gO1xuXG4vLyBUT0RPOiBSZXNvbHZlIG5lZWQgdG8gdXNlICYmJiB0byBpbmNyZWFzZSBzcGVjaWZpY2l0eVxuLy8gaHR0cHM6Ly9naXRodWIuY29tL1dvcmRQcmVzcy9ndXRlbmJlcmcvaXNzdWVzLzE4NDgzXG5cbmV4cG9ydCBjb25zdCBMYWJlbFRleHQgPSBzdHlsZWQoIFRleHQgKWBcblx0JiYmIHtcblx0XHRjb2xvcjogJHsgQ09MT1JTLnRoZW1lLmZvcmVncm91bmRJbnZlcnRlZCB9O1xuXHRcdGRpc3BsYXk6IGJsb2NrO1xuXHRcdGZvbnQtc2l6ZTogMTNweDtcblx0XHRsaW5lLWhlaWdodDogMS40O1xuXHRcdHdoaXRlLXNwYWNlOiBub3dyYXA7XG5cdH1cbmA7XG4iXX0= */\"));\n\n// TODO: Resolve need to use &&& to increase specificity\n// https://github.com/WordPress/gutenberg/issues/18483\n\nexport const LabelText = /*#__PURE__*/_styled(Text, process.env.NODE_ENV === \"production\" ? {\n target: \"e1wq7y4k0\"\n} : {\n target: \"e1wq7y4k0\",\n label: \"LabelText\"\n})(\"&&&{color:\", COLORS.theme.foregroundInverted, \";display:block;font-size:13px;line-height:1.4;white-space:nowrap;}\" + (process.env.NODE_ENV === \"production\" ? \"\" : \"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJlc2l6ZS10b29sdGlwLnN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFzQ3VDIiwiZmlsZSI6InJlc2l6ZS10b29sdGlwLnN0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCB7IFRleHQgfSBmcm9tICcuLi8uLi8uLi90ZXh0JztcbmltcG9ydCB7IGZvbnQsIENPTE9SUywgQ09ORklHIH0gZnJvbSAnLi4vLi4vLi4vdXRpbHMnO1xuXG5leHBvcnQgY29uc3QgUm9vdCA9IHN0eWxlZC5kaXZgXG5cdGJvdHRvbTogMDtcblx0Ym94LXNpemluZzogYm9yZGVyLWJveDtcblx0bGVmdDogMDtcblx0cG9pbnRlci1ldmVudHM6IG5vbmU7XG5cdHBvc2l0aW9uOiBhYnNvbHV0ZTtcblx0cmlnaHQ6IDA7XG5cdHRvcDogMDtcbmA7XG5cbmV4cG9ydCBjb25zdCBUb29sdGlwV3JhcHBlciA9IHN0eWxlZC5kaXZgXG5cdGFsaWduLWl0ZW1zOiBjZW50ZXI7XG5cdGJveC1zaXppbmc6IGJvcmRlci1ib3g7XG5cdGRpc3BsYXk6IGlubGluZS1mbGV4O1xuXHRqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcblx0b3BhY2l0eTogMDtcblx0cG9pbnRlci1ldmVudHM6IG5vbmU7XG5cdHRyYW5zaXRpb246IG9wYWNpdHk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AAI;AAAA,EACF,QAAQ;AAAA,EACR,OAAO;AACT,CAAC,EAAE,QAAQ,IAAI,aAAa,eAAe;AAAA,EACzC,MAAM;AAAA,EACN,QAAQ;AACV,IAAI;AAAA,EACF,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,UAAU;AACZ,CAAC;AACM,IAAM,iBAA8B,wBAAQ,OAAO,QAAQ,IAAI,aAAa,eAAe;AAAA,EAChG,QAAQ;AACV,IAAI;AAAA,EACF,QAAQ;AAAA,EACR,OAAO;AACT,CAAC,EAAE,QAAQ,IAAI,aAAa,eAAe;AAAA,EACzC,MAAM;AAAA,EACN,QAAQ;AACV,IAAI;AAAA,EACF,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,UAAU;AACZ,CAAC;AACM,IAAM,UAAuB,wBAAQ,OAAO,QAAQ,IAAI,aAAa,eAAe;AAAA,EACzF,QAAQ;AACV,IAAI;AAAA,EACF,QAAQ;AAAA,EACR,OAAO;AACT,CAAC,EAAE,eAAe,OAAO,MAAM,YAAY,mBAAmB,OAAO,aAAa,uCAAuC,KAAK,oBAAoB,GAAG,0BAA0B,OAAO,MAAM,oBAAoB,yCAAyC,QAAQ,IAAI,aAAa,eAAe,KAAK,sxDAAsxD;AAKrjE,IAAM,YAAyB,wBAAQ,MAAM,QAAQ,IAAI,aAAa,eAAe;AAAA,EAC1F,QAAQ;AACV,IAAI;AAAA,EACF,QAAQ;AAAA,EACR,OAAO;AACT,CAAC,EAAE,cAAc,OAAO,MAAM,oBAAoB,wEAAwE,QAAQ,IAAI,aAAa,eAAe,KAAK,sxDAAsxD;",
6
6
  "names": []
7
7
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/resizable-box/resize-tooltip/utils.ts"],
4
- "sourcesContent": ["/**\n * WordPress dependencies\n */\nimport { useCallback, useEffect, useRef, useState } from '@wordpress/element';\nimport { useResizeObserver } from '@wordpress/compose';\nconst noop = () => {};\nexport const POSITIONS = {\n bottom: 'bottom',\n corner: 'corner'\n};\n/**\n * Custom hook that manages resize listener events. It also provides a label\n * based on current resize width x height values.\n *\n * @param props\n * @param props.axis Only shows the label corresponding to the axis.\n * @param props.fadeTimeout Duration (ms) before deactivating the resize label.\n * @param props.onResize Callback when a resize occurs. Provides { width, height } callback.\n * @param props.position Adjusts label value.\n * @param props.showPx Whether to add `PX` to the label.\n *\n * @return Properties for hook.\n */\nexport function useResizeLabel({\n axis,\n fadeTimeout = 180,\n onResize = noop,\n position = POSITIONS.bottom,\n showPx = false\n}) {\n /*\n * The width/height values derive from this special useResizeObserver hook.\n * This custom hook uses the ResizeObserver API to listen for resize events.\n */\n const [resizeListener, sizes] = useResizeObserver();\n\n /*\n * Indicates if the x/y axis is preferred.\n * If set, we will avoid resetting the moveX and moveY values.\n * This will allow for the preferred axis values to persist in the label.\n */\n const isAxisControlled = !!axis;\n\n /*\n * The moveX and moveY values are used to track whether the label should\n * display width, height, or width x height.\n */\n const [moveX, setMoveX] = useState(false);\n const [moveY, setMoveY] = useState(false);\n\n /*\n * Cached dimension values to check for width/height updates from the\n * sizes property from useResizeAware()\n */\n const {\n width,\n height\n } = sizes;\n const heightRef = useRef(height);\n const widthRef = useRef(width);\n\n /*\n * This timeout is used with setMoveX and setMoveY to determine of\n * both width and height values have changed at (roughly) the same time.\n */\n const moveTimeoutRef = useRef(undefined);\n const debounceUnsetMoveXY = useCallback(() => {\n const unsetMoveXY = () => {\n /*\n * If axis is controlled, we will avoid resetting the moveX and moveY values.\n * This will allow for the preferred axis values to persist in the label.\n */\n if (isAxisControlled) {\n return;\n }\n setMoveX(false);\n setMoveY(false);\n };\n if (moveTimeoutRef.current) {\n window.clearTimeout(moveTimeoutRef.current);\n }\n moveTimeoutRef.current = window.setTimeout(unsetMoveXY, fadeTimeout);\n }, [fadeTimeout, isAxisControlled]);\n useEffect(() => {\n /*\n * On the initial render of useResizeAware, the height and width values are\n * null. They are calculated then set using via an internal useEffect hook.\n */\n const isRendered = width !== null || height !== null;\n if (!isRendered) {\n return;\n }\n const didWidthChange = width !== widthRef.current;\n const didHeightChange = height !== heightRef.current;\n if (!didWidthChange && !didHeightChange) {\n return;\n }\n\n /*\n * After the initial render, the useResizeAware will set the first\n * width and height values. We'll sync those values with our\n * width and height refs. However, we shouldn't render our Tooltip\n * label on this first cycle.\n */\n if (width && !widthRef.current && height && !heightRef.current) {\n widthRef.current = width;\n heightRef.current = height;\n return;\n }\n\n /*\n * After the first cycle, we can track width and height changes.\n */\n if (didWidthChange) {\n setMoveX(true);\n widthRef.current = width;\n }\n if (didHeightChange) {\n setMoveY(true);\n heightRef.current = height;\n }\n onResize({\n width,\n height\n });\n debounceUnsetMoveXY();\n }, [width, height, onResize, debounceUnsetMoveXY]);\n const label = getSizeLabel({\n axis,\n height,\n moveX,\n moveY,\n position,\n showPx,\n width\n });\n return {\n label,\n resizeListener\n };\n}\n/**\n * Gets the resize label based on width and height values (as well as recent changes).\n *\n * @param props\n * @param props.axis Only shows the label corresponding to the axis.\n * @param props.height Height value.\n * @param props.moveX Recent width (x axis) changes.\n * @param props.moveY Recent width (y axis) changes.\n * @param props.position Adjusts label value.\n * @param props.showPx Whether to add `PX` to the label.\n * @param props.width Width value.\n *\n * @return The rendered label.\n */\nfunction getSizeLabel({\n axis,\n height,\n moveX = false,\n moveY = false,\n position = POSITIONS.bottom,\n showPx = false,\n width\n}) {\n if (!moveX && !moveY) {\n return undefined;\n }\n\n /*\n * Corner position...\n * We want the label to appear like width x height.\n */\n if (position === POSITIONS.corner) {\n return `${width} x ${height}`;\n }\n\n /*\n * Other POSITIONS...\n * The label will combine both width x height values if both\n * values have recently been changed.\n *\n * Otherwise, only width or height will be displayed.\n * The `PX` unit will be added, if specified by the `showPx` prop.\n */\n const labelUnit = showPx ? ' px' : '';\n if (axis) {\n if (axis === 'x' && moveX) {\n return `${width}${labelUnit}`;\n }\n if (axis === 'y' && moveY) {\n return `${height}${labelUnit}`;\n }\n }\n if (moveX && moveY) {\n return `${width} x ${height}`;\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"sourcesContent": ["import { useCallback, useEffect, useRef, useState } from '@wordpress/element';\nimport { useResizeObserver } from '@wordpress/compose';\nconst noop = () => {};\nexport const POSITIONS = {\n bottom: 'bottom',\n corner: 'corner'\n};\n/**\n * Custom hook that manages resize listener events. It also provides a label\n * based on current resize width x height values.\n *\n * @param props\n * @param props.axis Only shows the label corresponding to the axis.\n * @param props.fadeTimeout Duration (ms) before deactivating the resize label.\n * @param props.onResize Callback when a resize occurs. Provides { width, height } callback.\n * @param props.position Adjusts label value.\n * @param props.showPx Whether to add `PX` to the label.\n *\n * @return Properties for hook.\n */\nexport function useResizeLabel({\n axis,\n fadeTimeout = 180,\n onResize = noop,\n position = POSITIONS.bottom,\n showPx = false\n}) {\n /*\n * The width/height values derive from this special useResizeObserver hook.\n * This custom hook uses the ResizeObserver API to listen for resize events.\n */\n const [resizeListener, sizes] = useResizeObserver();\n\n /*\n * Indicates if the x/y axis is preferred.\n * If set, we will avoid resetting the moveX and moveY values.\n * This will allow for the preferred axis values to persist in the label.\n */\n const isAxisControlled = !!axis;\n\n /*\n * The moveX and moveY values are used to track whether the label should\n * display width, height, or width x height.\n */\n const [moveX, setMoveX] = useState(false);\n const [moveY, setMoveY] = useState(false);\n\n /*\n * Cached dimension values to check for width/height updates from the\n * sizes property from useResizeAware()\n */\n const {\n width,\n height\n } = sizes;\n const heightRef = useRef(height);\n const widthRef = useRef(width);\n\n /*\n * This timeout is used with setMoveX and setMoveY to determine of\n * both width and height values have changed at (roughly) the same time.\n */\n const moveTimeoutRef = useRef(undefined);\n const debounceUnsetMoveXY = useCallback(() => {\n const unsetMoveXY = () => {\n /*\n * If axis is controlled, we will avoid resetting the moveX and moveY values.\n * This will allow for the preferred axis values to persist in the label.\n */\n if (isAxisControlled) {\n return;\n }\n setMoveX(false);\n setMoveY(false);\n };\n if (moveTimeoutRef.current) {\n window.clearTimeout(moveTimeoutRef.current);\n }\n moveTimeoutRef.current = window.setTimeout(unsetMoveXY, fadeTimeout);\n }, [fadeTimeout, isAxisControlled]);\n useEffect(() => {\n /*\n * On the initial render of useResizeAware, the height and width values are\n * null. They are calculated then set using via an internal useEffect hook.\n */\n const isRendered = width !== null || height !== null;\n if (!isRendered) {\n return;\n }\n const didWidthChange = width !== widthRef.current;\n const didHeightChange = height !== heightRef.current;\n if (!didWidthChange && !didHeightChange) {\n return;\n }\n\n /*\n * After the initial render, the useResizeAware will set the first\n * width and height values. We'll sync those values with our\n * width and height refs. However, we shouldn't render our Tooltip\n * label on this first cycle.\n */\n if (width && !widthRef.current && height && !heightRef.current) {\n widthRef.current = width;\n heightRef.current = height;\n return;\n }\n\n /*\n * After the first cycle, we can track width and height changes.\n */\n if (didWidthChange) {\n setMoveX(true);\n widthRef.current = width;\n }\n if (didHeightChange) {\n setMoveY(true);\n heightRef.current = height;\n }\n onResize({\n width,\n height\n });\n debounceUnsetMoveXY();\n }, [width, height, onResize, debounceUnsetMoveXY]);\n const label = getSizeLabel({\n axis,\n height,\n moveX,\n moveY,\n position,\n showPx,\n width\n });\n return {\n label,\n resizeListener\n };\n}\n/**\n * Gets the resize label based on width and height values (as well as recent changes).\n *\n * @param props\n * @param props.axis Only shows the label corresponding to the axis.\n * @param props.height Height value.\n * @param props.moveX Recent width (x axis) changes.\n * @param props.moveY Recent width (y axis) changes.\n * @param props.position Adjusts label value.\n * @param props.showPx Whether to add `PX` to the label.\n * @param props.width Width value.\n *\n * @return The rendered label.\n */\nfunction getSizeLabel({\n axis,\n height,\n moveX = false,\n moveY = false,\n position = POSITIONS.bottom,\n showPx = false,\n width\n}) {\n if (!moveX && !moveY) {\n return undefined;\n }\n\n /*\n * Corner position...\n * We want the label to appear like width x height.\n */\n if (position === POSITIONS.corner) {\n return `${width} x ${height}`;\n }\n\n /*\n * Other POSITIONS...\n * The label will combine both width x height values if both\n * values have recently been changed.\n *\n * Otherwise, only width or height will be displayed.\n * The `PX` unit will be added, if specified by the `showPx` prop.\n */\n const labelUnit = showPx ? ' px' : '';\n if (axis) {\n if (axis === 'x' && moveX) {\n return `${width}${labelUnit}`;\n }\n if (axis === 'y' && moveY) {\n return `${height}${labelUnit}`;\n }\n }\n if (moveX && moveY) {\n return `${width} x ${height}`;\n }\n if (moveX) {\n return `${width}${labelUnit}`;\n }\n if (moveY) {\n return `${height}${labelUnit}`;\n }\n return undefined;\n}"],
5
+ "mappings": ";AAAA,SAAS,aAAa,WAAW,QAAQ,gBAAgB;AACzD,SAAS,yBAAyB;AAClC,IAAM,OAAO,MAAM;AAAC;AACb,IAAM,YAAY;AAAA,EACvB,QAAQ;AAAA,EACR,QAAQ;AACV;AAcO,SAAS,eAAe;AAAA,EAC7B;AAAA,EACA,cAAc;AAAA,EACd,WAAW;AAAA,EACX,WAAW,UAAU;AAAA,EACrB,SAAS;AACX,GAAG;AAKD,QAAM,CAAC,gBAAgB,KAAK,IAAI,kBAAkB;AAOlD,QAAM,mBAAmB,CAAC,CAAC;AAM3B,QAAM,CAAC,OAAO,QAAQ,IAAI,SAAS,KAAK;AACxC,QAAM,CAAC,OAAO,QAAQ,IAAI,SAAS,KAAK;AAMxC,QAAM;AAAA,IACJ;AAAA,IACA;AAAA,EACF,IAAI;AACJ,QAAM,YAAY,OAAO,MAAM;AAC/B,QAAM,WAAW,OAAO,KAAK;AAM7B,QAAM,iBAAiB,OAAO,MAAS;AACvC,QAAM,sBAAsB,YAAY,MAAM;AAC5C,UAAM,cAAc,MAAM;AAKxB,UAAI,kBAAkB;AACpB;AAAA,MACF;AACA,eAAS,KAAK;AACd,eAAS,KAAK;AAAA,IAChB;AACA,QAAI,eAAe,SAAS;AAC1B,aAAO,aAAa,eAAe,OAAO;AAAA,IAC5C;AACA,mBAAe,UAAU,OAAO,WAAW,aAAa,WAAW;AAAA,EACrE,GAAG,CAAC,aAAa,gBAAgB,CAAC;AAClC,YAAU,MAAM;AAKd,UAAM,aAAa,UAAU,QAAQ,WAAW;AAChD,QAAI,CAAC,YAAY;AACf;AAAA,IACF;AACA,UAAM,iBAAiB,UAAU,SAAS;AAC1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GAAG,SAAS;AAAA,EAC7B;AACA,MAAI,OAAO;AACT,WAAO,GAAG,MAAM,GAAG,SAAS;AAAA,EAC9B;AACA,SAAO;AACT;",
6
6
  "names": []
7
7
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/responsive-wrapper/index.tsx"],
4
- "sourcesContent": ["/**\n * External dependencies\n */\nimport clsx from 'clsx';\n\n/**\n * WordPress dependencies\n */\nimport { cloneElement, Children } from '@wordpress/element';\n\n/**\n * Internal dependencies\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\n/**\n * A wrapper component that maintains its aspect ratio when resized.\n *\n * ```jsx\n * import { ResponsiveWrapper } from '@wordpress/components';\n *\n * const MyResponsiveWrapper = () => (\n * \t<ResponsiveWrapper naturalWidth={ 2000 } naturalHeight={ 680 }>\n * \t\t<img\n * \t\t\tsrc=\"https://s.w.org/style/images/about/WordPress-logotype-standard.png\"\n * \t\t\talt=\"WordPress\"\n * \t\t/>\n * \t</ResponsiveWrapper>\n * );\n * ```\n */\nfunction ResponsiveWrapper({\n naturalWidth,\n naturalHeight,\n children,\n isInline = false\n}) {\n if (Children.count(children) !== 1) {\n return null;\n }\n const TagName = isInline ? 'span' : 'div';\n let aspectRatio;\n if (naturalWidth && naturalHeight) {\n aspectRatio = `${naturalWidth} / ${naturalHeight}`;\n }\n return /*#__PURE__*/_jsx(TagName, {\n className: \"components-responsive-wrapper\",\n children: /*#__PURE__*/_jsx(\"div\", {\n children: cloneElement(children, {\n className: clsx('components-responsive-wrapper__content', children.props.className),\n style: {\n ...children.props.style,\n aspectRatio\n }\n })\n })\n });\n}\nexport default ResponsiveWrapper;"],
5
- "mappings": ";AAGA,OAAO,UAAU;AAKjB,SAAS,cAAc,gBAAgB;AAKvC,SAAS,OAAO,YAAY;AAiB5B,SAAS,kBAAkB;AAAA,EACzB;AAAA,EACA;AAAA,EACA;AAAA,EACA,WAAW;AACb,GAAG;AACD,MAAI,SAAS,MAAM,QAAQ,MAAM,GAAG;AAClC,WAAO;AAAA,EACT;AACA,QAAM,UAAU,WAAW,SAAS;AACpC,MAAI;AACJ,MAAI,gBAAgB,eAAe;AACjC,kBAAc,GAAG,YAAY,MAAM,aAAa;AAAA,EAClD;AACA,SAAoB,qBAAK,SAAS;AAAA,IAChC,WAAW;AAAA,IACX,UAAuB,qBAAK,OAAO;AAAA,MACjC,UAAU,aAAa,UAAU;AAAA,QAC/B,WAAW,KAAK,0CAA0C,SAAS,MAAM,SAAS;AAAA,QAClF,OAAO;AAAA,UACL,GAAG,SAAS,MAAM;AAAA,UAClB;AAAA,QACF;AAAA,MACF,CAAC;AAAA,IACH,CAAC;AAAA,EACH,CAAC;AACH;AACA,IAAO,6BAAQ;",
4
+ "sourcesContent": ["import clsx from 'clsx';\nimport { cloneElement, Children } from '@wordpress/element';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\n/**\n * A wrapper component that maintains its aspect ratio when resized.\n *\n * ```jsx\n * import { ResponsiveWrapper } from '@wordpress/components';\n *\n * const MyResponsiveWrapper = () => (\n * \t<ResponsiveWrapper naturalWidth={ 2000 } naturalHeight={ 680 }>\n * \t\t<img\n * \t\t\tsrc=\"https://s.w.org/style/images/about/WordPress-logotype-standard.png\"\n * \t\t\talt=\"WordPress\"\n * \t\t/>\n * \t</ResponsiveWrapper>\n * );\n * ```\n */\nfunction ResponsiveWrapper({\n naturalWidth,\n naturalHeight,\n children,\n isInline = false\n}) {\n if (Children.count(children) !== 1) {\n return null;\n }\n const TagName = isInline ? 'span' : 'div';\n let aspectRatio;\n if (naturalWidth && naturalHeight) {\n aspectRatio = `${naturalWidth} / ${naturalHeight}`;\n }\n return /*#__PURE__*/_jsx(TagName, {\n className: \"components-responsive-wrapper\",\n children: /*#__PURE__*/_jsx(\"div\", {\n children: cloneElement(children, {\n className: clsx('components-responsive-wrapper__content', children.props.className),\n style: {\n ...children.props.style,\n aspectRatio\n }\n })\n })\n });\n}\nexport default ResponsiveWrapper;"],
5
+ "mappings": ";AAAA,OAAO,UAAU;AACjB,SAAS,cAAc,gBAAgB;AACvC,SAAS,OAAO,YAAY;AAiB5B,SAAS,kBAAkB;AAAA,EACzB;AAAA,EACA;AAAA,EACA;AAAA,EACA,WAAW;AACb,GAAG;AACD,MAAI,SAAS,MAAM,QAAQ,MAAM,GAAG;AAClC,WAAO;AAAA,EACT;AACA,QAAM,UAAU,WAAW,SAAS;AACpC,MAAI;AACJ,MAAI,gBAAgB,eAAe;AACjC,kBAAc,GAAG,YAAY,MAAM,aAAa;AAAA,EAClD;AACA,SAAoB,qBAAK,SAAS;AAAA,IAChC,WAAW;AAAA,IACX,UAAuB,qBAAK,OAAO;AAAA,MACjC,UAAU,aAAa,UAAU;AAAA,QAC/B,WAAW,KAAK,0CAA0C,SAAS,MAAM,SAAS;AAAA,QAClF,OAAO;AAAA,UACL,GAAG,SAAS,MAAM;AAAA,UAClB;AAAA,QACF;AAAA,MACF,CAAC;AAAA,IACH,CAAC;AAAA,EACH,CAAC;AACH;AACA,IAAO,6BAAQ;",
6
6
  "names": []
7
7
  }
@@ -142,13 +142,15 @@ function IsolatedSandBox({
142
142
  scripts = [],
143
143
  onFocus,
144
144
  tabIndex,
145
- allowPopups = false
145
+ allowPopups = false,
146
+ allowForms = false
146
147
  }) {
147
148
  const ref = useRef(null);
148
149
  const [width, setWidth] = useState(0);
149
150
  const [height, setHeight] = useState(0);
150
151
  const sandbox = clsx("allow-scripts", "allow-presentation", {
151
- "allow-popups": allowPopups
152
+ "allow-popups": allowPopups,
153
+ "allow-forms": allowForms
152
154
  });
153
155
  const srcDoc = useMemo(() => buildSandBoxDocument({
154
156
  html,
@@ -220,13 +222,15 @@ function SameOriginSandBox({
220
222
  scripts = [],
221
223
  onFocus,
222
224
  tabIndex,
223
- allowPopups = false
225
+ allowPopups = false,
226
+ allowForms = false
224
227
  }) {
225
228
  const ref = useRef(null);
226
229
  const [width, setWidth] = useState(0);
227
230
  const [height, setHeight] = useState(0);
228
231
  const sandbox = clsx("allow-scripts", "allow-same-origin", "allow-presentation", {
229
- "allow-popups": allowPopups
232
+ "allow-popups": allowPopups,
233
+ "allow-forms": allowForms
230
234
  });
231
235
  function isFrameAccessible() {
232
236
  try {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/sandbox/index.tsx"],
4
- "sourcesContent": ["/**\n * External dependencies\n */\nimport clsx from 'clsx';\n\n/**\n * WordPress dependencies\n */\nimport { renderToString, useRef, useState, useEffect, useMemo } from '@wordpress/element';\nimport { useFocusableIframe, useMergeRefs } from '@wordpress/compose';\n\n/**\n * Internal dependencies\n */\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\n/**\n * Matches CSS viewport-relative length values such as `100vh`, `50.5vw`,\n * and `.5dvh`. Used to strip viewport units from user-supplied HTML inside\n * the sandbox iframe, because those units are relative to the iframe's\n * own size and would create a measurement feedback loop with the\n * resize observer.\n *\n * Exported for tests. NOTE: an identical regex literal is duplicated\n * inside `observeAndResizeJS` below because that function is serialized\n * via `.toString()` and embedded into the iframe's `srcdoc` — it has no\n * access to this module's scope at runtime. If you change one, change\n * the other; the \"is embedded in the sandbox iframe srcdoc\" test\n * guards against drift.\n */\nexport const VIEWPORT_UNIT_VALUE_REGEX = /^\\d*\\.?\\d+(?:vw|vh|svw|lvw|dvw|svh|lvh|dvh|vi|svi|lvi|dvi|vb|svb|lvb|dvb|vmin|svmin|lvmin|dvmin|vmax|svmax|lvmax|dvmax)$/;\nconst observeAndResizeJS = function () {\n const {\n MutationObserver\n } = window;\n if (!MutationObserver || !window.parent) {\n return;\n }\n function sendResize() {\n // This runs in the document <head>, and as a `load`/`resize` listener,\n // so the body may not exist yet. Bail rather than throw on a null body.\n if (!document.body) {\n return;\n }\n const clientBoundingRect = document.body.getBoundingClientRect();\n window.parent.postMessage({\n action: 'resize',\n width: clientBoundingRect.width,\n height: clientBoundingRect.height\n }, '*');\n }\n\n // Runs the body-dependent setup once the document body is available. Reads\n // `document.body` into a local so the null check narrows it for the rest of\n // the function: this runs in <head> and via DOMContentLoaded, so the body\n // isn't guaranteed to exist yet.\n function connect() {\n const {\n body\n } = document;\n if (!body) {\n return;\n }\n const observer = new MutationObserver(sendResize);\n observer.observe(body, {\n attributes: true,\n attributeOldValue: false,\n characterData: true,\n characterDataOldValue: false,\n childList: true,\n subtree: true\n });\n\n // Hack: Remove viewport unit styles, as these are relative\n // the iframe root and interfere with our mechanism for\n // determining the unconstrained page bounds.\n function removeViewportStyles(ruleOrNode) {\n if (ruleOrNode.style) {\n ['width', 'height', 'minHeight', 'maxHeight'].forEach(function (style) {\n if (/^\\d*\\.?\\d+(?:vw|vh|svw|lvw|dvw|svh|lvh|dvh|vi|svi|lvi|dvi|vb|svb|lvb|dvb|vmin|svmin|lvmin|dvmin|vmax|svmax|lvmax|dvmax)$/.test(ruleOrNode.style[style])) {\n ruleOrNode.style[style] = '';\n }\n });\n }\n }\n Array.prototype.forEach.call(document.querySelectorAll('[style]'), removeViewportStyles);\n Array.prototype.forEach.call(document.styleSheets, function (stylesheet) {\n let rules;\n try {\n rules = stylesheet.cssRules || stylesheet.rules;\n } catch {\n // Reading `cssRules` throws a SecurityError for a\n // cross-origin stylesheet (e.g. a remote <link> in the\n // user's HTML). Skip those rather than aborting the setup.\n return;\n }\n Array.prototype.forEach.call(rules, removeViewportStyles);\n });\n body.style.position = 'absolute';\n body.style.width = '100%';\n body.setAttribute('data-resizable-iframe-connected', '');\n sendResize();\n }\n window.addEventListener('load', sendResize, true);\n\n // Resize events can change the width of elements with 100% width, but we don't\n // get an DOM mutations for that, so do the resize when the window is resized, too.\n window.addEventListener('resize', sendResize, true);\n\n // This script is injected into the document <head> so it parses before the\n // (possibly malformed) user content in <body>: an unclosed attribute quote\n // in that content can't then swallow this <script> tag and dump its source\n // into the preview as visible text. Because <head> runs before <body>\n // exists, defer the body-dependent setup until the DOM is ready.\n if (document.body) {\n connect();\n } else {\n document.addEventListener('DOMContentLoaded', connect);\n }\n};\n\n// TODO: These styles shouldn't be coupled with WordPress.\nconst style = `\n\tbody {\n\t\tmargin: 0;\n\t}\n\thtml,\n\tbody,\n\tbody > div {\n\t\twidth: 100%;\n\t}\n\thtml.wp-has-aspect-ratio,\n\tbody.wp-has-aspect-ratio,\n\tbody.wp-has-aspect-ratio > div,\n\tbody.wp-has-aspect-ratio > div iframe {\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\toverflow: hidden; /* If it has an aspect ratio, it shouldn't scroll. */\n\t}\n\tbody > div > * {\n\t\tmargin-top: 0 !important; /* Has to have !important to override inline styles. */\n\t\tmargin-bottom: 0 !important;\n\t}\n`;\n\n/**\n * Builds the full HTML document string for the sandbox iframe content. Shared\n * by both the isolated (`srcdoc`) and same-origin (`contentDocument.write`)\n * sandboxes so the two paths always emit the same markup — notably keeping the\n * resize script in `<head>`, ahead of the user content, on both. A single\n * builder means the write path cannot drift back to putting the script in\n * `<body>` while the `srcdoc` path keeps it in `<head>`.\n *\n * `lang` is passed in rather than read here because the two callers source it\n * from different documents: the isolated sandbox uses the module's `document`,\n * while the same-origin sandbox uses the iframe's `ownerDocument`. They are\n * normally the same document, but keeping the argument preserves each path's\n * exact prior behavior.\n *\n * Exported for tests.\n *\n * @param props\n * @param props.html User-supplied HTML for the iframe body.\n * @param props.title Document title.\n * @param props.type Optional class name for the `<html>`/`<body>` elements.\n * @param props.styles CSS rule strings, injected as `<style>` tags in the head.\n * @param props.scripts External script URLs, injected as `<script src>` in the\n * body (embeds expect their scripts there).\n * @param props.lang Language for the `<html lang>` attribute.\n * @return The full `<!DOCTYPE html>…` document string.\n */\nexport function buildSandBoxDocument({\n html,\n title,\n type,\n styles,\n scripts,\n lang\n}) {\n const htmlDoc = /*#__PURE__*/_jsxs(\"html\", {\n lang: lang,\n className: type,\n children: [/*#__PURE__*/_jsxs(\"head\", {\n children: [/*#__PURE__*/_jsx(\"title\", {\n children: title\n }), /*#__PURE__*/_jsx(\"style\", {\n dangerouslySetInnerHTML: {\n __html: style\n }\n }), styles.map((rules, i) => /*#__PURE__*/_jsx(\"style\", {\n dangerouslySetInnerHTML: {\n __html: rules\n }\n }, i)), /*#__PURE__*/_jsx(\"script\", {\n type: \"text/javascript\",\n dangerouslySetInnerHTML: {\n __html: `(${observeAndResizeJS.toString()})();`\n }\n })]\n }), /*#__PURE__*/_jsxs(\"body\", {\n \"data-resizable-iframe-connected\": \"data-resizable-iframe-connected\",\n className: type,\n children: [/*#__PURE__*/_jsx(\"div\", {\n dangerouslySetInnerHTML: {\n __html: html\n }\n }), scripts.map(src => /*#__PURE__*/_jsx(\"script\", {\n src: src\n }, src))]\n })]\n });\n return '<!DOCTYPE html>' + renderToString(htmlDoc);\n}\n\n/**\n * Isolated sandbox that uses the `srcdoc` attribute to render content\n * without `allow-same-origin`. This is the default for user-controlled\n * content (e.g., the HTML block) where same-origin access would be a\n * security risk.\n *\n * Because `srcdoc` is a declarative attribute, the browser automatically\n * re-renders the content when the iframe is moved in the DOM (e.g.,\n * block reordering), so no `load` event listener is needed.\n * The `message` listener is re-synced on every `load` so\n * it follows the iframe if it's reparented into a different document.\n */\nfunction IsolatedSandBox({\n html = '',\n title = '',\n type,\n styles = [],\n scripts = [],\n onFocus,\n tabIndex,\n allowPopups = false\n}) {\n const ref = useRef(null);\n const [width, setWidth] = useState(0);\n const [height, setHeight] = useState(0);\n const sandbox = clsx('allow-scripts', 'allow-presentation', {\n 'allow-popups': allowPopups\n });\n const srcDoc = useMemo(() => buildSandBoxDocument({\n html,\n title,\n type,\n styles,\n scripts,\n // Read inside the memo: the `no-dom-globals-in-react-fc` lint\n // rule forbids DOM globals in the render body. `lang` rarely\n // changes after load, so leaving it out of the deps is fine.\n lang: document.documentElement.lang\n }), [html, title, type, styles, scripts]);\n useEffect(() => {\n const iframe = ref.current;\n if (!iframe) {\n return;\n }\n function checkMessageForResize(event) {\n // Verify that the mounted element is the source of the message.\n // iframe.contentWindow is accessible cross-origin as a\n // WindowProxy reference, so this check still works without\n // allow-same-origin.\n if (!iframe || iframe.contentWindow !== event.source) {\n return;\n }\n\n // Attempt to parse the message data as JSON if passed as string.\n let data = event.data || {};\n if ('string' === typeof data) {\n try {\n data = JSON.parse(data);\n } catch {}\n }\n\n // Update the state only if the message is formatted as we expect,\n // i.e. as an object with a 'resize' action.\n if ('resize' !== data.action) {\n return;\n }\n setWidth(data.width);\n setHeight(data.height);\n }\n let currentView = null;\n function syncListener() {\n const view = iframe?.ownerDocument?.defaultView ?? null;\n if (view === currentView) {\n return;\n }\n currentView?.removeEventListener('message', checkMessageForResize);\n currentView = view;\n currentView?.addEventListener('message', checkMessageForResize);\n }\n syncListener();\n iframe.addEventListener('load', syncListener);\n return () => {\n iframe.removeEventListener('load', syncListener);\n currentView?.removeEventListener('message', checkMessageForResize);\n };\n }, []);\n return /*#__PURE__*/_jsx(\"iframe\", {\n ref: useMergeRefs([ref, useFocusableIframe()]),\n title: title,\n tabIndex: tabIndex,\n className: \"components-sandbox\",\n sandbox: sandbox,\n srcDoc: srcDoc,\n onFocus: onFocus,\n width: Math.ceil(width),\n height: Math.ceil(height)\n });\n}\n\n/**\n * Same-origin sandbox that writes to `contentDocument` directly. This\n * preserves the parent page's URL as the iframe's document URL, which\n * provides a valid Referer header for nested iframes (required by\n * providers like YouTube).\n *\n * Only used when `allowSameOrigin` is true — i.e., for server-fetched\n * oEmbed previews that are not directly user-controlled.\n *\n * This implementation is intentionally kept close to the original\n * pre-refactor code to preserve past bugfixes:\n * - load listener for iframe re-initialization after DOM moves (#21916)\n * - forceRerender guard to avoid unnecessary full rewrites (#20176)\n */\nfunction SameOriginSandBox({\n html = '',\n title = '',\n type,\n styles = [],\n scripts = [],\n onFocus,\n tabIndex,\n allowPopups = false\n}) {\n const ref = useRef(null);\n const [width, setWidth] = useState(0);\n const [height, setHeight] = useState(0);\n const sandbox = clsx('allow-scripts', 'allow-same-origin', 'allow-presentation', {\n 'allow-popups': allowPopups\n });\n function isFrameAccessible() {\n try {\n return !!ref.current?.contentDocument?.body;\n } catch {\n return false;\n }\n }\n function trySandBox(forceRerender = false) {\n if (!isFrameAccessible()) {\n return;\n }\n const {\n contentDocument,\n ownerDocument\n } = ref.current;\n if (!forceRerender && null !== contentDocument?.body.getAttribute('data-resizable-iframe-connected')) {\n return;\n }\n\n // Put the html snippet into a html document, and then write it to the\n // iframe's document. The external `scripts` still go into the body to\n // support embedded content such as Instagram that expects them there;\n // only the resize helper lives in the head.\n //\n // Writing the document like this makes it act in the same way as if it\n // was loaded over the network, so DOM creation and mutation, script\n // execution, etc. all work as expected.\n contentDocument.open();\n contentDocument.write(buildSandBoxDocument({\n html,\n title,\n type,\n styles,\n scripts,\n lang: ownerDocument.documentElement.lang\n }));\n contentDocument.close();\n }\n useEffect(() => {\n trySandBox();\n function tryNoForceSandBox() {\n trySandBox(false);\n }\n function checkMessageForResize(event) {\n const iframe = ref.current;\n\n // Verify that the mounted element is the source of the message.\n if (!iframe || iframe.contentWindow !== event.source) {\n return;\n }\n\n // Attempt to parse the message data as JSON if passed as string.\n let data = event.data || {};\n if ('string' === typeof data) {\n try {\n data = JSON.parse(data);\n } catch {}\n }\n\n // Update the state only if the message is formatted as we expect,\n // i.e. as an object with a 'resize' action.\n if ('resize' !== data.action) {\n return;\n }\n setWidth(data.width);\n setHeight(data.height);\n }\n const iframe = ref.current;\n const defaultView = iframe?.ownerDocument?.defaultView;\n\n // This used to be registered using <iframe onLoad={} />, but it made the iframe blank\n // after reordering the containing block. See these two issues for more details:\n // https://github.com/WordPress/gutenberg/issues/6146\n // https://github.com/facebook/react/issues/18752\n iframe?.addEventListener('load', tryNoForceSandBox, false);\n defaultView?.addEventListener('message', checkMessageForResize);\n return () => {\n iframe?.removeEventListener('load', tryNoForceSandBox, false);\n defaultView?.removeEventListener('message', checkMessageForResize);\n };\n // Passing `exhaustive-deps` will likely involve a more detailed refactor.\n // See https://github.com/WordPress/gutenberg/pull/44378\n }, []);\n useEffect(() => {\n trySandBox();\n // Passing `exhaustive-deps` will likely involve a more detailed refactor.\n // See https://github.com/WordPress/gutenberg/pull/44378\n }, [title, styles, scripts]);\n useEffect(() => {\n trySandBox(true);\n // Passing `exhaustive-deps` will likely involve a more detailed refactor.\n // See https://github.com/WordPress/gutenberg/pull/44378\n }, [html, type]);\n return /*#__PURE__*/_jsx(\"iframe\", {\n ref: useMergeRefs([ref, useFocusableIframe()]),\n title: title,\n tabIndex: tabIndex,\n className: \"components-sandbox\",\n sandbox: sandbox,\n onFocus: onFocus,\n width: Math.ceil(width),\n height: Math.ceil(height)\n });\n}\n\n/**\n * This component provides an isolated environment for arbitrary HTML via iframes.\n *\n * ```jsx\n * import { SandBox } from '@wordpress/components';\n *\n * const MySandBox = () => (\n * \t<SandBox html=\"<p>Content</p>\" title=\"SandBox\" type=\"embed\" />\n * );\n * ```\n */\nfunction SandBox({\n allowSameOrigin = false,\n ...contentProps\n}) {\n if (allowSameOrigin) {\n return /*#__PURE__*/_jsx(SameOriginSandBox, {\n ...contentProps\n });\n }\n return /*#__PURE__*/_jsx(IsolatedSandBox, {\n ...contentProps\n });\n}\nexport default SandBox;"],
5
- "mappings": ";AAGA,OAAO,UAAU;AAKjB,SAAS,gBAAgB,QAAQ,UAAU,WAAW,eAAe;AACrE,SAAS,oBAAoB,oBAAoB;AAKjD,SAAS,OAAO,MAAM,QAAQ,aAAa;AAepC,IAAM,4BAA4B;AACzC,IAAM,qBAAqB,WAAY;AACrC,QAAM;AAAA,IACJ;AAAA,EACF,IAAI;AACJ,MAAI,CAAC,oBAAoB,CAAC,OAAO,QAAQ;AACvC;AAAA,EACF;AACA,WAAS,aAAa;AAGpB,QAAI,CAAC,SAAS,MAAM;AAClB;AAAA,IACF;AACA,UAAM,qBAAqB,SAAS,KAAK,sBAAsB;AAC/D,WAAO,OAAO,YAAY;AAAA,MACxB,QAAQ;AAAA,MACR,OAAO,mBAAmB;AAAA,MAC1B,QAAQ,mBAAmB;AAAA,IAC7B,GAAG,GAAG;AAAA,EACR;AAMA,WAAS,UAAU;AACjB,UAAM;AA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Q;",
4
+ "sourcesContent": ["import clsx from 'clsx';\nimport { renderToString, useRef, useState, useEffect, useMemo } from '@wordpress/element';\nimport { useFocusableIframe, useMergeRefs } from '@wordpress/compose';\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\n/**\n * Matches CSS viewport-relative length values such as `100vh`, `50.5vw`,\n * and `.5dvh`. Used to strip viewport units from user-supplied HTML inside\n * the sandbox iframe, because those units are relative to the iframe's\n * own size and would create a measurement feedback loop with the\n * resize observer.\n *\n * Exported for tests. NOTE: an identical regex literal is duplicated\n * inside `observeAndResizeJS` below because that function is serialized\n * via `.toString()` and embedded into the iframe's `srcdoc` — it has no\n * access to this module's scope at runtime. If you change one, change\n * the other; the \"is embedded in the sandbox iframe srcdoc\" test\n * guards against drift.\n */\nexport const VIEWPORT_UNIT_VALUE_REGEX = /^\\d*\\.?\\d+(?:vw|vh|svw|lvw|dvw|svh|lvh|dvh|vi|svi|lvi|dvi|vb|svb|lvb|dvb|vmin|svmin|lvmin|dvmin|vmax|svmax|lvmax|dvmax)$/;\nconst observeAndResizeJS = function () {\n const {\n MutationObserver\n } = window;\n if (!MutationObserver || !window.parent) {\n return;\n }\n function sendResize() {\n // This runs in the document <head>, and as a `load`/`resize` listener,\n // so the body may not exist yet. Bail rather than throw on a null body.\n if (!document.body) {\n return;\n }\n const clientBoundingRect = document.body.getBoundingClientRect();\n window.parent.postMessage({\n action: 'resize',\n width: clientBoundingRect.width,\n height: clientBoundingRect.height\n }, '*');\n }\n\n // Runs the body-dependent setup once the document body is available. Reads\n // `document.body` into a local so the null check narrows it for the rest of\n // the function: this runs in <head> and via DOMContentLoaded, so the body\n // isn't guaranteed to exist yet.\n function connect() {\n const {\n body\n } = document;\n if (!body) {\n return;\n }\n const observer = new MutationObserver(sendResize);\n observer.observe(body, {\n attributes: true,\n attributeOldValue: false,\n characterData: true,\n characterDataOldValue: false,\n childList: true,\n subtree: true\n });\n\n // Hack: Remove viewport unit styles, as these are relative\n // the iframe root and interfere with our mechanism for\n // determining the unconstrained page bounds.\n function removeViewportStyles(ruleOrNode) {\n if (ruleOrNode.style) {\n ['width', 'height', 'minHeight', 'maxHeight'].forEach(function (style) {\n if (/^\\d*\\.?\\d+(?:vw|vh|svw|lvw|dvw|svh|lvh|dvh|vi|svi|lvi|dvi|vb|svb|lvb|dvb|vmin|svmin|lvmin|dvmin|vmax|svmax|lvmax|dvmax)$/.test(ruleOrNode.style[style])) {\n ruleOrNode.style[style] = '';\n }\n });\n }\n }\n Array.prototype.forEach.call(document.querySelectorAll('[style]'), removeViewportStyles);\n Array.prototype.forEach.call(document.styleSheets, function (stylesheet) {\n let rules;\n try {\n rules = stylesheet.cssRules || stylesheet.rules;\n } catch {\n // Reading `cssRules` throws a SecurityError for a\n // cross-origin stylesheet (e.g. a remote <link> in the\n // user's HTML). Skip those rather than aborting the setup.\n return;\n }\n Array.prototype.forEach.call(rules, removeViewportStyles);\n });\n body.style.position = 'absolute';\n body.style.width = '100%';\n body.setAttribute('data-resizable-iframe-connected', '');\n sendResize();\n }\n window.addEventListener('load', sendResize, true);\n\n // Resize events can change the width of elements with 100% width, but we don't\n // get an DOM mutations for that, so do the resize when the window is resized, too.\n window.addEventListener('resize', sendResize, true);\n\n // This script is injected into the document <head> so it parses before the\n // (possibly malformed) user content in <body>: an unclosed attribute quote\n // in that content can't then swallow this <script> tag and dump its source\n // into the preview as visible text. Because <head> runs before <body>\n // exists, defer the body-dependent setup until the DOM is ready.\n if (document.body) {\n connect();\n } else {\n document.addEventListener('DOMContentLoaded', connect);\n }\n};\n\n// TODO: These styles shouldn't be coupled with WordPress.\nconst style = `\n\tbody {\n\t\tmargin: 0;\n\t}\n\thtml,\n\tbody,\n\tbody > div {\n\t\twidth: 100%;\n\t}\n\thtml.wp-has-aspect-ratio,\n\tbody.wp-has-aspect-ratio,\n\tbody.wp-has-aspect-ratio > div,\n\tbody.wp-has-aspect-ratio > div iframe {\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\toverflow: hidden; /* If it has an aspect ratio, it shouldn't scroll. */\n\t}\n\tbody > div > * {\n\t\tmargin-top: 0 !important; /* Has to have !important to override inline styles. */\n\t\tmargin-bottom: 0 !important;\n\t}\n`;\n\n/**\n * Builds the full HTML document string for the sandbox iframe content. Shared\n * by both the isolated (`srcdoc`) and same-origin (`contentDocument.write`)\n * sandboxes so the two paths always emit the same markup — notably keeping the\n * resize script in `<head>`, ahead of the user content, on both. A single\n * builder means the write path cannot drift back to putting the script in\n * `<body>` while the `srcdoc` path keeps it in `<head>`.\n *\n * `lang` is passed in rather than read here because the two callers source it\n * from different documents: the isolated sandbox uses the module's `document`,\n * while the same-origin sandbox uses the iframe's `ownerDocument`. They are\n * normally the same document, but keeping the argument preserves each path's\n * exact prior behavior.\n *\n * Exported for tests.\n *\n * @param props\n * @param props.html User-supplied HTML for the iframe body.\n * @param props.title Document title.\n * @param props.type Optional class name for the `<html>`/`<body>` elements.\n * @param props.styles CSS rule strings, injected as `<style>` tags in the head.\n * @param props.scripts External script URLs, injected as `<script src>` in the\n * body (embeds expect their scripts there).\n * @param props.lang Language for the `<html lang>` attribute.\n * @return The full `<!DOCTYPE html>…` document string.\n */\nexport function buildSandBoxDocument({\n html,\n title,\n type,\n styles,\n scripts,\n lang\n}) {\n const htmlDoc = /*#__PURE__*/_jsxs(\"html\", {\n lang: lang,\n className: type,\n children: [/*#__PURE__*/_jsxs(\"head\", {\n children: [/*#__PURE__*/_jsx(\"title\", {\n children: title\n }), /*#__PURE__*/_jsx(\"style\", {\n dangerouslySetInnerHTML: {\n __html: style\n }\n }), styles.map((rules, i) => /*#__PURE__*/_jsx(\"style\", {\n dangerouslySetInnerHTML: {\n __html: rules\n }\n }, i)), /*#__PURE__*/_jsx(\"script\", {\n type: \"text/javascript\",\n dangerouslySetInnerHTML: {\n __html: `(${observeAndResizeJS.toString()})();`\n }\n })]\n }), /*#__PURE__*/_jsxs(\"body\", {\n \"data-resizable-iframe-connected\": \"data-resizable-iframe-connected\",\n className: type,\n children: [/*#__PURE__*/_jsx(\"div\", {\n dangerouslySetInnerHTML: {\n __html: html\n }\n }), scripts.map(src => /*#__PURE__*/_jsx(\"script\", {\n src: src\n }, src))]\n })]\n });\n return '<!DOCTYPE html>' + renderToString(htmlDoc);\n}\n\n/**\n * Isolated sandbox that uses the `srcdoc` attribute to render content\n * without `allow-same-origin`. This is the default for user-controlled\n * content (e.g., the HTML block) where same-origin access would be a\n * security risk.\n *\n * Because `srcdoc` is a declarative attribute, the browser automatically\n * re-renders the content when the iframe is moved in the DOM (e.g.,\n * block reordering), so no `load` event listener is needed.\n * The `message` listener is re-synced on every `load` so\n * it follows the iframe if it's reparented into a different document.\n */\nfunction IsolatedSandBox({\n html = '',\n title = '',\n type,\n styles = [],\n scripts = [],\n onFocus,\n tabIndex,\n allowPopups = false,\n allowForms = false\n}) {\n const ref = useRef(null);\n const [width, setWidth] = useState(0);\n const [height, setHeight] = useState(0);\n const sandbox = clsx('allow-scripts', 'allow-presentation', {\n 'allow-popups': allowPopups,\n 'allow-forms': allowForms\n });\n const srcDoc = useMemo(() => buildSandBoxDocument({\n html,\n title,\n type,\n styles,\n scripts,\n // Read inside the memo: the `no-dom-globals-in-react-fc` lint\n // rule forbids DOM globals in the render body. `lang` rarely\n // changes after load, so leaving it out of the deps is fine.\n lang: document.documentElement.lang\n }), [html, title, type, styles, scripts]);\n useEffect(() => {\n const iframe = ref.current;\n if (!iframe) {\n return;\n }\n function checkMessageForResize(event) {\n // Verify that the mounted element is the source of the message.\n // iframe.contentWindow is accessible cross-origin as a\n // WindowProxy reference, so this check still works without\n // allow-same-origin.\n if (!iframe || iframe.contentWindow !== event.source) {\n return;\n }\n\n // Attempt to parse the message data as JSON if passed as string.\n let data = event.data || {};\n if ('string' === typeof data) {\n try {\n data = JSON.parse(data);\n } catch {}\n }\n\n // Update the state only if the message is formatted as we expect,\n // i.e. as an object with a 'resize' action.\n if ('resize' !== data.action) {\n return;\n }\n setWidth(data.width);\n setHeight(data.height);\n }\n let currentView = null;\n function syncListener() {\n const view = iframe?.ownerDocument?.defaultView ?? null;\n if (view === currentView) {\n return;\n }\n currentView?.removeEventListener('message', checkMessageForResize);\n currentView = view;\n currentView?.addEventListener('message', checkMessageForResize);\n }\n syncListener();\n iframe.addEventListener('load', syncListener);\n return () => {\n iframe.removeEventListener('load', syncListener);\n currentView?.removeEventListener('message', checkMessageForResize);\n };\n }, []);\n return /*#__PURE__*/_jsx(\"iframe\", {\n ref: useMergeRefs([ref, useFocusableIframe()]),\n title: title,\n tabIndex: tabIndex,\n className: \"components-sandbox\",\n sandbox: sandbox,\n srcDoc: srcDoc,\n onFocus: onFocus,\n width: Math.ceil(width),\n height: Math.ceil(height)\n });\n}\n\n/**\n * Same-origin sandbox that writes to `contentDocument` directly. This\n * preserves the parent page's URL as the iframe's document URL, which\n * provides a valid Referer header for nested iframes (required by\n * providers like YouTube).\n *\n * Only used when `allowSameOrigin` is true — i.e., for server-fetched\n * oEmbed previews that are not directly user-controlled.\n *\n * This implementation is intentionally kept close to the original\n * pre-refactor code to preserve past bugfixes:\n * - load listener for iframe re-initialization after DOM moves (#21916)\n * - forceRerender guard to avoid unnecessary full rewrites (#20176)\n */\nfunction SameOriginSandBox({\n html = '',\n title = '',\n type,\n styles = [],\n scripts = [],\n onFocus,\n tabIndex,\n allowPopups = false,\n allowForms = false\n}) {\n const ref = useRef(null);\n const [width, setWidth] = useState(0);\n const [height, setHeight] = useState(0);\n const sandbox = clsx('allow-scripts', 'allow-same-origin', 'allow-presentation', {\n 'allow-popups': allowPopups,\n 'allow-forms': allowForms\n });\n function isFrameAccessible() {\n try {\n return !!ref.current?.contentDocument?.body;\n } catch {\n return false;\n }\n }\n function trySandBox(forceRerender = false) {\n if (!isFrameAccessible()) {\n return;\n }\n const {\n contentDocument,\n ownerDocument\n } = ref.current;\n if (!forceRerender && null !== contentDocument?.body.getAttribute('data-resizable-iframe-connected')) {\n return;\n }\n\n // Put the html snippet into a html document, and then write it to the\n // iframe's document. The external `scripts` still go into the body to\n // support embedded content such as Instagram that expects them there;\n // only the resize helper lives in the head.\n //\n // Writing the document like this makes it act in the same way as if it\n // was loaded over the network, so DOM creation and mutation, script\n // execution, etc. all work as expected.\n contentDocument.open();\n contentDocument.write(buildSandBoxDocument({\n html,\n title,\n type,\n styles,\n scripts,\n lang: ownerDocument.documentElement.lang\n }));\n contentDocument.close();\n }\n useEffect(() => {\n trySandBox();\n function tryNoForceSandBox() {\n trySandBox(false);\n }\n function checkMessageForResize(event) {\n const iframe = ref.current;\n\n // Verify that the mounted element is the source of the message.\n if (!iframe || iframe.contentWindow !== event.source) {\n return;\n }\n\n // Attempt to parse the message data as JSON if passed as string.\n let data = event.data || {};\n if ('string' === typeof data) {\n try {\n data = JSON.parse(data);\n } catch {}\n }\n\n // Update the state only if the message is formatted as we expect,\n // i.e. as an object with a 'resize' action.\n if ('resize' !== data.action) {\n return;\n }\n setWidth(data.width);\n setHeight(data.height);\n }\n const iframe = ref.current;\n const defaultView = iframe?.ownerDocument?.defaultView;\n\n // This used to be registered using <iframe onLoad={} />, but it made the iframe blank\n // after reordering the containing block. See these two issues for more details:\n // https://github.com/WordPress/gutenberg/issues/6146\n // https://github.com/facebook/react/issues/18752\n iframe?.addEventListener('load', tryNoForceSandBox, false);\n defaultView?.addEventListener('message', checkMessageForResize);\n return () => {\n iframe?.removeEventListener('load', tryNoForceSandBox, false);\n defaultView?.removeEventListener('message', checkMessageForResize);\n };\n // Passing `exhaustive-deps` will likely involve a more detailed refactor.\n // See https://github.com/WordPress/gutenberg/pull/44378\n }, []);\n useEffect(() => {\n trySandBox();\n // Passing `exhaustive-deps` will likely involve a more detailed refactor.\n // See https://github.com/WordPress/gutenberg/pull/44378\n }, [title, styles, scripts]);\n useEffect(() => {\n trySandBox(true);\n // Passing `exhaustive-deps` will likely involve a more detailed refactor.\n // See https://github.com/WordPress/gutenberg/pull/44378\n }, [html, type]);\n return /*#__PURE__*/_jsx(\"iframe\", {\n ref: useMergeRefs([ref, useFocusableIframe()]),\n title: title,\n tabIndex: tabIndex,\n className: \"components-sandbox\",\n sandbox: sandbox,\n onFocus: onFocus,\n width: Math.ceil(width),\n height: Math.ceil(height)\n });\n}\n\n/**\n * This component provides an isolated environment for arbitrary HTML via iframes.\n *\n * ```jsx\n * import { SandBox } from '@wordpress/components';\n *\n * const MySandBox = () => (\n * \t<SandBox html=\"<p>Content</p>\" title=\"SandBox\" type=\"embed\" />\n * );\n * ```\n */\nfunction SandBox({\n allowSameOrigin = false,\n ...contentProps\n}) {\n if (allowSameOrigin) {\n return /*#__PURE__*/_jsx(SameOriginSandBox, {\n ...contentProps\n });\n }\n return /*#__PURE__*/_jsx(IsolatedSandBox, {\n ...contentProps\n });\n}\nexport default SandBox;"],
5
+ "mappings": ";AAAA,OAAO,UAAU;AACjB,SAAS,gBAAgB,QAAQ,UAAU,WAAW,eAAe;AACrE,SAAS,oBAAoB,oBAAoB;AACjD,SAAS,OAAO,MAAM,QAAQ,aAAa;AAepC,IAAM,4BAA4B;AACzC,IAAM,qBAAqB,WAAY;AACrC,QAAM;AAAA,IACJ;AAAA,EACF,IAAI;AACJ,MAAI,CAAC,oBAAoB,CAAC,OAAO,QAAQ;AACvC;AAAA,EACF;AACA,WAAS,aAAa;AAGpB,QAAI,CAAC,SAAS,MAAM;AAClB;AAAA,IACF;AACA,UAAM,qBAAqB,SAAS,KAAK,sBAAsB;AAC/D,WAAO,OAAO,YAAY;AAAA,MACxB,QAAQ;AAAA,MACR,OAAO,mBAAmB;AAAA,MAC1B,QAAQ,mBAAmB;AAAA,IAC7B,GAAG,GAAG;AAAA,EACR;AAMA,WAAS,UAAU;AACjB,UAAM;AAAA,MACJ;AAAA,IACF,IAAI;AACJ,QAAI,CAAC,MAAM;AACT;AAAA,IACF;AACA,UAAM,WAAW,IAAI,iBAAiB,UAAU;AAChD,aAAS,QAAQ,MAAM;AAAA,MACrB,YAAY;AAAA,MACZ,mBAAmB;AAAA,MACnB,eAAe;AAAA,MACf,uBAAuB;AAAA,M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encies\n */\nimport { useEffect } from '@wordpress/element';\n\n/*\n * Setting `overflow: hidden` on html and body elements resets body scroll in iOS.\n * Save scroll top so we can restore it after locking scroll.\n *\n * NOTE: It would be cleaner and possibly safer to find a localized solution such\n * as preventing default on certain touchmove events.\n */\nlet previousScrollTop = 0;\nfunction setLocked(locked) {\n const scrollingElement = document.scrollingElement || document.body;\n if (locked) {\n previousScrollTop = scrollingElement.scrollTop;\n }\n const methodName = locked ? 'add' : 'remove';\n scrollingElement.classList[methodName]('lockscroll');\n\n // Adding the class to the document element seems to be necessary in iOS.\n document.documentElement.classList[methodName]('lockscroll');\n if (!locked) {\n scrollingElement.scrollTop = previousScrollTop;\n }\n}\nlet lockCounter = 0;\n\n/**\n * ScrollLock is a content-free React component for declaratively preventing\n * scroll bleed from modal UI to the page body. This component applies a\n * `lockscroll` class to the `document.documentElement` and\n * `document.scrollingElement` elements to stop the body from scrolling. When it\n * is present, the lock is applied.\n *\n * ```jsx\n * import { ScrollLock, Button } from '@wordpress/components';\n * import { useState } from '@wordpress/element';\n *\n * const MyScrollLock = () => {\n * const [ isScrollLocked, setIsScrollLocked ] = useState( false );\n *\n * const toggleLock = () => {\n * setIsScrollLocked( ( locked ) => ! locked ) );\n * };\n *\n * return (\n * <div>\n * <Button variant=\"secondary\" onClick={ toggleLock }>\n * Toggle scroll lock\n * </Button>\n * { isScrollLocked && <ScrollLock /> }\n * <p>\n * Scroll locked:\n * <strong>{ isScrollLocked ? 'Yes' : 'No' }</strong>\n * </p>\n * </div>\n * );\n * };\n * ```\n */\nexport function ScrollLock() {\n useEffect(() => {\n if (lockCounter === 0) {\n setLocked(true);\n }\n ++lockCounter;\n return () => {\n if (lockCounter === 1) {\n setLocked(false);\n }\n --lockCounter;\n };\n }, []);\n return null;\n}\nexport default ScrollLock;"],
5
- "mappings": ";AAGA,SAAS,iBAAiB;AAS1B,IAAI,oBAAoB;AACxB,SAAS,UAAU,QAAQ;AACzB,QAAM,mBAAmB,SAAS,oBAAoB,SAAS;AAC/D,MAAI,QAAQ;AACV,wBAAoB,iBAAiB;AAAA,EACvC;AACA,QAAM,aAAa,SAAS,QAAQ;AACpC,mBAAiB,UAAU,UAAU,EAAE,YAAY;AAGnD,WAAS,gBAAgB,UAAU,UAAU,EAAE,YAAY;AAC3D,MAAI,CAAC,QAAQ;AACX,qBAAiB,YAAY;AAAA,EAC/B;AACF;AACA,IAAI,cAAc;AAmCX,SAAS,aAAa;AAC3B,YAAU,MAAM;AACd,QAAI,gBAAgB,GAAG;AACrB,gBAAU,IAAI;AAAA,IAChB;AACA,MAAE;AACF,WAAO,MAAM;AACX,UAAI,gBAAgB,GAAG;AACrB,kBAAU,KAAK;AAAA,MACjB;AACA,QAAE;AAAA,IACJ;AAAA,EACF,GAAG,CAAC,CAAC;AACL,SAAO;AACT;AACA,IAAO,sBAAQ;",
4
+ "sourcesContent": ["import { useEffect } from '@wordpress/element';\n\n/*\n * Setting `overflow: hidden` on html and body elements resets body scroll in iOS.\n * Save scroll top so we can restore it after locking scroll.\n *\n * NOTE: It would be cleaner and possibly safer to find a localized solution such\n * as preventing default on certain touchmove events.\n */\nlet previousScrollTop = 0;\nfunction setLocked(locked) {\n const scrollingElement = document.scrollingElement || document.body;\n if (locked) {\n previousScrollTop = scrollingElement.scrollTop;\n }\n const methodName = locked ? 'add' : 'remove';\n scrollingElement.classList[methodName]('lockscroll');\n\n // Adding the class to the document element seems to be necessary in iOS.\n document.documentElement.classList[methodName]('lockscroll');\n if (!locked) {\n scrollingElement.scrollTop = previousScrollTop;\n }\n}\nlet lockCounter = 0;\n\n/**\n * ScrollLock is a content-free React component for declaratively preventing\n * scroll bleed from modal UI to the page body. This component applies a\n * `lockscroll` class to the `document.documentElement` and\n * `document.scrollingElement` elements to stop the body from scrolling. When it\n * is present, the lock is applied.\n *\n * ```jsx\n * import { ScrollLock, Button } from '@wordpress/components';\n * import { useState } from '@wordpress/element';\n *\n * const MyScrollLock = () => {\n * const [ isScrollLocked, setIsScrollLocked ] = useState( false );\n *\n * const toggleLock = () => {\n * setIsScrollLocked( ( locked ) => ! locked ) );\n * };\n *\n * return (\n * <div>\n * <Button variant=\"secondary\" onClick={ toggleLock }>\n * Toggle scroll lock\n * </Button>\n * { isScrollLocked && <ScrollLock /> }\n * <p>\n * Scroll locked:\n * <strong>{ isScrollLocked ? 'Yes' : 'No' }</strong>\n * </p>\n * </div>\n * );\n * };\n * ```\n */\nexport function ScrollLock() {\n useEffect(() => {\n if (lockCounter === 0) {\n setLocked(true);\n }\n ++lockCounter;\n return () => {\n if (lockCounter === 1) {\n setLocked(false);\n }\n --lockCounter;\n };\n }, []);\n return null;\n}\nexport default ScrollLock;"],
5
+ "mappings": ";AAAA,SAAS,iBAAiB;AAS1B,IAAI,oBAAoB;AACxB,SAAS,UAAU,QAAQ;AACzB,QAAM,mBAAmB,SAAS,oBAAoB,SAAS;AAC/D,MAAI,QAAQ;AACV,wBAAoB,iBAAiB;AAAA,EACvC;AACA,QAAM,aAAa,SAAS,QAAQ;AACpC,mBAAiB,UAAU,UAAU,EAAE,YAAY;AAGnD,WAAS,gBAAgB,UAAU,UAAU,EAAE,YAAY;AAC3D,MAAI,CAAC,QAAQ;AACX,qBAAiB,YAAY;AAAA,EAC/B;AACF;AACA,IAAI,cAAc;AAmCX,SAAS,aAAa;AAC3B,YAAU,MAAM;AACd,QAAI,gBAAgB,GAAG;AACrB,gBAAU,IAAI;AAAA,IAChB;AACA,MAAE;AACF,WAAO,MAAM;AACX,UAAI,gBAAgB,GAAG;AACrB,kBAAU,KAAK;AAAA,MACjB;AACA,QAAE;AAAA,IACJ;AAAA,EACF,GAAG,CAAC,CAAC;AACL,SAAO;AACT;AACA,IAAO,sBAAQ;",
6
6
  "names": []
7
7
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/scrollable/component.tsx"],
4
- "sourcesContent": ["/**\n * External dependencies\n */\n\n/**\n * Internal dependencies\n */\n\nimport { contextConnect } from '../context';\nimport { View } from '../view';\nimport { useScrollable } from './hook';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nfunction UnconnectedScrollable(props, forwardedRef) {\n const scrollableProps = useScrollable(props);\n return /*#__PURE__*/_jsx(View, {\n ...scrollableProps,\n ref: forwardedRef\n });\n}\n\n/**\n * `Scrollable` is a layout component that content in a scrollable container.\n *\n * ```jsx\n * import { __experimentalScrollable as Scrollable } from `@wordpress/components`;\n *\n * function Example() {\n * \treturn (\n * \t\t<Scrollable style={ { maxHeight: 200 } }>\n * \t\t\t<div style={ { height: 500 } }>...</div>\n * \t\t</Scrollable>\n * \t);\n * }\n * ```\n */\nexport const Scrollable = contextConnect(UnconnectedScrollable, 'Scrollable');\nexport default Scrollable;"],
5
- "mappings": ";AAQA,SAAS,sBAAsB;AAC/B,SAAS,YAAY;AACrB,SAAS,qBAAqB;AAC9B,SAAS,OAAO,YAAY;AAC5B,SAAS,sBAAsB,OAAO,cAAc;AAClD,QAAM,kBAAkB,cAAc,KAAK;AAC3C,SAAoB,qBAAK,MAAM;AAAA,IAC7B,GAAG;AAAA,IACH,KAAK;AAAA,EACP,CAAC;AACH;AAiBO,IAAM,aAAa,eAAe,uBAAuB,YAAY;AAC5E,IAAO,oBAAQ;",
4
+ "sourcesContent": ["import { contextConnect } from '../context';\nimport { View } from '../view';\nimport { useScrollable } from './hook';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nfunction UnconnectedScrollable(props, forwardedRef) {\n const scrollableProps = useScrollable(props);\n return /*#__PURE__*/_jsx(View, {\n ...scrollableProps,\n ref: forwardedRef\n });\n}\n\n/**\n * `Scrollable` is a layout component that content in a scrollable container.\n *\n * ```jsx\n * import { __experimentalScrollable as Scrollable } from `@wordpress/components`;\n *\n * function Example() {\n * \treturn (\n * \t\t<Scrollable style={ { maxHeight: 200 } }>\n * \t\t\t<div style={ { height: 500 } }>...</div>\n * \t\t</Scrollable>\n * \t);\n * }\n * ```\n */\nexport const Scrollable = contextConnect(UnconnectedScrollable, 'Scrollable');\nexport default Scrollable;"],
5
+ "mappings": ";AAAA,SAAS,sBAAsB;AAC/B,SAAS,YAAY;AACrB,SAAS,qBAAqB;AAC9B,SAAS,OAAO,YAAY;AAC5B,SAAS,sBAAsB,OAAO,cAAc;AAClD,QAAM,kBAAkB,cAAc,KAAK;AAC3C,SAAoB,qBAAK,MAAM;AAAA,IAC7B,GAAG;AAAA,IACH,KAAK;AAAA,EACP,CAAC;AACH;AAiBO,IAAM,aAAa,eAAe,uBAAuB,YAAY;AAC5E,IAAO,oBAAQ;",
6
6
  "names": []
7
7
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/scrollable/hook.ts"],
4
- "sourcesContent": ["/**\n * WordPress dependencies\n */\nimport { useMemo } from '@wordpress/element';\n\n/**\n * Internal dependencies\n */\n\nimport { useContextSystem } from '../context';\nimport * as styles from './styles';\nimport { useCx } from '../utils/hooks/use-cx';\nexport function useScrollable(props) {\n const {\n className,\n scrollDirection = 'y',\n smoothScroll = false,\n ...otherProps\n } = useContextSystem(props, 'Scrollable');\n const cx = useCx();\n const classes = useMemo(() => cx(styles.Scrollable, styles.scrollableScrollbar, smoothScroll && styles.smoothScroll, scrollDirection === 'x' && styles.scrollX, scrollDirection === 'y' && styles.scrollY, scrollDirection === 'auto' && styles.scrollAuto, className), [className, cx, scrollDirection, smoothScroll]);\n return {\n ...otherProps,\n className: classes\n };\n}"],
5
- "mappings": ";AAGA,SAAS,eAAe;AAMxB,SAAS,wBAAwB;AACjC,YAAY,YAAY;AACxB,SAAS,aAAa;AACf,SAAS,cAAc,OAAO;AACnC,QAAM;AAAA,IACJ;AAAA,IACA,kBAAkB;AAAA,IAClB,cAAAA,gBAAe;AAAA,IACf,GAAG;AAAA,EACL,IAAI,iBAAiB,OAAO,YAAY;AACxC,QAAM,KAAK,MAAM;AACjB,QAAM,UAAU,QAAQ,MAAM,GAAU,mBAAmB,4BAAqBA,iBAAuB,qBAAc,oBAAoB,OAAc,gBAAS,oBAAoB,OAAc,gBAAS,oBAAoB,UAAiB,mBAAY,SAAS,GAAG,CAAC,WAAW,IAAI,iBAAiBA,aAAY,CAAC;AACtT,SAAO;AAAA,IACL,GAAG;AAAA,IACH,WAAW;AAAA,EACb;AACF;",
4
+ "sourcesContent": ["import { useMemo } from '@wordpress/element';\nimport { useContextSystem } from '../context';\nimport * as styles from './styles';\nimport { useCx } from '../utils/hooks/use-cx';\nexport function useScrollable(props) {\n const {\n className,\n scrollDirection = 'y',\n smoothScroll = false,\n ...otherProps\n } = useContextSystem(props, 'Scrollable');\n const cx = useCx();\n const classes = useMemo(() => cx(styles.Scrollable, styles.scrollableScrollbar, smoothScroll && styles.smoothScroll, scrollDirection === 'x' && styles.scrollX, scrollDirection === 'y' && styles.scrollY, scrollDirection === 'auto' && styles.scrollAuto, className), [className, cx, scrollDirection, smoothScroll]);\n return {\n ...otherProps,\n className: classes\n };\n}"],
5
+ "mappings": ";AAAA,SAAS,eAAe;AACxB,SAAS,wBAAwB;AACjC,YAAY,YAAY;AACxB,SAAS,aAAa;AACf,SAAS,cAAc,OAAO;AACnC,QAAM;AAAA,IACJ;AAAA,IACA,kBAAkB;AAAA,IAClB,cAAAA,gBAAe;AAAA,IACf,GAAG;AAAA,EACL,IAAI,iBAAiB,OAAO,YAAY;AACxC,QAAM,KAAK,MAAM;AACjB,QAAM,UAAU,QAAQ,MAAM,GAAU,mBAAmB,4BAAqBA,iBAAuB,qBAAc,oBAAoB,OAAc,gBAAS,oBAAoB,OAAc,gBAAS,oBAAoB,UAAiB,mBAAY,SAAS,GAAG,CAAC,WAAW,IAAI,iBAAiBA,aAAY,CAAC;AACtT,SAAO;AAAA,IACL,GAAG;AAAA,IACH,WAAW;AAAA,EACb;AACF;",
6
6
  "names": ["smoothScroll"]
7
7
  }