@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.
- package/CHANGELOG.md +19 -6
- package/CONTRIBUTING.md +4 -4
- package/README.md +1 -1
- package/build/badge/index.js +26 -22
- package/build/badge/index.js.map +1 -1
- package/build/circular-option-picker/circular-option-picker-option.js +9 -7
- package/build/circular-option-picker/circular-option-picker-option.js.map +1 -1
- package/build/circular-option-picker/circular-option-picker.js +0 -1
- package/build/circular-option-picker/circular-option-picker.js.map +1 -1
- package/build/color-palette/index.js +1 -6
- package/build/color-palette/index.js.map +1 -1
- package/build/font-size-picker/index.native.js +1 -1
- package/build/font-size-picker/index.native.js.map +1 -1
- package/build/higher-order/with-focus-return/index.js +1 -1
- package/build/higher-order/with-focus-return/index.js.map +1 -1
- package/build/input-control/styles/input-control-styles.js +22 -22
- package/build/input-control/styles/input-control-styles.js.map +1 -1
- package/build/menu/checkbox-item.js +6 -6
- package/build/menu/checkbox-item.js.map +1 -1
- package/build/menu/context.js +2 -2
- package/build/menu/context.js.map +1 -1
- package/build/menu/group-label.js +4 -4
- package/build/menu/group-label.js.map +1 -1
- package/build/menu/group.js +4 -4
- package/build/menu/group.js.map +1 -1
- package/build/menu/index.js +87 -14
- package/build/menu/index.js.map +1 -1
- package/build/menu/item-help-text.js +4 -4
- package/build/menu/item-help-text.js.map +1 -1
- package/build/menu/item-label.js +4 -4
- package/build/menu/item-label.js.map +1 -1
- package/build/menu/item.js +6 -6
- package/build/menu/item.js.map +1 -1
- package/build/menu/popover.js +5 -5
- package/build/menu/popover.js.map +1 -1
- package/build/menu/radio-item.js +6 -6
- package/build/menu/radio-item.js.map +1 -1
- package/build/menu/separator.js +4 -4
- package/build/menu/separator.js.map +1 -1
- package/build/menu/styles.js +41 -41
- package/build/menu/styles.js.map +1 -1
- package/build/menu/submenu-trigger-item.js +5 -5
- package/build/menu/submenu-trigger-item.js.map +1 -1
- package/build/menu/trigger-button.js +3 -3
- package/build/menu/trigger-button.js.map +1 -1
- package/build/menu/types.js.map +1 -1
- package/build/mobile/bottom-sheet/nav-bar/action-button.native.js +1 -1
- package/build/mobile/bottom-sheet/nav-bar/action-button.native.js.map +1 -1
- package/build/mobile/utils/get-px-from-css-unit.native.js +3 -3
- package/build/mobile/utils/get-px-from-css-unit.native.js.map +1 -1
- package/build/notice/types.js.map +1 -1
- package/build/search-control/index.js +1 -1
- package/build/search-control/index.js.map +1 -1
- package/build/text/hook.js +8 -6
- package/build/text/hook.js.map +1 -1
- package/build/text/utils.js +1 -1
- package/build/text/utils.js.map +1 -1
- package/build-module/badge/index.js +28 -22
- package/build-module/badge/index.js.map +1 -1
- package/build-module/circular-option-picker/circular-option-picker-option.js +9 -7
- package/build-module/circular-option-picker/circular-option-picker-option.js.map +1 -1
- package/build-module/circular-option-picker/circular-option-picker.js +0 -1
- package/build-module/circular-option-picker/circular-option-picker.js.map +1 -1
- package/build-module/color-palette/index.js +1 -6
- package/build-module/color-palette/index.js.map +1 -1
- package/build-module/font-size-picker/index.native.js +1 -1
- package/build-module/font-size-picker/index.native.js.map +1 -1
- package/build-module/higher-order/with-focus-return/index.js +1 -1
- package/build-module/higher-order/with-focus-return/index.js.map +1 -1
- package/build-module/input-control/styles/input-control-styles.js +22 -22
- package/build-module/input-control/styles/input-control-styles.js.map +1 -1
- package/build-module/menu/checkbox-item.js +6 -6
- package/build-module/menu/checkbox-item.js.map +1 -1
- package/build-module/menu/context.js +1 -1
- package/build-module/menu/context.js.map +1 -1
- package/build-module/menu/group-label.js +4 -4
- package/build-module/menu/group-label.js.map +1 -1
- package/build-module/menu/group.js +4 -4
- package/build-module/menu/group.js.map +1 -1
- package/build-module/menu/index.js +99 -26
- package/build-module/menu/index.js.map +1 -1
- package/build-module/menu/item-help-text.js +4 -4
- package/build-module/menu/item-help-text.js.map +1 -1
- package/build-module/menu/item-label.js +4 -4
- package/build-module/menu/item-label.js.map +1 -1
- package/build-module/menu/item.js +6 -6
- package/build-module/menu/item.js.map +1 -1
- package/build-module/menu/popover.js +5 -5
- package/build-module/menu/popover.js.map +1 -1
- package/build-module/menu/radio-item.js +6 -6
- package/build-module/menu/radio-item.js.map +1 -1
- package/build-module/menu/separator.js +4 -4
- package/build-module/menu/separator.js.map +1 -1
- package/build-module/menu/styles.js +40 -40
- package/build-module/menu/styles.js.map +1 -1
- package/build-module/menu/submenu-trigger-item.js +6 -6
- package/build-module/menu/submenu-trigger-item.js.map +1 -1
- package/build-module/menu/trigger-button.js +3 -3
- package/build-module/menu/trigger-button.js.map +1 -1
- package/build-module/menu/types.js.map +1 -1
- package/build-module/mobile/bottom-sheet/nav-bar/action-button.native.js +1 -1
- package/build-module/mobile/bottom-sheet/nav-bar/action-button.native.js.map +1 -1
- package/build-module/mobile/utils/get-px-from-css-unit.native.js +3 -3
- package/build-module/mobile/utils/get-px-from-css-unit.native.js.map +1 -1
- package/build-module/notice/types.js.map +1 -1
- package/build-module/search-control/index.js +1 -1
- package/build-module/search-control/index.js.map +1 -1
- package/build-module/text/hook.js +8 -6
- package/build-module/text/hook.js.map +1 -1
- package/build-module/text/utils.js +1 -1
- package/build-module/text/utils.js.map +1 -1
- package/build-style/style-rtl.css +89 -170
- package/build-style/style.css +89 -170
- package/build-types/badge/index.d.ts.map +1 -1
- package/build-types/circular-option-picker/circular-option-picker-option.d.ts.map +1 -1
- package/build-types/circular-option-picker/circular-option-picker.d.ts.map +1 -1
- package/build-types/circular-option-picker/stories/index.story.d.ts.map +1 -1
- package/build-types/color-palette/index.d.ts.map +1 -1
- package/build-types/higher-order/with-focus-return/index.d.ts +1 -1
- package/build-types/input-control/styles/input-control-styles.d.ts.map +1 -1
- package/build-types/menu/checkbox-item.d.ts +2 -2
- package/build-types/menu/checkbox-item.d.ts.map +1 -1
- package/build-types/menu/context.d.ts +2 -2
- package/build-types/menu/context.d.ts.map +1 -1
- package/build-types/menu/group-label.d.ts +2 -2
- package/build-types/menu/group-label.d.ts.map +1 -1
- package/build-types/menu/group.d.ts +2 -2
- package/build-types/menu/group.d.ts.map +1 -1
- package/build-types/menu/index.d.ts +84 -12
- package/build-types/menu/index.d.ts.map +1 -1
- package/build-types/menu/item-help-text.d.ts +1 -1
- package/build-types/menu/item-help-text.d.ts.map +1 -1
- package/build-types/menu/item-label.d.ts +1 -1
- package/build-types/menu/item-label.d.ts.map +1 -1
- package/build-types/menu/item.d.ts +2 -2
- package/build-types/menu/item.d.ts.map +1 -1
- package/build-types/menu/popover.d.ts +2 -2
- package/build-types/menu/popover.d.ts.map +1 -1
- package/build-types/menu/radio-item.d.ts +2 -2
- package/build-types/menu/radio-item.d.ts.map +1 -1
- package/build-types/menu/separator.d.ts +2 -2
- package/build-types/menu/separator.d.ts.map +1 -1
- package/build-types/menu/styles.d.ts +15 -15
- package/build-types/menu/styles.d.ts.map +1 -1
- package/build-types/menu/submenu-trigger-item.d.ts +2 -2
- package/build-types/menu/submenu-trigger-item.d.ts.map +1 -1
- package/build-types/menu/trigger-button.d.ts +2 -2
- package/build-types/menu/trigger-button.d.ts.map +1 -1
- package/build-types/menu/types.d.ts +10 -10
- package/build-types/menu/types.d.ts.map +1 -1
- package/build-types/menu-group/stories/index.story.d.ts +1 -1
- package/build-types/notice/types.d.ts +1 -1
- package/build-types/progress-bar/stories/index.story.d.ts +1 -1
- package/build-types/tabs/stories/index.story.d.ts +0 -3
- package/build-types/tabs/stories/index.story.d.ts.map +1 -1
- package/build-types/text/hook.d.ts.map +1 -1
- package/build-types/text/utils.d.ts +1 -1
- package/package.json +19 -19
- package/src/animate/style.scss +16 -12
- package/src/badge/index.tsx +28 -27
- package/src/border-control/test/index.js +12 -4
- package/src/button/style.scss +15 -12
- package/src/checkbox-control/style.scss +4 -2
- package/src/circular-option-picker/README.md +1 -2
- package/src/circular-option-picker/circular-option-picker-option.tsx +17 -10
- package/src/circular-option-picker/circular-option-picker.tsx +0 -1
- package/src/circular-option-picker/stories/index.story.tsx +0 -1
- package/src/circular-option-picker/style.scss +10 -5
- package/src/color-palette/index.tsx +0 -7
- package/src/color-palette/test/index.tsx +2 -8
- package/src/combobox-control/test/index.tsx +1 -1
- package/src/drop-zone/style.scss +6 -9
- package/src/font-size-picker/index.native.js +1 -1
- package/src/form-toggle/style.scss +17 -10
- package/src/form-token-field/style.scss +9 -4
- package/src/higher-order/navigate-regions/style.scss +2 -2
- package/src/higher-order/with-focus-return/index.tsx +1 -1
- package/src/input-control/styles/input-control-styles.tsx +6 -0
- package/src/menu/README.md +421 -174
- package/src/menu/checkbox-item.tsx +12 -12
- package/src/menu/context.tsx +2 -4
- package/src/menu/docs-manifest.json +62 -0
- package/src/menu/group-label.tsx +7 -7
- package/src/menu/group.tsx +7 -11
- package/src/menu/index.tsx +101 -31
- package/src/menu/item-help-text.tsx +5 -7
- package/src/menu/item-label.tsx +5 -7
- package/src/menu/item.tsx +12 -12
- package/src/menu/popover.tsx +9 -9
- package/src/menu/radio-item.tsx +12 -12
- package/src/menu/separator.tsx +7 -7
- package/src/menu/stories/best-practices.mdx +38 -0
- package/src/menu/stories/index.story.tsx +8 -8
- package/src/menu/styles.ts +24 -24
- package/src/menu/submenu-trigger-item.tsx +9 -9
- package/src/menu/trigger-button.tsx +6 -6
- package/src/menu/types.ts +10 -10
- package/src/menu-group/stories/index.story.tsx +2 -2
- package/src/mobile/bottom-sheet/nav-bar/action-button.native.js +1 -1
- package/src/mobile/utils/get-px-from-css-unit.native.js +3 -3
- package/src/modal/style.scss +4 -2
- package/src/modal/test/index.tsx +5 -4
- package/src/notice/README.md +3 -3
- package/src/notice/types.ts +1 -1
- package/src/palette-edit/test/index.tsx +1 -1
- package/src/panel/style.scss +14 -6
- package/src/placeholder/style.scss +5 -3
- package/src/progress-bar/stories/index.story.tsx +1 -1
- package/src/resizable-box/style.scss +14 -9
- package/src/search-control/index.tsx +1 -1
- package/src/tab-panel/style.scss +6 -4
- package/src/tabs/stories/index.story.tsx +0 -131
- package/src/text/README.md +1 -1
- package/src/text/hook.ts +3 -2
- package/src/text/stories/index.story.tsx +2 -2
- package/src/text/test/index.tsx +1 -1
- package/src/text/utils.ts +1 -1
- package/src/text-highlight/test/index.tsx +3 -3
- package/src/toolbar/toolbar/style.scss +4 -3
- 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,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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AAC;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 {
|
|
2
|
-
export declare const
|
|
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,
|
|
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 {
|
|
5
|
-
export declare const
|
|
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,
|
|
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 {
|
|
2
|
-
export declare const
|
|
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,
|
|
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 {
|
|
2
|
-
export declare const
|
|
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,
|
|
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 {
|
|
2
|
-
|
|
3
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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,
|
|
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
|
|
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,
|
|
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
|
|
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,
|
|
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 {
|
|
2
|
-
export declare const
|
|
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,
|
|
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 {
|
|
2
|
-
export declare const
|
|
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,
|
|
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 {
|
|
2
|
-
export declare const
|
|
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,
|
|
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 {
|
|
2
|
-
export declare const
|
|
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,
|
|
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 {
|
|
6
|
-
export declare const
|
|
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<
|
|
10
|
-
export declare const
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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<
|
|
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
|
|
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
|
|
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,
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/menu/styles.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAW1C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AA8B5C,eAAO,MAAM,mBAAmB;;SArB9B,MAAO,WAAW;yIAwEnB,CAAC;AAEF,eAAO,MAAM,mBAAmB;;SA1E9B,MAAO,WAAW;yGA6HnB,CAAC;AAmFF,eAAO,MAAM,IAAI;;;;;;UAEhB,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;UAExB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;UAErB,CAAC;AAEF,eAAO,MAAM,iBAAiB;;SA5N5B,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 {
|
|
2
|
-
export declare const
|
|
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,
|
|
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 {
|
|
2
|
-
export declare const
|
|
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,
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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,
|
|
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,YAAY;IAC5B;;OAEG;IACH,KAAK,EAAE,OAAO,CAAC,SAAS,CAAC;IACzB;;OAEG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;CACpB;AAED,MAAM,WAAW,KAAK;IACrB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAA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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
|
|
16
|
+
export declare const WithSeparator: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../types").MenuGroupProps>;
|
|
17
17
|
//# sourceMappingURL=index.story.d.ts.map
|
|
@@ -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
|
|
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;
|
|
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,KAA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