@wordpress/components 32.3.1-next.v.202602241322.0 → 32.4.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 +28 -1
- package/build/alignment-matrix-control/cell.cjs +2 -2
- package/build/alignment-matrix-control/cell.cjs.map +2 -2
- package/build/alignment-matrix-control/index.cjs +2 -2
- package/build/alignment-matrix-control/index.cjs.map +2 -2
- package/build/angle-picker-control/angle-circle.cjs +2 -2
- package/build/angle-picker-control/angle-circle.cjs.map +2 -2
- package/build/calendar/utils/constants.cjs +1 -0
- package/build/calendar/utils/constants.cjs.map +2 -2
- package/build/date-time/date/styles.cjs +9 -9
- package/build/date-time/date/styles.cjs.map +2 -2
- package/build/date-time/time/index.cjs +1 -1
- package/build/date-time/time/index.cjs.map +2 -2
- package/build/date-time/utils.cjs +9 -0
- package/build/date-time/utils.cjs.map +2 -2
- package/build/menu/radio-item.cjs +1 -1
- package/build/menu/radio-item.cjs.map +2 -2
- package/build/private-apis.cjs +0 -4
- package/build/private-apis.cjs.map +3 -3
- package/build/select-control/styles/select-control-styles.cjs +8 -8
- package/build/select-control/styles/select-control-styles.cjs.map +2 -2
- package/build/tooltip/index.cjs +1 -1
- package/build/tooltip/index.cjs.map +1 -1
- package/build/visually-hidden/styles.cjs +2 -1
- package/build/visually-hidden/styles.cjs.map +2 -2
- package/build-module/alignment-matrix-control/cell.mjs +2 -2
- package/build-module/alignment-matrix-control/cell.mjs.map +2 -2
- package/build-module/alignment-matrix-control/index.mjs +2 -2
- package/build-module/alignment-matrix-control/index.mjs.map +2 -2
- package/build-module/angle-picker-control/angle-circle.mjs +2 -2
- package/build-module/angle-picker-control/angle-circle.mjs.map +2 -2
- package/build-module/calendar/utils/constants.mjs +1 -0
- package/build-module/calendar/utils/constants.mjs.map +2 -2
- package/build-module/date-time/date/styles.mjs +9 -9
- package/build-module/date-time/date/styles.mjs.map +2 -2
- package/build-module/date-time/time/index.mjs +2 -2
- package/build-module/date-time/time/index.mjs.map +2 -2
- package/build-module/date-time/utils.mjs +8 -0
- package/build-module/date-time/utils.mjs.map +2 -2
- package/build-module/menu/radio-item.mjs +1 -1
- package/build-module/menu/radio-item.mjs.map +2 -2
- package/build-module/private-apis.mjs +0 -4
- package/build-module/private-apis.mjs.map +2 -2
- package/build-module/select-control/styles/select-control-styles.mjs +8 -8
- package/build-module/select-control/styles/select-control-styles.mjs.map +2 -2
- package/build-module/tooltip/index.mjs +1 -1
- package/build-module/tooltip/index.mjs.map +1 -1
- package/build-module/visually-hidden/styles.mjs +2 -1
- package/build-module/visually-hidden/styles.mjs.map +2 -2
- package/build-style/style-rtl.css +12 -184
- package/build-style/style.css +12 -184
- package/build-types/alignment-matrix-control/stories/index.story.d.ts +1 -1
- package/build-types/alignment-matrix-control/stories/index.story.d.ts.map +1 -1
- package/build-types/angle-picker-control/stories/index.story.d.ts +1 -1
- package/build-types/animate/stories/index.story.d.ts +7 -7
- package/build-types/animate/stories/index.story.d.ts.map +1 -1
- package/build-types/base-control/stories/index.story.d.ts +1 -1
- package/build-types/border-box-control/stories/index.story.d.ts +1 -1
- package/build-types/border-control/stories/index.story.d.ts +5 -5
- package/build-types/box-control/stories/index.story.d.ts +7 -7
- package/build-types/box-control/stories/index.story.d.ts.map +1 -1
- package/build-types/button/stories/e2e/index.story.d.ts +1 -1
- package/build-types/button/stories/e2e/index.story.d.ts.map +1 -1
- package/build-types/button/stories/index.story.d.ts +7 -7
- package/build-types/button/stories/index.story.d.ts.map +1 -1
- package/build-types/calendar/stories/date-calendar.story.d.ts +5 -0
- package/build-types/calendar/stories/date-calendar.story.d.ts.map +1 -1
- package/build-types/calendar/stories/date-range-calendar.story.d.ts +5 -0
- package/build-types/calendar/stories/date-range-calendar.story.d.ts.map +1 -1
- package/build-types/calendar/types.d.ts +12 -0
- package/build-types/calendar/types.d.ts.map +1 -1
- package/build-types/calendar/utils/constants.d.ts +1 -0
- package/build-types/calendar/utils/constants.d.ts.map +1 -1
- package/build-types/circular-option-picker/stories/index.story.d.ts +5 -5
- package/build-types/circular-option-picker/stories/index.story.d.ts.map +1 -1
- package/build-types/combobox-control/stories/index.story.d.ts +4 -4
- package/build-types/confirm-dialog/stories/index.story.d.ts +2 -2
- package/build-types/confirm-dialog/stories/index.story.d.ts.map +1 -1
- package/build-types/custom-gradient-picker/stories/index.story.d.ts +1 -1
- package/build-types/custom-gradient-picker/stories/index.story.d.ts.map +1 -1
- package/build-types/custom-select-control/stories/index.story.d.ts +3 -3
- package/build-types/custom-select-control/stories/index.story.d.ts.map +1 -1
- package/build-types/custom-select-control-v2/stories/index.story.d.ts +3 -3
- package/build-types/date-time/date/styles.d.ts.map +1 -1
- package/build-types/date-time/stories/time.story.d.ts +1 -1
- package/build-types/date-time/stories/time.story.d.ts.map +1 -1
- package/build-types/date-time/time/index.d.ts.map +1 -1
- package/build-types/date-time/utils.d.ts +9 -0
- package/build-types/date-time/utils.d.ts.map +1 -1
- package/build-types/drop-zone/stories/index.story.d.ts +1 -1
- package/build-types/drop-zone/stories/index.story.d.ts.map +1 -1
- package/build-types/dropdown/types.d.ts +9 -13
- package/build-types/dropdown/types.d.ts.map +1 -1
- package/build-types/duotone-picker/stories/duotone-picker.story.d.ts +1 -1
- package/build-types/duotone-picker/stories/duotone-picker.story.d.ts.map +1 -1
- package/build-types/duotone-picker/stories/duotone-swatch.story.d.ts +3 -3
- package/build-types/duotone-picker/stories/duotone-swatch.story.d.ts.map +1 -1
- package/build-types/focal-point-picker/stories/index.story.d.ts +4 -4
- package/build-types/form-file-upload/stories/index.story.d.ts +5 -5
- package/build-types/form-file-upload/stories/index.story.d.ts.map +1 -1
- package/build-types/guide/stories/index.story.d.ts +1 -1
- package/build-types/guide/stories/index.story.d.ts.map +1 -1
- package/build-types/icon/stories/index.story.d.ts +4 -4
- package/build-types/icon/stories/index.story.d.ts.map +1 -1
- package/build-types/input-control/stories/index.story.d.ts +7 -7
- package/build-types/input-control/stories/index.story.d.ts.map +1 -1
- package/build-types/keyboard-shortcuts/stories/index.story.d.ts +1 -1
- package/build-types/keyboard-shortcuts/stories/index.story.d.ts.map +1 -1
- package/build-types/menu/radio-item.d.ts.map +1 -1
- package/build-types/menu-group/stories/index.story.d.ts +1 -1
- package/build-types/menu-group/stories/index.story.d.ts.map +1 -1
- package/build-types/menu-item/stories/index.story.d.ts +4 -4
- package/build-types/modal/types.d.ts +9 -3
- package/build-types/modal/types.d.ts.map +1 -1
- package/build-types/navigation/stories/index.story.d.ts +6 -6
- package/build-types/navigation/stories/index.story.d.ts.map +1 -1
- package/build-types/notice/stories/index.story.d.ts +5 -5
- package/build-types/notice/stories/index.story.d.ts.map +1 -1
- package/build-types/number-control/stories/index.story.d.ts +1 -1
- package/build-types/palette-edit/stories/index.story.d.ts +2 -2
- package/build-types/palette-edit/stories/index.story.d.ts.map +1 -1
- package/build-types/popover/types.d.ts +10 -10
- package/build-types/popover/types.d.ts.map +1 -1
- package/build-types/private-apis.d.ts.map +1 -1
- package/build-types/progress-bar/stories/index.story.d.ts +1 -1
- package/build-types/progress-bar/stories/index.story.d.ts.map +1 -1
- package/build-types/query-controls/stories/index.story.d.ts +1 -1
- package/build-types/query-controls/stories/index.story.d.ts.map +1 -1
- package/build-types/resizable-box/stories/index.story.d.ts +2 -2
- package/build-types/responsive-wrapper/stories/index.story.d.ts +1 -1
- package/build-types/responsive-wrapper/stories/index.story.d.ts.map +1 -1
- package/build-types/sandbox/stories/index.story.d.ts +1 -1
- package/build-types/sandbox/stories/index.story.d.ts.map +1 -1
- package/build-types/search-control/stories/index.story.d.ts +1 -1
- package/build-types/select-control/stories/index.story.d.ts +5 -5
- package/build-types/select-control/styles/select-control-styles.d.ts.map +1 -1
- package/build-types/shortcut/stories/index.story.d.ts +1 -1
- package/build-types/shortcut/stories/index.story.d.ts.map +1 -1
- package/build-types/tab-panel/stories/index.story.d.ts +4 -4
- package/build-types/tab-panel/stories/index.story.d.ts.map +1 -1
- package/build-types/tabs/stories/index.story.d.ts +7 -7
- package/build-types/tabs/stories/index.story.d.ts.map +1 -1
- package/build-types/text/stories/index.story.d.ts +3 -3
- package/build-types/theme/stories/index.story.d.ts +1 -1
- package/build-types/toggle-control/stories/index.story.d.ts +2 -2
- package/build-types/toolbar/stories/index.story.d.ts +3 -3
- package/build-types/toolbar/stories/index.story.d.ts.map +1 -1
- package/build-types/tools-panel/tools-panel/hook.d.ts +1 -1
- package/build-types/tools-panel/types.d.ts +1 -1
- package/build-types/tools-panel/types.d.ts.map +1 -1
- package/build-types/tooltip/stories/index.story.d.ts +1 -1
- package/build-types/tooltip/stories/index.story.d.ts.map +1 -1
- package/build-types/tooltip/types.d.ts +2 -2
- package/build-types/tree-grid/stories/index.story.d.ts +1 -1
- package/build-types/tree-grid/stories/index.story.d.ts.map +1 -1
- package/build-types/tree-select/stories/index.story.d.ts +1 -1
- package/build-types/tree-select/stories/index.story.d.ts.map +1 -1
- package/build-types/v-stack/stories/index.story.d.ts +1 -1
- package/build-types/visually-hidden/styles.d.ts.map +1 -1
- package/package.json +25 -25
- package/src/button-group/stories/index.story.tsx +1 -1
- package/src/calendar/stories/date-calendar.story.tsx +11 -0
- package/src/calendar/stories/date-range-calendar.story.tsx +11 -0
- package/src/calendar/style.scss +5 -0
- package/src/calendar/types.ts +12 -0
- package/src/calendar/utils/constants.ts +1 -0
- package/src/composite/legacy/stories/index.story.tsx +1 -1
- package/src/date-time/date/styles.ts +1 -0
- package/src/date-time/test/utils.test.ts +8 -11
- package/src/date-time/time/index.tsx +2 -12
- package/src/date-time/time/test/index.tsx +69 -0
- package/src/date-time/utils.ts +18 -0
- package/src/dropdown/types.ts +9 -14
- package/src/form-token-field/style.scss +1 -0
- package/src/guide/style.scss +3 -0
- package/src/menu/radio-item.tsx +1 -1
- package/src/modal/style.scss +4 -7
- package/src/modal/types.ts +9 -5
- package/src/navigation/stories/index.story.tsx +1 -1
- package/src/notice/test/__snapshots__/index.tsx.snap +1 -1
- package/src/popover/types.ts +10 -10
- package/src/private-apis.ts +0 -4
- package/src/radio-group/stories/index.story.tsx +1 -1
- package/src/select-control/styles/select-control-styles.ts +1 -0
- package/src/snackbar/style.scss +1 -0
- package/src/style.scss +0 -2
- package/src/tools-panel/types.ts +4 -1
- package/src/tooltip/README.md +2 -2
- package/src/tooltip/index.tsx +2 -2
- package/src/tooltip/types.ts +2 -2
- package/src/visually-hidden/styles.ts +1 -0
- package/src/visually-hidden/test/__snapshots__/index.tsx.snap +1 -1
- package/build/avatar/component.cjs +0 -99
- package/build/avatar/component.cjs.map +0 -7
- package/build/avatar/index.cjs +0 -37
- package/build/avatar/index.cjs.map +0 -7
- package/build/avatar/types.cjs +0 -19
- package/build/avatar/types.cjs.map +0 -7
- package/build/avatar-group/component.cjs +0 -60
- package/build/avatar-group/component.cjs.map +0 -7
- package/build/avatar-group/index.cjs +0 -37
- package/build/avatar-group/index.cjs.map +0 -7
- package/build/avatar-group/types.cjs +0 -19
- package/build/avatar-group/types.cjs.map +0 -7
- package/build-module/avatar/component.mjs +0 -68
- package/build-module/avatar/component.mjs.map +0 -7
- package/build-module/avatar/index.mjs +0 -6
- package/build-module/avatar/index.mjs.map +0 -7
- package/build-module/avatar/types.mjs +0 -1
- package/build-module/avatar/types.mjs.map +0 -7
- package/build-module/avatar-group/component.mjs +0 -29
- package/build-module/avatar-group/component.mjs.map +0 -7
- package/build-module/avatar-group/index.mjs +0 -6
- package/build-module/avatar-group/index.mjs.map +0 -7
- package/build-module/avatar-group/types.mjs +0 -1
- package/build-module/avatar-group/types.mjs.map +0 -7
- package/build-types/avatar/component.d.ts +0 -5
- package/build-types/avatar/component.d.ts.map +0 -1
- package/build-types/avatar/index.d.ts +0 -3
- package/build-types/avatar/index.d.ts.map +0 -1
- package/build-types/avatar/types.d.ts +0 -59
- package/build-types/avatar/types.d.ts.map +0 -1
- package/build-types/avatar-group/component.d.ts +0 -8
- package/build-types/avatar-group/component.d.ts.map +0 -1
- package/build-types/avatar-group/index.d.ts +0 -3
- package/build-types/avatar-group/index.d.ts.map +0 -1
- package/build-types/avatar-group/types.d.ts +0 -14
- package/build-types/avatar-group/types.d.ts.map +0 -1
- package/src/avatar/component.tsx +0 -82
- package/src/avatar/index.ts +0 -2
- package/src/avatar/styles.scss +0 -152
- package/src/avatar/types.ts +0 -59
- package/src/avatar-group/component.tsx +0 -46
- package/src/avatar-group/index.ts +0 -2
- package/src/avatar-group/styles.scss +0 -32
- package/src/avatar-group/types.ts +0 -13
|
@@ -8,10 +8,10 @@ import type { Meta } from '@storybook/react-vite';
|
|
|
8
8
|
import FormFileUpload from '..';
|
|
9
9
|
declare const meta: Meta<typeof FormFileUpload>;
|
|
10
10
|
export default meta;
|
|
11
|
-
export declare const Default: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
12
|
-
export declare const RestrictFileTypes: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
13
|
-
export declare const AllowMultipleFiles: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
14
|
-
export declare const WithIcon: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
11
|
+
export declare const Default: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../types").FormFileUploadProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">, "as" | keyof import("../types").FormFileUploadProps>>;
|
|
12
|
+
export declare const RestrictFileTypes: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../types").FormFileUploadProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">, "as" | keyof import("../types").FormFileUploadProps>>;
|
|
13
|
+
export declare const AllowMultipleFiles: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../types").FormFileUploadProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">, "as" | keyof import("../types").FormFileUploadProps>>;
|
|
14
|
+
export declare const WithIcon: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../types").FormFileUploadProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">, "as" | keyof import("../types").FormFileUploadProps>>;
|
|
15
15
|
/**
|
|
16
16
|
* Render a custom trigger button by passing a render function to the `render` prop.
|
|
17
17
|
*
|
|
@@ -19,5 +19,5 @@ export declare const WithIcon: import("storybook/internal/csf").AnnotatedStoryFn
|
|
|
19
19
|
* ( { openFileDialog } ) => <button onClick={ openFileDialog }>Custom Upload Button</button>
|
|
20
20
|
* ```
|
|
21
21
|
*/
|
|
22
|
-
export declare const WithCustomRender: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
22
|
+
export declare const WithCustomRender: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../types").FormFileUploadProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">, "as" | keyof import("../types").FormFileUploadProps>>;
|
|
23
23
|
//# sourceMappingURL=index.story.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/form-file-upload/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAW,MAAM,uBAAuB,CAAC;AAO3D;;GAEG;AACH,OAAO,cAAc,MAAM,IAAI,CAAC;AAEhC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,cAAc,CAiBtC,CAAC;AACF,eAAe,IAAI,CAAC;AAMpB,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/form-file-upload/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAW,MAAM,uBAAuB,CAAC;AAO3D;;GAEG;AACH,OAAO,cAAc,MAAM,IAAI,CAAC;AAEhC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,cAAc,CAiBtC,CAAC;AACF,eAAe,IAAI,CAAC;AAMpB,eAAO,MAAM,OAAO,6TAAsB,CAAC;AAM3C,eAAO,MAAM,iBAAiB,6TAAsB,CAAC;AAOrD,eAAO,MAAM,kBAAkB,6TAAsB,CAAC;AAOtD,eAAO,MAAM,QAAQ,6TAAsB,CAAC;AAO5C;;;;;;GAMG;AACH,eAAO,MAAM,gBAAgB,6TAAsB,CAAC"}
|
|
@@ -5,5 +5,5 @@ import type { Meta } from '@storybook/react-vite';
|
|
|
5
5
|
import Guide from '..';
|
|
6
6
|
declare const meta: Meta<typeof Guide>;
|
|
7
7
|
export default meta;
|
|
8
|
-
export declare const Default: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
8
|
+
export declare const Default: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../types").GuideProps>;
|
|
9
9
|
//# sourceMappingURL=index.story.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/guide/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAW,MAAM,uBAAuB,CAAC;AAW3D,OAAO,KAAK,MAAM,IAAI,CAAC;AAEvB,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,KAAK,CAgB7B,CAAC;AACF,eAAe,IAAI,CAAC;AA8BpB,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/guide/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAW,MAAM,uBAAuB,CAAC;AAW3D,OAAO,KAAK,MAAM,IAAI,CAAC;AAEvB,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,KAAK,CAgB7B,CAAC;AACF,eAAe,IAAI,CAAC;AA8BpB,eAAO,MAAM,OAAO,4HAAsB,CAAC"}
|
|
@@ -8,17 +8,17 @@ import type { Meta, StoryFn } from '@storybook/react-vite';
|
|
|
8
8
|
import Icon from '..';
|
|
9
9
|
declare const meta: Meta<typeof Icon>;
|
|
10
10
|
export default meta;
|
|
11
|
-
export declare const Default: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
11
|
+
export declare const Default: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("..").Props>;
|
|
12
12
|
export declare const FillColor: StoryFn<typeof Icon>;
|
|
13
13
|
/**
|
|
14
14
|
* When `icon` is a function, it will be passed the `size` prop and any other additional props.
|
|
15
15
|
*/
|
|
16
|
-
export declare const WithAFunction: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
16
|
+
export declare const WithAFunction: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("..").Props>;
|
|
17
17
|
/**
|
|
18
18
|
* When `icon` is a component, it will be passed the `size` prop and any other additional props.
|
|
19
19
|
*/
|
|
20
|
-
export declare const WithAComponent: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
21
|
-
export declare const WithAnSVG: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
20
|
+
export declare const WithAComponent: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("..").Props>;
|
|
21
|
+
export declare const WithAnSVG: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("..").Props>;
|
|
22
22
|
/**
|
|
23
23
|
* Although it's preferred to use icons from the `@wordpress/icons` package, [Dashicons](https://developer.wordpress.org/resource/dashicons/) are still supported,
|
|
24
24
|
* as long as you are in a context where the Dashicons stylesheet is loaded. To simulate that here,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/icon/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAQ3D;;GAEG;AACH,OAAO,IAAI,MAAM,IAAI,CAAC;AAGtB,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,IAAI,CAY5B,CAAC;AACF,eAAe,IAAI,CAAC;AAIpB,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/icon/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAQ3D;;GAEG;AACH,OAAO,IAAI,MAAM,IAAI,CAAC;AAGtB,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,IAAI,CAY5B,CAAC;AACF,eAAe,IAAI,CAAC;AAIpB,eAAO,MAAM,OAAO,iHAAsB,CAAC;AAK3C,eAAO,MAAM,SAAS,EAAE,OAAO,CAAE,OAAO,IAAI,CAU3C,CAAC;AAKF;;GAEG;AACH,eAAO,MAAM,aAAa,iHAAsB,CAAC;AAqCjD;;GAEG;AACH,eAAO,MAAM,cAAc,iHAAsB,CAAC;AAqBlD,eAAO,MAAM,SAAS,iHAAsB,CAAC;AAU7C;;;;GAIG;AACH,eAAO,MAAM,aAAa,EAAE,OAAO,CAAE,OAAO,IAAI,CAU/C,CAAC"}
|
|
@@ -8,20 +8,20 @@ import type { Meta, StoryFn } from '@storybook/react-vite';
|
|
|
8
8
|
import InputControl from '..';
|
|
9
9
|
declare const meta: Meta<typeof InputControl>;
|
|
10
10
|
export default meta;
|
|
11
|
-
export declare const Default: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
12
|
-
export declare const WithHelpText: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
11
|
+
export declare const Default: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../types").InputControlProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
12
|
+
export declare const WithHelpText: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../types").InputControlProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
13
13
|
/**
|
|
14
14
|
* A `prefix` can be inserted before the input. By default, the prefix is aligned with the edge of the input border,
|
|
15
15
|
* with no padding. If you want to apply standard padding in accordance with the size variant, use the provided
|
|
16
16
|
* `<InputControlPrefixWrapper>` convenience wrapper.
|
|
17
17
|
*/
|
|
18
|
-
export declare const WithPrefix: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
18
|
+
export declare const WithPrefix: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../types").InputControlProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
19
19
|
/**
|
|
20
20
|
* A `suffix` can be inserted after the input. By default, the suffix is aligned with the edge of the input border,
|
|
21
21
|
* with no padding. If you want to apply standard padding in accordance with the size variant, use the provided
|
|
22
22
|
* `<InputControlSuffixWrapper>` convenience wrapper.
|
|
23
23
|
*/
|
|
24
|
-
export declare const WithSuffix: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
24
|
+
export declare const WithSuffix: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../types").InputControlProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
25
25
|
/**
|
|
26
26
|
* `<InputControlPrefixWrapper>` and `<InputControlSuffixWrapper>` have a `variant` prop that can be used to
|
|
27
27
|
* adjust the wrapper based on the prefix or suffix content.
|
|
@@ -30,8 +30,8 @@ export declare const WithSuffix: import("storybook/internal/csf").AnnotatedStory
|
|
|
30
30
|
* - `'icon'`: For icons.
|
|
31
31
|
* - `'control'`: For controls, like buttons or selects.
|
|
32
32
|
*/
|
|
33
|
-
export declare const WithIconOrControl: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
34
|
-
export declare const WithSideLabel: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
35
|
-
export declare const WithEdgeLabel: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
33
|
+
export declare const WithIconOrControl: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../types").InputControlProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
34
|
+
export declare const WithSideLabel: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../types").InputControlProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
35
|
+
export declare const WithEdgeLabel: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../types").InputControlProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
36
36
|
export declare const ShowPassword: StoryFn<typeof InputControl>;
|
|
37
37
|
//# sourceMappingURL=index.story.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/input-control/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAQ3D;;GAEG;AACH,OAAO,YAAY,MAAM,IAAI,CAAC;AAK9B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,YAAY,CA6BpC,CAAC;AACF,eAAe,IAAI,CAAC;AAMpB,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/input-control/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAQ3D;;GAEG;AACH,OAAO,YAAY,MAAM,IAAI,CAAC;AAK9B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,YAAY,CA6BpC,CAAC;AACF,eAAe,IAAI,CAAC;AAMpB,eAAO,MAAM,OAAO,qLAAsB,CAAC;AAO3C,eAAO,MAAM,YAAY,qLAAsB,CAAC;AAMhD;;;;GAIG;AACH,eAAO,MAAM,UAAU,qLAAsB,CAAC;AAM9C;;;;GAIG;AACH,eAAO,MAAM,UAAU,qLAAsB,CAAC;AAM9C;;;;;;;GAOG;AACH,eAAO,MAAM,iBAAiB,qLAAsB,CAAC;AAerD,eAAO,MAAM,aAAa,qLAAsB,CAAC;AAMjD,eAAO,MAAM,aAAa,qLAAsB,CAAC;AAOjD,eAAO,MAAM,YAAY,EAAE,OAAO,CAAE,OAAO,YAAY,CAmBtD,CAAC"}
|
|
@@ -8,5 +8,5 @@ import type { Meta } from '@storybook/react-vite';
|
|
|
8
8
|
import KeyboardShortcuts from '..';
|
|
9
9
|
declare const meta: Meta<typeof KeyboardShortcuts>;
|
|
10
10
|
export default meta;
|
|
11
|
-
export declare const Default: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
11
|
+
export declare const Default: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../types").KeyboardShortcutsProps>;
|
|
12
12
|
//# sourceMappingURL=index.story.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/keyboard-shortcuts/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAW,MAAM,uBAAuB,CAAC;AAE3D;;GAEG;AACH,OAAO,iBAAiB,MAAM,IAAI,CAAC;AAEnC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,iBAAiB,CAYzC,CAAC;AACF,eAAe,IAAI,CAAC;AAMpB,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/keyboard-shortcuts/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAW,MAAM,uBAAuB,CAAC;AAE3D;;GAEG;AACH,OAAO,iBAAiB,MAAM,IAAI,CAAC;AAEnC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,iBAAiB,CAYzC,CAAC;AACF,eAAe,IAAI,CAAC;AAMpB,eAAO,MAAM,OAAO,wIAAsB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-item.d.ts","sourceRoot":"","sources":["../../src/menu/radio-item.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"radio-item.d.ts","sourceRoot":"","sources":["../../src/menu/radio-item.tsx"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAS9C,eAAO,MAAM,SAAS,+PA8CnB,CAAC"}
|
|
@@ -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 WithSeparator: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
16
|
+
export declare const WithSeparator: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../types").MenuGroupProps>;
|
|
17
17
|
//# sourceMappingURL=index.story.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/menu-group/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAO3D;;GAEG;AACH,OAAO,SAAS,MAAM,IAAI,CAAC;AAI3B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,SAAS,CAgBjC,CAAC;AACF,eAAe,IAAI,CAAC;AAWpB,eAAO,MAAM,OAAO,EAAE,OAAO,CAAE,OAAO,SAAS,CAAwB,CAAC;AAkCxE;;;GAGG;AACH,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/menu-group/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAO3D;;GAEG;AACH,OAAO,SAAS,MAAM,IAAI,CAAC;AAI3B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,SAAS,CAgBjC,CAAC;AACF,eAAe,IAAI,CAAC;AAWpB,eAAO,MAAM,OAAO,EAAE,OAAO,CAAE,OAAO,SAAS,CAAwB,CAAC;AAkCxE;;;GAGG;AACH,eAAO,MAAM,aAAa,gIAAiC,CAAC"}
|
|
@@ -10,7 +10,7 @@ export declare const Default: StoryFn<typeof MenuItem>;
|
|
|
10
10
|
* When the `role` prop is either `"menuitemcheckbox"` or `"menuitemradio"`, the
|
|
11
11
|
* `isSelected` prop should be used so screen readers can tell which item is currently selected.
|
|
12
12
|
*/
|
|
13
|
-
export declare const IsSelected: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
13
|
+
export declare const IsSelected: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, Pick<import("../../button/types").ButtonAsButtonProps, "isDestructive"> & {
|
|
14
14
|
className?: string;
|
|
15
15
|
children?: import("react").ReactNode;
|
|
16
16
|
info?: string;
|
|
@@ -25,7 +25,7 @@ export declare const IsSelected: import("storybook/internal/csf").AnnotatedStory
|
|
|
25
25
|
suffix?: import("react").ReactNode;
|
|
26
26
|
label?: string;
|
|
27
27
|
} & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">, "label" | "icon" | "children" | "as" | "className" | "role" | "shortcut" | "isDestructive" | "suffix" | "info" | "iconPosition" | "isSelected"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
28
|
-
export declare const WithIcon: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
28
|
+
export declare const WithIcon: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, Pick<import("../../button/types").ButtonAsButtonProps, "isDestructive"> & {
|
|
29
29
|
className?: string;
|
|
30
30
|
children?: import("react").ReactNode;
|
|
31
31
|
info?: string;
|
|
@@ -40,7 +40,7 @@ export declare const WithIcon: import("storybook/internal/csf").AnnotatedStoryFn
|
|
|
40
40
|
suffix?: import("react").ReactNode;
|
|
41
41
|
label?: string;
|
|
42
42
|
} & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">, "label" | "icon" | "children" | "as" | "className" | "role" | "shortcut" | "isDestructive" | "suffix" | "info" | "iconPosition" | "isSelected"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
43
|
-
export declare const WithInfo: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
43
|
+
export declare const WithInfo: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, Pick<import("../../button/types").ButtonAsButtonProps, "isDestructive"> & {
|
|
44
44
|
className?: string;
|
|
45
45
|
children?: import("react").ReactNode;
|
|
46
46
|
info?: string;
|
|
@@ -55,7 +55,7 @@ export declare const WithInfo: import("storybook/internal/csf").AnnotatedStoryFn
|
|
|
55
55
|
suffix?: import("react").ReactNode;
|
|
56
56
|
label?: string;
|
|
57
57
|
} & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">, "label" | "icon" | "children" | "as" | "className" | "role" | "shortcut" | "isDestructive" | "suffix" | "info" | "iconPosition" | "isSelected"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
58
|
-
export declare const WithSuffix: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
58
|
+
export declare const WithSuffix: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, Pick<import("../../button/types").ButtonAsButtonProps, "isDestructive"> & {
|
|
59
59
|
className?: string;
|
|
60
60
|
children?: import("react").ReactNode;
|
|
61
61
|
info?: string;
|
|
@@ -50,12 +50,18 @@ export type ModalProps = {
|
|
|
50
50
|
*/
|
|
51
51
|
contentLabel?: string;
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
54
|
-
*
|
|
53
|
+
* Determines focus behavior when the modal opens.
|
|
54
|
+
*
|
|
55
|
+
* - `"firstElement"` focuses the first tabbable element within.
|
|
56
|
+
* - `"firstInputElement"` focuses the first value control within.
|
|
57
|
+
* - `"firstContentElement"` focuses the first tabbable element within the modal’s content element.
|
|
58
|
+
* - `true` focuses the element itself.
|
|
59
|
+
* - `false` does nothing and _should not be used unless an accessible
|
|
60
|
+
* substitute behavior is implemented_.
|
|
55
61
|
*
|
|
56
62
|
* @default true
|
|
57
63
|
*/
|
|
58
|
-
focusOnMount?:
|
|
64
|
+
focusOnMount?: useFocusOnMount.Mode | 'firstContentElement';
|
|
59
65
|
/**
|
|
60
66
|
* Elements that are injected into the modal header to the left of the close button (if rendered).
|
|
61
67
|
* Hidden if `__experimentalHideHeader` is `true`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/modal/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAE1D,MAAM,MAAM,UAAU,GAAG;IACxB,IAAI,CAAC,EAAE;QACN;;;WAGG;QACH,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB;;;;;;;;WAQG;QACH,UAAU,CAAC,EAAE,MAAM,CAAC;KACpB,CAAC;IACF;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;;;OAMG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/modal/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAE1D,MAAM,MAAM,UAAU,GAAG;IACxB,IAAI,CAAC,EAAE;QACN;;;WAGG;QACH,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB;;;;;;;;WAQG;QACH,UAAU,CAAC,EAAE,MAAM,CAAC;KACpB,CAAC;IACF;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;;;OAMG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;;;;;;;;OAWG;IACH,YAAY,CAAC,EAAE,eAAe,CAAC,IAAI,GAAG,qBAAqB,CAAC;IAC5D;;;;;OAKG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAEhC;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC;IACzB;;;;;OAKG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;;;;;OAOG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;IAC7C;;OAEG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,oBAAoB,CAAE,cAAc,CAAE,CAAC;IACzD;;OAEG;IACH,cAAc,EAAE,CACf,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAE,cAAc,CAAE,GAAG,KAAK,CAAC,cAAc,KAChE,IAAI,CAAC;IACV;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;;OAKG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC;IACtB;;;;;OAKG;IACH,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC;;;;;OAKG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B;;;;;OAKG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;;;;;OAQG;IACH,wBAAwB,CAAC,EAAE,OAAO,CAAC;CACnC,CAAC"}
|
|
@@ -14,10 +14,10 @@ import './style.css';
|
|
|
14
14
|
*/
|
|
15
15
|
declare const meta: Meta<typeof Navigation>;
|
|
16
16
|
export default meta;
|
|
17
|
-
export declare const _default: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
18
|
-
export declare const ControlledState: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
19
|
-
export declare const Groups: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
20
|
-
export declare const Search: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
21
|
-
export declare const MoreExamples: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
22
|
-
export declare const HideIfEmpty: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
17
|
+
export declare const _default: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../types").NavigationProps>;
|
|
18
|
+
export declare const ControlledState: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../types").NavigationProps>;
|
|
19
|
+
export declare const Groups: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../types").NavigationProps>;
|
|
20
|
+
export declare const Search: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../types").NavigationProps>;
|
|
21
|
+
export declare const MoreExamples: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../types").NavigationProps>;
|
|
22
|
+
export declare const HideIfEmpty: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../types").NavigationProps>;
|
|
23
23
|
//# sourceMappingURL=index.story.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/navigation/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAGlD;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AAWhC,OAAO,aAAa,CAAC;AAErB;;;;GAIG;AACH,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,UAAU,CAyBlC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/navigation/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAGlD;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AAWhC,OAAO,aAAa,CAAC;AAErB;;;;GAIG;AACH,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,UAAU,CAyBlC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,QAAQ,iIAA0B,CAAC;AAChD,eAAO,MAAM,eAAe,iIAAkC,CAAC;AAC/D,eAAO,MAAM,MAAM,iIAAwB,CAAC;AAC5C,eAAO,MAAM,MAAM,iIAAyB,CAAC;AAC7C,eAAO,MAAM,YAAY,iIAA+B,CAAC;AACzD,eAAO,MAAM,WAAW,iIAA8B,CAAC"}
|
|
@@ -9,13 +9,13 @@ import Notice from '..';
|
|
|
9
9
|
import NoticeList from '../list';
|
|
10
10
|
declare const meta: Meta<typeof Notice>;
|
|
11
11
|
export default meta;
|
|
12
|
-
export declare const Default: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
13
|
-
export declare const WithCustomSpokenMessage: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
14
|
-
export declare const WithJSXChildren: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
15
|
-
export declare const WithActions: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
12
|
+
export declare const Default: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../types").NoticeProps>;
|
|
13
|
+
export declare const WithCustomSpokenMessage: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../types").NoticeProps>;
|
|
14
|
+
export declare const WithJSXChildren: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../types").NoticeProps>;
|
|
15
|
+
export declare const WithActions: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../types").NoticeProps>;
|
|
16
16
|
export declare const NoticeListSubcomponent: StoryFn<typeof NoticeList>;
|
|
17
17
|
/**
|
|
18
18
|
* Action buttons can be disabled.
|
|
19
19
|
*/
|
|
20
|
-
export declare const WithDisabledAction: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
20
|
+
export declare const WithDisabledAction: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../types").NoticeProps>;
|
|
21
21
|
//# sourceMappingURL=index.story.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/notice/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAQ3D;;GAEG;AACH,OAAO,MAAM,MAAM,IAAI,CAAC;AAExB,OAAO,UAAU,MAAM,SAAS,CAAC;AAGjC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,MAAM,CAkB9B,CAAC;AACF,eAAe,IAAI,CAAC;AAMpB,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/notice/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAQ3D;;GAEG;AACH,OAAO,MAAM,MAAM,IAAI,CAAC;AAExB,OAAO,UAAU,MAAM,SAAS,CAAC;AAGjC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,MAAM,CAkB9B,CAAC;AACF,eAAe,IAAI,CAAC;AAMpB,eAAO,MAAM,OAAO,6HAAsB,CAAC;AAK3C,eAAO,MAAM,uBAAuB,6HAAsB,CAAC;AAO3D,eAAO,MAAM,eAAe,6HAAsB,CAAC;AAiBnD,eAAO,MAAM,WAAW,6HAAsB,CAAC;AAqB/C,eAAO,MAAM,sBAAsB,EAAE,OAAO,CAAE,OAAO,UAAU,CAmD9D,CAAC;AAGF;;GAEG;AACH,eAAO,MAAM,kBAAkB,6HAAsB,CAAC"}
|
|
@@ -8,7 +8,7 @@ import type { Meta } from '@storybook/react-vite';
|
|
|
8
8
|
import NumberControl from '..';
|
|
9
9
|
declare const meta: Meta<typeof NumberControl>;
|
|
10
10
|
export default meta;
|
|
11
|
-
export declare const Default: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
11
|
+
export declare const Default: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, Omit<import("../../input-control/types").InputControlProps, "value" | "max" | "min" | "type" | "required" | "step" | "isDragEnabled"> & {
|
|
12
12
|
hideHTMLArrows?: boolean;
|
|
13
13
|
spinControls?: "none" | "native" | "custom";
|
|
14
14
|
isDragEnabled?: import("../../input-control/types").InputControlProps["isDragEnabled"];
|
|
@@ -8,6 +8,6 @@ import type { Meta } from '@storybook/react-vite';
|
|
|
8
8
|
import PaletteEdit from '..';
|
|
9
9
|
declare const meta: Meta<typeof PaletteEdit>;
|
|
10
10
|
export default meta;
|
|
11
|
-
export declare const Default: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
12
|
-
export declare const Gradients: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
11
|
+
export declare const Default: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../types").PaletteEditProps>;
|
|
12
|
+
export declare const Gradients: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../types").PaletteEditProps>;
|
|
13
13
|
//# sourceMappingURL=index.story.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/palette-edit/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAW,MAAM,uBAAuB,CAAC;AAQ3D;;GAEG;AACH,OAAO,WAAW,MAAM,IAAI,CAAC;AAG7B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,WAAW,CAcnC,CAAC;AACF,eAAe,IAAI,CAAC;AA4BpB,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/palette-edit/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAW,MAAM,uBAAuB,CAAC;AAQ3D;;GAEG;AACH,OAAO,WAAW,MAAM,IAAI,CAAC;AAG7B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,WAAW,CAcnC,CAAC;AACF,eAAe,IAAI,CAAC;AA4BpB,eAAO,MAAM,OAAO,kIAAsB,CAAC;AAe3C,eAAO,MAAM,SAAS,kIAAsB,CAAC"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* External dependencies
|
|
3
|
-
*/
|
|
4
|
-
import type { ReactNode, MutableRefObject, SyntheticEvent } from 'react';
|
|
5
1
|
import type { Placement } from '@floating-ui/react-dom';
|
|
2
|
+
import type { useFocusOnMount } from '@wordpress/compose';
|
|
3
|
+
import type { MutableRefObject, ReactNode, SyntheticEvent } from 'react';
|
|
6
4
|
type PositionYAxis = 'top' | 'middle' | 'bottom';
|
|
7
5
|
type PositionXAxis = 'left' | 'center' | 'right';
|
|
8
6
|
type PositionCorner = 'top' | 'right' | 'bottom' | 'left';
|
|
@@ -70,15 +68,17 @@ export type PopoverProps = {
|
|
|
70
68
|
*/
|
|
71
69
|
constrainTabbing?: boolean;
|
|
72
70
|
/**
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
*
|
|
71
|
+
* Determines focus behavior when the popover mounts.
|
|
72
|
+
*
|
|
73
|
+
* - `"firstElement"` focuses the first tabbable element within.
|
|
74
|
+
* - `"firstInputElement"` focuses the first value control within.
|
|
75
|
+
* - `true` focuses the element itself.
|
|
76
|
+
* - `false` does nothing and _should not be used unless an accessible
|
|
77
|
+
* substitute behavior is implemented_.
|
|
78
78
|
*
|
|
79
79
|
* @default 'firstElement'
|
|
80
80
|
*/
|
|
81
|
-
focusOnMount?:
|
|
81
|
+
focusOnMount?: useFocusOnMount.Mode;
|
|
82
82
|
/**
|
|
83
83
|
* A callback invoked when the focus leaves the opened popover. This should
|
|
84
84
|
* only be provided in advanced use-cases when a popover should close under
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/popover/types.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/popover/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,KAAK,EAAE,gBAAgB,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEzE,KAAK,aAAa,GAAG,KAAK,GAAG,QAAQ,GAAG,QAAQ,CAAC;AACjD,KAAK,aAAa,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;AACjD,KAAK,cAAc,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;AAE1D,KAAK,wBAAwB,GAAG,OAAO,GAAG;IACzC,aAAa,CAAC,EAAE,QAAQ,CAAC;CACzB,CAAC;AAEF,KAAK,gBAAgB,GAAG,SAAS,GAAG,SAAS,CAAC;AAE9C,MAAM,MAAM,yBAAyB,GAAG,gBAAgB,CACvD,OAAO,GAAG,IAAI,GAAG,SAAS,CAC1B,CAAC;AACF,MAAM,MAAM,yBAAyB,GAAG;IAAE,GAAG,EAAE,OAAO,CAAC;IAAC,MAAM,EAAE,OAAO,CAAA;CAAE,CAAC;AAE1E,MAAM,MAAM,cAAc,GAAG,IAAI,CAAE,OAAO,EAAE,uBAAuB,CAAE,GAAG;IACvE,aAAa,CAAC,EAAE,QAAQ,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IAC1B;;;;;OAKG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,OAAO,GAAG,cAAc,GAAG,IAAI,CAAC;IACzC;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;;;;;;;;OASG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;;;;;;OAOG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;;;;;;;;;OAUG;IACH,YAAY,CAAC,EAAE,eAAe,CAAC,IAAI,CAAC;IACpC;;;;;;;OAOG;IACH,cAAc,CAAC,EAAE,CAAE,KAAK,EAAE,cAAc,KAAM,IAAI,CAAC;IACnD;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;;;OAIG;IACH,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAC7B;;;OAGG;IACH,QAAQ,CAAC,EACN,GAAI,aAAc,EAAE,GACpB,GAAI,aAAc,IAAK,aAAc,EAAE,GACvC,GAAI,aAAc,IAAK,aAAc,IAAK,cAAe,EAAE,CAAC;IAC/D;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;;;;OAOG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;;;;;;;;;;;OAYG;IACH,OAAO,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IACjC;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB;;;;;;OAMG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC;;;;;OAKG;IACH,UAAU,CAAC,EAAE,wBAAwB,CAAC;IACtC;;;;;;OAMG;IACH,SAAS,CAAC,EACP,OAAO,GACP,yBAAyB,GACzB,yBAAyB,GACzB,KAAK,CAAC;IACT;;;;;OAKG;IACH,aAAa,CAAC,EAAE,CACf,wBAAwB,EAAE,OAAO,GAAG,IAAI,KACpC,wBAAwB,CAAC;IAC9B;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC9B;;;;;OAKG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACd,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"private-apis.d.ts","sourceRoot":"","sources":["../src/private-apis.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"private-apis.d.ts","sourceRoot":"","sources":["../src/private-apis.ts"],"names":[],"mappings":"AAiCA,eAAO,MAAM,WAAW,IAAK,CAAC"}
|
|
@@ -25,5 +25,5 @@ export declare const Default: StoryFn<typeof ProgressBar>;
|
|
|
25
25
|
* }
|
|
26
26
|
* ```
|
|
27
27
|
*/
|
|
28
|
-
export declare const WithCustomWidth: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
28
|
+
export declare const WithCustomWidth: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../types").ProgressBarProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ProgressHTMLAttributes<HTMLProgressElement>, HTMLProgressElement>, "ref">, "children" | "as" | keyof import("../types").ProgressBarProps> & import("react").RefAttributes<HTMLProgressElement>>;
|
|
29
29
|
//# sourceMappingURL=index.story.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/progress-bar/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAE3D;;GAEG;AACH,OAAO,EAAE,WAAW,EAAE,MAAM,IAAI,CAAC;AAEjC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,WAAW,CAiBnC,CAAC;AACF,eAAe,IAAI,CAAC;AAMpB,eAAO,MAAM,OAAO,EAAE,OAAO,CAAE,OAAO,WAAW,CAAwB,CAAC;AAS1E;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/progress-bar/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAE3D;;GAEG;AACH,OAAO,EAAE,WAAW,EAAE,MAAM,IAAI,CAAC;AAEjC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,WAAW,CAiBnC,CAAC;AACF,eAAe,IAAI,CAAC;AAMpB,eAAO,MAAM,OAAO,EAAE,OAAO,CAAE,OAAO,WAAW,CAAwB,CAAC;AAS1E;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,eAAe,+XAAsB,CAAC"}
|
|
@@ -9,5 +9,5 @@ import QueryControls from '..';
|
|
|
9
9
|
declare const meta: Meta<typeof QueryControls>;
|
|
10
10
|
export default meta;
|
|
11
11
|
export declare const Default: StoryFn<typeof QueryControls>;
|
|
12
|
-
export declare const SelectSingleCategory: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
12
|
+
export declare const SelectSingleCategory: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../types").QueryControlsProps>;
|
|
13
13
|
//# sourceMappingURL=index.story.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/query-controls/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAQ3D;;GAEG;AACH,OAAO,aAAa,MAAM,IAAI,CAAC;AAO/B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,aAAa,CA0BrC,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,EAAE,OAAO,CAAE,OAAO,aAAa,CAuElD,CAAC;AA4EF,eAAO,MAAM,oBAAoB,
|
|
1
|
+
{"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/query-controls/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAQ3D;;GAEG;AACH,OAAO,aAAa,MAAM,IAAI,CAAC;AAO/B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,aAAa,CA0BrC,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,EAAE,OAAO,CAAE,OAAO,aAAa,CAuElD,CAAC;AA4EF,eAAO,MAAM,oBAAoB,oIAAoC,CAAC"}
|
|
@@ -8,7 +8,7 @@ import type { Meta } from '@storybook/react-vite';
|
|
|
8
8
|
import ResizableBox from '..';
|
|
9
9
|
declare const meta: Meta<typeof ResizableBox>;
|
|
10
10
|
export default meta;
|
|
11
|
-
export declare const Default: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
11
|
+
export declare const Default: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("re-resizable").ResizableProps & {
|
|
12
12
|
children: import("react").ReactNode;
|
|
13
13
|
showHandle?: boolean;
|
|
14
14
|
__experimentalShowTooltip?: boolean;
|
|
@@ -31,7 +31,7 @@ export declare const Default: import("storybook/internal/csf").AnnotatedStoryFn<
|
|
|
31
31
|
/**
|
|
32
32
|
* The `enable` prop can be used to disable resizing in specific directions.
|
|
33
33
|
*/
|
|
34
|
-
export declare const DisabledDirections: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
34
|
+
export declare const DisabledDirections: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("re-resizable").ResizableProps & {
|
|
35
35
|
children: import("react").ReactNode;
|
|
36
36
|
showHandle?: boolean;
|
|
37
37
|
__experimentalShowTooltip?: boolean;
|
|
@@ -8,7 +8,7 @@ import type { Meta, StoryFn } from '@storybook/react-vite';
|
|
|
8
8
|
import ResponsiveWrapper from '..';
|
|
9
9
|
declare const meta: Meta<typeof ResponsiveWrapper>;
|
|
10
10
|
export default meta;
|
|
11
|
-
export declare const Default: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
11
|
+
export declare const Default: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../types").ResponsiveWrapperProps>;
|
|
12
12
|
/**
|
|
13
13
|
* When passing an `SVG` element as the `<ResponsiveWrapper />`'s child, make
|
|
14
14
|
* sure that it has the `viewbox` and the `preserveAspectRatio` set.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/responsive-wrapper/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAE3D;;GAEG;AACH,OAAO,iBAAiB,MAAM,IAAI,CAAC;AAEnC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,iBAAiB,CAgBzC,CAAC;AACF,eAAe,IAAI,CAAC;AAMpB,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/responsive-wrapper/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAE3D;;GAEG;AACH,OAAO,iBAAiB,MAAM,IAAI,CAAC;AAEnC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,iBAAiB,CAgBzC,CAAC;AACF,eAAe,IAAI,CAAC;AAMpB,eAAO,MAAM,OAAO,wIAAsB,CAAC;AAY3C;;;;;;;;GAQG;AACH,eAAO,MAAM,OAAO,EAAE,OAAO,CAAE,OAAO,iBAAiB,CAAwB,CAAC"}
|
|
@@ -8,5 +8,5 @@ import type { Meta } from '@storybook/react-vite';
|
|
|
8
8
|
import SandBox from '..';
|
|
9
9
|
declare const meta: Meta<typeof SandBox>;
|
|
10
10
|
export default meta;
|
|
11
|
-
export declare const Default: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
11
|
+
export declare const Default: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../types").SandBoxProps>;
|
|
12
12
|
//# sourceMappingURL=index.story.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/sandbox/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAW,MAAM,uBAAuB,CAAC;AAG3D;;GAEG;AACH,OAAO,OAAO,MAAM,IAAI,CAAC;AAEzB,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,OAAO,CAkB/B,CAAC;AACF,eAAe,IAAI,CAAC;AAIpB,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/sandbox/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAW,MAAM,uBAAuB,CAAC;AAG3D;;GAEG;AACH,OAAO,OAAO,MAAM,IAAI,CAAC;AAEzB,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,OAAO,CAkB/B,CAAC;AACF,eAAe,IAAI,CAAC;AAIpB,eAAO,MAAM,OAAO,8HAAsB,CAAC"}
|
|
@@ -8,7 +8,7 @@ import type { Meta } from '@storybook/react-vite';
|
|
|
8
8
|
import SearchControl from '..';
|
|
9
9
|
declare const meta: Meta<typeof SearchControl>;
|
|
10
10
|
export default meta;
|
|
11
|
-
export declare const Default: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
11
|
+
export declare const Default: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, Pick<import("../../input-control/types").InputControlProps, "value" | "help"> & {
|
|
12
12
|
__next40pxDefaultSize?: import("../../input-control/types").InputControlProps["__next40pxDefaultSize"];
|
|
13
13
|
__nextHasNoMarginBottom?: boolean;
|
|
14
14
|
hideLabelFromVision?: import("../../input-control/types").InputControlProps["hideLabelFromVision"];
|
|
@@ -8,27 +8,27 @@ import type { Meta } from '@storybook/react-vite';
|
|
|
8
8
|
import SelectControl from '../';
|
|
9
9
|
declare const meta: Meta<typeof SelectControl>;
|
|
10
10
|
export default meta;
|
|
11
|
-
export declare const Default: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
11
|
+
export declare const Default: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../../context").WordPressComponentProps<import("../types").SelectControlProps<string>, "select", false> & {
|
|
12
12
|
ref?: React.Ref<HTMLSelectElement>;
|
|
13
13
|
}>;
|
|
14
|
-
export declare const WithLabelAndHelpText: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
14
|
+
export declare const WithLabelAndHelpText: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../../context").WordPressComponentProps<import("../types").SelectControlProps<string>, "select", false> & {
|
|
15
15
|
ref?: React.Ref<HTMLSelectElement>;
|
|
16
16
|
}>;
|
|
17
17
|
/**
|
|
18
18
|
* As an alternative to the `options` prop, `optgroup`s and `options` can be
|
|
19
19
|
* passed in as `children` for more customizeability.
|
|
20
20
|
*/
|
|
21
|
-
export declare const WithCustomChildren: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
21
|
+
export declare const WithCustomChildren: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../../context").WordPressComponentProps<import("../types").SelectControlProps<string>, "select", false> & {
|
|
22
22
|
ref?: React.Ref<HTMLSelectElement>;
|
|
23
23
|
}>;
|
|
24
24
|
/**
|
|
25
25
|
* By default, the prefix is aligned with the edge of the input border, with no padding.
|
|
26
26
|
* If you want to apply standard padding in accordance with the size variant, wrap the element in the `<InputControlPrefixWrapper>` component.
|
|
27
27
|
*/
|
|
28
|
-
export declare const WithPrefix: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
28
|
+
export declare const WithPrefix: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../../context").WordPressComponentProps<import("../types").SelectControlProps<string>, "select", false> & {
|
|
29
29
|
ref?: React.Ref<HTMLSelectElement>;
|
|
30
30
|
}>;
|
|
31
|
-
export declare const Minimal: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
31
|
+
export declare const Minimal: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../../context").WordPressComponentProps<import("../types").SelectControlProps<string>, "select", false> & {
|
|
32
32
|
ref?: React.Ref<HTMLSelectElement>;
|
|
33
33
|
}>;
|
|
34
34
|
//# sourceMappingURL=index.story.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select-control-styles.d.ts","sourceRoot":"","sources":["../../../src/select-control/styles/select-control-styles.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAKnD,UAAU,WACT,SAAQ,IAAI,CACX,kBAAkB,EAClB,uBAAuB,GAAG,UAAU,GAAG,UAAU,GAAG,SAAS,CAC7D;IAGD,UAAU,CAAC,EAAE,kBAAkB,CAAE,MAAM,CAAE,CAAC;CAC1C;AAuBD,eAAO,MAAM,eAAe;;;;wBAM3B,CAAC;AAiDF,eAAO,MAAM,eAAe,KAAK,CAAC;AAmDlC,eAAO,MAAM,MAAM;;;
|
|
1
|
+
{"version":3,"file":"select-control-styles.d.ts","sourceRoot":"","sources":["../../../src/select-control/styles/select-control-styles.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAKnD,UAAU,WACT,SAAQ,IAAI,CACX,kBAAkB,EAClB,uBAAuB,GAAG,UAAU,GAAG,UAAU,GAAG,SAAS,CAC7D;IAGD,UAAU,CAAC,EAAE,kBAAkB,CAAE,MAAM,CAAE,CAAC;CAC1C;AAuBD,eAAO,MAAM,eAAe;;;;wBAM3B,CAAC;AAiDF,eAAO,MAAM,eAAe,KAAK,CAAC;AAmDlC,eAAO,MAAM,MAAM;;;mIAwBlB,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;yGAO5B,CAAC;AAEF,eAAO,MAAM,yCAAyC;;;;UAOrD,CAAC"}
|
|
@@ -9,5 +9,5 @@ import Shortcut from '../';
|
|
|
9
9
|
declare const meta: Meta<typeof Shortcut>;
|
|
10
10
|
export default meta;
|
|
11
11
|
export declare const Default: StoryFn<typeof Shortcut>;
|
|
12
|
-
export declare const WithAriaLabel: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
12
|
+
export declare const WithAriaLabel: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../types").ShortcutProps>;
|
|
13
13
|
//# sourceMappingURL=index.story.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/shortcut/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAE3D;;GAEG;AACH,OAAO,QAAQ,MAAM,KAAK,CAAC;AAE3B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,QAAQ,CAchC,CAAC;AACF,eAAe,IAAI,CAAC;AAMpB,eAAO,MAAM,OAAO,EAAE,OAAO,CAAE,OAAO,QAAQ,CAAwB,CAAC;AAEvE,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/shortcut/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAE3D;;GAEG;AACH,OAAO,QAAQ,MAAM,KAAK,CAAC;AAE3B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,QAAQ,CAchC,CAAC;AACF,eAAe,IAAI,CAAC;AAMpB,eAAO,MAAM,OAAO,EAAE,OAAO,CAAE,OAAO,QAAQ,CAAwB,CAAC;AAEvE,eAAO,MAAM,aAAa,+HAAsB,CAAC"}
|
|
@@ -8,8 +8,8 @@ import type { Meta } from '@storybook/react-vite';
|
|
|
8
8
|
import TabPanel from '..';
|
|
9
9
|
declare const meta: Meta<typeof TabPanel>;
|
|
10
10
|
export default meta;
|
|
11
|
-
export declare const Default: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
12
|
-
export declare const DisabledTab: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
13
|
-
export declare const WithTabIconsAndTooltips: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
14
|
-
export declare const ManualActivation: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react
|
|
11
|
+
export declare const Default: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../types").TabPanelProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "as" | keyof import("../types").TabPanelProps> & import("react").RefAttributes<any>>;
|
|
12
|
+
export declare const DisabledTab: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../types").TabPanelProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "as" | keyof import("../types").TabPanelProps> & import("react").RefAttributes<any>>;
|
|
13
|
+
export declare const WithTabIconsAndTooltips: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../types").TabPanelProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "as" | keyof import("../types").TabPanelProps> & import("react").RefAttributes<any>>;
|
|
14
|
+
export declare const ManualActivation: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../types").TabPanelProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "as" | keyof import("../types").TabPanelProps> & import("react").RefAttributes<any>>;
|
|
15
15
|
//# sourceMappingURL=index.story.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/tab-panel/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAW,MAAM,uBAAuB,CAAC;AAQ3D;;GAEG;AACH,OAAO,QAAQ,MAAM,IAAI,CAAC;AAE1B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,QAAQ,CAgBhC,CAAC;AACF,eAAe,IAAI,CAAC;AAMpB,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/tab-panel/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAW,MAAM,uBAAuB,CAAC;AAQ3D;;GAEG;AACH,OAAO,QAAQ,MAAM,IAAI,CAAC;AAE1B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,QAAQ,CAgBhC,CAAC;AACF,eAAe,IAAI,CAAC;AAMpB,eAAO,MAAM,OAAO,0UAAsB,CAAC;AAe3C,eAAO,MAAM,WAAW,0UAAsB,CAAC;AAwB/C,eAAO,MAAM,uBAAuB,0UAA8B,CAAC;AAsBnE,eAAO,MAAM,gBAAgB,0UAAsB,CAAC"}
|