@dxc-technology/halstack-react 0.0.0-d0f27f4 → 0.0.0-d10324c
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/index.d.mts +298 -388
- package/dist/index.d.ts +298 -388
- package/dist/index.js +3634 -4544
- package/dist/index.mjs +3401 -4310
- package/package.json +7 -3
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,8 @@ import * as react from 'react';
|
|
|
2
2
|
import { ReactNode, SVGProps, ReactElement, MouseEvent, ReactEventHandler } from 'react';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import { SortColumn } from 'react-data-grid';
|
|
5
|
-
import * as
|
|
5
|
+
import * as _emotion_styled from '@emotion/styled';
|
|
6
|
+
import * as _emotion_react from '@emotion/react';
|
|
6
7
|
|
|
7
8
|
type Space$1 = "xxsmall" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "xxlarge";
|
|
8
9
|
type Margin = {
|
|
@@ -111,10 +112,10 @@ type NonIndependentProps = CommonProps$9 & {
|
|
|
111
112
|
*/
|
|
112
113
|
onActiveChange?: (index: number[]) => void;
|
|
113
114
|
};
|
|
114
|
-
type Props$
|
|
115
|
+
type Props$I = IndependentProps | NonIndependentProps;
|
|
115
116
|
|
|
116
117
|
declare const DxcAccordion: {
|
|
117
|
-
(props: Props$
|
|
118
|
+
(props: Props$I): JSX.Element;
|
|
118
119
|
AccordionItem: ({ label, subLabel, badge, statusLight, icon, assistiveText, disabled, children, tabIndex, }: AccordionItemProps) => JSX.Element;
|
|
119
120
|
};
|
|
120
121
|
|
|
@@ -197,9 +198,9 @@ type ModeSpecificProps = {
|
|
|
197
198
|
*/
|
|
198
199
|
mode: "modal";
|
|
199
200
|
};
|
|
200
|
-
type Props$
|
|
201
|
+
type Props$H = CommonProps$8 & ModeSpecificProps;
|
|
201
202
|
|
|
202
|
-
declare function DxcAlert({ closable, message, mode, primaryAction, secondaryAction, semantic, title, }: Props$
|
|
203
|
+
declare function DxcAlert({ closable, message, mode, primaryAction, secondaryAction, semantic, title, }: Props$H): react_jsx_runtime.JSX.Element;
|
|
203
204
|
|
|
204
205
|
type SidenavTitlePropsType = {
|
|
205
206
|
/**
|
|
@@ -264,7 +265,7 @@ type SidenavLinkPropsType = {
|
|
|
264
265
|
*/
|
|
265
266
|
tabIndex?: number;
|
|
266
267
|
};
|
|
267
|
-
type Props$
|
|
268
|
+
type Props$G = {
|
|
268
269
|
/**
|
|
269
270
|
* The area assigned to render the sidenav title. It is highly recommended to use the sidenav title.
|
|
270
271
|
*/
|
|
@@ -290,7 +291,7 @@ type Option$2 = {
|
|
|
290
291
|
*/
|
|
291
292
|
value: string;
|
|
292
293
|
};
|
|
293
|
-
type Props$
|
|
294
|
+
type Props$F = {
|
|
294
295
|
/**
|
|
295
296
|
* An array of objects representing the options.
|
|
296
297
|
*/
|
|
@@ -350,7 +351,21 @@ type Props$G = {
|
|
|
350
351
|
title?: string;
|
|
351
352
|
};
|
|
352
353
|
|
|
353
|
-
type
|
|
354
|
+
type Logo$1 = {
|
|
355
|
+
/**
|
|
356
|
+
* URL to navigate when the logo is clicked.
|
|
357
|
+
*/
|
|
358
|
+
href?: string;
|
|
359
|
+
/**
|
|
360
|
+
* Source of the logo image.
|
|
361
|
+
*/
|
|
362
|
+
src: string;
|
|
363
|
+
/**
|
|
364
|
+
* Alternative text for the logo image.
|
|
365
|
+
*/
|
|
366
|
+
title?: string;
|
|
367
|
+
};
|
|
368
|
+
type Props$E = {
|
|
354
369
|
/**
|
|
355
370
|
* Whether a contrast line should appear at the bottom of the header.
|
|
356
371
|
*/
|
|
@@ -367,13 +382,17 @@ type Props$F = {
|
|
|
367
382
|
*/
|
|
368
383
|
responsiveContent?: (closeHandler: () => void) => ReactNode;
|
|
369
384
|
/**
|
|
370
|
-
*
|
|
385
|
+
* Logo to be displayed inside the header
|
|
371
386
|
*/
|
|
372
|
-
|
|
387
|
+
logo?: Logo$1;
|
|
373
388
|
/**
|
|
374
389
|
* Size of the bottom margin to be applied to the header.
|
|
375
390
|
*/
|
|
376
391
|
margin?: Space$1;
|
|
392
|
+
/**
|
|
393
|
+
* This function will be called when the user clicks the header logo.
|
|
394
|
+
*/
|
|
395
|
+
onClick?: () => void;
|
|
377
396
|
/**
|
|
378
397
|
* Value of the tabindex for all interactive elements, except those inside the
|
|
379
398
|
* custom area.
|
|
@@ -405,41 +424,59 @@ type BottomLink = {
|
|
|
405
424
|
*/
|
|
406
425
|
text: string;
|
|
407
426
|
};
|
|
408
|
-
type
|
|
427
|
+
type Logo = {
|
|
409
428
|
/**
|
|
410
|
-
*
|
|
411
|
-
* icons at the top-right side of the footer.
|
|
429
|
+
* URL to navigate when the logo is clicked.
|
|
412
430
|
*/
|
|
413
|
-
|
|
431
|
+
href?: string;
|
|
432
|
+
/**
|
|
433
|
+
* Source of the logo image.
|
|
434
|
+
*/
|
|
435
|
+
src: string;
|
|
436
|
+
/**
|
|
437
|
+
* Alternative text for the logo image.
|
|
438
|
+
*/
|
|
439
|
+
title?: string;
|
|
440
|
+
};
|
|
441
|
+
type FooterPropsType = {
|
|
414
442
|
/**
|
|
415
443
|
* An array of objects representing the links that will be rendered at
|
|
416
444
|
* the bottom part of the footer.
|
|
417
445
|
*/
|
|
418
446
|
bottomLinks?: BottomLink[];
|
|
447
|
+
/**
|
|
448
|
+
* The center section of the footer. Can be used to render custom
|
|
449
|
+
* content in this area.
|
|
450
|
+
*/
|
|
451
|
+
children?: ReactNode;
|
|
419
452
|
/**
|
|
420
453
|
* The text that will be displayed as copyright disclaimer.
|
|
421
454
|
*/
|
|
422
455
|
copyright?: string;
|
|
423
456
|
/**
|
|
424
|
-
*
|
|
425
|
-
* content in this area.
|
|
457
|
+
* Logo to be displayed inside the footer
|
|
426
458
|
*/
|
|
427
|
-
|
|
459
|
+
logo?: Logo;
|
|
428
460
|
/**
|
|
429
461
|
* Size of the top margin to be applied to the footer.
|
|
430
462
|
*/
|
|
431
463
|
margin?: Space$1;
|
|
432
|
-
/**
|
|
433
|
-
* Value of the tabindex for all interactive elements, except those
|
|
434
|
-
* inside the custom area.
|
|
435
|
-
*/
|
|
436
|
-
tabIndex?: number;
|
|
437
464
|
/**
|
|
438
465
|
* Determines the visual style and layout
|
|
439
466
|
* - "default": The default mode with full content and styling.
|
|
440
467
|
* - "reduced": A reduced mode with minimal content and styling.
|
|
441
468
|
*/
|
|
442
469
|
mode?: "default" | "reduced";
|
|
470
|
+
/**
|
|
471
|
+
* An array of objects representing the links that will be rendered as
|
|
472
|
+
* icons at the top-right side of the footer.
|
|
473
|
+
*/
|
|
474
|
+
socialLinks?: SocialLink[];
|
|
475
|
+
/**
|
|
476
|
+
* Value of the tabindex for all interactive elements, except those
|
|
477
|
+
* inside the custom area.
|
|
478
|
+
*/
|
|
479
|
+
tabIndex?: number;
|
|
443
480
|
};
|
|
444
481
|
|
|
445
482
|
type AppLayoutMainPropsType = {
|
|
@@ -474,14 +511,14 @@ type ApplicationLayoutPropsType = {
|
|
|
474
511
|
|
|
475
512
|
declare const DxcApplicationLayout: {
|
|
476
513
|
({ visibilityToggleLabel, header, sidenav, footer, children, }: ApplicationLayoutPropsType): JSX.Element;
|
|
477
|
-
Footer: ({
|
|
514
|
+
Footer: ({ bottomLinks, children, copyright, logo, margin, mode, socialLinks, tabIndex, }: FooterPropsType) => JSX.Element;
|
|
478
515
|
Header: {
|
|
479
|
-
({ underlined, content, responsiveContent,
|
|
480
|
-
Dropdown: (props: react.ComponentProps<({ options, optionsIconPosition, icon, iconPosition, label, caretHidden, disabled, expandOnHover, onSelectOption, margin, size, tabIndex, title, }: Props$
|
|
516
|
+
({ underlined, content, responsiveContent, logo, margin, onClick, tabIndex, }: Props$E): JSX.Element;
|
|
517
|
+
Dropdown: (props: react.ComponentProps<({ options, optionsIconPosition, icon, iconPosition, label, caretHidden, disabled, expandOnHover, onSelectOption, margin, size, tabIndex, title, }: Props$F) => react_jsx_runtime.JSX.Element>) => react_jsx_runtime.JSX.Element;
|
|
481
518
|
};
|
|
482
519
|
Main: ({ children }: AppLayoutMainPropsType) => JSX.Element;
|
|
483
520
|
SideNav: {
|
|
484
|
-
({ title, children }: Props$
|
|
521
|
+
({ title, children }: Props$G): JSX.Element;
|
|
485
522
|
Section: ({ children }: SidenavSectionPropsType) => JSX.Element;
|
|
486
523
|
Group: ({ title, collapsable, icon, children }: SidenavGroupPropsType) => JSX.Element;
|
|
487
524
|
Link: react.ForwardRefExoticComponent<SidenavLinkPropsType & react.RefAttributes<HTMLAnchorElement>>;
|
|
@@ -540,11 +577,11 @@ type CommonProps$7 = {
|
|
|
540
577
|
*/
|
|
541
578
|
size?: "small" | "medium" | "large";
|
|
542
579
|
};
|
|
543
|
-
type Props$
|
|
580
|
+
type Props$D = (ContextualProps | NotificationProps) & CommonProps$7;
|
|
544
581
|
|
|
545
|
-
declare const DxcBadge: ({ label, title, mode, color, icon, notificationLimit, size, }: Props$
|
|
582
|
+
declare const DxcBadge: ({ label, title, mode, color, icon, notificationLimit, size, }: Props$D) => JSX.Element;
|
|
546
583
|
|
|
547
|
-
type Props$
|
|
584
|
+
type Props$C = {
|
|
548
585
|
/**
|
|
549
586
|
* Applies the spacing scale to all sides.
|
|
550
587
|
*/
|
|
@@ -579,13 +616,13 @@ type Props$D = {
|
|
|
579
616
|
children: ReactNode;
|
|
580
617
|
};
|
|
581
618
|
|
|
582
|
-
declare function DxcBleed({ space, horizontal, vertical, top, right, bottom, left, children }: Props$
|
|
619
|
+
declare function DxcBleed({ space, horizontal, vertical, top, right, bottom, left, children }: Props$C): react_jsx_runtime.JSX.Element;
|
|
583
620
|
|
|
584
621
|
type Item$1 = {
|
|
585
622
|
href?: string;
|
|
586
623
|
label: string;
|
|
587
624
|
};
|
|
588
|
-
type Props$
|
|
625
|
+
type Props$B = {
|
|
589
626
|
/**
|
|
590
627
|
* Provides a label that describes the type of navigation enabled by
|
|
591
628
|
* the component.
|
|
@@ -617,7 +654,7 @@ type Props$C = {
|
|
|
617
654
|
showRoot?: boolean;
|
|
618
655
|
};
|
|
619
656
|
|
|
620
|
-
declare const DxcBreadcrumbs: ({ ariaLabel, items, itemsBeforeCollapse, onItemClick, showRoot, }: Props$
|
|
657
|
+
declare const DxcBreadcrumbs: ({ ariaLabel, items, itemsBeforeCollapse, onItemClick, showRoot, }: Props$B) => react_jsx_runtime.JSX.Element;
|
|
621
658
|
|
|
622
659
|
type IconProps = {
|
|
623
660
|
/**
|
|
@@ -647,7 +684,7 @@ type OtherProps = {
|
|
|
647
684
|
*/
|
|
648
685
|
children: ReactNode;
|
|
649
686
|
};
|
|
650
|
-
type Props$
|
|
687
|
+
type Props$A = IconProps | OtherProps;
|
|
651
688
|
|
|
652
689
|
type BulletedListItemPropsType = {
|
|
653
690
|
/**
|
|
@@ -657,7 +694,7 @@ type BulletedListItemPropsType = {
|
|
|
657
694
|
};
|
|
658
695
|
|
|
659
696
|
declare const DxcBulletedList: {
|
|
660
|
-
({ children, type, icon }: Props$
|
|
697
|
+
({ children, type, icon }: Props$A): JSX.Element;
|
|
661
698
|
Item: ({ children }: BulletedListItemPropsType) => JSX.Element;
|
|
662
699
|
};
|
|
663
700
|
|
|
@@ -670,7 +707,7 @@ type Size$3 = {
|
|
|
670
707
|
height?: "small" | "medium" | "large";
|
|
671
708
|
width?: "small" | "medium" | "large" | "fillParent" | "fitContent";
|
|
672
709
|
};
|
|
673
|
-
type Props$
|
|
710
|
+
type Props$z = {
|
|
674
711
|
/**
|
|
675
712
|
* Text to be placed in the button.
|
|
676
713
|
*/
|
|
@@ -722,7 +759,7 @@ type Props$A = {
|
|
|
722
759
|
tabIndex?: number;
|
|
723
760
|
};
|
|
724
761
|
|
|
725
|
-
declare const DxcButton: ({ disabled, icon, iconPosition, label, margin, mode, onClick, semantic, size, tabIndex, title, type, }: Props$
|
|
762
|
+
declare const DxcButton: ({ disabled, icon, iconPosition, label, margin, mode, onClick, semantic, size, tabIndex, title, type, }: Props$z) => JSX.Element;
|
|
726
763
|
|
|
727
764
|
type Size$2 = {
|
|
728
765
|
top?: Space$1;
|
|
@@ -730,7 +767,7 @@ type Size$2 = {
|
|
|
730
767
|
left?: Space$1;
|
|
731
768
|
right?: Space$1;
|
|
732
769
|
};
|
|
733
|
-
type Props$
|
|
770
|
+
type Props$y = {
|
|
734
771
|
/**
|
|
735
772
|
* URL of the image that will be placed in the card component.
|
|
736
773
|
* In case of omission, the image container will not appear and
|
|
@@ -784,9 +821,9 @@ type Props$z = {
|
|
|
784
821
|
children?: ReactNode;
|
|
785
822
|
};
|
|
786
823
|
|
|
787
|
-
declare const DxcCard: ({ imageSrc, imageBgColor, imagePadding, imagePosition, linkHref, onClick, imageCover, margin, tabIndex, outlined, children, }: Props$
|
|
824
|
+
declare const DxcCard: ({ imageSrc, imageBgColor, imagePadding, imagePosition, linkHref, onClick, imageCover, margin, tabIndex, outlined, children, }: Props$y) => react_jsx_runtime.JSX.Element;
|
|
788
825
|
|
|
789
|
-
type Props$
|
|
826
|
+
type Props$x = {
|
|
790
827
|
/**
|
|
791
828
|
* Specifies a string to be used as the name for the checkbox element when no `label` is provided.
|
|
792
829
|
*/
|
|
@@ -851,9 +888,9 @@ type Props$y = {
|
|
|
851
888
|
value?: string;
|
|
852
889
|
};
|
|
853
890
|
|
|
854
|
-
declare const DxcCheckbox: react.ForwardRefExoticComponent<Props$
|
|
891
|
+
declare const DxcCheckbox: react.ForwardRefExoticComponent<Props$x & react.RefAttributes<HTMLDivElement>>;
|
|
855
892
|
|
|
856
|
-
type Props$
|
|
893
|
+
type Props$w = {
|
|
857
894
|
/**
|
|
858
895
|
* Text to be placed on the chip.
|
|
859
896
|
*/
|
|
@@ -889,7 +926,7 @@ type Props$x = {
|
|
|
889
926
|
tabIndex?: number;
|
|
890
927
|
};
|
|
891
928
|
|
|
892
|
-
declare const DxcChip: ({ label, suffixIcon, prefixIcon, onClickSuffix, onClickPrefix, disabled, margin, tabIndex, }: Props$
|
|
929
|
+
declare const DxcChip: ({ label, suffixIcon, prefixIcon, onClickSuffix, onClickPrefix, disabled, margin, tabIndex, }: Props$w) => react_jsx_runtime.JSX.Element;
|
|
893
930
|
|
|
894
931
|
type Space = {
|
|
895
932
|
top?: string;
|
|
@@ -932,7 +969,7 @@ type Overflow = OverflowValues | {
|
|
|
932
969
|
x?: OverflowValues;
|
|
933
970
|
y?: OverflowValues;
|
|
934
971
|
};
|
|
935
|
-
type Props$
|
|
972
|
+
type Props$v = {
|
|
936
973
|
/**
|
|
937
974
|
* Based on the CSS property background allows configuring all properties related to the background of a container.
|
|
938
975
|
*
|
|
@@ -1054,7 +1091,7 @@ type Props$w = {
|
|
|
1054
1091
|
zIndex?: "auto" | number;
|
|
1055
1092
|
};
|
|
1056
1093
|
|
|
1057
|
-
declare function DxcContainer({ display, width, height, overflow, ...props }: Props$
|
|
1094
|
+
declare function DxcContainer({ display, width, height, overflow, ...props }: Props$v): react_jsx_runtime.JSX.Element;
|
|
1058
1095
|
|
|
1059
1096
|
type CommonItemProps = {
|
|
1060
1097
|
badge?: ReactElement;
|
|
@@ -1072,7 +1109,7 @@ type Section = {
|
|
|
1072
1109
|
items: (Item | GroupItem)[];
|
|
1073
1110
|
title?: string;
|
|
1074
1111
|
};
|
|
1075
|
-
type Props$
|
|
1112
|
+
type Props$u = {
|
|
1076
1113
|
/**
|
|
1077
1114
|
* Array of items to be displayed in the Contextual menu.
|
|
1078
1115
|
* Each item can be a single/simple item, a group item or a section.
|
|
@@ -1080,27 +1117,32 @@ type Props$v = {
|
|
|
1080
1117
|
items: (Item | GroupItem)[] | Section[];
|
|
1081
1118
|
};
|
|
1082
1119
|
|
|
1083
|
-
declare function DxcContextualMenu({ items }: Props$
|
|
1120
|
+
declare function DxcContextualMenu({ items }: Props$u): react_jsx_runtime.JSX.Element;
|
|
1084
1121
|
|
|
1085
|
-
type
|
|
1086
|
-
|
|
1122
|
+
type BaseActionCell = {
|
|
1123
|
+
disabled?: boolean;
|
|
1124
|
+
tabIndex?: number;
|
|
1125
|
+
title: string;
|
|
1087
1126
|
};
|
|
1088
|
-
type
|
|
1127
|
+
type ActionCell = BaseActionCell & ({
|
|
1089
1128
|
icon: string | SVG;
|
|
1090
|
-
title: string;
|
|
1091
1129
|
onClick: () => void;
|
|
1092
|
-
disabled?: boolean;
|
|
1093
|
-
tabIndex?: number;
|
|
1094
1130
|
options?: never;
|
|
1095
1131
|
} | {
|
|
1096
1132
|
icon?: never;
|
|
1097
|
-
title: string;
|
|
1098
1133
|
onClick: (value?: string) => void;
|
|
1099
|
-
disabled?: boolean;
|
|
1100
|
-
tabIndex?: number;
|
|
1101
1134
|
options: Option$2[];
|
|
1102
|
-
}
|
|
1103
|
-
type
|
|
1135
|
+
});
|
|
1136
|
+
type ActionsCellPropsType = {
|
|
1137
|
+
/**
|
|
1138
|
+
* It represents a list of interactive elements that will work as buttons or as a dropdown. Those with an icon from Material Symbols
|
|
1139
|
+
* or a SVG are treated as buttons. If any element lacks an icon and includes options, it is interpreted as a dropdown.
|
|
1140
|
+
* Only the first action with options will be displayed and only up to 3 actions.
|
|
1141
|
+
* In the case of the dropdown the click function will pass the value assigned to the option.
|
|
1142
|
+
*/
|
|
1143
|
+
actions: ActionCell[];
|
|
1144
|
+
};
|
|
1145
|
+
type Props$t = {
|
|
1104
1146
|
/**
|
|
1105
1147
|
* The center section of the table. Can be used to render custom
|
|
1106
1148
|
* content in this area.
|
|
@@ -1246,6 +1288,10 @@ type PaginatedProps$1 = {
|
|
|
1246
1288
|
* Function called whenever the current page is changed.
|
|
1247
1289
|
*/
|
|
1248
1290
|
onPageChange?: (_page: number) => void;
|
|
1291
|
+
/**
|
|
1292
|
+
* Default page in which the datagrid is rendered
|
|
1293
|
+
*/
|
|
1294
|
+
defaultPage?: number;
|
|
1249
1295
|
};
|
|
1250
1296
|
type NonPaginatedProps$1 = {
|
|
1251
1297
|
/**
|
|
@@ -1277,6 +1323,10 @@ type NonPaginatedProps$1 = {
|
|
|
1277
1323
|
* Function called whenever the current page is changed.
|
|
1278
1324
|
*/
|
|
1279
1325
|
onPageChange?: never;
|
|
1326
|
+
/**
|
|
1327
|
+
* Default page in which the datagrid is rendered
|
|
1328
|
+
*/
|
|
1329
|
+
defaultPage?: never;
|
|
1280
1330
|
};
|
|
1281
1331
|
type CommonProps$6 = {
|
|
1282
1332
|
columns: GridColumn[];
|
|
@@ -1301,14 +1351,14 @@ type BasicGridProps = {
|
|
|
1301
1351
|
*/
|
|
1302
1352
|
expandable?: false;
|
|
1303
1353
|
};
|
|
1304
|
-
type Props$
|
|
1354
|
+
type Props$s = CommonProps$6 & (PaginatedProps$1 | NonPaginatedProps$1) & ((BasicGridProps & SelectableGridProps) | (ExpandableRows & SelectableGridProps) | (HierarchyRows & SelectableGridProps));
|
|
1305
1355
|
|
|
1306
1356
|
declare const DxcDataGrid: {
|
|
1307
|
-
({ columns, rows, selectable, expandable, onSelectRows, selectedRows, uniqueRowId, summaryRow, onGridRowsChange, showPaginator, showGoToPage, itemsPerPage, itemsPerPageOptions, itemsPerPageFunction, onSort, onPageChange, totalItems, }: Props$
|
|
1308
|
-
ActionsCell: ({ actions }:
|
|
1357
|
+
({ columns, rows, selectable, expandable, onSelectRows, selectedRows, uniqueRowId, summaryRow, onGridRowsChange, showPaginator, showGoToPage, itemsPerPage, itemsPerPageOptions, itemsPerPageFunction, onSort, onPageChange, totalItems, defaultPage, }: Props$s): JSX.Element;
|
|
1358
|
+
ActionsCell: ({ actions }: ActionsCellPropsType) => react_jsx_runtime.JSX.Element;
|
|
1309
1359
|
};
|
|
1310
1360
|
|
|
1311
|
-
type Props$
|
|
1361
|
+
type Props$r = {
|
|
1312
1362
|
/**
|
|
1313
1363
|
* Initial value of the input element, only when it is uncontrolled.
|
|
1314
1364
|
*/
|
|
@@ -1414,9 +1464,9 @@ type Props$s = {
|
|
|
1414
1464
|
ariaLabel?: string;
|
|
1415
1465
|
};
|
|
1416
1466
|
|
|
1417
|
-
declare const DxcDateInput: react.ForwardRefExoticComponent<Props$
|
|
1467
|
+
declare const DxcDateInput: react.ForwardRefExoticComponent<Props$r & react.RefAttributes<HTMLDivElement>>;
|
|
1418
1468
|
|
|
1419
|
-
type Props$
|
|
1469
|
+
type Props$q = {
|
|
1420
1470
|
/**
|
|
1421
1471
|
* If true, the close button will be visible.
|
|
1422
1472
|
*/
|
|
@@ -1451,9 +1501,9 @@ type Props$r = {
|
|
|
1451
1501
|
tabIndex?: number;
|
|
1452
1502
|
};
|
|
1453
1503
|
|
|
1454
|
-
declare const DxcDialog: ({ children, closable, onBackgroundClick, onCloseClick, overlay, tabIndex, }: Props$
|
|
1504
|
+
declare const DxcDialog: ({ children, closable, onBackgroundClick, onCloseClick, overlay, tabIndex, }: Props$q) => JSX.Element;
|
|
1455
1505
|
|
|
1456
|
-
type Props$
|
|
1506
|
+
type Props$p = {
|
|
1457
1507
|
/**
|
|
1458
1508
|
* The divider can be shown in horizontal or vertical.
|
|
1459
1509
|
*/
|
|
@@ -1474,9 +1524,9 @@ type Props$q = {
|
|
|
1474
1524
|
decorative?: boolean;
|
|
1475
1525
|
};
|
|
1476
1526
|
|
|
1477
|
-
declare
|
|
1527
|
+
declare function DxcDivider({ color, decorative, orientation, weight, }: Props$p): react_jsx_runtime.JSX.Element;
|
|
1478
1528
|
|
|
1479
|
-
declare const DxcDropdown: ({ options, optionsIconPosition, icon, iconPosition, label, caretHidden, disabled, expandOnHover, onSelectOption, margin, size, tabIndex, title, }: Props$
|
|
1529
|
+
declare const DxcDropdown: ({ options, optionsIconPosition, icon, iconPosition, label, caretHidden, disabled, expandOnHover, onSelectOption, margin, size, tabIndex, title, }: Props$F) => react_jsx_runtime.JSX.Element;
|
|
1480
1530
|
|
|
1481
1531
|
type FileData = {
|
|
1482
1532
|
/**
|
|
@@ -1577,9 +1627,9 @@ type FileModeProps = CommonProps$5 & {
|
|
|
1577
1627
|
*/
|
|
1578
1628
|
dropAreaLabel?: never;
|
|
1579
1629
|
};
|
|
1580
|
-
type Props$
|
|
1630
|
+
type Props$o = DropModeProps | FileModeProps;
|
|
1581
1631
|
|
|
1582
|
-
declare const DxcFileInput: react.ForwardRefExoticComponent<Props$
|
|
1632
|
+
declare const DxcFileInput: react.ForwardRefExoticComponent<Props$o & react.RefAttributes<HTMLDivElement>>;
|
|
1583
1633
|
|
|
1584
1634
|
type Gap$1 = {
|
|
1585
1635
|
rowGap: string;
|
|
@@ -1614,7 +1664,7 @@ type CommonProps$4 = {
|
|
|
1614
1664
|
*/
|
|
1615
1665
|
alignSelf?: "auto" | "flex-start" | "flex-end" | "center" | "baseline" | "stretch";
|
|
1616
1666
|
};
|
|
1617
|
-
type Props$
|
|
1667
|
+
type Props$n = CommonProps$4 & {
|
|
1618
1668
|
/**
|
|
1619
1669
|
* Sets the flex-direction CSS property.
|
|
1620
1670
|
*
|
|
@@ -1667,7 +1717,7 @@ type Props$o = CommonProps$4 & {
|
|
|
1667
1717
|
children: ReactNode;
|
|
1668
1718
|
};
|
|
1669
1719
|
|
|
1670
|
-
declare const DxcFlex: ({ basis, direction, gap, grow, order, shrink, wrap, ...props }: Props$
|
|
1720
|
+
declare const DxcFlex: ({ basis, direction, gap, grow, order, shrink, wrap, ...props }: Props$n) => react_jsx_runtime.JSX.Element;
|
|
1671
1721
|
|
|
1672
1722
|
type Gap = string | {
|
|
1673
1723
|
columnGap?: string;
|
|
@@ -1725,7 +1775,7 @@ type GridItemProps = {
|
|
|
1725
1775
|
*/
|
|
1726
1776
|
row?: number | string | GridCell;
|
|
1727
1777
|
};
|
|
1728
|
-
type Props$
|
|
1778
|
+
type Props$m = GridItemProps & {
|
|
1729
1779
|
/**
|
|
1730
1780
|
* Sets the grid-auto-columns CSS property.
|
|
1731
1781
|
*
|
|
@@ -1783,17 +1833,20 @@ type Props$n = GridItemProps & {
|
|
|
1783
1833
|
};
|
|
1784
1834
|
|
|
1785
1835
|
declare const DxcGrid: {
|
|
1786
|
-
(props: Props$
|
|
1787
|
-
Item:
|
|
1836
|
+
(props: Props$m): react_jsx_runtime.JSX.Element;
|
|
1837
|
+
Item: _emotion_styled.StyledComponent<{
|
|
1838
|
+
theme?: _emotion_react.Theme;
|
|
1839
|
+
as?: React.ElementType;
|
|
1840
|
+
} & GridItemProps, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
1788
1841
|
};
|
|
1789
1842
|
|
|
1790
|
-
type Props$
|
|
1843
|
+
type Props$l = {
|
|
1791
1844
|
/**
|
|
1792
1845
|
* Defines the heading level from 1 to 5. The styles of the heading are applied according to the level.
|
|
1793
1846
|
* The html tag of the heading will be the one specified in the 'as' prop.
|
|
1794
1847
|
* If 'as' is not specified, the html tag of the heading is the one specified in the 'level' prop.
|
|
1795
1848
|
*/
|
|
1796
|
-
level?: 1 | 2 | 3 | 4 | 5;
|
|
1849
|
+
level?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
1797
1850
|
/**
|
|
1798
1851
|
* Heading text.
|
|
1799
1852
|
*/
|
|
@@ -1801,11 +1854,11 @@ type Props$m = {
|
|
|
1801
1854
|
/**
|
|
1802
1855
|
* Modifies the default weight of the heading.
|
|
1803
1856
|
*/
|
|
1804
|
-
weight?: "light" | "
|
|
1857
|
+
weight?: "light" | "default" | "regular";
|
|
1805
1858
|
/**
|
|
1806
1859
|
* Specifies the HTML tag of the heading.
|
|
1807
1860
|
*/
|
|
1808
|
-
as?: "h1" | "h2" | "h3" | "h4" | "h5";
|
|
1861
|
+
as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
1809
1862
|
/**
|
|
1810
1863
|
* Size of the margin to be applied to the component ('xxsmall' | 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge').
|
|
1811
1864
|
* You can pass an object with 'top', 'bottom', 'left' and 'right' properties in order to specify different margin sizes.
|
|
@@ -1813,9 +1866,9 @@ type Props$m = {
|
|
|
1813
1866
|
margin?: Space$1 | Margin;
|
|
1814
1867
|
};
|
|
1815
1868
|
|
|
1816
|
-
declare
|
|
1869
|
+
declare function DxcHeading({ as, level, margin, text, weight }: Props$l): react_jsx_runtime.JSX.Element;
|
|
1817
1870
|
|
|
1818
|
-
type Props$
|
|
1871
|
+
type Props$k = {
|
|
1819
1872
|
/**
|
|
1820
1873
|
* Alternative text description displayed when the specified image is not loaded.
|
|
1821
1874
|
*
|
|
@@ -1828,21 +1881,35 @@ type Props$l = {
|
|
|
1828
1881
|
* which is required regardless of the presence of the caption or not.
|
|
1829
1882
|
*/
|
|
1830
1883
|
caption?: string;
|
|
1884
|
+
/**
|
|
1885
|
+
* Sets the rendered height of the image.
|
|
1886
|
+
*/
|
|
1887
|
+
height?: string;
|
|
1831
1888
|
/**
|
|
1832
1889
|
* If true, the image will be loaded only when it is visible on the screen (lazy loading).
|
|
1833
1890
|
* Otherwise and by default, the image will be loaded as soon as the component is mounted (eager loading).
|
|
1834
1891
|
*/
|
|
1835
1892
|
lazyLoading?: boolean;
|
|
1836
1893
|
/**
|
|
1837
|
-
*
|
|
1894
|
+
* Sets the object-fit CSS property.
|
|
1895
|
+
*
|
|
1896
|
+
* See MDN: https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit
|
|
1838
1897
|
*/
|
|
1839
|
-
|
|
1898
|
+
objectFit?: "contain" | "cover" | "fill" | "none" | "scale-down";
|
|
1840
1899
|
/**
|
|
1841
|
-
*
|
|
1900
|
+
* Sets the object-position CSS property.
|
|
1842
1901
|
*
|
|
1843
|
-
* See MDN: https://developer.mozilla.org/en-US/docs/Web/
|
|
1902
|
+
* See MDN: https://developer.mozilla.org/en-US/docs/Web/CSS/object-position
|
|
1844
1903
|
*/
|
|
1845
|
-
|
|
1904
|
+
objectPosition?: string;
|
|
1905
|
+
/**
|
|
1906
|
+
* This function will be called when the image fails to load.
|
|
1907
|
+
*/
|
|
1908
|
+
onError?: ReactEventHandler<HTMLImageElement>;
|
|
1909
|
+
/**
|
|
1910
|
+
* This function will be called when the image is loaded.
|
|
1911
|
+
*/
|
|
1912
|
+
onLoad?: ReactEventHandler<HTMLImageElement>;
|
|
1846
1913
|
/**
|
|
1847
1914
|
* One or more strings separated by commas, indicating a set of source sizes.
|
|
1848
1915
|
* If the srcSet attribute is absent or contains no values with a width descriptor,
|
|
@@ -1852,38 +1919,24 @@ type Props$l = {
|
|
|
1852
1919
|
*/
|
|
1853
1920
|
sizes?: string;
|
|
1854
1921
|
/**
|
|
1855
|
-
*
|
|
1856
|
-
*/
|
|
1857
|
-
width?: string;
|
|
1858
|
-
/**
|
|
1859
|
-
* Sets the rendered height of the image.
|
|
1860
|
-
*/
|
|
1861
|
-
height?: string;
|
|
1862
|
-
/**
|
|
1863
|
-
* Sets the object-fit CSS property.
|
|
1864
|
-
*
|
|
1865
|
-
* See MDN: https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit
|
|
1922
|
+
* URL of the image. This prop is required and must be valid.
|
|
1866
1923
|
*/
|
|
1867
|
-
|
|
1924
|
+
src: string;
|
|
1868
1925
|
/**
|
|
1869
|
-
*
|
|
1926
|
+
* List of one or more strings separated by commas indicating a set of possible images for the user agent to use.
|
|
1870
1927
|
*
|
|
1871
|
-
* See MDN: https://developer.mozilla.org/en-US/docs/Web/
|
|
1872
|
-
*/
|
|
1873
|
-
objectPosition?: string;
|
|
1874
|
-
/**
|
|
1875
|
-
* This function will be called when the image is loaded.
|
|
1928
|
+
* See MDN: https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/srcset
|
|
1876
1929
|
*/
|
|
1877
|
-
|
|
1930
|
+
srcSet?: string;
|
|
1878
1931
|
/**
|
|
1879
|
-
*
|
|
1932
|
+
* Sets the rendered width of the image.
|
|
1880
1933
|
*/
|
|
1881
|
-
|
|
1934
|
+
width?: string;
|
|
1882
1935
|
};
|
|
1883
1936
|
|
|
1884
|
-
declare function DxcImage({ alt, caption,
|
|
1937
|
+
declare function DxcImage({ alt, caption, height, lazyLoading, objectFit, objectPosition, onError, onLoad, sizes, src, srcSet, width, }: Props$k): react_jsx_runtime.JSX.Element;
|
|
1885
1938
|
|
|
1886
|
-
type Props$
|
|
1939
|
+
type Props$j = {
|
|
1887
1940
|
/**
|
|
1888
1941
|
* Applies the spacing scale to the bottom side.
|
|
1889
1942
|
*/
|
|
@@ -1918,7 +1971,7 @@ type Props$k = {
|
|
|
1918
1971
|
vertical?: string;
|
|
1919
1972
|
};
|
|
1920
1973
|
|
|
1921
|
-
declare function DxcInset({ bottom, children, horizontal, left, right, space, top, vertical }: Props$
|
|
1974
|
+
declare function DxcInset({ bottom, children, horizontal, left, right, space, top, vertical }: Props$j): react_jsx_runtime.JSX.Element;
|
|
1922
1975
|
|
|
1923
1976
|
type LinkProps = {
|
|
1924
1977
|
/**
|
|
@@ -1997,7 +2050,7 @@ type TabProps$1 = {
|
|
|
1997
2050
|
*/
|
|
1998
2051
|
children: string;
|
|
1999
2052
|
};
|
|
2000
|
-
type Props$
|
|
2053
|
+
type Props$i = {
|
|
2001
2054
|
/**
|
|
2002
2055
|
* Whether the icon should appear above or to the left of the label.
|
|
2003
2056
|
*/
|
|
@@ -2013,11 +2066,11 @@ type Props$j = {
|
|
|
2013
2066
|
};
|
|
2014
2067
|
|
|
2015
2068
|
declare const DxcNavTabs: {
|
|
2016
|
-
({ iconPosition, tabIndex, children }: Props$
|
|
2069
|
+
({ iconPosition, tabIndex, children }: Props$i): JSX.Element;
|
|
2017
2070
|
Tab: react.ForwardRefExoticComponent<TabProps$1 & react.RefAttributes<HTMLAnchorElement>>;
|
|
2018
2071
|
};
|
|
2019
2072
|
|
|
2020
|
-
type Props$
|
|
2073
|
+
type Props$h = {
|
|
2021
2074
|
/**
|
|
2022
2075
|
* Text to be placed above the number.
|
|
2023
2076
|
*/
|
|
@@ -2144,9 +2197,9 @@ type Props$i = {
|
|
|
2144
2197
|
showControls?: boolean;
|
|
2145
2198
|
};
|
|
2146
2199
|
|
|
2147
|
-
declare const DxcNumberInput: react.ForwardRefExoticComponent<Props$
|
|
2200
|
+
declare const DxcNumberInput: react.ForwardRefExoticComponent<Props$h & react.RefAttributes<HTMLDivElement>>;
|
|
2148
2201
|
|
|
2149
|
-
type Props$
|
|
2202
|
+
type Props$g = {
|
|
2150
2203
|
/**
|
|
2151
2204
|
* Number of the current selected page.
|
|
2152
2205
|
*/
|
|
@@ -2184,13 +2237,13 @@ type Props$h = {
|
|
|
2184
2237
|
tabIndex?: number;
|
|
2185
2238
|
};
|
|
2186
2239
|
|
|
2187
|
-
declare const DxcPaginator: ({ currentPage, itemsPerPage, itemsPerPageOptions, totalItems, showGoToPage, onPageChange, itemsPerPageFunction, tabIndex, }: Props$
|
|
2240
|
+
declare const DxcPaginator: ({ currentPage, itemsPerPage, itemsPerPageOptions, totalItems, showGoToPage, onPageChange, itemsPerPageFunction, tabIndex, }: Props$g) => JSX.Element;
|
|
2188
2241
|
|
|
2189
2242
|
declare function DxcParagraph({ children }: {
|
|
2190
2243
|
children: ReactNode;
|
|
2191
2244
|
}): react_jsx_runtime.JSX.Element;
|
|
2192
2245
|
|
|
2193
|
-
type Props$
|
|
2246
|
+
type Props$f = {
|
|
2194
2247
|
/**
|
|
2195
2248
|
* Text to be placed above the password input.
|
|
2196
2249
|
*/
|
|
@@ -2294,7 +2347,7 @@ type Props$g = {
|
|
|
2294
2347
|
ariaLabel?: string;
|
|
2295
2348
|
};
|
|
2296
2349
|
|
|
2297
|
-
declare const DxcPasswordInput: react.ForwardRefExoticComponent<Props$
|
|
2350
|
+
declare const DxcPasswordInput: react.ForwardRefExoticComponent<Props$f & react.RefAttributes<HTMLDivElement>>;
|
|
2298
2351
|
|
|
2299
2352
|
type Size$1 = {
|
|
2300
2353
|
top?: Space$1;
|
|
@@ -2302,7 +2355,7 @@ type Size$1 = {
|
|
|
2302
2355
|
left?: Space$1;
|
|
2303
2356
|
right?: Space$1;
|
|
2304
2357
|
};
|
|
2305
|
-
type Props$
|
|
2358
|
+
type Props$e = {
|
|
2306
2359
|
/**
|
|
2307
2360
|
* Text to be placed above the progress bar.
|
|
2308
2361
|
*/
|
|
@@ -2336,7 +2389,7 @@ type Props$f = {
|
|
|
2336
2389
|
ariaLabel?: string;
|
|
2337
2390
|
};
|
|
2338
2391
|
|
|
2339
|
-
declare const DxcProgressBar: ({ label, helperText, overlay, value, showValue, margin, ariaLabel, }: Props$
|
|
2392
|
+
declare const DxcProgressBar: ({ label, helperText, overlay, value, showValue, margin, ariaLabel, }: Props$e) => JSX.Element;
|
|
2340
2393
|
|
|
2341
2394
|
type Link = {
|
|
2342
2395
|
/**
|
|
@@ -2348,7 +2401,7 @@ type Link = {
|
|
|
2348
2401
|
*/
|
|
2349
2402
|
links?: Link[];
|
|
2350
2403
|
};
|
|
2351
|
-
type Props$
|
|
2404
|
+
type Props$d = {
|
|
2352
2405
|
/**
|
|
2353
2406
|
* Title of the quick nav component.
|
|
2354
2407
|
*/
|
|
@@ -2359,7 +2412,7 @@ type Props$e = {
|
|
|
2359
2412
|
links: Link[];
|
|
2360
2413
|
};
|
|
2361
2414
|
|
|
2362
|
-
declare
|
|
2415
|
+
declare function DxcQuickNav({ links, title }: Props$d): react_jsx_runtime.JSX.Element;
|
|
2363
2416
|
|
|
2364
2417
|
type Option$1 = {
|
|
2365
2418
|
/**
|
|
@@ -2555,23 +2608,13 @@ type NonPaginatedProps = CommonProps$3 & {
|
|
|
2555
2608
|
*/
|
|
2556
2609
|
itemsPerPageFunction?: never;
|
|
2557
2610
|
};
|
|
2558
|
-
type Props$
|
|
2611
|
+
type Props$c = PaginatedProps | NonPaginatedProps;
|
|
2559
2612
|
|
|
2560
2613
|
declare const DxcResultsetTable: {
|
|
2561
|
-
({ columns,
|
|
2562
|
-
ActionsCell: ({ actions }:
|
|
2614
|
+
({ columns, hidePaginator, itemsPerPage, itemsPerPageFunction, itemsPerPageOptions, margin, mode, rows, showGoToPage, tabIndex, }: Props$c): react_jsx_runtime.JSX.Element;
|
|
2615
|
+
ActionsCell: ({ actions }: ActionsCellPropsType) => react_jsx_runtime.JSX.Element;
|
|
2563
2616
|
};
|
|
2564
2617
|
|
|
2565
|
-
type ListOptionGroupType = {
|
|
2566
|
-
/**
|
|
2567
|
-
* Label of the group to be shown in the select's listbox.
|
|
2568
|
-
*/
|
|
2569
|
-
label: string;
|
|
2570
|
-
/**
|
|
2571
|
-
* List of the grouped options.
|
|
2572
|
-
*/
|
|
2573
|
-
options: ListOptionType[];
|
|
2574
|
-
};
|
|
2575
2618
|
type ListOptionType = {
|
|
2576
2619
|
/**
|
|
2577
2620
|
* Element used as the icon that will be placed before the option label.
|
|
@@ -2591,6 +2634,16 @@ type ListOptionType = {
|
|
|
2591
2634
|
*/
|
|
2592
2635
|
value: string;
|
|
2593
2636
|
};
|
|
2637
|
+
type ListOptionGroupType = {
|
|
2638
|
+
/**
|
|
2639
|
+
* Label of the group to be shown in the select's listbox.
|
|
2640
|
+
*/
|
|
2641
|
+
label: string;
|
|
2642
|
+
/**
|
|
2643
|
+
* List of the grouped options.
|
|
2644
|
+
*/
|
|
2645
|
+
options: ListOptionType[];
|
|
2646
|
+
};
|
|
2594
2647
|
type CommonProps$2 = {
|
|
2595
2648
|
/**
|
|
2596
2649
|
* Text to be placed above the select.
|
|
@@ -2660,6 +2713,10 @@ type CommonProps$2 = {
|
|
|
2660
2713
|
ariaLabel?: string;
|
|
2661
2714
|
};
|
|
2662
2715
|
type SingleSelect = CommonProps$2 & {
|
|
2716
|
+
/**
|
|
2717
|
+
* Enables users to select multiple items from the list.
|
|
2718
|
+
*/
|
|
2719
|
+
enableSelectAll?: never;
|
|
2663
2720
|
/**
|
|
2664
2721
|
* If true, the select component will support multiple selected options.
|
|
2665
2722
|
* In that case, value will be an array of strings with each selected
|
|
@@ -2696,6 +2753,10 @@ type SingleSelect = CommonProps$2 & {
|
|
|
2696
2753
|
}) => void;
|
|
2697
2754
|
};
|
|
2698
2755
|
type MultipleSelect = CommonProps$2 & {
|
|
2756
|
+
/**
|
|
2757
|
+
* Enables users to select multiple items from the list.
|
|
2758
|
+
*/
|
|
2759
|
+
enableSelectAll?: boolean;
|
|
2699
2760
|
/**
|
|
2700
2761
|
* If true, the select component will support multiple selected options.
|
|
2701
2762
|
* In that case, value will be an array of strings with each selected
|
|
@@ -2731,11 +2792,11 @@ type MultipleSelect = CommonProps$2 & {
|
|
|
2731
2792
|
error?: string;
|
|
2732
2793
|
}) => void;
|
|
2733
2794
|
};
|
|
2734
|
-
type Props$
|
|
2795
|
+
type Props$b = SingleSelect | MultipleSelect;
|
|
2735
2796
|
|
|
2736
|
-
declare const DxcSelect: react.ForwardRefExoticComponent<Props$
|
|
2797
|
+
declare const DxcSelect: react.ForwardRefExoticComponent<Props$b & react.RefAttributes<HTMLDivElement>>;
|
|
2737
2798
|
|
|
2738
|
-
type Props$
|
|
2799
|
+
type Props$a = {
|
|
2739
2800
|
/**
|
|
2740
2801
|
* Specifies a string to be used as the name for the slider element when no `label` is provided.
|
|
2741
2802
|
*/
|
|
@@ -2814,9 +2875,9 @@ type Props$b = {
|
|
|
2814
2875
|
value?: number;
|
|
2815
2876
|
};
|
|
2816
2877
|
|
|
2817
|
-
declare const DxcSlider: react.ForwardRefExoticComponent<Props$
|
|
2878
|
+
declare const DxcSlider: react.ForwardRefExoticComponent<Props$a & react.RefAttributes<HTMLDivElement>>;
|
|
2818
2879
|
|
|
2819
|
-
type Props$
|
|
2880
|
+
type Props$9 = {
|
|
2820
2881
|
/**
|
|
2821
2882
|
* Specifies a string to be used as the name for the spinner element when no `label` is provided or the `mode` is set to small.
|
|
2822
2883
|
*/
|
|
@@ -2850,11 +2911,11 @@ type Props$a = {
|
|
|
2850
2911
|
value?: number;
|
|
2851
2912
|
};
|
|
2852
2913
|
|
|
2853
|
-
declare const DxcSpinner: ({ ariaLabel, inheritColor, label, margin, mode, showValue, value, }: Props$
|
|
2914
|
+
declare const DxcSpinner: ({ ariaLabel, inheritColor, label, margin, mode, showValue, value, }: Props$9) => react_jsx_runtime.JSX.Element;
|
|
2854
2915
|
|
|
2855
2916
|
type Mode = "default" | "info" | "success" | "warning" | "error";
|
|
2856
2917
|
type Size = "small" | "medium" | "large";
|
|
2857
|
-
type Props$
|
|
2918
|
+
type Props$8 = {
|
|
2858
2919
|
/**
|
|
2859
2920
|
* It will define the color of the light based on its semantic meaning.
|
|
2860
2921
|
*/
|
|
@@ -2869,9 +2930,9 @@ type Props$9 = {
|
|
|
2869
2930
|
size?: Size;
|
|
2870
2931
|
};
|
|
2871
2932
|
|
|
2872
|
-
declare function DxcStatusLight({ label, mode, size }: Props$
|
|
2933
|
+
declare function DxcStatusLight({ label, mode, size }: Props$8): react_jsx_runtime.JSX.Element;
|
|
2873
2934
|
|
|
2874
|
-
type Props$
|
|
2935
|
+
type Props$7 = {
|
|
2875
2936
|
/**
|
|
2876
2937
|
* Specifies a string to be used as the name for the switch element when no `label` is provided.
|
|
2877
2938
|
*/
|
|
@@ -2930,28 +2991,14 @@ type Props$8 = {
|
|
|
2930
2991
|
value?: string;
|
|
2931
2992
|
};
|
|
2932
2993
|
|
|
2933
|
-
declare const DxcSwitch: react.ForwardRefExoticComponent<Props$
|
|
2994
|
+
declare const DxcSwitch: react.ForwardRefExoticComponent<Props$7 & react.RefAttributes<HTMLDivElement>>;
|
|
2934
2995
|
|
|
2935
2996
|
declare const DxcTable: {
|
|
2936
|
-
({ children, margin, mode }: Props$
|
|
2937
|
-
ActionsCell: ({ actions }:
|
|
2997
|
+
({ children, margin, mode }: Props$t): react_jsx_runtime.JSX.Element;
|
|
2998
|
+
ActionsCell: ({ actions }: ActionsCellPropsType) => react_jsx_runtime.JSX.Element;
|
|
2938
2999
|
};
|
|
2939
3000
|
|
|
2940
|
-
type
|
|
2941
|
-
/**
|
|
2942
|
-
* Whether the tab is disabled or not.
|
|
2943
|
-
*/
|
|
2944
|
-
isDisabled?: boolean;
|
|
2945
|
-
/**
|
|
2946
|
-
* If the value is 'true', an empty badge will appear.
|
|
2947
|
-
* If it is 'false', no badge will appear.
|
|
2948
|
-
* If a number is put it will be shown as the label of the notification
|
|
2949
|
-
* in the tab, taking into account that if that number is greater than 99,
|
|
2950
|
-
* it will appear as '+99' in the badge.
|
|
2951
|
-
*/
|
|
2952
|
-
notificationNumber?: boolean | number;
|
|
2953
|
-
};
|
|
2954
|
-
type TabLabelProps = TabCommonProps & {
|
|
3001
|
+
type TabLabelProps = {
|
|
2955
3002
|
/**
|
|
2956
3003
|
* Tab label.
|
|
2957
3004
|
*/
|
|
@@ -2961,7 +3008,7 @@ type TabLabelProps = TabCommonProps & {
|
|
|
2961
3008
|
*/
|
|
2962
3009
|
icon?: string | SVG;
|
|
2963
3010
|
};
|
|
2964
|
-
type TabIconProps =
|
|
3011
|
+
type TabIconProps = {
|
|
2965
3012
|
/**
|
|
2966
3013
|
* Tab label.
|
|
2967
3014
|
*/
|
|
@@ -2974,59 +3021,15 @@ type TabIconProps = TabCommonProps & {
|
|
|
2974
3021
|
type TabProps = {
|
|
2975
3022
|
defaultActive?: boolean;
|
|
2976
3023
|
active?: boolean;
|
|
2977
|
-
icon?: string | SVG;
|
|
2978
|
-
label: string;
|
|
2979
3024
|
title?: string;
|
|
3025
|
+
tabId?: string;
|
|
2980
3026
|
disabled?: boolean;
|
|
2981
3027
|
notificationNumber?: boolean | number;
|
|
2982
3028
|
children: ReactNode;
|
|
2983
3029
|
onClick?: () => void;
|
|
2984
3030
|
onHover?: () => void;
|
|
2985
|
-
};
|
|
2986
|
-
type
|
|
2987
|
-
/**
|
|
2988
|
-
* @deprecated This prop is deprecated and will be removed in future versions. Use the children prop instead.
|
|
2989
|
-
* The index of the active tab. If undefined, the component will be
|
|
2990
|
-
* uncontrolled and the active tab will be managed internally by the component.
|
|
2991
|
-
*/
|
|
2992
|
-
activeTabIndex?: number;
|
|
2993
|
-
/**
|
|
2994
|
-
* @deprecated This prop is deprecated and will be removed in future versions.
|
|
2995
|
-
* Initially active tab, only when it is uncontrolled.
|
|
2996
|
-
*/
|
|
2997
|
-
defaultActiveTabIndex?: number;
|
|
2998
|
-
/**
|
|
2999
|
-
* Whether the icon should appear above or to the left of the label.
|
|
3000
|
-
*/
|
|
3001
|
-
iconPosition?: "top" | "left";
|
|
3002
|
-
/**
|
|
3003
|
-
* Size of the margin to be applied to the component ('xxsmall' | 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge').
|
|
3004
|
-
* You can pass an object with 'top', 'bottom', 'left' and 'right' properties in order to specify different margin sizes.
|
|
3005
|
-
*/
|
|
3006
|
-
margin?: Space$1 | Margin;
|
|
3007
|
-
/**
|
|
3008
|
-
* @deprecated This prop is deprecated and will be removed in future versions.
|
|
3009
|
-
* This function will be called when the user clicks on a tab. The index of the
|
|
3010
|
-
* clicked tab will be passed as a parameter.
|
|
3011
|
-
*/
|
|
3012
|
-
onTabClick?: (index: number) => void;
|
|
3013
|
-
/**
|
|
3014
|
-
* @deprecated This prop is deprecated and will be removed in future versions.
|
|
3015
|
-
* This function will be called when the user hovers a tab.The index of the
|
|
3016
|
-
* hovered tab will be passed as a parameter.
|
|
3017
|
-
*/
|
|
3018
|
-
onTabHover?: (index: number | null) => void;
|
|
3019
|
-
/**
|
|
3020
|
-
* Value of the tabindex attribute applied to each tab.
|
|
3021
|
-
*/
|
|
3022
|
-
tabIndex?: number;
|
|
3023
|
-
/**
|
|
3024
|
-
* @deprecated This prop is deprecated and will be removed in future versions.
|
|
3025
|
-
* An array of objects representing the tabs.
|
|
3026
|
-
*/
|
|
3027
|
-
tabs?: (TabLabelProps | TabIconProps)[];
|
|
3028
|
-
};
|
|
3029
|
-
type NewProps = {
|
|
3031
|
+
} & (TabLabelProps | TabIconProps);
|
|
3032
|
+
type TabsProps = {
|
|
3030
3033
|
/**
|
|
3031
3034
|
* Whether the icon should appear above or to the left of the label.
|
|
3032
3035
|
*/
|
|
@@ -3045,129 +3048,87 @@ type NewProps = {
|
|
|
3045
3048
|
*/
|
|
3046
3049
|
children?: ReactNode;
|
|
3047
3050
|
};
|
|
3048
|
-
type Props$
|
|
3051
|
+
type Props$6 = TabsProps;
|
|
3049
3052
|
|
|
3050
3053
|
declare const DxcTabs: {
|
|
3051
|
-
({
|
|
3054
|
+
({ children, iconPosition, margin, tabIndex }: Props$6): react_jsx_runtime.JSX.Element;
|
|
3052
3055
|
Tab: react.ForwardRefExoticComponent<TabProps & react.RefAttributes<HTMLButtonElement>>;
|
|
3053
3056
|
};
|
|
3054
3057
|
|
|
3055
|
-
type
|
|
3056
|
-
/**
|
|
3057
|
-
* If defined, the tag will be displayed as an anchor, using this prop as "href".
|
|
3058
|
-
* Component will show some visual feedback on hover.
|
|
3059
|
-
*/
|
|
3060
|
-
linkHref?: string;
|
|
3061
|
-
/**
|
|
3062
|
-
* If defined, the tag will be displayed as a button. This function will
|
|
3063
|
-
* be called when the user clicks the tag. Component will show some
|
|
3064
|
-
* visual feedback on hover.
|
|
3065
|
-
*/
|
|
3066
|
-
onClick?: () => void;
|
|
3067
|
-
/**
|
|
3068
|
-
* Background color of the icon section of the tag.
|
|
3069
|
-
*/
|
|
3070
|
-
iconBgColor?: string;
|
|
3071
|
-
/**
|
|
3072
|
-
* Whether the label should appear after or before the icon.
|
|
3073
|
-
*/
|
|
3074
|
-
labelPosition?: "before" | "after";
|
|
3075
|
-
/**
|
|
3076
|
-
* If true, the page is opened in a new browser tab.
|
|
3077
|
-
*/
|
|
3078
|
-
newWindow?: boolean;
|
|
3079
|
-
/**
|
|
3080
|
-
* Size of the margin to be applied to the component ('xxsmall' | 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge').
|
|
3081
|
-
* You can pass an object with 'top', 'bottom', 'left' and 'right' properties in order to specify different margin sizes.
|
|
3082
|
-
*/
|
|
3083
|
-
margin?: Space$1 | Margin;
|
|
3084
|
-
/**
|
|
3085
|
-
* Size of the component.
|
|
3086
|
-
*/
|
|
3087
|
-
size?: "small" | "medium" | "large" | "fillParent" | "fitContent";
|
|
3088
|
-
/**
|
|
3089
|
-
* Value of the tabindex attribute.
|
|
3090
|
-
*/
|
|
3091
|
-
tabIndex?: number;
|
|
3092
|
-
};
|
|
3093
|
-
type TagLabelProps = TagCommonProps & {
|
|
3094
|
-
/**
|
|
3095
|
-
* Material Symbol name or SVG element used as the icon that will be placed next to the label.
|
|
3096
|
-
*/
|
|
3097
|
-
icon?: string | SVG;
|
|
3098
|
-
/**
|
|
3099
|
-
* Text to be placed next inside the tag.
|
|
3100
|
-
*/
|
|
3101
|
-
label: string;
|
|
3102
|
-
};
|
|
3103
|
-
type TagIconProps = TagCommonProps & {
|
|
3104
|
-
/**
|
|
3105
|
-
* Material Symbol name or SVG element used as the icon that will be placed next to the label.
|
|
3106
|
-
*/
|
|
3107
|
-
icon: string | SVG;
|
|
3058
|
+
type Props$5 = {
|
|
3108
3059
|
/**
|
|
3109
|
-
*
|
|
3060
|
+
* Specifies a string to be used as the name for the textarea element when no `label` is provided.
|
|
3110
3061
|
*/
|
|
3111
|
-
|
|
3112
|
-
};
|
|
3113
|
-
type Props$6 = TagLabelProps | TagIconProps;
|
|
3114
|
-
|
|
3115
|
-
/**
|
|
3116
|
-
* @deprecated
|
|
3117
|
-
*/
|
|
3118
|
-
declare const DxcTag: ({ icon, label, linkHref, onClick, iconBgColor, labelPosition, newWindow, margin, size, tabIndex, }: Props$6) => JSX.Element;
|
|
3119
|
-
|
|
3120
|
-
type Props$5 = {
|
|
3062
|
+
ariaLabel?: string;
|
|
3121
3063
|
/**
|
|
3122
|
-
*
|
|
3064
|
+
* HTML autocomplete attribute. Lets the user specify if any permission the user agent has to provide automated assistance in filling out the textarea value.
|
|
3065
|
+
* Its value must be one of all the possible values of the HTML autocomplete attribute: 'on', 'off', 'email', 'username', 'new-password', ...
|
|
3123
3066
|
*/
|
|
3124
|
-
|
|
3067
|
+
autocomplete?: string;
|
|
3125
3068
|
/**
|
|
3126
|
-
*
|
|
3069
|
+
* If true, the component will be disabled.
|
|
3127
3070
|
*/
|
|
3128
|
-
|
|
3071
|
+
disabled?: boolean;
|
|
3129
3072
|
/**
|
|
3130
3073
|
* Initial value of the textarea, only when it is uncontrolled.
|
|
3131
3074
|
*/
|
|
3132
3075
|
defaultValue?: string;
|
|
3133
3076
|
/**
|
|
3134
|
-
*
|
|
3077
|
+
* If it is a defined value and also a truthy string, the component will
|
|
3078
|
+
* change its appearance, showing the error below the textarea. If the
|
|
3079
|
+
* defined value is an empty string, it will reserve a space below the
|
|
3080
|
+
* component for a future error, but it would not change its look. In
|
|
3081
|
+
* case of being undefined or null, both the appearance and the space for
|
|
3082
|
+
* the error message would not be modified.
|
|
3135
3083
|
*/
|
|
3136
|
-
|
|
3084
|
+
error?: string;
|
|
3137
3085
|
/**
|
|
3138
3086
|
* Helper text to be placed above the textarea.
|
|
3139
3087
|
*/
|
|
3140
3088
|
helperText?: string;
|
|
3141
3089
|
/**
|
|
3142
|
-
* Text to be
|
|
3090
|
+
* Text to be placed above the textarea.
|
|
3143
3091
|
*/
|
|
3144
|
-
|
|
3092
|
+
label?: string;
|
|
3145
3093
|
/**
|
|
3146
|
-
*
|
|
3094
|
+
* Specifies the maximum length allowed by the textarea.
|
|
3095
|
+
* This will be checked both when the textarea loses the
|
|
3096
|
+
* focus and while typing within it. If the string entered does not
|
|
3097
|
+
* comply the maximum length, the onBlur and onChange functions will be called
|
|
3098
|
+
* with the current value and an internal error informing that the value
|
|
3099
|
+
* length does not comply the specified range. If a valid length is
|
|
3100
|
+
* reached, the error parameter of both events will not be defined.
|
|
3147
3101
|
*/
|
|
3148
|
-
|
|
3102
|
+
maxLength?: number;
|
|
3149
3103
|
/**
|
|
3150
|
-
*
|
|
3104
|
+
* Size of the margin to be applied to the component ('xxsmall' | 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge').
|
|
3105
|
+
* You can pass an object with 'top', 'bottom', 'left' and 'right' properties in order to specify different margin sizes.
|
|
3151
3106
|
*/
|
|
3152
|
-
|
|
3107
|
+
margin?: Space$1 | Margin;
|
|
3153
3108
|
/**
|
|
3154
|
-
*
|
|
3155
|
-
*
|
|
3156
|
-
* and
|
|
3157
|
-
*
|
|
3109
|
+
* Specifies the minimum length allowed by the textarea.
|
|
3110
|
+
* This will be checked both when the textarea loses the
|
|
3111
|
+
* focus and while typing within it. If the string entered does not
|
|
3112
|
+
* comply the minimum length, the onBlur and onChange functions will be called
|
|
3113
|
+
* with the current value and an internal error informing that the value
|
|
3114
|
+
* length does not comply the specified range. If a valid length is
|
|
3115
|
+
* reached, the error parameter of both events will not be defined.
|
|
3158
3116
|
*/
|
|
3159
|
-
|
|
3117
|
+
minLength?: number;
|
|
3160
3118
|
/**
|
|
3161
|
-
*
|
|
3162
|
-
* - 'auto': The textarea grows or shrinks automatically in order to fit the content.
|
|
3163
|
-
* - 'manual': The height of the textarea is enabled to be manually modified.
|
|
3164
|
-
* - 'none': The textarea has a fixed height and can't be modified.
|
|
3119
|
+
* Name attribute of the textarea element.
|
|
3165
3120
|
*/
|
|
3166
|
-
|
|
3121
|
+
name?: string;
|
|
3167
3122
|
/**
|
|
3168
|
-
*
|
|
3123
|
+
* This function will be called when the textarea loses the focus. An
|
|
3124
|
+
* object including the textarea value and the error (if the value entered
|
|
3125
|
+
* is not valid) will be passed to this function. If there is no error,
|
|
3126
|
+
* error will not be defined.
|
|
3169
3127
|
*/
|
|
3170
|
-
|
|
3128
|
+
onBlur?: (val: {
|
|
3129
|
+
value: string;
|
|
3130
|
+
error?: string;
|
|
3131
|
+
}) => void;
|
|
3171
3132
|
/**
|
|
3172
3133
|
* This function will be called when the user types within the textarea.
|
|
3173
3134
|
* An object including the current value and the error (if the value
|
|
@@ -3179,24 +3140,12 @@ type Props$5 = {
|
|
|
3179
3140
|
error?: string;
|
|
3180
3141
|
}) => void;
|
|
3181
3142
|
/**
|
|
3182
|
-
*
|
|
3183
|
-
*
|
|
3184
|
-
*
|
|
3185
|
-
*
|
|
3186
|
-
*/
|
|
3187
|
-
onBlur?: (val: {
|
|
3188
|
-
value: string;
|
|
3189
|
-
error?: string;
|
|
3190
|
-
}) => void;
|
|
3191
|
-
/**
|
|
3192
|
-
* If it is a defined value and also a truthy string, the component will
|
|
3193
|
-
* change its appearance, showing the error below the textarea. If the
|
|
3194
|
-
* defined value is an empty string, it will reserve a space below the
|
|
3195
|
-
* component for a future error, but it would not change its look. In
|
|
3196
|
-
* case of being undefined or null, both the appearance and the space for
|
|
3197
|
-
* the error message would not be modified.
|
|
3143
|
+
* If true, the textarea will be optional, showing '(Optional)'
|
|
3144
|
+
* next to the label. Otherwise, the field will be considered required
|
|
3145
|
+
* and an error will be passed as a parameter to the OnBlur and onChange functions
|
|
3146
|
+
* when it has not been filled.
|
|
3198
3147
|
*/
|
|
3199
|
-
|
|
3148
|
+
optional?: boolean;
|
|
3200
3149
|
/**
|
|
3201
3150
|
* Regular expression that defines the valid format allowed by the
|
|
3202
3151
|
* textarea. This will be checked both when the textarea loses the focus
|
|
@@ -3208,35 +3157,17 @@ type Props$5 = {
|
|
|
3208
3157
|
*/
|
|
3209
3158
|
pattern?: string;
|
|
3210
3159
|
/**
|
|
3211
|
-
*
|
|
3212
|
-
* This will be checked both when the textarea loses the
|
|
3213
|
-
* focus and while typing within it. If the string entered does not
|
|
3214
|
-
* comply the minimum length, the onBlur and onChange functions will be called
|
|
3215
|
-
* with the current value and an internal error informing that the value
|
|
3216
|
-
* length does not comply the specified range. If a valid length is
|
|
3217
|
-
* reached, the error parameter of both events will not be defined.
|
|
3218
|
-
*/
|
|
3219
|
-
minLength?: number;
|
|
3220
|
-
/**
|
|
3221
|
-
* Specifies the maximum length allowed by the textarea.
|
|
3222
|
-
* This will be checked both when the textarea loses the
|
|
3223
|
-
* focus and while typing within it. If the string entered does not
|
|
3224
|
-
* comply the maximum length, the onBlur and onChange functions will be called
|
|
3225
|
-
* with the current value and an internal error informing that the value
|
|
3226
|
-
* length does not comply the specified range. If a valid length is
|
|
3227
|
-
* reached, the error parameter of both events will not be defined.
|
|
3160
|
+
* Text to be put as placeholder of the textarea.
|
|
3228
3161
|
*/
|
|
3229
|
-
|
|
3162
|
+
placeholder?: string;
|
|
3230
3163
|
/**
|
|
3231
|
-
*
|
|
3232
|
-
* Its value must be one of all the possible values of the HTML autocomplete attribute: 'on', 'off', 'email', 'username', 'new-password', ...
|
|
3164
|
+
* If true, the component will not be mutable, meaning the user can not edit the control.
|
|
3233
3165
|
*/
|
|
3234
|
-
|
|
3166
|
+
readOnly?: boolean;
|
|
3235
3167
|
/**
|
|
3236
|
-
*
|
|
3237
|
-
* You can pass an object with 'top', 'bottom', 'left' and 'right' properties in order to specify different margin sizes.
|
|
3168
|
+
* Number of rows of the textarea.
|
|
3238
3169
|
*/
|
|
3239
|
-
|
|
3170
|
+
rows?: number;
|
|
3240
3171
|
/**
|
|
3241
3172
|
* Size of the component.
|
|
3242
3173
|
*/
|
|
@@ -3246,9 +3177,16 @@ type Props$5 = {
|
|
|
3246
3177
|
*/
|
|
3247
3178
|
tabIndex?: number;
|
|
3248
3179
|
/**
|
|
3249
|
-
*
|
|
3180
|
+
* Value of the textarea. If undefined, the component will be uncontrolled and the value will be managed internally.
|
|
3250
3181
|
*/
|
|
3251
|
-
|
|
3182
|
+
value?: string;
|
|
3183
|
+
/**
|
|
3184
|
+
* Defines the textarea's ability to resize vertically. It can be:
|
|
3185
|
+
* - 'auto': The textarea grows or shrinks automatically in order to fit the content.
|
|
3186
|
+
* - 'manual': The height of the textarea is enabled to be manually modified.
|
|
3187
|
+
* - 'none': The textarea has a fixed height and can't be modified.
|
|
3188
|
+
*/
|
|
3189
|
+
verticalGrow?: "auto" | "manual" | "none";
|
|
3252
3190
|
};
|
|
3253
3191
|
|
|
3254
3192
|
declare const DxcTextarea: react.ForwardRefExoticComponent<Props$5 & react.RefAttributes<HTMLDivElement>>;
|
|
@@ -3600,12 +3538,12 @@ type Props$1 = {
|
|
|
3600
3538
|
children: ReactNode;
|
|
3601
3539
|
color?: string;
|
|
3602
3540
|
display?: "inline" | "block";
|
|
3603
|
-
fontFamily?:
|
|
3604
|
-
fontSize?:
|
|
3541
|
+
fontFamily?: string;
|
|
3542
|
+
fontSize?: string;
|
|
3605
3543
|
fontStyle?: "italic" | "normal";
|
|
3606
|
-
fontWeight?:
|
|
3607
|
-
letterSpacing?:
|
|
3608
|
-
lineHeight?:
|
|
3544
|
+
fontWeight?: string;
|
|
3545
|
+
letterSpacing?: string;
|
|
3546
|
+
lineHeight?: string;
|
|
3609
3547
|
textAlign?: "left" | "center" | "right";
|
|
3610
3548
|
textDecoration?: "none" | "underline" | "line-through";
|
|
3611
3549
|
textOverflow?: "clip" | "ellipsis" | "unset";
|
|
@@ -4715,23 +4653,6 @@ declare const componentTokens: {
|
|
|
4715
4653
|
focusOutline: string;
|
|
4716
4654
|
scrollButtonsWidth: string;
|
|
4717
4655
|
};
|
|
4718
|
-
tag: {
|
|
4719
|
-
fontFamily: string;
|
|
4720
|
-
fontColor: string;
|
|
4721
|
-
fontSize: string;
|
|
4722
|
-
fontStyle: string;
|
|
4723
|
-
fontWeight: string;
|
|
4724
|
-
labelPaddingTop: string;
|
|
4725
|
-
labelPaddingBottom: string;
|
|
4726
|
-
labelPaddingLeft: string;
|
|
4727
|
-
labelPaddingRight: string;
|
|
4728
|
-
height: string;
|
|
4729
|
-
iconColor: string;
|
|
4730
|
-
iconSectionWidth: string;
|
|
4731
|
-
iconHeight: string;
|
|
4732
|
-
iconWidth: string;
|
|
4733
|
-
focusColor: string;
|
|
4734
|
-
};
|
|
4735
4656
|
textarea: {
|
|
4736
4657
|
fontFamily: string;
|
|
4737
4658
|
enabledBorderColor: string;
|
|
@@ -5079,10 +5000,6 @@ type OpinionatedTheme = {
|
|
|
5079
5000
|
tabs: {
|
|
5080
5001
|
baseColor: string;
|
|
5081
5002
|
};
|
|
5082
|
-
tag: {
|
|
5083
|
-
fontColor: string;
|
|
5084
|
-
iconColor: string;
|
|
5085
|
-
};
|
|
5086
5003
|
textarea: {
|
|
5087
5004
|
fontColor: string;
|
|
5088
5005
|
hoverBorderColor: string;
|
|
@@ -5161,6 +5078,10 @@ declare const defaultTranslatedComponentLabels: {
|
|
|
5161
5078
|
minToMaxOfText: (minNumberOfItems: number, maxNumberOfItems: number, totalItems: number) => string;
|
|
5162
5079
|
goToPageText: string;
|
|
5163
5080
|
pageOfText: (pageNumber: number, totalPagesNumber: number) => string;
|
|
5081
|
+
firstResultsTitle: string;
|
|
5082
|
+
previousResultsTitle: string;
|
|
5083
|
+
nextResultsTitle: string;
|
|
5084
|
+
lastResultsTitle: string;
|
|
5164
5085
|
};
|
|
5165
5086
|
passwordInput: {
|
|
5166
5087
|
inputShowPasswordTitle: string;
|
|
@@ -5173,9 +5094,10 @@ declare const defaultTranslatedComponentLabels: {
|
|
|
5173
5094
|
optionalItemLabelDefault: string;
|
|
5174
5095
|
};
|
|
5175
5096
|
select: {
|
|
5176
|
-
noMatchesErrorMessage: string;
|
|
5177
5097
|
actionClearSelectionTitle: string;
|
|
5178
5098
|
actionClearSearchTitle: string;
|
|
5099
|
+
noMatchesErrorMessage: string;
|
|
5100
|
+
selectAllLabel: string;
|
|
5179
5101
|
};
|
|
5180
5102
|
tabs: {
|
|
5181
5103
|
scrollLeft: string;
|
|
@@ -6243,23 +6165,6 @@ declare const HalstackContext: react.Context<{
|
|
|
6243
6165
|
focusOutline: string;
|
|
6244
6166
|
scrollButtonsWidth: string;
|
|
6245
6167
|
};
|
|
6246
|
-
tag: {
|
|
6247
|
-
fontFamily: string;
|
|
6248
|
-
fontColor: string;
|
|
6249
|
-
fontSize: string;
|
|
6250
|
-
fontStyle: string;
|
|
6251
|
-
fontWeight: string;
|
|
6252
|
-
labelPaddingTop: string;
|
|
6253
|
-
labelPaddingBottom: string;
|
|
6254
|
-
labelPaddingLeft: string;
|
|
6255
|
-
labelPaddingRight: string;
|
|
6256
|
-
height: string;
|
|
6257
|
-
iconColor: string;
|
|
6258
|
-
iconSectionWidth: string;
|
|
6259
|
-
iconHeight: string;
|
|
6260
|
-
iconWidth: string;
|
|
6261
|
-
focusColor: string;
|
|
6262
|
-
};
|
|
6263
6168
|
textarea: {
|
|
6264
6169
|
fontFamily: string;
|
|
6265
6170
|
enabledBorderColor: string;
|
|
@@ -6533,6 +6438,10 @@ declare const HalstackLanguageContext: react.Context<{
|
|
|
6533
6438
|
minToMaxOfText: (minNumberOfItems: number, maxNumberOfItems: number, totalItems: number) => string;
|
|
6534
6439
|
goToPageText: string;
|
|
6535
6440
|
pageOfText: (pageNumber: number, totalPagesNumber: number) => string;
|
|
6441
|
+
firstResultsTitle: string;
|
|
6442
|
+
previousResultsTitle: string;
|
|
6443
|
+
nextResultsTitle: string;
|
|
6444
|
+
lastResultsTitle: string;
|
|
6536
6445
|
};
|
|
6537
6446
|
passwordInput: {
|
|
6538
6447
|
inputShowPasswordTitle: string;
|
|
@@ -6545,9 +6454,10 @@ declare const HalstackLanguageContext: react.Context<{
|
|
|
6545
6454
|
optionalItemLabelDefault: string;
|
|
6546
6455
|
};
|
|
6547
6456
|
select: {
|
|
6548
|
-
noMatchesErrorMessage: string;
|
|
6549
6457
|
actionClearSelectionTitle: string;
|
|
6550
6458
|
actionClearSearchTitle: string;
|
|
6459
|
+
noMatchesErrorMessage: string;
|
|
6460
|
+
selectAllLabel: string;
|
|
6551
6461
|
};
|
|
6552
6462
|
tabs: {
|
|
6553
6463
|
scrollLeft: string;
|
|
@@ -6578,4 +6488,4 @@ declare function useToast(): {
|
|
|
6578
6488
|
loading: (toast: Omit<LoadingToast, "loading">) => (() => void) | undefined;
|
|
6579
6489
|
};
|
|
6580
6490
|
|
|
6581
|
-
export { DxcAccordion, DxcAlert, DxcApplicationLayout, DxcBadge, DxcBleed, DxcBreadcrumbs, DxcBulletedList, DxcButton, DxcCard, DxcCheckbox, DxcChip, DxcContainer, DxcContextualMenu, DxcDataGrid, DxcDateInput, DxcDialog, DxcDivider, DxcDropdown, DxcFileInput, DxcFlex, DxcGrid, DxcHeading, DxcImage, DxcInset, DxcLink, DxcNavTabs, DxcNumberInput, DxcPaginator, DxcParagraph, DxcPasswordInput, DxcProgressBar, DxcQuickNav, DxcRadioGroup, DxcResultsetTable, DxcSelect, DxcSlider, DxcSpinner, DxcStatusLight, DxcSwitch, DxcTable, DxcTabs,
|
|
6491
|
+
export { DxcAccordion, DxcAlert, DxcApplicationLayout, DxcBadge, DxcBleed, DxcBreadcrumbs, DxcBulletedList, DxcButton, DxcCard, DxcCheckbox, DxcChip, DxcContainer, DxcContextualMenu, DxcDataGrid, DxcDateInput, DxcDialog, DxcDivider, DxcDropdown, DxcFileInput, DxcFlex, DxcGrid, DxcHeading, DxcImage, DxcInset, DxcLink, DxcNavTabs, DxcNumberInput, DxcPaginator, DxcParagraph, DxcPasswordInput, DxcProgressBar, DxcQuickNav, DxcRadioGroup, DxcResultsetTable, DxcSelect, DxcSlider, DxcSpinner, DxcStatusLight, DxcSwitch, DxcTable, DxcTabs, DxcTextInput, DxcTextarea, DxcToastsQueue, DxcToggleGroup, DxcTooltip, DxcTypography, DxcWizard, HalstackContext, HalstackLanguageContext, HalstackProvider, useToast };
|