@payfit/unity-icons 0.0.0-alpha.8 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/components/icon/Icon.d.ts +262 -0
- package/dist/esm/components/icon/Icon.js +113 -0
- package/dist/{cjs → esm/components/icon/parts}/IconSprite.d.ts +1 -1
- package/dist/esm/{IconSprite.mjs → components/icon/parts/IconSprite.js} +1 -1
- package/dist/esm/{UnityIconsProvider.mjs → components/icons-provider/UnityIconsProvider.js} +1 -1
- package/dist/{cjs → esm}/docs/blocks/Cards.d.ts +1 -1
- package/dist/esm/generated/index.d.ts +2 -0
- package/dist/esm/generated/index.js +4 -0
- package/dist/esm/generated/sprite.svg.js +4 -0
- package/dist/esm/index.d.ts +4 -0
- package/dist/esm/index.js +11 -0
- package/dist/esm/{utils.mjs → utils.js} +1 -1
- package/package.json +37 -33
- package/dist/cjs/IconSprite.js +0 -1
- package/dist/cjs/UnityIconsProvider.js +0 -1
- package/dist/cjs/generated/index.d.ts +0 -2
- package/dist/cjs/generated/index.js +0 -1
- package/dist/cjs/generated/sprite.svg.js +0 -1
- package/dist/cjs/index.d.ts +0 -3
- package/dist/cjs/index.js +0 -1
- package/dist/cjs/utils.js +0 -1
- package/dist/esm/IconSprite.d.mts +0 -13
- package/dist/esm/UnityIconsProvider.d.mts +0 -23
- package/dist/esm/docs/blocks/Cards.d.mts +0 -18
- package/dist/esm/docs/blocks/IconGallery.d.mts +0 -4
- package/dist/esm/generated/index.d.mts +0 -2
- package/dist/esm/generated/index.mjs +0 -4
- package/dist/esm/generated/sprite.svg.mjs +0 -4
- package/dist/esm/index.d.mts +0 -3
- package/dist/esm/index.mjs +0 -9
- package/dist/esm/utils.d.mts +0 -6
- /package/dist/{cjs → esm/components/icons-provider}/UnityIconsProvider.d.ts +0 -0
- /package/dist/{cjs → esm}/docs/blocks/IconGallery.d.ts +0 -0
- /package/dist/{cjs → esm}/utils.d.ts +0 -0
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
import { UnityIcon } from '../../generated/index.js';
|
|
4
|
+
declare const icon: import('tailwind-variants').TVReturnType<{
|
|
5
|
+
size: {
|
|
6
|
+
20: string;
|
|
7
|
+
24: string;
|
|
8
|
+
};
|
|
9
|
+
color: {
|
|
10
|
+
'content.primary': string;
|
|
11
|
+
'content.primary.enabled': string;
|
|
12
|
+
'content.primary.hover': string;
|
|
13
|
+
'content.primary.pressed': string;
|
|
14
|
+
'content.primary.focus': string;
|
|
15
|
+
'content.primary.active': string;
|
|
16
|
+
'content.primary.disabled': string;
|
|
17
|
+
'content.neutral': string;
|
|
18
|
+
'content.neutral.enabled': string;
|
|
19
|
+
'content.neutral.hover': string;
|
|
20
|
+
'content.neutral.pressed': string;
|
|
21
|
+
'content.neutral.focus': string;
|
|
22
|
+
'content.neutral.active': string;
|
|
23
|
+
'content.neutral.disabled': string;
|
|
24
|
+
'content.neutral.low': string;
|
|
25
|
+
'content.neutral.lowest': string;
|
|
26
|
+
'content.neutral.lowest.enabled': string;
|
|
27
|
+
'content.neutral.lowest.hover': string;
|
|
28
|
+
'content.neutral.lowest.pressed': string;
|
|
29
|
+
'content.neutral.lowest.focus': string;
|
|
30
|
+
'content.neutral.lowest.active': string;
|
|
31
|
+
'content.neutral.lowest.disabled': string;
|
|
32
|
+
'content.danger': string;
|
|
33
|
+
'content.danger.enabled': string;
|
|
34
|
+
'content.danger.hover': string;
|
|
35
|
+
'content.danger.pressed': string;
|
|
36
|
+
'content.danger.focus': string;
|
|
37
|
+
'content.danger.active': string;
|
|
38
|
+
'content.danger.disabled': string;
|
|
39
|
+
'content.warning': string;
|
|
40
|
+
'content.warning.enabled': string;
|
|
41
|
+
'content.warning.hover': string;
|
|
42
|
+
'content.warning.pressed': string;
|
|
43
|
+
'content.warning.focus': string;
|
|
44
|
+
'content.warning.active': string;
|
|
45
|
+
'content.warning.disabled': string;
|
|
46
|
+
'content.success': string;
|
|
47
|
+
'content.success.enabled': string;
|
|
48
|
+
'content.success.hover': string;
|
|
49
|
+
'content.success.pressed': string;
|
|
50
|
+
'content.success.focus': string;
|
|
51
|
+
'content.success.active': string;
|
|
52
|
+
'content.success.disabled': string;
|
|
53
|
+
'content.info': string;
|
|
54
|
+
'content.info.enabled': string;
|
|
55
|
+
'content.info.hover': string;
|
|
56
|
+
'content.info.pressed': string;
|
|
57
|
+
'content.info.focus': string;
|
|
58
|
+
'content.info.active': string;
|
|
59
|
+
'content.info.disabled': string;
|
|
60
|
+
'content.promo': string;
|
|
61
|
+
'content.form.enabled': string;
|
|
62
|
+
'content.form.hover': string;
|
|
63
|
+
'content.form.pressed': string;
|
|
64
|
+
'content.form.focus': string;
|
|
65
|
+
'content.form.active': string;
|
|
66
|
+
'content.form.disabled': string;
|
|
67
|
+
'content.form.read-only': string;
|
|
68
|
+
'content.form.invalid': string;
|
|
69
|
+
'content.inverted': string;
|
|
70
|
+
'content.inverted.enabled': string;
|
|
71
|
+
'content.inverted.hover': string;
|
|
72
|
+
'content.inverted.pressed': string;
|
|
73
|
+
'content.inverted.focus': string;
|
|
74
|
+
'content.inverted.active': string;
|
|
75
|
+
'content.inverted.disabled': string;
|
|
76
|
+
inherit: string;
|
|
77
|
+
};
|
|
78
|
+
display: {
|
|
79
|
+
block: string;
|
|
80
|
+
inline: string;
|
|
81
|
+
};
|
|
82
|
+
}, undefined, undefined, {
|
|
83
|
+
size: {
|
|
84
|
+
20: string;
|
|
85
|
+
24: string;
|
|
86
|
+
};
|
|
87
|
+
color: {
|
|
88
|
+
'content.primary': string;
|
|
89
|
+
'content.primary.enabled': string;
|
|
90
|
+
'content.primary.hover': string;
|
|
91
|
+
'content.primary.pressed': string;
|
|
92
|
+
'content.primary.focus': string;
|
|
93
|
+
'content.primary.active': string;
|
|
94
|
+
'content.primary.disabled': string;
|
|
95
|
+
'content.neutral': string;
|
|
96
|
+
'content.neutral.enabled': string;
|
|
97
|
+
'content.neutral.hover': string;
|
|
98
|
+
'content.neutral.pressed': string;
|
|
99
|
+
'content.neutral.focus': string;
|
|
100
|
+
'content.neutral.active': string;
|
|
101
|
+
'content.neutral.disabled': string;
|
|
102
|
+
'content.neutral.low': string;
|
|
103
|
+
'content.neutral.lowest': string;
|
|
104
|
+
'content.neutral.lowest.enabled': string;
|
|
105
|
+
'content.neutral.lowest.hover': string;
|
|
106
|
+
'content.neutral.lowest.pressed': string;
|
|
107
|
+
'content.neutral.lowest.focus': string;
|
|
108
|
+
'content.neutral.lowest.active': string;
|
|
109
|
+
'content.neutral.lowest.disabled': string;
|
|
110
|
+
'content.danger': string;
|
|
111
|
+
'content.danger.enabled': string;
|
|
112
|
+
'content.danger.hover': string;
|
|
113
|
+
'content.danger.pressed': string;
|
|
114
|
+
'content.danger.focus': string;
|
|
115
|
+
'content.danger.active': string;
|
|
116
|
+
'content.danger.disabled': string;
|
|
117
|
+
'content.warning': string;
|
|
118
|
+
'content.warning.enabled': string;
|
|
119
|
+
'content.warning.hover': string;
|
|
120
|
+
'content.warning.pressed': string;
|
|
121
|
+
'content.warning.focus': string;
|
|
122
|
+
'content.warning.active': string;
|
|
123
|
+
'content.warning.disabled': string;
|
|
124
|
+
'content.success': string;
|
|
125
|
+
'content.success.enabled': string;
|
|
126
|
+
'content.success.hover': string;
|
|
127
|
+
'content.success.pressed': string;
|
|
128
|
+
'content.success.focus': string;
|
|
129
|
+
'content.success.active': string;
|
|
130
|
+
'content.success.disabled': string;
|
|
131
|
+
'content.info': string;
|
|
132
|
+
'content.info.enabled': string;
|
|
133
|
+
'content.info.hover': string;
|
|
134
|
+
'content.info.pressed': string;
|
|
135
|
+
'content.info.focus': string;
|
|
136
|
+
'content.info.active': string;
|
|
137
|
+
'content.info.disabled': string;
|
|
138
|
+
'content.promo': string;
|
|
139
|
+
'content.form.enabled': string;
|
|
140
|
+
'content.form.hover': string;
|
|
141
|
+
'content.form.pressed': string;
|
|
142
|
+
'content.form.focus': string;
|
|
143
|
+
'content.form.active': string;
|
|
144
|
+
'content.form.disabled': string;
|
|
145
|
+
'content.form.read-only': string;
|
|
146
|
+
'content.form.invalid': string;
|
|
147
|
+
'content.inverted': string;
|
|
148
|
+
'content.inverted.enabled': string;
|
|
149
|
+
'content.inverted.hover': string;
|
|
150
|
+
'content.inverted.pressed': string;
|
|
151
|
+
'content.inverted.focus': string;
|
|
152
|
+
'content.inverted.active': string;
|
|
153
|
+
'content.inverted.disabled': string;
|
|
154
|
+
inherit: string;
|
|
155
|
+
};
|
|
156
|
+
display: {
|
|
157
|
+
block: string;
|
|
158
|
+
inline: string;
|
|
159
|
+
};
|
|
160
|
+
}, undefined, import('tailwind-variants').TVReturnType<{
|
|
161
|
+
size: {
|
|
162
|
+
20: string;
|
|
163
|
+
24: string;
|
|
164
|
+
};
|
|
165
|
+
color: {
|
|
166
|
+
'content.primary': string;
|
|
167
|
+
'content.primary.enabled': string;
|
|
168
|
+
'content.primary.hover': string;
|
|
169
|
+
'content.primary.pressed': string;
|
|
170
|
+
'content.primary.focus': string;
|
|
171
|
+
'content.primary.active': string;
|
|
172
|
+
'content.primary.disabled': string;
|
|
173
|
+
'content.neutral': string;
|
|
174
|
+
'content.neutral.enabled': string;
|
|
175
|
+
'content.neutral.hover': string;
|
|
176
|
+
'content.neutral.pressed': string;
|
|
177
|
+
'content.neutral.focus': string;
|
|
178
|
+
'content.neutral.active': string;
|
|
179
|
+
'content.neutral.disabled': string;
|
|
180
|
+
'content.neutral.low': string;
|
|
181
|
+
'content.neutral.lowest': string;
|
|
182
|
+
'content.neutral.lowest.enabled': string;
|
|
183
|
+
'content.neutral.lowest.hover': string;
|
|
184
|
+
'content.neutral.lowest.pressed': string;
|
|
185
|
+
'content.neutral.lowest.focus': string;
|
|
186
|
+
'content.neutral.lowest.active': string;
|
|
187
|
+
'content.neutral.lowest.disabled': string;
|
|
188
|
+
'content.danger': string;
|
|
189
|
+
'content.danger.enabled': string;
|
|
190
|
+
'content.danger.hover': string;
|
|
191
|
+
'content.danger.pressed': string;
|
|
192
|
+
'content.danger.focus': string;
|
|
193
|
+
'content.danger.active': string;
|
|
194
|
+
'content.danger.disabled': string;
|
|
195
|
+
'content.warning': string;
|
|
196
|
+
'content.warning.enabled': string;
|
|
197
|
+
'content.warning.hover': string;
|
|
198
|
+
'content.warning.pressed': string;
|
|
199
|
+
'content.warning.focus': string;
|
|
200
|
+
'content.warning.active': string;
|
|
201
|
+
'content.warning.disabled': string;
|
|
202
|
+
'content.success': string;
|
|
203
|
+
'content.success.enabled': string;
|
|
204
|
+
'content.success.hover': string;
|
|
205
|
+
'content.success.pressed': string;
|
|
206
|
+
'content.success.focus': string;
|
|
207
|
+
'content.success.active': string;
|
|
208
|
+
'content.success.disabled': string;
|
|
209
|
+
'content.info': string;
|
|
210
|
+
'content.info.enabled': string;
|
|
211
|
+
'content.info.hover': string;
|
|
212
|
+
'content.info.pressed': string;
|
|
213
|
+
'content.info.focus': string;
|
|
214
|
+
'content.info.active': string;
|
|
215
|
+
'content.info.disabled': string;
|
|
216
|
+
'content.promo': string;
|
|
217
|
+
'content.form.enabled': string;
|
|
218
|
+
'content.form.hover': string;
|
|
219
|
+
'content.form.pressed': string;
|
|
220
|
+
'content.form.focus': string;
|
|
221
|
+
'content.form.active': string;
|
|
222
|
+
'content.form.disabled': string;
|
|
223
|
+
'content.form.read-only': string;
|
|
224
|
+
'content.form.invalid': string;
|
|
225
|
+
'content.inverted': string;
|
|
226
|
+
'content.inverted.enabled': string;
|
|
227
|
+
'content.inverted.hover': string;
|
|
228
|
+
'content.inverted.pressed': string;
|
|
229
|
+
'content.inverted.focus': string;
|
|
230
|
+
'content.inverted.active': string;
|
|
231
|
+
'content.inverted.disabled': string;
|
|
232
|
+
inherit: string;
|
|
233
|
+
};
|
|
234
|
+
display: {
|
|
235
|
+
block: string;
|
|
236
|
+
inline: string;
|
|
237
|
+
};
|
|
238
|
+
}, undefined, undefined, unknown, unknown, undefined>>;
|
|
239
|
+
export type IconProps = VariantProps<typeof icon> & Pick<HTMLAttributes<HTMLSpanElement>, 'className' | 'role' | 'aria-labelledby' | 'aria-hidden'> & {
|
|
240
|
+
/** The icon to render from the Unity icon set */
|
|
241
|
+
src: UnityIcon;
|
|
242
|
+
/**
|
|
243
|
+
* Alternative text for the icon, used for accessibility
|
|
244
|
+
* @default ''
|
|
245
|
+
*/
|
|
246
|
+
alt?: string;
|
|
247
|
+
/**
|
|
248
|
+
* The icon's color. Use one of the allowed tokens or the `inherit` value for using the parent's foreground color
|
|
249
|
+
* @default 'inherit'
|
|
250
|
+
*/
|
|
251
|
+
color?: VariantProps<typeof icon>['color'];
|
|
252
|
+
/**
|
|
253
|
+
* The icon's size.
|
|
254
|
+
* @default 20
|
|
255
|
+
*/
|
|
256
|
+
size?: VariantProps<typeof icon>['size'];
|
|
257
|
+
};
|
|
258
|
+
/**
|
|
259
|
+
* The `Icon` component displays an icon from the Unity icon set.
|
|
260
|
+
*/
|
|
261
|
+
export declare function Icon({ alt, color, size, src, role, display, ...rest }: IconProps): import("react/jsx-runtime").JSX.Element;
|
|
262
|
+
export {};
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { tv as i } from "tailwind-variants";
|
|
3
|
+
import { IconSprite as d } from "./parts/IconSprite.js";
|
|
4
|
+
const l = i({
|
|
5
|
+
variants: {
|
|
6
|
+
size: {
|
|
7
|
+
20: "uy:w-250 uy:h-250",
|
|
8
|
+
24: "uy:w-300 uy:h-300"
|
|
9
|
+
},
|
|
10
|
+
color: {
|
|
11
|
+
"content.primary": "uy:text-content-primary",
|
|
12
|
+
"content.primary.enabled": "uy:text-content-primary-enabled",
|
|
13
|
+
"content.primary.hover": "uy:text-content-primary-hover",
|
|
14
|
+
"content.primary.pressed": "uy:text-content-primary-pressed",
|
|
15
|
+
"content.primary.focus": "uy:text-content-primary-focus",
|
|
16
|
+
"content.primary.active": "uy:text-content-primary-active",
|
|
17
|
+
"content.primary.disabled": "uy:text-content-primary-disabled",
|
|
18
|
+
"content.neutral": "uy:text-content-neutral",
|
|
19
|
+
"content.neutral.enabled": "uy:text-content-neutral-enabled",
|
|
20
|
+
"content.neutral.hover": "uy:text-content-neutral-hover",
|
|
21
|
+
"content.neutral.pressed": "uy:text-content-neutral-pressed",
|
|
22
|
+
"content.neutral.focus": "uy:text-content-neutral-focus",
|
|
23
|
+
"content.neutral.active": "uy:text-content-neutral-active",
|
|
24
|
+
"content.neutral.disabled": "uy:text-content-neutral-disabled",
|
|
25
|
+
"content.neutral.low": "uy:text-content-neutral-low",
|
|
26
|
+
"content.neutral.lowest": "uy:text-content-neutral-lowest",
|
|
27
|
+
"content.neutral.lowest.enabled": "uy:text-content-neutral-lowest-enabled",
|
|
28
|
+
"content.neutral.lowest.hover": "uy:text-content-neutral-lowest-hover",
|
|
29
|
+
"content.neutral.lowest.pressed": "uy:text-content-neutral-lowest-pressed",
|
|
30
|
+
"content.neutral.lowest.focus": "uy:text-content-neutral-lowest-focus",
|
|
31
|
+
"content.neutral.lowest.active": "uy:text-content-neutral-lowest-active",
|
|
32
|
+
"content.neutral.lowest.disabled": "uy:text-content-neutral-lowest-disabled",
|
|
33
|
+
"content.danger": "uy:text-content-danger",
|
|
34
|
+
"content.danger.enabled": "uy:text-content-danger-enabled",
|
|
35
|
+
"content.danger.hover": "uy:text-content-danger-hover",
|
|
36
|
+
"content.danger.pressed": "uy:text-content-danger-pressed",
|
|
37
|
+
"content.danger.focus": "uy:text-content-danger-focus",
|
|
38
|
+
"content.danger.active": "uy:text-content-danger-active",
|
|
39
|
+
"content.danger.disabled": "uy:text-content-danger-disabled",
|
|
40
|
+
"content.warning": "uy:text-content-warning",
|
|
41
|
+
"content.warning.enabled": "uy:text-content-warning-enabled",
|
|
42
|
+
"content.warning.hover": "uy:text-content-warning-hover",
|
|
43
|
+
"content.warning.pressed": "uy:text-content-warning-pressed",
|
|
44
|
+
"content.warning.focus": "uy:text-content-warning-focus",
|
|
45
|
+
"content.warning.active": "uy:text-content-warning-active",
|
|
46
|
+
"content.warning.disabled": "uy:text-content-warning-disabled",
|
|
47
|
+
"content.success": "uy:text-content-success",
|
|
48
|
+
"content.success.enabled": "uy:text-content-success-enabled",
|
|
49
|
+
"content.success.hover": "uy:text-content-success-hover",
|
|
50
|
+
"content.success.pressed": "uy:text-content-success-pressed",
|
|
51
|
+
"content.success.focus": "uy:text-content-success-focus",
|
|
52
|
+
"content.success.active": "uy:text-content-success-active",
|
|
53
|
+
"content.success.disabled": "uy:text-content-success-disabled",
|
|
54
|
+
"content.info": "uy:text-content-info",
|
|
55
|
+
"content.info.enabled": "uy:text-content-info-enabled",
|
|
56
|
+
"content.info.hover": "uy:text-content-info-hover",
|
|
57
|
+
"content.info.pressed": "uy:text-content-info-pressed",
|
|
58
|
+
"content.info.focus": "uy:text-content-info-focus",
|
|
59
|
+
"content.info.active": "uy:text-content-info-active",
|
|
60
|
+
"content.info.disabled": "uy:text-content-info-disabled",
|
|
61
|
+
"content.promo": "uy:text-content-promo",
|
|
62
|
+
"content.form.enabled": "uy:text-content-form",
|
|
63
|
+
"content.form.hover": "uy:text-content-form-hover",
|
|
64
|
+
"content.form.pressed": "uy:text-content-form-pressed",
|
|
65
|
+
"content.form.focus": "uy:text-content-form-focus",
|
|
66
|
+
"content.form.active": "uy:text-content-form-active",
|
|
67
|
+
"content.form.disabled": "uy:text-content-form-disabled",
|
|
68
|
+
"content.form.read-only": "uy:text-content-form-read-only",
|
|
69
|
+
"content.form.invalid": "uy:text-content-form-invalid",
|
|
70
|
+
"content.inverted": "uy:text-content-inverted",
|
|
71
|
+
"content.inverted.enabled": "uy:text-content-inverted-enabled",
|
|
72
|
+
"content.inverted.hover": "uy:text-content-inverted-hover",
|
|
73
|
+
"content.inverted.pressed": "uy:text-content-inverted-pressed",
|
|
74
|
+
"content.inverted.focus": "uy:text-content-inverted-focus",
|
|
75
|
+
"content.inverted.active": "uy:text-content-inverted-active",
|
|
76
|
+
"content.inverted.disabled": "uy:text-content-inverted-disabled",
|
|
77
|
+
inherit: "uy:text-inherit"
|
|
78
|
+
},
|
|
79
|
+
display: {
|
|
80
|
+
block: "uy:block",
|
|
81
|
+
inline: "uy:inline-block"
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
defaultVariants: {
|
|
85
|
+
size: 20,
|
|
86
|
+
color: "inherit",
|
|
87
|
+
display: "block"
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
function f({
|
|
91
|
+
alt: n,
|
|
92
|
+
color: o,
|
|
93
|
+
size: c,
|
|
94
|
+
src: r,
|
|
95
|
+
role: a = "img",
|
|
96
|
+
display: s = "block",
|
|
97
|
+
...t
|
|
98
|
+
}) {
|
|
99
|
+
const u = l({ size: c, color: o, display: s });
|
|
100
|
+
return /* @__PURE__ */ e(
|
|
101
|
+
"span",
|
|
102
|
+
{
|
|
103
|
+
"data-dd-privacy": "allow",
|
|
104
|
+
...t,
|
|
105
|
+
role: a,
|
|
106
|
+
"aria-label": t["aria-labelledby"] ? void 0 : n,
|
|
107
|
+
children: /* @__PURE__ */ e(d, { className: u, src: r })
|
|
108
|
+
}
|
|
109
|
+
);
|
|
110
|
+
}
|
|
111
|
+
export {
|
|
112
|
+
f as Icon
|
|
113
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { useIconsContext as t } from "
|
|
2
|
+
import { useIconsContext as t } from "../../icons-provider/UnityIconsProvider.js";
|
|
3
3
|
function i({ src: e, ...o }) {
|
|
4
4
|
const { isLoaded: n } = t();
|
|
5
5
|
return n ? /* @__PURE__ */ r("svg", { ...o, children: /* @__PURE__ */ r("use", { href: `#${e}` }) }) : null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as o, Fragment as u } from "react/jsx-runtime";
|
|
2
2
|
import { useState as c, useEffect as l, createContext as f, useContext as m } from "react";
|
|
3
|
-
import { injectSprite as L, isSpriteInDocument as v } from "
|
|
3
|
+
import { injectSprite as L, isSpriteInDocument as v } from "../../utils.js";
|
|
4
4
|
const a = f(null);
|
|
5
5
|
function x({
|
|
6
6
|
children: e,
|
|
@@ -9,7 +9,7 @@ export declare const CardHeader: React.FC<React.PropsWithChildren>;
|
|
|
9
9
|
export declare const CardTitle: React.FC<React.PropsWithChildren>;
|
|
10
10
|
export declare const CardContent: React.FC<React.PropsWithChildren>;
|
|
11
11
|
export declare const CardActions: React.FC<React.PropsWithChildren>;
|
|
12
|
-
export declare const Link: React.FC<React.ComponentProps<
|
|
12
|
+
export declare const Link: React.FC<React.ComponentProps<'a'>>;
|
|
13
13
|
type CardGridProps = {
|
|
14
14
|
children: React.ReactNode;
|
|
15
15
|
cols?: number;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export type UnityIcon = 'AirplaneFilled' | 'AirplaneOutlined' | 'AlarmFilled' | 'AlarmOutlined' | 'ArrowCircleRightFilled' | 'ArrowCircleRightOutlined' | 'ArrowClockwiseFilled' | 'ArrowClockwiseOutlined' | 'ArrowDownFilled' | 'ArrowDownOutlined' | 'ArrowElbowRightFilled' | 'ArrowElbowRightOutlined' | 'ArrowLeftFilled' | 'ArrowLeftOutlined' | 'ArrowRightFilled' | 'ArrowRightOutlined' | 'ArrowSquareOutFilled' | 'ArrowSquareOutOutlined' | 'ArrowUpAndRightFilled' | 'ArrowUpAndRightOutlined' | 'ArrowUpFilled' | 'ArrowUpOutlined' | 'ArrowUpRightFilled' | 'ArrowUpRightOutlined' | 'ArrowsOutSimpleFilled' | 'ArrowsOutSimpleOutlined' | 'AtFilled' | 'AtOutlined' | 'BabyFilled' | 'BabyOutlined' | 'BadgeFilled' | 'BadgeOutlined' | 'BankFilled' | 'BankOutlined' | 'BellFilled' | 'BellOutlined' | 'BookOpenTextFilled' | 'BookOpenTextOutlined' | 'BriefcaseFilled' | 'BriefcaseOutlined' | 'BrowserFilled' | 'BrowserOutlined' | 'BuildingsFilled' | 'BuildingsOutlined' | 'CakeFilled' | 'CakeOutlined' | 'CalculatorFilled' | 'CalculatorOutlined' | 'CalendarBlankFilled' | 'CalendarBlankOutlined' | 'CalendarCheckFilled' | 'CalendarCheckOutlined' | 'CalendarEventFilled' | 'CalendarEventOutlined' | 'CalendarFilled' | 'CalendarMonthFilled' | 'CalendarMonthOutlined' | 'CalendarOutlined' | 'CalendarPlusFilled' | 'CalendarPlusOutlined' | 'CameraFilled' | 'CameraOutlined' | 'CaretDoubleRightFilled' | 'CaretDoubleRightOutlined' | 'CaretDownFilled' | 'CaretDownOutlined' | 'CaretLeftFilled' | 'CaretLeftOutlined' | 'CaretRightFilled' | 'CaretRightOutlined' | 'CaretUpDownFilled' | 'CaretUpDownOutlined' | 'CaretUpFilled' | 'CaretUpOutlined' | 'ChartFilled' | 'ChartOutlined' | 'ChatQuestionFilled' | 'ChatQuestionOutlined' | 'ChatWarningFilled' | 'ChatWarningOutlined' | 'ChatsFilled' | 'ChatsOutlined' | 'CheckCircleFilled' | 'CheckCircleOutlined' | 'CheckFilled' | 'CheckOutlined' | 'ClipboardCheckFilled' | 'ClipboardCheckOutlined' | 'ClipboardFilled' | 'ClipboardOutlined' | 'ClockClockwiseFilled' | 'ClockClockwiseOutlined' | 'ClockCountdownFilled' | 'ClockCountdownOutlined' | 'ClockCounterClockwiseFilled' | 'ClockCounterClockwiseOutlined' | 'CloseCircleFilled' | 'CloseCircleOutlined' | 'CloseFilled' | 'CloseOutlined' | 'CloudArrowDownFilled' | 'CloudArrowDownOutlined' | 'CloudArrowUpFilled' | 'CloudArrowUpOutlined' | 'CodeSimpleFilled' | 'CodeSimpleOutlined' | 'CoinsFilled' | 'CoinsOutlined' | 'ContactlessPaymentFilled' | 'ContactlessPaymentOutlined' | 'CopySimpleFilled' | 'CopySimpleOutlined' | 'CreditCardFilled' | 'CreditCardOutlined' | 'CreditCardPlusFilled' | 'CreditCardPlusOutlined' | 'CurrencyEuroFilled' | 'CurrencyEuroOutlined' | 'CurrencyPoundFilled' | 'CurrencyPoundOutlined' | 'DashboardFilled' | 'DashboardOutlined' | 'DevicesFilled' | 'DevicesOutlined' | 'DotsNineFilled' | 'DotsNineOutlined' | 'DotsSevenFilled' | 'DotsSevenOutlined' | 'DotsThreeFilled' | 'DotsThreeOutlined' | 'DownloadSimpleFilled' | 'DownloadSimpleOutlined' | 'EnvelopeFilled' | 'EnvelopeOutlined' | 'EyeFilled' | 'EyeOutlined' | 'EyeSlashFilled' | 'EyeSlashOutlined' | 'FileCheckFilled' | 'FileCheckOutlined' | 'FileFilled' | 'FileOutlined' | 'FilePaperclipFilled' | 'FilePaperclipOutlined' | 'FilePlusFilled' | 'FilePlusOutlined' | 'FileSearchFilled' | 'FileSearchOutlined' | 'FileSparkleFilled' | 'FileSparkleOutlined' | 'FingerPrintFilled' | 'FingerPrintOutlined' | 'FirstAidKitFilled' | 'FirstAidKitOutlined' | 'FlagFilled' | 'FlagOutlined' | 'FocusFilled' | 'FocusOutlined' | 'FolderFilled' | 'FolderOutlined' | 'FolderUserFilled' | 'FolderUserOutlined' | 'ForkKnifeFilled' | 'ForkKnifeOutlined' | 'GavelFilled' | 'GavelOutlined' | 'GearArrowFilled' | 'GearArrowOutlined' | 'GearSimpleFilled' | 'GearSimpleOutlined' | 'GearSparkleFilled' | 'GearSparkleOutlined' | 'GiftFilled' | 'GiftOutlined' | 'GraduationCapFilled' | 'GraduationCapOutlined' | 'GridFourFilled' | 'GridFourOutlined' | 'HandCoinsFilled' | 'HandCoinsOutlined' | 'HandHeartFilled' | 'HandHeartOutlined' | 'HeadsetFilled' | 'HeadsetOutlined' | 'HeartFilled' | 'HeartOutlined' | 'HourglassFilled' | 'HourglassHighFilled' | 'HourglassHighOutlined' | 'HourglassOutlined' | 'HouseFilled' | 'HouseOutlined' | 'ImageFilled' | 'ImageOutlined' | 'InfoFilled' | 'InfoOutlined' | 'LayoutFilled' | 'LayoutOutlined' | 'LightningFilled' | 'LightningOutlined' | 'ListFilled' | 'ListOutlined' | 'LockFilled' | 'LockOutlined' | 'MagnifyingGlassFilled' | 'MagnifyingGlassOutlined' | 'MapPinFilled' | 'MapPinOutlined' | 'MathOperationsFilled' | 'MathOperationsOutlined' | 'MinusFilled' | 'MinusOutlined' | 'MoneyFilled' | 'MoneyOutlined' | 'NetworkFilled' | 'NetworkOutlined' | 'NoteBlankFilled' | 'NoteBlankOutlined' | 'NoteFilled' | 'NoteOutlined' | 'OrganizationChartFilled' | 'OrganizationChartOutlined' | 'PaperPlaneFilled' | 'PaperPlaneOutlined' | 'PaperclipFilled' | 'PaperclipOutlined' | 'PencilSimpleFilled' | 'PencilSimpleOutlined' | 'PeopleFilled' | 'PeopleOutlined' | 'PersonArmsSpreadFilled' | 'PersonArmsSpreadOutlined' | 'PhoneFilled' | 'PhoneOutlined' | 'PieChartFilled' | 'PieChartOutlined' | 'PiggyBankFilled' | 'PiggyBankOutlined' | 'PlusCircleFilled' | 'PlusCircleOutlined' | 'PlusFilled' | 'PlusOutlined' | 'PresentationChartFilled' | 'PresentationChartOutlined' | 'PresentationTimelineFilled' | 'PresentationTimelineOutlined' | 'ProhibitFilled' | 'ProhibitOutlined' | 'PuzzlePieceFilled' | 'PuzzlePieceOutlined' | 'QuestionFilled' | 'QuestionOutlined' | 'ReceiptFilled' | 'ReceiptOutlined' | 'RecycleFilled' | 'RecycleOutlined' | 'SealCheckFilled' | 'SealCheckOutlined' | 'ShareNetworkFilled' | 'ShareNetworkOutlined' | 'ShieldCheckFilled' | 'ShieldCheckOutlined' | 'ShieldChekeredFilled' | 'ShieldChekeredOutlined' | 'SignInFilled' | 'SignInOutlined' | 'SignOutFilled' | 'SignOutOutlined' | 'SignatureFilled' | 'SignatureOutlined' | 'SlidersHorizontalFilled' | 'SlidersHorizontalOutlined' | 'SpaFilled' | 'SpaOutlined' | 'SparkleFilled' | 'SparkleOutlined' | 'SpeedIndicatorFilled' | 'SpeedIndicatorOutlined' | 'StackSimpleFilled' | 'StackSimpleOutlined' | 'StarFilled' | 'StarOutlined' | 'StorefrontFilled' | 'StorefrontOutlined' | 'SwapFilled' | 'SwapOutlined' | 'TagFilled' | 'TagOutlined' | 'ThumbsUpFilled' | 'ThumbsUpOutlined' | 'TicketFilled' | 'TicketOutlined' | 'TimerFilled' | 'TimerOutlined' | 'TrashFilled' | 'TrashOutlined' | 'TrashSimpleFilled' | 'TrashSimpleOutlined' | 'TrashXFilled' | 'TrashXOutlined' | 'TreeStructureFilled' | 'TreeStructureOutlined' | 'TrendUpFilled' | 'TrendUpOutlined' | 'UploadSimpleFilled' | 'UploadSimpleOutlined' | 'UserCircleFilled' | 'UserCircleOutlined' | 'UserContactFilled' | 'UserContactOutlined' | 'UserFilled' | 'UserFocusFilled' | 'UserFocusOutlined' | 'UserGreetingFilled' | 'UserGreetingOutlined' | 'UserOutlined' | 'UserPlusFilled' | 'UserPlusOutlined' | 'UserRectangleFilled' | 'UserRectangleOutlined' | 'UsersFilled' | 'UsersHeartFilled' | 'UsersHeartOutlined' | 'UsersOutlined' | 'UsersSwitchFilled' | 'UsersSwitchOutlined' | 'UsersThreeFilled' | 'UsersThreeOutlined' | 'VirusFilled' | 'VirusOutlined' | 'WalletFilled' | 'WalletOutlined' | 'WarningCircleFilled' | 'WarningCircleOutlined' | 'WarningDiamondFilled' | 'WarningDiamondOutlined' | 'WarningFilled' | 'WarningOutlined' | 'WaveFilled' | 'WaveOutlined' | 'WifiHighFilled' | 'WifiHighOutlined' | 'WifiSlashFilled' | 'WifiSlashOutlined';
|
|
2
|
+
export declare const iconNames: UnityIcon[];
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const l = ["AirplaneFilled", "AirplaneOutlined", "AlarmFilled", "AlarmOutlined", "ArrowCircleRightFilled", "ArrowCircleRightOutlined", "ArrowClockwiseFilled", "ArrowClockwiseOutlined", "ArrowDownFilled", "ArrowDownOutlined", "ArrowElbowRightFilled", "ArrowElbowRightOutlined", "ArrowLeftFilled", "ArrowLeftOutlined", "ArrowRightFilled", "ArrowRightOutlined", "ArrowSquareOutFilled", "ArrowSquareOutOutlined", "ArrowUpAndRightFilled", "ArrowUpAndRightOutlined", "ArrowUpFilled", "ArrowUpOutlined", "ArrowUpRightFilled", "ArrowUpRightOutlined", "ArrowsOutSimpleFilled", "ArrowsOutSimpleOutlined", "AtFilled", "AtOutlined", "BabyFilled", "BabyOutlined", "BadgeFilled", "BadgeOutlined", "BankFilled", "BankOutlined", "BellFilled", "BellOutlined", "BookOpenTextFilled", "BookOpenTextOutlined", "BriefcaseFilled", "BriefcaseOutlined", "BrowserFilled", "BrowserOutlined", "BuildingsFilled", "BuildingsOutlined", "CakeFilled", "CakeOutlined", "CalculatorFilled", "CalculatorOutlined", "CalendarBlankFilled", "CalendarBlankOutlined", "CalendarCheckFilled", "CalendarCheckOutlined", "CalendarEventFilled", "CalendarEventOutlined", "CalendarFilled", "CalendarMonthFilled", "CalendarMonthOutlined", "CalendarOutlined", "CalendarPlusFilled", "CalendarPlusOutlined", "CameraFilled", "CameraOutlined", "CaretDoubleRightFilled", "CaretDoubleRightOutlined", "CaretDownFilled", "CaretDownOutlined", "CaretLeftFilled", "CaretLeftOutlined", "CaretRightFilled", "CaretRightOutlined", "CaretUpDownFilled", "CaretUpDownOutlined", "CaretUpFilled", "CaretUpOutlined", "ChartFilled", "ChartOutlined", "ChatQuestionFilled", "ChatQuestionOutlined", "ChatWarningFilled", "ChatWarningOutlined", "ChatsFilled", "ChatsOutlined", "CheckCircleFilled", "CheckCircleOutlined", "CheckFilled", "CheckOutlined", "ClipboardCheckFilled", "ClipboardCheckOutlined", "ClipboardFilled", "ClipboardOutlined", "ClockClockwiseFilled", "ClockClockwiseOutlined", "ClockCountdownFilled", "ClockCountdownOutlined", "ClockCounterClockwiseFilled", "ClockCounterClockwiseOutlined", "CloseCircleFilled", "CloseCircleOutlined", "CloseFilled", "CloseOutlined", "CloudArrowDownFilled", "CloudArrowDownOutlined", "CloudArrowUpFilled", "CloudArrowUpOutlined", "CodeSimpleFilled", "CodeSimpleOutlined", "CoinsFilled", "CoinsOutlined", "ContactlessPaymentFilled", "ContactlessPaymentOutlined", "CopySimpleFilled", "CopySimpleOutlined", "CreditCardFilled", "CreditCardOutlined", "CreditCardPlusFilled", "CreditCardPlusOutlined", "CurrencyEuroFilled", "CurrencyEuroOutlined", "CurrencyPoundFilled", "CurrencyPoundOutlined", "DashboardFilled", "DashboardOutlined", "DevicesFilled", "DevicesOutlined", "DotsNineFilled", "DotsNineOutlined", "DotsSevenFilled", "DotsSevenOutlined", "DotsThreeFilled", "DotsThreeOutlined", "DownloadSimpleFilled", "DownloadSimpleOutlined", "EnvelopeFilled", "EnvelopeOutlined", "EyeFilled", "EyeOutlined", "EyeSlashFilled", "EyeSlashOutlined", "FileCheckFilled", "FileCheckOutlined", "FileFilled", "FileOutlined", "FilePaperclipFilled", "FilePaperclipOutlined", "FilePlusFilled", "FilePlusOutlined", "FileSearchFilled", "FileSearchOutlined", "FileSparkleFilled", "FileSparkleOutlined", "FingerPrintFilled", "FingerPrintOutlined", "FirstAidKitFilled", "FirstAidKitOutlined", "FlagFilled", "FlagOutlined", "FocusFilled", "FocusOutlined", "FolderFilled", "FolderOutlined", "FolderUserFilled", "FolderUserOutlined", "ForkKnifeFilled", "ForkKnifeOutlined", "GavelFilled", "GavelOutlined", "GearArrowFilled", "GearArrowOutlined", "GearSimpleFilled", "GearSimpleOutlined", "GearSparkleFilled", "GearSparkleOutlined", "GiftFilled", "GiftOutlined", "GraduationCapFilled", "GraduationCapOutlined", "GridFourFilled", "GridFourOutlined", "HandCoinsFilled", "HandCoinsOutlined", "HandHeartFilled", "HandHeartOutlined", "HeadsetFilled", "HeadsetOutlined", "HeartFilled", "HeartOutlined", "HourglassFilled", "HourglassHighFilled", "HourglassHighOutlined", "HourglassOutlined", "HouseFilled", "HouseOutlined", "ImageFilled", "ImageOutlined", "InfoFilled", "InfoOutlined", "LayoutFilled", "LayoutOutlined", "LightningFilled", "LightningOutlined", "ListFilled", "ListOutlined", "LockFilled", "LockOutlined", "MagnifyingGlassFilled", "MagnifyingGlassOutlined", "MapPinFilled", "MapPinOutlined", "MathOperationsFilled", "MathOperationsOutlined", "MinusFilled", "MinusOutlined", "MoneyFilled", "MoneyOutlined", "NetworkFilled", "NetworkOutlined", "NoteBlankFilled", "NoteBlankOutlined", "NoteFilled", "NoteOutlined", "OrganizationChartFilled", "OrganizationChartOutlined", "PaperPlaneFilled", "PaperPlaneOutlined", "PaperclipFilled", "PaperclipOutlined", "PencilSimpleFilled", "PencilSimpleOutlined", "PeopleFilled", "PeopleOutlined", "PersonArmsSpreadFilled", "PersonArmsSpreadOutlined", "PhoneFilled", "PhoneOutlined", "PieChartFilled", "PieChartOutlined", "PiggyBankFilled", "PiggyBankOutlined", "PlusCircleFilled", "PlusCircleOutlined", "PlusFilled", "PlusOutlined", "PresentationChartFilled", "PresentationChartOutlined", "PresentationTimelineFilled", "PresentationTimelineOutlined", "ProhibitFilled", "ProhibitOutlined", "PuzzlePieceFilled", "PuzzlePieceOutlined", "QuestionFilled", "QuestionOutlined", "ReceiptFilled", "ReceiptOutlined", "RecycleFilled", "RecycleOutlined", "SealCheckFilled", "SealCheckOutlined", "ShareNetworkFilled", "ShareNetworkOutlined", "ShieldCheckFilled", "ShieldCheckOutlined", "ShieldChekeredFilled", "ShieldChekeredOutlined", "SignInFilled", "SignInOutlined", "SignOutFilled", "SignOutOutlined", "SignatureFilled", "SignatureOutlined", "SlidersHorizontalFilled", "SlidersHorizontalOutlined", "SpaFilled", "SpaOutlined", "SparkleFilled", "SparkleOutlined", "SpeedIndicatorFilled", "SpeedIndicatorOutlined", "StackSimpleFilled", "StackSimpleOutlined", "StarFilled", "StarOutlined", "StorefrontFilled", "StorefrontOutlined", "SwapFilled", "SwapOutlined", "TagFilled", "TagOutlined", "ThumbsUpFilled", "ThumbsUpOutlined", "TicketFilled", "TicketOutlined", "TimerFilled", "TimerOutlined", "TrashFilled", "TrashOutlined", "TrashSimpleFilled", "TrashSimpleOutlined", "TrashXFilled", "TrashXOutlined", "TreeStructureFilled", "TreeStructureOutlined", "TrendUpFilled", "TrendUpOutlined", "UploadSimpleFilled", "UploadSimpleOutlined", "UserCircleFilled", "UserCircleOutlined", "UserContactFilled", "UserContactOutlined", "UserFilled", "UserFocusFilled", "UserFocusOutlined", "UserGreetingFilled", "UserGreetingOutlined", "UserOutlined", "UserPlusFilled", "UserPlusOutlined", "UserRectangleFilled", "UserRectangleOutlined", "UsersFilled", "UsersHeartFilled", "UsersHeartOutlined", "UsersOutlined", "UsersSwitchFilled", "UsersSwitchOutlined", "UsersThreeFilled", "UsersThreeOutlined", "VirusFilled", "VirusOutlined", "WalletFilled", "WalletOutlined", "WarningCircleFilled", "WarningCircleOutlined", "WarningDiamondFilled", "WarningDiamondOutlined", "WarningFilled", "WarningOutlined", "WaveFilled", "WaveOutlined", "WifiHighFilled", "WifiHighOutlined", "WifiSlashFilled", "WifiSlashOutlined"];
|
|
2
|
+
export {
|
|
3
|
+
l as iconNames
|
|
4
|
+
};
|