@dxc-technology/halstack-react 0.0.0-9721f4f → 0.0.0-9735fa0
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 +61 -61
- package/dist/index.d.ts +61 -61
- package/dist/index.js +1788 -1948
- package/dist/index.mjs +1471 -1631
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -477,7 +477,7 @@ declare const DxcApplicationLayout: {
|
|
|
477
477
|
Footer: ({ socialLinks, bottomLinks, copyright, children, margin, tabIndex, mode, }: FooterPropsType) => JSX.Element;
|
|
478
478
|
Header: {
|
|
479
479
|
({ underlined, content, responsiveContent, onClick, margin, tabIndex, }: Props$F): JSX.Element;
|
|
480
|
-
Dropdown: (props: react.ComponentProps<({ options, optionsIconPosition, icon, iconPosition, label, caretHidden, disabled, expandOnHover, onSelectOption, margin, size, tabIndex, title, }: Props$G) => JSX.Element>) => react_jsx_runtime.JSX.Element;
|
|
480
|
+
Dropdown: (props: react.ComponentProps<({ options, optionsIconPosition, icon, iconPosition, label, caretHidden, disabled, expandOnHover, onSelectOption, margin, size, tabIndex, title, }: Props$G) => react_jsx_runtime.JSX.Element>) => react_jsx_runtime.JSX.Element;
|
|
481
481
|
};
|
|
482
482
|
Main: ({ children }: AppLayoutMainPropsType) => JSX.Element;
|
|
483
483
|
SideNav: {
|
|
@@ -880,19 +880,22 @@ declare const DxcCard: ({ imageSrc, imageBgColor, imagePadding, imagePosition, l
|
|
|
880
880
|
|
|
881
881
|
type Props$y = {
|
|
882
882
|
/**
|
|
883
|
-
*
|
|
883
|
+
* Specifies a string to be used as the name for the checkbox element when no `label` is provided.
|
|
884
884
|
*/
|
|
885
|
-
|
|
885
|
+
ariaLabel?: string;
|
|
886
886
|
/**
|
|
887
887
|
* If true, the component is checked. If undefined the component will be
|
|
888
888
|
* uncontrolled and the value will be managed internally by the component.
|
|
889
889
|
*/
|
|
890
890
|
checked?: boolean;
|
|
891
891
|
/**
|
|
892
|
-
*
|
|
893
|
-
* When inside a form, this value will be only submitted if the checkbox is checked.
|
|
892
|
+
* Initial state of the checkbox, only when it is uncontrolled.
|
|
894
893
|
*/
|
|
895
|
-
|
|
894
|
+
defaultChecked?: boolean;
|
|
895
|
+
/**
|
|
896
|
+
* If true, the component will be disabled.
|
|
897
|
+
*/
|
|
898
|
+
disabled?: boolean;
|
|
896
899
|
/**
|
|
897
900
|
* Text to be placed next to the checkbox.
|
|
898
901
|
*/
|
|
@@ -901,14 +904,22 @@ type Props$y = {
|
|
|
901
904
|
* Whether the label should appear after or before the checkbox.
|
|
902
905
|
*/
|
|
903
906
|
labelPosition?: "before" | "after";
|
|
907
|
+
/**
|
|
908
|
+
* Size of the margin to be applied to the component
|
|
909
|
+
* ('xxsmall' | 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge').
|
|
910
|
+
* You can pass an object with 'top', 'bottom', 'left' and 'right' properties
|
|
911
|
+
* in order to specify different margin sizes.
|
|
912
|
+
*/
|
|
913
|
+
margin?: Space$1 | Margin;
|
|
904
914
|
/**
|
|
905
915
|
* Name attribute of the input element.
|
|
906
916
|
*/
|
|
907
917
|
name?: string;
|
|
908
918
|
/**
|
|
909
|
-
*
|
|
919
|
+
* This function will be called when the user clicks the checkbox.
|
|
920
|
+
* The new value will be passed as a parameter.
|
|
910
921
|
*/
|
|
911
|
-
|
|
922
|
+
onChange?: (value: boolean) => void;
|
|
912
923
|
/**
|
|
913
924
|
* If true, the component will display '(Optional)' next to the label.
|
|
914
925
|
*/
|
|
@@ -917,18 +928,6 @@ type Props$y = {
|
|
|
917
928
|
* If true, the component will not be mutable, meaning the user can not edit the control.
|
|
918
929
|
*/
|
|
919
930
|
readOnly?: boolean;
|
|
920
|
-
/**
|
|
921
|
-
* This function will be called when the user clicks the checkbox.
|
|
922
|
-
* The new value will be passed as a parameter.
|
|
923
|
-
*/
|
|
924
|
-
onChange?: (value: boolean) => void;
|
|
925
|
-
/**
|
|
926
|
-
* Size of the margin to be applied to the component
|
|
927
|
-
* ('xxsmall' | 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge').
|
|
928
|
-
* You can pass an object with 'top', 'bottom', 'left' and 'right' properties
|
|
929
|
-
* in order to specify different margin sizes.
|
|
930
|
-
*/
|
|
931
|
-
margin?: Space$1 | Margin;
|
|
932
931
|
/**
|
|
933
932
|
* Size of the component.
|
|
934
933
|
*/
|
|
@@ -938,9 +937,10 @@ type Props$y = {
|
|
|
938
937
|
*/
|
|
939
938
|
tabIndex?: number;
|
|
940
939
|
/**
|
|
941
|
-
*
|
|
940
|
+
* Will be passed to the value attribute of the html input element.
|
|
941
|
+
* When inside a form, this value will be only submitted if the checkbox is checked.
|
|
942
942
|
*/
|
|
943
|
-
|
|
943
|
+
value?: string;
|
|
944
944
|
};
|
|
945
945
|
|
|
946
946
|
declare const DxcCheckbox: react.ForwardRefExoticComponent<Props$y & react.RefAttributes<HTMLDivElement>>;
|
|
@@ -981,7 +981,7 @@ type Props$x = {
|
|
|
981
981
|
tabIndex?: number;
|
|
982
982
|
};
|
|
983
983
|
|
|
984
|
-
declare const DxcChip: ({ label, suffixIcon, prefixIcon, onClickSuffix, onClickPrefix, disabled, margin, tabIndex, }: Props$x) => JSX.Element;
|
|
984
|
+
declare const DxcChip: ({ label, suffixIcon, prefixIcon, onClickSuffix, onClickPrefix, disabled, margin, tabIndex, }: Props$x) => react_jsx_runtime.JSX.Element;
|
|
985
985
|
|
|
986
986
|
type Space = Space$1 | {
|
|
987
987
|
top?: Space$1;
|
|
@@ -1571,7 +1571,7 @@ type Props$q = {
|
|
|
1571
1571
|
|
|
1572
1572
|
declare const DxcDivider: ({ orientation, weight, color, decorative, }: Props$q) => react_jsx_runtime.JSX.Element;
|
|
1573
1573
|
|
|
1574
|
-
declare const DxcDropdown: ({ options, optionsIconPosition, icon, iconPosition, label, caretHidden, disabled, expandOnHover, onSelectOption, margin, size, tabIndex, title, }: Props$G) => JSX.Element;
|
|
1574
|
+
declare const DxcDropdown: ({ options, optionsIconPosition, icon, iconPosition, label, caretHidden, disabled, expandOnHover, onSelectOption, margin, size, tabIndex, title, }: Props$G) => react_jsx_runtime.JSX.Element;
|
|
1575
1575
|
|
|
1576
1576
|
type FileData = {
|
|
1577
1577
|
/**
|
|
@@ -2832,53 +2832,51 @@ declare const DxcSelect: react.ForwardRefExoticComponent<Props$c & react.RefAttr
|
|
|
2832
2832
|
|
|
2833
2833
|
type Props$b = {
|
|
2834
2834
|
/**
|
|
2835
|
-
*
|
|
2836
|
-
*/
|
|
2837
|
-
label?: string;
|
|
2838
|
-
/**
|
|
2839
|
-
* Name attribute of the input element.
|
|
2835
|
+
* Specifies a string to be used as the name for the slider element when no `label` is provided.
|
|
2840
2836
|
*/
|
|
2841
|
-
|
|
2837
|
+
ariaLabel?: string;
|
|
2842
2838
|
/**
|
|
2843
2839
|
* Initial value of the slider, only when it is uncontrolled.
|
|
2844
2840
|
*/
|
|
2845
2841
|
defaultValue?: number;
|
|
2846
2842
|
/**
|
|
2847
|
-
*
|
|
2843
|
+
* If true, the component will be disabled.
|
|
2848
2844
|
*/
|
|
2849
|
-
|
|
2845
|
+
disabled?: boolean;
|
|
2850
2846
|
/**
|
|
2851
2847
|
* Helper text to be placed above the slider.
|
|
2852
2848
|
*/
|
|
2853
2849
|
helperText?: string;
|
|
2854
2850
|
/**
|
|
2855
|
-
*
|
|
2851
|
+
* Text to be placed above the slider.
|
|
2856
2852
|
*/
|
|
2857
|
-
|
|
2853
|
+
label?: string;
|
|
2858
2854
|
/**
|
|
2859
|
-
*
|
|
2855
|
+
* This function will be used to format the labels displayed next to the slider.
|
|
2856
|
+
* The value will be passed as parameter and the function must return the formatted value.
|
|
2860
2857
|
*/
|
|
2861
|
-
|
|
2858
|
+
labelFormatCallback?: (value: number) => string;
|
|
2862
2859
|
/**
|
|
2863
|
-
*
|
|
2860
|
+
* Size of the margin to be applied to the component ('xxsmall' | 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge').
|
|
2861
|
+
* You can pass an object with 'top', 'bottom', 'left' and 'right' properties in order to specify different margin sizes.
|
|
2864
2862
|
*/
|
|
2865
|
-
|
|
2863
|
+
margin?: Space$1 | Margin;
|
|
2866
2864
|
/**
|
|
2867
|
-
* Whether the
|
|
2865
|
+
* Whether the marks between each step should be shown or not.
|
|
2868
2866
|
*/
|
|
2869
|
-
|
|
2867
|
+
marks?: boolean;
|
|
2870
2868
|
/**
|
|
2871
|
-
*
|
|
2869
|
+
* The maximum value available for selection.
|
|
2872
2870
|
*/
|
|
2873
|
-
|
|
2871
|
+
maxValue?: number;
|
|
2874
2872
|
/**
|
|
2875
|
-
*
|
|
2873
|
+
* The minimum value available for selection.
|
|
2876
2874
|
*/
|
|
2877
|
-
|
|
2875
|
+
minValue?: number;
|
|
2878
2876
|
/**
|
|
2879
|
-
*
|
|
2877
|
+
* Name attribute of the input element.
|
|
2880
2878
|
*/
|
|
2881
|
-
|
|
2879
|
+
name?: string;
|
|
2882
2880
|
/**
|
|
2883
2881
|
* This function will be called when the slider changes its value, as it's being dragged.
|
|
2884
2882
|
* The new value will be passed as a parameter when this function is executed.
|
|
@@ -2890,23 +2888,25 @@ type Props$b = {
|
|
|
2890
2888
|
*/
|
|
2891
2889
|
onDragEnd?: (value: number) => void;
|
|
2892
2890
|
/**
|
|
2893
|
-
*
|
|
2894
|
-
* The value will be passed as parameter and the function must return the formatted value.
|
|
2891
|
+
* Whether the input element for displaying/controlling the slider value should be displayed next to the slider.
|
|
2895
2892
|
*/
|
|
2896
|
-
|
|
2893
|
+
showInput?: boolean;
|
|
2897
2894
|
/**
|
|
2898
|
-
*
|
|
2899
|
-
* You can pass an object with 'top', 'bottom', 'left' and 'right' properties in order to specify different margin sizes.
|
|
2895
|
+
* Whether the min/max value labels should be displayed next to the slider
|
|
2900
2896
|
*/
|
|
2901
|
-
|
|
2897
|
+
showLimitsValues?: boolean;
|
|
2902
2898
|
/**
|
|
2903
2899
|
* Size of the component.
|
|
2904
2900
|
*/
|
|
2905
2901
|
size?: "medium" | "large" | "fillParent";
|
|
2906
2902
|
/**
|
|
2907
|
-
*
|
|
2903
|
+
* The step interval between values available for selection.
|
|
2908
2904
|
*/
|
|
2909
|
-
|
|
2905
|
+
step?: number;
|
|
2906
|
+
/**
|
|
2907
|
+
* The selected value. If undefined, the component will be uncontrolled and the value will be managed internally by the component.
|
|
2908
|
+
*/
|
|
2909
|
+
value?: number;
|
|
2910
2910
|
};
|
|
2911
2911
|
|
|
2912
2912
|
declare const DxcSlider: react.ForwardRefExoticComponent<Props$b & react.RefAttributes<HTMLDivElement>>;
|
|
@@ -2940,7 +2940,7 @@ type Props$a = {
|
|
|
2940
2940
|
ariaLabel?: string;
|
|
2941
2941
|
};
|
|
2942
2942
|
|
|
2943
|
-
declare const DxcSpinner: ({
|
|
2943
|
+
declare const DxcSpinner: ({ ariaLabel, label, margin, mode, showValue, value }: Props$a) => react_jsx_runtime.JSX.Element;
|
|
2944
2944
|
|
|
2945
2945
|
type Mode = "default" | "info" | "success" | "warning" | "error";
|
|
2946
2946
|
type Size = "small" | "medium" | "large";
|
|
@@ -2959,7 +2959,7 @@ type Props$9 = {
|
|
|
2959
2959
|
size?: Size;
|
|
2960
2960
|
};
|
|
2961
2961
|
|
|
2962
|
-
declare
|
|
2962
|
+
declare function DxcStatusLight({ label, mode, size }: Props$9): react_jsx_runtime.JSX.Element;
|
|
2963
2963
|
|
|
2964
2964
|
type Props$8 = {
|
|
2965
2965
|
/**
|
|
@@ -3669,17 +3669,17 @@ declare const DxcToggleGroup: ({ label, helperText, defaultValue, value, onChang
|
|
|
3669
3669
|
|
|
3670
3670
|
type Props$2 = {
|
|
3671
3671
|
/**
|
|
3672
|
-
*
|
|
3672
|
+
* Content in which the Tooltip will be displayed.
|
|
3673
3673
|
*/
|
|
3674
|
-
|
|
3674
|
+
children: ReactNode;
|
|
3675
3675
|
/**
|
|
3676
3676
|
* Text to be displayed inside the tooltip.
|
|
3677
3677
|
*/
|
|
3678
3678
|
label?: string;
|
|
3679
3679
|
/**
|
|
3680
|
-
*
|
|
3680
|
+
* Preferred position for displaying the tooltip. It may adjust automatically based on available space.
|
|
3681
3681
|
*/
|
|
3682
|
-
|
|
3682
|
+
position?: "bottom" | "top" | "left" | "right";
|
|
3683
3683
|
};
|
|
3684
3684
|
|
|
3685
3685
|
declare function DxcTooltip(props: Props$2): react_jsx_runtime.JSX.Element;
|
|
@@ -3758,7 +3758,7 @@ type Props = {
|
|
|
3758
3758
|
tabIndex?: number;
|
|
3759
3759
|
};
|
|
3760
3760
|
|
|
3761
|
-
declare
|
|
3761
|
+
declare function DxcWizard({ currentStep, defaultCurrentStep, margin, mode, onStepClick, steps, tabIndex, }: Props): react_jsx_runtime.JSX.Element;
|
|
3762
3762
|
|
|
3763
3763
|
declare const componentTokens: {
|
|
3764
3764
|
accordion: {
|
package/dist/index.d.ts
CHANGED
|
@@ -477,7 +477,7 @@ declare const DxcApplicationLayout: {
|
|
|
477
477
|
Footer: ({ socialLinks, bottomLinks, copyright, children, margin, tabIndex, mode, }: FooterPropsType) => JSX.Element;
|
|
478
478
|
Header: {
|
|
479
479
|
({ underlined, content, responsiveContent, onClick, margin, tabIndex, }: Props$F): JSX.Element;
|
|
480
|
-
Dropdown: (props: react.ComponentProps<({ options, optionsIconPosition, icon, iconPosition, label, caretHidden, disabled, expandOnHover, onSelectOption, margin, size, tabIndex, title, }: Props$G) => JSX.Element>) => react_jsx_runtime.JSX.Element;
|
|
480
|
+
Dropdown: (props: react.ComponentProps<({ options, optionsIconPosition, icon, iconPosition, label, caretHidden, disabled, expandOnHover, onSelectOption, margin, size, tabIndex, title, }: Props$G) => react_jsx_runtime.JSX.Element>) => react_jsx_runtime.JSX.Element;
|
|
481
481
|
};
|
|
482
482
|
Main: ({ children }: AppLayoutMainPropsType) => JSX.Element;
|
|
483
483
|
SideNav: {
|
|
@@ -880,19 +880,22 @@ declare const DxcCard: ({ imageSrc, imageBgColor, imagePadding, imagePosition, l
|
|
|
880
880
|
|
|
881
881
|
type Props$y = {
|
|
882
882
|
/**
|
|
883
|
-
*
|
|
883
|
+
* Specifies a string to be used as the name for the checkbox element when no `label` is provided.
|
|
884
884
|
*/
|
|
885
|
-
|
|
885
|
+
ariaLabel?: string;
|
|
886
886
|
/**
|
|
887
887
|
* If true, the component is checked. If undefined the component will be
|
|
888
888
|
* uncontrolled and the value will be managed internally by the component.
|
|
889
889
|
*/
|
|
890
890
|
checked?: boolean;
|
|
891
891
|
/**
|
|
892
|
-
*
|
|
893
|
-
* When inside a form, this value will be only submitted if the checkbox is checked.
|
|
892
|
+
* Initial state of the checkbox, only when it is uncontrolled.
|
|
894
893
|
*/
|
|
895
|
-
|
|
894
|
+
defaultChecked?: boolean;
|
|
895
|
+
/**
|
|
896
|
+
* If true, the component will be disabled.
|
|
897
|
+
*/
|
|
898
|
+
disabled?: boolean;
|
|
896
899
|
/**
|
|
897
900
|
* Text to be placed next to the checkbox.
|
|
898
901
|
*/
|
|
@@ -901,14 +904,22 @@ type Props$y = {
|
|
|
901
904
|
* Whether the label should appear after or before the checkbox.
|
|
902
905
|
*/
|
|
903
906
|
labelPosition?: "before" | "after";
|
|
907
|
+
/**
|
|
908
|
+
* Size of the margin to be applied to the component
|
|
909
|
+
* ('xxsmall' | 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge').
|
|
910
|
+
* You can pass an object with 'top', 'bottom', 'left' and 'right' properties
|
|
911
|
+
* in order to specify different margin sizes.
|
|
912
|
+
*/
|
|
913
|
+
margin?: Space$1 | Margin;
|
|
904
914
|
/**
|
|
905
915
|
* Name attribute of the input element.
|
|
906
916
|
*/
|
|
907
917
|
name?: string;
|
|
908
918
|
/**
|
|
909
|
-
*
|
|
919
|
+
* This function will be called when the user clicks the checkbox.
|
|
920
|
+
* The new value will be passed as a parameter.
|
|
910
921
|
*/
|
|
911
|
-
|
|
922
|
+
onChange?: (value: boolean) => void;
|
|
912
923
|
/**
|
|
913
924
|
* If true, the component will display '(Optional)' next to the label.
|
|
914
925
|
*/
|
|
@@ -917,18 +928,6 @@ type Props$y = {
|
|
|
917
928
|
* If true, the component will not be mutable, meaning the user can not edit the control.
|
|
918
929
|
*/
|
|
919
930
|
readOnly?: boolean;
|
|
920
|
-
/**
|
|
921
|
-
* This function will be called when the user clicks the checkbox.
|
|
922
|
-
* The new value will be passed as a parameter.
|
|
923
|
-
*/
|
|
924
|
-
onChange?: (value: boolean) => void;
|
|
925
|
-
/**
|
|
926
|
-
* Size of the margin to be applied to the component
|
|
927
|
-
* ('xxsmall' | 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge').
|
|
928
|
-
* You can pass an object with 'top', 'bottom', 'left' and 'right' properties
|
|
929
|
-
* in order to specify different margin sizes.
|
|
930
|
-
*/
|
|
931
|
-
margin?: Space$1 | Margin;
|
|
932
931
|
/**
|
|
933
932
|
* Size of the component.
|
|
934
933
|
*/
|
|
@@ -938,9 +937,10 @@ type Props$y = {
|
|
|
938
937
|
*/
|
|
939
938
|
tabIndex?: number;
|
|
940
939
|
/**
|
|
941
|
-
*
|
|
940
|
+
* Will be passed to the value attribute of the html input element.
|
|
941
|
+
* When inside a form, this value will be only submitted if the checkbox is checked.
|
|
942
942
|
*/
|
|
943
|
-
|
|
943
|
+
value?: string;
|
|
944
944
|
};
|
|
945
945
|
|
|
946
946
|
declare const DxcCheckbox: react.ForwardRefExoticComponent<Props$y & react.RefAttributes<HTMLDivElement>>;
|
|
@@ -981,7 +981,7 @@ type Props$x = {
|
|
|
981
981
|
tabIndex?: number;
|
|
982
982
|
};
|
|
983
983
|
|
|
984
|
-
declare const DxcChip: ({ label, suffixIcon, prefixIcon, onClickSuffix, onClickPrefix, disabled, margin, tabIndex, }: Props$x) => JSX.Element;
|
|
984
|
+
declare const DxcChip: ({ label, suffixIcon, prefixIcon, onClickSuffix, onClickPrefix, disabled, margin, tabIndex, }: Props$x) => react_jsx_runtime.JSX.Element;
|
|
985
985
|
|
|
986
986
|
type Space = Space$1 | {
|
|
987
987
|
top?: Space$1;
|
|
@@ -1571,7 +1571,7 @@ type Props$q = {
|
|
|
1571
1571
|
|
|
1572
1572
|
declare const DxcDivider: ({ orientation, weight, color, decorative, }: Props$q) => react_jsx_runtime.JSX.Element;
|
|
1573
1573
|
|
|
1574
|
-
declare const DxcDropdown: ({ options, optionsIconPosition, icon, iconPosition, label, caretHidden, disabled, expandOnHover, onSelectOption, margin, size, tabIndex, title, }: Props$G) => JSX.Element;
|
|
1574
|
+
declare const DxcDropdown: ({ options, optionsIconPosition, icon, iconPosition, label, caretHidden, disabled, expandOnHover, onSelectOption, margin, size, tabIndex, title, }: Props$G) => react_jsx_runtime.JSX.Element;
|
|
1575
1575
|
|
|
1576
1576
|
type FileData = {
|
|
1577
1577
|
/**
|
|
@@ -2832,53 +2832,51 @@ declare const DxcSelect: react.ForwardRefExoticComponent<Props$c & react.RefAttr
|
|
|
2832
2832
|
|
|
2833
2833
|
type Props$b = {
|
|
2834
2834
|
/**
|
|
2835
|
-
*
|
|
2836
|
-
*/
|
|
2837
|
-
label?: string;
|
|
2838
|
-
/**
|
|
2839
|
-
* Name attribute of the input element.
|
|
2835
|
+
* Specifies a string to be used as the name for the slider element when no `label` is provided.
|
|
2840
2836
|
*/
|
|
2841
|
-
|
|
2837
|
+
ariaLabel?: string;
|
|
2842
2838
|
/**
|
|
2843
2839
|
* Initial value of the slider, only when it is uncontrolled.
|
|
2844
2840
|
*/
|
|
2845
2841
|
defaultValue?: number;
|
|
2846
2842
|
/**
|
|
2847
|
-
*
|
|
2843
|
+
* If true, the component will be disabled.
|
|
2848
2844
|
*/
|
|
2849
|
-
|
|
2845
|
+
disabled?: boolean;
|
|
2850
2846
|
/**
|
|
2851
2847
|
* Helper text to be placed above the slider.
|
|
2852
2848
|
*/
|
|
2853
2849
|
helperText?: string;
|
|
2854
2850
|
/**
|
|
2855
|
-
*
|
|
2851
|
+
* Text to be placed above the slider.
|
|
2856
2852
|
*/
|
|
2857
|
-
|
|
2853
|
+
label?: string;
|
|
2858
2854
|
/**
|
|
2859
|
-
*
|
|
2855
|
+
* This function will be used to format the labels displayed next to the slider.
|
|
2856
|
+
* The value will be passed as parameter and the function must return the formatted value.
|
|
2860
2857
|
*/
|
|
2861
|
-
|
|
2858
|
+
labelFormatCallback?: (value: number) => string;
|
|
2862
2859
|
/**
|
|
2863
|
-
*
|
|
2860
|
+
* Size of the margin to be applied to the component ('xxsmall' | 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge').
|
|
2861
|
+
* You can pass an object with 'top', 'bottom', 'left' and 'right' properties in order to specify different margin sizes.
|
|
2864
2862
|
*/
|
|
2865
|
-
|
|
2863
|
+
margin?: Space$1 | Margin;
|
|
2866
2864
|
/**
|
|
2867
|
-
* Whether the
|
|
2865
|
+
* Whether the marks between each step should be shown or not.
|
|
2868
2866
|
*/
|
|
2869
|
-
|
|
2867
|
+
marks?: boolean;
|
|
2870
2868
|
/**
|
|
2871
|
-
*
|
|
2869
|
+
* The maximum value available for selection.
|
|
2872
2870
|
*/
|
|
2873
|
-
|
|
2871
|
+
maxValue?: number;
|
|
2874
2872
|
/**
|
|
2875
|
-
*
|
|
2873
|
+
* The minimum value available for selection.
|
|
2876
2874
|
*/
|
|
2877
|
-
|
|
2875
|
+
minValue?: number;
|
|
2878
2876
|
/**
|
|
2879
|
-
*
|
|
2877
|
+
* Name attribute of the input element.
|
|
2880
2878
|
*/
|
|
2881
|
-
|
|
2879
|
+
name?: string;
|
|
2882
2880
|
/**
|
|
2883
2881
|
* This function will be called when the slider changes its value, as it's being dragged.
|
|
2884
2882
|
* The new value will be passed as a parameter when this function is executed.
|
|
@@ -2890,23 +2888,25 @@ type Props$b = {
|
|
|
2890
2888
|
*/
|
|
2891
2889
|
onDragEnd?: (value: number) => void;
|
|
2892
2890
|
/**
|
|
2893
|
-
*
|
|
2894
|
-
* The value will be passed as parameter and the function must return the formatted value.
|
|
2891
|
+
* Whether the input element for displaying/controlling the slider value should be displayed next to the slider.
|
|
2895
2892
|
*/
|
|
2896
|
-
|
|
2893
|
+
showInput?: boolean;
|
|
2897
2894
|
/**
|
|
2898
|
-
*
|
|
2899
|
-
* You can pass an object with 'top', 'bottom', 'left' and 'right' properties in order to specify different margin sizes.
|
|
2895
|
+
* Whether the min/max value labels should be displayed next to the slider
|
|
2900
2896
|
*/
|
|
2901
|
-
|
|
2897
|
+
showLimitsValues?: boolean;
|
|
2902
2898
|
/**
|
|
2903
2899
|
* Size of the component.
|
|
2904
2900
|
*/
|
|
2905
2901
|
size?: "medium" | "large" | "fillParent";
|
|
2906
2902
|
/**
|
|
2907
|
-
*
|
|
2903
|
+
* The step interval between values available for selection.
|
|
2908
2904
|
*/
|
|
2909
|
-
|
|
2905
|
+
step?: number;
|
|
2906
|
+
/**
|
|
2907
|
+
* The selected value. If undefined, the component will be uncontrolled and the value will be managed internally by the component.
|
|
2908
|
+
*/
|
|
2909
|
+
value?: number;
|
|
2910
2910
|
};
|
|
2911
2911
|
|
|
2912
2912
|
declare const DxcSlider: react.ForwardRefExoticComponent<Props$b & react.RefAttributes<HTMLDivElement>>;
|
|
@@ -2940,7 +2940,7 @@ type Props$a = {
|
|
|
2940
2940
|
ariaLabel?: string;
|
|
2941
2941
|
};
|
|
2942
2942
|
|
|
2943
|
-
declare const DxcSpinner: ({
|
|
2943
|
+
declare const DxcSpinner: ({ ariaLabel, label, margin, mode, showValue, value }: Props$a) => react_jsx_runtime.JSX.Element;
|
|
2944
2944
|
|
|
2945
2945
|
type Mode = "default" | "info" | "success" | "warning" | "error";
|
|
2946
2946
|
type Size = "small" | "medium" | "large";
|
|
@@ -2959,7 +2959,7 @@ type Props$9 = {
|
|
|
2959
2959
|
size?: Size;
|
|
2960
2960
|
};
|
|
2961
2961
|
|
|
2962
|
-
declare
|
|
2962
|
+
declare function DxcStatusLight({ label, mode, size }: Props$9): react_jsx_runtime.JSX.Element;
|
|
2963
2963
|
|
|
2964
2964
|
type Props$8 = {
|
|
2965
2965
|
/**
|
|
@@ -3669,17 +3669,17 @@ declare const DxcToggleGroup: ({ label, helperText, defaultValue, value, onChang
|
|
|
3669
3669
|
|
|
3670
3670
|
type Props$2 = {
|
|
3671
3671
|
/**
|
|
3672
|
-
*
|
|
3672
|
+
* Content in which the Tooltip will be displayed.
|
|
3673
3673
|
*/
|
|
3674
|
-
|
|
3674
|
+
children: ReactNode;
|
|
3675
3675
|
/**
|
|
3676
3676
|
* Text to be displayed inside the tooltip.
|
|
3677
3677
|
*/
|
|
3678
3678
|
label?: string;
|
|
3679
3679
|
/**
|
|
3680
|
-
*
|
|
3680
|
+
* Preferred position for displaying the tooltip. It may adjust automatically based on available space.
|
|
3681
3681
|
*/
|
|
3682
|
-
|
|
3682
|
+
position?: "bottom" | "top" | "left" | "right";
|
|
3683
3683
|
};
|
|
3684
3684
|
|
|
3685
3685
|
declare function DxcTooltip(props: Props$2): react_jsx_runtime.JSX.Element;
|
|
@@ -3758,7 +3758,7 @@ type Props = {
|
|
|
3758
3758
|
tabIndex?: number;
|
|
3759
3759
|
};
|
|
3760
3760
|
|
|
3761
|
-
declare
|
|
3761
|
+
declare function DxcWizard({ currentStep, defaultCurrentStep, margin, mode, onStepClick, steps, tabIndex, }: Props): react_jsx_runtime.JSX.Element;
|
|
3762
3762
|
|
|
3763
3763
|
declare const componentTokens: {
|
|
3764
3764
|
accordion: {
|