@fpkit/acss 0.5.0 → 0.5.2
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/libs/chunk-GCGKYLDG.js +7 -0
- package/libs/chunk-GCGKYLDG.js.map +1 -0
- package/libs/chunk-PDD4N5P5.cjs +10 -0
- package/libs/chunk-PDD4N5P5.cjs.map +1 -0
- package/libs/chunk-TBM2QIVT.js +8 -0
- package/libs/chunk-TBM2QIVT.js.map +1 -0
- package/libs/chunk-VAH6X2DZ.cjs +31 -0
- package/libs/chunk-VAH6X2DZ.cjs.map +1 -0
- package/libs/components/badge/badge.css +1 -0
- package/libs/components/badge/badge.css.map +1 -0
- package/libs/components/badge/badge.min.css +3 -0
- package/libs/components/breadcrumbs/breadcrumb.css +1 -0
- package/libs/components/breadcrumbs/breadcrumb.css.map +1 -0
- package/libs/components/breadcrumbs/breadcrumb.min.css +3 -0
- package/libs/components/buttons/button.css +1 -0
- package/libs/components/buttons/button.css.map +1 -0
- package/libs/components/buttons/button.min.css +3 -0
- package/libs/components/cards/card-style.css +1 -0
- package/libs/components/cards/card-style.css.map +1 -0
- package/libs/components/cards/card-style.min.css +3 -0
- package/libs/components/cards/card.css +1 -0
- package/libs/components/cards/card.css.map +1 -0
- package/libs/components/cards/card.min.css +3 -0
- package/libs/components/details/details.css +1 -0
- package/libs/components/details/details.css.map +1 -0
- package/libs/components/details/details.min.css +3 -0
- package/libs/components/form/form.css +1 -0
- package/libs/components/form/form.css.map +1 -0
- package/libs/components/form/form.min.css +3 -0
- package/libs/components/icons/icon.css +1 -0
- package/libs/components/icons/icon.css.map +1 -0
- package/libs/components/icons/icon.min.css +3 -0
- package/libs/components/images/img.css +1 -0
- package/libs/components/images/img.css.map +1 -0
- package/libs/components/images/img.min.css +3 -0
- package/libs/components/layout/landmarks.css +1 -0
- package/libs/components/layout/landmarks.css.map +1 -0
- package/libs/components/layout/landmarks.min.css +3 -0
- package/libs/components/link/link.css +1 -0
- package/libs/components/link/link.css.map +1 -0
- package/libs/components/link/link.min.css +3 -0
- package/libs/components/nav/nav.css +1 -0
- package/libs/components/nav/nav.css.map +1 -0
- package/libs/components/nav/nav.min.css +3 -0
- package/libs/components/progress/progress.css +1 -0
- package/libs/components/progress/progress.css.map +1 -0
- package/libs/components/progress/progress.min.css +3 -0
- package/libs/components/styles/index.css +1 -0
- package/libs/components/styles/index.css.map +1 -0
- package/libs/components/styles/index.min.css +3 -0
- package/libs/components/tag/tag.css +1 -0
- package/libs/components/tag/tag.css.map +1 -0
- package/libs/components/tag/tag.min.css +3 -0
- package/libs/components/text-to-speech/text-to-speech.css +1 -0
- package/libs/components/text-to-speech/text-to-speech.css.map +1 -0
- package/libs/components/text-to-speech/text-to-speech.min.css +3 -0
- package/libs/hooks.cjs +12 -0
- package/{dist → libs}/hooks.d.cts +2 -2
- package/{dist → libs}/hooks.d.ts +2 -2
- package/libs/hooks.js +3 -0
- package/libs/icons-2f29127c.d.ts +349 -0
- package/libs/icons.cjs +12 -0
- package/libs/icons.cjs.map +1 -0
- package/libs/icons.d.cts +2 -0
- package/libs/icons.d.ts +2 -0
- package/libs/icons.js +3 -0
- package/libs/icons.js.map +1 -0
- package/libs/index.cjs +71 -0
- package/libs/index.cjs.map +1 -0
- package/libs/index.css +1 -0
- package/libs/index.css.map +1 -0
- package/libs/index.d.cts +561 -0
- package/libs/index.d.ts +561 -0
- package/libs/index.js +11 -0
- package/libs/index.js.map +1 -0
- package/package.json +3 -2
- package/src/components/badge/badge.scss +1 -0
- package/src/components/breadcrumbs/breadcrumb.stories.tsx +2 -2
- package/src/components/breadcrumbs/breadcrumb.tsx +2 -1
- package/src/components/buttons/button.scss +3 -4
- package/src/components/buttons/button.stories.tsx +49 -27
- package/src/components/buttons/button.tsx +31 -4
- package/src/components/cards/card.scss +5 -3
- package/src/components/cards/card.stories.tsx +2 -2
- package/src/components/cards/card.tsx +0 -1
- package/src/components/details/details.scss +2 -1
- package/src/components/heading/heading.tsx +2 -2
- package/src/components/icons/components/svg.tsx +1 -0
- package/src/components/icons/icon.scss +2 -0
- package/src/components/icons/icon.stories.tsx +23 -3
- package/src/components/icons/icon.tsx +11 -0
- package/src/components/icons/types.ts +1 -1
- package/src/components/list/list.stories.tsx +6 -0
- package/src/sass/_globals.scss +8 -7
- package/src/styles/badge/badge.css +1 -0
- package/src/styles/badge/badge.css.map +1 -1
- package/src/styles/buttons/button.css +3 -3
- package/src/styles/buttons/button.css.map +1 -1
- package/src/styles/cards/card.css +2 -8
- package/src/styles/cards/card.css.map +1 -5
- package/src/styles/details/details.css +2 -1
- package/src/styles/details/details.css.map +1 -1
- package/src/styles/form/form.css +0 -3
- package/src/styles/icons/icon.css +2 -0
- package/src/styles/icons/icon.css.map +1 -1
- package/src/styles/index.css +16 -14
- package/src/styles/index.css.map +1 -1
- package/dist/chunk-77CZU5XZ.cjs +0 -9
- package/dist/chunk-77CZU5XZ.cjs.map +0 -1
- package/dist/chunk-D43FJIRQ.cjs +0 -31
- package/dist/chunk-D43FJIRQ.cjs.map +0 -1
- package/dist/chunk-GJWMCDFS.js +0 -9
- package/dist/chunk-GJWMCDFS.js.map +0 -1
- package/dist/chunk-PCDUGD3C.js +0 -5
- package/dist/chunk-PCDUGD3C.js.map +0 -1
- package/dist/hooks.cjs +0 -10
- package/dist/hooks.cjs.map +0 -1
- package/dist/hooks.js +0 -8
- package/dist/hooks.js.map +0 -1
- package/dist/icon-e6044c73.d.ts +0 -227
- package/dist/icons.cjs +0 -73
- package/dist/icons.d.cts +0 -252
- package/dist/icons.d.ts +0 -252
- package/dist/icons.js +0 -4
- package/dist/index.cjs +0 -59
- package/dist/index.cjs.map +0 -1
- package/dist/index.d.cts +0 -566
- package/dist/index.d.ts +0 -566
- package/dist/index.js +0 -11
- package/dist/index.js.map +0 -1
- package/src/components/popover/node_modules/.vitest/results.json +0 -1
- package/src/hooks/popover/node_modules/.vitest/results.json +0 -1
- /package/{dist/icons.cjs.map → libs/hooks.cjs.map} +0 -0
- /package/{dist/icons.js.map → libs/hooks.js.map} +0 -0
package/dist/icons.d.cts
DELETED
|
@@ -1,252 +0,0 @@
|
|
|
1
|
-
import { a as IconProps } from './icon-e6044c73.js';
|
|
2
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
-
import 'react';
|
|
4
|
-
export { I as Icon, b as IconProps, d as defaultStyles } from './icon-e6044c73.js';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Renders a code icon.
|
|
8
|
-
*
|
|
9
|
-
* @param {string} strokeColor - The color of the icon's stroke.
|
|
10
|
-
* @param {string} fill - The color of the icon's fill.
|
|
11
|
-
* @param {string} size - The size of the icon.
|
|
12
|
-
* @param {string} viewBox - The viewBox of the icon.
|
|
13
|
-
* @param {React.CSSProperties} styles - The default styles of the icon.
|
|
14
|
-
* @param {IconProps} props - Additional props to apply to the icon.
|
|
15
|
-
* @returns {JSX.Element} - A React component that renders an SVG icon.
|
|
16
|
-
*/
|
|
17
|
-
declare const Code: {
|
|
18
|
-
({ strokeColor, fill, size, styles, role, alt, ...props }?: Pick<IconProps, 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'>): react_jsx_runtime.JSX.Element;
|
|
19
|
-
styles: {
|
|
20
|
-
fill: string;
|
|
21
|
-
stroke: string;
|
|
22
|
-
display: string;
|
|
23
|
-
alignItems: string;
|
|
24
|
-
width: string;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* Renders a home icon.
|
|
30
|
-
*
|
|
31
|
-
* @param {string} strokeColor - The color of the icon's stroke.
|
|
32
|
-
* @param {string} fill - The color of the icon's fill.
|
|
33
|
-
* @param {string} size - The size of the icon.
|
|
34
|
-
* @param {string} viewBox - The viewBox of the icon.
|
|
35
|
-
* @param {string} name - The name of the icon.
|
|
36
|
-
* @param {Object} styles - The styles of the icon.
|
|
37
|
-
* @param {Object} props - The props of the icon.
|
|
38
|
-
* @returns {JSX.Element} - A home icon.
|
|
39
|
-
*/
|
|
40
|
-
declare const Home: {
|
|
41
|
-
({ strokeColor, fill, size, styles, role, alt, ...props }: Pick<IconProps, 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'>): react_jsx_runtime.JSX.Element;
|
|
42
|
-
displayName: string;
|
|
43
|
-
styles: {
|
|
44
|
-
fill: string;
|
|
45
|
-
stroke: string;
|
|
46
|
-
display: string;
|
|
47
|
-
alignItems: string;
|
|
48
|
-
width: string;
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* Add Icon component
|
|
54
|
-
* @param {string} fill - Icon fill color (default: 'currentColor')
|
|
55
|
-
* @param {string} size - Icon size (default: '24')
|
|
56
|
-
* @param {IconProps} props - Other icon properties
|
|
57
|
-
* @returns {JSX.Element} - Rendered component
|
|
58
|
-
*/
|
|
59
|
-
declare const Add: {
|
|
60
|
-
({ fill, size, role, alt, ...props }: Pick<IconProps, 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'>): JSX.Element;
|
|
61
|
-
styles: {
|
|
62
|
-
fill: string;
|
|
63
|
-
display: string;
|
|
64
|
-
alignItems: string;
|
|
65
|
-
width: string;
|
|
66
|
-
};
|
|
67
|
-
displayName: string;
|
|
68
|
-
};
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* Renders an arrow pointing to the left.
|
|
72
|
-
*
|
|
73
|
-
* @param {string} strokeColor - The color of the arrow's stroke.
|
|
74
|
-
* @param {string} fill - The fill color of the arrow.
|
|
75
|
-
* @param {string} size - The size of the arrow.
|
|
76
|
-
* @param {object} styles - The styles to apply to the arrow.
|
|
77
|
-
* @param {object} props - The additional props to pass to the SVG element.
|
|
78
|
-
* @returns {JSX.Element} - A React component that renders an arrow pointing to the left.
|
|
79
|
-
*/
|
|
80
|
-
declare const ArrowLeft: {
|
|
81
|
-
({ strokeColor, fill, size, styles, role, alt, ...props }: Pick<IconProps, 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'>): react_jsx_runtime.JSX.Element;
|
|
82
|
-
styles: {
|
|
83
|
-
display: string;
|
|
84
|
-
alignItems: string;
|
|
85
|
-
width: string;
|
|
86
|
-
};
|
|
87
|
-
displayName: string;
|
|
88
|
-
};
|
|
89
|
-
|
|
90
|
-
/**
|
|
91
|
-
* @param {string} size - The width and height of the icon in pixels. Defaults to 24.
|
|
92
|
-
* @param {string} strokeColor - The color of the icon stroke. Defaults to 'currentcolor'.
|
|
93
|
-
* @param {React.CSSProperties} styles - Additional CSS styles to apply to the icon.
|
|
94
|
-
* @param {IconProps} props - Additional props to pass to the SVG element.
|
|
95
|
-
* @returns {JSX.Element} - A chat icon component that displays a speech bubble with lines representing text.
|
|
96
|
-
*/
|
|
97
|
-
declare const Chat: {
|
|
98
|
-
({ size, strokeColor, styles, role, alt, ...props }: Pick<IconProps, 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'>): JSX.Element;
|
|
99
|
-
styles: {
|
|
100
|
-
display: string;
|
|
101
|
-
alignItems: string;
|
|
102
|
-
width: string;
|
|
103
|
-
};
|
|
104
|
-
displayName: string;
|
|
105
|
-
};
|
|
106
|
-
|
|
107
|
-
/**
|
|
108
|
-
* ArrowDown icon component
|
|
109
|
-
* @param fill - Icon fill color
|
|
110
|
-
* @param strokeColor - Icon stroke color
|
|
111
|
-
* @param styles - Icon styles
|
|
112
|
-
* @param size - Icon size
|
|
113
|
-
*/
|
|
114
|
-
declare const ArrowDown: {
|
|
115
|
-
({ fill, strokeColor, styles, size, role, alt, ...props }: Pick<IconProps, 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'>): react_jsx_runtime.JSX.Element;
|
|
116
|
-
styles: {
|
|
117
|
-
display: string;
|
|
118
|
-
alignItems: string;
|
|
119
|
-
width: string;
|
|
120
|
-
};
|
|
121
|
-
displayName: string;
|
|
122
|
-
};
|
|
123
|
-
|
|
124
|
-
/**
|
|
125
|
-
* ArrowUp icon component
|
|
126
|
-
* @param fill - Icon fill color
|
|
127
|
-
* @param strokeColor - Icon stroke color
|
|
128
|
-
* @param styles - Icon styles
|
|
129
|
-
* @param size - Icon size
|
|
130
|
-
*/
|
|
131
|
-
declare const ArrowUp: {
|
|
132
|
-
({ fill, strokeColor, styles, size, role, alt, ...props }: Pick<IconProps, 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'>): react_jsx_runtime.JSX.Element;
|
|
133
|
-
displayName: string;
|
|
134
|
-
style: {
|
|
135
|
-
fill: string;
|
|
136
|
-
stroke: string;
|
|
137
|
-
display: string;
|
|
138
|
-
alignItems: string;
|
|
139
|
-
width: string;
|
|
140
|
-
};
|
|
141
|
-
};
|
|
142
|
-
|
|
143
|
-
declare const ArrowRight: {
|
|
144
|
-
({ size, fill, strokeColor, styles, role, alt, ...props }: Pick<IconProps, 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'>): react_jsx_runtime.JSX.Element;
|
|
145
|
-
displayName: string;
|
|
146
|
-
};
|
|
147
|
-
|
|
148
|
-
declare const User: {
|
|
149
|
-
({ size, fill, strokeColor, styles, alt, role, ...props }: Pick<IconProps, 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'>): react_jsx_runtime.JSX.Element;
|
|
150
|
-
styles: {
|
|
151
|
-
fill: string;
|
|
152
|
-
stroke: string;
|
|
153
|
-
display: string;
|
|
154
|
-
alignItems: string;
|
|
155
|
-
width: string;
|
|
156
|
-
};
|
|
157
|
-
displayName: string;
|
|
158
|
-
};
|
|
159
|
-
|
|
160
|
-
/**
|
|
161
|
-
* Renders a right arrow icon.
|
|
162
|
-
*
|
|
163
|
-
* @param {string} size - The size of the icon.
|
|
164
|
-
* @param {string} fill - The fill color of the icon.
|
|
165
|
-
* @param {React.CSSProperties} styles - The styles to apply to the icon.
|
|
166
|
-
* @param {IconProps} props - The props to pass down to the icon.
|
|
167
|
-
* @returns {JSX.Element} - A right arrow icon.
|
|
168
|
-
*/
|
|
169
|
-
declare const Right: {
|
|
170
|
-
({ size, fill, styles, role, alt, ...props }: Pick<IconProps, 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'>): react_jsx_runtime.JSX.Element;
|
|
171
|
-
displayName: string;
|
|
172
|
-
styles: {
|
|
173
|
-
fill: string;
|
|
174
|
-
};
|
|
175
|
-
};
|
|
176
|
-
|
|
177
|
-
/**
|
|
178
|
-
* Left arrow icon
|
|
179
|
-
* @param {string} fill - Icon fill color (default: 'currentColor')
|
|
180
|
-
* @param {string} size - Icon size (default: '24')
|
|
181
|
-
* @param {React.CSSProperties} styles - Icon styles (default: {})
|
|
182
|
-
* @param {IconProps} props - Any other valid props for an SVG element
|
|
183
|
-
* @returns {JSX.Element} - Rendered icon component
|
|
184
|
-
*/
|
|
185
|
-
declare const Left: {
|
|
186
|
-
({ fill, size, styles, role, alt, ...props }: Pick<IconProps, 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'>): react_jsx_runtime.JSX.Element;
|
|
187
|
-
displayName: string;
|
|
188
|
-
styles: {
|
|
189
|
-
fill: string;
|
|
190
|
-
display: string;
|
|
191
|
-
alignItems: string;
|
|
192
|
-
width: string;
|
|
193
|
-
};
|
|
194
|
-
};
|
|
195
|
-
|
|
196
|
-
/**
|
|
197
|
-
* Minus icon component
|
|
198
|
-
* @param {string} size - Icon size (default: 24)
|
|
199
|
-
* @param {string} fill - Icon fill color (default: 'currentColor')
|
|
200
|
-
* @param {object} styles - Inline styles for the SVG element
|
|
201
|
-
* @param {object} props - Any other SVG attributes
|
|
202
|
-
* @returns {JSX.Element} - Rendered Minus icon component
|
|
203
|
-
*/
|
|
204
|
-
declare const Minus: {
|
|
205
|
-
({ size, fill, styles, role, alt, ...props }: Pick<IconProps, 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'>): react_jsx_runtime.JSX.Element;
|
|
206
|
-
displayName: string;
|
|
207
|
-
styles: {
|
|
208
|
-
fill: string;
|
|
209
|
-
};
|
|
210
|
-
};
|
|
211
|
-
|
|
212
|
-
/**
|
|
213
|
-
* Remove icon component
|
|
214
|
-
* @param {string} size - The size of the icon
|
|
215
|
-
* @param {string} fill - The fill color of the icon
|
|
216
|
-
* @param {object} styles - The styles to apply to the icon
|
|
217
|
-
* @param {object} props - The additional props to pass to the icon
|
|
218
|
-
* @returns {JSX.Element} - The Remove icon component
|
|
219
|
-
*/
|
|
220
|
-
declare const Remove: {
|
|
221
|
-
({ size, fill, styles, role, alt, ...props }: Pick<IconProps, 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'>): react_jsx_runtime.JSX.Element;
|
|
222
|
-
displayName: string;
|
|
223
|
-
styles: {
|
|
224
|
-
fill: string;
|
|
225
|
-
};
|
|
226
|
-
};
|
|
227
|
-
|
|
228
|
-
/**
|
|
229
|
-
* Copy icon component
|
|
230
|
-
* @param {string} size - The width and height of the icon
|
|
231
|
-
* @param {string} strokeColor - The color of the icon stroke
|
|
232
|
-
* @param {IconProps} props - The icon component props
|
|
233
|
-
* @returns {JSX.Element} - A react JSX element representing the copy icon
|
|
234
|
-
*/
|
|
235
|
-
declare const Copy: {
|
|
236
|
-
({ size, strokeColor, styles, role, alt, ...props }: Pick<IconProps, 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'>): JSX.Element;
|
|
237
|
-
displayName: string;
|
|
238
|
-
styles: {
|
|
239
|
-
stroke: string;
|
|
240
|
-
display: string;
|
|
241
|
-
alignItems: string;
|
|
242
|
-
width: string; /**
|
|
243
|
-
* Copy icon component
|
|
244
|
-
* @param {string} size - The width and height of the icon
|
|
245
|
-
* @param {string} strokeColor - The color of the icon stroke
|
|
246
|
-
* @param {IconProps} props - The icon component props
|
|
247
|
-
* @returns {JSX.Element} - A react JSX element representing the copy icon
|
|
248
|
-
*/
|
|
249
|
-
};
|
|
250
|
-
};
|
|
251
|
-
|
|
252
|
-
export { Add, ArrowDown, ArrowLeft, ArrowRight, ArrowUp, Chat, Code, Copy, Home, Left, Minus, Remove, Right, User };
|
package/dist/icons.d.ts
DELETED
|
@@ -1,252 +0,0 @@
|
|
|
1
|
-
import { a as IconProps } from './icon-e6044c73.js';
|
|
2
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
-
import 'react';
|
|
4
|
-
export { I as Icon, b as IconProps, d as defaultStyles } from './icon-e6044c73.js';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Renders a code icon.
|
|
8
|
-
*
|
|
9
|
-
* @param {string} strokeColor - The color of the icon's stroke.
|
|
10
|
-
* @param {string} fill - The color of the icon's fill.
|
|
11
|
-
* @param {string} size - The size of the icon.
|
|
12
|
-
* @param {string} viewBox - The viewBox of the icon.
|
|
13
|
-
* @param {React.CSSProperties} styles - The default styles of the icon.
|
|
14
|
-
* @param {IconProps} props - Additional props to apply to the icon.
|
|
15
|
-
* @returns {JSX.Element} - A React component that renders an SVG icon.
|
|
16
|
-
*/
|
|
17
|
-
declare const Code: {
|
|
18
|
-
({ strokeColor, fill, size, styles, role, alt, ...props }?: Pick<IconProps, 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'>): react_jsx_runtime.JSX.Element;
|
|
19
|
-
styles: {
|
|
20
|
-
fill: string;
|
|
21
|
-
stroke: string;
|
|
22
|
-
display: string;
|
|
23
|
-
alignItems: string;
|
|
24
|
-
width: string;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* Renders a home icon.
|
|
30
|
-
*
|
|
31
|
-
* @param {string} strokeColor - The color of the icon's stroke.
|
|
32
|
-
* @param {string} fill - The color of the icon's fill.
|
|
33
|
-
* @param {string} size - The size of the icon.
|
|
34
|
-
* @param {string} viewBox - The viewBox of the icon.
|
|
35
|
-
* @param {string} name - The name of the icon.
|
|
36
|
-
* @param {Object} styles - The styles of the icon.
|
|
37
|
-
* @param {Object} props - The props of the icon.
|
|
38
|
-
* @returns {JSX.Element} - A home icon.
|
|
39
|
-
*/
|
|
40
|
-
declare const Home: {
|
|
41
|
-
({ strokeColor, fill, size, styles, role, alt, ...props }: Pick<IconProps, 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'>): react_jsx_runtime.JSX.Element;
|
|
42
|
-
displayName: string;
|
|
43
|
-
styles: {
|
|
44
|
-
fill: string;
|
|
45
|
-
stroke: string;
|
|
46
|
-
display: string;
|
|
47
|
-
alignItems: string;
|
|
48
|
-
width: string;
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* Add Icon component
|
|
54
|
-
* @param {string} fill - Icon fill color (default: 'currentColor')
|
|
55
|
-
* @param {string} size - Icon size (default: '24')
|
|
56
|
-
* @param {IconProps} props - Other icon properties
|
|
57
|
-
* @returns {JSX.Element} - Rendered component
|
|
58
|
-
*/
|
|
59
|
-
declare const Add: {
|
|
60
|
-
({ fill, size, role, alt, ...props }: Pick<IconProps, 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'>): JSX.Element;
|
|
61
|
-
styles: {
|
|
62
|
-
fill: string;
|
|
63
|
-
display: string;
|
|
64
|
-
alignItems: string;
|
|
65
|
-
width: string;
|
|
66
|
-
};
|
|
67
|
-
displayName: string;
|
|
68
|
-
};
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* Renders an arrow pointing to the left.
|
|
72
|
-
*
|
|
73
|
-
* @param {string} strokeColor - The color of the arrow's stroke.
|
|
74
|
-
* @param {string} fill - The fill color of the arrow.
|
|
75
|
-
* @param {string} size - The size of the arrow.
|
|
76
|
-
* @param {object} styles - The styles to apply to the arrow.
|
|
77
|
-
* @param {object} props - The additional props to pass to the SVG element.
|
|
78
|
-
* @returns {JSX.Element} - A React component that renders an arrow pointing to the left.
|
|
79
|
-
*/
|
|
80
|
-
declare const ArrowLeft: {
|
|
81
|
-
({ strokeColor, fill, size, styles, role, alt, ...props }: Pick<IconProps, 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'>): react_jsx_runtime.JSX.Element;
|
|
82
|
-
styles: {
|
|
83
|
-
display: string;
|
|
84
|
-
alignItems: string;
|
|
85
|
-
width: string;
|
|
86
|
-
};
|
|
87
|
-
displayName: string;
|
|
88
|
-
};
|
|
89
|
-
|
|
90
|
-
/**
|
|
91
|
-
* @param {string} size - The width and height of the icon in pixels. Defaults to 24.
|
|
92
|
-
* @param {string} strokeColor - The color of the icon stroke. Defaults to 'currentcolor'.
|
|
93
|
-
* @param {React.CSSProperties} styles - Additional CSS styles to apply to the icon.
|
|
94
|
-
* @param {IconProps} props - Additional props to pass to the SVG element.
|
|
95
|
-
* @returns {JSX.Element} - A chat icon component that displays a speech bubble with lines representing text.
|
|
96
|
-
*/
|
|
97
|
-
declare const Chat: {
|
|
98
|
-
({ size, strokeColor, styles, role, alt, ...props }: Pick<IconProps, 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'>): JSX.Element;
|
|
99
|
-
styles: {
|
|
100
|
-
display: string;
|
|
101
|
-
alignItems: string;
|
|
102
|
-
width: string;
|
|
103
|
-
};
|
|
104
|
-
displayName: string;
|
|
105
|
-
};
|
|
106
|
-
|
|
107
|
-
/**
|
|
108
|
-
* ArrowDown icon component
|
|
109
|
-
* @param fill - Icon fill color
|
|
110
|
-
* @param strokeColor - Icon stroke color
|
|
111
|
-
* @param styles - Icon styles
|
|
112
|
-
* @param size - Icon size
|
|
113
|
-
*/
|
|
114
|
-
declare const ArrowDown: {
|
|
115
|
-
({ fill, strokeColor, styles, size, role, alt, ...props }: Pick<IconProps, 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'>): react_jsx_runtime.JSX.Element;
|
|
116
|
-
styles: {
|
|
117
|
-
display: string;
|
|
118
|
-
alignItems: string;
|
|
119
|
-
width: string;
|
|
120
|
-
};
|
|
121
|
-
displayName: string;
|
|
122
|
-
};
|
|
123
|
-
|
|
124
|
-
/**
|
|
125
|
-
* ArrowUp icon component
|
|
126
|
-
* @param fill - Icon fill color
|
|
127
|
-
* @param strokeColor - Icon stroke color
|
|
128
|
-
* @param styles - Icon styles
|
|
129
|
-
* @param size - Icon size
|
|
130
|
-
*/
|
|
131
|
-
declare const ArrowUp: {
|
|
132
|
-
({ fill, strokeColor, styles, size, role, alt, ...props }: Pick<IconProps, 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'>): react_jsx_runtime.JSX.Element;
|
|
133
|
-
displayName: string;
|
|
134
|
-
style: {
|
|
135
|
-
fill: string;
|
|
136
|
-
stroke: string;
|
|
137
|
-
display: string;
|
|
138
|
-
alignItems: string;
|
|
139
|
-
width: string;
|
|
140
|
-
};
|
|
141
|
-
};
|
|
142
|
-
|
|
143
|
-
declare const ArrowRight: {
|
|
144
|
-
({ size, fill, strokeColor, styles, role, alt, ...props }: Pick<IconProps, 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'>): react_jsx_runtime.JSX.Element;
|
|
145
|
-
displayName: string;
|
|
146
|
-
};
|
|
147
|
-
|
|
148
|
-
declare const User: {
|
|
149
|
-
({ size, fill, strokeColor, styles, alt, role, ...props }: Pick<IconProps, 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'>): react_jsx_runtime.JSX.Element;
|
|
150
|
-
styles: {
|
|
151
|
-
fill: string;
|
|
152
|
-
stroke: string;
|
|
153
|
-
display: string;
|
|
154
|
-
alignItems: string;
|
|
155
|
-
width: string;
|
|
156
|
-
};
|
|
157
|
-
displayName: string;
|
|
158
|
-
};
|
|
159
|
-
|
|
160
|
-
/**
|
|
161
|
-
* Renders a right arrow icon.
|
|
162
|
-
*
|
|
163
|
-
* @param {string} size - The size of the icon.
|
|
164
|
-
* @param {string} fill - The fill color of the icon.
|
|
165
|
-
* @param {React.CSSProperties} styles - The styles to apply to the icon.
|
|
166
|
-
* @param {IconProps} props - The props to pass down to the icon.
|
|
167
|
-
* @returns {JSX.Element} - A right arrow icon.
|
|
168
|
-
*/
|
|
169
|
-
declare const Right: {
|
|
170
|
-
({ size, fill, styles, role, alt, ...props }: Pick<IconProps, 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'>): react_jsx_runtime.JSX.Element;
|
|
171
|
-
displayName: string;
|
|
172
|
-
styles: {
|
|
173
|
-
fill: string;
|
|
174
|
-
};
|
|
175
|
-
};
|
|
176
|
-
|
|
177
|
-
/**
|
|
178
|
-
* Left arrow icon
|
|
179
|
-
* @param {string} fill - Icon fill color (default: 'currentColor')
|
|
180
|
-
* @param {string} size - Icon size (default: '24')
|
|
181
|
-
* @param {React.CSSProperties} styles - Icon styles (default: {})
|
|
182
|
-
* @param {IconProps} props - Any other valid props for an SVG element
|
|
183
|
-
* @returns {JSX.Element} - Rendered icon component
|
|
184
|
-
*/
|
|
185
|
-
declare const Left: {
|
|
186
|
-
({ fill, size, styles, role, alt, ...props }: Pick<IconProps, 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'>): react_jsx_runtime.JSX.Element;
|
|
187
|
-
displayName: string;
|
|
188
|
-
styles: {
|
|
189
|
-
fill: string;
|
|
190
|
-
display: string;
|
|
191
|
-
alignItems: string;
|
|
192
|
-
width: string;
|
|
193
|
-
};
|
|
194
|
-
};
|
|
195
|
-
|
|
196
|
-
/**
|
|
197
|
-
* Minus icon component
|
|
198
|
-
* @param {string} size - Icon size (default: 24)
|
|
199
|
-
* @param {string} fill - Icon fill color (default: 'currentColor')
|
|
200
|
-
* @param {object} styles - Inline styles for the SVG element
|
|
201
|
-
* @param {object} props - Any other SVG attributes
|
|
202
|
-
* @returns {JSX.Element} - Rendered Minus icon component
|
|
203
|
-
*/
|
|
204
|
-
declare const Minus: {
|
|
205
|
-
({ size, fill, styles, role, alt, ...props }: Pick<IconProps, 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'>): react_jsx_runtime.JSX.Element;
|
|
206
|
-
displayName: string;
|
|
207
|
-
styles: {
|
|
208
|
-
fill: string;
|
|
209
|
-
};
|
|
210
|
-
};
|
|
211
|
-
|
|
212
|
-
/**
|
|
213
|
-
* Remove icon component
|
|
214
|
-
* @param {string} size - The size of the icon
|
|
215
|
-
* @param {string} fill - The fill color of the icon
|
|
216
|
-
* @param {object} styles - The styles to apply to the icon
|
|
217
|
-
* @param {object} props - The additional props to pass to the icon
|
|
218
|
-
* @returns {JSX.Element} - The Remove icon component
|
|
219
|
-
*/
|
|
220
|
-
declare const Remove: {
|
|
221
|
-
({ size, fill, styles, role, alt, ...props }: Pick<IconProps, 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'>): react_jsx_runtime.JSX.Element;
|
|
222
|
-
displayName: string;
|
|
223
|
-
styles: {
|
|
224
|
-
fill: string;
|
|
225
|
-
};
|
|
226
|
-
};
|
|
227
|
-
|
|
228
|
-
/**
|
|
229
|
-
* Copy icon component
|
|
230
|
-
* @param {string} size - The width and height of the icon
|
|
231
|
-
* @param {string} strokeColor - The color of the icon stroke
|
|
232
|
-
* @param {IconProps} props - The icon component props
|
|
233
|
-
* @returns {JSX.Element} - A react JSX element representing the copy icon
|
|
234
|
-
*/
|
|
235
|
-
declare const Copy: {
|
|
236
|
-
({ size, strokeColor, styles, role, alt, ...props }: Pick<IconProps, 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'>): JSX.Element;
|
|
237
|
-
displayName: string;
|
|
238
|
-
styles: {
|
|
239
|
-
stroke: string;
|
|
240
|
-
display: string;
|
|
241
|
-
alignItems: string;
|
|
242
|
-
width: string; /**
|
|
243
|
-
* Copy icon component
|
|
244
|
-
* @param {string} size - The width and height of the icon
|
|
245
|
-
* @param {string} strokeColor - The color of the icon stroke
|
|
246
|
-
* @param {IconProps} props - The icon component props
|
|
247
|
-
* @returns {JSX.Element} - A react JSX element representing the copy icon
|
|
248
|
-
*/
|
|
249
|
-
};
|
|
250
|
-
};
|
|
251
|
-
|
|
252
|
-
export { Add, ArrowDown, ArrowLeft, ArrowRight, ArrowUp, Chat, Code, Copy, Home, Left, Minus, Remove, Right, User };
|
package/dist/icons.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import './chunk-PCDUGD3C.js';
|
|
2
|
-
export { d as Add, g as ArrowDown, e as ArrowLeft, i as ArrowRight, h as ArrowUp, f as Chat, b as Code, o as Copy, c as Home, q as Icon, l as Left, m as Minus, n as Remove, k as Right, j as User, p as defaultStyles } from './chunk-GJWMCDFS.js';
|
|
3
|
-
// # sourceMappingURL=out.js.map
|
|
4
|
-
// # sourceMappingURL=icons.js.map
|
package/dist/index.cjs
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkD43FJIRQ_cjs = require('./chunk-D43FJIRQ.cjs');
|
|
4
|
-
var chunk77CZU5XZ_cjs = require('./chunk-77CZU5XZ.cjs');
|
|
5
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
-
var Se = require('react');
|
|
7
|
-
|
|
8
|
-
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
|
-
|
|
10
|
-
var Se__default = /*#__PURE__*/_interopDefault(Se);
|
|
11
|
-
|
|
12
|
-
var ae={paddingInline:"var(--badge-px, 0.7rem)",paddingBlock:"var(--badge-py, 0.2rem)",color:"var(--badge-cl, black)",fontSize:"var(--badge-fs, 0.8rem)",fontWeight:"var(--badge-fw, normal)",fontFamily:"var(--badge-ff, sans-serif)",border:"var(--badge-brd, none)",borderRadius:"var(--badge-rds, 99rem)",backgroundColor:'var(--badge-bg, "blue")',textDecoration:"var(--badge-decoration, none)",textTransform:"var(--badge-tt, var(--tt))"},D=i=>{var m=i,{elm:o="span",role:t,children:r,renderStyles:e=!0,styles:a={}}=m,p=chunk77CZU5XZ_cjs.c(m,["elm","role","children","renderStyles","styles"]);return jsxRuntime.jsx(chunkD43FJIRQ_cjs.a,chunk77CZU5XZ_cjs.b(chunk77CZU5XZ_cjs.a({as:o,role:t,styles:a},p),{children:r}))};D.styles=ae;D.displayName="Badge";var se={paddingInline:"var(--btn-px, 1.4rem)",paddingBlock:"var(--btn-py, 0.8rem)",display:"var(--btn-dsp, inline-flex)",placeItems:"var(--btn-place, center)",justifyContent:"var(--btn-justify, center)",cursor:"var(--btn-cursor, pointer)",border:"var(--btn-border, none)",color:"var(--btn-color, white)",backgroundColor:"var(--btn-bg, royalblue)",borderRadius:"var(--btn-radius, 0.2rem)"},E=c=>{var f=c,{type:o="button",children:t,styles:r,disabled:e,classes:a,pointerDown:p,pointerOver:i,pointerLeave:m}=f,y=chunk77CZU5XZ_cjs.c(f,["type","children","styles","disabled","classes","pointerDown","pointerOver","pointerLeave"]);return jsxRuntime.jsx("button",chunk77CZU5XZ_cjs.b(chunk77CZU5XZ_cjs.a({type:o,onPointerOver:v=>{e||i==null||i(v);},onPointerDown:v=>{e||p==null||p(v);},onPointerLeave:v=>{e||m==null||m(v);},style:r,"aria-disabled":e},y),{children:t}))};E.styles=se;E.displayName="Button";var pe={padding:"var(--card-p, 2rem)",backgroundColor:"var(--card-bg, white)",boxShadow:"var(--card-shadow, 0 0 0.5rem 0.1rem rgba(0, 0, 0, 0.1))",borderRadius:"var(--card-rds, 0.2\xDFrem)",border:"var(--card-brd, none)",color:"var(--card-cl, black)"},A=m=>{var y=m,{elm:o="div",styles:t,children:r,renderStyles:e=!0,dataStyle:a,id:p}=y,i=chunk77CZU5XZ_cjs.c(y,["elm","styles","children","renderStyles","dataStyle","id"]);return jsxRuntime.jsx(chunkD43FJIRQ_cjs.a,chunk77CZU5XZ_cjs.b(chunk77CZU5XZ_cjs.a({as:o,id:p,styles:t,renderStyles:e,"data-card":a},i),{children:r}))};A.styles=pe;A.displayName="Card";var L=p=>{var i=p,{id:o,children:t,modalRef:r,openOnMount:e}=i,a=chunk77CZU5XZ_cjs.c(i,["id","children","modalRef","openOnMount"]);return jsxRuntime.jsx(chunkD43FJIRQ_cjs.a,chunk77CZU5XZ_cjs.b(chunk77CZU5XZ_cjs.a({as:"dialog",id:o,ref:r,open:e,onClick:y=>{y.currentTarget===y.target&&y.currentTarget.close();}},a),{children:t}))};L.displayName="Dialog";var me={padding:"var(--card-p, 1.2rem)",backgroundColor:"var(--card-bg, white)"},F=i=>{var m=i,{title:o,children:t,styles:r,renderStyles:e=!0,onToggle:a}=m;chunk77CZU5XZ_cjs.c(m,["title","children","styles","renderStyles","onToggle"]);return jsxRuntime.jsx(chunkD43FJIRQ_cjs.a,{as:"details",title:o,onToggle:c=>{a==null||a(c);},styles:r,children:t})};F.styles=me;F.displayName="Details";var ye={listStyle:"none",justifyContent:"var(--summary-justify, space-between)",color:"var(--summary-color, currentColor)",cursor:"var(--detail-cursor, pointer)"},N=a=>{var p=a,{children:o,styles:t,renderStyles:r=!0}=p,e=chunk77CZU5XZ_cjs.c(p,["children","styles","renderStyles"]);return jsxRuntime.jsx(chunkD43FJIRQ_cjs.a,chunk77CZU5XZ_cjs.b(chunk77CZU5XZ_cjs.a({as:"summary",styles:t},e),{children:o}))};N.styles=ye;N.displayName="Summary";var ue={display:"flex",placeContent:"flex-start",placeItems:"center",gap:".7rem",border:"var(--summary-border, solid 1px #ccc)",transition:"all 0.2s ease",backgroundColor:"var(--summary-bg, whitesmoke)",padding:"var(--details-pd, 1.2rem)",minWidth:"var(--summary-min-w, 80vw)",maxWidth:"var(--summary-min-w, 80vw)"},M=i=>{var m=i,{styles:o,children:t,summary:r,toggle:e,renderStyles:a=!0}=m,p=chunk77CZU5XZ_cjs.c(m,["styles","children","summary","toggle","renderStyles"]);return jsxRuntime.jsxs(F,chunk77CZU5XZ_cjs.b(chunk77CZU5XZ_cjs.a({styles:o,onToggle:e},p),{children:[jsxRuntime.jsx(N,{children:r}),t]}))};M.styles=ue;M.Summary=N;M.Details=F;M.displayName="Dropdown";var xe={},O=p=>{var i=p,{labelFor:o,styles:t,label:r,children:e}=i;chunk77CZU5XZ_cjs.c(i,["labelFor","styles","label","children"]);return jsxRuntime.jsxs(chunkD43FJIRQ_cjs.a,{as:"div",styles:t,"data-style":"fields",children:[jsxRuntime.jsx("label",{htmlFor:o,children:r}),e]})};O.styles=xe;O.displayName="Field";var V=e=>{var a=e,{children:o,styles:t={}}=a,r=chunk77CZU5XZ_cjs.c(a,["children","styles"]);return jsxRuntime.jsx(chunkD43FJIRQ_cjs.a,chunk77CZU5XZ_cjs.b(chunk77CZU5XZ_cjs.a({as:"header"},r),{styles:t,children:jsxRuntime.jsx(chunkD43FJIRQ_cjs.a,{as:"section",children:o})}))},X=e=>{var a=e,{children:o,styles:t={}}=a,r=chunk77CZU5XZ_cjs.c(a,["children","styles"]);return jsxRuntime.jsx(chunkD43FJIRQ_cjs.a,chunk77CZU5XZ_cjs.b(chunk77CZU5XZ_cjs.a({as:"main",styles:t},r),{children:o}))},_=e=>{var a=e,{children:o,styles:t={}}=a,r=chunk77CZU5XZ_cjs.c(a,["children","styles"]);return jsxRuntime.jsx(chunkD43FJIRQ_cjs.a,chunk77CZU5XZ_cjs.b(chunk77CZU5XZ_cjs.a({as:"footer",styles:t},r),{children:jsxRuntime.jsx(chunkD43FJIRQ_cjs.a,{as:"section",children:o||"Copyright \xA9 2022"})}))},G=e=>{var a=e,{children:o,styles:t={}}=a,r=chunk77CZU5XZ_cjs.c(a,["children","styles"]);return jsxRuntime.jsx(chunkD43FJIRQ_cjs.a,chunk77CZU5XZ_cjs.b(chunk77CZU5XZ_cjs.a({as:"aside",styles:t},r),{children:jsxRuntime.jsx(chunkD43FJIRQ_cjs.a,{as:"section",children:o})}))},Q=e=>{var a=e,{children:o,styles:t={}}=a,r=chunk77CZU5XZ_cjs.c(a,["children","styles"]);return jsxRuntime.jsx(chunkD43FJIRQ_cjs.a,chunk77CZU5XZ_cjs.b(chunk77CZU5XZ_cjs.a({as:"section",styles:t},r),{children:o}))},U=e=>{var a=e,{children:o,styles:t={}}=a,r=chunk77CZU5XZ_cjs.c(a,["children","styles"]);return jsxRuntime.jsx(chunkD43FJIRQ_cjs.a,chunk77CZU5XZ_cjs.b(chunk77CZU5XZ_cjs.a({as:"article",styles:t},r),{children:o}))};V.displayName="Header";X.displayName="Main";_.displayName="Footer";G.displayName="Aside";Q.displayName="Section";U.displayName="Article";var he={maxWidth:"var(--img-w, 100%)",height:"var(--img-h, auto)",objectFit:"var(--img-obj-fit, cover)",objectPosition:"var(--img-position, center center)",aspectRatio:"var(--img-ratio, auto 2/3)",display:"var(--img-display, initial)"},K=b=>{var P=b,{src:o,alt:t,width:r=480,height:e,styles:a,loading:p="lazy",placeholder:i=`https://via.placeholder.com/${r}?text=PLACEHOLDER`,fetchpriority:m="low",decoding:y="auto",imgLoaded:c,imgError:f}=P,u=chunk77CZU5XZ_cjs.c(P,["src","alt","width","height","styles","loading","placeholder","fetchpriority","decoding","imgLoaded","imgError"]);return jsxRuntime.jsx(chunkD43FJIRQ_cjs.a,chunk77CZU5XZ_cjs.a({as:"img",src:o,alt:t,width:r,height:e||"auto",loading:p,style:a,onError:x=>{if(f){f==null||f(x);return}x.currentTarget.src!==i&&(x.currentTarget.src=i);},onLoad:x=>{c==null||c(x);}},u))};K.styles=he;K.displayName="Img";var Re={minWidth:"var(--input-min-w, 60%)"},W=k=>{var x=k,{type:o="text",name:t,value:r,placeholder:e,id:a,styles:p,classes:i,isDisabled:m,readonly:y,required:c,inputRef:f,inputChange:u,inputBlur:b,inputDown:P}=x,v=chunk77CZU5XZ_cjs.c(x,["type","name","value","placeholder","id","styles","classes","isDisabled","readonly","required","inputRef","inputChange","inputBlur","inputDown"]);return jsxRuntime.jsx(chunkD43FJIRQ_cjs.a,chunk77CZU5XZ_cjs.a({as:"input",id:a,type:o,placeholder:e,className:i,styles:p,onChange:C=>{u&&!m&&(u==null||u(C));},onBlur:C=>{b&&!m&&(b==null||b(C));},onKeyDown:C=>{P&&!m&&(C.preventDefault(),P==null||P(C));},value:r,name:t,ref:f,"aria-disabled":m,"tab-index":m?-1:void 0,"aria-readonly":y,readOnly:y},v))};W.styles=Re;W.displayName="Input";var q=y=>{var c=y,{href:o,target:t,rel:r,children:e,styles:a={},prefetch:p=!0,onPointerDown:i}=c,m=chunk77CZU5XZ_cjs.c(c,["href","target","rel","children","styles","prefetch","onPointerDown"]);let f=r;return t==="_blank"&&(f=`noopener noreferrer ${p?"prefetch":""}`),jsxRuntime.jsx(chunkD43FJIRQ_cjs.a,chunk77CZU5XZ_cjs.b(chunk77CZU5XZ_cjs.a({as:"a",href:o,target:t,styles:a,rel:f,onPointerDown:b=>{i&&(i==null||i(b));}},m),{children:e!=null?e:"Link"}))},Ee=q;q.displayName="Link";var Ne=i=>{var m=i,{children:o,classes:t,type:r="ul",variant:e,styles:a}=m,p=chunk77CZU5XZ_cjs.c(m,["children","classes","type","variant","styles"]);return jsxRuntime.jsx(chunkD43FJIRQ_cjs.a,chunk77CZU5XZ_cjs.b(chunk77CZU5XZ_cjs.a({as:r,"data-variant":e,className:t,style:a},p),{children:o}))};var Y=m=>{var y=m,{openChild:o,closeChild:t,modalHeader:r,modalFooter:e,children:a,showOpen:p=!1}=y,i=chunk77CZU5XZ_cjs.c(y,["openChild","closeChild","modalHeader","modalFooter","children","showOpen"]);let c=Se__default.default.useRef(null),f=()=>{c.current&&(p?c.current.show():c.current.showModal());},u=()=>{c.current&&c.current.close();};return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(L,chunk77CZU5XZ_cjs.b(chunk77CZU5XZ_cjs.a({modalRef:c,openOnMount:p},i),{children:jsxRuntime.jsxs("section",{children:[r,a,e!=null?e:jsxRuntime.jsxs("div",{children:[jsxRuntime.jsx(E,{type:"button",pointerDown:()=>{u();},children:t||"Close"})," "]})]})})),!p&&jsxRuntime.jsx(E,{type:"button",pointerDown:f,children:o||"Open Modal"})]})};Y.displayName="Modal";var H=r=>{var e=r,{children:o}=e,t=chunk77CZU5XZ_cjs.c(e,["children"]);return jsxRuntime.jsx(chunkD43FJIRQ_cjs.a,chunk77CZU5XZ_cjs.b(chunk77CZU5XZ_cjs.a({as:"caption"},t),{children:o}))},I=r=>{var e=r,{children:o}=e,t=chunk77CZU5XZ_cjs.c(e,["children"]);return jsxRuntime.jsx(chunkD43FJIRQ_cjs.a,chunk77CZU5XZ_cjs.b(chunk77CZU5XZ_cjs.a({as:"thead"},t),{children:o}))},S=r=>{var e=r,{children:o}=e,t=chunk77CZU5XZ_cjs.c(e,["children"]);return jsxRuntime.jsx(chunkD43FJIRQ_cjs.a,chunk77CZU5XZ_cjs.b(chunk77CZU5XZ_cjs.a({as:"tbody"},t),{children:o}))},w=r=>{var e=r,{children:o}=e,t=chunk77CZU5XZ_cjs.c(e,["children"]);return jsxRuntime.jsx(chunkD43FJIRQ_cjs.a,chunk77CZU5XZ_cjs.b(chunk77CZU5XZ_cjs.a({as:"tr"},t),{children:o}))},Z=r=>{var e=r,{children:o}=e,t=chunk77CZU5XZ_cjs.c(e,["children"]);return jsxRuntime.jsx(chunkD43FJIRQ_cjs.a,chunk77CZU5XZ_cjs.b(chunk77CZU5XZ_cjs.a({as:"td"},t),{children:o}))},B=a=>{var p=a,{id:o,dataStyle:t,children:r}=p,e=chunk77CZU5XZ_cjs.c(p,["id","dataStyle","children"]);return jsxRuntime.jsx(chunkD43FJIRQ_cjs.a,chunk77CZU5XZ_cjs.b(chunk77CZU5XZ_cjs.a({as:"section",id:o},e),{"data-style":"table-wrapper",children:jsxRuntime.jsx("table",{children:r})}))};B.displayName="Table";H.displayName="Caption";I.displayName="Thead";S.displayName="Tbody";w.displayName="Tr";Z.displayName="Td";var j=({tblBody:o,tblCaption:t,tblHead:r})=>jsxRuntime.jsxs(B,{children:[t&&jsxRuntime.jsx(H,{children:t}),jsxRuntime.jsx(I,{children:jsxRuntime.jsx(w,{children:r})}),jsxRuntime.jsx(S,{children:o})]});j.displayName="TBL";var ee=p=>{var i=p,{elm:o="p",text:t,styles:r,children:e}=i,a=chunk77CZU5XZ_cjs.c(i,["elm","text","styles","children"]);return jsxRuntime.jsx(chunkD43FJIRQ_cjs.a,chunk77CZU5XZ_cjs.b(chunk77CZU5XZ_cjs.a({as:o,styles:r},a),{children:e||t}))},te=a=>{var p=a,{elm:o="h3",children:t,styles:r}=p,e=chunk77CZU5XZ_cjs.c(p,["elm","children","styles"]);return jsxRuntime.jsx(chunkD43FJIRQ_cjs.a,chunk77CZU5XZ_cjs.b(chunk77CZU5XZ_cjs.a({as:o,styles:r},e),{children:t}))};ee.displayName="Text";te.displayName="Title";var ke={},oe=b=>{var P=b,{value:o,rows:t,cols:r,id:e,required:a,disabled:p,readonly:i,textareaBlur:m,textareaChange:y,textareaDown:c,textareaRef:f}=P,u=chunk77CZU5XZ_cjs.c(P,["value","rows","cols","id","required","disabled","readonly","textareaBlur","textareaChange","textareaDown","textareaRef"]);let v=R=>{y&&!p&&y(R);},k=R=>{m&&!p&&(m==null||m(R));},x=R=>{c&&!p&&(c==null||c(R));};return jsxRuntime.jsx(chunkD43FJIRQ_cjs.a,chunk77CZU5XZ_cjs.a({as:"textarea",ref:f,rows:t,cols:r,styles:chunk77CZU5XZ_cjs.a({},ke),"data-style":"textarea",id:e,required:a,value:o,"aria-disabled":p,readOnly:i,onChange:v,onBlur:k,onKeyDown:x},u))};oe.displayName="Textarea";
|
|
13
|
-
|
|
14
|
-
Object.defineProperty(exports, 'Box', {
|
|
15
|
-
enumerable: true,
|
|
16
|
-
get: function () { return chunkD43FJIRQ_cjs.a; }
|
|
17
|
-
});
|
|
18
|
-
Object.defineProperty(exports, 'FP', {
|
|
19
|
-
enumerable: true,
|
|
20
|
-
get: function () { return chunkD43FJIRQ_cjs.a; }
|
|
21
|
-
});
|
|
22
|
-
Object.defineProperty(exports, 'Icon', {
|
|
23
|
-
enumerable: true,
|
|
24
|
-
get: function () { return chunkD43FJIRQ_cjs.q; }
|
|
25
|
-
});
|
|
26
|
-
Object.defineProperty(exports, 'Tag', {
|
|
27
|
-
enumerable: true,
|
|
28
|
-
get: function () { return chunkD43FJIRQ_cjs.a; }
|
|
29
|
-
});
|
|
30
|
-
exports.Article = U;
|
|
31
|
-
exports.Aside = G;
|
|
32
|
-
exports.Badge = D;
|
|
33
|
-
exports.Button = E;
|
|
34
|
-
exports.Caption = H;
|
|
35
|
-
exports.Card = A;
|
|
36
|
-
exports.Dialog = L;
|
|
37
|
-
exports.Dropdown = M;
|
|
38
|
-
exports.Field = O;
|
|
39
|
-
exports.Footer = _;
|
|
40
|
-
exports.Header = V;
|
|
41
|
-
exports.Img = K;
|
|
42
|
-
exports.Input = W;
|
|
43
|
-
exports.Link = q;
|
|
44
|
-
exports.List = Ne;
|
|
45
|
-
exports.Main = X;
|
|
46
|
-
exports.Modal = Y;
|
|
47
|
-
exports.Section = Q;
|
|
48
|
-
exports.TBL = j;
|
|
49
|
-
exports.Table = B;
|
|
50
|
-
exports.Tbody = S;
|
|
51
|
-
exports.Td = Z;
|
|
52
|
-
exports.Text = ee;
|
|
53
|
-
exports.Textarea = oe;
|
|
54
|
-
exports.Thead = I;
|
|
55
|
-
exports.Title = te;
|
|
56
|
-
exports.To = Ee;
|
|
57
|
-
exports.Tr = w;
|
|
58
|
-
//# sourceMappingURL=out.js.map
|
|
59
|
-
//# sourceMappingURL=index.cjs.map
|