@anker-in/headless-ui 1.0.10-temp-1 → 1.0.10-temp-dialogs
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/dist/cjs/biz-components/CreativeModule/index.d.ts +1 -1
- package/dist/cjs/biz-components/CreativeModule/index.js +1 -1
- package/dist/cjs/biz-components/CreativeModule/index.js.map +3 -3
- package/dist/cjs/biz-components/Graphic/index.d.ts +7 -0
- package/dist/cjs/biz-components/Graphic/index.js +1 -1
- package/dist/cjs/biz-components/Graphic/index.js.map +3 -3
- package/dist/cjs/biz-components/ShelfDisplay/index.js +2 -2
- package/dist/cjs/biz-components/ShelfDisplay/index.js.map +2 -2
- package/dist/cjs/biz-components/TextModal/index.d.ts +12 -0
- package/dist/cjs/biz-components/TextModal/index.js +2 -0
- package/dist/cjs/biz-components/TextModal/index.js.map +7 -0
- package/dist/cjs/biz-components/Title/index.js +1 -1
- package/dist/cjs/biz-components/Title/index.js.map +3 -3
- package/dist/cjs/biz-components/Title/types.d.ts +2 -3
- package/dist/cjs/biz-components/Title/types.js +1 -1
- package/dist/cjs/biz-components/Title/types.js.map +1 -1
- package/dist/cjs/biz-components/WhyChooses/WhyChoose.d.ts +14 -0
- package/dist/cjs/biz-components/WhyChooses/index.d.ts +2 -0
- package/dist/cjs/biz-components/WhyChooses/types.d.ts +11 -0
- package/dist/cjs/stories/creativeModule.stories.d.ts +0 -1
- package/dist/cjs/stories/graphic.stories.d.ts +7 -0
- package/dist/cjs/stories/graphic.stories.js +1 -1
- package/dist/cjs/stories/graphic.stories.js.map +2 -2
- package/dist/cjs/stories/whychoose.stories.js +1 -1
- package/dist/cjs/stories/whychoose.stories.js.map +1 -1
- package/dist/cjs/tsconfig.tsbuildinfo +1 -1
- package/dist/esm/biz-components/CreativeModule/index.d.ts +1 -1
- package/dist/esm/biz-components/CreativeModule/index.js +1 -1
- package/dist/esm/biz-components/CreativeModule/index.js.map +3 -3
- package/dist/esm/biz-components/Graphic/index.d.ts +7 -0
- package/dist/esm/biz-components/Graphic/index.js +1 -1
- package/dist/esm/biz-components/Graphic/index.js.map +3 -3
- package/dist/esm/biz-components/ShelfDisplay/index.js +2 -2
- package/dist/esm/biz-components/ShelfDisplay/index.js.map +2 -2
- package/dist/esm/biz-components/TextModal/index.d.ts +12 -0
- package/dist/esm/biz-components/TextModal/index.js +2 -0
- package/dist/esm/biz-components/TextModal/index.js.map +7 -0
- package/dist/esm/biz-components/Title/index.js +1 -1
- package/dist/esm/biz-components/Title/index.js.map +3 -3
- package/dist/esm/biz-components/Title/types.d.ts +2 -3
- package/dist/esm/biz-components/WhyChooses/WhyChoose.d.ts +14 -0
- package/dist/esm/biz-components/WhyChooses/index.d.ts +2 -0
- package/dist/esm/biz-components/WhyChooses/types.d.ts +11 -0
- package/dist/esm/stories/creativeModule.stories.d.ts +0 -1
- package/dist/esm/stories/graphic.stories.d.ts +7 -0
- package/dist/esm/stories/graphic.stories.js +1 -1
- package/dist/esm/stories/graphic.stories.js.map +2 -2
- package/dist/esm/stories/whychoose.stories.js +1 -1
- package/dist/esm/stories/whychoose.stories.js.map +1 -1
- package/dist/esm/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/cjs/apps/playground/utils/classnames.d.ts +0 -1
- package/dist/cjs/biz-components/AccordionCards/useDebounce.d.ts +0 -6
- package/dist/cjs/biz-components/MediaPlayerMulti/YouTubePlayer.d.ts +0 -3
- package/dist/cjs/biz-components/SectionHeading/SectionHeading.d.ts +0 -4
- package/dist/cjs/biz-components/SectionHeading/types.d.ts +0 -6
- package/dist/cjs/biz-components/Shelf/Shelf.d.ts +0 -8
- package/dist/cjs/biz-components/Shelf/index.d.ts +0 -1
- package/dist/cjs/biz-components/Shelf/types.d.ts +0 -6
- package/dist/cjs/biz-components/ShelfDisplay/tab.d.ts +0 -7
- package/dist/cjs/components/col.d.ts +0 -29
- package/dist/cjs/components/dropdown.d.ts +0 -27
- package/dist/cjs/components/row.d.ts +0 -18
- package/dist/cjs/helpers/get-subtree.d.ts +0 -12
- package/dist/cjs/packages/ui/src/components/avatar.d.ts +0 -26
- package/dist/cjs/packages/ui/src/components/index.d.ts +0 -20
- package/dist/cjs/packages/ui/src/index.d.ts +0 -1
- package/dist/cjs/packages/ui/src/stories/avatar.stories.d.ts +0 -40
- package/dist/cjs/packages/ui/src/stories/badge.stories.d.ts +0 -26
- package/dist/cjs/packages/ui/src/stories/button.stories.d.ts +0 -48
- package/dist/cjs/packages/ui/src/stories/checkbox.stories.d.ts +0 -46
- package/dist/cjs/packages/ui/src/stories/container.stories.d.ts +0 -36
- package/dist/cjs/packages/ui/src/stories/dialog.stories.d.ts +0 -20
- package/dist/cjs/packages/ui/src/stories/grid.stories.d.ts +0 -42
- package/dist/cjs/packages/ui/src/stories/heading.stories.d.ts +0 -82
- package/dist/cjs/packages/ui/src/stories/input.stories.d.ts +0 -35
- package/dist/cjs/packages/ui/src/stories/picture.stories.d.ts +0 -18
- package/dist/cjs/packages/ui/src/stories/popover.stories.d.ts +0 -17
- package/dist/cjs/packages/ui/src/stories/radio.stories.d.ts +0 -39
- package/dist/cjs/packages/ui/src/stories/skeleton.stories.d.ts +0 -20
- package/dist/cjs/packages/ui/src/stories/text.stories.d.ts +0 -94
- package/dist/cjs/src/components/index.d.ts +0 -21
- package/dist/cjs/src/components/input-number.d.ts +0 -47
- package/dist/cjs/src/index.d.ts +0 -1
- package/dist/cjs/src/stories/avatar.stories.d.ts +0 -40
- package/dist/cjs/src/stories/badge.stories.d.ts +0 -26
- package/dist/cjs/src/stories/button.stories.d.ts +0 -48
- package/dist/cjs/src/stories/checkbox.stories.d.ts +0 -46
- package/dist/cjs/src/stories/container.stories.d.ts +0 -36
- package/dist/cjs/src/stories/dialog.stories.d.ts +0 -20
- package/dist/cjs/src/stories/grid.stories.d.ts +0 -42
- package/dist/cjs/src/stories/heading.stories.d.ts +0 -82
- package/dist/cjs/src/stories/input-number.stories.d.ts +0 -51
- package/dist/cjs/src/stories/input.stories.d.ts +0 -35
- package/dist/cjs/src/stories/picture.stories.d.ts +0 -18
- package/dist/cjs/src/stories/popover.stories.d.ts +0 -17
- package/dist/cjs/src/stories/radio.stories.d.ts +0 -39
- package/dist/cjs/src/stories/skeleton.stories.d.ts +0 -20
- package/dist/cjs/src/stories/text.stories.d.ts +0 -94
- package/dist/cjs/stories/shelf.stories.d.ts +0 -17
- package/dist/cjs/tailwind.config.d.ts +0 -253
- package/dist/esm/apps/playground/utils/classnames.d.ts +0 -1
- package/dist/esm/biz-components/AccordionCards/useDebounce.d.ts +0 -6
- package/dist/esm/biz-components/MediaPlayerMulti/YouTubePlayer.d.ts +0 -3
- package/dist/esm/biz-components/SectionHeading/SectionHeading.d.ts +0 -4
- package/dist/esm/biz-components/SectionHeading/types.d.ts +0 -6
- package/dist/esm/biz-components/Shelf/Shelf.d.ts +0 -8
- package/dist/esm/biz-components/Shelf/index.d.ts +0 -1
- package/dist/esm/biz-components/Shelf/types.d.ts +0 -6
- package/dist/esm/biz-components/ShelfDisplay/tab.d.ts +0 -7
- package/dist/esm/components/col.d.ts +0 -29
- package/dist/esm/components/dropdown.d.ts +0 -27
- package/dist/esm/components/row.d.ts +0 -18
- package/dist/esm/helpers/get-subtree.d.ts +0 -12
- package/dist/esm/packages/ui/src/components/avatar.d.ts +0 -26
- package/dist/esm/packages/ui/src/components/index.d.ts +0 -20
- package/dist/esm/packages/ui/src/index.d.ts +0 -1
- package/dist/esm/packages/ui/src/stories/avatar.stories.d.ts +0 -40
- package/dist/esm/packages/ui/src/stories/badge.stories.d.ts +0 -26
- package/dist/esm/packages/ui/src/stories/button.stories.d.ts +0 -48
- package/dist/esm/packages/ui/src/stories/checkbox.stories.d.ts +0 -46
- package/dist/esm/packages/ui/src/stories/container.stories.d.ts +0 -36
- package/dist/esm/packages/ui/src/stories/dialog.stories.d.ts +0 -20
- package/dist/esm/packages/ui/src/stories/grid.stories.d.ts +0 -42
- package/dist/esm/packages/ui/src/stories/heading.stories.d.ts +0 -82
- package/dist/esm/packages/ui/src/stories/input.stories.d.ts +0 -35
- package/dist/esm/packages/ui/src/stories/picture.stories.d.ts +0 -18
- package/dist/esm/packages/ui/src/stories/popover.stories.d.ts +0 -17
- package/dist/esm/packages/ui/src/stories/radio.stories.d.ts +0 -39
- package/dist/esm/packages/ui/src/stories/skeleton.stories.d.ts +0 -20
- package/dist/esm/packages/ui/src/stories/text.stories.d.ts +0 -94
- package/dist/esm/src/components/index.d.ts +0 -21
- package/dist/esm/src/components/input-number.d.ts +0 -47
- package/dist/esm/src/index.d.ts +0 -1
- package/dist/esm/src/stories/avatar.stories.d.ts +0 -40
- package/dist/esm/src/stories/badge.stories.d.ts +0 -26
- package/dist/esm/src/stories/button.stories.d.ts +0 -48
- package/dist/esm/src/stories/checkbox.stories.d.ts +0 -46
- package/dist/esm/src/stories/container.stories.d.ts +0 -36
- package/dist/esm/src/stories/dialog.stories.d.ts +0 -20
- package/dist/esm/src/stories/grid.stories.d.ts +0 -42
- package/dist/esm/src/stories/heading.stories.d.ts +0 -82
- package/dist/esm/src/stories/input-number.stories.d.ts +0 -51
- package/dist/esm/src/stories/input.stories.d.ts +0 -35
- package/dist/esm/src/stories/picture.stories.d.ts +0 -18
- package/dist/esm/src/stories/popover.stories.d.ts +0 -17
- package/dist/esm/src/stories/radio.stories.d.ts +0 -39
- package/dist/esm/src/stories/skeleton.stories.d.ts +0 -20
- package/dist/esm/src/stories/text.stories.d.ts +0 -94
- package/dist/esm/stories/shelf.stories.d.ts +0 -17
- package/dist/esm/tailwind.config.d.ts +0 -253
- /package/dist/cjs/biz-components/{SectionHeading/index.d.ts → Faq/type.d.ts} +0 -0
- /package/dist/cjs/{components/inputnumber.d.ts → biz-components/WhyChoose/type.d.ts} +0 -0
- /package/dist/cjs/hooks/{useEXposure.d.ts → useExposure.d.ts} +0 -0
- /package/dist/cjs/stories/{whychoose.stories.d.ts → WhyChoose.stories.d.ts} +0 -0
- /package/dist/esm/biz-components/{SectionHeading/index.d.ts → Faq/type.d.ts} +0 -0
- /package/dist/esm/{components/inputnumber.d.ts → biz-components/WhyChoose/type.d.ts} +0 -0
- /package/dist/esm/hooks/{useEXposure.d.ts → useExposure.d.ts} +0 -0
- /package/dist/esm/stories/{whychoose.stories.d.ts → WhyChoose.stories.d.ts} +0 -0
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
declare const meta: {
|
|
2
|
-
title: string;
|
|
3
|
-
component: import("react").ForwardRefExoticComponent<{
|
|
4
|
-
asChild?: boolean;
|
|
5
|
-
className?: string;
|
|
6
|
-
style?: React.CSSProperties;
|
|
7
|
-
onClick?: Function;
|
|
8
|
-
isAdaptation?: boolean;
|
|
9
|
-
minSize?: number;
|
|
10
|
-
maxSize?: number;
|
|
11
|
-
textClassName?: string;
|
|
12
|
-
} & import("class-variance-authority").VariantProps<(props?: ({
|
|
13
|
-
size?: "small" | "medium" | "large" | null | undefined;
|
|
14
|
-
} & import("class-variance-authority/dist/types.js").ClassProp) | undefined) => string> & Omit<import("@radix-ui/react-avatar").AvatarProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
15
|
-
tags: string[];
|
|
16
|
-
subcomponents: any;
|
|
17
|
-
parameters: {
|
|
18
|
-
layout: string;
|
|
19
|
-
docs: {
|
|
20
|
-
description: {
|
|
21
|
-
component: string;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
argTypes: {
|
|
26
|
-
size: {
|
|
27
|
-
description: string;
|
|
28
|
-
table: {
|
|
29
|
-
defaultValue: {
|
|
30
|
-
summary: string;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
export default meta;
|
|
37
|
-
export declare const Default: () => import("react/jsx-runtime").JSX.Element;
|
|
38
|
-
export declare const AvatarType: () => import("react/jsx-runtime").JSX.Element;
|
|
39
|
-
export declare const AvatarTextAdaptation: () => import("react/jsx-runtime").JSX.Element;
|
|
40
|
-
export declare const AvatarSize: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import { Badge } from '../components/index.js';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof Badge;
|
|
6
|
-
parameters: {
|
|
7
|
-
layout: string;
|
|
8
|
-
};
|
|
9
|
-
tags: string[];
|
|
10
|
-
argTypes: {
|
|
11
|
-
variant: {
|
|
12
|
-
control: {
|
|
13
|
-
type: "select";
|
|
14
|
-
};
|
|
15
|
-
options: string[];
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
args: {
|
|
19
|
-
variant: "default";
|
|
20
|
-
children: string;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
export default meta;
|
|
24
|
-
type Story = StoryObj<typeof meta>;
|
|
25
|
-
export declare const Default: Story;
|
|
26
|
-
export declare const Examples: Story;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: React.ForwardRefExoticComponent<import("../components/button.js").ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
6
|
-
parameters: {
|
|
7
|
-
layout: string;
|
|
8
|
-
};
|
|
9
|
-
tags: string[];
|
|
10
|
-
argTypes: {
|
|
11
|
-
variant: {
|
|
12
|
-
control: {
|
|
13
|
-
type: "select";
|
|
14
|
-
};
|
|
15
|
-
options: string[];
|
|
16
|
-
};
|
|
17
|
-
size: {
|
|
18
|
-
control: {
|
|
19
|
-
type: "select";
|
|
20
|
-
};
|
|
21
|
-
options: string[];
|
|
22
|
-
};
|
|
23
|
-
hoverEffect: {
|
|
24
|
-
description: string;
|
|
25
|
-
control: {
|
|
26
|
-
type: "select";
|
|
27
|
-
};
|
|
28
|
-
options: string[];
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
args: {
|
|
32
|
-
variant: "primary";
|
|
33
|
-
size: "base";
|
|
34
|
-
children: string;
|
|
35
|
-
asChild: false;
|
|
36
|
-
disabled: false;
|
|
37
|
-
loading: false;
|
|
38
|
-
hoverEffect: "none";
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
export default meta;
|
|
42
|
-
type Story = StoryObj<typeof meta>;
|
|
43
|
-
export declare const Primary: Story;
|
|
44
|
-
export declare const Secondary: Story;
|
|
45
|
-
export declare const Link: Story;
|
|
46
|
-
export declare const WithIcon: Story;
|
|
47
|
-
export declare const Aschild: Story;
|
|
48
|
-
export declare const Spinner: Story;
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react/*';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: React.ForwardRefExoticComponent<import("../components/checkbox.js").CheckboxProps & React.RefAttributes<HTMLButtonElement>>;
|
|
6
|
-
parameters: {
|
|
7
|
-
layout: string;
|
|
8
|
-
docs: {
|
|
9
|
-
description: {
|
|
10
|
-
component: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
tags: string[];
|
|
15
|
-
argTypes: {
|
|
16
|
-
size: {
|
|
17
|
-
control: {
|
|
18
|
-
type: "select";
|
|
19
|
-
};
|
|
20
|
-
options: string[];
|
|
21
|
-
description: string;
|
|
22
|
-
table: {
|
|
23
|
-
defaultValue: {
|
|
24
|
-
summary: string;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
args: {
|
|
30
|
-
size: "base";
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
export default meta;
|
|
34
|
-
type Story = StoryObj<typeof meta>;
|
|
35
|
-
export declare const Default: Story;
|
|
36
|
-
export declare const Sizes: {
|
|
37
|
-
(): import("react/jsx-runtime").JSX.Element;
|
|
38
|
-
parameters: {
|
|
39
|
-
docs: {
|
|
40
|
-
description: {
|
|
41
|
-
story: string;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
export declare const Disabled: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Container } from '../components/index.js';
|
|
3
|
-
import type { StoryObj } from '@storybook/react';
|
|
4
|
-
declare const meta: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: React.ForwardRefExoticComponent<{
|
|
7
|
-
asChild?: boolean;
|
|
8
|
-
children?: React.ReactNode;
|
|
9
|
-
className?: string;
|
|
10
|
-
type?: "default" | "home" | "none";
|
|
11
|
-
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
-
parameters: {
|
|
13
|
-
layout: string;
|
|
14
|
-
docs: {
|
|
15
|
-
description: {
|
|
16
|
-
component: string;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
tags: string[];
|
|
21
|
-
argTypes: {
|
|
22
|
-
type: {
|
|
23
|
-
description: string;
|
|
24
|
-
control: {
|
|
25
|
-
type: "select";
|
|
26
|
-
};
|
|
27
|
-
options: string[];
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
args: {
|
|
31
|
-
type: "default";
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
export default meta;
|
|
35
|
-
type Story = StoryObj<typeof Container>;
|
|
36
|
-
export declare const Default: Story;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Dialog } from '../components/index.js';
|
|
3
|
-
import type { StoryObj } from '@storybook/react/*';
|
|
4
|
-
declare const meta: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: React.FC<import("@radix-ui/react-dialog").DialogProps>;
|
|
7
|
-
subcomponents: any;
|
|
8
|
-
parameters: {
|
|
9
|
-
layout: string;
|
|
10
|
-
docs: {
|
|
11
|
-
description: {
|
|
12
|
-
component: string;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
tags: string[];
|
|
17
|
-
};
|
|
18
|
-
export default meta;
|
|
19
|
-
type Story = StoryObj<typeof Dialog>;
|
|
20
|
-
export declare const Default: Story;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Container } from '../components/index.js';
|
|
3
|
-
import type { StoryObj } from '@storybook/react';
|
|
4
|
-
declare const meta: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: React.ForwardRefExoticComponent<{
|
|
7
|
-
asChild?: boolean;
|
|
8
|
-
children?: React.ReactNode;
|
|
9
|
-
className?: string;
|
|
10
|
-
type?: "default" | "home" | "none";
|
|
11
|
-
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
-
subcomponents: any;
|
|
13
|
-
parameters: {
|
|
14
|
-
layout: string;
|
|
15
|
-
docs: {
|
|
16
|
-
description: {
|
|
17
|
-
component: string;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
tags: string[];
|
|
22
|
-
argTypes: {
|
|
23
|
-
type: {
|
|
24
|
-
control: {
|
|
25
|
-
type: "select";
|
|
26
|
-
};
|
|
27
|
-
options: string[];
|
|
28
|
-
description: string;
|
|
29
|
-
table: {
|
|
30
|
-
defaultValue: {
|
|
31
|
-
summary: string;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
args: {
|
|
37
|
-
type: "default";
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
export default meta;
|
|
41
|
-
type Story = StoryObj<typeof Container>;
|
|
42
|
-
export declare const Default: Story;
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: React.ForwardRefExoticComponent<import("../components/heading.js").HeadingProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
6
|
-
parameters: {
|
|
7
|
-
layout: string;
|
|
8
|
-
docs: {
|
|
9
|
-
description: {
|
|
10
|
-
component: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
tags: string[];
|
|
15
|
-
argTypes: {
|
|
16
|
-
size: {
|
|
17
|
-
control: {
|
|
18
|
-
type: "select";
|
|
19
|
-
};
|
|
20
|
-
options: (string | number)[];
|
|
21
|
-
description: string;
|
|
22
|
-
table: {
|
|
23
|
-
defaultValue: {
|
|
24
|
-
summary: string;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
weight: {
|
|
29
|
-
control: {
|
|
30
|
-
type: "select";
|
|
31
|
-
};
|
|
32
|
-
options: string[];
|
|
33
|
-
table: {
|
|
34
|
-
defaultValue: {
|
|
35
|
-
summary: string;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
align: {
|
|
40
|
-
control: {
|
|
41
|
-
type: "select";
|
|
42
|
-
};
|
|
43
|
-
options: string[];
|
|
44
|
-
table: {
|
|
45
|
-
defaultValue: {
|
|
46
|
-
summary: undefined;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
color: {
|
|
51
|
-
control: {
|
|
52
|
-
type: "color";
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
as: {
|
|
56
|
-
control: {
|
|
57
|
-
type: "select";
|
|
58
|
-
};
|
|
59
|
-
options: string[];
|
|
60
|
-
description: string;
|
|
61
|
-
table: {
|
|
62
|
-
defaultValue: {
|
|
63
|
-
summary: string;
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
};
|
|
67
|
-
html: {
|
|
68
|
-
type: "string";
|
|
69
|
-
description: string;
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
args: {
|
|
73
|
-
as: "h1";
|
|
74
|
-
size: "none";
|
|
75
|
-
weight: "normal";
|
|
76
|
-
align: "left";
|
|
77
|
-
};
|
|
78
|
-
};
|
|
79
|
-
export default meta;
|
|
80
|
-
type Story = StoryObj<typeof meta>;
|
|
81
|
-
export declare const Default: Story;
|
|
82
|
-
export declare const All: Story;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
declare const meta: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: import("react").ForwardRefExoticComponent<{
|
|
5
|
-
className?: string;
|
|
6
|
-
tips?: string;
|
|
7
|
-
status?: "default" | "success" | "warning" | "error" | null;
|
|
8
|
-
value?: number;
|
|
9
|
-
defaultValue?: number;
|
|
10
|
-
step?: number;
|
|
11
|
-
min?: number;
|
|
12
|
-
max?: number;
|
|
13
|
-
disabled?: boolean;
|
|
14
|
-
readonly?: boolean;
|
|
15
|
-
style?: React.CSSProperties;
|
|
16
|
-
onChange?: (value: number) => void;
|
|
17
|
-
onBlur?: (value: number, e: import("react").FocusEvent) => void;
|
|
18
|
-
onEnter?: (value: number, e: import("react").KeyboardEvent) => void;
|
|
19
|
-
} & import("class-variance-authority").VariantProps<(props?: ({
|
|
20
|
-
status?: "default" | "success" | "warning" | "error" | null | undefined;
|
|
21
|
-
disabled?: boolean | null | undefined;
|
|
22
|
-
} & import("class-variance-authority/dist/types.js").ClassProp) | undefined) => string> & import("../helpers/component-props.js").ComponentPropsWithout<"div", import("../helpers/component-props.js").RemovedProps> & import("react").RefAttributes<HTMLDivElement>>;
|
|
23
|
-
parameters: {
|
|
24
|
-
layout: string;
|
|
25
|
-
};
|
|
26
|
-
tags: string[];
|
|
27
|
-
argTypes: {
|
|
28
|
-
status: {
|
|
29
|
-
control: {
|
|
30
|
-
type: "select";
|
|
31
|
-
};
|
|
32
|
-
options: string[];
|
|
33
|
-
table: {
|
|
34
|
-
defaultValue: {
|
|
35
|
-
summary: string;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
className: {
|
|
40
|
-
control: false;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
args: {
|
|
44
|
-
onBlur: undefined;
|
|
45
|
-
onEnter: undefined;
|
|
46
|
-
onChange: undefined;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
export default meta;
|
|
50
|
-
type Story = StoryObj<typeof meta>;
|
|
51
|
-
export declare const Default: Story;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import type { ComponentType } from 'react';
|
|
3
|
-
import React from 'react';
|
|
4
|
-
declare const meta: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: React.ForwardRefExoticComponent<import("../components/input.js").InputProps & React.RefAttributes<HTMLInputElement>>;
|
|
7
|
-
subcomponents: {
|
|
8
|
-
InputSlot: ComponentType<unknown>;
|
|
9
|
-
};
|
|
10
|
-
parameters: {
|
|
11
|
-
layout: string;
|
|
12
|
-
docs: {
|
|
13
|
-
description: {
|
|
14
|
-
component: string;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
tags: string[];
|
|
19
|
-
argTypes: {
|
|
20
|
-
size: {
|
|
21
|
-
control: {
|
|
22
|
-
type: "select";
|
|
23
|
-
};
|
|
24
|
-
options: string[];
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
args: {
|
|
28
|
-
size: "base";
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
export default meta;
|
|
32
|
-
type Story = StoryObj<typeof meta>;
|
|
33
|
-
export declare const Default: Story;
|
|
34
|
-
export declare const WithButton: Story;
|
|
35
|
-
export declare const WithIcon: Story;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
declare const meta: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: ({ imgClassName, source, quality, deviceSizes, ...rest }: import("../components/picture.js").PictureProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
parameters: {
|
|
6
|
-
layout: string;
|
|
7
|
-
docs: {
|
|
8
|
-
description: {
|
|
9
|
-
component: string;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
tags: string[];
|
|
14
|
-
};
|
|
15
|
-
export default meta;
|
|
16
|
-
type Story = StoryObj<typeof meta>;
|
|
17
|
-
export declare const Default: Story;
|
|
18
|
-
export declare const NotMatchDomain: Story;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const meta: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: React.FC<import("@radix-ui/react-popover").PopoverProps>;
|
|
5
|
-
subcomponents: any;
|
|
6
|
-
parameters: {
|
|
7
|
-
layout: string;
|
|
8
|
-
docs: {
|
|
9
|
-
description: {
|
|
10
|
-
component: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
tags: string[];
|
|
15
|
-
};
|
|
16
|
-
export default meta;
|
|
17
|
-
export declare const Default: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react/*';
|
|
2
|
-
import { RadioGroup } from '../components/index.js';
|
|
3
|
-
import React, { type ComponentType } from 'react';
|
|
4
|
-
declare const meta: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: React.ForwardRefExoticComponent<import("../components/radio.js").RadioGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
-
subcomponents: {
|
|
8
|
-
RadioGroupItem: ComponentType<unknown>;
|
|
9
|
-
};
|
|
10
|
-
parameters: {
|
|
11
|
-
layout: string;
|
|
12
|
-
docs: {
|
|
13
|
-
description: {
|
|
14
|
-
component: string;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
tags: string[];
|
|
19
|
-
argTypes: {
|
|
20
|
-
size: {
|
|
21
|
-
control: {
|
|
22
|
-
type: "select";
|
|
23
|
-
};
|
|
24
|
-
options: string[];
|
|
25
|
-
description: string;
|
|
26
|
-
table: {
|
|
27
|
-
defaultValue: {
|
|
28
|
-
summary: string;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
args: {
|
|
34
|
-
size: "base";
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
export default meta;
|
|
38
|
-
type Story = StoryObj<typeof RadioGroup>;
|
|
39
|
-
export declare const Default: Story;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: React.ForwardRefExoticComponent<import("../components/skeleton.js").SkeletonProps & React.RefAttributes<HTMLSpanElement>>;
|
|
6
|
-
parameters: {
|
|
7
|
-
layout: string;
|
|
8
|
-
docs: {
|
|
9
|
-
description: {
|
|
10
|
-
component: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
tags: string[];
|
|
15
|
-
};
|
|
16
|
-
export default meta;
|
|
17
|
-
type Story = StoryObj<typeof meta>;
|
|
18
|
-
export declare const Default: Story;
|
|
19
|
-
export declare const Multiple: Story;
|
|
20
|
-
export declare const WithText: Story;
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: React.ForwardRefExoticComponent<import("../components/text.js").TextProps & React.RefAttributes<HTMLSpanElement>>;
|
|
6
|
-
parameters: {
|
|
7
|
-
layout: string;
|
|
8
|
-
docs: {
|
|
9
|
-
description: {
|
|
10
|
-
component: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
tags: string[];
|
|
15
|
-
argTypes: {
|
|
16
|
-
size: {
|
|
17
|
-
control: {
|
|
18
|
-
type: "select";
|
|
19
|
-
};
|
|
20
|
-
description: string;
|
|
21
|
-
options: (string | number)[];
|
|
22
|
-
table: {
|
|
23
|
-
defaultValue: {
|
|
24
|
-
summary: string;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
weight: {
|
|
29
|
-
control: {
|
|
30
|
-
type: "select";
|
|
31
|
-
};
|
|
32
|
-
options: string[];
|
|
33
|
-
table: {
|
|
34
|
-
defaultValue: {
|
|
35
|
-
summary: string;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
align: {
|
|
40
|
-
control: {
|
|
41
|
-
type: "select";
|
|
42
|
-
};
|
|
43
|
-
options: string[];
|
|
44
|
-
table: {
|
|
45
|
-
defaultValue: {
|
|
46
|
-
summary: undefined;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
color: {
|
|
51
|
-
control: {
|
|
52
|
-
type: "color";
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
as: {
|
|
56
|
-
control: {
|
|
57
|
-
type: "select";
|
|
58
|
-
};
|
|
59
|
-
description: string;
|
|
60
|
-
options: string[];
|
|
61
|
-
table: {
|
|
62
|
-
defaultValue: {
|
|
63
|
-
summary: string;
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
};
|
|
67
|
-
lineHeights: {
|
|
68
|
-
control: {
|
|
69
|
-
type: "select";
|
|
70
|
-
};
|
|
71
|
-
description: string;
|
|
72
|
-
options: string[];
|
|
73
|
-
};
|
|
74
|
-
html: {
|
|
75
|
-
type: "string";
|
|
76
|
-
description: string;
|
|
77
|
-
};
|
|
78
|
-
};
|
|
79
|
-
args: {
|
|
80
|
-
size: "none";
|
|
81
|
-
weight: "normal";
|
|
82
|
-
align: "left";
|
|
83
|
-
lineHeights: "normal";
|
|
84
|
-
html: string;
|
|
85
|
-
as: "p";
|
|
86
|
-
};
|
|
87
|
-
};
|
|
88
|
-
export default meta;
|
|
89
|
-
type Story = StoryObj<typeof meta>;
|
|
90
|
-
export declare const Default: Story;
|
|
91
|
-
export declare const Sizes: Story;
|
|
92
|
-
export declare const weight: Story;
|
|
93
|
-
export declare const LineHeights: Story;
|
|
94
|
-
export declare const Html: Story;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
declare const meta: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: {
|
|
5
|
-
(props: Omit<import("../biz-components/Shelf/types.js").ShelfProps, keyof import("../shared/Styles.js").StylesProps> & Partial<import("../shared/Styles.js").StylesProps> & {
|
|
6
|
-
className?: string;
|
|
7
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
displayName: string;
|
|
9
|
-
};
|
|
10
|
-
parameters: {
|
|
11
|
-
layout: string;
|
|
12
|
-
};
|
|
13
|
-
tags: string[];
|
|
14
|
-
};
|
|
15
|
-
export default meta;
|
|
16
|
-
type Story = StoryObj<typeof meta>;
|
|
17
|
-
export declare const Default: Story;
|