@wordpress/components 25.1.10 → 25.1.11

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 (236) hide show
  1. package/build-types/alignment-matrix-control/stories/index.story.d.ts +15 -0
  2. package/build-types/alignment-matrix-control/stories/index.story.d.ts.map +1 -0
  3. package/build-types/angle-picker-control/stories/index.story.d.ts +15 -0
  4. package/build-types/angle-picker-control/stories/index.story.d.ts.map +1 -0
  5. package/build-types/animate/stories/index.story.d.ts +18 -0
  6. package/build-types/animate/stories/index.story.d.ts.map +1 -0
  7. package/build-types/base-control/stories/index.story.d.ts +21 -0
  8. package/build-types/base-control/stories/index.story.d.ts.map +1 -0
  9. package/build-types/base-field/hook.d.ts +270 -0
  10. package/build-types/base-field/hook.d.ts.map +1 -0
  11. package/build-types/base-field/index.d.ts +2 -0
  12. package/build-types/base-field/index.d.ts.map +1 -0
  13. package/build-types/base-field/styles.d.ts +6 -0
  14. package/build-types/base-field/styles.d.ts.map +1 -0
  15. package/build-types/base-field/test/index.d.ts +2 -0
  16. package/build-types/base-field/test/index.d.ts.map +1 -0
  17. package/build-types/base-field/types.d.ts +29 -0
  18. package/build-types/base-field/types.d.ts.map +1 -0
  19. package/build-types/border-box-control/stories/index.story.d.ts +17 -0
  20. package/build-types/border-box-control/stories/index.story.d.ts.map +1 -0
  21. package/build-types/border-control/stories/index.story.d.ts +119 -0
  22. package/build-types/border-control/stories/index.story.d.ts.map +1 -0
  23. package/build-types/button/stories/e2e/index.story.d.ts +15 -0
  24. package/build-types/button/stories/e2e/index.story.d.ts.map +1 -0
  25. package/build-types/button/stories/index.story.d.ts +21 -0
  26. package/build-types/button/stories/index.story.d.ts.map +1 -0
  27. package/build-types/button-group/stories/index.story.d.ts +12 -0
  28. package/build-types/button-group/stories/index.story.d.ts.map +1 -0
  29. package/build-types/card/stories/index.story.d.ts +36 -0
  30. package/build-types/card/stories/index.story.d.ts.map +1 -0
  31. package/build-types/checkbox-control/stories/index.story.d.ts +13 -0
  32. package/build-types/checkbox-control/stories/index.story.d.ts.map +1 -0
  33. package/build-types/circular-option-picker/stories/index.story.d.ts +14 -0
  34. package/build-types/circular-option-picker/stories/index.story.d.ts.map +1 -0
  35. package/build-types/color-indicator/stories/index.story.d.ts +12 -0
  36. package/build-types/color-indicator/stories/index.story.d.ts.map +1 -0
  37. package/build-types/color-list-picker/index.d.ts +5 -0
  38. package/build-types/color-list-picker/index.d.ts.map +1 -0
  39. package/build-types/color-list-picker/types.d.ts +42 -0
  40. package/build-types/color-list-picker/types.d.ts.map +1 -0
  41. package/build-types/color-palette/stories/index.story.d.ts +13 -0
  42. package/build-types/color-palette/stories/index.story.d.ts.map +1 -0
  43. package/build-types/color-picker/stories/index.story.d.ts +19 -0
  44. package/build-types/color-picker/stories/index.story.d.ts.map +1 -0
  45. package/build-types/combobox-control/stories/index.story.d.ts +47 -0
  46. package/build-types/combobox-control/stories/index.story.d.ts.map +1 -0
  47. package/build-types/custom-gradient-picker/stories/index.story.d.ts +12 -0
  48. package/build-types/custom-gradient-picker/stories/index.story.d.ts.map +1 -0
  49. package/build-types/date-time/stories/date-time.story.d.ts +14 -0
  50. package/build-types/date-time/stories/date-time.story.d.ts.map +1 -0
  51. package/build-types/date-time/stories/date.story.d.ts +14 -0
  52. package/build-types/date-time/stories/date.story.d.ts.map +1 -0
  53. package/build-types/date-time/stories/time.story.d.ts +12 -0
  54. package/build-types/date-time/stories/time.story.d.ts.map +1 -0
  55. package/build-types/dimension-control/stories/index.story.d.ts +4 -0
  56. package/build-types/dimension-control/stories/index.story.d.ts.map +1 -0
  57. package/build-types/disabled/stories/index.story.d.ts +13 -0
  58. package/build-types/disabled/stories/index.story.d.ts.map +1 -0
  59. package/build-types/divider/stories/index.story.d.ts +11 -0
  60. package/build-types/divider/stories/index.story.d.ts.map +1 -0
  61. package/build-types/draggable/stories/index.story.d.ts +20 -0
  62. package/build-types/draggable/stories/index.story.d.ts.map +1 -0
  63. package/build-types/drop-zone/stories/index.story.d.ts +13 -0
  64. package/build-types/drop-zone/stories/index.story.d.ts.map +1 -0
  65. package/build-types/dropdown/stories/index.story.d.ts +24 -0
  66. package/build-types/dropdown/stories/index.story.d.ts.map +1 -0
  67. package/build-types/dropdown-menu/stories/index.story.d.ts +14 -0
  68. package/build-types/dropdown-menu/stories/index.story.d.ts.map +1 -0
  69. package/build-types/dropdown-menu-v2/stories/index.story.d.ts +11 -0
  70. package/build-types/dropdown-menu-v2/stories/index.story.d.ts.map +1 -0
  71. package/build-types/duotone-picker/stories/duotone-picker.story.d.ts +13 -0
  72. package/build-types/duotone-picker/stories/duotone-picker.story.d.ts.map +1 -0
  73. package/build-types/duotone-picker/stories/duotone-swatch.story.d.ts +14 -0
  74. package/build-types/duotone-picker/stories/duotone-swatch.story.d.ts.map +1 -0
  75. package/build-types/elevation/stories/index.story.d.ts +22 -0
  76. package/build-types/elevation/stories/index.story.d.ts.map +1 -0
  77. package/build-types/external-link/stories/index.story.d.ts +12 -0
  78. package/build-types/external-link/stories/index.story.d.ts.map +1 -0
  79. package/build-types/flex/stories/index.story.d.ts +13 -0
  80. package/build-types/flex/stories/index.story.d.ts.map +1 -0
  81. package/build-types/focal-point-picker/stories/index.story.d.ts +56 -0
  82. package/build-types/focal-point-picker/stories/index.story.d.ts.map +1 -0
  83. package/build-types/font-size-picker/stories/e2e/index.story.d.ts +16 -0
  84. package/build-types/font-size-picker/stories/e2e/index.story.d.ts.map +1 -0
  85. package/build-types/font-size-picker/stories/index.story.d.ts +31 -0
  86. package/build-types/font-size-picker/stories/index.story.d.ts.map +1 -0
  87. package/build-types/form-file-upload/stories/index.story.d.ts +24 -0
  88. package/build-types/form-file-upload/stories/index.story.d.ts.map +1 -0
  89. package/build-types/form-toggle/stories/index.story.d.ts +12 -0
  90. package/build-types/form-toggle/stories/index.story.d.ts.map +1 -0
  91. package/build-types/form-token-field/stories/index.story.d.ts +26 -0
  92. package/build-types/form-token-field/stories/index.story.d.ts.map +1 -0
  93. package/build-types/gradient-picker/stories/index.story.d.ts +14 -0
  94. package/build-types/gradient-picker/stories/index.story.d.ts.map +1 -0
  95. package/build-types/grid/stories/index.story.d.ts +9 -0
  96. package/build-types/grid/stories/index.story.d.ts.map +1 -0
  97. package/build-types/guide/stories/index.story.d.ts +9 -0
  98. package/build-types/guide/stories/index.story.d.ts.map +1 -0
  99. package/build-types/h-stack/stories/e2e/index.story.d.ts +9 -0
  100. package/build-types/h-stack/stories/e2e/index.story.d.ts.map +1 -0
  101. package/build-types/h-stack/stories/index.story.d.ts +9 -0
  102. package/build-types/h-stack/stories/index.story.d.ts.map +1 -0
  103. package/build-types/heading/stories/index.story.d.ts +12 -0
  104. package/build-types/heading/stories/index.story.d.ts.map +1 -0
  105. package/build-types/icon/stories/index.story.d.ts +22 -0
  106. package/build-types/icon/stories/index.story.d.ts.map +1 -0
  107. package/build-types/input-control/stories/index.story.d.ts +28 -0
  108. package/build-types/input-control/stories/index.story.d.ts.map +1 -0
  109. package/build-types/item-group/stories/index.story.d.ts +15 -0
  110. package/build-types/item-group/stories/index.story.d.ts.map +1 -0
  111. package/build-types/keyboard-shortcuts/stories/index.story.d.ts +12 -0
  112. package/build-types/keyboard-shortcuts/stories/index.story.d.ts.map +1 -0
  113. package/build-types/menu-group/stories/index.d.ts +17 -0
  114. package/build-types/menu-group/stories/index.d.ts.map +1 -0
  115. package/build-types/menu-group/stories/index.story.d.ts +17 -0
  116. package/build-types/menu-group/stories/index.story.d.ts.map +1 -0
  117. package/build-types/menu-item/stories/index.story.d.ts +74 -0
  118. package/build-types/menu-item/stories/index.story.d.ts.map +1 -0
  119. package/build-types/menu-item/types.d.ts +63 -0
  120. package/build-types/menu-item/types.d.ts.map +1 -0
  121. package/build-types/menu-items-choice/stories/index.story.d.ts +12 -0
  122. package/build-types/menu-items-choice/stories/index.story.d.ts.map +1 -0
  123. package/build-types/modal/stories/index.story.d.ts +10 -0
  124. package/build-types/modal/stories/index.story.d.ts.map +1 -0
  125. package/build-types/navigable-container/stories/navigable-menu.story.d.ts +12 -0
  126. package/build-types/navigable-container/stories/navigable-menu.story.d.ts.map +1 -0
  127. package/build-types/navigable-container/stories/tabbable-container.story.d.ts +12 -0
  128. package/build-types/navigable-container/stories/tabbable-container.story.d.ts.map +1 -0
  129. package/build-types/navigation/stories/index.story.d.ts +18 -0
  130. package/build-types/navigation/stories/index.story.d.ts.map +1 -0
  131. package/build-types/navigator/stories/index.story.d.ts +11 -0
  132. package/build-types/navigator/stories/index.story.d.ts.map +1 -0
  133. package/build-types/notice/stories/index.story.d.ts +17 -0
  134. package/build-types/notice/stories/index.story.d.ts.map +1 -0
  135. package/build-types/number-control/stories/index.story.d.ts +26 -0
  136. package/build-types/number-control/stories/index.story.d.ts.map +1 -0
  137. package/build-types/palette-edit/stories/index.story.d.ts +13 -0
  138. package/build-types/palette-edit/stories/index.story.d.ts.map +1 -0
  139. package/build-types/panel/stories/index.story.d.ts +19 -0
  140. package/build-types/panel/stories/index.story.d.ts.map +1 -0
  141. package/build-types/placeholder/stories/index.story.d.ts +12 -0
  142. package/build-types/placeholder/stories/index.story.d.ts.map +1 -0
  143. package/build-types/popover/stories/e2e/index.story.d.ts +8 -0
  144. package/build-types/popover/stories/e2e/index.story.d.ts.map +1 -0
  145. package/build-types/popover/stories/index.story.d.ts +13 -0
  146. package/build-types/popover/stories/index.story.d.ts.map +1 -0
  147. package/build-types/popover/test/utils/index.d.ts +7 -0
  148. package/build-types/popover/test/utils/index.d.ts.map +1 -0
  149. package/build-types/progress-bar/index.d.ts +5 -0
  150. package/build-types/progress-bar/index.d.ts.map +1 -0
  151. package/build-types/progress-bar/stories/index.d.ts +12 -0
  152. package/build-types/progress-bar/stories/index.d.ts.map +1 -0
  153. package/build-types/progress-bar/stories/index.story.d.ts +12 -0
  154. package/build-types/progress-bar/stories/index.story.d.ts.map +1 -0
  155. package/build-types/progress-bar/styles.d.ts +18 -0
  156. package/build-types/progress-bar/styles.d.ts.map +1 -0
  157. package/build-types/progress-bar/test/index.d.ts +2 -0
  158. package/build-types/progress-bar/test/index.d.ts.map +1 -0
  159. package/build-types/progress-bar/types.d.ts +11 -0
  160. package/build-types/progress-bar/types.d.ts.map +1 -0
  161. package/build-types/query-controls/stories/index.story.d.ts +13 -0
  162. package/build-types/query-controls/stories/index.story.d.ts.map +1 -0
  163. package/build-types/radio-control/stories/index.story.d.ts +12 -0
  164. package/build-types/radio-control/stories/index.story.d.ts.map +1 -0
  165. package/build-types/range-control/stories/index.story.d.ts +48 -0
  166. package/build-types/range-control/stories/index.story.d.ts.map +1 -0
  167. package/build-types/resizable-box/stories/index.story.d.ts +61 -0
  168. package/build-types/resizable-box/stories/index.story.d.ts.map +1 -0
  169. package/build-types/resizable-box/styles/resizable-box.styles.d.ts +1 -0
  170. package/build-types/resizable-box/styles/resizable-box.styles.d.ts.map +1 -0
  171. package/build-types/responsive-wrapper/stories/index.story.d.ts +22 -0
  172. package/build-types/responsive-wrapper/stories/index.story.d.ts.map +1 -0
  173. package/build-types/sandbox/stories/index.story.d.ts +12 -0
  174. package/build-types/sandbox/stories/index.story.d.ts.map +1 -0
  175. package/build-types/scroll-lock/stories/index.story.d.ts +9 -0
  176. package/build-types/scroll-lock/stories/index.story.d.ts.map +1 -0
  177. package/build-types/scrollable/stories/index.story.d.ts +9 -0
  178. package/build-types/scrollable/stories/index.story.d.ts.map +1 -0
  179. package/build-types/search-control/stories/index.story.d.ts +33 -0
  180. package/build-types/search-control/stories/index.story.d.ts.map +1 -0
  181. package/build-types/select-control/stories/index.story.d.ts +19 -0
  182. package/build-types/select-control/stories/index.story.d.ts.map +1 -0
  183. package/build-types/shortcut/stories/index.story.d.ts +13 -0
  184. package/build-types/shortcut/stories/index.story.d.ts.map +1 -0
  185. package/build-types/snackbar/stories/index.story.d.ts +16 -0
  186. package/build-types/snackbar/stories/index.story.d.ts.map +1 -0
  187. package/build-types/snackbar/stories/list.story.d.ts +12 -0
  188. package/build-types/snackbar/stories/list.story.d.ts.map +1 -0
  189. package/build-types/spacer/stories/index.story.d.ts +12 -0
  190. package/build-types/spacer/stories/index.story.d.ts.map +1 -0
  191. package/build-types/spinner/stories/index.story.d.ts +13 -0
  192. package/build-types/spinner/stories/index.story.d.ts.map +1 -0
  193. package/build-types/surface/stories/index.story.d.ts +12 -0
  194. package/build-types/surface/stories/index.story.d.ts.map +1 -0
  195. package/build-types/tab-panel/stories/index.story.d.ts +16 -0
  196. package/build-types/tab-panel/stories/index.story.d.ts.map +1 -0
  197. package/build-types/text-control/stories/index.story.d.ts +13 -0
  198. package/build-types/text-control/stories/index.story.d.ts.map +1 -0
  199. package/build-types/text-control/test/text-control.d.ts +2 -0
  200. package/build-types/text-control/test/text-control.d.ts.map +1 -0
  201. package/build-types/text-highlight/stories/index.story.d.ts +12 -0
  202. package/build-types/text-highlight/stories/index.story.d.ts.map +1 -0
  203. package/build-types/textarea-control/stories/index.story.d.ts +12 -0
  204. package/build-types/textarea-control/stories/index.story.d.ts.map +1 -0
  205. package/build-types/theme/stories/index.story.d.ts +22 -0
  206. package/build-types/theme/stories/index.story.d.ts.map +1 -0
  207. package/build-types/tip/stories/index.story.d.ts +12 -0
  208. package/build-types/tip/stories/index.story.d.ts.map +1 -0
  209. package/build-types/toggle-control/stories/index.story.d.ts +22 -0
  210. package/build-types/toggle-control/stories/index.story.d.ts.map +1 -0
  211. package/build-types/toggle-group-control/stories/index.story.d.ts +27 -0
  212. package/build-types/toggle-group-control/stories/index.story.d.ts.map +1 -0
  213. package/build-types/toolbar/stories/index.story.d.ts +14 -0
  214. package/build-types/toolbar/stories/index.story.d.ts.map +1 -0
  215. package/build-types/tools-panel/stories/index.story.d.ts +17 -0
  216. package/build-types/tools-panel/stories/index.story.d.ts.map +1 -0
  217. package/build-types/tree-grid/stories/index.story.d.ts +13 -0
  218. package/build-types/tree-grid/stories/index.story.d.ts.map +1 -0
  219. package/build-types/tree-select/stories/index.story.d.ts +12 -0
  220. package/build-types/tree-select/stories/index.story.d.ts.map +1 -0
  221. package/build-types/truncate/stories/index.story.d.ts +13 -0
  222. package/build-types/truncate/stories/index.story.d.ts.map +1 -0
  223. package/build-types/unit-control/stories/index.story.d.ts +33 -0
  224. package/build-types/unit-control/stories/index.story.d.ts.map +1 -0
  225. package/build-types/v-stack/stories/e2e/index.story.d.ts +9 -0
  226. package/build-types/v-stack/stories/e2e/index.story.d.ts.map +1 -0
  227. package/build-types/v-stack/stories/index.story.d.ts +15 -0
  228. package/build-types/v-stack/stories/index.story.d.ts.map +1 -0
  229. package/build-types/view/stories/index.story.d.ts +12 -0
  230. package/build-types/view/stories/index.story.d.ts.map +1 -0
  231. package/build-types/visually-hidden/stories/index.story.d.ts +14 -0
  232. package/build-types/visually-hidden/stories/index.story.d.ts.map +1 -0
  233. package/build-types/z-stack/stories/index.story.d.ts +6 -0
  234. package/build-types/z-stack/stories/index.story.d.ts.map +1 -0
  235. package/package.json +3 -3
  236. package/tsconfig.tsbuildinfo +1 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/external-link/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAEtD;;GAEG;AACH,OAAO,YAAY,MAAM,IAAI,CAAC;AAE9B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,YAAY,CAYpC,CAAC;AACF,eAAe,IAAI,CAAC;AAMpB,eAAO,MAAM,OAAO,EAAE,OAAO,CAAE,OAAO,YAAY,CAAwB,CAAC"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * External dependencies
3
+ */
4
+ import type { Meta, StoryFn } from '@storybook/react';
5
+ /**
6
+ * Internal dependencies
7
+ */
8
+ import { Flex } from '../';
9
+ declare const meta: Meta<typeof Flex>;
10
+ export default meta;
11
+ export declare const Default: StoryFn<typeof Flex>;
12
+ export declare const ResponsiveDirection: StoryFn<typeof Flex>;
13
+ //# sourceMappingURL=index.story.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/flex/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAEtD;;GAEG;AACH,OAAO,EAAE,IAAI,EAAuB,MAAM,KAAK,CAAC;AAGhD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,IAAI,CAwB5B,CAAC;AACF,eAAe,IAAI,CAAC;AAMpB,eAAO,MAAM,OAAO,EAAE,OAAO,CAAE,OAAO,IAAI,CAczC,CAAC;AAGF,eAAO,MAAM,mBAAmB,EAAE,OAAO,CAAE,OAAO,IAAI,CAiBrD,CAAC"}
@@ -0,0 +1,56 @@
1
+ /// <reference types="react" />
2
+ /**
3
+ * External dependencies
4
+ */
5
+ import type { Meta } from '@storybook/react';
6
+ /**
7
+ * Internal dependencies
8
+ */
9
+ import FocalPointPicker from '..';
10
+ declare const meta: Meta<typeof FocalPointPicker>;
11
+ export default meta;
12
+ export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, Pick<import("../../base-control/types").BaseControlProps, "help" | "label" | "hideLabelFromVision"> & {
13
+ __nextHasNoMarginBottom?: boolean | undefined;
14
+ autoPlay?: boolean | undefined;
15
+ onChange: (value: import("../types").FocalPoint) => void;
16
+ onDrag?: ((value: import("../types").FocalPoint, event: MouseEvent) => void) | undefined;
17
+ onDragEnd?: (() => void) | undefined;
18
+ onDragStart?: ((value: import("../types").FocalPoint, event: import("react").MouseEvent<Element, MouseEvent>) => void) | undefined;
19
+ resolvePoint?: ((point: import("../types").FocalPoint) => import("../types").FocalPoint) | undefined;
20
+ url: string;
21
+ value: import("../types").FocalPoint;
22
+ } & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>>, "onChange" | "value" | "help" | "children" | "label" | "as" | "onDrag" | "onDragEnd" | "onDragStart" | "url" | "autoPlay" | "hideLabelFromVision" | "__nextHasNoMarginBottom" | "resolvePoint">>;
23
+ export declare const Image: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, Pick<import("../../base-control/types").BaseControlProps, "help" | "label" | "hideLabelFromVision"> & {
24
+ __nextHasNoMarginBottom?: boolean | undefined;
25
+ autoPlay?: boolean | undefined;
26
+ onChange: (value: import("../types").FocalPoint) => void;
27
+ onDrag?: ((value: import("../types").FocalPoint, event: MouseEvent) => void) | undefined;
28
+ onDragEnd?: (() => void) | undefined;
29
+ onDragStart?: ((value: import("../types").FocalPoint, event: import("react").MouseEvent<Element, MouseEvent>) => void) | undefined;
30
+ resolvePoint?: ((point: import("../types").FocalPoint) => import("../types").FocalPoint) | undefined;
31
+ url: string;
32
+ value: import("../types").FocalPoint;
33
+ } & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>>, "onChange" | "value" | "help" | "children" | "label" | "as" | "onDrag" | "onDragEnd" | "onDragStart" | "url" | "autoPlay" | "hideLabelFromVision" | "__nextHasNoMarginBottom" | "resolvePoint">>;
34
+ export declare const Video: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, Pick<import("../../base-control/types").BaseControlProps, "help" | "label" | "hideLabelFromVision"> & {
35
+ __nextHasNoMarginBottom?: boolean | undefined;
36
+ autoPlay?: boolean | undefined;
37
+ onChange: (value: import("../types").FocalPoint) => void;
38
+ onDrag?: ((value: import("../types").FocalPoint, event: MouseEvent) => void) | undefined;
39
+ onDragEnd?: (() => void) | undefined;
40
+ onDragStart?: ((value: import("../types").FocalPoint, event: import("react").MouseEvent<Element, MouseEvent>) => void) | undefined;
41
+ resolvePoint?: ((point: import("../types").FocalPoint) => import("../types").FocalPoint) | undefined;
42
+ url: string;
43
+ value: import("../types").FocalPoint;
44
+ } & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>>, "onChange" | "value" | "help" | "children" | "label" | "as" | "onDrag" | "onDragEnd" | "onDragStart" | "url" | "autoPlay" | "hideLabelFromVision" | "__nextHasNoMarginBottom" | "resolvePoint">>;
45
+ export declare const Snapping: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, Pick<import("../../base-control/types").BaseControlProps, "help" | "label" | "hideLabelFromVision"> & {
46
+ __nextHasNoMarginBottom?: boolean | undefined;
47
+ autoPlay?: boolean | undefined;
48
+ onChange: (value: import("../types").FocalPoint) => void;
49
+ onDrag?: ((value: import("../types").FocalPoint, event: MouseEvent) => void) | undefined;
50
+ onDragEnd?: (() => void) | undefined;
51
+ onDragStart?: ((value: import("../types").FocalPoint, event: import("react").MouseEvent<Element, MouseEvent>) => void) | undefined;
52
+ resolvePoint?: ((point: import("../types").FocalPoint) => import("../types").FocalPoint) | undefined;
53
+ url: string;
54
+ value: import("../types").FocalPoint;
55
+ } & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>>, "onChange" | "value" | "help" | "children" | "label" | "as" | "onDrag" | "onDragEnd" | "onDragStart" | "url" | "autoPlay" | "hideLabelFromVision" | "__nextHasNoMarginBottom" | "resolvePoint">>;
56
+ //# sourceMappingURL=index.story.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/focal-point-picker/stories/index.story.tsx"],"names":[],"mappings":";AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAW,MAAM,kBAAkB,CAAC;AAMtD;;GAEG;AACH,OAAO,gBAAgB,MAAM,IAAI,CAAC;AAElC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,gBAAgB,CAYxC,CAAC;AACF,eAAe,IAAI,CAAC;AAuBpB,eAAO,MAAM,OAAO;;;;;;;;;;gXAAsB,CAAC;AAE3C,eAAO,MAAM,KAAK;;;;;;;;;;gXAAsB,CAAC;AAMzC,eAAO,MAAM,KAAK;;;;;;;;;;gXAAsB,CAAC;AAMzC,eAAO,MAAM,QAAQ;;;;;;;;;;gXAAsB,CAAC"}
@@ -0,0 +1,16 @@
1
+ /// <reference types="react" />
2
+ /**
3
+ * External dependencies
4
+ */
5
+ import type { StoryFn } from '@storybook/react';
6
+ /**
7
+ * Internal dependencies
8
+ */
9
+ import FontSizePicker from '../..';
10
+ declare const _default: {
11
+ title: string;
12
+ component: import("react").ForwardRefExoticComponent<import("../../types").FontSizePickerProps & import("react").RefAttributes<any>>;
13
+ };
14
+ export default _default;
15
+ export declare const Default: StoryFn<typeof FontSizePicker>;
16
+ //# sourceMappingURL=index.story.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../../src/font-size-picker/stories/e2e/index.story.tsx"],"names":[],"mappings":";AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAOhD;;GAEG;AACH,OAAO,cAAc,MAAM,OAAO,CAAC;;;;;AAEnC,wBAGE;AAgBF,eAAO,MAAM,OAAO,EAAE,OAAO,CAAE,OAAO,cAAc,CACjB,CAAC"}
@@ -0,0 +1,31 @@
1
+ /**
2
+ * External dependencies
3
+ */
4
+ import type { Meta, StoryFn } from '@storybook/react';
5
+ /**
6
+ * Internal dependencies
7
+ */
8
+ import FontSizePicker from '../';
9
+ declare const meta: Meta<typeof FontSizePicker>;
10
+ export default meta;
11
+ export declare const Default: StoryFn<typeof FontSizePicker>;
12
+ export declare const WithSlider: StoryFn<typeof FontSizePicker>;
13
+ /**
14
+ * With custom font sizes disabled via the `disableCustomFontSizes` prop, the user will
15
+ * only be able to pick one of the predefined sizes passed in `fontSizes`.
16
+ */
17
+ export declare const WithCustomSizesDisabled: StoryFn<typeof FontSizePicker>;
18
+ /**
19
+ * When there are more than 5 font size options, the UI is no longer a toggle group.
20
+ */
21
+ export declare const WithMoreFontSizes: StoryFn<typeof FontSizePicker>;
22
+ /**
23
+ * When units like `px` are specified explicitly, it will be shown as a label hint.
24
+ */
25
+ export declare const WithUnits: StoryFn<typeof FontSizePicker>;
26
+ /**
27
+ * The label hint will not be shown if it is a complex CSS value. Some examples of complex CSS values
28
+ * in this context are CSS functions like `calc()`, `clamp()`, and `var()`.
29
+ */
30
+ export declare const WithComplexCSSValues: StoryFn<typeof FontSizePicker>;
31
+ //# sourceMappingURL=index.story.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/font-size-picker/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAOtD;;GAEG;AACH,OAAO,cAAc,MAAM,KAAK,CAAC;AAEjC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,cAAc,CAWtC,CAAC;AACF,eAAe,IAAI,CAAC;AAsCpB,eAAO,MAAM,OAAO,EAAE,OAAO,CAAE,OAAO,cAAc,CACjB,CAAC;AA0BpC,eAAO,MAAM,UAAU,EAAE,OAAO,CAAE,OAAO,cAAc,CACpB,CAAC;AAQpC;;;GAGG;AACH,eAAO,MAAM,uBAAuB,EAAE,OAAO,CAAE,OAAO,cAAc,CACjC,CAAC;AAMpC;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,OAAO,CAAE,OAAO,cAAc,CAC3B,CAAC;AAsCpC;;GAEG;AACH,eAAO,MAAM,SAAS,EAAE,OAAO,CAAE,OAAO,cAAc,CACf,CAAC;AAUxC;;;GAGG;AACH,eAAO,MAAM,oBAAoB,EAAE,OAAO,CAAE,OAAO,cAAc,CAC1B,CAAC"}
@@ -0,0 +1,24 @@
1
+ /// <reference types="react" />
2
+ /**
3
+ * External dependencies
4
+ */
5
+ import type { Meta } from '@storybook/react';
6
+ /**
7
+ * Internal dependencies
8
+ */
9
+ import FormFileUpload from '..';
10
+ declare const meta: Meta<typeof FormFileUpload>;
11
+ export default meta;
12
+ export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../types").FormFileUploadProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "key" | keyof import("react").ButtonHTMLAttributes<HTMLButtonElement>>, "as" | keyof import("../types").FormFileUploadProps>>;
13
+ export declare const RestrictFileTypes: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../types").FormFileUploadProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "key" | keyof import("react").ButtonHTMLAttributes<HTMLButtonElement>>, "as" | keyof import("../types").FormFileUploadProps>>;
14
+ export declare const AllowMultipleFiles: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../types").FormFileUploadProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "key" | keyof import("react").ButtonHTMLAttributes<HTMLButtonElement>>, "as" | keyof import("../types").FormFileUploadProps>>;
15
+ export declare const WithIcon: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../types").FormFileUploadProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "key" | keyof import("react").ButtonHTMLAttributes<HTMLButtonElement>>, "as" | keyof import("../types").FormFileUploadProps>>;
16
+ /**
17
+ * Render a custom trigger button by passing a render function to the `render` prop.
18
+ *
19
+ * ```jsx
20
+ * ( { openFileDialog } ) => <button onClick={ openFileDialog }>Custom Upload Button</button>
21
+ * ```
22
+ */
23
+ export declare const WithCustomRender: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../types").FormFileUploadProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "key" | keyof import("react").ButtonHTMLAttributes<HTMLButtonElement>>, "as" | keyof import("../types").FormFileUploadProps>>;
24
+ //# sourceMappingURL=index.story.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/form-file-upload/stories/index.story.tsx"],"names":[],"mappings":";AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAW,MAAM,kBAAkB,CAAC;AAOtD;;GAEG;AACH,OAAO,cAAc,MAAM,IAAI,CAAC;AAEhC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,cAAc,CAYtC,CAAC;AACF,eAAe,IAAI,CAAC;AAMpB,eAAO,MAAM,OAAO,+XAAsB,CAAC;AAK3C,eAAO,MAAM,iBAAiB,+XAAsB,CAAC;AAOrD,eAAO,MAAM,kBAAkB,+XAAsB,CAAC;AAOtD,eAAO,MAAM,QAAQ,+XAAsB,CAAC;AAO5C;;;;;;GAMG;AACH,eAAO,MAAM,gBAAgB,+XAAsB,CAAC"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * External dependencies
3
+ */
4
+ import type { Meta, StoryFn } from '@storybook/react';
5
+ /**
6
+ * Internal dependencies
7
+ */
8
+ import { FormToggle } from '..';
9
+ declare const meta: Meta<typeof FormToggle>;
10
+ export default meta;
11
+ export declare const Default: StoryFn<typeof FormToggle>;
12
+ //# sourceMappingURL=index.story.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/form-toggle/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAOtD;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AAEhC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,UAAU,CAclC,CAAC;AACF,eAAe,IAAI,CAAC;AAiBpB,eAAO,MAAM,OAAO,EAAE,OAAO,CAAE,OAAO,UAAU,CAAwB,CAAC"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * External dependencies
3
+ */
4
+ import type { Meta, StoryFn } from '@storybook/react';
5
+ /**
6
+ * Internal dependencies
7
+ */
8
+ import FormTokenField from '../';
9
+ declare const meta: Meta<typeof FormTokenField>;
10
+ export default meta;
11
+ export declare const Default: StoryFn<typeof FormTokenField>;
12
+ export declare const Async: StoryFn<typeof FormTokenField>;
13
+ export declare const DropdownSelector: StoryFn<typeof FormTokenField>;
14
+ /**
15
+ * The rendered output of each suggestion can be customized by passing a
16
+ * render function to the `__experimentalRenderItem` prop. (This is still an experimental feature
17
+ * and is subject to change.)
18
+ */
19
+ export declare const WithCustomRenderItem: StoryFn<typeof FormTokenField>;
20
+ /**
21
+ * Only values for which the `__experimentalValidateInput` function returns
22
+ * `true` will be tokenized. (This is still an experimental feature and is
23
+ * subject to change.)
24
+ */
25
+ export declare const WithValidatedInput: StoryFn<typeof FormTokenField>;
26
+ //# sourceMappingURL=index.story.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/form-token-field/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAOtD;;GAEG;AACH,OAAO,cAAc,MAAM,KAAK,CAAC;AAEjC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,cAAc,CAiBtC,CAAC;AACF,eAAe,IAAI,CAAC;AAyBpB,eAAO,MAAM,OAAO,EAAE,OAAO,CAAE,OAAO,cAAc,CAEnD,CAAC;AAMF,eAAO,MAAM,KAAK,EAAE,OAAO,CAAE,OAAO,cAAc,CA+BjD,CAAC;AAMF,eAAO,MAAM,gBAAgB,EAAE,OAAO,CAAE,OAAO,cAAc,CAClC,CAAC;AAO5B;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,EAAE,OAAO,CAAE,OAAO,cAAc,CACtC,CAAC;AAQ5B;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,EAAE,OAAO,CAAE,OAAO,cAAc,CACpC,CAAC"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * External dependencies
3
+ */
4
+ import type { Meta } from '@storybook/react';
5
+ /**
6
+ * Internal dependencies
7
+ */
8
+ import GradientPicker from '..';
9
+ declare const meta: Meta<typeof GradientPicker>;
10
+ export default meta;
11
+ export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../types").GradientPickerComponentProps>;
12
+ export declare const WithNoExistingGradients: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../types").GradientPickerComponentProps>;
13
+ export declare const MultipleOrigins: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../types").GradientPickerComponentProps>;
14
+ //# sourceMappingURL=index.story.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/gradient-picker/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAW,MAAM,kBAAkB,CAAC;AAMtD;;GAEG;AACH,OAAO,cAAc,MAAM,IAAI,CAAC;AAEhC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,cAAc,CAWtC,CAAC;AACF,eAAe,IAAI,CAAC;AA2DpB,eAAO,MAAM,OAAO,gJAAsB,CAAC;AAM3C,eAAO,MAAM,uBAAuB,gJAAsB,CAAC;AAM3D,eAAO,MAAM,eAAe,gJAAsB,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * External dependencies
3
+ */
4
+ import type { Meta, StoryFn } from '@storybook/react';
5
+ import { Grid } from '..';
6
+ declare const meta: Meta<typeof Grid>;
7
+ export default meta;
8
+ export declare const Default: StoryFn<typeof Grid>;
9
+ //# sourceMappingURL=index.story.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/grid/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAMtD,OAAO,EAAE,IAAI,EAAE,MAAM,IAAI,CAAC;AAE1B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,IAAI,CA2B5B,CAAC;AACF,eAAe,IAAI,CAAC;AA2BpB,eAAO,MAAM,OAAO,EAAE,OAAO,CAAE,OAAO,IAAI,CAAwB,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * External dependencies
3
+ */
4
+ import type { Meta } from '@storybook/react';
5
+ import Guide from '..';
6
+ declare const meta: Meta<typeof Guide>;
7
+ export default meta;
8
+ export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../types").GuideProps>;
9
+ //# sourceMappingURL=index.story.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/guide/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAW,MAAM,kBAAkB,CAAC;AAWtD,OAAO,KAAK,MAAM,IAAI,CAAC;AAEvB,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,KAAK,CAQ7B,CAAC;AACF,eAAe,IAAI,CAAC;AA0BpB,eAAO,MAAM,OAAO,8HAAsB,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * External dependencies
3
+ */
4
+ import type { StoryFn, Meta } from '@storybook/react';
5
+ import { HStack } from '../..';
6
+ declare const meta: Meta<typeof HStack>;
7
+ export default meta;
8
+ export declare const Default: StoryFn<typeof HStack>;
9
+ //# sourceMappingURL=index.story.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../../src/h-stack/stories/e2e/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAMtD,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAE/B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,MAAM,CAG9B,CAAC;AACF,eAAe,IAAI,CAAC;AAiBpB,eAAO,MAAM,OAAO,EAAE,OAAO,CAAE,OAAO,MAAM,CAAwB,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * External dependencies
3
+ */
4
+ import type { StoryFn, Meta } from '@storybook/react';
5
+ import { HStack } from '..';
6
+ declare const meta: Meta<typeof HStack>;
7
+ export default meta;
8
+ export declare const Default: StoryFn<typeof HStack>;
9
+ //# sourceMappingURL=index.story.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/h-stack/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAKtD,OAAO,EAAE,MAAM,EAAE,MAAM,IAAI,CAAC;AAkC5B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,MAAM,CAiC9B,CAAC;AACF,eAAe,IAAI,CAAC;AAYpB,eAAO,MAAM,OAAO,EAAE,OAAO,CAAE,OAAO,MAAM,CAAwB,CAAC"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * External dependencies
3
+ */
4
+ import type { Meta, StoryFn } from '@storybook/react';
5
+ /**
6
+ * Internal dependencies
7
+ */
8
+ import { Heading } from '..';
9
+ declare const meta: Meta<typeof Heading>;
10
+ export default meta;
11
+ export declare const Default: StoryFn<typeof Heading>;
12
+ //# sourceMappingURL=index.story.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/heading/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAEtD;;GAEG;AACH,OAAO,EAAE,OAAO,EAAE,MAAM,IAAI,CAAC;AAE7B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,OAAO,CAsB/B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,EAAE,OAAO,CAAE,OAAO,OAAO,CAE5C,CAAC"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * External dependencies
3
+ */
4
+ import type { Meta, StoryFn } from '@storybook/react';
5
+ /**
6
+ * Internal dependencies
7
+ */
8
+ import Icon from '..';
9
+ declare const meta: Meta<typeof Icon>;
10
+ export default meta;
11
+ export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("..").Props>;
12
+ export declare const FillColor: StoryFn<typeof Icon>;
13
+ export declare const WithAFunction: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("..").Props>;
14
+ export declare const WithAComponent: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("..").Props>;
15
+ export declare const WithAnSVG: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("..").Props>;
16
+ /**
17
+ * Although it's preferred to use icons from the `@wordpress/icons` package, Dashicons are still supported,
18
+ * as long as you are in a context where the Dashicons stylesheet is loaded. To simulate that here,
19
+ * use the Global CSS Injector in the Storybook toolbar at the top and select the "WordPress" preset.
20
+ */
21
+ export declare const WithADashicon: StoryFn<typeof Icon>;
22
+ //# sourceMappingURL=index.story.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/icon/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAQtD;;GAEG;AACH,OAAO,IAAI,MAAM,IAAI,CAAC;AAGtB,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,IAAI,CAO5B,CAAC;AACF,eAAe,IAAI,CAAC;AAIpB,eAAO,MAAM,OAAO,mHAAsB,CAAC;AAK3C,eAAO,MAAM,SAAS,EAAE,OAAO,CAAE,OAAO,IAAI,CAU3C,CAAC;AAKF,eAAO,MAAM,aAAa,mHAAsB,CAAC;AAgBjD,eAAO,MAAM,cAAc,mHAAsB,CAAC;AAMlD,eAAO,MAAM,SAAS,mHAAsB,CAAC;AAU7C;;;;GAIG;AACH,eAAO,MAAM,aAAa,EAAE,OAAO,CAAE,OAAO,IAAI,CAU/C,CAAC"}
@@ -0,0 +1,28 @@
1
+ /// <reference types="react" />
2
+ /**
3
+ * External dependencies
4
+ */
5
+ import type { Meta } from '@storybook/react';
6
+ /**
7
+ * Internal dependencies
8
+ */
9
+ import InputControl from '..';
10
+ declare const meta: Meta<typeof InputControl>;
11
+ export default meta;
12
+ export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../types").InputControlProps & import("react").RefAttributes<HTMLInputElement>>;
13
+ export declare const WithHelpText: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../types").InputControlProps & import("react").RefAttributes<HTMLInputElement>>;
14
+ /**
15
+ * A `prefix` can be inserted before the input. By default, the prefix is aligned with the edge of the input border,
16
+ * with no padding. If you want to apply standard padding in accordance with the size variant, use the provided
17
+ * `<InputControlPrefixWrapper>` convenience wrapper.
18
+ */
19
+ export declare const WithPrefix: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../types").InputControlProps & import("react").RefAttributes<HTMLInputElement>>;
20
+ /**
21
+ * A `suffix` can be inserted after the input. By default, the suffix is aligned with the edge of the input border,
22
+ * with no padding. If you want to apply standard padding in accordance with the size variant, use the provided
23
+ * `<InputControlSuffixWrapper>` convenience wrapper.
24
+ */
25
+ export declare const WithSuffix: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../types").InputControlProps & import("react").RefAttributes<HTMLInputElement>>;
26
+ export declare const WithSideLabel: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../types").InputControlProps & import("react").RefAttributes<HTMLInputElement>>;
27
+ export declare const WithEdgeLabel: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../types").InputControlProps & import("react").RefAttributes<HTMLInputElement>>;
28
+ //# sourceMappingURL=index.story.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/input-control/stories/index.story.tsx"],"names":[],"mappings":";AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAW,MAAM,kBAAkB,CAAC;AAEtD;;GAEG;AACH,OAAO,YAAY,MAAM,IAAI,CAAC;AAI9B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,YAAY,CAkBpC,CAAC;AACF,eAAe,IAAI,CAAC;AAMpB,eAAO,MAAM,OAAO,uLAAsB,CAAC;AAM3C,eAAO,MAAM,YAAY,uLAAsB,CAAC;AAMhD;;;;GAIG;AACH,eAAO,MAAM,UAAU,uLAAsB,CAAC;AAM9C;;;;GAIG;AACH,eAAO,MAAM,UAAU,uLAAsB,CAAC;AAM9C,eAAO,MAAM,aAAa,uLAAsB,CAAC;AAMjD,eAAO,MAAM,aAAa,uLAAsB,CAAC"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * External dependencies
3
+ */
4
+ import type { Meta, StoryFn } from '@storybook/react';
5
+ /**
6
+ * Internal dependencies
7
+ */
8
+ import { ItemGroup } from '../item-group/component';
9
+ declare const meta: Meta<typeof ItemGroup>;
10
+ export default meta;
11
+ export declare const Default: StoryFn<typeof ItemGroup>;
12
+ export declare const NonClickableItems: StoryFn<typeof ItemGroup>;
13
+ export declare const CustomItemSize: StoryFn<typeof ItemGroup>;
14
+ export declare const WithBorder: StoryFn<typeof ItemGroup>;
15
+ //# sourceMappingURL=index.story.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/item-group/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAEtD;;GAEG;AACH,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAKpD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,SAAS,CAajC,CAAC;AACF,eAAe,IAAI,CAAC;AAUpB,eAAO,MAAM,OAAO,EAAE,OAAO,CAAE,OAAO,SAAS,CAAwB,CAAC;AA4BxE,eAAO,MAAM,iBAAiB,EAAE,OAAO,CAAE,OAAO,SAAS,CAExD,CAAC;AAgBF,eAAO,MAAM,cAAc,EAAE,OAAO,CAAE,OAAO,SAAS,CAAwB,CAAC;AAiB/E,eAAO,MAAM,UAAU,EAAE,OAAO,CAAE,OAAO,SAAS,CAAwB,CAAC"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * External dependencies
3
+ */
4
+ import type { Meta } from '@storybook/react';
5
+ /**
6
+ * Internal dependencies
7
+ */
8
+ import KeyboardShortcuts from '..';
9
+ declare const meta: Meta<typeof KeyboardShortcuts>;
10
+ export default meta;
11
+ export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../types").KeyboardShortcutsProps>;
12
+ //# sourceMappingURL=index.story.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/keyboard-shortcuts/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAW,MAAM,kBAAkB,CAAC;AAEtD;;GAEG;AACH,OAAO,iBAAiB,MAAM,IAAI,CAAC;AAEnC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,iBAAiB,CAOzC,CAAC;AACF,eAAe,IAAI,CAAC;AAMpB,eAAO,MAAM,OAAO,0IAAsB,CAAC"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Internal dependencies
3
+ */
4
+ import MenuGroup from '..';
5
+ /**
6
+ * External dependencies
7
+ */
8
+ import type { ComponentMeta, ComponentStory } from '@storybook/react';
9
+ declare const meta: ComponentMeta<typeof MenuGroup>;
10
+ export default meta;
11
+ export declare const Default: ComponentStory<typeof MenuGroup>;
12
+ /**
13
+ * When other menu items exist above or below a MenuGroup, the group
14
+ * should have a divider line between it and the adjacent item.
15
+ */
16
+ export declare const WithSeperator: ComponentStory<typeof MenuGroup>;
17
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/menu-group/stories/index.tsx"],"names":[],"mappings":"AAKA;;GAEG;AACH,OAAO,SAAS,MAAM,IAAI,CAAC;AAI3B;;GAEG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEtE,QAAA,MAAM,IAAI,EAAE,aAAa,CAAE,OAAO,SAAS,CAU1C,CAAC;AACF,eAAe,IAAI,CAAC;AAWpB,eAAO,MAAM,OAAO,EAAE,cAAc,CAAE,OAAO,SAAS,CAAwB,CAAC;AAkC/E;;;GAGG;AACH,eAAO,MAAM,aAAa,kCAAiC,CAAC"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Internal dependencies
3
+ */
4
+ import MenuGroup from '..';
5
+ /**
6
+ * External dependencies
7
+ */
8
+ import type { Meta, StoryFn } from '@storybook/react';
9
+ declare const meta: Meta<typeof MenuGroup>;
10
+ export default meta;
11
+ export declare const Default: StoryFn<typeof MenuGroup>;
12
+ /**
13
+ * When other menu items exist above or below a MenuGroup, the group
14
+ * should have a divider line between it and the adjacent item.
15
+ */
16
+ export declare const WithSeperator: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../types").MenuGroupProps>;
17
+ //# sourceMappingURL=index.story.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/menu-group/stories/index.story.tsx"],"names":[],"mappings":"AAKA;;GAEG;AACH,OAAO,SAAS,MAAM,IAAI,CAAC;AAI3B;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAEtD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,SAAS,CAUjC,CAAC;AACF,eAAe,IAAI,CAAC;AAWpB,eAAO,MAAM,OAAO,EAAE,OAAO,CAAE,OAAO,SAAS,CAAwB,CAAC;AAkCxE;;;GAGG;AACH,eAAO,MAAM,aAAa,kIAAiC,CAAC"}
@@ -0,0 +1,74 @@
1
+ /// <reference types="react" />
2
+ /**
3
+ * External dependencies
4
+ */
5
+ import type { Meta, StoryFn } from '@storybook/react';
6
+ import MenuItem from '..';
7
+ declare const meta: Meta<typeof MenuItem>;
8
+ export default meta;
9
+ export declare const Default: StoryFn<typeof MenuItem>;
10
+ /**
11
+ * When the `role` prop is either `"menuitemcheckbox"` or `"menuitemradio"`, the
12
+ * `isSelected` prop should be used so screen readers can tell which item is currently selected.
13
+ */
14
+ export declare const IsSelected: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, Pick<import("../../button/types").ButtonAsButtonProps, "isDestructive"> & {
15
+ className?: string | undefined;
16
+ children?: import("react").ReactNode;
17
+ info?: string | undefined;
18
+ icon?: JSX.Element | null | undefined;
19
+ iconPosition?: "left" | "right" | undefined;
20
+ isSelected?: boolean | undefined;
21
+ shortcut?: string | {
22
+ display: string;
23
+ ariaLabel: string;
24
+ } | undefined;
25
+ role?: string | undefined;
26
+ suffix?: import("react").ReactNode;
27
+ label?: string | undefined;
28
+ } & Omit<Pick<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "key" | keyof import("react").ButtonHTMLAttributes<HTMLButtonElement>>, "icon" | "children" | "label" | "as" | "info" | "className" | "role" | "iconPosition" | "isDestructive" | "shortcut" | "suffix" | "isSelected"> & import("react").RefAttributes<HTMLButtonElement>>;
29
+ export declare const WithIcon: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, Pick<import("../../button/types").ButtonAsButtonProps, "isDestructive"> & {
30
+ className?: string | undefined;
31
+ children?: import("react").ReactNode;
32
+ info?: string | undefined;
33
+ icon?: JSX.Element | null | undefined;
34
+ iconPosition?: "left" | "right" | undefined;
35
+ isSelected?: boolean | undefined;
36
+ shortcut?: string | {
37
+ display: string;
38
+ ariaLabel: string;
39
+ } | undefined;
40
+ role?: string | undefined;
41
+ suffix?: import("react").ReactNode;
42
+ label?: string | undefined;
43
+ } & Omit<Pick<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "key" | keyof import("react").ButtonHTMLAttributes<HTMLButtonElement>>, "icon" | "children" | "label" | "as" | "info" | "className" | "role" | "iconPosition" | "isDestructive" | "shortcut" | "suffix" | "isSelected"> & import("react").RefAttributes<HTMLButtonElement>>;
44
+ export declare const WithInfo: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, Pick<import("../../button/types").ButtonAsButtonProps, "isDestructive"> & {
45
+ className?: string | undefined;
46
+ children?: import("react").ReactNode;
47
+ info?: string | undefined;
48
+ icon?: JSX.Element | null | undefined;
49
+ iconPosition?: "left" | "right" | undefined;
50
+ isSelected?: boolean | undefined;
51
+ shortcut?: string | {
52
+ display: string;
53
+ ariaLabel: string;
54
+ } | undefined;
55
+ role?: string | undefined;
56
+ suffix?: import("react").ReactNode;
57
+ label?: string | undefined;
58
+ } & Omit<Pick<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "key" | keyof import("react").ButtonHTMLAttributes<HTMLButtonElement>>, "icon" | "children" | "label" | "as" | "info" | "className" | "role" | "iconPosition" | "isDestructive" | "shortcut" | "suffix" | "isSelected"> & import("react").RefAttributes<HTMLButtonElement>>;
59
+ export declare const WithSuffix: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, Pick<import("../../button/types").ButtonAsButtonProps, "isDestructive"> & {
60
+ className?: string | undefined;
61
+ children?: import("react").ReactNode;
62
+ info?: string | undefined;
63
+ icon?: JSX.Element | null | undefined;
64
+ iconPosition?: "left" | "right" | undefined;
65
+ isSelected?: boolean | undefined;
66
+ shortcut?: string | {
67
+ display: string;
68
+ ariaLabel: string;
69
+ } | undefined;
70
+ role?: string | undefined;
71
+ suffix?: import("react").ReactNode;
72
+ label?: string | undefined;
73
+ } & Omit<Pick<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "key" | keyof import("react").ButtonHTMLAttributes<HTMLButtonElement>>, "icon" | "children" | "label" | "as" | "info" | "className" | "role" | "iconPosition" | "isDestructive" | "shortcut" | "suffix" | "isSelected"> & import("react").RefAttributes<HTMLButtonElement>>;
74
+ //# sourceMappingURL=index.story.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/menu-item/stories/index.story.tsx"],"names":[],"mappings":";AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAWtD,OAAO,QAAQ,MAAM,IAAI,CAAC;AAG1B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,QAAQ,CAqBhC,CAAC;AACF,eAAe,IAAI,CAAC;AAUpB,eAAO,MAAM,OAAO,EAAE,OAAO,CAAE,OAAO,QAAQ,CAAwB,CAAC;AAEvE;;;GAGG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;wYAAsB,CAAC;AAO9C,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;wYAAsB,CAAC;AAO5C,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;wYAAsB,CAAC;AAM5C,eAAO,MAAM,UAAU;;;;;;;;;;;;;;wYAAsB,CAAC"}
@@ -0,0 +1,63 @@
1
+ /**
2
+ * External dependencies
3
+ */
4
+ import type { ReactNode } from 'react';
5
+ /**
6
+ * Internal dependencies
7
+ */
8
+ import type { ButtonAsButtonProps } from '../button/types';
9
+ export type MenuItemProps = Pick<ButtonAsButtonProps, 'isDestructive'> & {
10
+ /**
11
+ * A CSS `class` to give to the container element.
12
+ */
13
+ className?: string;
14
+ /**
15
+ * The children elements.
16
+ */
17
+ children?: ReactNode;
18
+ /**
19
+ * Text to use as description for button text.
20
+ */
21
+ info?: string;
22
+ /**
23
+ * The icon to render. Supported values are: Dashicons (specified as
24
+ * strings), functions, Component instances and `null`.
25
+ *
26
+ * @default null
27
+ */
28
+ icon?: JSX.Element | null;
29
+ /**
30
+ * Determines where to display the provided `icon`.
31
+ */
32
+ iconPosition?: ButtonAsButtonProps['iconPosition'];
33
+ /**
34
+ * Whether or not the menu item is currently selected, `isSelected` is only taken into
35
+ * account when the `role` prop is either `"menuitemcheckbox"` or `"menuitemradio"`.
36
+ */
37
+ isSelected?: boolean;
38
+ /**
39
+ * If shortcut is a string, it is expecting the display text. If shortcut is an object,
40
+ * it will accept the properties of `display` (string) and `ariaLabel` (string).
41
+ */
42
+ shortcut?: string | {
43
+ display: string;
44
+ ariaLabel: string;
45
+ };
46
+ /**
47
+ * If you need to have selectable menu items use menuitemradio for single select,
48
+ * and menuitemcheckbox for multiselect.
49
+ *
50
+ * @default 'menuitem'
51
+ */
52
+ role?: string;
53
+ /**
54
+ * Allows for markup other than icons or shortcuts to be added to the menu item.
55
+ *
56
+ */
57
+ suffix?: ReactNode;
58
+ /**
59
+ * Human-readable label for item.
60
+ */
61
+ label?: string;
62
+ };
63
+ //# sourceMappingURL=types.d.ts.map