@instructure/ui-buttons 8.13.1-snapshot.9 → 8.14.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/CHANGELOG.md +4 -0
- package/es/BaseButton/index.js +64 -43
- package/es/BaseButton/props.js +2 -88
- package/es/BaseButton/theme.js +1 -1
- package/es/Button/index.js +2 -2
- package/es/Button/props.js +3 -65
- package/es/CloseButton/index.js +23 -18
- package/es/CloseButton/props.js +2 -60
- package/es/CondensedButton/index.js +2 -2
- package/es/CondensedButton/props.js +3 -48
- package/es/IconButton/index.js +2 -2
- package/es/IconButton/props.js +3 -68
- package/es/ToggleButton/index.js +4 -5
- package/es/ToggleButton/props.js +1 -58
- package/lib/BaseButton/index.js +67 -43
- package/lib/BaseButton/props.js +2 -88
- package/lib/BaseButton/theme.js +1 -1
- package/lib/Button/index.js +2 -2
- package/lib/Button/props.js +3 -65
- package/lib/CloseButton/index.js +23 -18
- package/lib/CloseButton/props.js +2 -60
- package/lib/CondensedButton/index.js +2 -2
- package/lib/CondensedButton/props.js +3 -48
- package/lib/IconButton/index.js +2 -2
- package/lib/IconButton/props.js +3 -68
- package/lib/ToggleButton/index.js +4 -5
- package/lib/ToggleButton/props.js +1 -58
- package/package.json +21 -22
- package/src/BaseButton/index.tsx +35 -27
- package/src/BaseButton/props.ts +103 -72
- package/src/BaseButton/theme.ts +1 -6
- package/src/Button/index.tsx +4 -8
- package/src/Button/props.ts +74 -48
- package/src/CloseButton/index.tsx +4 -6
- package/src/CloseButton/props.ts +67 -41
- package/src/CondensedButton/index.tsx +3 -7
- package/src/CondensedButton/props.ts +56 -34
- package/src/IconButton/index.tsx +3 -7
- package/src/IconButton/props.ts +77 -50
- package/src/ToggleButton/index.tsx +8 -15
- package/src/ToggleButton/props.ts +65 -39
- package/tsconfig.build.json +25 -2
- package/tsconfig.build.tsbuildinfo +1 -0
- package/types/BaseButton/BaseButtonLocator.d.ts +57 -56
- package/types/BaseButton/BaseButtonLocator.d.ts.map +1 -1
- package/types/BaseButton/index.d.ts +16 -15
- package/types/BaseButton/index.d.ts.map +1 -1
- package/types/BaseButton/props.d.ts +76 -5
- package/types/BaseButton/props.d.ts.map +1 -1
- package/types/BaseButton/theme.d.ts.map +1 -1
- package/types/Button/ButtonLocator.d.ts +57 -56
- package/types/Button/ButtonLocator.d.ts.map +1 -1
- package/types/Button/index.d.ts +10 -7
- package/types/Button/index.d.ts.map +1 -1
- package/types/Button/locator.d.ts +52 -52
- package/types/Button/props.d.ts +57 -3
- package/types/Button/props.d.ts.map +1 -1
- package/types/CloseButton/CloseButtonLocator.d.ts +52 -52
- package/types/CloseButton/index.d.ts +4 -3
- package/types/CloseButton/index.d.ts.map +1 -1
- package/types/CloseButton/props.d.ts +55 -5
- package/types/CloseButton/props.d.ts.map +1 -1
- package/types/CondensedButton/CondensedButtonLocator.d.ts +57 -56
- package/types/CondensedButton/CondensedButtonLocator.d.ts.map +1 -1
- package/types/CondensedButton/index.d.ts +9 -6
- package/types/CondensedButton/index.d.ts.map +1 -1
- package/types/CondensedButton/props.d.ts +44 -3
- package/types/CondensedButton/props.d.ts.map +1 -1
- package/types/IconButton/IconButtonLocator.d.ts +57 -56
- package/types/IconButton/IconButtonLocator.d.ts.map +1 -1
- package/types/IconButton/index.d.ts +11 -8
- package/types/IconButton/index.d.ts.map +1 -1
- package/types/IconButton/props.d.ts +60 -4
- package/types/IconButton/props.d.ts.map +1 -1
- package/types/ToggleButton/ToggleButtonLocator.d.ts +57 -56
- package/types/ToggleButton/ToggleButtonLocator.d.ts.map +1 -1
- package/types/ToggleButton/index.d.ts +12 -13
- package/types/ToggleButton/index.d.ts.map +1 -1
- package/types/ToggleButton/props.d.ts +52 -4
- package/types/ToggleButton/props.d.ts.map +1 -1
- package/LICENSE.md +0 -27
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { find } from '@instructure/ui-test-queries';
|
|
1
2
|
export declare const BaseButtonLocator: {
|
|
2
3
|
customMethods: {
|
|
3
4
|
click: (element: any, ...args: any[]) => Promise<Event>;
|
|
@@ -15,7 +16,7 @@ export declare const BaseButtonLocator: {
|
|
|
15
16
|
findAllByQuery: typeof import("@instructure/ui-test-queries/src/utils/queries").findAllByQuery;
|
|
16
17
|
findByQuery: typeof import("@instructure/ui-test-queries/src/utils/queries").findByQuery;
|
|
17
18
|
findAll: typeof import("@instructure/ui-test-queries/src/utils/queries").findAll;
|
|
18
|
-
find: typeof
|
|
19
|
+
find: typeof find;
|
|
19
20
|
findAllFrames: typeof import("@instructure/ui-test-queries/src/utils/queries").findAllFrames;
|
|
20
21
|
findFrame: typeof import("@instructure/ui-test-queries/src/utils/queries").findFrame;
|
|
21
22
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
@@ -24,25 +25,15 @@ export declare const BaseButtonLocator: {
|
|
|
24
25
|
toString: (maxLength?: number | undefined, options?: {
|
|
25
26
|
highlight: boolean;
|
|
26
27
|
} | undefined) => string;
|
|
27
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
28
|
-
children: (selector: string) => Element[];
|
|
29
|
-
title: () => string | null | undefined;
|
|
30
|
-
id: () => string;
|
|
31
|
-
tagName: () => string;
|
|
32
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
33
|
-
getBoundingClientRect: () => DOMRect;
|
|
34
|
-
matches: (selector: string | undefined) => boolean;
|
|
35
28
|
visible: () => boolean;
|
|
36
|
-
value: () => string | null;
|
|
37
|
-
disabled: () => string | null;
|
|
38
|
-
role: () => string | null;
|
|
39
|
-
label: () => string | null | undefined;
|
|
40
29
|
getId: () => string;
|
|
41
30
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
42
31
|
getOwnerDocument: () => Document;
|
|
43
32
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
44
33
|
getTagName: () => string;
|
|
34
|
+
tagName: () => string;
|
|
45
35
|
typeIn: (text: string) => Promise<void>;
|
|
36
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
46
37
|
getDOMNode: () => Element;
|
|
47
38
|
node: () => Element;
|
|
48
39
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -52,6 +43,7 @@ export declare const BaseButtonLocator: {
|
|
|
52
43
|
getTextContent: () => string | null;
|
|
53
44
|
getParentNode: () => ParentNode | null;
|
|
54
45
|
parent: () => ParentNode | null;
|
|
46
|
+
getBoundingClientRect: () => DOMRect;
|
|
55
47
|
rect: () => DOMRect;
|
|
56
48
|
hasClass: (classname: string) => boolean;
|
|
57
49
|
containsFocus: () => boolean;
|
|
@@ -63,17 +55,25 @@ export declare const BaseButtonLocator: {
|
|
|
63
55
|
exists: () => boolean;
|
|
64
56
|
text: () => string | null;
|
|
65
57
|
empty: () => boolean;
|
|
58
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
66
59
|
descendants: (selector: string) => Element[];
|
|
67
60
|
ancestors: (selector: string) => ParentNode[];
|
|
68
61
|
attribute: (qualifiedName: string) => string | null;
|
|
69
62
|
style: (property: string) => string;
|
|
70
63
|
classNames: () => string[];
|
|
64
|
+
id: () => string;
|
|
65
|
+
matches: (selector: string | undefined) => boolean;
|
|
71
66
|
checked: () => any;
|
|
72
67
|
selected: () => any;
|
|
68
|
+
disabled: () => string | null;
|
|
73
69
|
readonly: () => any;
|
|
70
|
+
role: () => string | null;
|
|
71
|
+
value: () => string | null;
|
|
72
|
+
label: () => string | null | undefined;
|
|
73
|
+
title: () => string | null | undefined;
|
|
74
|
+
children: (selector: string) => Element[];
|
|
74
75
|
parents: (selector: string) => ParentNode[];
|
|
75
76
|
} & {
|
|
76
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
77
77
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
78
78
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
79
79
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -111,6 +111,7 @@ export declare const BaseButtonLocator: {
|
|
|
111
111
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
112
112
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
113
113
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
114
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
114
115
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
115
116
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
116
117
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -156,7 +157,7 @@ export declare const BaseButtonLocator: {
|
|
|
156
157
|
findAllByQuery: typeof import("@instructure/ui-test-queries/src/utils/queries").findAllByQuery;
|
|
157
158
|
findByQuery: typeof import("@instructure/ui-test-queries/src/utils/queries").findByQuery;
|
|
158
159
|
findAll: typeof import("@instructure/ui-test-queries/src/utils/queries").findAll;
|
|
159
|
-
find: typeof
|
|
160
|
+
find: typeof find;
|
|
160
161
|
findAllFrames: typeof import("@instructure/ui-test-queries/src/utils/queries").findAllFrames;
|
|
161
162
|
findFrame: typeof import("@instructure/ui-test-queries/src/utils/queries").findFrame;
|
|
162
163
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
@@ -165,25 +166,15 @@ export declare const BaseButtonLocator: {
|
|
|
165
166
|
toString: (maxLength?: number | undefined, options?: {
|
|
166
167
|
highlight: boolean;
|
|
167
168
|
} | undefined) => string;
|
|
168
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
169
|
-
children: (selector: string) => Element[];
|
|
170
|
-
title: () => string | null | undefined;
|
|
171
|
-
id: () => string;
|
|
172
|
-
tagName: () => string;
|
|
173
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
174
|
-
getBoundingClientRect: () => DOMRect;
|
|
175
|
-
matches: (selector: string | undefined) => boolean;
|
|
176
169
|
visible: () => boolean;
|
|
177
|
-
value: () => string | null;
|
|
178
|
-
disabled: () => string | null;
|
|
179
|
-
role: () => string | null;
|
|
180
|
-
label: () => string | null | undefined;
|
|
181
170
|
getId: () => string;
|
|
182
171
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
183
172
|
getOwnerDocument: () => Document;
|
|
184
173
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
185
174
|
getTagName: () => string;
|
|
175
|
+
tagName: () => string;
|
|
186
176
|
typeIn: (text: string) => Promise<void>;
|
|
177
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
187
178
|
getDOMNode: () => Element;
|
|
188
179
|
node: () => Element;
|
|
189
180
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -193,6 +184,7 @@ export declare const BaseButtonLocator: {
|
|
|
193
184
|
getTextContent: () => string | null;
|
|
194
185
|
getParentNode: () => ParentNode | null;
|
|
195
186
|
parent: () => ParentNode | null;
|
|
187
|
+
getBoundingClientRect: () => DOMRect;
|
|
196
188
|
rect: () => DOMRect;
|
|
197
189
|
hasClass: (classname: string) => boolean;
|
|
198
190
|
containsFocus: () => boolean;
|
|
@@ -204,17 +196,25 @@ export declare const BaseButtonLocator: {
|
|
|
204
196
|
exists: () => boolean;
|
|
205
197
|
text: () => string | null;
|
|
206
198
|
empty: () => boolean;
|
|
199
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
207
200
|
descendants: (selector: string) => Element[];
|
|
208
201
|
ancestors: (selector: string) => ParentNode[];
|
|
209
202
|
attribute: (qualifiedName: string) => string | null;
|
|
210
203
|
style: (property: string) => string;
|
|
211
204
|
classNames: () => string[];
|
|
205
|
+
id: () => string;
|
|
206
|
+
matches: (selector: string | undefined) => boolean;
|
|
212
207
|
checked: () => any;
|
|
213
208
|
selected: () => any;
|
|
209
|
+
disabled: () => string | null;
|
|
214
210
|
readonly: () => any;
|
|
211
|
+
role: () => string | null;
|
|
212
|
+
value: () => string | null;
|
|
213
|
+
label: () => string | null | undefined;
|
|
214
|
+
title: () => string | null | undefined;
|
|
215
|
+
children: (selector: string) => Element[];
|
|
215
216
|
parents: (selector: string) => ParentNode[];
|
|
216
217
|
} & {
|
|
217
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
218
218
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
219
219
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
220
220
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -252,6 +252,7 @@ export declare const BaseButtonLocator: {
|
|
|
252
252
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
253
253
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
254
254
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
255
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
255
256
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
256
257
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
257
258
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -297,7 +298,7 @@ export declare const BaseButtonLocator: {
|
|
|
297
298
|
findAllByQuery: typeof import("@instructure/ui-test-queries/src/utils/queries").findAllByQuery;
|
|
298
299
|
findByQuery: typeof import("@instructure/ui-test-queries/src/utils/queries").findByQuery;
|
|
299
300
|
findAll: typeof import("@instructure/ui-test-queries/src/utils/queries").findAll;
|
|
300
|
-
find: typeof
|
|
301
|
+
find: typeof find;
|
|
301
302
|
findAllFrames: typeof import("@instructure/ui-test-queries/src/utils/queries").findAllFrames;
|
|
302
303
|
findFrame: typeof import("@instructure/ui-test-queries/src/utils/queries").findFrame;
|
|
303
304
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
@@ -306,25 +307,15 @@ export declare const BaseButtonLocator: {
|
|
|
306
307
|
toString: (maxLength?: number | undefined, options?: {
|
|
307
308
|
highlight: boolean;
|
|
308
309
|
} | undefined) => string;
|
|
309
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
310
|
-
children: (selector: string) => Element[];
|
|
311
|
-
title: () => string | null | undefined;
|
|
312
|
-
id: () => string;
|
|
313
|
-
tagName: () => string;
|
|
314
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
315
|
-
getBoundingClientRect: () => DOMRect;
|
|
316
|
-
matches: (selector: string | undefined) => boolean;
|
|
317
310
|
visible: () => boolean;
|
|
318
|
-
value: () => string | null;
|
|
319
|
-
disabled: () => string | null;
|
|
320
|
-
role: () => string | null;
|
|
321
|
-
label: () => string | null | undefined;
|
|
322
311
|
getId: () => string;
|
|
323
312
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
324
313
|
getOwnerDocument: () => Document;
|
|
325
314
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
326
315
|
getTagName: () => string;
|
|
316
|
+
tagName: () => string;
|
|
327
317
|
typeIn: (text: string) => Promise<void>;
|
|
318
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
328
319
|
getDOMNode: () => Element;
|
|
329
320
|
node: () => Element;
|
|
330
321
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -334,6 +325,7 @@ export declare const BaseButtonLocator: {
|
|
|
334
325
|
getTextContent: () => string | null;
|
|
335
326
|
getParentNode: () => ParentNode | null;
|
|
336
327
|
parent: () => ParentNode | null;
|
|
328
|
+
getBoundingClientRect: () => DOMRect;
|
|
337
329
|
rect: () => DOMRect;
|
|
338
330
|
hasClass: (classname: string) => boolean;
|
|
339
331
|
containsFocus: () => boolean;
|
|
@@ -345,17 +337,25 @@ export declare const BaseButtonLocator: {
|
|
|
345
337
|
exists: () => boolean;
|
|
346
338
|
text: () => string | null;
|
|
347
339
|
empty: () => boolean;
|
|
340
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
348
341
|
descendants: (selector: string) => Element[];
|
|
349
342
|
ancestors: (selector: string) => ParentNode[];
|
|
350
343
|
attribute: (qualifiedName: string) => string | null;
|
|
351
344
|
style: (property: string) => string;
|
|
352
345
|
classNames: () => string[];
|
|
346
|
+
id: () => string;
|
|
347
|
+
matches: (selector: string | undefined) => boolean;
|
|
353
348
|
checked: () => any;
|
|
354
349
|
selected: () => any;
|
|
350
|
+
disabled: () => string | null;
|
|
355
351
|
readonly: () => any;
|
|
352
|
+
role: () => string | null;
|
|
353
|
+
value: () => string | null;
|
|
354
|
+
label: () => string | null | undefined;
|
|
355
|
+
title: () => string | null | undefined;
|
|
356
|
+
children: (selector: string) => Element[];
|
|
356
357
|
parents: (selector: string) => ParentNode[];
|
|
357
358
|
} & {
|
|
358
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
359
359
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
360
360
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
361
361
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -393,6 +393,7 @@ export declare const BaseButtonLocator: {
|
|
|
393
393
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
394
394
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
395
395
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
396
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
396
397
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
397
398
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
398
399
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -438,7 +439,7 @@ export declare const BaseButtonLocator: {
|
|
|
438
439
|
findAllByQuery: typeof import("@instructure/ui-test-queries/src/utils/queries").findAllByQuery;
|
|
439
440
|
findByQuery: typeof import("@instructure/ui-test-queries/src/utils/queries").findByQuery;
|
|
440
441
|
findAll: typeof import("@instructure/ui-test-queries/src/utils/queries").findAll;
|
|
441
|
-
find: typeof
|
|
442
|
+
find: typeof find;
|
|
442
443
|
findAllFrames: typeof import("@instructure/ui-test-queries/src/utils/queries").findAllFrames;
|
|
443
444
|
findFrame: typeof import("@instructure/ui-test-queries/src/utils/queries").findFrame;
|
|
444
445
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
@@ -447,25 +448,15 @@ export declare const BaseButtonLocator: {
|
|
|
447
448
|
toString: (maxLength?: number | undefined, options?: {
|
|
448
449
|
highlight: boolean;
|
|
449
450
|
} | undefined) => string;
|
|
450
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
451
|
-
children: (selector: string) => Element[];
|
|
452
|
-
title: () => string | null | undefined;
|
|
453
|
-
id: () => string;
|
|
454
|
-
tagName: () => string;
|
|
455
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
456
|
-
getBoundingClientRect: () => DOMRect;
|
|
457
|
-
matches: (selector: string | undefined) => boolean;
|
|
458
451
|
visible: () => boolean;
|
|
459
|
-
value: () => string | null;
|
|
460
|
-
disabled: () => string | null;
|
|
461
|
-
role: () => string | null;
|
|
462
|
-
label: () => string | null | undefined;
|
|
463
452
|
getId: () => string;
|
|
464
453
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
465
454
|
getOwnerDocument: () => Document;
|
|
466
455
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
467
456
|
getTagName: () => string;
|
|
457
|
+
tagName: () => string;
|
|
468
458
|
typeIn: (text: string) => Promise<void>;
|
|
459
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
469
460
|
getDOMNode: () => Element;
|
|
470
461
|
node: () => Element;
|
|
471
462
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -475,6 +466,7 @@ export declare const BaseButtonLocator: {
|
|
|
475
466
|
getTextContent: () => string | null;
|
|
476
467
|
getParentNode: () => ParentNode | null;
|
|
477
468
|
parent: () => ParentNode | null;
|
|
469
|
+
getBoundingClientRect: () => DOMRect;
|
|
478
470
|
rect: () => DOMRect;
|
|
479
471
|
hasClass: (classname: string) => boolean;
|
|
480
472
|
containsFocus: () => boolean;
|
|
@@ -486,17 +478,25 @@ export declare const BaseButtonLocator: {
|
|
|
486
478
|
exists: () => boolean;
|
|
487
479
|
text: () => string | null;
|
|
488
480
|
empty: () => boolean;
|
|
481
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
489
482
|
descendants: (selector: string) => Element[];
|
|
490
483
|
ancestors: (selector: string) => ParentNode[];
|
|
491
484
|
attribute: (qualifiedName: string) => string | null;
|
|
492
485
|
style: (property: string) => string;
|
|
493
486
|
classNames: () => string[];
|
|
487
|
+
id: () => string;
|
|
488
|
+
matches: (selector: string | undefined) => boolean;
|
|
494
489
|
checked: () => any;
|
|
495
490
|
selected: () => any;
|
|
491
|
+
disabled: () => string | null;
|
|
496
492
|
readonly: () => any;
|
|
493
|
+
role: () => string | null;
|
|
494
|
+
value: () => string | null;
|
|
495
|
+
label: () => string | null | undefined;
|
|
496
|
+
title: () => string | null | undefined;
|
|
497
|
+
children: (selector: string) => Element[];
|
|
497
498
|
parents: (selector: string) => ParentNode[];
|
|
498
499
|
} & {
|
|
499
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
500
500
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
501
501
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
502
502
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -534,6 +534,7 @@ export declare const BaseButtonLocator: {
|
|
|
534
534
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
535
535
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
536
536
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
537
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
537
538
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
538
539
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
539
540
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseButtonLocator.d.ts","sourceRoot":"","sources":["../../src/BaseButton/BaseButtonLocator.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BaseButtonLocator.d.ts","sourceRoot":"","sources":["../../src/BaseButton/BaseButtonLocator.ts"],"names":[],"mappings":"AAyBA,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAA;AAKnD,eAAO,MAAM,iBAAiB;;yBACL,GAAG,WAAW,GAAG,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAAnB,GAAG,WAAW,GAAG,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAAnB,GAAG,WAAW,GAAG,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAAnB,GAAG,WAAW,GAAG,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAAnB,GAAG,WAAW,GAAG,EAAE;;uIAG1C,CAAA"}
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
|
-
import { Component } from 'react';
|
|
2
|
+
import React, { Component } from 'react';
|
|
3
|
+
import type { ViewProps } from '@instructure/ui-view';
|
|
3
4
|
import { jsx } from '@instructure/emotion';
|
|
4
5
|
import type { BaseButtonProps, BaseButtonStyleProps } from './props';
|
|
5
6
|
/**
|
|
6
7
|
---
|
|
7
8
|
category: components/utilities
|
|
8
9
|
---
|
|
10
|
+
@tsProps
|
|
9
11
|
**/
|
|
10
12
|
declare class BaseButton extends Component<BaseButtonProps> {
|
|
11
13
|
static readonly componentId = "BaseButton";
|
|
12
14
|
static propTypes: import("@instructure/shared-types/types/UtilityTypes").PropValidators<keyof {
|
|
13
|
-
children?:
|
|
15
|
+
children?: React.ReactNode;
|
|
14
16
|
type?: "button" | "submit" | "reset" | undefined;
|
|
15
17
|
size?: "small" | "medium" | "large" | undefined;
|
|
16
18
|
elementRef?: ((element: Element | null) => void) | undefined;
|
|
@@ -27,13 +29,13 @@ declare class BaseButton extends Component<BaseButtonProps> {
|
|
|
27
29
|
margin?: import("@instructure/emotion/types/styleUtils/ThemeablePropValues").Spacing | undefined;
|
|
28
30
|
cursor?: import("@instructure/ui-prop-types/types/cursor").Cursor | undefined;
|
|
29
31
|
href?: string | undefined;
|
|
30
|
-
onClick?: ((
|
|
31
|
-
onKeyDown?: ((
|
|
32
|
-
renderIcon?:
|
|
32
|
+
onClick?: ((event: React.KeyboardEvent<ViewProps> | React.MouseEvent<ViewProps, MouseEvent>) => void) | undefined;
|
|
33
|
+
onKeyDown?: ((event: React.KeyboardEvent<ViewProps>) => void) | undefined;
|
|
34
|
+
renderIcon?: React.ReactNode | (() => React.ReactNode);
|
|
33
35
|
tabIndex?: string | number | undefined;
|
|
34
36
|
}>;
|
|
35
37
|
static allowedProps: readonly (keyof {
|
|
36
|
-
children?:
|
|
38
|
+
children?: React.ReactNode;
|
|
37
39
|
type?: "button" | "submit" | "reset" | undefined;
|
|
38
40
|
size?: "small" | "medium" | "large" | undefined;
|
|
39
41
|
elementRef?: ((element: Element | null) => void) | undefined;
|
|
@@ -50,17 +52,16 @@ declare class BaseButton extends Component<BaseButtonProps> {
|
|
|
50
52
|
margin?: import("@instructure/emotion/types/styleUtils/ThemeablePropValues").Spacing | undefined;
|
|
51
53
|
cursor?: import("@instructure/ui-prop-types/types/cursor").Cursor | undefined;
|
|
52
54
|
href?: string | undefined;
|
|
53
|
-
onClick?: ((
|
|
54
|
-
onKeyDown?: ((
|
|
55
|
-
renderIcon?:
|
|
55
|
+
onClick?: ((event: React.KeyboardEvent<ViewProps> | React.MouseEvent<ViewProps, MouseEvent>) => void) | undefined;
|
|
56
|
+
onKeyDown?: ((event: React.KeyboardEvent<ViewProps>) => void) | undefined;
|
|
57
|
+
renderIcon?: React.ReactNode | (() => React.ReactNode);
|
|
56
58
|
tabIndex?: string | number | undefined;
|
|
57
59
|
})[];
|
|
58
60
|
static defaultProps: {
|
|
59
|
-
readonly children: null;
|
|
60
61
|
readonly type: "button";
|
|
61
62
|
readonly size: "medium";
|
|
62
|
-
readonly elementRef: (el: any) => void;
|
|
63
63
|
readonly as: "button";
|
|
64
|
+
readonly interaction: undefined;
|
|
64
65
|
readonly color: "secondary";
|
|
65
66
|
readonly shape: "rectangle";
|
|
66
67
|
readonly display: "inline-block";
|
|
@@ -70,11 +71,10 @@ declare class BaseButton extends Component<BaseButtonProps> {
|
|
|
70
71
|
readonly isCondensed: false;
|
|
71
72
|
readonly margin: "0";
|
|
72
73
|
readonly cursor: "pointer";
|
|
73
|
-
readonly onKeyDown: (event: any) => void;
|
|
74
74
|
};
|
|
75
75
|
ref: Element | null;
|
|
76
76
|
componentDidMount(): void;
|
|
77
|
-
componentDidUpdate(
|
|
77
|
+
componentDidUpdate(): void;
|
|
78
78
|
get _rootElement(): Element | null;
|
|
79
79
|
get makeStylesVariables(): BaseButtonStyleProps;
|
|
80
80
|
get hasOnlyIconVisible(): boolean;
|
|
@@ -83,12 +83,13 @@ declare class BaseButton extends Component<BaseButtonProps> {
|
|
|
83
83
|
get isDisabled(): boolean;
|
|
84
84
|
get isReadOnly(): boolean;
|
|
85
85
|
get isEnabled(): boolean;
|
|
86
|
+
get tabIndex(): number | undefined;
|
|
86
87
|
get focusColor(): "info" | "inverse";
|
|
87
88
|
get focused(): boolean;
|
|
88
89
|
focus(): void;
|
|
89
90
|
handleElementRef: (el: Element | null) => void;
|
|
90
|
-
handleClick: (event:
|
|
91
|
-
handleKeyDown: (event:
|
|
91
|
+
handleClick: (event: React.MouseEvent<ViewProps>) => void;
|
|
92
|
+
handleKeyDown: (event: React.KeyboardEvent<ViewProps>) => void;
|
|
92
93
|
renderChildren(): jsx.JSX.Element;
|
|
93
94
|
render(): jsx.JSX.Element;
|
|
94
95
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/BaseButton/index.tsx"],"names":[],"mappings":"AAwBA,eAAe;AACf,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/BaseButton/index.tsx"],"names":[],"mappings":"AAwBA,eAAe;AACf,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAcxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAErD,OAAO,EAAa,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAMrD,OAAO,KAAK,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAEpE;;;;;GAKG;AAEH,cAEM,UAAW,SAAQ,SAAS,CAAC,eAAe,CAAC;IACjD,MAAM,CAAC,QAAQ,CAAC,WAAW,gBAAe;IAE1C,MAAM,CAAC,SAAS;;;;;;;;;;;;;;;;;;;;;;OAAY;IAC5B,MAAM,CAAC,YAAY;;;;;;;;;;;;;;;;;;;;;;SAAe;IAClC,MAAM,CAAC,YAAY;;;;;;;;;;;;;;MAeT;IAEV,GAAG,EAAE,OAAO,GAAG,IAAI,CAAO;IAE1B,iBAAiB;IAIjB,kBAAkB;IAIlB,IAAI,YAAY,mBAMf;IAED,IAAI,mBAAmB,IAAI,oBAAoB,CAK9C;IAED,IAAI,kBAAkB,YAGrB;IAED,IAAI,WAAW,wEAEd;IAED,IAAI,WAAW,0DAEd;IAED,IAAI,UAAU,YAEb;IAED,IAAI,UAAU,YAEb;IAED,IAAI,SAAS,YAEZ;IAGD,IAAI,QAAQ,uBAWX;IAED,IAAI,UAAU,uBAiBb;IAED,IAAI,OAAO,YAEV;IAED,KAAK;IAIL,gBAAgB,OAAQ,OAAO,GAAG,IAAI,UAQrC;IAED,WAAW,UAAW,gBAAgB,CAAC,SAAS,CAAC,UAahD;IAED,aAAa,UAAW,mBAAmB,CAAC,SAAS,CAAC,UA0BrD;IAED,cAAc;IAgCd,MAAM;CAyDP;AAED,OAAO,EAAE,UAAU,EAAE,CAAA;AACrB,eAAe,UAAU,CAAA"}
|
|
@@ -1,29 +1,100 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { InteractionType } from '@instructure/ui-react-utils';
|
|
3
3
|
import type { Spacing, WithStyleProps, ComponentStyle } from '@instructure/emotion';
|
|
4
|
-
import type { AsElementType, BaseButtonTheme, OtherHTMLAttributes, PropValidators } from '@instructure/shared-types';
|
|
4
|
+
import type { ToProp, AsElementType, BaseButtonTheme, OtherHTMLAttributes, PropValidators } from '@instructure/shared-types';
|
|
5
5
|
import type { Cursor } from '@instructure/ui-prop-types';
|
|
6
|
+
import type { ViewProps } from '@instructure/ui-view';
|
|
6
7
|
declare type BaseButtonOwnProps = {
|
|
8
|
+
/**
|
|
9
|
+
* Specifies the `Button` children.
|
|
10
|
+
*/
|
|
7
11
|
children?: React.ReactNode;
|
|
12
|
+
/**
|
|
13
|
+
* Specifies the type of the `Button`'s underlying html element.
|
|
14
|
+
*/
|
|
8
15
|
type?: 'button' | 'submit' | 'reset';
|
|
16
|
+
/**
|
|
17
|
+
* The size of the `Button`
|
|
18
|
+
*/
|
|
9
19
|
size?: 'small' | 'medium' | 'large';
|
|
20
|
+
/**
|
|
21
|
+
* Provides a reference to the `Button`'s underlying html element.
|
|
22
|
+
*/
|
|
10
23
|
elementRef?: (element: Element | null) => void;
|
|
24
|
+
/**
|
|
25
|
+
* The element to render as the component root, `Button` by default.
|
|
26
|
+
*/
|
|
11
27
|
as?: AsElementType;
|
|
28
|
+
/**
|
|
29
|
+
* Specifies if interaction with the `Button` is enabled, disabled, or readonly.
|
|
30
|
+
*/
|
|
12
31
|
interaction?: InteractionType;
|
|
32
|
+
/**
|
|
33
|
+
* Specifies the color for the `Button`.
|
|
34
|
+
*/
|
|
13
35
|
color?: 'primary' | 'primary-inverse' | 'secondary' | 'success' | 'danger';
|
|
36
|
+
/**
|
|
37
|
+
* Override the `Button`'s default focus outline color.
|
|
38
|
+
*/
|
|
14
39
|
focusColor?: 'info' | 'inverse';
|
|
40
|
+
/**
|
|
41
|
+
* The `Button` display property. When set to `inline-block`, the `Button` displays inline with other elements.
|
|
42
|
+
* When set to block, the `Button` expands to fill the width of the container.
|
|
43
|
+
*/
|
|
15
44
|
display?: 'inline-block' | 'block';
|
|
45
|
+
/**
|
|
46
|
+
* Sets the alignment of the `Button` children and/or icon.
|
|
47
|
+
*/
|
|
16
48
|
textAlign?: 'start' | 'center';
|
|
49
|
+
/**
|
|
50
|
+
* Specifies if the `Button` shape should be a circle or rectangle.
|
|
51
|
+
*/
|
|
17
52
|
shape?: 'rectangle' | 'circle';
|
|
53
|
+
/**
|
|
54
|
+
* Specifies if the `Button` should render with a solid background. When false, the background is transparent.
|
|
55
|
+
*/
|
|
18
56
|
withBackground?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* Specifies if the `Button` should render with a border.
|
|
59
|
+
*/
|
|
19
60
|
withBorder?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* Designates if the `Button` should render without padding. This option should only be set when `withBorder` and
|
|
63
|
+
* `withBackground` are also set to false.
|
|
64
|
+
*/
|
|
20
65
|
isCondensed?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* Valid values are `0`, `none`, `auto`, `xxx-small`, `xx-small`, `x-small`,
|
|
68
|
+
* `small`, `medium`, `large`, `x-large`, `xx-large`. Apply these values via
|
|
69
|
+
* familiar CSS-like shorthand. For example: `margin="small auto large"`.
|
|
70
|
+
*/
|
|
21
71
|
margin?: Spacing;
|
|
72
|
+
/**
|
|
73
|
+
* Specify a mouse cursor to use when hovering over the button.
|
|
74
|
+
* The `pointer` cursor is used by default.
|
|
75
|
+
*/
|
|
22
76
|
cursor?: Cursor;
|
|
77
|
+
/**
|
|
78
|
+
* Specifies an href attribute for the `Button`'s underlying html element.
|
|
79
|
+
*/
|
|
23
80
|
href?: string;
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
81
|
+
/**
|
|
82
|
+
* Callback fired when the `Button` is clicked.
|
|
83
|
+
*/
|
|
84
|
+
onClick?: (event: React.KeyboardEvent<ViewProps> | React.MouseEvent<ViewProps>) => void;
|
|
85
|
+
/**
|
|
86
|
+
* Callback fired when the `Button` receives a keydown event.
|
|
87
|
+
*/
|
|
88
|
+
onKeyDown?: (event: React.KeyboardEvent<ViewProps>) => void;
|
|
89
|
+
/**
|
|
90
|
+
* An icon, or function that returns an icon.
|
|
91
|
+
*/
|
|
92
|
+
renderIcon?: React.ReactNode | (() => React.ReactNode);
|
|
93
|
+
/**
|
|
94
|
+
* Specifies the tabindex of the `Button`.
|
|
95
|
+
*
|
|
96
|
+
* (`string` type is __deprecated__, use `number`)
|
|
97
|
+
*/
|
|
27
98
|
tabIndex?: number | string;
|
|
28
99
|
};
|
|
29
100
|
declare type BaseButtonStyleProps = {
|
|
@@ -32,7 +103,7 @@ declare type BaseButtonStyleProps = {
|
|
|
32
103
|
};
|
|
33
104
|
declare type PropKeys = keyof BaseButtonOwnProps;
|
|
34
105
|
declare type AllowedPropKeys = Readonly<Array<PropKeys>>;
|
|
35
|
-
declare type BaseButtonProps = BaseButtonOwnProps & WithStyleProps<BaseButtonTheme, BaseButtonStyle> & OtherHTMLAttributes<BaseButtonOwnProps
|
|
106
|
+
declare type BaseButtonProps = BaseButtonOwnProps & WithStyleProps<BaseButtonTheme, BaseButtonStyle> & OtherHTMLAttributes<BaseButtonOwnProps> & ToProp;
|
|
36
107
|
declare type BaseButtonStyle = ComponentStyle<'baseButton' | 'content' | 'children' | 'iconSVG' | 'childrenLayout' | 'iconOnly' | 'iconWrapper' | 'childrenWrapper'>;
|
|
37
108
|
declare const propTypes: PropValidators<PropKeys>;
|
|
38
109
|
declare const allowedProps: AllowedPropKeys;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/BaseButton/props.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAA;AAClE,OAAO,KAAK,EACV,OAAO,EACP,cAAc,EACd,cAAc,EACf,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EACV,aAAa,EACb,eAAe,EACf,mBAAmB,EACnB,cAAc,EACf,MAAM,2BAA2B,CAAA;AAClC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/BaseButton/props.ts"],"names":[],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/BaseButton/theme.ts"],"names":[],"mappings":"AAyBA,OAAO,KAAK,EAAE,KAAK,EAAsB,MAAM,wBAAwB,CAAA;AACvE,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/BaseButton/theme.ts"],"names":[],"mappings":"AAyBA,OAAO,KAAK,EAAE,KAAK,EAAsB,MAAM,wBAAwB,CAAA;AACvE,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAgE3D;;;;GAIG;AACH,QAAA,MAAM,sBAAsB,UAAW,KAAK,KAAG,eAgI9C,CAAA;AAED,eAAe,sBAAsB,CAAA"}
|