@telefonica/mistica 15.5.0 → 15.6.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/css/mistica.css +1 -1
- package/dist/card.d.ts +4 -0
- package/dist/chip.d.ts +3 -20
- package/dist/chip.js +44 -60
- package/dist/community/advanced-data-card.css-mistica.js +13 -16
- package/dist/community/advanced-data-card.css.d.ts +0 -1
- package/dist/community/advanced-data-card.js +25 -26
- package/dist/highlighted-card.d.ts +5 -35
- package/dist/highlighted-card.js +44 -48
- package/dist/icon-button.d.ts +190 -118
- package/dist/icon-button.js +87 -112
- package/dist/image.js +2 -1
- package/dist/list.d.ts +15 -21
- package/dist/list.js +188 -183
- package/dist/logo.d.ts +4 -23
- package/dist/logo.js +42 -67
- package/dist/package-version.js +1 -1
- package/dist/text-link.d.ts +2 -21
- package/dist/text-link.js +16 -15
- package/dist/text.js +45 -44
- package/dist/touchable.d.ts +18 -48
- package/dist-es/chip.js +68 -84
- package/dist-es/community/advanced-data-card.css-mistica.js +6 -6
- package/dist-es/community/advanced-data-card.js +69 -70
- package/dist-es/highlighted-card.js +61 -65
- package/dist-es/icon-button.js +97 -122
- package/dist-es/image.js +2 -1
- package/dist-es/list.js +248 -243
- package/dist-es/logo.js +80 -105
- package/dist-es/package-version.js +1 -1
- package/dist-es/style.css +1 -1
- package/dist-es/text-link.js +25 -24
- package/dist-es/text.js +59 -58
- package/package.json +1 -1
package/dist/icon-button.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import type { TouchableElement } from './touchable';
|
|
2
|
+
import type { TouchableElement, TouchableComponentProps } from './touchable';
|
|
3
3
|
import type { ExclusifyUnion } from './utils/utility-types';
|
|
4
4
|
import type { DataAttributes, IconProps, TrackingEvent } from './utils/types';
|
|
5
5
|
interface HrefProps {
|
|
@@ -86,7 +86,7 @@ interface InternalIconButtonBaseProps {
|
|
|
86
86
|
isOverMedia?: boolean;
|
|
87
87
|
hasOverlay?: boolean;
|
|
88
88
|
}
|
|
89
|
-
export type IconButtonProps = BaseProps & IconButtonBaseProps &
|
|
89
|
+
export type IconButtonProps = TouchableComponentProps<BaseProps & IconButtonBaseProps & AriaProps>;
|
|
90
90
|
export declare const RawIconButton: React.ForwardRefExoticComponent<(IconButtonProps & InternalIconButtonBaseProps) & React.RefAttributes<TouchableElement>>;
|
|
91
91
|
export declare const InternalIconButton: React.ForwardRefExoticComponent<({
|
|
92
92
|
children?: React.ReactNode;
|
|
@@ -108,16 +108,19 @@ export declare const InternalIconButton: React.ForwardRefExoticComponent<({
|
|
|
108
108
|
onPress?: undefined;
|
|
109
109
|
fullPageOnWebView?: undefined;
|
|
110
110
|
small?: undefined;
|
|
111
|
+
role?: undefined;
|
|
111
112
|
type?: undefined;
|
|
113
|
+
loadOnTop?: undefined;
|
|
114
|
+
onNavigate?: undefined;
|
|
112
115
|
"aria-labelledby"?: undefined;
|
|
113
|
-
|
|
114
|
-
isOverMedia?: undefined;
|
|
115
|
-
hasOverlay?: undefined;
|
|
116
|
-
Icon?: undefined;
|
|
116
|
+
showSpinner?: undefined;
|
|
117
117
|
bleedLeft?: undefined;
|
|
118
118
|
bleedRight?: undefined;
|
|
119
119
|
bleedY?: undefined;
|
|
120
|
-
|
|
120
|
+
Icon?: undefined;
|
|
121
|
+
backgroundType?: undefined;
|
|
122
|
+
isOverMedia?: undefined;
|
|
123
|
+
hasOverlay?: undefined;
|
|
121
124
|
} | {
|
|
122
125
|
children?: React.ReactNode;
|
|
123
126
|
className?: string | undefined;
|
|
@@ -138,16 +141,19 @@ export declare const InternalIconButton: React.ForwardRefExoticComponent<({
|
|
|
138
141
|
href?: undefined;
|
|
139
142
|
onPress?: undefined;
|
|
140
143
|
small?: undefined;
|
|
144
|
+
role?: undefined;
|
|
141
145
|
type?: undefined;
|
|
146
|
+
loadOnTop?: undefined;
|
|
147
|
+
onNavigate?: undefined;
|
|
142
148
|
"aria-labelledby"?: undefined;
|
|
143
|
-
|
|
144
|
-
isOverMedia?: undefined;
|
|
145
|
-
hasOverlay?: undefined;
|
|
146
|
-
Icon?: undefined;
|
|
149
|
+
showSpinner?: undefined;
|
|
147
150
|
bleedLeft?: undefined;
|
|
148
151
|
bleedRight?: undefined;
|
|
149
152
|
bleedY?: undefined;
|
|
150
|
-
|
|
153
|
+
Icon?: undefined;
|
|
154
|
+
backgroundType?: undefined;
|
|
155
|
+
isOverMedia?: undefined;
|
|
156
|
+
hasOverlay?: undefined;
|
|
151
157
|
} | {
|
|
152
158
|
children?: React.ReactNode;
|
|
153
159
|
className?: string | undefined;
|
|
@@ -168,16 +174,19 @@ export declare const InternalIconButton: React.ForwardRefExoticComponent<({
|
|
|
168
174
|
href?: undefined;
|
|
169
175
|
fullPageOnWebView?: undefined;
|
|
170
176
|
small?: undefined;
|
|
177
|
+
role?: undefined;
|
|
171
178
|
type?: undefined;
|
|
179
|
+
loadOnTop?: undefined;
|
|
180
|
+
onNavigate?: undefined;
|
|
172
181
|
"aria-labelledby"?: undefined;
|
|
173
|
-
|
|
174
|
-
isOverMedia?: undefined;
|
|
175
|
-
hasOverlay?: undefined;
|
|
176
|
-
Icon?: undefined;
|
|
182
|
+
showSpinner?: undefined;
|
|
177
183
|
bleedLeft?: undefined;
|
|
178
184
|
bleedRight?: undefined;
|
|
179
185
|
bleedY?: undefined;
|
|
180
|
-
|
|
186
|
+
Icon?: undefined;
|
|
187
|
+
backgroundType?: undefined;
|
|
188
|
+
isOverMedia?: undefined;
|
|
189
|
+
hasOverlay?: undefined;
|
|
181
190
|
} | {
|
|
182
191
|
children?: React.ReactNode;
|
|
183
192
|
className?: string | undefined;
|
|
@@ -198,16 +207,19 @@ export declare const InternalIconButton: React.ForwardRefExoticComponent<({
|
|
|
198
207
|
replace?: undefined;
|
|
199
208
|
fullPageOnWebView?: undefined;
|
|
200
209
|
small?: undefined;
|
|
210
|
+
role?: undefined;
|
|
201
211
|
type?: undefined;
|
|
212
|
+
loadOnTop?: undefined;
|
|
213
|
+
onNavigate?: undefined;
|
|
202
214
|
"aria-labelledby"?: undefined;
|
|
203
|
-
|
|
204
|
-
isOverMedia?: undefined;
|
|
205
|
-
hasOverlay?: undefined;
|
|
206
|
-
Icon?: undefined;
|
|
215
|
+
showSpinner?: undefined;
|
|
207
216
|
bleedLeft?: undefined;
|
|
208
217
|
bleedRight?: undefined;
|
|
209
218
|
bleedY?: undefined;
|
|
210
|
-
|
|
219
|
+
Icon?: undefined;
|
|
220
|
+
backgroundType?: undefined;
|
|
221
|
+
isOverMedia?: undefined;
|
|
222
|
+
hasOverlay?: undefined;
|
|
211
223
|
} | {
|
|
212
224
|
children?: undefined;
|
|
213
225
|
trackingEvent?: TrackingEvent | readonly TrackingEvent[] | undefined;
|
|
@@ -221,14 +233,17 @@ export declare const InternalIconButton: React.ForwardRefExoticComponent<({
|
|
|
221
233
|
Icon: React.FC<IconProps>;
|
|
222
234
|
type?: IconButtonType | undefined;
|
|
223
235
|
backgroundType?: IconButtonBackgroundType | undefined;
|
|
224
|
-
|
|
225
|
-
|
|
236
|
+
'aria-label': string;
|
|
237
|
+
"aria-labelledby"?: undefined;
|
|
226
238
|
replace?: undefined;
|
|
227
239
|
to?: undefined;
|
|
240
|
+
href?: undefined;
|
|
228
241
|
onPress?: undefined;
|
|
242
|
+
newTab?: undefined;
|
|
243
|
+
loadOnTop?: undefined;
|
|
244
|
+
onNavigate?: undefined;
|
|
229
245
|
fullPageOnWebView?: undefined;
|
|
230
|
-
|
|
231
|
-
"aria-labelledby"?: undefined;
|
|
246
|
+
role?: string | undefined;
|
|
232
247
|
isOverMedia?: boolean | undefined;
|
|
233
248
|
hasOverlay?: boolean | undefined;
|
|
234
249
|
backgroundColor?: undefined;
|
|
@@ -251,14 +266,17 @@ export declare const InternalIconButton: React.ForwardRefExoticComponent<({
|
|
|
251
266
|
Icon: React.FC<IconProps>;
|
|
252
267
|
type?: IconButtonType | undefined;
|
|
253
268
|
backgroundType?: IconButtonBackgroundType | undefined;
|
|
254
|
-
|
|
255
|
-
|
|
269
|
+
'aria-labelledby': string;
|
|
270
|
+
'aria-label'?: undefined;
|
|
256
271
|
replace?: undefined;
|
|
257
272
|
to?: undefined;
|
|
273
|
+
href?: undefined;
|
|
258
274
|
onPress?: undefined;
|
|
275
|
+
newTab?: undefined;
|
|
276
|
+
loadOnTop?: undefined;
|
|
277
|
+
onNavigate?: undefined;
|
|
259
278
|
fullPageOnWebView?: undefined;
|
|
260
|
-
|
|
261
|
-
"aria-label"?: undefined;
|
|
279
|
+
role?: string | undefined;
|
|
262
280
|
isOverMedia?: boolean | undefined;
|
|
263
281
|
hasOverlay?: boolean | undefined;
|
|
264
282
|
backgroundColor?: undefined;
|
|
@@ -269,6 +287,7 @@ export declare const InternalIconButton: React.ForwardRefExoticComponent<({
|
|
|
269
287
|
"aria-live"?: undefined;
|
|
270
288
|
iconSize?: undefined;
|
|
271
289
|
} | {
|
|
290
|
+
onPress: import("./touchable").PressHandler;
|
|
272
291
|
children?: undefined;
|
|
273
292
|
trackingEvent?: TrackingEvent | readonly TrackingEvent[] | undefined;
|
|
274
293
|
dataAttributes?: DataAttributes | undefined;
|
|
@@ -281,14 +300,16 @@ export declare const InternalIconButton: React.ForwardRefExoticComponent<({
|
|
|
281
300
|
Icon: React.FC<IconProps>;
|
|
282
301
|
type?: IconButtonType | undefined;
|
|
283
302
|
backgroundType?: IconButtonBackgroundType | undefined;
|
|
284
|
-
to: string;
|
|
285
|
-
fullPageOnWebView?: boolean | undefined;
|
|
286
|
-
replace?: boolean | undefined;
|
|
287
|
-
href?: undefined;
|
|
288
|
-
newTab?: undefined;
|
|
289
|
-
onPress?: undefined;
|
|
290
303
|
'aria-label': string;
|
|
291
304
|
"aria-labelledby"?: undefined;
|
|
305
|
+
replace?: undefined;
|
|
306
|
+
to?: undefined;
|
|
307
|
+
href?: undefined;
|
|
308
|
+
newTab?: undefined;
|
|
309
|
+
loadOnTop?: undefined;
|
|
310
|
+
onNavigate?: undefined;
|
|
311
|
+
fullPageOnWebView?: undefined;
|
|
312
|
+
role?: string | undefined;
|
|
292
313
|
isOverMedia?: boolean | undefined;
|
|
293
314
|
hasOverlay?: boolean | undefined;
|
|
294
315
|
backgroundColor?: undefined;
|
|
@@ -299,6 +320,7 @@ export declare const InternalIconButton: React.ForwardRefExoticComponent<({
|
|
|
299
320
|
"aria-live"?: undefined;
|
|
300
321
|
iconSize?: undefined;
|
|
301
322
|
} | {
|
|
323
|
+
onPress: import("./touchable").PressHandler;
|
|
302
324
|
children?: undefined;
|
|
303
325
|
trackingEvent?: TrackingEvent | readonly TrackingEvent[] | undefined;
|
|
304
326
|
dataAttributes?: DataAttributes | undefined;
|
|
@@ -311,14 +333,16 @@ export declare const InternalIconButton: React.ForwardRefExoticComponent<({
|
|
|
311
333
|
Icon: React.FC<IconProps>;
|
|
312
334
|
type?: IconButtonType | undefined;
|
|
313
335
|
backgroundType?: IconButtonBackgroundType | undefined;
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
replace?:
|
|
336
|
+
'aria-labelledby': string;
|
|
337
|
+
'aria-label'?: undefined;
|
|
338
|
+
replace?: undefined;
|
|
339
|
+
to?: undefined;
|
|
317
340
|
href?: undefined;
|
|
318
341
|
newTab?: undefined;
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
342
|
+
loadOnTop?: undefined;
|
|
343
|
+
onNavigate?: undefined;
|
|
344
|
+
fullPageOnWebView?: undefined;
|
|
345
|
+
role?: string | undefined;
|
|
322
346
|
isOverMedia?: boolean | undefined;
|
|
323
347
|
hasOverlay?: boolean | undefined;
|
|
324
348
|
backgroundColor?: undefined;
|
|
@@ -329,6 +353,10 @@ export declare const InternalIconButton: React.ForwardRefExoticComponent<({
|
|
|
329
353
|
"aria-live"?: undefined;
|
|
330
354
|
iconSize?: undefined;
|
|
331
355
|
} | {
|
|
356
|
+
href: string;
|
|
357
|
+
newTab?: boolean | undefined;
|
|
358
|
+
loadOnTop?: boolean | undefined;
|
|
359
|
+
onNavigate?: (() => void | Promise<void>) | undefined;
|
|
332
360
|
children?: undefined;
|
|
333
361
|
trackingEvent?: TrackingEvent | readonly TrackingEvent[] | undefined;
|
|
334
362
|
dataAttributes?: DataAttributes | undefined;
|
|
@@ -341,14 +369,13 @@ export declare const InternalIconButton: React.ForwardRefExoticComponent<({
|
|
|
341
369
|
Icon: React.FC<IconProps>;
|
|
342
370
|
type?: IconButtonType | undefined;
|
|
343
371
|
backgroundType?: IconButtonBackgroundType | undefined;
|
|
344
|
-
|
|
372
|
+
'aria-label': string;
|
|
373
|
+
"aria-labelledby"?: undefined;
|
|
345
374
|
replace?: undefined;
|
|
346
375
|
to?: undefined;
|
|
347
|
-
|
|
348
|
-
newTab?: undefined;
|
|
376
|
+
onPress?: undefined;
|
|
349
377
|
fullPageOnWebView?: undefined;
|
|
350
|
-
|
|
351
|
-
"aria-labelledby"?: undefined;
|
|
378
|
+
role?: string | undefined;
|
|
352
379
|
isOverMedia?: boolean | undefined;
|
|
353
380
|
hasOverlay?: boolean | undefined;
|
|
354
381
|
backgroundColor?: undefined;
|
|
@@ -359,6 +386,10 @@ export declare const InternalIconButton: React.ForwardRefExoticComponent<({
|
|
|
359
386
|
"aria-live"?: undefined;
|
|
360
387
|
iconSize?: undefined;
|
|
361
388
|
} | {
|
|
389
|
+
href: string;
|
|
390
|
+
newTab?: boolean | undefined;
|
|
391
|
+
loadOnTop?: boolean | undefined;
|
|
392
|
+
onNavigate?: (() => void | Promise<void>) | undefined;
|
|
362
393
|
children?: undefined;
|
|
363
394
|
trackingEvent?: TrackingEvent | readonly TrackingEvent[] | undefined;
|
|
364
395
|
dataAttributes?: DataAttributes | undefined;
|
|
@@ -371,14 +402,13 @@ export declare const InternalIconButton: React.ForwardRefExoticComponent<({
|
|
|
371
402
|
Icon: React.FC<IconProps>;
|
|
372
403
|
type?: IconButtonType | undefined;
|
|
373
404
|
backgroundType?: IconButtonBackgroundType | undefined;
|
|
374
|
-
|
|
405
|
+
'aria-labelledby': string;
|
|
406
|
+
'aria-label'?: undefined;
|
|
375
407
|
replace?: undefined;
|
|
376
408
|
to?: undefined;
|
|
377
|
-
|
|
378
|
-
newTab?: undefined;
|
|
409
|
+
onPress?: undefined;
|
|
379
410
|
fullPageOnWebView?: undefined;
|
|
380
|
-
|
|
381
|
-
"aria-label"?: undefined;
|
|
411
|
+
role?: string | undefined;
|
|
382
412
|
isOverMedia?: boolean | undefined;
|
|
383
413
|
hasOverlay?: boolean | undefined;
|
|
384
414
|
backgroundColor?: undefined;
|
|
@@ -389,6 +419,10 @@ export declare const InternalIconButton: React.ForwardRefExoticComponent<({
|
|
|
389
419
|
"aria-live"?: undefined;
|
|
390
420
|
iconSize?: undefined;
|
|
391
421
|
} | {
|
|
422
|
+
to: string | import("history").Location;
|
|
423
|
+
fullPageOnWebView?: boolean | undefined;
|
|
424
|
+
replace?: boolean | undefined;
|
|
425
|
+
onNavigate?: (() => void | Promise<void>) | undefined;
|
|
392
426
|
children?: undefined;
|
|
393
427
|
trackingEvent?: TrackingEvent | readonly TrackingEvent[] | undefined;
|
|
394
428
|
dataAttributes?: DataAttributes | undefined;
|
|
@@ -401,14 +435,13 @@ export declare const InternalIconButton: React.ForwardRefExoticComponent<({
|
|
|
401
435
|
Icon: React.FC<IconProps>;
|
|
402
436
|
type?: IconButtonType | undefined;
|
|
403
437
|
backgroundType?: IconButtonBackgroundType | undefined;
|
|
404
|
-
onPress?: undefined;
|
|
405
|
-
href?: undefined;
|
|
406
|
-
to?: undefined;
|
|
407
|
-
replace?: undefined;
|
|
408
|
-
newTab?: undefined;
|
|
409
|
-
fullPageOnWebView?: undefined;
|
|
410
438
|
'aria-label': string;
|
|
411
439
|
"aria-labelledby"?: undefined;
|
|
440
|
+
href?: undefined;
|
|
441
|
+
onPress?: undefined;
|
|
442
|
+
newTab?: undefined;
|
|
443
|
+
loadOnTop?: undefined;
|
|
444
|
+
role?: string | undefined;
|
|
412
445
|
isOverMedia?: boolean | undefined;
|
|
413
446
|
hasOverlay?: boolean | undefined;
|
|
414
447
|
backgroundColor?: undefined;
|
|
@@ -419,6 +452,10 @@ export declare const InternalIconButton: React.ForwardRefExoticComponent<({
|
|
|
419
452
|
"aria-live"?: undefined;
|
|
420
453
|
iconSize?: undefined;
|
|
421
454
|
} | {
|
|
455
|
+
to: string | import("history").Location;
|
|
456
|
+
fullPageOnWebView?: boolean | undefined;
|
|
457
|
+
replace?: boolean | undefined;
|
|
458
|
+
onNavigate?: (() => void | Promise<void>) | undefined;
|
|
422
459
|
children?: undefined;
|
|
423
460
|
trackingEvent?: TrackingEvent | readonly TrackingEvent[] | undefined;
|
|
424
461
|
dataAttributes?: DataAttributes | undefined;
|
|
@@ -431,14 +468,13 @@ export declare const InternalIconButton: React.ForwardRefExoticComponent<({
|
|
|
431
468
|
Icon: React.FC<IconProps>;
|
|
432
469
|
type?: IconButtonType | undefined;
|
|
433
470
|
backgroundType?: IconButtonBackgroundType | undefined;
|
|
434
|
-
|
|
471
|
+
'aria-labelledby': string;
|
|
472
|
+
'aria-label'?: undefined;
|
|
435
473
|
href?: undefined;
|
|
436
|
-
|
|
437
|
-
replace?: undefined;
|
|
474
|
+
onPress?: undefined;
|
|
438
475
|
newTab?: undefined;
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
"aria-label"?: undefined;
|
|
476
|
+
loadOnTop?: undefined;
|
|
477
|
+
role?: string | undefined;
|
|
442
478
|
isOverMedia?: boolean | undefined;
|
|
443
479
|
hasOverlay?: boolean | undefined;
|
|
444
480
|
backgroundColor?: undefined;
|
|
@@ -469,14 +505,17 @@ export declare const IconButton: React.ForwardRefExoticComponent<({
|
|
|
469
505
|
onPress?: undefined;
|
|
470
506
|
fullPageOnWebView?: undefined;
|
|
471
507
|
small?: undefined;
|
|
508
|
+
role?: undefined;
|
|
472
509
|
type?: undefined;
|
|
510
|
+
loadOnTop?: undefined;
|
|
511
|
+
onNavigate?: undefined;
|
|
473
512
|
"aria-labelledby"?: undefined;
|
|
474
|
-
|
|
475
|
-
Icon?: undefined;
|
|
513
|
+
showSpinner?: undefined;
|
|
476
514
|
bleedLeft?: undefined;
|
|
477
515
|
bleedRight?: undefined;
|
|
478
516
|
bleedY?: undefined;
|
|
479
|
-
|
|
517
|
+
Icon?: undefined;
|
|
518
|
+
backgroundType?: undefined;
|
|
480
519
|
} | {
|
|
481
520
|
children?: React.ReactNode;
|
|
482
521
|
className?: string | undefined;
|
|
@@ -497,14 +536,17 @@ export declare const IconButton: React.ForwardRefExoticComponent<({
|
|
|
497
536
|
href?: undefined;
|
|
498
537
|
onPress?: undefined;
|
|
499
538
|
small?: undefined;
|
|
539
|
+
role?: undefined;
|
|
500
540
|
type?: undefined;
|
|
541
|
+
loadOnTop?: undefined;
|
|
542
|
+
onNavigate?: undefined;
|
|
501
543
|
"aria-labelledby"?: undefined;
|
|
502
|
-
|
|
503
|
-
Icon?: undefined;
|
|
544
|
+
showSpinner?: undefined;
|
|
504
545
|
bleedLeft?: undefined;
|
|
505
546
|
bleedRight?: undefined;
|
|
506
547
|
bleedY?: undefined;
|
|
507
|
-
|
|
548
|
+
Icon?: undefined;
|
|
549
|
+
backgroundType?: undefined;
|
|
508
550
|
} | {
|
|
509
551
|
children?: React.ReactNode;
|
|
510
552
|
className?: string | undefined;
|
|
@@ -525,14 +567,17 @@ export declare const IconButton: React.ForwardRefExoticComponent<({
|
|
|
525
567
|
href?: undefined;
|
|
526
568
|
fullPageOnWebView?: undefined;
|
|
527
569
|
small?: undefined;
|
|
570
|
+
role?: undefined;
|
|
528
571
|
type?: undefined;
|
|
572
|
+
loadOnTop?: undefined;
|
|
573
|
+
onNavigate?: undefined;
|
|
529
574
|
"aria-labelledby"?: undefined;
|
|
530
|
-
|
|
531
|
-
Icon?: undefined;
|
|
575
|
+
showSpinner?: undefined;
|
|
532
576
|
bleedLeft?: undefined;
|
|
533
577
|
bleedRight?: undefined;
|
|
534
578
|
bleedY?: undefined;
|
|
535
|
-
|
|
579
|
+
Icon?: undefined;
|
|
580
|
+
backgroundType?: undefined;
|
|
536
581
|
} | {
|
|
537
582
|
children?: React.ReactNode;
|
|
538
583
|
className?: string | undefined;
|
|
@@ -553,14 +598,17 @@ export declare const IconButton: React.ForwardRefExoticComponent<({
|
|
|
553
598
|
replace?: undefined;
|
|
554
599
|
fullPageOnWebView?: undefined;
|
|
555
600
|
small?: undefined;
|
|
601
|
+
role?: undefined;
|
|
556
602
|
type?: undefined;
|
|
603
|
+
loadOnTop?: undefined;
|
|
604
|
+
onNavigate?: undefined;
|
|
557
605
|
"aria-labelledby"?: undefined;
|
|
558
|
-
|
|
559
|
-
Icon?: undefined;
|
|
606
|
+
showSpinner?: undefined;
|
|
560
607
|
bleedLeft?: undefined;
|
|
561
608
|
bleedRight?: undefined;
|
|
562
609
|
bleedY?: undefined;
|
|
563
|
-
|
|
610
|
+
Icon?: undefined;
|
|
611
|
+
backgroundType?: undefined;
|
|
564
612
|
} | {
|
|
565
613
|
children?: undefined;
|
|
566
614
|
trackingEvent?: TrackingEvent | readonly TrackingEvent[] | undefined;
|
|
@@ -574,14 +622,17 @@ export declare const IconButton: React.ForwardRefExoticComponent<({
|
|
|
574
622
|
Icon: React.FC<IconProps>;
|
|
575
623
|
type?: IconButtonType | undefined;
|
|
576
624
|
backgroundType?: IconButtonBackgroundType | undefined;
|
|
577
|
-
|
|
578
|
-
|
|
625
|
+
'aria-label': string;
|
|
626
|
+
"aria-labelledby"?: undefined;
|
|
579
627
|
replace?: undefined;
|
|
580
628
|
to?: undefined;
|
|
629
|
+
href?: undefined;
|
|
581
630
|
onPress?: undefined;
|
|
631
|
+
newTab?: undefined;
|
|
632
|
+
loadOnTop?: undefined;
|
|
633
|
+
onNavigate?: undefined;
|
|
582
634
|
fullPageOnWebView?: undefined;
|
|
583
|
-
|
|
584
|
-
"aria-labelledby"?: undefined;
|
|
635
|
+
role?: string | undefined;
|
|
585
636
|
backgroundColor?: undefined;
|
|
586
637
|
size?: undefined;
|
|
587
638
|
style?: undefined;
|
|
@@ -602,14 +653,17 @@ export declare const IconButton: React.ForwardRefExoticComponent<({
|
|
|
602
653
|
Icon: React.FC<IconProps>;
|
|
603
654
|
type?: IconButtonType | undefined;
|
|
604
655
|
backgroundType?: IconButtonBackgroundType | undefined;
|
|
605
|
-
|
|
606
|
-
|
|
656
|
+
'aria-labelledby': string;
|
|
657
|
+
'aria-label'?: undefined;
|
|
607
658
|
replace?: undefined;
|
|
608
659
|
to?: undefined;
|
|
660
|
+
href?: undefined;
|
|
609
661
|
onPress?: undefined;
|
|
662
|
+
newTab?: undefined;
|
|
663
|
+
loadOnTop?: undefined;
|
|
664
|
+
onNavigate?: undefined;
|
|
610
665
|
fullPageOnWebView?: undefined;
|
|
611
|
-
|
|
612
|
-
"aria-label"?: undefined;
|
|
666
|
+
role?: string | undefined;
|
|
613
667
|
backgroundColor?: undefined;
|
|
614
668
|
size?: undefined;
|
|
615
669
|
style?: undefined;
|
|
@@ -618,6 +672,7 @@ export declare const IconButton: React.ForwardRefExoticComponent<({
|
|
|
618
672
|
"aria-live"?: undefined;
|
|
619
673
|
iconSize?: undefined;
|
|
620
674
|
} | {
|
|
675
|
+
onPress: import("./touchable").PressHandler;
|
|
621
676
|
children?: undefined;
|
|
622
677
|
trackingEvent?: TrackingEvent | readonly TrackingEvent[] | undefined;
|
|
623
678
|
dataAttributes?: DataAttributes | undefined;
|
|
@@ -630,14 +685,16 @@ export declare const IconButton: React.ForwardRefExoticComponent<({
|
|
|
630
685
|
Icon: React.FC<IconProps>;
|
|
631
686
|
type?: IconButtonType | undefined;
|
|
632
687
|
backgroundType?: IconButtonBackgroundType | undefined;
|
|
633
|
-
to: string;
|
|
634
|
-
fullPageOnWebView?: boolean | undefined;
|
|
635
|
-
replace?: boolean | undefined;
|
|
636
|
-
href?: undefined;
|
|
637
|
-
newTab?: undefined;
|
|
638
|
-
onPress?: undefined;
|
|
639
688
|
'aria-label': string;
|
|
640
689
|
"aria-labelledby"?: undefined;
|
|
690
|
+
replace?: undefined;
|
|
691
|
+
to?: undefined;
|
|
692
|
+
href?: undefined;
|
|
693
|
+
newTab?: undefined;
|
|
694
|
+
loadOnTop?: undefined;
|
|
695
|
+
onNavigate?: undefined;
|
|
696
|
+
fullPageOnWebView?: undefined;
|
|
697
|
+
role?: string | undefined;
|
|
641
698
|
backgroundColor?: undefined;
|
|
642
699
|
size?: undefined;
|
|
643
700
|
style?: undefined;
|
|
@@ -646,6 +703,7 @@ export declare const IconButton: React.ForwardRefExoticComponent<({
|
|
|
646
703
|
"aria-live"?: undefined;
|
|
647
704
|
iconSize?: undefined;
|
|
648
705
|
} | {
|
|
706
|
+
onPress: import("./touchable").PressHandler;
|
|
649
707
|
children?: undefined;
|
|
650
708
|
trackingEvent?: TrackingEvent | readonly TrackingEvent[] | undefined;
|
|
651
709
|
dataAttributes?: DataAttributes | undefined;
|
|
@@ -658,14 +716,16 @@ export declare const IconButton: React.ForwardRefExoticComponent<({
|
|
|
658
716
|
Icon: React.FC<IconProps>;
|
|
659
717
|
type?: IconButtonType | undefined;
|
|
660
718
|
backgroundType?: IconButtonBackgroundType | undefined;
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
replace?:
|
|
719
|
+
'aria-labelledby': string;
|
|
720
|
+
'aria-label'?: undefined;
|
|
721
|
+
replace?: undefined;
|
|
722
|
+
to?: undefined;
|
|
664
723
|
href?: undefined;
|
|
665
724
|
newTab?: undefined;
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
725
|
+
loadOnTop?: undefined;
|
|
726
|
+
onNavigate?: undefined;
|
|
727
|
+
fullPageOnWebView?: undefined;
|
|
728
|
+
role?: string | undefined;
|
|
669
729
|
backgroundColor?: undefined;
|
|
670
730
|
size?: undefined;
|
|
671
731
|
style?: undefined;
|
|
@@ -674,6 +734,10 @@ export declare const IconButton: React.ForwardRefExoticComponent<({
|
|
|
674
734
|
"aria-live"?: undefined;
|
|
675
735
|
iconSize?: undefined;
|
|
676
736
|
} | {
|
|
737
|
+
href: string;
|
|
738
|
+
newTab?: boolean | undefined;
|
|
739
|
+
loadOnTop?: boolean | undefined;
|
|
740
|
+
onNavigate?: (() => void | Promise<void>) | undefined;
|
|
677
741
|
children?: undefined;
|
|
678
742
|
trackingEvent?: TrackingEvent | readonly TrackingEvent[] | undefined;
|
|
679
743
|
dataAttributes?: DataAttributes | undefined;
|
|
@@ -686,14 +750,13 @@ export declare const IconButton: React.ForwardRefExoticComponent<({
|
|
|
686
750
|
Icon: React.FC<IconProps>;
|
|
687
751
|
type?: IconButtonType | undefined;
|
|
688
752
|
backgroundType?: IconButtonBackgroundType | undefined;
|
|
689
|
-
|
|
753
|
+
'aria-label': string;
|
|
754
|
+
"aria-labelledby"?: undefined;
|
|
690
755
|
replace?: undefined;
|
|
691
756
|
to?: undefined;
|
|
692
|
-
|
|
693
|
-
newTab?: undefined;
|
|
757
|
+
onPress?: undefined;
|
|
694
758
|
fullPageOnWebView?: undefined;
|
|
695
|
-
|
|
696
|
-
"aria-labelledby"?: undefined;
|
|
759
|
+
role?: string | undefined;
|
|
697
760
|
backgroundColor?: undefined;
|
|
698
761
|
size?: undefined;
|
|
699
762
|
style?: undefined;
|
|
@@ -702,6 +765,10 @@ export declare const IconButton: React.ForwardRefExoticComponent<({
|
|
|
702
765
|
"aria-live"?: undefined;
|
|
703
766
|
iconSize?: undefined;
|
|
704
767
|
} | {
|
|
768
|
+
href: string;
|
|
769
|
+
newTab?: boolean | undefined;
|
|
770
|
+
loadOnTop?: boolean | undefined;
|
|
771
|
+
onNavigate?: (() => void | Promise<void>) | undefined;
|
|
705
772
|
children?: undefined;
|
|
706
773
|
trackingEvent?: TrackingEvent | readonly TrackingEvent[] | undefined;
|
|
707
774
|
dataAttributes?: DataAttributes | undefined;
|
|
@@ -714,14 +781,13 @@ export declare const IconButton: React.ForwardRefExoticComponent<({
|
|
|
714
781
|
Icon: React.FC<IconProps>;
|
|
715
782
|
type?: IconButtonType | undefined;
|
|
716
783
|
backgroundType?: IconButtonBackgroundType | undefined;
|
|
717
|
-
|
|
784
|
+
'aria-labelledby': string;
|
|
785
|
+
'aria-label'?: undefined;
|
|
718
786
|
replace?: undefined;
|
|
719
787
|
to?: undefined;
|
|
720
|
-
|
|
721
|
-
newTab?: undefined;
|
|
788
|
+
onPress?: undefined;
|
|
722
789
|
fullPageOnWebView?: undefined;
|
|
723
|
-
|
|
724
|
-
"aria-label"?: undefined;
|
|
790
|
+
role?: string | undefined;
|
|
725
791
|
backgroundColor?: undefined;
|
|
726
792
|
size?: undefined;
|
|
727
793
|
style?: undefined;
|
|
@@ -730,6 +796,10 @@ export declare const IconButton: React.ForwardRefExoticComponent<({
|
|
|
730
796
|
"aria-live"?: undefined;
|
|
731
797
|
iconSize?: undefined;
|
|
732
798
|
} | {
|
|
799
|
+
to: string | import("history").Location;
|
|
800
|
+
fullPageOnWebView?: boolean | undefined;
|
|
801
|
+
replace?: boolean | undefined;
|
|
802
|
+
onNavigate?: (() => void | Promise<void>) | undefined;
|
|
733
803
|
children?: undefined;
|
|
734
804
|
trackingEvent?: TrackingEvent | readonly TrackingEvent[] | undefined;
|
|
735
805
|
dataAttributes?: DataAttributes | undefined;
|
|
@@ -742,14 +812,13 @@ export declare const IconButton: React.ForwardRefExoticComponent<({
|
|
|
742
812
|
Icon: React.FC<IconProps>;
|
|
743
813
|
type?: IconButtonType | undefined;
|
|
744
814
|
backgroundType?: IconButtonBackgroundType | undefined;
|
|
745
|
-
onPress?: undefined;
|
|
746
|
-
href?: undefined;
|
|
747
|
-
to?: undefined;
|
|
748
|
-
replace?: undefined;
|
|
749
|
-
newTab?: undefined;
|
|
750
|
-
fullPageOnWebView?: undefined;
|
|
751
815
|
'aria-label': string;
|
|
752
816
|
"aria-labelledby"?: undefined;
|
|
817
|
+
href?: undefined;
|
|
818
|
+
onPress?: undefined;
|
|
819
|
+
newTab?: undefined;
|
|
820
|
+
loadOnTop?: undefined;
|
|
821
|
+
role?: string | undefined;
|
|
753
822
|
backgroundColor?: undefined;
|
|
754
823
|
size?: undefined;
|
|
755
824
|
style?: undefined;
|
|
@@ -758,6 +827,10 @@ export declare const IconButton: React.ForwardRefExoticComponent<({
|
|
|
758
827
|
"aria-live"?: undefined;
|
|
759
828
|
iconSize?: undefined;
|
|
760
829
|
} | {
|
|
830
|
+
to: string | import("history").Location;
|
|
831
|
+
fullPageOnWebView?: boolean | undefined;
|
|
832
|
+
replace?: boolean | undefined;
|
|
833
|
+
onNavigate?: (() => void | Promise<void>) | undefined;
|
|
761
834
|
children?: undefined;
|
|
762
835
|
trackingEvent?: TrackingEvent | readonly TrackingEvent[] | undefined;
|
|
763
836
|
dataAttributes?: DataAttributes | undefined;
|
|
@@ -770,14 +843,13 @@ export declare const IconButton: React.ForwardRefExoticComponent<({
|
|
|
770
843
|
Icon: React.FC<IconProps>;
|
|
771
844
|
type?: IconButtonType | undefined;
|
|
772
845
|
backgroundType?: IconButtonBackgroundType | undefined;
|
|
773
|
-
|
|
846
|
+
'aria-labelledby': string;
|
|
847
|
+
'aria-label'?: undefined;
|
|
774
848
|
href?: undefined;
|
|
775
|
-
|
|
776
|
-
replace?: undefined;
|
|
849
|
+
onPress?: undefined;
|
|
777
850
|
newTab?: undefined;
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
"aria-label"?: undefined;
|
|
851
|
+
loadOnTop?: undefined;
|
|
852
|
+
role?: string | undefined;
|
|
781
853
|
backgroundColor?: undefined;
|
|
782
854
|
size?: undefined;
|
|
783
855
|
style?: undefined;
|