@wordpress/components 35.0.1 → 35.1.1-next.v.202606191442.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 (264) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/build/alignment-matrix-control/cell.cjs +1 -1
  3. package/build/alignment-matrix-control/cell.cjs.map +2 -2
  4. package/build/alignment-matrix-control/index.cjs +1 -1
  5. package/build/alignment-matrix-control/index.cjs.map +2 -2
  6. package/build/angle-picker-control/angle-circle.cjs +1 -1
  7. package/build/angle-picker-control/angle-circle.cjs.map +2 -2
  8. package/build/angle-picker-control/index.cjs +2 -2
  9. package/build/autocomplete/get-autocomplete-match.cjs.map +1 -1
  10. package/build/autocomplete/index.cjs.map +1 -1
  11. package/build/base-control/styles/base-control-styles.cjs +6 -6
  12. package/build/base-control/styles/base-control-styles.cjs.map +2 -2
  13. package/build/border-control/styles.cjs +17 -14
  14. package/build/border-control/styles.cjs.map +2 -2
  15. package/build/button/index.cjs +3 -7
  16. package/build/button/index.cjs.map +2 -2
  17. package/build/card/card-divider/hook.cjs.map +2 -2
  18. package/build/color-palette/index.cjs.map +1 -1
  19. package/build/color-picker/component.cjs.map +1 -1
  20. package/build/date-time/utils.cjs.map +1 -1
  21. package/build/draggable/index.cjs.map +1 -1
  22. package/build/external-link/index.cjs +1 -1
  23. package/build/external-link/index.cjs.map +1 -1
  24. package/build/menu/popover.cjs.map +1 -1
  25. package/build/menu/styles.cjs +17 -17
  26. package/build/menu/styles.cjs.map +2 -2
  27. package/build/modal/index.cjs.map +1 -1
  28. package/build/modal/use-modal-exit-animation.cjs +37 -52
  29. package/build/modal/use-modal-exit-animation.cjs.map +2 -2
  30. package/build/palette-edit/index.cjs +1 -1
  31. package/build/progress-bar/index.cjs +1 -1
  32. package/build/progress-bar/index.cjs.map +2 -2
  33. package/build/query-controls/index.cjs +2 -2
  34. package/build/query-controls/index.cjs.map +2 -2
  35. package/build/range-control/index.cjs.map +1 -1
  36. package/build/sandbox/index.cjs +7 -1
  37. package/build/sandbox/index.cjs.map +2 -2
  38. package/build/snackbar/index.cjs +1 -1
  39. package/build/spinner/styles.cjs +4 -4
  40. package/build/spinner/styles.cjs.map +2 -2
  41. package/build/tabs/index.cjs +0 -18
  42. package/build/tabs/index.cjs.map +2 -2
  43. package/build/tabs/tablist.cjs +5 -15
  44. package/build/tabs/tablist.cjs.map +2 -2
  45. package/build/tools-panel/styles.cjs +13 -13
  46. package/build/tools-panel/styles.cjs.map +2 -2
  47. package/build/tools-panel/tools-panel/hook.cjs.map +1 -1
  48. package/build/tree-select/index.cjs +1 -1
  49. package/build/tree-select/index.cjs.map +1 -1
  50. package/build/truncate/utils.cjs +1 -1
  51. package/build/truncate/utils.cjs.map +1 -1
  52. package/build/utils/colors-values.cjs +12 -12
  53. package/build/utils/colors-values.cjs.map +2 -2
  54. package/build/utils/config-values.cjs +2 -2
  55. package/build/utils/config-values.cjs.map +2 -2
  56. package/build/utils/dropdown-motion.cjs.map +2 -2
  57. package/build/utils/strings.cjs.map +1 -1
  58. package/build-module/alignment-matrix-control/cell.mjs +1 -1
  59. package/build-module/alignment-matrix-control/cell.mjs.map +2 -2
  60. package/build-module/alignment-matrix-control/index.mjs +1 -1
  61. package/build-module/alignment-matrix-control/index.mjs.map +2 -2
  62. package/build-module/angle-picker-control/angle-circle.mjs +1 -1
  63. package/build-module/angle-picker-control/angle-circle.mjs.map +2 -2
  64. package/build-module/angle-picker-control/index.mjs +2 -2
  65. package/build-module/autocomplete/get-autocomplete-match.mjs.map +1 -1
  66. package/build-module/autocomplete/index.mjs.map +1 -1
  67. package/build-module/base-control/styles/base-control-styles.mjs +6 -6
  68. package/build-module/base-control/styles/base-control-styles.mjs.map +2 -2
  69. package/build-module/border-control/styles.mjs +17 -14
  70. package/build-module/border-control/styles.mjs.map +2 -2
  71. package/build-module/button/index.mjs +2 -5
  72. package/build-module/button/index.mjs.map +2 -2
  73. package/build-module/card/card-divider/hook.mjs.map +2 -2
  74. package/build-module/color-palette/index.mjs.map +1 -1
  75. package/build-module/color-picker/component.mjs.map +1 -1
  76. package/build-module/date-time/utils.mjs.map +1 -1
  77. package/build-module/draggable/index.mjs.map +1 -1
  78. package/build-module/external-link/index.mjs +1 -1
  79. package/build-module/external-link/index.mjs.map +1 -1
  80. package/build-module/menu/popover.mjs.map +1 -1
  81. package/build-module/menu/styles.mjs +17 -17
  82. package/build-module/menu/styles.mjs.map +2 -2
  83. package/build-module/modal/index.mjs.map +1 -1
  84. package/build-module/modal/use-modal-exit-animation.mjs +37 -52
  85. package/build-module/modal/use-modal-exit-animation.mjs.map +2 -2
  86. package/build-module/palette-edit/index.mjs +1 -1
  87. package/build-module/progress-bar/index.mjs +1 -1
  88. package/build-module/progress-bar/index.mjs.map +2 -2
  89. package/build-module/query-controls/index.mjs +2 -2
  90. package/build-module/query-controls/index.mjs.map +2 -2
  91. package/build-module/range-control/index.mjs.map +1 -1
  92. package/build-module/sandbox/index.mjs +3 -1
  93. package/build-module/sandbox/index.mjs.map +2 -2
  94. package/build-module/snackbar/index.mjs +1 -1
  95. package/build-module/spinner/styles.mjs +4 -4
  96. package/build-module/spinner/styles.mjs.map +2 -2
  97. package/build-module/tabs/index.mjs +1 -19
  98. package/build-module/tabs/index.mjs.map +2 -2
  99. package/build-module/tabs/tablist.mjs +5 -15
  100. package/build-module/tabs/tablist.mjs.map +2 -2
  101. package/build-module/tools-panel/styles.mjs +13 -13
  102. package/build-module/tools-panel/styles.mjs.map +2 -2
  103. package/build-module/tools-panel/tools-panel/hook.mjs.map +1 -1
  104. package/build-module/tree-select/index.mjs +1 -1
  105. package/build-module/tree-select/index.mjs.map +1 -1
  106. package/build-module/truncate/utils.mjs +1 -1
  107. package/build-module/truncate/utils.mjs.map +1 -1
  108. package/build-module/utils/colors-values.mjs +12 -12
  109. package/build-module/utils/colors-values.mjs.map +2 -2
  110. package/build-module/utils/config-values.mjs +2 -2
  111. package/build-module/utils/config-values.mjs.map +2 -2
  112. package/build-module/utils/dropdown-motion.mjs.map +2 -2
  113. package/build-module/utils/strings.mjs.map +1 -1
  114. package/build-style/style-rtl.css +82 -82
  115. package/build-style/style.css +82 -82
  116. package/build-types/base-control/styles/base-control-styles.d.ts.map +1 -1
  117. package/build-types/border-control/styles.d.ts.map +1 -1
  118. package/build-types/button/index.d.ts +0 -2
  119. package/build-types/button/index.d.ts.map +1 -1
  120. package/build-types/card/card-divider/hook.d.ts +1 -274
  121. package/build-types/card/card-divider/hook.d.ts.map +1 -1
  122. package/build-types/composite/stories/index.story.d.ts.map +1 -1
  123. package/build-types/confirm-dialog/stories/index.story.d.ts.map +1 -1
  124. package/build-types/dropdown/stories/index.story.d.ts.map +1 -1
  125. package/build-types/menu/styles.d.ts.map +1 -1
  126. package/build-types/menu/types.d.ts +2 -2
  127. package/build-types/sandbox/index.d.ts +15 -0
  128. package/build-types/sandbox/index.d.ts.map +1 -1
  129. package/build-types/spinner/styles.d.ts.map +1 -1
  130. package/build-types/tabs/index.d.ts.map +1 -1
  131. package/build-types/tabs/tablist.d.ts.map +1 -1
  132. package/build-types/tools-panel/styles.d.ts.map +1 -1
  133. package/build-types/utils/colors-values.d.ts.map +1 -1
  134. package/build-types/utils/dropdown-motion.d.ts.map +1 -1
  135. package/build-types/validated-form-controls/components/combobox-control.d.ts +1 -1
  136. package/package.json +34 -28
  137. package/src/angle-picker-control/angle-circle.tsx +3 -3
  138. package/src/base-control/README.md +2 -2
  139. package/src/base-control/styles/base-control-styles.ts +1 -0
  140. package/src/border-control/styles.ts +1 -0
  141. package/src/button/index.tsx +2 -4
  142. package/src/button/style.scss +3 -3
  143. package/src/card/card-divider/hook.ts +5 -1
  144. package/src/card/test/__snapshots__/index.tsx.snap +3 -3
  145. package/src/composite/stories/index.story.tsx +5 -0
  146. package/src/confirm-dialog/stories/index.story.tsx +1 -0
  147. package/src/dropdown/stories/index.story.tsx +5 -0
  148. package/src/dropdown-menu/style.scss +1 -1
  149. package/src/external-link/style.scss +4 -4
  150. package/src/form-toggle/style.scss +1 -1
  151. package/src/heading/test/__snapshots__/index.tsx.snap +4 -4
  152. package/src/menu/README.md +2 -2
  153. package/src/menu/styles.ts +2 -0
  154. package/src/menu/test/index.tsx +120 -87
  155. package/src/menu/types.ts +2 -2
  156. package/src/modal/style.scss +1 -1
  157. package/src/modal/use-modal-exit-animation.ts +2 -2
  158. package/src/notice/style.scss +11 -13
  159. package/src/panel/README.md +2 -0
  160. package/src/panel/stories/index.story.tsx +2 -2
  161. package/src/panel/style.scss +1 -1
  162. package/src/radio-control/style.scss +1 -1
  163. package/src/sandbox/index.tsx +18 -1
  164. package/src/sandbox/test/index.tsx +44 -1
  165. package/src/spinner/styles.ts +1 -0
  166. package/src/tab-panel/style.scss +6 -6
  167. package/src/tabs/index.tsx +1 -26
  168. package/src/tabs/tablist.tsx +5 -21
  169. package/src/tabs/test/index.tsx +16 -27
  170. package/src/text/test/__snapshots__/index.tsx.snap +3 -3
  171. package/src/toggle-group-control/test/__snapshots__/index.tsx.snap +34 -26
  172. package/src/toolbar/toolbar-group/style.scss +2 -2
  173. package/src/tools-panel/styles.ts +1 -1
  174. package/src/tooltip/stories/index.story.tsx +2 -2
  175. package/src/utils/colors-values.js +36 -16
  176. package/src/utils/config-values.js +2 -2
  177. package/src/utils/dropdown-motion.ts +6 -4
  178. package/src/utils/theme-variables.scss +18 -13
  179. package/build-types/card/context.d.ts +0 -3
  180. package/build-types/card/context.d.ts.map +0 -1
  181. package/build-types/date-time/date/index.d.ts +0 -23
  182. package/build-types/date-time/date/index.d.ts.map +0 -1
  183. package/build-types/date-time/date/styles.d.ts +0 -45
  184. package/build-types/date-time/date/styles.d.ts.map +0 -1
  185. package/build-types/date-time/date/test/index.d.ts +0 -2
  186. package/build-types/date-time/date/test/index.d.ts.map +0 -1
  187. package/build-types/date-time/date/test/use-lilius.d.ts +0 -2
  188. package/build-types/date-time/date/test/use-lilius.d.ts.map +0 -1
  189. package/build-types/date-time/date/use-lilius/index.d.ts +0 -169
  190. package/build-types/date-time/date/use-lilius/index.d.ts.map +0 -1
  191. package/build-types/date-time/time/index.d.ts +0 -27
  192. package/build-types/date-time/time/index.d.ts.map +0 -1
  193. package/build-types/date-time/time/styles.d.ts +0 -93
  194. package/build-types/date-time/time/styles.d.ts.map +0 -1
  195. package/build-types/date-time/time/test/index.d.ts +0 -2
  196. package/build-types/date-time/time/test/index.d.ts.map +0 -1
  197. package/build-types/date-time/time/time-input/index.d.ts +0 -4
  198. package/build-types/date-time/time/time-input/index.d.ts.map +0 -1
  199. package/build-types/date-time/time/time-input/test/index.d.ts +0 -2
  200. package/build-types/date-time/time/time-input/test/index.d.ts.map +0 -1
  201. package/build-types/date-time/time/timezone.d.ts +0 -7
  202. package/build-types/date-time/time/timezone.d.ts.map +0 -1
  203. package/build-types/mobile/image/constants.d.ts +0 -5
  204. package/build-types/mobile/image/constants.d.ts.map +0 -1
  205. package/build-types/navigation/back-button/index.d.ts +0 -7
  206. package/build-types/navigation/back-button/index.d.ts.map +0 -1
  207. package/build-types/navigation/constants.d.ts +0 -3
  208. package/build-types/navigation/constants.d.ts.map +0 -1
  209. package/build-types/navigation/context.d.ts +0 -4
  210. package/build-types/navigation/context.d.ts.map +0 -1
  211. package/build-types/navigation/group/context.d.ts +0 -7
  212. package/build-types/navigation/group/context.d.ts.map +0 -1
  213. package/build-types/navigation/group/index.d.ts +0 -7
  214. package/build-types/navigation/group/index.d.ts.map +0 -1
  215. package/build-types/navigation/index.d.ts +0 -46
  216. package/build-types/navigation/index.d.ts.map +0 -1
  217. package/build-types/navigation/item/base-content.d.ts +0 -3
  218. package/build-types/navigation/item/base-content.d.ts.map +0 -1
  219. package/build-types/navigation/item/base.d.ts +0 -3
  220. package/build-types/navigation/item/base.d.ts.map +0 -1
  221. package/build-types/navigation/item/index.d.ts +0 -7
  222. package/build-types/navigation/item/index.d.ts.map +0 -1
  223. package/build-types/navigation/item/use-navigation-tree-item.d.ts +0 -3
  224. package/build-types/navigation/item/use-navigation-tree-item.d.ts.map +0 -1
  225. package/build-types/navigation/menu/context.d.ts +0 -7
  226. package/build-types/navigation/menu/context.d.ts.map +0 -1
  227. package/build-types/navigation/menu/index.d.ts +0 -7
  228. package/build-types/navigation/menu/index.d.ts.map +0 -1
  229. package/build-types/navigation/menu/menu-title-search.d.ts +0 -3
  230. package/build-types/navigation/menu/menu-title-search.d.ts.map +0 -1
  231. package/build-types/navigation/menu/menu-title.d.ts +0 -3
  232. package/build-types/navigation/menu/menu-title.d.ts.map +0 -1
  233. package/build-types/navigation/menu/search-no-results-found.d.ts +0 -3
  234. package/build-types/navigation/menu/search-no-results-found.d.ts.map +0 -1
  235. package/build-types/navigation/menu/use-navigation-tree-menu.d.ts +0 -3
  236. package/build-types/navigation/menu/use-navigation-tree-menu.d.ts.map +0 -1
  237. package/build-types/navigation/stories/index.story.d.ts +0 -23
  238. package/build-types/navigation/stories/index.story.d.ts.map +0 -1
  239. package/build-types/navigation/stories/utils/controlled-state.d.ts +0 -7
  240. package/build-types/navigation/stories/utils/controlled-state.d.ts.map +0 -1
  241. package/build-types/navigation/stories/utils/default.d.ts +0 -10
  242. package/build-types/navigation/stories/utils/default.d.ts.map +0 -1
  243. package/build-types/navigation/stories/utils/group.d.ts +0 -10
  244. package/build-types/navigation/stories/utils/group.d.ts.map +0 -1
  245. package/build-types/navigation/stories/utils/hide-if-empty.d.ts +0 -10
  246. package/build-types/navigation/stories/utils/hide-if-empty.d.ts.map +0 -1
  247. package/build-types/navigation/stories/utils/more-examples.d.ts +0 -10
  248. package/build-types/navigation/stories/utils/more-examples.d.ts.map +0 -1
  249. package/build-types/navigation/stories/utils/search.d.ts +0 -10
  250. package/build-types/navigation/stories/utils/search.d.ts.map +0 -1
  251. package/build-types/navigation/styles/navigation-styles.d.ts +0 -55
  252. package/build-types/navigation/styles/navigation-styles.d.ts.map +0 -1
  253. package/build-types/navigation/test/index.d.ts +0 -2
  254. package/build-types/navigation/test/index.d.ts.map +0 -1
  255. package/build-types/navigation/types.d.ts +0 -266
  256. package/build-types/navigation/types.d.ts.map +0 -1
  257. package/build-types/navigation/use-create-navigation-tree.d.ts +0 -15
  258. package/build-types/navigation/use-create-navigation-tree.d.ts.map +0 -1
  259. package/build-types/navigation/use-navigation-tree-nodes.d.ts +0 -10
  260. package/build-types/navigation/use-navigation-tree-nodes.d.ts.map +0 -1
  261. package/build-types/navigation/utils.d.ts +0 -3
  262. package/build-types/navigation/utils.d.ts.map +0 -1
  263. package/build-types/visually-hidden/test/index.d.ts +0 -2
  264. package/build-types/visually-hidden/test/index.d.ts.map +0 -1
@@ -3,278 +3,5 @@
3
3
  */
4
4
  import type { WordPressComponentProps } from '../../context';
5
5
  import type { DividerProps } from '../../divider';
6
- export declare function useCardDivider(props: WordPressComponentProps<DividerProps, 'hr', false>): {
7
- key?: import("react").Key | null | undefined;
8
- ref?: import("react").RefObject<HTMLHRElement> | ((instance: HTMLHRElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | null | undefined;
9
- dangerouslySetInnerHTML?: {
10
- __html: string | TrustedHTML;
11
- } | undefined;
12
- onCopy?: import("react").ClipboardEventHandler<HTMLHRElement> | undefined;
13
- onCopyCapture?: import("react").ClipboardEventHandler<HTMLHRElement> | undefined;
14
- onCut?: import("react").ClipboardEventHandler<HTMLHRElement> | undefined;
15
- onCutCapture?: import("react").ClipboardEventHandler<HTMLHRElement> | undefined;
16
- onPaste?: import("react").ClipboardEventHandler<HTMLHRElement> | undefined;
17
- onPasteCapture?: import("react").ClipboardEventHandler<HTMLHRElement> | undefined;
18
- onCompositionEnd?: import("react").CompositionEventHandler<HTMLHRElement> | undefined;
19
- onCompositionEndCapture?: import("react").CompositionEventHandler<HTMLHRElement> | undefined;
20
- onCompositionStart?: import("react").CompositionEventHandler<HTMLHRElement> | undefined;
21
- onCompositionStartCapture?: import("react").CompositionEventHandler<HTMLHRElement> | undefined;
22
- onCompositionUpdate?: import("react").CompositionEventHandler<HTMLHRElement> | undefined;
23
- onCompositionUpdateCapture?: import("react").CompositionEventHandler<HTMLHRElement> | undefined;
24
- onFocus?: import("react").FocusEventHandler<HTMLHRElement> | undefined;
25
- onFocusCapture?: import("react").FocusEventHandler<HTMLHRElement> | undefined;
26
- onBlur?: import("react").FocusEventHandler<HTMLHRElement> | undefined;
27
- onBlurCapture?: import("react").FocusEventHandler<HTMLHRElement> | undefined;
28
- onChange?: import("react").FormEventHandler<HTMLHRElement> | undefined;
29
- onChangeCapture?: import("react").FormEventHandler<HTMLHRElement> | undefined;
30
- onBeforeInput?: import("react").InputEventHandler<HTMLHRElement> | undefined;
31
- onBeforeInputCapture?: import("react").FormEventHandler<HTMLHRElement> | undefined;
32
- onInput?: import("react").FormEventHandler<HTMLHRElement> | undefined;
33
- onInputCapture?: import("react").FormEventHandler<HTMLHRElement> | undefined;
34
- onReset?: import("react").FormEventHandler<HTMLHRElement> | undefined;
35
- onResetCapture?: import("react").FormEventHandler<HTMLHRElement> | undefined;
36
- onSubmit?: import("react").FormEventHandler<HTMLHRElement> | undefined;
37
- onSubmitCapture?: import("react").FormEventHandler<HTMLHRElement> | undefined;
38
- onInvalid?: import("react").FormEventHandler<HTMLHRElement> | undefined;
39
- onInvalidCapture?: import("react").FormEventHandler<HTMLHRElement> | undefined;
40
- onLoad?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
41
- onLoadCapture?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
42
- onError?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
43
- onErrorCapture?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
44
- onKeyDown?: import("react").KeyboardEventHandler<HTMLHRElement> | undefined;
45
- onKeyDownCapture?: import("react").KeyboardEventHandler<HTMLHRElement> | undefined;
46
- onKeyPress?: import("react").KeyboardEventHandler<HTMLHRElement> | undefined;
47
- onKeyPressCapture?: import("react").KeyboardEventHandler<HTMLHRElement> | undefined;
48
- onKeyUp?: import("react").KeyboardEventHandler<HTMLHRElement> | undefined;
49
- onKeyUpCapture?: import("react").KeyboardEventHandler<HTMLHRElement> | undefined;
50
- onAbort?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
51
- onAbortCapture?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
52
- onCanPlay?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
53
- onCanPlayCapture?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
54
- onCanPlayThrough?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
55
- onCanPlayThroughCapture?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
56
- onDurationChange?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
57
- onDurationChangeCapture?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
58
- onEmptied?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
59
- onEmptiedCapture?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
60
- onEncrypted?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
61
- onEncryptedCapture?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
62
- onEnded?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
63
- onEndedCapture?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
64
- onLoadedData?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
65
- onLoadedDataCapture?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
66
- onLoadedMetadata?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
67
- onLoadedMetadataCapture?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
68
- onLoadStart?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
69
- onLoadStartCapture?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
70
- onPause?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
71
- onPauseCapture?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
72
- onPlay?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
73
- onPlayCapture?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
74
- onPlaying?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
75
- onPlayingCapture?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
76
- onProgress?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
77
- onProgressCapture?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
78
- onRateChange?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
79
- onRateChangeCapture?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
80
- onSeeked?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
81
- onSeekedCapture?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
82
- onSeeking?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
83
- onSeekingCapture?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
84
- onStalled?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
85
- onStalledCapture?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
86
- onSuspend?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
87
- onSuspendCapture?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
88
- onTimeUpdate?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
89
- onTimeUpdateCapture?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
90
- onVolumeChange?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
91
- onVolumeChangeCapture?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
92
- onWaiting?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
93
- onWaitingCapture?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
94
- onAuxClick?: import("react").MouseEventHandler<HTMLHRElement> | undefined;
95
- onAuxClickCapture?: import("react").MouseEventHandler<HTMLHRElement> | undefined;
96
- onClick?: import("react").MouseEventHandler<HTMLHRElement> | undefined;
97
- onClickCapture?: import("react").MouseEventHandler<HTMLHRElement> | undefined;
98
- onContextMenu?: import("react").MouseEventHandler<HTMLHRElement> | undefined;
99
- onContextMenuCapture?: import("react").MouseEventHandler<HTMLHRElement> | undefined;
100
- onDoubleClick?: import("react").MouseEventHandler<HTMLHRElement> | undefined;
101
- onDoubleClickCapture?: import("react").MouseEventHandler<HTMLHRElement> | undefined;
102
- onDrag?: import("react").DragEventHandler<HTMLHRElement> | undefined;
103
- onDragCapture?: import("react").DragEventHandler<HTMLHRElement> | undefined;
104
- onDragEnd?: import("react").DragEventHandler<HTMLHRElement> | undefined;
105
- onDragEndCapture?: import("react").DragEventHandler<HTMLHRElement> | undefined;
106
- onDragEnter?: import("react").DragEventHandler<HTMLHRElement> | undefined;
107
- onDragEnterCapture?: import("react").DragEventHandler<HTMLHRElement> | undefined;
108
- onDragExit?: import("react").DragEventHandler<HTMLHRElement> | undefined;
109
- onDragExitCapture?: import("react").DragEventHandler<HTMLHRElement> | undefined;
110
- onDragLeave?: import("react").DragEventHandler<HTMLHRElement> | undefined;
111
- onDragLeaveCapture?: import("react").DragEventHandler<HTMLHRElement> | undefined;
112
- onDragOver?: import("react").DragEventHandler<HTMLHRElement> | undefined;
113
- onDragOverCapture?: import("react").DragEventHandler<HTMLHRElement> | undefined;
114
- onDragStart?: import("react").DragEventHandler<HTMLHRElement> | undefined;
115
- onDragStartCapture?: import("react").DragEventHandler<HTMLHRElement> | undefined;
116
- onDrop?: import("react").DragEventHandler<HTMLHRElement> | undefined;
117
- onDropCapture?: import("react").DragEventHandler<HTMLHRElement> | undefined;
118
- onMouseDown?: import("react").MouseEventHandler<HTMLHRElement> | undefined;
119
- onMouseDownCapture?: import("react").MouseEventHandler<HTMLHRElement> | undefined;
120
- onMouseEnter?: import("react").MouseEventHandler<HTMLHRElement> | undefined;
121
- onMouseLeave?: import("react").MouseEventHandler<HTMLHRElement> | undefined;
122
- onMouseMove?: import("react").MouseEventHandler<HTMLHRElement> | undefined;
123
- onMouseMoveCapture?: import("react").MouseEventHandler<HTMLHRElement> | undefined;
124
- onMouseOut?: import("react").MouseEventHandler<HTMLHRElement> | undefined;
125
- onMouseOutCapture?: import("react").MouseEventHandler<HTMLHRElement> | undefined;
126
- onMouseOver?: import("react").MouseEventHandler<HTMLHRElement> | undefined;
127
- onMouseOverCapture?: import("react").MouseEventHandler<HTMLHRElement> | undefined;
128
- onMouseUp?: import("react").MouseEventHandler<HTMLHRElement> | undefined;
129
- onMouseUpCapture?: import("react").MouseEventHandler<HTMLHRElement> | undefined;
130
- onSelect?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
131
- onSelectCapture?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
132
- onTouchCancel?: import("react").TouchEventHandler<HTMLHRElement> | undefined;
133
- onTouchCancelCapture?: import("react").TouchEventHandler<HTMLHRElement> | undefined;
134
- onTouchEnd?: import("react").TouchEventHandler<HTMLHRElement> | undefined;
135
- onTouchEndCapture?: import("react").TouchEventHandler<HTMLHRElement> | undefined;
136
- onTouchMove?: import("react").TouchEventHandler<HTMLHRElement> | undefined;
137
- onTouchMoveCapture?: import("react").TouchEventHandler<HTMLHRElement> | undefined;
138
- onTouchStart?: import("react").TouchEventHandler<HTMLHRElement> | undefined;
139
- onTouchStartCapture?: import("react").TouchEventHandler<HTMLHRElement> | undefined;
140
- onPointerDown?: import("react").PointerEventHandler<HTMLHRElement> | undefined;
141
- onPointerDownCapture?: import("react").PointerEventHandler<HTMLHRElement> | undefined;
142
- onPointerMove?: import("react").PointerEventHandler<HTMLHRElement> | undefined;
143
- onPointerMoveCapture?: import("react").PointerEventHandler<HTMLHRElement> | undefined;
144
- onPointerUp?: import("react").PointerEventHandler<HTMLHRElement> | undefined;
145
- onPointerUpCapture?: import("react").PointerEventHandler<HTMLHRElement> | undefined;
146
- onPointerCancel?: import("react").PointerEventHandler<HTMLHRElement> | undefined;
147
- onPointerCancelCapture?: import("react").PointerEventHandler<HTMLHRElement> | undefined;
148
- onPointerEnter?: import("react").PointerEventHandler<HTMLHRElement> | undefined;
149
- onPointerLeave?: import("react").PointerEventHandler<HTMLHRElement> | undefined;
150
- onPointerOver?: import("react").PointerEventHandler<HTMLHRElement> | undefined;
151
- onPointerOverCapture?: import("react").PointerEventHandler<HTMLHRElement> | undefined;
152
- onPointerOut?: import("react").PointerEventHandler<HTMLHRElement> | undefined;
153
- onPointerOutCapture?: import("react").PointerEventHandler<HTMLHRElement> | undefined;
154
- onGotPointerCapture?: import("react").PointerEventHandler<HTMLHRElement> | undefined;
155
- onGotPointerCaptureCapture?: import("react").PointerEventHandler<HTMLHRElement> | undefined;
156
- onLostPointerCapture?: import("react").PointerEventHandler<HTMLHRElement> | undefined;
157
- onLostPointerCaptureCapture?: import("react").PointerEventHandler<HTMLHRElement> | undefined;
158
- onScroll?: import("react").UIEventHandler<HTMLHRElement> | undefined;
159
- onScrollCapture?: import("react").UIEventHandler<HTMLHRElement> | undefined;
160
- onWheel?: import("react").WheelEventHandler<HTMLHRElement> | undefined;
161
- onWheelCapture?: import("react").WheelEventHandler<HTMLHRElement> | undefined;
162
- onAnimationStart?: import("react").AnimationEventHandler<HTMLHRElement> | undefined;
163
- onAnimationStartCapture?: import("react").AnimationEventHandler<HTMLHRElement> | undefined;
164
- onAnimationEnd?: import("react").AnimationEventHandler<HTMLHRElement> | undefined;
165
- onAnimationEndCapture?: import("react").AnimationEventHandler<HTMLHRElement> | undefined;
166
- onAnimationIteration?: import("react").AnimationEventHandler<HTMLHRElement> | undefined;
167
- onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLHRElement> | undefined;
168
- onTransitionEnd?: import("react").TransitionEventHandler<HTMLHRElement> | undefined;
169
- onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLHRElement> | undefined;
170
- "aria-activedescendant"?: string | undefined;
171
- "aria-atomic"?: ("false" | "true" | boolean) | undefined;
172
- "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
173
- "aria-braillelabel"?: string | undefined;
174
- "aria-brailleroledescription"?: string | undefined;
175
- "aria-busy"?: ("false" | "true" | boolean) | undefined;
176
- "aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
177
- "aria-colcount"?: number | undefined;
178
- "aria-colindex"?: number | undefined;
179
- "aria-colindextext"?: string | undefined;
180
- "aria-colspan"?: number | undefined;
181
- "aria-controls"?: string | undefined;
182
- "aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
183
- "aria-describedby"?: string | undefined;
184
- "aria-description"?: string | undefined;
185
- "aria-details"?: string | undefined;
186
- "aria-disabled"?: ("false" | "true" | boolean) | undefined;
187
- "aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
188
- "aria-errormessage"?: string | undefined;
189
- "aria-expanded"?: ("false" | "true" | boolean) | undefined;
190
- "aria-flowto"?: string | undefined;
191
- "aria-grabbed"?: ("false" | "true" | boolean) | undefined;
192
- "aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
193
- "aria-hidden"?: ("false" | "true" | boolean) | undefined;
194
- "aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
195
- "aria-keyshortcuts"?: string | undefined;
196
- "aria-label"?: string | undefined;
197
- "aria-labelledby"?: string | undefined;
198
- "aria-level"?: number | undefined;
199
- "aria-live"?: "off" | "assertive" | "polite" | undefined;
200
- "aria-modal"?: ("false" | "true" | boolean) | undefined;
201
- "aria-multiline"?: ("false" | "true" | boolean) | undefined;
202
- "aria-multiselectable"?: ("false" | "true" | boolean) | undefined;
203
- "aria-orientation"?: "horizontal" | "vertical" | undefined;
204
- "aria-owns"?: string | undefined;
205
- "aria-placeholder"?: string | undefined;
206
- "aria-posinset"?: number | undefined;
207
- "aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
208
- "aria-readonly"?: ("false" | "true" | boolean) | undefined;
209
- "aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
210
- "aria-required"?: ("false" | "true" | boolean) | undefined;
211
- "aria-roledescription"?: string | undefined;
212
- "aria-rowcount"?: number | undefined;
213
- "aria-rowindex"?: number | undefined;
214
- "aria-rowindextext"?: string | undefined;
215
- "aria-rowspan"?: number | undefined;
216
- "aria-selected"?: ("false" | "true" | boolean) | undefined;
217
- "aria-setsize"?: number | undefined;
218
- "aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
219
- "aria-valuemax"?: number | undefined;
220
- "aria-valuemin"?: number | undefined;
221
- "aria-valuenow"?: number | undefined;
222
- "aria-valuetext"?: string | undefined;
223
- defaultChecked?: boolean | undefined;
224
- defaultValue?: string | number | readonly string[] | undefined;
225
- suppressContentEditableWarning?: boolean | undefined;
226
- suppressHydrationWarning?: boolean | undefined;
227
- accessKey?: string | undefined;
228
- autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
229
- autoFocus?: boolean | undefined;
230
- contentEditable?: ("false" | "true" | boolean) | "inherit" | "plaintext-only" | undefined;
231
- contextMenu?: string | undefined;
232
- dir?: string | undefined;
233
- draggable?: ("false" | "true" | boolean) | undefined;
234
- enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
235
- hidden?: boolean | undefined;
236
- id?: string | undefined;
237
- lang?: string | undefined;
238
- nonce?: string | undefined;
239
- slot?: string | undefined;
240
- spellCheck?: ("false" | "true" | boolean) | undefined;
241
- style?: import("react").CSSProperties | undefined;
242
- tabIndex?: number | undefined;
243
- title?: string | undefined;
244
- translate?: "yes" | "no" | undefined;
245
- radioGroup?: string | undefined;
246
- role?: import("react").AriaRole | undefined;
247
- about?: string | undefined;
248
- content?: string | undefined;
249
- datatype?: string | undefined;
250
- inlist?: any;
251
- prefix?: string | undefined;
252
- property?: string | undefined;
253
- rel?: string | undefined;
254
- resource?: string | undefined;
255
- rev?: string | undefined;
256
- typeof?: string | undefined;
257
- vocab?: string | undefined;
258
- autoCorrect?: string | undefined;
259
- autoSave?: string | undefined;
260
- color?: string | undefined;
261
- itemProp?: string | undefined;
262
- itemScope?: boolean | undefined;
263
- itemType?: string | undefined;
264
- itemID?: string | undefined;
265
- itemRef?: string | undefined;
266
- results?: number | undefined;
267
- security?: string | undefined;
268
- unselectable?: "on" | "off" | undefined;
269
- inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
270
- is?: string | undefined;
271
- exportparts?: string | undefined;
272
- part?: string | undefined;
273
- wrapElement?: import("@ariakit/react-core/utils/types").WrapElement;
274
- margin?: import("../../utils/space").SpaceInput;
275
- marginEnd?: import("../../utils/space").SpaceInput;
276
- marginStart?: import("../../utils/space").SpaceInput;
277
- orientation?: import("@ariakit/react").SeparatorProps['orientation'];
278
- className: string;
279
- };
6
+ export declare function useCardDivider(props: WordPressComponentProps<DividerProps, 'hr', false>): WordPressComponentProps<DividerProps, 'hr', false>;
280
7
  //# sourceMappingURL=hook.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"hook.d.ts","sourceRoot":"","sources":["../../../src/card/card-divider/hook.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AAI7D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,wBAAgB,cAAc,CAC7B,KAAK,EAAE,uBAAuB,CAAE,YAAY,EAAE,IAAI,EAAE,KAAK,CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyB3D"}
1
+ {"version":3,"file":"hook.d.ts","sourceRoot":"","sources":["../../../src/card/card-divider/hook.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AAI7D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAMlD,wBAAgB,cAAc,CAC7B,KAAK,EAAE,uBAAuB,CAAE,YAAY,EAAE,IAAI,EAAE,KAAK,CAAE,GACzD,uBAAuB,CAAE,YAAY,EAAE,IAAI,EAAE,KAAK,CAAE,CAwBtD"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/composite/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAW5D,OAAO,EAAE,SAAS,EAAE,MAAM,IAAI,CAAC;AAG/B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,SAAS,CAyEjC,CAAC;eACa,IAAI;AAEnB,eAAO,MAAM,OAAO,EAAE,QAAQ,CAAE,OAAO,SAAS,CAU/C,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,QAAQ,CAAE,OAAO,SAAS,CAmB9C,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,QAAQ,CAAE,OAAO,SAAS,CA0B5C,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,QAAQ,CAAE,OAAO,SAAS,CAyB7C,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,QAAQ,CAAE,OAAO,SAAS,CAmBjD,CAAC;AAoDF,eAAO,MAAM,YAAY,EAAE,QAAQ,CAAE,OAAO,SAAS,CAuGpD,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,YAAY,EAAE,QAAQ,CAAE,OAAO,SAAS,CAkBpD,CAAC"}
1
+ {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/composite/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAW5D,OAAO,EAAE,SAAS,EAAE,MAAM,IAAI,CAAC;AAG/B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,SAAS,CA8EjC,CAAC;eACa,IAAI;AAEnB,eAAO,MAAM,OAAO,EAAE,QAAQ,CAAE,OAAO,SAAS,CAU/C,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,QAAQ,CAAE,OAAO,SAAS,CAmB9C,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,QAAQ,CAAE,OAAO,SAAS,CA0B5C,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,QAAQ,CAAE,OAAO,SAAS,CAyB7C,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,QAAQ,CAAE,OAAO,SAAS,CAmBjD,CAAC;AAoDF,eAAO,MAAM,YAAY,EAAE,QAAQ,CAAE,OAAO,SAAS,CAuGpD,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,YAAY,EAAE,QAAQ,CAAE,OAAO,SAAS,CAkBpD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/confirm-dialog/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAW,MAAM,uBAAuB,CAAC;AAY3D,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE7C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,aAAa,CAwBrC,CAAC;eAEa,IAAI;AA0CnB,eAAO,MAAM,OAAO,+XAAsB,CAAC;AA+C3C,eAAO,MAAM,sBAAsB,+XAAsB,CAAC"}
1
+ {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/confirm-dialog/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAW,MAAM,uBAAuB,CAAC;AAY3D,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE7C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,aAAa,CAyBrC,CAAC;eAEa,IAAI;AA0CnB,eAAO,MAAM,OAAO,+XAAsB,CAAC;AA+C3C,eAAO,MAAM,sBAAsB,+XAAsB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/dropdown/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAG5D;;GAEG;AACH,OAAO,QAAQ,MAAM,IAAI,CAAC;AAM1B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,QAAQ,CAkChC,CAAC;eACa,IAAI;AAEnB,eAAO,MAAM,OAAO,EAAE,QAAQ,CAAE,OAAO,QAAQ,CAc9C,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,QAAQ,CAAE,OAAO,QAAQ,CAYtD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,aAAa,EAAE,QAAQ,CAAE,OAAO,QAAQ,CAYpD,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,QAAQ,CAAE,OAAO,QAAQ,CAkBpD,CAAC"}
1
+ {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/dropdown/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAG5D;;GAEG;AACH,OAAO,QAAQ,MAAM,IAAI,CAAC;AAM1B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,QAAQ,CAuChC,CAAC;eACa,IAAI;AAEnB,eAAO,MAAM,OAAO,EAAE,QAAQ,CAAE,OAAO,QAAQ,CAc9C,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,QAAQ,CAAE,OAAO,QAAQ,CAYtD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,aAAa,EAAE,QAAQ,CAAE,OAAO,QAAQ,CAYpD,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,QAAQ,CAAE,OAAO,QAAQ,CAkBpD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/menu/styles.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAW1C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAoB5C,eAAO,MAAM,IAAI;;;;;;UAQhB,CAAC;AAEF,eAAO,MAAM,WAAW;;;yIAsBvB,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,cAAc;;;yGA+C1B,CAAC;AAmFF,eAAO,MAAM,IAAI;;;;;;UAEhB,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;UAExB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;UAErB,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;2GAmC7B,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;yGAa9B,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;yGAM/B,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;2GAqB7B,CAAC;AAEF,eAAO,MAAM,KAAK;;;;;;UAGjB,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;UAOtB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;0CAkBrB,CAAC;AAEF,eAAO,MAAM,kBAAkB;;UAU9B,CAAC;AAEF,eAAO,MAAM,SAAS;;;;UAIrB,CAAC;AAEF,eAAO,MAAM,YAAY;;;;UAUxB,CAAC"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/menu/styles.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAW1C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAsB5C,eAAO,MAAM,IAAI;;;;;;UAQhB,CAAC;AAEF,eAAO,MAAM,WAAW;;;yIAsBvB,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,cAAc;;;yGA+C1B,CAAC;AAmFF,eAAO,MAAM,IAAI;;;;;;UAEhB,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;UAExB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;UAErB,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;2GAmC7B,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;yGAa9B,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;yGAM/B,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;2GAqB7B,CAAC;AAEF,eAAO,MAAM,KAAK;;;;;;UAGjB,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;UAOtB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;0CAkBrB,CAAC;AAEF,eAAO,MAAM,kBAAkB;;UAU9B,CAAC;AAEF,eAAO,MAAM,SAAS;;;;UAIrB,CAAC;AAEF,eAAO,MAAM,YAAY;;;;UAUxB,CAAC"}
@@ -250,7 +250,7 @@ export interface CheckboxItemProps {
250
250
  * The checked state of the checkbox menu item when it is initially rendered.
251
251
  * Use when not wanting to control its checked state.
252
252
  *
253
- * Note: this prop will be overriden by the `checked` prop, if it is defined.
253
+ * Note: this prop will be overridden by the `checked` prop, if it is defined.
254
254
  */
255
255
  defaultChecked?: Ariakit.MenuItemCheckboxProps['defaultChecked'];
256
256
  /**
@@ -312,7 +312,7 @@ export interface RadioItemProps {
312
312
  * The checked state of the radio menu item when it is initially rendered.
313
313
  * Use when not wanting to control its checked state.
314
314
  *
315
- * Note: this prop will be overriden by the `checked` prop, if it is defined.
315
+ * Note: this prop will be overridden by the `checked` prop, if it is defined.
316
316
  */
317
317
  defaultChecked?: Ariakit.MenuItemRadioProps['defaultChecked'];
318
318
  /**
@@ -2,6 +2,21 @@
2
2
  * Internal dependencies
3
3
  */
4
4
  import type { SandBoxProps } from './types';
5
+ /**
6
+ * Matches CSS viewport-relative length values such as `100vh`, `50.5vw`,
7
+ * and `.5dvh`. Used to strip viewport units from user-supplied HTML inside
8
+ * the sandbox iframe, because those units are relative to the iframe's
9
+ * own size and would create a measurement feedback loop with the
10
+ * resize observer.
11
+ *
12
+ * Exported for tests. NOTE: an identical regex literal is duplicated
13
+ * inside `observeAndResizeJS` below because that function is serialized
14
+ * via `.toString()` and embedded into the iframe's `srcdoc` — it has no
15
+ * access to this module's scope at runtime. If you change one, change
16
+ * the other; the "is embedded in the sandbox iframe srcdoc" test
17
+ * guards against drift.
18
+ */
19
+ export declare const VIEWPORT_UNIT_VALUE_REGEX: RegExp;
5
20
  /**
6
21
  * This component provides an isolated environment for arbitrary HTML via iframes.
7
22
  *
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sandbox/index.tsx"],"names":[],"mappings":"AAYA;;GAEG;AACH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAyb5C;;;;;;;;;;GAUG;AACH,iBAAS,OAAO,CAAE,EAAE,eAAuB,EAAE,GAAG,YAAY,EAAE,EAAE,YAAY,+BAK3E;eAEc,OAAO"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sandbox/index.tsx"],"names":[],"mappings":"AAYA;;GAEG;AACH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAI5C;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,yBAAyB,QACqF,CAAC;AAub5H;;;;;;;;;;GAUG;AACH,iBAAS,OAAO,CAAE,EAAE,eAAuB,EAAE,GAAG,YAAY,EAAE,EAAE,YAAY,+BAK3E;eAEc,OAAO"}
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/spinner/styles.ts"],"names":[],"mappings":"AAoBA,eAAO,MAAM,aAAa;;;+CAUzB,CAAC;AAOF,eAAO,MAAM,YAAY;;;kDAGxB,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;gDAM5B,CAAC"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/spinner/styles.ts"],"names":[],"mappings":"AAoBA,eAAO,MAAM,aAAa;;;+CAUzB,CAAC;AAQF,eAAO,MAAM,YAAY;;;kDAGxB,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;gDAM5B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tabs/index.tsx"],"names":[],"mappings":"AAYA;;GAEG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAsBzC;;;;;;;;;GASG;AACH,eAAO,MAAM,IAAI,2IAWb,SAAS;IAoEX;;;;;OAKG;;;;IAIH;;;;OAIG;;;;IAIH;;OAEG;;;;;;;CAQJ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tabs/index.tsx"],"names":[],"mappings":"AAYA;;GAEG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAsBzC;;;;;;;;;GASG;AACH,eAAO,MAAM,IAAI,2IAWb,SAAS;IA2CX;;;;;OAKG;;;;IAIH;;;;OAIG;;;;IAIH;;OAEG;;;;;;;CAQJ,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"tablist.d.ts","sourceRoot":"","sources":["../../src/tabs/tablist.tsx"],"names":[],"mappings":"AAaA;;GAEG;AACH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAqD5C,eAAO,MAAM,OAAO,mPAsFjB,CAAC"}
1
+ {"version":3,"file":"tablist.d.ts","sourceRoot":"","sources":["../../src/tabs/tablist.tsx"],"names":[],"mappings":"AAaA;;GAEG;AACH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAqD5C,eAAO,MAAM,OAAO,mPAsEjB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/tools-panel/styles.ts"],"names":[],"mappings":"AAgCA,eAAO,MAAM,UAAU,YAAc,MAAM,8CAO1C,CAAC;AAEF;;;;GAIG;AAEH,eAAO,MAAM,0BAA0B,YAAc,MAAM,8CAS1D,CAAC;AAEF,eAAO,MAAM,4BAA4B,2CAIxC,CAAC;AAEF,eAAO,MAAM,gBAAgB,2CAmB5B,CAAC;AAEF,eAAO,MAAM,iBAAiB,2CAS7B,CAAC;AAEF,eAAO,MAAM,cAAc,2CA6B1B,CAAC;AAEF,eAAO,MAAM,yBAAyB,2CAErC,CAAC;AAEF,eAAO,MAAM,YAAY,2CAExB,CAAC;AAEF,eAAO,MAAM,UAAU;;;2GAOtB,CAAC;AAEF,eAAO,MAAM,mBAAmB,2CAe/B,CAAC"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/tools-panel/styles.ts"],"names":[],"mappings":"AAiCA,eAAO,MAAM,UAAU,YAAc,MAAM,8CAM1C,CAAC;AAEF;;;;GAIG;AAEH,eAAO,MAAM,0BAA0B,YAAc,MAAM,8CAS1D,CAAC;AAEF,eAAO,MAAM,4BAA4B,2CAIxC,CAAC;AAEF,eAAO,MAAM,gBAAgB,2CAmB5B,CAAC;AAEF,eAAO,MAAM,iBAAiB,2CAS7B,CAAC;AAEF,eAAO,MAAM,cAAc,2CA6B1B,CAAC;AAEF,eAAO,MAAM,yBAAyB,2CAErC,CAAC;AAEF,eAAO,MAAM,YAAY,2CAExB,CAAC;AAEF,eAAO,MAAM,UAAU;;;2GAOtB,CAAC;AAEF,eAAO,MAAM,mBAAmB,2CAe/B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"colors-values.d.ts","sourceRoot":"","sources":["../../src/utils/colors-values.js"],"names":[],"mappings":"AAsEA,eAAO,MAAM,MAAM;IAClB;;;;OAIG;;;;QAlEH,+CAA+C;;QAE/C,yDAAyD;;;QAGzD,6BAA6B;;QAE7B,wCAAwC;;QAExC,uCAAuC;;;IA2DvC;;OAEG;;;;;;;IAGH;;;;OAIG;;;;;QApDH,kDAAkD;;;;QAMlD,sDAAsD;;;YAIrD,yDAAyD;YACzD,GAAG;YACH,GAAG;YACH,GAAG;YACH,GAAG;YACH,GAAG;YACH,GAAG;YACH,GAAG;YACH,GAAG;;;IAoCJ;;OAEG;;;;;;;;;;;;EAED,CAAC;eAEW,MAAM"}
1
+ {"version":3,"file":"colors-values.d.ts","sourceRoot":"","sources":["../../src/utils/colors-values.js"],"names":[],"mappings":"AA0FA,eAAO,MAAM,MAAM;IAClB;;;;OAIG;;;;QA1EH,+CAA+C;;QAE/C,yDAAyD;;;QAGzD,6BAA6B;;QAE7B,wCAAwC;;QAExC,uCAAuC;;;IAmEvC;;OAEG;;;;;;;IAGH;;;;OAIG;;;;;QAtDH,kDAAkD;;;;QAMlD,sDAAsD;;;YAIrD,yDAAyD;YACzD,GAAG;YACH,GAAG;YACH,GAAG;YACH,GAAG;YACH,GAAG;YACH,GAAG;YACH,GAAG;YACH,GAAG;;;IAsCJ;;OAEG;;;;;;;;;;;;EAED,CAAC;eAEW,MAAM"}
@@ -1 +1 @@
1
- {"version":3,"file":"dropdown-motion.d.ts","sourceRoot":"","sources":["../../src/utils/dropdown-motion.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,eAAe;;;;QAI1B,QAAQ;QACR,IAAI;;;;QAIJ,QAAQ;;EAEP,CAAC;AAeJ,eAAO,MAAM,mBAAmB;;;;;;EAM7B,CAAC"}
1
+ {"version":3,"file":"dropdown-motion.d.ts","sourceRoot":"","sources":["../../src/utils/dropdown-motion.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,eAAe;;;;QAI1B,QAAQ;QACR,IAAI;;;;QAIJ,QAAQ;;EAEP,CAAC;AAiBJ,eAAO,MAAM,mBAAmB;;;;;;EAM7B,CAAC"}
@@ -10,7 +10,7 @@ export declare const ValidatedComboboxControl: import("react").ForwardRefExoticC
10
10
  messages?: {
11
11
  selected: string;
12
12
  };
13
- onChange?: (value: string | null | undefined) => void;
13
+ onChange?: (value: import("../../combobox-control/types").ComboboxControlProps['value']) => void;
14
14
  onFilterValueChange?: (value: string) => void;
15
15
  options: import("../../combobox-control/types").ComboboxControlOption[];
16
16
  value?: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/components",
3
- "version": "35.0.1",
3
+ "version": "35.1.1-next.v.202606191442.0+17fe7db8a",
4
4
  "description": "UI components for WordPress.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -50,7 +50,7 @@
50
50
  "src/**/*.scss"
51
51
  ],
52
52
  "dependencies": {
53
- "@ariakit/react": "^0.4.21",
53
+ "@ariakit/react": "^0.4.29",
54
54
  "@date-fns/utc": "^2.1.1",
55
55
  "@emotion/cache": "^11.14.0",
56
56
  "@emotion/css": "^11.13.5",
@@ -61,28 +61,27 @@
61
61
  "@floating-ui/react-dom": "^2.0.8",
62
62
  "@types/gradient-parser": "^1.1.0",
63
63
  "@types/highlight-words-core": "^1.2.1",
64
- "@types/react": "^18.3.27",
65
64
  "@use-gesture/react": "^10.3.1",
66
- "@wordpress/a11y": "^4.48.1",
67
- "@wordpress/base-styles": "^10.0.1",
68
- "@wordpress/compose": "^8.1.1",
69
- "@wordpress/date": "^5.48.1",
70
- "@wordpress/deprecated": "^4.48.1",
71
- "@wordpress/dom": "^4.48.1",
72
- "@wordpress/element": "^8.0.1",
73
- "@wordpress/escape-html": "^3.48.1",
74
- "@wordpress/hooks": "^4.48.1",
75
- "@wordpress/html-entities": "^4.48.1",
76
- "@wordpress/i18n": "^6.21.1",
77
- "@wordpress/icons": "^14.0.1",
78
- "@wordpress/is-shallow-equal": "^5.48.1",
79
- "@wordpress/keycodes": "^4.48.1",
80
- "@wordpress/primitives": "^4.48.1",
81
- "@wordpress/private-apis": "^1.48.1",
82
- "@wordpress/rich-text": "^7.48.1",
83
- "@wordpress/style-runtime": "^0.4.1",
84
- "@wordpress/ui": "^0.15.1",
85
- "@wordpress/warning": "^3.48.1",
65
+ "@wordpress/a11y": "^4.48.2-next.v.202606191442.0+17fe7db8a",
66
+ "@wordpress/base-styles": "^10.0.2-next.v.202606191442.0+17fe7db8a",
67
+ "@wordpress/compose": "^8.1.2-next.v.202606191442.0+17fe7db8a",
68
+ "@wordpress/date": "^5.48.2-next.v.202606191442.0+17fe7db8a",
69
+ "@wordpress/deprecated": "^4.48.2-next.v.202606191442.0+17fe7db8a",
70
+ "@wordpress/dom": "^4.48.2-next.v.202606191442.0+17fe7db8a",
71
+ "@wordpress/element": "^8.0.2-next.v.202606191442.0+17fe7db8a",
72
+ "@wordpress/escape-html": "^3.48.2-next.v.202606191442.0+17fe7db8a",
73
+ "@wordpress/hooks": "^4.48.2-next.v.202606191442.0+17fe7db8a",
74
+ "@wordpress/html-entities": "^4.48.2-next.v.202606191442.0+17fe7db8a",
75
+ "@wordpress/i18n": "^6.21.2-next.v.202606191442.0+17fe7db8a",
76
+ "@wordpress/icons": "^14.0.2-next.v.202606191442.0+17fe7db8a",
77
+ "@wordpress/is-shallow-equal": "^5.48.2-next.v.202606191442.0+17fe7db8a",
78
+ "@wordpress/keycodes": "^4.48.2-next.v.202606191442.0+17fe7db8a",
79
+ "@wordpress/primitives": "^4.48.2-next.v.202606191442.0+17fe7db8a",
80
+ "@wordpress/private-apis": "^1.48.2-next.v.202606191442.0+17fe7db8a",
81
+ "@wordpress/rich-text": "^7.48.2-next.v.202606191442.0+17fe7db8a",
82
+ "@wordpress/style-runtime": "^0.4.2-next.v.202606191442.0+17fe7db8a",
83
+ "@wordpress/ui": "^0.16.1-next.v.202606191442.0+17fe7db8a",
84
+ "@wordpress/warning": "^3.48.2-next.v.202606191442.0+17fe7db8a",
86
85
  "change-case": "^4.1.2",
87
86
  "clsx": "^2.1.1",
88
87
  "colord": "^2.9.3",
@@ -104,25 +103,32 @@
104
103
  },
105
104
  "devDependencies": {
106
105
  "@ariakit/test": "^0.4.13",
107
- "@storybook/addon-docs": "^10.2.8",
108
- "@storybook/react-vite": "^10.2.8",
106
+ "@storybook/addon-docs": "^10.4.3",
107
+ "@storybook/react-vite": "^10.4.3",
109
108
  "@testing-library/dom": "^10.4.1",
110
109
  "@testing-library/jest-dom": "^6.9.1",
111
110
  "@testing-library/react": "^16.3.2",
112
111
  "@testing-library/user-event": "^14.6.1",
113
112
  "@types/jest": "^29.5.14",
114
113
  "@types/react-dom": "^18.3.1",
115
- "@wordpress/jest-console": "^8.48.1",
114
+ "@wordpress/jest-console": "^8.48.2-next.v.202606191442.0+17fe7db8a",
115
+ "@wordpress/stylelint-tools": "file:../../tools/stylelint",
116
116
  "snapshot-diff": "^0.10.0",
117
- "storybook": "^10.2.8",
117
+ "storybook": "^10.4.3",
118
118
  "timezone-mock": "^1.3.6"
119
119
  },
120
120
  "peerDependencies": {
121
+ "@types/react": "^18.3.27",
121
122
  "react": "^18.0.0",
122
123
  "react-dom": "^18.0.0"
123
124
  },
125
+ "peerDependenciesMeta": {
126
+ "@types/react": {
127
+ "optional": true
128
+ }
129
+ },
124
130
  "publishConfig": {
125
131
  "access": "public"
126
132
  },
127
- "gitHead": "99df7432c5c7cb83ba41146fd1f57f3c19004305"
133
+ "gitHead": "1b6a19222df5a88f161880b5789efb3171d8f425"
128
134
  }
@@ -19,9 +19,9 @@ import type { AngleCircleProps } from './types';
19
19
 
20
20
  type UseDraggingArgumentType = Parameters< typeof useDragging >[ 0 ];
21
21
  type UseDraggingCallbackEvent =
22
- | Parameters< UseDraggingArgumentType[ 'onDragStart' ] >[ 0 ]
23
- | Parameters< UseDraggingArgumentType[ 'onDragMove' ] >[ 0 ]
24
- | Parameters< UseDraggingArgumentType[ 'onDragEnd' ] >[ 0 ];
22
+ | Parameters< NonNullable< UseDraggingArgumentType[ 'onDragStart' ] > >[ 0 ]
23
+ | Parameters< NonNullable< UseDraggingArgumentType[ 'onDragMove' ] > >[ 0 ]
24
+ | Parameters< NonNullable< UseDraggingArgumentType[ 'onDragEnd' ] > >[ 0 ];
25
25
 
26
26
  function AngleCircle( {
27
27
  value,
@@ -30,7 +30,7 @@ const MyCustomTextareaControl = ({ children, ...baseProps }) => (
30
30
 
31
31
  ### `as`
32
32
 
33
- - Type: `"symbol" | "object" | "label" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | ... 516 more ... | ("view" & FunctionComponent<...>)`
33
+ - Type: `"symbol" | "object" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | ... 516 more ... | ("view" & FunctionComponent<...>)`
34
34
  - Required: No
35
35
 
36
36
  The HTML element or React component to render the component as.
@@ -107,7 +107,7 @@ const MyBaseControl = () => (
107
107
 
108
108
  ##### `as`
109
109
 
110
- - Type: `"symbol" | "object" | "label" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | ...`
110
+ - Type: `"symbol" | "object" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | ...`
111
111
  - Required: No
112
112
 
113
113
  The HTML element or React component to render the component as.
@@ -45,6 +45,7 @@ export const StyledHelp = styled.p`
45
45
  font-size: ${ font( 'helpText.fontSize' ) };
46
46
  font-style: normal;
47
47
  color: ${ COLORS.gray[ 700 ] };
48
+ text-wrap: pretty;
48
49
  `;
49
50
 
50
51
  export const StyledVisualLabel = styled.span`
@@ -84,6 +84,7 @@ export const colorIndicatorBorder = ( border?: Border ) => {
84
84
  const { color, style } = border || {};
85
85
 
86
86
  const fallbackColor =
87
+ // TODO: should use the `stroke-interactive-neutral` WPDS token when refactored to SCSS modules
87
88
  !! style && style !== 'none' ? COLORS.gray[ 300 ] : undefined;
88
89
 
89
90
  return css`
@@ -104,7 +104,7 @@ function useDeprecatedProps( {
104
104
  * );
105
105
  * ```
106
106
  */
107
- export function UnforwardedButton(
107
+ export const Button = forwardRef( function UnforwardedButton(
108
108
  props: ButtonProps & DeprecatedButtonProps,
109
109
  ref: ForwardedRef< any >
110
110
  ) {
@@ -301,8 +301,6 @@ export function UnforwardedButton(
301
301
  ) }
302
302
  </>
303
303
  );
304
- }
304
+ } );
305
305
 
306
- export const Button = forwardRef( UnforwardedButton );
307
- Button.displayName = 'Button';
308
306
  export default Button;
@@ -153,7 +153,7 @@
153
153
  &:disabled:not(:focus),
154
154
  &[aria-disabled="true"]:not(:focus),
155
155
  &[aria-disabled="true"]:hover:not(:focus) {
156
- box-shadow: inset 0 0 0 $border-width $gray-300;
156
+ box-shadow: inset 0 0 0 $border-width var(--wpds-color-stroke-interactive-neutral-disabled);
157
157
  }
158
158
 
159
159
  &:focus:not(:active) {
@@ -321,14 +321,14 @@
321
321
  }
322
322
 
323
323
  &.is-small {
324
- height: $button-size-small;
324
+ height: var(--wpds-dimension-size-sm);
325
325
  line-height: 22px;
326
326
  padding: 0 8px;
327
327
  font-size: 11px;
328
328
 
329
329
  &.has-icon:not(.has-text) {
330
330
  padding: 0;
331
- min-width: $button-size-small;
331
+ min-width: var(--wpds-dimension-size-sm);
332
332
  }
333
333
  }
334
334