@salutejs/plasma-new-hope 0.183.0-canary.1530.11628993812.0 → 0.183.1-canary.1535.11680166109.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (240) hide show
  1. package/cjs/components/Attach/Attach.css +3 -3
  2. package/cjs/components/Attach/components/AttachButton/AttachButton.css +3 -3
  3. package/cjs/components/Autocomplete/Autocomplete.css +6 -6
  4. package/cjs/components/Autocomplete/Autocomplete.styles.js +1 -1
  5. package/cjs/components/Autocomplete/{Autocomplete.styles_192fzgs.css → Autocomplete.styles_pv6izw.css} +1 -1
  6. package/cjs/components/Autocomplete/Autocomplete.tokens.js +62 -35
  7. package/cjs/components/Autocomplete/Autocomplete.tokens.js.map +1 -1
  8. package/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  9. package/cjs/components/Autocomplete/ui/TextField/TextField.styles.js.map +1 -1
  10. package/cjs/components/Autocomplete/ui/TextField/TextField.styles_1anhp9c.css +1 -0
  11. package/cjs/components/Button/Button.css +2 -2
  12. package/cjs/components/Button/Button.styles.js.map +1 -1
  13. package/cjs/components/Button/variations/_disabled/base.js +1 -1
  14. package/cjs/components/Button/variations/_disabled/base.js.map +1 -1
  15. package/{es/components/Button/variations/_disabled/base_1t3ywu.css → cjs/components/Button/variations/_disabled/base_do83p2.css} +1 -1
  16. package/cjs/components/Button/variations/_view/base.js +1 -1
  17. package/cjs/components/Button/variations/_view/base.js.map +1 -1
  18. package/cjs/components/Button/variations/_view/base_jfbpjg.css +1 -0
  19. package/cjs/components/Calendar/CalendarBase/CalendarBase.css +3 -3
  20. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.css +3 -3
  21. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.css +3 -3
  22. package/cjs/components/Combobox/ComboboxNew/Combobox.css +3 -3
  23. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +80 -45
  24. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  25. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +3 -3
  26. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +3 -3
  27. package/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +1 -1
  28. package/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js.map +1 -1
  29. package/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles_16ltv0e.css +1 -0
  30. package/cjs/components/DatePicker/RangeDate/RangeDate.css +3 -3
  31. package/cjs/components/DatePicker/RangeDate/RangeDate.js +1 -3
  32. package/cjs/components/DatePicker/RangeDate/RangeDate.js.map +1 -1
  33. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +3 -3
  34. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +1 -0
  35. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js.map +1 -1
  36. package/cjs/components/DatePicker/SingleDate/SingleDate.css +3 -3
  37. package/cjs/components/Drawer/Drawer.css +2 -2
  38. package/cjs/components/Drawer/ui/DrawerContent/DrawerContent.css +2 -2
  39. package/cjs/components/EmptyState/EmptyState.css +2 -2
  40. package/cjs/components/IconButton/IconButton.css +3 -3
  41. package/cjs/components/IconButton/IconButton.styles.js +1 -1
  42. package/cjs/components/IconButton/IconButton.styles_403on7.css +1 -0
  43. package/cjs/components/Notification/Notification.css +2 -2
  44. package/cjs/components/Notification/NotificationsProvider.css +2 -2
  45. package/cjs/components/Pagination/Pagination.css +2 -2
  46. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +2 -2
  47. package/cjs/components/Panel/ui/PanelHeader/PanelHeader.css +2 -2
  48. package/cjs/components/Range/Range.js +4 -7
  49. package/cjs/components/Range/Range.js.map +1 -1
  50. package/cjs/components/Select/Select.css +2 -2
  51. package/cjs/components/Select/ui/Inner/Inner.css +2 -2
  52. package/cjs/components/Select/ui/Inner/ui/Item/Item.css +2 -2
  53. package/cjs/components/Select/ui/Target/Target.css +2 -2
  54. package/cjs/components/Select/ui/Target/ui/Button/Button.css +2 -2
  55. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.css +2 -2
  56. package/cjs/components/Toast/Toast.css +2 -2
  57. package/cjs/components/Toast/ToastController.css +2 -2
  58. package/cjs/index.css +10 -10
  59. package/emotion/cjs/components/Autocomplete/Autocomplete.tokens.js +62 -35
  60. package/emotion/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  61. package/emotion/cjs/components/Button/Button.styles.js +10 -10
  62. package/emotion/cjs/components/Button/variations/_disabled/base.js +1 -1
  63. package/emotion/cjs/components/Button/variations/_view/base.js +1 -1
  64. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +80 -45
  65. package/emotion/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +1 -1
  66. package/emotion/cjs/components/DatePicker/RangeDate/RangeDate.js +1 -3
  67. package/emotion/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +1 -0
  68. package/emotion/cjs/components/Range/Range.js +4 -7
  69. package/emotion/cjs/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.js +12 -12
  70. package/emotion/cjs/examples/plasma_b2c/components/Autocomplete/Autocomplete.stories.tsx +22 -0
  71. package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +12 -12
  72. package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +24 -0
  73. package/emotion/cjs/examples/plasma_b2c/components/TextField/TextField.config.js +16 -16
  74. package/emotion/cjs/examples/plasma_web/components/Autocomplete/Autocomplete.config.js +12 -12
  75. package/emotion/cjs/examples/plasma_web/components/Combobox/Combobox.config.js +12 -12
  76. package/emotion/cjs/examples/plasma_web/components/Combobox/Combobox.stories.tsx +24 -0
  77. package/emotion/es/components/Autocomplete/Autocomplete.tokens.js +62 -35
  78. package/emotion/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  79. package/emotion/es/components/Button/Button.styles.js +10 -10
  80. package/emotion/es/components/Button/variations/_disabled/base.js +1 -1
  81. package/emotion/es/components/Button/variations/_view/base.js +1 -1
  82. package/emotion/es/components/Combobox/ComboboxNew/Combobox.tokens.js +80 -45
  83. package/emotion/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +1 -1
  84. package/emotion/es/components/DatePicker/RangeDate/RangeDate.js +1 -3
  85. package/emotion/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +1 -0
  86. package/emotion/es/components/Range/Range.js +4 -7
  87. package/emotion/es/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.js +12 -12
  88. package/emotion/es/examples/plasma_b2c/components/Autocomplete/Autocomplete.stories.tsx +22 -0
  89. package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +12 -12
  90. package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +24 -0
  91. package/emotion/es/examples/plasma_b2c/components/TextField/TextField.config.js +16 -16
  92. package/emotion/es/examples/plasma_web/components/Autocomplete/Autocomplete.config.js +12 -12
  93. package/emotion/es/examples/plasma_web/components/Combobox/Combobox.config.js +12 -12
  94. package/emotion/es/examples/plasma_web/components/Combobox/Combobox.stories.tsx +24 -0
  95. package/es/components/Attach/Attach.css +3 -3
  96. package/es/components/Attach/components/AttachButton/AttachButton.css +3 -3
  97. package/es/components/Autocomplete/Autocomplete.css +6 -6
  98. package/es/components/Autocomplete/Autocomplete.styles.js +1 -1
  99. package/es/components/Autocomplete/{Autocomplete.styles_192fzgs.css → Autocomplete.styles_pv6izw.css} +1 -1
  100. package/es/components/Autocomplete/Autocomplete.tokens.js +62 -35
  101. package/es/components/Autocomplete/Autocomplete.tokens.js.map +1 -1
  102. package/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  103. package/es/components/Autocomplete/ui/TextField/TextField.styles.js.map +1 -1
  104. package/es/components/Autocomplete/ui/TextField/TextField.styles_1anhp9c.css +1 -0
  105. package/es/components/Button/Button.css +2 -2
  106. package/es/components/Button/Button.styles.js.map +1 -1
  107. package/es/components/Button/variations/_disabled/base.js +1 -1
  108. package/es/components/Button/variations/_disabled/base.js.map +1 -1
  109. package/{cjs/components/Button/variations/_disabled/base_1t3ywu.css → es/components/Button/variations/_disabled/base_do83p2.css} +1 -1
  110. package/es/components/Button/variations/_view/base.js +1 -1
  111. package/es/components/Button/variations/_view/base.js.map +1 -1
  112. package/es/components/Button/variations/_view/base_jfbpjg.css +1 -0
  113. package/es/components/Calendar/CalendarBase/CalendarBase.css +3 -3
  114. package/es/components/Calendar/CalendarDouble/CalendarDouble.css +3 -3
  115. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.css +3 -3
  116. package/es/components/Combobox/ComboboxNew/Combobox.css +3 -3
  117. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js +80 -45
  118. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  119. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +3 -3
  120. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +3 -3
  121. package/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +1 -1
  122. package/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js.map +1 -1
  123. package/es/components/Combobox/ComboboxNew/ui/Target/Target.styles_16ltv0e.css +1 -0
  124. package/es/components/DatePicker/RangeDate/RangeDate.css +3 -3
  125. package/es/components/DatePicker/RangeDate/RangeDate.js +1 -3
  126. package/es/components/DatePicker/RangeDate/RangeDate.js.map +1 -1
  127. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +3 -3
  128. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +1 -0
  129. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js.map +1 -1
  130. package/es/components/DatePicker/SingleDate/SingleDate.css +3 -3
  131. package/es/components/Drawer/Drawer.css +2 -2
  132. package/es/components/Drawer/ui/DrawerContent/DrawerContent.css +2 -2
  133. package/es/components/EmptyState/EmptyState.css +2 -2
  134. package/es/components/IconButton/IconButton.css +3 -3
  135. package/es/components/IconButton/IconButton.styles.js +1 -1
  136. package/es/components/IconButton/IconButton.styles_403on7.css +1 -0
  137. package/es/components/Notification/Notification.css +2 -2
  138. package/es/components/Notification/NotificationsProvider.css +2 -2
  139. package/es/components/Pagination/Pagination.css +2 -2
  140. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +2 -2
  141. package/es/components/Panel/ui/PanelHeader/PanelHeader.css +2 -2
  142. package/es/components/Range/Range.js +4 -7
  143. package/es/components/Range/Range.js.map +1 -1
  144. package/es/components/Select/Select.css +2 -2
  145. package/es/components/Select/ui/Inner/Inner.css +2 -2
  146. package/es/components/Select/ui/Inner/ui/Item/Item.css +2 -2
  147. package/es/components/Select/ui/Target/Target.css +2 -2
  148. package/es/components/Select/ui/Target/ui/Button/Button.css +2 -2
  149. package/es/components/Select/ui/Target/ui/Textfield/Textfield.css +2 -2
  150. package/es/components/Toast/Toast.css +2 -2
  151. package/es/components/Toast/ToastController.css +2 -2
  152. package/es/index.css +10 -10
  153. package/package.json +4 -4
  154. package/styled-components/cjs/components/Autocomplete/Autocomplete.tokens.js +62 -35
  155. package/styled-components/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  156. package/styled-components/cjs/components/Button/Button.styles.js +2 -2
  157. package/styled-components/cjs/components/Button/variations/_disabled/base.js +1 -1
  158. package/styled-components/cjs/components/Button/variations/_view/base.js +1 -1
  159. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +80 -45
  160. package/styled-components/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +1 -1
  161. package/styled-components/cjs/components/DatePicker/RangeDate/RangeDate.js +1 -3
  162. package/styled-components/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +1 -0
  163. package/styled-components/cjs/components/Range/Range.js +4 -7
  164. package/styled-components/cjs/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.js +9 -9
  165. package/styled-components/cjs/examples/plasma_b2c/components/Autocomplete/Autocomplete.stories.tsx +22 -0
  166. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +8 -8
  167. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +24 -0
  168. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.config.js +4 -4
  169. package/styled-components/cjs/examples/plasma_web/components/Autocomplete/Autocomplete.config.js +9 -9
  170. package/styled-components/cjs/examples/plasma_web/components/Combobox/Combobox.config.js +8 -8
  171. package/styled-components/cjs/examples/plasma_web/components/Combobox/Combobox.stories.tsx +24 -0
  172. package/styled-components/es/components/Autocomplete/Autocomplete.tokens.js +62 -35
  173. package/styled-components/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  174. package/styled-components/es/components/Button/Button.styles.js +2 -2
  175. package/styled-components/es/components/Button/variations/_disabled/base.js +1 -1
  176. package/styled-components/es/components/Button/variations/_view/base.js +1 -1
  177. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.tokens.js +80 -45
  178. package/styled-components/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +1 -1
  179. package/styled-components/es/components/DatePicker/RangeDate/RangeDate.js +1 -3
  180. package/styled-components/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +1 -0
  181. package/styled-components/es/components/Range/Range.js +4 -7
  182. package/styled-components/es/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.js +9 -9
  183. package/styled-components/es/examples/plasma_b2c/components/Autocomplete/Autocomplete.stories.tsx +22 -0
  184. package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +8 -8
  185. package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +24 -0
  186. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.config.js +4 -4
  187. package/styled-components/es/examples/plasma_web/components/Autocomplete/Autocomplete.config.js +9 -9
  188. package/styled-components/es/examples/plasma_web/components/Combobox/Combobox.config.js +8 -8
  189. package/styled-components/es/examples/plasma_web/components/Combobox/Combobox.stories.tsx +24 -0
  190. package/types/components/Autocomplete/Autocomplete.d.ts +2 -2
  191. package/types/components/Autocomplete/Autocomplete.d.ts.map +1 -1
  192. package/types/components/Autocomplete/Autocomplete.tokens.d.ts +26 -3
  193. package/types/components/Autocomplete/Autocomplete.tokens.d.ts.map +1 -1
  194. package/types/components/Autocomplete/Autocomplete.types.d.ts +2 -2
  195. package/types/components/Autocomplete/Autocomplete.types.d.ts.map +1 -1
  196. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts.map +1 -1
  197. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts +48 -13
  198. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts.map +1 -1
  199. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts +2 -1
  200. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts.map +1 -1
  201. package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts.map +1 -1
  202. package/types/components/DatePicker/RangeDate/RangeDate.d.ts +0 -2
  203. package/types/components/DatePicker/RangeDate/RangeDate.d.ts.map +1 -1
  204. package/types/components/DatePicker/RangeDate/RangeDate.styles.d.ts +0 -3
  205. package/types/components/DatePicker/RangeDate/RangeDate.styles.d.ts.map +1 -1
  206. package/types/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.d.ts.map +1 -1
  207. package/types/components/Range/Range.d.ts.map +1 -1
  208. package/types/components/Range/Range.types.d.ts +0 -4
  209. package/types/components/Range/Range.types.d.ts.map +1 -1
  210. package/types/components/TextField/TextField.types.d.ts +1 -1
  211. package/types/components/TextField/TextField.types.d.ts.map +1 -1
  212. package/types/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.d.ts.map +1 -1
  213. package/types/examples/plasma_b2c/components/Autocomplete/Autocomplete.d.ts +11 -1
  214. package/types/examples/plasma_b2c/components/Autocomplete/Autocomplete.d.ts.map +1 -1
  215. package/types/examples/plasma_b2c/components/Combobox/Combobox.config.d.ts.map +1 -1
  216. package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts +492 -0
  217. package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts.map +1 -1
  218. package/types/examples/plasma_b2c/components/DatePicker/DatePicker.d.ts +0 -1
  219. package/types/examples/plasma_b2c/components/DatePicker/DatePicker.d.ts.map +1 -1
  220. package/types/examples/plasma_b2c/components/Range/Range.d.ts +0 -3
  221. package/types/examples/plasma_b2c/components/Range/Range.d.ts.map +1 -1
  222. package/types/examples/plasma_b2c/components/TextField/TextField.config.d.ts.map +1 -1
  223. package/types/examples/plasma_web/components/Autocomplete/Autocomplete.config.d.ts.map +1 -1
  224. package/types/examples/plasma_web/components/Autocomplete/Autocomplete.d.ts +11 -1
  225. package/types/examples/plasma_web/components/Autocomplete/Autocomplete.d.ts.map +1 -1
  226. package/types/examples/plasma_web/components/Combobox/Combobox.config.d.ts.map +1 -1
  227. package/types/examples/plasma_web/components/Combobox/Combobox.d.ts +492 -0
  228. package/types/examples/plasma_web/components/Combobox/Combobox.d.ts.map +1 -1
  229. package/types/examples/plasma_web/components/DatePicker/DatePicker.d.ts +0 -1
  230. package/types/examples/plasma_web/components/DatePicker/DatePicker.d.ts.map +1 -1
  231. package/types/examples/plasma_web/components/Range/Range.d.ts +0 -3
  232. package/types/examples/plasma_web/components/Range/Range.d.ts.map +1 -1
  233. package/cjs/components/Autocomplete/ui/TextField/TextField.styles_kcgaix.css +0 -1
  234. package/cjs/components/Button/variations/_view/base_1x0spnh.css +0 -1
  235. package/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles_ei26tn.css +0 -1
  236. package/cjs/components/IconButton/IconButton.styles_sttslf.css +0 -1
  237. package/es/components/Autocomplete/ui/TextField/TextField.styles_kcgaix.css +0 -1
  238. package/es/components/Button/variations/_view/base_1x0spnh.css +0 -1
  239. package/es/components/Combobox/ComboboxNew/ui/Target/Target.styles_ei26tn.css +0 -1
  240. package/es/components/IconButton/IconButton.styles_sttslf.css +0 -1
@@ -92,6 +92,25 @@ const meta: Meta<StoryProps> = {
92
92
  type: 'inline-radio',
93
93
  },
94
94
  },
95
+ requiredPlacement: {
96
+ options: ['left', 'right'],
97
+ control: {
98
+ type: 'select',
99
+ },
100
+ if: { arg: 'required', truthy: true },
101
+ },
102
+ required: {
103
+ control: {
104
+ type: 'boolean',
105
+ },
106
+ if: { arg: 'optional', truthy: false },
107
+ },
108
+ optional: {
109
+ control: {
110
+ type: 'boolean',
111
+ },
112
+ if: { arg: 'required', truthy: false },
113
+ },
95
114
  },
96
115
  args: {
97
116
  view: 'default',
@@ -109,6 +128,9 @@ const meta: Meta<StoryProps> = {
109
128
  threshold: 2,
110
129
  enableContentLeft: true,
111
130
  enableContentRight: true,
131
+ optional: false,
132
+ required: false,
133
+ requiredPlacement: 'right',
112
134
  },
113
135
  };
114
136