@dxc-technology/halstack-react 16.0.1 → 17.0.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/index.d.mts CHANGED
@@ -59,7 +59,7 @@ type AccordionItemProps = {
59
59
  */
60
60
  tabIndex?: number;
61
61
  };
62
- type CommonProps$9 = {
62
+ type CommonProps$a = {
63
63
  /**
64
64
  * Size of the margin to be applied to the component ('xxsmall' | 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge').
65
65
  * You can pass an object with 'top', 'bottom', 'left' and 'right' properties in order to specify different margin sizes.
@@ -70,7 +70,7 @@ type CommonProps$9 = {
70
70
  */
71
71
  children: ReactElement<AccordionItemProps>[] | ReactElement<AccordionItemProps>;
72
72
  };
73
- type IndependentProps = CommonProps$9 & {
73
+ type IndependentProps = CommonProps$a & {
74
74
  /**
75
75
  * When true, limits the user to single-open section at a time. When false, multiple sections can be opened simultaneously.
76
76
  */
@@ -91,7 +91,7 @@ type IndependentProps = CommonProps$9 & {
91
91
  */
92
92
  onActiveChange?: (index: number) => void;
93
93
  };
94
- type NonIndependentProps = CommonProps$9 & {
94
+ type NonIndependentProps = CommonProps$a & {
95
95
  /**
96
96
  * When true, limits the user to single-open section at a time. When false, multiple sections can be opened simultaneously.
97
97
  */
@@ -112,10 +112,10 @@ type NonIndependentProps = CommonProps$9 & {
112
112
  */
113
113
  onActiveChange?: (index: number[]) => void;
114
114
  };
115
- type Props$K = IndependentProps | NonIndependentProps;
115
+ type Props$L = IndependentProps | NonIndependentProps;
116
116
 
117
117
  declare const DxcAccordion: {
118
- (props: Props$K): JSX.Element;
118
+ (props: Props$L): JSX.Element;
119
119
  AccordionItem: ({ label, subLabel, badge, statusLight, icon, assistiveText, disabled, children, tabIndex, }: AccordionItemProps) => JSX.Element;
120
120
  };
121
121
 
@@ -145,7 +145,7 @@ type Message = {
145
145
  */
146
146
  text: ReactNode;
147
147
  };
148
- type CommonProps$8 = {
148
+ type CommonProps$9 = {
149
149
  /**
150
150
  * If true, the alert will have a close button that will remove the message from the alert,
151
151
  * only in banner and inline modes. The rest of the functionality will depend
@@ -198,61 +198,39 @@ type ModeSpecificProps = {
198
198
  */
199
199
  mode: "modal";
200
200
  };
201
- type Props$J = CommonProps$8 & ModeSpecificProps;
201
+ type Props$K = CommonProps$9 & ModeSpecificProps;
202
202
 
203
- declare const DxcAlert: ({ closable, message, mode, primaryAction, secondaryAction, semantic, title, }: Props$J) => react_jsx_runtime.JSX.Element;
203
+ declare const DxcAlert: ({ closable, message, mode, primaryAction, secondaryAction, semantic, title, }: Props$K) => react_jsx_runtime.JSX.Element;
204
204
 
205
- type Section$1 = {
206
- items: (Item$2 | GroupItem$2)[];
207
- title?: string;
208
- };
209
- type Props$I = {
205
+ type SearchBarProps = {
210
206
  /**
211
- * The content rendered in the bottom part of the sidenav, under the navigation menu.
212
- */
213
- bottomContent?: ReactNode;
214
- /**
215
- * Object with the properties of the branding placed at the top of the sidenav.
207
+ * If true, the search bar input will be focused when rendered.
216
208
  */
217
- appTitle?: string | ReactNode;
209
+ autoFocus?: boolean;
218
210
  /**
219
- * Initial state of the expansion of the sidenav, only when it is uncontrolled.
211
+ * If true, the component will be disabled.
220
212
  */
221
- defaultExpanded?: boolean;
213
+ disabled?: boolean;
222
214
  /**
223
- * If true the nav menu will have lines marking the groups.
215
+ * Function invoked when the search bar loses focus.
224
216
  */
225
- displayGroupLines?: boolean;
217
+ onBlur?: (value: string) => void;
226
218
  /**
227
- * If true, the sidenav is expanded.
228
- * If undefined the component will be uncontrolled and the value will be managed internally by the component.
219
+ * Function invoked when the user cancels the search.
229
220
  */
230
- expanded?: boolean;
221
+ onCancel?: () => void;
231
222
  /**
232
- * Array of items to be displayed in the navigation menu.
233
- * Each item can be a single/simple item, a group item or a section.
223
+ * Function invoked when the user changes the input value.
234
224
  */
235
- navItems?: (Item$2 | GroupItem$2)[] | Section$1[];
225
+ onChange?: (value: string) => void;
236
226
  /**
237
- * Function called when the expansion state of the sidenav changes.
227
+ * Function invoked when the Enter key is pressed.
238
228
  */
239
- onExpandedChange?: (value: boolean) => void;
229
+ onEnter?: (value: string) => void;
240
230
  /**
241
- * The additional content rendered in the upper part of the sidenav, under the branding.
231
+ * Placeholder text displayed in the search bar input field.
242
232
  */
243
- topContent?: ReactNode;
244
- };
245
- type CommonItemProps$1 = {
246
- badge?: ReactElement;
247
- icon?: string | SVG;
248
- label: string;
249
- };
250
- type Item$2 = CommonItemProps$1 & {
251
- onSelect?: () => void;
252
- selected?: boolean;
253
- };
254
- type GroupItem$2 = CommonItemProps$1 & {
255
- items: (Item$2 | GroupItem$2)[];
233
+ placeholder?: string;
256
234
  };
257
235
 
258
236
  type CommonItemProps = {
@@ -270,17 +248,18 @@ type Item$1 = CommonItemProps & {
270
248
  };
271
249
  type GroupItem$1 = CommonItemProps & {
272
250
  items: (Item$1 | GroupItem$1)[];
251
+ defaultOpen?: boolean;
273
252
  };
274
- type Section = {
253
+ type Section$1 = {
275
254
  items: (Item$1 | GroupItem$1)[];
276
255
  title?: string;
277
256
  };
278
- type Props$H = {
257
+ type Props$J = {
279
258
  /**
280
259
  * Array of items to be displayed in the menu.
281
260
  * Each item can be a single/simple item, a group item or a section.
282
261
  */
283
- items: (Item$1 | GroupItem$1)[] | Section[];
262
+ items: (Item$1 | GroupItem$1)[] | Section$1[];
284
263
  /**
285
264
  * If true the menu will be displayed with a border.
286
265
  */
@@ -303,14 +282,62 @@ type Props$H = {
303
282
  isHorizontal?: boolean;
304
283
  };
305
284
 
285
+ type Section = {
286
+ items: (Item$1 | GroupItem$1)[];
287
+ title?: string;
288
+ };
289
+ type SearchbarSidenavProps = Omit<SearchBarProps, "autoFocus" | "disabled" | "onCancel">;
290
+ type Props$I = {
291
+ /**
292
+ * The content rendered in the bottom part of the sidenav, under the navigation menu.
293
+ */
294
+ bottomContent?: ReactNode;
295
+ /**
296
+ * Object with the properties of the branding placed at the top of the sidenav.
297
+ */
298
+ appTitle?: string | ReactNode;
299
+ /**
300
+ * Initial state of the expansion of the sidenav, only when it is uncontrolled.
301
+ */
302
+ defaultExpanded?: boolean;
303
+ /**
304
+ * If true the nav menu will have lines marking the groups.
305
+ */
306
+ displayGroupLines?: boolean;
307
+ /**
308
+ * If true, the sidenav is expanded.
309
+ * If undefined the component will be uncontrolled and the value will be managed internally by the component.
310
+ */
311
+ expanded?: boolean;
312
+ /**
313
+ * Array of items to be displayed in the navigation menu.
314
+ * Each item can be a single/simple item, a group item or a section.
315
+ */
316
+ navItems?: (Item$1 | GroupItem$1)[] | Section[];
317
+ /**
318
+ * Function called when the expansion state of the sidenav changes.
319
+ */
320
+ onExpandedChange?: (value: boolean) => void;
321
+ /**
322
+ * When provided, a search bar will be rendered at the top of the sidenav.
323
+ */
324
+ searchBar?: SearchbarSidenavProps;
325
+ /**
326
+ * The additional content rendered in the upper part of the sidenav, under the branding.
327
+ */
328
+ topContent?: ReactNode;
329
+ };
330
+
306
331
  type GroupItem = CommonItemProps & {
307
332
  items: Item$1[];
308
333
  };
309
334
  type MainNavPropsType = (GroupItem | Item$1)[];
310
- type Props$G = {
335
+ type SearchBarHeaderProps = Omit<SearchBarProps, "autoFocus" | "disabled">;
336
+ type Props$H = {
311
337
  appTitle?: string;
312
338
  navItems?: MainNavPropsType;
313
339
  responsiveBottomContent?: ReactNode;
340
+ searchBar?: SearchBarHeaderProps;
314
341
  sideContent?: ReactNode | ((isResponsive: boolean) => ReactNode);
315
342
  };
316
343
 
@@ -342,7 +369,7 @@ type Logo = {
342
369
  /**
343
370
  * Source of the logo image.
344
371
  */
345
- src: string;
372
+ src: string | SVG;
346
373
  /**
347
374
  * Alternative text for the logo image.
348
375
  */
@@ -438,9 +465,9 @@ type ApplicationLayoutPropsType = {
438
465
  declare const DxcApplicationLayout: {
439
466
  ({ logo, header, sidenav, footer, children }: ApplicationLayoutPropsType): JSX.Element;
440
467
  Footer: ({ bottomLinks, copyright, leftContent, logo, mode, rightContent, socialLinks, tabIndex, }: FooterPropsType) => JSX.Element;
441
- Header: ({ appTitle, navItems, sideContent, responsiveBottomContent }: Props$G) => JSX.Element;
468
+ Header: ({ appTitle, navItems, responsiveBottomContent, searchBar, sideContent, }: Props$H) => JSX.Element;
442
469
  Main: ({ children }: AppLayoutMainPropsType) => JSX.Element;
443
- Sidenav: ({ topContent, bottomContent, navItems, appTitle, displayGroupLines, expanded, defaultExpanded, onExpandedChange, }: Props$I) => JSX.Element;
470
+ Sidenav: ({ topContent, bottomContent, navItems, appTitle, displayGroupLines, expanded, defaultExpanded, onExpandedChange, searchBar, }: Props$I) => JSX.Element;
444
471
  };
445
472
 
446
473
  type Size$5 = "xsmall" | "small" | "medium" | "large" | "xlarge" | "xxlarge";
@@ -450,7 +477,7 @@ interface Status {
450
477
  mode: "default" | "info" | "success" | "warning" | "error";
451
478
  position: "top" | "bottom";
452
479
  }
453
- type Props$F = {
480
+ type Props$G = {
454
481
  /**
455
482
  * Affects the visual style of the avatar. It can be used following semantic purposes or not.
456
483
  */
@@ -511,7 +538,7 @@ type Props$F = {
511
538
  title?: string;
512
539
  };
513
540
 
514
- declare const DxcAvatar: react.MemoExoticComponent<({ color, disabled, icon, imageSrc, label, linkHref, onClick, primaryText, secondaryText, shape, size, status, tabIndex, title, }: Props$F) => react_jsx_runtime.JSX.Element>;
541
+ declare const DxcAvatar: react.MemoExoticComponent<({ color, disabled, icon, imageSrc, label, linkHref, onClick, primaryText, secondaryText, shape, size, status, tabIndex, title, }: Props$G) => react_jsx_runtime.JSX.Element>;
515
542
 
516
543
  type ContextualProps = {
517
544
  /**
@@ -549,7 +576,7 @@ type NotificationProps = {
549
576
  */
550
577
  color?: never;
551
578
  };
552
- type CommonProps$7 = {
579
+ type CommonProps$8 = {
553
580
  /**
554
581
  * Text representing advisory information related to the badge. Under the hood, this prop also serves as an accessible label for the component.
555
582
  */
@@ -563,11 +590,11 @@ type CommonProps$7 = {
563
590
  */
564
591
  size?: "small" | "medium" | "large";
565
592
  };
566
- type Props$E = (ContextualProps | NotificationProps) & CommonProps$7;
593
+ type Props$F = (ContextualProps | NotificationProps) & CommonProps$8;
567
594
 
568
- declare const DxcBadge: ({ label, title, mode, color, icon, notificationLimit, size, }: Props$E) => JSX.Element;
595
+ declare const DxcBadge: ({ label, title, mode, color, icon, notificationLimit, size, }: Props$F) => JSX.Element;
569
596
 
570
- type Props$D = {
597
+ type Props$E = {
571
598
  /**
572
599
  * Applies the spacing scale to all sides.
573
600
  */
@@ -602,13 +629,13 @@ type Props$D = {
602
629
  children: ReactNode;
603
630
  };
604
631
 
605
- declare const DxcBleed: ({ space, horizontal, vertical, top, right, bottom, left, children }: Props$D) => react_jsx_runtime.JSX.Element;
632
+ declare const DxcBleed: ({ space, horizontal, vertical, top, right, bottom, left, children }: Props$E) => react_jsx_runtime.JSX.Element;
606
633
 
607
634
  type Item = {
608
635
  href?: string;
609
636
  label: string;
610
637
  };
611
- type Props$C = {
638
+ type Props$D = {
612
639
  /**
613
640
  * Provides a label that describes the type of navigation enabled by
614
641
  * the component.
@@ -640,7 +667,7 @@ type Props$C = {
640
667
  showRoot?: boolean;
641
668
  };
642
669
 
643
- declare const DxcBreadcrumbs: ({ ariaLabel, items, itemsBeforeCollapse, onItemClick, showRoot, }: Props$C) => react_jsx_runtime.JSX.Element;
670
+ declare const DxcBreadcrumbs: ({ ariaLabel, items, itemsBeforeCollapse, onItemClick, showRoot, }: Props$D) => react_jsx_runtime.JSX.Element;
644
671
 
645
672
  type IconProps = {
646
673
  /**
@@ -670,7 +697,7 @@ type OtherProps = {
670
697
  */
671
698
  children: ReactNode;
672
699
  };
673
- type Props$B = IconProps | OtherProps;
700
+ type Props$C = IconProps | OtherProps;
674
701
  type BulletedListItemPropsType = {
675
702
  /**
676
703
  * Text to be shown in the list.
@@ -679,7 +706,7 @@ type BulletedListItemPropsType = {
679
706
  };
680
707
 
681
708
  declare const DxcBulletedList: {
682
- ({ children, type, icon }: Props$B): JSX.Element;
709
+ ({ children, type, icon }: Props$C): JSX.Element;
683
710
  Item: ({ children }: BulletedListItemPropsType) => JSX.Element;
684
711
  };
685
712
 
@@ -692,7 +719,7 @@ type Size$4 = {
692
719
  height?: "small" | "medium" | "large";
693
720
  width?: "small" | "medium" | "large" | "fillParent" | "fitContent";
694
721
  };
695
- type Props$A = {
722
+ type Props$B = {
696
723
  /**
697
724
  * Text to be placed in the button.
698
725
  */
@@ -744,69 +771,167 @@ type Props$A = {
744
771
  tabIndex?: number;
745
772
  };
746
773
 
747
- declare const DxcButton: ({ disabled, icon, iconPosition, label, margin, mode, onClick, semantic, size, tabIndex, title, type, }: Props$A) => JSX.Element;
774
+ declare const DxcButton: ({ disabled, icon, iconPosition, label, margin, mode, onClick, semantic, size, tabIndex, title, type, }: Props$B) => JSX.Element;
775
+
776
+ type Props$A = {
777
+ /**
778
+ * Alternative text description displayed when the specified image is not loaded.
779
+ *
780
+ * See MDN: https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/alt
781
+ * See W3C alt decision tree: https://www.w3.org/WAI/tutorials/images/decision-tree/
782
+ */
783
+ alt: string;
784
+ /**
785
+ * Image legend with a descriptive purpose. It is placed below the image and is complementary to the alt attribute,
786
+ * which is required regardless of the presence of the caption or not.
787
+ */
788
+ caption?: string;
789
+ /**
790
+ * Sets the rendered height of the image.
791
+ */
792
+ height?: string;
793
+ /**
794
+ * If true, the image will be loaded only when it is visible on the screen (lazy loading).
795
+ * Otherwise and by default, the image will be loaded as soon as the component is mounted (eager loading).
796
+ */
797
+ lazyLoading?: boolean;
798
+ /**
799
+ * Sets the object-fit CSS property.
800
+ *
801
+ * See MDN: https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit
802
+ */
803
+ objectFit?: "contain" | "cover" | "fill" | "none" | "scale-down";
804
+ /**
805
+ * Sets the object-position CSS property.
806
+ *
807
+ * See MDN: https://developer.mozilla.org/en-US/docs/Web/CSS/object-position
808
+ */
809
+ objectPosition?: string;
810
+ /**
811
+ * This function will be called when the image fails to load.
812
+ */
813
+ onError?: ReactEventHandler<HTMLImageElement>;
814
+ /**
815
+ * This function will be called when the image is loaded.
816
+ */
817
+ onLoad?: ReactEventHandler<HTMLImageElement>;
818
+ /**
819
+ * One or more strings separated by commas, indicating a set of source sizes.
820
+ * If the srcSet attribute is absent or contains no values with a width descriptor,
821
+ * then this attribute has no effect.
822
+ *
823
+ * See MDN: https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/sizes
824
+ */
825
+ sizes?: string;
826
+ /**
827
+ * URL of the image. This prop is required and must be valid.
828
+ */
829
+ src: string;
830
+ /**
831
+ * List of one or more strings separated by commas indicating a set of possible images for the user agent to use.
832
+ *
833
+ * See MDN: https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/srcset
834
+ */
835
+ srcSet?: string;
836
+ /**
837
+ * Sets the rendered width of the image.
838
+ */
839
+ width?: string;
840
+ };
748
841
 
749
842
  type Size$3 = {
750
- top?: Space$1;
751
- bottom?: Space$1;
752
- left?: Space$1;
753
- right?: Space$1;
843
+ width?: "fillParent" | "fitContent";
844
+ height?: "fillParent" | "fitContent";
754
845
  };
755
846
  type Props$z = {
756
847
  /**
757
- * URL of the image that will be placed in the card component.
758
- * In case of omission, the image container will not appear and
759
- * the content will occupy its space.
848
+ * Custom content that will be placed inside the component.
760
849
  */
761
- imageSrc?: string;
850
+ children?: ReactNode;
851
+ /**
852
+ * Initial state of the checkbox, only when it is uncontrolled.
853
+ */
854
+ defaultSelected?: boolean;
762
855
  /**
763
- * Color of the image background.
856
+ * Defines the direction of the content inside the card. It can be set to "row" or "column". The default value is "column".
764
857
  */
765
- imageBgColor?: string;
858
+ direction?: "row" | "column";
766
859
  /**
767
- * Size of the padding to be applied to the image section of the
768
- * component. You can pass an object with 'top', 'bottom', 'left'
769
- * and 'right' properties in order to specify different padding sizes.
860
+ * Defines the size of the card when it is empty.
770
861
  */
771
- imagePadding?: Space$1 | Size$3;
862
+ emptySize?: {
863
+ width?: string;
864
+ height?: string;
865
+ iconSize?: "small" | "medium" | "large";
866
+ };
867
+ /**
868
+ * URL to navigate to when the card is clicked.
869
+ * If href is defined selectable will be ignored and the link will be always considered as an anchor.
870
+ */
871
+ href?: string;
772
872
  /**
773
- * Whether the image should appear in relation to the content.
873
+ * Image to be displayed inside the card.
874
+ */
875
+ image?: Props$A;
876
+ /**
877
+ * Position of the image inside the card. It can be set to "before" or "after" the content.
774
878
  */
775
879
  imagePosition?: "before" | "after";
776
880
  /**
777
- * If defined, the tag will be displayed as an anchor, using this prop
778
- * as "href". Component will show some visual feedback on hover.
881
+ * If true, the card will be displayed as empty state.
779
882
  */
780
- linkHref?: string;
883
+ isEmpty?: boolean;
781
884
  /**
782
- * This function will be called when the user clicks the card. Component
783
- * will show some visual feedback on hover.
885
+ * If true, a loading state will be displayed inside the card.
784
886
  */
785
- onClick?: () => void;
887
+ isLoading?: boolean;
786
888
  /**
787
- * Whether the image must cover the whole image area of the card.
889
+ * Defines the size of the loading card when isLoading is true.
788
890
  */
789
- imageCover?: boolean;
891
+ loadingSize?: {
892
+ width?: string;
893
+ height?: string;
894
+ };
790
895
  /**
791
- * Size of the margin to be applied to the component ('xxsmall' | 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge').
792
- * You can pass an object with 'top', 'bottom', 'left' and 'right' properties in order to specify different margin sizes.
896
+ * Defines the visual style of the card. It can be set to "elevated" or "outlined".
793
897
  */
794
- margin?: Space$1 | Size$3;
898
+ mode?: "elevated" | "outlined";
795
899
  /**
796
- * Value of the tabindex attribute applied when the component is clickable.
900
+ * If true, the link will open in a new window. href must be provided for this to work.
797
901
  */
798
- tabIndex?: number;
902
+ newWindow?: boolean;
799
903
  /**
800
- * Determines whether or not the component should have an outline.
904
+ * Callback function that is called when the card is clicked.
905
+ * It receives a boolean value indicating whether the card is selected or not.
906
+ * selectable must be true for this to work.
801
907
  */
802
- outlined?: boolean;
908
+ onSelectionChange?: (selected: boolean) => void;
803
909
  /**
804
- * Custom content that will be placed inside the component.
910
+ * Callback function that is called when the card is clicked.
805
911
  */
806
- children?: ReactNode;
912
+ onClick?: (event: React.MouseEvent | React.KeyboardEvent) => void;
913
+ /**
914
+ * If true, the card can be selected. When the card is clicked, the onSelectionChange callback will be called with the new selected state of the card.
915
+ * If href is defined, the card won't be selectable, even if this prop is true.
916
+ */
917
+ selectable?: boolean;
918
+ /**
919
+ * If true, the card is selected and if defined it will behave as a controlled component.
920
+ */
921
+ selected?: boolean;
922
+ /**
923
+ * Defines the size of the card. Width and height can be set to "fillParent" or "fitContent".
924
+ * The default value is { width: "fitContent", height: "fitContent" }.
925
+ */
926
+ size?: Size$3;
927
+ /**
928
+ * Specifies the tab index of the card.
929
+ * The default value is 0.
930
+ */
931
+ tabIndex?: number;
807
932
  };
808
933
 
809
- declare const DxcCard: ({ imageSrc, imageBgColor, imagePadding, imagePosition, linkHref, onClick, imageCover, margin, tabIndex, outlined, children, }: Props$z) => react_jsx_runtime.JSX.Element;
934
+ declare const DxcCard: react.ForwardRefExoticComponent<Props$z & react.RefAttributes<HTMLAnchorElement>>;
810
935
 
811
936
  type Props$y = {
812
937
  /**
@@ -875,43 +1000,80 @@ type Props$y = {
875
1000
 
876
1001
  declare const DxcCheckbox: react.ForwardRefExoticComponent<Props$y & react.RefAttributes<HTMLDivElement>>;
877
1002
 
878
- type Props$x = {
1003
+ type ChipAvatarType = {
1004
+ color: Props$G["color"];
1005
+ profileName?: Props$G["label"];
1006
+ imageSrc?: Props$G["imageSrc"];
1007
+ icon?: Props$G["icon"];
1008
+ };
1009
+ type CommonProps$7 = {
879
1010
  /**
880
- * Text to be placed on the chip.
1011
+ * Function to be called when the chip is clicked or the dismiss action is triggered.
881
1012
  */
882
- label?: string;
1013
+ onClick?: () => void;
1014
+ /**
1015
+ * Value of the tabindex attribute.
1016
+ */
1017
+ tabIndex?: number;
1018
+ };
1019
+ type SelectableChipProps = CommonProps$7 & {
1020
+ /**
1021
+ * If true, the component will be disabled.
1022
+ */
1023
+ disabled?: boolean;
1024
+ /**
1025
+ * The whole chip is an interactive element that allows users to activate or clear options directly within the interface.
1026
+ */
1027
+ mode?: "selectable";
883
1028
  /**
884
- * Element or path used as icon to be placed after the chip label.
1029
+ * If true, the component will be selected. This property is only applicable when the mode is "selectable".
1030
+ * If undefined, the component manages its own internal state (uncontrolled mode).
885
1031
  */
886
- suffixIcon?: string | SVG;
1032
+ selected?: boolean;
1033
+ } & ({
1034
+ /**
1035
+ * Element, path or avatar used as icon to be placed before the chip label.
1036
+ */
1037
+ prefix: ChipAvatarType;
1038
+ /**
1039
+ * Text to be placed on the chip. Required when using an avatar prefix.
1040
+ */
1041
+ label: string;
1042
+ } | {
887
1043
  /**
888
1044
  * Element or path used as icon to be placed before the chip label.
889
1045
  */
890
- prefixIcon?: string | SVG;
1046
+ prefix: string | SVG;
891
1047
  /**
892
- * This function will be called when the suffix is clicked.
1048
+ * Text to be placed on the chip. Optional when using an icon prefix.
893
1049
  */
894
- onClickSuffix?: () => void;
1050
+ label?: string;
1051
+ } | {
1052
+ prefix?: undefined;
895
1053
  /**
896
- * This function will be called when the prefix is clicked.
1054
+ * Text to be placed on the chip.
897
1055
  */
898
- onClickPrefix?: () => void;
1056
+ label: string;
1057
+ });
1058
+ type DismissibleChipProps = CommonProps$7 & {
899
1059
  /**
900
- * If true, the component will be disabled.
1060
+ * Dismissible chip is used to represent information generated by user input within an interface.
901
1061
  */
902
- disabled?: boolean;
1062
+ mode: "dismissible";
903
1063
  /**
904
- * Size of the margin to be applied to the component ('xxsmall' | 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge').
905
- * You can pass an object with 'top', 'bottom', 'left' and 'right' properties in order to specify different margin sizes.
1064
+ * Text to be placed on the chip.
906
1065
  */
907
- margin?: Space$1 | Margin;
1066
+ label: string;
908
1067
  /**
909
- * Value of the tabindex attribute.
1068
+ * Element, path or avatar used as icon to be placed before the chip label.
910
1069
  */
911
- tabIndex?: number;
1070
+ prefix?: string | SVG | ChipAvatarType;
1071
+ selected?: never;
1072
+ disabled?: never;
912
1073
  };
1074
+ type Props$x = SelectableChipProps | DismissibleChipProps;
913
1075
 
914
- declare const DxcChip: ({ label, suffixIcon, prefixIcon, onClickSuffix, onClickPrefix, disabled, margin, tabIndex, }: Props$x) => react_jsx_runtime.JSX.Element;
1076
+ declare const DxcChip: ({ disabled, label, mode, onClick, prefix, selected, tabIndex, }: Props$x) => react_jsx_runtime.JSX.Element | null;
915
1077
 
916
1078
  type Space = {
917
1079
  top?: string;
@@ -1078,7 +1240,7 @@ type Props$w = {
1078
1240
 
1079
1241
  declare const DxcContainer: react.ForwardRefExoticComponent<Props$w & react.RefAttributes<HTMLDivElement>>;
1080
1242
 
1081
- type Props$v = Omit<Props$H, "displayBorder" | "displayGroupLines" | "displayControlsAfter" | "hasPopOver">;
1243
+ type Props$v = Omit<Props$J, "displayBorder" | "displayGroupLines" | "displayControlsAfter" | "hasPopOver">;
1082
1244
 
1083
1245
  declare function DxcContextualMenu({ items }: Props$v): react_jsx_runtime.JSX.Element;
1084
1246
 
@@ -1663,6 +1825,10 @@ type CommonProps$5 = {
1663
1825
  * If true, if the file is an image, a preview of it will be shown. If not, an icon refering to the file type will be shown.
1664
1826
  */
1665
1827
  showPreview?: boolean;
1828
+ /**
1829
+ * Size of the component.
1830
+ */
1831
+ size?: "medium" | "fillParent";
1666
1832
  /**
1667
1833
  * Value of the tabindex attribute.
1668
1834
  */
@@ -1945,75 +2111,9 @@ type Props$l = {
1945
2111
 
1946
2112
  declare function DxcHeading({ as, level, margin, text, weight }: Props$l): react_jsx_runtime.JSX.Element;
1947
2113
 
1948
- type Props$k = {
1949
- /**
1950
- * Alternative text description displayed when the specified image is not loaded.
1951
- *
1952
- * See MDN: https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/alt
1953
- * See W3C alt decision tree: https://www.w3.org/WAI/tutorials/images/decision-tree/
1954
- */
1955
- alt: string;
1956
- /**
1957
- * Image legend with a descriptive purpose. It is placed below the image and is complementary to the alt attribute,
1958
- * which is required regardless of the presence of the caption or not.
1959
- */
1960
- caption?: string;
1961
- /**
1962
- * Sets the rendered height of the image.
1963
- */
1964
- height?: string;
1965
- /**
1966
- * If true, the image will be loaded only when it is visible on the screen (lazy loading).
1967
- * Otherwise and by default, the image will be loaded as soon as the component is mounted (eager loading).
1968
- */
1969
- lazyLoading?: boolean;
1970
- /**
1971
- * Sets the object-fit CSS property.
1972
- *
1973
- * See MDN: https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit
1974
- */
1975
- objectFit?: "contain" | "cover" | "fill" | "none" | "scale-down";
1976
- /**
1977
- * Sets the object-position CSS property.
1978
- *
1979
- * See MDN: https://developer.mozilla.org/en-US/docs/Web/CSS/object-position
1980
- */
1981
- objectPosition?: string;
1982
- /**
1983
- * This function will be called when the image fails to load.
1984
- */
1985
- onError?: ReactEventHandler<HTMLImageElement>;
1986
- /**
1987
- * This function will be called when the image is loaded.
1988
- */
1989
- onLoad?: ReactEventHandler<HTMLImageElement>;
1990
- /**
1991
- * One or more strings separated by commas, indicating a set of source sizes.
1992
- * If the srcSet attribute is absent or contains no values with a width descriptor,
1993
- * then this attribute has no effect.
1994
- *
1995
- * See MDN: https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/sizes
1996
- */
1997
- sizes?: string;
1998
- /**
1999
- * URL of the image. This prop is required and must be valid.
2000
- */
2001
- src: string;
2002
- /**
2003
- * List of one or more strings separated by commas indicating a set of possible images for the user agent to use.
2004
- *
2005
- * See MDN: https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/srcset
2006
- */
2007
- srcSet?: string;
2008
- /**
2009
- * Sets the rendered width of the image.
2010
- */
2011
- width?: string;
2012
- };
2013
-
2014
- declare function DxcImage({ alt, caption, height, lazyLoading, objectFit, objectPosition, onError, onLoad, sizes, src, srcSet, width, }: Props$k): react_jsx_runtime.JSX.Element;
2114
+ declare function DxcImage({ alt, caption, height, lazyLoading, objectFit, objectPosition, onError, onLoad, sizes, src, srcSet, width, }: Props$A): react_jsx_runtime.JSX.Element;
2015
2115
 
2016
- type Props$j = {
2116
+ type Props$k = {
2017
2117
  /**
2018
2118
  * Applies the spacing scale to the bottom side.
2019
2119
  */
@@ -2048,7 +2148,7 @@ type Props$j = {
2048
2148
  vertical?: string;
2049
2149
  };
2050
2150
 
2051
- declare function DxcInset({ bottom, children, horizontal, left, right, space, top, vertical }: Props$j): react_jsx_runtime.JSX.Element;
2151
+ declare function DxcInset({ bottom, children, horizontal, left, right, space, top, vertical }: Props$k): react_jsx_runtime.JSX.Element;
2052
2152
 
2053
2153
  type LinkProps = {
2054
2154
  /**
@@ -2131,7 +2231,7 @@ type TabProps$1 = {
2131
2231
  */
2132
2232
  notificationNumber?: boolean | number;
2133
2233
  };
2134
- type Props$i = {
2234
+ type Props$j = {
2135
2235
  /**
2136
2236
  * Contains one or more DxcNavTabs.Tab.
2137
2237
  */
@@ -2147,11 +2247,11 @@ type Props$i = {
2147
2247
  };
2148
2248
 
2149
2249
  declare const DxcNavTabs: {
2150
- ({ iconPosition, tabIndex, children }: Props$i): JSX.Element;
2250
+ ({ iconPosition, tabIndex, children }: Props$j): JSX.Element;
2151
2251
  Tab: react.ForwardRefExoticComponent<TabProps$1 & react.RefAttributes<HTMLDivElement | HTMLAnchorElement>>;
2152
2252
  };
2153
2253
 
2154
- type Props$h = {
2254
+ type Props$i = {
2155
2255
  /**
2156
2256
  * Text to be placed above the number.
2157
2257
  */
@@ -2278,9 +2378,9 @@ type Props$h = {
2278
2378
  showControls?: boolean;
2279
2379
  };
2280
2380
 
2281
- declare const DxcNumberInput: react.ForwardRefExoticComponent<Props$h & react.RefAttributes<HTMLDivElement>>;
2381
+ declare const DxcNumberInput: react.ForwardRefExoticComponent<Props$i & react.RefAttributes<HTMLDivElement>>;
2282
2382
 
2283
- type Props$g = {
2383
+ type Props$h = {
2284
2384
  /**
2285
2385
  * Number of the current selected page.
2286
2386
  */
@@ -2318,13 +2418,13 @@ type Props$g = {
2318
2418
  tabIndex?: number;
2319
2419
  };
2320
2420
 
2321
- declare const DxcPaginator: ({ currentPage, itemsPerPage, itemsPerPageOptions, totalItems, showGoToPage, onPageChange, itemsPerPageFunction, tabIndex, }: Props$g) => JSX.Element;
2421
+ declare const DxcPaginator: ({ currentPage, itemsPerPage, itemsPerPageOptions, totalItems, showGoToPage, onPageChange, itemsPerPageFunction, tabIndex, }: Props$h) => JSX.Element;
2322
2422
 
2323
2423
  declare function DxcParagraph({ children }: {
2324
2424
  children: ReactNode;
2325
2425
  }): react_jsx_runtime.JSX.Element;
2326
2426
 
2327
- type Props$f = {
2427
+ type Props$g = {
2328
2428
  /**
2329
2429
  * Text to be placed above the password input.
2330
2430
  */
@@ -2428,7 +2528,35 @@ type Props$f = {
2428
2528
  ariaLabel?: string;
2429
2529
  };
2430
2530
 
2431
- declare const DxcPasswordInput: react.ForwardRefExoticComponent<Props$f & react.RefAttributes<HTMLDivElement>>;
2531
+ declare const DxcPasswordInput: react.ForwardRefExoticComponent<Props$g & react.RefAttributes<HTMLDivElement>>;
2532
+
2533
+ type PopoverPropsType = {
2534
+ /** Action that triggers the popover to open. */
2535
+ actionToOpen?: "click" | "hover";
2536
+ /** Alignment of the popover relative to the trigger element. */
2537
+ align?: "start" | "center" | "end";
2538
+ /** Set to true if child controls the events. It will render the child directly without wrapping it. */
2539
+ asChild?: boolean;
2540
+ /** Element that triggers the popover and works as the anchor. */
2541
+ children: React.ReactNode;
2542
+ /** Whether the popover should display a tip (arrow). */
2543
+ hasTip?: boolean;
2544
+ /** Controlled open state of the popover. If it is left undefined, it will be uncontrolled. */
2545
+ isOpen?: boolean;
2546
+ /** Distance in pixels from the trigger element to the popover. */
2547
+ offset?: number;
2548
+ /** Callback function when the popover is opened.
2549
+ * Used only in controlled mode and if the trigger lacks the events to manage the controlled behavior. */
2550
+ onOpen?: () => void;
2551
+ /** Callback function when the popover is closed. */
2552
+ onClose?: () => void;
2553
+ /** Content to be displayed inside the popover. */
2554
+ popoverContent: React.ReactNode;
2555
+ /** Side of the trigger where the popover will appear. */
2556
+ side?: "top" | "bottom" | "left" | "right";
2557
+ };
2558
+
2559
+ declare const DxcPopover: ({ actionToOpen, align, asChild, children, hasTip, isOpen, offset, onOpen, onClose, popoverContent, side, }: PopoverPropsType) => JSX.Element;
2432
2560
 
2433
2561
  type Size$1 = {
2434
2562
  top?: Space$1;
@@ -2436,7 +2564,7 @@ type Size$1 = {
2436
2564
  left?: Space$1;
2437
2565
  right?: Space$1;
2438
2566
  };
2439
- type Props$e = {
2567
+ type Props$f = {
2440
2568
  /**
2441
2569
  * Text to be placed above the progress bar.
2442
2570
  */
@@ -2470,7 +2598,7 @@ type Props$e = {
2470
2598
  ariaLabel?: string;
2471
2599
  };
2472
2600
 
2473
- declare const DxcProgressBar: ({ label, helperText, overlay, value, showValue, margin, ariaLabel, }: Props$e) => JSX.Element;
2601
+ declare const DxcProgressBar: ({ label, helperText, overlay, value, showValue, margin, ariaLabel, }: Props$f) => JSX.Element;
2474
2602
 
2475
2603
  type Link = {
2476
2604
  /**
@@ -2482,7 +2610,7 @@ type Link = {
2482
2610
  */
2483
2611
  links?: Link[];
2484
2612
  };
2485
- type Props$d = {
2613
+ type Props$e = {
2486
2614
  /**
2487
2615
  * Title of the quick nav component.
2488
2616
  */
@@ -2493,7 +2621,7 @@ type Props$d = {
2493
2621
  links: Link[];
2494
2622
  };
2495
2623
 
2496
- declare function DxcQuickNav({ links, title }: Props$d): react_jsx_runtime.JSX.Element;
2624
+ declare function DxcQuickNav({ links, title }: Props$e): react_jsx_runtime.JSX.Element;
2497
2625
 
2498
2626
  type Option$1 = {
2499
2627
  /**
@@ -2694,10 +2822,10 @@ type NonPaginatedProps = CommonProps$3 & {
2694
2822
  */
2695
2823
  showGoToPage?: never;
2696
2824
  };
2697
- type Props$c = PaginatedProps | NonPaginatedProps;
2825
+ type Props$d = PaginatedProps | NonPaginatedProps;
2698
2826
 
2699
2827
  declare const DxcResultsetTable: {
2700
- ({ columns, hidePaginator, itemsPerPage, itemsPerPageFunction, itemsPerPageOptions, margin, mode, rows, showGoToPage, tabIndex, virtualizedHeight, }: Props$c): react_jsx_runtime.JSX.Element;
2828
+ ({ columns, hidePaginator, itemsPerPage, itemsPerPageFunction, itemsPerPageOptions, margin, mode, rows, showGoToPage, tabIndex, virtualizedHeight, }: Props$d): react_jsx_runtime.JSX.Element;
2701
2829
  ActionsCell: ({ actions }: ActionsCellPropsType) => react_jsx_runtime.JSX.Element;
2702
2830
  };
2703
2831
 
@@ -2889,11 +3017,11 @@ type MultipleSelect = CommonProps$2 & {
2889
3017
  */
2890
3018
  value?: string[];
2891
3019
  };
2892
- type Props$b = SingleSelect | MultipleSelect;
3020
+ type Props$c = SingleSelect | MultipleSelect;
2893
3021
 
2894
- declare const DxcSelect: react.ForwardRefExoticComponent<Props$b & react.RefAttributes<HTMLDivElement>>;
3022
+ declare const DxcSelect: react.ForwardRefExoticComponent<Props$c & react.RefAttributes<HTMLDivElement>>;
2895
3023
 
2896
- type Props$a = {
3024
+ type Props$b = {
2897
3025
  /**
2898
3026
  * Specifies a string to be used as the name for the slider element when no `label` is provided.
2899
3027
  */
@@ -2972,9 +3100,9 @@ type Props$a = {
2972
3100
  value?: number;
2973
3101
  };
2974
3102
 
2975
- declare const DxcSlider: react.ForwardRefExoticComponent<Props$a & react.RefAttributes<HTMLDivElement>>;
3103
+ declare const DxcSlider: react.ForwardRefExoticComponent<Props$b & react.RefAttributes<HTMLDivElement>>;
2976
3104
 
2977
- type Props$9 = {
3105
+ type Props$a = {
2978
3106
  /**
2979
3107
  * 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.
2980
3108
  */
@@ -3008,11 +3136,11 @@ type Props$9 = {
3008
3136
  value?: number;
3009
3137
  };
3010
3138
 
3011
- declare const DxcSpinner: ({ ariaLabel, inheritColor, label, margin, mode, showValue, value, }: Props$9) => react_jsx_runtime.JSX.Element;
3139
+ declare const DxcSpinner: ({ ariaLabel, inheritColor, label, margin, mode, showValue, value, }: Props$a) => react_jsx_runtime.JSX.Element;
3012
3140
 
3013
3141
  type Mode = "default" | "info" | "success" | "warning" | "error";
3014
3142
  type Size = "small" | "medium" | "large";
3015
- type Props$8 = {
3143
+ type Props$9 = {
3016
3144
  /**
3017
3145
  * It will define the color of the light based on its semantic meaning.
3018
3146
  */
@@ -3027,9 +3155,9 @@ type Props$8 = {
3027
3155
  size?: Size;
3028
3156
  };
3029
3157
 
3030
- declare function DxcStatusLight({ label, mode, size }: Props$8): react_jsx_runtime.JSX.Element;
3158
+ declare function DxcStatusLight({ label, mode, size }: Props$9): react_jsx_runtime.JSX.Element;
3031
3159
 
3032
- type Props$7 = {
3160
+ type Props$8 = {
3033
3161
  /**
3034
3162
  * Specifies a string to be used as the name for the switch element when no `label` is provided.
3035
3163
  */
@@ -3088,7 +3216,7 @@ type Props$7 = {
3088
3216
  value?: string;
3089
3217
  };
3090
3218
 
3091
- declare const DxcSwitch: react.ForwardRefExoticComponent<Props$7 & react.RefAttributes<HTMLDivElement>>;
3219
+ declare const DxcSwitch: react.ForwardRefExoticComponent<Props$8 & react.RefAttributes<HTMLDivElement>>;
3092
3220
 
3093
3221
  declare const DxcTable: {
3094
3222
  ({ children, margin, mode }: Props$t): react_jsx_runtime.JSX.Element;
@@ -3133,14 +3261,14 @@ type TabsProps = {
3133
3261
  */
3134
3262
  children?: ReactNode;
3135
3263
  };
3136
- type Props$6 = TabsProps;
3264
+ type Props$7 = TabsProps;
3137
3265
 
3138
3266
  declare const DxcTabs: {
3139
- ({ children, iconPosition, margin, tabIndex }: Props$6): react_jsx_runtime.JSX.Element;
3267
+ ({ children, iconPosition, margin, tabIndex }: Props$7): react_jsx_runtime.JSX.Element;
3140
3268
  Tab: react.ForwardRefExoticComponent<TabProps & react.RefAttributes<HTMLButtonElement>>;
3141
3269
  };
3142
3270
 
3143
- type Props$5 = {
3271
+ type Props$6 = {
3144
3272
  /**
3145
3273
  * Specifies a string to be used as the name for the textarea element when no `label` is provided.
3146
3274
  */
@@ -3274,7 +3402,7 @@ type Props$5 = {
3274
3402
  verticalGrow?: "auto" | "manual" | "none";
3275
3403
  };
3276
3404
 
3277
- declare const DxcTextarea: react.ForwardRefExoticComponent<Props$5 & react.RefAttributes<HTMLDivElement>>;
3405
+ declare const DxcTextarea: react.ForwardRefExoticComponent<Props$6 & react.RefAttributes<HTMLDivElement>>;
3278
3406
 
3279
3407
  type Action$1 = {
3280
3408
  /**
@@ -3292,7 +3420,7 @@ type Action$1 = {
3292
3420
  */
3293
3421
  title?: string;
3294
3422
  };
3295
- type Props$4 = {
3423
+ type Props$5 = {
3296
3424
  /**
3297
3425
  * Sets the alignment inside the input.
3298
3426
  */
@@ -3445,7 +3573,96 @@ type Props$4 = {
3445
3573
  ariaLabel?: string;
3446
3574
  };
3447
3575
 
3448
- declare const DxcTextInput: react.ForwardRefExoticComponent<Props$4 & react.RefAttributes<HTMLDivElement>>;
3576
+ declare const DxcTextInput: react.ForwardRefExoticComponent<Props$5 & react.RefAttributes<HTMLDivElement>>;
3577
+
3578
+ type Props$4 = {
3579
+ /**
3580
+ * Specifies a string to be used as the name for the timeInput element when no `label` is provided.
3581
+ */
3582
+ ariaLabel?: string;
3583
+ /**
3584
+ * If true, the input will have an action to clear the entered value.
3585
+ */
3586
+ clearable?: boolean;
3587
+ /**
3588
+ * Initial value of the input, only when it is uncontrolled.
3589
+ */
3590
+ defaultValue?: string;
3591
+ /**
3592
+ * If true, the component will be disabled.
3593
+ */
3594
+ disabled?: boolean;
3595
+ /**
3596
+ * If it is a defined value and also a truthy string, the component will
3597
+ * change its appearance, showing the error below the input component. If
3598
+ * the defined value is an empty string, it will reserve a space below
3599
+ * the component for a future error, but it would not change its look. In
3600
+ * case of being undefined or null, both the appearance and the space for
3601
+ * the error message would not be modified.
3602
+ */
3603
+ error?: string;
3604
+ /**
3605
+ * Helper text to be placed above the input.
3606
+ */
3607
+ helperText?: string;
3608
+ /**
3609
+ * Text to be placed above the input.
3610
+ */
3611
+ label?: string;
3612
+ /**
3613
+ * Name attribute of the input element.
3614
+ */
3615
+ name?: string;
3616
+ /**
3617
+ * This function will be called when the input element loses the focus.
3618
+ * An object including the input value and the error (if the value
3619
+ * entered is not valid) will be passed to this function. If there is no error,
3620
+ * error will not be defined.
3621
+ */
3622
+ onBlur?: (val: {
3623
+ value: string;
3624
+ error?: string;
3625
+ }) => void;
3626
+ /**
3627
+ * This function will be called when the user types within the input
3628
+ * or selects a value in the dropdown element of the component.
3629
+ */
3630
+ onChange?: (value: string) => void;
3631
+ /**
3632
+ * If true, the input will be optional, showing '(Optional)'
3633
+ * next to the label. Otherwise, the field will be considered required and an error will be
3634
+ * passed as a parameter to the OnBlur function when it has
3635
+ * not been filled.
3636
+ */
3637
+ optional?: boolean;
3638
+ /**
3639
+ * If true, the component will not be mutable, meaning the user can not edit the control.
3640
+ * In addition, the clear action will not be displayed even if the flag is set to true.
3641
+ */
3642
+ readOnly?: boolean;
3643
+ /**
3644
+ * If true, the component will display seconds and allow the user to input them. Otherwise, seconds will not be shown and the user will not be able to input them.
3645
+ */
3646
+ showSeconds?: boolean;
3647
+ /**
3648
+ * Size of the component.
3649
+ */
3650
+ size?: "small" | "medium" | "large" | "fillParent";
3651
+ /**
3652
+ * Value of the tabindex attribute.
3653
+ */
3654
+ tabIndex?: number;
3655
+ /**
3656
+ * Time format of the input. It can be either 12 or 24.
3657
+ */
3658
+ timeFormat?: "12" | "24";
3659
+ /**
3660
+ * Value of the input. If undefined, the component will be uncontrolled and the value will be managed internally by the component.
3661
+ */
3662
+ value?: string;
3663
+ };
3664
+
3665
+ declare const DxcTimeInput: react.ForwardRefExoticComponent<Props$4 & react.RefAttributes<HTMLDivElement>>;
3449
3666
 
3450
3667
  type Action = {
3451
3668
  /**
@@ -3714,8 +3931,12 @@ declare const defaultTranslatedComponentLabels: {
3714
3931
  previousMonthTitle: string;
3715
3932
  nextMonthTitle: string;
3716
3933
  };
3934
+ card: {
3935
+ noContent: string;
3936
+ };
3717
3937
  dateInput: {
3718
3938
  invalidDateErrorMessage: string;
3939
+ datePickerActionTitle: string;
3719
3940
  };
3720
3941
  dialog: {
3721
3942
  closeIconAriaLabel: string;
@@ -3771,6 +3992,12 @@ declare const defaultTranslatedComponentLabels: {
3771
3992
  radioGroup: {
3772
3993
  optionalItemLabelDefault: string;
3773
3994
  };
3995
+ searchBar: {
3996
+ clearFieldActionTitle: string;
3997
+ inputAriaLabel: string;
3998
+ triggerTitle: string;
3999
+ cancelButtonLabel: string;
4000
+ };
3774
4001
  select: {
3775
4002
  actionClearSelectionTitle: string;
3776
4003
  actionClearSearchTitle: string;
@@ -3786,6 +4013,9 @@ declare const defaultTranslatedComponentLabels: {
3786
4013
  searchingMessage: string;
3787
4014
  fetchingDataErrorMessage: string;
3788
4015
  };
4016
+ timeInput: {
4017
+ timePickerActionTitle: string;
4018
+ };
3789
4019
  toast: {
3790
4020
  clearToastActionTitle: string;
3791
4021
  };
@@ -3815,8 +4045,12 @@ declare const HalstackLanguageContext: react.Context<{
3815
4045
  previousMonthTitle: string;
3816
4046
  nextMonthTitle: string;
3817
4047
  };
4048
+ card: {
4049
+ noContent: string;
4050
+ };
3818
4051
  dateInput: {
3819
4052
  invalidDateErrorMessage: string;
4053
+ datePickerActionTitle: string;
3820
4054
  };
3821
4055
  dialog: {
3822
4056
  closeIconAriaLabel: string;
@@ -3872,6 +4106,12 @@ declare const HalstackLanguageContext: react.Context<{
3872
4106
  radioGroup: {
3873
4107
  optionalItemLabelDefault: string;
3874
4108
  };
4109
+ searchBar: {
4110
+ clearFieldActionTitle: string;
4111
+ inputAriaLabel: string;
4112
+ triggerTitle: string;
4113
+ cancelButtonLabel: string;
4114
+ };
3875
4115
  select: {
3876
4116
  actionClearSelectionTitle: string;
3877
4117
  actionClearSearchTitle: string;
@@ -3887,11 +4127,17 @@ declare const HalstackLanguageContext: react.Context<{
3887
4127
  searchingMessage: string;
3888
4128
  fetchingDataErrorMessage: string;
3889
4129
  };
4130
+ timeInput: {
4131
+ timePickerActionTitle: string;
4132
+ };
3890
4133
  toast: {
3891
4134
  clearToastActionTitle: string;
3892
4135
  };
3893
4136
  }>;
3894
- type ThemeType = Record<string, string | number>;
4137
+ type ThemeType = {
4138
+ tokens?: Record<string, string | number>;
4139
+ logos?: Record<string, string | undefined>;
4140
+ };
3895
4141
  type HalstackProviderPropsType = {
3896
4142
  labels?: DeepPartial<TranslatedLabels>;
3897
4143
  children: ReactNode;
@@ -3907,4 +4153,4 @@ declare function useToast(): {
3907
4153
  loading: (toast: Omit<LoadingToast, "loading">) => (() => void) | undefined;
3908
4154
  };
3909
4155
 
3910
- export { DxcAccordion, DxcAlert, DxcApplicationLayout, DxcAvatar, 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, HalstackLanguageContext, HalstackProvider, useToast };
4156
+ export { DxcAccordion, DxcAlert, DxcApplicationLayout, DxcAvatar, 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, DxcPopover, DxcProgressBar, DxcQuickNav, DxcRadioGroup, DxcResultsetTable, DxcSelect, DxcSlider, DxcSpinner, DxcStatusLight, DxcSwitch, DxcTable, DxcTabs, DxcTextInput, DxcTextarea, DxcTimeInput, DxcToastsQueue, DxcToggleGroup, DxcTooltip, DxcTypography, DxcWizard, HalstackLanguageContext, HalstackProvider, useToast };