@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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salutejs/plasma-new-hope",
|
|
3
|
-
"version": "0.337.1-canary.
|
|
3
|
+
"version": "0.337.1-canary.2276.18273012590.0",
|
|
4
4
|
"description": "Salute Design System blueprint",
|
|
5
5
|
"main": "cjs/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -137,5 +137,5 @@
|
|
|
137
137
|
"sideEffects": [
|
|
138
138
|
"*.css"
|
|
139
139
|
],
|
|
140
|
-
"gitHead": "
|
|
140
|
+
"gitHead": "b584e9d5e440f5304fe5c85c7df0af159166e7c3"
|
|
141
141
|
}
|
|
@@ -21,10 +21,10 @@ var _plasmacore = require("@salutejs/plasma-core");
|
|
|
21
21
|
var _utils = require("../../utils");
|
|
22
22
|
var _engines = require("../../engines");
|
|
23
23
|
var _hooks = require("../../hooks");
|
|
24
|
+
var _Icon = require("../_Icon");
|
|
24
25
|
var _Popup = require("../Popup");
|
|
25
26
|
var _Overlay = require("../Overlay");
|
|
26
27
|
var _utils1 = require("../Popup/utils");
|
|
27
|
-
var _IconClose = require("../_Icon/Icons/IconClose");
|
|
28
28
|
var _Modaltokens = require("./Modal.tokens");
|
|
29
29
|
var _hooks1 = require("./hooks");
|
|
30
30
|
var _base = require("./variations/_view/base");
|
|
@@ -130,7 +130,7 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
130
130
|
var Popup = (0, _engines.component)(_Popup.popupConfig);
|
|
131
131
|
var modalRoot = function(Root) {
|
|
132
132
|
return /*#__PURE__*/ (0, _react.forwardRef)(function(_param, outerRootRef) {
|
|
133
|
-
var id = _param.id, withAnimation = _param.withAnimation, onClose = _param.onClose, onOverlayClick = _param.onOverlayClick, onEscKeyDown = _param.onEscKeyDown, _param_closeOnEsc = _param.closeOnEsc, closeOnEsc = _param_closeOnEsc === void 0 ? true : _param_closeOnEsc, _param_closeOnOverlayClick = _param.closeOnOverlayClick, closeOnOverlayClick = _param_closeOnOverlayClick === void 0 ? true : _param_closeOnOverlayClick, withBlur = _param.withBlur, _param_isFocusTrapped = _param.isFocusTrapped, isFocusTrapped = _param_isFocusTrapped === void 0 ? true : _param_isFocusTrapped, initialFocusRef = _param.initialFocusRef, focusAfterRef = _param.focusAfterRef, zIndex = _param.zIndex, popupInfo = _param.popupInfo, children = _param.children, view = _param.view, opened = _param.opened, isOpen = _param.isOpen, hasBody = _param.hasBody, hasClose = _param.hasClose, resizable = _param.resizable, draggable = _param.draggable, rest = _object_without_properties(_param, [
|
|
133
|
+
var id = _param.id, withAnimation = _param.withAnimation, onClose = _param.onClose, onOverlayClick = _param.onOverlayClick, onEscKeyDown = _param.onEscKeyDown, _param_closeOnEsc = _param.closeOnEsc, closeOnEsc = _param_closeOnEsc === void 0 ? true : _param_closeOnEsc, _param_closeOnOverlayClick = _param.closeOnOverlayClick, closeOnOverlayClick = _param_closeOnOverlayClick === void 0 ? true : _param_closeOnOverlayClick, withBlur = _param.withBlur, _param_isFocusTrapped = _param.isFocusTrapped, isFocusTrapped = _param_isFocusTrapped === void 0 ? true : _param_isFocusTrapped, initialFocusRef = _param.initialFocusRef, focusAfterRef = _param.focusAfterRef, zIndex = _param.zIndex, popupInfo = _param.popupInfo, children = _param.children, view = _param.view, opened = _param.opened, isOpen = _param.isOpen, hasBody = _param.hasBody, hasClose = _param.hasClose, resizable = _param.resizable, draggable = _param.draggable, overlay = _param.overlay, rest = _object_without_properties(_param, [
|
|
134
134
|
"id",
|
|
135
135
|
"withAnimation",
|
|
136
136
|
"onClose",
|
|
@@ -151,7 +151,8 @@ var modalRoot = function(Root) {
|
|
|
151
151
|
"hasBody",
|
|
152
152
|
"hasClose",
|
|
153
153
|
"resizable",
|
|
154
|
-
"draggable"
|
|
154
|
+
"draggable",
|
|
155
|
+
"overlay"
|
|
155
156
|
]);
|
|
156
157
|
var innerIsOpen = Boolean(isOpen || opened);
|
|
157
158
|
var innerHasClose = hasClose === undefined && hasBody || hasClose;
|
|
@@ -204,9 +205,9 @@ var modalRoot = function(Root) {
|
|
|
204
205
|
popupInfo: modalInfo,
|
|
205
206
|
withAnimation: withAnimation,
|
|
206
207
|
zIndex: zIndex,
|
|
207
|
-
overlay:
|
|
208
|
+
overlay: /*#__PURE__*/ _react.default.createElement(Root, {
|
|
208
209
|
view: view
|
|
209
|
-
}, overlayNode),
|
|
210
|
+
}, overlay || overlayNode),
|
|
210
211
|
draggable: draggable,
|
|
211
212
|
resizable: resizable
|
|
212
213
|
}, rest), hasBody ? /*#__PURE__*/ _react.default.createElement(Root, {
|
|
@@ -214,7 +215,7 @@ var modalRoot = function(Root) {
|
|
|
214
215
|
}, /*#__PURE__*/ _react.default.createElement(_Modalstyles.ModalBody, null, /*#__PURE__*/ _react.default.createElement(_Modalstyles.ModalContent, null, innerHasClose && /*#__PURE__*/ _react.default.createElement(_Modalstyles.CloseButton, {
|
|
215
216
|
onClick: onClose,
|
|
216
217
|
"data-test": "modal-close"
|
|
217
|
-
}, /*#__PURE__*/ _react.default.createElement(
|
|
218
|
+
}, /*#__PURE__*/ _react.default.createElement(_Icon.IconClose, {
|
|
218
219
|
size: "s",
|
|
219
220
|
color: "currentColor"
|
|
220
221
|
})), children))) : /*#__PURE__*/ _react.default.createElement(_react.default.Fragment, null, children));
|
|
@@ -1 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
Object.defineProperty(exports, "Combobox", {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: function() {
|
|
8
|
+
return Combobox;
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
var _engines = require("../../../engines");
|
|
12
|
+
var _ = require("../../..");
|
|
13
|
+
var _Comboboxconfig = require("./Combobox.config");
|
|
14
|
+
var mergedConfig = (0, _engines.mergeConfig)(_.comboboxNewConfig, _Comboboxconfig.config);
|
|
15
|
+
var ComboboxComponent = (0, _engines.component)(mergedConfig);
|
|
16
|
+
var Combobox = ComboboxComponent;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
Object.defineProperty(exports, "applyDisabled", {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: function() {
|
|
8
|
+
return applyDisabled;
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
var _styledcomponents = require("styled-components");
|
|
12
|
+
// TODO: #2033
|
|
13
|
+
var disabledCss = (0, _styledcomponents.css)([
|
|
14
|
+
"opacity:0.4;cursor:not-allowed;&:hover,&:active{transform:none;}"
|
|
15
|
+
]);
|
|
16
|
+
var applyDisabled = function(param) {
|
|
17
|
+
var disabled = param.disabled, $disabled = param.$disabled;
|
|
18
|
+
return (0, _styledcomponents.css)([
|
|
19
|
+
"&:disabled{",
|
|
20
|
+
"}",
|
|
21
|
+
""
|
|
22
|
+
], disabledCss, (disabled || $disabled) && disabledCss);
|
|
23
|
+
};
|
|
@@ -12,6 +12,7 @@ _export_star(require("./addFocus"), exports);
|
|
|
12
12
|
_export_star(require("./typography"), exports);
|
|
13
13
|
_export_star(require("./applyRoundness"), exports);
|
|
14
14
|
_export_star(require("./applySkeletonGradient"), exports);
|
|
15
|
+
_export_star(require("./applyDisabled"), exports);
|
|
15
16
|
_export_star(require("./applyHidden"), exports);
|
|
16
17
|
_export_star(require("./createApplyPaperMixin"), exports);
|
|
17
18
|
function _export_star(from, to) {
|
|
@@ -58,10 +58,10 @@ import { useForkRef } from "@salutejs/plasma-core";
|
|
|
58
58
|
import { safeUseId } from "../../utils";
|
|
59
59
|
import { component } from "../../engines";
|
|
60
60
|
import { useFocusTrap } from "../../hooks";
|
|
61
|
+
import { IconClose } from "../_Icon";
|
|
61
62
|
import { popupConfig, usePopupContext } from "../Popup";
|
|
62
63
|
import { Overlay } from "../Overlay";
|
|
63
64
|
import { DEFAULT_Z_INDEX } from "../Popup/utils";
|
|
64
|
-
import { IconClose } from "../_Icon/Icons/IconClose";
|
|
65
65
|
import { classes, tokens } from "./Modal.tokens";
|
|
66
66
|
import { useModal } from "./hooks";
|
|
67
67
|
import { base as viewCSS } from "./variations/_view/base";
|
|
@@ -74,7 +74,7 @@ var Popup = component(popupConfig);
|
|
|
74
74
|
* Управляет показом/скрытием, подложкой и анимацией визуальной части модального окна.
|
|
75
75
|
*/ export var modalRoot = function(Root) {
|
|
76
76
|
return /*#__PURE__*/ forwardRef(function(_param, outerRootRef) {
|
|
77
|
-
var id = _param.id, withAnimation = _param.withAnimation, onClose = _param.onClose, onOverlayClick = _param.onOverlayClick, onEscKeyDown = _param.onEscKeyDown, _param_closeOnEsc = _param.closeOnEsc, closeOnEsc = _param_closeOnEsc === void 0 ? true : _param_closeOnEsc, _param_closeOnOverlayClick = _param.closeOnOverlayClick, closeOnOverlayClick = _param_closeOnOverlayClick === void 0 ? true : _param_closeOnOverlayClick, withBlur = _param.withBlur, _param_isFocusTrapped = _param.isFocusTrapped, isFocusTrapped = _param_isFocusTrapped === void 0 ? true : _param_isFocusTrapped, initialFocusRef = _param.initialFocusRef, focusAfterRef = _param.focusAfterRef, zIndex = _param.zIndex, popupInfo = _param.popupInfo, children = _param.children, view = _param.view, opened = _param.opened, isOpen = _param.isOpen, hasBody = _param.hasBody, hasClose = _param.hasClose, resizable = _param.resizable, draggable = _param.draggable, rest = _object_without_properties(_param, [
|
|
77
|
+
var id = _param.id, withAnimation = _param.withAnimation, onClose = _param.onClose, onOverlayClick = _param.onOverlayClick, onEscKeyDown = _param.onEscKeyDown, _param_closeOnEsc = _param.closeOnEsc, closeOnEsc = _param_closeOnEsc === void 0 ? true : _param_closeOnEsc, _param_closeOnOverlayClick = _param.closeOnOverlayClick, closeOnOverlayClick = _param_closeOnOverlayClick === void 0 ? true : _param_closeOnOverlayClick, withBlur = _param.withBlur, _param_isFocusTrapped = _param.isFocusTrapped, isFocusTrapped = _param_isFocusTrapped === void 0 ? true : _param_isFocusTrapped, initialFocusRef = _param.initialFocusRef, focusAfterRef = _param.focusAfterRef, zIndex = _param.zIndex, popupInfo = _param.popupInfo, children = _param.children, view = _param.view, opened = _param.opened, isOpen = _param.isOpen, hasBody = _param.hasBody, hasClose = _param.hasClose, resizable = _param.resizable, draggable = _param.draggable, overlay = _param.overlay, rest = _object_without_properties(_param, [
|
|
78
78
|
"id",
|
|
79
79
|
"withAnimation",
|
|
80
80
|
"onClose",
|
|
@@ -95,7 +95,8 @@ var Popup = component(popupConfig);
|
|
|
95
95
|
"hasBody",
|
|
96
96
|
"hasClose",
|
|
97
97
|
"resizable",
|
|
98
|
-
"draggable"
|
|
98
|
+
"draggable",
|
|
99
|
+
"overlay"
|
|
99
100
|
]);
|
|
100
101
|
var innerIsOpen = Boolean(isOpen || opened);
|
|
101
102
|
var innerHasClose = hasClose === undefined && hasBody || hasClose;
|
|
@@ -148,9 +149,9 @@ var Popup = component(popupConfig);
|
|
|
148
149
|
popupInfo: modalInfo,
|
|
149
150
|
withAnimation: withAnimation,
|
|
150
151
|
zIndex: zIndex,
|
|
151
|
-
overlay:
|
|
152
|
+
overlay: /*#__PURE__*/ React.createElement(Root, {
|
|
152
153
|
view: view
|
|
153
|
-
}, overlayNode),
|
|
154
|
+
}, overlay || overlayNode),
|
|
154
155
|
draggable: draggable,
|
|
155
156
|
resizable: resizable
|
|
156
157
|
}, rest), hasBody ? /*#__PURE__*/ React.createElement(Root, {
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { component, mergeConfig } from "../../../engines";
|
|
2
|
-
import { comboboxNewConfig } from "../../..";
|
|
3
|
-
import { config } from "./Combobox.config";
|
|
4
|
-
var mergedConfig = mergeConfig(comboboxNewConfig, config);
|
|
5
|
-
var ComboboxComponent = component(mergedConfig);
|
|
6
|
-
var Combobox = ComboboxComponent;
|
|
7
|
-
export { Combobox };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { css } from "styled-components";
|
|
2
|
+
// TODO: #2033
|
|
3
|
+
var disabledCss = css([
|
|
4
|
+
"opacity:0.4;cursor:not-allowed;&:hover,&:active{transform:none;}"
|
|
5
|
+
]);
|
|
6
|
+
/**
|
|
7
|
+
* Миксин неактивной кнопки
|
|
8
|
+
*/ export var applyDisabled = function(param) {
|
|
9
|
+
var disabled = param.disabled, $disabled = param.$disabled;
|
|
10
|
+
return css([
|
|
11
|
+
"&:disabled{",
|
|
12
|
+
"}",
|
|
13
|
+
""
|
|
14
|
+
], disabledCss, (disabled || $disabled) && disabledCss);
|
|
15
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export declare const AccordionItem: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLElement>, "
|
|
2
|
+
export declare const AccordionItem: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLElement>, "title" | "onChange"> & {
|
|
3
3
|
value?: boolean;
|
|
4
4
|
type?: "clear" | "arrow" | "sign";
|
|
5
5
|
contentLeft?: React.ReactNode;
|
|
@@ -34,7 +34,7 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
|
34
34
|
chipType?: never;
|
|
35
35
|
chipView?: never;
|
|
36
36
|
chipValidator?: never;
|
|
37
|
-
} & Omit<import("../../../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
37
|
+
} & Omit<import("../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
|
38
38
|
size?: string;
|
|
39
39
|
view?: string;
|
|
40
40
|
readOnly?: boolean;
|
|
@@ -72,7 +72,7 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
|
72
72
|
chipValidator?: (value: string) => {
|
|
73
73
|
view?: string;
|
|
74
74
|
};
|
|
75
|
-
} & Omit<import("../../../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
75
|
+
} & Omit<import("../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
|
76
76
|
size?: string;
|
|
77
77
|
view?: string;
|
|
78
78
|
readOnly?: boolean;
|
|
@@ -108,7 +108,7 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
|
108
108
|
chipType?: never;
|
|
109
109
|
chipView?: never;
|
|
110
110
|
chipValidator?: never;
|
|
111
|
-
} & Omit<import("../../../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
111
|
+
} & Omit<import("../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
|
112
112
|
size?: string;
|
|
113
113
|
view?: string;
|
|
114
114
|
readOnly?: boolean;
|
|
@@ -146,7 +146,7 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
|
146
146
|
chipValidator?: (value: string) => {
|
|
147
147
|
view?: string;
|
|
148
148
|
};
|
|
149
|
-
} & Omit<import("../../../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
149
|
+
} & Omit<import("../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
|
150
150
|
size?: string;
|
|
151
151
|
view?: string;
|
|
152
152
|
readOnly?: boolean;
|
|
@@ -182,7 +182,7 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
|
182
182
|
chipType?: never;
|
|
183
183
|
chipView?: never;
|
|
184
184
|
chipValidator?: never;
|
|
185
|
-
} & Omit<import("../../../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
185
|
+
} & Omit<import("../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
|
186
186
|
size?: string;
|
|
187
187
|
view?: string;
|
|
188
188
|
readOnly?: boolean;
|
|
@@ -220,7 +220,7 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
|
220
220
|
chipValidator?: (value: string) => {
|
|
221
221
|
view?: string;
|
|
222
222
|
};
|
|
223
|
-
} & Omit<import("../../../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
223
|
+
} & Omit<import("../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
|
224
224
|
size?: string;
|
|
225
225
|
view?: string;
|
|
226
226
|
readOnly?: boolean;
|
|
@@ -256,7 +256,7 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
|
256
256
|
chipType?: never;
|
|
257
257
|
chipView?: never;
|
|
258
258
|
chipValidator?: never;
|
|
259
|
-
} & Omit<import("../../../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
259
|
+
} & Omit<import("../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
|
260
260
|
size?: string;
|
|
261
261
|
view?: string;
|
|
262
262
|
readOnly?: boolean;
|
|
@@ -294,5 +294,5 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
|
294
294
|
chipValidator?: (value: string) => {
|
|
295
295
|
view?: string;
|
|
296
296
|
};
|
|
297
|
-
} & Omit<import("../../../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
297
|
+
} & Omit<import("../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>))>;
|
|
298
298
|
//# sourceMappingURL=TextField.styles.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { ChangeEvent } from 'react';
|
|
2
2
|
import { ComboboxProps } from '../../Combobox.types';
|
|
3
3
|
import { ValueToItemMapType } from '../../hooks/getPathMaps';
|
|
4
|
-
export declare const SelectNative: React.ForwardRefExoticComponent<Pick<ComboboxProps, "name" | "
|
|
4
|
+
export declare const SelectNative: React.ForwardRefExoticComponent<Pick<ComboboxProps, "name" | "value" | "multiple"> & {
|
|
5
5
|
onChange: (value: ChangeEvent<HTMLSelectElement> | null) => void;
|
|
6
6
|
onSetValue: (value: string | string[]) => void;
|
|
7
7
|
items: ValueToItemMapType;
|
|
@@ -34,7 +34,7 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
|
34
34
|
chipType?: never;
|
|
35
35
|
chipView?: never;
|
|
36
36
|
chipValidator?: never;
|
|
37
|
-
} & Omit<import("../../../../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
37
|
+
} & Omit<import("../../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
|
38
38
|
size?: string;
|
|
39
39
|
view?: string;
|
|
40
40
|
readOnly?: boolean;
|
|
@@ -72,7 +72,7 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
|
72
72
|
chipValidator?: (value: string) => {
|
|
73
73
|
view?: string;
|
|
74
74
|
};
|
|
75
|
-
} & Omit<import("../../../../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
75
|
+
} & Omit<import("../../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
|
76
76
|
size?: string;
|
|
77
77
|
view?: string;
|
|
78
78
|
readOnly?: boolean;
|
|
@@ -108,7 +108,7 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
|
108
108
|
chipType?: never;
|
|
109
109
|
chipView?: never;
|
|
110
110
|
chipValidator?: never;
|
|
111
|
-
} & Omit<import("../../../../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
111
|
+
} & Omit<import("../../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
|
112
112
|
size?: string;
|
|
113
113
|
view?: string;
|
|
114
114
|
readOnly?: boolean;
|
|
@@ -146,7 +146,7 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
|
146
146
|
chipValidator?: (value: string) => {
|
|
147
147
|
view?: string;
|
|
148
148
|
};
|
|
149
|
-
} & Omit<import("../../../../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
149
|
+
} & Omit<import("../../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
|
150
150
|
size?: string;
|
|
151
151
|
view?: string;
|
|
152
152
|
readOnly?: boolean;
|
|
@@ -182,7 +182,7 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
|
182
182
|
chipType?: never;
|
|
183
183
|
chipView?: never;
|
|
184
184
|
chipValidator?: never;
|
|
185
|
-
} & Omit<import("../../../../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
185
|
+
} & Omit<import("../../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
|
186
186
|
size?: string;
|
|
187
187
|
view?: string;
|
|
188
188
|
readOnly?: boolean;
|
|
@@ -220,7 +220,7 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
|
220
220
|
chipValidator?: (value: string) => {
|
|
221
221
|
view?: string;
|
|
222
222
|
};
|
|
223
|
-
} & Omit<import("../../../../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
223
|
+
} & Omit<import("../../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
|
224
224
|
size?: string;
|
|
225
225
|
view?: string;
|
|
226
226
|
readOnly?: boolean;
|
|
@@ -256,7 +256,7 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
|
256
256
|
chipType?: never;
|
|
257
257
|
chipView?: never;
|
|
258
258
|
chipValidator?: never;
|
|
259
|
-
} & Omit<import("../../../../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
259
|
+
} & Omit<import("../../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
|
260
260
|
size?: string;
|
|
261
261
|
view?: string;
|
|
262
262
|
readOnly?: boolean;
|
|
@@ -294,5 +294,5 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
|
294
294
|
chipValidator?: (value: string) => {
|
|
295
295
|
view?: string;
|
|
296
296
|
};
|
|
297
|
-
} & Omit<import("../../../../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
297
|
+
} & Omit<import("../../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>))>;
|
|
298
298
|
//# sourceMappingURL=Target.styles.d.ts.map
|
|
@@ -24,13 +24,13 @@ export declare const datePickerRangeRoot: (Root: RootProps<HTMLDivElement, Omit<
|
|
|
24
24
|
};
|
|
25
25
|
}) => void;
|
|
26
26
|
} & {
|
|
27
|
-
size?: string | undefined;
|
|
28
|
-
disabled?: boolean | undefined;
|
|
29
27
|
label?: string | undefined;
|
|
30
28
|
view?: string | undefined;
|
|
29
|
+
disabled?: boolean | undefined;
|
|
30
|
+
autoComplete?: string | undefined;
|
|
31
31
|
readOnly?: boolean | undefined;
|
|
32
32
|
required?: boolean | undefined;
|
|
33
|
-
|
|
33
|
+
size?: string | undefined;
|
|
34
34
|
contentLeft?: React.ReactNode;
|
|
35
35
|
contentRight?: React.ReactNode;
|
|
36
36
|
leftHelper?: string | undefined;
|
|
@@ -83,13 +83,13 @@ export declare const datePickerRangeConfig: {
|
|
|
83
83
|
};
|
|
84
84
|
}) => void;
|
|
85
85
|
} & {
|
|
86
|
-
size?: string | undefined;
|
|
87
|
-
disabled?: boolean | undefined;
|
|
88
86
|
label?: string | undefined;
|
|
89
87
|
view?: string | undefined;
|
|
88
|
+
disabled?: boolean | undefined;
|
|
89
|
+
autoComplete?: string | undefined;
|
|
90
90
|
readOnly?: boolean | undefined;
|
|
91
91
|
required?: boolean | undefined;
|
|
92
|
-
|
|
92
|
+
size?: string | undefined;
|
|
93
93
|
contentLeft?: React.ReactNode;
|
|
94
94
|
contentRight?: React.ReactNode;
|
|
95
95
|
leftHelper?: string | undefined;
|
|
@@ -35,7 +35,7 @@ export declare const StyledInput: import("@linaria/react").StyledMeta & import("
|
|
|
35
35
|
chipType?: never;
|
|
36
36
|
chipView?: never;
|
|
37
37
|
chipValidator?: never;
|
|
38
|
-
} & Omit<import("../../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
38
|
+
} & Omit<import("../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
|
39
39
|
size?: string;
|
|
40
40
|
view?: string;
|
|
41
41
|
readOnly?: boolean;
|
|
@@ -73,7 +73,7 @@ export declare const StyledInput: import("@linaria/react").StyledMeta & import("
|
|
|
73
73
|
chipValidator?: (value: string) => {
|
|
74
74
|
view?: string;
|
|
75
75
|
};
|
|
76
|
-
} & Omit<import("../../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
76
|
+
} & Omit<import("../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
|
77
77
|
size?: string;
|
|
78
78
|
view?: string;
|
|
79
79
|
readOnly?: boolean;
|
|
@@ -109,7 +109,7 @@ export declare const StyledInput: import("@linaria/react").StyledMeta & import("
|
|
|
109
109
|
chipType?: never;
|
|
110
110
|
chipView?: never;
|
|
111
111
|
chipValidator?: never;
|
|
112
|
-
} & Omit<import("../../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
112
|
+
} & Omit<import("../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
|
113
113
|
size?: string;
|
|
114
114
|
view?: string;
|
|
115
115
|
readOnly?: boolean;
|
|
@@ -147,7 +147,7 @@ export declare const StyledInput: import("@linaria/react").StyledMeta & import("
|
|
|
147
147
|
chipValidator?: (value: string) => {
|
|
148
148
|
view?: string;
|
|
149
149
|
};
|
|
150
|
-
} & Omit<import("../../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
150
|
+
} & Omit<import("../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
|
151
151
|
size?: string;
|
|
152
152
|
view?: string;
|
|
153
153
|
readOnly?: boolean;
|
|
@@ -183,7 +183,7 @@ export declare const StyledInput: import("@linaria/react").StyledMeta & import("
|
|
|
183
183
|
chipType?: never;
|
|
184
184
|
chipView?: never;
|
|
185
185
|
chipValidator?: never;
|
|
186
|
-
} & Omit<import("../../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
186
|
+
} & Omit<import("../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
|
187
187
|
size?: string;
|
|
188
188
|
view?: string;
|
|
189
189
|
readOnly?: boolean;
|
|
@@ -221,7 +221,7 @@ export declare const StyledInput: import("@linaria/react").StyledMeta & import("
|
|
|
221
221
|
chipValidator?: (value: string) => {
|
|
222
222
|
view?: string;
|
|
223
223
|
};
|
|
224
|
-
} & Omit<import("../../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
224
|
+
} & Omit<import("../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
|
225
225
|
size?: string;
|
|
226
226
|
view?: string;
|
|
227
227
|
readOnly?: boolean;
|
|
@@ -257,7 +257,7 @@ export declare const StyledInput: import("@linaria/react").StyledMeta & import("
|
|
|
257
257
|
chipType?: never;
|
|
258
258
|
chipView?: never;
|
|
259
259
|
chipValidator?: never;
|
|
260
|
-
} & Omit<import("../../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
260
|
+
} & Omit<import("../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
|
261
261
|
size?: string;
|
|
262
262
|
view?: string;
|
|
263
263
|
readOnly?: boolean;
|
|
@@ -295,7 +295,7 @@ export declare const StyledInput: import("@linaria/react").StyledMeta & import("
|
|
|
295
295
|
chipValidator?: (value: string) => {
|
|
296
296
|
view?: string;
|
|
297
297
|
};
|
|
298
|
-
} & Omit<import("../../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
298
|
+
} & Omit<import("../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>))>;
|
|
299
299
|
export declare const base: import("@linaria/core").LinariaClassName;
|
|
300
300
|
export declare const LeftHelper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
301
301
|
//# sourceMappingURL=SingleDate.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAGhE,OAAO,EAAE,SAAS,EAAa,MAAM,aAAa,CAAC;AASnD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAS3C;;;GAGG;AACH,eAAO,MAAM,SAAS,SAAU,SAAS,CAAC,cAAc,EAAE,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAGhE,OAAO,EAAE,SAAS,EAAa,MAAM,aAAa,CAAC;AASnD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAS3C;;;GAGG;AACH,eAAO,MAAM,SAAS,SAAU,SAAS,CAAC,cAAc,EAAE,UAAU,CAAC,sFAmHhE,CAAC;AAEN,eAAO,MAAM,WAAW;;;mBArHQ,SAAS,CAAC,cAAc,EAAE,UAAU,CAAC;;;;;;;;;;CAkIpE,CAAC"}
|
package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts
CHANGED
|
@@ -57,7 +57,7 @@ export declare const SelectPerPageSelect: import("@linaria/react").StyledMeta &
|
|
|
57
57
|
listHeight?: import("react").CSSProperties["height"];
|
|
58
58
|
onScrollBottom?: (e: React.UIEvent<HTMLElement>) => void;
|
|
59
59
|
listOverflow?: import("react").CSSProperties["overflow"];
|
|
60
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "
|
|
60
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | (import("../../../TextField/TextField.types").LabelProps & import("../../../TextField/TextField.types").RequiredProps & {
|
|
61
61
|
hintText: string;
|
|
62
62
|
hintTrigger?: "hover" | "click";
|
|
63
63
|
hintView?: string;
|
|
@@ -116,7 +116,7 @@ export declare const SelectPerPageSelect: import("@linaria/react").StyledMeta &
|
|
|
116
116
|
listHeight?: import("react").CSSProperties["height"];
|
|
117
117
|
onScrollBottom?: (e: React.UIEvent<HTMLElement>) => void;
|
|
118
118
|
listOverflow?: import("react").CSSProperties["overflow"];
|
|
119
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "
|
|
119
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | (import("../../../TextField/TextField.types").LabelProps & import("../../../TextField/TextField.types").RequiredProps & {
|
|
120
120
|
hintTrigger?: never;
|
|
121
121
|
hintText?: never;
|
|
122
122
|
hintView?: never;
|
|
@@ -174,7 +174,7 @@ export declare const SelectPerPageSelect: import("@linaria/react").StyledMeta &
|
|
|
174
174
|
listHeight?: import("react").CSSProperties["height"];
|
|
175
175
|
onScrollBottom?: (e: React.UIEvent<HTMLElement>) => void;
|
|
176
176
|
listOverflow?: import("react").CSSProperties["overflow"];
|
|
177
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "
|
|
177
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | (import("../../../TextField/TextField.types").LabelProps & import("../../../TextField/TextField.types").RequiredProps & {
|
|
178
178
|
hintTrigger?: never;
|
|
179
179
|
hintText?: never;
|
|
180
180
|
hintView?: never;
|
|
@@ -233,7 +233,7 @@ export declare const SelectPerPageSelect: import("@linaria/react").StyledMeta &
|
|
|
233
233
|
listHeight?: import("react").CSSProperties["height"];
|
|
234
234
|
onScrollBottom?: (e: React.UIEvent<HTMLElement>) => void;
|
|
235
235
|
listOverflow?: import("react").CSSProperties["overflow"];
|
|
236
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "
|
|
236
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | (import("../../../TextField/TextField.types").LabelProps & {
|
|
237
237
|
target: "button-like";
|
|
238
238
|
view?: "default" | "accent" | "secondary" | "clear" | "positive" | "warning" | "negative" | "dark" | "black" | "white";
|
|
239
239
|
contentLeft?: never;
|
|
@@ -279,7 +279,7 @@ export declare const SelectPerPageSelect: import("@linaria/react").StyledMeta &
|
|
|
279
279
|
listHeight?: import("react").CSSProperties["height"];
|
|
280
280
|
onScrollBottom?: (e: React.UIEvent<HTMLElement>) => void;
|
|
281
281
|
listOverflow?: import("react").CSSProperties["overflow"];
|
|
282
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "
|
|
282
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | (import("../../../TextField/TextField.types").LabelProps & {
|
|
283
283
|
target: "button-like";
|
|
284
284
|
view?: "default" | "accent" | "secondary" | "clear" | "positive" | "warning" | "negative" | "dark" | "black" | "white";
|
|
285
285
|
contentLeft?: never;
|
|
@@ -326,6 +326,6 @@ export declare const SelectPerPageSelect: import("@linaria/react").StyledMeta &
|
|
|
326
326
|
listHeight?: import("react").CSSProperties["height"];
|
|
327
327
|
onScrollBottom?: (e: React.UIEvent<HTMLElement>) => void;
|
|
328
328
|
listOverflow?: import("react").CSSProperties["overflow"];
|
|
329
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "
|
|
329
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>))>;
|
|
330
330
|
export declare const SelectPerPageTypography: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
331
331
|
//# sourceMappingURL=PaginationSelectPerPage.styles.d.ts.map
|
|
@@ -3,11 +3,11 @@ import type { InputHTMLAttributes } from '../../types';
|
|
|
3
3
|
import type { Filter, RootProps } from '../../engines/types';
|
|
4
4
|
import { BaseboxProps } from '../Checkbox/Checkbox.types';
|
|
5
5
|
type RadioboxProps = Filter<InputHTMLAttributes<HTMLInputElement>, 'size'> & Omit<BaseboxProps, 'indeterminate' | 'appearance'>;
|
|
6
|
-
export declare const radioboxRoot: (Root: RootProps<HTMLInputElement, RadioboxProps>) => React.ForwardRefExoticComponent<Filter<InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<BaseboxProps, "
|
|
6
|
+
export declare const radioboxRoot: (Root: RootProps<HTMLInputElement, RadioboxProps>) => React.ForwardRefExoticComponent<Filter<InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<BaseboxProps, "indeterminate" | "appearance"> & React.RefAttributes<HTMLInputElement>>;
|
|
7
7
|
export declare const radioboxConfig: {
|
|
8
8
|
name: string;
|
|
9
9
|
tag: string;
|
|
10
|
-
layout: (Root: RootProps<HTMLInputElement, RadioboxProps>) => React.ForwardRefExoticComponent<Filter<InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<BaseboxProps, "
|
|
10
|
+
layout: (Root: RootProps<HTMLInputElement, RadioboxProps>) => React.ForwardRefExoticComponent<Filter<InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<BaseboxProps, "indeterminate" | "appearance"> & React.RefAttributes<HTMLInputElement>>;
|
|
11
11
|
base: import("@linaria/core").LinariaClassName;
|
|
12
12
|
variations: {
|
|
13
13
|
size: {
|
|
@@ -34,7 +34,7 @@ export declare const StyledInput: import("@linaria/react").StyledMeta & import("
|
|
|
34
34
|
chipType?: never;
|
|
35
35
|
chipView?: never;
|
|
36
36
|
chipValidator?: never;
|
|
37
|
-
} & Omit<import("../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
37
|
+
} & Omit<import("../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
|
38
38
|
size?: string;
|
|
39
39
|
view?: string;
|
|
40
40
|
readOnly?: boolean;
|
|
@@ -72,7 +72,7 @@ export declare const StyledInput: import("@linaria/react").StyledMeta & import("
|
|
|
72
72
|
chipValidator?: (value: string) => {
|
|
73
73
|
view?: string;
|
|
74
74
|
};
|
|
75
|
-
} & Omit<import("../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
75
|
+
} & Omit<import("../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
|
76
76
|
size?: string;
|
|
77
77
|
view?: string;
|
|
78
78
|
readOnly?: boolean;
|
|
@@ -108,7 +108,7 @@ export declare const StyledInput: import("@linaria/react").StyledMeta & import("
|
|
|
108
108
|
chipType?: never;
|
|
109
109
|
chipView?: never;
|
|
110
110
|
chipValidator?: never;
|
|
111
|
-
} & Omit<import("../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
111
|
+
} & Omit<import("../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
|
112
112
|
size?: string;
|
|
113
113
|
view?: string;
|
|
114
114
|
readOnly?: boolean;
|
|
@@ -146,7 +146,7 @@ export declare const StyledInput: import("@linaria/react").StyledMeta & import("
|
|
|
146
146
|
chipValidator?: (value: string) => {
|
|
147
147
|
view?: string;
|
|
148
148
|
};
|
|
149
|
-
} & Omit<import("../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
149
|
+
} & Omit<import("../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
|
150
150
|
size?: string;
|
|
151
151
|
view?: string;
|
|
152
152
|
readOnly?: boolean;
|
|
@@ -182,7 +182,7 @@ export declare const StyledInput: import("@linaria/react").StyledMeta & import("
|
|
|
182
182
|
chipType?: never;
|
|
183
183
|
chipView?: never;
|
|
184
184
|
chipValidator?: never;
|
|
185
|
-
} & Omit<import("../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
185
|
+
} & Omit<import("../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
|
186
186
|
size?: string;
|
|
187
187
|
view?: string;
|
|
188
188
|
readOnly?: boolean;
|
|
@@ -220,7 +220,7 @@ export declare const StyledInput: import("@linaria/react").StyledMeta & import("
|
|
|
220
220
|
chipValidator?: (value: string) => {
|
|
221
221
|
view?: string;
|
|
222
222
|
};
|
|
223
|
-
} & Omit<import("../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
223
|
+
} & Omit<import("../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
|
224
224
|
size?: string;
|
|
225
225
|
view?: string;
|
|
226
226
|
readOnly?: boolean;
|
|
@@ -256,7 +256,7 @@ export declare const StyledInput: import("@linaria/react").StyledMeta & import("
|
|
|
256
256
|
chipType?: never;
|
|
257
257
|
chipView?: never;
|
|
258
258
|
chipValidator?: never;
|
|
259
|
-
} & Omit<import("../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
259
|
+
} & Omit<import("../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
|
260
260
|
size?: string;
|
|
261
261
|
view?: string;
|
|
262
262
|
readOnly?: boolean;
|
|
@@ -294,7 +294,7 @@ export declare const StyledInput: import("@linaria/react").StyledMeta & import("
|
|
|
294
294
|
chipValidator?: (value: string) => {
|
|
295
295
|
view?: string;
|
|
296
296
|
};
|
|
297
|
-
} & Omit<import("../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
297
|
+
} & Omit<import("../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>))>;
|
|
298
298
|
export declare const base: import("@linaria/core").LinariaClassName;
|
|
299
299
|
export declare const StyledLabel: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLLabelElement> & import("react").LabelHTMLAttributes<HTMLLabelElement> & Record<never, unknown>>;
|
|
300
300
|
export declare const StyledIndicatorWrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|