@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.
Files changed (159) hide show
  1. package/dist/cjs/biz-components/CreativeModule/index.d.ts +1 -1
  2. package/dist/cjs/biz-components/CreativeModule/index.js +1 -1
  3. package/dist/cjs/biz-components/CreativeModule/index.js.map +3 -3
  4. package/dist/cjs/biz-components/Graphic/index.d.ts +7 -0
  5. package/dist/cjs/biz-components/Graphic/index.js +1 -1
  6. package/dist/cjs/biz-components/Graphic/index.js.map +3 -3
  7. package/dist/cjs/biz-components/ShelfDisplay/index.js +2 -2
  8. package/dist/cjs/biz-components/ShelfDisplay/index.js.map +2 -2
  9. package/dist/cjs/biz-components/TextModal/index.d.ts +12 -0
  10. package/dist/cjs/biz-components/TextModal/index.js +2 -0
  11. package/dist/cjs/biz-components/TextModal/index.js.map +7 -0
  12. package/dist/cjs/biz-components/Title/index.js +1 -1
  13. package/dist/cjs/biz-components/Title/index.js.map +3 -3
  14. package/dist/cjs/biz-components/Title/types.d.ts +2 -3
  15. package/dist/cjs/biz-components/Title/types.js +1 -1
  16. package/dist/cjs/biz-components/Title/types.js.map +1 -1
  17. package/dist/cjs/biz-components/WhyChooses/WhyChoose.d.ts +14 -0
  18. package/dist/cjs/biz-components/WhyChooses/index.d.ts +2 -0
  19. package/dist/cjs/biz-components/WhyChooses/types.d.ts +11 -0
  20. package/dist/cjs/stories/creativeModule.stories.d.ts +0 -1
  21. package/dist/cjs/stories/graphic.stories.d.ts +7 -0
  22. package/dist/cjs/stories/graphic.stories.js +1 -1
  23. package/dist/cjs/stories/graphic.stories.js.map +2 -2
  24. package/dist/cjs/stories/whychoose.stories.js +1 -1
  25. package/dist/cjs/stories/whychoose.stories.js.map +1 -1
  26. package/dist/cjs/tsconfig.tsbuildinfo +1 -1
  27. package/dist/esm/biz-components/CreativeModule/index.d.ts +1 -1
  28. package/dist/esm/biz-components/CreativeModule/index.js +1 -1
  29. package/dist/esm/biz-components/CreativeModule/index.js.map +3 -3
  30. package/dist/esm/biz-components/Graphic/index.d.ts +7 -0
  31. package/dist/esm/biz-components/Graphic/index.js +1 -1
  32. package/dist/esm/biz-components/Graphic/index.js.map +3 -3
  33. package/dist/esm/biz-components/ShelfDisplay/index.js +2 -2
  34. package/dist/esm/biz-components/ShelfDisplay/index.js.map +2 -2
  35. package/dist/esm/biz-components/TextModal/index.d.ts +12 -0
  36. package/dist/esm/biz-components/TextModal/index.js +2 -0
  37. package/dist/esm/biz-components/TextModal/index.js.map +7 -0
  38. package/dist/esm/biz-components/Title/index.js +1 -1
  39. package/dist/esm/biz-components/Title/index.js.map +3 -3
  40. package/dist/esm/biz-components/Title/types.d.ts +2 -3
  41. package/dist/esm/biz-components/WhyChooses/WhyChoose.d.ts +14 -0
  42. package/dist/esm/biz-components/WhyChooses/index.d.ts +2 -0
  43. package/dist/esm/biz-components/WhyChooses/types.d.ts +11 -0
  44. package/dist/esm/stories/creativeModule.stories.d.ts +0 -1
  45. package/dist/esm/stories/graphic.stories.d.ts +7 -0
  46. package/dist/esm/stories/graphic.stories.js +1 -1
  47. package/dist/esm/stories/graphic.stories.js.map +2 -2
  48. package/dist/esm/stories/whychoose.stories.js +1 -1
  49. package/dist/esm/stories/whychoose.stories.js.map +1 -1
  50. package/dist/esm/tsconfig.tsbuildinfo +1 -1
  51. package/package.json +1 -1
  52. package/dist/cjs/apps/playground/utils/classnames.d.ts +0 -1
  53. package/dist/cjs/biz-components/AccordionCards/useDebounce.d.ts +0 -6
  54. package/dist/cjs/biz-components/MediaPlayerMulti/YouTubePlayer.d.ts +0 -3
  55. package/dist/cjs/biz-components/SectionHeading/SectionHeading.d.ts +0 -4
  56. package/dist/cjs/biz-components/SectionHeading/types.d.ts +0 -6
  57. package/dist/cjs/biz-components/Shelf/Shelf.d.ts +0 -8
  58. package/dist/cjs/biz-components/Shelf/index.d.ts +0 -1
  59. package/dist/cjs/biz-components/Shelf/types.d.ts +0 -6
  60. package/dist/cjs/biz-components/ShelfDisplay/tab.d.ts +0 -7
  61. package/dist/cjs/components/col.d.ts +0 -29
  62. package/dist/cjs/components/dropdown.d.ts +0 -27
  63. package/dist/cjs/components/row.d.ts +0 -18
  64. package/dist/cjs/helpers/get-subtree.d.ts +0 -12
  65. package/dist/cjs/packages/ui/src/components/avatar.d.ts +0 -26
  66. package/dist/cjs/packages/ui/src/components/index.d.ts +0 -20
  67. package/dist/cjs/packages/ui/src/index.d.ts +0 -1
  68. package/dist/cjs/packages/ui/src/stories/avatar.stories.d.ts +0 -40
  69. package/dist/cjs/packages/ui/src/stories/badge.stories.d.ts +0 -26
  70. package/dist/cjs/packages/ui/src/stories/button.stories.d.ts +0 -48
  71. package/dist/cjs/packages/ui/src/stories/checkbox.stories.d.ts +0 -46
  72. package/dist/cjs/packages/ui/src/stories/container.stories.d.ts +0 -36
  73. package/dist/cjs/packages/ui/src/stories/dialog.stories.d.ts +0 -20
  74. package/dist/cjs/packages/ui/src/stories/grid.stories.d.ts +0 -42
  75. package/dist/cjs/packages/ui/src/stories/heading.stories.d.ts +0 -82
  76. package/dist/cjs/packages/ui/src/stories/input.stories.d.ts +0 -35
  77. package/dist/cjs/packages/ui/src/stories/picture.stories.d.ts +0 -18
  78. package/dist/cjs/packages/ui/src/stories/popover.stories.d.ts +0 -17
  79. package/dist/cjs/packages/ui/src/stories/radio.stories.d.ts +0 -39
  80. package/dist/cjs/packages/ui/src/stories/skeleton.stories.d.ts +0 -20
  81. package/dist/cjs/packages/ui/src/stories/text.stories.d.ts +0 -94
  82. package/dist/cjs/src/components/index.d.ts +0 -21
  83. package/dist/cjs/src/components/input-number.d.ts +0 -47
  84. package/dist/cjs/src/index.d.ts +0 -1
  85. package/dist/cjs/src/stories/avatar.stories.d.ts +0 -40
  86. package/dist/cjs/src/stories/badge.stories.d.ts +0 -26
  87. package/dist/cjs/src/stories/button.stories.d.ts +0 -48
  88. package/dist/cjs/src/stories/checkbox.stories.d.ts +0 -46
  89. package/dist/cjs/src/stories/container.stories.d.ts +0 -36
  90. package/dist/cjs/src/stories/dialog.stories.d.ts +0 -20
  91. package/dist/cjs/src/stories/grid.stories.d.ts +0 -42
  92. package/dist/cjs/src/stories/heading.stories.d.ts +0 -82
  93. package/dist/cjs/src/stories/input-number.stories.d.ts +0 -51
  94. package/dist/cjs/src/stories/input.stories.d.ts +0 -35
  95. package/dist/cjs/src/stories/picture.stories.d.ts +0 -18
  96. package/dist/cjs/src/stories/popover.stories.d.ts +0 -17
  97. package/dist/cjs/src/stories/radio.stories.d.ts +0 -39
  98. package/dist/cjs/src/stories/skeleton.stories.d.ts +0 -20
  99. package/dist/cjs/src/stories/text.stories.d.ts +0 -94
  100. package/dist/cjs/stories/shelf.stories.d.ts +0 -17
  101. package/dist/cjs/tailwind.config.d.ts +0 -253
  102. package/dist/esm/apps/playground/utils/classnames.d.ts +0 -1
  103. package/dist/esm/biz-components/AccordionCards/useDebounce.d.ts +0 -6
  104. package/dist/esm/biz-components/MediaPlayerMulti/YouTubePlayer.d.ts +0 -3
  105. package/dist/esm/biz-components/SectionHeading/SectionHeading.d.ts +0 -4
  106. package/dist/esm/biz-components/SectionHeading/types.d.ts +0 -6
  107. package/dist/esm/biz-components/Shelf/Shelf.d.ts +0 -8
  108. package/dist/esm/biz-components/Shelf/index.d.ts +0 -1
  109. package/dist/esm/biz-components/Shelf/types.d.ts +0 -6
  110. package/dist/esm/biz-components/ShelfDisplay/tab.d.ts +0 -7
  111. package/dist/esm/components/col.d.ts +0 -29
  112. package/dist/esm/components/dropdown.d.ts +0 -27
  113. package/dist/esm/components/row.d.ts +0 -18
  114. package/dist/esm/helpers/get-subtree.d.ts +0 -12
  115. package/dist/esm/packages/ui/src/components/avatar.d.ts +0 -26
  116. package/dist/esm/packages/ui/src/components/index.d.ts +0 -20
  117. package/dist/esm/packages/ui/src/index.d.ts +0 -1
  118. package/dist/esm/packages/ui/src/stories/avatar.stories.d.ts +0 -40
  119. package/dist/esm/packages/ui/src/stories/badge.stories.d.ts +0 -26
  120. package/dist/esm/packages/ui/src/stories/button.stories.d.ts +0 -48
  121. package/dist/esm/packages/ui/src/stories/checkbox.stories.d.ts +0 -46
  122. package/dist/esm/packages/ui/src/stories/container.stories.d.ts +0 -36
  123. package/dist/esm/packages/ui/src/stories/dialog.stories.d.ts +0 -20
  124. package/dist/esm/packages/ui/src/stories/grid.stories.d.ts +0 -42
  125. package/dist/esm/packages/ui/src/stories/heading.stories.d.ts +0 -82
  126. package/dist/esm/packages/ui/src/stories/input.stories.d.ts +0 -35
  127. package/dist/esm/packages/ui/src/stories/picture.stories.d.ts +0 -18
  128. package/dist/esm/packages/ui/src/stories/popover.stories.d.ts +0 -17
  129. package/dist/esm/packages/ui/src/stories/radio.stories.d.ts +0 -39
  130. package/dist/esm/packages/ui/src/stories/skeleton.stories.d.ts +0 -20
  131. package/dist/esm/packages/ui/src/stories/text.stories.d.ts +0 -94
  132. package/dist/esm/src/components/index.d.ts +0 -21
  133. package/dist/esm/src/components/input-number.d.ts +0 -47
  134. package/dist/esm/src/index.d.ts +0 -1
  135. package/dist/esm/src/stories/avatar.stories.d.ts +0 -40
  136. package/dist/esm/src/stories/badge.stories.d.ts +0 -26
  137. package/dist/esm/src/stories/button.stories.d.ts +0 -48
  138. package/dist/esm/src/stories/checkbox.stories.d.ts +0 -46
  139. package/dist/esm/src/stories/container.stories.d.ts +0 -36
  140. package/dist/esm/src/stories/dialog.stories.d.ts +0 -20
  141. package/dist/esm/src/stories/grid.stories.d.ts +0 -42
  142. package/dist/esm/src/stories/heading.stories.d.ts +0 -82
  143. package/dist/esm/src/stories/input-number.stories.d.ts +0 -51
  144. package/dist/esm/src/stories/input.stories.d.ts +0 -35
  145. package/dist/esm/src/stories/picture.stories.d.ts +0 -18
  146. package/dist/esm/src/stories/popover.stories.d.ts +0 -17
  147. package/dist/esm/src/stories/radio.stories.d.ts +0 -39
  148. package/dist/esm/src/stories/skeleton.stories.d.ts +0 -20
  149. package/dist/esm/src/stories/text.stories.d.ts +0 -94
  150. package/dist/esm/stories/shelf.stories.d.ts +0 -17
  151. package/dist/esm/tailwind.config.d.ts +0 -253
  152. /package/dist/cjs/biz-components/{SectionHeading/index.d.ts → Faq/type.d.ts} +0 -0
  153. /package/dist/cjs/{components/inputnumber.d.ts → biz-components/WhyChoose/type.d.ts} +0 -0
  154. /package/dist/cjs/hooks/{useEXposure.d.ts → useExposure.d.ts} +0 -0
  155. /package/dist/cjs/stories/{whychoose.stories.d.ts → WhyChoose.stories.d.ts} +0 -0
  156. /package/dist/esm/biz-components/{SectionHeading/index.d.ts → Faq/type.d.ts} +0 -0
  157. /package/dist/esm/{components/inputnumber.d.ts → biz-components/WhyChoose/type.d.ts} +0 -0
  158. /package/dist/esm/hooks/{useEXposure.d.ts → useExposure.d.ts} +0 -0
  159. /package/dist/esm/stories/{whychoose.stories.d.ts → WhyChoose.stories.d.ts} +0 -0
@@ -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;
@@ -1,253 +0,0 @@
1
- declare const _default: {
2
- content: string[];
3
- theme: {
4
- extend: {
5
- screens: {
6
- xxs: {
7
- max: string;
8
- };
9
- xs: {
10
- max: string;
11
- };
12
- sm: {
13
- max: string;
14
- };
15
- md: {
16
- max: string;
17
- };
18
- l: {
19
- max: string;
20
- };
21
- l1: {
22
- max: string;
23
- };
24
- x: {
25
- max: string;
26
- };
27
- xl: {
28
- max: string;
29
- };
30
- xxl: {
31
- max: string;
32
- };
33
- xxxl: {
34
- max: string;
35
- };
36
- 'min-md': {
37
- min: string;
38
- };
39
- 'min-l1': {
40
- min: string;
41
- };
42
- 'min-l': {
43
- min: string;
44
- };
45
- 'min-x': {
46
- min: string;
47
- };
48
- 'min-xl': {
49
- min: string;
50
- };
51
- 'min-xsl': {
52
- min: string;
53
- };
54
- 'min-xxl': {
55
- min: string;
56
- };
57
- 'min-xxxl': {
58
- min: string;
59
- };
60
- 'l-xl': {
61
- min: string;
62
- max: string;
63
- };
64
- 'l-lx': {
65
- min: string;
66
- max: string;
67
- };
68
- 'md-l': {
69
- min: string;
70
- max: string;
71
- };
72
- 'md-xxl': {
73
- min: string;
74
- max: string;
75
- };
76
- 'xl-xxl': {
77
- min: string;
78
- max: string;
79
- };
80
- xm: {
81
- min: string;
82
- max: string;
83
- };
84
- lg: {
85
- min: string;
86
- max: string;
87
- };
88
- mx: {
89
- min: string;
90
- max: string;
91
- };
92
- mxl: {
93
- min: string;
94
- max: string;
95
- };
96
- };
97
- colors: {
98
- brand: {
99
- 0: string;
100
- 1: string;
101
- };
102
- success: {
103
- 0: string;
104
- 1: string;
105
- 2: string;
106
- 3: string;
107
- 4: string;
108
- };
109
- error: {
110
- 0: string;
111
- 1: string;
112
- 2: string;
113
- 3: string;
114
- 4: string;
115
- };
116
- warning: {
117
- 0: string;
118
- 1: string;
119
- 2: string;
120
- 3: string;
121
- 4: string;
122
- };
123
- info: {
124
- primary: string;
125
- secondary: string;
126
- tertiary: string;
127
- quaternary: string;
128
- white: string;
129
- };
130
- container: {
131
- primary: string;
132
- secondary: {
133
- 0: string;
134
- 1: string;
135
- };
136
- };
137
- bg: {
138
- 0: string;
139
- 1: string;
140
- 2: string;
141
- };
142
- lines: {
143
- DEFAULT: string;
144
- 1: string;
145
- 2: string;
146
- 3: string;
147
- 4: string;
148
- 5: string;
149
- };
150
- masks: {
151
- 0: string;
152
- 1: string;
153
- };
154
- tab: {
155
- word: {
156
- 0: string;
157
- 1: string;
158
- 2: string;
159
- };
160
- stroke: {
161
- 0: string;
162
- 1: string;
163
- 2: string;
164
- };
165
- fill: {
166
- 0: string;
167
- 1: string;
168
- 2: string;
169
- };
170
- };
171
- primary: {
172
- DEFAULT: string;
173
- foreground: string;
174
- };
175
- btn: {
176
- primary: {
177
- DEFAULT: string;
178
- foreground: string;
179
- active: string;
180
- disabled: {
181
- DEFAULT: string;
182
- foreground: string;
183
- };
184
- border: {
185
- DEFAULT: string;
186
- };
187
- };
188
- secondary: {
189
- DEFAULT: string;
190
- foreground: string;
191
- active: string;
192
- disabled: {
193
- DEFAULT: string;
194
- foreground: string;
195
- borderColor: string;
196
- };
197
- };
198
- };
199
- badge: {
200
- DEFAULT: string;
201
- foreground: string;
202
- };
203
- skeleton: {
204
- DEFAULT: string;
205
- };
206
- background: {
207
- DEFAULT: string;
208
- };
209
- };
210
- borderRadius: {
211
- btn: string;
212
- };
213
- lineHeight: {
214
- tight: string;
215
- normal: string;
216
- loose: string;
217
- };
218
- letterSpacing: {
219
- DEFAULT: string;
220
- };
221
- width: {
222
- xxxl: string;
223
- xxl: string;
224
- xl: string;
225
- l: string;
226
- s: string;
227
- };
228
- gap: {
229
- s: string;
230
- m: string;
231
- l: string;
232
- xl: string;
233
- xxl: string;
234
- };
235
- rowGap: {
236
- s: string;
237
- m: string;
238
- l: string;
239
- xl: string;
240
- xxl: string;
241
- };
242
- columnGap: {
243
- s: string;
244
- m: string;
245
- l: string;
246
- xl: string;
247
- xxl: string;
248
- };
249
- };
250
- };
251
- plugins: never[];
252
- };
253
- export default _default;
@@ -1 +0,0 @@
1
- export declare function classNames(...arr: unknown[]): string;
@@ -1,6 +0,0 @@
1
- type DebounceOptions = {
2
- leading?: boolean;
3
- trailing?: boolean;
4
- };
5
- export declare function useDebounce<T extends any[]>(func: (...args: T) => void, delay?: number, options?: DebounceOptions): (...args: T) => void;
6
- export {};
@@ -1,3 +0,0 @@
1
- export declare function YouTubePlayer({ youTubeId }: {
2
- youTubeId: string;
3
- }): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import type { SectionHeadingProps } from './types.js';
3
- declare const SectionHeading: React.ForwardRefExoticComponent<SectionHeadingProps & React.RefAttributes<HTMLDivElement>>;
4
- export default SectionHeading;
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- export interface SectionHeadingProps {
3
- title: string;
4
- className?: string;
5
- children: React.ReactNode;
6
- }
@@ -1,8 +0,0 @@
1
- import type { ShelfProps } from './types.js';
2
- declare const _default: {
3
- (props: Omit<ShelfProps, keyof import("../../shared/Styles.js").StylesProps> & Partial<import("../../shared/Styles.js").StylesProps> & {
4
- className?: string;
5
- }): import("react/jsx-runtime").JSX.Element;
6
- displayName: string;
7
- };
8
- export default _default;
@@ -1 +0,0 @@
1
- export { default } from './Shelf.js';
@@ -1,6 +0,0 @@
1
- export type ShelfProps = {
2
- id: string;
3
- title: string;
4
- subtitle: string;
5
- products: any[];
6
- };
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- interface TabsProps {
3
- tabs: any[];
4
- onTabClick?: (value: any) => void;
5
- }
6
- declare const Tab: React.FC<TabsProps>;
7
- export default Tab;
@@ -1,29 +0,0 @@
1
- import React from 'react';
2
- import type { ReactNode } from 'react';
3
- interface mediaProps {
4
- span?: number;
5
- pull?: number;
6
- push?: number;
7
- offset?: number;
8
- order?: number;
9
- }
10
- interface ColProps {
11
- children?: ReactNode;
12
- span?: number;
13
- className?: string;
14
- asChild?: boolean;
15
- offset?: number;
16
- order?: number;
17
- push?: number;
18
- pull?: number;
19
- flex?: number;
20
- allFlex?: number;
21
- md?: number | mediaProps;
22
- lxl?: number | mediaProps;
23
- mdl?: number | mediaProps;
24
- xlxxl?: number | mediaProps;
25
- minxxl?: number | mediaProps;
26
- }
27
- declare const Col: React.ForwardRefExoticComponent<ColProps & React.RefAttributes<HTMLDivElement>>;
28
- export { Col };
29
- export type { ColProps };
@@ -1,27 +0,0 @@
1
- import * as React from 'react';
2
- import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
3
- declare const DropdownMenu: React.FC<DropdownMenuPrimitive.DropdownMenuProps>;
4
- declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React.RefAttributes<HTMLButtonElement>>;
5
- declare const DropdownMenuGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
6
- declare const DropdownMenuPortal: React.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
7
- declare const DropdownMenuSub: React.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
8
- declare const DropdownMenuRadioGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
9
- declare const DropdownMenuSubTrigger: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
10
- inset?: boolean;
11
- } & React.RefAttributes<HTMLDivElement>>;
12
- declare const DropdownMenuSubContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
13
- declare const DropdownMenuContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
14
- declare const DropdownMenuItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
15
- inset?: boolean;
16
- } & React.RefAttributes<HTMLDivElement>>;
17
- declare const DropdownMenuCheckboxItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
18
- declare const DropdownMenuRadioItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
19
- declare const DropdownMenuLabel: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
20
- inset?: boolean;
21
- } & React.RefAttributes<HTMLDivElement>>;
22
- declare const DropdownMenuSeparator: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
23
- declare const DropdownMenuShortcut: {
24
- ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
25
- displayName: string;
26
- };
27
- export { DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuGroup, DropdownMenuPortal, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuRadioGroup, };
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import type { ReactNode } from 'react';
3
- interface RowProps {
4
- children?: ReactNode;
5
- className?: string;
6
- align?: 'start' | 'center' | 'end' | 'stretch' | {
7
- [key in 'md' | 'mdl' | 'xlxxl' | 'minxxl']: 'start' | 'center' | 'end' | 'stretch';
8
- };
9
- asChild?: boolean;
10
- gutter?: number | object | Array<object | number>;
11
- wrap?: boolean;
12
- justify?: 'start' | 'end' | 'center' | 'space-around' | 'space-between' | 'space-evenly' | {
13
- [key in 'md' | 'mdl' | 'xlxxl' | 'minxxl']: 'start' | 'end' | 'center' | 'space-around' | 'space-between' | 'space-evenly';
14
- };
15
- }
16
- declare const Row: React.ForwardRefExoticComponent<RowProps & React.RefAttributes<HTMLDivElement>>;
17
- export { Row };
18
- export type { RowProps };
@@ -1,12 +0,0 @@
1
- import * as React from 'react';
2
- /**
3
- * This is a helper function that is used when a component supports `asChild`
4
- * using the `Slot` component but its implementation contains nested DOM elements.
5
- *
6
- * Using it ensures if a consumer uses the `asChild` prop, the elements are in
7
- * correct order in the DOM, adopting the intended consumer `children`.
8
- */
9
- export declare function getSubtree(options: {
10
- asChild: boolean | undefined;
11
- children: React.ReactNode;
12
- }, content: React.ReactNode | ((children: React.ReactNode) => React.ReactNode)): React.ReactNode;
@@ -1,26 +0,0 @@
1
- import React from 'react';
2
- import * as AvatarPrimitive from '@radix-ui/react-avatar';
3
- import { type VariantProps } from 'class-variance-authority';
4
- declare const Avatar: React.ForwardRefExoticComponent<{
5
- /** 定义子组件作为父组件的类型,详细使用方式请参考radix-ui */
6
- asChild?: boolean;
7
- /** 类名*/
8
- className?: string;
9
- /** 样式*/
10
- style?: React.CSSProperties;
11
- /** 点击事件*/
12
- onClick?: Function;
13
- /** 文本自适应*/
14
- isAdaptation?: boolean;
15
- /** 文本自适应最小字体, 开启时生效*/
16
- minSize?: number;
17
- /** 文本自适应最大字体, 开启时生效*/
18
- maxSize?: number;
19
- /** 文本自适应类*/
20
- textClassName?: string;
21
- } & VariantProps<(props?: ({
22
- size?: "small" | "medium" | "large" | null | undefined;
23
- } & import("class-variance-authority/dist/types.js").ClassProp) | undefined) => string> & Omit<AvatarPrimitive.AvatarProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
24
- declare const AvatarImage: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React.RefAttributes<HTMLImageElement>, "ref"> & React.RefAttributes<HTMLImageElement>>;
25
- declare const AvatarFallback: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
26
- export { Avatar, AvatarImage, AvatarFallback };
@@ -1,20 +0,0 @@
1
- export { default as Button } from './button.js';
2
- export { default as Badge } from './badge.js';
3
- export * from './input.js';
4
- export { default as Checkbox } from './checkbox.js';
5
- export { default as Skeleton } from './skeleton.js';
6
- export * from './dialog.js';
7
- export * from './popover.js';
8
- export * from './radio.js';
9
- export * from './dialog.js';
10
- export * from './text.js';
11
- export * from './gird.js';
12
- export * from './col.js';
13
- export * from './row.js';
14
- export * from './heading.js';
15
- export * from './container.js';
16
- export * from './color.js';
17
- export * from './link.js';
18
- export * from './avatar.js';
19
- export { default as Picture } from './picture.js';
20
- export { default as Theme } from './theme.js';
@@ -1 +0,0 @@
1
- export * from './components/index.js';