@salutejs/plasma-new-hope 0.196.1-dev.0 → 0.197.0-canary.1572.11971256317.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/Autocomplete/Autocomplete.css +1 -2
- package/cjs/components/Calendar/CalendarBase/CalendarBase.js +1 -1
- package/cjs/components/Calendar/CalendarBase/CalendarBase.js.map +1 -1
- package/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +1 -1
- package/cjs/components/Calendar/CalendarDouble/CalendarDouble.js.map +1 -1
- package/cjs/components/Calendar/store/reducer.js +2 -2
- package/cjs/components/Calendar/store/reducer.js.map +1 -1
- package/cjs/components/Combobox/ComboboxNew/Combobox.css +1 -2
- package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +1 -2
- package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +1 -2
- package/cjs/components/DatePicker/RangeDate/RangeDate.css +1 -2
- package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +1 -2
- package/cjs/components/DatePicker/SingleDate/SingleDate.css +1 -2
- package/cjs/components/Pagination/Pagination.css +1 -2
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +1 -2
- package/cjs/components/Range/Range.css +1 -2
- package/cjs/components/Select/Select.css +1 -2
- package/cjs/components/Select/ui/Inner/Inner.css +1 -2
- package/cjs/components/Select/ui/Inner/ui/Item/Item.css +1 -2
- package/cjs/components/Select/ui/Target/Target.css +1 -2
- package/cjs/components/Select/ui/Target/Target.js +1 -2
- package/cjs/components/Select/ui/Target/Target.js.map +1 -1
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.css +1 -2
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -4
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
- package/cjs/components/Slider/Slider.css +1 -2
- package/cjs/components/Slider/components/Double/Double.css +1 -2
- package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +1 -2
- package/cjs/components/TextField/TextField.js +4 -7
- package/cjs/components/TextField/TextField.js.map +1 -1
- package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.css +1 -2
- package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +3 -17
- package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +1 -1
- package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +1 -7
- package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +1 -1
- package/cjs/components/TextField/ui/TextFieldChip/{TextFieldChip.styles_1yosnxc.css → TextFieldChip.styles_1y8n7la.css} +0 -1
- package/cjs/index.css +1 -2
- package/emotion/cjs/components/Calendar/CalendarBase/CalendarBase.js +1 -1
- package/emotion/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +1 -1
- package/emotion/cjs/components/Calendar/store/reducer.js +2 -2
- package/emotion/cjs/components/Select/ui/Target/Target.js +1 -2
- package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -4
- package/emotion/cjs/components/TextField/TextField.js +5 -8
- package/emotion/cjs/components/TextField/TextField.template-doc.mdx +3 -13
- package/emotion/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +3 -17
- package/emotion/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +3 -12
- package/emotion/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +1 -8
- package/emotion/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +0 -10
- package/emotion/cjs/examples/plasma_web/components/Select/Select.stories.tsx +1 -8
- package/emotion/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +0 -10
- package/emotion/es/components/Calendar/CalendarBase/CalendarBase.js +1 -1
- package/emotion/es/components/Calendar/CalendarDouble/CalendarDouble.js +1 -1
- package/emotion/es/components/Calendar/store/reducer.js +2 -2
- package/emotion/es/components/Select/ui/Target/Target.js +1 -2
- package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -4
- package/emotion/es/components/TextField/TextField.js +5 -8
- package/emotion/es/components/TextField/TextField.template-doc.mdx +3 -13
- package/emotion/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +4 -18
- package/emotion/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +2 -11
- package/emotion/es/examples/plasma_b2c/components/Select/Select.stories.tsx +1 -8
- package/emotion/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +0 -10
- package/emotion/es/examples/plasma_web/components/Select/Select.stories.tsx +1 -8
- package/emotion/es/examples/plasma_web/components/TextField/TextField.stories.tsx +0 -10
- package/es/components/Autocomplete/Autocomplete.css +1 -2
- package/es/components/Calendar/CalendarBase/CalendarBase.js +1 -1
- package/es/components/Calendar/CalendarBase/CalendarBase.js.map +1 -1
- package/es/components/Calendar/CalendarDouble/CalendarDouble.js +1 -1
- package/es/components/Calendar/CalendarDouble/CalendarDouble.js.map +1 -1
- package/es/components/Calendar/store/reducer.js +2 -2
- package/es/components/Calendar/store/reducer.js.map +1 -1
- package/es/components/Combobox/ComboboxNew/Combobox.css +1 -2
- package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +1 -2
- package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +1 -2
- package/es/components/DatePicker/RangeDate/RangeDate.css +1 -2
- package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +1 -2
- package/es/components/DatePicker/SingleDate/SingleDate.css +1 -2
- package/es/components/Pagination/Pagination.css +1 -2
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +1 -2
- package/es/components/Range/Range.css +1 -2
- package/es/components/Select/Select.css +1 -2
- package/es/components/Select/ui/Inner/Inner.css +1 -2
- package/es/components/Select/ui/Inner/ui/Item/Item.css +1 -2
- package/es/components/Select/ui/Target/Target.css +1 -2
- package/es/components/Select/ui/Target/Target.js +1 -2
- package/es/components/Select/ui/Target/Target.js.map +1 -1
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.css +1 -2
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -4
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
- package/es/components/Slider/Slider.css +1 -2
- package/es/components/Slider/components/Double/Double.css +1 -2
- package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +1 -2
- package/es/components/TextField/TextField.js +4 -7
- package/es/components/TextField/TextField.js.map +1 -1
- package/es/components/TextField/ui/TextFieldChip/TextFieldChip.css +1 -2
- package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +4 -18
- package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +1 -1
- package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +2 -7
- package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +1 -1
- package/es/components/TextField/ui/TextFieldChip/{TextFieldChip.styles_1yosnxc.css → TextFieldChip.styles_1y8n7la.css} +0 -1
- package/es/index.css +1 -2
- package/package.json +2 -2
- package/styled-components/cjs/components/Calendar/CalendarBase/CalendarBase.js +1 -1
- package/styled-components/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +1 -1
- package/styled-components/cjs/components/Calendar/store/reducer.js +2 -2
- package/styled-components/cjs/components/Select/ui/Target/Target.js +1 -2
- package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -4
- package/styled-components/cjs/components/TextField/TextField.js +4 -7
- package/styled-components/cjs/components/TextField/TextField.template-doc.mdx +3 -13
- package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +3 -17
- package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +2 -10
- package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +1 -8
- package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +0 -10
- package/styled-components/cjs/examples/plasma_web/components/Select/Select.stories.tsx +1 -8
- package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +0 -10
- package/styled-components/es/components/Calendar/CalendarBase/CalendarBase.js +1 -1
- package/styled-components/es/components/Calendar/CalendarDouble/CalendarDouble.js +1 -1
- package/styled-components/es/components/Calendar/store/reducer.js +2 -2
- package/styled-components/es/components/Select/ui/Target/Target.js +1 -2
- package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -4
- package/styled-components/es/components/TextField/TextField.js +4 -7
- package/styled-components/es/components/TextField/TextField.template-doc.mdx +3 -13
- package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +4 -18
- package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +1 -9
- package/styled-components/es/examples/plasma_b2c/components/Select/Select.stories.tsx +1 -8
- package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +0 -10
- package/styled-components/es/examples/plasma_web/components/Select/Select.stories.tsx +1 -8
- package/styled-components/es/examples/plasma_web/components/TextField/TextField.stories.tsx +0 -10
- package/types/components/Autocomplete/Autocomplete.types.d.ts +2 -3
- package/types/components/Autocomplete/Autocomplete.types.d.ts.map +1 -1
- package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts +0 -16
- package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts.map +1 -1
- package/types/components/Calendar/store/reducer.d.ts +1 -1
- package/types/components/Calendar/store/reducer.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts +0 -16
- package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts.map +1 -1
- package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts +0 -16
- package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +1 -1
- package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts +0 -6
- package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts.map +1 -1
- package/types/components/Range/Range.styles.d.ts +0 -16
- package/types/components/Range/Range.styles.d.ts.map +1 -1
- package/types/components/Select/Select.types.d.ts +0 -5
- package/types/components/Select/Select.types.d.ts.map +1 -1
- package/types/components/Select/ui/Target/Target.d.ts +1 -1
- package/types/components/Select/ui/Target/Target.d.ts.map +1 -1
- package/types/components/Select/ui/Target/Target.types.d.ts +1 -1
- package/types/components/Select/ui/Target/Target.types.d.ts.map +1 -1
- package/types/components/Select/ui/Target/ui/Textfield/Textfield.d.ts.map +1 -1
- package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts +0 -16
- package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts.map +1 -1
- package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts +1 -1
- package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts.map +1 -1
- package/types/components/Slider/components/Double/Double.styles.d.ts +0 -16
- package/types/components/Slider/components/Double/Double.styles.d.ts.map +1 -1
- package/types/components/TextField/TextField.d.ts.map +1 -1
- package/types/components/TextField/TextField.types.d.ts +0 -8
- package/types/components/TextField/TextField.types.d.ts.map +1 -1
- package/types/components/TextField/ui/TextFieldChip/TextFieldChip.d.ts.map +1 -1
- package/types/components/TextField/ui/TextFieldChip/TextFieldChip.styles.d.ts +0 -1
- package/types/components/TextField/ui/TextFieldChip/TextFieldChip.styles.d.ts.map +1 -1
- package/types/components/TextField/ui/TextFieldChip/TextFieldChip.types.d.ts +1 -5
- package/types/components/TextField/ui/TextFieldChip/TextFieldChip.types.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Autocomplete/Autocomplete.d.ts +3 -553
- package/types/examples/plasma_b2c/components/Autocomplete/Autocomplete.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Mask/Mask.d.ts +0 -16
- package/types/examples/plasma_b2c/components/Mask/Mask.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Select/Select.d.ts +0 -6
- package/types/examples/plasma_b2c/components/Select/Select.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/TextField/TextField.d.ts +0 -16
- package/types/examples/plasma_b2c/components/TextField/TextField.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Autocomplete/Autocomplete.d.ts +3 -553
- package/types/examples/plasma_web/components/Autocomplete/Autocomplete.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Mask/Mask.d.ts +0 -16
- package/types/examples/plasma_web/components/Mask/Mask.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Select/Select.d.ts +0 -6
- package/types/examples/plasma_web/components/Select/Select.d.ts.map +1 -1
- package/types/examples/plasma_web/components/TextField/TextField.d.ts +0 -16
- package/types/examples/plasma_web/components/TextField/TextField.d.ts.map +1 -1
@@ -1,5 +1,5 @@
|
|
1
1
|
import React, { forwardRef } from 'react';
|
2
|
-
import { StyledChip
|
2
|
+
import { StyledChip } from './TextFieldChip.styles';
|
3
3
|
/**
|
4
4
|
* Чип, отображающий выбранный элемент
|
5
5
|
*/
|
@@ -11,23 +11,14 @@ export var TextFieldChip = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
11
11
|
onClick = _ref.onClick,
|
12
12
|
onClear = _ref.onClear,
|
13
13
|
onKeyDown = _ref.onKeyDown,
|
14
|
-
_forceChipManipulationWithReadonly = _ref._forceChipManipulationWithReadonly
|
15
|
-
chipType = _ref.chipType;
|
14
|
+
_forceChipManipulationWithReadonly = _ref._forceChipManipulationWithReadonly;
|
16
15
|
var onClearHandle = function onClearHandle() {
|
17
16
|
return onClear(id);
|
18
17
|
};
|
19
18
|
var onKeyDownHandle = function onKeyDownHandle(event) {
|
20
19
|
onKeyDown === null || onKeyDown === void 0 || onKeyDown(event, id);
|
21
20
|
};
|
22
|
-
|
23
|
-
if (onClick) {
|
24
|
-
onClick(e);
|
25
|
-
}
|
26
|
-
if (onClear) {
|
27
|
-
onClear(id);
|
28
|
-
}
|
29
|
-
};
|
30
|
-
return chipType === 'default' ? /*#__PURE__*/React.createElement(StyledChip, {
|
21
|
+
return /*#__PURE__*/React.createElement(StyledChip, {
|
31
22
|
ref: ref,
|
32
23
|
tabIndex: -1,
|
33
24
|
disabled: disabled,
|
@@ -41,10 +32,5 @@ export var TextFieldChip = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
41
32
|
// @ts-ignore
|
42
33
|
,
|
43
34
|
_forceChipManipulationWithReadonly: _forceChipManipulationWithReadonly
|
44
|
-
})
|
45
|
-
ref: ref,
|
46
|
-
tabIndex: -1,
|
47
|
-
onClick: handleClick,
|
48
|
-
onKeyDown: onKeyDownHandle
|
49
|
-
}, text);
|
35
|
+
});
|
50
36
|
});
|
@@ -16,12 +16,4 @@ export var StyledChip = /*#__PURE__*/styled(Chip).withConfig({
|
|
16
16
|
outlineSize: '0.0625rem',
|
17
17
|
outlineRadius: /*#__PURE__*/"calc(var(".concat(tokens.chipBorderRadius, ") - 0.1rem)"),
|
18
18
|
outlineColor: /*#__PURE__*/"var(".concat(tokens.focusColor, ")")
|
19
|
-
}), tokens.chipOpacityReadonly);
|
20
|
-
export var TextChip = /*#__PURE__*/styled.button.withConfig({
|
21
|
-
componentId: "plasma-new-hope__sc-1mypbcr-1"
|
22
|
-
})(["display:block;flex:none;background:none;border:none;outline:none;padding:0;white-space:nowrap;cursor:pointer;font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");color:var(", ");", " &:after{content:',';}&:last-child{&:after{content:'';}}"], tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.letterSpacing, tokens.lineHeight, tokens.color, /*#__PURE__*/addFocus({
|
23
|
-
outlineOffset: '0.0625rem',
|
24
|
-
outlineSize: '0.0625rem',
|
25
|
-
outlineRadius: /*#__PURE__*/"calc(var(".concat(tokens.chipBorderRadius, ") - 0.1rem)"),
|
26
|
-
outlineColor: /*#__PURE__*/"var(".concat(tokens.focusColor, ")")
|
27
|
-
}));
|
19
|
+
}), tokens.chipOpacityReadonly);
|
@@ -104,11 +104,6 @@ const meta: Meta<StorySelectProps> = {
|
|
104
104
|
},
|
105
105
|
if: { arg: 'required', truthy: false },
|
106
106
|
},
|
107
|
-
chipType: {
|
108
|
-
control: 'select',
|
109
|
-
options: ['default', 'text'],
|
110
|
-
if: { arg: 'target', eq: 'textfield-like' },
|
111
|
-
},
|
112
107
|
},
|
113
108
|
args: {
|
114
109
|
target: 'textfield-like',
|
@@ -126,7 +121,6 @@ const meta: Meta<StorySelectProps> = {
|
|
126
121
|
optional: false,
|
127
122
|
required: false,
|
128
123
|
requiredPlacement: 'right',
|
129
|
-
chipType: 'default',
|
130
124
|
},
|
131
125
|
parameters: {
|
132
126
|
controls: {
|
@@ -150,7 +144,6 @@ const meta: Meta<StorySelectProps> = {
|
|
150
144
|
'optional',
|
151
145
|
'required',
|
152
146
|
'requiredPlacement',
|
153
|
-
'chipType',
|
154
147
|
],
|
155
148
|
},
|
156
149
|
},
|
@@ -389,7 +382,7 @@ const SingleStory = (args: StorySelectProps) => {
|
|
389
382
|
export const Single: StoryObj<StorySelectProps> = {
|
390
383
|
parameters: {
|
391
384
|
controls: {
|
392
|
-
exclude: ['chipView', 'isTargetAmount'
|
385
|
+
exclude: ['chipView', 'isTargetAmount'],
|
393
386
|
},
|
394
387
|
},
|
395
388
|
render: (args) => <SingleStory {...args} />,
|
@@ -134,10 +134,6 @@ const meta: Meta<typeof TextField> = {
|
|
134
134
|
control: { type: 'text' },
|
135
135
|
if: { arg: 'hasHint', truthy: true },
|
136
136
|
},
|
137
|
-
chipType: {
|
138
|
-
control: 'select',
|
139
|
-
options: ['default', 'text'],
|
140
|
-
},
|
141
137
|
},
|
142
138
|
};
|
143
139
|
|
@@ -237,11 +233,6 @@ export const Default: StoryObj<StoryPropsDefault> = {
|
|
237
233
|
hintWidth: '10rem',
|
238
234
|
hintHasArrow: true,
|
239
235
|
},
|
240
|
-
parameters: {
|
241
|
-
controls: {
|
242
|
-
exclude: ['chipType'],
|
243
|
-
},
|
244
|
-
},
|
245
236
|
render: (args) => <StoryDemo {...args} />,
|
246
237
|
};
|
247
238
|
|
@@ -297,7 +288,6 @@ export const Chips: StoryObj<StoryPropsChips> = {
|
|
297
288
|
args: {
|
298
289
|
...Default.args,
|
299
290
|
chips: ['1 value', '2 value', '3 value', '4 value'],
|
300
|
-
chipType: 'default',
|
301
291
|
},
|
302
292
|
render: (args) => <StoryChips {...args} />,
|
303
293
|
};
|
@@ -103,11 +103,6 @@ const meta: Meta<StorySelectProps> = {
|
|
103
103
|
},
|
104
104
|
if: { arg: 'required', truthy: false },
|
105
105
|
},
|
106
|
-
chipType: {
|
107
|
-
control: 'select',
|
108
|
-
options: ['default', 'text'],
|
109
|
-
if: { arg: 'target', eq: 'textfield-like' },
|
110
|
-
},
|
111
106
|
},
|
112
107
|
args: {
|
113
108
|
target: 'textfield-like',
|
@@ -125,7 +120,6 @@ const meta: Meta<StorySelectProps> = {
|
|
125
120
|
optional: false,
|
126
121
|
required: false,
|
127
122
|
requiredPlacement: 'right',
|
128
|
-
chipType: 'default',
|
129
123
|
},
|
130
124
|
parameters: {
|
131
125
|
controls: {
|
@@ -149,7 +143,6 @@ const meta: Meta<StorySelectProps> = {
|
|
149
143
|
'optional',
|
150
144
|
'required',
|
151
145
|
'requiredPlacement',
|
152
|
-
'chipType',
|
153
146
|
],
|
154
147
|
},
|
155
148
|
},
|
@@ -388,7 +381,7 @@ const SingleStory = (args: StorySelectProps) => {
|
|
388
381
|
export const Single: StoryObj<StorySelectProps> = {
|
389
382
|
parameters: {
|
390
383
|
controls: {
|
391
|
-
exclude: ['chipView', 'isTargetAmount'
|
384
|
+
exclude: ['chipView', 'isTargetAmount'],
|
392
385
|
},
|
393
386
|
},
|
394
387
|
render: (args) => <SingleStory {...args} />,
|
@@ -134,10 +134,6 @@ const meta: Meta<typeof TextField> = {
|
|
134
134
|
control: { type: 'text' },
|
135
135
|
if: { arg: 'hasHint', truthy: true },
|
136
136
|
},
|
137
|
-
chipType: {
|
138
|
-
control: 'select',
|
139
|
-
options: ['default', 'text'],
|
140
|
-
},
|
141
137
|
},
|
142
138
|
};
|
143
139
|
|
@@ -237,11 +233,6 @@ export const Default: StoryObj<StoryPropsDefault> = {
|
|
237
233
|
hintWidth: '10rem',
|
238
234
|
hintHasArrow: true,
|
239
235
|
},
|
240
|
-
parameters: {
|
241
|
-
controls: {
|
242
|
-
exclude: ['chipType'],
|
243
|
-
},
|
244
|
-
},
|
245
236
|
render: (args) => <StoryDemo {...args} />,
|
246
237
|
};
|
247
238
|
|
@@ -297,7 +288,6 @@ export const Chips: StoryObj<StoryPropsChips> = {
|
|
297
288
|
args: {
|
298
289
|
...Default.args,
|
299
290
|
chips: ['1 value', '2 value', '3 value', '4 value'],
|
300
|
-
chipType: 'default',
|
301
291
|
},
|
302
292
|
render: (args) => <StoryChips {...args} />,
|
303
293
|
};
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import type { InputHTMLAttributes, ReactNode } from 'react';
|
2
|
-
import {
|
3
|
-
import { TextFieldPropsBase } from '../TextField/TextField.types';
|
2
|
+
import { TextFieldPropsBase, RequiredProps } from '../TextField/TextField.types';
|
4
3
|
export declare type SuggestionItemType = {
|
5
4
|
/**
|
6
5
|
* Метка-подпись к подсказке
|
@@ -85,5 +84,5 @@ export declare type BaseProps = {
|
|
85
84
|
*/
|
86
85
|
renderListEnd?: () => ReactNode;
|
87
86
|
};
|
88
|
-
export declare type AutocompleteProps = BaseProps &
|
87
|
+
export declare type AutocompleteProps = BaseProps & RequiredProps & Omit<TextFieldPropsBase, 'chips' | 'onChangeChips' | 'enumerationType' | 'required' | 'optional' | 'requiredPlacement'> & Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'required'>;
|
89
88
|
//# sourceMappingURL=Autocomplete.types.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Autocomplete.types.d.ts","sourceRoot":"","sources":["../../../src/components/Autocomplete/Autocomplete.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE5D,OAAO,EAAE,
|
1
|
+
{"version":3,"file":"Autocomplete.types.d.ts","sourceRoot":"","sources":["../../../src/components/Autocomplete/Autocomplete.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE5D,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAEjF,oBAAY,kBAAkB,GAAG;IAC7B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;CAC5B,CAAC;AAEF,oBAAY,SAAS,GAAG;IACpB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IAC/C;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,WAAW,CAAC,EAAE,kBAAkB,EAAE,CAAC;IACnC;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,kBAAkB,KAAK,OAAO,CAAC;IAC/C;;OAEG;IACH,kBAAkB,CAAC,EAAE,CAAC,IAAI,EAAE,kBAAkB,KAAK,IAAI,CAAC;IACxD;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IACxD;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,UAAU,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,kBAAkB,EAAE,KAAK,SAAS,CAAC;IACxD;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,SAAS,CAAC;CACnC,CAAC;AAEF,oBAAY,iBAAiB,GAAG,SAAS,GACrC,aAAa,GACb,IAAI,CACA,kBAAkB,EAClB,OAAO,GAAG,eAAe,GAAG,iBAAiB,GAAG,UAAU,GAAG,UAAU,GAAG,mBAAmB,CAChG,GACD,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC,CAAC"}
|
@@ -38,7 +38,6 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
38
38
|
onChangeChips?: undefined;
|
39
39
|
enumerationType?: "plain" | undefined;
|
40
40
|
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
41
|
-
chipType?: undefined;
|
42
41
|
} & Omit<import("../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
43
42
|
size?: string | undefined;
|
44
43
|
view?: string | undefined;
|
@@ -78,7 +77,6 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
78
77
|
onSearch?: undefined;
|
79
78
|
chips?: import("../../../TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
80
79
|
onChangeChips?: ((value: import("../../../TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
81
|
-
chipType?: "text" | "default" | undefined;
|
82
80
|
} & Omit<import("../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
83
81
|
size?: string | undefined;
|
84
82
|
view?: string | undefined;
|
@@ -118,7 +116,6 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
118
116
|
onChangeChips?: undefined;
|
119
117
|
enumerationType?: "plain" | undefined;
|
120
118
|
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
121
|
-
chipType?: undefined;
|
122
119
|
} & Omit<import("../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
123
120
|
size?: string | undefined;
|
124
121
|
view?: string | undefined;
|
@@ -158,7 +155,6 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
158
155
|
onSearch?: undefined;
|
159
156
|
chips?: import("../../../TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
160
157
|
onChangeChips?: ((value: import("../../../TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
161
|
-
chipType?: "text" | "default" | undefined;
|
162
158
|
} & Omit<import("../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
163
159
|
size?: string | undefined;
|
164
160
|
view?: string | undefined;
|
@@ -198,7 +194,6 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
198
194
|
onChangeChips?: undefined;
|
199
195
|
enumerationType?: "plain" | undefined;
|
200
196
|
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
201
|
-
chipType?: undefined;
|
202
197
|
} & Omit<import("../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
203
198
|
size?: string | undefined;
|
204
199
|
view?: string | undefined;
|
@@ -238,7 +233,6 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
238
233
|
onSearch?: undefined;
|
239
234
|
chips?: import("../../../TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
240
235
|
onChangeChips?: ((value: import("../../../TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
241
|
-
chipType?: "text" | "default" | undefined;
|
242
236
|
} & Omit<import("../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
243
237
|
size?: string | undefined;
|
244
238
|
view?: string | undefined;
|
@@ -278,7 +272,6 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
278
272
|
onChangeChips?: undefined;
|
279
273
|
enumerationType?: "plain" | undefined;
|
280
274
|
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
281
|
-
chipType?: undefined;
|
282
275
|
} & Omit<import("../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
283
276
|
size?: string | undefined;
|
284
277
|
view?: string | undefined;
|
@@ -318,7 +311,6 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
318
311
|
onSearch?: undefined;
|
319
312
|
chips?: import("../../../TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
320
313
|
onChangeChips?: ((value: import("../../../TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
321
|
-
chipType?: "text" | "default" | undefined;
|
322
314
|
} & Omit<import("../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
323
315
|
size?: string | undefined;
|
324
316
|
view?: string | undefined;
|
@@ -358,7 +350,6 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
358
350
|
onChangeChips?: undefined;
|
359
351
|
enumerationType?: "plain" | undefined;
|
360
352
|
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
361
|
-
chipType?: undefined;
|
362
353
|
} & Omit<import("../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
363
354
|
size?: string | undefined;
|
364
355
|
view?: string | undefined;
|
@@ -398,7 +389,6 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
398
389
|
onSearch?: undefined;
|
399
390
|
chips?: import("../../../TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
400
391
|
onChangeChips?: ((value: import("../../../TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
401
|
-
chipType?: "text" | "default" | undefined;
|
402
392
|
} & Omit<import("../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
403
393
|
size?: string | undefined;
|
404
394
|
view?: string | undefined;
|
@@ -438,7 +428,6 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
438
428
|
onChangeChips?: undefined;
|
439
429
|
enumerationType?: "plain" | undefined;
|
440
430
|
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
441
|
-
chipType?: undefined;
|
442
431
|
} & Omit<import("../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
443
432
|
size?: string | undefined;
|
444
433
|
view?: string | undefined;
|
@@ -478,7 +467,6 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
478
467
|
onSearch?: undefined;
|
479
468
|
chips?: import("../../../TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
480
469
|
onChangeChips?: ((value: import("../../../TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
481
|
-
chipType?: "text" | "default" | undefined;
|
482
470
|
} & Omit<import("../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
483
471
|
size?: string | undefined;
|
484
472
|
view?: string | undefined;
|
@@ -518,7 +506,6 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
518
506
|
onChangeChips?: undefined;
|
519
507
|
enumerationType?: "plain" | undefined;
|
520
508
|
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
521
|
-
chipType?: undefined;
|
522
509
|
} & Omit<import("../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
523
510
|
size?: string | undefined;
|
524
511
|
view?: string | undefined;
|
@@ -558,7 +545,6 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
558
545
|
onSearch?: undefined;
|
559
546
|
chips?: import("../../../TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
560
547
|
onChangeChips?: ((value: import("../../../TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
561
|
-
chipType?: "text" | "default" | undefined;
|
562
548
|
} & Omit<import("../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
563
549
|
size?: string | undefined;
|
564
550
|
view?: string | undefined;
|
@@ -598,7 +584,6 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
598
584
|
onChangeChips?: undefined;
|
599
585
|
enumerationType?: "plain" | undefined;
|
600
586
|
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
601
|
-
chipType?: undefined;
|
602
587
|
} & Omit<import("../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
603
588
|
size?: string | undefined;
|
604
589
|
view?: string | undefined;
|
@@ -638,6 +623,5 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
638
623
|
onSearch?: undefined;
|
639
624
|
chips?: import("../../../TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
640
625
|
onChangeChips?: ((value: import("../../../TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
641
|
-
chipType?: "text" | "default" | undefined;
|
642
626
|
} & Omit<import("../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>))>;
|
643
627
|
//# sourceMappingURL=TextField.styles.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TextField.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Autocomplete/ui/TextField/TextField.styles.ts"],"names":[],"mappings":";AASA,eAAO,MAAM,eAAe
|
1
|
+
{"version":3,"file":"TextField.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Autocomplete/ui/TextField/TextField.styles.ts"],"names":[],"mappings":";AASA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+IAoF3B,CAAC"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { CalendarStateType, Action, InitialState, SizeMap } from './types';
|
2
2
|
export declare const sizeMap: SizeMap;
|
3
|
-
export declare const getInitialState: (value: Date | undefined, calendarState: CalendarStateType, isDouble?: boolean | undefined) => InitialState;
|
3
|
+
export declare const getInitialState: (value: Date | undefined, min: Date | undefined, calendarState: CalendarStateType, isDouble?: boolean | undefined) => InitialState;
|
4
4
|
export declare const reducer: (state: InitialState, action: Action) => InitialState;
|
5
5
|
//# sourceMappingURL=reducer.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"reducer.d.ts","sourceRoot":"","sources":["../../../../src/components/Calendar/store/reducer.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,EAAc,YAAY,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAEvF,eAAO,MAAM,OAAO,EAAE,OAiBrB,CAAC;AAEF,eAAO,MAAM,eAAe,UACjB,IAAI,GAAG,SAAS,
|
1
|
+
{"version":3,"file":"reducer.d.ts","sourceRoot":"","sources":["../../../../src/components/Calendar/store/reducer.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,EAAc,YAAY,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAEvF,eAAO,MAAM,OAAO,EAAE,OAiBrB,CAAC;AAEF,eAAO,MAAM,eAAe,UACjB,IAAI,GAAG,SAAS,OAClB,IAAI,GAAG,SAAS,iBACN,iBAAiB,qCAEjC,YAYF,CAAC;AAEF,eAAO,MAAM,OAAO,UAAW,YAAY,UAAU,MAAM,KAAG,YAyH7D,CAAC"}
|
@@ -38,7 +38,6 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
38
38
|
onChangeChips?: undefined;
|
39
39
|
enumerationType?: "plain" | undefined;
|
40
40
|
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
41
|
-
chipType?: undefined;
|
42
41
|
} & Omit<import("../../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
43
42
|
size?: string | undefined;
|
44
43
|
view?: string | undefined;
|
@@ -78,7 +77,6 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
78
77
|
onSearch?: undefined;
|
79
78
|
chips?: import("../../../../TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
80
79
|
onChangeChips?: ((value: import("../../../../TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
81
|
-
chipType?: "text" | "default" | undefined;
|
82
80
|
} & Omit<import("../../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
83
81
|
size?: string | undefined;
|
84
82
|
view?: string | undefined;
|
@@ -118,7 +116,6 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
118
116
|
onChangeChips?: undefined;
|
119
117
|
enumerationType?: "plain" | undefined;
|
120
118
|
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
121
|
-
chipType?: undefined;
|
122
119
|
} & Omit<import("../../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
123
120
|
size?: string | undefined;
|
124
121
|
view?: string | undefined;
|
@@ -158,7 +155,6 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
158
155
|
onSearch?: undefined;
|
159
156
|
chips?: import("../../../../TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
160
157
|
onChangeChips?: ((value: import("../../../../TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
161
|
-
chipType?: "text" | "default" | undefined;
|
162
158
|
} & Omit<import("../../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
163
159
|
size?: string | undefined;
|
164
160
|
view?: string | undefined;
|
@@ -198,7 +194,6 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
198
194
|
onChangeChips?: undefined;
|
199
195
|
enumerationType?: "plain" | undefined;
|
200
196
|
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
201
|
-
chipType?: undefined;
|
202
197
|
} & Omit<import("../../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
203
198
|
size?: string | undefined;
|
204
199
|
view?: string | undefined;
|
@@ -238,7 +233,6 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
238
233
|
onSearch?: undefined;
|
239
234
|
chips?: import("../../../../TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
240
235
|
onChangeChips?: ((value: import("../../../../TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
241
|
-
chipType?: "text" | "default" | undefined;
|
242
236
|
} & Omit<import("../../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
243
237
|
size?: string | undefined;
|
244
238
|
view?: string | undefined;
|
@@ -278,7 +272,6 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
278
272
|
onChangeChips?: undefined;
|
279
273
|
enumerationType?: "plain" | undefined;
|
280
274
|
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
281
|
-
chipType?: undefined;
|
282
275
|
} & Omit<import("../../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
283
276
|
size?: string | undefined;
|
284
277
|
view?: string | undefined;
|
@@ -318,7 +311,6 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
318
311
|
onSearch?: undefined;
|
319
312
|
chips?: import("../../../../TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
320
313
|
onChangeChips?: ((value: import("../../../../TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
321
|
-
chipType?: "text" | "default" | undefined;
|
322
314
|
} & Omit<import("../../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
323
315
|
size?: string | undefined;
|
324
316
|
view?: string | undefined;
|
@@ -358,7 +350,6 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
358
350
|
onChangeChips?: undefined;
|
359
351
|
enumerationType?: "plain" | undefined;
|
360
352
|
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
361
|
-
chipType?: undefined;
|
362
353
|
} & Omit<import("../../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
363
354
|
size?: string | undefined;
|
364
355
|
view?: string | undefined;
|
@@ -398,7 +389,6 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
398
389
|
onSearch?: undefined;
|
399
390
|
chips?: import("../../../../TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
400
391
|
onChangeChips?: ((value: import("../../../../TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
401
|
-
chipType?: "text" | "default" | undefined;
|
402
392
|
} & Omit<import("../../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
403
393
|
size?: string | undefined;
|
404
394
|
view?: string | undefined;
|
@@ -438,7 +428,6 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
438
428
|
onChangeChips?: undefined;
|
439
429
|
enumerationType?: "plain" | undefined;
|
440
430
|
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
441
|
-
chipType?: undefined;
|
442
431
|
} & Omit<import("../../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
443
432
|
size?: string | undefined;
|
444
433
|
view?: string | undefined;
|
@@ -478,7 +467,6 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
478
467
|
onSearch?: undefined;
|
479
468
|
chips?: import("../../../../TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
480
469
|
onChangeChips?: ((value: import("../../../../TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
481
|
-
chipType?: "text" | "default" | undefined;
|
482
470
|
} & Omit<import("../../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
483
471
|
size?: string | undefined;
|
484
472
|
view?: string | undefined;
|
@@ -518,7 +506,6 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
518
506
|
onChangeChips?: undefined;
|
519
507
|
enumerationType?: "plain" | undefined;
|
520
508
|
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
521
|
-
chipType?: undefined;
|
522
509
|
} & Omit<import("../../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
523
510
|
size?: string | undefined;
|
524
511
|
view?: string | undefined;
|
@@ -558,7 +545,6 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
558
545
|
onSearch?: undefined;
|
559
546
|
chips?: import("../../../../TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
560
547
|
onChangeChips?: ((value: import("../../../../TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
561
|
-
chipType?: "text" | "default" | undefined;
|
562
548
|
} & Omit<import("../../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
563
549
|
size?: string | undefined;
|
564
550
|
view?: string | undefined;
|
@@ -598,7 +584,6 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
598
584
|
onChangeChips?: undefined;
|
599
585
|
enumerationType?: "plain" | undefined;
|
600
586
|
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
601
|
-
chipType?: undefined;
|
602
587
|
} & Omit<import("../../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
603
588
|
size?: string | undefined;
|
604
589
|
view?: string | undefined;
|
@@ -638,6 +623,5 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
638
623
|
onSearch?: undefined;
|
639
624
|
chips?: import("../../../../TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
640
625
|
onChangeChips?: ((value: import("../../../../TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
641
|
-
chipType?: "text" | "default" | undefined;
|
642
626
|
} & Omit<import("../../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>))>;
|
643
627
|
//# sourceMappingURL=Target.styles.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Target.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Combobox/ComboboxNew/ui/Target/Target.styles.ts"],"names":[],"mappings":";AASA,eAAO,MAAM,eAAe
|
1
|
+
{"version":3,"file":"Target.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Combobox/ComboboxNew/ui/Target/Target.styles.ts"],"names":[],"mappings":";AASA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kJAiJ3B,CAAC"}
|
@@ -39,7 +39,6 @@ export declare const StyledInput: import("@linaria/react").StyledMeta & import("
|
|
39
39
|
onChangeChips?: undefined;
|
40
40
|
enumerationType?: "plain" | undefined;
|
41
41
|
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
42
|
-
chipType?: undefined;
|
43
42
|
} & Omit<import("../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
44
43
|
size?: string | undefined;
|
45
44
|
view?: string | undefined;
|
@@ -79,7 +78,6 @@ export declare const StyledInput: import("@linaria/react").StyledMeta & import("
|
|
79
78
|
onSearch?: undefined;
|
80
79
|
chips?: import("../../TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
81
80
|
onChangeChips?: ((value: import("../../TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
82
|
-
chipType?: "text" | "default" | undefined;
|
83
81
|
} & Omit<import("../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
84
82
|
size?: string | undefined;
|
85
83
|
view?: string | undefined;
|
@@ -119,7 +117,6 @@ export declare const StyledInput: import("@linaria/react").StyledMeta & import("
|
|
119
117
|
onChangeChips?: undefined;
|
120
118
|
enumerationType?: "plain" | undefined;
|
121
119
|
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
122
|
-
chipType?: undefined;
|
123
120
|
} & Omit<import("../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
124
121
|
size?: string | undefined;
|
125
122
|
view?: string | undefined;
|
@@ -159,7 +156,6 @@ export declare const StyledInput: import("@linaria/react").StyledMeta & import("
|
|
159
156
|
onSearch?: undefined;
|
160
157
|
chips?: import("../../TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
161
158
|
onChangeChips?: ((value: import("../../TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
162
|
-
chipType?: "text" | "default" | undefined;
|
163
159
|
} & Omit<import("../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
164
160
|
size?: string | undefined;
|
165
161
|
view?: string | undefined;
|
@@ -199,7 +195,6 @@ export declare const StyledInput: import("@linaria/react").StyledMeta & import("
|
|
199
195
|
onChangeChips?: undefined;
|
200
196
|
enumerationType?: "plain" | undefined;
|
201
197
|
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
202
|
-
chipType?: undefined;
|
203
198
|
} & Omit<import("../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
204
199
|
size?: string | undefined;
|
205
200
|
view?: string | undefined;
|
@@ -239,7 +234,6 @@ export declare const StyledInput: import("@linaria/react").StyledMeta & import("
|
|
239
234
|
onSearch?: undefined;
|
240
235
|
chips?: import("../../TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
241
236
|
onChangeChips?: ((value: import("../../TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
242
|
-
chipType?: "text" | "default" | undefined;
|
243
237
|
} & Omit<import("../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
244
238
|
size?: string | undefined;
|
245
239
|
view?: string | undefined;
|
@@ -279,7 +273,6 @@ export declare const StyledInput: import("@linaria/react").StyledMeta & import("
|
|
279
273
|
onChangeChips?: undefined;
|
280
274
|
enumerationType?: "plain" | undefined;
|
281
275
|
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
282
|
-
chipType?: undefined;
|
283
276
|
} & Omit<import("../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
284
277
|
size?: string | undefined;
|
285
278
|
view?: string | undefined;
|
@@ -319,7 +312,6 @@ export declare const StyledInput: import("@linaria/react").StyledMeta & import("
|
|
319
312
|
onSearch?: undefined;
|
320
313
|
chips?: import("../../TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
321
314
|
onChangeChips?: ((value: import("../../TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
322
|
-
chipType?: "text" | "default" | undefined;
|
323
315
|
} & Omit<import("../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
324
316
|
size?: string | undefined;
|
325
317
|
view?: string | undefined;
|
@@ -359,7 +351,6 @@ export declare const StyledInput: import("@linaria/react").StyledMeta & import("
|
|
359
351
|
onChangeChips?: undefined;
|
360
352
|
enumerationType?: "plain" | undefined;
|
361
353
|
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
362
|
-
chipType?: undefined;
|
363
354
|
} & Omit<import("../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
364
355
|
size?: string | undefined;
|
365
356
|
view?: string | undefined;
|
@@ -399,7 +390,6 @@ export declare const StyledInput: import("@linaria/react").StyledMeta & import("
|
|
399
390
|
onSearch?: undefined;
|
400
391
|
chips?: import("../../TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
401
392
|
onChangeChips?: ((value: import("../../TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
402
|
-
chipType?: "text" | "default" | undefined;
|
403
393
|
} & Omit<import("../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
404
394
|
size?: string | undefined;
|
405
395
|
view?: string | undefined;
|
@@ -439,7 +429,6 @@ export declare const StyledInput: import("@linaria/react").StyledMeta & import("
|
|
439
429
|
onChangeChips?: undefined;
|
440
430
|
enumerationType?: "plain" | undefined;
|
441
431
|
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
442
|
-
chipType?: undefined;
|
443
432
|
} & Omit<import("../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
444
433
|
size?: string | undefined;
|
445
434
|
view?: string | undefined;
|
@@ -479,7 +468,6 @@ export declare const StyledInput: import("@linaria/react").StyledMeta & import("
|
|
479
468
|
onSearch?: undefined;
|
480
469
|
chips?: import("../../TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
481
470
|
onChangeChips?: ((value: import("../../TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
482
|
-
chipType?: "text" | "default" | undefined;
|
483
471
|
} & Omit<import("../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
484
472
|
size?: string | undefined;
|
485
473
|
view?: string | undefined;
|
@@ -519,7 +507,6 @@ export declare const StyledInput: import("@linaria/react").StyledMeta & import("
|
|
519
507
|
onChangeChips?: undefined;
|
520
508
|
enumerationType?: "plain" | undefined;
|
521
509
|
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
522
|
-
chipType?: undefined;
|
523
510
|
} & Omit<import("../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
524
511
|
size?: string | undefined;
|
525
512
|
view?: string | undefined;
|
@@ -559,7 +546,6 @@ export declare const StyledInput: import("@linaria/react").StyledMeta & import("
|
|
559
546
|
onSearch?: undefined;
|
560
547
|
chips?: import("../../TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
561
548
|
onChangeChips?: ((value: import("../../TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
562
|
-
chipType?: "text" | "default" | undefined;
|
563
549
|
} & Omit<import("../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
564
550
|
size?: string | undefined;
|
565
551
|
view?: string | undefined;
|
@@ -599,7 +585,6 @@ export declare const StyledInput: import("@linaria/react").StyledMeta & import("
|
|
599
585
|
onChangeChips?: undefined;
|
600
586
|
enumerationType?: "plain" | undefined;
|
601
587
|
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
602
|
-
chipType?: undefined;
|
603
588
|
} & Omit<import("../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
604
589
|
size?: string | undefined;
|
605
590
|
view?: string | undefined;
|
@@ -639,7 +624,6 @@ export declare const StyledInput: import("@linaria/react").StyledMeta & import("
|
|
639
624
|
onSearch?: undefined;
|
640
625
|
chips?: import("../../TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
641
626
|
onChangeChips?: ((value: import("../../TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
642
|
-
chipType?: "text" | "default" | undefined;
|
643
627
|
} & Omit<import("../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>))>;
|
644
628
|
export declare const base: import("@linaria/core").LinariaClassName;
|
645
629
|
export declare const StyledLabel: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLLabelElement> & import("react").LabelHTMLAttributes<HTMLLabelElement> & Record<never, unknown>>;
|