@salutejs/plasma-new-hope 0.337.1-canary.2272.18221260151.0 → 0.337.1-canary.2276.18273012590.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/_virtual/_rollupPluginBabelHelpers.js +8 -0
- package/cjs/_virtual/_rollupPluginBabelHelpers.js.map +1 -1
- package/cjs/components/Modal/Modal.css +2 -2
- package/cjs/components/Modal/Modal.js +5 -4
- package/cjs/components/Modal/Modal.js.map +1 -1
- package/cjs/index.js +2 -0
- package/cjs/index.js.map +1 -1
- package/cjs/mixins/applyDisabled.js +22 -0
- package/cjs/mixins/applyDisabled.js.map +1 -0
- package/emotion/cjs/components/Modal/Modal.js +7 -6
- package/emotion/cjs/mixins/applyDisabled.js +47 -0
- package/emotion/cjs/mixins/index.js +1 -0
- package/emotion/es/components/Modal/Modal.js +6 -5
- package/emotion/es/mixins/applyDisabled.js +39 -0
- package/emotion/es/mixins/index.js +1 -0
- package/es/_virtual/_rollupPluginBabelHelpers.js +8 -1
- package/es/_virtual/_rollupPluginBabelHelpers.js.map +1 -1
- package/es/components/Modal/Modal.css +2 -2
- package/es/components/Modal/Modal.js +5 -4
- package/es/components/Modal/Modal.js.map +1 -1
- package/es/index.js +1 -0
- package/es/index.js.map +1 -1
- package/es/mixins/applyDisabled.js +18 -0
- package/es/mixins/applyDisabled.js.map +1 -0
- package/package.json +2 -2
- package/styled-components/cjs/components/Modal/Modal.js +7 -6
- package/styled-components/cjs/examples/components/Combobox/Combobox.js +15 -0
- package/styled-components/cjs/mixins/applyDisabled.js +23 -0
- package/styled-components/cjs/mixins/index.js +1 -0
- package/styled-components/es/components/Modal/Modal.js +6 -5
- package/styled-components/es/examples/components/Combobox/Combobox.js +0 -7
- package/styled-components/es/mixins/applyDisabled.js +15 -0
- package/styled-components/es/mixins/index.js +1 -0
- package/types/components/Accordion/ui/AccordionItem/AccordionItem.d.ts +1 -1
- package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts +8 -8
- package/types/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.d.ts +1 -1
- package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts +8 -8
- package/types/components/DatePicker/RangeDate/RangeDate.d.ts +6 -6
- package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts +8 -8
- package/types/components/Modal/Modal.d.ts.map +1 -1
- package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts +6 -6
- package/types/components/Radiobox/Radiobox.d.ts +2 -2
- package/types/components/Range/Range.styles.d.ts +8 -8
- package/types/components/Select/ui/Target/Target.d.ts +1 -1
- package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts +8 -8
- package/types/components/Select/utils/getView.d.ts +1 -1
- package/types/components/Slider/components/Double/Double.styles.d.ts +8 -8
- package/types/components/Table/ui/HeadCell/ui/Filter/Filter.styles.d.ts +6 -6
- package/types/components/TimePicker/TimePicker.styles.d.ts +8 -8
- package/types/examples/components/Autocomplete/Autocomplete.d.ts +8 -8
- package/types/examples/components/Combobox/Legacy/Combobox.d.ts +2 -2
- package/types/examples/components/DatePicker/DatePicker.d.ts +3 -3
- package/types/examples/components/Mask/Mask.d.ts +8 -8
- package/types/examples/components/NumberFormat/NumberFormat.d.ts +8 -8
- package/types/examples/components/NumberInput/NumberInput.d.ts +2 -2
- package/types/examples/components/Radiobox/Radiobox.d.ts +2 -2
- package/types/examples/components/Select/Select.d.ts +6 -6
- package/types/examples/components/TextArea/TextArea.d.ts +8 -8
- package/types/examples/components/TextField/TextField.d.ts +8 -8
- package/types/examples/components/Tokens/Colors/Colors.styles.d.ts +1 -1
- package/types/examples/components/Tokens/Typography/Typography.styles.d.ts +1 -1
- package/types/mixins/applyDisabled.d.ts +14 -0
- package/types/mixins/applyDisabled.d.ts.map +1 -0
- package/types/mixins/index.d.ts +1 -0
- package/types/mixins/index.d.ts.map +1 -1
- package/types/types/InputHTMLAttributes.d.ts +3 -9
- package/types/types/InputHTMLAttributes.d.ts.map +1 -1
- package/types/types/TextareaHTMLAttributes.d.ts +3 -9
- package/types/types/TextareaHTMLAttributes.d.ts.map +1 -1
|
@@ -97,7 +97,7 @@ declare const Select: import("react").FunctionComponent<import("../../../engines
|
|
|
97
97
|
listHeight?: import("react").CSSProperties["height"];
|
|
98
98
|
onScrollBottom?: (e: React.UIEvent<HTMLElement>) => void;
|
|
99
99
|
listOverflow?: import("react").CSSProperties["overflow"];
|
|
100
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "
|
|
100
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | (import("../../../components/TextField/TextField.types").LabelProps & import("../../../components/TextField/TextField.types").RequiredProps & {
|
|
101
101
|
hintText: string;
|
|
102
102
|
hintTrigger?: "hover" | "click";
|
|
103
103
|
hintView?: string;
|
|
@@ -156,7 +156,7 @@ declare const Select: import("react").FunctionComponent<import("../../../engines
|
|
|
156
156
|
listHeight?: import("react").CSSProperties["height"];
|
|
157
157
|
onScrollBottom?: (e: React.UIEvent<HTMLElement>) => void;
|
|
158
158
|
listOverflow?: import("react").CSSProperties["overflow"];
|
|
159
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "
|
|
159
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | (import("../../../components/TextField/TextField.types").LabelProps & import("../../../components/TextField/TextField.types").RequiredProps & {
|
|
160
160
|
hintTrigger?: never;
|
|
161
161
|
hintText?: never;
|
|
162
162
|
hintView?: never;
|
|
@@ -214,7 +214,7 @@ declare const Select: import("react").FunctionComponent<import("../../../engines
|
|
|
214
214
|
listHeight?: import("react").CSSProperties["height"];
|
|
215
215
|
onScrollBottom?: (e: React.UIEvent<HTMLElement>) => void;
|
|
216
216
|
listOverflow?: import("react").CSSProperties["overflow"];
|
|
217
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "
|
|
217
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | (import("../../../components/TextField/TextField.types").LabelProps & import("../../../components/TextField/TextField.types").RequiredProps & {
|
|
218
218
|
hintTrigger?: never;
|
|
219
219
|
hintText?: never;
|
|
220
220
|
hintView?: never;
|
|
@@ -273,7 +273,7 @@ declare const Select: import("react").FunctionComponent<import("../../../engines
|
|
|
273
273
|
listHeight?: import("react").CSSProperties["height"];
|
|
274
274
|
onScrollBottom?: (e: React.UIEvent<HTMLElement>) => void;
|
|
275
275
|
listOverflow?: import("react").CSSProperties["overflow"];
|
|
276
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "
|
|
276
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | (import("../../../components/TextField/TextField.types").LabelProps & {
|
|
277
277
|
target: "button-like";
|
|
278
278
|
view?: "default" | "accent" | "secondary" | "clear" | "positive" | "warning" | "negative" | "dark" | "black" | "white";
|
|
279
279
|
contentLeft?: never;
|
|
@@ -319,7 +319,7 @@ declare const Select: import("react").FunctionComponent<import("../../../engines
|
|
|
319
319
|
listHeight?: import("react").CSSProperties["height"];
|
|
320
320
|
onScrollBottom?: (e: React.UIEvent<HTMLElement>) => void;
|
|
321
321
|
listOverflow?: import("react").CSSProperties["overflow"];
|
|
322
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "
|
|
322
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | (import("../../../components/TextField/TextField.types").LabelProps & {
|
|
323
323
|
target: "button-like";
|
|
324
324
|
view?: "default" | "accent" | "secondary" | "clear" | "positive" | "warning" | "negative" | "dark" | "black" | "white";
|
|
325
325
|
contentLeft?: never;
|
|
@@ -366,6 +366,6 @@ declare const Select: import("react").FunctionComponent<import("../../../engines
|
|
|
366
366
|
listHeight?: import("react").CSSProperties["height"];
|
|
367
367
|
onScrollBottom?: (e: React.UIEvent<HTMLElement>) => void;
|
|
368
368
|
listOverflow?: import("react").CSSProperties["overflow"];
|
|
369
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "
|
|
369
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>))>;
|
|
370
370
|
export { Select };
|
|
371
371
|
//# sourceMappingURL=Select.d.ts.map
|
|
@@ -28,7 +28,7 @@ export declare const TextArea: import("react").FunctionComponent<import("../../.
|
|
|
28
28
|
disabled: {
|
|
29
29
|
true: import("@linaria/core").LinariaClassName;
|
|
30
30
|
};
|
|
31
|
-
}> & ((Omit<import("../../..").TextareaHTMLAttributes<HTMLTextAreaElement>, "
|
|
31
|
+
}> & ((Omit<import("../../..").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "cols" | "rows"> & {
|
|
32
32
|
status?: "" | "success" | "warning" | "error";
|
|
33
33
|
label?: string;
|
|
34
34
|
labelPlacement?: "inner" | "outer";
|
|
@@ -75,7 +75,7 @@ export declare const TextArea: import("react").FunctionComponent<import("../../.
|
|
|
75
75
|
hasDivider?: undefined;
|
|
76
76
|
} & {
|
|
77
77
|
labelAriaHidden?: boolean;
|
|
78
|
-
} & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("../../..").TextareaHTMLAttributes<HTMLTextAreaElement>, "
|
|
78
|
+
} & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("../../..").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "cols" | "rows"> & {
|
|
79
79
|
status?: "" | "success" | "warning" | "error";
|
|
80
80
|
label?: string;
|
|
81
81
|
labelPlacement?: "inner" | "outer";
|
|
@@ -122,7 +122,7 @@ export declare const TextArea: import("react").FunctionComponent<import("../../.
|
|
|
122
122
|
hasDivider?: undefined;
|
|
123
123
|
} & {
|
|
124
124
|
labelAriaHidden?: boolean;
|
|
125
|
-
} & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("../../..").TextareaHTMLAttributes<HTMLTextAreaElement>, "
|
|
125
|
+
} & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("../../..").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "cols" | "rows"> & {
|
|
126
126
|
status?: "" | "success" | "warning" | "error";
|
|
127
127
|
label?: string;
|
|
128
128
|
labelPlacement?: "inner" | "outer";
|
|
@@ -169,7 +169,7 @@ export declare const TextArea: import("react").FunctionComponent<import("../../.
|
|
|
169
169
|
hasDivider?: undefined;
|
|
170
170
|
} & {
|
|
171
171
|
labelAriaHidden?: boolean;
|
|
172
|
-
} & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("../../..").TextareaHTMLAttributes<HTMLTextAreaElement>, "
|
|
172
|
+
} & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("../../..").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "cols" | "rows"> & {
|
|
173
173
|
status?: "" | "success" | "warning" | "error";
|
|
174
174
|
label?: string;
|
|
175
175
|
labelPlacement?: "inner" | "outer";
|
|
@@ -216,7 +216,7 @@ export declare const TextArea: import("react").FunctionComponent<import("../../.
|
|
|
216
216
|
width?: undefined;
|
|
217
217
|
} & {
|
|
218
218
|
labelAriaHidden?: boolean;
|
|
219
|
-
} & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("../../..").TextareaHTMLAttributes<HTMLTextAreaElement>, "
|
|
219
|
+
} & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("../../..").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "cols" | "rows"> & {
|
|
220
220
|
status?: "" | "success" | "warning" | "error";
|
|
221
221
|
label?: string;
|
|
222
222
|
labelPlacement?: "inner" | "outer";
|
|
@@ -263,7 +263,7 @@ export declare const TextArea: import("react").FunctionComponent<import("../../.
|
|
|
263
263
|
hasDivider?: undefined;
|
|
264
264
|
} & {
|
|
265
265
|
labelAriaHidden?: boolean;
|
|
266
|
-
} & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("../../..").TextareaHTMLAttributes<HTMLTextAreaElement>, "
|
|
266
|
+
} & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("../../..").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "cols" | "rows"> & {
|
|
267
267
|
status?: "" | "success" | "warning" | "error";
|
|
268
268
|
label?: string;
|
|
269
269
|
labelPlacement?: "inner" | "outer";
|
|
@@ -310,7 +310,7 @@ export declare const TextArea: import("react").FunctionComponent<import("../../.
|
|
|
310
310
|
hasDivider?: undefined;
|
|
311
311
|
} & {
|
|
312
312
|
labelAriaHidden?: boolean;
|
|
313
|
-
} & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("../../..").TextareaHTMLAttributes<HTMLTextAreaElement>, "
|
|
313
|
+
} & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("../../..").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "cols" | "rows"> & {
|
|
314
314
|
status?: "" | "success" | "warning" | "error";
|
|
315
315
|
label?: string;
|
|
316
316
|
labelPlacement?: "inner" | "outer";
|
|
@@ -357,7 +357,7 @@ export declare const TextArea: import("react").FunctionComponent<import("../../.
|
|
|
357
357
|
hasDivider?: undefined;
|
|
358
358
|
} & {
|
|
359
359
|
labelAriaHidden?: boolean;
|
|
360
|
-
} & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("../../..").TextareaHTMLAttributes<HTMLTextAreaElement>, "
|
|
360
|
+
} & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("../../..").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "cols" | "rows"> & {
|
|
361
361
|
status?: "" | "success" | "warning" | "error";
|
|
362
362
|
label?: string;
|
|
363
363
|
labelPlacement?: "inner" | "outer";
|
|
@@ -76,7 +76,7 @@ export declare const TextField: import("react").FunctionComponent<import("../../
|
|
|
76
76
|
chipType?: never;
|
|
77
77
|
chipView?: never;
|
|
78
78
|
chipValidator?: never;
|
|
79
|
-
} & Omit<import("../../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
79
|
+
} & Omit<import("../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
|
80
80
|
size?: string;
|
|
81
81
|
view?: string;
|
|
82
82
|
readOnly?: boolean;
|
|
@@ -114,7 +114,7 @@ export declare const TextField: import("react").FunctionComponent<import("../../
|
|
|
114
114
|
chipValidator?: (value: string) => {
|
|
115
115
|
view?: string;
|
|
116
116
|
};
|
|
117
|
-
} & Omit<import("../../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
117
|
+
} & Omit<import("../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
|
118
118
|
size?: string;
|
|
119
119
|
view?: string;
|
|
120
120
|
readOnly?: boolean;
|
|
@@ -150,7 +150,7 @@ export declare const TextField: import("react").FunctionComponent<import("../../
|
|
|
150
150
|
chipType?: never;
|
|
151
151
|
chipView?: never;
|
|
152
152
|
chipValidator?: never;
|
|
153
|
-
} & Omit<import("../../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
153
|
+
} & Omit<import("../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
|
154
154
|
size?: string;
|
|
155
155
|
view?: string;
|
|
156
156
|
readOnly?: boolean;
|
|
@@ -188,7 +188,7 @@ export declare const TextField: import("react").FunctionComponent<import("../../
|
|
|
188
188
|
chipValidator?: (value: string) => {
|
|
189
189
|
view?: string;
|
|
190
190
|
};
|
|
191
|
-
} & Omit<import("../../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
191
|
+
} & Omit<import("../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
|
192
192
|
size?: string;
|
|
193
193
|
view?: string;
|
|
194
194
|
readOnly?: boolean;
|
|
@@ -224,7 +224,7 @@ export declare const TextField: import("react").FunctionComponent<import("../../
|
|
|
224
224
|
chipType?: never;
|
|
225
225
|
chipView?: never;
|
|
226
226
|
chipValidator?: never;
|
|
227
|
-
} & Omit<import("../../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
227
|
+
} & Omit<import("../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
|
228
228
|
size?: string;
|
|
229
229
|
view?: string;
|
|
230
230
|
readOnly?: boolean;
|
|
@@ -262,7 +262,7 @@ export declare const TextField: import("react").FunctionComponent<import("../../
|
|
|
262
262
|
chipValidator?: (value: string) => {
|
|
263
263
|
view?: string;
|
|
264
264
|
};
|
|
265
|
-
} & Omit<import("../../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
265
|
+
} & Omit<import("../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
|
266
266
|
size?: string;
|
|
267
267
|
view?: string;
|
|
268
268
|
readOnly?: boolean;
|
|
@@ -298,7 +298,7 @@ export declare const TextField: import("react").FunctionComponent<import("../../
|
|
|
298
298
|
chipType?: never;
|
|
299
299
|
chipView?: never;
|
|
300
300
|
chipValidator?: never;
|
|
301
|
-
} & Omit<import("../../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
301
|
+
} & Omit<import("../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
|
302
302
|
size?: string;
|
|
303
303
|
view?: string;
|
|
304
304
|
readOnly?: boolean;
|
|
@@ -336,5 +336,5 @@ export declare const TextField: import("react").FunctionComponent<import("../../
|
|
|
336
336
|
chipValidator?: (value: string) => {
|
|
337
337
|
view?: string;
|
|
338
338
|
};
|
|
339
|
-
} & Omit<import("../../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
339
|
+
} & Omit<import("../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>))>;
|
|
340
340
|
//# sourceMappingURL=TextField.d.ts.map
|
|
@@ -35,7 +35,7 @@ export declare const StyledSegmentItem: import("@linaria/react").StyledMeta & im
|
|
|
35
35
|
export declare const AccordionInfo: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
36
36
|
export declare const Subcategory: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
37
37
|
export declare const ColumnTitle: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
38
|
-
export declare const StyledAccordionItem: import("@linaria/react").StyledMeta & import("react").ForwardRefExoticComponent<Omit<import("react").HTMLAttributes<HTMLElement>, "
|
|
38
|
+
export declare const StyledAccordionItem: import("@linaria/react").StyledMeta & import("react").ForwardRefExoticComponent<Omit<import("react").HTMLAttributes<HTMLElement>, "title" | "onChange"> & {
|
|
39
39
|
value?: boolean;
|
|
40
40
|
type?: "clear" | "arrow" | "sign";
|
|
41
41
|
contentLeft?: import("react").ReactNode;
|
|
@@ -37,7 +37,7 @@ export declare const StyledSegmentItem: import("@linaria/react").StyledMeta & im
|
|
|
37
37
|
export declare const AccordionTypographyTitle: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
38
38
|
export declare const FontFamily: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & Record<never, unknown>>;
|
|
39
39
|
export declare const AccordionInfo: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
40
|
-
export declare const StyledAccordionItem: import("@linaria/react").StyledMeta & import("react").ForwardRefExoticComponent<Omit<import("react").HTMLAttributes<HTMLElement>, "
|
|
40
|
+
export declare const StyledAccordionItem: import("@linaria/react").StyledMeta & import("react").ForwardRefExoticComponent<Omit<import("react").HTMLAttributes<HTMLElement>, "title" | "onChange"> & {
|
|
41
41
|
value?: boolean;
|
|
42
42
|
type?: "clear" | "arrow" | "sign";
|
|
43
43
|
contentLeft?: import("react").ReactNode;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { InterpolationFunction } from 'styled-components';
|
|
2
|
+
export interface DisabledProps {
|
|
3
|
+
/**
|
|
4
|
+
* Компонент неактивен
|
|
5
|
+
*/
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Миксин неактивной кнопки
|
|
10
|
+
*/
|
|
11
|
+
export declare const applyDisabled: InterpolationFunction<DisabledProps & {
|
|
12
|
+
$disabled?: boolean;
|
|
13
|
+
}>;
|
|
14
|
+
//# sourceMappingURL=applyDisabled.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"applyDisabled.d.ts","sourceRoot":"","sources":["../../src/mixins/applyDisabled.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAE/D,MAAM,WAAW,aAAa;IAC1B;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB;AAcD;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,qBAAqB,CAAC,aAAa,GAAG;IAAE,SAAS,CAAC,EAAE,OAAO,CAAA;CAAE,CASxF,CAAC"}
|
package/types/mixins/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export * from './addFocus';
|
|
|
8
8
|
export * from './typography';
|
|
9
9
|
export * from './applyRoundness';
|
|
10
10
|
export * from './applySkeletonGradient';
|
|
11
|
+
export * from './applyDisabled';
|
|
11
12
|
export * from './applyHidden';
|
|
12
13
|
export * from './createApplyPaperMixin';
|
|
13
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/mixins/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,yBAAyB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/mixins/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,yBAAyB,CAAC"}
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Компонент неактивен
|
|
5
|
-
*/
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
}
|
|
2
|
+
import { DisabledProps } from '../mixins';
|
|
8
3
|
export interface InputHTMLAttributes<T> extends DisabledProps, React.InputHTMLAttributes<T> {
|
|
9
4
|
/**
|
|
10
5
|
* Тип элемента формы
|
|
@@ -47,13 +42,12 @@ export interface InputHTMLAttributes<T> extends DisabledProps, React.InputHTMLAt
|
|
|
47
42
|
*/
|
|
48
43
|
onChange?: React.InputHTMLAttributes<T>['onChange'];
|
|
49
44
|
/**
|
|
50
|
-
* Обработчик
|
|
45
|
+
* Обработчик фокуса на элементе формы
|
|
51
46
|
*/
|
|
52
47
|
onFocus?: React.InputHTMLAttributes<T>['onFocus'];
|
|
53
48
|
/**
|
|
54
|
-
* Обработчик
|
|
49
|
+
* Обработчик блюра на элементе формы
|
|
55
50
|
*/
|
|
56
51
|
onBlur?: React.InputHTMLAttributes<T>['onBlur'];
|
|
57
52
|
}
|
|
58
|
-
export {};
|
|
59
53
|
//# sourceMappingURL=InputHTMLAttributes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputHTMLAttributes.d.ts","sourceRoot":"","sources":["../../src/types/InputHTMLAttributes.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,
|
|
1
|
+
{"version":3,"file":"InputHTMLAttributes.d.ts","sourceRoot":"","sources":["../../src/types/InputHTMLAttributes.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAE1C,MAAM,WAAW,mBAAmB,CAAC,CAAC,CAAE,SAAQ,aAAa,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC,CAAC;IACvF;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,aAAa,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;IAChD;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC;IACpD;;OAEG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;CACnD"}
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Компонент неактивен
|
|
5
|
-
*/
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
}
|
|
2
|
+
import { DisabledProps } from '../mixins';
|
|
8
3
|
export interface TextareaHTMLAttributes<T> extends DisabledProps, React.TextareaHTMLAttributes<T> {
|
|
9
4
|
autoComplete?: string;
|
|
10
5
|
autoFocus?: boolean;
|
|
@@ -46,13 +41,12 @@ export interface TextareaHTMLAttributes<T> extends DisabledProps, React.Textarea
|
|
|
46
41
|
*/
|
|
47
42
|
onChange?: React.TextareaHTMLAttributes<T>['onChange'];
|
|
48
43
|
/**
|
|
49
|
-
* Обработчик
|
|
44
|
+
* Обработчик фокуса на элементе формы
|
|
50
45
|
*/
|
|
51
46
|
onFocus?: React.TextareaHTMLAttributes<T>['onFocus'];
|
|
52
47
|
/**
|
|
53
|
-
* Обработчик
|
|
48
|
+
* Обработчик блюра на элементе формы
|
|
54
49
|
*/
|
|
55
50
|
onBlur?: React.TextareaHTMLAttributes<T>['onBlur'];
|
|
56
51
|
}
|
|
57
|
-
export {};
|
|
58
52
|
//# sourceMappingURL=TextareaHTMLAttributes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextareaHTMLAttributes.d.ts","sourceRoot":"","sources":["../../src/types/TextareaHTMLAttributes.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,
|
|
1
|
+
{"version":3,"file":"TextareaHTMLAttributes.d.ts","sourceRoot":"","sources":["../../src/types/TextareaHTMLAttributes.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAE1C,MAAM,WAAW,sBAAsB,CAAC,CAAC,CAAE,SAAQ,aAAa,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC,CAAC;IAC7F,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,aAAa,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;IAChD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC;IACvD;;OAEG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IACrD;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;CACtD"}
|