@scania/tegel 1.26.0 → 1.27.0-toast-aria-live.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index-ca8040ad.js +4 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/tds-banner.cjs.entry.js +1 -1
- package/dist/cjs/tds-checkbox.cjs.entry.js +10 -3
- package/dist/cjs/tds-chip.cjs.entry.js +7 -2
- package/dist/cjs/tds-dropdown_2.cjs.entry.js +71 -42
- package/dist/cjs/tds-folder-tab.cjs.entry.js +21 -2
- package/dist/cjs/tds-folder-tabs.cjs.entry.js +4 -2
- package/dist/cjs/tds-icon.cjs.entry.js +1 -1
- package/dist/cjs/tds-inline-tab.cjs.entry.js +21 -2
- package/dist/cjs/tds-inline-tabs.cjs.entry.js +4 -2
- package/dist/cjs/tds-link.cjs.entry.js +17 -3
- package/dist/cjs/tds-message.cjs.entry.js +15 -3
- package/dist/cjs/tds-modal.cjs.entry.js +74 -2
- package/dist/cjs/tds-navigation-tab.cjs.entry.js +21 -2
- package/dist/cjs/tds-navigation-tabs.cjs.entry.js +6 -4
- package/dist/cjs/tds-popover-core.cjs.entry.js +1 -1
- package/dist/cjs/tds-text-field.cjs.entry.js +13 -7
- package/dist/cjs/tds-textarea.cjs.entry.js +21 -9
- package/dist/cjs/tds-toast.cjs.entry.js +11 -4
- package/dist/cjs/tds-toggle.cjs.entry.js +2 -2
- package/dist/cjs/tds-tooltip.cjs.entry.js +14 -4
- package/dist/cjs/tegel.cjs.js +1 -1
- package/dist/collection/components/banner/banner.css +1 -1
- package/dist/collection/components/banner/banner.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +44 -3
- package/dist/collection/components/chip/chip.js +24 -2
- package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +2 -2
- package/dist/collection/components/dropdown/dropdown.js +86 -40
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/iconsArray.js +96 -1
- package/dist/collection/components/link/link.js +17 -3
- package/dist/collection/components/message/message.css +44 -26
- package/dist/collection/components/message/message.js +49 -2
- package/dist/collection/components/modal/modal.js +103 -3
- package/dist/collection/components/popover-core/tds-popover-core.css +596 -53
- package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.js +21 -2
- package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +40 -2
- package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.js +21 -2
- package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +40 -2
- package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.js +21 -2
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +42 -4
- package/dist/collection/components/text-field/text-field.js +31 -8
- package/dist/collection/components/textarea/textarea.css +11 -6
- package/dist/collection/components/textarea/textarea.js +38 -8
- package/dist/collection/components/toast/toast.css +1 -1
- package/dist/collection/components/toast/toast.js +45 -3
- package/dist/collection/components/toggle/toggle.js +2 -2
- package/dist/collection/components/tooltip/tooltip.js +40 -4
- package/dist/collection/utils/axeHelpers.js +1 -1
- package/dist/components/{p-c65351ab.js → p-14ab9663.js} +12 -3
- package/dist/components/p-17338bcb.js +115 -0
- package/dist/components/{p-2a43e410.js → p-2d93a742.js} +5 -5
- package/dist/components/p-4487c541.js +65 -0
- package/dist/components/{p-29d19dc8.js → p-60ff84f2.js} +1 -1
- package/dist/components/{p-a64dc22e.js → p-663b8e51.js} +72 -42
- package/dist/components/{p-4c1e3344.js → p-83db8b35.js} +1 -1
- package/dist/components/{p-b1d21573.js → p-a1181b1f.js} +1 -1
- package/dist/components/p-e71e3b2e.js +2052 -0
- package/dist/components/tds-accordion-item.js +1 -1
- package/dist/components/tds-banner.js +2 -2
- package/dist/components/tds-checkbox.js +1 -1
- package/dist/components/tds-chip.js +9 -3
- package/dist/components/tds-datetime.js +1 -1
- package/dist/components/tds-dropdown-option.js +1 -1
- package/dist/components/tds-dropdown.js +1 -1
- package/dist/components/tds-folder-tab.js +21 -2
- package/dist/components/tds-folder-tabs.js +7 -3
- package/dist/components/tds-footer-group.js +1 -1
- package/dist/components/tds-header-cell.js +1 -1
- package/dist/components/tds-header-dropdown.js +3 -3
- package/dist/components/tds-header-hamburger.js +1 -1
- package/dist/components/tds-header-launcher-button.js +1 -1
- package/dist/components/tds-header-launcher.js +4 -4
- package/dist/components/tds-icon.js +1 -1
- package/dist/components/tds-inline-tab.js +21 -2
- package/dist/components/tds-inline-tabs.js +7 -3
- package/dist/components/tds-link.js +17 -3
- package/dist/components/tds-message.js +19 -5
- package/dist/components/tds-modal.js +78 -4
- package/dist/components/tds-navigation-tab.js +21 -2
- package/dist/components/tds-navigation-tabs.js +9 -5
- package/dist/components/tds-popover-canvas.js +1 -1
- package/dist/components/tds-popover-core.js +1 -1
- package/dist/components/tds-popover-menu.js +1 -1
- package/dist/components/tds-side-menu-close-button.js +1 -1
- package/dist/components/tds-side-menu-dropdown.js +1 -1
- package/dist/components/tds-slider.js +1 -1
- package/dist/components/tds-step.js +1 -1
- package/dist/components/tds-table-body-input-wrapper.js +1 -1
- package/dist/components/tds-table-body-row.js +1 -1
- package/dist/components/tds-table-footer.js +4 -4
- package/dist/components/tds-table-header-input-wrapper.js +1 -1
- package/dist/components/tds-table-header.js +1 -1
- package/dist/components/tds-table-toolbar.js +1 -1
- package/dist/components/tds-text-field.js +15 -8
- package/dist/components/tds-textarea.js +36 -11
- package/dist/components/tds-toast.js +14 -5
- package/dist/components/tds-toggle.js +2 -2
- package/dist/components/tds-tooltip.js +1 -102
- package/dist/esm/index-51d04e39.js +4 -4
- package/dist/esm/loader.js +1 -1
- package/dist/esm/tds-banner.entry.js +1 -1
- package/dist/esm/tds-checkbox.entry.js +10 -3
- package/dist/esm/tds-chip.entry.js +7 -2
- package/dist/esm/tds-dropdown_2.entry.js +71 -42
- package/dist/esm/tds-folder-tab.entry.js +22 -3
- package/dist/esm/tds-folder-tabs.entry.js +4 -2
- package/dist/esm/tds-icon.entry.js +1 -1
- package/dist/esm/tds-inline-tab.entry.js +22 -3
- package/dist/esm/tds-inline-tabs.entry.js +4 -2
- package/dist/esm/tds-link.entry.js +17 -3
- package/dist/esm/tds-message.entry.js +15 -3
- package/dist/esm/tds-modal.entry.js +74 -2
- package/dist/esm/tds-navigation-tab.entry.js +22 -3
- package/dist/esm/tds-navigation-tabs.entry.js +6 -4
- package/dist/esm/tds-popover-core.entry.js +1 -1
- package/dist/esm/tds-text-field.entry.js +13 -7
- package/dist/esm/tds-textarea.entry.js +21 -9
- package/dist/esm/tds-toast.entry.js +11 -4
- package/dist/esm/tds-toggle.entry.js +2 -2
- package/dist/esm/tds-tooltip.entry.js +14 -4
- package/dist/esm/tegel.js +1 -1
- package/dist/tegel/p-0f2c9507.entry.js +1 -0
- package/dist/tegel/p-125a6b06.entry.js +1 -0
- package/dist/tegel/p-28517288.entry.js +1 -0
- package/dist/tegel/p-2af57972.entry.js +1 -0
- package/dist/tegel/{p-be1d1345.entry.js → p-4465f687.entry.js} +1 -1
- package/dist/tegel/p-668b7662.entry.js +1 -0
- package/dist/tegel/p-746e2927.entry.js +1 -0
- package/dist/tegel/p-754a4921.entry.js +1 -0
- package/dist/tegel/{p-46205cfb.entry.js → p-769d0503.entry.js} +1 -1
- package/dist/tegel/p-843413ba.entry.js +1 -0
- package/dist/tegel/p-97f10223.entry.js +1 -0
- package/dist/tegel/p-a21250b8.entry.js +1 -0
- package/dist/tegel/p-aadb2553.entry.js +1 -0
- package/dist/tegel/p-ad9a2141.entry.js +1 -0
- package/dist/tegel/p-b08886e3.entry.js +1 -0
- package/dist/tegel/p-b114ec3d.entry.js +1 -0
- package/dist/tegel/p-c3607f10.entry.js +1 -0
- package/dist/tegel/p-ddda64eb.entry.js +1 -0
- package/dist/tegel/p-eaa279dd.entry.js +1 -0
- package/dist/tegel/p-ee960089.entry.js +1 -0
- package/dist/tegel/tegel.css +13 -3
- package/dist/tegel/tegel.esm.js +1 -1
- package/dist/types/components/checkbox/checkbox.d.ts +5 -0
- package/dist/types/components/chip/chip.d.ts +3 -0
- package/dist/types/components/dropdown/dropdown.d.ts +5 -0
- package/dist/types/components/message/message.d.ts +5 -0
- package/dist/types/components/modal/modal.d.ts +6 -0
- package/dist/types/components/tabs/folder-tabs/folder-tab/folder-tab.d.ts +2 -0
- package/dist/types/components/tabs/folder-tabs/folder-tabs.d.ts +4 -0
- package/dist/types/components/tabs/inline-tabs/inline-tab/inline-tab.d.ts +2 -0
- package/dist/types/components/tabs/inline-tabs/inline-tabs.d.ts +4 -0
- package/dist/types/components/tabs/navigation-tabs/navigation-tab/navigation-tab.d.ts +2 -0
- package/dist/types/components/tabs/navigation-tabs/navigation-tabs.d.ts +4 -0
- package/dist/types/components/text-field/text-field.d.ts +4 -1
- package/dist/types/components/textarea/textarea.d.ts +7 -4
- package/dist/types/components/toast/toast.d.ts +5 -0
- package/dist/types/components/tooltip/tooltip.d.ts +3 -0
- package/dist/types/components.d.ts +146 -2
- package/dist/types/types/Icons.d.ts +1 -1
- package/dist/types/utils/axeHelpers.d.ts +1 -2
- package/package.json +1 -1
- package/dist/components/p-4764a1d5.js +0 -2052
- package/dist/components/p-a2b7bdef.js +0 -65
- package/dist/tegel/p-065d6f83.entry.js +0 -1
- package/dist/tegel/p-0c1e632d.entry.js +0 -1
- package/dist/tegel/p-168122a7.entry.js +0 -1
- package/dist/tegel/p-19eb4ae1.entry.js +0 -1
- package/dist/tegel/p-4e298888.entry.js +0 -1
- package/dist/tegel/p-4e33cbda.entry.js +0 -1
- package/dist/tegel/p-4ee344e5.entry.js +0 -1
- package/dist/tegel/p-64c80f14.entry.js +0 -1
- package/dist/tegel/p-72fd0083.entry.js +0 -1
- package/dist/tegel/p-93a4bd11.entry.js +0 -1
- package/dist/tegel/p-9e0b31a1.entry.js +0 -1
- package/dist/tegel/p-a0fc0cc2.entry.js +0 -1
- package/dist/tegel/p-b35e7208.entry.js +0 -1
- package/dist/tegel/p-b6526302.entry.js +0 -1
- package/dist/tegel/p-b686f1ad.entry.js +0 -1
- package/dist/tegel/p-cca85da0.entry.js +0 -1
- package/dist/tegel/p-d0abf078.entry.js +0 -1
- package/dist/tegel/p-dcbc35af.entry.js +0 -1
|
@@ -268,6 +268,14 @@ export namespace Components {
|
|
|
268
268
|
* Make the Checkbox required
|
|
269
269
|
*/
|
|
270
270
|
"required": boolean;
|
|
271
|
+
/**
|
|
272
|
+
* Value to be used for the aria-describedby attribute
|
|
273
|
+
*/
|
|
274
|
+
"tdsAriaDescribedby": string;
|
|
275
|
+
/**
|
|
276
|
+
* Value to be used for the aria-label attribute
|
|
277
|
+
*/
|
|
278
|
+
"tdsAriaLabel": string;
|
|
271
279
|
/**
|
|
272
280
|
* Toggles the checked value of the component.
|
|
273
281
|
*/
|
|
@@ -298,6 +306,10 @@ export namespace Components {
|
|
|
298
306
|
* Size of the Chip component
|
|
299
307
|
*/
|
|
300
308
|
"size": 'sm' | 'lg';
|
|
309
|
+
/**
|
|
310
|
+
* Value to be used for the aria-label attribute
|
|
311
|
+
*/
|
|
312
|
+
"tdsAriaLabel": string;
|
|
301
313
|
/**
|
|
302
314
|
* Type of Chip, depends on usage
|
|
303
315
|
*/
|
|
@@ -455,6 +467,10 @@ export namespace Components {
|
|
|
455
467
|
* The size of the Dropdown.
|
|
456
468
|
*/
|
|
457
469
|
"size": 'xs' | 'sm' | 'md' | 'lg';
|
|
470
|
+
/**
|
|
471
|
+
* Defines aria-label attribute for input
|
|
472
|
+
*/
|
|
473
|
+
"tdsAriaLabel": string;
|
|
458
474
|
/**
|
|
459
475
|
* Value of the dropdown. For multiselect, provide array of strings/numbers. For single select, provide a string/number.
|
|
460
476
|
*/
|
|
@@ -503,6 +519,14 @@ export namespace Components {
|
|
|
503
519
|
* Sets the selected Tab. If this is set, all Tab changes need to be handled by the user.
|
|
504
520
|
*/
|
|
505
521
|
"selectedIndex": number;
|
|
522
|
+
/**
|
|
523
|
+
* Defines aria-label on left scroll button
|
|
524
|
+
*/
|
|
525
|
+
"tdsScrollLeftAriaLabel": string;
|
|
526
|
+
/**
|
|
527
|
+
* Defines aria-label on right scroll button
|
|
528
|
+
*/
|
|
529
|
+
"tdsScrollRightAriaLabel": string;
|
|
506
530
|
}
|
|
507
531
|
interface TdsFooter {
|
|
508
532
|
/**
|
|
@@ -680,6 +704,14 @@ export namespace Components {
|
|
|
680
704
|
* Sets the selected Tab. If this is set, all Tab changes need to be handled by the user.
|
|
681
705
|
*/
|
|
682
706
|
"selectedIndex": number;
|
|
707
|
+
/**
|
|
708
|
+
* Defines aria-label on left scroll button
|
|
709
|
+
*/
|
|
710
|
+
"tdsScrollLeftAriaLabel": string;
|
|
711
|
+
/**
|
|
712
|
+
* Defines aria-label on right scroll button
|
|
713
|
+
*/
|
|
714
|
+
"tdsScrollRightAriaLabel": string;
|
|
683
715
|
}
|
|
684
716
|
interface TdsLink {
|
|
685
717
|
/**
|
|
@@ -712,6 +744,14 @@ export namespace Components {
|
|
|
712
744
|
* Removes the icon in the Message.
|
|
713
745
|
*/
|
|
714
746
|
"noIcon": boolean;
|
|
747
|
+
/**
|
|
748
|
+
* Role of the message component. Can be either 'alertdialog' for important messages that require immediate attention, or 'dialog' for regular messages.
|
|
749
|
+
*/
|
|
750
|
+
"tdsAlertDialog": 'alertdialog' | 'dialog';
|
|
751
|
+
/**
|
|
752
|
+
* Provides an accessible name for the message component when no header is present. This ensures proper screen reader support for dialog/alertdialog roles.
|
|
753
|
+
*/
|
|
754
|
+
"tdsAriaLabel": string;
|
|
715
755
|
/**
|
|
716
756
|
* Variant of Message.
|
|
717
757
|
*/
|
|
@@ -766,6 +806,10 @@ export namespace Components {
|
|
|
766
806
|
* Size of Modal
|
|
767
807
|
*/
|
|
768
808
|
"size": 'xs' | 'sm' | 'md' | 'lg';
|
|
809
|
+
/**
|
|
810
|
+
* Role of the modal component. Can be either 'alertdialog' for important messages that require immediate attention, or 'dialog' for regular messages.
|
|
811
|
+
*/
|
|
812
|
+
"tdsAlertDialog": 'alertdialog' | 'dialog';
|
|
769
813
|
}
|
|
770
814
|
interface TdsNavigationTab {
|
|
771
815
|
/**
|
|
@@ -799,6 +843,14 @@ export namespace Components {
|
|
|
799
843
|
* Sets the selected Tab. If this is set, all Tab changes need to be handled by the user.
|
|
800
844
|
*/
|
|
801
845
|
"selectedIndex": number;
|
|
846
|
+
/**
|
|
847
|
+
* Defines aria-label on left scroll button
|
|
848
|
+
*/
|
|
849
|
+
"tdsScrollLeftAriaLabel": string;
|
|
850
|
+
/**
|
|
851
|
+
* Defines aria-label on right scroll button
|
|
852
|
+
*/
|
|
853
|
+
"tdsScrollRightAriaLabel": string;
|
|
802
854
|
}
|
|
803
855
|
interface TdsPopoverCanvas {
|
|
804
856
|
/**
|
|
@@ -1389,7 +1441,7 @@ export namespace Components {
|
|
|
1389
1441
|
*/
|
|
1390
1442
|
"placeholder": string;
|
|
1391
1443
|
/**
|
|
1392
|
-
* Set input in readonly state
|
|
1444
|
+
* Set input in readonly state
|
|
1393
1445
|
*/
|
|
1394
1446
|
"readOnly": boolean;
|
|
1395
1447
|
/**
|
|
@@ -1400,6 +1452,10 @@ export namespace Components {
|
|
|
1400
1452
|
* Error state of input
|
|
1401
1453
|
*/
|
|
1402
1454
|
"state": 'error' | 'success' | 'default';
|
|
1455
|
+
/**
|
|
1456
|
+
* Value to be used for the aria-label attribute. Can be used for announcing that readOnly prop is set to true.
|
|
1457
|
+
*/
|
|
1458
|
+
"tdsAriaLabel": string;
|
|
1403
1459
|
/**
|
|
1404
1460
|
* Which input type, text, password or similar
|
|
1405
1461
|
*/
|
|
@@ -1426,6 +1482,10 @@ export namespace Components {
|
|
|
1426
1482
|
* Helper text
|
|
1427
1483
|
*/
|
|
1428
1484
|
"helper": string;
|
|
1485
|
+
/**
|
|
1486
|
+
* Hide the readonly icon
|
|
1487
|
+
*/
|
|
1488
|
+
"hideReadOnlyIcon": boolean;
|
|
1429
1489
|
/**
|
|
1430
1490
|
* Label text
|
|
1431
1491
|
*/
|
|
@@ -1496,6 +1556,14 @@ export namespace Components {
|
|
|
1496
1556
|
* Subheader text for the component.
|
|
1497
1557
|
*/
|
|
1498
1558
|
"subheader": string;
|
|
1559
|
+
/**
|
|
1560
|
+
* ARIA live for the Toast.
|
|
1561
|
+
*/
|
|
1562
|
+
"tdsAriaLive": 'polite' | 'assertive';
|
|
1563
|
+
/**
|
|
1564
|
+
* Provides an accessible name for the components close button
|
|
1565
|
+
*/
|
|
1566
|
+
"tdsCloseAriaLabel": string;
|
|
1499
1567
|
/**
|
|
1500
1568
|
* ID for the Toast. Randomly generated if not specified.
|
|
1501
1569
|
*/
|
|
@@ -1580,6 +1648,10 @@ export namespace Components {
|
|
|
1580
1648
|
* Prop in control of showing and hiding prop. Takes precedence over `defaultOpen` prop.
|
|
1581
1649
|
*/
|
|
1582
1650
|
"show": boolean;
|
|
1651
|
+
/**
|
|
1652
|
+
* Sets the aria-describedby attribute
|
|
1653
|
+
*/
|
|
1654
|
+
"tdsAriaDescribedby": string;
|
|
1583
1655
|
/**
|
|
1584
1656
|
* In case Tooltip contains only text, no HTML, a text can be passed by this prop
|
|
1585
1657
|
*/
|
|
@@ -2988,6 +3060,14 @@ declare namespace LocalJSX {
|
|
|
2988
3060
|
* Make the Checkbox required
|
|
2989
3061
|
*/
|
|
2990
3062
|
"required"?: boolean;
|
|
3063
|
+
/**
|
|
3064
|
+
* Value to be used for the aria-describedby attribute
|
|
3065
|
+
*/
|
|
3066
|
+
"tdsAriaDescribedby"?: string;
|
|
3067
|
+
/**
|
|
3068
|
+
* Value to be used for the aria-label attribute
|
|
3069
|
+
*/
|
|
3070
|
+
"tdsAriaLabel"?: string;
|
|
2991
3071
|
/**
|
|
2992
3072
|
* Value for the Checkbox
|
|
2993
3073
|
*/
|
|
@@ -3028,6 +3108,10 @@ declare namespace LocalJSX {
|
|
|
3028
3108
|
* Size of the Chip component
|
|
3029
3109
|
*/
|
|
3030
3110
|
"size"?: 'sm' | 'lg';
|
|
3111
|
+
/**
|
|
3112
|
+
* Value to be used for the aria-label attribute
|
|
3113
|
+
*/
|
|
3114
|
+
"tdsAriaLabel"?: string;
|
|
3031
3115
|
/**
|
|
3032
3116
|
* Type of Chip, depends on usage
|
|
3033
3117
|
*/
|
|
@@ -3200,6 +3284,10 @@ declare namespace LocalJSX {
|
|
|
3200
3284
|
* The size of the Dropdown.
|
|
3201
3285
|
*/
|
|
3202
3286
|
"size"?: 'xs' | 'sm' | 'md' | 'lg';
|
|
3287
|
+
/**
|
|
3288
|
+
* Defines aria-label attribute for input
|
|
3289
|
+
*/
|
|
3290
|
+
"tdsAriaLabel"?: string;
|
|
3203
3291
|
/**
|
|
3204
3292
|
* Value of the dropdown. For multiselect, provide array of strings/numbers. For single select, provide a string/number.
|
|
3205
3293
|
*/
|
|
@@ -3255,6 +3343,14 @@ declare namespace LocalJSX {
|
|
|
3255
3343
|
* Sets the selected Tab. If this is set, all Tab changes need to be handled by the user.
|
|
3256
3344
|
*/
|
|
3257
3345
|
"selectedIndex"?: number;
|
|
3346
|
+
/**
|
|
3347
|
+
* Defines aria-label on left scroll button
|
|
3348
|
+
*/
|
|
3349
|
+
"tdsScrollLeftAriaLabel"?: string;
|
|
3350
|
+
/**
|
|
3351
|
+
* Defines aria-label on right scroll button
|
|
3352
|
+
*/
|
|
3353
|
+
"tdsScrollRightAriaLabel"?: string;
|
|
3258
3354
|
}
|
|
3259
3355
|
interface TdsFooter {
|
|
3260
3356
|
/**
|
|
@@ -3437,6 +3533,14 @@ declare namespace LocalJSX {
|
|
|
3437
3533
|
* Sets the selected Tab. If this is set, all Tab changes need to be handled by the user.
|
|
3438
3534
|
*/
|
|
3439
3535
|
"selectedIndex"?: number;
|
|
3536
|
+
/**
|
|
3537
|
+
* Defines aria-label on left scroll button
|
|
3538
|
+
*/
|
|
3539
|
+
"tdsScrollLeftAriaLabel"?: string;
|
|
3540
|
+
/**
|
|
3541
|
+
* Defines aria-label on right scroll button
|
|
3542
|
+
*/
|
|
3543
|
+
"tdsScrollRightAriaLabel"?: string;
|
|
3440
3544
|
}
|
|
3441
3545
|
interface TdsLink {
|
|
3442
3546
|
/**
|
|
@@ -3469,6 +3573,14 @@ declare namespace LocalJSX {
|
|
|
3469
3573
|
* Removes the icon in the Message.
|
|
3470
3574
|
*/
|
|
3471
3575
|
"noIcon"?: boolean;
|
|
3576
|
+
/**
|
|
3577
|
+
* Role of the message component. Can be either 'alertdialog' for important messages that require immediate attention, or 'dialog' for regular messages.
|
|
3578
|
+
*/
|
|
3579
|
+
"tdsAlertDialog"?: 'alertdialog' | 'dialog';
|
|
3580
|
+
/**
|
|
3581
|
+
* Provides an accessible name for the message component when no header is present. This ensures proper screen reader support for dialog/alertdialog roles.
|
|
3582
|
+
*/
|
|
3583
|
+
"tdsAriaLabel"?: string;
|
|
3472
3584
|
/**
|
|
3473
3585
|
* Variant of Message.
|
|
3474
3586
|
*/
|
|
@@ -3511,6 +3623,10 @@ declare namespace LocalJSX {
|
|
|
3511
3623
|
* Size of Modal
|
|
3512
3624
|
*/
|
|
3513
3625
|
"size"?: 'xs' | 'sm' | 'md' | 'lg';
|
|
3626
|
+
/**
|
|
3627
|
+
* Role of the modal component. Can be either 'alertdialog' for important messages that require immediate attention, or 'dialog' for regular messages.
|
|
3628
|
+
*/
|
|
3629
|
+
"tdsAlertDialog"?: 'alertdialog' | 'dialog';
|
|
3514
3630
|
}
|
|
3515
3631
|
interface TdsNavigationTab {
|
|
3516
3632
|
/**
|
|
@@ -3541,6 +3657,14 @@ declare namespace LocalJSX {
|
|
|
3541
3657
|
* Sets the selected Tab. If this is set, all Tab changes need to be handled by the user.
|
|
3542
3658
|
*/
|
|
3543
3659
|
"selectedIndex"?: number;
|
|
3660
|
+
/**
|
|
3661
|
+
* Defines aria-label on left scroll button
|
|
3662
|
+
*/
|
|
3663
|
+
"tdsScrollLeftAriaLabel"?: string;
|
|
3664
|
+
/**
|
|
3665
|
+
* Defines aria-label on right scroll button
|
|
3666
|
+
*/
|
|
3667
|
+
"tdsScrollRightAriaLabel"?: string;
|
|
3544
3668
|
}
|
|
3545
3669
|
interface TdsPopoverCanvas {
|
|
3546
3670
|
/**
|
|
@@ -4189,7 +4313,7 @@ declare namespace LocalJSX {
|
|
|
4189
4313
|
*/
|
|
4190
4314
|
"placeholder"?: string;
|
|
4191
4315
|
/**
|
|
4192
|
-
* Set input in readonly state
|
|
4316
|
+
* Set input in readonly state
|
|
4193
4317
|
*/
|
|
4194
4318
|
"readOnly"?: boolean;
|
|
4195
4319
|
/**
|
|
@@ -4200,6 +4324,10 @@ declare namespace LocalJSX {
|
|
|
4200
4324
|
* Error state of input
|
|
4201
4325
|
*/
|
|
4202
4326
|
"state"?: 'error' | 'success' | 'default';
|
|
4327
|
+
/**
|
|
4328
|
+
* Value to be used for the aria-label attribute. Can be used for announcing that readOnly prop is set to true.
|
|
4329
|
+
*/
|
|
4330
|
+
"tdsAriaLabel"?: string;
|
|
4203
4331
|
/**
|
|
4204
4332
|
* Which input type, text, password or similar
|
|
4205
4333
|
*/
|
|
@@ -4226,6 +4354,10 @@ declare namespace LocalJSX {
|
|
|
4226
4354
|
* Helper text
|
|
4227
4355
|
*/
|
|
4228
4356
|
"helper"?: string;
|
|
4357
|
+
/**
|
|
4358
|
+
* Hide the readonly icon
|
|
4359
|
+
*/
|
|
4360
|
+
"hideReadOnlyIcon"?: boolean;
|
|
4229
4361
|
/**
|
|
4230
4362
|
* Label text
|
|
4231
4363
|
*/
|
|
@@ -4310,6 +4442,14 @@ declare namespace LocalJSX {
|
|
|
4310
4442
|
* Subheader text for the component.
|
|
4311
4443
|
*/
|
|
4312
4444
|
"subheader"?: string;
|
|
4445
|
+
/**
|
|
4446
|
+
* ARIA live for the Toast.
|
|
4447
|
+
*/
|
|
4448
|
+
"tdsAriaLive"?: 'polite' | 'assertive';
|
|
4449
|
+
/**
|
|
4450
|
+
* Provides an accessible name for the components close button
|
|
4451
|
+
*/
|
|
4452
|
+
"tdsCloseAriaLabel"?: string;
|
|
4313
4453
|
/**
|
|
4314
4454
|
* ID for the Toast. Randomly generated if not specified.
|
|
4315
4455
|
*/
|
|
@@ -4397,6 +4537,10 @@ declare namespace LocalJSX {
|
|
|
4397
4537
|
* Prop in control of showing and hiding prop. Takes precedence over `defaultOpen` prop.
|
|
4398
4538
|
*/
|
|
4399
4539
|
"show"?: boolean;
|
|
4540
|
+
/**
|
|
4541
|
+
* Sets the aria-describedby attribute
|
|
4542
|
+
*/
|
|
4543
|
+
"tdsAriaDescribedby"?: string;
|
|
4400
4544
|
/**
|
|
4401
4545
|
* In case Tooltip contains only text, no HTML, a text can be passed by this prop
|
|
4402
4546
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type IconNames = '24v_battery_inactive' | '24v_battery' | 'arrow_diagonal' | 'arrow_down' | 'arrow_left' | 'arrow_right' | 'arrow_up' | 'audio_inactive' | 'back' | 'backward_inactive' | 'backward' | 'bento' | 'burger' | 'calendar_inactive' | 'calendar' | 'card' | 'cart' | 'charging_speed_inactive' | 'charging_speed' | 'charging_stopped' | 'chevron_down' | 'chevron_left' | 'chevron_right' | 'chevron_up' | 'clock_inactive' | 'clock' | 'contact_inactive' | 'contact' | 'copy' | 'cross' | 'dashboard' | 'document_check' | 'document_doc' | 'document_eye' | 'document_pdf' | 'document_ppt' | 'document_tool' | 'document_wrong' | 'document_xls' | 'document' | 'dollar' | 'doner' | 'double_kebab' | 'download' | 'edit_inactive' | 'edit' | 'email' | 'error' | 'expand' | 'export_inactive' | 'export' | 'eye_inactive' | 'eye' | 'face_dissatisfied' | 'face_neutral' | 'face_satisfied' | 'filters_inactive' | 'filters' | 'flash' | 'folder' | 'forward_inactive' | 'fuel_gauge_inactive' | 'fuel_gauge' | 'global' | 'hatch_open_inactive' | 'heart_inactive' | 'heart' | 'heating_inactive_screen' | 'history_inactive' | 'history' | 'home_inactive' | 'home' | 'image_add' | 'image_inactive' | 'image_set' | 'image' | 'info' | 'insights' | 'kebab' | 'link_broken' | 'link' | 'lock_inactive' | 'lock' | 'maximize_fullscreen' | 'meatballs' | 'message_inactive' | 'message' | 'mileage_inactive' | 'mileage' | 'minimize_fullscreen' | 'minus' | 'notification_inactive' | 'notification' | 'pause_inactive' | 'pause' | 'phone_inactive' | 'phone' | 'pie_chart' | 'pin_inactive' | 'pin' | 'plus' | 'print_inactive' | 'print' | 'profile_inactive' | 'profile' | 'proportions_inactive' | 'proportions' | 'range_inactive' | 'range' | 'redirect' | 'refresh_inactive' | 'refresh' | 'reload_inactive' | 'reload' | 'report_inactive' | 'report' | 'save_inactive' | 'save' | 'search' | 'send_inactive' | 'send' | 'settings' | 'share' | 'skip_backwards' | 'skip_forward' | 'smartphone_inactive' | 'smartphone' | 'sorting' | 'speedometer_inactive' | 'speedometer' | 'star' | 'support' | 'target_inactive' | 'target' | 'text_inactive' | 'tick' | 'timer' | 'tool_inactive' | 'tool' | 'trailer' | 'trash_inactive' | 'trash' | 'truck' | 'upload' | 'wallet' | 'warning' | 'wifi_inactive' | 'wifi';
|
|
1
|
+
export type IconNames = '24v_battery_inactive' | '24v_battery' | 'acceleration_inactive' | 'acceleration' | 'adblue_inactive' | 'adblue' | 'arrow_diagonal' | 'arrow_down' | 'arrow_left' | 'arrow_right' | 'arrow_up' | 'audio_inactive' | 'audio' | 'award' | 'back' | 'backward_inactive' | 'backward' | 'bento' | 'bug_inactive' | 'bug' | 'burger' | 'bus_inactive' | 'bus' | 'calendar_inactive' | 'calendar' | 'camera_inactive' | 'camera' | 'card' | 'cart' | 'charging_complete' | 'charging_failed' | 'charging_speed_inactive' | 'charging_speed' | 'charging_stopped' | 'chevron_down' | 'chevron_left' | 'chevron_right' | 'chevron_up' | 'clock_inactive' | 'clock' | 'contact_inactive' | 'contact' | 'cookie_inactive' | 'cookie' | 'coolant_level_inactive' | 'coolant_level' | 'copy' | 'cross' | 'cup_inactive' | 'cup' | 'dashboard' | 'department_inactive' | 'department' | 'departure_scheduling_inactive' | 'departure_scheduling' | 'diamond_inactive' | 'diamond' | 'document_check' | 'document_doc' | 'document_eye' | 'document_pdf' | 'document_plus_inactive' | 'document_plus' | 'document_ppt' | 'document_tool' | 'document_wrong' | 'document_xls' | 'document' | 'dollar' | 'doner' | 'double_kebab' | 'download' | 'driving_licence_inactive' | 'driving_licence' | 'drop_inactive' | 'drop' | 'edit_inactive' | 'edit' | 'email' | 'engine_inactive' | 'engine' | 'environment_inactive' | 'environment' | 'error' | 'exit' | 'expand_inactive' | 'expand' | 'export_inactive' | 'export' | 'eye_inactive' | 'eye' | 'face_dissatisfied' | 'face_neutral' | 'face_satisfied' | 'factory_inactive' | 'factory' | 'ferry_inactive' | 'ferry' | 'filters_inactive' | 'filters' | 'flash_inactive' | 'flash' | 'folder' | 'forward_inactive' | 'forward' | 'fuel_gauge_inactive' | 'fuel_gauge' | 'fuel_inactive' | 'fuel' | 'gift inactive' | 'gift' | 'global' | 'guided_tour_inactive' | 'guided_tour' | 'hatch_open_1' | 'hatch_open_2' | 'hatch_open_inactive' | 'hatch_open' | 'heart_inactive' | 'heart' | 'heating_inactive_screen' | 'history_inactive' | 'history' | 'home_inactive' | 'home' | 'idea_inactive' | 'idea' | 'image_add' | 'image_inactive' | 'image_set' | 'image' | 'info' | 'insights' | 'kebab' | 'key_inactive' | 'key' | 'layer_inactive' | 'layer' | 'link_broken' | 'link' | 'list_inactive' | 'list' | 'lock_inactive' | 'lock' | 'map_cursor_inactive' | 'map_cursor' | 'maximize_fullscreen' | 'meatballs' | 'merge_inactive' | 'merge' | 'message_inactive' | 'message' | 'mileage_inactive' | 'mileage' | 'minimize_fullscreen' | 'minus' | 'navigate_inactive' | 'navigate' | 'notification_inactive' | 'notification' | 'oil_level_inactive' | 'oil_level' | 'pause_inactive' | 'pause' | 'phone_inactive' | 'phone' | 'pie_chart' | 'pin_inactive' | 'pin' | 'placeholder' | 'play_inactive' | 'play' | 'plus' | 'powerplug_inactive' | 'powerplug' | 'print_inactive' | 'print' | 'privacy_inactive' | 'privacy' | 'profile_inactive' | 'profile' | 'proportions_inactive' | 'proportions' | 'range_inactive' | 'range' | 'redirect' | 'refresh_inactive' | 'refresh' | 'reload_inactive' | 'reload' | 'repeat' | 'report_inactive' | 'report' | 'route_inactive' | 'route' | 'save_inactive' | 'save' | 'search' | 'send_inactive' | 'send' | 'settings' | 'share' | 'skip_backwards' | 'skip_forward' | 'smartphone_inactive' | 'smartphone' | 'sorting' | 'speedometer_inactive' | 'speedometer' | 'star' | 'support' | 'target_inactive' | 'target' | 'temperature_inactive' | 'temperature' | 'text_inactive' | 'text' | 'thumbs_down' | 'thumbs_up' | 'tick' | 'timer' | 'tool_inactive' | 'tool' | 'trailer_inactive' | 'trailer' | 'trash_inactive' | 'trash' | 'truck_inactive' | 'truck' | 'undo_inactive' | 'undo' | 'unlock' | 'upload' | 'video_inactive' | 'video' | 'wallet' | 'warning' | 'weight_inactive' | 'weight' | 'wifi_inactive' | 'wifi' | 'windscreen_heating_inactive' | 'windscreen_heating';
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const tegelAnalyze: (page: Page) => Promise<import("axe-core").AxeResults>;
|
|
1
|
+
export declare const tegelAnalyze: (page: any) => Promise<import("axe-core").AxeResults>;
|