@salutejs/plasma-new-hope 0.330.0-canary.1655.16198986399.0 → 0.330.0-canary.2009.16162480074.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/components/Drawer/Drawer.css +5 -7
- package/cjs/components/Drawer/Drawer.js +1 -1
- package/cjs/components/Drawer/Drawer.js.map +1 -1
- package/cjs/components/Modal/Modal.css +6 -9
- package/cjs/components/Modal/Modal.js +3 -7
- package/cjs/components/Modal/Modal.js.map +1 -1
- package/cjs/components/Modal/Modal.styles.js +4 -6
- package/cjs/components/Modal/Modal.styles.js.map +1 -1
- package/cjs/components/Modal/{Modal.styles_1obtvtw.css → Modal.styles_1gt0sfn.css} +3 -4
- package/cjs/components/Notification/NotificationsProvider.css +3 -7
- package/cjs/components/Popup/Popup.js +3 -65
- package/cjs/components/Popup/Popup.js.map +1 -1
- package/cjs/components/Popup/Popup.styles.js +19 -31
- package/cjs/components/Popup/Popup.styles.js.map +1 -1
- package/cjs/components/Popup/Popup.styles_gq4luz.css +4 -0
- package/cjs/components/Popup/Popup.tokens.js +1 -10
- package/cjs/components/Popup/Popup.tokens.js.map +1 -1
- package/cjs/components/Popup/PopupContext.css +3 -7
- package/cjs/components/Popup/utils/index.js.map +1 -1
- package/cjs/components/TextArea/TextArea.js +8 -22
- package/cjs/components/TextArea/TextArea.js.map +1 -1
- package/cjs/components/TextArea/TextArea.styles.js +64 -101
- package/cjs/components/TextArea/TextArea.styles.js.map +1 -1
- package/cjs/components/TextArea/TextArea.styles_1r7xix5.css +20 -0
- package/cjs/components/TextArea/TextArea.tokens.js +1 -3
- package/cjs/components/TextArea/TextArea.tokens.js.map +1 -1
- package/cjs/components/TextArea/TextArea_e0xkpd.css +1 -0
- package/cjs/components/TextArea/ui/Hint/Hint.css +18 -22
- package/cjs/components/TextArea/variations/_clear/base.js +1 -1
- package/cjs/components/TextArea/variations/_clear/base_16hm89e.css +1 -0
- package/cjs/components/TextArea/variations/_disabled/base.js +1 -1
- package/cjs/components/TextArea/variations/_disabled/base_1bn0zc9.css +1 -0
- package/cjs/components/TextArea/variations/_read-only/base.js +1 -1
- package/cjs/components/TextArea/variations/_read-only/{base_vk912g.css → base_1v0syh0.css} +1 -1
- package/cjs/components/TextField/TextField.js.map +1 -1
- package/cjs/index.css +29 -36
- package/emotion/cjs/components/Drawer/Drawer.js +2 -3
- package/emotion/cjs/components/Modal/Modal.js +4 -8
- package/emotion/cjs/components/Modal/Modal.styles.js +6 -11
- package/emotion/cjs/components/Popup/Popup.js +4 -68
- package/emotion/cjs/components/Popup/Popup.styles.js +8 -22
- package/emotion/cjs/components/Popup/Popup.tokens.js +1 -10
- package/emotion/cjs/components/Popup/utils/index.js +0 -16
- package/emotion/cjs/components/TextArea/TextArea.js +8 -20
- package/emotion/cjs/components/TextArea/TextArea.styles.js +41 -78
- package/emotion/cjs/components/TextArea/TextArea.tokens.js +1 -3
- package/emotion/cjs/components/TextArea/mixins/applyDynamicLabel.js +2 -2
- package/emotion/cjs/components/TextField/TextField.js +1 -1
- package/emotion/cjs/components/_Icon/index.js +0 -4
- package/emotion/es/components/Drawer/Drawer.js +2 -3
- package/emotion/es/components/Modal/Modal.js +5 -9
- package/emotion/es/components/Modal/Modal.styles.js +6 -8
- package/emotion/es/components/Popup/Popup.js +5 -64
- package/emotion/es/components/Popup/Popup.styles.js +8 -16
- package/emotion/es/components/Popup/Popup.tokens.js +1 -10
- package/emotion/es/components/Popup/utils/index.js +0 -3
- package/emotion/es/components/TextArea/TextArea.js +9 -21
- package/emotion/es/components/TextArea/TextArea.styles.js +41 -66
- package/emotion/es/components/TextArea/TextArea.tokens.js +1 -3
- package/emotion/es/components/TextArea/mixins/applyDynamicLabel.js +2 -2
- package/emotion/es/components/TextField/TextField.js +1 -1
- package/emotion/es/components/_Icon/index.js +0 -1
- package/es/components/Drawer/Drawer.css +5 -7
- package/es/components/Drawer/Drawer.js +1 -1
- package/es/components/Drawer/Drawer.js.map +1 -1
- package/es/components/Modal/Modal.css +6 -9
- package/es/components/Modal/Modal.js +6 -10
- package/es/components/Modal/Modal.js.map +1 -1
- package/es/components/Modal/Modal.styles.js +5 -6
- package/es/components/Modal/Modal.styles.js.map +1 -1
- package/es/components/Modal/{Modal.styles_1obtvtw.css → Modal.styles_1gt0sfn.css} +3 -4
- package/es/components/Notification/NotificationsProvider.css +3 -7
- package/es/components/Popup/Popup.js +4 -65
- package/es/components/Popup/Popup.js.map +1 -1
- package/es/components/Popup/Popup.styles.js +20 -30
- package/es/components/Popup/Popup.styles.js.map +1 -1
- package/es/components/Popup/Popup.styles_gq4luz.css +4 -0
- package/es/components/Popup/Popup.tokens.js +1 -10
- package/es/components/Popup/Popup.tokens.js.map +1 -1
- package/es/components/Popup/PopupContext.css +3 -7
- package/es/components/Popup/utils/index.js.map +1 -1
- package/es/components/TextArea/TextArea.js +9 -23
- package/es/components/TextArea/TextArea.js.map +1 -1
- package/es/components/TextArea/TextArea.styles.js +65 -100
- package/es/components/TextArea/TextArea.styles.js.map +1 -1
- package/es/components/TextArea/TextArea.styles_1r7xix5.css +20 -0
- package/es/components/TextArea/TextArea.tokens.js +1 -3
- package/es/components/TextArea/TextArea.tokens.js.map +1 -1
- package/es/components/TextArea/TextArea_e0xkpd.css +1 -0
- package/es/components/TextArea/ui/Hint/Hint.css +18 -22
- package/es/components/TextArea/variations/_clear/base.js +1 -1
- package/es/components/TextArea/variations/_clear/base_16hm89e.css +1 -0
- package/es/components/TextArea/variations/_disabled/base.js +1 -1
- package/es/components/TextArea/variations/_disabled/base_1bn0zc9.css +1 -0
- package/es/components/TextArea/variations/_read-only/base.js +1 -1
- package/es/components/TextArea/variations/_read-only/{base_vk912g.css → base_1v0syh0.css} +1 -1
- package/es/components/TextField/TextField.js.map +1 -1
- package/es/index.css +29 -36
- package/package.json +4 -5
- package/styled-components/cjs/components/Drawer/Drawer.js +2 -3
- package/styled-components/cjs/components/Modal/Modal.js +4 -8
- package/styled-components/cjs/components/Modal/Modal.styles.js +8 -50
- package/styled-components/cjs/components/Popup/Popup.js +4 -68
- package/styled-components/cjs/components/Popup/Popup.styles.js +8 -68
- package/styled-components/cjs/components/Popup/Popup.tokens.js +1 -10
- package/styled-components/cjs/components/Popup/utils/index.js +0 -16
- package/styled-components/cjs/components/TextArea/TextArea.js +7 -19
- package/styled-components/cjs/components/TextArea/TextArea.styles.js +28 -76
- package/styled-components/cjs/components/TextArea/TextArea.tokens.js +1 -3
- package/styled-components/cjs/components/TextArea/mixins/applyDynamicLabel.js +2 -2
- package/styled-components/cjs/components/_Icon/index.js +0 -4
- package/styled-components/es/components/Drawer/Drawer.js +2 -3
- package/styled-components/es/components/Modal/Modal.js +5 -9
- package/styled-components/es/components/Modal/Modal.styles.js +4 -8
- package/styled-components/es/components/Popup/Popup.js +5 -64
- package/styled-components/es/components/Popup/Popup.styles.js +4 -23
- package/styled-components/es/components/Popup/Popup.tokens.js +1 -10
- package/styled-components/es/components/Popup/utils/index.js +0 -3
- package/styled-components/es/components/TextArea/TextArea.js +8 -20
- package/styled-components/es/components/TextArea/TextArea.styles.js +28 -64
- package/styled-components/es/components/TextArea/TextArea.tokens.js +1 -3
- package/styled-components/es/components/TextArea/mixins/applyDynamicLabel.js +2 -2
- package/styled-components/es/components/_Icon/index.js +0 -1
- package/types/components/Breadcrumbs/utils/index.d.ts +1 -1
- package/types/components/Carousel/CarouselOld/Carousel.d.ts +2 -2
- package/types/components/Combobox/ComboboxNew/utils/sizeToIconSize.d.ts +1 -1
- package/types/components/Drawer/Drawer.d.ts +2 -2
- package/types/components/Drawer/Drawer.d.ts.map +1 -1
- package/types/components/Drawer/Drawer.types.d.ts +1 -1
- package/types/components/Drawer/Drawer.types.d.ts.map +1 -1
- package/types/components/Modal/Modal.d.ts +1 -1
- package/types/components/Modal/Modal.d.ts.map +1 -1
- package/types/components/Modal/Modal.styles.d.ts +0 -1
- package/types/components/Modal/Modal.styles.d.ts.map +1 -1
- package/types/components/Popup/Popup.d.ts +1 -1
- package/types/components/Popup/Popup.d.ts.map +1 -1
- package/types/components/Popup/Popup.styles.d.ts +0 -2
- package/types/components/Popup/Popup.styles.d.ts.map +1 -1
- package/types/components/Popup/Popup.tokens.d.ts +0 -9
- package/types/components/Popup/Popup.tokens.d.ts.map +1 -1
- package/types/components/Popup/Popup.types.d.ts +0 -52
- package/types/components/Popup/Popup.types.d.ts.map +1 -1
- package/types/components/Popup/utils/index.d.ts +0 -3
- package/types/components/Popup/utils/index.d.ts.map +1 -1
- package/types/components/Select/utils/sizeToIconSize.d.ts +1 -1
- package/types/components/Table/ui/HeadCell/HeadCell.d.ts +1 -1
- package/types/components/TextArea/TextArea.d.ts.map +1 -1
- package/types/components/TextArea/TextArea.styles.d.ts +1 -10
- package/types/components/TextArea/TextArea.styles.d.ts.map +1 -1
- package/types/components/TextArea/TextArea.tokens.d.ts +0 -2
- package/types/components/TextArea/TextArea.tokens.d.ts.map +1 -1
- package/types/components/TextArea/TextArea.types.d.ts +0 -5
- package/types/components/TextArea/TextArea.types.d.ts.map +1 -1
- package/types/components/TextArea/mixins/applyDynamicLabel.d.ts.map +1 -1
- package/types/components/TextField/TextField.d.ts.map +1 -1
- package/types/components/Tree/utils/sizeToIconSize.d.ts +1 -1
- package/types/components/_Icon/index.d.ts +0 -1
- package/types/components/_Icon/index.d.ts.map +1 -1
- package/cjs/components/Popup/Popup.styles_kpf3dd.css +0 -6
- package/cjs/components/Popup/utils/getHandleStyles.js +0 -58
- package/cjs/components/Popup/utils/getHandleStyles.js.map +0 -1
- package/cjs/components/Popup/utils/getRatioBasedOnPlacement.js +0 -36
- package/cjs/components/Popup/utils/getRatioBasedOnPlacement.js.map +0 -1
- package/cjs/components/Popup/utils/getResizeDirections.js +0 -73
- package/cjs/components/Popup/utils/getResizeDirections.js.map +0 -1
- package/cjs/components/TextArea/TextArea.styles_exqsyh.css +0 -24
- package/cjs/components/TextArea/TextArea_c31ipk.css +0 -1
- package/cjs/components/TextArea/variations/_clear/base_1vo4ba5.css +0 -1
- package/cjs/components/TextArea/variations/_disabled/base_s6ttw.css +0 -1
- package/cjs/components/_Icon/Icon.assets/ResizeDiagonal.js +0 -30
- package/cjs/components/_Icon/Icon.assets/ResizeDiagonal.js.map +0 -1
- package/cjs/components/_Icon/Icons/IconResizeDiagonal.js +0 -30
- package/cjs/components/_Icon/Icons/IconResizeDiagonal.js.map +0 -1
- package/emotion/cjs/components/Popup/utils/getHandleStyles.js +0 -61
- package/emotion/cjs/components/Popup/utils/getRatioBasedOnPlacement.js +0 -54
- package/emotion/cjs/components/Popup/utils/getResizeDirections.js +0 -82
- package/emotion/cjs/components/_Icon/Icon.assets/ResizeDiagonal.js +0 -83
- package/emotion/cjs/components/_Icon/Icons/IconResizeDiagonal.js +0 -86
- package/emotion/es/components/Popup/utils/getHandleStyles.js +0 -51
- package/emotion/es/components/Popup/utils/getRatioBasedOnPlacement.js +0 -44
- package/emotion/es/components/Popup/utils/getResizeDirections.js +0 -72
- package/emotion/es/components/_Icon/Icon.assets/ResizeDiagonal.js +0 -68
- package/emotion/es/components/_Icon/Icons/IconResizeDiagonal.js +0 -71
- package/es/components/Popup/Popup.styles_kpf3dd.css +0 -6
- package/es/components/Popup/utils/getHandleStyles.js +0 -54
- package/es/components/Popup/utils/getHandleStyles.js.map +0 -1
- package/es/components/Popup/utils/getRatioBasedOnPlacement.js +0 -32
- package/es/components/Popup/utils/getRatioBasedOnPlacement.js.map +0 -1
- package/es/components/Popup/utils/getResizeDirections.js +0 -69
- package/es/components/Popup/utils/getResizeDirections.js.map +0 -1
- package/es/components/TextArea/TextArea.styles_exqsyh.css +0 -24
- package/es/components/TextArea/TextArea_c31ipk.css +0 -1
- package/es/components/TextArea/variations/_clear/base_1vo4ba5.css +0 -1
- package/es/components/TextArea/variations/_disabled/base_s6ttw.css +0 -1
- package/es/components/_Icon/Icon.assets/ResizeDiagonal.js +0 -22
- package/es/components/_Icon/Icon.assets/ResizeDiagonal.js.map +0 -1
- package/es/components/_Icon/Icons/IconResizeDiagonal.js +0 -22
- package/es/components/_Icon/Icons/IconResizeDiagonal.js.map +0 -1
- package/styled-components/cjs/components/Popup/utils/getHandleStyles.js +0 -61
- package/styled-components/cjs/components/Popup/utils/getRatioBasedOnPlacement.js +0 -54
- package/styled-components/cjs/components/Popup/utils/getResizeDirections.js +0 -82
- package/styled-components/cjs/components/_Icon/Icon.assets/ResizeDiagonal.js +0 -83
- package/styled-components/cjs/components/_Icon/Icons/IconResizeDiagonal.js +0 -86
- package/styled-components/es/components/Popup/utils/getHandleStyles.js +0 -51
- package/styled-components/es/components/Popup/utils/getRatioBasedOnPlacement.js +0 -44
- package/styled-components/es/components/Popup/utils/getResizeDirections.js +0 -72
- package/styled-components/es/components/_Icon/Icon.assets/ResizeDiagonal.js +0 -68
- package/styled-components/es/components/_Icon/Icons/IconResizeDiagonal.js +0 -71
- package/types/components/Popup/utils/getHandleStyles.d.ts +0 -29
- package/types/components/Popup/utils/getHandleStyles.d.ts.map +0 -1
- package/types/components/Popup/utils/getRatioBasedOnPlacement.d.ts +0 -3
- package/types/components/Popup/utils/getRatioBasedOnPlacement.d.ts.map +0 -1
- package/types/components/Popup/utils/getResizeDirections.d.ts +0 -14
- package/types/components/Popup/utils/getResizeDirections.d.ts.map +0 -1
- package/types/components/_Icon/Icon.assets/ResizeDiagonal.d.ts +0 -4
- package/types/components/_Icon/Icon.assets/ResizeDiagonal.d.ts.map +0 -1
- package/types/components/_Icon/Icons/IconResizeDiagonal.d.ts +0 -4
- package/types/components/_Icon/Icons/IconResizeDiagonal.d.ts.map +0 -1
@@ -118,7 +118,7 @@ import { cx, mergeRefs } from "../../utils";
|
|
118
118
|
import { useOutsideClick } from "../../hooks";
|
119
119
|
import { applyDynamicLabel } from "./mixins";
|
120
120
|
import { useAutoResize, ROOT_FONT_SIZE } from "./hooks";
|
121
|
-
import { StyledContent, StyledHelpers, StyledLeftHelper, StyledRightHelper, StyledLabel, StyledPlaceholder, StyledTextArea, StyledTextAreaWrapper, StyledContainer, StyledIndicator, StyledOptionalText, OuterLabelWrapper, StyledIndicatorWrapper, StyledHintWrapper, TitleCaption, StyledOutsideHelpersWrapper, StyledHiddenTextArea
|
121
|
+
import { StyledContent, StyledHelpers, StyledLeftHelper, StyledRightHelper, StyledLabel, StyledPlaceholder, StyledTextArea, StyledTextAreaWrapper, StyledContainer, StyledIndicator, StyledOptionalText, OuterLabelWrapper, StyledIndicatorWrapper, StyledHintWrapper, TitleCaption, StyledOutsideHelpersWrapper, StyledHiddenTextArea } from "./TextArea.styles";
|
122
122
|
import { classes } from "./TextArea.tokens";
|
123
123
|
import { base as viewCSS } from "./variations/_view/base";
|
124
124
|
import { base as sizeCSS } from "./variations/_size/base";
|
@@ -128,7 +128,7 @@ import { base as disabledCSS } from "./variations/_disabled/base";
|
|
128
128
|
import { base as hintViewCSS } from "./variations/_hint-view/base";
|
129
129
|
import { base as hintSizeCSS } from "./variations/_hint-size/base";
|
130
130
|
import { HintComponent } from "./ui/Hint/Hint";
|
131
|
-
var innerPlaceholderUp = classes.innerPlaceholderUp, focusedOuterPlaceholderColor = classes.focusedOuterPlaceholderColor, hidePlaceHolder = classes.hidePlaceHolder, styledContainer = classes.styledContainer, styledTextArea = classes.styledTextArea, styledTextAreaWrapper = classes.styledTextAreaWrapper, styledPlaceholder = classes.styledPlaceholder, styledHelpers = classes.styledHelpers
|
131
|
+
var innerPlaceholderUp = classes.innerPlaceholderUp, focusedOuterPlaceholderColor = classes.focusedOuterPlaceholderColor, hidePlaceHolder = classes.hidePlaceHolder, styledContainer = classes.styledContainer, styledTextArea = classes.styledTextArea, styledTextAreaWrapper = classes.styledTextAreaWrapper, styledPlaceholder = classes.styledPlaceholder, styledHelpers = classes.styledHelpers;
|
132
132
|
var optionalText = 'optional';
|
133
133
|
var base = css([
|
134
134
|
"",
|
@@ -162,11 +162,10 @@ export var getDynamicLabelClasses = function(props, focused) {
|
|
162
162
|
};
|
163
163
|
export var textAreaRoot = function(Root) {
|
164
164
|
return /*#__PURE__*/ forwardRef(function(props, innerRef) {
|
165
|
-
var helperText = props.helperText, status = props.status, resize = props.resize,
|
165
|
+
var helperText = props.helperText, status = props.status, resize = props.resize, rightHelper = props.rightHelper, leftHelper = props.leftHelper, _props_leftHelperPlacement = props.leftHelperPlacement, leftHelperPlacement = _props_leftHelperPlacement === void 0 ? 'inner' : _props_leftHelperPlacement, contentRight = props.contentRight, _props_autoResize = props.autoResize, autoResize = _props_autoResize === void 0 ? false : _props_autoResize, _props_minAuto = props.minAuto, minAuto = _props_minAuto === void 0 ? 0 : _props_minAuto, maxAuto = props.maxAuto, label = props.label, _props_labelPlacement = props.labelPlacement, labelPlacement = _props_labelPlacement === void 0 ? 'inner' : _props_labelPlacement, titleCaption = props.titleCaption, placeholder = props.placeholder, defaultValue = props.defaultValue, height = props.height, width = props.width, value = props.value, disabled = props.disabled, _props_required = props.required, required = _props_required === void 0 ? false : _props_required, _props_requiredPlacement = props.requiredPlacement, requiredPlacement = _props_requiredPlacement === void 0 ? 'right' : _props_requiredPlacement, _props_hasRequiredIndicator = props.hasRequiredIndicator, hasRequiredIndicator = _props_hasRequiredIndicator === void 0 ? true : _props_hasRequiredIndicator, _props_optional = props.optional, optional = _props_optional === void 0 ? false : _props_optional, clear = props.clear, hasDivider = props.hasDivider, size = props.size, view = props.view, id = props.id, style = props.style, className = props.className, readOnly = props.readOnly, rows = props.rows, cols = props.cols, _props_hintTrigger = props.hintTrigger, hintTrigger = _props_hintTrigger === void 0 ? 'hover' : _props_hintTrigger, hintText = props.hintText, _props_hintView = props.hintView, hintView = _props_hintView === void 0 ? 'default' : _props_hintView, _props_hintSize = props.hintSize, hintSize = _props_hintSize === void 0 ? 'm' : _props_hintSize, hintTargetIcon = props.hintTargetIcon, _props_hintPlacement = props.hintPlacement, hintPlacement = _props_hintPlacement === void 0 ? 'auto' : _props_hintPlacement, hintHasArrow = props.hintHasArrow, _props_hintOffset = props.hintOffset, hintOffset = _props_hintOffset === void 0 ? HINT_DEFAULT_OFFSET : _props_hintOffset, hintWidth = props.hintWidth, hintContentLeft = props.hintContentLeft, onChange = props.onChange, rest = _object_without_properties(props, [
|
166
166
|
"helperText",
|
167
167
|
"status",
|
168
168
|
"resize",
|
169
|
-
"headerSlot",
|
170
169
|
"rightHelper",
|
171
170
|
"leftHelper",
|
172
171
|
"leftHelperPlacement",
|
@@ -230,7 +229,6 @@ export var textAreaRoot = function(Root) {
|
|
230
229
|
var hasOuterLabel = Boolean(label && labelPlacement === 'outer');
|
231
230
|
var hasInnerLabel = Boolean(label && labelPlacement === 'inner' && size !== 'xs');
|
232
231
|
var hasPlaceholderOptional = innerOptional && !hasOuterLabel;
|
233
|
-
var hasHeader = Boolean(headerSlot) && !clear;
|
234
232
|
var overriddenView = status !== undefined ? fallbackStatusMap[status] : view;
|
235
233
|
var textareaHelperId = id ? "".concat(id, "-helper") : undefined;
|
236
234
|
var applyCustomWidth = resize !== 'horizontal' && resize !== 'both' && !cols;
|
@@ -367,20 +365,10 @@ export var textAreaRoot = function(Root) {
|
|
367
365
|
handleHintHide: handleHintHide,
|
368
366
|
handleHintClick: handleHintClick,
|
369
367
|
isInnerLabel: true
|
370
|
-
}))), /*#__PURE__*/ React.createElement(StyledTextAreaWrapper, {
|
371
|
-
className: cx(styledTextAreaWrapper
|
372
|
-
hasHelper: hasHelper
|
373
|
-
|
374
|
-
}, headerSlot && !clear && /*#__PURE__*/ React.createElement(StyledHeaderSlot, null, headerSlot), contentRight && !hasHeader && /*#__PURE__*/ React.createElement(StyledContent, null, contentRight), hasHeader && /*#__PURE__*/ React.createElement(StyledContentWrapper, {
|
375
|
-
className: styledContentWrapper,
|
376
|
-
hasHeader: hasHeader
|
377
|
-
}, contentRight && /*#__PURE__*/ React.createElement(StyledContent, {
|
378
|
-
hasHeader: hasHeader
|
379
|
-
}, contentRight), headerSlot && placeholderLabel && /*#__PURE__*/ React.createElement(StyledPlaceholder, {
|
380
|
-
hasContentRight: Boolean(contentRight),
|
381
|
-
className: styledPlaceholder,
|
382
|
-
htmlFor: id
|
383
|
-
}, placeholderLabel, !hasOuterLabel && optionalTextNode)), /*#__PURE__*/ React.createElement(StyledTextArea, _object_spread({
|
368
|
+
}))), contentRight && /*#__PURE__*/ React.createElement(StyledContent, null, contentRight), /*#__PURE__*/ React.createElement(StyledTextAreaWrapper, {
|
369
|
+
className: cx(styledTextAreaWrapper),
|
370
|
+
hasHelper: hasHelper
|
371
|
+
}, /*#__PURE__*/ React.createElement(StyledTextArea, _object_spread({
|
384
372
|
className: cx(styledTextArea, hasRightContentClass),
|
385
373
|
id: id,
|
386
374
|
hasContentRight: Boolean(contentRight),
|
@@ -412,7 +400,7 @@ export var textAreaRoot = function(Root) {
|
|
412
400
|
id: textareaHelperId
|
413
401
|
}, isInnerLeftHelperPlacement && (leftHelper || helperText) && /*#__PURE__*/ React.createElement(StyledLeftHelper, null, leftHelper || helperText), rightHelper && /*#__PURE__*/ React.createElement(StyledRightHelper, {
|
414
402
|
"data-root": true
|
415
|
-
}, rightHelper)),
|
403
|
+
}, rightHelper)), placeholderLabel && /*#__PURE__*/ React.createElement(StyledPlaceholder, {
|
416
404
|
hasContentRight: Boolean(contentRight),
|
417
405
|
className: styledPlaceholder,
|
418
406
|
htmlFor: id
|
@@ -7,13 +7,13 @@ var mergedConfig = mergeConfig(tooltipConfig);
|
|
7
7
|
var Tooltip = component(mergedConfig);
|
8
8
|
export var Hint = styled(Tooltip).withConfig({
|
9
9
|
displayName: "TextArea.styles__Hint",
|
10
|
-
componentId: "sc-
|
10
|
+
componentId: "sc-2ff414ff-0"
|
11
11
|
})([
|
12
12
|
""
|
13
13
|
]);
|
14
14
|
export var OuterLabelWrapper = styled.div.withConfig({
|
15
15
|
displayName: "TextArea.styles__OuterLabelWrapper",
|
16
|
-
componentId: "sc-
|
16
|
+
componentId: "sc-2ff414ff-1"
|
17
17
|
})([
|
18
18
|
"display:flex;align-items:center;max-width:",
|
19
19
|
";margin-bottom:",
|
@@ -27,7 +27,7 @@ export var OuterLabelWrapper = styled.div.withConfig({
|
|
27
27
|
});
|
28
28
|
export var StyledLabel = styled.div.withConfig({
|
29
29
|
displayName: "TextArea.styles__StyledLabel",
|
30
|
-
componentId: "sc-
|
30
|
+
componentId: "sc-2ff414ff-2"
|
31
31
|
})([
|
32
32
|
"position:relative;display:inline-flex;color:var(",
|
33
33
|
",var(",
|
@@ -47,7 +47,7 @@ export var StyledLabel = styled.div.withConfig({
|
|
47
47
|
], tokens.labelOuterColor, tokens.inputColor, tokens.labelOuterFontFamily, tokens.inputFontFamily, tokens.labelOuterFontSize, tokens.inputFontSize, tokens.labelOuterFontStyle, tokens.inputFontStyle, tokens.labelOuterFontWeight, tokens.inputFontWeight, tokens.labelOuterLetterSpacing, tokens.inputLetterSpacing, tokens.labelOuterLineHeight, tokens.inputLineHeight);
|
48
48
|
export var TitleCaption = styled.div.withConfig({
|
49
49
|
displayName: "TextArea.styles__TitleCaption",
|
50
|
-
componentId: "sc-
|
50
|
+
componentId: "sc-2ff414ff-3"
|
51
51
|
})([
|
52
52
|
"display:inline-block;margin-left:auto;font-family:var(",
|
53
53
|
");font-size:var(",
|
@@ -59,13 +59,13 @@ export var TitleCaption = styled.div.withConfig({
|
|
59
59
|
], tokens.titleCaptionFontFamily, tokens.titleCaptionFontSize, tokens.titleCaptionFontStyle, tokens.titleCaptionFontWeight, tokens.titleCaptionLetterSpacing, tokens.titleCaptionLineHeight);
|
60
60
|
export var StyledIndicatorWrapper = styled.div.withConfig({
|
61
61
|
displayName: "TextArea.styles__StyledIndicatorWrapper",
|
62
|
-
componentId: "sc-
|
62
|
+
componentId: "sc-2ff414ff-4"
|
63
63
|
})([
|
64
64
|
"position:relative;display:inline-flex;align-items:center;"
|
65
65
|
]);
|
66
66
|
export var StyledOptionalText = styled.span.withConfig({
|
67
67
|
displayName: "TextArea.styles__StyledOptionalText",
|
68
|
-
componentId: "sc-
|
68
|
+
componentId: "sc-2ff414ff-5"
|
69
69
|
})([
|
70
70
|
"color:var(",
|
71
71
|
");font-family:",
|
@@ -96,7 +96,7 @@ export var StyledOptionalText = styled.span.withConfig({
|
|
96
96
|
});
|
97
97
|
export var StyledHintWrapper = styled.div.withConfig({
|
98
98
|
displayName: "TextArea.styles__StyledHintWrapper",
|
99
|
-
componentId: "sc-
|
99
|
+
componentId: "sc-2ff414ff-6"
|
100
100
|
})([
|
101
101
|
"display:inline-flex;line-height:0;margin:var(",
|
102
102
|
");&.",
|
@@ -105,7 +105,7 @@ export var StyledHintWrapper = styled.div.withConfig({
|
|
105
105
|
], tokens.hintMargin, classes.innerLabelPlacement, tokens.hintInnerLabelPlacementOffset);
|
106
106
|
export var HintTargetWrapper = styled.div.withConfig({
|
107
107
|
displayName: "TextArea.styles__HintTargetWrapper",
|
108
|
-
componentId: "sc-
|
108
|
+
componentId: "sc-2ff414ff-7"
|
109
109
|
})([
|
110
110
|
"color:var(",
|
111
111
|
");width:var(",
|
@@ -114,76 +114,40 @@ export var HintTargetWrapper = styled.div.withConfig({
|
|
114
114
|
], tokens.hintIconColor, tokens.hintTargetSize, tokens.hintTargetSize);
|
115
115
|
export var HintIconWrapper = styled.div.withConfig({
|
116
116
|
displayName: "TextArea.styles__HintIconWrapper",
|
117
|
-
componentId: "sc-
|
117
|
+
componentId: "sc-2ff414ff-8"
|
118
118
|
})([
|
119
119
|
""
|
120
120
|
]);
|
121
121
|
export var StyledTextAreaWrapper = styled.div.withConfig({
|
122
122
|
displayName: "TextArea.styles__StyledTextAreaWrapper",
|
123
|
-
componentId: "sc-
|
123
|
+
componentId: "sc-2ff414ff-9"
|
124
124
|
})([
|
125
|
-
"
|
126
|
-
");padding-top:",
|
127
|
-
";padding-bottom:",
|
125
|
+
"background-color:var(",
|
126
|
+
");padding-top:var(",
|
127
|
+
");padding-bottom:",
|
128
128
|
";border-radius:",
|
129
129
|
";"
|
130
|
-
], tokens.inputBackgroundColor, function(param) {
|
131
|
-
var hasHeader = param.hasHeader;
|
132
|
-
return hasHeader ? 'unset' : "var(".concat(tokens.inputPaddingTop, ")");
|
133
|
-
}, function(param) {
|
130
|
+
], tokens.inputBackgroundColor, tokens.inputPaddingTop, function(param) {
|
134
131
|
var hasHelper = param.hasHelper;
|
135
132
|
return hasHelper ? "var(".concat(tokens.inputPaddingBottomWithHelpers, ")") : "var(".concat(tokens.inputPaddingBottom, ")");
|
136
133
|
}, function(param) {
|
137
134
|
var hasHelper = param.hasHelper;
|
138
135
|
return hasHelper ? "var(".concat(tokens.borderRadiusWithHelpers, ")") : "var(".concat(tokens.borderRadius, ")");
|
139
136
|
});
|
140
|
-
export var StyledContentWrapper = styled.div.withConfig({
|
141
|
-
displayName: "TextArea.styles__StyledContentWrapper",
|
142
|
-
componentId: "sc-5fcd62a1-10"
|
143
|
-
})([
|
144
|
-
"position:relative;width:100%;height:0;padding-top:",
|
145
|
-
";"
|
146
|
-
], function(param) {
|
147
|
-
var hasHeader = param.hasHeader;
|
148
|
-
return hasHeader ? "var(".concat(tokens.inputPaddingTop, ")") : 'unset';
|
149
|
-
});
|
150
137
|
export var StyledContent = styled.div.withConfig({
|
151
138
|
displayName: "TextArea.styles__StyledContent",
|
152
|
-
componentId: "sc-
|
139
|
+
componentId: "sc-2ff414ff-10"
|
153
140
|
})([
|
154
|
-
"position:absolute;display:flex;align-items:center;z-index:1;color:var(",
|
141
|
+
"position:absolute;display:flex;align-items:center;bottom:0;z-index:1;color:var(",
|
155
142
|
",var(",
|
156
|
-
"));top:",
|
157
|
-
";right:var(",
|
143
|
+
"));top:var(",
|
144
|
+
");right:var(",
|
158
145
|
");height:var(",
|
159
146
|
");"
|
160
|
-
], tokens.rightContentColor, tokens.inputColor,
|
161
|
-
var hasHeader = param.hasHeader;
|
162
|
-
return hasHeader ? "var(".concat(tokens.inputPaddingTop, ")") : "var(".concat(tokens.rightContentTop, ")");
|
163
|
-
}, tokens.rightContentRight, tokens.rightContentHeight);
|
164
|
-
export var StyledHeaderSlot = styled.div.withConfig({
|
165
|
-
displayName: "TextArea.styles__StyledHeaderSlot",
|
166
|
-
componentId: "sc-5fcd62a1-12"
|
167
|
-
})([
|
168
|
-
"display:flex;flex-direction:column;"
|
169
|
-
]);
|
170
|
-
export var DividerWrapper = styled.div.withConfig({
|
171
|
-
displayName: "TextArea.styles__DividerWrapper",
|
172
|
-
componentId: "sc-5fcd62a1-13"
|
173
|
-
})([
|
174
|
-
"background:var(",
|
175
|
-
");"
|
176
|
-
], tokens.backgroundColor);
|
177
|
-
export var Divider = styled.div.withConfig({
|
178
|
-
displayName: "TextArea.styles__Divider",
|
179
|
-
componentId: "sc-5fcd62a1-14"
|
180
|
-
})([
|
181
|
-
"height:0.0625rem;background:var(",
|
182
|
-
");"
|
183
|
-
], tokens.dividerColor);
|
147
|
+
], tokens.rightContentColor, tokens.inputColor, tokens.rightContentTop, tokens.rightContentRight, tokens.rightContentHeight);
|
184
148
|
export var StyledContainer = styled.div.withConfig({
|
185
149
|
displayName: "TextArea.styles__StyledContainer",
|
186
|
-
componentId: "sc-
|
150
|
+
componentId: "sc-2ff414ff-11"
|
187
151
|
})([
|
188
152
|
"display:inline-flex;flex-direction:column;width:",
|
189
153
|
";position:relative;"
|
@@ -193,7 +157,7 @@ export var StyledContainer = styled.div.withConfig({
|
|
193
157
|
});
|
194
158
|
export var StyledTextArea = styled.textarea.withConfig({
|
195
159
|
displayName: "TextArea.styles__StyledTextArea",
|
196
|
-
componentId: "sc-
|
160
|
+
componentId: "sc-2ff414ff-12"
|
197
161
|
})([
|
198
162
|
"display:block;box-sizing:border-box;outline:none;border:none;-webkit-appearance:none;background-color:transparent;color:var(",
|
199
163
|
");caret-color:var(",
|
@@ -256,7 +220,7 @@ export var StyledTextArea = styled.textarea.withConfig({
|
|
256
220
|
}, tokens.inputFontFamily, tokens.inputFontSize, tokens.inputFontStyle, tokens.inputFontWeight, tokens.inputLetterSpacing, tokens.inputLineHeight, tokens.inputColorFocus, tokens.scrollbarWidth, tokens.scrollbarThumbBackgroundColor, tokens.scrollbarBorderWidth, tokens.scrollbarTrackBackgroundColor, tokens.scrollbarBorderWidth);
|
257
221
|
export var StyledHiddenTextArea = styled.textarea.withConfig({
|
258
222
|
displayName: "TextArea.styles__StyledHiddenTextArea",
|
259
|
-
componentId: "sc-
|
223
|
+
componentId: "sc-2ff414ff-13"
|
260
224
|
})([
|
261
225
|
"max-height:none !important;min-height:var(",
|
262
226
|
") !important;visibility:hidden !important;overflow:hidden !important;position:absolute !important;z-index:-1000 !important;top:0 !important;left:0 !important;right:0.0625rem !important;border-width:0;padding-right:",
|
@@ -274,7 +238,7 @@ export var StyledHiddenTextArea = styled.textarea.withConfig({
|
|
274
238
|
}, tokens.inputPaddingLeft, tokens.inputFontFamily, tokens.inputFontSize, tokens.inputFontStyle, tokens.inputFontWeight, tokens.inputLetterSpacing, tokens.inputLineHeight);
|
275
239
|
export var StyledHelpers = styled.div.withConfig({
|
276
240
|
displayName: "TextArea.styles__StyledHelpers",
|
277
|
-
componentId: "sc-
|
241
|
+
componentId: "sc-2ff414ff-14"
|
278
242
|
})([
|
279
243
|
"box-sizing:border-box;display:flex;justify-content:space-between;transition:background-color 0.1s ease-in-out;background-color:var(",
|
280
244
|
");padding-top:var(",
|
@@ -287,14 +251,14 @@ export var StyledHelpers = styled.div.withConfig({
|
|
287
251
|
], tokens.helpersBackgroundColor, tokens.helpersPaddingTop, tokens.helpersPaddingRight, tokens.helpersPaddingBottom, tokens.helpersPaddingLeft, tokens.borderRadius, tokens.borderRadius);
|
288
252
|
export var StyledOutsideHelpersWrapper = styled.div.withConfig({
|
289
253
|
displayName: "TextArea.styles__StyledOutsideHelpersWrapper",
|
290
|
-
componentId: "sc-
|
254
|
+
componentId: "sc-2ff414ff-15"
|
291
255
|
})([
|
292
256
|
"box-sizing:border-box;display:flex;justify-content:space-between;padding-top:var(",
|
293
257
|
");"
|
294
258
|
], tokens.clearHelpersPaddingTop);
|
295
259
|
export var StyledLeftHelper = styled.span.withConfig({
|
296
260
|
displayName: "TextArea.styles__StyledLeftHelper",
|
297
|
-
componentId: "sc-
|
261
|
+
componentId: "sc-2ff414ff-16"
|
298
262
|
})([
|
299
263
|
"",
|
300
264
|
";display:block;font-family:var(",
|
@@ -308,14 +272,14 @@ export var StyledLeftHelper = styled.span.withConfig({
|
|
308
272
|
], applyEllipsis(), tokens.helpersFontFamily, tokens.helpersFontSize, tokens.helpersFontStyle, tokens.helpersFontWeight, tokens.helpersLetterSpacing, tokens.helpersLineHeight, tokens.leftHelperColor);
|
309
273
|
export var StyledRightHelper = styled(StyledLeftHelper).withConfig({
|
310
274
|
displayName: "TextArea.styles__StyledRightHelper",
|
311
|
-
componentId: "sc-
|
275
|
+
componentId: "sc-2ff414ff-17"
|
312
276
|
})([
|
313
277
|
"color:var(",
|
314
278
|
");margin-left:auto;"
|
315
279
|
], tokens.rightHelperColor);
|
316
280
|
export var StyledPlaceholder = styled.label.withConfig({
|
317
281
|
displayName: "TextArea.styles__StyledPlaceholder",
|
318
|
-
componentId: "sc-
|
282
|
+
componentId: "sc-2ff414ff-18"
|
319
283
|
})([
|
320
284
|
"box-sizing:border-box;position:absolute;pointer-events:none;display:inline-flex;align-items:center;transition:all 0.1s ease-in-out;transform-origin:top left;color:var(",
|
321
285
|
");width:100%;height:auto;top:var(",
|
@@ -334,7 +298,7 @@ export var StyledPlaceholder = styled.label.withConfig({
|
|
334
298
|
}, tokens.inputFontFamily, tokens.inputFontSize, tokens.inputFontStyle, tokens.inputFontWeight, tokens.inputLetterSpacing, tokens.inputLineHeight);
|
335
299
|
export var StyledIndicator = styled.div.withConfig({
|
336
300
|
displayName: "TextArea.styles__StyledIndicator",
|
337
|
-
componentId: "sc-
|
301
|
+
componentId: "sc-2ff414ff-19"
|
338
302
|
})([
|
339
303
|
"position:absolute;border-radius:50%;background-color:var(",
|
340
304
|
");&.",
|
@@ -14,9 +14,7 @@ export var classes = {
|
|
14
14
|
hasHint: 'textarea-has-hint',
|
15
15
|
hasRightContent: 'textarea-has-right-content',
|
16
16
|
hasDivider: 'textarea-has-divider',
|
17
|
-
requiredAlignRight: 'required-align-right'
|
18
|
-
hasHeaderSlot: 'textarea-has-header-slot',
|
19
|
-
styledContentWrapper: 'textarea-content-wrapper'
|
17
|
+
requiredAlignRight: 'required-align-right'
|
20
18
|
};
|
21
19
|
export var tokens = {
|
22
20
|
/** Цвет фона для всего компонента */ backgroundColor: '--plasma-textarea-background-color',
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { classes, tokens } from "../TextArea.tokens";
|
2
|
-
var innerPlaceholderUp = classes.innerPlaceholderUp, hidePlaceHolder = classes.hidePlaceHolder, focusedOuterPlaceholderColor = classes.focusedOuterPlaceholderColor, styledTextArea = classes.styledTextArea, styledTextAreaWrapper = classes.styledTextAreaWrapper, styledPlaceholder = classes.styledPlaceholder
|
3
|
-
export var applyDynamicLabel = "\n .".concat(innerPlaceholderUp, " {\n .").concat(styledTextArea, " {\n height: calc(var(--plasma_private-textarea-input-actual-height) - var(").concat(tokens.labelInnerTop, ") - var(").concat(tokens.labelInnerTopHelper, ", 0px));\n }\n\n .").concat(styledTextAreaWrapper, " {\n padding-top: calc(calc(var(").concat(tokens.labelInnerTop, ") + var(").concat(tokens.labelInnerFontSize, ")) + var(").concat(tokens.labelInnerMarginBottom, "));\n }\n
|
2
|
+
var innerPlaceholderUp = classes.innerPlaceholderUp, hidePlaceHolder = classes.hidePlaceHolder, focusedOuterPlaceholderColor = classes.focusedOuterPlaceholderColor, styledTextArea = classes.styledTextArea, styledTextAreaWrapper = classes.styledTextAreaWrapper, styledPlaceholder = classes.styledPlaceholder;
|
3
|
+
export var applyDynamicLabel = "\n .".concat(innerPlaceholderUp, " {\n .").concat(styledTextArea, " {\n height: calc(var(--plasma_private-textarea-input-actual-height) - var(").concat(tokens.labelInnerTop, ") - var(").concat(tokens.labelInnerTopHelper, ", 0px));\n }\n\n .").concat(styledTextAreaWrapper, " {\n padding-top: calc(calc(var(").concat(tokens.labelInnerTop, ") + var(").concat(tokens.labelInnerFontSize, ")) + var(").concat(tokens.labelInnerMarginBottom, "));\n }\n\n .").concat(styledPlaceholder, " {\n font-family: var(").concat(tokens.labelInnerFontFamily, ");\n font-size: var(").concat(tokens.labelInnerFontSize, ");\n font-style: var(").concat(tokens.labelInnerFontStyle, ");\n font-weight: var(").concat(tokens.labelInnerFontWeight, ");\n letter-spacing: var(").concat(tokens.labelInnerLetterSpacing, ");\n line-height: var(").concat(tokens.labelInnerLineHeight, ");\n top: var(").concat(tokens.labelInnerTop, ");\n }\n }\n\n .").concat(hidePlaceHolder, " .").concat(styledPlaceholder, " {\n display: none;\n }\n\n .").concat(focusedOuterPlaceholderColor, " .").concat(styledPlaceholder, " {\n color: var(").concat(tokens.placeholderColorFocus, ");\n }\n");
|
@@ -48,4 +48,3 @@ export { IconEditOutline } from "./Icons/IconEditOutline";
|
|
48
48
|
export { IconResetOutline } from "./Icons/IconResetOutline";
|
49
49
|
export { IconDoneCircleOutline } from "./Icons/IconDoneCircleOutline";
|
50
50
|
export { IconTrash } from "./Icons/IconTrash";
|
51
|
-
export { IconResizeDiagonal } from "./Icons/IconResizeDiagonal";
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import { ReactNode } from 'react';
|
2
|
-
export declare const convertIconSize: (size?: string) => "
|
2
|
+
export declare const convertIconSize: (size?: string) => "s" | "xs";
|
3
3
|
export declare const addSeparator: (items: ReactNode[], renderSeparator: ReactNode) => ReactNode[];
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
@@ -4,14 +4,14 @@ import { CarouselProps } from './Carousel.types';
|
|
4
4
|
/**
|
5
5
|
* Компонент для создания списков с прокруткой.
|
6
6
|
*/
|
7
|
-
export declare const carouselRoot: (Root: RootProps<HTMLDivElement, CarouselProps>) => React.ForwardRefExoticComponent<Omit<import("./Carousel.types").BasicProps & (import("./Carousel.types").DetectionProps | import("./Carousel.types").NoDetectionProps), "
|
7
|
+
export declare const carouselRoot: (Root: RootProps<HTMLDivElement, CarouselProps>) => React.ForwardRefExoticComponent<Omit<import("./Carousel.types").BasicProps & (import("./Carousel.types").DetectionProps | import("./Carousel.types").NoDetectionProps), "throttleMs" | "axis" | "animatedScrollByIndex" | "debounceMs"> & {
|
8
8
|
ariaLive?: "off" | "polite";
|
9
9
|
isDragScrollDisabled?: boolean;
|
10
10
|
} & React.RefAttributes<HTMLDivElement>>;
|
11
11
|
export declare const carouselConfig: {
|
12
12
|
name: string;
|
13
13
|
tag: string;
|
14
|
-
layout: (Root: RootProps<HTMLDivElement, CarouselProps>) => React.ForwardRefExoticComponent<Omit<import("./Carousel.types").BasicProps & (import("./Carousel.types").DetectionProps | import("./Carousel.types").NoDetectionProps), "
|
14
|
+
layout: (Root: RootProps<HTMLDivElement, CarouselProps>) => React.ForwardRefExoticComponent<Omit<import("./Carousel.types").BasicProps & (import("./Carousel.types").DetectionProps | import("./Carousel.types").NoDetectionProps), "throttleMs" | "axis" | "animatedScrollByIndex" | "debounceMs"> & {
|
15
15
|
ariaLive?: "off" | "polite";
|
16
16
|
isDragScrollDisabled?: boolean;
|
17
17
|
} & React.RefAttributes<HTMLDivElement>>;
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { ComboboxProps } from '../Combobox.types';
|
2
|
-
export declare const sizeToIconSize: (size?: string, variant?: ComboboxProps["variant"]) => "
|
2
|
+
export declare const sizeToIconSize: (size?: string, variant?: ComboboxProps["variant"]) => "s" | "xs";
|
3
3
|
//# sourceMappingURL=sizeToIconSize.d.ts.map
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import type { RootProps } from '../../engines';
|
3
3
|
import type { DrawerProps } from './Drawer.types';
|
4
|
-
export declare const drawerRoot: (Root: RootProps<HTMLDivElement, DrawerProps>) => React.ForwardRefExoticComponent<
|
4
|
+
export declare const drawerRoot: (Root: RootProps<HTMLDivElement, DrawerProps>) => React.ForwardRefExoticComponent<import("../Popup").PopupProps & import("../Panel").PanelProps & {
|
5
5
|
placement?: import("./Drawer.types").DrawerPlacement;
|
6
6
|
asModal?: boolean;
|
7
7
|
customBackgroundColor?: string;
|
@@ -18,7 +18,7 @@ export declare const drawerRoot: (Root: RootProps<HTMLDivElement, DrawerProps>)
|
|
18
18
|
export declare const drawerConfig: {
|
19
19
|
name: string;
|
20
20
|
tag: string;
|
21
|
-
layout: (Root: RootProps<HTMLDivElement, DrawerProps>) => React.ForwardRefExoticComponent<
|
21
|
+
layout: (Root: RootProps<HTMLDivElement, DrawerProps>) => React.ForwardRefExoticComponent<import("../Popup").PopupProps & import("../Panel").PanelProps & {
|
22
22
|
placement?: import("./Drawer.types").DrawerPlacement;
|
23
23
|
asModal?: boolean;
|
24
24
|
customBackgroundColor?: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Drawer.d.ts","sourceRoot":"","sources":["../../../src/components/Drawer/Drawer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAGnD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAQ7C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAUlD,eAAO,MAAM,UAAU,SAAU,SAAS,CAAC,cAAc,EAAE,WAAW,CAAC;;;;;;;;;
|
1
|
+
{"version":3,"file":"Drawer.d.ts","sourceRoot":"","sources":["../../../src/components/Drawer/Drawer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAGnD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAQ7C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAUlD,eAAO,MAAM,UAAU,SAAU,SAAS,CAAC,cAAc,EAAE,WAAW,CAAC;;;;;;;;;6BAiC1D,MACD,UAAE;sBAGF,MAAM,SAAS;oBAMZ,MAAO,SAAS;;wCAmF1B,CAAC;AAEN,eAAO,MAAM,YAAY;;;mBAhIQ,SAAS,CAAC,cAAc,EAAE,WAAW,CAAC;;;;;;;;;iCAiC1D,MACD,UAAE;0BAGF,MAAM,SAAS;wBAMZ,MAAO,SAAS;;;;;;;;;;;;;;;;;;;;CA0G9B,CAAC"}
|
@@ -8,7 +8,7 @@ export declare const drawerPlacements: {
|
|
8
8
|
left: string;
|
9
9
|
};
|
10
10
|
export type DrawerPlacement = keyof typeof drawerPlacements;
|
11
|
-
export type DrawerProps =
|
11
|
+
export type DrawerProps = PopupProps & PanelProps & {
|
12
12
|
/**
|
13
13
|
* Расположение Drawer.
|
14
14
|
* @default
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Drawer.types.d.ts","sourceRoot":"","sources":["../../../src/components/Drawer/Drawer.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAC3C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAC3C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,eAAO,MAAM,gBAAgB;;;;;CAK5B,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,gBAAgB,CAAC;AAE5D,MAAM,MAAM,WAAW,GAAG,
|
1
|
+
{"version":3,"file":"Drawer.types.d.ts","sourceRoot":"","sources":["../../../src/components/Drawer/Drawer.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAC3C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAC3C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,eAAO,MAAM,gBAAgB;;;;;CAK5B,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,gBAAgB,CAAC;AAE5D,MAAM,MAAM,WAAW,GAAG,UAAU,GAChC,UAAU,GAAG;IACT;;;;OAIG;IACH,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B;;;;;;;OAOG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B;;OAEG;IACH,4BAA4B,CAAC,EAAE,MAAM,CAAC;IACtC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;IAC9C;;;OAGG;IACH,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;IACnE;;OAEG;IACH,eAAe,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IAC/C;;;OAGG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IAC7C;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB,CAAC;AAEN,MAAM,WAAW,cACb,SAAQ,IAAI,CAAC,aAAa,EAAE,IAAI,GAAG,WAAW,GAAG,QAAQ,CAAC,EACtD,IAAI,CAAC,WAAW,EAAE,YAAY,GAAG,cAAc,GAAG,SAAS,CAAC;IAChE,aAAa,CAAC,EAAE,OAAO,CAAC;CAC3B"}
|
@@ -10,7 +10,7 @@ export declare const modalConfig: {
|
|
10
10
|
name: string;
|
11
11
|
tag: string;
|
12
12
|
layout: (Root: RootProps<HTMLDivElement, ModalProps>) => React.ForwardRefExoticComponent<ModalProps & React.RefAttributes<HTMLDivElement>>;
|
13
|
-
base:
|
13
|
+
base: string;
|
14
14
|
variations: {
|
15
15
|
view: {
|
16
16
|
css: import("@linaria/core").LinariaClassName;
|
@@ -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,sFA6GhE,CAAC;AAEN,eAAO,MAAM,WAAW;;;mBA/GQ,SAAS,CAAC,cAAc,EAAE,UAAU,CAAC;;;;;;;;;;CA4HpE,CAAC"}
|
@@ -1,4 +1,3 @@
|
|
1
|
-
export declare const base: import("@linaria/core").LinariaClassName;
|
2
1
|
export declare const ModalBody: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
3
2
|
export declare const ModalContent: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
4
3
|
export declare const CloseButton: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & Record<never, unknown>>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Modal.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/Modal.styles.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"Modal.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/Modal.styles.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,SAAS,qKAKrB,CAAC;AAEF,eAAO,MAAM,YAAY,qKAGxB,CAAC;AAEF,eAAO,MAAM,WAAW,iLAwCvB,CAAC"}
|
@@ -10,7 +10,7 @@ export declare const popupConfig: {
|
|
10
10
|
name: string;
|
11
11
|
tag: string;
|
12
12
|
layout: (Root: RootProps<HTMLDivElement, PopupProps>) => React.ForwardRefExoticComponent<PopupProps & React.RefAttributes<HTMLDivElement>>;
|
13
|
-
base:
|
13
|
+
base: string;
|
14
14
|
variations: {};
|
15
15
|
defaults: {};
|
16
16
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Popup.d.ts","sourceRoot":"","sources":["../../../src/components/Popup/Popup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"Popup.d.ts","sourceRoot":"","sources":["../../../src/components/Popup/Popup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAGlD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAI9C,OAAO,KAAK,EAAuB,cAAc,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAMxG,eAAO,MAAM,cAAc,cACZ,cAAc,UACjB,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,KAC5C,iBA8DF,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,SAAS,SAAU,SAAS,CAAC,cAAc,EAAE,UAAU,CAAC,sFAwFhE,CAAC;AAEN,eAAO,MAAM,WAAW;;;mBA1FQ,SAAS,CAAC,cAAc,EAAE,UAAU,CAAC;;;;CAiGpE,CAAC"}
|
@@ -1,8 +1,6 @@
|
|
1
1
|
import type { PopupRootContainerProps } from './Popup.types';
|
2
|
-
export declare const base: import("@linaria/core").LinariaClassName;
|
3
2
|
export declare const StyledPortal: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
4
3
|
export declare const StyledPortalContainer: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
5
4
|
export declare const PopupView: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
6
5
|
export declare const PopupRootContainer: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & PopupRootContainerProps>;
|
7
|
-
export declare const IconResizeDiagonalStyled: import("@linaria/react").StyledMeta & import("react").FC<import("../_Icon/IconRoot").IconProps>;
|
8
6
|
//# sourceMappingURL=Popup.styles.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Popup.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Popup/Popup.styles.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"Popup.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Popup/Popup.styles.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AAG7D,eAAO,MAAM,YAAY,qKAAe,CAAC;AAEzC,eAAO,MAAM,qBAAqB,qKAEjC,CAAC;AAEF,eAAO,MAAM,SAAS,qKAIrB,CAAC;AAEF,eAAO,MAAM,kBAAkB,sKAQ9B,CAAC"}
|
@@ -2,14 +2,5 @@ export declare const classes: {
|
|
2
2
|
root: string;
|
3
3
|
endAnimation: string;
|
4
4
|
endTransition: string;
|
5
|
-
resizableContainer: string;
|
6
|
-
resizableTopRightIcon: string;
|
7
|
-
resizableBottomRightIcon: string;
|
8
|
-
resizableBottomLeftIcon: string;
|
9
|
-
resizableTopLeftIcon: string;
|
10
|
-
resizableHandleWrapper: string;
|
11
|
-
resizableContainerNoSelect: string;
|
12
|
-
draggablePopupWrapper: string;
|
13
|
-
draggingPopupWrapper: string;
|
14
5
|
};
|
15
6
|
//# sourceMappingURL=Popup.tokens.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Popup.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Popup/Popup.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO
|
1
|
+
{"version":3,"file":"Popup.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Popup/Popup.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;CAOnB,CAAC"}
|
@@ -1,7 +1,6 @@
|
|
1
1
|
export type PopupPlacementBasic = 'center' | 'top' | 'bottom' | 'right' | 'left';
|
2
2
|
export type PopupPlacementMixed = 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left';
|
3
3
|
export type PopupPlacement = PopupPlacementBasic | PopupPlacementMixed;
|
4
|
-
export type ResizeDirections = Omit<PopupPlacement, 'center'>[];
|
5
4
|
export interface PopupInfo {
|
6
5
|
id: string;
|
7
6
|
info?: Record<string, any>;
|
@@ -55,57 +54,6 @@ export interface PopupProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
55
54
|
* Использовать ли анимацию.
|
56
55
|
*/
|
57
56
|
withAnimation?: boolean;
|
58
|
-
/**
|
59
|
-
* Настройка draggable-режима.
|
60
|
-
*/
|
61
|
-
draggable?: boolean;
|
62
|
-
/**
|
63
|
-
* Настройка resizable-режима.
|
64
|
-
*/
|
65
|
-
resizable?: boolean | {
|
66
|
-
/**
|
67
|
-
* Включение/выключение ресайза.
|
68
|
-
* @default false
|
69
|
-
*/
|
70
|
-
disabled?: boolean;
|
71
|
-
/**
|
72
|
-
* Направления для ресайза.
|
73
|
-
*/
|
74
|
-
directions?: ResizeDirections;
|
75
|
-
/**
|
76
|
-
* Скрывать ли иконку для ресайза.
|
77
|
-
* @default false
|
78
|
-
*/
|
79
|
-
hiddenIcons?: PopupPlacementMixed[];
|
80
|
-
/**
|
81
|
-
* Начальный размер окна ресайза.
|
82
|
-
*/
|
83
|
-
defaultSize?: {
|
84
|
-
width?: number;
|
85
|
-
height?: number;
|
86
|
-
};
|
87
|
-
/**
|
88
|
-
* Минимальная ширина ресайза в px.
|
89
|
-
*/
|
90
|
-
minWidth?: number;
|
91
|
-
/**
|
92
|
-
* Минимальная высота ресайза в px.
|
93
|
-
*/
|
94
|
-
minHeight?: number;
|
95
|
-
/**
|
96
|
-
* Максимальная ширина ресайза в px.
|
97
|
-
*/
|
98
|
-
maxWidth?: number;
|
99
|
-
/**
|
100
|
-
* Максимальная высота ресайза в px.
|
101
|
-
*/
|
102
|
-
maxHeight?: number;
|
103
|
-
/**
|
104
|
-
* Размер иконки ресайза.
|
105
|
-
* @default s
|
106
|
-
*/
|
107
|
-
iconSize?: 'xs' | 's' | 'm';
|
108
|
-
};
|
109
57
|
}
|
110
58
|
export interface PopupAnimationInfo {
|
111
59
|
endAnimation: boolean;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Popup.types.d.ts","sourceRoot":"","sources":["../../../src/components/Popup/Popup.types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,mBAAmB,GAAG,QAAQ,GAAG,KAAK,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;AACjF,MAAM,MAAM,mBAAmB,GAAG,WAAW,GAAG,UAAU,GAAG,cAAc,GAAG,aAAa,CAAC;AAC5F,MAAM,MAAM,cAAc,GAAG,mBAAmB,GAAG,mBAAmB,CAAC;
|
1
|
+
{"version":3,"file":"Popup.types.d.ts","sourceRoot":"","sources":["../../../src/components/Popup/Popup.types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,mBAAmB,GAAG,QAAQ,GAAG,KAAK,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;AACjF,MAAM,MAAM,mBAAmB,GAAG,WAAW,GAAG,UAAU,GAAG,cAAc,GAAG,aAAa,CAAC;AAC5F,MAAM,MAAM,cAAc,GAAG,mBAAmB,GAAG,mBAAmB,CAAC;AAEvE,MAAM,WAAW,SAAS;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC9B;AAED,MAAM,WAAW,gBAAgB;IAC7B,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC;IACpC,UAAU,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC;AAED,MAAM,WAAW,UAAW,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACpE;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;OAGG;IACH,SAAS,CAAC,EAAE,cAAc,CAAC;IAC3B;;;OAGG;IACH,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC7C;;OAEG;IACH,KAAK,CAAC,EAAE,UAAU,GAAG,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IAC3D;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B;;OAEG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;CAC3B;AACD,MAAM,WAAW,kBAAkB;IAC/B,YAAY,EAAE,OAAO,CAAC;IACtB,eAAe,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IAC/D,aAAa,EAAE,OAAO,CAAC;IACvB,gBAAgB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;CACnE;AAED,MAAM,WAAW,iBAAiB;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,cAAe,SAAQ,IAAI,CAAC,UAAU,EAAE,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAC;IACrF,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IAC1D,QAAQ,EAAE,iBAAiB,CAAC;IAC5B;;OAEG;IACH,aAAa,EAAE,kBAAkB,CAAC;CACrC;AAED,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,UAAU,EAAE,WAAW,GAAG,eAAe,CAAC;IAClF,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,uBAAwB,SAAQ,IAAI,CAAC,UAAU,EAAE,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAC;IAC9F,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,EAAE,iBAAiB,CAAC;CAC/B"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Popup/utils/index.ts"],"names":[],"mappings":"AAAA,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Popup/utils/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,SAAS,CAAC"}
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { SelectProps } from '../Select.types';
|
2
|
-
export declare const sizeToIconSize: (size?: string, variant?: SelectProps["variant"]) => "
|
2
|
+
export declare const sizeToIconSize: (size?: string, variant?: SelectProps["variant"]) => "s" | "xs";
|
3
3
|
//# sourceMappingURL=sizeToIconSize.d.ts.map
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Header } from '@tanstack/react-table';
|
2
2
|
import React from 'react';
|
3
3
|
import { TableProps, TableRowData } from '../../Table.types';
|
4
|
-
export declare const getIconSize: (size?: string) => "
|
4
|
+
export declare const getIconSize: (size?: string) => "s" | "xs";
|
5
5
|
type Props = {
|
6
6
|
borderVariant: TableProps['borderVariant'];
|
7
7
|
size: TableProps['size'];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../src/components/TextArea/TextArea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmG,MAAM,OAAO,CAAC;AAKxH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;
|
1
|
+
{"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../src/components/TextArea/TextArea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmG,MAAM,OAAO,CAAC;AAKxH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAgCrD,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAkCzE,eAAO,MAAM,sBAAsB,UAAW,aAAa,WAAW,OAAO,2BA2B5E,CAAC;AAEF,eAAO,MAAM,YAAY,SAAU,SAAS,CAAC,mBAAmB,EAAE,iBAAiB,CAAC,8FA6T9E,CAAC;AAEP,eAAO,MAAM,cAAc;;;mBA/TQ,SAAS,CAAC,mBAAmB,EAAE,iBAAiB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkWnF,CAAC"}
|