@salutejs/plasma-new-hope 0.272.0-canary.1770.13398571521.0 → 0.272.0-canary.1776.13400228272.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (228) hide show
  1. package/cjs/components/Autocomplete/Autocomplete.css +1 -1
  2. package/cjs/components/Combobox/ComboboxNew/Combobox.css +1 -1
  3. package/cjs/components/DatePicker/RangeDate/RangeDate.css +2 -2
  4. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +2 -2
  5. package/cjs/components/DatePicker/SingleDate/SingleDate.css +1 -1
  6. package/cjs/components/Pagination/Pagination.css +1 -1
  7. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +1 -1
  8. package/cjs/components/Range/Range.css +2 -2
  9. package/cjs/components/Range/Range.styles.js.map +1 -1
  10. package/cjs/components/Range/Range.tokens.js +0 -2
  11. package/cjs/components/Range/Range.tokens.js.map +1 -1
  12. package/cjs/components/Range/variations/_readonly/base.js +1 -1
  13. package/cjs/components/Range/variations/_readonly/base.js.map +1 -1
  14. package/cjs/components/Range/variations/_readonly/{base_1jlqwtc.css → base_8q1gx8.css} +1 -1
  15. package/cjs/components/Select/Select.css +1 -1
  16. package/cjs/components/Select/ui/Target/Target.css +1 -1
  17. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.css +1 -1
  18. package/cjs/components/Slider/Slider.css +1 -1
  19. package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +1 -1
  20. package/cjs/components/Steps/Steps.css +9 -9
  21. package/cjs/components/Steps/Steps.tokens.js +1 -0
  22. package/cjs/components/Steps/Steps.tokens.js.map +1 -1
  23. package/cjs/components/Steps/ui/StepItem/StepItem.css +9 -9
  24. package/cjs/components/Steps/ui/StepItem/StepItem.styles.js +1 -1
  25. package/cjs/components/Steps/ui/StepItem/StepItem.styles.js.map +1 -1
  26. package/cjs/components/Steps/ui/StepItem/StepItem.styles_c6jhr1.css +9 -0
  27. package/cjs/components/TextArea/TextArea.js +7 -9
  28. package/cjs/components/TextArea/TextArea.js.map +1 -1
  29. package/cjs/components/TextArea/TextArea.tokens.js +0 -3
  30. package/cjs/components/TextArea/TextArea.tokens.js.map +1 -1
  31. package/cjs/components/TextArea/variations/_clear/base.js.map +1 -1
  32. package/cjs/components/TextField/TextField.tokens.js +0 -1
  33. package/cjs/components/TextField/TextField.tokens.js.map +1 -1
  34. package/cjs/components/TextField/variations/_read-only/base.js +1 -1
  35. package/cjs/components/TextField/variations/_read-only/base.js.map +1 -1
  36. package/cjs/components/TextField/variations/_read-only/base_oizdmx.css +1 -0
  37. package/cjs/index.css +11 -13
  38. package/emotion/cjs/components/Range/Range.styles.js +10 -10
  39. package/emotion/cjs/components/Range/Range.tokens.js +0 -2
  40. package/emotion/cjs/components/Range/variations/_readonly/base.js +1 -1
  41. package/emotion/cjs/components/Steps/Steps.tokens.js +1 -0
  42. package/emotion/cjs/components/Steps/ui/StepItem/StepItem.styles.js +10 -10
  43. package/emotion/cjs/components/TextArea/TextArea.js +8 -10
  44. package/emotion/cjs/components/TextArea/TextArea.tokens.js +0 -3
  45. package/emotion/cjs/components/TextArea/variations/_clear/base.js +1 -1
  46. package/emotion/cjs/components/TextField/TextField.tokens.js +0 -1
  47. package/emotion/cjs/components/TextField/variations/_read-only/base.js +1 -1
  48. package/emotion/cjs/components/_Icon/Icons/IconChevronLeft.js +3 -8
  49. package/emotion/cjs/components/_Icon/index.js +0 -7
  50. package/emotion/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +1 -1
  51. package/emotion/cjs/examples/plasma_b2c/components/Range/Range.config.js +7 -7
  52. package/emotion/cjs/examples/plasma_b2c/components/Range/Range.stories.tsx +7 -14
  53. package/emotion/cjs/examples/plasma_b2c/components/TextArea/TextArea.config.js +14 -17
  54. package/emotion/cjs/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +20 -71
  55. package/emotion/cjs/examples/plasma_b2c/components/TextField/TextField.config.js +22 -22
  56. package/emotion/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +26 -92
  57. package/emotion/cjs/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +1 -1
  58. package/emotion/cjs/examples/plasma_web/components/Range/Range.config.js +7 -7
  59. package/emotion/cjs/examples/plasma_web/components/Range/Range.stories.tsx +7 -14
  60. package/emotion/cjs/examples/plasma_web/components/TextArea/TextArea.stories.tsx +20 -71
  61. package/emotion/cjs/examples/plasma_web/components/TextField/TextField.config.js +22 -22
  62. package/emotion/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +25 -85
  63. package/emotion/es/components/Range/Range.styles.js +10 -10
  64. package/emotion/es/components/Range/Range.tokens.js +0 -2
  65. package/emotion/es/components/Range/variations/_readonly/base.js +1 -1
  66. package/emotion/es/components/Steps/Steps.tokens.js +1 -0
  67. package/emotion/es/components/Steps/ui/StepItem/StepItem.styles.js +10 -10
  68. package/emotion/es/components/TextArea/TextArea.js +4 -6
  69. package/emotion/es/components/TextArea/TextArea.tokens.js +0 -3
  70. package/emotion/es/components/TextArea/variations/_clear/base.js +1 -1
  71. package/emotion/es/components/TextField/TextField.tokens.js +0 -1
  72. package/emotion/es/components/TextField/variations/_read-only/base.js +2 -2
  73. package/emotion/es/components/_Icon/Icons/IconChevronLeft.js +3 -8
  74. package/emotion/es/components/_Icon/index.js +0 -1
  75. package/emotion/es/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +1 -1
  76. package/emotion/es/examples/plasma_b2c/components/Range/Range.config.js +7 -7
  77. package/emotion/es/examples/plasma_b2c/components/Range/Range.stories.tsx +7 -14
  78. package/emotion/es/examples/plasma_b2c/components/TextArea/TextArea.config.js +14 -17
  79. package/emotion/es/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +20 -71
  80. package/emotion/es/examples/plasma_b2c/components/TextField/TextField.config.js +22 -22
  81. package/emotion/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +26 -92
  82. package/emotion/es/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +1 -1
  83. package/emotion/es/examples/plasma_web/components/Range/Range.config.js +7 -7
  84. package/emotion/es/examples/plasma_web/components/Range/Range.stories.tsx +7 -14
  85. package/emotion/es/examples/plasma_web/components/TextArea/TextArea.stories.tsx +20 -71
  86. package/emotion/es/examples/plasma_web/components/TextField/TextField.config.js +22 -22
  87. package/emotion/es/examples/plasma_web/components/TextField/TextField.stories.tsx +25 -85
  88. package/es/components/Autocomplete/Autocomplete.css +1 -1
  89. package/es/components/Combobox/ComboboxNew/Combobox.css +1 -1
  90. package/es/components/DatePicker/RangeDate/RangeDate.css +2 -2
  91. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +2 -2
  92. package/es/components/DatePicker/SingleDate/SingleDate.css +1 -1
  93. package/es/components/Pagination/Pagination.css +1 -1
  94. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +1 -1
  95. package/es/components/Range/Range.css +2 -2
  96. package/es/components/Range/Range.styles.js.map +1 -1
  97. package/es/components/Range/Range.tokens.js +0 -2
  98. package/es/components/Range/Range.tokens.js.map +1 -1
  99. package/es/components/Range/variations/_readonly/base.js +1 -1
  100. package/es/components/Range/variations/_readonly/base.js.map +1 -1
  101. package/es/components/Range/variations/_readonly/{base_1jlqwtc.css → base_8q1gx8.css} +1 -1
  102. package/es/components/Select/Select.css +1 -1
  103. package/es/components/Select/ui/Target/Target.css +1 -1
  104. package/es/components/Select/ui/Target/ui/Textfield/Textfield.css +1 -1
  105. package/es/components/Slider/Slider.css +1 -1
  106. package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +1 -1
  107. package/es/components/Steps/Steps.css +9 -9
  108. package/es/components/Steps/Steps.tokens.js +1 -0
  109. package/es/components/Steps/Steps.tokens.js.map +1 -1
  110. package/es/components/Steps/ui/StepItem/StepItem.css +9 -9
  111. package/es/components/Steps/ui/StepItem/StepItem.styles.js +1 -1
  112. package/es/components/Steps/ui/StepItem/StepItem.styles.js.map +1 -1
  113. package/es/components/Steps/ui/StepItem/StepItem.styles_c6jhr1.css +9 -0
  114. package/es/components/TextArea/TextArea.js +7 -9
  115. package/es/components/TextArea/TextArea.js.map +1 -1
  116. package/es/components/TextArea/TextArea.tokens.js +0 -3
  117. package/es/components/TextArea/TextArea.tokens.js.map +1 -1
  118. package/es/components/TextArea/variations/_clear/base.js.map +1 -1
  119. package/es/components/TextField/TextField.tokens.js +0 -1
  120. package/es/components/TextField/TextField.tokens.js.map +1 -1
  121. package/es/components/TextField/variations/_read-only/base.js +1 -1
  122. package/es/components/TextField/variations/_read-only/base.js.map +1 -1
  123. package/es/components/TextField/variations/_read-only/base_oizdmx.css +1 -0
  124. package/es/index.css +11 -13
  125. package/package.json +2 -2
  126. package/styled-components/cjs/components/Range/Range.tokens.js +0 -2
  127. package/styled-components/cjs/components/Range/variations/_readonly/base.js +1 -1
  128. package/styled-components/cjs/components/Steps/Steps.tokens.js +1 -0
  129. package/styled-components/cjs/components/Steps/ui/StepItem/StepItem.styles.js +2 -2
  130. package/styled-components/cjs/components/TextArea/TextArea.js +7 -9
  131. package/styled-components/cjs/components/TextArea/TextArea.tokens.js +0 -3
  132. package/styled-components/cjs/components/TextField/TextField.tokens.js +0 -1
  133. package/styled-components/cjs/components/TextField/variations/_read-only/base.js +1 -1
  134. package/styled-components/cjs/components/_Icon/Icons/IconChevronLeft.js +3 -8
  135. package/styled-components/cjs/components/_Icon/index.js +0 -7
  136. package/styled-components/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +1 -1
  137. package/styled-components/cjs/examples/plasma_b2c/components/Range/Range.config.js +1 -1
  138. package/styled-components/cjs/examples/plasma_b2c/components/Range/Range.stories.tsx +7 -14
  139. package/styled-components/cjs/examples/plasma_b2c/components/TextArea/TextArea.config.js +0 -3
  140. package/styled-components/cjs/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +20 -71
  141. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.config.js +7 -7
  142. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +26 -92
  143. package/styled-components/cjs/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +1 -1
  144. package/styled-components/cjs/examples/plasma_web/components/Range/Range.config.js +1 -1
  145. package/styled-components/cjs/examples/plasma_web/components/Range/Range.stories.tsx +7 -14
  146. package/styled-components/cjs/examples/plasma_web/components/TextArea/TextArea.stories.tsx +20 -71
  147. package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.config.js +7 -7
  148. package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +25 -85
  149. package/styled-components/es/components/Range/Range.tokens.js +0 -2
  150. package/styled-components/es/components/Range/variations/_readonly/base.js +1 -1
  151. package/styled-components/es/components/Steps/Steps.tokens.js +1 -0
  152. package/styled-components/es/components/Steps/ui/StepItem/StepItem.styles.js +2 -2
  153. package/styled-components/es/components/TextArea/TextArea.js +3 -5
  154. package/styled-components/es/components/TextArea/TextArea.tokens.js +0 -3
  155. package/styled-components/es/components/TextField/TextField.tokens.js +0 -1
  156. package/styled-components/es/components/TextField/variations/_read-only/base.js +2 -2
  157. package/styled-components/es/components/_Icon/Icons/IconChevronLeft.js +3 -8
  158. package/styled-components/es/components/_Icon/index.js +0 -1
  159. package/styled-components/es/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +1 -1
  160. package/styled-components/es/examples/plasma_b2c/components/Range/Range.config.js +1 -1
  161. package/styled-components/es/examples/plasma_b2c/components/Range/Range.stories.tsx +7 -14
  162. package/styled-components/es/examples/plasma_b2c/components/TextArea/TextArea.config.js +0 -3
  163. package/styled-components/es/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +20 -71
  164. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.config.js +7 -7
  165. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +26 -92
  166. package/styled-components/es/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +1 -1
  167. package/styled-components/es/examples/plasma_web/components/Range/Range.config.js +1 -1
  168. package/styled-components/es/examples/plasma_web/components/Range/Range.stories.tsx +7 -14
  169. package/styled-components/es/examples/plasma_web/components/TextArea/TextArea.stories.tsx +20 -71
  170. package/styled-components/es/examples/plasma_web/components/TextField/TextField.config.js +7 -7
  171. package/styled-components/es/examples/plasma_web/components/TextField/TextField.stories.tsx +25 -85
  172. package/types/components/Range/Range.tokens.d.ts +0 -2
  173. package/types/components/Range/Range.tokens.d.ts.map +1 -1
  174. package/types/components/Range/variations/_readonly/base.d.ts.map +1 -1
  175. package/types/components/Steps/Steps.tokens.d.ts +1 -0
  176. package/types/components/Steps/Steps.tokens.d.ts.map +1 -1
  177. package/types/components/Steps/ui/StepItem/StepItem.styles.d.ts.map +1 -1
  178. package/types/components/TextArea/TextArea.d.ts +2 -3
  179. package/types/components/TextArea/TextArea.d.ts.map +1 -1
  180. package/types/components/TextArea/TextArea.tokens.d.ts +0 -3
  181. package/types/components/TextArea/TextArea.tokens.d.ts.map +1 -1
  182. package/types/components/TextArea/variations/_clear/base.d.ts.map +1 -1
  183. package/types/components/TextField/TextField.tokens.d.ts +0 -1
  184. package/types/components/TextField/TextField.tokens.d.ts.map +1 -1
  185. package/types/components/TextField/variations/_read-only/base.d.ts.map +1 -1
  186. package/types/components/_Icon/Icons/IconChevronLeft.d.ts.map +1 -1
  187. package/types/components/_Icon/index.d.ts +0 -1
  188. package/types/components/_Icon/index.d.ts.map +1 -1
  189. package/types/examples/plasma_b2c/components/Range/Range.config.d.ts.map +1 -1
  190. package/types/examples/plasma_b2c/components/TextArea/TextArea.config.d.ts +0 -3
  191. package/types/examples/plasma_b2c/components/TextArea/TextArea.config.d.ts.map +1 -1
  192. package/types/examples/plasma_b2c/components/TextArea/TextArea.d.ts +0 -3
  193. package/types/examples/plasma_b2c/components/TextArea/TextArea.d.ts.map +1 -1
  194. package/types/examples/plasma_b2c/components/TextField/TextField.config.d.ts.map +1 -1
  195. package/types/examples/plasma_web/components/Range/Range.config.d.ts.map +1 -1
  196. package/types/examples/plasma_web/components/TextField/TextField.config.d.ts.map +1 -1
  197. package/cjs/components/Steps/ui/StepItem/StepItem.styles_acxstj.css +0 -9
  198. package/cjs/components/TextArea/variations/_read-only/base.js +0 -9
  199. package/cjs/components/TextArea/variations/_read-only/base.js.map +0 -1
  200. package/cjs/components/TextArea/variations/_read-only/base_2remzk.css +0 -1
  201. package/cjs/components/TextField/variations/_read-only/base_sr3to2.css +0 -1
  202. package/emotion/cjs/components/TextArea/variations/_read-only/base.js +0 -10
  203. package/emotion/cjs/components/TextArea/variations/_read-only/tokens.json +0 -1
  204. package/emotion/cjs/components/_Icon/Icon.assets/Lock.js +0 -25
  205. package/emotion/cjs/components/_Icon/Icons/IconLock.js +0 -29
  206. package/emotion/es/components/TextArea/variations/_read-only/base.js +0 -4
  207. package/emotion/es/components/TextArea/variations/_read-only/tokens.json +0 -1
  208. package/emotion/es/components/_Icon/Icon.assets/Lock.js +0 -18
  209. package/emotion/es/components/_Icon/Icons/IconLock.js +0 -22
  210. package/es/components/Steps/ui/StepItem/StepItem.styles_acxstj.css +0 -9
  211. package/es/components/TextArea/variations/_read-only/base.js +0 -5
  212. package/es/components/TextArea/variations/_read-only/base.js.map +0 -1
  213. package/es/components/TextArea/variations/_read-only/base_2remzk.css +0 -1
  214. package/es/components/TextField/variations/_read-only/base_sr3to2.css +0 -1
  215. package/styled-components/cjs/components/TextArea/variations/_read-only/base.js +0 -10
  216. package/styled-components/cjs/components/TextArea/variations/_read-only/tokens.json +0 -1
  217. package/styled-components/cjs/components/_Icon/Icon.assets/Lock.js +0 -25
  218. package/styled-components/cjs/components/_Icon/Icons/IconLock.js +0 -29
  219. package/styled-components/es/components/TextArea/variations/_read-only/base.js +0 -4
  220. package/styled-components/es/components/TextArea/variations/_read-only/tokens.json +0 -1
  221. package/styled-components/es/components/_Icon/Icon.assets/Lock.js +0 -18
  222. package/styled-components/es/components/_Icon/Icons/IconLock.js +0 -22
  223. package/types/components/TextArea/variations/_read-only/base.d.ts +0 -2
  224. package/types/components/TextArea/variations/_read-only/base.d.ts.map +0 -1
  225. package/types/components/_Icon/Icon.assets/Lock.d.ts +0 -4
  226. package/types/components/_Icon/Icon.assets/Lock.d.ts.map +0 -1
  227. package/types/components/_Icon/Icons/IconLock.d.ts +0 -4
  228. 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 */
@@ -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 'styled-components';
2
2
  import { classes, tokens } from '../../TextField.tokens';
3
- import { Input, InputPlaceholder, InputWrapper, Label, LeftHelper, StyledContentRight, TitleCaption } from '../../TextField.styles';
4
- export var base = /*#__PURE__*/css(["&[readonly]{:not(&.", "){", "{position:relative;color:var(", ");background-color:transparent;box-shadow:inset 0 0 0 var(", ") var(", ");:before{position:absolute;content:'';top:0;left:0;right:0;bottom:0;border-radius:var(", ");background-color:var(", ");opacity:var(", ");z-index:-1;}:hover{background-color:transparent;}}}&.", " ", "{&:before{background-color:var(", ");}}", ":focus-within ", ",", "{color:var(", ");}", "{color:var(", ");cursor:default;min-width:unset;}", "{color:var(", ");}", "{color:var(", ");}", ":hover,", ":active{cursor:default;color:var(", ",var(", "));}&.", " ", "{color:var(", ");}}"], classes.clear, InputWrapper, tokens.colorReadOnly, /*#__PURE__*/String(tokens.borderWidth), /*#__PURE__*/String(tokens.borderColorReadOnly), tokens.borderRadius, tokens.backgroundColorReadOnly, tokens.readOnlyOpacity, classes.hasDivider, InputWrapper, /*#__PURE__*/String(tokens.dividerColorReadOnly), InputWrapper, InputPlaceholder, InputPlaceholder, tokens.placeholderColorReadOnly, Input, tokens.colorReadOnly, TitleCaption, tokens.titleCaptionColorReadOnly, LeftHelper, tokens.leftHelperColorReadOnly, StyledContentRight, StyledContentRight, tokens.contentSlotRightColor, tokens.contentSlotColor, classes.outerLabelPlacement, Label, tokens.labelColorReadOnly);
3
+ import { Input, InputPlaceholder, InputWrapper, Label, LeftHelper, TitleCaption } from '../../TextField.styles';
4
+ export var base = /*#__PURE__*/css(["&[readonly]{", "{color:var(", ");background-color:var(", ");box-shadow:inset 0 0 0 var(", ") var(", ");}&.", " ", "{&:before{background-color:var(", ");}}", ":hover{background-color:var(", ");}", ":focus-within ", ",", "{color:var(", ");}", "{color:var(", ");cursor:default;min-width:unset;}", "{color:var(", ");}", "{color:var(", ");}&.", " ", "{color:var(", ");}}"], InputWrapper, tokens.colorReadOnly, /*#__PURE__*/String(tokens.backgroundColorReadOnly), /*#__PURE__*/String(tokens.borderWidth), /*#__PURE__*/String(tokens.borderColorReadOnly), classes.hasDivider, InputWrapper, /*#__PURE__*/String(tokens.dividerColorReadOnly), InputWrapper, tokens.backgroundColorReadOnly, InputWrapper, InputPlaceholder, InputPlaceholder, tokens.placeholderColorReadOnly, Input, tokens.colorReadOnly, TitleCaption, tokens.titleCaptionColorReadOnly, LeftHelper, tokens.leftHelperColorReadOnly, classes.outerLabelPlacement, Label, tokens.labelColorReadOnly);
@@ -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
- rest = _objectWithoutProperties(_ref, _excluded);
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
- }, rest));
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 { disableProps, IconPlaceholder } from '@salutejs/plasma-sb-utils';
4
+ import { IconPlaceholder } from '@salutejs/plasma-sb-utils';
5
5
 
6
6
  import { WithTheme } from '../../../_helpers';
7
7
  import { IconButton } from '../IconButton/IconButton';
@@ -19,7 +19,7 @@ export var config = {
19
19
  "true": /*#__PURE__*/css(["", ":0.4;"], tokens.disabledOpacity)
20
20
  },
21
21
  readOnly: {
22
- "true": /*#__PURE__*/css(["", ":var(--surface-transparent-primary);", ":var(--text-secondary);", ":var(--text-secondary);", ":var(--text-secondary);", ":0.4;", ":0.4;", ":var(--text-primary);", ":transparent;", ":var(--text-secondary);"], tokens.backgroundReadOnly, tokens.labelColorReadOnly, tokens.leftHelperColorReadOnly, tokens.dividerColorReadOnly, tokens.dividerOpacityReadOnly, tokens.rightContentOpacityReadOnly, tokens.textFieldColorReadOnly, tokens.textFieldBackgroundColorReadOnly, tokens.textFieldPlaceholderColorReadOnly)
22
+ "true": /*#__PURE__*/css(["", ":var(--surface-transparent-primary);", ":var(--text-secondary);", ":var(--text-secondary);", ":var(--text-secondary);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);"], tokens.backgroundReadOnly, tokens.labelColorReadOnly, tokens.leftHelperColorReadOnly, tokens.dividerColorReadOnly, tokens.textFieldColorReadOnly, tokens.textFieldBackgroundColorReadOnly, tokens.textFieldPlaceholderColorReadOnly)
23
23
  }
24
24
  }
25
25
  };
@@ -1,7 +1,7 @@
1
1
  import React, { ChangeEvent, ComponentProps, Dispatch, SetStateAction, useState } from 'react';
2
2
  import type { StoryObj, Meta } from '@storybook/react';
3
3
  import { action } from '@storybook/addon-actions';
4
- import { disableProps, IconPlaceholder } from '@salutejs/plasma-sb-utils';
4
+ import { IconPlaceholder } from '@salutejs/plasma-sb-utils';
5
5
 
6
6
  import { WithTheme } from '../../../_helpers';
7
7
  import { IconChevronLeft } from '../../../../components/_Icon';
@@ -45,10 +45,7 @@ const meta: Meta<typeof Range> = {
45
45
  control: {
46
46
  type: 'select',
47
47
  },
48
- if: {
49
- arg: 'required',
50
- truthy: true,
51
- },
48
+ if: { arg: 'required', truthy: true },
52
49
  },
53
50
  ...disableProps(['view']),
54
51
  },
@@ -79,14 +76,10 @@ const getSizeForIcon = (size) => {
79
76
  return size;
80
77
  };
81
78
 
82
- const ActionButton = ({ size, readOnly }) => {
79
+ const ActionButton = ({ size }) => {
83
80
  return (
84
- <IconButton view="clear" size={size} disabled={readOnly}>
85
- <IconChevronLeft
86
- color={readOnly ? 'var(--text-secondary)' : 'inherit'}
87
- size={getSizeForIcon(size)}
88
- style={{ transform: 'rotate(180deg)' }}
89
- />
81
+ <IconButton view="clear" size={size}>
82
+ <IconChevronLeft color="inherit" size={getSizeForIcon(size)} />
90
83
  </IconButton>
91
84
  );
92
85
  };
@@ -122,7 +115,7 @@ const StoryDefault = ({
122
115
  firstValue={firstValue}
123
116
  secondValue={secondValue}
124
117
  contentLeft={enableContentLeft ? <IconPlaceholder size={iconSize} /> : undefined}
125
- contentRight={enableContentRight ? <ActionButton size={size} readOnly={rest.readOnly} /> : undefined}
118
+ contentRight={enableContentRight ? <ActionButton size={size} /> : undefined}
126
119
  firstTextfieldContentLeft={
127
120
  enableFirstTextfieldContentLeft ? <IconPlaceholder size={iconSize} /> : undefined
128
121
  }
@@ -273,7 +266,7 @@ const StoryDemo = ({ enableContentLeft, enableContentRight, size, ...rest }: Sto
273
266
  firstValueSuccess={firstValueSuccess}
274
267
  secondValueSuccess={secondValueSuccess}
275
268
  contentLeft={enableContentLeft ? <IconPlaceholder size={iconSize} /> : undefined}
276
- contentRight={enableContentRight ? <ActionButton size={size} readOnly={rest.readOnly} /> : undefined}
269
+ contentRight={enableContentRight ? <ActionButton size={size} /> : undefined}
277
270
  onChangeFirstValue={(e) => {
278
271
  handleChangeValue(
279
272
  e,
@@ -29,9 +29,6 @@ export var config = {
29
29
  clear: {
30
30
  "true": /*#__PURE__*/css([""])
31
31
  },
32
- readOnly: {
33
- "true": /*#__PURE__*/css(["", ":0.4;", ":var(--surface-transparent-primary);", ":var(--text-primary);"], textAreaTokens.readOnlyOpacity, textAreaTokens.backgroundColorReadOnly, textAreaTokens.inputColorReadOnly)
34
- },
35
32
  disabled: {
36
33
  "true": /*#__PURE__*/css(["", ":0.4;", ":var(--text-secondary);", ":var(--surface-transparent-primary);", ":var(--text-secondary);"], textAreaTokens.disabledOpacity, textAreaTokens.inputColorDisabled, textAreaTokens.dividerColorReadOnly, textAreaTokens.titleCaptionColorReadOnly)
37
34
  }
@@ -8,7 +8,6 @@ import { textAreaConfig } from '../../../../components/TextArea';
8
8
  import { mergeConfig } from '../../../../engines';
9
9
  import { WithTheme, argTypesFromConfig } from '../../../_helpers';
10
10
  import type { PopoverPlacement } from '../Popover/Popover';
11
- import { IconLock } from '../../../../components/_Icon';
12
11
 
13
12
  import { config } from './TextArea.config';
14
13
  import { TextArea } from './TextArea';
@@ -39,16 +38,6 @@ const placements: Array<PopoverPlacement> = [
39
38
  'auto',
40
39
  ];
41
40
 
42
- const getIcon = (IconComponent: React.ReactElement, size: string, readOnly = false) => {
43
- const iconSize = size === 'xs' ? 'xs' : 's';
44
-
45
- if (readOnly) {
46
- return <IconLock size={iconSize} color="var(--text-secondary)" style={{ opacity: 0.4 }} />;
47
- }
48
-
49
- return <IconComponent size={iconSize} color="inherit" />;
50
- };
51
-
52
41
  type StoryTextAreaPropsCustom = {
53
42
  hasHint?: boolean;
54
43
  enableContentRight?: boolean;
@@ -72,25 +61,19 @@ const meta: Meta<StoryTextAreaProps> = {
72
61
  control: {
73
62
  type: 'boolean',
74
63
  },
75
- if: {
76
- arg: 'optional',
77
- truthy: false,
78
- },
64
+ if: { arg: 'optional', truthy: false },
79
65
  },
80
66
  optional: {
81
67
  control: {
82
68
  type: 'boolean',
83
69
  },
84
- if: {
85
- arg: 'required',
86
- truthy: false,
87
- },
70
+ if: { arg: 'required', truthy: false },
88
71
  },
89
72
  size: {
90
73
  options: sizes,
91
74
  defaultValue: 'm',
92
75
  control: {
93
- type: 'inline-radio',
76
+ type: 'select',
94
77
  },
95
78
  },
96
79
  view: {
@@ -109,28 +92,19 @@ const meta: Meta<StoryTextAreaProps> = {
109
92
  control: {
110
93
  type: 'boolean',
111
94
  },
112
- if: {
113
- arg: 'clear',
114
- truthy: true,
115
- },
95
+ if: { arg: 'clear', truthy: true },
116
96
  },
117
97
  cols: {
118
98
  control: {
119
99
  type: 'number',
120
100
  },
121
- if: {
122
- arg: 'clear',
123
- truthy: false,
124
- },
101
+ if: { arg: 'clear', truthy: false },
125
102
  },
126
103
  rows: {
127
104
  control: {
128
105
  type: 'number',
129
106
  },
130
- if: {
131
- arg: 'clear',
132
- truthy: false,
133
- },
107
+ if: { arg: 'clear', truthy: false },
134
108
  },
135
109
  hasHint: {
136
110
  control: {
@@ -139,65 +113,47 @@ const meta: Meta<StoryTextAreaProps> = {
139
113
  },
140
114
  hintText: {
141
115
  control: { type: 'text' },
142
- if: {
143
- arg: 'hasHint',
144
- truthy: true,
145
- },
116
+ if: { arg: 'hasHint', truthy: true },
146
117
  },
147
118
  hintView: {
148
119
  options: hintViews,
149
120
  control: {
150
121
  type: 'select',
151
122
  },
152
- if: {
153
- arg: 'hasHint',
154
- truthy: true,
155
- },
123
+ if: { arg: 'hasHint', truthy: true },
156
124
  },
157
125
  hintSize: {
158
126
  options: hintSizes,
159
127
  control: {
160
128
  type: 'select',
161
129
  },
162
- if: {
163
- arg: 'hasHint',
164
- truthy: true,
165
- },
130
+ if: { arg: 'hasHint', truthy: true },
166
131
  },
167
132
  hintTrigger: {
168
133
  options: hintTriggers,
169
134
  control: {
170
135
  type: 'inline-radio',
171
136
  },
172
- if: {
173
- arg: 'hasHint',
174
- truthy: true,
175
- },
137
+ if: { arg: 'hasHint', truthy: true },
176
138
  },
177
139
  hintPlacement: {
178
140
  options: placements,
179
141
  control: {
180
142
  type: 'select',
181
143
  },
182
- if: {
183
- arg: 'hasHint',
184
- truthy: true,
185
- },
144
+ if: { arg: 'hasHint', truthy: true },
186
145
  mappers: placements,
187
146
  },
188
147
  hintHasArrow: {
189
148
  control: { type: 'boolean' },
190
- if: {
191
- arg: 'hasHint',
192
- truthy: true,
193
- },
149
+ if: { arg: 'hasHint', truthy: true },
194
150
  },
195
151
  hintWidth: {
196
152
  control: { type: 'text' },
197
- if: {
198
- arg: 'hasHint',
199
- truthy: true,
200
- },
153
+ if: { arg: 'hasHint', truthy: true },
154
+ },
155
+ helperText: {
156
+ control: { type: 'text' },
201
157
  },
202
158
  width: {
203
159
  control: { type: 'text' },
@@ -216,7 +172,6 @@ const meta: Meta<StoryTextAreaProps> = {
216
172
  },
217
173
  ...disableProps([
218
174
  'helperBlock',
219
- 'helperText',
220
175
  '$isFocused',
221
176
  'contentRight',
222
177
  'autoComplete',
@@ -240,7 +195,6 @@ const meta: Meta<StoryTextAreaProps> = {
240
195
  'hintOffset',
241
196
  'hintContentLeft',
242
197
  'hintView',
243
- 'hintOpened',
244
198
  ]),
245
199
  },
246
200
  args: {
@@ -284,24 +238,19 @@ const onBlur = action('onBlur');
284
238
  const StoryDefault = (props: StoryTextAreaProps) => {
285
239
  const [value, setValue] = useState('Значение поля');
286
240
 
241
+ const iconSize = props.size === 'xs' ? 'xs' : 's';
242
+
287
243
  return (
288
244
  <TextArea
289
245
  value={value}
290
- contentRight={
291
- props.enableContentRight || props.readOnly
292
- ? getIcon(IconPlaceholder, props.size, props.readOnly)
293
- : undefined
294
- }
246
+ contentRight={props.enableContentRight ? <IconPlaceholder size={iconSize} /> : undefined}
295
247
  onChange={(e) => {
296
248
  setValue(e.target.value);
297
249
  onChange(e);
298
250
  }}
299
251
  onFocus={onFocus}
300
252
  onBlur={onBlur}
301
- style={{
302
- width: '70%',
303
- margin: '0 auto',
304
- }}
253
+ style={{ width: '70%', margin: '0 auto' }}
305
254
  {...props}
306
255
  />
307
256
  );
@@ -27,12 +27,12 @@ export var config = {
27
27
  "true": /*#__PURE__*/css([""])
28
28
  },
29
29
  chipView: {
30
- "default": /*#__PURE__*/css(["", ":var(--inverse-text-primary);", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":var(--surface-solid-default-hover);", ":var(--inverse-text-primary);", ":var(--surface-solid-default-active);", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":var(--inverse-text-secondary);", ":1;"], tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipCloseIconColor, tokens.chipOpacityReadonly),
31
- secondary: /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary-hover);", ":var(--text-primary);", ":var(--surface-transparent-secondary-active);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--text-secondary);", ":1;"], tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipCloseIconColor, tokens.chipOpacityReadonly),
32
- accent: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--surface-accent);", ":var(--on-dark-text-primary);", ":var(--surface-accent-hover);", ":var(--on-dark-text-primary);", ":var(--surface-accent-active);", ":var(--surface-accent);", ":var(--on-dark-text-primary);", ":var(--surface-accent);", ":var(--on-dark-text-primary);", ":var(--on-dark-text-secondary);", ":1;"], tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipCloseIconColor, tokens.chipOpacityReadonly),
33
- positive: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--surface-positive);", ":var(--on-dark-text-primary);", ":var(--surface-positive-hover);", ":var(--on-dark-text-primary);", ":var(--surface-positive-active);", ":var(--surface-positive);", ":var(--on-dark-text-primary);", ":var(--surface-positive);", ":var(--on-dark-text-primary);", ":var(--on-dark-text-secondary);", ":1;"], tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipCloseIconColor, tokens.chipOpacityReadonly),
34
- warning: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--surface-warning);", ":var(--on-dark-text-primary);", ":var(--surface-warning-hover);", ":var(--on-dark-text-primary);", ":var(--surface-warning-active);", ":var(--surface-warning);", ":var(--on-dark-text-primary);", ":var(--surface-warning);", ":var(--on-dark-text-primary);", ":var(--on-dark-text-secondary);", ":1;"], tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipCloseIconColor, tokens.chipOpacityReadonly),
35
- negative: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--surface-negative);", ":var(--on-dark-text-primary);", ":var(--surface-negative-hover);", ":var(--on-dark-text-primary);", ":var(--surface-negative-active);", ":var(--surface-negative);", ":var(--on-dark-text-primary);", ":var(--surface-negative);", ":var(--on-dark-text-primary);", ":var(--on-dark-text-secondary);", ":1;"], tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipCloseIconColor, tokens.chipOpacityReadonly)
30
+ "default": /*#__PURE__*/css(["", ":var(--inverse-text-primary);", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":var(--surface-solid-default-hover);", ":var(--inverse-text-primary);", ":var(--surface-solid-default-active);", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":var(--inverse-text-secondary);", ":0.72;"], tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipCloseIconColor, tokens.chipOpacityReadonly),
31
+ secondary: /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary-hover);", ":var(--text-primary);", ":var(--surface-transparent-secondary-active);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--text-secondary);", ":0.72;"], tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipCloseIconColor, tokens.chipOpacityReadonly),
32
+ accent: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--surface-accent);", ":var(--on-dark-text-primary);", ":var(--surface-accent-hover);", ":var(--on-dark-text-primary);", ":var(--surface-accent-active);", ":var(--surface-accent);", ":var(--on-dark-text-primary);", ":var(--surface-accent);", ":var(--on-dark-text-primary);", ":var(--on-dark-text-secondary);", ":0.72;"], tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipCloseIconColor, tokens.chipOpacityReadonly),
33
+ positive: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--surface-positive);", ":var(--on-dark-text-primary);", ":var(--surface-positive-hover);", ":var(--on-dark-text-primary);", ":var(--surface-positive-active);", ":var(--surface-positive);", ":var(--on-dark-text-primary);", ":var(--surface-positive);", ":var(--on-dark-text-primary);", ":var(--on-dark-text-secondary);", ":0.72;"], tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipCloseIconColor, tokens.chipOpacityReadonly),
34
+ warning: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--surface-warning);", ":var(--on-dark-text-primary);", ":var(--surface-warning-hover);", ":var(--on-dark-text-primary);", ":var(--surface-warning-active);", ":var(--surface-warning);", ":var(--on-dark-text-primary);", ":var(--surface-warning);", ":var(--on-dark-text-primary);", ":var(--on-dark-text-secondary);", ":0.72;"], tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipCloseIconColor, tokens.chipOpacityReadonly),
35
+ negative: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--surface-negative);", ":var(--on-dark-text-primary);", ":var(--surface-negative-hover);", ":var(--on-dark-text-primary);", ":var(--surface-negative-active);", ":var(--surface-negative);", ":var(--on-dark-text-primary);", ":var(--surface-negative);", ":var(--on-dark-text-primary);", ":var(--on-dark-text-secondary);", ":0.72;"], tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipCloseIconColor, tokens.chipOpacityReadonly)
36
36
  },
37
37
  hintView: {
38
38
  "default": /*#__PURE__*/css(["", ":var(--surface-solid-card-brightness);", ":var(--shadow-down-hard-m,0px 4px 12px 0px rgba(0,0,0,0.16),0px 1px 4px 0px rgba(0,0,0,0.08));", ":var(--text-primary);", ":var(--surface-solid-card);"], tokens.tooltipBackgroundColor, tokens.tooltipBoxShadow, tokens.tooltipColor, tokens.tooltipArrowBackground)
@@ -45,7 +45,7 @@ export var config = {
45
45
  "true": /*#__PURE__*/css(["", ":0.4;"], tokens.disabledOpacity)
46
46
  },
47
47
  readOnly: {
48
- "true": /*#__PURE__*/css(["", ":0.4;", ":var(--text-primary);", ":var(--surface-transparent-primary);", ":var(--text-secondary);", ":var(--text-secondary);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--surface-transparent-primary);"], tokens.readOnlyOpacity, tokens.colorReadOnly, tokens.backgroundColorReadOnly, tokens.placeholderColorReadOnly, tokens.leftHelperColorReadOnly, tokens.titleCaptionColorReadOnly, tokens.labelColorReadOnly, tokens.dividerColorReadOnly)
48
+ "true": /*#__PURE__*/css(["", ":var(--text-secondary);", ":var(--surface-transparent-primary);", ":var(--text-secondary);", ":var(--text-secondary);", ":var(--text-secondary);", ":var(--text-secondary);", ":var(--surface-transparent-primary);"], tokens.colorReadOnly, tokens.backgroundColorReadOnly, tokens.placeholderColorReadOnly, tokens.leftHelperColorReadOnly, tokens.titleCaptionColorReadOnly, tokens.labelColorReadOnly, tokens.dividerColorReadOnly)
49
49
  }
50
50
  }
51
51
  };