@nimbus-ds/components 5.57.2-rc.2 → 5.57.2-rc.4
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/package.json +1 -1
- package/dist/Accordion/index.d.ts +0 -160
- package/dist/Accordion/index.js +0 -2
- package/dist/Alert/index.d.ts +0 -60
- package/dist/Alert/index.js +0 -2
- package/dist/Badge/index.d.ts +0 -55
- package/dist/Badge/index.js +0 -2
- package/dist/Box/index.d.ts +0 -788
- package/dist/Box/index.js +0 -2
- package/dist/Button/index.d.ts +0 -88
- package/dist/Button/index.js +0 -2
- package/dist/CHANGELOG.md +0 -919
- package/dist/Card/index.d.ts +0 -153
- package/dist/Card/index.js +0 -2
- package/dist/Checkbox/index.d.ts +0 -68
- package/dist/Checkbox/index.js +0 -2
- package/dist/Chip/index.d.ts +0 -59
- package/dist/Chip/index.js +0 -2
- package/dist/Collapsible/index.d.ts +0 -45
- package/dist/Collapsible/index.js +0 -2
- package/dist/Divider/index.d.ts +0 -43
- package/dist/Divider/index.js +0 -2
- package/dist/FileUploader/index.d.ts +0 -209
- package/dist/FileUploader/index.js +0 -2
- package/dist/Icon/index.d.ts +0 -122
- package/dist/Icon/index.js +0 -2
- package/dist/IconButton/index.d.ts +0 -173
- package/dist/IconButton/index.js +0 -2
- package/dist/Input/index.d.ts +0 -76
- package/dist/Input/index.js +0 -2
- package/dist/Label/index.d.ts +0 -55
- package/dist/Label/index.js +0 -2
- package/dist/Link/index.d.ts +0 -115
- package/dist/Link/index.js +0 -2
- package/dist/List/index.d.ts +0 -105
- package/dist/List/index.js +0 -2
- package/dist/Modal/index.d.ts +0 -239
- package/dist/Modal/index.js +0 -2
- package/dist/MultiSelect/index.d.ts +0 -107
- package/dist/MultiSelect/index.js +0 -2
- package/dist/Pagination/index.d.ts +0 -41
- package/dist/Pagination/index.js +0 -2
- package/dist/Popover/index.d.ts +0 -166
- package/dist/Popover/index.js +0 -2
- package/dist/ProgressBar/index.d.ts +0 -72
- package/dist/ProgressBar/index.js +0 -2
- package/dist/README.md +0 -235
- package/dist/Radio/index.d.ts +0 -62
- package/dist/Radio/index.js +0 -2
- package/dist/ScrollPane/index.d.ts +0 -921
- package/dist/ScrollPane/index.js +0 -2
- package/dist/SegmentedControl/index.d.ts +0 -890
- package/dist/SegmentedControl/index.js +0 -2
- package/dist/Select/index.d.ts +0 -87
- package/dist/Select/index.js +0 -2
- package/dist/Sidebar/index.d.ts +0 -390
- package/dist/Sidebar/index.js +0 -2
- package/dist/Skeleton/index.d.ts +0 -31
- package/dist/Skeleton/index.js +0 -2
- package/dist/Slider/index.d.ts +0 -158
- package/dist/Slider/index.js +0 -2
- package/dist/Spinner/index.d.ts +0 -53
- package/dist/Spinner/index.js +0 -2
- package/dist/SplitButton/index.d.ts +0 -1018
- package/dist/SplitButton/index.js +0 -2
- package/dist/Stepper/index.d.ts +0 -883
- package/dist/Stepper/index.js +0 -2
- package/dist/Table/index.d.ts +0 -193
- package/dist/Table/index.js +0 -2
- package/dist/Tabs/index.d.ts +0 -92
- package/dist/Tabs/index.js +0 -2
- package/dist/Tag/index.d.ts +0 -51
- package/dist/Tag/index.js +0 -2
- package/dist/Text/index.d.ts +0 -608
- package/dist/Text/index.js +0 -2
- package/dist/Textarea/index.d.ts +0 -76
- package/dist/Textarea/index.js +0 -2
- package/dist/Thumbnail/index.d.ts +0 -73
- package/dist/Thumbnail/index.js +0 -2
- package/dist/TimePicker/index.d.ts +0 -343
- package/dist/TimePicker/index.js +0 -2
- package/dist/Title/index.d.ts +0 -165
- package/dist/Title/index.js +0 -2
- package/dist/Toast/index.d.ts +0 -71
- package/dist/Toast/index.js +0 -2
- package/dist/Toggle/index.d.ts +0 -48
- package/dist/Toggle/index.js +0 -2
- package/dist/Tooltip/index.d.ts +0 -47
- package/dist/Tooltip/index.js +0 -2
- package/dist/index.d.ts +0 -4813
- package/dist/index.js +0 -2
package/dist/Text/index.d.ts
DELETED
|
@@ -1,608 +0,0 @@
|
|
|
1
|
-
// Generated by dts-bundle-generator v7.2.0
|
|
2
|
-
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import { HTMLAttributes, ReactNode } from 'react';
|
|
5
|
-
|
|
6
|
-
export interface Conditions<T> {
|
|
7
|
-
xs?: T;
|
|
8
|
-
md?: T;
|
|
9
|
-
lg?: T;
|
|
10
|
-
xl?: T;
|
|
11
|
-
xxl?: T;
|
|
12
|
-
}
|
|
13
|
-
export type TextAlign = "left" | "right" | "center" | "justify";
|
|
14
|
-
export type TextDecoration = "none" | "underline" | "line-through";
|
|
15
|
-
export type Overflow = "visible" | "hidden" | "scroll" | "auto";
|
|
16
|
-
export type WordBreak = "normal" | "break-all" | "keep-all" | "break-word";
|
|
17
|
-
export type TextOverflow = "clip" | "ellipsis";
|
|
18
|
-
export type WhiteSpace = "normal" | "nowrap" | "pre" | "pre-wrap" | "pre-line" | "break-spaces";
|
|
19
|
-
declare const propertiesText: {
|
|
20
|
-
color: {
|
|
21
|
-
"ai-generative": "transparent";
|
|
22
|
-
currentColor: string;
|
|
23
|
-
"primary-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
24
|
-
"primary-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
25
|
-
"primary-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
26
|
-
"primary-textHigh": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
27
|
-
"success-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
28
|
-
"success-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
29
|
-
"success-interactivePressed": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
30
|
-
"success-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
31
|
-
"success-textHigh": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
32
|
-
"warning-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
33
|
-
"warning-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
34
|
-
"warning-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
35
|
-
"warning-textHigh": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
36
|
-
"danger-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
37
|
-
"danger-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
38
|
-
"danger-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
39
|
-
"danger-textHigh": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`; /**
|
|
40
|
-
* The whiteSpace property sets how white space inside an element is handled.
|
|
41
|
-
*/
|
|
42
|
-
"neutral-background": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
43
|
-
"neutral-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
44
|
-
"neutral-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
45
|
-
"neutral-textDisabled": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
46
|
-
"neutral-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
47
|
-
"neutral-textHigh": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
48
|
-
};
|
|
49
|
-
textAlign: TextAlign[];
|
|
50
|
-
lineHeight: {
|
|
51
|
-
readonly caption: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
52
|
-
readonly base: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
53
|
-
readonly highlight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
54
|
-
};
|
|
55
|
-
fontWeight: {
|
|
56
|
-
regular: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
57
|
-
medium: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
58
|
-
bold: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
59
|
-
};
|
|
60
|
-
fontSize: {
|
|
61
|
-
caption: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
62
|
-
base: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`; /**
|
|
63
|
-
* The overflow property specifies what happens if content overflows an element's box.
|
|
64
|
-
*/
|
|
65
|
-
highlight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
66
|
-
};
|
|
67
|
-
wordBreak: WordBreak[];
|
|
68
|
-
textDecoration: TextDecoration[];
|
|
69
|
-
textOverflow: TextOverflow[];
|
|
70
|
-
whiteSpace: WhiteSpace[];
|
|
71
|
-
overflow: Overflow[];
|
|
72
|
-
};
|
|
73
|
-
export type TextColorProperties = keyof typeof propertiesText.color;
|
|
74
|
-
export type TextFontSizeProperties = keyof typeof propertiesText.fontSize;
|
|
75
|
-
export type TextFontWeightProperties = keyof typeof propertiesText.fontWeight;
|
|
76
|
-
export type TextLineHeightProperties = keyof typeof propertiesText.lineHeight;
|
|
77
|
-
export type TextConditions<T> = Conditions<T>;
|
|
78
|
-
export interface TextSprinkle {
|
|
79
|
-
/**
|
|
80
|
-
* The fontSize property sets the size of the text.
|
|
81
|
-
* @default base
|
|
82
|
-
*/
|
|
83
|
-
fontSize?: TextFontSizeProperties | TextConditions<TextFontSizeProperties>;
|
|
84
|
-
/**
|
|
85
|
-
* The fontWeight property sets how thick or thin characters in text should be displayed.
|
|
86
|
-
* @default regular
|
|
87
|
-
*/
|
|
88
|
-
fontWeight?: TextFontWeightProperties | TextConditions<TextFontWeightProperties>;
|
|
89
|
-
/**
|
|
90
|
-
* The lineHeight property specifies the line height of the text.
|
|
91
|
-
* @default base
|
|
92
|
-
*/
|
|
93
|
-
lineHeight?: TextLineHeightProperties | TextConditions<TextLineHeightProperties>;
|
|
94
|
-
/**
|
|
95
|
-
* The textAlign property specifies the horizontal alignment of text.
|
|
96
|
-
* @default left
|
|
97
|
-
*/
|
|
98
|
-
textAlign?: TextAlign | TextConditions<TextAlign>;
|
|
99
|
-
/**
|
|
100
|
-
* The color property is used to set the color of the text.
|
|
101
|
-
* Note: Gradients like 'ai-generative' changes other properties like 'width' and 'display', which could make the component behave differently. Ensure to visually test the component when dynamically changing the color.
|
|
102
|
-
* @default neutral-textLow
|
|
103
|
-
*/
|
|
104
|
-
color?: TextColorProperties | TextConditions<TextColorProperties>;
|
|
105
|
-
/**
|
|
106
|
-
* The amount of lines at which the text will be trimmed, showing an ellipsis when overflowed.
|
|
107
|
-
*/
|
|
108
|
-
lineClamp?: number | TextConditions<number>;
|
|
109
|
-
/**
|
|
110
|
-
* The amount of lines at which the text will be trimmed, showing an ellipsis when overflowed.
|
|
111
|
-
*/
|
|
112
|
-
WebkitLineClamp?: number | TextConditions<number>;
|
|
113
|
-
/**
|
|
114
|
-
* The wordBreak property sets whether line breaks appear wherever the text would otherwise overflow its content box.
|
|
115
|
-
*/
|
|
116
|
-
wordBreak?: WordBreak | TextConditions<WordBreak>;
|
|
117
|
-
/**
|
|
118
|
-
* The textDecoration shorthand property sets the appearance of decorative lines on text.
|
|
119
|
-
*/
|
|
120
|
-
textDecoration?: TextDecoration | TextConditions<TextDecoration>;
|
|
121
|
-
/**
|
|
122
|
-
* The textOverflow property specifies how overflowed content that is not displayed should be signaled to the user (e.g., 'ellipsis' for '...', 'clip' for hard cutoff).
|
|
123
|
-
* Note: This property only works when overflow is set to 'hidden'.
|
|
124
|
-
*/
|
|
125
|
-
textOverflow?: TextOverflow | TextConditions<TextOverflow>;
|
|
126
|
-
/**
|
|
127
|
-
* The whiteSpace property sets how white space inside an element is handled.
|
|
128
|
-
*/
|
|
129
|
-
whiteSpace?: WhiteSpace | TextConditions<WhiteSpace>;
|
|
130
|
-
/**
|
|
131
|
-
* The overflow property specifies what happens if content overflows an element's box.
|
|
132
|
-
*/
|
|
133
|
-
overflow?: Overflow | TextConditions<Overflow>;
|
|
134
|
-
}
|
|
135
|
-
declare const text: {
|
|
136
|
-
sprinkle: import("rainbow-sprinkles/dist/declarations/src/createRuntimeFn").SprinklesFn<[
|
|
137
|
-
{
|
|
138
|
-
config: {
|
|
139
|
-
color: {
|
|
140
|
-
values: {
|
|
141
|
-
currentColor: {
|
|
142
|
-
default: string;
|
|
143
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
144
|
-
};
|
|
145
|
-
"primary-interactive": {
|
|
146
|
-
default: string;
|
|
147
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
148
|
-
};
|
|
149
|
-
"primary-surface": {
|
|
150
|
-
default: string;
|
|
151
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
152
|
-
};
|
|
153
|
-
"primary-textLow": {
|
|
154
|
-
default: string;
|
|
155
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
156
|
-
};
|
|
157
|
-
"success-textLow": {
|
|
158
|
-
default: string;
|
|
159
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
160
|
-
};
|
|
161
|
-
"success-surface": {
|
|
162
|
-
default: string;
|
|
163
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
164
|
-
};
|
|
165
|
-
"warning-interactive": {
|
|
166
|
-
default: string;
|
|
167
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
168
|
-
};
|
|
169
|
-
"warning-surface": {
|
|
170
|
-
default: string;
|
|
171
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
172
|
-
};
|
|
173
|
-
"warning-textLow": {
|
|
174
|
-
default: string;
|
|
175
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
176
|
-
};
|
|
177
|
-
"danger-interactive": {
|
|
178
|
-
default: string;
|
|
179
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
180
|
-
};
|
|
181
|
-
"danger-surface": {
|
|
182
|
-
default: string;
|
|
183
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
184
|
-
};
|
|
185
|
-
"danger-textLow": {
|
|
186
|
-
default: string;
|
|
187
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
188
|
-
};
|
|
189
|
-
"neutral-background": {
|
|
190
|
-
default: string;
|
|
191
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
192
|
-
};
|
|
193
|
-
"neutral-interactive": {
|
|
194
|
-
default: string;
|
|
195
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
196
|
-
};
|
|
197
|
-
"neutral-surface": {
|
|
198
|
-
default: string;
|
|
199
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
200
|
-
};
|
|
201
|
-
"neutral-textLow": {
|
|
202
|
-
default: string;
|
|
203
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
204
|
-
};
|
|
205
|
-
"neutral-textHigh": {
|
|
206
|
-
default: string;
|
|
207
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
208
|
-
};
|
|
209
|
-
"success-interactive": {
|
|
210
|
-
default: string;
|
|
211
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
212
|
-
};
|
|
213
|
-
"ai-generative": {
|
|
214
|
-
default: string;
|
|
215
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
216
|
-
};
|
|
217
|
-
"primary-textHigh": {
|
|
218
|
-
default: string;
|
|
219
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
220
|
-
};
|
|
221
|
-
"success-interactivePressed": {
|
|
222
|
-
default: string;
|
|
223
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
224
|
-
};
|
|
225
|
-
"success-textHigh": {
|
|
226
|
-
default: string;
|
|
227
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
228
|
-
};
|
|
229
|
-
"warning-textHigh": {
|
|
230
|
-
default: string;
|
|
231
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
232
|
-
};
|
|
233
|
-
"danger-textHigh": {
|
|
234
|
-
default: string;
|
|
235
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
236
|
-
};
|
|
237
|
-
"neutral-textDisabled": {
|
|
238
|
-
default: string;
|
|
239
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
240
|
-
};
|
|
241
|
-
};
|
|
242
|
-
staticScale: {
|
|
243
|
-
"ai-generative": "transparent";
|
|
244
|
-
currentColor: string;
|
|
245
|
-
"primary-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
246
|
-
"primary-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
247
|
-
"primary-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
248
|
-
"primary-textHigh": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
249
|
-
"success-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
250
|
-
"success-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
251
|
-
"success-interactivePressed": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
252
|
-
"success-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
253
|
-
"success-textHigh": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
254
|
-
"warning-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
255
|
-
"warning-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
256
|
-
"warning-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
257
|
-
"warning-textHigh": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
258
|
-
"danger-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
259
|
-
"danger-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
260
|
-
"danger-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
261
|
-
"danger-textHigh": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
262
|
-
"neutral-background": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
263
|
-
"neutral-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
264
|
-
"neutral-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
265
|
-
"neutral-textDisabled": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
266
|
-
"neutral-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
267
|
-
"neutral-textHigh": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
268
|
-
};
|
|
269
|
-
name: "color";
|
|
270
|
-
};
|
|
271
|
-
textAlign: {
|
|
272
|
-
values: {
|
|
273
|
-
center: {
|
|
274
|
-
default: string;
|
|
275
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
276
|
-
};
|
|
277
|
-
left: {
|
|
278
|
-
default: string;
|
|
279
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
280
|
-
};
|
|
281
|
-
right: {
|
|
282
|
-
default: string;
|
|
283
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
284
|
-
};
|
|
285
|
-
justify: {
|
|
286
|
-
default: string;
|
|
287
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
288
|
-
};
|
|
289
|
-
};
|
|
290
|
-
staticScale: TextAlign[];
|
|
291
|
-
name: "textAlign";
|
|
292
|
-
};
|
|
293
|
-
lineHeight: {
|
|
294
|
-
values: {
|
|
295
|
-
caption: {
|
|
296
|
-
default: string;
|
|
297
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
298
|
-
};
|
|
299
|
-
base: {
|
|
300
|
-
default: string;
|
|
301
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
302
|
-
};
|
|
303
|
-
highlight: {
|
|
304
|
-
default: string;
|
|
305
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
306
|
-
};
|
|
307
|
-
};
|
|
308
|
-
staticScale: {
|
|
309
|
-
readonly caption: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
310
|
-
readonly base: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
311
|
-
readonly highlight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
312
|
-
};
|
|
313
|
-
name: "lineHeight";
|
|
314
|
-
};
|
|
315
|
-
fontWeight: {
|
|
316
|
-
values: {
|
|
317
|
-
regular: {
|
|
318
|
-
default: string;
|
|
319
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
320
|
-
};
|
|
321
|
-
medium: {
|
|
322
|
-
default: string;
|
|
323
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
324
|
-
};
|
|
325
|
-
bold: {
|
|
326
|
-
default: string;
|
|
327
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
328
|
-
};
|
|
329
|
-
};
|
|
330
|
-
staticScale: {
|
|
331
|
-
regular: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
332
|
-
medium: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
333
|
-
bold: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
334
|
-
};
|
|
335
|
-
name: "fontWeight";
|
|
336
|
-
};
|
|
337
|
-
fontSize: {
|
|
338
|
-
values: {
|
|
339
|
-
caption: {
|
|
340
|
-
default: string;
|
|
341
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
342
|
-
};
|
|
343
|
-
base: {
|
|
344
|
-
default: string;
|
|
345
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
346
|
-
};
|
|
347
|
-
highlight: {
|
|
348
|
-
default: string;
|
|
349
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
350
|
-
};
|
|
351
|
-
};
|
|
352
|
-
staticScale: {
|
|
353
|
-
caption: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
354
|
-
base: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
355
|
-
highlight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
356
|
-
};
|
|
357
|
-
name: "fontSize";
|
|
358
|
-
};
|
|
359
|
-
wordBreak: {
|
|
360
|
-
values: {
|
|
361
|
-
normal: {
|
|
362
|
-
default: string;
|
|
363
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
364
|
-
};
|
|
365
|
-
"break-word": {
|
|
366
|
-
default: string;
|
|
367
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
368
|
-
};
|
|
369
|
-
"break-all": {
|
|
370
|
-
default: string;
|
|
371
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
372
|
-
};
|
|
373
|
-
"keep-all": {
|
|
374
|
-
default: string;
|
|
375
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
376
|
-
};
|
|
377
|
-
};
|
|
378
|
-
staticScale: WordBreak[];
|
|
379
|
-
name: "wordBreak";
|
|
380
|
-
};
|
|
381
|
-
textDecoration: {
|
|
382
|
-
values: {
|
|
383
|
-
none: {
|
|
384
|
-
default: string;
|
|
385
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
386
|
-
};
|
|
387
|
-
"line-through": {
|
|
388
|
-
default: string;
|
|
389
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
390
|
-
};
|
|
391
|
-
underline: {
|
|
392
|
-
default: string;
|
|
393
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
394
|
-
};
|
|
395
|
-
};
|
|
396
|
-
staticScale: TextDecoration[];
|
|
397
|
-
name: "textDecoration";
|
|
398
|
-
};
|
|
399
|
-
textOverflow: {
|
|
400
|
-
values: {
|
|
401
|
-
clip: {
|
|
402
|
-
default: string;
|
|
403
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
404
|
-
};
|
|
405
|
-
ellipsis: {
|
|
406
|
-
default: string;
|
|
407
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
408
|
-
};
|
|
409
|
-
};
|
|
410
|
-
staticScale: TextOverflow[];
|
|
411
|
-
name: "textOverflow";
|
|
412
|
-
};
|
|
413
|
-
whiteSpace: {
|
|
414
|
-
values: {
|
|
415
|
-
pre: {
|
|
416
|
-
default: string;
|
|
417
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
418
|
-
};
|
|
419
|
-
normal: {
|
|
420
|
-
default: string;
|
|
421
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
422
|
-
};
|
|
423
|
-
nowrap: {
|
|
424
|
-
default: string;
|
|
425
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
426
|
-
};
|
|
427
|
-
"break-spaces": {
|
|
428
|
-
default: string;
|
|
429
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
430
|
-
};
|
|
431
|
-
"pre-line": {
|
|
432
|
-
default: string;
|
|
433
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
434
|
-
};
|
|
435
|
-
"pre-wrap": {
|
|
436
|
-
default: string;
|
|
437
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
438
|
-
};
|
|
439
|
-
};
|
|
440
|
-
staticScale: WhiteSpace[];
|
|
441
|
-
name: "whiteSpace";
|
|
442
|
-
};
|
|
443
|
-
overflow: {
|
|
444
|
-
values: {
|
|
445
|
-
hidden: {
|
|
446
|
-
default: string;
|
|
447
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
448
|
-
};
|
|
449
|
-
auto: {
|
|
450
|
-
default: string;
|
|
451
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
452
|
-
};
|
|
453
|
-
visible: {
|
|
454
|
-
default: string;
|
|
455
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
456
|
-
};
|
|
457
|
-
scroll: {
|
|
458
|
-
default: string;
|
|
459
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
460
|
-
};
|
|
461
|
-
};
|
|
462
|
-
staticScale: Overflow[];
|
|
463
|
-
name: "overflow";
|
|
464
|
-
};
|
|
465
|
-
};
|
|
466
|
-
} & {
|
|
467
|
-
config: {
|
|
468
|
-
lineClamp: {
|
|
469
|
-
dynamic: {
|
|
470
|
-
default: string;
|
|
471
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
472
|
-
};
|
|
473
|
-
dynamicScale: true;
|
|
474
|
-
name: "lineClamp";
|
|
475
|
-
vars: {
|
|
476
|
-
default: string;
|
|
477
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
478
|
-
};
|
|
479
|
-
};
|
|
480
|
-
WebkitLineClamp: {
|
|
481
|
-
dynamic: {
|
|
482
|
-
default: string;
|
|
483
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
484
|
-
};
|
|
485
|
-
dynamicScale: boolean;
|
|
486
|
-
name: "WebkitLineClamp";
|
|
487
|
-
vars: {
|
|
488
|
-
default: string;
|
|
489
|
-
conditions: Record<"xs" | "md" | "lg" | "xl", string>;
|
|
490
|
-
};
|
|
491
|
-
};
|
|
492
|
-
};
|
|
493
|
-
} & {
|
|
494
|
-
config: {
|
|
495
|
-
[x: string]: {
|
|
496
|
-
mappings: ("fontSize" | "fontWeight" | "color" | "lineHeight" | "textAlign" | "textOverflow" | "whiteSpace" | "wordBreak" | "lineClamp" | "overflow" | "textDecoration" | "WebkitLineClamp")[];
|
|
497
|
-
};
|
|
498
|
-
};
|
|
499
|
-
}
|
|
500
|
-
]>;
|
|
501
|
-
properties: {
|
|
502
|
-
color: {
|
|
503
|
-
"ai-generative": "transparent";
|
|
504
|
-
currentColor: string;
|
|
505
|
-
"primary-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
506
|
-
"primary-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
507
|
-
"primary-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
508
|
-
"primary-textHigh": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
509
|
-
"success-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
510
|
-
"success-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
511
|
-
"success-interactivePressed": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
512
|
-
"success-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
513
|
-
"success-textHigh": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
514
|
-
"warning-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
515
|
-
"warning-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
516
|
-
"warning-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
517
|
-
"warning-textHigh": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
518
|
-
"danger-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
519
|
-
"danger-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
520
|
-
"danger-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
521
|
-
"danger-textHigh": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
522
|
-
"neutral-background": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
523
|
-
"neutral-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
524
|
-
"neutral-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
525
|
-
"neutral-textDisabled": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
526
|
-
"neutral-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
527
|
-
"neutral-textHigh": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
528
|
-
};
|
|
529
|
-
textAlign: TextAlign[];
|
|
530
|
-
lineHeight: {
|
|
531
|
-
readonly caption: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
532
|
-
readonly base: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
533
|
-
readonly highlight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
534
|
-
};
|
|
535
|
-
fontWeight: {
|
|
536
|
-
regular: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
537
|
-
medium: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
538
|
-
bold: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
539
|
-
};
|
|
540
|
-
fontSize: {
|
|
541
|
-
caption: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
542
|
-
base: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
543
|
-
highlight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
544
|
-
};
|
|
545
|
-
wordBreak: WordBreak[];
|
|
546
|
-
textDecoration: TextDecoration[];
|
|
547
|
-
textOverflow: TextOverflow[];
|
|
548
|
-
whiteSpace: WhiteSpace[];
|
|
549
|
-
overflow: Overflow[];
|
|
550
|
-
};
|
|
551
|
-
aiColors: {
|
|
552
|
-
readonly "ai-generative": "transparent";
|
|
553
|
-
};
|
|
554
|
-
aiStyles: {
|
|
555
|
-
readonly "ai-generative": string;
|
|
556
|
-
};
|
|
557
|
-
classnames: {
|
|
558
|
-
base: string;
|
|
559
|
-
trim: string;
|
|
560
|
-
aiGenerative: string;
|
|
561
|
-
aiStyles: {
|
|
562
|
-
readonly "ai-generative": string;
|
|
563
|
-
};
|
|
564
|
-
};
|
|
565
|
-
};
|
|
566
|
-
export interface SkeletonProperties {
|
|
567
|
-
/**
|
|
568
|
-
* Width of the skeleton. Useful when the skeleton is inside an inline element with no width of its own.
|
|
569
|
-
*/
|
|
570
|
-
width: string;
|
|
571
|
-
/**
|
|
572
|
-
* Height of the skeleton. Useful when you don't want to adapt the skeleton to a text element but for instance a card.
|
|
573
|
-
*/
|
|
574
|
-
height: string;
|
|
575
|
-
/**
|
|
576
|
-
* The border radius of the skeleton.
|
|
577
|
-
*/
|
|
578
|
-
borderRadius?: string;
|
|
579
|
-
/**
|
|
580
|
-
* This is an attribute used to identify a DOM node for testing purposes.
|
|
581
|
-
*/
|
|
582
|
-
"data-testid"?: string;
|
|
583
|
-
}
|
|
584
|
-
export type SkeletonProps = SkeletonProperties & HTMLAttributes<HTMLDivElement>;
|
|
585
|
-
export type TextSkeletonProperties = {
|
|
586
|
-
fontSize?: keyof typeof text.properties.fontSize;
|
|
587
|
-
} & Partial<Pick<SkeletonProps, "width" | "height" | "className" | "data-testid">>;
|
|
588
|
-
export type TextSkeletonProps = TextSkeletonProperties;
|
|
589
|
-
export declare const TextSkeleton: React.FC<TextSkeletonProps>;
|
|
590
|
-
export interface TextComponents {
|
|
591
|
-
Skeleton: typeof TextSkeleton;
|
|
592
|
-
}
|
|
593
|
-
export interface TextProperties extends Omit<TextSprinkle, "WebkitLineClamp"> {
|
|
594
|
-
/**
|
|
595
|
-
* The content of the link.
|
|
596
|
-
* @TJS-type React.ReactNode
|
|
597
|
-
*/
|
|
598
|
-
children: ReactNode;
|
|
599
|
-
/**
|
|
600
|
-
* Type of html tag to create for the Text component.
|
|
601
|
-
* @default p
|
|
602
|
-
*/
|
|
603
|
-
as?: "p" | "span";
|
|
604
|
-
}
|
|
605
|
-
export type TextProps = TextProperties & Omit<TextSprinkle, "WebkitLineClamp"> & HTMLAttributes<HTMLParagraphElement>;
|
|
606
|
-
export declare const Text: React.FC<TextProps> & TextComponents;
|
|
607
|
-
|
|
608
|
-
export {};
|
package/dist/Text/index.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("@nimbus-ds/styles")):"function"==typeof define&&define.amd?define(["react","@nimbus-ds/styles"],t):"object"==typeof exports?exports["@nimbus-ds/components"]=t(require("react"),require("@nimbus-ds/styles")):e["@nimbus-ds/components"]=t(e.react,e["@nimbus-ds/styles"])}(global,((e,t)=>(()=>{"use strict";var r={9003:(e,t,r)=>{function n(e){var t=e.match(/^var\((.*)\)$/);return t?t[1]:e}function o(e,t){var r=e;for(var n of t){if(!(n in r))throw new Error("Path ".concat(t.join(" -> ")," does not exist in object"));r=r[n]}return r}function a(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=e.constructor();for(var o in e){var i=e[o],s=[...r,o];"string"==typeof i||"number"==typeof i||null==i?n[o]=t(i,s):"object"!=typeof i||Array.isArray(i)?console.warn('Skipping invalid key "'.concat(s.join("."),'". Should be a string, number, null or object. Received: "').concat(Array.isArray(i)?"Array":typeof i,'"')):n[o]=a(i,t,s)}return n}function i(e,t){var r={};if("object"==typeof t){var i=e;a(t,((e,t)=>{if(null!=e){var a=o(i,t);r[n(a)]=String(e)}}))}else{var s=e;for(var c in s){var l=s[c];null!=l&&(r[n(c)]=l)}}return Object.defineProperty(r,"toString",{value:function(){return Object.keys(this).map((e=>"".concat(e,":").concat(this[e]))).join(";")},writable:!1}),r}function s(e,t,r){e.style.setProperty(n(t),r)}function c(e,t,r){if("object"==typeof r){var n=t;a(r,((t,r)=>{null!=t&&s(e,o(n,r),String(t))}))}else{var i=t;for(var c in i){null!=i[c]&&s(e,c,i[c])}}}r.r(t),r.d(t,{assignInlineVars:()=>i,setElementVars:()=>c})},5579:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Skeleton=void 0;const n=r(5608).__importDefault(r(9155)),o=r(9003),a=r(4367),i=({className:e,style:t,height:r,width:i,borderRadius:s="0",...c})=>n.default.createElement("div",{className:[e,a.skeleton.classnames.base].filter(Boolean).join(" "),style:(0,o.assignInlineVars)({[a.vars.width]:i,[a.vars.height]:r,[a.vars.borderRadius]:s}),...c});t.Skeleton=i,i.displayName="Skeleton"},7940:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Skeleton=void 0;const n=r(5579);var o=r(5579);Object.defineProperty(t,"Skeleton",{enumerable:!0,get:function(){return o.Skeleton}}),t.default=n.Skeleton},7155:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Text=void 0;const n=r(5608).__importDefault(r(9155)),o=r(4367),a=r(7769),i=({className:e,style:t,as:r="p",color:a="neutral-textLow",textAlign:i="left",lineHeight:s="base",fontWeight:c="regular",fontSize:l="base",textDecoration:u="none",textOverflow:f,whiteSpace:p,overflow:d,children:y,lineClamp:_,...v})=>{const{className:b,style:h,otherProps:m}=o.text.sprinkle({...v,color:a,textAlign:i,lineHeight:s,fontWeight:c,fontSize:l,textDecoration:u,textOverflow:f,whiteSpace:p,overflow:d,WebkitLineClamp:_});return n.default.createElement(r,{...v,className:[e,o.text.classnames.base,_&&o.text.classnames.trim,a in o.text.aiColors&&o.text.classnames.aiStyles[a],b].join(" "),style:h,...m},y)};t.Text=i,i.Skeleton=a.TextSkeleton,i.displayName="Text",i.Skeleton.displayName="Text.Skeleton"},9113:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});const n=r(5608);n.__exportStar(r(5084),t),n.__exportStar(r(7769),t)},6816:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TextSkeleton=void 0;const n=r(5608).__importDefault(r(9155)),o=r(7940),a=r(9096);t.TextSkeleton=({className:e,fontSize:t="caption",width:r,height:i,"data-testid":s})=>n.default.createElement(o.Skeleton,{className:e,width:r??a.sizes[t].width,height:i??a.sizes[t].height,"data-testid":s,borderRadius:"0.25rem"})},8494:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TextSkeleton=void 0;const n=r(6816);var o=r(6816);Object.defineProperty(t,"TextSkeleton",{enumerable:!0,get:function(){return o.TextSkeleton}}),t.default=n.TextSkeleton},9096:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.sizes=void 0,t.sizes={caption:{width:"2rem",height:"1rem"},base:{width:"2rem",height:"1.25rem"},highlight:{width:"2rem",height:"1.125rem"}}},7769:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});r(5608).__exportStar(r(8494),t)},5084:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Text=void 0;const n=r(7155);var o=r(7155);Object.defineProperty(t,"Text",{enumerable:!0,get:function(){return o.Text}}),t.default=n.Text},4367:e=>{e.exports=t},9155:t=>{t.exports=e},5608:(e,t,r)=>{r.r(t),r.d(t,{__addDisposableResource:()=>R,__assign:()=>a,__asyncDelegator:()=>x,__asyncGenerator:()=>O,__asyncValues:()=>P,__await:()=>j,__awaiter:()=>y,__classPrivateFieldGet:()=>A,__classPrivateFieldIn:()=>M,__classPrivateFieldSet:()=>I,__createBinding:()=>v,__decorate:()=>s,__disposeResources:()=>z,__esDecorate:()=>l,__exportStar:()=>b,__extends:()=>o,__generator:()=>_,__importDefault:()=>D,__importStar:()=>E,__makeTemplateObject:()=>T,__metadata:()=>d,__param:()=>c,__propKey:()=>f,__read:()=>m,__rest:()=>i,__runInitializers:()=>u,__setFunctionName:()=>p,__spread:()=>w,__spreadArray:()=>S,__spreadArrays:()=>g,__values:()=>h,default:()=>C});var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var a=function(){return a=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a.apply(this,arguments)};function i(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}function s(e,t,r,n){var o,a=arguments.length,i=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(i=(a<3?o(i):a>3?o(t,r,i):o(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i}function c(e,t){return function(r,n){t(r,n,e)}}function l(e,t,r,n,o,a){function i(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var s,c=n.kind,l="getter"===c?"get":"setter"===c?"set":"value",u=!t&&e?n.static?e:e.prototype:null,f=t||(u?Object.getOwnPropertyDescriptor(u,n.name):{}),p=!1,d=r.length-1;d>=0;d--){var y={};for(var _ in n)y[_]="access"===_?{}:n[_];for(var _ in n.access)y.access[_]=n.access[_];y.addInitializer=function(e){if(p)throw new TypeError("Cannot add initializers after decoration has completed");a.push(i(e||null))};var v=(0,r[d])("accessor"===c?{get:f.get,set:f.set}:f[l],y);if("accessor"===c){if(void 0===v)continue;if(null===v||"object"!=typeof v)throw new TypeError("Object expected");(s=i(v.get))&&(f.get=s),(s=i(v.set))&&(f.set=s),(s=i(v.init))&&o.unshift(s)}else(s=i(v))&&("field"===c?o.unshift(s):f[l]=s)}u&&Object.defineProperty(u,n.name,f),p=!0}function u(e,t,r){for(var n=arguments.length>2,o=0;o<t.length;o++)r=n?t[o].call(e,r):t[o].call(e);return n?r:void 0}function f(e){return"symbol"==typeof e?e:"".concat(e)}function p(e,t,r){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})}function d(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function y(e,t,r,n){return new(r||(r=Promise))((function(o,a){function i(e){try{c(n.next(e))}catch(e){a(e)}}function s(e){try{c(n.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,s)}c((n=n.apply(e,t||[])).next())}))}function _(e,t){var r,n,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(c){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&s[0]?n.return:s[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;switch(n=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,n=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],n=0}finally{r=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}}var v=Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]};function b(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||v(t,e,r)}function h(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function m(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,a=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)i.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return i}function w(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(m(arguments[t]));return e}function g(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),o=0;for(t=0;t<r;t++)for(var a=arguments[t],i=0,s=a.length;i<s;i++,o++)n[o]=a[i];return n}function S(e,t,r){if(r||2===arguments.length)for(var n,o=0,a=t.length;o<a;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}function j(e){return this instanceof j?(this.v=e,this):new j(e)}function O(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,o=r.apply(e,t||[]),a=[];return n={},i("next"),i("throw"),i("return"),n[Symbol.asyncIterator]=function(){return this},n;function i(e){o[e]&&(n[e]=function(t){return new Promise((function(r,n){a.push([e,t,r,n])>1||s(e,t)}))})}function s(e,t){try{(r=o[e](t)).value instanceof j?Promise.resolve(r.value.v).then(c,l):u(a[0][2],r)}catch(e){u(a[0][3],e)}var r}function c(e){s("next",e)}function l(e){s("throw",e)}function u(e,t){e(t),a.shift(),a.length&&s(a[0][0],a[0][1])}}function x(e){var t,r;return t={},n("next"),n("throw",(function(e){throw e})),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,o){t[n]=e[n]?function(t){return(r=!r)?{value:j(e[n](t)),done:!1}:o?o(t):t}:o}}function P(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=h(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,o){(function(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)})(n,o,(t=e[r](t)).done,t.value)}))}}}function T(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var k=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function E(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&v(t,e,r);return k(t,e),t}function D(e){return e&&e.__esModule?e:{default:e}}function A(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)}function I(e,t,r,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?o.call(e,r):o?o.value=r:t.set(e,r),r}function M(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function R(e,t,r){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var n;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(void 0===n){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=t[Symbol.dispose]}if("function"!=typeof n)throw new TypeError("Object not disposable.");e.stack.push({value:t,dispose:n,async:r})}else r&&e.stack.push({async:!0});return t}var N="function"==typeof SuppressedError?SuppressedError:function(e,t,r){var n=new Error(r);return n.name="SuppressedError",n.error=e,n.suppressed=t,n};function z(e){function t(t){e.error=e.hasError?new N(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}return function r(){for(;e.stack.length;){var n=e.stack.pop();try{var o=n.dispose&&n.dispose.call(n.value);if(n.async)return Promise.resolve(o).then(r,(function(e){return t(e),r()}))}catch(e){t(e)}}if(e.hasError)throw e.error}()}const C={__extends:o,__assign:a,__rest:i,__decorate:s,__param:c,__metadata:d,__awaiter:y,__generator:_,__createBinding:v,__exportStar:b,__values:h,__read:m,__spread:w,__spreadArrays:g,__spreadArray:S,__await:j,__asyncGenerator:O,__asyncDelegator:x,__asyncValues:P,__makeTemplateObject:T,__importStar:E,__importDefault:D,__classPrivateFieldGet:A,__classPrivateFieldSet:I,__classPrivateFieldIn:M,__addDisposableResource:R,__disposeResources:z}}},n={};function o(e){var t=n[e];if(void 0!==t)return t.exports;var a=n[e]={exports:{}};return r[e](a,a.exports,o),a.exports}return o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o(9113)})()));
|