@salutejs/plasma-new-hope 0.270.0-canary.1770.13386075549.0 → 0.270.1-canary.1783.13392666998.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/Autocomplete/Autocomplete.css +1 -1
- package/cjs/components/Combobox/ComboboxNew/Combobox.css +1 -1
- package/cjs/components/DatePicker/RangeDate/RangeDate.css +2 -2
- package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +2 -2
- package/cjs/components/DatePicker/SingleDate/SingleDate.css +1 -1
- package/cjs/components/Pagination/Pagination.css +1 -1
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +1 -1
- package/cjs/components/Range/Range.css +2 -2
- package/cjs/components/Range/Range.styles.js.map +1 -1
- package/cjs/components/Range/Range.tokens.js +0 -2
- package/cjs/components/Range/Range.tokens.js.map +1 -1
- package/cjs/components/Range/variations/_readonly/base.js +1 -1
- package/cjs/components/Range/variations/_readonly/base.js.map +1 -1
- package/cjs/components/Range/variations/_readonly/{base_1jlqwtc.css → base_8q1gx8.css} +1 -1
- package/cjs/components/Select/Select.css +1 -1
- package/cjs/components/Select/ui/Target/Target.css +1 -1
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.css +1 -1
- package/cjs/components/Slider/Slider.css +1 -1
- package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +1 -1
- package/cjs/components/TextArea/TextArea.js +7 -9
- package/cjs/components/TextArea/TextArea.js.map +1 -1
- package/cjs/components/TextArea/TextArea.tokens.js +0 -3
- package/cjs/components/TextArea/TextArea.tokens.js.map +1 -1
- package/cjs/components/TextArea/variations/_clear/base.js.map +1 -1
- package/cjs/components/TextField/TextField.tokens.js +0 -1
- package/cjs/components/TextField/TextField.tokens.js.map +1 -1
- package/cjs/components/TextField/variations/_read-only/base.js +1 -1
- package/cjs/components/TextField/variations/_read-only/base.js.map +1 -1
- package/cjs/components/TextField/variations/_read-only/base_oizdmx.css +1 -0
- package/cjs/index.css +2 -4
- package/emotion/cjs/components/Range/Range.styles.js +10 -10
- package/emotion/cjs/components/Range/Range.tokens.js +0 -2
- package/emotion/cjs/components/Range/variations/_readonly/base.js +1 -1
- package/emotion/cjs/components/TextArea/TextArea.js +8 -10
- package/emotion/cjs/components/TextArea/TextArea.tokens.js +0 -3
- package/emotion/cjs/components/TextArea/variations/_clear/base.js +1 -1
- package/emotion/cjs/components/TextField/TextField.tokens.js +0 -1
- package/emotion/cjs/components/TextField/variations/_read-only/base.js +1 -1
- package/emotion/cjs/components/_Icon/Icons/IconChevronLeft.js +3 -8
- package/emotion/cjs/components/_Icon/index.js +0 -7
- package/emotion/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Range/Range.config.js +7 -7
- package/emotion/cjs/examples/plasma_b2c/components/Range/Range.stories.tsx +7 -14
- package/emotion/cjs/examples/plasma_b2c/components/TextArea/TextArea.config.js +14 -17
- package/emotion/cjs/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +20 -71
- package/emotion/cjs/examples/plasma_b2c/components/TextField/TextField.config.js +22 -22
- package/emotion/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +26 -92
- package/emotion/cjs/examples/plasma_b2c/components/Tokens/Tokens.stories.tsx +28 -22
- package/emotion/cjs/examples/plasma_b2c/components/Tokens/Tokens.styles.js +14 -14
- package/emotion/cjs/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Range/Range.config.js +7 -7
- package/emotion/cjs/examples/plasma_web/components/Range/Range.stories.tsx +7 -14
- package/emotion/cjs/examples/plasma_web/components/TextArea/TextArea.stories.tsx +20 -71
- package/emotion/cjs/examples/plasma_web/components/TextField/TextField.config.js +22 -22
- package/emotion/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +25 -85
- package/emotion/cjs/examples/plasma_web/components/Tokens/Tokens.stories.tsx +28 -22
- package/emotion/cjs/examples/plasma_web/components/Tokens/Tokens.styles.js +14 -14
- package/emotion/es/components/Range/Range.styles.js +10 -10
- package/emotion/es/components/Range/Range.tokens.js +0 -2
- package/emotion/es/components/Range/variations/_readonly/base.js +1 -1
- package/emotion/es/components/TextArea/TextArea.js +4 -6
- package/emotion/es/components/TextArea/TextArea.tokens.js +0 -3
- package/emotion/es/components/TextArea/variations/_clear/base.js +1 -1
- package/emotion/es/components/TextField/TextField.tokens.js +0 -1
- package/emotion/es/components/TextField/variations/_read-only/base.js +2 -2
- package/emotion/es/components/_Icon/Icons/IconChevronLeft.js +3 -8
- package/emotion/es/components/_Icon/index.js +0 -1
- package/emotion/es/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Range/Range.config.js +7 -7
- package/emotion/es/examples/plasma_b2c/components/Range/Range.stories.tsx +7 -14
- package/emotion/es/examples/plasma_b2c/components/TextArea/TextArea.config.js +14 -17
- package/emotion/es/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +20 -71
- package/emotion/es/examples/plasma_b2c/components/TextField/TextField.config.js +22 -22
- package/emotion/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +26 -92
- package/emotion/es/examples/plasma_b2c/components/Tokens/Tokens.stories.tsx +28 -22
- package/emotion/es/examples/plasma_b2c/components/Tokens/Tokens.styles.js +14 -14
- package/emotion/es/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Range/Range.config.js +7 -7
- package/emotion/es/examples/plasma_web/components/Range/Range.stories.tsx +7 -14
- package/emotion/es/examples/plasma_web/components/TextArea/TextArea.stories.tsx +20 -71
- package/emotion/es/examples/plasma_web/components/TextField/TextField.config.js +22 -22
- package/emotion/es/examples/plasma_web/components/TextField/TextField.stories.tsx +25 -85
- package/emotion/es/examples/plasma_web/components/Tokens/Tokens.stories.tsx +28 -22
- package/emotion/es/examples/plasma_web/components/Tokens/Tokens.styles.js +14 -14
- package/es/components/Autocomplete/Autocomplete.css +1 -1
- package/es/components/Combobox/ComboboxNew/Combobox.css +1 -1
- package/es/components/DatePicker/RangeDate/RangeDate.css +2 -2
- package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +2 -2
- package/es/components/DatePicker/SingleDate/SingleDate.css +1 -1
- package/es/components/Pagination/Pagination.css +1 -1
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +1 -1
- package/es/components/Range/Range.css +2 -2
- package/es/components/Range/Range.styles.js.map +1 -1
- package/es/components/Range/Range.tokens.js +0 -2
- package/es/components/Range/Range.tokens.js.map +1 -1
- package/es/components/Range/variations/_readonly/base.js +1 -1
- package/es/components/Range/variations/_readonly/base.js.map +1 -1
- package/es/components/Range/variations/_readonly/{base_1jlqwtc.css → base_8q1gx8.css} +1 -1
- package/es/components/Select/Select.css +1 -1
- package/es/components/Select/ui/Target/Target.css +1 -1
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.css +1 -1
- package/es/components/Slider/Slider.css +1 -1
- package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +1 -1
- package/es/components/TextArea/TextArea.js +7 -9
- package/es/components/TextArea/TextArea.js.map +1 -1
- package/es/components/TextArea/TextArea.tokens.js +0 -3
- package/es/components/TextArea/TextArea.tokens.js.map +1 -1
- package/es/components/TextArea/variations/_clear/base.js.map +1 -1
- package/es/components/TextField/TextField.tokens.js +0 -1
- package/es/components/TextField/TextField.tokens.js.map +1 -1
- package/es/components/TextField/variations/_read-only/base.js +1 -1
- package/es/components/TextField/variations/_read-only/base.js.map +1 -1
- package/es/components/TextField/variations/_read-only/base_oizdmx.css +1 -0
- package/es/index.css +2 -4
- package/package.json +5 -5
- package/styled-components/cjs/components/Range/Range.tokens.js +0 -2
- package/styled-components/cjs/components/Range/variations/_readonly/base.js +1 -1
- package/styled-components/cjs/components/TextArea/TextArea.js +7 -9
- package/styled-components/cjs/components/TextArea/TextArea.tokens.js +0 -3
- package/styled-components/cjs/components/TextField/TextField.tokens.js +0 -1
- package/styled-components/cjs/components/TextField/variations/_read-only/base.js +1 -1
- package/styled-components/cjs/components/_Icon/Icons/IconChevronLeft.js +3 -8
- package/styled-components/cjs/components/_Icon/index.js +0 -7
- package/styled-components/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Range/Range.config.js +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Range/Range.stories.tsx +7 -14
- package/styled-components/cjs/examples/plasma_b2c/components/TextArea/TextArea.config.js +0 -3
- package/styled-components/cjs/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +20 -71
- package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.config.js +7 -7
- package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +26 -92
- package/styled-components/cjs/examples/plasma_b2c/components/Tokens/Tokens.stories.tsx +28 -22
- package/styled-components/cjs/examples/plasma_b2c/components/Tokens/Tokens.styles.js +2 -2
- package/styled-components/cjs/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Range/Range.config.js +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Range/Range.stories.tsx +7 -14
- package/styled-components/cjs/examples/plasma_web/components/TextArea/TextArea.stories.tsx +20 -71
- package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.config.js +7 -7
- package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +25 -85
- package/styled-components/cjs/examples/plasma_web/components/Tokens/Tokens.stories.tsx +28 -22
- package/styled-components/cjs/examples/plasma_web/components/Tokens/Tokens.styles.js +2 -2
- package/styled-components/es/components/Range/Range.tokens.js +0 -2
- package/styled-components/es/components/Range/variations/_readonly/base.js +1 -1
- package/styled-components/es/components/TextArea/TextArea.js +3 -5
- package/styled-components/es/components/TextArea/TextArea.tokens.js +0 -3
- package/styled-components/es/components/TextField/TextField.tokens.js +0 -1
- package/styled-components/es/components/TextField/variations/_read-only/base.js +2 -2
- package/styled-components/es/components/_Icon/Icons/IconChevronLeft.js +3 -8
- package/styled-components/es/components/_Icon/index.js +0 -1
- package/styled-components/es/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Range/Range.config.js +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Range/Range.stories.tsx +7 -14
- package/styled-components/es/examples/plasma_b2c/components/TextArea/TextArea.config.js +0 -3
- package/styled-components/es/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +20 -71
- package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.config.js +7 -7
- package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +26 -92
- package/styled-components/es/examples/plasma_b2c/components/Tokens/Tokens.stories.tsx +28 -22
- package/styled-components/es/examples/plasma_b2c/components/Tokens/Tokens.styles.js +2 -2
- package/styled-components/es/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Range/Range.config.js +1 -1
- package/styled-components/es/examples/plasma_web/components/Range/Range.stories.tsx +7 -14
- package/styled-components/es/examples/plasma_web/components/TextArea/TextArea.stories.tsx +20 -71
- package/styled-components/es/examples/plasma_web/components/TextField/TextField.config.js +7 -7
- package/styled-components/es/examples/plasma_web/components/TextField/TextField.stories.tsx +25 -85
- package/styled-components/es/examples/plasma_web/components/Tokens/Tokens.stories.tsx +28 -22
- package/styled-components/es/examples/plasma_web/components/Tokens/Tokens.styles.js +2 -2
- package/types/components/Range/Range.tokens.d.ts +0 -2
- package/types/components/Range/Range.tokens.d.ts.map +1 -1
- package/types/components/Range/variations/_readonly/base.d.ts.map +1 -1
- package/types/components/TextArea/TextArea.d.ts +2 -3
- package/types/components/TextArea/TextArea.d.ts.map +1 -1
- package/types/components/TextArea/TextArea.tokens.d.ts +0 -3
- package/types/components/TextArea/TextArea.tokens.d.ts.map +1 -1
- package/types/components/TextArea/variations/_clear/base.d.ts.map +1 -1
- package/types/components/TextField/TextField.tokens.d.ts +0 -1
- package/types/components/TextField/TextField.tokens.d.ts.map +1 -1
- package/types/components/TextField/variations/_read-only/base.d.ts.map +1 -1
- package/types/components/_Icon/Icons/IconChevronLeft.d.ts.map +1 -1
- package/types/components/_Icon/index.d.ts +0 -1
- package/types/components/_Icon/index.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Range/Range.config.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/TextArea/TextArea.config.d.ts +0 -3
- package/types/examples/plasma_b2c/components/TextArea/TextArea.config.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/TextArea/TextArea.d.ts +0 -3
- package/types/examples/plasma_b2c/components/TextArea/TextArea.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/TextField/TextField.config.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Range/Range.config.d.ts.map +1 -1
- package/types/examples/plasma_web/components/TextField/TextField.config.d.ts.map +1 -1
- package/cjs/components/TextArea/variations/_read-only/base.js +0 -9
- package/cjs/components/TextArea/variations/_read-only/base.js.map +0 -1
- package/cjs/components/TextArea/variations/_read-only/base_om8eo9.css +0 -1
- package/cjs/components/TextField/variations/_read-only/base_sr3to2.css +0 -1
- package/emotion/cjs/components/TextArea/variations/_read-only/base.js +0 -10
- package/emotion/cjs/components/TextArea/variations/_read-only/tokens.json +0 -1
- package/emotion/cjs/components/_Icon/Icon.assets/Lock.js +0 -26
- package/emotion/cjs/components/_Icon/Icons/IconLock.js +0 -29
- package/emotion/es/components/TextArea/variations/_read-only/base.js +0 -4
- package/emotion/es/components/TextArea/variations/_read-only/tokens.json +0 -1
- package/emotion/es/components/_Icon/Icon.assets/Lock.js +0 -19
- package/emotion/es/components/_Icon/Icons/IconLock.js +0 -22
- package/es/components/TextArea/variations/_read-only/base.js +0 -5
- package/es/components/TextArea/variations/_read-only/base.js.map +0 -1
- package/es/components/TextArea/variations/_read-only/base_om8eo9.css +0 -1
- package/es/components/TextField/variations/_read-only/base_sr3to2.css +0 -1
- package/styled-components/cjs/components/TextArea/variations/_read-only/base.js +0 -10
- package/styled-components/cjs/components/TextArea/variations/_read-only/tokens.json +0 -1
- package/styled-components/cjs/components/_Icon/Icon.assets/Lock.js +0 -26
- package/styled-components/cjs/components/_Icon/Icons/IconLock.js +0 -29
- package/styled-components/es/components/TextArea/variations/_read-only/base.js +0 -4
- package/styled-components/es/components/TextArea/variations/_read-only/tokens.json +0 -1
- package/styled-components/es/components/_Icon/Icon.assets/Lock.js +0 -19
- package/styled-components/es/components/_Icon/Icons/IconLock.js +0 -22
- package/types/components/TextArea/variations/_read-only/base.d.ts +0 -2
- package/types/components/TextArea/variations/_read-only/base.d.ts.map +0 -1
- package/types/components/_Icon/Icon.assets/Lock.d.ts +0 -4
- package/types/components/_Icon/Icon.assets/Lock.d.ts.map +0 -1
- package/types/components/_Icon/Icons/IconLock.d.ts +0 -4
- package/types/components/_Icon/Icons/IconLock.d.ts.map +0 -1
@@ -60,9 +60,6 @@ export var tokens = {
|
|
60
60
|
/** Цвет текста для элемента textarea */
|
61
61
|
inputColor: '--plasma-textarea-input-color',
|
62
62
|
clearInputColor: '--plasma-textarea-input-clear-color',
|
63
|
-
inputColorReadOnly: '--plasma-textarea-input-color-read-only',
|
64
|
-
backgroundColorReadOnly: '--plasma-textarea-background-color-read-only',
|
65
|
-
readOnlyOpacity: '--plasma-textarea-read-only-opacity',
|
66
63
|
/** Цвет текста для элемента textarea в состоянии focus */
|
67
64
|
inputColorFocus: '--plasma-textarea-input-color-focus',
|
68
65
|
/** Цвет каретки для элемента textarea */
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import { css } from '@emotion/react';
|
2
2
|
import { classes, tokens } from '../../TextArea.tokens';
|
3
3
|
import { OuterLabelWrapper, StyledContainer, StyledContent, StyledHelpers, StyledHintWrapper, StyledIndicator, StyledPlaceholder, StyledTextArea, StyledTextAreaWrapper } from '../../TextArea.styles';
|
4
|
-
export var base = /*#__PURE__*/css("&.", classes.clear, "{border:unset;", StyledTextAreaWrapper, "{box-shadow:unset;background-color:unset;border-radius:0;padding-bottom:var(", tokens.inputPaddingTop, ");}", OuterLabelWrapper, "{margin-bottom:var(", tokens.clearLabelMarginBottom, ");}", StyledContent, "{right:0;bottom:unset;}", StyledTextArea, ",", StyledHelpers, "{padding-left:0;}", StyledHelpers, "{background-color:unset;border-radius:0;padding-top:var(", tokens.clearHelpersPaddingTop, ");padding-right:0;}", StyledTextArea, "{color:var(", tokens.clearInputColor, ");padding-right:0;&.", classes.hasRightContent, "{padding-right:var(", tokens.clearInputPaddingRightWithRightContent, ");}}", StyledContainer, "{&:not(.", classes.innerPlaceholderUp, "){", StyledPlaceholder, "{color:var(", tokens.clearPlaceholderColor, ");}&.", classes.focusedOuterPlaceholderColor, " ", StyledPlaceholder, "{color:var(", tokens.clearPlaceholderColorFocus, ");}}&.", classes.innerPlaceholderUp, "{color:var(", tokens.placeholderColor, ");}}", StyledPlaceholder, "{padding-left:0;}", StyledIndicator, "{&.", classes.innerLabelPlacement, "{inset:var(", tokens.clearIndicatorLabelPlacementInner, ");&.", classes.requiredAlignRight, "{inset:var(", tokens.clearIndicatorLabelPlacementInnerRight, ");}}}&.", classes.hasHint, "{", StyledHintWrapper, "{&.", classes.innerLabelPlacement, "{inset:var(", tokens.clearHintInnerLabelPlacementOffset, ");}}", StyledIndicator, "{&.", classes.innerLabelPlacement, ".", classes.requiredAlignRight, "{inset:var(", tokens.clearIndicatorHintInnerRight, ");}}}.", classes.styledContainer, "{border:unset;border-radius:0;}&:focus-within:not([readonly]) .", classes.styledTextAreaWrapper, "{background-color:unset;box-shadow:unset;}&:focus-within:not([readonly]) .", classes.styledContainer, "{border:unset;}&:focus-within:not([readonly]) .", classes.styledHelpers, "{background-color:unset;}&.", classes.hasDivider, "{", StyledTextAreaWrapper, "{position:relative;--plasma_private-textarea-divider-color:var(", /*#__PURE__*/String(tokens.dividerColor), ");&:before{content:'';position:absolute;height:0.063rem;width:100%;bottom:0;left:0;background-color:var(--plasma_private-textarea-divider-color);transition:background-color 0.1s ease-in;}}&:not([readonly]) ", StyledTextAreaWrapper, ":hover{--plasma_private-textarea-divider-color:var(\n ", tokens.dividerColorHover, ",\n var(", /*#__PURE__*/String(tokens.dividerColor), ")\n );}&:not([readonly]) ", StyledTextAreaWrapper, ":focus-within{--plasma_private-textarea-divider-color:var(\n ", tokens.dividerColorFocus, ",\n var(", /*#__PURE__*/String(tokens.dividerColor), ")\n );}}};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
4
|
+
export var base = /*#__PURE__*/css("&.", classes.clear, "{border:unset;", StyledTextAreaWrapper, "{box-shadow:unset;background-color:unset;border-radius:0;padding-bottom:var(", tokens.inputPaddingTop, ");}", OuterLabelWrapper, "{margin-bottom:var(", tokens.clearLabelMarginBottom, ");}", StyledContent, "{right:0;bottom:unset;}", StyledTextArea, ",", StyledHelpers, "{padding-left:0;}", StyledHelpers, "{background-color:unset;border-radius:0;padding-top:var(", tokens.clearHelpersPaddingTop, ");padding-right:0;}", StyledTextArea, "{color:var(", tokens.clearInputColor, ");padding-right:0;&.", classes.hasRightContent, "{padding-right:var(", tokens.clearInputPaddingRightWithRightContent, ");}}", StyledContainer, "{&:not(.", classes.innerPlaceholderUp, "){", StyledPlaceholder, "{color:var(", tokens.clearPlaceholderColor, ");}&.", classes.focusedOuterPlaceholderColor, " ", StyledPlaceholder, "{color:var(", tokens.clearPlaceholderColorFocus, ");}}&.", classes.innerPlaceholderUp, "{color:var(", tokens.placeholderColor, ");}}", StyledPlaceholder, "{padding-left:0;}", StyledIndicator, "{&.", classes.innerLabelPlacement, "{inset:var(", tokens.clearIndicatorLabelPlacementInner, ");&.", classes.requiredAlignRight, "{inset:var(", tokens.clearIndicatorLabelPlacementInnerRight, ");}}}&.", classes.hasHint, "{", StyledHintWrapper, "{&.", classes.innerLabelPlacement, "{inset:var(", tokens.clearHintInnerLabelPlacementOffset, ");}}", StyledIndicator, "{&.", classes.innerLabelPlacement, ".", classes.requiredAlignRight, "{inset:var(", tokens.clearIndicatorHintInnerRight, ");}}}.", classes.styledContainer, "{border:unset;border-radius:0;}&:focus-within:not([readonly]) .", classes.styledTextAreaWrapper, "{background-color:unset;box-shadow:unset;}&:focus-within:not([readonly]) .", classes.styledContainer, "{border:unset;}&:focus-within:not([readonly]) .", classes.styledHelpers, "{background-color:unset;}&.", classes.hasDivider, "{", StyledTextAreaWrapper, "{position:relative;--plasma_private-textarea-divider-color:var(", /*#__PURE__*/String(tokens.dividerColor), ");&:before{content:'';position:absolute;height:0.063rem;width:100%;bottom:0;left:0;background-color:var(--plasma_private-textarea-divider-color);transition:background-color 0.1s ease-in;}}&:not([readonly]) ", StyledTextAreaWrapper, ":hover{--plasma_private-textarea-divider-color:var(\n ", tokens.dividerColorHover, ",\n var(", /*#__PURE__*/String(tokens.dividerColor), ")\n );}&:not([readonly]) ", StyledTextAreaWrapper, ":focus-within{--plasma_private-textarea-divider-color:var(\n ", tokens.dividerColorFocus, ",\n var(", /*#__PURE__*/String(tokens.dividerColor), ")\n );}}};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVGV4dEFyZWEvdmFyaWF0aW9ucy9fY2xlYXIvYmFzZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFldUIiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9UZXh0QXJlYS92YXJpYXRpb25zL19jbGVhci9iYXNlLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG5pbXBvcnQgeyBjbGFzc2VzLCB0b2tlbnMgfSBmcm9tICcuLi8uLi9UZXh0QXJlYS50b2tlbnMnO1xuaW1wb3J0IHtcbiAgICBPdXRlckxhYmVsV3JhcHBlcixcbiAgICBTdHlsZWRDb250YWluZXIsXG4gICAgU3R5bGVkQ29udGVudCxcbiAgICBTdHlsZWRIZWxwZXJzLFxuICAgIFN0eWxlZEhpbnRXcmFwcGVyLFxuICAgIFN0eWxlZEluZGljYXRvcixcbiAgICBTdHlsZWRQbGFjZWhvbGRlcixcbiAgICBTdHlsZWRUZXh0QXJlYSxcbiAgICBTdHlsZWRUZXh0QXJlYVdyYXBwZXIsXG59IGZyb20gJy4uLy4uL1RleHRBcmVhLnN0eWxlcyc7XG5cbmV4cG9ydCBjb25zdCBiYXNlID0gY3NzYFxuICAgICYuJHtjbGFzc2VzLmNsZWFyfSB7XG4gICAgICAgIGJvcmRlcjogdW5zZXQ7XG5cbiAgICAgICAgJHtTdHlsZWRUZXh0QXJlYVdyYXBwZXJ9IHtcbiAgICAgICAgICAgIGJveC1zaGFkb3c6IHVuc2V0O1xuICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogdW5zZXQ7XG4gICAgICAgICAgICBib3JkZXItcmFkaXVzOiAwO1xuICAgICAgICAgICAgcGFkZGluZy1ib3R0b206IHZhcigke3Rva2Vucy5pbnB1dFBhZGRpbmdUb3B9KTtcbiAgICAgICAgfVxuXG4gICAgICAgICR7T3V0ZXJMYWJlbFdyYXBwZXJ9IHtcbiAgICAgICAgICAgIG1hcmdpbi1ib3R0b206IHZhcigke3Rva2Vucy5jbGVhckxhYmVsTWFyZ2luQm90dG9tfSk7XG4gICAgICAgIH1cblxuICAgICAgICAke1N0eWxlZENvbnRlbnR9IHtcbiAgICAgICAgICAgIHJpZ2h0OiAwO1xuICAgICAgICAgICAgYm90dG9tOiB1bnNldDtcbiAgICAgICAgfVxuXG4gICAgICAgICR7U3R5bGVkVGV4dEFyZWF9LCAke1N0eWxlZEhlbHBlcnN9IHtcbiAgICAgICAgICAgIHBhZGRpbmctbGVmdDogMDtcbiAgICAgICAgfVxuXG4gICAgICAgICR7U3R5bGVkSGVscGVyc30ge1xuICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogdW5zZXQ7XG4gICAgICAgICAgICBib3JkZXItcmFkaXVzOiAwO1xuICAgICAgICAgICAgcGFkZGluZy10b3A6IHZhcigke3Rva2Vucy5jbGVhckhlbHBlcnNQYWRkaW5nVG9wfSk7XG4gICAgICAgICAgICBwYWRkaW5nLXJpZ2h0OiAwO1xuICAgICAgICB9XG5cbiAgICAgICAgJHtTdHlsZWRUZXh0QXJlYX0ge1xuICAgICAgICAgICAgY29sb3I6IHZhcigke3Rva2Vucy5jbGVhcklucHV0Q29sb3J9KTtcbiAgICAgICAgICAgIHBhZGRpbmctcmlnaHQ6IDA7XG5cbiAgICAgICAgICAgICYuJHtjbGFzc2VzLmhhc1JpZ2h0Q29udGVudH0ge1xuICAgICAgICAgICAgICAgIHBhZGRpbmctcmlnaHQ6IHZhcigke3Rva2Vucy5jbGVhcklucHV0UGFkZGluZ1JpZ2h0V2l0aFJpZ2h0Q29udGVudH0pO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgJHtTdHlsZWRDb250YWluZXJ9IHtcbiAgICAgICAgICAgICY6bm90KC4ke2NsYXNzZXMuaW5uZXJQbGFjZWhvbGRlclVwfSkge1xuICAgICAgICAgICAgICAgICR7U3R5bGVkUGxhY2Vob2xkZXJ9IHtcbiAgICAgICAgICAgICAgICAgICAgY29sb3I6IHZhcigke3Rva2Vucy5jbGVhclBsYWNlaG9sZGVyQ29sb3J9KTtcbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICAmLiR7Y2xhc3Nlcy5mb2N1c2VkT3V0ZXJQbGFjZWhvbGRlckNvbG9yfSAke1N0eWxlZFBsYWNlaG9sZGVyfSB7XG4gICAgICAgICAgICAgICAgICAgIGNvbG9yOiB2YXIoJHt0b2tlbnMuY2xlYXJQbGFjZWhvbGRlckNvbG9yRm9jdXN9KTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICYuJHtjbGFzc2VzLmlubmVyUGxhY2Vob2xkZXJVcH0ge1xuICAgICAgICAgICAgICAgIGNvbG9yOiB2YXIoJHt0b2tlbnMucGxhY2Vob2xkZXJDb2xvcn0pO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgJHtTdHlsZWRQbGFjZWhvbGRlcn0ge1xuICAgICAgICAgICAgcGFkZGluZy1sZWZ0OiAwO1xuICAgICAgICB9XG5cbiAgICAgICAgJHtTdHlsZWRJbmRpY2F0b3J9IHtcbiAgICAgICAgICAgICYuJHtjbGFzc2VzLmlubmVyTGFiZWxQbGFjZW1lbnR9IHtcbiAgICAgICAgICAgICAgICBpbnNldDogdmFyKCR7dG9rZW5zLmNsZWFySW5kaWNhdG9yTGFiZWxQbGFjZW1lbnRJbm5lcn0pO1xuICAgICAgICAgICAgICAgICYuJHtjbGFzc2VzLnJlcXVpcmVkQWxpZ25SaWdodH0ge1xuICAgICAgICAgICAgICAgICAgICBpbnNldDogdmFyKCR7dG9rZW5zLmNsZWFySW5kaWNhdG9yTGFiZWxQbGFjZW1lbnRJbm5lclJpZ2h0fSk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgJi4ke2NsYXNzZXMuaGFzSGludH0ge1xuICAgICAgICAgICAgJHtTdHlsZWRIaW50V3JhcHBlcn0ge1xuICAgICAgICAgICAgICAgICYuJHtjbGFzc2VzLmlubmVyTGFiZWxQbGFjZW1lbnR9IHtcbiAgICAgICAgICAgICAgICAgICAgaW5zZXQ6IHZhcigke3Rva2Vucy5jbGVhckhpbnRJbm5lckxhYmVsUGxhY2VtZW50T2Zmc2V0fSk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAke1N0eWxlZEluZGljYXRvcn0ge1xuICAgICAgICAgICAgICAgICYuJHtjbGFzc2VzLmlubmVyTGFiZWxQbGFjZW1lbnR9LiR7Y2xhc3Nlcy5yZXF1aXJlZEFsaWduUmlnaHR9IHtcbiAgICAgICAgICAgICAgICAgICAgaW5zZXQ6IHZhcigke3Rva2Vucy5jbGVhckluZGljYXRvckhpbnRJbm5lclJpZ2h0fSk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgLiR7Y2xhc3Nlcy5zdHlsZWRDb250YWluZXJ9IHtcbiAgICAgICAgICAgIGJvcmRlcjogdW5zZXQ7XG4gICAgICAgICAgICBib3JkZXItcmFkaXVzOiAwO1xuICAgICAgICB9XG5cbiAgICAgICAgJjpmb2N1cy13aXRoaW46bm90KFtyZWFkb25seV0pIC4ke2NsYXNzZXMuc3R5bGVkVGV4dEFyZWFXcmFwcGVyfSB7XG4gICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiB1bnNldDtcbiAgICAgICAgICAgIGJveC1zaGFkb3c6IHVuc2V0O1xuICAgICAgICB9XG5cbiAgICAgICAgJjpmb2N1cy13aXRoaW46bm90KFtyZWFkb25seV0pIC4ke2NsYXNzZXMuc3R5bGVkQ29udGFpbmVyfSB7XG4gICAgICAgICAgICBib3JkZXI6IHVuc2V0O1xuICAgICAgICB9XG5cbiAgICAgICAgJjpmb2N1cy13aXRoaW46bm90KFtyZWFkb25seV0pIC4ke2NsYXNzZXMuc3R5bGVkSGVscGVyc30ge1xuICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogdW5zZXQ7XG4gICAgICAgIH1cblxuICAgICAgICAmLiR7Y2xhc3Nlcy5oYXNEaXZpZGVyfSB7XG4gICAgICAgICAgICAke1N0eWxlZFRleHRBcmVhV3JhcHBlcn0ge1xuICAgICAgICAgICAgICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcblxuICAgICAgICAgICAgICAgIC0tcGxhc21hX3ByaXZhdGUtdGV4dGFyZWEtZGl2aWRlci1jb2xvcjogdmFyKCR7U3RyaW5nKHRva2Vucy5kaXZpZGVyQ29sb3IpfSk7XG5cbiAgICAgICAgICAgICAgICAmOmJlZm9yZSB7XG4gICAgICAgICAgICAgICAgICAgIGNvbnRlbnQ6ICcnO1xuICAgICAgICAgICAgICAgICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgICAgICAgICAgICAgICAgIGhlaWdodDogMC4wNjNyZW07XG4gICAgICAgICAgICAgICAgICAgIHdpZHRoOiAxMDAlO1xuICAgICAgICAgICAgICAgICAgICBib3R0b206IDA7XG4gICAgICAgICAgICAgICAgICAgIGxlZnQ6IDA7XG4gICAgICAgICAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6IHZhcigtLXBsYXNtYV9wcml2YXRlLXRleHRhcmVhLWRpdmlkZXItY29sb3IpO1xuICAgICAgICAgICAgICAgICAgICB0cmFuc2l0aW9uOiBiYWNrZ3JvdW5kLWNvbG9yIDAuMXMgZWFzZS1pbjtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICAmOm5vdChbcmVhZG9ubHldKSAke1N0eWxlZFRleHRBcmVhV3JhcHBlcn06aG92ZXIge1xuICAgICAgICAgICAgICAgIC0tcGxhc21hX3ByaXZhdGUtdGV4dGFyZWEtZGl2aWRlci1jb2xvcjogdmFyKFxuICAgICAgICAgICAgICAgICAgICAke3Rva2Vucy5kaXZpZGVyQ29sb3JIb3Zlcn0sXG4gICAgICAgICAgICAgICAgICAgIHZhcigke1N0cmluZyh0b2tlbnMuZGl2aWRlckNvbG9yKX0pXG4gICAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgICY6bm90KFtyZWFkb25seV0pICR7U3R5bGVkVGV4dEFyZWFXcmFwcGVyfTpmb2N1cy13aXRoaW4ge1xuICAgICAgICAgICAgICAgIC0tcGxhc21hX3ByaXZhdGUtdGV4dGFyZWEtZGl2aWRlci1jb2xvcjogdmFyKFxuICAgICAgICAgICAgICAgICAgICAke3Rva2Vucy5kaXZpZGVyQ29sb3JGb2N1c30sXG4gICAgICAgICAgICAgICAgICAgIHZhcigke1N0cmluZyh0b2tlbnMuZGl2aWRlckNvbG9yKX0pXG4gICAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgIH1cbmA7XG4iXX0= */"));
|
@@ -112,7 +112,6 @@ export var tokens = {
|
|
112
112
|
textAfterMargin: '--plasma-textfield__after-text-margin',
|
113
113
|
/** Прозрачность для всего компонента в состоянии disabled */
|
114
114
|
disabledOpacity: '--plasma-textfield-disabled-opacity',
|
115
|
-
readOnlyOpacity: '--plasma-textfield-readonly-opacity',
|
116
115
|
/** Токены для tooltip */
|
117
116
|
hintMargin: '--plasma-textfield__hint-margin',
|
118
117
|
hintTargetSize: '--plasma-textfield__hint-target-size',
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import { css } from '@emotion/react';
|
2
2
|
import { classes, tokens } from '../../TextField.tokens';
|
3
|
-
import { Input, InputPlaceholder, InputWrapper, Label, LeftHelper,
|
4
|
-
export var base = /*#__PURE__*/css("&[readonly]{
|
3
|
+
import { Input, InputPlaceholder, InputWrapper, Label, LeftHelper, TitleCaption } from '../../TextField.styles';
|
4
|
+
export var base = /*#__PURE__*/css("&[readonly]{", InputWrapper, "{color:var(", tokens.colorReadOnly, ");background-color:var(", /*#__PURE__*/String(tokens.backgroundColorReadOnly), ");box-shadow:inset 0 0 0 var(", /*#__PURE__*/String(tokens.borderWidth), ") var(", /*#__PURE__*/String(tokens.borderColorReadOnly), ");}&.", classes.hasDivider, " ", InputWrapper, "{&:before{background-color:var(", /*#__PURE__*/String(tokens.dividerColorReadOnly), ");}}", InputWrapper, ":hover{background-color:var(", tokens.backgroundColorReadOnly, ");}", InputWrapper, ":focus-within ", InputPlaceholder, ",", InputPlaceholder, "{color:var(", tokens.placeholderColorReadOnly, ");}", Input, "{color:var(", tokens.colorReadOnly, ");cursor:default;min-width:unset;}", TitleCaption, "{color:var(", tokens.titleCaptionColorReadOnly, ");}", LeftHelper, "{color:var(", tokens.leftHelperColorReadOnly, ");}&.", classes.outerLabelPlacement, " ", Label, "{color:var(", tokens.labelColorReadOnly, ");}};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVGV4dEZpZWxkL3ZhcmlhdGlvbnMvX3JlYWQtb25seS9iYXNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUt1QiIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL1RleHRGaWVsZC92YXJpYXRpb25zL19yZWFkLW9ubHkvYmFzZS50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHsgY2xhc3NlcywgdG9rZW5zIH0gZnJvbSAnLi4vLi4vVGV4dEZpZWxkLnRva2Vucyc7XG5pbXBvcnQgeyBJbnB1dCwgSW5wdXRQbGFjZWhvbGRlciwgSW5wdXRXcmFwcGVyLCBMYWJlbCwgTGVmdEhlbHBlciwgVGl0bGVDYXB0aW9uIH0gZnJvbSAnLi4vLi4vVGV4dEZpZWxkLnN0eWxlcyc7XG5cbmV4cG9ydCBjb25zdCBiYXNlID0gY3NzYFxuICAgICZbcmVhZG9ubHldIHtcbiAgICAgICAgJHtJbnB1dFdyYXBwZXJ9IHtcbiAgICAgICAgICAgIGNvbG9yOiB2YXIoJHt0b2tlbnMuY29sb3JSZWFkT25seX0pO1xuICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogdmFyKCR7U3RyaW5nKHRva2Vucy5iYWNrZ3JvdW5kQ29sb3JSZWFkT25seSl9KTtcbiAgICAgICAgICAgIGJveC1zaGFkb3c6IGluc2V0IDAgMCAwIHZhcigke1N0cmluZyh0b2tlbnMuYm9yZGVyV2lkdGgpfSkgdmFyKCR7U3RyaW5nKHRva2Vucy5ib3JkZXJDb2xvclJlYWRPbmx5KX0pO1xuICAgICAgICB9XG5cbiAgICAgICAgJi4ke2NsYXNzZXMuaGFzRGl2aWRlcn0gJHtJbnB1dFdyYXBwZXJ9IHtcbiAgICAgICAgICAgICY6YmVmb3JlIHtcbiAgICAgICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoJHtTdHJpbmcodG9rZW5zLmRpdmlkZXJDb2xvclJlYWRPbmx5KX0pO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgJHtJbnB1dFdyYXBwZXJ9OmhvdmVyIHtcbiAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6IHZhcigke3Rva2Vucy5iYWNrZ3JvdW5kQ29sb3JSZWFkT25seX0pO1xuICAgICAgICB9XG5cbiAgICAgICAgJHtJbnB1dFdyYXBwZXJ9OmZvY3VzLXdpdGhpbiAke0lucHV0UGxhY2Vob2xkZXJ9LCAke0lucHV0UGxhY2Vob2xkZXJ9IHtcbiAgICAgICAgICAgIGNvbG9yOiB2YXIoJHt0b2tlbnMucGxhY2Vob2xkZXJDb2xvclJlYWRPbmx5fSk7XG4gICAgICAgIH1cblxuICAgICAgICAke0lucHV0fSB7XG4gICAgICAgICAgICBjb2xvcjogdmFyKCR7dG9rZW5zLmNvbG9yUmVhZE9ubHl9KTtcbiAgICAgICAgICAgIGN1cnNvcjogZGVmYXVsdDtcbiAgICAgICAgICAgIG1pbi13aWR0aDogdW5zZXQ7XG4gICAgICAgIH1cblxuICAgICAgICAke1RpdGxlQ2FwdGlvbn0ge1xuICAgICAgICAgICAgY29sb3I6IHZhcigke3Rva2Vucy50aXRsZUNhcHRpb25Db2xvclJlYWRPbmx5fSk7XG4gICAgICAgIH1cblxuICAgICAgICAke0xlZnRIZWxwZXJ9IHtcbiAgICAgICAgICAgIGNvbG9yOiB2YXIoJHt0b2tlbnMubGVmdEhlbHBlckNvbG9yUmVhZE9ubHl9KTtcbiAgICAgICAgfVxuXG4gICAgICAgICYuJHtjbGFzc2VzLm91dGVyTGFiZWxQbGFjZW1lbnR9ICR7TGFiZWx9IHtcbiAgICAgICAgICAgIGNvbG9yOiB2YXIoJHt0b2tlbnMubGFiZWxDb2xvclJlYWRPbmx5fSk7XG4gICAgICAgIH1cbiAgICB9XG5gO1xuIl19 */"));
|
@@ -1,7 +1,3 @@
|
|
1
|
-
var _excluded = ["size", "color", "className", "sizeCustomProperty"];
|
2
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
3
|
-
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
4
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
5
1
|
import React from 'react';
|
6
2
|
import { ChevronLeft } from '../Icon.assets/ChevronLeft';
|
7
3
|
import { IconRoot } from '../IconRoot';
|
@@ -10,13 +6,12 @@ export var IconChevronLeft = function IconChevronLeft(_ref) {
|
|
10
6
|
size = _ref$size === void 0 ? 's' : _ref$size,
|
11
7
|
color = _ref.color,
|
12
8
|
className = _ref.className,
|
13
|
-
sizeCustomProperty = _ref.sizeCustomProperty
|
14
|
-
|
15
|
-
return /*#__PURE__*/React.createElement(IconRoot, _extends({
|
9
|
+
sizeCustomProperty = _ref.sizeCustomProperty;
|
10
|
+
return /*#__PURE__*/React.createElement(IconRoot, {
|
16
11
|
className: className,
|
17
12
|
size: size,
|
18
13
|
color: color,
|
19
14
|
icon: ChevronLeft,
|
20
15
|
sizeCustomProperty: sizeCustomProperty
|
21
|
-
}
|
16
|
+
});
|
22
17
|
};
|
@@ -5,7 +5,6 @@ export { IconDisclosureRightWithOffset } from './Icons/IconDisclosureRightWithOf
|
|
5
5
|
export { IconDisclosureDownFill } from './Icons/IconDisclosureDownFill';
|
6
6
|
export { IconDisclosureDownWithOffset } from './Icons/IconDisclosureDownWithOffset';
|
7
7
|
export { IconDisclosureUpWithOffset } from './Icons/IconDisclosureUpWithOffset';
|
8
|
-
export { IconLock } from './Icons/IconLock';
|
9
8
|
export { IconMic } from './Icons/IconMic';
|
10
9
|
export { IconChevronLeft } from './Icons/IconChevronLeft';
|
11
10
|
export { IconChevronDoubleLeft } from './Icons/IconChevronDoubleLeft';
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React, { ComponentProps, useEffect, useRef, useState } from 'react';
|
2
2
|
import type { StoryObj, Meta } from '@storybook/react';
|
3
3
|
import { action } from '@storybook/addon-actions';
|
4
|
-
import {
|
4
|
+
import { IconPlaceholder } from '@salutejs/plasma-sb-utils';
|
5
5
|
|
6
6
|
import { WithTheme } from '../../../_helpers';
|
7
7
|
import { IconButton } from '../IconButton/IconButton';
|