@salutejs/plasma-new-hope 0.239.0-canary.1699.12748300760.0 → 0.239.0-canary.1702.12749548652.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/cjs/components/DatePicker/RangeDate/RangeDate.js +62 -21
- package/cjs/components/DatePicker/RangeDate/RangeDate.js.map +1 -1
- package/cjs/components/NumberInput/NumberInput.js +3 -10
- package/cjs/components/NumberInput/NumberInput.js.map +1 -1
- package/cjs/components/NumberInput/ui/Input/Input.js +7 -16
- package/cjs/components/NumberInput/ui/Input/Input.js.map +1 -1
- package/cjs/components/NumberInput/utils/index.js +0 -10
- package/cjs/components/NumberInput/utils/index.js.map +1 -1
- package/emotion/cjs/components/DatePicker/RangeDate/RangeDate.js +62 -21
- package/emotion/cjs/components/NumberInput/NumberInput.js +3 -10
- package/emotion/cjs/components/NumberInput/ui/Input/Input.js +7 -16
- package/emotion/cjs/components/NumberInput/utils/index.js +2 -11
- package/emotion/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +0 -7
- package/emotion/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +0 -1
- package/emotion/cjs/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +2 -7
- package/emotion/cjs/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +0 -1
- package/emotion/es/components/DatePicker/RangeDate/RangeDate.js +62 -21
- package/emotion/es/components/NumberInput/NumberInput.js +3 -10
- package/emotion/es/components/NumberInput/ui/Input/Input.js +8 -17
- package/emotion/es/components/NumberInput/utils/index.js +1 -10
- package/emotion/es/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +0 -7
- package/emotion/es/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +0 -1
- package/emotion/es/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +2 -7
- package/emotion/es/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +0 -1
- package/es/components/DatePicker/RangeDate/RangeDate.js +62 -21
- package/es/components/DatePicker/RangeDate/RangeDate.js.map +1 -1
- package/es/components/NumberInput/NumberInput.js +3 -10
- package/es/components/NumberInput/NumberInput.js.map +1 -1
- package/es/components/NumberInput/ui/Input/Input.js +8 -17
- package/es/components/NumberInput/ui/Input/Input.js.map +1 -1
- package/es/components/NumberInput/utils/index.js +1 -10
- package/es/components/NumberInput/utils/index.js.map +1 -1
- package/package.json +2 -2
- package/styled-components/cjs/components/DatePicker/RangeDate/RangeDate.js +62 -21
- package/styled-components/cjs/components/NumberInput/NumberInput.js +3 -10
- package/styled-components/cjs/components/NumberInput/ui/Input/Input.js +7 -16
- package/styled-components/cjs/components/NumberInput/utils/index.js +2 -11
- package/styled-components/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +0 -7
- package/styled-components/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +0 -1
- package/styled-components/cjs/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +2 -7
- package/styled-components/cjs/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +0 -1
- package/styled-components/es/components/DatePicker/RangeDate/RangeDate.js +62 -21
- package/styled-components/es/components/NumberInput/NumberInput.js +3 -10
- package/styled-components/es/components/NumberInput/ui/Input/Input.js +8 -17
- package/styled-components/es/components/NumberInput/utils/index.js +1 -10
- package/styled-components/es/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +0 -7
- package/styled-components/es/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +0 -1
- package/styled-components/es/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +2 -7
- package/styled-components/es/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +0 -1
- package/types/components/DatePicker/RangeDate/RangeDate.d.ts +10 -8
- package/types/components/DatePicker/RangeDate/RangeDate.d.ts.map +1 -1
- package/types/components/DatePicker/RangeDate/RangeDate.styles.d.ts +12 -12
- package/types/components/DatePicker/RangeDate/RangeDate.types.d.ts +4 -0
- package/types/components/DatePicker/RangeDate/RangeDate.types.d.ts.map +1 -1
- package/types/components/DatePicker/SingleDate/SingleDate.types.d.ts +1 -1
- package/types/components/DatePicker/SingleDate/SingleDate.types.d.ts.map +1 -1
- package/types/components/NumberInput/NumberInput.d.ts.map +1 -1
- package/types/components/NumberInput/NumberInput.types.d.ts +0 -5
- package/types/components/NumberInput/NumberInput.types.d.ts.map +1 -1
- package/types/components/NumberInput/ui/Input/Input.d.ts +0 -1
- package/types/components/NumberInput/ui/Input/Input.d.ts.map +1 -1
- package/types/components/NumberInput/ui/Input/Input.types.d.ts +0 -1
- package/types/components/NumberInput/ui/Input/Input.types.d.ts.map +1 -1
- package/types/components/NumberInput/utils/index.d.ts +0 -1
- package/types/components/NumberInput/utils/index.d.ts.map +1 -1
- package/types/components/Range/Range.types.d.ts +5 -5
- package/types/components/Range/Range.types.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/DatePicker/DatePicker.d.ts +5 -4
- package/types/examples/plasma_b2c/components/DatePicker/DatePicker.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/NumberInput/NumberInput.d.ts +0 -2
- package/types/examples/plasma_b2c/components/NumberInput/NumberInput.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Range/Range.d.ts +12 -12
- package/types/examples/plasma_web/components/DatePicker/DatePicker.d.ts +5 -4
- package/types/examples/plasma_web/components/DatePicker/DatePicker.d.ts.map +1 -1
- package/types/examples/plasma_web/components/NumberInput/NumberInput.d.ts +0 -2
- package/types/examples/plasma_web/components/NumberInput/NumberInput.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Range/Range.d.ts +12 -12
@@ -1,5 +1,5 @@
|
|
1
1
|
var _StyledSpinner;
|
2
|
-
var _excluded = ["value", "
|
2
|
+
var _excluded = ["value", "min", "max", "isLoading", "loader", "disabled", "segmentation", "textBefore", "textAfter", "isManualInput", "isInputFocused", "setIsInputFocused", "setIsAnimationRun", "setInnerValue", "onChange", "onBlur", "onKeyDown"];
|
3
3
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
4
4
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
5
5
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
@@ -14,12 +14,11 @@ import { useForkRef } from '@salutejs/plasma-core';
|
|
14
14
|
import { classes } from '../../NumberInput.tokens';
|
15
15
|
import { cx, isNumber } from '../../../../utils';
|
16
16
|
import { useDidMountEffect } from '../../../../hooks';
|
17
|
-
import { defaultCharacterWidth, excludingNumberSchema,
|
17
|
+
import { defaultCharacterWidth, excludingNumberSchema, numberSchema } from '../../utils';
|
18
18
|
import { keyCodes } from '../../../../utils/constants';
|
19
19
|
import { AdditionalText, Input, InputWrapper, DynamicInput, InputWidthHelper, TextWrapper, StyledSpinner, Loader } from './Input.styles';
|
20
20
|
export var NumberInput = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
21
21
|
var value = _ref.value,
|
22
|
-
precision = _ref.precision,
|
23
22
|
min = _ref.min,
|
24
23
|
max = _ref.max,
|
25
24
|
isLoading = _ref.isLoading,
|
@@ -85,6 +84,11 @@ export var NumberInput = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
85
84
|
setIsAnimationRun(false);
|
86
85
|
return;
|
87
86
|
}
|
87
|
+
if (String(newValue).endsWith('.')) {
|
88
|
+
setValues(null, Number(newValue));
|
89
|
+
setIsAnimationRun(false);
|
90
|
+
return;
|
91
|
+
}
|
88
92
|
var resValue = Number(newValue);
|
89
93
|
if (max !== undefined && resValue > max) {
|
90
94
|
setErrorClass(classes.errorAnimation);
|
@@ -96,16 +100,6 @@ export var NumberInput = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
96
100
|
setErrorClass(classes.errorAnimation);
|
97
101
|
setErrorValue(min);
|
98
102
|
setIsAnimationRun(true);
|
99
|
-
return;
|
100
|
-
}
|
101
|
-
if (String(newValue).endsWith('.')) {
|
102
|
-
setValues(null, Number(newValue));
|
103
|
-
setIsAnimationRun(false);
|
104
|
-
return;
|
105
|
-
}
|
106
|
-
if (precision !== undefined) {
|
107
|
-
var preciseNewValue = Number(getPreciseValue(newValue, precision));
|
108
|
-
setValues(null, preciseNewValue);
|
109
103
|
}
|
110
104
|
setIsAnimationRun(false);
|
111
105
|
};
|
@@ -131,18 +125,15 @@ export var NumberInput = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
131
125
|
}
|
132
126
|
return;
|
133
127
|
}
|
134
|
-
console.log('here');
|
135
128
|
var isValid = numberSchema.test(cleanValue);
|
136
129
|
if (!isValid) {
|
137
|
-
console.log('not valid', cleanValue);
|
138
130
|
setValues(event, lastValidValue);
|
139
131
|
return;
|
140
132
|
}
|
141
|
-
console.log('valid!', cleanValue);
|
142
133
|
if (textWrapperRef !== null && textWrapperRef !== void 0 && textWrapperRef.current && wrapperRef !== null && wrapperRef !== void 0 && wrapperRef.current && (textWrapperRef === null || textWrapperRef === void 0 || (_textWrapperRef$curre = textWrapperRef.current) === null || _textWrapperRef$curre === void 0 ? void 0 : _textWrapperRef$curre.clientWidth) > (wrapperRef === null || wrapperRef === void 0 || (_wrapperRef$current = wrapperRef.current) === null || _wrapperRef$current === void 0 ? void 0 : _wrapperRef$current.clientWidth)) {
|
143
134
|
wrapperRef.current.scrollLeft = textWrapperRef.current.offsetWidth - textWrapperRef.current.offsetLeft || 0;
|
144
135
|
}
|
145
|
-
setValues(event, cleanValue);
|
136
|
+
setValues(event, Number(cleanValue));
|
146
137
|
};
|
147
138
|
var handleClickInputWrapper = function handleClickInputWrapper() {
|
148
139
|
if (!isManualInput || !inputRef.current) {
|
@@ -1,12 +1,3 @@
|
|
1
1
|
export var defaultCharacterWidth = '1ch';
|
2
2
|
export var numberSchema = /^(-)?\d+(\.\d+)?$/;
|
3
|
-
export var excludingNumberSchema = /[^-.\d]/g;
|
4
|
-
export var getPreciseValue = function getPreciseValue(value, precision) {
|
5
|
-
var innerValue = String(value);
|
6
|
-
if (precision !== undefined) {
|
7
|
-
var factor = Math.pow(10, precision);
|
8
|
-
var preparedValue = Number(innerValue) < 0 ? Number(innerValue) - Number.EPSILON : Number(innerValue) + Number.EPSILON;
|
9
|
-
return String(Math.round(preparedValue * factor) / factor);
|
10
|
-
}
|
11
|
-
return innerValue;
|
12
|
-
};
|
3
|
+
export var excludingNumberSchema = /[^-.\d]/g;
|
package/styled-components/es/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx
CHANGED
@@ -192,7 +192,6 @@ const StoryRange = ({
|
|
192
192
|
const rangeRef = useRef<RangeInputRefs>(null);
|
193
193
|
|
194
194
|
const [isOpen, setIsOpen] = useState(false);
|
195
|
-
const [firstDate, setFirstDate] = useState<string | Date>('');
|
196
195
|
|
197
196
|
const iconSize = size === 'xs' ? 'xs' : 's';
|
198
197
|
const showDividerIcon = dividerVariant === 'icon';
|
@@ -239,12 +238,6 @@ const StoryRange = ({
|
|
239
238
|
onChangeSecondValue={(e, currentValue) => {
|
240
239
|
onChangeSecondValue(e, currentValue);
|
241
240
|
}}
|
242
|
-
onCommitFirstDate={(currentValue) => {
|
243
|
-
setFirstDate(currentValue);
|
244
|
-
}}
|
245
|
-
onCommitSecondDate={(currentValue) => {
|
246
|
-
firstDate && currentValue && setIsOpen(false);
|
247
|
-
}}
|
248
241
|
lang={lang}
|
249
242
|
{...dividerIconProps}
|
250
243
|
{...rest}
|
package/styled-components/es/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx
CHANGED
@@ -186,12 +186,12 @@ const StoryRange = ({
|
|
186
186
|
secondValueError,
|
187
187
|
secondValueSuccess,
|
188
188
|
size,
|
189
|
+
lang,
|
189
190
|
...rest
|
190
191
|
}: StoryPropsRange) => {
|
191
192
|
const rangeRef = useRef<RangeInputRefs>(null);
|
192
193
|
|
193
194
|
const [isOpen, setIsOpen] = useState(false);
|
194
|
-
const [firstDate, setFirstDate] = useState<string | Date>('');
|
195
195
|
|
196
196
|
const iconSize = size === 'xs' ? 'xs' : 's';
|
197
197
|
const showDividerIcon = dividerVariant === 'icon';
|
@@ -238,12 +238,7 @@ const StoryRange = ({
|
|
238
238
|
onChangeSecondValue={(e, currentValue) => {
|
239
239
|
onChangeSecondValue(e, currentValue);
|
240
240
|
}}
|
241
|
-
|
242
|
-
setFirstDate(currentValue);
|
243
|
-
}}
|
244
|
-
onCommitSecondDate={(currentValue) => {
|
245
|
-
firstDate && currentValue && setIsOpen(false);
|
246
|
-
}}
|
241
|
+
lang={lang}
|
247
242
|
{...dividerIconProps}
|
248
243
|
{...rest}
|
249
244
|
/>
|
@@ -42,10 +42,10 @@ export declare const datePickerRangeRoot: (Root: RootProps<HTMLDivElement, Omit<
|
|
42
42
|
secondTextfieldContentRight?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
43
43
|
firstTextfieldTextAfter?: string | undefined;
|
44
44
|
secondTextfieldTextAfter?: string | undefined;
|
45
|
-
onFocusFirstTextfield?: ((event: React.
|
46
|
-
onFocusSecondTextfield?: ((event: React.
|
47
|
-
onBlurFirstTextfield?: ((event: React.
|
48
|
-
onBlurSecondTextfield?: ((event: React.
|
45
|
+
onFocusFirstTextfield?: ((event: React.FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
46
|
+
onFocusSecondTextfield?: ((event: React.FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
47
|
+
onBlurFirstTextfield?: ((event: React.FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
48
|
+
onBlurSecondTextfield?: ((event: React.FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
49
49
|
firstTextfieldTextBefore?: string | undefined;
|
50
50
|
secondTextfieldTextBefore?: string | undefined;
|
51
51
|
dividerVariant?: "none" | "icon" | "dash" | undefined;
|
@@ -53,6 +53,7 @@ export declare const datePickerRangeRoot: (Root: RootProps<HTMLDivElement, Omit<
|
|
53
53
|
} & import("../DatePickerBase.types").DatePickerCalendarProps & Omit<import("../SingleDate/SingleDate.types").DatePickerPopoverProps, "placement"> & {
|
54
54
|
placement?: import("./RangeDate.types").DatePickerRangePlacement | import("./RangeDate.types").DatePickerRangePlacement[] | undefined;
|
55
55
|
isDoubleCalendar?: boolean | undefined;
|
56
|
+
closeAfterDateSelect?: boolean | undefined;
|
56
57
|
} & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<RangeInputRefs>>;
|
57
58
|
export declare const datePickerRangeConfig: {
|
58
59
|
name: string;
|
@@ -97,10 +98,10 @@ export declare const datePickerRangeConfig: {
|
|
97
98
|
secondTextfieldContentRight?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
98
99
|
firstTextfieldTextAfter?: string | undefined;
|
99
100
|
secondTextfieldTextAfter?: string | undefined;
|
100
|
-
onFocusFirstTextfield?: ((event: React.
|
101
|
-
onFocusSecondTextfield?: ((event: React.
|
102
|
-
onBlurFirstTextfield?: ((event: React.
|
103
|
-
onBlurSecondTextfield?: ((event: React.
|
101
|
+
onFocusFirstTextfield?: ((event: React.FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
102
|
+
onFocusSecondTextfield?: ((event: React.FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
103
|
+
onBlurFirstTextfield?: ((event: React.FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
104
|
+
onBlurSecondTextfield?: ((event: React.FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
104
105
|
firstTextfieldTextBefore?: string | undefined;
|
105
106
|
secondTextfieldTextBefore?: string | undefined;
|
106
107
|
dividerVariant?: "none" | "icon" | "dash" | undefined;
|
@@ -108,6 +109,7 @@ export declare const datePickerRangeConfig: {
|
|
108
109
|
} & import("../DatePickerBase.types").DatePickerCalendarProps & Omit<import("../SingleDate/SingleDate.types").DatePickerPopoverProps, "placement"> & {
|
109
110
|
placement?: import("./RangeDate.types").DatePickerRangePlacement | import("./RangeDate.types").DatePickerRangePlacement[] | undefined;
|
110
111
|
isDoubleCalendar?: boolean | undefined;
|
112
|
+
closeAfterDateSelect?: boolean | undefined;
|
111
113
|
} & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<RangeInputRefs>>;
|
112
114
|
base: import("@linaria/core").LinariaClassName;
|
113
115
|
variations: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"RangeDate.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/RangeDate/RangeDate.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0E,MAAM,OAAO,CAAC;AAW/F,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAIlD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;
|
1
|
+
{"version":3,"file":"RangeDate.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/RangeDate/RangeDate.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0E,MAAM,OAAO,CAAC;AAW/F,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAIlD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAO9D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAQ9D,eAAO,MAAM,mBAAmB,SACtB,UAAU,cAAc,EAAE,KAAK,oBAAoB,EAAE,QAAQ,GAAG,cAAc,GAAG,eAAe,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+EAmdvG,CAAC;AAEN,eAAO,MAAM,qBAAqB;;;mBArdxB,UAAU,cAAc,EAAE,KAAK,oBAAoB,EAAE,QAAQ,GAAG,cAAc,GAAG,eAAe,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8e3G,CAAC"}
|
@@ -30,10 +30,10 @@ export declare const StyledRange: import("@linaria/react").StyledMeta & import("
|
|
30
30
|
onChangeSecondValue?: import("../../Range/Range.types").BaseCallbackChangeInstance | undefined;
|
31
31
|
onSearchFirstValue?: import("../../Range/Range.types").BaseCallbackKeyboardInstance | undefined;
|
32
32
|
onSearchSecondValue?: import("../../Range/Range.types").BaseCallbackKeyboardInstance | undefined;
|
33
|
-
onFocusFirstTextfield?: ((event: import("react").
|
34
|
-
onFocusSecondTextfield?: ((event: import("react").
|
35
|
-
onBlurFirstTextfield?: ((event: import("react").
|
36
|
-
onBlurSecondTextfield?: ((event: import("react").
|
33
|
+
onFocusFirstTextfield?: ((event: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
34
|
+
onFocusSecondTextfield?: ((event: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
35
|
+
onBlurFirstTextfield?: ((event: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
36
|
+
onBlurSecondTextfield?: ((event: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
37
37
|
} & {
|
38
38
|
firstTextfieldTextBefore: string;
|
39
39
|
secondTextfieldTextBefore: string;
|
@@ -69,10 +69,10 @@ export declare const StyledRange: import("@linaria/react").StyledMeta & import("
|
|
69
69
|
onChangeSecondValue?: import("../../Range/Range.types").BaseCallbackChangeInstance | undefined;
|
70
70
|
onSearchFirstValue?: import("../../Range/Range.types").BaseCallbackKeyboardInstance | undefined;
|
71
71
|
onSearchSecondValue?: import("../../Range/Range.types").BaseCallbackKeyboardInstance | undefined;
|
72
|
-
onFocusFirstTextfield?: ((event: import("react").
|
73
|
-
onFocusSecondTextfield?: ((event: import("react").
|
74
|
-
onBlurFirstTextfield?: ((event: import("react").
|
75
|
-
onBlurSecondTextfield?: ((event: import("react").
|
72
|
+
onFocusFirstTextfield?: ((event: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
73
|
+
onFocusSecondTextfield?: ((event: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
74
|
+
onBlurFirstTextfield?: ((event: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
75
|
+
onBlurSecondTextfield?: ((event: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
76
76
|
} & {
|
77
77
|
dividerVariant?: "dash" | undefined;
|
78
78
|
dividerIcon?: undefined;
|
@@ -108,10 +108,10 @@ export declare const StyledRange: import("@linaria/react").StyledMeta & import("
|
|
108
108
|
onChangeSecondValue?: import("../../Range/Range.types").BaseCallbackChangeInstance | undefined;
|
109
109
|
onSearchFirstValue?: import("../../Range/Range.types").BaseCallbackKeyboardInstance | undefined;
|
110
110
|
onSearchSecondValue?: import("../../Range/Range.types").BaseCallbackKeyboardInstance | undefined;
|
111
|
-
onFocusFirstTextfield?: ((event: import("react").
|
112
|
-
onFocusSecondTextfield?: ((event: import("react").
|
113
|
-
onBlurFirstTextfield?: ((event: import("react").
|
114
|
-
onBlurSecondTextfield?: ((event: import("react").
|
111
|
+
onFocusFirstTextfield?: ((event: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
112
|
+
onFocusSecondTextfield?: ((event: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
113
|
+
onBlurFirstTextfield?: ((event: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
114
|
+
onBlurSecondTextfield?: ((event: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
115
115
|
} & {
|
116
116
|
dividerIcon?: import("react").ReactNode;
|
117
117
|
dividerVariant?: "icon" | undefined;
|
@@ -67,6 +67,10 @@ export declare type DatePickerDoublePopoverProps = Omit<DatePickerPopoverProps,
|
|
67
67
|
* Отобразить двойной календарь
|
68
68
|
*/
|
69
69
|
isDoubleCalendar?: boolean;
|
70
|
+
/**
|
71
|
+
* Закрыть календарь после выбора дат
|
72
|
+
*/
|
73
|
+
closeAfterDateSelect?: boolean;
|
70
74
|
};
|
71
75
|
export declare type DatePickerRangeProps = DatePickerVariationProps & DatePickerRangeFieldProps & DatePickerCalendarProps & DatePickerDoublePopoverProps & HTMLAttributes<HTMLDivElement>;
|
72
76
|
export {};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"RangeDate.types.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/RangeDate/RangeDate.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEzD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,KAAK,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACjG,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAC7E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAE9D,oBAAY,wBAAwB,GAAG,KAAK,GAAG,QAAQ,CAAC;AAExD,oBAAY,sBAAsB,GAAG,CAAC,KAAK,EAAE,WAAW,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;AAC3G,oBAAY,sBAAsB,GAAG,CACjC,KAAK,EAAE,IAAI,GAAG,MAAM,EACpB,KAAK,CAAC,EAAE,OAAO,EACf,OAAO,CAAC,EAAE,OAAO,EACjB,QAAQ,CAAC,EAAE,QAAQ,KAClB,IAAI,CAAC;AAEV,aAAK,cAAc,GAAG,IAAI,CACtB,eAAe,EACb,YAAY,GACZ,aAAa,GACb,oBAAoB,GACpB,qBAAqB,GACrB,oBAAoB,GACpB,qBAAqB,CAC1B,CAAC;AAEF,oBAAY,yBAAyB,GAAG;IACpC;;;OAGG;IACH,iBAAiB,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC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nB,oBAAY,4BAA4B,GAAG,IAAI,CAAC,sBAAsB,EAAE,WAAW,CAAC,GAAG;IACnF;;;;OAIG;IACH,SAAS,CAAC,EAAE,wBAAwB,GAAG,KAAK,CAAC,wBAAwB,CAAC,CAAC;IACvE;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;OAEG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAClC,CAAC;AAEF,oBAAY,oBAAoB,GAAG,wBAAwB,GACvD,yBAAyB,GACzB,uBAAuB,GACvB,4BAA4B,GAC5B,cAAc,CAAC,cAAc,CAAC,CAAC"}
|
@@ -117,7 +117,7 @@ export declare type DatePickerPopoverProps = {
|
|
117
117
|
/**
|
118
118
|
* Событие сворачивания/разворачивания календаря.
|
119
119
|
*/
|
120
|
-
onToggle?: (isOpen: boolean, event
|
120
|
+
onToggle?: (isOpen: boolean, event?: SyntheticEvent | Event) => void;
|
121
121
|
};
|
122
122
|
export declare type DatePickerProps = DatePickerVariationProps & DatePickerTextFieldProps & DatePickerCalendarProps & DatePickerPopoverProps & Omit<HTMLAttributes<HTMLDivElement>, 'defaultValue'>;
|
123
123
|
//# sourceMappingURL=SingleDate.types.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SingleDate.types.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/SingleDate/SingleDate.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvE,OAAO,KAAK,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACjG,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAE7D,oBAAY,wBAAwB,GAAG,KAAK,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;AAC3E,oBAAY,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sBAAsB,GAAG;IACjC;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,SAAS,CAAC,EAAE,mBAAmB,GAAG,KAAK,CAAC,wBAAwB,CAAC,CAAC;IAClE;;;OAGG;IACH,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC1B;;OAEG;IACH,KAAK,CAAC,EAAE,UAAU,GAAG,MAAM,GAAG,SAAS,CAAC,WAAW,CAAC,CAAC;IACrD;;;OAGG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,cAAc,GAAG,KAAK,KAAK,IAAI,CAAC;
|
1
|
+
{"version":3,"file":"SingleDate.types.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/SingleDate/SingleDate.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvE,OAAO,KAAK,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACjG,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAE7D,oBAAY,wBAAwB,GAAG,KAAK,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;AAC3E,oBAAY,mBAAmB,GAAG,wBAAwB,GAAG,MAAM,CAAC;AAEpE,oBAAY,wBAAwB,GAAG;IACnC;;;OAGG;IACH,iBAAiB,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IACrC;;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AC,EAAE,mBAAmB,GAAG,KAAK,CAAC,wBAAwB,CAAC,CAAC;IAClE;;;OAGG;IACH,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC1B;;OAEG;IACH,KAAK,CAAC,EAAE,UAAU,GAAG,MAAM,GAAG,SAAS,CAAC,WAAW,CAAC,CAAC;IACrD;;;OAGG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,CAAC,EAAE,cAAc,GAAG,KAAK,KAAK,IAAI,CAAC;CACxE,CAAC;AAEF,oBAAY,eAAe,GAAG,wBAAwB,GAClD,wBAAwB,GACxB,uBAAuB,GACvB,sBAAsB,GACtB,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,cAAc,CAAC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"NumberInput.d.ts","sourceRoot":"","sources":["../../../src/components/NumberInput/NumberInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyD,MAAM,OAAO,CAAC;AAE9E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAI/C,OAAO,KAAK,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;
|
1
|
+
{"version":3,"file":"NumberInput.d.ts","sourceRoot":"","sources":["../../../src/components/NumberInput/NumberInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyD,MAAM,OAAO,CAAC;AAE9E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAI/C,OAAO,KAAK,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAWlF,eAAO,MAAM,eAAe,SAAU,UAAU,cAAc,EAAE,oBAAoB,CAAC,8FAkLhF,CAAC;AAEN,eAAO,MAAM,iBAAiB;;;mBApLQ,UAAU,cAAc,EAAE,oBAAoB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoNpF,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"NumberInput.types.d.ts","sourceRoot":"","sources":["../../../src/components/NumberInput/NumberInput.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,mBAAmB,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5F,aAAK,iBAAiB,GAChB;IACI;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;OAEG;IACH,mBAAmB,CAAC,EAAE,KAAK,CAAC;CAC/B,GACD;IACI,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAChC,CAAC;AAER,oBAAY,gBAAgB,GAAG;IAC3B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd
|
1
|
+
{"version":3,"file":"NumberInput.types.d.ts","sourceRoot":"","sources":["../../../src/components/NumberInput/NumberInput.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,mBAAmB,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5F,aAAK,iBAAiB,GAChB;IACI;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;OAEG;IACH,mBAAmB,CAAC,EAAE,KAAK,CAAC;CAC/B,GACD;IACI,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAChC,CAAC;AAER,o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,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,UAAU,GAAG,OAAO,CAAC,CAAC;AAE/E,oBAAY,oBAAoB,GAAG;IAC/B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;CACvB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC"}
|
@@ -7,7 +7,6 @@ export declare const NumberInput: React.ForwardRefExoticComponent<{
|
|
7
7
|
setInnerValue: React.Dispatch<React.SetStateAction<string | number>>;
|
8
8
|
min?: number | undefined;
|
9
9
|
max?: number | undefined;
|
10
|
-
precision?: number | undefined;
|
11
10
|
isLoading?: boolean | undefined;
|
12
11
|
loader?: React.ReactNode;
|
13
12
|
disabled?: boolean | undefined;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../../../src/components/NumberInput/ui/Input/Input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAsBvE,eAAO,MAAM,WAAW
|
1
|
+
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../../../src/components/NumberInput/ui/Input/Input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAsBvE,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;oHAkOvB,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Input.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/NumberInput/ui/Input/Input.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,mBAAmB,EAAE,QAAQ,EAAE,cAAc,EAAE,SAAS,EAAE,M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a,CAAC,EAAE,OAAO,CAAC;IAExB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,KAAK,IAAI,CAAC;CAC/F,GAAG,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC,CAAC"}
|
@@ -1,5 +1,4 @@
|
|
1
1
|
export declare const defaultCharacterWidth = "1ch";
|
2
2
|
export declare const numberSchema: RegExp;
|
3
3
|
export declare const excludingNumberSchema: RegExp;
|
4
|
-
export declare const getPreciseValue: (value: number | string, precision?: number | undefined) => string;
|
5
4
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/NumberInput/utils/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,QAAQ,CAAC;AAC3C,eAAO,MAAM,YAAY,QAAsB,CAAC;AAChD,eAAO,MAAM,qBAAqB,QAAa,CAAC
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/NumberInput/utils/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,QAAQ,CAAC;AAC3C,eAAO,MAAM,YAAY,QAAsB,CAAC;AAChD,eAAO,MAAM,qBAAqB,QAAa,CAAC"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { KeyboardEvent, ChangeEvent, ReactNode, ReactElement, MutableRefObject, HTMLAttributes } from 'react';
|
1
|
+
import type { KeyboardEvent, FocusEvent, ChangeEvent, ReactNode, ReactElement, MutableRefObject, HTMLAttributes } from 'react';
|
2
2
|
export declare type TextfieldPrimitiveValue = string | number;
|
3
3
|
export declare type RangeDividerVariants = {
|
4
4
|
firstTextfieldTextBefore: string;
|
@@ -143,19 +143,19 @@ export declare type RangeInnerProps = {
|
|
143
143
|
/**
|
144
144
|
* Коллбэк, вызываемый при фокусе на первое поле ввода
|
145
145
|
*/
|
146
|
-
onFocusFirstTextfield?: (event:
|
146
|
+
onFocusFirstTextfield?: (event: FocusEvent<HTMLInputElement>) => void;
|
147
147
|
/**
|
148
148
|
* Коллбэк, вызываемый при фокусе на второе поле ввода
|
149
149
|
*/
|
150
|
-
onFocusSecondTextfield?: (event:
|
150
|
+
onFocusSecondTextfield?: (event: FocusEvent<HTMLInputElement>) => void;
|
151
151
|
/**
|
152
152
|
* Коллбэк, вызываемый при потере фокуса первым полем ввода
|
153
153
|
*/
|
154
|
-
onBlurFirstTextfield?: (event:
|
154
|
+
onBlurFirstTextfield?: (event: FocusEvent<HTMLInputElement>) => void;
|
155
155
|
/**
|
156
156
|
* Коллбэк, вызываемый при потере фокуса вторым полем ввода
|
157
157
|
*/
|
158
|
-
onBlurSecondTextfield?: (event:
|
158
|
+
onBlurSecondTextfield?: (event: FocusEvent<HTMLInputElement>) => void;
|
159
159
|
} & RangeDividerVariants;
|
160
160
|
export declare type RangeProps = RangeInnerProps & HTMLAttributes<HTMLDivElement>;
|
161
161
|
//# sourceMappingURL=Range.types.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Range.types.d.ts","sourceRoot":"","sources":["../../../src/components/Range/Range.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
1
|
+
{"version":3,"file":"Range.types.d.ts","sourceRoot":"","sources":["../../../src/components/Range/Range.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,aAAa,EACb,UAAU,EACV,WAAW,EACX,SAAS,EACT,YAAY,EACZ,gBAAgB,EAChB,cAAc,EACjB,MAAM,OAAO,CAAC;AAEf,oBAAY,uBAAuB,GAAG,MAAM,GAAG,MAAM,CAAC;AAEtD,oBAAY,oBAAoB,GAC1B;IACI,wBAAwB,EAAE,MAAM,CAAC;IACjC,yBAAyB,EAAE,MAAM,CAAC;IAClC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,W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AC,KAAK,IAAI,CAAC;IACvE;;OAEG;IACH,oBAAoB,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IACrE;;OAEG;IACH,qBAAqB,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;CACzE,GAAG,oBAAoB,CAAC;AAEzB,oBAAY,UAAU,GAAG,eAAe,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC"}
|
@@ -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").
|
97
|
-
onFocusSecondTextfield?: ((event: import("react").
|
98
|
-
onBlurFirstTextfield?: ((event: import("react").
|
99
|
-
onBlurSecondTextfield?: ((event: import("react").
|
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" | "icon" | "dash" | undefined;
|
@@ -104,5 +104,6 @@ export declare const DatePickerRange: import("react").FunctionComponent<import("
|
|
104
104
|
} & import("../../../../components/DatePicker/DatePickerBase.types").DatePickerCalendarProps & Omit<import("../../../../components/DatePicker/SingleDate/SingleDate.types").DatePickerPopoverProps, "placement"> & {
|
105
105
|
placement?: import("../../../../components/DatePicker").DatePickerRangePlacement | import("../../../../components/DatePicker").DatePickerRangePlacement[] | undefined;
|
106
106
|
isDoubleCalendar?: boolean | undefined;
|
107
|
+
closeAfterDateSelect?: boolean | undefined;
|
107
108
|
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<import("../../../..").RangeInputRefs>>;
|
108
109
|
//# sourceMappingURL=DatePicker.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/DatePicker/DatePicker.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+XAA0B,CAAC;AAGlD,eAAO,MAAM,eAAe
|
1
|
+
{"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/DatePicker/DatePicker.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+XAA0B,CAAC;AAGlD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yHAA+B,CAAC"}
|
@@ -33,7 +33,6 @@ export declare const NumberInput: import("react").FunctionComponent<import("../.
|
|
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("../.
|
|
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;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"NumberInput.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/NumberInput/NumberInput.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,WAAW
|
1
|
+
{"version":3,"file":"NumberInput.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/NumberInput/NumberInput.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mJAA0B,CAAC"}
|
@@ -45,10 +45,10 @@ export declare const Range: import("react").FunctionComponent<import("../../../.
|
|
45
45
|
onChangeSecondValue?: import("../../../../components/Range/Range.types").BaseCallbackChangeInstance | undefined;
|
46
46
|
onSearchFirstValue?: import("../../../../components/Range/Range.types").BaseCallbackKeyboardInstance | undefined;
|
47
47
|
onSearchSecondValue?: import("../../../../components/Range/Range.types").BaseCallbackKeyboardInstance | undefined;
|
48
|
-
onFocusFirstTextfield?: ((event: import("react").
|
49
|
-
onFocusSecondTextfield?: ((event: import("react").
|
50
|
-
onBlurFirstTextfield?: ((event: import("react").
|
51
|
-
onBlurSecondTextfield?: ((event: import("react").
|
48
|
+
onFocusFirstTextfield?: ((event: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
49
|
+
onFocusSecondTextfield?: ((event: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
50
|
+
onBlurFirstTextfield?: ((event: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
51
|
+
onBlurSecondTextfield?: ((event: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
52
52
|
} & {
|
53
53
|
firstTextfieldTextBefore: string;
|
54
54
|
secondTextfieldTextBefore: string;
|
@@ -84,10 +84,10 @@ export declare const Range: import("react").FunctionComponent<import("../../../.
|
|
84
84
|
onChangeSecondValue?: import("../../../../components/Range/Range.types").BaseCallbackChangeInstance | undefined;
|
85
85
|
onSearchFirstValue?: import("../../../../components/Range/Range.types").BaseCallbackKeyboardInstance | undefined;
|
86
86
|
onSearchSecondValue?: import("../../../../components/Range/Range.types").BaseCallbackKeyboardInstance | undefined;
|
87
|
-
onFocusFirstTextfield?: ((event: import("react").
|
88
|
-
onFocusSecondTextfield?: ((event: import("react").
|
89
|
-
onBlurFirstTextfield?: ((event: import("react").
|
90
|
-
onBlurSecondTextfield?: ((event: import("react").
|
87
|
+
onFocusFirstTextfield?: ((event: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
88
|
+
onFocusSecondTextfield?: ((event: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
89
|
+
onBlurFirstTextfield?: ((event: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
90
|
+
onBlurSecondTextfield?: ((event: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
91
91
|
} & {
|
92
92
|
dividerVariant?: "dash" | undefined;
|
93
93
|
dividerIcon?: undefined;
|
@@ -123,10 +123,10 @@ export declare const Range: import("react").FunctionComponent<import("../../../.
|
|
123
123
|
onChangeSecondValue?: import("../../../../components/Range/Range.types").BaseCallbackChangeInstance | undefined;
|
124
124
|
onSearchFirstValue?: import("../../../../components/Range/Range.types").BaseCallbackKeyboardInstance | undefined;
|
125
125
|
onSearchSecondValue?: import("../../../../components/Range/Range.types").BaseCallbackKeyboardInstance | undefined;
|
126
|
-
onFocusFirstTextfield?: ((event: import("react").
|
127
|
-
onFocusSecondTextfield?: ((event: import("react").
|
128
|
-
onBlurFirstTextfield?: ((event: import("react").
|
129
|
-
onBlurSecondTextfield?: ((event: import("react").
|
126
|
+
onFocusFirstTextfield?: ((event: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
127
|
+
onFocusSecondTextfield?: ((event: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
128
|
+
onBlurFirstTextfield?: ((event: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
129
|
+
onBlurSecondTextfield?: ((event: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
130
130
|
} & {
|
131
131
|
dividerIcon?: import("react").ReactNode;
|
132
132
|
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").
|
97
|
-
onFocusSecondTextfield?: ((event: import("react").
|
98
|
-
onBlurFirstTextfield?: ((event: import("react").
|
99
|
-
onBlurSecondTextfield?: ((event: import("react").
|
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" | "icon" | "dash" | undefined;
|
@@ -104,5 +104,6 @@ export declare const DatePickerRange: import("react").FunctionComponent<import("
|
|
104
104
|
} & import("../../../../components/DatePicker/DatePickerBase.types").DatePickerCalendarProps & Omit<import("../../../../components/DatePicker/SingleDate/SingleDate.types").DatePickerPopoverProps, "placement"> & {
|
105
105
|
placement?: import("../../../../components/DatePicker").DatePickerRangePlacement | import("../../../../components/DatePicker").DatePickerRangePlacement[] | undefined;
|
106
106
|
isDoubleCalendar?: boolean | undefined;
|
107
|
+
closeAfterDateSelect?: boolean | undefined;
|
107
108
|
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<import("../../../..").RangeInputRefs>>;
|
108
109
|
//# sourceMappingURL=DatePicker.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/DatePicker/DatePicker.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+XAA0B,CAAC;AAGlD,eAAO,MAAM,eAAe
|
1
|
+
{"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/DatePicker/DatePicker.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+XAA0B,CAAC;AAGlD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yHAA+B,CAAC"}
|
@@ -33,7 +33,6 @@ export declare const NumberInput: import("react").FunctionComponent<import("../.
|
|
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("../.
|
|
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;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"NumberInput.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/NumberInput/NumberInput.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,WAAW
|
1
|
+
{"version":3,"file":"NumberInput.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/NumberInput/NumberInput.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mJAA0B,CAAC"}
|