@salutejs/sdds-dfa 0.370.0-dev.0 → 0.371.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/README.md +5 -5
- package/dist/styled-components/cjs/components/Autocomplete/Autocomplete.clear.config.js +706 -0
- package/dist/styled-components/cjs/components/Autocomplete/Autocomplete.config.js +40 -0
- package/dist/styled-components/cjs/components/Autocomplete/Autocomplete.js +14 -1
- package/dist/styled-components/cjs/components/DatePicker/DatePicker.clear.config.js +5 -0
- package/dist/styled-components/cjs/components/DatePicker/DatePicker.config.js +5 -0
- package/dist/styled-components/cjs/components/DateTimePicker/DateTimePicker.config.js +5 -0
- package/dist/styled-components/cjs/components/Range/Range.clear.config.js +5 -0
- package/dist/styled-components/cjs/components/Range/Range.config.js +5 -0
- package/dist/styled-components/cjs/components/Select/Select.clear.config.js +1258 -0
- package/dist/styled-components/cjs/components/Select/Select.config.js +39 -0
- package/dist/styled-components/cjs/components/Select/Select.js +8 -1
- package/dist/styled-components/cjs/components/TextArea/TextArea.clear.config.js +5 -0
- package/dist/styled-components/cjs/components/TextArea/TextArea.config.js +5 -0
- package/dist/styled-components/cjs/components/TextField/TextField.clear.config.js +23 -3
- package/dist/styled-components/cjs/components/TextField/TextField.config.js +5 -0
- package/dist/styled-components/cjs/components/TimePicker/TimePicker.config.js +37 -0
- package/dist/styled-components/es/components/Autocomplete/Autocomplete.clear.config.js +696 -0
- package/dist/styled-components/es/components/Autocomplete/Autocomplete.config.js +40 -0
- package/dist/styled-components/es/components/Autocomplete/Autocomplete.js +9 -2
- package/dist/styled-components/es/components/DatePicker/DatePicker.clear.config.js +5 -0
- package/dist/styled-components/es/components/DatePicker/DatePicker.config.js +5 -0
- package/dist/styled-components/es/components/DateTimePicker/DateTimePicker.config.js +5 -0
- package/dist/styled-components/es/components/Range/Range.clear.config.js +5 -0
- package/dist/styled-components/es/components/Range/Range.config.js +5 -0
- package/dist/styled-components/es/components/Select/Select.clear.config.js +1248 -0
- package/dist/styled-components/es/components/Select/Select.config.js +39 -0
- package/dist/styled-components/es/components/Select/Select.js +9 -2
- package/dist/styled-components/es/components/TextArea/TextArea.clear.config.js +5 -0
- package/dist/styled-components/es/components/TextArea/TextArea.config.js +5 -0
- package/dist/styled-components/es/components/TextField/TextField.clear.config.js +23 -3
- package/dist/styled-components/es/components/TextField/TextField.config.js +5 -0
- package/dist/styled-components/es/components/TimePicker/TimePicker.config.js +37 -0
- package/package.json +11 -11
- package/types/components/Autocomplete/Autocomplete.clear.config.d.ts +39 -0
- package/types/components/Autocomplete/Autocomplete.d.ts +2017 -10
- package/types/components/Calendar/Calendar.d.ts +3 -1
- package/types/components/DatePicker/DatePicker.d.ts +36 -36
- package/types/components/DateTimePicker/DateTimePicker.d.ts +2 -2
- package/types/components/Select/Select.clear.config.d.ts +53 -0
- package/types/components/Select/Select.d.ts +36 -10
- package/types/components/TimePicker/TimePicker.d.ts +2 -0
|
@@ -16,7 +16,9 @@ export declare const CalendarBase: import("react").FunctionComponent<import("@sa
|
|
|
16
16
|
m: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
17
17
|
s: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
18
18
|
};
|
|
19
|
-
}> & import("@salutejs/plasma-new-hope/types/components/Calendar/Calendar.types.js").Calendar & import("@salutejs/plasma-new-hope/types/components/Calendar/Calendar.types.js").CalendarConfigProps &
|
|
19
|
+
}> & import("@salutejs/plasma-new-hope/types/components/Calendar/Calendar.types.js").Calendar & import("@salutejs/plasma-new-hope/types/components/Calendar/Calendar.types.js").CalendarConfigProps & {
|
|
20
|
+
periodSelectorAlign?: "start" | "center";
|
|
21
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
20
22
|
export declare const CalendarDouble: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types.js").PropsType<{
|
|
21
23
|
view: {
|
|
22
24
|
default: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
@@ -55,7 +55,7 @@ export declare const DatePickerDefault: import("react").FunctionComponent<import
|
|
|
55
55
|
isoDate?: string;
|
|
56
56
|
};
|
|
57
57
|
}) => void;
|
|
58
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerCalendarProps & import("@salutejs/plasma-new-hope/types/components/DatePicker/SingleDate/SingleDate.types.js").DatePickerPopoverProps & {
|
|
58
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerCalendarProps & Pick<import("@salutejs/plasma-new-hope/styled-components").CalendarBaseProps, "periodSelectorAlign"> & import("@salutejs/plasma-new-hope/types/components/DatePicker/SingleDate/SingleDate.types.js").DatePickerPopoverProps & {
|
|
59
59
|
hintText: string;
|
|
60
60
|
hintTrigger?: "hover" | "click";
|
|
61
61
|
hintView?: string;
|
|
@@ -97,7 +97,7 @@ export declare const DatePickerDefault: import("react").FunctionComponent<import
|
|
|
97
97
|
isoDate?: string;
|
|
98
98
|
};
|
|
99
99
|
}) => void;
|
|
100
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerCalendarProps & import("@salutejs/plasma-new-hope/types/components/DatePicker/SingleDate/SingleDate.types.js").DatePickerPopoverProps & {
|
|
100
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerCalendarProps & Pick<import("@salutejs/plasma-new-hope/styled-components").CalendarBaseProps, "periodSelectorAlign"> & import("@salutejs/plasma-new-hope/types/components/DatePicker/SingleDate/SingleDate.types.js").DatePickerPopoverProps & {
|
|
101
101
|
hintTrigger?: never;
|
|
102
102
|
hintText?: never;
|
|
103
103
|
hintView?: never;
|
|
@@ -168,7 +168,7 @@ export declare const DatePickerClear: import("react").FunctionComponent<import("
|
|
|
168
168
|
isoDate?: string;
|
|
169
169
|
};
|
|
170
170
|
}) => void;
|
|
171
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerCalendarProps & import("@salutejs/plasma-new-hope/types/components/DatePicker/SingleDate/SingleDate.types.js").DatePickerPopoverProps & {
|
|
171
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerCalendarProps & Pick<import("@salutejs/plasma-new-hope/styled-components").CalendarBaseProps, "periodSelectorAlign"> & import("@salutejs/plasma-new-hope/types/components/DatePicker/SingleDate/SingleDate.types.js").DatePickerPopoverProps & {
|
|
172
172
|
hintText: string;
|
|
173
173
|
hintTrigger?: "hover" | "click";
|
|
174
174
|
hintView?: string;
|
|
@@ -210,7 +210,7 @@ export declare const DatePickerClear: import("react").FunctionComponent<import("
|
|
|
210
210
|
isoDate?: string;
|
|
211
211
|
};
|
|
212
212
|
}) => void;
|
|
213
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerCalendarProps & import("@salutejs/plasma-new-hope/types/components/DatePicker/SingleDate/SingleDate.types.js").DatePickerPopoverProps & {
|
|
213
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerCalendarProps & Pick<import("@salutejs/plasma-new-hope/styled-components").CalendarBaseProps, "periodSelectorAlign"> & import("@salutejs/plasma-new-hope/types/components/DatePicker/SingleDate/SingleDate.types.js").DatePickerPopoverProps & {
|
|
214
214
|
hintTrigger?: never;
|
|
215
215
|
hintText?: never;
|
|
216
216
|
hintView?: never;
|
|
@@ -281,7 +281,7 @@ export declare const DatePicker: import("react").ForwardRefExoticComponent<(((Om
|
|
|
281
281
|
isoDate?: string;
|
|
282
282
|
};
|
|
283
283
|
}) => void;
|
|
284
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerCalendarProps & import("@salutejs/plasma-new-hope/types/components/DatePicker/SingleDate/SingleDate.types.js").DatePickerPopoverProps & {
|
|
284
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerCalendarProps & Pick<import("@salutejs/plasma-new-hope/styled-components").CalendarBaseProps, "periodSelectorAlign"> & import("@salutejs/plasma-new-hope/types/components/DatePicker/SingleDate/SingleDate.types.js").DatePickerPopoverProps & {
|
|
285
285
|
hintText: string;
|
|
286
286
|
hintTrigger?: "hover" | "click";
|
|
287
287
|
hintView?: string;
|
|
@@ -351,7 +351,7 @@ export declare const DatePicker: import("react").ForwardRefExoticComponent<(((Om
|
|
|
351
351
|
isoDate?: string;
|
|
352
352
|
};
|
|
353
353
|
}) => void;
|
|
354
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerCalendarProps & import("@salutejs/plasma-new-hope/types/components/DatePicker/SingleDate/SingleDate.types.js").DatePickerPopoverProps & {
|
|
354
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerCalendarProps & Pick<import("@salutejs/plasma-new-hope/styled-components").CalendarBaseProps, "periodSelectorAlign"> & import("@salutejs/plasma-new-hope/types/components/DatePicker/SingleDate/SingleDate.types.js").DatePickerPopoverProps & {
|
|
355
355
|
hintTrigger?: never;
|
|
356
356
|
hintText?: never;
|
|
357
357
|
hintView?: never;
|
|
@@ -423,7 +423,7 @@ export declare const DatePicker: import("react").ForwardRefExoticComponent<(((Om
|
|
|
423
423
|
isoDate?: string;
|
|
424
424
|
};
|
|
425
425
|
}) => void;
|
|
426
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerCalendarProps & import("@salutejs/plasma-new-hope/types/components/DatePicker/SingleDate/SingleDate.types.js").DatePickerPopoverProps & {
|
|
426
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerCalendarProps & Pick<import("@salutejs/plasma-new-hope/styled-components").CalendarBaseProps, "periodSelectorAlign"> & import("@salutejs/plasma-new-hope/types/components/DatePicker/SingleDate/SingleDate.types.js").DatePickerPopoverProps & {
|
|
427
427
|
hintText: string;
|
|
428
428
|
hintTrigger?: "hover" | "click";
|
|
429
429
|
hintView?: string;
|
|
@@ -493,7 +493,7 @@ export declare const DatePicker: import("react").ForwardRefExoticComponent<(((Om
|
|
|
493
493
|
isoDate?: string;
|
|
494
494
|
};
|
|
495
495
|
}) => void;
|
|
496
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerCalendarProps & import("@salutejs/plasma-new-hope/types/components/DatePicker/SingleDate/SingleDate.types.js").DatePickerPopoverProps & {
|
|
496
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerCalendarProps & Pick<import("@salutejs/plasma-new-hope/styled-components").CalendarBaseProps, "periodSelectorAlign"> & import("@salutejs/plasma-new-hope/types/components/DatePicker/SingleDate/SingleDate.types.js").DatePickerPopoverProps & {
|
|
497
497
|
hintTrigger?: never;
|
|
498
498
|
hintText?: never;
|
|
499
499
|
hintView?: never;
|
|
@@ -537,7 +537,7 @@ export declare const DatePickerRangeDefault: import("react").FunctionComponent<i
|
|
|
537
537
|
readOnly: {
|
|
538
538
|
true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
539
539
|
};
|
|
540
|
-
}> & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerVariationProps & {
|
|
540
|
+
}> & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerVariationProps & Pick<import("@salutejs/plasma-new-hope/styled-components").CalendarBaseProps, "periodSelectorAlign"> & {
|
|
541
541
|
requiredPlacement?: "left" | "right";
|
|
542
542
|
required?: boolean;
|
|
543
543
|
hasRequiredIndicator?: boolean;
|
|
@@ -557,16 +557,16 @@ export declare const DatePickerRangeDefault: import("react").FunctionComponent<i
|
|
|
557
557
|
};
|
|
558
558
|
}) => void;
|
|
559
559
|
} & {
|
|
560
|
-
size?: string | undefined;
|
|
561
|
-
disabled?: boolean | undefined;
|
|
562
|
-
autoComplete?: string | undefined;
|
|
563
|
-
readOnly?: boolean | undefined;
|
|
564
|
-
required?: boolean | undefined;
|
|
565
560
|
label?: string | undefined;
|
|
566
561
|
view?: string | undefined;
|
|
567
|
-
|
|
562
|
+
readOnly?: boolean | undefined;
|
|
563
|
+
required?: boolean | undefined;
|
|
564
|
+
autoComplete?: string | undefined;
|
|
565
|
+
disabled?: boolean | undefined;
|
|
566
|
+
size?: string | undefined;
|
|
568
567
|
contentLeft?: React.ReactNode;
|
|
569
568
|
contentRight?: React.ReactNode;
|
|
569
|
+
appearance?: string | undefined;
|
|
570
570
|
hintText?: string | undefined;
|
|
571
571
|
hintTrigger?: ("hover" | "click") | undefined;
|
|
572
572
|
hintTargetIcon?: React.ReactNode;
|
|
@@ -643,7 +643,7 @@ export declare const DatePickerRangeClear: import("react").FunctionComponent<imp
|
|
|
643
643
|
readOnly: {
|
|
644
644
|
true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
645
645
|
};
|
|
646
|
-
}> & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerVariationProps & {
|
|
646
|
+
}> & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerVariationProps & Pick<import("@salutejs/plasma-new-hope/styled-components").CalendarBaseProps, "periodSelectorAlign"> & {
|
|
647
647
|
requiredPlacement?: "left" | "right";
|
|
648
648
|
required?: boolean;
|
|
649
649
|
hasRequiredIndicator?: boolean;
|
|
@@ -663,16 +663,16 @@ export declare const DatePickerRangeClear: import("react").FunctionComponent<imp
|
|
|
663
663
|
};
|
|
664
664
|
}) => void;
|
|
665
665
|
} & {
|
|
666
|
-
size?: string | undefined;
|
|
667
|
-
disabled?: boolean | undefined;
|
|
668
|
-
autoComplete?: string | undefined;
|
|
669
|
-
readOnly?: boolean | undefined;
|
|
670
|
-
required?: boolean | undefined;
|
|
671
666
|
label?: string | undefined;
|
|
672
667
|
view?: string | undefined;
|
|
673
|
-
|
|
668
|
+
readOnly?: boolean | undefined;
|
|
669
|
+
required?: boolean | undefined;
|
|
670
|
+
autoComplete?: string | undefined;
|
|
671
|
+
disabled?: boolean | undefined;
|
|
672
|
+
size?: string | undefined;
|
|
674
673
|
contentLeft?: React.ReactNode;
|
|
675
674
|
contentRight?: React.ReactNode;
|
|
675
|
+
appearance?: string | undefined;
|
|
676
676
|
hintText?: string | undefined;
|
|
677
677
|
hintTrigger?: ("hover" | "click") | undefined;
|
|
678
678
|
hintTargetIcon?: React.ReactNode;
|
|
@@ -749,7 +749,7 @@ export declare const DatePickerRange: import("react").ForwardRefExoticComponent<
|
|
|
749
749
|
readOnly: {
|
|
750
750
|
true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
751
751
|
};
|
|
752
|
-
}> & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerVariationProps & {
|
|
752
|
+
}> & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerVariationProps & Pick<import("@salutejs/plasma-new-hope/styled-components").CalendarBaseProps, "periodSelectorAlign"> & {
|
|
753
753
|
requiredPlacement?: "left" | "right";
|
|
754
754
|
required?: boolean;
|
|
755
755
|
hasRequiredIndicator?: boolean;
|
|
@@ -769,16 +769,16 @@ export declare const DatePickerRange: import("react").ForwardRefExoticComponent<
|
|
|
769
769
|
};
|
|
770
770
|
}) => void;
|
|
771
771
|
} & {
|
|
772
|
-
size?: string | undefined;
|
|
773
|
-
disabled?: boolean | undefined;
|
|
774
|
-
autoComplete?: string | undefined;
|
|
775
|
-
readOnly?: boolean | undefined;
|
|
776
|
-
required?: boolean | undefined;
|
|
777
772
|
label?: string | undefined;
|
|
778
773
|
view?: string | undefined;
|
|
779
|
-
|
|
774
|
+
readOnly?: boolean | undefined;
|
|
775
|
+
required?: boolean | undefined;
|
|
776
|
+
autoComplete?: string | undefined;
|
|
777
|
+
disabled?: boolean | undefined;
|
|
778
|
+
size?: string | undefined;
|
|
780
779
|
contentLeft?: React.ReactNode;
|
|
781
780
|
contentRight?: React.ReactNode;
|
|
781
|
+
appearance?: string | undefined;
|
|
782
782
|
hintText?: string | undefined;
|
|
783
783
|
hintTrigger?: ("hover" | "click") | undefined;
|
|
784
784
|
hintTargetIcon?: React.ReactNode;
|
|
@@ -856,7 +856,7 @@ export declare const DatePickerRange: import("react").ForwardRefExoticComponent<
|
|
|
856
856
|
readOnly: {
|
|
857
857
|
true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
858
858
|
};
|
|
859
|
-
}> & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerVariationProps & {
|
|
859
|
+
}> & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerVariationProps & Pick<import("@salutejs/plasma-new-hope/styled-components").CalendarBaseProps, "periodSelectorAlign"> & {
|
|
860
860
|
requiredPlacement?: "left" | "right";
|
|
861
861
|
required?: boolean;
|
|
862
862
|
hasRequiredIndicator?: boolean;
|
|
@@ -876,16 +876,16 @@ export declare const DatePickerRange: import("react").ForwardRefExoticComponent<
|
|
|
876
876
|
};
|
|
877
877
|
}) => void;
|
|
878
878
|
} & {
|
|
879
|
-
size?: string | undefined;
|
|
880
|
-
disabled?: boolean | undefined;
|
|
881
|
-
autoComplete?: string | undefined;
|
|
882
|
-
readOnly?: boolean | undefined;
|
|
883
|
-
required?: boolean | undefined;
|
|
884
879
|
label?: string | undefined;
|
|
885
880
|
view?: string | undefined;
|
|
886
|
-
|
|
881
|
+
readOnly?: boolean | undefined;
|
|
882
|
+
required?: boolean | undefined;
|
|
883
|
+
autoComplete?: string | undefined;
|
|
884
|
+
disabled?: boolean | undefined;
|
|
885
|
+
size?: string | undefined;
|
|
887
886
|
contentLeft?: React.ReactNode;
|
|
888
887
|
contentRight?: React.ReactNode;
|
|
888
|
+
appearance?: string | undefined;
|
|
889
889
|
hintText?: string | undefined;
|
|
890
890
|
hintTrigger?: ("hover" | "click") | undefined;
|
|
891
891
|
hintTargetIcon?: React.ReactNode;
|
|
@@ -43,7 +43,7 @@ export declare const DateTimePicker: import("react").FunctionComponent<import("@
|
|
|
43
43
|
dateShortcuts?: import("@salutejs/plasma-new-hope/types/components/DateTimePicker/DateTimePicker.types.js").DateShortcutItem[];
|
|
44
44
|
dateShortcutsWidth?: import("react").CSSProperties["width"];
|
|
45
45
|
dateShortcutsPlacement?: "right" | "left";
|
|
46
|
-
} & Omit<import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerCalendarProps, "format" | "maskWithFormat" | "calendarContainerWidth" | "calendarContainerHeight"> & Omit<import("@salutejs/plasma-new-hope/types/components/DatePicker/SingleDate/SingleDate.types.js").DatePickerPopoverProps, "isOpen" | "closeAfterDateSelect"> & Pick<import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerCalendarProps, "calendarContainerWidth" | "calendarContainerHeight"> & {
|
|
46
|
+
} & Omit<import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerCalendarProps, "format" | "maskWithFormat" | "calendarContainerWidth" | "calendarContainerHeight"> & Pick<import("@salutejs/plasma-new-hope/styled-components").CalendarBaseProps, "periodSelectorAlign"> & Omit<import("@salutejs/plasma-new-hope/types/components/DatePicker/SingleDate/SingleDate.types.js").DatePickerPopoverProps, "isOpen" | "closeAfterDateSelect"> & Pick<import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerCalendarProps, "calendarContainerWidth" | "calendarContainerHeight"> & {
|
|
47
47
|
onCommitDate?: (value: string, formattedValues: import("@salutejs/plasma-new-hope/types/components/DateTimePicker/DateTimePicker.types.js").FormattedValues) => void;
|
|
48
48
|
onChangeValue?: (event: import("react").SyntheticEvent<HTMLInputElement> | null, value?: string, formattedValues?: Omit<import("@salutejs/plasma-new-hope/types/components/DateTimePicker/DateTimePicker.types.js").FormattedValues, "quarterInfo">) => void;
|
|
49
49
|
onSearch?: (event?: import("react").KeyboardEvent<HTMLInputElement>, value?: string) => void;
|
|
@@ -83,7 +83,7 @@ export declare const DateTimePicker: import("react").FunctionComponent<import("@
|
|
|
83
83
|
dateShortcuts?: import("@salutejs/plasma-new-hope/types/components/DateTimePicker/DateTimePicker.types.js").DateShortcutItem[];
|
|
84
84
|
dateShortcutsWidth?: import("react").CSSProperties["width"];
|
|
85
85
|
dateShortcutsPlacement?: "right" | "left";
|
|
86
|
-
} & Omit<import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerCalendarProps, "format" | "maskWithFormat" | "calendarContainerWidth" | "calendarContainerHeight"> & Omit<import("@salutejs/plasma-new-hope/types/components/DatePicker/SingleDate/SingleDate.types.js").DatePickerPopoverProps, "isOpen" | "closeAfterDateSelect"> & Pick<import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerCalendarProps, "calendarContainerWidth" | "calendarContainerHeight"> & {
|
|
86
|
+
} & Omit<import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerCalendarProps, "format" | "maskWithFormat" | "calendarContainerWidth" | "calendarContainerHeight"> & Pick<import("@salutejs/plasma-new-hope/styled-components").CalendarBaseProps, "periodSelectorAlign"> & Omit<import("@salutejs/plasma-new-hope/types/components/DatePicker/SingleDate/SingleDate.types.js").DatePickerPopoverProps, "isOpen" | "closeAfterDateSelect"> & Pick<import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerCalendarProps, "calendarContainerWidth" | "calendarContainerHeight"> & {
|
|
87
87
|
onCommitDate?: (value: string, formattedValues: import("@salutejs/plasma-new-hope/types/components/DateTimePicker/DateTimePicker.types.js").FormattedValues) => void;
|
|
88
88
|
onChangeValue?: (event: import("react").SyntheticEvent<HTMLInputElement> | null, value?: string, formattedValues?: Omit<import("@salutejs/plasma-new-hope/types/components/DateTimePicker/DateTimePicker.types.js").FormattedValues, "quarterInfo">) => void;
|
|
89
89
|
onSearch?: (event?: import("react").KeyboardEvent<HTMLInputElement>, value?: string) => void;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
export declare const config: {
|
|
2
|
+
defaults: {
|
|
3
|
+
view: string;
|
|
4
|
+
size: string;
|
|
5
|
+
labelPlacement: string;
|
|
6
|
+
chipView: string;
|
|
7
|
+
hintView: string;
|
|
8
|
+
hintSize: string;
|
|
9
|
+
};
|
|
10
|
+
variations: {
|
|
11
|
+
view: {
|
|
12
|
+
default: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
13
|
+
positive: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
14
|
+
warning: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
15
|
+
negative: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
16
|
+
accent: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
17
|
+
secondary: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
18
|
+
clear: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
19
|
+
dark: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
20
|
+
black: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
21
|
+
white: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
22
|
+
};
|
|
23
|
+
size: {
|
|
24
|
+
xl: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
25
|
+
l: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
26
|
+
m: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
27
|
+
s: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
28
|
+
xs: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
29
|
+
};
|
|
30
|
+
labelPlacement: {
|
|
31
|
+
inner: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
32
|
+
outer: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
33
|
+
};
|
|
34
|
+
chipView: {
|
|
35
|
+
default: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
36
|
+
secondary: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
37
|
+
accent: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
38
|
+
};
|
|
39
|
+
hintView: {
|
|
40
|
+
default: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
41
|
+
};
|
|
42
|
+
hintSize: {
|
|
43
|
+
m: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
44
|
+
s: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
45
|
+
};
|
|
46
|
+
disabled: {
|
|
47
|
+
true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
48
|
+
};
|
|
49
|
+
readOnly: {
|
|
50
|
+
true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { SelectProps as SelectPropsNewHope, SelectItemOption, DistributivePick, DistributiveOmit } from '@salutejs/plasma-new-hope';
|
|
2
2
|
import React, { ComponentProps } from 'react';
|
|
3
|
-
declare const
|
|
3
|
+
declare const SelectDefault: React.FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types.js").PropsType<{
|
|
4
4
|
view: {
|
|
5
5
|
default: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
6
6
|
positive: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
@@ -58,6 +58,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
58
58
|
helperText?: string;
|
|
59
59
|
chipType?: "default" | "text";
|
|
60
60
|
chipClickArea?: "full" | "close-icon";
|
|
61
|
+
titleCaption?: React.ReactNode;
|
|
61
62
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").RequiredProps & {
|
|
62
63
|
hintText: string;
|
|
63
64
|
hintTrigger?: "hover" | "click";
|
|
@@ -71,7 +72,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
71
72
|
hintWidth?: string;
|
|
72
73
|
hintContentLeft?: React.ReactNode;
|
|
73
74
|
hintPortal?: string | React.RefObject<HTMLElement | null>;
|
|
74
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & {
|
|
75
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & Pick<import("@salutejs/plasma-new-hope/styled-components").TextFieldProps, "hasDivider"> & {
|
|
75
76
|
_offset?: [number, number];
|
|
76
77
|
_checkboxAppearance?: string;
|
|
77
78
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "defaultValue" | "placeholder" | "onScroll" | "value"> & React.RefAttributes<HTMLButtonElement>) | (import("@salutejs/plasma-new-hope/types/components/Select/Select.types.js").BasicProps<SelectItemOption> & {
|
|
@@ -90,6 +91,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
90
91
|
helperText?: string;
|
|
91
92
|
chipType?: "default" | "text";
|
|
92
93
|
chipClickArea?: "full" | "close-icon";
|
|
94
|
+
titleCaption?: React.ReactNode;
|
|
93
95
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").RequiredProps & {
|
|
94
96
|
hintTrigger?: never;
|
|
95
97
|
hintText?: never;
|
|
@@ -103,7 +105,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
103
105
|
hintWidth?: never;
|
|
104
106
|
hintContentLeft?: never;
|
|
105
107
|
hintPortal?: never;
|
|
106
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & {
|
|
108
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & Pick<import("@salutejs/plasma-new-hope/styled-components").TextFieldProps, "hasDivider"> & {
|
|
107
109
|
_offset?: [number, number];
|
|
108
110
|
_checkboxAppearance?: string;
|
|
109
111
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "defaultValue" | "placeholder" | "onScroll" | "value"> & React.RefAttributes<HTMLButtonElement>) | (import("@salutejs/plasma-new-hope/types/components/Select/Select.types.js").BasicProps<SelectItemOption> & {
|
|
@@ -122,6 +124,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
122
124
|
helperText?: string;
|
|
123
125
|
chipType?: "default" | "text";
|
|
124
126
|
chipClickArea?: "full" | "close-icon";
|
|
127
|
+
titleCaption?: React.ReactNode;
|
|
125
128
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").RequiredProps & {
|
|
126
129
|
hintText: string;
|
|
127
130
|
hintTrigger?: "hover" | "click";
|
|
@@ -135,7 +138,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
135
138
|
hintWidth?: string;
|
|
136
139
|
hintContentLeft?: React.ReactNode;
|
|
137
140
|
hintPortal?: string | React.RefObject<HTMLElement | null>;
|
|
138
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & {
|
|
141
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & Pick<import("@salutejs/plasma-new-hope/styled-components").TextFieldProps, "hasDivider"> & {
|
|
139
142
|
_offset?: [number, number];
|
|
140
143
|
_checkboxAppearance?: string;
|
|
141
144
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "defaultValue" | "placeholder" | "onScroll" | "value"> & React.RefAttributes<HTMLButtonElement>) | (import("@salutejs/plasma-new-hope/types/components/Select/Select.types.js").BasicProps<SelectItemOption> & {
|
|
@@ -154,6 +157,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
154
157
|
helperText?: string;
|
|
155
158
|
chipType?: "default" | "text";
|
|
156
159
|
chipClickArea?: "full" | "close-icon";
|
|
160
|
+
titleCaption?: React.ReactNode;
|
|
157
161
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").RequiredProps & {
|
|
158
162
|
hintTrigger?: never;
|
|
159
163
|
hintText?: never;
|
|
@@ -167,7 +171,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
167
171
|
hintWidth?: never;
|
|
168
172
|
hintContentLeft?: never;
|
|
169
173
|
hintPortal?: never;
|
|
170
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & {
|
|
174
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & Pick<import("@salutejs/plasma-new-hope/styled-components").TextFieldProps, "hasDivider"> & {
|
|
171
175
|
_offset?: [number, number];
|
|
172
176
|
_checkboxAppearance?: string;
|
|
173
177
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "defaultValue" | "placeholder" | "onScroll" | "value"> & React.RefAttributes<HTMLButtonElement>) | (import("@salutejs/plasma-new-hope/types/components/Select/Select.types.js").BasicProps<SelectItemOption> & Omit<{
|
|
@@ -190,6 +194,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
190
194
|
helperText?: string;
|
|
191
195
|
chipType?: "default" | "text";
|
|
192
196
|
chipClickArea?: "full" | "close-icon";
|
|
197
|
+
titleCaption?: React.ReactNode;
|
|
193
198
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").RequiredProps & {
|
|
194
199
|
hintText: string;
|
|
195
200
|
hintTrigger?: "hover" | "click";
|
|
@@ -203,7 +208,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
203
208
|
hintWidth?: string;
|
|
204
209
|
hintContentLeft?: React.ReactNode;
|
|
205
210
|
hintPortal?: string | React.RefObject<HTMLElement | null>;
|
|
206
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & {
|
|
211
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & Pick<import("@salutejs/plasma-new-hope/styled-components").TextFieldProps, "hasDivider"> & {
|
|
207
212
|
_offset?: [number, number];
|
|
208
213
|
_checkboxAppearance?: string;
|
|
209
214
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "defaultValue" | "placeholder" | "onScroll" | "value"> & React.RefAttributes<HTMLButtonElement>) | (import("@salutejs/plasma-new-hope/types/components/Select/Select.types.js").BasicProps<SelectItemOption> & Omit<{
|
|
@@ -226,6 +231,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
226
231
|
helperText?: string;
|
|
227
232
|
chipType?: "default" | "text";
|
|
228
233
|
chipClickArea?: "full" | "close-icon";
|
|
234
|
+
titleCaption?: React.ReactNode;
|
|
229
235
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").RequiredProps & {
|
|
230
236
|
hintTrigger?: never;
|
|
231
237
|
hintText?: never;
|
|
@@ -239,7 +245,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
239
245
|
hintWidth?: never;
|
|
240
246
|
hintContentLeft?: never;
|
|
241
247
|
hintPortal?: never;
|
|
242
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & {
|
|
248
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & Pick<import("@salutejs/plasma-new-hope/styled-components").TextFieldProps, "hasDivider"> & {
|
|
243
249
|
_offset?: [number, number];
|
|
244
250
|
_checkboxAppearance?: string;
|
|
245
251
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "defaultValue" | "placeholder" | "onScroll" | "value"> & React.RefAttributes<HTMLButtonElement>) | (import("@salutejs/plasma-new-hope/types/components/Select/Select.types.js").BasicProps<SelectItemOption> & Omit<{
|
|
@@ -262,6 +268,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
262
268
|
helperText?: string;
|
|
263
269
|
chipType?: "default" | "text";
|
|
264
270
|
chipClickArea?: "full" | "close-icon";
|
|
271
|
+
titleCaption?: React.ReactNode;
|
|
265
272
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").RequiredProps & {
|
|
266
273
|
hintText: string;
|
|
267
274
|
hintTrigger?: "hover" | "click";
|
|
@@ -275,7 +282,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
275
282
|
hintWidth?: string;
|
|
276
283
|
hintContentLeft?: React.ReactNode;
|
|
277
284
|
hintPortal?: string | React.RefObject<HTMLElement | null>;
|
|
278
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & {
|
|
285
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & Pick<import("@salutejs/plasma-new-hope/styled-components").TextFieldProps, "hasDivider"> & {
|
|
279
286
|
_offset?: [number, number];
|
|
280
287
|
_checkboxAppearance?: string;
|
|
281
288
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "defaultValue" | "placeholder" | "onScroll" | "value"> & React.RefAttributes<HTMLButtonElement>) | (import("@salutejs/plasma-new-hope/types/components/Select/Select.types.js").BasicProps<SelectItemOption> & Omit<{
|
|
@@ -298,6 +305,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
298
305
|
helperText?: string;
|
|
299
306
|
chipType?: "default" | "text";
|
|
300
307
|
chipClickArea?: "full" | "close-icon";
|
|
308
|
+
titleCaption?: React.ReactNode;
|
|
301
309
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").RequiredProps & {
|
|
302
310
|
hintTrigger?: never;
|
|
303
311
|
hintText?: never;
|
|
@@ -311,7 +319,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
311
319
|
hintWidth?: never;
|
|
312
320
|
hintContentLeft?: never;
|
|
313
321
|
hintPortal?: never;
|
|
314
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & {
|
|
322
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & Pick<import("@salutejs/plasma-new-hope/styled-components").TextFieldProps, "hasDivider"> & {
|
|
315
323
|
_offset?: [number, number];
|
|
316
324
|
_checkboxAppearance?: string;
|
|
317
325
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "defaultValue" | "placeholder" | "onScroll" | "value"> & React.RefAttributes<HTMLButtonElement>) | (import("@salutejs/plasma-new-hope/types/components/Select/Select.types.js").BasicProps<SelectItemOption> & {
|
|
@@ -324,6 +332,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
324
332
|
selectAllOptions?: never;
|
|
325
333
|
} & {
|
|
326
334
|
target: "button-like";
|
|
335
|
+
hasDivider?: never;
|
|
327
336
|
label?: string;
|
|
328
337
|
contentLeft?: never;
|
|
329
338
|
contentRight?: never;
|
|
@@ -332,6 +341,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
332
341
|
keepPlaceholder?: never;
|
|
333
342
|
chipType?: never;
|
|
334
343
|
chipClickArea?: never;
|
|
344
|
+
titleCaption?: never;
|
|
335
345
|
} & import("@salutejs/plasma-new-hope/styled-components").NeverProps<import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").RequiredProps & {
|
|
336
346
|
hintText: string;
|
|
337
347
|
hintTrigger?: "hover" | "click";
|
|
@@ -358,6 +368,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
358
368
|
selectAllOptions?: never;
|
|
359
369
|
} & {
|
|
360
370
|
target: "button-like";
|
|
371
|
+
hasDivider?: never;
|
|
361
372
|
label?: string;
|
|
362
373
|
contentLeft?: never;
|
|
363
374
|
contentRight?: never;
|
|
@@ -366,6 +377,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
366
377
|
keepPlaceholder?: never;
|
|
367
378
|
chipType?: never;
|
|
368
379
|
chipClickArea?: never;
|
|
380
|
+
titleCaption?: never;
|
|
369
381
|
} & import("@salutejs/plasma-new-hope/styled-components").NeverProps<import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").RequiredProps & {
|
|
370
382
|
hintTrigger?: never;
|
|
371
383
|
hintText?: never;
|
|
@@ -392,6 +404,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
392
404
|
selectAllOptions?: import("@salutejs/plasma-new-hope/types/components/Select/Select.types.js").SelectAllProps;
|
|
393
405
|
} & {
|
|
394
406
|
target: "button-like";
|
|
407
|
+
hasDivider?: never;
|
|
395
408
|
label?: string;
|
|
396
409
|
contentLeft?: never;
|
|
397
410
|
contentRight?: never;
|
|
@@ -400,6 +413,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
400
413
|
keepPlaceholder?: never;
|
|
401
414
|
chipType?: never;
|
|
402
415
|
chipClickArea?: never;
|
|
416
|
+
titleCaption?: never;
|
|
403
417
|
} & import("@salutejs/plasma-new-hope/styled-components").NeverProps<import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").RequiredProps & {
|
|
404
418
|
hintText: string;
|
|
405
419
|
hintTrigger?: "hover" | "click";
|
|
@@ -426,6 +440,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
426
440
|
selectAllOptions?: import("@salutejs/plasma-new-hope/types/components/Select/Select.types.js").SelectAllProps;
|
|
427
441
|
} & {
|
|
428
442
|
target: "button-like";
|
|
443
|
+
hasDivider?: never;
|
|
429
444
|
label?: string;
|
|
430
445
|
contentLeft?: never;
|
|
431
446
|
contentRight?: never;
|
|
@@ -434,6 +449,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
434
449
|
keepPlaceholder?: never;
|
|
435
450
|
chipType?: never;
|
|
436
451
|
chipClickArea?: never;
|
|
452
|
+
titleCaption?: never;
|
|
437
453
|
} & import("@salutejs/plasma-new-hope/styled-components").NeverProps<import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").RequiredProps & {
|
|
438
454
|
hintTrigger?: never;
|
|
439
455
|
hintText?: never;
|
|
@@ -464,6 +480,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
464
480
|
onChange?: React.ChangeEventHandler<HTMLSelectElement>;
|
|
465
481
|
} & {
|
|
466
482
|
target: "button-like";
|
|
483
|
+
hasDivider?: never;
|
|
467
484
|
label?: string;
|
|
468
485
|
contentLeft?: never;
|
|
469
486
|
contentRight?: never;
|
|
@@ -472,6 +489,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
472
489
|
keepPlaceholder?: never;
|
|
473
490
|
chipType?: never;
|
|
474
491
|
chipClickArea?: never;
|
|
492
|
+
titleCaption?: never;
|
|
475
493
|
} & import("@salutejs/plasma-new-hope/styled-components").NeverProps<import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").RequiredProps & {
|
|
476
494
|
hintText: string;
|
|
477
495
|
hintTrigger?: "hover" | "click";
|
|
@@ -502,6 +520,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
502
520
|
onChange?: React.ChangeEventHandler<HTMLSelectElement>;
|
|
503
521
|
} & {
|
|
504
522
|
target: "button-like";
|
|
523
|
+
hasDivider?: never;
|
|
505
524
|
label?: string;
|
|
506
525
|
contentLeft?: never;
|
|
507
526
|
contentRight?: never;
|
|
@@ -510,6 +529,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
510
529
|
keepPlaceholder?: never;
|
|
511
530
|
chipType?: never;
|
|
512
531
|
chipClickArea?: never;
|
|
532
|
+
titleCaption?: never;
|
|
513
533
|
} & import("@salutejs/plasma-new-hope/styled-components").NeverProps<import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").RequiredProps & {
|
|
514
534
|
hintTrigger?: never;
|
|
515
535
|
hintText?: never;
|
|
@@ -540,6 +560,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
540
560
|
onChange?: React.ChangeEventHandler<HTMLSelectElement>;
|
|
541
561
|
} & {
|
|
542
562
|
target: "button-like";
|
|
563
|
+
hasDivider?: never;
|
|
543
564
|
label?: string;
|
|
544
565
|
contentLeft?: never;
|
|
545
566
|
contentRight?: never;
|
|
@@ -548,6 +569,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
548
569
|
keepPlaceholder?: never;
|
|
549
570
|
chipType?: never;
|
|
550
571
|
chipClickArea?: never;
|
|
572
|
+
titleCaption?: never;
|
|
551
573
|
} & import("@salutejs/plasma-new-hope/styled-components").NeverProps<import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").RequiredProps & {
|
|
552
574
|
hintText: string;
|
|
553
575
|
hintTrigger?: "hover" | "click";
|
|
@@ -578,6 +600,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
578
600
|
onChange?: React.ChangeEventHandler<HTMLSelectElement>;
|
|
579
601
|
} & {
|
|
580
602
|
target: "button-like";
|
|
603
|
+
hasDivider?: never;
|
|
581
604
|
label?: string;
|
|
582
605
|
contentLeft?: never;
|
|
583
606
|
contentRight?: never;
|
|
@@ -586,6 +609,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
586
609
|
keepPlaceholder?: never;
|
|
587
610
|
chipType?: never;
|
|
588
611
|
chipClickArea?: never;
|
|
612
|
+
titleCaption?: never;
|
|
589
613
|
} & import("@salutejs/plasma-new-hope/styled-components").NeverProps<import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").RequiredProps & {
|
|
590
614
|
hintTrigger?: never;
|
|
591
615
|
hintText?: never;
|
|
@@ -603,6 +627,8 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
603
627
|
_offset?: [number, number];
|
|
604
628
|
_checkboxAppearance?: string;
|
|
605
629
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "defaultValue" | "placeholder" | "onScroll" | "value"> & React.RefAttributes<HTMLButtonElement>))>;
|
|
606
|
-
export type SelectProps<K extends SelectItemOption> = DistributiveOmit<SelectPropsNewHope<K>, 'size' | 'view' | 'chipView' | 'hintView' | 'hintSize' | 'labelPlacement'> & DistributivePick<ComponentProps<typeof
|
|
630
|
+
export type SelectProps<K extends SelectItemOption> = DistributiveOmit<SelectPropsNewHope<K>, 'size' | 'view' | 'chipView' | 'hintView' | 'hintSize' | 'labelPlacement'> & DistributivePick<ComponentProps<typeof SelectDefault>, 'size' | 'view' | 'chipView' | 'hintView' | 'hintSize' | 'labelPlacement'> & {
|
|
631
|
+
appearance?: 'default' | 'clear';
|
|
632
|
+
};
|
|
607
633
|
declare const Select: <K extends SelectItemOption>(props: SelectProps<K> & React.RefAttributes<HTMLButtonElement>) => React.ReactElement | null;
|
|
608
634
|
export { Select };
|
|
@@ -48,6 +48,7 @@ export declare const TimePicker: import("react").FunctionComponent<import("@salu
|
|
|
48
48
|
valueError?: boolean;
|
|
49
49
|
valueSuccess?: boolean;
|
|
50
50
|
valueEdited?: boolean;
|
|
51
|
+
titleCaption?: import("react").ReactNode;
|
|
51
52
|
leftHelper?: string;
|
|
52
53
|
contentLeft?: React.ReactElement;
|
|
53
54
|
contentRight?: React.ReactElement;
|
|
@@ -94,6 +95,7 @@ export declare const TimePicker: import("react").FunctionComponent<import("@salu
|
|
|
94
95
|
valueError?: boolean;
|
|
95
96
|
valueSuccess?: boolean;
|
|
96
97
|
valueEdited?: boolean;
|
|
98
|
+
titleCaption?: import("react").ReactNode;
|
|
97
99
|
leftHelper?: string;
|
|
98
100
|
contentLeft?: React.ReactElement;
|
|
99
101
|
contentRight?: React.ReactElement;
|