@wordpress/components 19.2.1-next.33ec3857e2.0 → 19.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (368) hide show
  1. package/CHANGELOG.md +6 -29
  2. package/build/angle-picker-control/index.js +0 -2
  3. package/build/angle-picker-control/index.js.map +1 -1
  4. package/build/button/index.native.js +3 -13
  5. package/build/button/index.native.js.map +1 -1
  6. package/build/checkbox-control/index.js +1 -1
  7. package/build/checkbox-control/index.js.map +1 -1
  8. package/build/clipboard-button/index.js +2 -1
  9. package/build/clipboard-button/index.js.map +1 -1
  10. package/build/color-palette/index.js +1 -13
  11. package/build/color-palette/index.js.map +1 -1
  12. package/build/color-picker/color-display.js +2 -4
  13. package/build/color-picker/color-display.js.map +1 -1
  14. package/build/color-picker/hex-input.js +1 -3
  15. package/build/color-picker/hex-input.js.map +1 -1
  16. package/build/color-picker/input-with-slider.js +1 -3
  17. package/build/color-picker/input-with-slider.js.map +1 -1
  18. package/build/custom-gradient-picker/index.js +0 -1
  19. package/build/custom-gradient-picker/index.js.map +1 -1
  20. package/build/date-time/date.js +86 -63
  21. package/build/date-time/date.js.map +1 -1
  22. package/build/divider/component.js +7 -8
  23. package/build/divider/component.js.map +1 -1
  24. package/build/divider/styles.js +13 -38
  25. package/build/divider/styles.js.map +1 -1
  26. package/build/drop-zone/index.js +6 -14
  27. package/build/drop-zone/index.js.map +1 -1
  28. package/build/drop-zone/provider.js +0 -1
  29. package/build/drop-zone/provider.js.map +1 -1
  30. package/build/flyout/styles.js +2 -2
  31. package/build/flyout/styles.js.map +1 -1
  32. package/build/focusable-iframe/index.js +0 -1
  33. package/build/focusable-iframe/index.js.map +1 -1
  34. package/build/higher-order/with-focus-outside/index.js +0 -2
  35. package/build/higher-order/with-focus-outside/index.js.map +1 -1
  36. package/build/index.js +0 -8
  37. package/build/index.js.map +1 -1
  38. package/build/input-control/styles/input-control-styles.js +32 -44
  39. package/build/input-control/styles/input-control-styles.js.map +1 -1
  40. package/build/mobile/bottom-sheet/link-suggestion-item-cell.native.js +3 -10
  41. package/build/mobile/bottom-sheet/link-suggestion-item-cell.native.js.map +1 -1
  42. package/build/mobile/color-settings/index.native.js +2 -4
  43. package/build/mobile/color-settings/index.native.js.map +1 -1
  44. package/build/mobile/color-settings/palette.screen.native.js +6 -7
  45. package/build/mobile/color-settings/palette.screen.native.js.map +1 -1
  46. package/build/mobile/global-styles-context/utils.native.js +1 -1
  47. package/build/mobile/global-styles-context/utils.native.js.map +1 -1
  48. package/build/mobile/gridicons/index.native.js +1 -3
  49. package/build/mobile/gridicons/index.native.js.map +1 -1
  50. package/build/mobile/link-picker/index.native.js +4 -45
  51. package/build/mobile/link-picker/index.native.js.map +1 -1
  52. package/build/mobile/link-settings/index.native.js +0 -10
  53. package/build/mobile/link-settings/index.native.js.map +1 -1
  54. package/build/modal/aria-helper.js +0 -2
  55. package/build/modal/aria-helper.js.map +1 -1
  56. package/build/modal/index.js +8 -17
  57. package/build/modal/index.js.map +1 -1
  58. package/build/palette-edit/index.js +31 -27
  59. package/build/palette-edit/index.js.map +1 -1
  60. package/build/select-control/styles/select-control-styles.js +9 -33
  61. package/build/select-control/styles/select-control-styles.js.map +1 -1
  62. package/build/style-provider/index.js +0 -2
  63. package/build/style-provider/index.js.map +1 -1
  64. package/build/toggle-group-control/toggle-group-control/component.js +2 -7
  65. package/build/toggle-group-control/toggle-group-control/component.js.map +1 -1
  66. package/build/toggle-group-control/toggle-group-control/toggle-group-control-backdrop.js +14 -25
  67. package/build/toggle-group-control/toggle-group-control/toggle-group-control-backdrop.js.map +1 -1
  68. package/build/tools-panel/styles.js +10 -12
  69. package/build/tools-panel/styles.js.map +1 -1
  70. package/build/tools-panel/tools-panel/component.js +8 -6
  71. package/build/tools-panel/tools-panel/component.js.map +1 -1
  72. package/build/tools-panel/tools-panel-item/hook.js +8 -6
  73. package/build/tools-panel/tools-panel-item/hook.js.map +1 -1
  74. package/build/unit-control/styles/unit-control-styles.js +41 -23
  75. package/build/unit-control/styles/unit-control-styles.js.map +1 -1
  76. package/build/z-stack/component.js.map +1 -1
  77. package/build/z-stack/styles.js +8 -10
  78. package/build/z-stack/styles.js.map +1 -1
  79. package/build-module/angle-picker-control/index.js +0 -2
  80. package/build-module/angle-picker-control/index.js.map +1 -1
  81. package/build-module/button/index.native.js +3 -13
  82. package/build-module/button/index.native.js.map +1 -1
  83. package/build-module/checkbox-control/index.js +1 -1
  84. package/build-module/checkbox-control/index.js.map +1 -1
  85. package/build-module/clipboard-button/index.js +2 -1
  86. package/build-module/clipboard-button/index.js.map +1 -1
  87. package/build-module/color-palette/index.js +2 -14
  88. package/build-module/color-palette/index.js.map +1 -1
  89. package/build-module/color-picker/color-display.js +2 -3
  90. package/build-module/color-picker/color-display.js.map +1 -1
  91. package/build-module/color-picker/hex-input.js +1 -2
  92. package/build-module/color-picker/hex-input.js.map +1 -1
  93. package/build-module/color-picker/input-with-slider.js +1 -2
  94. package/build-module/color-picker/input-with-slider.js.map +1 -1
  95. package/build-module/custom-gradient-picker/index.js +0 -1
  96. package/build-module/custom-gradient-picker/index.js.map +1 -1
  97. package/build-module/date-time/date.js +87 -63
  98. package/build-module/date-time/date.js.map +1 -1
  99. package/build-module/divider/component.js +7 -8
  100. package/build-module/divider/component.js.map +1 -1
  101. package/build-module/divider/styles.js +13 -37
  102. package/build-module/divider/styles.js.map +1 -1
  103. package/build-module/drop-zone/index.js +6 -14
  104. package/build-module/drop-zone/index.js.map +1 -1
  105. package/build-module/drop-zone/provider.js +0 -1
  106. package/build-module/drop-zone/provider.js.map +1 -1
  107. package/build-module/flyout/styles.js +2 -2
  108. package/build-module/flyout/styles.js.map +1 -1
  109. package/build-module/focusable-iframe/index.js +0 -1
  110. package/build-module/focusable-iframe/index.js.map +1 -1
  111. package/build-module/higher-order/with-focus-outside/index.js +0 -1
  112. package/build-module/higher-order/with-focus-outside/index.js.map +1 -1
  113. package/build-module/index.js +0 -1
  114. package/build-module/index.js.map +1 -1
  115. package/build-module/input-control/styles/input-control-styles.js +32 -44
  116. package/build-module/input-control/styles/input-control-styles.js.map +1 -1
  117. package/build-module/mobile/bottom-sheet/link-suggestion-item-cell.native.js +4 -10
  118. package/build-module/mobile/bottom-sheet/link-suggestion-item-cell.native.js.map +1 -1
  119. package/build-module/mobile/color-settings/index.native.js +2 -4
  120. package/build-module/mobile/color-settings/index.native.js.map +1 -1
  121. package/build-module/mobile/color-settings/palette.screen.native.js +6 -7
  122. package/build-module/mobile/color-settings/palette.screen.native.js.map +1 -1
  123. package/build-module/mobile/global-styles-context/utils.native.js +1 -1
  124. package/build-module/mobile/global-styles-context/utils.native.js.map +1 -1
  125. package/build-module/mobile/gridicons/index.native.js +0 -1
  126. package/build-module/mobile/gridicons/index.native.js.map +1 -1
  127. package/build-module/mobile/link-picker/index.native.js +8 -50
  128. package/build-module/mobile/link-picker/index.native.js.map +1 -1
  129. package/build-module/mobile/link-settings/index.native.js +0 -10
  130. package/build-module/mobile/link-settings/index.native.js.map +1 -1
  131. package/build-module/modal/aria-helper.js +0 -2
  132. package/build-module/modal/aria-helper.js.map +1 -1
  133. package/build-module/modal/index.js +8 -15
  134. package/build-module/modal/index.js.map +1 -1
  135. package/build-module/palette-edit/index.js +30 -27
  136. package/build-module/palette-edit/index.js.map +1 -1
  137. package/build-module/select-control/styles/select-control-styles.js +9 -33
  138. package/build-module/select-control/styles/select-control-styles.js.map +1 -1
  139. package/build-module/style-provider/index.js +0 -1
  140. package/build-module/style-provider/index.js.map +1 -1
  141. package/build-module/toggle-group-control/toggle-group-control/component.js +3 -8
  142. package/build-module/toggle-group-control/toggle-group-control/component.js.map +1 -1
  143. package/build-module/toggle-group-control/toggle-group-control/toggle-group-control-backdrop.js +14 -25
  144. package/build-module/toggle-group-control/toggle-group-control/toggle-group-control-backdrop.js.map +1 -1
  145. package/build-module/tools-panel/styles.js +11 -12
  146. package/build-module/tools-panel/styles.js.map +1 -1
  147. package/build-module/tools-panel/tools-panel/component.js +8 -5
  148. package/build-module/tools-panel/tools-panel/component.js.map +1 -1
  149. package/build-module/tools-panel/tools-panel-item/hook.js +8 -6
  150. package/build-module/tools-panel/tools-panel-item/hook.js.map +1 -1
  151. package/build-module/unit-control/styles/unit-control-styles.js +41 -23
  152. package/build-module/unit-control/styles/unit-control-styles.js.map +1 -1
  153. package/build-module/z-stack/component.js.map +1 -1
  154. package/build-module/z-stack/styles.js +8 -13
  155. package/build-module/z-stack/styles.js.map +1 -1
  156. package/build-style/style-rtl.css +11 -23
  157. package/build-style/style.css +11 -23
  158. package/build-types/base-field/hook.d.ts +16 -16
  159. package/build-types/card/card/hook.d.ts +16 -16
  160. package/build-types/card/card-body/hook.d.ts +16 -16
  161. package/build-types/card/card-divider/hook.d.ts +18 -18
  162. package/build-types/card/card-footer/hook.d.ts +17 -17
  163. package/build-types/card/card-header/hook.d.ts +16 -16
  164. package/build-types/card/card-media/hook.d.ts +16 -16
  165. package/build-types/divider/component.d.ts +7 -8
  166. package/build-types/divider/component.d.ts.map +1 -1
  167. package/build-types/divider/styles.d.ts +2 -2
  168. package/build-types/divider/styles.d.ts.map +1 -1
  169. package/build-types/divider/types.d.ts +5 -5
  170. package/build-types/divider/types.d.ts.map +1 -1
  171. package/build-types/elevation/hook.d.ts +15 -15
  172. package/build-types/flex/flex/hook.d.ts +16 -16
  173. package/build-types/flex/flex-block/hook.d.ts +16 -16
  174. package/build-types/flex/flex-item/hook.d.ts +16 -16
  175. package/build-types/flyout/flyout/hook.d.ts +17 -17
  176. package/build-types/flyout/styles.d.ts +9 -7
  177. package/build-types/flyout/styles.d.ts.map +1 -1
  178. package/build-types/grid/hook.d.ts +16 -16
  179. package/build-types/h-stack/hook.d.ts +16 -16
  180. package/build-types/heading/hook.d.ts +16 -16
  181. package/build-types/input-control/index.d.ts +1 -1
  182. package/build-types/input-control/index.d.ts.map +1 -1
  183. package/build-types/input-control/input-field.d.ts +1 -1
  184. package/build-types/input-control/input-field.d.ts.map +1 -1
  185. package/build-types/input-control/styles/input-control-styles.d.ts +2 -1
  186. package/build-types/input-control/styles/input-control-styles.d.ts.map +1 -1
  187. package/build-types/input-control/types.d.ts +1 -2
  188. package/build-types/input-control/types.d.ts.map +1 -1
  189. package/build-types/item-group/item/hook.d.ts +16 -16
  190. package/build-types/item-group/item-group/hook.d.ts +16 -16
  191. package/build-types/number-control/styles/number-control-styles.d.ts +1 -1
  192. package/build-types/scrollable/hook.d.ts +16 -16
  193. package/build-types/select-control/styles/select-control-styles.d.ts.map +1 -1
  194. package/build-types/select-control/types.d.ts +1 -1
  195. package/build-types/select-control/types.d.ts.map +1 -1
  196. package/build-types/spacer/hook.d.ts +16 -16
  197. package/build-types/surface/hook.d.ts +16 -16
  198. package/build-types/text/hook.d.ts +16 -16
  199. package/build-types/toggle-group-control/toggle-group-control/component.d.ts.map +1 -1
  200. package/build-types/toggle-group-control/toggle-group-control/toggle-group-control-backdrop.d.ts.map +1 -1
  201. package/build-types/tools-panel/styles.d.ts.map +1 -1
  202. package/build-types/tools-panel/tools-panel/component.d.ts.map +1 -1
  203. package/build-types/tools-panel/tools-panel/hook.d.ts +16 -16
  204. package/build-types/tools-panel/tools-panel-header/hook.d.ts +16 -16
  205. package/build-types/tools-panel/tools-panel-item/hook.d.ts +16 -16
  206. package/build-types/tools-panel/tools-panel-item/hook.d.ts.map +1 -1
  207. package/build-types/truncate/hook.d.ts +16 -16
  208. package/build-types/ui/control-group/hook.d.ts +18 -18
  209. package/build-types/ui/control-label/hook.d.ts +16 -16
  210. package/build-types/ui/form-group/form-group.d.ts +4 -4
  211. package/build-types/ui/form-group/use-form-group.d.ts +55 -55
  212. package/build-types/unit-control/index.d.ts +1 -1
  213. package/build-types/unit-control/index.d.ts.map +1 -1
  214. package/build-types/unit-control/styles/unit-control-styles.d.ts +0 -1
  215. package/build-types/unit-control/styles/unit-control-styles.d.ts.map +1 -1
  216. package/build-types/unit-control/types.d.ts +2 -2
  217. package/build-types/unit-control/types.d.ts.map +1 -1
  218. package/build-types/v-stack/hook.d.ts +16 -16
  219. package/build-types/z-stack/component.d.ts +1 -1
  220. package/build-types/z-stack/styles.d.ts.map +1 -1
  221. package/package.json +23 -21
  222. package/src/alignment-matrix-control/stories/index.js +1 -1
  223. package/src/angle-picker-control/index.js +0 -2
  224. package/src/base-control/stories/index.js +1 -1
  225. package/src/button/index.native.js +1 -15
  226. package/src/button/stories/index.js +1 -1
  227. package/src/button/style.scss +0 -14
  228. package/src/card/card/README.md +3 -3
  229. package/src/card/stories/index.js +1 -1
  230. package/src/card/test/__snapshots__/index.js.snap +6 -6
  231. package/src/checkbox-control/index.js +1 -1
  232. package/src/checkbox-control/stories/index.js +1 -1
  233. package/src/clipboard-button/index.js +2 -1
  234. package/src/color-indicator/stories/index.js +1 -1
  235. package/src/color-indicator/style.scss +8 -5
  236. package/src/color-palette/index.js +5 -13
  237. package/src/color-palette/stories/index.js +1 -1
  238. package/src/color-palette/test/__snapshots__/index.js.snap +0 -1
  239. package/src/color-picker/color-display.tsx +2 -3
  240. package/src/color-picker/hex-input.tsx +1 -2
  241. package/src/color-picker/input-with-slider.tsx +1 -2
  242. package/src/color-picker/stories/index.js +1 -1
  243. package/src/combobox-control/README.md +2 -2
  244. package/src/custom-gradient-picker/index.js +0 -1
  245. package/src/custom-gradient-picker/style.scss +4 -0
  246. package/src/date-time/README.md +0 -7
  247. package/src/date-time/date.js +84 -67
  248. package/src/date-time/stories/index.js +1 -1
  249. package/src/date-time/stories/time.js +1 -1
  250. package/src/date-time/test/date.js +29 -3
  251. package/src/dimension-control/README.md +1 -1
  252. package/src/divider/README.md +5 -33
  253. package/src/divider/component.tsx +7 -8
  254. package/src/divider/stories/index.js +17 -43
  255. package/src/divider/styles.ts +16 -53
  256. package/src/divider/test/__snapshots__/index.js.snap +11 -11
  257. package/src/divider/test/index.js +4 -4
  258. package/src/divider/types.ts +5 -5
  259. package/src/drop-zone/index.js +6 -14
  260. package/src/drop-zone/provider.js +0 -1
  261. package/src/dropdown-menu/stories/index.js +1 -1
  262. package/src/duotone-picker/README.md +1 -1
  263. package/src/elevation/stories/index.js +1 -1
  264. package/src/external-link/stories/index.js +1 -1
  265. package/src/flyout/styles.ts +2 -4
  266. package/src/focusable-iframe/index.js +0 -1
  267. package/src/font-size-picker/stories/index.js +1 -1
  268. package/src/form-token-field/stories/index.js +1 -1
  269. package/src/gradient-picker/stories/index.js +1 -1
  270. package/src/grid/stories/index.js +1 -1
  271. package/src/guide/stories/index.js +1 -1
  272. package/src/higher-order/with-focus-outside/index.js +0 -2
  273. package/src/icon/stories/index.js +1 -1
  274. package/src/index.js +0 -1
  275. package/src/input-control/stories/index.js +1 -2
  276. package/src/input-control/styles/input-control-styles.tsx +6 -16
  277. package/src/input-control/types.ts +1 -3
  278. package/src/item-group/stories/index.js +2 -84
  279. package/src/menu-item/README.md +2 -2
  280. package/src/mobile/bottom-sheet/link-suggestion-item-cell.native.js +2 -6
  281. package/src/mobile/color-settings/index.native.js +0 -2
  282. package/src/mobile/color-settings/palette.screen.native.js +5 -8
  283. package/src/mobile/color-settings/style.native.scss +1 -1
  284. package/src/mobile/global-styles-context/utils.native.js +1 -1
  285. package/src/mobile/gridicons/index.native.js +3 -3
  286. package/src/mobile/inserter-button/style.native.scss +0 -1
  287. package/src/mobile/link-picker/index.native.js +7 -41
  288. package/src/mobile/link-settings/index.native.js +0 -11
  289. package/src/modal/README.md +0 -10
  290. package/src/modal/aria-helper.js +0 -2
  291. package/src/modal/index.js +55 -72
  292. package/src/modal/stories/index.js +1 -6
  293. package/src/modal/style.scss +0 -9
  294. package/src/modal/test/index.js +0 -11
  295. package/src/navigation/README.md +9 -0
  296. package/src/notice/stories/index.js +1 -1
  297. package/src/number-control/stories/index.js +1 -1
  298. package/src/palette-edit/index.js +106 -73
  299. package/src/panel/stories/index.js +1 -1
  300. package/src/placeholder/stories/index.js +1 -1
  301. package/src/popover/stories/index.js +1 -1
  302. package/src/query-controls/README.md +6 -138
  303. package/src/radio-group/README.md +1 -4
  304. package/src/range-control/stories/index.js +1 -1
  305. package/src/resizable-box/stories/index.js +1 -1
  306. package/src/scrollable/stories/index.js +1 -1
  307. package/src/search-control/stories/index.js +1 -1
  308. package/src/select-control/stories/index.js +1 -2
  309. package/src/select-control/styles/select-control-styles.ts +2 -25
  310. package/src/select-control/types.ts +1 -1
  311. package/src/slot-fill/stories/index.js +1 -1
  312. package/src/snackbar/stories/index.js +1 -1
  313. package/src/spacer/stories/index.js +1 -1
  314. package/src/style-provider/index.js +0 -2
  315. package/src/surface/stories/index.js +1 -1
  316. package/src/tab-panel/stories/index.js +1 -1
  317. package/src/text-control/stories/index.js +1 -1
  318. package/src/text-highlight/stories/index.js +1 -1
  319. package/src/textarea-control/stories/index.js +1 -1
  320. package/src/tip/stories/index.js +1 -1
  321. package/src/toggle-control/stories/index.js +1 -1
  322. package/src/toggle-group-control/stories/index.js +1 -1
  323. package/src/toggle-group-control/toggle-group-control/component.tsx +2 -7
  324. package/src/toggle-group-control/toggle-group-control/toggle-group-control-backdrop.tsx +9 -24
  325. package/src/toolbar-button/stories/index.js +1 -1
  326. package/src/tools-panel/stories/index.js +0 -54
  327. package/src/tools-panel/styles.ts +1 -41
  328. package/src/tools-panel/test/index.js +137 -19
  329. package/src/tools-panel/tools-panel/README.md +3 -11
  330. package/src/tools-panel/tools-panel/component.tsx +5 -2
  331. package/src/tools-panel/tools-panel-item/hook.ts +14 -6
  332. package/src/tooltip/stories/index.js +1 -1
  333. package/src/tree-select/stories/index.js +1 -1
  334. package/src/truncate/stories/index.js +1 -1
  335. package/src/unit-control/stories/index.js +1 -19
  336. package/src/unit-control/styles/unit-control-styles.ts +46 -33
  337. package/src/unit-control/types.ts +2 -5
  338. package/src/z-stack/README.md +1 -1
  339. package/src/z-stack/component.tsx +1 -1
  340. package/src/z-stack/stories/index.js +1 -1
  341. package/src/z-stack/styles.ts +2 -7
  342. package/tsconfig.json +2 -6
  343. package/tsconfig.tsbuildinfo +1 -1
  344. package/build/confirm-dialog/component.js +0 -103
  345. package/build/confirm-dialog/component.js.map +0 -1
  346. package/build/confirm-dialog/index.js +0 -16
  347. package/build/confirm-dialog/index.js.map +0 -1
  348. package/build/confirm-dialog/types.js +0 -6
  349. package/build/confirm-dialog/types.js.map +0 -1
  350. package/build/date-time/utils.js +0 -32
  351. package/build/date-time/utils.js.map +0 -1
  352. package/build-module/confirm-dialog/component.js +0 -84
  353. package/build-module/confirm-dialog/component.js.map +0 -1
  354. package/build-module/confirm-dialog/index.js +0 -6
  355. package/build-module/confirm-dialog/index.js.map +0 -1
  356. package/build-module/confirm-dialog/types.js +0 -2
  357. package/build-module/confirm-dialog/types.js.map +0 -1
  358. package/build-module/date-time/utils.js +0 -20
  359. package/build-module/date-time/utils.js.map +0 -1
  360. package/src/confirm-dialog/README.md +0 -128
  361. package/src/confirm-dialog/component.tsx +0 -114
  362. package/src/confirm-dialog/index.tsx +0 -6
  363. package/src/confirm-dialog/stories/index.js +0 -120
  364. package/src/confirm-dialog/test/index.js +0 -302
  365. package/src/confirm-dialog/types.ts +0 -26
  366. package/src/date-time/test/utils.js +0 -32
  367. package/src/date-time/utils.js +0 -18
  368. package/src/mobile/link-settings/test/edit.native.js +0 -432
@@ -4,7 +4,7 @@
4
4
  export function useFormGroup(props: import('../context').WordPressComponentProps<import('./types').FormGroupProps, 'div'>): {
5
5
  className: string;
6
6
  contentProps: {
7
- alignLabel: import("csstype").Property.TextAlign;
7
+ alignLabel: import("react/node_modules/csstype").Property.TextAlign;
8
8
  children: import("react").ReactNode;
9
9
  help: import("react").ReactNode;
10
10
  id: string | number;
@@ -14,88 +14,88 @@ export function useFormGroup(props: import('../context').WordPressComponentProps
14
14
  truncate: boolean;
15
15
  };
16
16
  horizontal: boolean;
17
- align?: (import("csstype").Property.TextAlign & import("csstype").Property.AlignItems) | undefined;
17
+ align?: (import("react/node_modules/csstype").Property.TextAlign & import("react/node_modules/csstype").Property.AlignItems) | undefined;
18
18
  adjustLineHeightForInnerControls?: (boolean | "small" | "medium" | "large" | "xSmall") | undefined;
19
- color?: import("csstype").Property.Color | undefined;
20
- display?: import("csstype").Property.Display | undefined;
19
+ color?: import("react/node_modules/csstype").Property.Color | undefined;
20
+ display?: import("react/node_modules/csstype").Property.Display | undefined;
21
21
  isDestructive?: boolean | undefined;
22
22
  highlightEscape?: boolean | undefined;
23
23
  highlightCaseSensitive?: boolean | undefined;
24
24
  highlightSanitize?: ((text: string) => string) | undefined;
25
25
  isBlock?: boolean | undefined;
26
- lineHeight?: import("csstype").Property.LineHeight<string | number> | undefined;
27
- optimizeReadabilityFor?: import("csstype").Property.Color | undefined;
26
+ lineHeight?: import("react/node_modules/csstype").Property.LineHeight<string | number> | undefined;
27
+ optimizeReadabilityFor?: import("react/node_modules/csstype").Property.Color | undefined;
28
28
  size?: ((string | number | (string & {})) & ("small" | "medium" | "large")) | undefined;
29
29
  upperCase?: boolean | undefined;
30
30
  variant?: "muted" | undefined;
31
- weight?: import("csstype").Property.FontWeight | (900 | 700 | 300 | 200 | 400 | 500 | 100 | 600 | 800) | undefined;
32
- letterSpacing?: import("csstype").Property.LetterSpacing<string | number> | undefined;
31
+ weight?: import("react/node_modules/csstype").Property.FontWeight | (900 | 700 | 300 | 200 | 400 | 500 | 100 | 600 | 800) | undefined;
32
+ letterSpacing?: import("react/node_modules/csstype").Property.LetterSpacing<string | number> | undefined;
33
33
  highlightWords?: string[] | undefined;
34
34
  ellipsis?: string | undefined;
35
35
  ellipsizeMode?: import("../../truncate/types").TruncateEllisizeMode | undefined;
36
36
  limit?: number | undefined;
37
37
  numberOfLines?: number | undefined;
38
- spacing?: import("csstype").Property.Width<string | number> | undefined;
38
+ spacing?: import("react/node_modules/csstype").Property.Width<string | number> | undefined;
39
39
  alignment?: ("top" | "bottom" | "left" | "right" | "center" | "stretch" | "bottomLeft" | "bottomRight" | "spaced" | "topLeft" | "topRight") | undefined;
40
40
  columns?: (number | (number | undefined)[]) | undefined;
41
- columnGap?: import("csstype").Property.GridColumnGap<string | number> | undefined;
41
+ columnGap?: import("react/node_modules/csstype").Property.GridColumnGap<string | number> | undefined;
42
42
  isInline?: boolean | undefined;
43
43
  gap?: number | undefined;
44
- justify?: import("csstype").Property.JustifyContent | undefined;
45
- rowGap?: import("csstype").Property.GridRowGap<string | number> | undefined;
44
+ justify?: import("react/node_modules/csstype").Property.JustifyContent | undefined;
45
+ rowGap?: import("react/node_modules/csstype").Property.GridRowGap<string | number> | undefined;
46
46
  rows?: (number | (number | undefined)[]) | undefined;
47
- templateColumns?: import("csstype").Property.GridTemplateColumns<string | number> | undefined;
48
- templateRows?: import("csstype").Property.GridTemplateRows<string | number> | undefined;
47
+ templateColumns?: import("react/node_modules/csstype").Property.GridTemplateColumns<string | number> | undefined;
48
+ templateRows?: import("react/node_modules/csstype").Property.GridTemplateRows<string | number> | undefined;
49
49
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
50
50
  slot?: string | undefined;
51
51
  style?: import("react").CSSProperties | undefined;
52
52
  title?: string | undefined;
53
53
  key?: import("react").Key | null | undefined;
54
54
  lang?: string | undefined;
55
- role?: import("react").AriaRole | undefined;
55
+ role?: string | undefined;
56
56
  tabIndex?: number | undefined;
57
57
  'aria-activedescendant'?: string | undefined;
58
- 'aria-atomic'?: (boolean | "true" | "false") | undefined;
59
- 'aria-autocomplete'?: "list" | "none" | "both" | "inline" | undefined;
60
- 'aria-busy'?: (boolean | "true" | "false") | undefined;
58
+ 'aria-atomic'?: boolean | "true" | "false" | undefined;
59
+ 'aria-autocomplete'?: "none" | "list" | "both" | "inline" | undefined;
60
+ 'aria-busy'?: boolean | "true" | "false" | undefined;
61
61
  'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
62
62
  'aria-colcount'?: number | undefined;
63
63
  'aria-colindex'?: number | undefined;
64
64
  'aria-colspan'?: number | undefined;
65
65
  'aria-controls'?: string | undefined;
66
- 'aria-current'?: boolean | "time" | "true" | "false" | "step" | "date" | "page" | "location" | undefined;
66
+ 'aria-current'?: boolean | "time" | "true" | "false" | "step" | "page" | "location" | "date" | undefined;
67
67
  'aria-describedby'?: string | undefined;
68
68
  'aria-details'?: string | undefined;
69
- 'aria-disabled'?: (boolean | "true" | "false") | undefined;
69
+ 'aria-disabled'?: boolean | "true" | "false" | undefined;
70
70
  'aria-dropeffect'?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
71
71
  'aria-errormessage'?: string | undefined;
72
- 'aria-expanded'?: (boolean | "true" | "false") | undefined;
72
+ 'aria-expanded'?: boolean | "true" | "false" | undefined;
73
73
  'aria-flowto'?: string | undefined;
74
- 'aria-grabbed'?: (boolean | "true" | "false") | undefined;
75
- 'aria-haspopup'?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "true" | "false" | undefined;
76
- 'aria-hidden'?: (boolean | "true" | "false") | undefined;
74
+ 'aria-grabbed'?: boolean | "true" | "false" | undefined;
75
+ 'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
76
+ 'aria-hidden'?: boolean | "true" | "false" | undefined;
77
77
  'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
78
78
  'aria-keyshortcuts'?: string | undefined;
79
79
  'aria-label'?: string | undefined;
80
80
  'aria-labelledby'?: string | undefined;
81
81
  'aria-level'?: number | undefined;
82
82
  'aria-live'?: "off" | "assertive" | "polite" | undefined;
83
- 'aria-modal'?: (boolean | "true" | "false") | undefined;
84
- 'aria-multiline'?: (boolean | "true" | "false") | undefined;
85
- 'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
83
+ 'aria-modal'?: boolean | "true" | "false" | undefined;
84
+ 'aria-multiline'?: boolean | "true" | "false" | undefined;
85
+ 'aria-multiselectable'?: boolean | "true" | "false" | undefined;
86
86
  'aria-orientation'?: "horizontal" | "vertical" | undefined;
87
87
  'aria-owns'?: string | undefined;
88
88
  'aria-placeholder'?: string | undefined;
89
89
  'aria-posinset'?: number | undefined;
90
90
  'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
91
- 'aria-readonly'?: (boolean | "true" | "false") | undefined;
91
+ 'aria-readonly'?: boolean | "true" | "false" | undefined;
92
92
  'aria-relevant'?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
93
- 'aria-required'?: (boolean | "true" | "false") | undefined;
93
+ 'aria-required'?: boolean | "true" | "false" | undefined;
94
94
  'aria-roledescription'?: string | undefined;
95
95
  'aria-rowcount'?: number | undefined;
96
96
  'aria-rowindex'?: number | undefined;
97
97
  'aria-rowspan'?: number | undefined;
98
- 'aria-selected'?: (boolean | "true" | "false") | undefined;
98
+ 'aria-selected'?: boolean | "true" | "false" | undefined;
99
99
  'aria-setsize'?: number | undefined;
100
100
  'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
101
101
  'aria-valuemax'?: number | undefined;
@@ -304,7 +304,7 @@ export function useFormGroup(props: import('../context').WordPressComponentProps
304
304
  } | {
305
305
  className: string;
306
306
  contentProps: {
307
- alignLabel: import("csstype").Property.TextAlign;
307
+ alignLabel: import("react/node_modules/csstype").Property.TextAlign;
308
308
  children: import("react").ReactNode;
309
309
  help: import("react").ReactNode;
310
310
  id: string | number;
@@ -314,78 +314,78 @@ export function useFormGroup(props: import('../context').WordPressComponentProps
314
314
  truncate: boolean;
315
315
  };
316
316
  horizontal: boolean;
317
- align?: import("csstype").Property.TextAlign | undefined;
317
+ align?: import("react/node_modules/csstype").Property.TextAlign | undefined;
318
318
  adjustLineHeightForInnerControls?: (boolean | "small" | "medium" | "large" | "xSmall") | undefined;
319
- color?: import("csstype").Property.Color | undefined;
320
- display?: import("csstype").Property.Display | undefined;
319
+ color?: import("react/node_modules/csstype").Property.Color | undefined;
320
+ display?: import("react/node_modules/csstype").Property.Display | undefined;
321
321
  isDestructive?: boolean | undefined;
322
322
  highlightEscape?: boolean | undefined;
323
323
  highlightCaseSensitive?: boolean | undefined;
324
324
  highlightSanitize?: ((text: string) => string) | undefined;
325
325
  isBlock?: boolean | undefined;
326
- lineHeight?: import("csstype").Property.LineHeight<string | number> | undefined;
327
- optimizeReadabilityFor?: import("csstype").Property.Color | undefined;
326
+ lineHeight?: import("react/node_modules/csstype").Property.LineHeight<string | number> | undefined;
327
+ optimizeReadabilityFor?: import("react/node_modules/csstype").Property.Color | undefined;
328
328
  size?: ((string | number | (string & {})) & ("small" | "medium" | "large")) | undefined;
329
329
  upperCase?: boolean | undefined;
330
330
  variant?: "muted" | undefined;
331
- weight?: import("csstype").Property.FontWeight | (900 | 700 | 300 | 200 | 400 | 500 | 100 | 600 | 800) | undefined;
332
- letterSpacing?: import("csstype").Property.LetterSpacing<string | number> | undefined;
331
+ weight?: import("react/node_modules/csstype").Property.FontWeight | (900 | 700 | 300 | 200 | 400 | 500 | 100 | 600 | 800) | undefined;
332
+ letterSpacing?: import("react/node_modules/csstype").Property.LetterSpacing<string | number> | undefined;
333
333
  highlightWords?: string[] | undefined;
334
334
  ellipsis?: string | undefined;
335
335
  ellipsizeMode?: import("../../truncate/types").TruncateEllisizeMode | undefined;
336
336
  limit?: number | undefined;
337
337
  numberOfLines?: number | undefined;
338
- spacing?: import("csstype").Property.Width<string | number> | undefined;
338
+ spacing?: import("react/node_modules/csstype").Property.Width<string | number> | undefined;
339
339
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
340
340
  slot?: string | undefined;
341
341
  style?: import("react").CSSProperties | undefined;
342
342
  title?: string | undefined;
343
343
  key?: import("react").Key | null | undefined;
344
344
  lang?: string | undefined;
345
- role?: import("react").AriaRole | undefined;
345
+ role?: string | undefined;
346
346
  tabIndex?: number | undefined;
347
347
  'aria-activedescendant'?: string | undefined;
348
- 'aria-atomic'?: (boolean | "true" | "false") | undefined;
349
- 'aria-autocomplete'?: "list" | "none" | "both" | "inline" | undefined;
350
- 'aria-busy'?: (boolean | "true" | "false") | undefined;
348
+ 'aria-atomic'?: boolean | "true" | "false" | undefined;
349
+ 'aria-autocomplete'?: "none" | "list" | "both" | "inline" | undefined;
350
+ 'aria-busy'?: boolean | "true" | "false" | undefined;
351
351
  'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
352
352
  'aria-colcount'?: number | undefined;
353
353
  'aria-colindex'?: number | undefined;
354
354
  'aria-colspan'?: number | undefined;
355
355
  'aria-controls'?: string | undefined;
356
- 'aria-current'?: boolean | "time" | "true" | "false" | "step" | "date" | "page" | "location" | undefined;
356
+ 'aria-current'?: boolean | "time" | "true" | "false" | "step" | "page" | "location" | "date" | undefined;
357
357
  'aria-describedby'?: string | undefined;
358
358
  'aria-details'?: string | undefined;
359
- 'aria-disabled'?: (boolean | "true" | "false") | undefined;
359
+ 'aria-disabled'?: boolean | "true" | "false" | undefined;
360
360
  'aria-dropeffect'?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
361
361
  'aria-errormessage'?: string | undefined;
362
- 'aria-expanded'?: (boolean | "true" | "false") | undefined;
362
+ 'aria-expanded'?: boolean | "true" | "false" | undefined;
363
363
  'aria-flowto'?: string | undefined;
364
- 'aria-grabbed'?: (boolean | "true" | "false") | undefined;
365
- 'aria-haspopup'?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "true" | "false" | undefined;
366
- 'aria-hidden'?: (boolean | "true" | "false") | undefined;
364
+ 'aria-grabbed'?: boolean | "true" | "false" | undefined;
365
+ 'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
366
+ 'aria-hidden'?: boolean | "true" | "false" | undefined;
367
367
  'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
368
368
  'aria-keyshortcuts'?: string | undefined;
369
369
  'aria-label'?: string | undefined;
370
370
  'aria-labelledby'?: string | undefined;
371
371
  'aria-level'?: number | undefined;
372
372
  'aria-live'?: "off" | "assertive" | "polite" | undefined;
373
- 'aria-modal'?: (boolean | "true" | "false") | undefined;
374
- 'aria-multiline'?: (boolean | "true" | "false") | undefined;
375
- 'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
373
+ 'aria-modal'?: boolean | "true" | "false" | undefined;
374
+ 'aria-multiline'?: boolean | "true" | "false" | undefined;
375
+ 'aria-multiselectable'?: boolean | "true" | "false" | undefined;
376
376
  'aria-orientation'?: "horizontal" | "vertical" | undefined;
377
377
  'aria-owns'?: string | undefined;
378
378
  'aria-placeholder'?: string | undefined;
379
379
  'aria-posinset'?: number | undefined;
380
380
  'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
381
- 'aria-readonly'?: (boolean | "true" | "false") | undefined;
381
+ 'aria-readonly'?: boolean | "true" | "false" | undefined;
382
382
  'aria-relevant'?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
383
- 'aria-required'?: (boolean | "true" | "false") | undefined;
383
+ 'aria-required'?: boolean | "true" | "false" | undefined;
384
384
  'aria-roledescription'?: string | undefined;
385
385
  'aria-rowcount'?: number | undefined;
386
386
  'aria-rowindex'?: number | undefined;
387
387
  'aria-rowspan'?: number | undefined;
388
- 'aria-selected'?: (boolean | "true" | "false") | undefined;
388
+ 'aria-selected'?: boolean | "true" | "false" | undefined;
389
389
  'aria-setsize'?: number | undefined;
390
390
  'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
391
391
  'aria-valuemax'?: number | undefined;
@@ -29,7 +29,7 @@ declare const ForwardedUnitControl: import("react").ForwardRefExoticComponent<Pi
29
29
  ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
30
30
  }, "children" | "value" | "label" | "as" | "isPressEnterToChange" | "__unstableStateReducer" | "disableUnits" | keyof import("./types").UnitSelectControlProps | "isResetValueOnUnitChange" | "onUnitChange"> & {
31
31
  as?: undefined;
32
- }, "type" | "value" | "form" | "label" | "slot" | "style" | "title" | "pattern" | "as" | "key" | "className" | "color" | "height" | "id" | "lang" | "max" | "min" | "name" | "width" | "role" | "tabIndex" | "crossOrigin" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "list" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "alt" | "src" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "autoComplete" | "accept" | "capture" | "checked" | "enterKeyHint" | "maxLength" | "minLength" | "multiple" | "readOnly" | "required" | "step" | "isPressEnterToChange" | "__unstableStateReducer" | "disableUnits" | keyof import("./types").UnitSelectControlProps | "isResetValueOnUnitChange" | "onUnitChange"> & import("react").RefAttributes<any>>;
32
+ }, "type" | "value" | "form" | "label" | "slot" | "style" | "title" | "pattern" | "as" | "key" | "className" | "color" | "height" | "id" | "lang" | "max" | "min" | "name" | "width" | "role" | "tabIndex" | "crossOrigin" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "alt" | "src" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "autoComplete" | "accept" | "capture" | "checked" | "list" | "maxLength" | "minLength" | "multiple" | "readOnly" | "required" | "step" | "isPressEnterToChange" | "__unstableStateReducer" | "disableUnits" | keyof import("./types").UnitSelectControlProps | "isResetValueOnUnitChange" | "onUnitChange"> & import("react").RefAttributes<any>>;
33
33
  export { parseUnit, useCustomUnits } from './utils';
34
34
  export default ForwardedUnitControl;
35
35
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/unit-control/index.tsx"],"names":[],"mappings":";AAmCA,OAAO,KAAK,EAAoB,2BAA2B,EAAE,MAAM,SAAS,CAAC;AAC7E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AA+LnE;;;;;;;;;;;;;;;GAeG;AACH,QAAA,MAAM,oBAAoB;;;;;;;;;;;;ojKAA4B,CAAC;AAEvD,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AACpD,eAAe,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/unit-control/index.tsx"],"names":[],"mappings":";AAmCA,OAAO,KAAK,EAAoB,2BAA2B,EAAE,MAAM,SAAS,CAAC;AAC7E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AA+LnE;;;;;;;;;;;;;;;GAeG;AACH,QAAA,MAAM,oBAAoB;;;;;;;;;;;;miKAA4B,CAAC;AAEvD,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AACpD,eAAe,oBAAoB,CAAC"}
@@ -5,7 +5,6 @@ declare type SelectProps = {
5
5
  };
6
6
  declare type InputProps = {
7
7
  disableUnits?: boolean;
8
- size: SelectSize;
9
8
  };
10
9
  export declare const Root: import("@emotion/styled").StyledComponent<{
11
10
  theme?: import("@emotion/react").Theme | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"unit-control-styles.d.ts","sourceRoot":"","sources":["../../../src/unit-control/styles/unit-control-styles.ts"],"names":[],"mappings":";AAUA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAI3C,aAAK,WAAW,GAAG;IAClB,UAAU,EAAE,UAAU,CAAC;CACvB,CAAC;AAEF,aAAK,UAAU,GAAG;IACjB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,IAAI,EAAE,UAAU,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,IAAI;;;yGAGhB,CAAC;AAmCF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;uBAYtB,CAAC;AAqBF,eAAO,MAAM,SAAS;;;uHAMrB,CAAC;AAEF,eAAO,MAAM,UAAU;;;mIAyBtB,CAAC"}
1
+ {"version":3,"file":"unit-control-styles.d.ts","sourceRoot":"","sources":["../../../src/unit-control/styles/unit-control-styles.ts"],"names":[],"mappings":";AAUA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAI3C,aAAK,WAAW,GAAG;IAClB,UAAU,EAAE,UAAU,CAAC;CACvB,CAAC;AAEF,aAAK,UAAU,GAAG;IACjB,YAAY,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,IAAI;;;yGAGhB,CAAC;AAyBF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;uBAYtB,CAAC;AA8CF,eAAO,MAAM,SAAS;;;uHAMrB,CAAC;AAEF,eAAO,MAAM,UAAU;;;mIAwBtB,CAAC"}
@@ -6,9 +6,9 @@ import type { SyntheticEvent } from 'react';
6
6
  * Internal dependencies
7
7
  */
8
8
  import type { StateReducer } from '../input-control/reducer/state';
9
- import type { InputChangeCallback, Size as InputSize } from '../input-control/types';
9
+ import type { InputChangeCallback } from '../input-control/types';
10
10
  export declare type Value = number | string;
11
- export declare type SelectSize = InputSize;
11
+ export declare type SelectSize = 'default' | 'small';
12
12
  export declare type WPUnitControlUnit = {
13
13
  /**
14
14
  * The value for the unit, used in a CSS value (e.g `px`).
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/unit-control/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C;;GAEG;AACH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,KAAK,EACX,mBAAmB,EACnB,IAAI,IAAI,SAAS,EACjB,MAAM,wBAAwB,CAAC;AAEhC,oBAAY,KAAK,GAAG,MAAM,GAAG,MAAM,CAAC;AAEpC,oBAAY,UAAU,GAAG,SAAS,CAAC;AAEnC,oBAAY,iBAAiB,GAAG;IAC/B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC;IAChB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,oBAAY,qBAAqB,GAAG,KAAK,CAAE,iBAAiB,CAAE,GAAG,KAAK,CAAC;AAEvE,oBAAY,2BAA2B,GAAG,mBAAmB,CAC5D,cAAc,CAAE,iBAAiB,GAAG,gBAAgB,CAAE,EACtD;IAAE,IAAI,CAAC,EAAE,iBAAiB,CAAA;CAAE,CAC5B,CAAC;AAEF,oBAAY,sBAAsB,GAAG;IACpC;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,2BAA2B,CAAC;IACvC;;;;OAIG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,KAAK,CAAC,EAAE,qBAAqB,CAAC;CAC9B,CAAC;AAEF,oBAAY,gBAAgB,GAAG,sBAAsB,GAAG;IACvD,sBAAsB,CAAC,EAAE,YAAY,CAAC;IACtC;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;;;OAKG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B;;;;;OAKG;IACH,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,YAAY,CAAC,EAAE,2BAA2B,CAAC;IAC3C;;;OAGG;IACH,KAAK,EAAE,KAAK,CAAC;CACb,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/unit-control/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C;;GAEG;AACH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAElE,oBAAY,KAAK,GAAG,MAAM,GAAG,MAAM,CAAC;AAEpC,oBAAY,UAAU,GAAG,SAAS,GAAG,OAAO,CAAC;AAE7C,oBAAY,iBAAiB,GAAG;IAC/B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC;IAChB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,oBAAY,qBAAqB,GAAG,KAAK,CAAE,iBAAiB,CAAE,GAAG,KAAK,CAAC;AAEvE,oBAAY,2BAA2B,GAAG,mBAAmB,CAC5D,cAAc,CAAE,iBAAiB,GAAG,gBAAgB,CAAE,EACtD;IAAE,IAAI,CAAC,EAAE,iBAAiB,CAAA;CAAE,CAC5B,CAAC;AAEF,oBAAY,sBAAsB,GAAG;IACpC;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,2BAA2B,CAAC;IACvC;;;;OAIG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,KAAK,CAAC,EAAE,qBAAqB,CAAC;CAC9B,CAAC;AAEF,oBAAY,gBAAgB,GAAG,sBAAsB,GAAG;IACvD,sBAAsB,CAAC,EAAE,YAAY,CAAC;IACtC;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;;;OAKG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B;;;;;OAKG;IACH,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,YAAY,CAAC,EAAE,2BAA2B,CAAC;IAC3C;;;OAGG;IACH,KAAK,EAAE,KAAK,CAAC;CACb,CAAC"}
@@ -15,50 +15,50 @@ export function useVStack(props: import('../ui/context').WordPressComponentProps
15
15
  color?: string | undefined;
16
16
  id?: string | undefined;
17
17
  lang?: string | undefined;
18
- role?: import("react").AriaRole | undefined;
18
+ role?: string | undefined;
19
19
  tabIndex?: number | undefined;
20
20
  'aria-activedescendant'?: string | undefined;
21
- 'aria-atomic'?: (boolean | "true" | "false") | undefined;
22
- 'aria-autocomplete'?: "list" | "none" | "both" | "inline" | undefined;
23
- 'aria-busy'?: (boolean | "true" | "false") | undefined;
21
+ 'aria-atomic'?: boolean | "true" | "false" | undefined;
22
+ 'aria-autocomplete'?: "none" | "list" | "both" | "inline" | undefined;
23
+ 'aria-busy'?: boolean | "true" | "false" | undefined;
24
24
  'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
25
25
  'aria-colcount'?: number | undefined;
26
26
  'aria-colindex'?: number | undefined;
27
27
  'aria-colspan'?: number | undefined;
28
28
  'aria-controls'?: string | undefined;
29
- 'aria-current'?: boolean | "time" | "true" | "false" | "step" | "date" | "page" | "location" | undefined;
29
+ 'aria-current'?: boolean | "time" | "true" | "false" | "step" | "page" | "location" | "date" | undefined;
30
30
  'aria-describedby'?: string | undefined;
31
31
  'aria-details'?: string | undefined;
32
- 'aria-disabled'?: (boolean | "true" | "false") | undefined;
32
+ 'aria-disabled'?: boolean | "true" | "false" | undefined;
33
33
  'aria-dropeffect'?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
34
34
  'aria-errormessage'?: string | undefined;
35
- 'aria-expanded'?: (boolean | "true" | "false") | undefined;
35
+ 'aria-expanded'?: boolean | "true" | "false" | undefined;
36
36
  'aria-flowto'?: string | undefined;
37
- 'aria-grabbed'?: (boolean | "true" | "false") | undefined;
38
- 'aria-haspopup'?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "true" | "false" | undefined;
39
- 'aria-hidden'?: (boolean | "true" | "false") | undefined;
37
+ 'aria-grabbed'?: boolean | "true" | "false" | undefined;
38
+ 'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
39
+ 'aria-hidden'?: boolean | "true" | "false" | undefined;
40
40
  'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
41
41
  'aria-keyshortcuts'?: string | undefined;
42
42
  'aria-label'?: string | undefined;
43
43
  'aria-labelledby'?: string | undefined;
44
44
  'aria-level'?: number | undefined;
45
45
  'aria-live'?: "off" | "assertive" | "polite" | undefined;
46
- 'aria-modal'?: (boolean | "true" | "false") | undefined;
47
- 'aria-multiline'?: (boolean | "true" | "false") | undefined;
48
- 'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
46
+ 'aria-modal'?: boolean | "true" | "false" | undefined;
47
+ 'aria-multiline'?: boolean | "true" | "false" | undefined;
48
+ 'aria-multiselectable'?: boolean | "true" | "false" | undefined;
49
49
  'aria-orientation'?: "horizontal" | "vertical" | undefined;
50
50
  'aria-owns'?: string | undefined;
51
51
  'aria-placeholder'?: string | undefined;
52
52
  'aria-posinset'?: number | undefined;
53
53
  'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
54
- 'aria-readonly'?: (boolean | "true" | "false") | undefined;
54
+ 'aria-readonly'?: boolean | "true" | "false" | undefined;
55
55
  'aria-relevant'?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
56
- 'aria-required'?: (boolean | "true" | "false") | undefined;
56
+ 'aria-required'?: boolean | "true" | "false" | undefined;
57
57
  'aria-roledescription'?: string | undefined;
58
58
  'aria-rowcount'?: number | undefined;
59
59
  'aria-rowindex'?: number | undefined;
60
60
  'aria-rowspan'?: number | undefined;
61
- 'aria-selected'?: (boolean | "true" | "false") | undefined;
61
+ 'aria-selected'?: boolean | "true" | "false" | undefined;
62
62
  'aria-setsize'?: number | undefined;
63
63
  'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
64
64
  'aria-valuemax'?: number | undefined;
@@ -16,7 +16,7 @@ export interface ZStackProps {
16
16
  */
17
17
  isReversed?: boolean;
18
18
  /**
19
- * The amount of offset between each child element. The amount of space between each child element. Defaults to `0`. Its value is automatically inverted (i.e. from positive to negative, and viceversa) when switching from LTR to RTL.
19
+ * The amount of offset between each child element.
20
20
  *
21
21
  * @default 0
22
22
  */
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/z-stack/styles.ts"],"names":[],"mappings":";AAWA,eAAO,MAAM,UAAU;;;yGAGtB,CAAC;AAEF,eAAO,MAAM,eAAe;;;;eAChB,OAAO;kBACJ,MAAM;YACZ,MAAM;yGAWd,CAAC"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/z-stack/styles.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,UAAU;;;yGAGtB,CAAC;AAEF,eAAO,MAAM,eAAe;;;;eAChB,OAAO;kBACJ,MAAM;YACZ,MAAM;yGAWd,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/components",
3
- "version": "19.2.1-next.33ec3857e2.0",
3
+ "version": "19.2.1",
4
4
  "description": "UI components for WordPress.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -30,26 +30,25 @@
30
30
  ],
31
31
  "dependencies": {
32
32
  "@babel/runtime": "^7.16.0",
33
- "@emotion/cache": "^11.7.1",
34
- "@emotion/css": "^11.7.1",
35
- "@emotion/react": "^11.7.1",
36
- "@emotion/serialize": "^1.0.2",
37
- "@emotion/styled": "^11.6.0",
33
+ "@emotion/cache": "^11.4.0",
34
+ "@emotion/css": "^11.1.3",
35
+ "@emotion/react": "^11.4.1",
36
+ "@emotion/styled": "^11.3.0",
38
37
  "@emotion/utils": "1.0.0",
39
- "@wordpress/a11y": "^3.2.5-next.33ec3857e2.0",
40
- "@wordpress/compose": "^5.0.7-next.33ec3857e2.0",
41
- "@wordpress/date": "^4.2.4-next.33ec3857e2.0",
42
- "@wordpress/deprecated": "^3.2.4-next.33ec3857e2.0",
43
- "@wordpress/dom": "^3.2.8-next.33ec3857e2.0",
44
- "@wordpress/element": "^4.0.6-next.33ec3857e2.0",
45
- "@wordpress/hooks": "^3.2.3-next.33ec3857e2.0",
46
- "@wordpress/i18n": "^4.2.5-next.33ec3857e2.0",
47
- "@wordpress/icons": "^6.1.2-next.33ec3857e2.0",
48
- "@wordpress/is-shallow-equal": "^4.2.2-next.33ec3857e2.0",
49
- "@wordpress/keycodes": "^3.2.5-next.33ec3857e2.0",
50
- "@wordpress/primitives": "^3.0.5-next.33ec3857e2.0",
51
- "@wordpress/rich-text": "^5.0.7-next.33ec3857e2.0",
52
- "@wordpress/warning": "^2.2.3-next.33ec3857e2.0",
38
+ "@wordpress/a11y": "^3.2.4",
39
+ "@wordpress/compose": "^5.0.7",
40
+ "@wordpress/date": "^4.2.3",
41
+ "@wordpress/deprecated": "^3.2.3",
42
+ "@wordpress/dom": "^3.2.7",
43
+ "@wordpress/element": "^4.0.4",
44
+ "@wordpress/hooks": "^3.2.2",
45
+ "@wordpress/i18n": "^4.2.4",
46
+ "@wordpress/icons": "^6.1.1",
47
+ "@wordpress/is-shallow-equal": "^4.2.1",
48
+ "@wordpress/keycodes": "^3.2.4",
49
+ "@wordpress/primitives": "^3.0.4",
50
+ "@wordpress/rich-text": "^5.0.8",
51
+ "@wordpress/warning": "^2.2.2",
53
52
  "classnames": "^2.3.1",
54
53
  "colord": "^2.7.0",
55
54
  "dom-scroll-into-view": "^1.2.1",
@@ -69,8 +68,11 @@
69
68
  "rememo": "^3.0.0",
70
69
  "uuid": "^8.3.0"
71
70
  },
71
+ "peerDependencies": {
72
+ "reakit-utils": "^0.15.1"
73
+ },
72
74
  "publishConfig": {
73
75
  "access": "public"
74
76
  },
75
- "gitHead": "51c7917ea7fac72953702f24d6daac87d99e7617"
77
+ "gitHead": "04883dd8275ee52245a45c8899eb720b91055c50"
76
78
  }
@@ -20,7 +20,7 @@ export default {
20
20
  title: 'Components/AlignmentMatrixControl',
21
21
  component: AlignmentMatrixControl,
22
22
  parameters: {
23
- knobs: { disable: false },
23
+ knobs: { disabled: false },
24
24
  },
25
25
  };
26
26
 
@@ -42,14 +42,12 @@ export default function AnglePickerControl( {
42
42
  max={ 360 }
43
43
  min={ 0 }
44
44
  onChange={ handleOnNumberChange }
45
- size="__unstable-large"
46
45
  step="1"
47
46
  value={ value }
48
47
  hideHTMLArrows
49
48
  suffix={
50
49
  <Spacer
51
50
  as={ Text }
52
- marginBottom={ 0 }
53
51
  marginRight={ space( 3 ) }
54
52
  style={ {
55
53
  color: 'var( --wp-admin-theme-color )',
@@ -13,7 +13,7 @@ export default {
13
13
  title: 'Components/BaseControl',
14
14
  component: BaseControl,
15
15
  parameters: {
16
- knobs: { disable: false },
16
+ knobs: { disabled: false },
17
17
  },
18
18
  };
19
19
 
@@ -93,29 +93,15 @@ export function Button( props ) {
93
93
  label,
94
94
  shortcut,
95
95
  tooltipPosition,
96
- isActiveStyle,
97
- customContainerStyles,
98
96
  } = props;
99
97
  const preferredColorScheme = usePreferredColorScheme();
100
98
 
101
99
  const isDisabled = ariaDisabled || disabled;
102
100
 
103
- const containerStyle = [
104
- styles.container,
105
- customContainerStyles && { ...customContainerStyles },
106
- ];
107
-
108
101
  const buttonViewStyle = {
109
102
  opacity: isDisabled ? 0.3 : 1,
110
103
  ...( fixedRatio && styles.fixedRatio ),
111
104
  ...( isPressed ? styles.buttonActive : styles.buttonInactive ),
112
- ...( isPressed &&
113
- isActiveStyle?.borderRadius && {
114
- borderRadius: isActiveStyle.borderRadius,
115
- } ),
116
- ...( isActiveStyle?.backgroundColor && {
117
- backgroundColor: isActiveStyle.backgroundColor,
118
- } ),
119
105
  };
120
106
 
121
107
  const states = [];
@@ -173,7 +159,7 @@ export function Button( props ) {
173
159
  accessibilityHint={ hint }
174
160
  onPress={ onClick }
175
161
  onLongPress={ onLongPress }
176
- style={ containerStyle }
162
+ style={ styles.container }
177
163
  disabled={ isDisabled }
178
164
  testID={ testID }
179
165
  >
@@ -24,7 +24,7 @@ export default {
24
24
  title: 'Components/Button',
25
25
  component: Button,
26
26
  parameters: {
27
- knobs: { disable: false },
27
+ knobs: { disabled: false },
28
28
  },
29
29
  };
30
30
 
@@ -201,20 +201,6 @@
201
201
  }
202
202
  }
203
203
 
204
- &.is-destructive.is-tertiary {
205
- box-shadow: none;
206
-
207
- &:hover:not(:disabled) {
208
- box-shadow: inset 0 0 0 $border-width $alert-red;
209
- color: $alert-red;
210
- }
211
-
212
- &:focus:not(:disabled) {
213
- box-shadow: inset 0 0 0 1px $white, 0 0 0 var(--wp-admin-border-width-focus) $alert-red;
214
- color: $alert-red;
215
- }
216
- }
217
-
218
204
 
219
205
  /**
220
206
  * Link buttons.
@@ -6,14 +6,14 @@
6
6
 
7
7
  `Card` also provides a convenient set of [sub-components](#sub-components) such as `CardBody`, `CardHeader`, `CardFooter`, and more (see below).
8
8
 
9
- ```jsx
9
+ ```jsx live
10
10
  import {
11
11
  Card,
12
12
  CardHeader,
13
13
  CardBody,
14
14
  CardFooter,
15
- __experimentalText as Text,
16
- __experimentalHeading as Heading,
15
+ Text,
16
+ Heading,
17
17
  } from '@wordpress/components';
18
18
 
19
19
  function Example() {
@@ -22,7 +22,7 @@ export default {
22
22
  component: Card,
23
23
  title: 'Components/Card',
24
24
  parameters: {
25
- knobs: { disable: false },
25
+ knobs: { disabled: false },
26
26
  },
27
27
  };
28
28