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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (169) hide show
  1. package/cjs/components/Combobox/ComboboxNew/Combobox.css +2 -0
  2. package/cjs/components/Combobox/ComboboxNew/Combobox.js +38 -6
  3. package/cjs/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  4. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +2 -0
  5. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +2 -0
  6. package/cjs/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.css +1 -0
  7. package/cjs/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.js +39 -0
  8. package/cjs/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.js.map +1 -0
  9. package/cjs/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.js +15 -0
  10. package/cjs/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.js.map +1 -0
  11. package/cjs/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles_18yw2bf.css +1 -0
  12. package/cjs/components/Pagination/Pagination.css +2 -2
  13. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +2 -2
  14. package/cjs/components/Select/Select.css +2 -2
  15. package/cjs/components/Select/Select.js +4 -11
  16. package/cjs/components/Select/Select.js.map +1 -1
  17. package/cjs/components/Select/Select.tokens.js +1 -11
  18. package/cjs/components/Select/Select.tokens.js.map +1 -1
  19. package/cjs/components/Select/ui/Inner/Inner.css +2 -2
  20. package/cjs/components/Select/ui/Inner/ui/Item/Item.css +2 -2
  21. package/cjs/components/Select/ui/Target/Target.css +2 -2
  22. package/cjs/components/Select/ui/Target/Target.js +4 -5
  23. package/cjs/components/Select/ui/Target/Target.js.map +1 -1
  24. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.css +2 -2
  25. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -3
  26. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
  27. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +7 -7
  28. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  29. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles_q4kc1p.css +3 -0
  30. package/cjs/index.css +4 -2
  31. package/cjs/index.js +2 -0
  32. package/cjs/index.js.map +1 -1
  33. package/cjs/utils/createEvent.js +54 -0
  34. package/cjs/utils/createEvent.js.map +1 -0
  35. package/cjs/utils/index.js.map +1 -1
  36. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.js +39 -7
  37. package/emotion/cjs/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.js +40 -0
  38. package/emotion/cjs/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.js +13 -0
  39. package/emotion/cjs/components/Select/Select.js +4 -11
  40. package/emotion/cjs/components/Select/Select.tokens.js +1 -11
  41. package/emotion/cjs/components/Select/ui/Target/Target.js +4 -5
  42. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -3
  43. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +3 -3
  44. package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +1 -1
  45. package/emotion/cjs/examples/plasma_b2c/components/Select/Select.config.js +20 -20
  46. package/emotion/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +0 -25
  47. package/emotion/cjs/examples/plasma_web/components/Select/Select.config.js +20 -20
  48. package/emotion/cjs/examples/plasma_web/components/Select/Select.stories.tsx +0 -24
  49. package/emotion/cjs/utils/createEvent.js +53 -0
  50. package/emotion/cjs/utils/index.js +10 -1
  51. package/emotion/es/components/Combobox/ComboboxNew/Combobox.js +40 -7
  52. package/emotion/es/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.js +31 -0
  53. package/emotion/es/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.js +6 -0
  54. package/emotion/es/components/Select/Select.js +4 -11
  55. package/emotion/es/components/Select/Select.tokens.js +1 -11
  56. package/emotion/es/components/Select/ui/Target/Target.js +4 -5
  57. package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -3
  58. package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +3 -3
  59. package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +1 -1
  60. package/emotion/es/examples/plasma_b2c/components/Select/Select.config.js +20 -20
  61. package/emotion/es/examples/plasma_b2c/components/Select/Select.stories.tsx +0 -25
  62. package/emotion/es/examples/plasma_web/components/Select/Select.config.js +20 -20
  63. package/emotion/es/examples/plasma_web/components/Select/Select.stories.tsx +0 -24
  64. package/emotion/es/utils/createEvent.js +47 -0
  65. package/emotion/es/utils/index.js +1 -0
  66. package/es/components/Combobox/ComboboxNew/Combobox.css +2 -0
  67. package/es/components/Combobox/ComboboxNew/Combobox.js +40 -8
  68. package/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  69. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +2 -0
  70. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +2 -0
  71. package/es/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.css +1 -0
  72. package/es/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.js +35 -0
  73. package/es/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.js.map +1 -0
  74. package/es/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.js +11 -0
  75. package/es/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.js.map +1 -0
  76. package/es/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles_18yw2bf.css +1 -0
  77. package/es/components/Pagination/Pagination.css +2 -2
  78. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +2 -2
  79. package/es/components/Select/Select.css +2 -2
  80. package/es/components/Select/Select.js +4 -11
  81. package/es/components/Select/Select.js.map +1 -1
  82. package/es/components/Select/Select.tokens.js +1 -11
  83. package/es/components/Select/Select.tokens.js.map +1 -1
  84. package/es/components/Select/ui/Inner/Inner.css +2 -2
  85. package/es/components/Select/ui/Inner/ui/Item/Item.css +2 -2
  86. package/es/components/Select/ui/Target/Target.css +2 -2
  87. package/es/components/Select/ui/Target/Target.js +4 -5
  88. package/es/components/Select/ui/Target/Target.js.map +1 -1
  89. package/es/components/Select/ui/Target/ui/Textfield/Textfield.css +2 -2
  90. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -3
  91. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
  92. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +7 -7
  93. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  94. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles_q4kc1p.css +3 -0
  95. package/es/index.css +4 -2
  96. package/es/index.js +1 -0
  97. package/es/index.js.map +1 -1
  98. package/es/utils/createEvent.js +50 -0
  99. package/es/utils/createEvent.js.map +1 -0
  100. package/es/utils/index.js.map +1 -1
  101. package/package.json +2 -2
  102. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.js +39 -7
  103. package/styled-components/cjs/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.js +40 -0
  104. package/styled-components/cjs/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.js +12 -0
  105. package/styled-components/cjs/components/Select/Select.js +4 -11
  106. package/styled-components/cjs/components/Select/Select.tokens.js +1 -11
  107. package/styled-components/cjs/components/Select/ui/Target/Target.js +4 -5
  108. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -3
  109. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +2 -2
  110. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +1 -1
  111. package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.config.js +8 -8
  112. package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +0 -25
  113. package/styled-components/cjs/examples/plasma_web/components/Select/Select.config.js +8 -8
  114. package/styled-components/cjs/examples/plasma_web/components/Select/Select.stories.tsx +0 -24
  115. package/styled-components/cjs/utils/createEvent.js +53 -0
  116. package/styled-components/cjs/utils/index.js +10 -1
  117. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.js +40 -7
  118. package/styled-components/es/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.js +31 -0
  119. package/styled-components/es/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.js +5 -0
  120. package/styled-components/es/components/Select/Select.js +4 -11
  121. package/styled-components/es/components/Select/Select.tokens.js +1 -11
  122. package/styled-components/es/components/Select/ui/Target/Target.js +4 -5
  123. package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -3
  124. package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +2 -2
  125. package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +1 -1
  126. package/styled-components/es/examples/plasma_b2c/components/Select/Select.config.js +8 -8
  127. package/styled-components/es/examples/plasma_b2c/components/Select/Select.stories.tsx +0 -25
  128. package/styled-components/es/examples/plasma_web/components/Select/Select.config.js +8 -8
  129. package/styled-components/es/examples/plasma_web/components/Select/Select.stories.tsx +0 -24
  130. package/styled-components/es/utils/createEvent.js +47 -0
  131. package/styled-components/es/utils/index.js +1 -0
  132. package/types/components/Combobox/ComboboxNew/Combobox.d.ts.map +1 -1
  133. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts +24 -2
  134. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts.map +1 -1
  135. package/types/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.d.ts +6 -0
  136. package/types/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.d.ts.map +1 -0
  137. package/types/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.d.ts +3 -0
  138. package/types/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.d.ts.map +1 -0
  139. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts +0 -96
  140. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts.map +1 -1
  141. package/types/components/Select/Select.d.ts.map +1 -1
  142. package/types/components/Select/Select.tokens.d.ts +1 -11
  143. package/types/components/Select/Select.tokens.d.ts.map +1 -1
  144. package/types/components/Select/Select.types.d.ts +2 -4
  145. package/types/components/Select/Select.types.d.ts.map +1 -1
  146. package/types/components/Select/ui/Target/Target.d.ts +1 -2
  147. package/types/components/Select/ui/Target/Target.d.ts.map +1 -1
  148. package/types/components/Select/ui/Target/Target.types.d.ts +2 -3
  149. package/types/components/Select/ui/Target/Target.types.d.ts.map +1 -1
  150. package/types/components/Select/ui/Target/ui/Textfield/Textfield.d.ts.map +1 -1
  151. package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts.map +1 -1
  152. package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts +1 -1
  153. package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts.map +1 -1
  154. package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts +1076 -116
  155. package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts.map +1 -1
  156. package/types/examples/plasma_b2c/components/Select/Select.config.d.ts.map +1 -1
  157. package/types/examples/plasma_b2c/components/Select/Select.d.ts +0 -96
  158. package/types/examples/plasma_b2c/components/Select/Select.d.ts.map +1 -1
  159. package/types/examples/plasma_web/components/Combobox/Combobox.d.ts +1076 -116
  160. package/types/examples/plasma_web/components/Combobox/Combobox.d.ts.map +1 -1
  161. package/types/examples/plasma_web/components/Select/Select.config.d.ts.map +1 -1
  162. package/types/examples/plasma_web/components/Select/Select.d.ts +0 -96
  163. package/types/examples/plasma_web/components/Select/Select.d.ts.map +1 -1
  164. package/types/utils/createEvent.d.ts +3 -0
  165. package/types/utils/createEvent.d.ts.map +1 -0
  166. package/types/utils/index.d.ts +1 -0
  167. package/types/utils/index.d.ts.map +1 -1
  168. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles_1b7iij0.css +0 -3
  169. 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
  },