@anker-in/headless-ui 1.0.10-temp-onclick → 1.0.10-temp-21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (177) hide show
  1. package/dist/cjs/apps/playground/utils/classnames.d.ts +1 -0
  2. package/dist/cjs/biz-components/AccordionCards/index.js +1 -1
  3. package/dist/cjs/biz-components/AccordionCards/index.js.map +2 -2
  4. package/dist/cjs/biz-components/AccordionCards/useDebounce.d.ts +6 -0
  5. package/dist/cjs/biz-components/CreativeModule/index.d.ts +2 -2
  6. package/dist/cjs/biz-components/CreativeModule/index.js +1 -1
  7. package/dist/cjs/biz-components/CreativeModule/index.js.map +3 -3
  8. package/dist/cjs/biz-components/Evaluate/index.js +1 -1
  9. package/dist/cjs/biz-components/Evaluate/index.js.map +2 -2
  10. package/dist/cjs/biz-components/Graphic/index.js +1 -1
  11. package/dist/cjs/biz-components/Graphic/index.js.map +2 -2
  12. package/dist/cjs/biz-components/GraphicOverlay/GraphicOverlay.d.ts +8 -0
  13. package/dist/cjs/biz-components/GraphicOverlay/GraphicOverlay.js +2 -0
  14. package/dist/cjs/biz-components/GraphicOverlay/GraphicOverlay.js.map +7 -0
  15. package/dist/cjs/biz-components/GraphicOverlay/index.d.ts +2 -0
  16. package/dist/cjs/biz-components/GraphicOverlay/index.js +2 -0
  17. package/dist/cjs/biz-components/GraphicOverlay/index.js.map +7 -0
  18. package/dist/cjs/biz-components/GraphicOverlay/types.d.ts +33 -0
  19. package/dist/cjs/biz-components/GraphicOverlay/types.js +2 -0
  20. package/dist/cjs/biz-components/GraphicOverlay/types.js.map +7 -0
  21. package/dist/cjs/biz-components/MediaPlayerMulti/YouTubePlayer.d.ts +3 -0
  22. package/dist/cjs/biz-components/SectionHeading/SectionHeading.d.ts +4 -0
  23. package/dist/cjs/biz-components/SectionHeading/types.d.ts +6 -0
  24. package/dist/cjs/biz-components/Shelf/Shelf.d.ts +8 -0
  25. package/dist/cjs/biz-components/Shelf/index.d.ts +1 -0
  26. package/dist/cjs/biz-components/Shelf/types.d.ts +6 -0
  27. package/dist/cjs/biz-components/ShelfDisplay/index.js +2 -2
  28. package/dist/cjs/biz-components/ShelfDisplay/index.js.map +2 -2
  29. package/dist/cjs/biz-components/ShelfDisplay/tab.d.ts +7 -0
  30. package/dist/cjs/biz-components/Title/index.js +1 -1
  31. package/dist/cjs/biz-components/Title/index.js.map +3 -3
  32. package/dist/cjs/biz-components/Title/types.d.ts +3 -2
  33. package/dist/cjs/biz-components/Title/types.js +1 -1
  34. package/dist/cjs/biz-components/Title/types.js.map +1 -1
  35. package/dist/cjs/biz-components/index.d.ts +1 -0
  36. package/dist/cjs/biz-components/index.js +1 -1
  37. package/dist/cjs/biz-components/index.js.map +3 -3
  38. package/dist/cjs/components/col.d.ts +29 -0
  39. package/dist/cjs/components/dropdown.d.ts +27 -0
  40. package/dist/cjs/components/row.d.ts +18 -0
  41. package/dist/cjs/helpers/get-subtree.d.ts +12 -0
  42. package/dist/cjs/packages/ui/src/components/avatar.d.ts +26 -0
  43. package/dist/cjs/packages/ui/src/components/index.d.ts +20 -0
  44. package/dist/cjs/packages/ui/src/index.d.ts +1 -0
  45. package/dist/cjs/packages/ui/src/stories/avatar.stories.d.ts +40 -0
  46. package/dist/cjs/packages/ui/src/stories/badge.stories.d.ts +26 -0
  47. package/dist/cjs/packages/ui/src/stories/button.stories.d.ts +48 -0
  48. package/dist/cjs/packages/ui/src/stories/checkbox.stories.d.ts +46 -0
  49. package/dist/cjs/packages/ui/src/stories/container.stories.d.ts +36 -0
  50. package/dist/cjs/packages/ui/src/stories/dialog.stories.d.ts +20 -0
  51. package/dist/cjs/packages/ui/src/stories/grid.stories.d.ts +42 -0
  52. package/dist/cjs/packages/ui/src/stories/heading.stories.d.ts +82 -0
  53. package/dist/cjs/packages/ui/src/stories/input.stories.d.ts +35 -0
  54. package/dist/cjs/packages/ui/src/stories/picture.stories.d.ts +18 -0
  55. package/dist/cjs/packages/ui/src/stories/popover.stories.d.ts +17 -0
  56. package/dist/cjs/packages/ui/src/stories/radio.stories.d.ts +39 -0
  57. package/dist/cjs/packages/ui/src/stories/skeleton.stories.d.ts +20 -0
  58. package/dist/cjs/packages/ui/src/stories/text.stories.d.ts +94 -0
  59. package/dist/cjs/src/components/index.d.ts +21 -0
  60. package/dist/cjs/src/components/input-number.d.ts +47 -0
  61. package/dist/cjs/src/index.d.ts +1 -0
  62. package/dist/cjs/src/stories/avatar.stories.d.ts +40 -0
  63. package/dist/cjs/src/stories/badge.stories.d.ts +26 -0
  64. package/dist/cjs/src/stories/button.stories.d.ts +48 -0
  65. package/dist/cjs/src/stories/checkbox.stories.d.ts +46 -0
  66. package/dist/cjs/src/stories/container.stories.d.ts +36 -0
  67. package/dist/cjs/src/stories/dialog.stories.d.ts +20 -0
  68. package/dist/cjs/src/stories/grid.stories.d.ts +42 -0
  69. package/dist/cjs/src/stories/heading.stories.d.ts +82 -0
  70. package/dist/cjs/src/stories/input-number.stories.d.ts +51 -0
  71. package/dist/cjs/src/stories/input.stories.d.ts +35 -0
  72. package/dist/cjs/src/stories/picture.stories.d.ts +18 -0
  73. package/dist/cjs/src/stories/popover.stories.d.ts +17 -0
  74. package/dist/cjs/src/stories/radio.stories.d.ts +39 -0
  75. package/dist/cjs/src/stories/skeleton.stories.d.ts +20 -0
  76. package/dist/cjs/src/stories/text.stories.d.ts +94 -0
  77. package/dist/cjs/stories/creativeModule.stories.d.ts +2 -1
  78. package/dist/cjs/stories/creativeModule.stories.js +1 -1
  79. package/dist/cjs/stories/creativeModule.stories.js.map +2 -2
  80. package/dist/cjs/stories/shelf.stories.d.ts +17 -0
  81. package/dist/cjs/tailwind.config.d.ts +253 -0
  82. package/dist/cjs/tsconfig.tsbuildinfo +1 -1
  83. package/dist/esm/apps/playground/utils/classnames.d.ts +1 -0
  84. package/dist/esm/biz-components/AccordionCards/index.js +1 -1
  85. package/dist/esm/biz-components/AccordionCards/index.js.map +2 -2
  86. package/dist/esm/biz-components/AccordionCards/useDebounce.d.ts +6 -0
  87. package/dist/esm/biz-components/CreativeModule/index.d.ts +2 -2
  88. package/dist/esm/biz-components/CreativeModule/index.js +1 -1
  89. package/dist/esm/biz-components/CreativeModule/index.js.map +3 -3
  90. package/dist/esm/biz-components/Evaluate/index.js +1 -1
  91. package/dist/esm/biz-components/Evaluate/index.js.map +2 -2
  92. package/dist/esm/biz-components/Graphic/index.js +1 -1
  93. package/dist/esm/biz-components/Graphic/index.js.map +2 -2
  94. package/dist/esm/biz-components/GraphicOverlay/GraphicOverlay.d.ts +8 -0
  95. package/dist/esm/biz-components/GraphicOverlay/GraphicOverlay.js +2 -0
  96. package/dist/esm/biz-components/GraphicOverlay/GraphicOverlay.js.map +7 -0
  97. package/dist/esm/biz-components/GraphicOverlay/index.d.ts +2 -0
  98. package/dist/esm/biz-components/GraphicOverlay/index.js +2 -0
  99. package/dist/esm/biz-components/GraphicOverlay/index.js.map +7 -0
  100. package/dist/esm/biz-components/GraphicOverlay/types.d.ts +33 -0
  101. package/dist/esm/biz-components/GraphicOverlay/types.js +1 -0
  102. package/dist/esm/biz-components/GraphicOverlay/types.js.map +7 -0
  103. package/dist/esm/biz-components/MediaPlayerMulti/YouTubePlayer.d.ts +3 -0
  104. package/dist/esm/biz-components/SectionHeading/SectionHeading.d.ts +4 -0
  105. package/dist/esm/biz-components/SectionHeading/types.d.ts +6 -0
  106. package/dist/esm/biz-components/Shelf/Shelf.d.ts +8 -0
  107. package/dist/esm/biz-components/Shelf/index.d.ts +1 -0
  108. package/dist/esm/biz-components/Shelf/types.d.ts +6 -0
  109. package/dist/esm/biz-components/ShelfDisplay/index.js +3 -3
  110. package/dist/esm/biz-components/ShelfDisplay/index.js.map +2 -2
  111. package/dist/esm/biz-components/ShelfDisplay/tab.d.ts +7 -0
  112. package/dist/esm/biz-components/Title/index.js +1 -1
  113. package/dist/esm/biz-components/Title/index.js.map +3 -3
  114. package/dist/esm/biz-components/Title/types.d.ts +3 -2
  115. package/dist/esm/biz-components/index.d.ts +1 -0
  116. package/dist/esm/biz-components/index.js +1 -1
  117. package/dist/esm/biz-components/index.js.map +2 -2
  118. package/dist/esm/components/col.d.ts +29 -0
  119. package/dist/esm/components/dropdown.d.ts +27 -0
  120. package/dist/esm/components/row.d.ts +18 -0
  121. package/dist/esm/helpers/get-subtree.d.ts +12 -0
  122. package/dist/esm/packages/ui/src/components/avatar.d.ts +26 -0
  123. package/dist/esm/packages/ui/src/components/index.d.ts +20 -0
  124. package/dist/esm/packages/ui/src/index.d.ts +1 -0
  125. package/dist/esm/packages/ui/src/stories/avatar.stories.d.ts +40 -0
  126. package/dist/esm/packages/ui/src/stories/badge.stories.d.ts +26 -0
  127. package/dist/esm/packages/ui/src/stories/button.stories.d.ts +48 -0
  128. package/dist/esm/packages/ui/src/stories/checkbox.stories.d.ts +46 -0
  129. package/dist/esm/packages/ui/src/stories/container.stories.d.ts +36 -0
  130. package/dist/esm/packages/ui/src/stories/dialog.stories.d.ts +20 -0
  131. package/dist/esm/packages/ui/src/stories/grid.stories.d.ts +42 -0
  132. package/dist/esm/packages/ui/src/stories/heading.stories.d.ts +82 -0
  133. package/dist/esm/packages/ui/src/stories/input.stories.d.ts +35 -0
  134. package/dist/esm/packages/ui/src/stories/picture.stories.d.ts +18 -0
  135. package/dist/esm/packages/ui/src/stories/popover.stories.d.ts +17 -0
  136. package/dist/esm/packages/ui/src/stories/radio.stories.d.ts +39 -0
  137. package/dist/esm/packages/ui/src/stories/skeleton.stories.d.ts +20 -0
  138. package/dist/esm/packages/ui/src/stories/text.stories.d.ts +94 -0
  139. package/dist/esm/src/components/index.d.ts +21 -0
  140. package/dist/esm/src/components/input-number.d.ts +47 -0
  141. package/dist/esm/src/index.d.ts +1 -0
  142. package/dist/esm/src/stories/avatar.stories.d.ts +40 -0
  143. package/dist/esm/src/stories/badge.stories.d.ts +26 -0
  144. package/dist/esm/src/stories/button.stories.d.ts +48 -0
  145. package/dist/esm/src/stories/checkbox.stories.d.ts +46 -0
  146. package/dist/esm/src/stories/container.stories.d.ts +36 -0
  147. package/dist/esm/src/stories/dialog.stories.d.ts +20 -0
  148. package/dist/esm/src/stories/grid.stories.d.ts +42 -0
  149. package/dist/esm/src/stories/heading.stories.d.ts +82 -0
  150. package/dist/esm/src/stories/input-number.stories.d.ts +51 -0
  151. package/dist/esm/src/stories/input.stories.d.ts +35 -0
  152. package/dist/esm/src/stories/picture.stories.d.ts +18 -0
  153. package/dist/esm/src/stories/popover.stories.d.ts +17 -0
  154. package/dist/esm/src/stories/radio.stories.d.ts +39 -0
  155. package/dist/esm/src/stories/skeleton.stories.d.ts +20 -0
  156. package/dist/esm/src/stories/text.stories.d.ts +94 -0
  157. package/dist/esm/stories/creativeModule.stories.d.ts +2 -1
  158. package/dist/esm/stories/creativeModule.stories.js +1 -1
  159. package/dist/esm/stories/creativeModule.stories.js.map +2 -2
  160. package/dist/esm/stories/shelf.stories.d.ts +17 -0
  161. package/dist/esm/tailwind.config.d.ts +253 -0
  162. package/dist/esm/tsconfig.tsbuildinfo +1 -1
  163. package/package.json +1 -1
  164. package/dist/cjs/biz-components/WhyChooses/WhyChoose.d.ts +0 -14
  165. package/dist/cjs/biz-components/WhyChooses/index.d.ts +0 -2
  166. package/dist/cjs/biz-components/WhyChooses/types.d.ts +0 -11
  167. package/dist/esm/biz-components/WhyChooses/WhyChoose.d.ts +0 -14
  168. package/dist/esm/biz-components/WhyChooses/index.d.ts +0 -2
  169. package/dist/esm/biz-components/WhyChooses/types.d.ts +0 -11
  170. /package/dist/cjs/biz-components/{Faq/type.d.ts → SectionHeading/index.d.ts} +0 -0
  171. /package/dist/cjs/{biz-components/WhyChoose/type.d.ts → components/inputnumber.d.ts} +0 -0
  172. /package/dist/cjs/hooks/{useExposure.d.ts → useEXposure.d.ts} +0 -0
  173. /package/dist/cjs/stories/{WhyChoose.stories.d.ts → whychoose.stories.d.ts} +0 -0
  174. /package/dist/esm/biz-components/{Faq/type.d.ts → SectionHeading/index.d.ts} +0 -0
  175. /package/dist/esm/{biz-components/WhyChoose/type.d.ts → components/inputnumber.d.ts} +0 -0
  176. /package/dist/esm/hooks/{useExposure.d.ts → useEXposure.d.ts} +0 -0
  177. /package/dist/esm/stories/{WhyChoose.stories.d.ts → whychoose.stories.d.ts} +0 -0
@@ -0,0 +1,46 @@
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;
@@ -0,0 +1,36 @@
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;
@@ -0,0 +1,20 @@
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;
@@ -0,0 +1,42 @@
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;
@@ -0,0 +1,82 @@
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;
@@ -0,0 +1,51 @@
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;
@@ -0,0 +1,35 @@
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;
@@ -0,0 +1,18 @@
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;
@@ -0,0 +1,17 @@
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;
@@ -0,0 +1,39 @@
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;
@@ -0,0 +1,20 @@
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;
@@ -0,0 +1,94 @@
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;
@@ -2,7 +2,8 @@ declare const meta: {
2
2
  title: string;
3
3
  component: import("react").ForwardRefExoticComponent<Omit<{
4
4
  data: {
5
- products: import("../biz-components/CreativeModule/index.js").CreativeModuleDataType[];
5
+ shape?: "rounded" | "square";
6
+ productsTab: import("../biz-components/CreativeModule/index.js").CreativeModuleDataType[];
6
7
  };
7
8
  className?: string;
8
9
  }, keyof import("../shared/Styles.js").StylesProps> & Partial<import("../shared/Styles.js").StylesProps & import("../shared/Styles.js").ContainerProps> & {
@@ -1,2 +1,2 @@
1
- import{jsx as d}from"react/jsx-runtime";import{CreativeModule as e}from"../biz-components/index.js";const t={title:"Biz-Components/CreativeModule",component:e,tags:["autodocs"],parameters:{layout:"centered"}};var s=t;const a={products:[{title:"Creative Module",description:"Creative Module",shape:"rounded",span:8,img:{url:"https://cdn.shopify.com/s/files/1/0510/7646/4806/files/fdf5df46-fd39-4f58-8f22-ce0ca9060dff_A3035Z11_Rich_image_TD01_US_V1_3840x_4223056c-ac1e-4240-b485-e9547bd03de0.jpg?v=1753674542",alt:"Creative Module"},mobileImg:{url:"https://cdn.shopify.com/s/files/1/0510/7646/4806/files/fdf5df46-fd39-4f58-8f22-ce0ca9060dff_A3035Z11_Rich_image_TD01_US_V1_3840x_4223056c-ac1e-4240-b485-e9547bd03de0.jpg?v=1753674542",alt:"Creative Module"}},{title:"Creative Module",description:"Creative Module",shape:"rounded",span:4,img:{url:"https://cdn.shopify.com/s/files/1/0510/7646/4806/files/2a8dcd1e-d7e2-495a-90d3-2c875e7fdb31_Frame_6.png?v=1753670889",alt:"Creative Module"},mobileImg:{url:"https://cdn.shopify.com/s/files/1/0510/7646/4806/files/2a8dcd1e-d7e2-495a-90d3-2c875e7fdb31_Frame_6.png?v=1753670889",alt:"Creative Module"}},{title:"Creative Module",description:"Creative Module",shape:"rounded",span:4,img:{url:"https://cdn.shopify.com/s/files/1/0510/7646/4806/files/40626a76-013f-4fb1-aead-2efa567fc7fa_20250617-103321_3840x_46ed02ba-b7a0-48a1-8ca0-45042163e62f.jpg?v=1753670282",alt:"Creative Module"},mobileImg:{url:"https://cdn.shopify.com/s/files/1/0510/7646/4806/files/2a8dcd1e-d7e2-495a-90d3-2c875e7fdb31_Frame_6.png?v=1753670889",alt:"Creative Module"}},{title:"Creative Module",description:"Creative Module",shape:"rounded",span:4,img:{url:"https://cdn.shopify.com/s/files/1/0510/7646/4806/files/40626a76-013f-4fb1-aead-2efa567fc7fa_20250617-103321_3840x_46ed02ba-b7a0-48a1-8ca0-45042163e62f.jpg?v=1753670282",alt:"Creative Module"},mobileImg:{url:"https://cdn.shopify.com/s/files/1/0510/7646/4806/files/2a8dcd1e-d7e2-495a-90d3-2c875e7fdb31_Frame_6.png?v=1753670889",alt:"Creative Module"}}]},o=()=>d(e,{data:a});export{o as Default,s as default};
1
+ import{jsx as d}from"react/jsx-runtime";import{CreativeModule as e}from"../biz-components/index.js";const t={title:"Biz-Components/CreativeModule",component:e,tags:["autodocs"],parameters:{layout:"centered"}};var s=t;const a={productsTab:[{title:"Creative Module",description:"Creative Module",shape:"rounded",span:8,img:{url:"https://cdn.shopify.com/s/files/1/0510/7646/4806/files/fdf5df46-fd39-4f58-8f22-ce0ca9060dff_A3035Z11_Rich_image_TD01_US_V1_3840x_4223056c-ac1e-4240-b485-e9547bd03de0.jpg?v=1753674542",alt:"Creative Module"},mobileImg:{url:"https://cdn.shopify.com/s/files/1/0510/7646/4806/files/fdf5df46-fd39-4f58-8f22-ce0ca9060dff_A3035Z11_Rich_image_TD01_US_V1_3840x_4223056c-ac1e-4240-b485-e9547bd03de0.jpg?v=1753674542",alt:"Creative Module"}},{title:"Creative Module",description:"Creative Module",shape:"rounded",span:4,img:{url:"https://cdn.shopify.com/s/files/1/0510/7646/4806/files/2a8dcd1e-d7e2-495a-90d3-2c875e7fdb31_Frame_6.png?v=1753670889",alt:"Creative Module"},mobileImg:{url:"https://cdn.shopify.com/s/files/1/0510/7646/4806/files/2a8dcd1e-d7e2-495a-90d3-2c875e7fdb31_Frame_6.png?v=1753670889",alt:"Creative Module"}},{title:"Creative Module",description:"Creative Module",shape:"rounded",span:4,img:{url:"https://cdn.shopify.com/s/files/1/0510/7646/4806/files/40626a76-013f-4fb1-aead-2efa567fc7fa_20250617-103321_3840x_46ed02ba-b7a0-48a1-8ca0-45042163e62f.jpg?v=1753670282",alt:"Creative Module"},mobileImg:{url:"https://cdn.shopify.com/s/files/1/0510/7646/4806/files/2a8dcd1e-d7e2-495a-90d3-2c875e7fdb31_Frame_6.png?v=1753670889",alt:"Creative Module"}},{title:"Creative Module",description:"Creative Module",shape:"rounded",span:4,img:{url:"https://cdn.shopify.com/s/files/1/0510/7646/4806/files/40626a76-013f-4fb1-aead-2efa567fc7fa_20250617-103321_3840x_46ed02ba-b7a0-48a1-8ca0-45042163e62f.jpg?v=1753670282",alt:"Creative Module"},mobileImg:{url:"https://cdn.shopify.com/s/files/1/0510/7646/4806/files/2a8dcd1e-d7e2-495a-90d3-2c875e7fdb31_Frame_6.png?v=1753670889",alt:"Creative Module"}}]},o=()=>d(e,{data:a});export{o as Default,s as default};
2
2
  //# sourceMappingURL=creativeModule.stories.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/stories/creativeModule.stories.tsx"],
4
- "sourcesContent": ["import type { Meta } from '@storybook/react'\nimport { CreativeModule } from '../biz-components/index.js'\n\nconst meta = {\n title: 'Biz-Components/CreativeModule',\n component: CreativeModule,\n tags: ['autodocs'],\n parameters: {\n layout: 'centered',\n },\n} satisfies Meta<typeof CreativeModule>\n\nexport default meta\n\nconst data = {\n products: [\n {\n title: 'Creative Module',\n description: 'Creative Module',\n shape: 'rounded',\n span: 8,\n img: {\n url: 'https://cdn.shopify.com/s/files/1/0510/7646/4806/files/fdf5df46-fd39-4f58-8f22-ce0ca9060dff_A3035Z11_Rich_image_TD01_US_V1_3840x_4223056c-ac1e-4240-b485-e9547bd03de0.jpg?v=1753674542',\n alt: 'Creative Module',\n },\n mobileImg: {\n url: 'https://cdn.shopify.com/s/files/1/0510/7646/4806/files/fdf5df46-fd39-4f58-8f22-ce0ca9060dff_A3035Z11_Rich_image_TD01_US_V1_3840x_4223056c-ac1e-4240-b485-e9547bd03de0.jpg?v=1753674542',\n alt: 'Creative Module',\n },\n },\n {\n title: 'Creative Module',\n description: 'Creative Module',\n shape: 'rounded',\n span: 4,\n img: {\n url: 'https://cdn.shopify.com/s/files/1/0510/7646/4806/files/2a8dcd1e-d7e2-495a-90d3-2c875e7fdb31_Frame_6.png?v=1753670889',\n alt: 'Creative Module',\n },\n mobileImg: {\n url: 'https://cdn.shopify.com/s/files/1/0510/7646/4806/files/2a8dcd1e-d7e2-495a-90d3-2c875e7fdb31_Frame_6.png?v=1753670889',\n alt: 'Creative Module',\n },\n },\n {\n title: 'Creative Module',\n description: 'Creative Module',\n shape: 'rounded',\n span: 4,\n img: {\n url: 'https://cdn.shopify.com/s/files/1/0510/7646/4806/files/40626a76-013f-4fb1-aead-2efa567fc7fa_20250617-103321_3840x_46ed02ba-b7a0-48a1-8ca0-45042163e62f.jpg?v=1753670282',\n alt: 'Creative Module',\n },\n mobileImg: {\n url: 'https://cdn.shopify.com/s/files/1/0510/7646/4806/files/2a8dcd1e-d7e2-495a-90d3-2c875e7fdb31_Frame_6.png?v=1753670889',\n alt: 'Creative Module',\n },\n },\n {\n title: 'Creative Module',\n description: 'Creative Module',\n shape: 'rounded',\n span: 4,\n img: {\n url: 'https://cdn.shopify.com/s/files/1/0510/7646/4806/files/40626a76-013f-4fb1-aead-2efa567fc7fa_20250617-103321_3840x_46ed02ba-b7a0-48a1-8ca0-45042163e62f.jpg?v=1753670282',\n alt: 'Creative Module',\n },\n mobileImg: {\n url: 'https://cdn.shopify.com/s/files/1/0510/7646/4806/files/2a8dcd1e-d7e2-495a-90d3-2c875e7fdb31_Frame_6.png?v=1753670889',\n alt: 'Creative Module',\n },\n },\n ],\n} as {\n products: {\n title: string\n description: string\n theme: 'light' | 'dark'\n shape: 'rounded' | 'square'\n span: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12\n img: {\n url: string\n alt: string\n }\n mobileImg: {\n url: string\n alt: string\n }\n }[]\n}\n\nexport const Default = () => <CreativeModule data={data} />\n"],
5
- "mappings": "AA2F6B,cAAAA,MAAA,oBA1F7B,OAAS,kBAAAC,MAAsB,6BAE/B,MAAMC,EAAO,CACX,MAAO,gCACP,UAAWD,EACX,KAAM,CAAC,UAAU,EACjB,WAAY,CACV,OAAQ,UACV,CACF,EAEA,IAAOE,EAAQD,EAEf,MAAME,EAAO,CACX,SAAU,CACR,CACE,MAAO,kBACP,YAAa,kBACb,MAAO,UACP,KAAM,EACN,IAAK,CACH,IAAK,yLACL,IAAK,iBACP,EACA,UAAW,CACT,IAAK,yLACL,IAAK,iBACP,CACF,EACA,CACE,MAAO,kBACP,YAAa,kBACb,MAAO,UACP,KAAM,EACN,IAAK,CACH,IAAK,uHACL,IAAK,iBACP,EACA,UAAW,CACT,IAAK,uHACL,IAAK,iBACP,CACF,EACA,CACE,MAAO,kBACP,YAAa,kBACb,MAAO,UACP,KAAM,EACN,IAAK,CACH,IAAK,0KACL,IAAK,iBACP,EACA,UAAW,CACT,IAAK,uHACL,IAAK,iBACP,CACF,EACA,CACE,MAAO,kBACP,YAAa,kBACb,MAAO,UACP,KAAM,EACN,IAAK,CACH,IAAK,0KACL,IAAK,iBACP,EACA,UAAW,CACT,IAAK,uHACL,IAAK,iBACP,CACF,CACF,CACF,EAkBaC,EAAU,IAAML,EAACC,EAAA,CAAe,KAAMG,EAAM",
4
+ "sourcesContent": ["import type { Meta } from '@storybook/react'\nimport { CreativeModule } from '../biz-components/index.js'\n\nconst meta = {\n title: 'Biz-Components/CreativeModule',\n component: CreativeModule,\n tags: ['autodocs'],\n parameters: {\n layout: 'centered',\n },\n} satisfies Meta<typeof CreativeModule>\n\nexport default meta\n\nconst data = {\n productsTab: [\n {\n title: 'Creative Module',\n description: 'Creative Module',\n shape: 'rounded',\n span: 8,\n img: {\n url: 'https://cdn.shopify.com/s/files/1/0510/7646/4806/files/fdf5df46-fd39-4f58-8f22-ce0ca9060dff_A3035Z11_Rich_image_TD01_US_V1_3840x_4223056c-ac1e-4240-b485-e9547bd03de0.jpg?v=1753674542',\n alt: 'Creative Module',\n },\n mobileImg: {\n url: 'https://cdn.shopify.com/s/files/1/0510/7646/4806/files/fdf5df46-fd39-4f58-8f22-ce0ca9060dff_A3035Z11_Rich_image_TD01_US_V1_3840x_4223056c-ac1e-4240-b485-e9547bd03de0.jpg?v=1753674542',\n alt: 'Creative Module',\n },\n },\n {\n title: 'Creative Module',\n description: 'Creative Module',\n shape: 'rounded',\n span: 4,\n img: {\n url: 'https://cdn.shopify.com/s/files/1/0510/7646/4806/files/2a8dcd1e-d7e2-495a-90d3-2c875e7fdb31_Frame_6.png?v=1753670889',\n alt: 'Creative Module',\n },\n mobileImg: {\n url: 'https://cdn.shopify.com/s/files/1/0510/7646/4806/files/2a8dcd1e-d7e2-495a-90d3-2c875e7fdb31_Frame_6.png?v=1753670889',\n alt: 'Creative Module',\n },\n },\n {\n title: 'Creative Module',\n description: 'Creative Module',\n shape: 'rounded',\n span: 4,\n img: {\n url: 'https://cdn.shopify.com/s/files/1/0510/7646/4806/files/40626a76-013f-4fb1-aead-2efa567fc7fa_20250617-103321_3840x_46ed02ba-b7a0-48a1-8ca0-45042163e62f.jpg?v=1753670282',\n alt: 'Creative Module',\n },\n mobileImg: {\n url: 'https://cdn.shopify.com/s/files/1/0510/7646/4806/files/2a8dcd1e-d7e2-495a-90d3-2c875e7fdb31_Frame_6.png?v=1753670889',\n alt: 'Creative Module',\n },\n },\n {\n title: 'Creative Module',\n description: 'Creative Module',\n shape: 'rounded',\n span: 4,\n img: {\n url: 'https://cdn.shopify.com/s/files/1/0510/7646/4806/files/40626a76-013f-4fb1-aead-2efa567fc7fa_20250617-103321_3840x_46ed02ba-b7a0-48a1-8ca0-45042163e62f.jpg?v=1753670282',\n alt: 'Creative Module',\n },\n mobileImg: {\n url: 'https://cdn.shopify.com/s/files/1/0510/7646/4806/files/2a8dcd1e-d7e2-495a-90d3-2c875e7fdb31_Frame_6.png?v=1753670889',\n alt: 'Creative Module',\n },\n },\n ],\n} as {\n productsTab: {\n title: string\n description: string\n theme: 'light' | 'dark'\n shape: 'rounded' | 'square'\n span: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12\n img: {\n url: string\n alt: string\n }\n mobileImg: {\n url: string\n alt: string\n }\n }[]\n}\n\nexport const Default = () => <CreativeModule data={data} />\n"],
5
+ "mappings": "AA2F6B,cAAAA,MAAA,oBA1F7B,OAAS,kBAAAC,MAAsB,6BAE/B,MAAMC,EAAO,CACX,MAAO,gCACP,UAAWD,EACX,KAAM,CAAC,UAAU,EACjB,WAAY,CACV,OAAQ,UACV,CACF,EAEA,IAAOE,EAAQD,EAEf,MAAME,EAAO,CACX,YAAa,CACX,CACE,MAAO,kBACP,YAAa,kBACb,MAAO,UACP,KAAM,EACN,IAAK,CACH,IAAK,yLACL,IAAK,iBACP,EACA,UAAW,CACT,IAAK,yLACL,IAAK,iBACP,CACF,EACA,CACE,MAAO,kBACP,YAAa,kBACb,MAAO,UACP,KAAM,EACN,IAAK,CACH,IAAK,uHACL,IAAK,iBACP,EACA,UAAW,CACT,IAAK,uHACL,IAAK,iBACP,CACF,EACA,CACE,MAAO,kBACP,YAAa,kBACb,MAAO,UACP,KAAM,EACN,IAAK,CACH,IAAK,0KACL,IAAK,iBACP,EACA,UAAW,CACT,IAAK,uHACL,IAAK,iBACP,CACF,EACA,CACE,MAAO,kBACP,YAAa,kBACb,MAAO,UACP,KAAM,EACN,IAAK,CACH,IAAK,0KACL,IAAK,iBACP,EACA,UAAW,CACT,IAAK,uHACL,IAAK,iBACP,CACF,CACF,CACF,EAkBaC,EAAU,IAAML,EAACC,EAAA,CAAe,KAAMG,EAAM",
6
6
  "names": ["jsx", "CreativeModule", "meta", "creativeModule_stories_default", "data", "Default"]
7
7
  }
@@ -0,0 +1,17 @@
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;