@salutejs/sdds-dfa 0.346.0-next-sbcom.0 → 0.346.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/styled-components/cjs/components/Button/Button.js +2 -1
- package/dist/styled-components/cjs/components/DatePicker/DatePicker.js +8 -18
- package/dist/styled-components/cjs/components/Link/Link.config.js +28 -19
- package/dist/styled-components/cjs/components/Range/Range.js +4 -9
- package/dist/styled-components/cjs/components/Slider/Slider.config.js +15 -6
- package/dist/styled-components/cjs/components/TextArea/TextArea.js +4 -9
- package/dist/styled-components/cjs/components/TextField/TextField.js +4 -9
- package/dist/styled-components/cjs/components/TextFieldSlider/TextFieldSlider.js +4 -9
- package/dist/styled-components/cjs/components/Tour/Tour.config.js +7 -8
- package/dist/styled-components/es/components/Button/Button.js +2 -1
- package/dist/styled-components/es/components/DatePicker/DatePicker.js +8 -18
- package/dist/styled-components/es/components/Link/Link.config.js +28 -19
- package/dist/styled-components/es/components/Range/Range.js +4 -9
- package/dist/styled-components/es/components/Slider/Slider.config.js +15 -6
- package/dist/styled-components/es/components/TextArea/TextArea.js +4 -9
- package/dist/styled-components/es/components/TextField/TextField.js +4 -9
- package/dist/styled-components/es/components/TextFieldSlider/TextFieldSlider.js +4 -9
- package/dist/styled-components/es/components/Tour/Tour.config.js +8 -9
- package/package.json +8 -8
- package/types/components/Attach/Attach.d.ts +32 -32
- package/types/components/Button/Button.d.ts +10 -10
- package/types/components/DatePicker/DatePicker.d.ts +252 -7
- package/types/components/EmbedIconButton/EmbedIconButton.d.ts +4 -4
- package/types/components/IconButton/IconButton.d.ts +4 -4
- package/types/components/Mask/Mask.d.ts +657 -9
- package/types/components/Radiobox/Radiobox.d.ts +2 -2
- package/types/components/Range/Range.d.ts +977 -13
- package/types/components/Select/Select.d.ts +464 -285
- package/types/components/Select/index.d.ts +1 -1
- package/types/components/Slider/Slider.d.ts +43 -27
- package/types/components/TextArea/TextArea.d.ts +621 -9
- package/types/components/TextField/TextField.d.ts +629 -9
- package/types/components/TextFieldSlider/TextFieldSlider.d.ts +155 -3
|
@@ -216,7 +216,7 @@ export declare const DatePickerClear: import("react").FunctionComponent<import("
|
|
|
216
216
|
hintWidth?: never;
|
|
217
217
|
hintContentLeft?: never;
|
|
218
218
|
} & Omit<import("react").HTMLAttributes<HTMLDivElement>, "defaultValue"> & import("react").RefAttributes<HTMLInputElement>))>;
|
|
219
|
-
export declare const DatePicker: import("react").ForwardRefExoticComponent<(Omit<import("@salutejs/plasma-new-hope/types/engines/types.js").PropsType<{
|
|
219
|
+
export declare const DatePicker: import("react").ForwardRefExoticComponent<(((Omit<Omit<import("@salutejs/plasma-new-hope/types/engines/types.js").PropsType<{
|
|
220
220
|
view: {
|
|
221
221
|
default: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
222
222
|
};
|
|
@@ -284,7 +284,7 @@ export declare const DatePicker: import("react").ForwardRefExoticComponent<(Omit
|
|
|
284
284
|
hintOffset?: [number, number];
|
|
285
285
|
hintWidth?: string;
|
|
286
286
|
hintContentLeft?: import("react").ReactNode;
|
|
287
|
-
} & Omit<import("react").HTMLAttributes<HTMLDivElement>, "defaultValue"> & import("react").RefAttributes<HTMLInputElement>, "ref"> | Omit<import("@salutejs/plasma-new-hope/types/engines/types.js").PropsType<{
|
|
287
|
+
} & Omit<import("react").HTMLAttributes<HTMLDivElement>, "defaultValue"> & import("react").RefAttributes<HTMLInputElement>, "ref">, "appearance"> | Omit<Omit<import("@salutejs/plasma-new-hope/types/engines/types.js").PropsType<{
|
|
288
288
|
view: {
|
|
289
289
|
default: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
290
290
|
};
|
|
@@ -352,7 +352,147 @@ export declare const DatePicker: import("react").ForwardRefExoticComponent<(Omit
|
|
|
352
352
|
hintOffset?: never;
|
|
353
353
|
hintWidth?: never;
|
|
354
354
|
hintContentLeft?: never;
|
|
355
|
-
} & Omit<import("react").HTMLAttributes<HTMLDivElement>, "defaultValue"> & import("react").RefAttributes<HTMLInputElement>, "ref">) &
|
|
355
|
+
} & Omit<import("react").HTMLAttributes<HTMLDivElement>, "defaultValue"> & import("react").RefAttributes<HTMLInputElement>, "ref">, "appearance">) & {
|
|
356
|
+
appearance?: "default";
|
|
357
|
+
}) | ((Omit<Omit<import("@salutejs/plasma-new-hope/types/engines/types.js").PropsType<{
|
|
358
|
+
view: {
|
|
359
|
+
default: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
360
|
+
};
|
|
361
|
+
size: {
|
|
362
|
+
xl: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
363
|
+
l: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
364
|
+
m: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
365
|
+
s: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
366
|
+
xs: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
367
|
+
};
|
|
368
|
+
eventTooltipSize: {
|
|
369
|
+
m: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
370
|
+
s: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
371
|
+
};
|
|
372
|
+
hintView: {
|
|
373
|
+
default: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
374
|
+
};
|
|
375
|
+
hintSize: {
|
|
376
|
+
m: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
377
|
+
s: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
378
|
+
};
|
|
379
|
+
disabled: {
|
|
380
|
+
true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
381
|
+
};
|
|
382
|
+
readOnly: {
|
|
383
|
+
true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
384
|
+
};
|
|
385
|
+
}> & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerVariationProps & {
|
|
386
|
+
titleCaption?: import("react").ReactNode;
|
|
387
|
+
requiredPlacement?: "left" | "right";
|
|
388
|
+
required?: boolean;
|
|
389
|
+
hasRequiredIndicator?: boolean;
|
|
390
|
+
value?: Date | string;
|
|
391
|
+
preserveInvalidOnBlur?: boolean;
|
|
392
|
+
defaultDate?: Date;
|
|
393
|
+
placeholder?: string;
|
|
394
|
+
name?: string;
|
|
395
|
+
valueError?: boolean;
|
|
396
|
+
valueSuccess?: boolean;
|
|
397
|
+
leftHelper?: string;
|
|
398
|
+
contentLeft?: React.ReactElement;
|
|
399
|
+
contentRight?: React.ReactElement;
|
|
400
|
+
textBefore?: string;
|
|
401
|
+
textAfter?: string;
|
|
402
|
+
autoComplete?: string;
|
|
403
|
+
onCommitDate?: import("@salutejs/plasma-new-hope/styled-components").OnCommitDateCallback;
|
|
404
|
+
onChangeValue?: (event: import("react").SyntheticEvent<HTMLInputElement> | null, value?: string, originalDate?: import("@salutejs/plasma-new-hope/types/components/Calendar/Calendar.types.js").DateType, isoDate?: string) => void;
|
|
405
|
+
onChange?: (event: {
|
|
406
|
+
target: {
|
|
407
|
+
value?: string;
|
|
408
|
+
name?: string;
|
|
409
|
+
originalDate?: import("@salutejs/plasma-new-hope/types/components/Calendar/Calendar.types.js").DateType;
|
|
410
|
+
isoDate?: string;
|
|
411
|
+
};
|
|
412
|
+
}) => void;
|
|
413
|
+
} & 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 & {
|
|
414
|
+
hintText: string;
|
|
415
|
+
hintTrigger?: "hover" | "click";
|
|
416
|
+
hintView?: string;
|
|
417
|
+
hintSize?: string;
|
|
418
|
+
hintTargetIcon?: import("react").ReactNode;
|
|
419
|
+
hintTargetPlacement?: "inner" | "outer";
|
|
420
|
+
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | Array<import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic>;
|
|
421
|
+
hintHasArrow?: boolean;
|
|
422
|
+
hintOffset?: [number, number];
|
|
423
|
+
hintWidth?: string;
|
|
424
|
+
hintContentLeft?: import("react").ReactNode;
|
|
425
|
+
} & Omit<import("react").HTMLAttributes<HTMLDivElement>, "defaultValue"> & import("react").RefAttributes<HTMLInputElement>, "ref">, "appearance"> | Omit<Omit<import("@salutejs/plasma-new-hope/types/engines/types.js").PropsType<{
|
|
426
|
+
view: {
|
|
427
|
+
default: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
428
|
+
};
|
|
429
|
+
size: {
|
|
430
|
+
xl: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
431
|
+
l: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
432
|
+
m: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
433
|
+
s: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
434
|
+
xs: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
435
|
+
};
|
|
436
|
+
eventTooltipSize: {
|
|
437
|
+
m: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
438
|
+
s: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
439
|
+
};
|
|
440
|
+
hintView: {
|
|
441
|
+
default: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
442
|
+
};
|
|
443
|
+
hintSize: {
|
|
444
|
+
m: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
445
|
+
s: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
446
|
+
};
|
|
447
|
+
disabled: {
|
|
448
|
+
true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
449
|
+
};
|
|
450
|
+
readOnly: {
|
|
451
|
+
true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
452
|
+
};
|
|
453
|
+
}> & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerVariationProps & {
|
|
454
|
+
titleCaption?: import("react").ReactNode;
|
|
455
|
+
requiredPlacement?: "left" | "right";
|
|
456
|
+
required?: boolean;
|
|
457
|
+
hasRequiredIndicator?: boolean;
|
|
458
|
+
value?: Date | string;
|
|
459
|
+
preserveInvalidOnBlur?: boolean;
|
|
460
|
+
defaultDate?: Date;
|
|
461
|
+
placeholder?: string;
|
|
462
|
+
name?: string;
|
|
463
|
+
valueError?: boolean;
|
|
464
|
+
valueSuccess?: boolean;
|
|
465
|
+
leftHelper?: string;
|
|
466
|
+
contentLeft?: React.ReactElement;
|
|
467
|
+
contentRight?: React.ReactElement;
|
|
468
|
+
textBefore?: string;
|
|
469
|
+
textAfter?: string;
|
|
470
|
+
autoComplete?: string;
|
|
471
|
+
onCommitDate?: import("@salutejs/plasma-new-hope/styled-components").OnCommitDateCallback;
|
|
472
|
+
onChangeValue?: (event: import("react").SyntheticEvent<HTMLInputElement> | null, value?: string, originalDate?: import("@salutejs/plasma-new-hope/types/components/Calendar/Calendar.types.js").DateType, isoDate?: string) => void;
|
|
473
|
+
onChange?: (event: {
|
|
474
|
+
target: {
|
|
475
|
+
value?: string;
|
|
476
|
+
name?: string;
|
|
477
|
+
originalDate?: import("@salutejs/plasma-new-hope/types/components/Calendar/Calendar.types.js").DateType;
|
|
478
|
+
isoDate?: string;
|
|
479
|
+
};
|
|
480
|
+
}) => void;
|
|
481
|
+
} & 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 & {
|
|
482
|
+
hintTrigger?: never;
|
|
483
|
+
hintText?: never;
|
|
484
|
+
hintView?: never;
|
|
485
|
+
hintSize?: never;
|
|
486
|
+
hintTargetIcon?: never;
|
|
487
|
+
hintTargetPlacement?: never;
|
|
488
|
+
hintPlacement?: never;
|
|
489
|
+
hintHasArrow?: never;
|
|
490
|
+
hintOffset?: never;
|
|
491
|
+
hintWidth?: never;
|
|
492
|
+
hintContentLeft?: never;
|
|
493
|
+
} & Omit<import("react").HTMLAttributes<HTMLDivElement>, "defaultValue"> & import("react").RefAttributes<HTMLInputElement>, "ref">, "appearance">) & {
|
|
494
|
+
appearance: "clear";
|
|
495
|
+
})) & import("react").RefAttributes<HTMLInputElement>>;
|
|
356
496
|
export declare const DatePickerRangeDefault: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types.js").PropsType<{
|
|
357
497
|
view: {
|
|
358
498
|
default: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
@@ -408,8 +548,8 @@ export declare const DatePickerRangeDefault: import("react").FunctionComponent<i
|
|
|
408
548
|
required?: boolean | undefined;
|
|
409
549
|
label?: string | undefined;
|
|
410
550
|
view?: string | undefined;
|
|
411
|
-
contentLeft?: React.ReactNode;
|
|
412
551
|
appearance?: "default" | "clear" | undefined;
|
|
552
|
+
contentLeft?: React.ReactNode;
|
|
413
553
|
contentRight?: React.ReactNode;
|
|
414
554
|
hintText?: string | undefined;
|
|
415
555
|
hintTrigger?: ("hover" | "click") | undefined;
|
|
@@ -510,8 +650,8 @@ export declare const DatePickerRangeClear: import("react").FunctionComponent<imp
|
|
|
510
650
|
required?: boolean | undefined;
|
|
511
651
|
label?: string | undefined;
|
|
512
652
|
view?: string | undefined;
|
|
513
|
-
contentLeft?: React.ReactNode;
|
|
514
653
|
appearance?: "default" | "clear" | undefined;
|
|
654
|
+
contentLeft?: React.ReactNode;
|
|
515
655
|
contentRight?: React.ReactNode;
|
|
516
656
|
hintText?: string | undefined;
|
|
517
657
|
hintTrigger?: ("hover" | "click") | undefined;
|
|
@@ -557,7 +697,7 @@ export declare const DatePickerRangeClear: import("react").FunctionComponent<imp
|
|
|
557
697
|
appearance?: "default" | "clear";
|
|
558
698
|
hasClearDivider?: boolean;
|
|
559
699
|
} & import("react").RefAttributes<import("@salutejs/plasma-new-hope/styled-components").RangeInputRefs>>;
|
|
560
|
-
export declare const DatePickerRange: import("react").ForwardRefExoticComponent<Omit<import("@salutejs/plasma-new-hope/types/engines/types.js").PropsType<{
|
|
700
|
+
export declare const DatePickerRange: import("react").ForwardRefExoticComponent<((Omit<Omit<import("@salutejs/plasma-new-hope/types/engines/types.js").PropsType<{
|
|
561
701
|
view: {
|
|
562
702
|
default: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
563
703
|
};
|
|
@@ -612,8 +752,111 @@ export declare const DatePickerRange: import("react").ForwardRefExoticComponent<
|
|
|
612
752
|
required?: boolean | undefined;
|
|
613
753
|
label?: string | undefined;
|
|
614
754
|
view?: string | undefined;
|
|
755
|
+
appearance?: "default" | "clear" | undefined;
|
|
615
756
|
contentLeft?: React.ReactNode;
|
|
757
|
+
contentRight?: React.ReactNode;
|
|
758
|
+
hintText?: string | undefined;
|
|
759
|
+
hintTrigger?: ("hover" | "click") | undefined;
|
|
760
|
+
hintTargetIcon?: React.ReactNode;
|
|
761
|
+
hintPlacement?: (import("@salutejs/plasma-new-hope/styled-components").Placement | Array<import("@salutejs/plasma-new-hope/styled-components").ComputedPlacement>) | undefined;
|
|
762
|
+
hintHasArrow?: boolean | undefined;
|
|
763
|
+
hintOffset?: [number, number] | undefined;
|
|
764
|
+
hintWidth?: string | undefined;
|
|
765
|
+
hintContentLeft?: React.ReactNode;
|
|
766
|
+
hintView?: string | undefined;
|
|
767
|
+
hintSize?: string | undefined;
|
|
768
|
+
titleCaption?: React.ReactNode;
|
|
769
|
+
leftHelper?: string | undefined;
|
|
770
|
+
hasRequiredIndicator?: boolean | undefined;
|
|
771
|
+
hintTargetPlacement?: ("inner" | "outer") | undefined;
|
|
772
|
+
requiredIndicatorPlacement?: ("left" | "right") | undefined;
|
|
773
|
+
firstValueError?: boolean | undefined;
|
|
774
|
+
secondValueError?: boolean | undefined;
|
|
775
|
+
firstValueSuccess?: boolean | undefined;
|
|
776
|
+
secondValueSuccess?: boolean | undefined;
|
|
777
|
+
firstPlaceholder?: string | undefined;
|
|
778
|
+
secondPlaceholder?: string | undefined;
|
|
779
|
+
hasClearDivider?: boolean | undefined;
|
|
780
|
+
firstTextfieldContentLeft?: React.ReactElement | undefined;
|
|
781
|
+
firstTextfieldContentRight?: React.ReactElement | undefined;
|
|
782
|
+
secondTextfieldContentLeft?: React.ReactElement | undefined;
|
|
783
|
+
secondTextfieldContentRight?: React.ReactElement | undefined;
|
|
784
|
+
firstTextfieldTextBefore?: string | undefined;
|
|
785
|
+
secondTextfieldTextBefore?: string | undefined;
|
|
786
|
+
firstTextfieldTextAfter?: string | undefined;
|
|
787
|
+
secondTextfieldTextAfter?: string | undefined;
|
|
788
|
+
dividerVariant?: "none" | "icon" | "dash" | undefined;
|
|
789
|
+
dividerIcon?: React.ReactNode;
|
|
790
|
+
onFocusFirstTextfield?: ((event: import("react").FocusEvent<HTMLInputElement>) => void) | undefined;
|
|
791
|
+
onFocusSecondTextfield?: ((event: import("react").FocusEvent<HTMLInputElement>) => void) | undefined;
|
|
792
|
+
onBlurFirstTextfield?: ((event: import("react").FocusEvent<HTMLInputElement>) => void) | undefined;
|
|
793
|
+
onBlurSecondTextfield?: ((event: import("react").FocusEvent<HTMLInputElement>) => void) | undefined;
|
|
794
|
+
} & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerCalendarProps & Omit<import("@salutejs/plasma-new-hope/types/components/DatePicker/SingleDate/SingleDate.types.js").DatePickerPopoverProps, "placement" | "dateShortcuts"> & {
|
|
795
|
+
placement?: import("@salutejs/plasma-new-hope/styled-components").DatePickerRangePlacement | Array<import("@salutejs/plasma-new-hope/types/components/DatePicker/RangeDate/RangeDate.types.js").DatePickerRangePlacementBasic>;
|
|
796
|
+
isDoubleCalendar?: boolean;
|
|
797
|
+
dateShortcuts?: import("@salutejs/plasma-new-hope/types/components/DatePicker/RangeDate/RangeDate.types.js").DateShortcutItem[];
|
|
798
|
+
} & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
799
|
+
appearance?: "default" | "clear";
|
|
800
|
+
hasClearDivider?: boolean;
|
|
801
|
+
} & import("react").RefAttributes<import("@salutejs/plasma-new-hope/styled-components").RangeInputRefs>, "ref">, "appearance"> & {
|
|
802
|
+
appearance?: "default";
|
|
803
|
+
}) | (Omit<Omit<import("@salutejs/plasma-new-hope/types/engines/types.js").PropsType<{
|
|
804
|
+
view: {
|
|
805
|
+
default: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
806
|
+
};
|
|
807
|
+
size: {
|
|
808
|
+
xl: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
809
|
+
l: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
810
|
+
m: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
811
|
+
s: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
812
|
+
xs: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
813
|
+
};
|
|
814
|
+
eventTooltipSize: {
|
|
815
|
+
m: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
816
|
+
s: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
817
|
+
};
|
|
818
|
+
hintView: {
|
|
819
|
+
default: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
820
|
+
};
|
|
821
|
+
hintSize: {
|
|
822
|
+
m: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
823
|
+
s: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
824
|
+
};
|
|
825
|
+
disabled: {
|
|
826
|
+
true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
827
|
+
};
|
|
828
|
+
readOnly: {
|
|
829
|
+
true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
830
|
+
};
|
|
831
|
+
}> & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerVariationProps & {
|
|
832
|
+
requiredPlacement?: "left" | "right";
|
|
833
|
+
required?: boolean;
|
|
834
|
+
hasRequiredIndicator?: boolean;
|
|
835
|
+
value?: [import("@salutejs/plasma-new-hope/types/components/Calendar/Calendar.types.js").DateType | string, import("@salutejs/plasma-new-hope/types/components/Calendar/Calendar.types.js").DateType | string];
|
|
836
|
+
preserveInvalidOnBlur?: boolean;
|
|
837
|
+
defaultFirstDate?: Date;
|
|
838
|
+
defaultSecondDate?: Date;
|
|
839
|
+
name?: string;
|
|
840
|
+
onChangeFirstValue?: import("@salutejs/plasma-new-hope/types/components/DatePicker/RangeDate/RangeDate.types.js").ChangeInstanceCallback;
|
|
841
|
+
onChangeSecondValue?: import("@salutejs/plasma-new-hope/types/components/DatePicker/RangeDate/RangeDate.types.js").ChangeInstanceCallback;
|
|
842
|
+
onCommitFirstDate?: import("@salutejs/plasma-new-hope/styled-components").CommitInstanceCallback;
|
|
843
|
+
onCommitSecondDate?: import("@salutejs/plasma-new-hope/styled-components").CommitInstanceCallback;
|
|
844
|
+
onChange?: (event: {
|
|
845
|
+
target: {
|
|
846
|
+
value?: string;
|
|
847
|
+
name?: string;
|
|
848
|
+
};
|
|
849
|
+
}) => void;
|
|
850
|
+
} & {
|
|
851
|
+
size?: string | undefined;
|
|
852
|
+
disabled?: boolean | undefined;
|
|
853
|
+
autoComplete?: string | undefined;
|
|
854
|
+
readOnly?: boolean | undefined;
|
|
855
|
+
required?: boolean | undefined;
|
|
856
|
+
label?: string | undefined;
|
|
857
|
+
view?: string | undefined;
|
|
616
858
|
appearance?: "default" | "clear" | undefined;
|
|
859
|
+
contentLeft?: React.ReactNode;
|
|
617
860
|
contentRight?: React.ReactNode;
|
|
618
861
|
hintText?: string | undefined;
|
|
619
862
|
hintTrigger?: ("hover" | "click") | undefined;
|
|
@@ -658,4 +901,6 @@ export declare const DatePickerRange: import("react").ForwardRefExoticComponent<
|
|
|
658
901
|
} & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
659
902
|
appearance?: "default" | "clear";
|
|
660
903
|
hasClearDivider?: boolean;
|
|
661
|
-
} & import("react").RefAttributes<import("@salutejs/plasma-new-hope/styled-components").RangeInputRefs>, "ref"> &
|
|
904
|
+
} & import("react").RefAttributes<import("@salutejs/plasma-new-hope/styled-components").RangeInputRefs>, "ref">, "appearance"> & {
|
|
905
|
+
appearance: "clear";
|
|
906
|
+
})) & import("react").RefAttributes<import("@salutejs/plasma-new-hope/styled-components").RangeInputRefs>>;
|
|
@@ -22,7 +22,7 @@ export declare const EmbedIconButton: import("react").FunctionComponent<import("
|
|
|
22
22
|
focused: {
|
|
23
23
|
true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
24
24
|
};
|
|
25
|
-
}> & ((Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> &
|
|
25
|
+
}> & ((Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
|
|
26
26
|
text?: string;
|
|
27
27
|
contentLeft?: import("react").ReactNode;
|
|
28
28
|
contentPlacing?: "default" | "relaxed";
|
|
@@ -30,7 +30,7 @@ export declare const EmbedIconButton: import("react").FunctionComponent<import("
|
|
|
30
30
|
isLoading?: boolean;
|
|
31
31
|
loader?: import("react").ReactNode;
|
|
32
32
|
stretch?: boolean;
|
|
33
|
-
stretching?: "auto" | "
|
|
33
|
+
stretching?: "auto" | "filled" | "fixed";
|
|
34
34
|
square?: boolean;
|
|
35
35
|
focused?: boolean;
|
|
36
36
|
disabled?: boolean;
|
|
@@ -45,7 +45,7 @@ export declare const EmbedIconButton: import("react").FunctionComponent<import("
|
|
|
45
45
|
} & {
|
|
46
46
|
value?: string | number;
|
|
47
47
|
contentRight?: never;
|
|
48
|
-
} & import("react").RefAttributes<HTMLButtonElement>) | (Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> &
|
|
48
|
+
} & import("react").RefAttributes<HTMLButtonElement>) | (Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
|
|
49
49
|
text?: string;
|
|
50
50
|
contentLeft?: import("react").ReactNode;
|
|
51
51
|
contentPlacing?: "default" | "relaxed";
|
|
@@ -53,7 +53,7 @@ export declare const EmbedIconButton: import("react").FunctionComponent<import("
|
|
|
53
53
|
isLoading?: boolean;
|
|
54
54
|
loader?: import("react").ReactNode;
|
|
55
55
|
stretch?: boolean;
|
|
56
|
-
stretching?: "auto" | "
|
|
56
|
+
stretching?: "auto" | "filled" | "fixed";
|
|
57
57
|
square?: boolean;
|
|
58
58
|
focused?: boolean;
|
|
59
59
|
disabled?: boolean;
|
|
@@ -27,7 +27,7 @@ export declare const IconButton: import("react").FunctionComponent<import("@salu
|
|
|
27
27
|
focused: {
|
|
28
28
|
true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
29
29
|
};
|
|
30
|
-
}> & ((Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> &
|
|
30
|
+
}> & ((Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
|
|
31
31
|
text?: string;
|
|
32
32
|
contentLeft?: import("react").ReactNode;
|
|
33
33
|
contentPlacing?: "default" | "relaxed";
|
|
@@ -35,7 +35,7 @@ export declare const IconButton: import("react").FunctionComponent<import("@salu
|
|
|
35
35
|
isLoading?: boolean;
|
|
36
36
|
loader?: import("react").ReactNode;
|
|
37
37
|
stretch?: boolean;
|
|
38
|
-
stretching?: "auto" | "
|
|
38
|
+
stretching?: "auto" | "filled" | "fixed";
|
|
39
39
|
square?: boolean;
|
|
40
40
|
focused?: boolean;
|
|
41
41
|
disabled?: boolean;
|
|
@@ -50,7 +50,7 @@ export declare const IconButton: import("react").FunctionComponent<import("@salu
|
|
|
50
50
|
} & {
|
|
51
51
|
value?: string | number;
|
|
52
52
|
contentRight?: never;
|
|
53
|
-
} & import("react").RefAttributes<HTMLButtonElement>) | (Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> &
|
|
53
|
+
} & import("react").RefAttributes<HTMLButtonElement>) | (Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
|
|
54
54
|
text?: string;
|
|
55
55
|
contentLeft?: import("react").ReactNode;
|
|
56
56
|
contentPlacing?: "default" | "relaxed";
|
|
@@ -58,7 +58,7 @@ export declare const IconButton: import("react").FunctionComponent<import("@salu
|
|
|
58
58
|
isLoading?: boolean;
|
|
59
59
|
loader?: import("react").ReactNode;
|
|
60
60
|
stretch?: boolean;
|
|
61
|
-
stretching?: "auto" | "
|
|
61
|
+
stretching?: "auto" | "filled" | "fixed";
|
|
62
62
|
square?: boolean;
|
|
63
63
|
focused?: boolean;
|
|
64
64
|
disabled?: boolean;
|