@salutejs/sdds-serv 0.224.0-canary.1699.12748300760.0 → 0.224.0-canary.1702.12749548652.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -50,7 +50,6 @@ import { CellTextbox } from '@salutejs/plasma-new-hope/styled-components';
50
50
  import { CellTextboxLabel } from '@salutejs/plasma-new-hope/styled-components';
51
51
  import { CellTextboxSubtitle } from '@salutejs/plasma-new-hope/styled-components';
52
52
  import { CellTextboxTitle } from '@salutejs/plasma-new-hope/styled-components';
53
- import { ChangeEvent } from 'react';
54
53
  import { ChangeInstanceCallback } from '@salutejs/plasma-new-hope/types/components/DatePicker/RangeDate/RangeDate.types';
55
54
  import { CheckboxProps as CheckboxProps_2 } from '@salutejs/plasma-new-hope/types/components/Checkbox/Checkbox.types';
56
55
  import { ChipGroupProps } from '@salutejs/plasma-new-hope/types/components/ChipGroup/ChipGroup.types';
@@ -110,6 +109,7 @@ import { FC } from 'react';
110
109
  import { FileProcessHandler } from '@salutejs/plasma-new-hope/types/components/Dropzone/Dropzone.types';
111
110
  import { Filter } from '@salutejs/plasma-new-hope/types/engines/types';
112
111
  import { FlowProps } from '@salutejs/plasma-new-hope/styled-components';
112
+ import { FocusEvent as FocusEvent_2 } from 'react';
113
113
  import { FormTypeNumber } from '@salutejs/plasma-new-hope/types/types/FormType';
114
114
  import { FormTypeString } from '@salutejs/plasma-new-hope/types/types/FormType';
115
115
  import { ForwardRefExoticComponent } from 'react';
@@ -1499,10 +1499,10 @@ secondTextfieldContentLeft?: ReactElement<any, string | JSXElementConstructor<an
1499
1499
  secondTextfieldContentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
1500
1500
  firstTextfieldTextAfter?: string | undefined;
1501
1501
  secondTextfieldTextAfter?: string | undefined;
1502
- onFocusFirstTextfield?: ((event: ChangeEvent<HTMLInputElement>) => void) | undefined;
1503
- onFocusSecondTextfield?: ((event: ChangeEvent<HTMLInputElement>) => void) | undefined;
1504
- onBlurFirstTextfield?: ((event: ChangeEvent<HTMLInputElement>) => void) | undefined;
1505
- onBlurSecondTextfield?: ((event: ChangeEvent<HTMLInputElement>) => void) | undefined;
1502
+ onFocusFirstTextfield?: ((event: FocusEvent_2<HTMLInputElement, Element>) => void) | undefined;
1503
+ onFocusSecondTextfield?: ((event: FocusEvent_2<HTMLInputElement, Element>) => void) | undefined;
1504
+ onBlurFirstTextfield?: ((event: FocusEvent_2<HTMLInputElement, Element>) => void) | undefined;
1505
+ onBlurSecondTextfield?: ((event: FocusEvent_2<HTMLInputElement, Element>) => void) | undefined;
1506
1506
  firstTextfieldTextBefore?: string | undefined;
1507
1507
  secondTextfieldTextBefore?: string | undefined;
1508
1508
  dividerVariant?: "none" | "dash" | "icon" | undefined;
@@ -1510,6 +1510,7 @@ dividerIcon?: ReactNode;
1510
1510
  } & DatePickerCalendarProps & Omit<DatePickerPopoverProps, "placement"> & {
1511
1511
  placement?: DatePickerRangePlacement | DatePickerRangePlacement[] | undefined;
1512
1512
  isDoubleCalendar?: boolean | undefined;
1513
+ closeAfterDateSelect?: boolean | undefined;
1513
1514
  } & HTMLAttributes<HTMLDivElement> & RefAttributes<RangeInputRefs>>;
1514
1515
 
1515
1516
  export { DatePickerRangePlacement }
@@ -2696,7 +2697,6 @@ value?: number | undefined;
2696
2697
  min?: number | undefined;
2697
2698
  max?: number | undefined;
2698
2699
  step?: number | undefined;
2699
- precision?: number | undefined;
2700
2700
  isLoading?: boolean | undefined;
2701
2701
  loader?: ReactNode;
2702
2702
  size?: string | undefined;
@@ -2722,7 +2722,6 @@ value?: number | undefined;
2722
2722
  min?: number | undefined;
2723
2723
  max?: number | undefined;
2724
2724
  step?: number | undefined;
2725
- precision?: number | undefined;
2726
2725
  isLoading?: boolean | undefined;
2727
2726
  loader?: ReactNode;
2728
2727
  size?: string | undefined;
@@ -2912,10 +2911,10 @@ onChangeFirstValue?: BaseCallbackChangeInstance | undefined;
2912
2911
  onChangeSecondValue?: BaseCallbackChangeInstance | undefined;
2913
2912
  onSearchFirstValue?: BaseCallbackKeyboardInstance | undefined;
2914
2913
  onSearchSecondValue?: BaseCallbackKeyboardInstance | undefined;
2915
- onFocusFirstTextfield?: ((event: ChangeEvent<HTMLInputElement>) => void) | undefined;
2916
- onFocusSecondTextfield?: ((event: ChangeEvent<HTMLInputElement>) => void) | undefined;
2917
- onBlurFirstTextfield?: ((event: ChangeEvent<HTMLInputElement>) => void) | undefined;
2918
- onBlurSecondTextfield?: ((event: ChangeEvent<HTMLInputElement>) => void) | undefined;
2914
+ onFocusFirstTextfield?: ((event: FocusEvent_2<HTMLInputElement, Element>) => void) | undefined;
2915
+ onFocusSecondTextfield?: ((event: FocusEvent_2<HTMLInputElement, Element>) => void) | undefined;
2916
+ onBlurFirstTextfield?: ((event: FocusEvent_2<HTMLInputElement, Element>) => void) | undefined;
2917
+ onBlurSecondTextfield?: ((event: FocusEvent_2<HTMLInputElement, Element>) => void) | undefined;
2919
2918
  } & {
2920
2919
  firstTextfieldTextBefore: string;
2921
2920
  secondTextfieldTextBefore: string;
@@ -2951,10 +2950,10 @@ onChangeFirstValue?: BaseCallbackChangeInstance | undefined;
2951
2950
  onChangeSecondValue?: BaseCallbackChangeInstance | undefined;
2952
2951
  onSearchFirstValue?: BaseCallbackKeyboardInstance | undefined;
2953
2952
  onSearchSecondValue?: BaseCallbackKeyboardInstance | undefined;
2954
- onFocusFirstTextfield?: ((event: ChangeEvent<HTMLInputElement>) => void) | undefined;
2955
- onFocusSecondTextfield?: ((event: ChangeEvent<HTMLInputElement>) => void) | undefined;
2956
- onBlurFirstTextfield?: ((event: ChangeEvent<HTMLInputElement>) => void) | undefined;
2957
- onBlurSecondTextfield?: ((event: ChangeEvent<HTMLInputElement>) => void) | undefined;
2953
+ onFocusFirstTextfield?: ((event: FocusEvent_2<HTMLInputElement, Element>) => void) | undefined;
2954
+ onFocusSecondTextfield?: ((event: FocusEvent_2<HTMLInputElement, Element>) => void) | undefined;
2955
+ onBlurFirstTextfield?: ((event: FocusEvent_2<HTMLInputElement, Element>) => void) | undefined;
2956
+ onBlurSecondTextfield?: ((event: FocusEvent_2<HTMLInputElement, Element>) => void) | undefined;
2958
2957
  } & {
2959
2958
  dividerVariant?: "dash" | undefined;
2960
2959
  dividerIcon?: undefined;
@@ -2990,10 +2989,10 @@ onChangeFirstValue?: BaseCallbackChangeInstance | undefined;
2990
2989
  onChangeSecondValue?: BaseCallbackChangeInstance | undefined;
2991
2990
  onSearchFirstValue?: BaseCallbackKeyboardInstance | undefined;
2992
2991
  onSearchSecondValue?: BaseCallbackKeyboardInstance | undefined;
2993
- onFocusFirstTextfield?: ((event: ChangeEvent<HTMLInputElement>) => void) | undefined;
2994
- onFocusSecondTextfield?: ((event: ChangeEvent<HTMLInputElement>) => void) | undefined;
2995
- onBlurFirstTextfield?: ((event: ChangeEvent<HTMLInputElement>) => void) | undefined;
2996
- onBlurSecondTextfield?: ((event: ChangeEvent<HTMLInputElement>) => void) | undefined;
2992
+ onFocusFirstTextfield?: ((event: FocusEvent_2<HTMLInputElement, Element>) => void) | undefined;
2993
+ onFocusSecondTextfield?: ((event: FocusEvent_2<HTMLInputElement, Element>) => void) | undefined;
2994
+ onBlurFirstTextfield?: ((event: FocusEvent_2<HTMLInputElement, Element>) => void) | undefined;
2995
+ onBlurSecondTextfield?: ((event: FocusEvent_2<HTMLInputElement, Element>) => void) | undefined;
2997
2996
  } & {
2998
2997
  dividerIcon?: ReactNode;
2999
2998
  dividerVariant?: "icon" | undefined;
@@ -93,10 +93,10 @@ export declare const DatePickerRange: import("react").FunctionComponent<import("
93
93
  secondTextfieldContentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
94
94
  firstTextfieldTextAfter?: string | undefined;
95
95
  secondTextfieldTextAfter?: string | undefined;
96
- onFocusFirstTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
97
- onFocusSecondTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
98
- onBlurFirstTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
99
- onBlurSecondTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
96
+ onFocusFirstTextfield?: ((event: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
97
+ onFocusSecondTextfield?: ((event: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
98
+ onBlurFirstTextfield?: ((event: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
99
+ onBlurSecondTextfield?: ((event: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
100
100
  firstTextfieldTextBefore?: string | undefined;
101
101
  secondTextfieldTextBefore?: string | undefined;
102
102
  dividerVariant?: "none" | "dash" | "icon" | undefined;
@@ -104,4 +104,5 @@ export declare const DatePickerRange: import("react").FunctionComponent<import("
104
104
  } & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types").DatePickerCalendarProps & Omit<import("@salutejs/plasma-new-hope/types/components/DatePicker/SingleDate/SingleDate.types").DatePickerPopoverProps, "placement"> & {
105
105
  placement?: import("@salutejs/plasma-new-hope/styled-components").DatePickerRangePlacement | import("@salutejs/plasma-new-hope/styled-components").DatePickerRangePlacement[] | undefined;
106
106
  isDoubleCalendar?: boolean | undefined;
107
+ closeAfterDateSelect?: boolean | undefined;
107
108
  } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<import("@salutejs/plasma-new-hope/styled-components").RangeInputRefs>>;
@@ -33,7 +33,6 @@ export declare const NumberInput: import("react").FunctionComponent<import("@sal
33
33
  min?: number | undefined;
34
34
  max?: number | undefined;
35
35
  step?: number | undefined;
36
- precision?: number | undefined;
37
36
  isLoading?: boolean | undefined;
38
37
  loader?: import("react").ReactNode;
39
38
  size?: string | undefined;
@@ -59,7 +58,6 @@ export declare const NumberInput: import("react").FunctionComponent<import("@sal
59
58
  min?: number | undefined;
60
59
  max?: number | undefined;
61
60
  step?: number | undefined;
62
- precision?: number | undefined;
63
61
  isLoading?: boolean | undefined;
64
62
  loader?: import("react").ReactNode;
65
63
  size?: string | undefined;
@@ -48,10 +48,10 @@ export declare const Range: import("react").FunctionComponent<import("@salutejs/
48
48
  onChangeSecondValue?: import("@salutejs/plasma-new-hope/types/components/Range/Range.types").BaseCallbackChangeInstance | undefined;
49
49
  onSearchFirstValue?: import("@salutejs/plasma-new-hope/types/components/Range/Range.types").BaseCallbackKeyboardInstance | undefined;
50
50
  onSearchSecondValue?: import("@salutejs/plasma-new-hope/types/components/Range/Range.types").BaseCallbackKeyboardInstance | undefined;
51
- onFocusFirstTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
52
- onFocusSecondTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
53
- onBlurFirstTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
54
- onBlurSecondTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
51
+ onFocusFirstTextfield?: ((event: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
52
+ onFocusSecondTextfield?: ((event: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
53
+ onBlurFirstTextfield?: ((event: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
54
+ onBlurSecondTextfield?: ((event: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
55
55
  } & {
56
56
  firstTextfieldTextBefore: string;
57
57
  secondTextfieldTextBefore: string;
@@ -87,10 +87,10 @@ export declare const Range: import("react").FunctionComponent<import("@salutejs/
87
87
  onChangeSecondValue?: import("@salutejs/plasma-new-hope/types/components/Range/Range.types").BaseCallbackChangeInstance | undefined;
88
88
  onSearchFirstValue?: import("@salutejs/plasma-new-hope/types/components/Range/Range.types").BaseCallbackKeyboardInstance | undefined;
89
89
  onSearchSecondValue?: import("@salutejs/plasma-new-hope/types/components/Range/Range.types").BaseCallbackKeyboardInstance | undefined;
90
- onFocusFirstTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
91
- onFocusSecondTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
92
- onBlurFirstTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
93
- onBlurSecondTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
90
+ onFocusFirstTextfield?: ((event: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
91
+ onFocusSecondTextfield?: ((event: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
92
+ onBlurFirstTextfield?: ((event: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
93
+ onBlurSecondTextfield?: ((event: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
94
94
  } & {
95
95
  dividerVariant?: "dash" | undefined;
96
96
  dividerIcon?: undefined;
@@ -126,10 +126,10 @@ export declare const Range: import("react").FunctionComponent<import("@salutejs/
126
126
  onChangeSecondValue?: import("@salutejs/plasma-new-hope/types/components/Range/Range.types").BaseCallbackChangeInstance | undefined;
127
127
  onSearchFirstValue?: import("@salutejs/plasma-new-hope/types/components/Range/Range.types").BaseCallbackKeyboardInstance | undefined;
128
128
  onSearchSecondValue?: import("@salutejs/plasma-new-hope/types/components/Range/Range.types").BaseCallbackKeyboardInstance | undefined;
129
- onFocusFirstTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
130
- onFocusSecondTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
131
- onBlurFirstTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
132
- onBlurSecondTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
129
+ onFocusFirstTextfield?: ((event: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
130
+ onFocusSecondTextfield?: ((event: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
131
+ onBlurFirstTextfield?: ((event: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
132
+ onBlurSecondTextfield?: ((event: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
133
133
  } & {
134
134
  dividerIcon?: import("react").ReactNode;
135
135
  dividerVariant?: "icon" | undefined;
@@ -95,7 +95,6 @@ export const Default: StoryObj<StoryPropsDefault> = {
95
95
  segmentation: 'default',
96
96
  min: 0,
97
97
  max: 9,
98
- precision: 2,
99
98
  step: 1,
100
99
  width: 188,
101
100
  isManualInput: false,
@@ -95,7 +95,6 @@ export const Default: StoryObj<StoryPropsDefault> = {
95
95
  segmentation: 'default',
96
96
  min: 0,
97
97
  max: 9,
98
- precision: 2,
99
98
  step: 1,
100
99
  width: 188,
101
100
  isManualInput: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salutejs/sdds-serv",
3
- "version": "0.224.0-canary.1699.12748300760.0",
3
+ "version": "0.224.0-canary.1702.12749548652.0",
4
4
  "description": "Salute Design System / React UI kit for SDDS SERV web applications",
5
5
  "author": "Salute Frontend Team <salute.developers@gmail.com>",
6
6
  "license": "MIT",
@@ -48,7 +48,7 @@
48
48
  "directory": "packages/sdds-serv"
49
49
  },
50
50
  "dependencies": {
51
- "@salutejs/plasma-new-hope": "0.239.0-canary.1699.12748300760.0",
51
+ "@salutejs/plasma-new-hope": "0.239.0-canary.1702.12749548652.0",
52
52
  "@salutejs/sdds-themes": "0.31.0"
53
53
  },
54
54
  "peerDependencies": {
@@ -153,5 +153,5 @@
153
153
  "sideEffects": [
154
154
  "*.css"
155
155
  ],
156
- "gitHead": "f205302dd98ccc9640f914d0d6a8468f82bdc7b2"
156
+ "gitHead": "8187d20bd9a978a6e3bad6318d4005727c10f098"
157
157
  }