@salutejs/plasma-new-hope 0.197.0-canary.1572.11971256317.0 → 0.197.0-canary.1588.11972699441.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (359) hide show
  1. package/cjs/components/Autocomplete/Autocomplete.css +2 -1
  2. package/cjs/components/Calendar/CalendarBase/CalendarBase.js +1 -1
  3. package/cjs/components/Calendar/CalendarBase/CalendarBase.js.map +1 -1
  4. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +1 -1
  5. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.js.map +1 -1
  6. package/cjs/components/Calendar/store/reducer.js +2 -2
  7. package/cjs/components/Calendar/store/reducer.js.map +1 -1
  8. package/cjs/components/Combobox/ComboboxNew/Combobox.css +2 -1
  9. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +2 -1
  10. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +2 -1
  11. package/cjs/components/DatePicker/RangeDate/RangeDate.css +2 -1
  12. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +2 -1
  13. package/cjs/components/DatePicker/SingleDate/SingleDate.css +2 -1
  14. package/cjs/components/Pagination/Pagination.css +2 -1
  15. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +2 -1
  16. package/cjs/components/Range/Range.css +2 -1
  17. package/cjs/components/Select/Select.css +2 -1
  18. package/cjs/components/Select/ui/Inner/Inner.css +2 -1
  19. package/cjs/components/Select/ui/Inner/ui/Item/Item.css +2 -1
  20. package/cjs/components/Select/ui/Target/Target.css +2 -1
  21. package/cjs/components/Select/ui/Target/Target.js +2 -1
  22. package/cjs/components/Select/ui/Target/Target.js.map +1 -1
  23. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.css +2 -1
  24. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +4 -2
  25. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
  26. package/cjs/components/Slider/Slider.css +2 -1
  27. package/cjs/components/Slider/components/Double/Double.css +2 -1
  28. package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +2 -1
  29. package/cjs/components/TextField/TextField.js +7 -4
  30. package/cjs/components/TextField/TextField.js.map +1 -1
  31. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.css +2 -1
  32. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +17 -3
  33. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +1 -1
  34. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +7 -1
  35. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +1 -1
  36. package/cjs/components/TextField/ui/TextFieldChip/{TextFieldChip.styles_1y8n7la.css → TextFieldChip.styles_1yosnxc.css} +1 -0
  37. package/cjs/components/Typography/Body/Body.css +1 -1
  38. package/cjs/components/Typography/Old/Button/Button.css +1 -1
  39. package/cjs/components/Typography/Old/Paragraph/Paragraph.css +1 -1
  40. package/cjs/components/Typography/Old/Paragraph/Paragraph.styles.js +1 -1
  41. package/cjs/components/Typography/Old/Paragraph/Paragraph.styles.js.map +1 -1
  42. package/{es/components/Typography/Old/Paragraph/Paragraph.styles_179bahu.css → cjs/components/Typography/Old/Paragraph/Paragraph.styles_f6q9s8.css} +1 -1
  43. package/cjs/components/Typography/Old/Subtitle/Subtitle.css +1 -1
  44. package/cjs/components/Typography/Old/Subtitle/Subtitle.js +7 -1
  45. package/cjs/components/Typography/Old/Subtitle/Subtitle.js.map +1 -1
  46. package/cjs/components/Typography/Old/Subtitle/Subtitle.styles.js +1 -1
  47. package/cjs/components/Typography/Old/Subtitle/Subtitle.styles.js.map +1 -1
  48. package/{es/components/Typography/Old/Subtitle/Subtitle.styles_1plleej.css → cjs/components/Typography/Old/Subtitle/Subtitle.styles_g6d0r2.css} +1 -1
  49. package/cjs/components/Typography/Old/TypographyOld.js +4 -2
  50. package/cjs/components/Typography/Old/TypographyOld.js.map +1 -1
  51. package/cjs/components/Typography/Old/TypographyOld.styles.js +1 -1
  52. package/cjs/components/Typography/Old/TypographyOld.styles.js.map +1 -1
  53. package/{es/components/Typography/Old/TypographyOld.styles_17w0rtq.css → cjs/components/Typography/Old/TypographyOld.styles_168abbx.css} +1 -1
  54. package/cjs/components/Typography/Old/Underline/Underline.css +1 -1
  55. package/cjs/components/Typography/Old/Underline/Underline.styles.js +1 -1
  56. package/cjs/components/Typography/Old/Underline/Underline.styles.js.map +1 -1
  57. package/cjs/components/Typography/Old/Underline/{Underline.styles_vsz834.css → Underline.styles_1x2vb5e.css} +1 -1
  58. package/cjs/components/Typography/Typography.js +4 -2
  59. package/cjs/components/Typography/Typography.js.map +1 -1
  60. package/cjs/components/Typography/Typography.styles.js +1 -1
  61. package/cjs/components/Typography/Typography.styles.js.map +1 -1
  62. package/cjs/components/Typography/{Typography.styles_6mr47g.css → Typography.styles_fa07dt.css} +1 -1
  63. package/cjs/components/Typography/tokens.js +1 -0
  64. package/cjs/components/Typography/tokens.js.map +1 -1
  65. package/cjs/index.css +7 -6
  66. package/emotion/cjs/components/Calendar/CalendarBase/CalendarBase.js +1 -1
  67. package/emotion/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +1 -1
  68. package/emotion/cjs/components/Calendar/store/reducer.js +2 -2
  69. package/emotion/cjs/components/Select/ui/Target/Target.js +2 -1
  70. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +4 -2
  71. package/emotion/cjs/components/TextField/TextField.js +8 -5
  72. package/emotion/cjs/components/TextField/TextField.template-doc.mdx +13 -3
  73. package/emotion/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +17 -3
  74. package/emotion/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +12 -3
  75. package/emotion/cjs/components/Typography/Old/Paragraph/Paragraph.styles.js +1 -1
  76. package/emotion/cjs/components/Typography/Old/Subtitle/Subtitle.js +7 -1
  77. package/emotion/cjs/components/Typography/Old/Subtitle/Subtitle.styles.js +1 -1
  78. package/emotion/cjs/components/Typography/Old/TypographyOld.js +4 -2
  79. package/emotion/cjs/components/Typography/Old/TypographyOld.styles.js +1 -1
  80. package/emotion/cjs/components/Typography/Old/Underline/Underline.styles.js +1 -1
  81. package/emotion/cjs/components/Typography/Typography.js +4 -2
  82. package/emotion/cjs/components/Typography/Typography.styles.js +1 -1
  83. package/emotion/cjs/components/Typography/Typography.template-doc.mdx +4 -0
  84. package/emotion/cjs/components/Typography/tokens.js +1 -0
  85. package/emotion/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +8 -1
  86. package/emotion/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +10 -0
  87. package/emotion/cjs/examples/plasma_web/components/Select/Select.stories.tsx +8 -1
  88. package/emotion/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +10 -0
  89. package/emotion/cjs/examples/typograpy/components/Body/Body.stories.tsx +9 -1
  90. package/emotion/cjs/examples/typograpy/components/Dspl/Dspl.stories.tsx +9 -1
  91. package/emotion/cjs/examples/typograpy/components/Heading/Heading.stories.tsx +9 -1
  92. package/emotion/cjs/examples/typograpy/components/Old/Body/Body.stories.tsx +9 -1
  93. package/emotion/cjs/examples/typograpy/components/Old/Button/Button.stories.tsx +9 -1
  94. package/emotion/cjs/examples/typograpy/components/Old/Caption/Caption.stories.tsx +9 -1
  95. package/emotion/cjs/examples/typograpy/components/Old/Display/Display.stories.tsx +9 -1
  96. package/emotion/cjs/examples/typograpy/components/Old/Footnote/Footnote.stories.tsx +9 -1
  97. package/emotion/cjs/examples/typograpy/components/Old/Headline/Headline.stories.tsx +9 -1
  98. package/emotion/cjs/examples/typograpy/components/Old/Paragraph/Paragraph.stories.tsx +9 -1
  99. package/emotion/cjs/examples/typograpy/components/Old/Subtitle/Subtitle.stories.tsx +11 -1
  100. package/emotion/cjs/examples/typograpy/components/Old/Underline/Underline.stories.tsx +9 -1
  101. package/emotion/cjs/examples/typograpy/components/Text/Text.stories.tsx +9 -1
  102. package/emotion/es/components/Calendar/CalendarBase/CalendarBase.js +1 -1
  103. package/emotion/es/components/Calendar/CalendarDouble/CalendarDouble.js +1 -1
  104. package/emotion/es/components/Calendar/store/reducer.js +2 -2
  105. package/emotion/es/components/Select/ui/Target/Target.js +2 -1
  106. package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.js +4 -2
  107. package/emotion/es/components/TextField/TextField.js +8 -5
  108. package/emotion/es/components/TextField/TextField.template-doc.mdx +13 -3
  109. package/emotion/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +18 -4
  110. package/emotion/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +11 -2
  111. package/emotion/es/components/Typography/Old/Paragraph/Paragraph.styles.js +1 -1
  112. package/emotion/es/components/Typography/Old/Subtitle/Subtitle.js +7 -1
  113. package/emotion/es/components/Typography/Old/Subtitle/Subtitle.styles.js +2 -2
  114. package/emotion/es/components/Typography/Old/TypographyOld.js +4 -2
  115. package/emotion/es/components/Typography/Old/TypographyOld.styles.js +1 -1
  116. package/emotion/es/components/Typography/Old/Underline/Underline.styles.js +1 -1
  117. package/emotion/es/components/Typography/Typography.js +4 -2
  118. package/emotion/es/components/Typography/Typography.styles.js +1 -1
  119. package/emotion/es/components/Typography/Typography.template-doc.mdx +4 -0
  120. package/emotion/es/components/Typography/tokens.js +1 -0
  121. package/emotion/es/examples/plasma_b2c/components/Select/Select.stories.tsx +8 -1
  122. package/emotion/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +10 -0
  123. package/emotion/es/examples/plasma_web/components/Select/Select.stories.tsx +8 -1
  124. package/emotion/es/examples/plasma_web/components/TextField/TextField.stories.tsx +10 -0
  125. package/emotion/es/examples/typograpy/components/Body/Body.stories.tsx +9 -1
  126. package/emotion/es/examples/typograpy/components/Dspl/Dspl.stories.tsx +9 -1
  127. package/emotion/es/examples/typograpy/components/Heading/Heading.stories.tsx +9 -1
  128. package/emotion/es/examples/typograpy/components/Old/Body/Body.stories.tsx +9 -1
  129. package/emotion/es/examples/typograpy/components/Old/Button/Button.stories.tsx +9 -1
  130. package/emotion/es/examples/typograpy/components/Old/Caption/Caption.stories.tsx +9 -1
  131. package/emotion/es/examples/typograpy/components/Old/Display/Display.stories.tsx +9 -1
  132. package/emotion/es/examples/typograpy/components/Old/Footnote/Footnote.stories.tsx +9 -1
  133. package/emotion/es/examples/typograpy/components/Old/Headline/Headline.stories.tsx +9 -1
  134. package/emotion/es/examples/typograpy/components/Old/Paragraph/Paragraph.stories.tsx +9 -1
  135. package/emotion/es/examples/typograpy/components/Old/Subtitle/Subtitle.stories.tsx +11 -1
  136. package/emotion/es/examples/typograpy/components/Old/Underline/Underline.stories.tsx +9 -1
  137. package/emotion/es/examples/typograpy/components/Text/Text.stories.tsx +9 -1
  138. package/es/components/Autocomplete/Autocomplete.css +2 -1
  139. package/es/components/Calendar/CalendarBase/CalendarBase.js +1 -1
  140. package/es/components/Calendar/CalendarBase/CalendarBase.js.map +1 -1
  141. package/es/components/Calendar/CalendarDouble/CalendarDouble.js +1 -1
  142. package/es/components/Calendar/CalendarDouble/CalendarDouble.js.map +1 -1
  143. package/es/components/Calendar/store/reducer.js +2 -2
  144. package/es/components/Calendar/store/reducer.js.map +1 -1
  145. package/es/components/Combobox/ComboboxNew/Combobox.css +2 -1
  146. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +2 -1
  147. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +2 -1
  148. package/es/components/DatePicker/RangeDate/RangeDate.css +2 -1
  149. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +2 -1
  150. package/es/components/DatePicker/SingleDate/SingleDate.css +2 -1
  151. package/es/components/Pagination/Pagination.css +2 -1
  152. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +2 -1
  153. package/es/components/Range/Range.css +2 -1
  154. package/es/components/Select/Select.css +2 -1
  155. package/es/components/Select/ui/Inner/Inner.css +2 -1
  156. package/es/components/Select/ui/Inner/ui/Item/Item.css +2 -1
  157. package/es/components/Select/ui/Target/Target.css +2 -1
  158. package/es/components/Select/ui/Target/Target.js +2 -1
  159. package/es/components/Select/ui/Target/Target.js.map +1 -1
  160. package/es/components/Select/ui/Target/ui/Textfield/Textfield.css +2 -1
  161. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js +4 -2
  162. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
  163. package/es/components/Slider/Slider.css +2 -1
  164. package/es/components/Slider/components/Double/Double.css +2 -1
  165. package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +2 -1
  166. package/es/components/TextField/TextField.js +7 -4
  167. package/es/components/TextField/TextField.js.map +1 -1
  168. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.css +2 -1
  169. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +18 -4
  170. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +1 -1
  171. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +7 -2
  172. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +1 -1
  173. package/es/components/TextField/ui/TextFieldChip/{TextFieldChip.styles_1y8n7la.css → TextFieldChip.styles_1yosnxc.css} +1 -0
  174. package/es/components/Typography/Body/Body.css +1 -1
  175. package/es/components/Typography/Old/Button/Button.css +1 -1
  176. package/es/components/Typography/Old/Paragraph/Paragraph.css +1 -1
  177. package/es/components/Typography/Old/Paragraph/Paragraph.styles.js +1 -1
  178. package/es/components/Typography/Old/Paragraph/Paragraph.styles.js.map +1 -1
  179. package/{cjs/components/Typography/Old/Paragraph/Paragraph.styles_179bahu.css → es/components/Typography/Old/Paragraph/Paragraph.styles_f6q9s8.css} +1 -1
  180. package/es/components/Typography/Old/Subtitle/Subtitle.css +1 -1
  181. package/es/components/Typography/Old/Subtitle/Subtitle.js +7 -1
  182. package/es/components/Typography/Old/Subtitle/Subtitle.js.map +1 -1
  183. package/es/components/Typography/Old/Subtitle/Subtitle.styles.js +1 -1
  184. package/es/components/Typography/Old/Subtitle/Subtitle.styles.js.map +1 -1
  185. package/{cjs/components/Typography/Old/Subtitle/Subtitle.styles_1plleej.css → es/components/Typography/Old/Subtitle/Subtitle.styles_g6d0r2.css} +1 -1
  186. package/es/components/Typography/Old/TypographyOld.js +4 -2
  187. package/es/components/Typography/Old/TypographyOld.js.map +1 -1
  188. package/es/components/Typography/Old/TypographyOld.styles.js +1 -1
  189. package/es/components/Typography/Old/TypographyOld.styles.js.map +1 -1
  190. package/{cjs/components/Typography/Old/TypographyOld.styles_17w0rtq.css → es/components/Typography/Old/TypographyOld.styles_168abbx.css} +1 -1
  191. package/es/components/Typography/Old/Underline/Underline.css +1 -1
  192. package/es/components/Typography/Old/Underline/Underline.styles.js +1 -1
  193. package/es/components/Typography/Old/Underline/Underline.styles.js.map +1 -1
  194. package/es/components/Typography/Old/Underline/{Underline.styles_vsz834.css → Underline.styles_1x2vb5e.css} +1 -1
  195. package/es/components/Typography/Typography.js +4 -2
  196. package/es/components/Typography/Typography.js.map +1 -1
  197. package/es/components/Typography/Typography.styles.js +1 -1
  198. package/es/components/Typography/Typography.styles.js.map +1 -1
  199. package/es/components/Typography/{Typography.styles_6mr47g.css → Typography.styles_fa07dt.css} +1 -1
  200. package/es/components/Typography/tokens.js +1 -0
  201. package/es/components/Typography/tokens.js.map +1 -1
  202. package/es/index.css +7 -6
  203. package/package.json +2 -2
  204. package/styled-components/cjs/components/Calendar/CalendarBase/CalendarBase.js +1 -1
  205. package/styled-components/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +1 -1
  206. package/styled-components/cjs/components/Calendar/store/reducer.js +2 -2
  207. package/styled-components/cjs/components/Select/ui/Target/Target.js +2 -1
  208. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +4 -2
  209. package/styled-components/cjs/components/TextField/TextField.js +7 -4
  210. package/styled-components/cjs/components/TextField/TextField.template-doc.mdx +13 -3
  211. package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +17 -3
  212. package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +10 -2
  213. package/styled-components/cjs/components/Typography/Old/Paragraph/Paragraph.styles.js +1 -1
  214. package/styled-components/cjs/components/Typography/Old/Subtitle/Subtitle.js +7 -1
  215. package/styled-components/cjs/components/Typography/Old/Subtitle/Subtitle.styles.js +1 -1
  216. package/styled-components/cjs/components/Typography/Old/TypographyOld.js +4 -2
  217. package/styled-components/cjs/components/Typography/Old/TypographyOld.styles.js +1 -1
  218. package/styled-components/cjs/components/Typography/Old/Underline/Underline.styles.js +1 -1
  219. package/styled-components/cjs/components/Typography/Typography.js +4 -2
  220. package/styled-components/cjs/components/Typography/Typography.styles.js +1 -1
  221. package/styled-components/cjs/components/Typography/Typography.template-doc.mdx +4 -0
  222. package/styled-components/cjs/components/Typography/tokens.js +1 -0
  223. package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +8 -1
  224. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +10 -0
  225. package/styled-components/cjs/examples/plasma_web/components/Select/Select.stories.tsx +8 -1
  226. package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +10 -0
  227. package/styled-components/cjs/examples/typograpy/components/Body/Body.stories.tsx +9 -1
  228. package/styled-components/cjs/examples/typograpy/components/Dspl/Dspl.stories.tsx +9 -1
  229. package/styled-components/cjs/examples/typograpy/components/Heading/Heading.stories.tsx +9 -1
  230. package/styled-components/cjs/examples/typograpy/components/Old/Body/Body.stories.tsx +9 -1
  231. package/styled-components/cjs/examples/typograpy/components/Old/Button/Button.stories.tsx +9 -1
  232. package/styled-components/cjs/examples/typograpy/components/Old/Caption/Caption.stories.tsx +9 -1
  233. package/styled-components/cjs/examples/typograpy/components/Old/Display/Display.stories.tsx +9 -1
  234. package/styled-components/cjs/examples/typograpy/components/Old/Footnote/Footnote.stories.tsx +9 -1
  235. package/styled-components/cjs/examples/typograpy/components/Old/Headline/Headline.stories.tsx +9 -1
  236. package/styled-components/cjs/examples/typograpy/components/Old/Paragraph/Paragraph.stories.tsx +9 -1
  237. package/styled-components/cjs/examples/typograpy/components/Old/Subtitle/Subtitle.stories.tsx +11 -1
  238. package/styled-components/cjs/examples/typograpy/components/Old/Underline/Underline.stories.tsx +9 -1
  239. package/styled-components/cjs/examples/typograpy/components/Text/Text.stories.tsx +9 -1
  240. package/styled-components/es/components/Calendar/CalendarBase/CalendarBase.js +1 -1
  241. package/styled-components/es/components/Calendar/CalendarDouble/CalendarDouble.js +1 -1
  242. package/styled-components/es/components/Calendar/store/reducer.js +2 -2
  243. package/styled-components/es/components/Select/ui/Target/Target.js +2 -1
  244. package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.js +4 -2
  245. package/styled-components/es/components/TextField/TextField.js +7 -4
  246. package/styled-components/es/components/TextField/TextField.template-doc.mdx +13 -3
  247. package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +18 -4
  248. package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +9 -1
  249. package/styled-components/es/components/Typography/Old/Paragraph/Paragraph.styles.js +1 -1
  250. package/styled-components/es/components/Typography/Old/Subtitle/Subtitle.js +7 -1
  251. package/styled-components/es/components/Typography/Old/Subtitle/Subtitle.styles.js +2 -2
  252. package/styled-components/es/components/Typography/Old/TypographyOld.js +4 -2
  253. package/styled-components/es/components/Typography/Old/TypographyOld.styles.js +1 -1
  254. package/styled-components/es/components/Typography/Old/Underline/Underline.styles.js +1 -1
  255. package/styled-components/es/components/Typography/Typography.js +4 -2
  256. package/styled-components/es/components/Typography/Typography.styles.js +1 -1
  257. package/styled-components/es/components/Typography/Typography.template-doc.mdx +4 -0
  258. package/styled-components/es/components/Typography/tokens.js +1 -0
  259. package/styled-components/es/examples/plasma_b2c/components/Select/Select.stories.tsx +8 -1
  260. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +10 -0
  261. package/styled-components/es/examples/plasma_web/components/Select/Select.stories.tsx +8 -1
  262. package/styled-components/es/examples/plasma_web/components/TextField/TextField.stories.tsx +10 -0
  263. package/styled-components/es/examples/typograpy/components/Body/Body.stories.tsx +9 -1
  264. package/styled-components/es/examples/typograpy/components/Dspl/Dspl.stories.tsx +9 -1
  265. package/styled-components/es/examples/typograpy/components/Heading/Heading.stories.tsx +9 -1
  266. package/styled-components/es/examples/typograpy/components/Old/Body/Body.stories.tsx +9 -1
  267. package/styled-components/es/examples/typograpy/components/Old/Button/Button.stories.tsx +9 -1
  268. package/styled-components/es/examples/typograpy/components/Old/Caption/Caption.stories.tsx +9 -1
  269. package/styled-components/es/examples/typograpy/components/Old/Display/Display.stories.tsx +9 -1
  270. package/styled-components/es/examples/typograpy/components/Old/Footnote/Footnote.stories.tsx +9 -1
  271. package/styled-components/es/examples/typograpy/components/Old/Headline/Headline.stories.tsx +9 -1
  272. package/styled-components/es/examples/typograpy/components/Old/Paragraph/Paragraph.stories.tsx +9 -1
  273. package/styled-components/es/examples/typograpy/components/Old/Subtitle/Subtitle.stories.tsx +11 -1
  274. package/styled-components/es/examples/typograpy/components/Old/Underline/Underline.stories.tsx +9 -1
  275. package/styled-components/es/examples/typograpy/components/Text/Text.stories.tsx +9 -1
  276. package/types/components/Autocomplete/Autocomplete.types.d.ts +3 -2
  277. package/types/components/Autocomplete/Autocomplete.types.d.ts.map +1 -1
  278. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts +16 -0
  279. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts.map +1 -1
  280. package/types/components/Calendar/store/reducer.d.ts +1 -1
  281. package/types/components/Calendar/store/reducer.d.ts.map +1 -1
  282. package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts +16 -0
  283. package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts.map +1 -1
  284. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts +16 -0
  285. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +1 -1
  286. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts +6 -0
  287. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts.map +1 -1
  288. package/types/components/Range/Range.styles.d.ts +16 -0
  289. package/types/components/Range/Range.styles.d.ts.map +1 -1
  290. package/types/components/Select/Select.types.d.ts +5 -0
  291. package/types/components/Select/Select.types.d.ts.map +1 -1
  292. package/types/components/Select/ui/Target/Target.d.ts +1 -1
  293. package/types/components/Select/ui/Target/Target.d.ts.map +1 -1
  294. package/types/components/Select/ui/Target/Target.types.d.ts +1 -1
  295. package/types/components/Select/ui/Target/Target.types.d.ts.map +1 -1
  296. package/types/components/Select/ui/Target/ui/Textfield/Textfield.d.ts.map +1 -1
  297. package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts +16 -0
  298. package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts.map +1 -1
  299. package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts +1 -1
  300. package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts.map +1 -1
  301. package/types/components/Slider/components/Double/Double.styles.d.ts +16 -0
  302. package/types/components/Slider/components/Double/Double.styles.d.ts.map +1 -1
  303. package/types/components/TextField/TextField.d.ts.map +1 -1
  304. package/types/components/TextField/TextField.types.d.ts +8 -0
  305. package/types/components/TextField/TextField.types.d.ts.map +1 -1
  306. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.d.ts.map +1 -1
  307. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.styles.d.ts +1 -0
  308. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.styles.d.ts.map +1 -1
  309. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.types.d.ts +5 -1
  310. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.types.d.ts.map +1 -1
  311. package/types/components/Typography/Body/Body.d.ts +2 -0
  312. package/types/components/Typography/Body/Body.d.ts.map +1 -1
  313. package/types/components/Typography/Dspl/Dspl.d.ts +2 -0
  314. package/types/components/Typography/Dspl/Dspl.d.ts.map +1 -1
  315. package/types/components/Typography/Heading/Heading.d.ts +2 -0
  316. package/types/components/Typography/Heading/Heading.d.ts.map +1 -1
  317. package/types/components/Typography/Old/Paragraph/Paragraph.styles.d.ts.map +1 -1
  318. package/types/components/Typography/Old/Subtitle/Subtitle.d.ts.map +1 -1
  319. package/types/components/Typography/Old/Subtitle/Subtitle.styles.d.ts.map +1 -1
  320. package/types/components/Typography/Old/TypographyOld.d.ts.map +1 -1
  321. package/types/components/Typography/Old/TypographyOld.styles.d.ts.map +1 -1
  322. package/types/components/Typography/Old/Underline/Underline.styles.d.ts.map +1 -1
  323. package/types/components/Typography/Text/Text.d.ts +2 -0
  324. package/types/components/Typography/Text/Text.d.ts.map +1 -1
  325. package/types/components/Typography/Typography.d.ts +1 -0
  326. package/types/components/Typography/Typography.d.ts.map +1 -1
  327. package/types/components/Typography/Typography.styles.d.ts.map +1 -1
  328. package/types/components/Typography/Typography.types.d.ts +1 -0
  329. package/types/components/Typography/Typography.types.d.ts.map +1 -1
  330. package/types/components/Typography/tokens.d.ts +1 -0
  331. package/types/components/Typography/tokens.d.ts.map +1 -1
  332. package/types/examples/plasma_b2c/components/Autocomplete/Autocomplete.d.ts +553 -3
  333. package/types/examples/plasma_b2c/components/Autocomplete/Autocomplete.d.ts.map +1 -1
  334. package/types/examples/plasma_b2c/components/Editable/Editable.d.ts +4 -0
  335. package/types/examples/plasma_b2c/components/Editable/Editable.d.ts.map +1 -1
  336. package/types/examples/plasma_b2c/components/Mask/Mask.d.ts +16 -0
  337. package/types/examples/plasma_b2c/components/Mask/Mask.d.ts.map +1 -1
  338. package/types/examples/plasma_b2c/components/Select/Select.d.ts +6 -0
  339. package/types/examples/plasma_b2c/components/Select/Select.d.ts.map +1 -1
  340. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts +16 -0
  341. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts.map +1 -1
  342. package/types/examples/plasma_web/components/Autocomplete/Autocomplete.d.ts +553 -3
  343. package/types/examples/plasma_web/components/Autocomplete/Autocomplete.d.ts.map +1 -1
  344. package/types/examples/plasma_web/components/Editable/Editable.d.ts +4 -0
  345. package/types/examples/plasma_web/components/Editable/Editable.d.ts.map +1 -1
  346. package/types/examples/plasma_web/components/Mask/Mask.d.ts +16 -0
  347. package/types/examples/plasma_web/components/Mask/Mask.d.ts.map +1 -1
  348. package/types/examples/plasma_web/components/Select/Select.d.ts +6 -0
  349. package/types/examples/plasma_web/components/Select/Select.d.ts.map +1 -1
  350. package/types/examples/plasma_web/components/TextField/TextField.d.ts +16 -0
  351. package/types/examples/plasma_web/components/TextField/TextField.d.ts.map +1 -1
  352. package/types/examples/typograpy/components/Body/Body.d.ts +1 -0
  353. package/types/examples/typograpy/components/Body/Body.d.ts.map +1 -1
  354. package/types/examples/typograpy/components/Dspl/Dspl.d.ts +1 -0
  355. package/types/examples/typograpy/components/Dspl/Dspl.d.ts.map +1 -1
  356. package/types/examples/typograpy/components/Heading/Heading.d.ts +1 -0
  357. package/types/examples/typograpy/components/Heading/Heading.d.ts.map +1 -1
  358. package/types/examples/typograpy/components/Text/Text.d.ts +1 -0
  359. package/types/examples/typograpy/components/Text/Text.d.ts.map +1 -1
@@ -7,4 +7,4 @@ exports.base = void 0;
7
7
  var _react = /*#__PURE__*/require("@emotion/react");
8
8
  var _tokens = /*#__PURE__*/require("../../tokens");
9
9
  var _mixins = /*#__PURE__*/require("../../../../mixins");
10
- var base = exports.base = /*#__PURE__*/(0, _react.css)("font-family:var(", _tokens.tokens.typoFontFamily, ");font-size:var(", _tokens.tokens.typoFontSize, ");font-style:var(", _tokens.tokens.typoFontStyle, ");letter-spacing:var(", _tokens.tokens.typoFontLetterSpacing, ");line-height:var(", _tokens.tokens.typoFontLineHeight, ");font-weight:var(", _tokens.tokens.typoFontWeight, ");", /*#__PURE__*/String(_mixins.applyHyphens), ";;label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVHlwb2dyYXBoeS9PbGQvU3VidGl0bGUvU3VidGl0bGUuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUt1QiIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL1R5cG9ncmFwaHkvT2xkL1N1YnRpdGxlL1N1YnRpdGxlLnN0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHsgdG9rZW5zIH0gZnJvbSAnLi4vLi4vdG9rZW5zJztcbmltcG9ydCB7IGFwcGx5SHlwaGVucyB9IGZyb20gJy4uLy4uLy4uLy4uL21peGlucyc7XG5cbmV4cG9ydCBjb25zdCBiYXNlID0gY3NzYFxuICAgIGZvbnQtZmFtaWx5OiB2YXIoJHt0b2tlbnMudHlwb0ZvbnRGYW1pbHl9KTtcbiAgICBmb250LXNpemU6IHZhcigke3Rva2Vucy50eXBvRm9udFNpemV9KTtcbiAgICBmb250LXN0eWxlOiB2YXIoJHt0b2tlbnMudHlwb0ZvbnRTdHlsZX0pO1xuICAgIGxldHRlci1zcGFjaW5nOiB2YXIoJHt0b2tlbnMudHlwb0ZvbnRMZXR0ZXJTcGFjaW5nfSk7XG4gICAgbGluZS1oZWlnaHQ6IHZhcigke3Rva2Vucy50eXBvRm9udExpbmVIZWlnaHR9KTtcbiAgICBmb250LXdlaWdodDogdmFyKCR7dG9rZW5zLnR5cG9Gb250V2VpZ2h0fSk7XG5cbiAgICAke1N0cmluZyhhcHBseUh5cGhlbnMpfTtcbmA7XG4iXX0= */"));
10
+ var base = exports.base = /*#__PURE__*/(0, _react.css)("font-family:var(", _tokens.tokens.typoFontFamily, ");font-size:var(", _tokens.tokens.typoFontSize, ");font-style:var(", _tokens.tokens.typoFontStyle, ");letter-spacing:var(", _tokens.tokens.typoFontLetterSpacing, ");line-height:var(", _tokens.tokens.typoFontLineHeight, ");font-weight:var(", _tokens.tokens.typoFontWeight, ");&.", _tokens.classes.typoWithNoWrap, "{white-space:nowrap;}", _mixins.applyHyphens, ";;label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVHlwb2dyYXBoeS9PbGQvU3VidGl0bGUvU3VidGl0bGUuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUt1QiIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL1R5cG9ncmFwaHkvT2xkL1N1YnRpdGxlL1N1YnRpdGxlLnN0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHsgY2xhc3NlcywgdG9rZW5zIH0gZnJvbSAnLi4vLi4vdG9rZW5zJztcbmltcG9ydCB7IGFwcGx5SHlwaGVucyB9IGZyb20gJy4uLy4uLy4uLy4uL21peGlucyc7XG5cbmV4cG9ydCBjb25zdCBiYXNlID0gY3NzYFxuICAgIGZvbnQtZmFtaWx5OiB2YXIoJHt0b2tlbnMudHlwb0ZvbnRGYW1pbHl9KTtcbiAgICBmb250LXNpemU6IHZhcigke3Rva2Vucy50eXBvRm9udFNpemV9KTtcbiAgICBmb250LXN0eWxlOiB2YXIoJHt0b2tlbnMudHlwb0ZvbnRTdHlsZX0pO1xuICAgIGxldHRlci1zcGFjaW5nOiB2YXIoJHt0b2tlbnMudHlwb0ZvbnRMZXR0ZXJTcGFjaW5nfSk7XG4gICAgbGluZS1oZWlnaHQ6IHZhcigke3Rva2Vucy50eXBvRm9udExpbmVIZWlnaHR9KTtcbiAgICBmb250LXdlaWdodDogdmFyKCR7dG9rZW5zLnR5cG9Gb250V2VpZ2h0fSk7XG5cbiAgICAmLiR7Y2xhc3Nlcy50eXBvV2l0aE5vV3JhcH0ge1xuICAgICAgICB3aGl0ZS1zcGFjZTogbm93cmFwO1xuICAgIH1cblxuICAgICR7YXBwbHlIeXBoZW5zfTtcbmA7XG4iXX0= */"));
@@ -9,7 +9,7 @@ var _react = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("react")
9
9
  var _applySpacing = /*#__PURE__*/require("../../../mixins/applySpacing");
10
10
  var _tokens = /*#__PURE__*/require("../tokens");
11
11
  var _utils = /*#__PURE__*/require("../../../utils");
12
- var _excluded = ["size", "children", "breakWord", "color", "className", "style"];
12
+ var _excluded = ["size", "children", "breakWord", "noWrap", "color", "className", "style"];
13
13
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
14
14
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
15
15
  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); }
@@ -25,15 +25,17 @@ var typographyOldRoot = exports.typographyOldRoot = function typographyOldRoot(R
25
25
  var size = props.size,
26
26
  children = props.children,
27
27
  breakWord = props.breakWord,
28
+ noWrap = props.noWrap,
28
29
  color = props.color,
29
30
  className = props.className,
30
31
  style = props.style,
31
32
  rest = _objectWithoutProperties(props, _excluded);
33
+ var withNoWrap = noWrap ? _tokens.classes.typoWithNoWrap : undefined;
32
34
  var withBreakWord = breakWord ? _tokens.classes.typoWithBreakWord : undefined;
33
35
  return /*#__PURE__*/_react["default"].createElement(Root, _extends({
34
36
  size: size,
35
37
  ref: ref,
36
- className: (0, _utils.cx)(withBreakWord, className),
38
+ className: (0, _utils.cx)(withNoWrap, withBreakWord, className),
37
39
  style: _objectSpread(_objectSpread({
38
40
  color: color
39
41
  }, style), (0, _applySpacing.applySpacing)(rest))
@@ -7,4 +7,4 @@ exports.base = void 0;
7
7
  var _react = /*#__PURE__*/require("@emotion/react");
8
8
  var _tokens = /*#__PURE__*/require("../tokens");
9
9
  var _mixins = /*#__PURE__*/require("../../../mixins");
10
- var base = exports.base = /*#__PURE__*/(0, _react.css)("font-family:var(", _tokens.tokens.typoFontFamily, ");font-size:var(", _tokens.tokens.typoFontSize, ");font-style:var(", _tokens.tokens.typoFontStyle, ");letter-spacing:var(", _tokens.tokens.typoFontLetterSpacing, ");line-height:var(", _tokens.tokens.typoFontLineHeight, ");font-weight:var(", _tokens.tokens.typoFontWeight, ");", /*#__PURE__*/String(_mixins.applyHyphensNormal), ";&.", /*#__PURE__*/String(_tokens.classes.typoWithBreakWord), "{", /*#__PURE__*/String(_mixins.applyHyphens), ";};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVHlwb2dyYXBoeS9PbGQvVHlwb2dyYXBoeU9sZC5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBS3VCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVHlwb2dyYXBoeS9PbGQvVHlwb2dyYXBoeU9sZC5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7IGNsYXNzZXMsIHRva2VucyB9IGZyb20gJy4uL3Rva2Vucyc7XG5pbXBvcnQgeyBhcHBseUh5cGhlbnMsIGFwcGx5SHlwaGVuc05vcm1hbCB9IGZyb20gJy4uLy4uLy4uL21peGlucyc7XG5cbmV4cG9ydCBjb25zdCBiYXNlID0gY3NzYFxuICAgIGZvbnQtZmFtaWx5OiB2YXIoJHt0b2tlbnMudHlwb0ZvbnRGYW1pbHl9KTtcbiAgICBmb250LXNpemU6IHZhcigke3Rva2Vucy50eXBvRm9udFNpemV9KTtcbiAgICBmb250LXN0eWxlOiB2YXIoJHt0b2tlbnMudHlwb0ZvbnRTdHlsZX0pO1xuICAgIGxldHRlci1zcGFjaW5nOiB2YXIoJHt0b2tlbnMudHlwb0ZvbnRMZXR0ZXJTcGFjaW5nfSk7XG4gICAgbGluZS1oZWlnaHQ6IHZhcigke3Rva2Vucy50eXBvRm9udExpbmVIZWlnaHR9KTtcbiAgICBmb250LXdlaWdodDogdmFyKCR7dG9rZW5zLnR5cG9Gb250V2VpZ2h0fSk7XG5cbiAgICAke1N0cmluZyhhcHBseUh5cGhlbnNOb3JtYWwpfTtcblxuICAgICYuJHtTdHJpbmcoY2xhc3Nlcy50eXBvV2l0aEJyZWFrV29yZCl9IHtcbiAgICAgICAgJHtTdHJpbmcoYXBwbHlIeXBoZW5zKX07XG4gICAgfVxuYDtcbiJdfQ== */"));
10
+ var base = exports.base = /*#__PURE__*/(0, _react.css)("font-family:var(", _tokens.tokens.typoFontFamily, ");font-size:var(", _tokens.tokens.typoFontSize, ");font-style:var(", _tokens.tokens.typoFontStyle, ");letter-spacing:var(", _tokens.tokens.typoFontLetterSpacing, ");line-height:var(", _tokens.tokens.typoFontLineHeight, ");font-weight:var(", _tokens.tokens.typoFontWeight, ");&.", _tokens.classes.typoWithNoWrap, "{white-space:nowrap;}", _mixins.applyHyphensNormal, ";&.", _tokens.classes.typoWithBreakWord, "{", _mixins.applyHyphens, ";};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVHlwb2dyYXBoeS9PbGQvVHlwb2dyYXBoeU9sZC5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBS3VCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVHlwb2dyYXBoeS9PbGQvVHlwb2dyYXBoeU9sZC5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7IGNsYXNzZXMsIHRva2VucyB9IGZyb20gJy4uL3Rva2Vucyc7XG5pbXBvcnQgeyBhcHBseUh5cGhlbnMsIGFwcGx5SHlwaGVuc05vcm1hbCB9IGZyb20gJy4uLy4uLy4uL21peGlucyc7XG5cbmV4cG9ydCBjb25zdCBiYXNlID0gY3NzYFxuICAgIGZvbnQtZmFtaWx5OiB2YXIoJHt0b2tlbnMudHlwb0ZvbnRGYW1pbHl9KTtcbiAgICBmb250LXNpemU6IHZhcigke3Rva2Vucy50eXBvRm9udFNpemV9KTtcbiAgICBmb250LXN0eWxlOiB2YXIoJHt0b2tlbnMudHlwb0ZvbnRTdHlsZX0pO1xuICAgIGxldHRlci1zcGFjaW5nOiB2YXIoJHt0b2tlbnMudHlwb0ZvbnRMZXR0ZXJTcGFjaW5nfSk7XG4gICAgbGluZS1oZWlnaHQ6IHZhcigke3Rva2Vucy50eXBvRm9udExpbmVIZWlnaHR9KTtcbiAgICBmb250LXdlaWdodDogdmFyKCR7dG9rZW5zLnR5cG9Gb250V2VpZ2h0fSk7XG5cbiAgICAmLiR7Y2xhc3Nlcy50eXBvV2l0aE5vV3JhcH0ge1xuICAgICAgICB3aGl0ZS1zcGFjZTogbm93cmFwO1xuICAgIH1cblxuICAgICR7YXBwbHlIeXBoZW5zTm9ybWFsfTtcblxuICAgICYuJHtjbGFzc2VzLnR5cG9XaXRoQnJlYWtXb3JkfSB7XG4gICAgICAgICR7YXBwbHlIeXBoZW5zfTtcbiAgICB9XG5gO1xuIl19 */"));
@@ -7,4 +7,4 @@ exports.base = void 0;
7
7
  var _react = /*#__PURE__*/require("@emotion/react");
8
8
  var _tokens = /*#__PURE__*/require("../../tokens");
9
9
  var _mixins = /*#__PURE__*/require("../../../../mixins");
10
- var base = exports.base = /*#__PURE__*/(0, _react.css)("font-family:var(", _tokens.tokens.typoFontFamily, ");font-size:var(", _tokens.tokens.typoFontSize, ");font-style:var(", _tokens.tokens.typoFontStyle, ");letter-spacing:var(", _tokens.tokens.typoFontLetterSpacing, ");line-height:var(", _tokens.tokens.typoFontLineHeight, ");font-weight:var(", _tokens.tokens.typoFontWeight, ");text-transform:uppercase;", /*#__PURE__*/String(_mixins.applyHyphensNormal), ";&.", /*#__PURE__*/String(_tokens.classes.typoWithBreakWord), "{", /*#__PURE__*/String(_mixins.applyHyphens), ";};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVHlwb2dyYXBoeS9PbGQvVW5kZXJsaW5lL1VuZGVybGluZS5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBS3VCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVHlwb2dyYXBoeS9PbGQvVW5kZXJsaW5lL1VuZGVybGluZS5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7IGNsYXNzZXMsIHRva2VucyB9IGZyb20gJy4uLy4uL3Rva2Vucyc7XG5pbXBvcnQgeyBhcHBseUh5cGhlbnMsIGFwcGx5SHlwaGVuc05vcm1hbCB9IGZyb20gJy4uLy4uLy4uLy4uL21peGlucyc7XG5cbmV4cG9ydCBjb25zdCBiYXNlID0gY3NzYFxuICAgIGZvbnQtZmFtaWx5OiB2YXIoJHt0b2tlbnMudHlwb0ZvbnRGYW1pbHl9KTtcbiAgICBmb250LXNpemU6IHZhcigke3Rva2Vucy50eXBvRm9udFNpemV9KTtcbiAgICBmb250LXN0eWxlOiB2YXIoJHt0b2tlbnMudHlwb0ZvbnRTdHlsZX0pO1xuICAgIGxldHRlci1zcGFjaW5nOiB2YXIoJHt0b2tlbnMudHlwb0ZvbnRMZXR0ZXJTcGFjaW5nfSk7XG4gICAgbGluZS1oZWlnaHQ6IHZhcigke3Rva2Vucy50eXBvRm9udExpbmVIZWlnaHR9KTtcbiAgICBmb250LXdlaWdodDogdmFyKCR7dG9rZW5zLnR5cG9Gb250V2VpZ2h0fSk7XG5cbiAgICB0ZXh0LXRyYW5zZm9ybTogdXBwZXJjYXNlO1xuXG4gICAgJHtTdHJpbmcoYXBwbHlIeXBoZW5zTm9ybWFsKX07XG5cbiAgICAmLiR7U3RyaW5nKGNsYXNzZXMudHlwb1dpdGhCcmVha1dvcmQpfSB7XG4gICAgICAgICR7U3RyaW5nKGFwcGx5SHlwaGVucyl9O1xuICAgIH1cbmA7XG4iXX0= */"));
10
+ var base = exports.base = /*#__PURE__*/(0, _react.css)("font-family:var(", _tokens.tokens.typoFontFamily, ");font-size:var(", _tokens.tokens.typoFontSize, ");font-style:var(", _tokens.tokens.typoFontStyle, ");letter-spacing:var(", _tokens.tokens.typoFontLetterSpacing, ");line-height:var(", _tokens.tokens.typoFontLineHeight, ");font-weight:var(", _tokens.tokens.typoFontWeight, ");text-transform:uppercase;&.", _tokens.classes.typoWithNoWrap, "{white-space:nowrap;}", _mixins.applyHyphensNormal, ";&.", _tokens.classes.typoWithBreakWord, "{", _mixins.applyHyphens, ";};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVHlwb2dyYXBoeS9PbGQvVW5kZXJsaW5lL1VuZGVybGluZS5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBS3VCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVHlwb2dyYXBoeS9PbGQvVW5kZXJsaW5lL1VuZGVybGluZS5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7IGNsYXNzZXMsIHRva2VucyB9IGZyb20gJy4uLy4uL3Rva2Vucyc7XG5pbXBvcnQgeyBhcHBseUh5cGhlbnMsIGFwcGx5SHlwaGVuc05vcm1hbCB9IGZyb20gJy4uLy4uLy4uLy4uL21peGlucyc7XG5cbmV4cG9ydCBjb25zdCBiYXNlID0gY3NzYFxuICAgIGZvbnQtZmFtaWx5OiB2YXIoJHt0b2tlbnMudHlwb0ZvbnRGYW1pbHl9KTtcbiAgICBmb250LXNpemU6IHZhcigke3Rva2Vucy50eXBvRm9udFNpemV9KTtcbiAgICBmb250LXN0eWxlOiB2YXIoJHt0b2tlbnMudHlwb0ZvbnRTdHlsZX0pO1xuICAgIGxldHRlci1zcGFjaW5nOiB2YXIoJHt0b2tlbnMudHlwb0ZvbnRMZXR0ZXJTcGFjaW5nfSk7XG4gICAgbGluZS1oZWlnaHQ6IHZhcigke3Rva2Vucy50eXBvRm9udExpbmVIZWlnaHR9KTtcbiAgICBmb250LXdlaWdodDogdmFyKCR7dG9rZW5zLnR5cG9Gb250V2VpZ2h0fSk7XG5cbiAgICB0ZXh0LXRyYW5zZm9ybTogdXBwZXJjYXNlO1xuXG4gICAgJi4ke2NsYXNzZXMudHlwb1dpdGhOb1dyYXB9IHtcbiAgICAgICAgd2hpdGUtc3BhY2U6IG5vd3JhcDtcbiAgICB9XG5cbiAgICAke2FwcGx5SHlwaGVuc05vcm1hbH07XG5cbiAgICAmLiR7Y2xhc3Nlcy50eXBvV2l0aEJyZWFrV29yZH0ge1xuICAgICAgICAke2FwcGx5SHlwaGVuc307XG4gICAgfVxuYDtcbiJdfQ== */"));
@@ -9,7 +9,7 @@ var _react = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("react")
9
9
  var _applySpacing = /*#__PURE__*/require("../../mixins/applySpacing");
10
10
  var _utils = /*#__PURE__*/require("../../utils");
11
11
  var _tokens = /*#__PURE__*/require("./tokens");
12
- var _excluded = ["size", "children", "breakWord", "bold", "color", "className", "style"];
12
+ var _excluded = ["size", "children", "breakWord", "noWrap", "bold", "color", "className", "style"];
13
13
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
14
14
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
15
15
  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); }
@@ -26,18 +26,20 @@ var typographyRootCompose = exports.typographyRootCompose = function typographyR
26
26
  var size = props.size,
27
27
  children = props.children,
28
28
  breakWord = props.breakWord,
29
+ noWrap = props.noWrap,
29
30
  _props$bold = props.bold,
30
31
  bold = _props$bold === void 0 ? defaultArgs === null || defaultArgs === void 0 ? void 0 : defaultArgs.defaultBold : _props$bold,
31
32
  color = props.color,
32
33
  className = props.className,
33
34
  style = props.style,
34
35
  rest = _objectWithoutProperties(props, _excluded);
36
+ var withNoWrap = noWrap ? _tokens.classes.typoWithNoWrap : undefined;
35
37
  var withBreakWord = breakWord ? _tokens.classes.typoWithBreakWord : undefined;
36
38
  var typographyBold = bold ? _tokens.classes.typoBold : undefined;
37
39
  return /*#__PURE__*/_react["default"].createElement(Root, _extends({
38
40
  size: size,
39
41
  ref: ref,
40
- className: (0, _utils.cx)(withBreakWord, typographyBold, className),
42
+ className: (0, _utils.cx)(withNoWrap, withBreakWord, typographyBold, className),
41
43
  style: _objectSpread(_objectSpread({
42
44
  color: color
43
45
  }, style), (0, _applySpacing.applySpacing)(rest)),
@@ -7,4 +7,4 @@ exports.base = void 0;
7
7
  var _react = /*#__PURE__*/require("@emotion/react");
8
8
  var _mixins = /*#__PURE__*/require("../../mixins");
9
9
  var _tokens = /*#__PURE__*/require("./tokens");
10
- var base = exports.base = /*#__PURE__*/(0, _react.css)("font-family:var(", _tokens.tokens.typoFontFamily, ");font-size:var(", _tokens.tokens.typoFontSize, ");font-style:var(", _tokens.tokens.typoFontStyle, ");letter-spacing:var(", _tokens.tokens.typoFontLetterSpacing, ");line-height:var(", _tokens.tokens.typoFontLineHeight, ");font-weight:var(", _tokens.tokens.typoFontWeight, ");&.", /*#__PURE__*/String(_tokens.classes.typoBold), "{font-weight:var(", _tokens.tokens.typoFontWeightBold, ");}", /*#__PURE__*/String(_mixins.applyHyphensNormal), ";&.", /*#__PURE__*/String(_tokens.classes.typoWithBreakWord), "{", /*#__PURE__*/String(_mixins.applyHyphens), ";};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVHlwb2dyYXBoeS9UeXBvZ3JhcGh5LnN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNdUIiLCJmaWxlIjoiLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9UeXBvZ3JhcGh5L1R5cG9ncmFwaHkuc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG5pbXBvcnQgeyBhcHBseUh5cGhlbnMsIGFwcGx5SHlwaGVuc05vcm1hbCB9IGZyb20gJy4uLy4uL21peGlucyc7XG5cbmltcG9ydCB7IGNsYXNzZXMsIHRva2VucyB9IGZyb20gJy4vdG9rZW5zJztcblxuZXhwb3J0IGNvbnN0IGJhc2UgPSBjc3NgXG4gICAgZm9udC1mYW1pbHk6IHZhcigke3Rva2Vucy50eXBvRm9udEZhbWlseX0pO1xuICAgIGZvbnQtc2l6ZTogdmFyKCR7dG9rZW5zLnR5cG9Gb250U2l6ZX0pO1xuICAgIGZvbnQtc3R5bGU6IHZhcigke3Rva2Vucy50eXBvRm9udFN0eWxlfSk7XG4gICAgbGV0dGVyLXNwYWNpbmc6IHZhcigke3Rva2Vucy50eXBvRm9udExldHRlclNwYWNpbmd9KTtcbiAgICBsaW5lLWhlaWdodDogdmFyKCR7dG9rZW5zLnR5cG9Gb250TGluZUhlaWdodH0pO1xuICAgIGZvbnQtd2VpZ2h0OiB2YXIoJHt0b2tlbnMudHlwb0ZvbnRXZWlnaHR9KTtcblxuICAgICYuJHtTdHJpbmcoY2xhc3Nlcy50eXBvQm9sZCl9IHtcbiAgICAgICAgZm9udC13ZWlnaHQ6IHZhcigke3Rva2Vucy50eXBvRm9udFdlaWdodEJvbGR9KTtcbiAgICB9XG5cbiAgICAke1N0cmluZyhhcHBseUh5cGhlbnNOb3JtYWwpfTtcblxuICAgICYuJHtTdHJpbmcoY2xhc3Nlcy50eXBvV2l0aEJyZWFrV29yZCl9IHtcbiAgICAgICAgJHtTdHJpbmcoYXBwbHlIeXBoZW5zKX07XG4gICAgfVxuYDtcbiJdfQ== */"));
10
+ var base = exports.base = /*#__PURE__*/(0, _react.css)("font-family:var(", _tokens.tokens.typoFontFamily, ");font-size:var(", _tokens.tokens.typoFontSize, ");font-style:var(", _tokens.tokens.typoFontStyle, ");letter-spacing:var(", _tokens.tokens.typoFontLetterSpacing, ");line-height:var(", _tokens.tokens.typoFontLineHeight, ");font-weight:var(", _tokens.tokens.typoFontWeight, ");&.", _tokens.classes.typoBold, "{font-weight:var(", _tokens.tokens.typoFontWeightBold, ");}&.", _tokens.classes.typoWithNoWrap, "{white-space:nowrap;}", _mixins.applyHyphensNormal, ";&.", _tokens.classes.typoWithBreakWord, "{", _mixins.applyHyphens, ";};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVHlwb2dyYXBoeS9UeXBvZ3JhcGh5LnN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNdUIiLCJmaWxlIjoiLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9UeXBvZ3JhcGh5L1R5cG9ncmFwaHkuc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG5pbXBvcnQgeyBhcHBseUh5cGhlbnMsIGFwcGx5SHlwaGVuc05vcm1hbCB9IGZyb20gJy4uLy4uL21peGlucyc7XG5cbmltcG9ydCB7IGNsYXNzZXMsIHRva2VucyB9IGZyb20gJy4vdG9rZW5zJztcblxuZXhwb3J0IGNvbnN0IGJhc2UgPSBjc3NgXG4gICAgZm9udC1mYW1pbHk6IHZhcigke3Rva2Vucy50eXBvRm9udEZhbWlseX0pO1xuICAgIGZvbnQtc2l6ZTogdmFyKCR7dG9rZW5zLnR5cG9Gb250U2l6ZX0pO1xuICAgIGZvbnQtc3R5bGU6IHZhcigke3Rva2Vucy50eXBvRm9udFN0eWxlfSk7XG4gICAgbGV0dGVyLXNwYWNpbmc6IHZhcigke3Rva2Vucy50eXBvRm9udExldHRlclNwYWNpbmd9KTtcbiAgICBsaW5lLWhlaWdodDogdmFyKCR7dG9rZW5zLnR5cG9Gb250TGluZUhlaWdodH0pO1xuICAgIGZvbnQtd2VpZ2h0OiB2YXIoJHt0b2tlbnMudHlwb0ZvbnRXZWlnaHR9KTtcblxuICAgICYuJHtjbGFzc2VzLnR5cG9Cb2xkfSB7XG4gICAgICAgIGZvbnQtd2VpZ2h0OiB2YXIoJHt0b2tlbnMudHlwb0ZvbnRXZWlnaHRCb2xkfSk7XG4gICAgfVxuXG4gICAgJi4ke2NsYXNzZXMudHlwb1dpdGhOb1dyYXB9IHtcbiAgICAgICAgd2hpdGUtc3BhY2U6IG5vd3JhcDtcbiAgICB9XG5cbiAgICAke2FwcGx5SHlwaGVuc05vcm1hbH07XG5cbiAgICAmLiR7Y2xhc3Nlcy50eXBvV2l0aEJyZWFrV29yZH0ge1xuICAgICAgICAke2FwcGx5SHlwaGVuc307XG4gICAgfVxuYDtcbiJdfQ== */"));
@@ -19,6 +19,10 @@ title: Typography
19
19
  По умолчанию в типографике слова переносятся по слогам.
20
20
  Чтобы отключить данный функционал, необходимо установить свойство `breakWord` в значении `false`.
21
21
 
22
+ ## Пробелы
23
+ По умолчанию в типографике если текст превышает ширину элемента, то слова будут переноситься по пробелам.
24
+ Чтобы запретить перенос по пробелам, необходимо установить свойство `noWrap` в значении `true`.
25
+
22
26
  ## Состав
23
27
 
24
28
  ### Hero unit
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.tokens = exports.classes = void 0;
7
7
  var classes = exports.classes = {
8
+ typoWithNoWrap: 'with-no-wrap',
8
9
  typoWithBreakWord: 'with-break-word',
9
10
  typoBold: 'typography-bold'
10
11
  };
@@ -104,6 +104,11 @@ const meta: Meta<StorySelectProps> = {
104
104
  },
105
105
  if: { arg: 'required', truthy: false },
106
106
  },
107
+ chipType: {
108
+ control: 'select',
109
+ options: ['default', 'text'],
110
+ if: { arg: 'target', eq: 'textfield-like' },
111
+ },
107
112
  },
108
113
  args: {
109
114
  target: 'textfield-like',
@@ -121,6 +126,7 @@ const meta: Meta<StorySelectProps> = {
121
126
  optional: false,
122
127
  required: false,
123
128
  requiredPlacement: 'right',
129
+ chipType: 'default',
124
130
  },
125
131
  parameters: {
126
132
  controls: {
@@ -144,6 +150,7 @@ const meta: Meta<StorySelectProps> = {
144
150
  'optional',
145
151
  'required',
146
152
  'requiredPlacement',
153
+ 'chipType',
147
154
  ],
148
155
  },
149
156
  },
@@ -382,7 +389,7 @@ const SingleStory = (args: StorySelectProps) => {
382
389
  export const Single: StoryObj<StorySelectProps> = {
383
390
  parameters: {
384
391
  controls: {
385
- exclude: ['chipView', 'isTargetAmount'],
392
+ exclude: ['chipView', 'isTargetAmount', 'chipType'],
386
393
  },
387
394
  },
388
395
  render: (args) => <SingleStory {...args} />,
@@ -134,6 +134,10 @@ const meta: Meta<typeof TextField> = {
134
134
  control: { type: 'text' },
135
135
  if: { arg: 'hasHint', truthy: true },
136
136
  },
137
+ chipType: {
138
+ control: 'select',
139
+ options: ['default', 'text'],
140
+ },
137
141
  },
138
142
  };
139
143
 
@@ -233,6 +237,11 @@ export const Default: StoryObj<StoryPropsDefault> = {
233
237
  hintWidth: '10rem',
234
238
  hintHasArrow: true,
235
239
  },
240
+ parameters: {
241
+ controls: {
242
+ exclude: ['chipType'],
243
+ },
244
+ },
236
245
  render: (args) => <StoryDemo {...args} />,
237
246
  };
238
247
 
@@ -288,6 +297,7 @@ export const Chips: StoryObj<StoryPropsChips> = {
288
297
  args: {
289
298
  ...Default.args,
290
299
  chips: ['1 value', '2 value', '3 value', '4 value'],
300
+ chipType: 'default',
291
301
  },
292
302
  render: (args) => <StoryChips {...args} />,
293
303
  };
@@ -103,6 +103,11 @@ const meta: Meta<StorySelectProps> = {
103
103
  },
104
104
  if: { arg: 'required', truthy: false },
105
105
  },
106
+ chipType: {
107
+ control: 'select',
108
+ options: ['default', 'text'],
109
+ if: { arg: 'target', eq: 'textfield-like' },
110
+ },
106
111
  },
107
112
  args: {
108
113
  target: 'textfield-like',
@@ -120,6 +125,7 @@ const meta: Meta<StorySelectProps> = {
120
125
  optional: false,
121
126
  required: false,
122
127
  requiredPlacement: 'right',
128
+ chipType: 'default',
123
129
  },
124
130
  parameters: {
125
131
  controls: {
@@ -143,6 +149,7 @@ const meta: Meta<StorySelectProps> = {
143
149
  'optional',
144
150
  'required',
145
151
  'requiredPlacement',
152
+ 'chipType',
146
153
  ],
147
154
  },
148
155
  },
@@ -381,7 +388,7 @@ const SingleStory = (args: StorySelectProps) => {
381
388
  export const Single: StoryObj<StorySelectProps> = {
382
389
  parameters: {
383
390
  controls: {
384
- exclude: ['chipView', 'isTargetAmount'],
391
+ exclude: ['chipView', 'isTargetAmount', 'chipType'],
385
392
  },
386
393
  },
387
394
  render: (args) => <SingleStory {...args} />,
@@ -134,6 +134,10 @@ const meta: Meta<typeof TextField> = {
134
134
  control: { type: 'text' },
135
135
  if: { arg: 'hasHint', truthy: true },
136
136
  },
137
+ chipType: {
138
+ control: 'select',
139
+ options: ['default', 'text'],
140
+ },
137
141
  },
138
142
  };
139
143
 
@@ -233,6 +237,11 @@ export const Default: StoryObj<StoryPropsDefault> = {
233
237
  hintWidth: '10rem',
234
238
  hintHasArrow: true,
235
239
  },
240
+ parameters: {
241
+ controls: {
242
+ exclude: ['chipType'],
243
+ },
244
+ },
236
245
  render: (args) => <StoryDemo {...args} />,
237
246
  };
238
247
 
@@ -288,6 +297,7 @@ export const Chips: StoryObj<StoryPropsChips> = {
288
297
  args: {
289
298
  ...Default.args,
290
299
  chips: ['1 value', '2 value', '3 value', '4 value'],
300
+ chipType: 'default',
291
301
  },
292
302
  render: (args) => <StoryChips {...args} />,
293
303
  };
@@ -12,8 +12,16 @@ const meta: Meta<typeof Body> = {
12
12
  title: 'typography/Body',
13
13
  decorators: [WithTheme],
14
14
  component: Body,
15
- argTypes: argTypesFromConfig(mergeConfig(bodyConfig, config)),
15
+ argTypes: {
16
+ ...argTypesFromConfig(mergeConfig(bodyConfig, config)),
17
+ color: {
18
+ control: {
19
+ type: 'color',
20
+ },
21
+ },
22
+ },
16
23
  args: {
24
+ noWrap: false,
17
25
  breakWord: true,
18
26
  bold: false,
19
27
  },
@@ -12,8 +12,16 @@ const meta: Meta<typeof Dspl> = {
12
12
  title: 'typography/Dspl',
13
13
  decorators: [WithTheme],
14
14
  component: Dspl,
15
- argTypes: argTypesFromConfig(mergeConfig(dsplConfig, config)),
15
+ argTypes: {
16
+ ...argTypesFromConfig(mergeConfig(dsplConfig, config)),
17
+ color: {
18
+ control: {
19
+ type: 'color',
20
+ },
21
+ },
22
+ },
16
23
  args: {
24
+ noWrap: false,
17
25
  breakWord: true,
18
26
  bold: false,
19
27
  },
@@ -12,8 +12,16 @@ const meta: Meta<typeof Heading> = {
12
12
  title: 'typography/Heading',
13
13
  decorators: [WithTheme],
14
14
  component: Heading,
15
- argTypes: argTypesFromConfig(mergeConfig(dsplConfig, config)),
15
+ argTypes: {
16
+ ...argTypesFromConfig(mergeConfig(dsplConfig, config)),
17
+ color: {
18
+ control: {
19
+ type: 'color',
20
+ },
21
+ },
22
+ },
16
23
  args: {
24
+ noWrap: false,
17
25
  breakWord: true,
18
26
  bold: false,
19
27
  },
@@ -12,8 +12,16 @@ const meta: Meta<typeof OldBody> = {
12
12
  title: 'typography/Old/Body',
13
13
  decorators: [WithTheme],
14
14
  component: OldBody,
15
- argTypes: argTypesFromConfig(mergeConfig(oldBodyConfig, config)),
15
+ argTypes: {
16
+ ...argTypesFromConfig(mergeConfig(oldBodyConfig, config)),
17
+ color: {
18
+ control: {
19
+ type: 'color',
20
+ },
21
+ },
22
+ },
16
23
  args: {
24
+ noWrap: false,
17
25
  breakWord: true,
18
26
  },
19
27
  };
@@ -12,8 +12,16 @@ const meta: Meta<typeof Button> = {
12
12
  title: 'typography/Old/Button',
13
13
  decorators: [WithTheme],
14
14
  component: Button,
15
- argTypes: argTypesFromConfig(mergeConfig(buttonTypographyConfig, config)),
15
+ argTypes: {
16
+ ...argTypesFromConfig(mergeConfig(buttonTypographyConfig, config)),
17
+ color: {
18
+ control: {
19
+ type: 'color',
20
+ },
21
+ },
22
+ },
16
23
  args: {
24
+ noWrap: false,
17
25
  breakWord: true,
18
26
  },
19
27
  };
@@ -12,8 +12,16 @@ const meta: Meta<typeof Caption> = {
12
12
  title: 'typography/Old/Caption',
13
13
  decorators: [WithTheme],
14
14
  component: Caption,
15
- argTypes: argTypesFromConfig(mergeConfig(captionConfig, config)),
15
+ argTypes: {
16
+ ...argTypesFromConfig(mergeConfig(captionConfig, config)),
17
+ color: {
18
+ control: {
19
+ type: 'color',
20
+ },
21
+ },
22
+ },
16
23
  args: {
24
+ noWrap: false,
17
25
  breakWord: true,
18
26
  },
19
27
  };
@@ -12,8 +12,16 @@ const meta: Meta<typeof Display> = {
12
12
  title: 'typography/Old/Display',
13
13
  decorators: [WithTheme],
14
14
  component: Display,
15
- argTypes: argTypesFromConfig(mergeConfig(displayConfig, config)),
15
+ argTypes: {
16
+ ...argTypesFromConfig(mergeConfig(displayConfig, config)),
17
+ color: {
18
+ control: {
19
+ type: 'color',
20
+ },
21
+ },
22
+ },
16
23
  args: {
24
+ noWrap: false,
17
25
  breakWord: true,
18
26
  },
19
27
  };
@@ -12,8 +12,16 @@ const meta: Meta<typeof Footnote> = {
12
12
  title: 'typography/Old/Footnote',
13
13
  decorators: [WithTheme],
14
14
  component: Footnote,
15
- argTypes: argTypesFromConfig(mergeConfig(footnoteConfig, config)),
15
+ argTypes: {
16
+ ...argTypesFromConfig(mergeConfig(footnoteConfig, config)),
17
+ color: {
18
+ control: {
19
+ type: 'color',
20
+ },
21
+ },
22
+ },
16
23
  args: {
24
+ noWrap: false,
17
25
  breakWord: true,
18
26
  },
19
27
  };
@@ -12,8 +12,16 @@ const meta: Meta<typeof Headline> = {
12
12
  title: 'typography/Old/Headline',
13
13
  decorators: [WithTheme],
14
14
  component: Headline,
15
- argTypes: argTypesFromConfig(mergeConfig(headlineConfig, config)),
15
+ argTypes: {
16
+ ...argTypesFromConfig(mergeConfig(headlineConfig, config)),
17
+ color: {
18
+ control: {
19
+ type: 'color',
20
+ },
21
+ },
22
+ },
16
23
  args: {
24
+ noWrap: false,
17
25
  breakWord: true,
18
26
  },
19
27
  };
@@ -12,8 +12,16 @@ const meta: Meta<typeof Paragraph> = {
12
12
  title: 'typography/Old/Paragraph',
13
13
  decorators: [WithTheme],
14
14
  component: Paragraph,
15
- argTypes: argTypesFromConfig(mergeConfig(paragraphConfig, config)),
15
+ argTypes: {
16
+ ...argTypesFromConfig(mergeConfig(paragraphConfig, config)),
17
+ color: {
18
+ control: {
19
+ type: 'color',
20
+ },
21
+ },
22
+ },
16
23
  args: {
24
+ noWrap: false,
17
25
  breakWord: true,
18
26
  resetMargin: false,
19
27
  m: 2,
@@ -12,7 +12,17 @@ const meta: Meta<typeof Subtitle> = {
12
12
  title: 'typography/Old/Subtitle',
13
13
  decorators: [WithTheme],
14
14
  component: Subtitle,
15
- argTypes: argTypesFromConfig(mergeConfig(subtitleConfig, config)),
15
+ argTypes: {
16
+ ...argTypesFromConfig(mergeConfig(subtitleConfig, config)),
17
+ color: {
18
+ control: {
19
+ type: 'color',
20
+ },
21
+ },
22
+ },
23
+ args: {
24
+ noWrap: false,
25
+ },
16
26
  };
17
27
 
18
28
  export default meta;
@@ -12,8 +12,16 @@ const meta: Meta<typeof Underline> = {
12
12
  title: 'typography/Old/Underline',
13
13
  decorators: [WithTheme],
14
14
  component: Underline,
15
- argTypes: argTypesFromConfig(mergeConfig(underlineConfig, config)),
15
+ argTypes: {
16
+ ...argTypesFromConfig(mergeConfig(underlineConfig, config)),
17
+ color: {
18
+ control: {
19
+ type: 'color',
20
+ },
21
+ },
22
+ },
16
23
  args: {
24
+ noWrap: false,
17
25
  breakWord: true,
18
26
  },
19
27
  };
@@ -12,8 +12,16 @@ const meta: Meta<typeof Text> = {
12
12
  title: 'typography/Text',
13
13
  decorators: [WithTheme],
14
14
  component: Text,
15
- argTypes: argTypesFromConfig(mergeConfig(textConfig, config)),
15
+ argTypes: {
16
+ ...argTypesFromConfig(mergeConfig(textConfig, config)),
17
+ color: {
18
+ control: {
19
+ type: 'color',
20
+ },
21
+ },
22
+ },
16
23
  args: {
24
+ noWrap: false,
17
25
  breakWord: true,
18
26
  bold: false,
19
27
  },
@@ -63,7 +63,7 @@ export var calendarBaseRoot = function calendarBaseRoot(Root) {
63
63
  _useState8 = _slicedToArray(_useState7, 2),
64
64
  outOfRangeKey = _useState8[0],
65
65
  setOutOfRangeKey = _useState8[1];
66
- var _useReducer = useReducer(reducer, getInitialState(value, min, type)),
66
+ var _useReducer = useReducer(reducer, getInitialState(value, type)),
67
67
  _useReducer2 = _slicedToArray(_useReducer, 2),
68
68
  state = _useReducer2[0],
69
69
  dispatch = _useReducer2[1];
@@ -64,7 +64,7 @@ export var calendarDoubleRoot = function calendarDoubleRoot(Root) {
64
64
  _useState8 = _slicedToArray(_useState7, 2),
65
65
  outOfRangeKey = _useState8[0],
66
66
  setOutOfRangeKey = _useState8[1];
67
- var _useReducer = useReducer(reducer, getInitialState(value, min, type, true)),
67
+ var _useReducer = useReducer(reducer, getInitialState(value, type, true)),
68
68
  _useReducer2 = _slicedToArray(_useReducer, 2),
69
69
  state = _useReducer2[0],
70
70
  dispatch = _useReducer2[1];
@@ -30,8 +30,8 @@ export var sizeMap = {
30
30
  "double": [3, 1]
31
31
  }
32
32
  };
33
- export var getInitialState = function getInitialState(value, min, calendarState, isDouble) {
34
- var initDate = value || min || new Date();
33
+ export var getInitialState = function getInitialState(value, calendarState, isDouble) {
34
+ var initDate = value || new Date();
35
35
  var date = getDateFromValue(initDate);
36
36
  var resSize = isDouble ? sizeMap[calendarState]["double"] : sizeMap[calendarState].single;
37
37
  return {
@@ -73,6 +73,7 @@ export var Target = /*#__PURE__*/forwardRef(function (_ref, ref) {
73
73
  onChange: onChange,
74
74
  labelToItemMap: labelToItemMap,
75
75
  chipView: chipView,
76
- requiredProps: requiredProps
76
+ requiredProps: requiredProps,
77
+ chipType: selectProps.chipType
77
78
  });
78
79
  });
@@ -33,7 +33,8 @@ export var Textfield = /*#__PURE__*/forwardRef(function (_ref, ref) {
33
33
  onChange = _ref.onChange,
34
34
  labelToItemMap = _ref.labelToItemMap,
35
35
  chipView = _ref.chipView,
36
- requiredProps = _ref.requiredProps;
36
+ requiredProps = _ref.requiredProps,
37
+ chipType = _ref.chipType;
37
38
  var withArrowInverse = opened ? classes.arrowInverse : undefined;
38
39
  var getChips = function getChips() {
39
40
  if (multiselect && Array.isArray(value)) {
@@ -104,7 +105,8 @@ export var Textfield = /*#__PURE__*/forwardRef(function (_ref, ref) {
104
105
  }, multiselect ? {
105
106
  enumerationType: 'chip',
106
107
  chips: getChips(),
107
- onChangeChips: handleChipsChange
108
+ onChangeChips: handleChipsChange,
109
+ chipType: chipType
108
110
  } : {
109
111
  enumerationType: 'plain'
110
112
  }, {