@wordpress/components 29.1.1 → 29.2.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 (220) hide show
  1. package/CHANGELOG.md +19 -6
  2. package/CONTRIBUTING.md +4 -4
  3. package/README.md +1 -1
  4. package/build/badge/index.js +26 -22
  5. package/build/badge/index.js.map +1 -1
  6. package/build/circular-option-picker/circular-option-picker-option.js +9 -7
  7. package/build/circular-option-picker/circular-option-picker-option.js.map +1 -1
  8. package/build/circular-option-picker/circular-option-picker.js +0 -1
  9. package/build/circular-option-picker/circular-option-picker.js.map +1 -1
  10. package/build/color-palette/index.js +1 -6
  11. package/build/color-palette/index.js.map +1 -1
  12. package/build/font-size-picker/index.native.js +1 -1
  13. package/build/font-size-picker/index.native.js.map +1 -1
  14. package/build/higher-order/with-focus-return/index.js +1 -1
  15. package/build/higher-order/with-focus-return/index.js.map +1 -1
  16. package/build/input-control/styles/input-control-styles.js +22 -22
  17. package/build/input-control/styles/input-control-styles.js.map +1 -1
  18. package/build/menu/checkbox-item.js +6 -6
  19. package/build/menu/checkbox-item.js.map +1 -1
  20. package/build/menu/context.js +2 -2
  21. package/build/menu/context.js.map +1 -1
  22. package/build/menu/group-label.js +4 -4
  23. package/build/menu/group-label.js.map +1 -1
  24. package/build/menu/group.js +4 -4
  25. package/build/menu/group.js.map +1 -1
  26. package/build/menu/index.js +87 -14
  27. package/build/menu/index.js.map +1 -1
  28. package/build/menu/item-help-text.js +4 -4
  29. package/build/menu/item-help-text.js.map +1 -1
  30. package/build/menu/item-label.js +4 -4
  31. package/build/menu/item-label.js.map +1 -1
  32. package/build/menu/item.js +6 -6
  33. package/build/menu/item.js.map +1 -1
  34. package/build/menu/popover.js +5 -5
  35. package/build/menu/popover.js.map +1 -1
  36. package/build/menu/radio-item.js +6 -6
  37. package/build/menu/radio-item.js.map +1 -1
  38. package/build/menu/separator.js +4 -4
  39. package/build/menu/separator.js.map +1 -1
  40. package/build/menu/styles.js +41 -41
  41. package/build/menu/styles.js.map +1 -1
  42. package/build/menu/submenu-trigger-item.js +5 -5
  43. package/build/menu/submenu-trigger-item.js.map +1 -1
  44. package/build/menu/trigger-button.js +3 -3
  45. package/build/menu/trigger-button.js.map +1 -1
  46. package/build/menu/types.js.map +1 -1
  47. package/build/mobile/bottom-sheet/nav-bar/action-button.native.js +1 -1
  48. package/build/mobile/bottom-sheet/nav-bar/action-button.native.js.map +1 -1
  49. package/build/mobile/utils/get-px-from-css-unit.native.js +3 -3
  50. package/build/mobile/utils/get-px-from-css-unit.native.js.map +1 -1
  51. package/build/notice/types.js.map +1 -1
  52. package/build/search-control/index.js +1 -1
  53. package/build/search-control/index.js.map +1 -1
  54. package/build/text/hook.js +8 -6
  55. package/build/text/hook.js.map +1 -1
  56. package/build/text/utils.js +1 -1
  57. package/build/text/utils.js.map +1 -1
  58. package/build-module/badge/index.js +28 -22
  59. package/build-module/badge/index.js.map +1 -1
  60. package/build-module/circular-option-picker/circular-option-picker-option.js +9 -7
  61. package/build-module/circular-option-picker/circular-option-picker-option.js.map +1 -1
  62. package/build-module/circular-option-picker/circular-option-picker.js +0 -1
  63. package/build-module/circular-option-picker/circular-option-picker.js.map +1 -1
  64. package/build-module/color-palette/index.js +1 -6
  65. package/build-module/color-palette/index.js.map +1 -1
  66. package/build-module/font-size-picker/index.native.js +1 -1
  67. package/build-module/font-size-picker/index.native.js.map +1 -1
  68. package/build-module/higher-order/with-focus-return/index.js +1 -1
  69. package/build-module/higher-order/with-focus-return/index.js.map +1 -1
  70. package/build-module/input-control/styles/input-control-styles.js +22 -22
  71. package/build-module/input-control/styles/input-control-styles.js.map +1 -1
  72. package/build-module/menu/checkbox-item.js +6 -6
  73. package/build-module/menu/checkbox-item.js.map +1 -1
  74. package/build-module/menu/context.js +1 -1
  75. package/build-module/menu/context.js.map +1 -1
  76. package/build-module/menu/group-label.js +4 -4
  77. package/build-module/menu/group-label.js.map +1 -1
  78. package/build-module/menu/group.js +4 -4
  79. package/build-module/menu/group.js.map +1 -1
  80. package/build-module/menu/index.js +99 -26
  81. package/build-module/menu/index.js.map +1 -1
  82. package/build-module/menu/item-help-text.js +4 -4
  83. package/build-module/menu/item-help-text.js.map +1 -1
  84. package/build-module/menu/item-label.js +4 -4
  85. package/build-module/menu/item-label.js.map +1 -1
  86. package/build-module/menu/item.js +6 -6
  87. package/build-module/menu/item.js.map +1 -1
  88. package/build-module/menu/popover.js +5 -5
  89. package/build-module/menu/popover.js.map +1 -1
  90. package/build-module/menu/radio-item.js +6 -6
  91. package/build-module/menu/radio-item.js.map +1 -1
  92. package/build-module/menu/separator.js +4 -4
  93. package/build-module/menu/separator.js.map +1 -1
  94. package/build-module/menu/styles.js +40 -40
  95. package/build-module/menu/styles.js.map +1 -1
  96. package/build-module/menu/submenu-trigger-item.js +6 -6
  97. package/build-module/menu/submenu-trigger-item.js.map +1 -1
  98. package/build-module/menu/trigger-button.js +3 -3
  99. package/build-module/menu/trigger-button.js.map +1 -1
  100. package/build-module/menu/types.js.map +1 -1
  101. package/build-module/mobile/bottom-sheet/nav-bar/action-button.native.js +1 -1
  102. package/build-module/mobile/bottom-sheet/nav-bar/action-button.native.js.map +1 -1
  103. package/build-module/mobile/utils/get-px-from-css-unit.native.js +3 -3
  104. package/build-module/mobile/utils/get-px-from-css-unit.native.js.map +1 -1
  105. package/build-module/notice/types.js.map +1 -1
  106. package/build-module/search-control/index.js +1 -1
  107. package/build-module/search-control/index.js.map +1 -1
  108. package/build-module/text/hook.js +8 -6
  109. package/build-module/text/hook.js.map +1 -1
  110. package/build-module/text/utils.js +1 -1
  111. package/build-module/text/utils.js.map +1 -1
  112. package/build-style/style-rtl.css +89 -170
  113. package/build-style/style.css +89 -170
  114. package/build-types/badge/index.d.ts.map +1 -1
  115. package/build-types/circular-option-picker/circular-option-picker-option.d.ts.map +1 -1
  116. package/build-types/circular-option-picker/circular-option-picker.d.ts.map +1 -1
  117. package/build-types/circular-option-picker/stories/index.story.d.ts.map +1 -1
  118. package/build-types/color-palette/index.d.ts.map +1 -1
  119. package/build-types/higher-order/with-focus-return/index.d.ts +1 -1
  120. package/build-types/input-control/styles/input-control-styles.d.ts.map +1 -1
  121. package/build-types/menu/checkbox-item.d.ts +2 -2
  122. package/build-types/menu/checkbox-item.d.ts.map +1 -1
  123. package/build-types/menu/context.d.ts +2 -2
  124. package/build-types/menu/context.d.ts.map +1 -1
  125. package/build-types/menu/group-label.d.ts +2 -2
  126. package/build-types/menu/group-label.d.ts.map +1 -1
  127. package/build-types/menu/group.d.ts +2 -2
  128. package/build-types/menu/group.d.ts.map +1 -1
  129. package/build-types/menu/index.d.ts +84 -12
  130. package/build-types/menu/index.d.ts.map +1 -1
  131. package/build-types/menu/item-help-text.d.ts +1 -1
  132. package/build-types/menu/item-help-text.d.ts.map +1 -1
  133. package/build-types/menu/item-label.d.ts +1 -1
  134. package/build-types/menu/item-label.d.ts.map +1 -1
  135. package/build-types/menu/item.d.ts +2 -2
  136. package/build-types/menu/item.d.ts.map +1 -1
  137. package/build-types/menu/popover.d.ts +2 -2
  138. package/build-types/menu/popover.d.ts.map +1 -1
  139. package/build-types/menu/radio-item.d.ts +2 -2
  140. package/build-types/menu/radio-item.d.ts.map +1 -1
  141. package/build-types/menu/separator.d.ts +2 -2
  142. package/build-types/menu/separator.d.ts.map +1 -1
  143. package/build-types/menu/styles.d.ts +15 -15
  144. package/build-types/menu/styles.d.ts.map +1 -1
  145. package/build-types/menu/submenu-trigger-item.d.ts +2 -2
  146. package/build-types/menu/submenu-trigger-item.d.ts.map +1 -1
  147. package/build-types/menu/trigger-button.d.ts +2 -2
  148. package/build-types/menu/trigger-button.d.ts.map +1 -1
  149. package/build-types/menu/types.d.ts +10 -10
  150. package/build-types/menu/types.d.ts.map +1 -1
  151. package/build-types/menu-group/stories/index.story.d.ts +1 -1
  152. package/build-types/notice/types.d.ts +1 -1
  153. package/build-types/progress-bar/stories/index.story.d.ts +1 -1
  154. package/build-types/tabs/stories/index.story.d.ts +0 -3
  155. package/build-types/tabs/stories/index.story.d.ts.map +1 -1
  156. package/build-types/text/hook.d.ts.map +1 -1
  157. package/build-types/text/utils.d.ts +1 -1
  158. package/package.json +19 -19
  159. package/src/animate/style.scss +16 -12
  160. package/src/badge/index.tsx +28 -27
  161. package/src/border-control/test/index.js +12 -4
  162. package/src/button/style.scss +15 -12
  163. package/src/checkbox-control/style.scss +4 -2
  164. package/src/circular-option-picker/README.md +1 -2
  165. package/src/circular-option-picker/circular-option-picker-option.tsx +17 -10
  166. package/src/circular-option-picker/circular-option-picker.tsx +0 -1
  167. package/src/circular-option-picker/stories/index.story.tsx +0 -1
  168. package/src/circular-option-picker/style.scss +10 -5
  169. package/src/color-palette/index.tsx +0 -7
  170. package/src/color-palette/test/index.tsx +2 -8
  171. package/src/combobox-control/test/index.tsx +1 -1
  172. package/src/drop-zone/style.scss +6 -9
  173. package/src/font-size-picker/index.native.js +1 -1
  174. package/src/form-toggle/style.scss +17 -10
  175. package/src/form-token-field/style.scss +9 -4
  176. package/src/higher-order/navigate-regions/style.scss +2 -2
  177. package/src/higher-order/with-focus-return/index.tsx +1 -1
  178. package/src/input-control/styles/input-control-styles.tsx +6 -0
  179. package/src/menu/README.md +421 -174
  180. package/src/menu/checkbox-item.tsx +12 -12
  181. package/src/menu/context.tsx +2 -4
  182. package/src/menu/docs-manifest.json +62 -0
  183. package/src/menu/group-label.tsx +7 -7
  184. package/src/menu/group.tsx +7 -11
  185. package/src/menu/index.tsx +101 -31
  186. package/src/menu/item-help-text.tsx +5 -7
  187. package/src/menu/item-label.tsx +5 -7
  188. package/src/menu/item.tsx +12 -12
  189. package/src/menu/popover.tsx +9 -9
  190. package/src/menu/radio-item.tsx +12 -12
  191. package/src/menu/separator.tsx +7 -7
  192. package/src/menu/stories/best-practices.mdx +38 -0
  193. package/src/menu/stories/index.story.tsx +8 -8
  194. package/src/menu/styles.ts +24 -24
  195. package/src/menu/submenu-trigger-item.tsx +9 -9
  196. package/src/menu/trigger-button.tsx +6 -6
  197. package/src/menu/types.ts +10 -10
  198. package/src/menu-group/stories/index.story.tsx +2 -2
  199. package/src/mobile/bottom-sheet/nav-bar/action-button.native.js +1 -1
  200. package/src/mobile/utils/get-px-from-css-unit.native.js +3 -3
  201. package/src/modal/style.scss +4 -2
  202. package/src/modal/test/index.tsx +5 -4
  203. package/src/notice/README.md +3 -3
  204. package/src/notice/types.ts +1 -1
  205. package/src/palette-edit/test/index.tsx +1 -1
  206. package/src/panel/style.scss +14 -6
  207. package/src/placeholder/style.scss +5 -3
  208. package/src/progress-bar/stories/index.story.tsx +1 -1
  209. package/src/resizable-box/style.scss +14 -9
  210. package/src/search-control/index.tsx +1 -1
  211. package/src/tab-panel/style.scss +6 -4
  212. package/src/tabs/stories/index.story.tsx +0 -131
  213. package/src/text/README.md +1 -1
  214. package/src/text/hook.ts +3 -2
  215. package/src/text/stories/index.story.tsx +2 -2
  216. package/src/text/test/index.tsx +1 -1
  217. package/src/text/utils.ts +1 -1
  218. package/src/text-highlight/test/index.tsx +3 -3
  219. package/src/toolbar/toolbar/style.scss +4 -3
  220. package/tsconfig.tsbuildinfo +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"input-control-styles.d.ts","sourceRoot":"","sources":["../../../src/input-control/styles/input-control-styles.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAGvD,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtD;;GAEG;AACH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AAI7D,OAAO,KAAK,EAAE,aAAa,EAAE,IAAI,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAE9E,KAAK,cAAc,GAAG;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,oBAAoB,CAAC,EAAE,aAAa,CAAE,OAAO,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BAAmB;;SA9U0B,MAAO,WAAW;;eAuTjC,OAAO;yGAyBjD,CAAC"}
1
+ {"version":3,"file":"input-control-styles.d.ts","sourceRoot":"","sources":["../../../src/input-control/styles/input-control-styles.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAGvD,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtD;;GAEG;AACH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AAI7D,OAAO,KAAK,EAAE,aAAa,EAAE,IAAI,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAE9E,KAAK,cAAc,GAAG;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,oBAAoB,CAAC,EAAE,aAAa,CAAE,OAAO,CAAE,CAAC;IAChD,aAAa,CAAC,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,MAAM;;SATuC,MAAO,WAAW;2GAY3E,CAAC;AAEF,eAAO,MAAM,MAAM;;SAduC,MAAO,WAAW;2GAmB3E,CAAC;AAEF,KAAK,aAAa,GAAG;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAiBF,eAAO,MAAM,UAAU;;SAzCmC,MAAO,WAAW;yHA2D3E,CAAC;AAEF,eAAO,MAAM,IAAI;;;;UAgBhB,CAAC;AA+BF,eAAO,MAAM,SAAS;;SA5GoC,MAAO,WAAW;0HAsH3E,CAAC;AAEF,KAAK,UAAU,GAAG;IACjB,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,aAAa,CAAE,QAAQ,CAAE,CAAC;IACvC,kBAAkB,CAAC,EAAE,aAAa,CAAE,oBAAoB,CAAE,CAAC;IAC3D,gBAAgB,CAAC,EAAE,aAAa,CAAE,kBAAkB,CAAE,CAAC;CACvD,CAAC;AAYF,eAAO,MAAM,cAAc,wBAA0B,UAAU,0BAsB9D,CAAC;AAEF,eAAO,MAAM,aAAa,gDAGvB,UAAU;;;;;;;;;;;;;;;;;;;;;;;;CAsCZ,CAAC;AA+CF,eAAO,MAAM,KAAK;;SA5PwC,MAAO,WAAW;+HAyR3E,CAAC;AAmBF,eAAO,MAAM,KAAK,UACV,uBAAuB,CAC7B;IAAE,aAAa,CAAC,EAAE,aAAa,CAAC;IAAC,QAAQ,EAAE,SAAS,CAAA;CAAE,EACtD,OAAO,EACP,KAAK,CACL,gCACwC,CAAC;AAE3C,eAAO,MAAM,YAAY;;;;UAExB,CAAC;AA8BF,eAAO,MAAM,mBAAmB;;SApV0B,MAAO,WAAW;;eA6TjC,OAAO;yGAyBjD,CAAC"}
@@ -1,3 +1,3 @@
1
- import type { MenuCheckboxItemProps } from './types';
2
- export declare const MenuCheckboxItem: import("react").ForwardRefExoticComponent<MenuCheckboxItemProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "as" | keyof MenuCheckboxItemProps> & import("react").RefAttributes<HTMLDivElement>>;
1
+ import type { CheckboxItemProps } from './types';
2
+ export declare const CheckboxItem: import("react").ForwardRefExoticComponent<CheckboxItemProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "as" | keyof CheckboxItemProps> & import("react").RefAttributes<HTMLDivElement>>;
3
3
  //# sourceMappingURL=checkbox-item.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"checkbox-item.d.ts","sourceRoot":"","sources":["../../src/menu/checkbox-item.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAGrD,eAAO,MAAM,gBAAgB,6QA8C1B,CAAC"}
1
+ {"version":3,"file":"checkbox-item.d.ts","sourceRoot":"","sources":["../../src/menu/checkbox-item.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAGjD,eAAO,MAAM,YAAY,qQA8CtB,CAAC"}
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Internal dependencies
3
3
  */
4
- import type { MenuContext as MenuContextType } from './types';
5
- export declare const MenuContext: import("react").Context<MenuContextType | undefined>;
4
+ import type { ContextProps } from './types';
5
+ export declare const Context: import("react").Context<ContextProps | undefined>;
6
6
  //# sourceMappingURL=context.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../src/menu/context.tsx"],"names":[],"mappings":"AAKA;;GAEG;AACH,OAAO,KAAK,EAAE,WAAW,IAAI,eAAe,EAAE,MAAM,SAAS,CAAC;AAE9D,eAAO,MAAM,WAAW,sDAEvB,CAAC"}
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../src/menu/context.tsx"],"names":[],"mappings":"AAKA;;GAEG;AACH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C,eAAO,MAAM,OAAO,mDAAyD,CAAC"}
@@ -1,3 +1,3 @@
1
- import type { MenuGroupLabelProps } from './types';
2
- export declare const MenuGroupLabel: import("react").ForwardRefExoticComponent<MenuGroupLabelProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "children" | "as"> & import("react").RefAttributes<HTMLDivElement>>;
1
+ import type { GroupLabelProps } from './types';
2
+ export declare const GroupLabel: import("react").ForwardRefExoticComponent<GroupLabelProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "children" | "as"> & import("react").RefAttributes<HTMLDivElement>>;
3
3
  //# sourceMappingURL=group-label.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"group-label.d.ts","sourceRoot":"","sources":["../../src/menu/group-label.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAGnD,eAAO,MAAM,cAAc,0PA6BxB,CAAC"}
1
+ {"version":3,"file":"group-label.d.ts","sourceRoot":"","sources":["../../src/menu/group-label.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAG/C,eAAO,MAAM,UAAU,sPA6BpB,CAAC"}
@@ -1,3 +1,3 @@
1
- import type { MenuGroupProps } from './types';
2
- export declare const MenuGroup: import("react").ForwardRefExoticComponent<MenuGroupProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "children" | "as"> & import("react").RefAttributes<HTMLDivElement>>;
1
+ import type { GroupProps } from './types';
2
+ export declare const Group: import("react").ForwardRefExoticComponent<GroupProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "children" | "as"> & import("react").RefAttributes<HTMLDivElement>>;
3
3
  //# sourceMappingURL=group.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"group.d.ts","sourceRoot":"","sources":["../../src/menu/group.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAG9C,eAAO,MAAM,SAAS,qPAmBnB,CAAC"}
1
+ {"version":3,"file":"group.d.ts","sourceRoot":"","sources":["../../src/menu/group.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAG1C,eAAO,MAAM,KAAK,iPAef,CAAC"}
@@ -1,26 +1,75 @@
1
- import type { MenuContext as MenuContextType, MenuProps } from './types';
2
- export declare const Menu: import("../context").WordPressComponent<import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | null, MenuProps, boolean> & {
3
- Context: import("react").Context<MenuContextType | undefined> & {
1
+ import type { ContextProps, Props } from './types';
2
+ /**
3
+ * Menu is a collection of React components that combine to render
4
+ * ARIA-compliant [menu](https://www.w3.org/WAI/ARIA/apg/patterns/menu/) and
5
+ * [menu button](https://www.w3.org/WAI/ARIA/apg/patterns/menubutton/) patterns.
6
+ *
7
+ * `Menu` itself is a wrapper component and context provider.
8
+ * It is responsible for managing the state of the menu and its items, and for
9
+ * rendering the `Menu.TriggerButton` (or the `Menu.SubmenuTriggerItem`)
10
+ * component, and the `Menu.Popover` component.
11
+ */
12
+ export declare const Menu: import("../context").WordPressComponent<import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | null, Props, boolean> & {
13
+ Context: import("react").Context<ContextProps | undefined> & {
4
14
  displayName: string;
5
15
  };
6
- Item: import("react").ForwardRefExoticComponent<import("./types").MenuItemProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "as" | keyof import("./types").MenuItemProps> & import("react").RefAttributes<HTMLDivElement>> & {
16
+ /**
17
+ * Renders a menu item inside the `Menu.Popover` or `Menu.Group` components.
18
+ *
19
+ * It can optionally contain one instance of the `Menu.ItemLabel` component
20
+ * and one instance of the `Menu.ItemHelpText` component.
21
+ */
22
+ Item: import("react").ForwardRefExoticComponent<import("./types").ItemProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "as" | keyof import("./types").ItemProps> & import("react").RefAttributes<HTMLDivElement>> & {
7
23
  displayName: string;
8
24
  };
9
- RadioItem: import("react").ForwardRefExoticComponent<import("./types").MenuRadioItemProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "as" | keyof import("./types").MenuRadioItemProps> & import("react").RefAttributes<HTMLDivElement>> & {
25
+ /**
26
+ * Renders a radio menu item inside the `Menu.Popover` or `Menu.Group`
27
+ * components.
28
+ *
29
+ * It can optionally contain one instance of the `Menu.ItemLabel` component
30
+ * and one instance of the `Menu.ItemHelpText` component.
31
+ */
32
+ RadioItem: import("react").ForwardRefExoticComponent<import("./types").RadioItemProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "as" | keyof import("./types").RadioItemProps> & import("react").RefAttributes<HTMLDivElement>> & {
10
33
  displayName: string;
11
34
  };
12
- CheckboxItem: import("react").ForwardRefExoticComponent<import("./types").MenuCheckboxItemProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "as" | keyof import("./types").MenuCheckboxItemProps> & import("react").RefAttributes<HTMLDivElement>> & {
35
+ /**
36
+ * Renders a checkbox menu item inside the `Menu.Popover` or `Menu.Group`
37
+ * components.
38
+ *
39
+ * It can optionally contain one instance of the `Menu.ItemLabel` component
40
+ * and one instance of the `Menu.ItemHelpText` component.
41
+ */
42
+ CheckboxItem: import("react").ForwardRefExoticComponent<import("./types").CheckboxItemProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "as" | keyof import("./types").CheckboxItemProps> & import("react").RefAttributes<HTMLDivElement>> & {
13
43
  displayName: string;
14
44
  };
15
- Group: import("react").ForwardRefExoticComponent<import("./types").MenuGroupProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "children" | "as"> & import("react").RefAttributes<HTMLDivElement>> & {
45
+ /**
46
+ * Renders a group for menu items.
47
+ *
48
+ * It should contain one instance of `Menu.GroupLabel` and one or more
49
+ * instances of `Menu.Item`, `Menu.RadioItem`, or `Menu.CheckboxItem`.
50
+ */
51
+ Group: import("react").ForwardRefExoticComponent<import("./types").GroupProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "children" | "as"> & import("react").RefAttributes<HTMLDivElement>> & {
16
52
  displayName: string;
17
53
  };
18
- GroupLabel: import("react").ForwardRefExoticComponent<import("./types").MenuGroupLabelProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "children" | "as"> & import("react").RefAttributes<HTMLDivElement>> & {
54
+ /**
55
+ * Renders a label in a menu group.
56
+ *
57
+ * This component should be wrapped with `Menu.Group` so the
58
+ * `aria-labelledby` is correctly set on the group element.
59
+ */
60
+ GroupLabel: import("react").ForwardRefExoticComponent<import("./types").GroupLabelProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "children" | "as"> & import("react").RefAttributes<HTMLDivElement>> & {
19
61
  displayName: string;
20
62
  };
21
- Separator: import("react").ForwardRefExoticComponent<import("./types").MenuSeparatorProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHRElement>, HTMLHRElement>, "ref">, "children" | "as"> & import("react").RefAttributes<HTMLHRElement>> & {
63
+ /**
64
+ * Renders a divider between menu items or menu groups.
65
+ */
66
+ Separator: import("react").ForwardRefExoticComponent<import("./types").SeparatorProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHRElement>, HTMLHRElement>, "ref">, "children" | "as"> & import("react").RefAttributes<HTMLHRElement>> & {
22
67
  displayName: string;
23
68
  };
69
+ /**
70
+ * Renders a menu item's label text. It should be wrapped with `Menu.Item`,
71
+ * `Menu.RadioItem`, or `Menu.CheckboxItem`.
72
+ */
24
73
  ItemLabel: import("react").ForwardRefExoticComponent<{
25
74
  children: React.ReactNode;
26
75
  } & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref">, "children" | "as"> & {
@@ -28,6 +77,10 @@ export declare const Menu: import("../context").WordPressComponent<import("react
28
77
  } & import("react").RefAttributes<HTMLSpanElement>> & {
29
78
  displayName: string;
30
79
  };
80
+ /**
81
+ * Renders a menu item's help text. It should be wrapped with `Menu.Item`,
82
+ * `Menu.RadioItem`, or `Menu.CheckboxItem`.
83
+ */
31
84
  ItemHelpText: import("react").ForwardRefExoticComponent<{
32
85
  children: React.ReactNode;
33
86
  } & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref">, "children" | "as"> & {
@@ -35,13 +88,32 @@ export declare const Menu: import("../context").WordPressComponent<import("react
35
88
  } & import("react").RefAttributes<HTMLSpanElement>> & {
36
89
  displayName: string;
37
90
  };
38
- Popover: import("react").ForwardRefExoticComponent<import("./types").MenuPopoverProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "as" | keyof import("./types").MenuPopoverProps> & import("react").RefAttributes<HTMLDivElement>> & {
91
+ /**
92
+ * Renders a dropdown menu element that's controlled by a sibling
93
+ * `Menu.TriggerButton` component. It renders a popover and automatically
94
+ * focuses on items when the menu is shown.
95
+ *
96
+ * The only valid children of `Menu.Popover` are `Menu.Item`,
97
+ * `Menu.RadioItem`, `Menu.CheckboxItem`, `Menu.Group`, `Menu.Separator`,
98
+ * and `Menu` (for nested dropdown menus).
99
+ */
100
+ Popover: import("react").ForwardRefExoticComponent<import("./types").PopoverProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "as" | keyof import("./types").PopoverProps> & import("react").RefAttributes<HTMLDivElement>> & {
39
101
  displayName: string;
40
102
  };
41
- TriggerButton: import("react").ForwardRefExoticComponent<import("./types").MenuTriggerButtonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">, "as" | keyof import("./types").MenuTriggerButtonProps> & import("react").RefAttributes<HTMLDivElement>> & {
103
+ /**
104
+ * Renders a menu button that toggles the visibility of a sibling
105
+ * `Menu.Popover` component when clicked or when using arrow keys.
106
+ */
107
+ TriggerButton: import("react").ForwardRefExoticComponent<import("./types").TriggerButtonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">, "as" | keyof import("./types").TriggerButtonProps> & import("react").RefAttributes<HTMLDivElement>> & {
42
108
  displayName: string;
43
109
  };
44
- SubmenuTriggerItem: import("react").ForwardRefExoticComponent<import("./types").MenuItemProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "as" | keyof import("./types").MenuItemProps> & import("react").RefAttributes<HTMLDivElement>> & {
110
+ /**
111
+ * Renders a menu item that toggles the visibility of a sibling
112
+ * `Menu.Popover` component when clicked or when using arrow keys.
113
+ *
114
+ * This component is used to create a nested dropdown menu.
115
+ */
116
+ SubmenuTriggerItem: import("react").ForwardRefExoticComponent<import("./types").ItemProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "as" | keyof import("./types").ItemProps> & import("react").RefAttributes<HTMLDivElement>> & {
45
117
  displayName: string;
46
118
  };
47
119
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/menu/index.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,WAAW,IAAI,eAAe,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AA6EzE,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;kBA7EiB,MAAO,SAAS;;;;;;;kBAAb,MAAO,SAAS;;;;;;;;;;;;;;;CAqHpD,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/menu/index.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AA2EnD;;;;;;;;;GASG;AACH,eAAO,MAAM,IAAI;;;;IAMf;;;;;OAKG;;;;IAIH;;;;;;OAMG;;;;IAIH;;;;;;OAMG;;;;IAIH;;;;;OAKG;;;;IAIH;;;;;OAKG;;;;IAIH;;OAEG;;;;IAIH;;;OAGG;;kBAnJqB,MAAQ,SAAQ;;;;;;IAuJxC;;;OAGG;;kBA1JwB,MAAO,SAAS;;;;;;IA8J3C;;;;;;;;OAQG;;;;IAIH;;;OAGG;;;;IAIH;;;;;OAKG;;;;CAKJ,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -1,4 +1,4 @@
1
- export declare const MenuItemHelpText: import("react").ForwardRefExoticComponent<{
1
+ export declare const ItemHelpText: import("react").ForwardRefExoticComponent<{
2
2
  children: React.ReactNode;
3
3
  } & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref">, "children" | "as"> & {
4
4
  as?: keyof JSX.IntrinsicElements | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"item-help-text.d.ts","sourceRoot":"","sources":["../../src/menu/item-help-text.tsx"],"names":[],"mappings":"AAYA,eAAO,MAAM,gBAAgB;cAES,KAAK,CAAC,SAAS;;;mDAalD,CAAC"}
1
+ {"version":3,"file":"item-help-text.d.ts","sourceRoot":"","sources":["../../src/menu/item-help-text.tsx"],"names":[],"mappings":"AAYA,eAAO,MAAM,YAAY;cAEa,KAAK,CAAC,SAAS;;;mDAWlD,CAAC"}
@@ -1,4 +1,4 @@
1
- export declare const MenuItemLabel: import("react").ForwardRefExoticComponent<{
1
+ export declare const ItemLabel: import("react").ForwardRefExoticComponent<{
2
2
  children: React.ReactNode;
3
3
  } & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref">, "children" | "as"> & {
4
4
  as?: keyof JSX.IntrinsicElements | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"item-label.d.ts","sourceRoot":"","sources":["../../src/menu/item-label.tsx"],"names":[],"mappings":"AAYA,eAAO,MAAM,aAAa;cAEY,KAAK,CAAC,SAAS;;;mDAalD,CAAC"}
1
+ {"version":3,"file":"item-label.d.ts","sourceRoot":"","sources":["../../src/menu/item-label.tsx"],"names":[],"mappings":"AAYA,eAAO,MAAM,SAAS;cAEgB,KAAK,CAAC,SAAS;;;mDAWlD,CAAC"}
@@ -1,3 +1,3 @@
1
- import type { MenuItemProps } from './types';
2
- export declare const MenuItem: import("react").ForwardRefExoticComponent<MenuItemProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "as" | keyof MenuItemProps> & import("react").RefAttributes<HTMLDivElement>>;
1
+ import type { ItemProps } from './types';
2
+ export declare const Item: import("react").ForwardRefExoticComponent<ItemProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "as" | keyof ItemProps> & import("react").RefAttributes<HTMLDivElement>>;
3
3
  //# sourceMappingURL=item.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"item.d.ts","sourceRoot":"","sources":["../../src/menu/item.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAI7C,eAAO,MAAM,QAAQ,6PAqDlB,CAAC"}
1
+ {"version":3,"file":"item.d.ts","sourceRoot":"","sources":["../../src/menu/item.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAIzC,eAAO,MAAM,IAAI,qPAqDd,CAAC"}
@@ -1,3 +1,3 @@
1
- import type { MenuPopoverProps } from './types';
2
- export declare const MenuPopover: import("react").ForwardRefExoticComponent<MenuPopoverProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "as" | keyof MenuPopoverProps> & import("react").RefAttributes<HTMLDivElement>>;
1
+ import type { PopoverProps } from './types';
2
+ export declare const Popover: import("react").ForwardRefExoticComponent<PopoverProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "as" | keyof PopoverProps> & import("react").RefAttributes<HTMLDivElement>>;
3
3
  //# sourceMappingURL=popover.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../src/menu/popover.tsx"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAIhD,eAAO,MAAM,WAAW,mQA+ErB,CAAC"}
1
+ {"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../src/menu/popover.tsx"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAI5C,eAAO,MAAM,OAAO,2PA+EjB,CAAC"}
@@ -1,3 +1,3 @@
1
- import type { MenuRadioItemProps } from './types';
2
- export declare const MenuRadioItem: import("react").ForwardRefExoticComponent<MenuRadioItemProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "as" | keyof MenuRadioItemProps> & import("react").RefAttributes<HTMLDivElement>>;
1
+ import type { RadioItemProps } from './types';
2
+ export declare const RadioItem: import("react").ForwardRefExoticComponent<RadioItemProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "as" | keyof RadioItemProps> & import("react").RefAttributes<HTMLDivElement>>;
3
3
  //# sourceMappingURL=radio-item.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"radio-item.d.ts","sourceRoot":"","sources":["../../src/menu/radio-item.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAUlD,eAAO,MAAM,aAAa,uQA8CvB,CAAC"}
1
+ {"version":3,"file":"radio-item.d.ts","sourceRoot":"","sources":["../../src/menu/radio-item.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAU9C,eAAO,MAAM,SAAS,+PA8CnB,CAAC"}
@@ -1,3 +1,3 @@
1
- import type { MenuSeparatorProps } from './types';
2
- export declare const MenuSeparator: import("react").ForwardRefExoticComponent<MenuSeparatorProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHRElement>, HTMLHRElement>, "ref">, "children" | "as"> & import("react").RefAttributes<HTMLHRElement>>;
1
+ import type { SeparatorProps } from './types';
2
+ export declare const Separator: import("react").ForwardRefExoticComponent<SeparatorProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHRElement>, HTMLHRElement>, "ref">, "children" | "as"> & import("react").RefAttributes<HTMLHRElement>>;
3
3
  //# sourceMappingURL=separator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"separator.d.ts","sourceRoot":"","sources":["../../src/menu/separator.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAGlD,eAAO,MAAM,aAAa,sPAoBvB,CAAC"}
1
+ {"version":3,"file":"separator.d.ts","sourceRoot":"","sources":["../../src/menu/separator.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAG9C,eAAO,MAAM,SAAS,kPAoBnB,CAAC"}
@@ -2,30 +2,30 @@
2
2
  * External dependencies
3
3
  */
4
4
  import * as Ariakit from '@ariakit/react';
5
- import type { MenuContext } from './types';
6
- export declare const MenuPopoverOuterWrapper: import("@emotion/styled").StyledComponent<{
5
+ import type { ContextProps } from './types';
6
+ export declare const PopoverOuterWrapper: import("@emotion/styled").StyledComponent<{
7
7
  theme?: import("@emotion/react").Theme;
8
8
  as?: React.ElementType;
9
- } & Pick<MenuContext, "variant">, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
10
- export declare const MenuPopoverInnerWrapper: import("@emotion/styled").StyledComponent<{
9
+ } & Pick<ContextProps, "variant">, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
10
+ export declare const PopoverInnerWrapper: import("@emotion/styled").StyledComponent<{
11
11
  theme?: import("@emotion/react").Theme;
12
12
  as?: React.ElementType;
13
13
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
14
- export declare const MenuItem: import("@emotion/styled").StyledComponent<Ariakit.MenuItemOptions<"div"> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
14
+ export declare const Item: import("@emotion/styled").StyledComponent<Ariakit.MenuItemOptions<"div"> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
15
15
  ref?: ((instance: HTMLDivElement | 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]) | import("react").RefObject<HTMLDivElement> | null | undefined;
16
16
  }, keyof Ariakit.MenuItemOptions<T>> & {
17
17
  [index: `data-${string}`]: unknown;
18
18
  } & {
19
19
  theme?: import("@emotion/react").Theme;
20
20
  }, {}, {}>;
21
- export declare const MenuCheckboxItem: import("@emotion/styled").StyledComponent<Ariakit.MenuItemCheckboxOptions<"div"> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
21
+ export declare const CheckboxItem: import("@emotion/styled").StyledComponent<Ariakit.MenuItemCheckboxOptions<"div"> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
22
22
  ref?: ((instance: HTMLDivElement | 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]) | import("react").RefObject<HTMLDivElement> | null | undefined;
23
23
  }, keyof Ariakit.MenuItemCheckboxOptions<T>> & {
24
24
  [index: `data-${string}`]: unknown;
25
25
  } & {
26
26
  theme?: import("@emotion/react").Theme;
27
27
  }, {}, {}>;
28
- export declare const MenuRadioItem: import("@emotion/styled").StyledComponent<Ariakit.MenuItemRadioOptions<"div"> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
28
+ export declare const RadioItem: import("@emotion/styled").StyledComponent<Ariakit.MenuItemRadioOptions<"div"> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
29
29
  ref?: ((instance: HTMLDivElement | 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]) | import("react").RefObject<HTMLDivElement> | null | undefined;
30
30
  }, keyof Ariakit.MenuItemRadioOptions<T>> & {
31
31
  [index: `data-${string}`]: unknown;
@@ -36,11 +36,11 @@ export declare const ItemPrefixWrapper: import("@emotion/styled").StyledComponen
36
36
  theme?: import("@emotion/react").Theme;
37
37
  as?: React.ElementType;
38
38
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
39
- export declare const MenuItemContentWrapper: import("@emotion/styled").StyledComponent<{
39
+ export declare const ItemContentWrapper: import("@emotion/styled").StyledComponent<{
40
40
  theme?: import("@emotion/react").Theme;
41
41
  as?: React.ElementType;
42
42
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
43
- export declare const MenuItemChildrenWrapper: import("@emotion/styled").StyledComponent<{
43
+ export declare const ItemChildrenWrapper: import("@emotion/styled").StyledComponent<{
44
44
  theme?: import("@emotion/react").Theme;
45
45
  as?: React.ElementType;
46
46
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -48,36 +48,36 @@ export declare const ItemSuffixWrapper: import("@emotion/styled").StyledComponen
48
48
  theme?: import("@emotion/react").Theme;
49
49
  as?: React.ElementType;
50
50
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
51
- export declare const MenuGroup: import("@emotion/styled").StyledComponent<Ariakit.MenuGroupOptions<"div"> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
51
+ export declare const Group: import("@emotion/styled").StyledComponent<Ariakit.MenuGroupOptions<"div"> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
52
52
  ref?: ((instance: HTMLDivElement | 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]) | import("react").RefObject<HTMLDivElement> | null | undefined;
53
53
  }, keyof Ariakit.MenuGroupOptions<T>> & {
54
54
  [index: `data-${string}`]: unknown;
55
55
  } & {
56
56
  theme?: import("@emotion/react").Theme;
57
57
  }, {}, {}>;
58
- export declare const MenuGroupLabel: import("@emotion/styled").StyledComponent<Ariakit.MenuGroupLabelOptions<"div"> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
58
+ export declare const GroupLabel: import("@emotion/styled").StyledComponent<Ariakit.MenuGroupLabelOptions<"div"> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
59
59
  ref?: ((instance: HTMLDivElement | 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]) | import("react").RefObject<HTMLDivElement> | null | undefined;
60
60
  }, keyof Ariakit.MenuGroupLabelOptions<T>> & {
61
61
  [index: `data-${string}`]: unknown;
62
62
  } & {
63
63
  theme?: import("@emotion/react").Theme;
64
64
  }, {}, {}>;
65
- export declare const MenuSeparator: import("@emotion/styled").StyledComponent<Ariakit.MenuSeparatorOptions<"hr"> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHRElement>, HTMLHRElement>, "ref"> & {
65
+ export declare const Separator: import("@emotion/styled").StyledComponent<Ariakit.MenuSeparatorOptions<"hr"> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHRElement>, HTMLHRElement>, "ref"> & {
66
66
  ref?: ((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]) | import("react").RefObject<HTMLHRElement> | null | undefined;
67
67
  }, keyof Ariakit.MenuSeparatorOptions<T>> & {
68
68
  [index: `data-${string}`]: unknown;
69
69
  } & {
70
70
  theme?: import("@emotion/react").Theme;
71
- } & Pick<MenuContext, "variant">, {}, {}>;
71
+ } & Pick<ContextProps, "variant">, {}, {}>;
72
72
  export declare const SubmenuChevronIcon: import("@emotion/styled").StyledComponent<import("../icon").Props & {
73
73
  theme?: import("@emotion/react").Theme;
74
74
  }, {}, {}>;
75
- export declare const MenuItemLabel: import("@emotion/styled").StyledComponent<import("../truncate/types").TruncateProps & import("react").RefAttributes<any> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref">, "as" | keyof import("react").RefAttributes<any> | keyof import("../truncate/types").TruncateProps> & {
75
+ export declare const ItemLabel: import("@emotion/styled").StyledComponent<import("../truncate/types").TruncateProps & import("react").RefAttributes<any> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref">, "as" | keyof import("react").RefAttributes<any> | keyof import("../truncate/types").TruncateProps> & {
76
76
  as?: keyof JSX.IntrinsicElements | undefined;
77
77
  } & {
78
78
  theme?: import("@emotion/react").Theme;
79
79
  }, {}, {}>;
80
- export declare const MenuItemHelpText: import("@emotion/styled").StyledComponent<import("../truncate/types").TruncateProps & import("react").RefAttributes<any> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref">, "as" | keyof import("react").RefAttributes<any> | keyof import("../truncate/types").TruncateProps> & {
80
+ export declare const ItemHelpText: import("@emotion/styled").StyledComponent<import("../truncate/types").TruncateProps & import("react").RefAttributes<any> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref">, "as" | keyof import("react").RefAttributes<any> | keyof import("../truncate/types").TruncateProps> & {
81
81
  as?: keyof JSX.IntrinsicElements | undefined;
82
82
  } & {
83
83
  theme?: import("@emotion/react").Theme;
@@ -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,WAAW,EAAE,MAAM,SAAS,CAAC;AA8B3C,eAAO,MA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A5N5B,MAAO,WAAW;2GA+PnB,CAAC;AAEF,eAAO,MAAM,kBAAkB;;SAjQ7B,MAAO,WAAW;yGA8QnB,CAAC;AAEF,eAAO,MAAM,mBAAmB;;SAhR9B,MAAO,WAAW;yGAsRnB,CAAC;AAEF,eAAO,MAAM,iBAAiB;;SAxR5B,MAAO,WAAW;2GA6SnB,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;;;;UAYxB,CAAC"}
@@ -1,3 +1,3 @@
1
- import type { MenuItemProps } from './types';
2
- export declare const MenuSubmenuTriggerItem: import("react").ForwardRefExoticComponent<MenuItemProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "as" | keyof MenuItemProps> & import("react").RefAttributes<HTMLDivElement>>;
1
+ import type { ItemProps } from './types';
2
+ export declare const SubmenuTriggerItem: import("react").ForwardRefExoticComponent<ItemProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "as" | keyof ItemProps> & import("react").RefAttributes<HTMLDivElement>>;
3
3
  //# sourceMappingURL=submenu-trigger-item.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"submenu-trigger-item.d.ts","sourceRoot":"","sources":["../../src/menu/submenu-trigger-item.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAK7C,eAAO,MAAM,sBAAsB,6PAwChC,CAAC"}
1
+ {"version":3,"file":"submenu-trigger-item.d.ts","sourceRoot":"","sources":["../../src/menu/submenu-trigger-item.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAKzC,eAAO,MAAM,kBAAkB,qPAwC5B,CAAC"}
@@ -1,3 +1,3 @@
1
- import type { MenuTriggerButtonProps } from './types';
2
- export declare const MenuTriggerButton: import("react").ForwardRefExoticComponent<MenuTriggerButtonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">, "as" | keyof MenuTriggerButtonProps> & import("react").RefAttributes<HTMLDivElement>>;
1
+ import type { TriggerButtonProps } from './types';
2
+ export declare const TriggerButton: import("react").ForwardRefExoticComponent<TriggerButtonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">, "as" | keyof TriggerButtonProps> & import("react").RefAttributes<HTMLDivElement>>;
3
3
  //# sourceMappingURL=trigger-button.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"trigger-button.d.ts","sourceRoot":"","sources":["../../src/menu/trigger-button.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAGtD,eAAO,MAAM,iBAAiB,2RA4B3B,CAAC"}
1
+ {"version":3,"file":"trigger-button.d.ts","sourceRoot":"","sources":["../../src/menu/trigger-button.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAGlD,eAAO,MAAM,aAAa,mRA4BvB,CAAC"}
@@ -2,7 +2,7 @@
2
2
  * External dependencies
3
3
  */
4
4
  import type * as Ariakit from '@ariakit/react';
5
- export interface MenuContext {
5
+ export interface ContextProps {
6
6
  /**
7
7
  * The ariakit store shared across all Menu subcomponents.
8
8
  */
@@ -12,7 +12,7 @@ export interface MenuContext {
12
12
  */
13
13
  variant?: 'toolbar';
14
14
  }
15
- export interface MenuProps {
15
+ export interface Props {
16
16
  /**
17
17
  * The elements, which should include one instance of the `Menu.TriggerButton`
18
18
  * component and one instance of the `Menu.Popover` component.
@@ -47,7 +47,7 @@ export interface MenuProps {
47
47
  */
48
48
  placement?: Ariakit.MenuProviderProps['placement'];
49
49
  }
50
- export interface MenuPopoverProps {
50
+ export interface PopoverProps {
51
51
  /**
52
52
  * The contents of the menu popover, which should include instances of the
53
53
  * `Menu.Item`, `Menu.CheckboxItem`, `Menu.RadioItem`, `Menu.Group`, and
@@ -94,7 +94,7 @@ export interface MenuPopoverProps {
94
94
  */
95
95
  hideOnEscape?: Ariakit.MenuProps['hideOnEscape'];
96
96
  }
97
- export interface MenuTriggerButtonProps {
97
+ export interface TriggerButtonProps {
98
98
  /**
99
99
  * The contents of the menu trigger button.
100
100
  */
@@ -134,7 +134,7 @@ export interface MenuTriggerButtonProps {
134
134
  */
135
135
  accessibleWhenDisabled?: Ariakit.MenuButtonProps['accessibleWhenDisabled'];
136
136
  }
137
- export interface MenuGroupProps {
137
+ export interface GroupProps {
138
138
  /**
139
139
  * The contents of the menu group, which should include one instance of the
140
140
  * `Menu.GroupLabel` component and one or more instances of `Menu.Item`,
@@ -142,14 +142,14 @@ export interface MenuGroupProps {
142
142
  */
143
143
  children: Ariakit.MenuGroupProps['children'];
144
144
  }
145
- export interface MenuGroupLabelProps {
145
+ export interface GroupLabelProps {
146
146
  /**
147
147
  * The contents of the menu group label, which should provide an accessible
148
148
  * label for the menu group.
149
149
  */
150
150
  children: Ariakit.MenuGroupLabelProps['children'];
151
151
  }
152
- export interface MenuItemProps {
152
+ export interface ItemProps {
153
153
  /**
154
154
  * The contents of the menu item, which could include one instance of the
155
155
  * `Menu.ItemLabel` component and/or one instance of the `Menu.ItemHelpText`
@@ -195,7 +195,7 @@ export interface MenuItemProps {
195
195
  */
196
196
  store?: Ariakit.MenuItemProps['store'];
197
197
  }
198
- export interface MenuCheckboxItemProps {
198
+ export interface CheckboxItemProps {
199
199
  /**
200
200
  * The contents of the menu item, which could include one instance of the
201
201
  * `Menu.ItemLabel` component and/or one instance of the `Menu.ItemHelpText`
@@ -258,7 +258,7 @@ export interface MenuCheckboxItemProps {
258
258
  */
259
259
  onChange?: Ariakit.MenuItemCheckboxProps['onChange'];
260
260
  }
261
- export interface MenuRadioItemProps {
261
+ export interface RadioItemProps {
262
262
  /**
263
263
  * The contents of the menu item, which could include one instance of the
264
264
  * `Menu.ItemLabel` component and/or one instance of the `Menu.ItemHelpText`
@@ -320,6 +320,6 @@ export interface MenuRadioItemProps {
320
320
  */
321
321
  onChange?: Ariakit.MenuItemRadioProps['onChange'];
322
322
  }
323
- export interface MenuSeparatorProps {
323
+ export interface SeparatorProps {
324
324
  }
325
325
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/menu/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAE/C,MAAM,WAAW,WAAW;IAC3B;;OAEG;IACH,KAAK,EAAE,OAAO,CAAC,SAAS,CAAC;IACzB;;OAEG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;CACpB;AAED,MAAM,WAAW,SAAS;IACzB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAE,UAAU,CAAE,CAAC;IACnD;;;;;;;OAOG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAE,aAAa,CAAE,CAAC;IACzD;;;;;;;OAOG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAE,MAAM,CAAE,CAAC;IAC3C;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAE,SAAS,CAAE,CAAC;IACtD;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAE,WAAW,CAAE,CAAC;CACrD;AAED,MAAM,WAAW,gBAAgB;IAChC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC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;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC,qBAAqB,CAAE,SAAS,CAAE,CAAC;IACrD;;;;;OAKG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC,qBAAqB,CAAE,gBAAgB,CAAE,CAAC;IACnE;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC,qBAAqB,CAAE,UAAU,CAAE,CAAC;CACvD;AAED,MAAM,WAAW,cAAc;IAC9B;;;;OAIG;IACH,QAAQ,EAAE,OAAO,CAAC,kBAAkB,CAAE,UAAU,CAAE,CAAC;IACnD;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB;;;;;;;;OAQG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC,kBAAkB,CAAE,aAAa,CAAE,CAAC;IAC1D;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC,kBAAkB,CAAE,UAAU,CAAE,CAAC;IACpD;;;;;OAKG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC,kBAAkB,CAAE,QAAQ,CAAE,CAAC;IAChD;;OAEG;IACH,IAAI,EAAE,OAAO,CAAC,kBAAkB,CAAE,MAAM,CAAE,CAAC;IAC3C;;OAEG;IACH,KAAK,EAAE,OAAO,CAAC,kBAAkB,CAAE,OAAO,CAAE,CAAC;IAC7C;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC,kBAAkB,CAAE,SAAS,CAAE,CAAC;IAClD;;;;;OAKG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC,kBAAkB,CAAE,gBAAgB,CAAE,CAAC;IAChE;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC,kBAAkB,CAAE,UAAU,CAAE,CAAC;CACpD;AAED,MAAM,WAAW,cAAc;CAAG"}
@@ -13,5 +13,5 @@ export declare const Default: StoryFn<typeof MenuGroup>;
13
13
  * When other menu items exist above or below a MenuGroup, the group
14
14
  * should have a divider line between it and the adjacent item.
15
15
  */
16
- export declare const WithSeperator: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../types").MenuGroupProps>;
16
+ export declare const WithSeparator: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../types").MenuGroupProps>;
17
17
  //# sourceMappingURL=index.story.d.ts.map
@@ -76,7 +76,7 @@ export type NoticeProps = {
76
76
  isDismissible?: boolean;
77
77
  /**
78
78
  * A deprecated alternative to `onRemove`. This prop is kept for
79
- * compatibilty reasons but should be avoided.
79
+ * compatibility reasons but should be avoided.
80
80
  *
81
81
  * @default noop
82
82
  */
@@ -15,7 +15,7 @@ export declare const Default: StoryFn<typeof ProgressBar>;
15
15
  * You can override the default `width` by passing a custom CSS class via the
16
16
  * `className` prop.
17
17
  *
18
- * This example shows a progress bar with an overriden `width` of `100%` which
18
+ * This example shows a progress bar with an overridden `width` of `100%` which
19
19
  * makes it fit all available horizontal space of the parent element. The CSS
20
20
  * class looks like this:
21
21
  *
@@ -16,7 +16,4 @@ export declare const WithTabIconsAndTooltips: import("@storybook/csf").Annotated
16
16
  export declare const ManualActivation: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../types").TabsProps>;
17
17
  export declare const UsingSlotFill: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../types").TabsProps>;
18
18
  export declare const InsertCustomElements: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../types").TabsProps>;
19
- export declare const ControlledMode: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../types").TabsProps>;
20
- export declare const TabBecomesDisabled: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../types").TabsProps>;
21
- export declare const TabGetsRemoved: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../types").TabsProps>;
22
19
  //# sourceMappingURL=index.story.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/tabs/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAStD;;GAEG;AACH,OAAO,EAAE,IAAI,EAAE,MAAM,IAAI,CAAC;AAO1B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,IAAI,CAwB5B,CAAC;AACF,eAAe,IAAI,CAAC;AA+BpB,eAAO,MAAM,OAAO,mHAAsB,CAAC;AAE3C,eAAO,MAAM,yBAAyB,EAAE,OAAO,CAAE,OAAO,IAAI,CAqG3D,CAAC;AAiBF,eAAO,MAAM,QAAQ,mHAA8B,CAAC;AAwBpD,eAAO,MAAM,WAAW,mHAAiC,CAAC;AA0C1D,eAAO,MAAM,uBAAuB,mHAEnC,CAAC;AAEF,eAAO,MAAM,gBAAgB,mHAAsB,CAAC;AA0CpD,eAAO,MAAM,aAAa,mHAAmC,CAAC;AA0D9D,eAAO,MAAM,oBAAoB,mHAAiC,CAAC;AA6DnE,eAAO,MAAM,cAAc,mHAAoC,CAAC;AAqChE,eAAO,MAAM,kBAAkB,mHAAwC,CAAC;AAgCxE,eAAO,MAAM,cAAc,mHAAoC,CAAC"}
1
+ {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/tabs/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAStD;;GAEG;AACH,OAAO,EAAE,IAAI,EAAE,MAAM,IAAI,CAAC;AAM1B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,IAAI,CAwB5B,CAAC;AACF,eAAe,IAAI,CAAC;AA+BpB,eAAO,MAAM,OAAO,mHAAsB,CAAC;AAE3C,eAAO,MAAM,yBAAyB,EAAE,OAAO,CAAE,OAAO,IAAI,CAqG3D,CAAC;AAiBF,eAAO,MAAM,QAAQ,mHAA8B,CAAC;AAwBpD,eAAO,MAAM,WAAW,mHAAiC,CAAC;AA0C1D,eAAO,MAAM,uBAAuB,mHAEnC,CAAC;AAEF,eAAO,MAAM,gBAAgB,mHAAsB,CAAC;AA0CpD,eAAO,MAAM,aAAa,mHAAmC,CAAC;AA0D9D,eAAO,MAAM,oBAAoB,mHAAiC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"hook.d.ts","sourceRoot":"","sources":["../../src/text/hook.ts"],"names":[],"mappings":"AAWA;;GAEG;AACH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAU1D,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B;;GAEG;AACH,MAAM,CAAC,OAAO,UAAU,OAAO,CAC9B,KAAK,EAAE,uBAAuB,CAAE,KAAK,EAAE,MAAM,CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6J/C"}
1
+ {"version":3,"file":"hook.d.ts","sourceRoot":"","sources":["../../src/text/hook.ts"],"names":[],"mappings":"AAWA;;GAEG;AACH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAU1D,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B;;GAEG;AACH,MAAM,CAAC,OAAO,UAAU,OAAO,CAC9B,KAAK,EAAE,uB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