@salutejs/plasma-new-hope 0.193.1-canary.1561.11839785759.0 → 0.193.1-canary.1562.11858039838.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (180) hide show
  1. package/cjs/components/Combobox/ComboboxNew/Combobox.js +18 -4
  2. package/cjs/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  3. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +1 -2
  4. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js.map +1 -1
  5. package/cjs/components/Combobox/ComboboxOld/Combobox.css +5 -4
  6. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.css +5 -4
  7. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.css +5 -4
  8. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.css +5 -4
  9. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.css +5 -4
  10. package/cjs/components/Dropdown/Dropdown.css +5 -4
  11. package/cjs/components/Dropdown/Dropdown.js +4 -2
  12. package/cjs/components/Dropdown/Dropdown.js.map +1 -1
  13. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.css +5 -4
  14. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +3 -2
  15. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  16. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +7 -1
  17. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js.map +1 -1
  18. package/cjs/components/Dropdown/ui/DropdownItem/{DropdownItem.styles_1b439rx.css → DropdownItem.styles_14yih1y.css} +1 -0
  19. package/cjs/components/Pagination/Pagination.css +2 -2
  20. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +2 -2
  21. package/cjs/components/Select/Select.css +2 -2
  22. package/cjs/components/Select/Select.js +4 -12
  23. package/cjs/components/Select/Select.js.map +1 -1
  24. package/cjs/components/Select/Select.tokens.js +1 -11
  25. package/cjs/components/Select/Select.tokens.js.map +1 -1
  26. package/cjs/components/Select/ui/Inner/Inner.css +2 -2
  27. package/cjs/components/Select/ui/Inner/ui/Item/Item.css +2 -2
  28. package/cjs/components/Select/ui/Inner/ui/Item/Item.js +1 -2
  29. package/cjs/components/Select/ui/Inner/ui/Item/Item.js.map +1 -1
  30. package/cjs/components/Select/ui/Target/Target.css +2 -2
  31. package/cjs/components/Select/ui/Target/Target.js +4 -5
  32. package/cjs/components/Select/ui/Target/Target.js.map +1 -1
  33. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.css +2 -2
  34. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +20 -6
  35. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
  36. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +7 -7
  37. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  38. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles_q4kc1p.css +3 -0
  39. package/cjs/index.css +7 -6
  40. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.js +22 -4
  41. package/emotion/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +1 -2
  42. package/emotion/cjs/components/Dropdown/Dropdown.js +4 -2
  43. package/emotion/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +3 -2
  44. package/emotion/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +15 -11
  45. package/emotion/cjs/components/Select/Select.js +4 -12
  46. package/emotion/cjs/components/Select/Select.tokens.js +1 -11
  47. package/emotion/cjs/components/Select/ui/Inner/ui/Item/Item.js +1 -2
  48. package/emotion/cjs/components/Select/ui/Target/Target.js +4 -5
  49. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +26 -6
  50. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +3 -3
  51. package/emotion/cjs/examples/plasma_b2c/components/Select/Select.config.js +20 -20
  52. package/emotion/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +0 -25
  53. package/emotion/cjs/examples/plasma_web/components/Select/Select.config.js +20 -20
  54. package/emotion/cjs/examples/plasma_web/components/Select/Select.stories.tsx +0 -24
  55. package/emotion/es/components/Combobox/ComboboxNew/Combobox.js +22 -4
  56. package/emotion/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +1 -2
  57. package/emotion/es/components/Dropdown/Dropdown.js +4 -2
  58. package/emotion/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +4 -3
  59. package/emotion/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +15 -11
  60. package/emotion/es/components/Select/Select.js +4 -12
  61. package/emotion/es/components/Select/Select.tokens.js +1 -11
  62. package/emotion/es/components/Select/ui/Inner/ui/Item/Item.js +1 -2
  63. package/emotion/es/components/Select/ui/Target/Target.js +4 -5
  64. package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.js +26 -6
  65. package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +3 -3
  66. package/emotion/es/examples/plasma_b2c/components/Select/Select.config.js +20 -20
  67. package/emotion/es/examples/plasma_b2c/components/Select/Select.stories.tsx +0 -25
  68. package/emotion/es/examples/plasma_web/components/Select/Select.config.js +20 -20
  69. package/emotion/es/examples/plasma_web/components/Select/Select.stories.tsx +0 -24
  70. package/es/components/Combobox/ComboboxNew/Combobox.js +19 -5
  71. package/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  72. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +1 -2
  73. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js.map +1 -1
  74. package/es/components/Combobox/ComboboxOld/Combobox.css +5 -4
  75. package/es/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.css +5 -4
  76. package/es/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.css +5 -4
  77. package/es/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.css +5 -4
  78. package/es/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.css +5 -4
  79. package/es/components/Dropdown/Dropdown.css +5 -4
  80. package/es/components/Dropdown/Dropdown.js +4 -2
  81. package/es/components/Dropdown/Dropdown.js.map +1 -1
  82. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.css +5 -4
  83. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +4 -3
  84. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  85. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +7 -2
  86. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js.map +1 -1
  87. package/es/components/Dropdown/ui/DropdownItem/{DropdownItem.styles_1b439rx.css → DropdownItem.styles_14yih1y.css} +1 -0
  88. package/es/components/Pagination/Pagination.css +2 -2
  89. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +2 -2
  90. package/es/components/Select/Select.css +2 -2
  91. package/es/components/Select/Select.js +4 -12
  92. package/es/components/Select/Select.js.map +1 -1
  93. package/es/components/Select/Select.tokens.js +1 -11
  94. package/es/components/Select/Select.tokens.js.map +1 -1
  95. package/es/components/Select/ui/Inner/Inner.css +2 -2
  96. package/es/components/Select/ui/Inner/ui/Item/Item.css +2 -2
  97. package/es/components/Select/ui/Inner/ui/Item/Item.js +1 -2
  98. package/es/components/Select/ui/Inner/ui/Item/Item.js.map +1 -1
  99. package/es/components/Select/ui/Target/Target.css +2 -2
  100. package/es/components/Select/ui/Target/Target.js +4 -5
  101. package/es/components/Select/ui/Target/Target.js.map +1 -1
  102. package/es/components/Select/ui/Target/ui/Textfield/Textfield.css +2 -2
  103. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js +21 -7
  104. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
  105. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +7 -7
  106. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  107. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles_q4kc1p.css +3 -0
  108. package/es/index.css +7 -6
  109. package/package.json +3 -2
  110. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.js +22 -4
  111. package/styled-components/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +1 -2
  112. package/styled-components/cjs/components/Dropdown/Dropdown.js +4 -2
  113. package/styled-components/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +3 -2
  114. package/styled-components/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +5 -2
  115. package/styled-components/cjs/components/Select/Select.js +4 -12
  116. package/styled-components/cjs/components/Select/Select.tokens.js +1 -11
  117. package/styled-components/cjs/components/Select/ui/Inner/ui/Item/Item.js +1 -2
  118. package/styled-components/cjs/components/Select/ui/Target/Target.js +4 -5
  119. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +26 -6
  120. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +2 -2
  121. package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.config.js +8 -8
  122. package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +0 -25
  123. package/styled-components/cjs/examples/plasma_web/components/Select/Select.config.js +8 -8
  124. package/styled-components/cjs/examples/plasma_web/components/Select/Select.stories.tsx +0 -24
  125. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.js +22 -4
  126. package/styled-components/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +1 -2
  127. package/styled-components/es/components/Dropdown/Dropdown.js +4 -2
  128. package/styled-components/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +4 -3
  129. package/styled-components/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +5 -2
  130. package/styled-components/es/components/Select/Select.js +4 -12
  131. package/styled-components/es/components/Select/Select.tokens.js +1 -11
  132. package/styled-components/es/components/Select/ui/Inner/ui/Item/Item.js +1 -2
  133. package/styled-components/es/components/Select/ui/Target/Target.js +4 -5
  134. package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.js +26 -6
  135. package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +2 -2
  136. package/styled-components/es/examples/plasma_b2c/components/Select/Select.config.js +8 -8
  137. package/styled-components/es/examples/plasma_b2c/components/Select/Select.stories.tsx +0 -25
  138. package/styled-components/es/examples/plasma_web/components/Select/Select.config.js +8 -8
  139. package/styled-components/es/examples/plasma_web/components/Select/Select.stories.tsx +0 -24
  140. package/types/components/Combobox/ComboboxNew/Combobox.d.ts.map +1 -1
  141. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts +1 -2
  142. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts.map +1 -1
  143. package/types/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.d.ts.map +1 -1
  144. package/types/components/Dropdown/Dropdown.d.ts +50 -2
  145. package/types/components/Dropdown/Dropdown.d.ts.map +1 -1
  146. package/types/components/Dropdown/Dropdown.types.d.ts +11 -6
  147. package/types/components/Dropdown/Dropdown.types.d.ts.map +1 -1
  148. package/types/components/Dropdown/index.d.ts +1 -0
  149. package/types/components/Dropdown/index.d.ts.map +1 -1
  150. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.d.ts.map +1 -1
  151. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.styles.d.ts +1 -0
  152. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.styles.d.ts.map +1 -1
  153. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts +0 -96
  154. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts.map +1 -1
  155. package/types/components/Select/Select.d.ts.map +1 -1
  156. package/types/components/Select/Select.tokens.d.ts +1 -11
  157. package/types/components/Select/Select.tokens.d.ts.map +1 -1
  158. package/types/components/Select/Select.types.d.ts +3 -6
  159. package/types/components/Select/Select.types.d.ts.map +1 -1
  160. package/types/components/Select/ui/Inner/ui/Item/Item.d.ts.map +1 -1
  161. package/types/components/Select/ui/Target/Target.d.ts +1 -2
  162. package/types/components/Select/ui/Target/Target.d.ts.map +1 -1
  163. package/types/components/Select/ui/Target/Target.types.d.ts +2 -3
  164. package/types/components/Select/ui/Target/Target.types.d.ts.map +1 -1
  165. package/types/components/Select/ui/Target/ui/Textfield/Textfield.d.ts.map +1 -1
  166. package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts.map +1 -1
  167. package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts +1 -1
  168. package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts.map +1 -1
  169. package/types/examples/plasma_b2c/components/Dropdown/Dropdown.d.ts +25 -1
  170. package/types/examples/plasma_b2c/components/Dropdown/Dropdown.d.ts.map +1 -1
  171. package/types/examples/plasma_b2c/components/Select/Select.config.d.ts.map +1 -1
  172. package/types/examples/plasma_b2c/components/Select/Select.d.ts +0 -96
  173. package/types/examples/plasma_b2c/components/Select/Select.d.ts.map +1 -1
  174. package/types/examples/plasma_web/components/Dropdown/Dropdown.d.ts +25 -1
  175. package/types/examples/plasma_web/components/Dropdown/Dropdown.d.ts.map +1 -1
  176. package/types/examples/plasma_web/components/Select/Select.config.d.ts.map +1 -1
  177. package/types/examples/plasma_web/components/Select/Select.d.ts +0 -96
  178. package/types/examples/plasma_web/components/Select/Select.d.ts.map +1 -1
  179. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles_1b7iij0.css +0 -3
  180. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles_1b7iij0.css +0 -3
@@ -79,25 +79,6 @@ const meta: Meta<StorySelectProps> = {
79
79
  eq: 'textfield-like',
80
80
  },
81
81
  },
82
- requiredPlacement: {
83
- options: ['left', 'right'],
84
- control: {
85
- type: 'select',
86
- },
87
- if: { arg: 'required', truthy: true },
88
- },
89
- required: {
90
- control: {
91
- type: 'boolean',
92
- },
93
- if: { arg: 'optional', truthy: false },
94
- },
95
- optional: {
96
- control: {
97
- type: 'boolean',
98
- },
99
- if: { arg: 'required', truthy: false },
100
- },
101
82
  },
102
83
  args: {
103
84
  target: 'textfield-like',
@@ -112,9 +93,6 @@ const meta: Meta<StorySelectProps> = {
112
93
  isTargetAmount: false,
113
94
  variant: 'normal',
114
95
  disabled: false,
115
- optional: false,
116
- required: false,
117
- requiredPlacement: 'right',
118
96
  },
119
97
  parameters: {
120
98
  controls: {
@@ -135,9 +113,6 @@ const meta: Meta<StorySelectProps> = {
135
113
  'listWidth',
136
114
  'listOverflow',
137
115
  'listHeight',
138
- 'optional',
139
- 'required',
140
- 'requiredPlacement',
141
116
  ],
142
117
  },
143
118
  },