@salutejs/plasma-new-hope 0.186.0-canary.1542.11732695647.0 → 0.186.0-dev.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (254) hide show
  1. package/cjs/components/Badge/Badge.css +3 -3
  2. package/cjs/components/Badge/Badge.js +10 -3
  3. package/cjs/components/Badge/Badge.js.map +1 -1
  4. package/cjs/components/Badge/Badge.styles.js +5 -5
  5. package/cjs/components/Badge/Badge.styles.js.map +1 -1
  6. package/cjs/components/Badge/Badge.styles_hhbwyi.css +4 -0
  7. package/cjs/components/Badge/Badge.tokens.js +2 -1
  8. package/cjs/components/Badge/Badge.tokens.js.map +1 -1
  9. package/cjs/components/Combobox/ComboboxNew/Combobox.css +3 -4
  10. package/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +1 -7
  11. package/cjs/components/Combobox/ComboboxNew/Combobox.styles.js.map +1 -1
  12. package/{es/components/Combobox/ComboboxNew/Combobox.styles_15nwy93.css → cjs/components/Combobox/ComboboxNew/Combobox.styles_18a8p75.css} +0 -1
  13. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +3 -4
  14. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +3 -4
  15. package/cjs/components/Tabs/tokens.js +2 -1
  16. package/cjs/components/Tabs/tokens.js.map +1 -1
  17. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.css +6 -6
  18. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +10 -3
  19. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js.map +1 -1
  20. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +6 -6
  21. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js.map +1 -1
  22. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles_1yi1gll.css +5 -0
  23. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_view/base.js +1 -1
  24. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_view/{base_4zingj.css → base_j8lg9u.css} +1 -1
  25. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.css +6 -6
  26. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +10 -3
  27. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js.map +1 -1
  28. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +6 -6
  29. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js.map +1 -1
  30. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles_17vv6lq.css +5 -0
  31. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_view/base.js +1 -1
  32. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_view/{base_fueiq8.css → base_12fk3xi.css} +1 -1
  33. package/cjs/index.css +18 -19
  34. package/cjs/index.js +0 -4
  35. package/cjs/index.js.map +1 -1
  36. package/emotion/cjs/components/Badge/Badge.js +15 -3
  37. package/emotion/cjs/components/Badge/Badge.styles.js +4 -13
  38. package/emotion/cjs/components/Badge/Badge.tokens.js +2 -1
  39. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +10 -15
  40. package/emotion/cjs/components/Combobox/ComboboxNew/index.js +1 -15
  41. package/emotion/cjs/components/Combobox/ComboboxNew/utils/index.js +1 -8
  42. package/emotion/cjs/components/Combobox/index.js +0 -12
  43. package/emotion/cjs/components/Tabs/tokens.js +2 -1
  44. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +15 -3
  45. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +12 -12
  46. package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +15 -3
  47. package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +12 -12
  48. package/emotion/cjs/examples/plasma_b2c/components/Badge/Badge.config.js +17 -14
  49. package/emotion/cjs/examples/plasma_b2c/components/Badge/Badge.stories.tsx +5 -1
  50. package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.js +1 -4
  51. package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +0 -1
  52. package/emotion/cjs/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +51 -19
  53. package/emotion/cjs/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +18 -15
  54. package/emotion/cjs/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.js +9 -6
  55. package/emotion/cjs/examples/plasma_web/components/Combobox/Combobox.js +1 -4
  56. package/emotion/cjs/examples/plasma_web/components/Combobox/Combobox.stories.tsx +5 -5
  57. package/emotion/cjs/examples/plasma_web/components/Tabs/Tabs.stories.tsx +51 -19
  58. package/emotion/cjs/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.js +18 -15
  59. package/emotion/cjs/examples/plasma_web/components/Tabs/vertical/VerticalTabItem.config.js +9 -6
  60. package/emotion/es/components/Badge/Badge.js +16 -3
  61. package/emotion/es/components/Badge/Badge.styles.js +5 -14
  62. package/emotion/es/components/Badge/Badge.tokens.js +2 -1
  63. package/emotion/es/components/Combobox/ComboboxNew/Combobox.styles.js +9 -14
  64. package/emotion/es/components/Combobox/ComboboxNew/index.js +1 -3
  65. package/emotion/es/components/Combobox/ComboboxNew/utils/index.js +1 -2
  66. package/emotion/es/components/Combobox/index.js +1 -1
  67. package/emotion/es/components/Tabs/tokens.js +2 -1
  68. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +16 -3
  69. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +13 -13
  70. package/emotion/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +16 -3
  71. package/emotion/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +13 -13
  72. package/emotion/es/examples/plasma_b2c/components/Badge/Badge.config.js +17 -14
  73. package/emotion/es/examples/plasma_b2c/components/Badge/Badge.stories.tsx +5 -1
  74. package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.js +2 -5
  75. package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +0 -1
  76. package/emotion/es/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +51 -19
  77. package/emotion/es/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +18 -15
  78. package/emotion/es/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.js +9 -6
  79. package/emotion/es/examples/plasma_web/components/Combobox/Combobox.js +2 -5
  80. package/emotion/es/examples/plasma_web/components/Combobox/Combobox.stories.tsx +5 -5
  81. package/emotion/es/examples/plasma_web/components/Tabs/Tabs.stories.tsx +51 -19
  82. package/emotion/es/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.js +18 -15
  83. package/emotion/es/examples/plasma_web/components/Tabs/vertical/VerticalTabItem.config.js +9 -6
  84. package/es/components/Badge/Badge.css +3 -3
  85. package/es/components/Badge/Badge.js +11 -4
  86. package/es/components/Badge/Badge.js.map +1 -1
  87. package/es/components/Badge/Badge.styles.js +5 -5
  88. package/es/components/Badge/Badge.styles.js.map +1 -1
  89. package/es/components/Badge/Badge.styles_hhbwyi.css +4 -0
  90. package/es/components/Badge/Badge.tokens.js +2 -1
  91. package/es/components/Badge/Badge.tokens.js.map +1 -1
  92. package/es/components/Combobox/ComboboxNew/Combobox.css +3 -4
  93. package/es/components/Combobox/ComboboxNew/Combobox.styles.js +2 -7
  94. package/es/components/Combobox/ComboboxNew/Combobox.styles.js.map +1 -1
  95. package/{cjs/components/Combobox/ComboboxNew/Combobox.styles_15nwy93.css → es/components/Combobox/ComboboxNew/Combobox.styles_18a8p75.css} +0 -1
  96. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +3 -4
  97. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +3 -4
  98. package/es/components/Tabs/tokens.js +2 -1
  99. package/es/components/Tabs/tokens.js.map +1 -1
  100. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.css +6 -6
  101. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +11 -4
  102. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js.map +1 -1
  103. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +6 -6
  104. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js.map +1 -1
  105. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles_1yi1gll.css +5 -0
  106. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_view/base.js +1 -1
  107. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_view/{base_4zingj.css → base_j8lg9u.css} +1 -1
  108. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.css +6 -6
  109. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +11 -4
  110. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js.map +1 -1
  111. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +6 -6
  112. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js.map +1 -1
  113. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles_17vv6lq.css +5 -0
  114. package/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_view/base.js +1 -1
  115. package/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_view/{base_fueiq8.css → base_12fk3xi.css} +1 -1
  116. package/es/index.css +18 -19
  117. package/es/index.js +0 -2
  118. package/es/index.js.map +1 -1
  119. package/package.json +2 -2
  120. package/styled-components/cjs/components/Badge/Badge.js +15 -3
  121. package/styled-components/cjs/components/Badge/Badge.styles.js +2 -2
  122. package/styled-components/cjs/components/Badge/Badge.tokens.js +2 -1
  123. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +2 -6
  124. package/styled-components/cjs/components/Combobox/ComboboxNew/index.js +1 -15
  125. package/styled-components/cjs/components/Combobox/ComboboxNew/utils/index.js +1 -8
  126. package/styled-components/cjs/components/Combobox/index.js +0 -12
  127. package/styled-components/cjs/components/Tabs/tokens.js +2 -1
  128. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +15 -3
  129. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +8 -8
  130. package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +15 -3
  131. package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +9 -9
  132. package/styled-components/cjs/examples/plasma_b2c/components/Badge/Badge.config.js +3 -0
  133. package/styled-components/cjs/examples/plasma_b2c/components/Badge/Badge.stories.tsx +5 -1
  134. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.js +1 -4
  135. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +0 -1
  136. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +51 -19
  137. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +3 -0
  138. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.js +3 -0
  139. package/styled-components/cjs/examples/plasma_web/components/Combobox/Combobox.js +1 -4
  140. package/styled-components/cjs/examples/plasma_web/components/Combobox/Combobox.stories.tsx +5 -5
  141. package/styled-components/cjs/examples/plasma_web/components/Tabs/Tabs.stories.tsx +51 -19
  142. package/styled-components/cjs/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.js +3 -0
  143. package/styled-components/cjs/examples/plasma_web/components/Tabs/vertical/VerticalTabItem.config.js +3 -0
  144. package/styled-components/es/components/Badge/Badge.js +16 -3
  145. package/styled-components/es/components/Badge/Badge.styles.js +3 -3
  146. package/styled-components/es/components/Badge/Badge.tokens.js +2 -1
  147. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.styles.js +1 -5
  148. package/styled-components/es/components/Combobox/ComboboxNew/index.js +1 -3
  149. package/styled-components/es/components/Combobox/ComboboxNew/utils/index.js +1 -2
  150. package/styled-components/es/components/Combobox/index.js +1 -1
  151. package/styled-components/es/components/Tabs/tokens.js +2 -1
  152. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +16 -3
  153. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +9 -9
  154. package/styled-components/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +16 -3
  155. package/styled-components/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +10 -10
  156. package/styled-components/es/examples/plasma_b2c/components/Badge/Badge.config.js +3 -0
  157. package/styled-components/es/examples/plasma_b2c/components/Badge/Badge.stories.tsx +5 -1
  158. package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.js +2 -5
  159. package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +0 -1
  160. package/styled-components/es/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +51 -19
  161. package/styled-components/es/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +3 -0
  162. package/styled-components/es/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.js +3 -0
  163. package/styled-components/es/examples/plasma_web/components/Combobox/Combobox.js +2 -5
  164. package/styled-components/es/examples/plasma_web/components/Combobox/Combobox.stories.tsx +5 -5
  165. package/styled-components/es/examples/plasma_web/components/Tabs/Tabs.stories.tsx +51 -19
  166. package/styled-components/es/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.js +3 -0
  167. package/styled-components/es/examples/plasma_web/components/Tabs/vertical/VerticalTabItem.config.js +3 -0
  168. package/types/components/Badge/Badge.d.ts.map +1 -1
  169. package/types/components/Badge/Badge.styles.d.ts +1 -1
  170. package/types/components/Badge/Badge.styles.d.ts.map +1 -1
  171. package/types/components/Badge/Badge.tokens.d.ts +1 -0
  172. package/types/components/Badge/Badge.tokens.d.ts.map +1 -1
  173. package/types/components/Badge/Badge.types.d.ts +6 -1
  174. package/types/components/Badge/Badge.types.d.ts.map +1 -1
  175. package/types/components/Combobox/ComboboxNew/Combobox.styles.d.ts +0 -1
  176. package/types/components/Combobox/ComboboxNew/Combobox.styles.d.ts.map +1 -1
  177. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts +0 -22
  178. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts.map +1 -1
  179. package/types/components/Combobox/ComboboxNew/index.d.ts +0 -2
  180. package/types/components/Combobox/ComboboxNew/index.d.ts.map +1 -1
  181. package/types/components/Combobox/ComboboxNew/utils/index.d.ts +0 -1
  182. package/types/components/Combobox/ComboboxNew/utils/index.d.ts.map +1 -1
  183. package/types/components/Combobox/index.d.ts +1 -1
  184. package/types/components/Combobox/index.d.ts.map +1 -1
  185. package/types/components/Tabs/TabItem.types.d.ts +6 -1
  186. package/types/components/Tabs/TabItem.types.d.ts.map +1 -1
  187. package/types/components/Tabs/tokens.d.ts +1 -0
  188. package/types/components/Tabs/tokens.d.ts.map +1 -1
  189. package/types/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.d.ts.map +1 -1
  190. package/types/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.d.ts +1 -1
  191. package/types/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.d.ts.map +1 -1
  192. package/types/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.d.ts.map +1 -1
  193. package/types/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.d.ts +1 -1
  194. package/types/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.d.ts.map +1 -1
  195. package/types/examples/plasma_b2c/components/Badge/Badge.config.d.ts +3 -0
  196. package/types/examples/plasma_b2c/components/Badge/Badge.config.d.ts.map +1 -1
  197. package/types/examples/plasma_b2c/components/Badge/Badge.d.ts +6 -0
  198. package/types/examples/plasma_b2c/components/Badge/Badge.d.ts.map +1 -1
  199. package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts +0 -24
  200. package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts.map +1 -1
  201. package/types/examples/plasma_b2c/components/Tabs/TabItem.d.ts +6 -0
  202. package/types/examples/plasma_b2c/components/Tabs/TabItem.d.ts.map +1 -1
  203. package/types/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.d.ts +3 -0
  204. package/types/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.d.ts.map +1 -1
  205. package/types/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.d.ts +3 -0
  206. package/types/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.d.ts.map +1 -1
  207. package/types/examples/plasma_web/components/Badge/Badge.d.ts +3 -0
  208. package/types/examples/plasma_web/components/Badge/Badge.d.ts.map +1 -1
  209. package/types/examples/plasma_web/components/Combobox/Combobox.d.ts +0 -24
  210. package/types/examples/plasma_web/components/Combobox/Combobox.d.ts.map +1 -1
  211. package/types/examples/plasma_web/components/Tabs/TabItem.d.ts +6 -0
  212. package/types/examples/plasma_web/components/Tabs/TabItem.d.ts.map +1 -1
  213. package/types/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.d.ts +3 -0
  214. package/types/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.d.ts.map +1 -1
  215. package/types/examples/plasma_web/components/Tabs/vertical/VerticalTabItem.config.d.ts +3 -0
  216. package/types/examples/plasma_web/components/Tabs/vertical/VerticalTabItem.config.d.ts.map +1 -1
  217. package/cjs/components/Badge/Badge.styles_8pi3br.css +0 -4
  218. package/cjs/components/Combobox/ComboboxNew/Combobox.boundler.js +0 -25
  219. package/cjs/components/Combobox/ComboboxNew/Combobox.boundler.js.map +0 -1
  220. package/cjs/components/Combobox/ComboboxNew/utils/getForm.css +0 -39
  221. package/cjs/components/Combobox/ComboboxNew/utils/getForm.js +0 -90
  222. package/cjs/components/Combobox/ComboboxNew/utils/getForm.js.map +0 -1
  223. package/cjs/components/Combobox/ComboboxNew/utils/syntheticEvent.js +0 -55
  224. package/cjs/components/Combobox/ComboboxNew/utils/syntheticEvent.js.map +0 -1
  225. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles_uaaqqg.css +0 -5
  226. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles_1g7zipg.css +0 -5
  227. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.boundler.js +0 -26
  228. package/emotion/cjs/components/Combobox/ComboboxNew/utils/getForm.js +0 -99
  229. package/emotion/cjs/components/Combobox/ComboboxNew/utils/syntheticEvent.js +0 -53
  230. package/emotion/es/components/Combobox/ComboboxNew/Combobox.boundler.js +0 -17
  231. package/emotion/es/components/Combobox/ComboboxNew/utils/getForm.js +0 -90
  232. package/emotion/es/components/Combobox/ComboboxNew/utils/syntheticEvent.js +0 -47
  233. package/es/components/Badge/Badge.styles_8pi3br.css +0 -4
  234. package/es/components/Combobox/ComboboxNew/Combobox.boundler.js +0 -21
  235. package/es/components/Combobox/ComboboxNew/Combobox.boundler.js.map +0 -1
  236. package/es/components/Combobox/ComboboxNew/utils/getForm.css +0 -39
  237. package/es/components/Combobox/ComboboxNew/utils/getForm.js +0 -86
  238. package/es/components/Combobox/ComboboxNew/utils/getForm.js.map +0 -1
  239. package/es/components/Combobox/ComboboxNew/utils/syntheticEvent.js +0 -50
  240. package/es/components/Combobox/ComboboxNew/utils/syntheticEvent.js.map +0 -1
  241. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles_uaaqqg.css +0 -5
  242. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles_1g7zipg.css +0 -5
  243. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.boundler.js +0 -26
  244. package/styled-components/cjs/components/Combobox/ComboboxNew/utils/getForm.js +0 -99
  245. package/styled-components/cjs/components/Combobox/ComboboxNew/utils/syntheticEvent.js +0 -53
  246. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.boundler.js +0 -17
  247. package/styled-components/es/components/Combobox/ComboboxNew/utils/getForm.js +0 -90
  248. package/styled-components/es/components/Combobox/ComboboxNew/utils/syntheticEvent.js +0 -47
  249. package/types/components/Combobox/ComboboxNew/Combobox.boundler.d.ts +0 -4
  250. package/types/components/Combobox/ComboboxNew/Combobox.boundler.d.ts.map +0 -1
  251. package/types/components/Combobox/ComboboxNew/utils/getForm.d.ts +0 -18
  252. package/types/components/Combobox/ComboboxNew/utils/getForm.d.ts.map +0 -1
  253. package/types/components/Combobox/ComboboxNew/utils/syntheticEvent.d.ts +0 -4
  254. package/types/components/Combobox/ComboboxNew/utils/syntheticEvent.d.ts.map +0 -1
@@ -1,90 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var _rollupPluginBabelHelpers = require('../../../../_virtual/_rollupPluginBabelHelpers.js');
6
- var React = require('react');
7
- var Combobox_styles = require('../Combobox.styles.js');
8
- var syntheticEvent = require('./syntheticEvent.js');
9
- var setRefList = require('../../../../utils/setRefList.js');
10
-
11
- var _excluded = ["onChange", "name", "defaultValue", "component"],
12
- _excluded2 = ["onChange", "name", "defaultValue", "component"];
13
- var SingleForm = /*#__PURE__*/React.forwardRef(function (args, ref) {
14
- var onChange = args.onChange,
15
- name = args.name,
16
- defaultValue = args.defaultValue,
17
- Component = args.component,
18
- rest = _rollupPluginBabelHelpers.objectWithoutProperties(args, _excluded);
19
- var _useState = React.useState(String(defaultValue)),
20
- _useState2 = _rollupPluginBabelHelpers.slicedToArray(_useState, 2),
21
- value = _useState2[0],
22
- setValue = _useState2[1];
23
- var selectRef = React.useRef(null);
24
- var handleChange = function handleChange(value) {
25
- setValue(value);
26
- };
27
- React.useEffect(function () {
28
- var event = syntheticEvent.createEvent(selectRef);
29
- onChange && onChange(event);
30
- }, [value]);
31
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Combobox_styles.SelectHidden, {
32
- ref: setRefList.mergeRefs(selectRef, ref),
33
- value: value,
34
- name: name,
35
- hidden: true
36
- }, /*#__PURE__*/React.createElement("option", {
37
- value: value
38
- }, value)), /*#__PURE__*/React.createElement(Component, _rollupPluginBabelHelpers.extends({}, rest, {
39
- value: value,
40
- onChange: handleChange
41
- })));
42
- });
43
- var MultipleForm = /*#__PURE__*/React.forwardRef(function (args, ref) {
44
- var onChange = args.onChange,
45
- name = args.name,
46
- defaultValue = args.defaultValue,
47
- Component = args.component,
48
- rest = _rollupPluginBabelHelpers.objectWithoutProperties(args, _excluded2);
49
- var _useState3 = React.useState(defaultValue && Array.isArray(defaultValue) ? defaultValue : []),
50
- _useState4 = _rollupPluginBabelHelpers.slicedToArray(_useState3, 2),
51
- values = _useState4[0],
52
- setValues = _useState4[1];
53
- var selectRef = React.useRef(null);
54
- var handleChange = function handleChange(value) {
55
- setValues(value);
56
- };
57
- React.useEffect(function () {
58
- var event = syntheticEvent.createEvent(selectRef);
59
- onChange && onChange(event);
60
- }, [values]);
61
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Combobox_styles.SelectHidden, {
62
- ref: setRefList.mergeRefs(selectRef, ref),
63
- value: values,
64
- name: name,
65
- multiple: true,
66
- hidden: true
67
- }, values.map(function (value) {
68
- return /*#__PURE__*/React.createElement("option", {
69
- key: value,
70
- value: value
71
- }, value);
72
- })), /*#__PURE__*/React.createElement(Component, _rollupPluginBabelHelpers.extends({}, rest, {
73
- value: values,
74
- onChange: handleChange
75
- })));
76
- });
77
- var getFormComponentGenerator = function getFormComponentGenerator(Component) {
78
- return /*#__PURE__*/React.forwardRef(function (args, ref) {
79
- return args.multiple ? /*#__PURE__*/React.createElement(MultipleForm, _rollupPluginBabelHelpers.extends({}, args, {
80
- ref: ref,
81
- component: Component
82
- })) : /*#__PURE__*/React.createElement(SingleForm, _rollupPluginBabelHelpers.extends({}, args, {
83
- ref: ref,
84
- component: Component
85
- }));
86
- });
87
- };
88
-
89
- exports.getFormComponentGenerator = getFormComponentGenerator;
90
- //# sourceMappingURL=getForm.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getForm.js","sources":["../../../../../src/components/Combobox/ComboboxNew/utils/getForm.tsx"],"sourcesContent":["import React, { ComponentType, forwardRef, useEffect, useRef, useState } from 'react';\n\nimport { ComboboxProps, ComboboxFormProps } from '../Combobox.types';\nimport { mergeRefs } from '../../../../utils';\nimport { SelectHidden } from '../Combobox.styles';\n\nimport { createEvent } from './syntheticEvent';\n\ntype ComboboxWithComponent = ComboboxFormProps & {\n component: ComponentType<ComboboxProps>;\n};\n\nconst SingleForm = forwardRef<HTMLSelectElement, ComboboxWithComponent>((args, ref) => {\n const { onChange, name, defaultValue, component: Component, ...rest } = args;\n const [value, setValue] = useState<string | undefined>(String(defaultValue));\n const selectRef = useRef<HTMLSelectElement | null>(null);\n\n const handleChange = (value: string) => {\n setValue(value);\n };\n\n useEffect(() => {\n const event = createEvent(selectRef);\n onChange && onChange(event);\n }, [value]);\n\n return (\n <>\n <SelectHidden ref={mergeRefs(selectRef, ref)} value={value} name={name} hidden>\n <option value={value}>{value}</option>\n </SelectHidden>\n <Component {...(rest as any)} value={value} onChange={handleChange} />\n </>\n );\n});\n\nconst MultipleForm = forwardRef<HTMLSelectElement, ComboboxWithComponent>((args, ref) => {\n const { onChange, name, defaultValue, component: Component, ...rest } = args;\n const [values, setValues] = useState<string[]>(defaultValue && Array.isArray(defaultValue) ? defaultValue : []);\n const selectRef = useRef<HTMLSelectElement | null>(null);\n\n const handleChange = (value: string[]) => {\n setValues(value);\n };\n\n useEffect(() => {\n const event = createEvent(selectRef);\n onChange && onChange(event);\n }, [values]);\n\n return (\n <>\n <SelectHidden ref={mergeRefs(selectRef, ref)} value={values} name={name} multiple hidden>\n {values.map((value) => (\n <option key={value} value={value}>\n {value}\n </option>\n ))}\n </SelectHidden>\n <Component {...(rest as any)} value={values} onChange={handleChange} />\n </>\n );\n});\n\nexport const getFormComponentGenerator = (Component: ComponentType<ComboboxProps>) => {\n return forwardRef<HTMLSelectElement, ComboboxFormProps>((args, ref) => {\n return args.multiple ? (\n <MultipleForm {...args} ref={ref} component={Component} />\n ) : (\n <SingleForm {...args} ref={ref} component={Component} />\n );\n });\n};\n"],"names":["SingleForm","forwardRef","args","ref","onChange","name","defaultValue","Component","component","rest","_objectWithoutProperties","_excluded","_useState","useState","String","_useState2","_slicedToArray","value","setValue","selectRef","useRef","handleChange","useEffect","event","createEvent","React","createElement","Fragment","SelectHidden","mergeRefs","hidden","_extends","MultipleForm","_excluded2","_useState3","Array","isArray","_useState4","values","setValues","multiple","map","key","getFormComponentGenerator"],"mappings":"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"}
@@ -1,55 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var createEvent = function createEvent(ref) {
6
- if (ref.current) {
7
- var event = new Event('change', {
8
- bubbles: true
9
- });
10
- Object.defineProperty(event, 'target', {
11
- writable: false,
12
- value: ref.current
13
- });
14
- var syntheticEvent = createSyntheticEvent(event);
15
- return syntheticEvent;
16
- }
17
- return null;
18
- };
19
- var createSyntheticEvent = function createSyntheticEvent(event) {
20
- var _isDefaultPrevented = false;
21
- var _isPropagationStopped = false;
22
- var preventDefault = function preventDefault() {
23
- _isDefaultPrevented = true;
24
- event.preventDefault();
25
- };
26
- var stopPropagation = function stopPropagation() {
27
- _isPropagationStopped = true;
28
- event.stopPropagation();
29
- };
30
- return {
31
- nativeEvent: event,
32
- currentTarget: event.currentTarget,
33
- target: event.target,
34
- bubbles: event.bubbles,
35
- cancelable: event.cancelable,
36
- defaultPrevented: event.defaultPrevented,
37
- eventPhase: event.eventPhase,
38
- isTrusted: event.isTrusted,
39
- preventDefault: preventDefault,
40
- isDefaultPrevented: function isDefaultPrevented() {
41
- return _isDefaultPrevented;
42
- },
43
- stopPropagation: stopPropagation,
44
- isPropagationStopped: function isPropagationStopped() {
45
- return _isPropagationStopped;
46
- },
47
- persist: function persist() {},
48
- timeStamp: event.timeStamp,
49
- type: event.type
50
- };
51
- };
52
-
53
- exports.createEvent = createEvent;
54
- exports.createSyntheticEvent = createSyntheticEvent;
55
- //# sourceMappingURL=syntheticEvent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"syntheticEvent.js","sources":["../../../../../src/components/Combobox/ComboboxNew/utils/syntheticEvent.ts"],"sourcesContent":["import { RefObject } from 'react';\n\nexport const createEvent = (ref: RefObject<HTMLSelectElement>) => {\n if (ref.current) {\n const event = new Event('change', { bubbles: true });\n Object.defineProperty(event, 'target', { writable: false, value: ref.current });\n const syntheticEvent = createSyntheticEvent(event) as React.ChangeEvent<typeof ref.current>;\n return syntheticEvent;\n }\n\n return null;\n};\n\nexport const createSyntheticEvent = <T extends Element, E extends Event>(event: E): React.SyntheticEvent<T, E> => {\n let isDefaultPrevented = false;\n let isPropagationStopped = false;\n const preventDefault = () => {\n isDefaultPrevented = true;\n event.preventDefault();\n };\n const stopPropagation = () => {\n isPropagationStopped = true;\n event.stopPropagation();\n };\n return {\n nativeEvent: event,\n currentTarget: event.currentTarget as EventTarget & T,\n target: event.target as EventTarget & T,\n bubbles: event.bubbles,\n cancelable: event.cancelable,\n defaultPrevented: event.defaultPrevented,\n eventPhase: event.eventPhase,\n isTrusted: event.isTrusted,\n preventDefault,\n isDefaultPrevented: () => isDefaultPrevented,\n stopPropagation,\n isPropagationStopped: () => isPropagationStopped,\n persist: () => {},\n timeStamp: event.timeStamp,\n type: event.type,\n };\n};\n"],"names":["createEvent","ref","current","event","Event","bubbles","Object","defineProperty","writable","value","syntheticEvent","createSyntheticEvent","isDefaultPrevented","isPropagationStopped","preventDefault","stopPropagation","nativeEvent","currentTarget","target","cancelable","defaultPrevented","eventPhase","isTrusted","persist","timeStamp","type"],"mappings":";;;;IAEaA,WAAW,GAAG,SAAdA,WAAWA,CAAIC,GAAiC,EAAK;EAC9D,IAAIA,GAAG,CAACC,OAAO,EAAE;AACb,IAAA,IAAMC,KAAK,GAAG,IAAIC,KAAK,CAAC,QAAQ,EAAE;AAAEC,MAAAA,OAAO,EAAE,IAAA;AAAK,KAAC,CAAC,CAAA;AACpDC,IAAAA,MAAM,CAACC,cAAc,CAACJ,KAAK,EAAE,QAAQ,EAAE;AAAEK,MAAAA,QAAQ,EAAE,KAAK;MAAEC,KAAK,EAAER,GAAG,CAACC,OAAAA;AAAQ,KAAC,CAAC,CAAA;AAC/E,IAAA,IAAMQ,cAAc,GAAGC,oBAAoB,CAACR,KAAK,CAA0C,CAAA;AAC3F,IAAA,OAAOO,cAAc,CAAA;AACzB,GAAA;AAEA,EAAA,OAAO,IAAI,CAAA;AACf,EAAC;IAEYC,oBAAoB,GAAG,SAAvBA,oBAAoBA,CAAwCR,KAAQ,EAAiC;EAC9G,IAAIS,mBAAkB,GAAG,KAAK,CAAA;EAC9B,IAAIC,qBAAoB,GAAG,KAAK,CAAA;AAChC,EAAA,IAAMC,cAAc,GAAG,SAAjBA,cAAcA,GAAS;AACzBF,IAAAA,mBAAkB,GAAG,IAAI,CAAA;IACzBT,KAAK,CAACW,cAAc,EAAE,CAAA;GACzB,CAAA;AACD,EAAA,IAAMC,eAAe,GAAG,SAAlBA,eAAeA,GAAS;AAC1BF,IAAAA,qBAAoB,GAAG,IAAI,CAAA;IAC3BV,KAAK,CAACY,eAAe,EAAE,CAAA;GAC1B,CAAA;EACD,OAAO;AACHC,IAAAA,WAAW,EAAEb,KAAK;IAClBc,aAAa,EAAEd,KAAK,CAACc,aAAgC;IACrDC,MAAM,EAAEf,KAAK,CAACe,MAAyB;IACvCb,OAAO,EAAEF,KAAK,CAACE,OAAO;IACtBc,UAAU,EAAEhB,KAAK,CAACgB,UAAU;IAC5BC,gBAAgB,EAAEjB,KAAK,CAACiB,gBAAgB;IACxCC,UAAU,EAAElB,KAAK,CAACkB,UAAU;IAC5BC,SAAS,EAAEnB,KAAK,CAACmB,SAAS;AAC1BR,IAAAA,cAAc,EAAdA,cAAc;IACdF,kBAAkB,EAAE,SAAAA,kBAAA,GAAA;AAAA,MAAA,OAAMA,mBAAkB,CAAA;AAAA,KAAA;AAC5CG,IAAAA,eAAe,EAAfA,eAAe;IACfF,oBAAoB,EAAE,SAAAA,oBAAA,GAAA;AAAA,MAAA,OAAMA,qBAAoB,CAAA;AAAA,KAAA;AAChDU,IAAAA,OAAO,EAAE,SAAAA,OAAA,GAAM,EAAE;IACjBC,SAAS,EAAErB,KAAK,CAACqB,SAAS;IAC1BC,IAAI,EAAEtB,KAAK,CAACsB,IAAAA;GACf,CAAA;AACL;;;;;"}
@@ -1,5 +0,0 @@
1
- .bkuum0w{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;box-sizing:border-box;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:var(--plasma-tab-item-content-gap);padding:var(--plasma-tab-item-padding-clear,var(--plasma-tab-item-padding));-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;outline:none;cursor:pointer;-webkit-tap-highlight-color:transparent;position:relative;}.bkuum0w:first-child{margin-left:0;}.bkuum0w::before{content:'';position:absolute;top:-0.125rem;left:-0.125rem;right:-0.125rem;bottom:-0.125rem;z-index:1;display:block;box-sizing:content-box;border:0.063rem solid transparent;border-radius:calc(var(--plasma_private-outline-radius) + 0.063rem);-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.bkuum0w.focus-visible:focus::before,.bkuum0w[data-focus-visible-added]::before{z-index:1;outline:none;box-shadow:0 0 0 0.063rem var(--plasma-tabs-outline-focus-color);}
2
- .s1l5e9z0{display:inline-block;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:0 var(--plasma-tab-item-content-padding-clear,var(--plasma-tab-item-content-padding));}
3
- .t1nh4m12{color:var(--plasma-tab-item-value-color);font-family:var(--plasma-tab-item-value-font-family,var(--plasma-tab-item-font-family));font-size:var(--plasma-tab-item-value-font-size,var(--plasma-tab-item-font-size));font-style:var(--plasma-tab-item-value-font-style,var(--plasma-tab-item-font-style));font-weight:var(--plasma-tab-item-value-font-weight,var(--plasma-tab-item-font-weight));-webkit-letter-spacing:var(--plasma-tab-item-value-letter-spacing,var(--plasma-tab-item-letter-spacing));-moz-letter-spacing:var(--plasma-tab-item-value-letter-spacing,var(--plasma-tab-item-letter-spacing));-ms-letter-spacing:var(--plasma-tab-item-value-letter-spacing,var(--plasma-tab-item-letter-spacing));letter-spacing:var(--plasma-tab-item-value-letter-spacing,var(--plasma-tab-item-letter-spacing));line-height:var(--plasma-tab-item-value-lineheight,var(--plasma-tab-item-lineheight));}
4
- .r13nweg3{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;color:inherit;}.r13nweg3:hover{color:inherit;}
5
- .l1iip2sx{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;color:inherit;}.l1iip2sx:hover{color:inherit;}
@@ -1,5 +0,0 @@
1
- .b1vnvg8i{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start;box-sizing:border-box;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:var(--plasma-tab-item-content-gap);padding:var(--plasma-tab-item-padding-orientation-vertical);-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;outline:none;cursor:pointer;-webkit-tap-highlight-color:transparent;position:relative;}.b1vnvg8i::before{content:'';position:absolute;top:-0.125rem;left:-0.125rem;right:-0.125rem;bottom:-0.125rem;z-index:1;display:block;box-sizing:content-box;border:0.063rem solid transparent;border-radius:calc(var(--plasma_private-outline-radius) + 0.063rem);-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.b1vnvg8i.focus-visible:focus::before,.b1vnvg8i[data-focus-visible-added]::before{z-index:1;outline:none;box-shadow:0 0 0 0.063rem var(--plasma-tabs-outline-focus-color);}
2
- .s4s0t81{display:inline-block;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:0 var(--plasma-tab-item-content-padding-clear,var(--plasma-tab-item-content-padding));}
3
- .tur46hh{color:var(--plasma-tab-item-value-color);font-family:var(--plasma-tab-item-value-font-family,var(--plasma-tab-item-font-family));font-size:var(--plasma-tab-item-value-font-size,var(--plasma-tab-item-font-size));font-style:var(--plasma-tab-item-value-font-style,var(--plasma-tab-item-font-style));font-weight:var(--plasma-tab-item-value-font-weight,var(--plasma-tab-item-font-weight));-webkit-letter-spacing:var(--plasma-tab-item-value-letter-spacing,var(--plasma-tab-item-letter-spacing));-moz-letter-spacing:var(--plasma-tab-item-value-letter-spacing,var(--plasma-tab-item-letter-spacing));-ms-letter-spacing:var(--plasma-tab-item-value-letter-spacing,var(--plasma-tab-item-letter-spacing));letter-spacing:var(--plasma-tab-item-value-letter-spacing,var(--plasma-tab-item-letter-spacing));line-height:var(--plasma-tab-item-value-lineheight,var(--plasma-tab-item-lineheight));}
4
- .r1ms3p4x{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;color:inherit;}.r1ms3p4x:hover{color:inherit;}
5
- .l1yz2xa4{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;color:inherit;}.l1yz2xa4:hover{color:inherit;}
@@ -1,26 +0,0 @@
1
- "use strict";
2
-
3
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports.boundCombobox = void 0;
8
- var _react = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("react"));
9
- 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); }
10
- 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; }
11
- 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); }
12
- var boundCombobox = exports.boundCombobox = function boundCombobox(_ref) {
13
- var ComboboxBase = _ref.base,
14
- ComboboxBaseForm = _ref.baseForm;
15
- return /*#__PURE__*/(0, _react.forwardRef)(function (rest, ref) {
16
- if (rest.formType) {
17
- return /*#__PURE__*/_react["default"].createElement(ComboboxBaseForm, _extends({
18
- ref: ref
19
- }, rest));
20
- }
21
- if (!rest.formType) {
22
- return /*#__PURE__*/_react["default"].createElement(ComboboxBase, rest);
23
- }
24
- return null;
25
- });
26
- };
@@ -1,99 +0,0 @@
1
- "use strict";
2
-
3
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports.getFormComponentGenerator = void 0;
8
- var _react = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("react"));
9
- var _utils = /*#__PURE__*/require("../../../../utils");
10
- var _Combobox = /*#__PURE__*/require("../Combobox.styles");
11
- var _syntheticEvent = /*#__PURE__*/require("./syntheticEvent");
12
- var _excluded = ["onChange", "name", "defaultValue", "component"],
13
- _excluded2 = ["onChange", "name", "defaultValue", "component"];
14
- 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); }
15
- 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; }
16
- 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); }
17
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
18
- function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
19
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
20
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
21
- function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
22
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
23
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
24
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
25
- var SingleForm = /*#__PURE__*/(0, _react.forwardRef)(function (args, ref) {
26
- var onChange = args.onChange,
27
- name = args.name,
28
- defaultValue = args.defaultValue,
29
- Component = args.component,
30
- rest = _objectWithoutProperties(args, _excluded);
31
- var _useState = (0, _react.useState)(String(defaultValue)),
32
- _useState2 = _slicedToArray(_useState, 2),
33
- value = _useState2[0],
34
- setValue = _useState2[1];
35
- var selectRef = (0, _react.useRef)(null);
36
- var handleChange = function handleChange(value) {
37
- setValue(value);
38
- };
39
- (0, _react.useEffect)(function () {
40
- var event = (0, _syntheticEvent.createEvent)(selectRef);
41
- onChange && onChange(event);
42
- }, [value]);
43
- return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_Combobox.SelectHidden, {
44
- ref: (0, _utils.mergeRefs)(selectRef, ref),
45
- value: value,
46
- name: name,
47
- hidden: true
48
- }, /*#__PURE__*/_react["default"].createElement("option", {
49
- value: value
50
- }, value)), /*#__PURE__*/_react["default"].createElement(Component, _extends({}, rest, {
51
- value: value,
52
- onChange: handleChange
53
- })));
54
- });
55
- var MultipleForm = /*#__PURE__*/(0, _react.forwardRef)(function (args, ref) {
56
- var onChange = args.onChange,
57
- name = args.name,
58
- defaultValue = args.defaultValue,
59
- Component = args.component,
60
- rest = _objectWithoutProperties(args, _excluded2);
61
- var _useState3 = (0, _react.useState)(defaultValue && Array.isArray(defaultValue) ? defaultValue : []),
62
- _useState4 = _slicedToArray(_useState3, 2),
63
- values = _useState4[0],
64
- setValues = _useState4[1];
65
- var selectRef = (0, _react.useRef)(null);
66
- var handleChange = function handleChange(value) {
67
- setValues(value);
68
- };
69
- (0, _react.useEffect)(function () {
70
- var event = (0, _syntheticEvent.createEvent)(selectRef);
71
- onChange && onChange(event);
72
- }, [values]);
73
- return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_Combobox.SelectHidden, {
74
- ref: (0, _utils.mergeRefs)(selectRef, ref),
75
- value: values,
76
- name: name,
77
- multiple: true,
78
- hidden: true
79
- }, values.map(function (value) {
80
- return /*#__PURE__*/_react["default"].createElement("option", {
81
- key: value,
82
- value: value
83
- }, value);
84
- })), /*#__PURE__*/_react["default"].createElement(Component, _extends({}, rest, {
85
- value: values,
86
- onChange: handleChange
87
- })));
88
- });
89
- var getFormComponentGenerator = exports.getFormComponentGenerator = function getFormComponentGenerator(Component) {
90
- return /*#__PURE__*/(0, _react.forwardRef)(function (args, ref) {
91
- return args.multiple ? /*#__PURE__*/_react["default"].createElement(MultipleForm, _extends({}, args, {
92
- ref: ref,
93
- component: Component
94
- })) : /*#__PURE__*/_react["default"].createElement(SingleForm, _extends({}, args, {
95
- ref: ref,
96
- component: Component
97
- }));
98
- });
99
- };
@@ -1,53 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.createSyntheticEvent = exports.createEvent = void 0;
7
- var createEvent = exports.createEvent = function createEvent(ref) {
8
- if (ref.current) {
9
- var event = new Event('change', {
10
- bubbles: true
11
- });
12
- Object.defineProperty(event, 'target', {
13
- writable: false,
14
- value: ref.current
15
- });
16
- var syntheticEvent = createSyntheticEvent(event);
17
- return syntheticEvent;
18
- }
19
- return null;
20
- };
21
- var createSyntheticEvent = exports.createSyntheticEvent = function createSyntheticEvent(event) {
22
- var _isDefaultPrevented = false;
23
- var _isPropagationStopped = false;
24
- var preventDefault = function preventDefault() {
25
- _isDefaultPrevented = true;
26
- event.preventDefault();
27
- };
28
- var stopPropagation = function stopPropagation() {
29
- _isPropagationStopped = true;
30
- event.stopPropagation();
31
- };
32
- return {
33
- nativeEvent: event,
34
- currentTarget: event.currentTarget,
35
- target: event.target,
36
- bubbles: event.bubbles,
37
- cancelable: event.cancelable,
38
- defaultPrevented: event.defaultPrevented,
39
- eventPhase: event.eventPhase,
40
- isTrusted: event.isTrusted,
41
- preventDefault: preventDefault,
42
- isDefaultPrevented: function isDefaultPrevented() {
43
- return _isDefaultPrevented;
44
- },
45
- stopPropagation: stopPropagation,
46
- isPropagationStopped: function isPropagationStopped() {
47
- return _isPropagationStopped;
48
- },
49
- persist: function persist() {},
50
- timeStamp: event.timeStamp,
51
- type: event.type
52
- };
53
- };
@@ -1,17 +0,0 @@
1
- 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); }
2
- import React, { forwardRef } from 'react';
3
- export var boundCombobox = function boundCombobox(_ref) {
4
- var ComboboxBase = _ref.base,
5
- ComboboxBaseForm = _ref.baseForm;
6
- return /*#__PURE__*/forwardRef(function (rest, ref) {
7
- if (rest.formType) {
8
- return /*#__PURE__*/React.createElement(ComboboxBaseForm, _extends({
9
- ref: ref
10
- }, rest));
11
- }
12
- if (!rest.formType) {
13
- return /*#__PURE__*/React.createElement(ComboboxBase, rest);
14
- }
15
- return null;
16
- });
17
- };
@@ -1,90 +0,0 @@
1
- var _excluded = ["onChange", "name", "defaultValue", "component"],
2
- _excluded2 = ["onChange", "name", "defaultValue", "component"];
3
- 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); }
4
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
5
- function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
6
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
7
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
8
- function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
9
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
10
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
11
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
12
- import React, { forwardRef, useEffect, useRef, useState } from 'react';
13
- import { mergeRefs } from '../../../../utils';
14
- import { SelectHidden } from '../Combobox.styles';
15
- import { createEvent } from './syntheticEvent';
16
- var SingleForm = /*#__PURE__*/forwardRef(function (args, ref) {
17
- var onChange = args.onChange,
18
- name = args.name,
19
- defaultValue = args.defaultValue,
20
- Component = args.component,
21
- rest = _objectWithoutProperties(args, _excluded);
22
- var _useState = useState(String(defaultValue)),
23
- _useState2 = _slicedToArray(_useState, 2),
24
- value = _useState2[0],
25
- setValue = _useState2[1];
26
- var selectRef = useRef(null);
27
- var handleChange = function handleChange(value) {
28
- setValue(value);
29
- };
30
- useEffect(function () {
31
- var event = createEvent(selectRef);
32
- onChange && onChange(event);
33
- }, [value]);
34
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(SelectHidden, {
35
- ref: mergeRefs(selectRef, ref),
36
- value: value,
37
- name: name,
38
- hidden: true
39
- }, /*#__PURE__*/React.createElement("option", {
40
- value: value
41
- }, value)), /*#__PURE__*/React.createElement(Component, _extends({}, rest, {
42
- value: value,
43
- onChange: handleChange
44
- })));
45
- });
46
- var MultipleForm = /*#__PURE__*/forwardRef(function (args, ref) {
47
- var onChange = args.onChange,
48
- name = args.name,
49
- defaultValue = args.defaultValue,
50
- Component = args.component,
51
- rest = _objectWithoutProperties(args, _excluded2);
52
- var _useState3 = useState(defaultValue && Array.isArray(defaultValue) ? defaultValue : []),
53
- _useState4 = _slicedToArray(_useState3, 2),
54
- values = _useState4[0],
55
- setValues = _useState4[1];
56
- var selectRef = useRef(null);
57
- var handleChange = function handleChange(value) {
58
- setValues(value);
59
- };
60
- useEffect(function () {
61
- var event = createEvent(selectRef);
62
- onChange && onChange(event);
63
- }, [values]);
64
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(SelectHidden, {
65
- ref: mergeRefs(selectRef, ref),
66
- value: values,
67
- name: name,
68
- multiple: true,
69
- hidden: true
70
- }, values.map(function (value) {
71
- return /*#__PURE__*/React.createElement("option", {
72
- key: value,
73
- value: value
74
- }, value);
75
- })), /*#__PURE__*/React.createElement(Component, _extends({}, rest, {
76
- value: values,
77
- onChange: handleChange
78
- })));
79
- });
80
- export var getFormComponentGenerator = function getFormComponentGenerator(Component) {
81
- return /*#__PURE__*/forwardRef(function (args, ref) {
82
- return args.multiple ? /*#__PURE__*/React.createElement(MultipleForm, _extends({}, args, {
83
- ref: ref,
84
- component: Component
85
- })) : /*#__PURE__*/React.createElement(SingleForm, _extends({}, args, {
86
- ref: ref,
87
- component: Component
88
- }));
89
- });
90
- };
@@ -1,47 +0,0 @@
1
- export var createEvent = function createEvent(ref) {
2
- if (ref.current) {
3
- var event = new Event('change', {
4
- bubbles: true
5
- });
6
- Object.defineProperty(event, 'target', {
7
- writable: false,
8
- value: ref.current
9
- });
10
- var syntheticEvent = createSyntheticEvent(event);
11
- return syntheticEvent;
12
- }
13
- return null;
14
- };
15
- export var createSyntheticEvent = function createSyntheticEvent(event) {
16
- var _isDefaultPrevented = false;
17
- var _isPropagationStopped = false;
18
- var preventDefault = function preventDefault() {
19
- _isDefaultPrevented = true;
20
- event.preventDefault();
21
- };
22
- var stopPropagation = function stopPropagation() {
23
- _isPropagationStopped = true;
24
- event.stopPropagation();
25
- };
26
- return {
27
- nativeEvent: event,
28
- currentTarget: event.currentTarget,
29
- target: event.target,
30
- bubbles: event.bubbles,
31
- cancelable: event.cancelable,
32
- defaultPrevented: event.defaultPrevented,
33
- eventPhase: event.eventPhase,
34
- isTrusted: event.isTrusted,
35
- preventDefault: preventDefault,
36
- isDefaultPrevented: function isDefaultPrevented() {
37
- return _isDefaultPrevented;
38
- },
39
- stopPropagation: stopPropagation,
40
- isPropagationStopped: function isPropagationStopped() {
41
- return _isPropagationStopped;
42
- },
43
- persist: function persist() {},
44
- timeStamp: event.timeStamp,
45
- type: event.type
46
- };
47
- };
@@ -1,4 +0,0 @@
1
- .b1t43xoe{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;box-sizing:border-box;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;width:-webkit-max-content;width:-moz-max-content;width:max-content;}
2
- .st1n7hr{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin-left:var(--plasma-badge-left-content-margin-left);margin-right:var(--plasma-badge-left-content-margin-right);}
3
-
4
- .sae60b0{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin-left:var(--plasma-badge-right-content-margin-left);margin-right:var(--plasma-badge-right-content-margin-right);}
@@ -1,21 +0,0 @@
1
- import { extends as _extends } from '../../../_virtual/_rollupPluginBabelHelpers.js';
2
- import React, { forwardRef } from 'react';
3
-
4
- var boundCombobox = function boundCombobox(_ref) {
5
- var ComboboxBase = _ref.base,
6
- ComboboxBaseForm = _ref.baseForm;
7
- return /*#__PURE__*/forwardRef(function (rest, ref) {
8
- if (rest.formType) {
9
- return /*#__PURE__*/React.createElement(ComboboxBaseForm, _extends({
10
- ref: ref
11
- }, rest));
12
- }
13
- if (!rest.formType) {
14
- return /*#__PURE__*/React.createElement(ComboboxBase, rest);
15
- }
16
- return null;
17
- });
18
- };
19
-
20
- export { boundCombobox };
21
- //# sourceMappingURL=Combobox.boundler.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Combobox.boundler.js","sources":["../../../../src/components/Combobox/ComboboxNew/Combobox.boundler.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\n\nimport { ComboboxBoundlerProps, ComboboxBoundlerPropsComponent } from './Combobox.types';\n\nexport const boundCombobox: (args: ComboboxBoundlerProps) => React.FC<ComboboxBoundlerPropsComponent> = ({\n base: ComboboxBase,\n baseForm: ComboboxBaseForm,\n}) =>\n forwardRef<HTMLSelectElement, ComboboxBoundlerPropsComponent>((rest, ref) => {\n if (rest.formType) {\n return <ComboboxBaseForm ref={ref} {...rest} />;\n }\n\n if (!rest.formType) {\n return <ComboboxBase {...rest} />;\n }\n\n return null;\n });\n"],"names":["boundCombobox","_ref","ComboboxBase","base","ComboboxBaseForm","baseForm","forwardRef","rest","ref","formType","React","createElement","_extends"],"mappings":";;;IAIaA,aAAwF,GAAG,SAA3FA,aAAwFA,CAAAC,IAAA,EAAA;AAAA,EAAA,IAC3FC,YAAY,GAAAD,IAAA,CAAlBE,IAAI;IACMC,gBAAgB,GAAAH,IAAA,CAA1BI,QAAQ,CAAA;AAAA,EAAA,oBAERC,UAAU,CAAoD,UAACC,IAAI,EAAEC,GAAG,EAAK;IACzE,IAAID,IAAI,CAACE,QAAQ,EAAE;AACf,MAAA,oBAAOC,KAAA,CAAAC,aAAA,CAACP,gBAAgB,EAAAQ,QAAA,CAAA;AAACJ,QAAAA,GAAG,EAAEA,GAAAA;OAASD,EAAAA,IAAI,CAAG,CAAC,CAAA;AACnD,KAAA;AAEA,IAAA,IAAI,CAACA,IAAI,CAACE,QAAQ,EAAE;AAChB,MAAA,oBAAOC,KAAA,CAAAC,aAAA,CAACT,YAAY,EAAKK,IAAO,CAAC,CAAA;AACrC,KAAA;AAEA,IAAA,OAAO,IAAI,CAAA;AACf,GAAC,CAAC,CAAA;AAAA;;;;"}
@@ -1,39 +0,0 @@
1
- .base_jfbpjg_b1ty39ru__57cb1989{color:var(--plasma-button-color);background:var(--plasma-button-background-color);}.base_jfbpjg_b1ty39ru__57cb1989.base_jfbpjg_buttonLoading__57cb1989{background:var(--plasma-button-loading-background-color);}.base_jfbpjg_b1ty39ru__57cb1989:hover{color:var(--plasma-button-color-hover,var(--plasma-button-color));background:var(--plasma-button-background-color-hover,var(--plasma-button-background-color));scale:var(--plasma-button-scale-hover);}.base_jfbpjg_b1ty39ru__57cb1989:active{color:var(--plasma-button-color-active,var(--plasma-button-color));background:var(--plasma-button-background-color-active,var(--plasma-button-background-color));scale:var(---plasma-button-scale-active);}
2
-
3
- .base_1alzrso_be0ha5g__cdc67255{height:var(--plasma-button-height);padding:0 var(--plasma-button-padding,calc(var(--plasma-button-height) * 1.618 / 4));font-family:var(--plasma-button-font-family);font-size:var(--plasma-button-font-size);font-style:var(--plasma-button-font-style);font-weight:var(--plasma-button-font-weight);-webkit-letter-spacing:var(--plasma-button-letter-spacing);-moz-letter-spacing:var(--plasma-button-letter-spacing);-ms-letter-spacing:var(--plasma-button-letter-spacing);letter-spacing:var(--plasma-button-letter-spacing);line-height:var(--plasma-button-line-height);--plasma_private-btn-outline-size:var(--plasma-button-outline-size,0.0625rem);}
4
-
5
- .base_do83p2_b169l30m__044ccc85[disabled]{opacity:var(--plasma-button-disabled-opacity);cursor:not-allowed;}.base_do83p2_b169l30m__044ccc85[disabled]:hover,.base_do83p2_b169l30m__044ccc85[disabled]:active{scale:none;color:var(--plasma-button-color);background:var(--plasma-button-background-color);}
6
-
7
- .base_1kq737e_b187cmzt__d829f64a{position:relative;}.base_1kq737e_b187cmzt__d829f64a:focus{outline:none;}.base_1kq737e_b187cmzt__d829f64a::before{content:'';position:absolute;top:-0.125rem;left:-0.125rem;right:-0.125rem;bottom:-0.125rem;z-index:1;display:block;box-sizing:content-box;border:var(--plasma_private-btn-outline-size) solid transparent;border-radius:calc(0.125rem + var(--plasma_private-btn-br));-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.base_1kq737e_b187cmzt__d829f64a.base_1kq737e_focusVisible__d829f64a:focus::before,.base_1kq737e_b187cmzt__d829f64a[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 var(--plasma_private-btn-outline-size) var(--plasma-button-focus-color);}
8
-
9
- .base_hy8dc_bdz31nb__bd4ad37e.base_hy8dc_buttonStretchingFixed__bd4ad37e{width:var(--plasma-button-width);}.base_hy8dc_bdz31nb__bd4ad37e.base_hy8dc_buttonStretchingFilled__bd4ad37e{width:100%;}.base_hy8dc_bdz31nb__bd4ad37e.base_hy8dc_buttonStretchingAuto__bd4ad37e{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;}
10
-
11
- .base_1gusher_b1chvyq8__76b641f5{color:var(--plasma-spinner-color);}
12
-
13
- .base_ova69f_bw56nfh__55225c7f{width:var(--plasma-spinner-size);height:var(--plasma-spinner-size);}
14
-
15
- .Spinner_styles_13q7ndk_b1hp2dsz__af962114{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;box-sizing:border-box;}
16
- .Spinner_styles_13q7ndk_s122r4cn__af962114{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:var(--s122r4cn-0);height:var(--s122r4cn-1);-webkit-animation:Spinner_styles_13q7ndk_rotateS122r4cn__af962114 1s linear infinite;animation:Spinner_styles_13q7ndk_rotateS122r4cn__af962114 1s linear infinite;}@-webkit-keyframes Spinner_styles_13q7ndk_rotateS122r4cn__af962114{from{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);}to{-webkit-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg);}}@keyframes Spinner_styles_13q7ndk_rotateS122r4cn__af962114{from{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);}to{-webkit-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg);}}
17
-
18
- .Button_styles_1sopr3d_bzw1898__8219590b{min-width:4ch;-webkit-flex-shrink:2;-ms-flex-negative:2;flex-shrink:2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.Button_styles_1sopr3d_bzw1898__8219590b.Button_styles_1sopr3d_buttonContentRelaxed__8219590b{text-align:start;-webkit-box-flex:2;-webkit-flex-grow:2;-ms-flex-positive:2;flex-grow:2;}
19
- .Button_styles_1sopr3d_bdfuqwe__8219590b{color:var(--plasma-button-value-color);margin:var(--plasma-button-value-margin);min-width:4ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
20
- .Button_styles_1sopr3d_l9ypozh__8219590b{opacity:var(--l9ypozh-0);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:inherit;-webkit-box-align:inherit;-ms-flex-align:inherit;align-items:inherit;-webkit-box-pack:var(--l9ypozh-1);-webkit-justify-content:var(--l9ypozh-1);-ms-flex-pack:var(--l9ypozh-1);justify-content:var(--l9ypozh-1);height:100%;width:100%;}
21
- .Button_styles_1sopr3d_l4dfhbg__8219590b{position:absolute;}
22
- .Button_styles_1sopr3d_srdlazt__8219590b{--plasma-spinner-size:var(--plasma-button-spinner-size);--plasma-spinner-color:var(--plasma-button-spinner-color);}
23
- .Button_styles_1sopr3d_s7rggv0__8219590b{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin:var(--plasma-button-left-content-margin);-webkit-align-self:var(--plasma-button-left-content-align-self);-ms-flex-item-align:var(--plasma-button-left-content-align);align-self:var(--plasma-button-left-content-align-self);}
24
- .Button_styles_1sopr3d_s1rjh7ra__8219590b{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin:var(--plasma-button-right-content-margin);-webkit-align-self:var(--plasma-button-right-content-align-self);-ms-flex-item-align:var(--plasma-button-right-content-align);align-self:var(--plasma-button-right-content-align-self);}
25
- .Button_styles_1sopr3d_b9ga1dj__8219590b{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;box-sizing:border-box;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);--plasma_private-btn-br:var(--plasma_computed-btn-br);border-radius:var(--plasma_private-btn-br);}a.Button_styles_1sopr3d_b9ga1dj__8219590b{-webkit-text-decoration:none;text-decoration:none;}.Button_styles_1sopr3d_b9ga1dj__8219590b.Button_styles_1sopr3d_b9ga1dj__8219590b.Button_styles_1sopr3d_buttonSquare__8219590b{width:var(--plasma-button-height);padding:0;}
26
-
27
- .EmptyState_styles_s585zf_bpbib9h__64fd19b0{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background:var(--surface-solid-card);box-shadow:0 4px 14px -4px rgba(8,8,8,0.08),0 1px 4px -1px rgba(0,0,0,0.04);border-radius:var(--plasma-emptystate-border-radius);padding:var(--plasma-emptystate-padding);text-align:center;}
28
- .EmptyState_styles_s585zf_s1g2xar0__64fd19b0{--plasma-button-color:var(--text-primary);--plasma-button-color-active:var(--text-primary-active);--plasma-button-color-hover:var(--text-primary-hover);--plasma-button-background-color:none;--plasma-button-padding:0;--plasma-button-height:var(--plasma-emptystate-button-height);--plasma-button-radius:0;--plasma-button-font-family:var(--plasma-emptystate-font-family);--plasma-button-font-size:var(--plasma-emptystate-font-size);--plasma-button-font-style:var(--plasma-emptystate-font-style);--plasma-button-font-weight:600;--plasma-button-letter-spacing:var(--plasma-emptystate-font-letter-spacing);--plasma-button-line-height:var(--plasma-emptystate-font-line-height);margin:var(--plasma-emptystate-button-margin);}
29
- .EmptyState_styles_s585zf_i21aoej__64fd19b0{margin:var(--plasma-emptystate-icon-margin);line-height:0;}
30
- .EmptyState_styles_s585zf_d1brs29u__64fd19b0{margin:var(--plasma-emptystate-description-margin);font-family:var(--plasma-emptystate-font-family);font-size:var(--plasma-emptystate-font-size);font-style:var(--plasma-emptystate-font-style);font-weight:var(--plasma-emptystate-font-weight);-webkit-letter-spacing:var(--plasma-emptystate-font-letter-spacing);-moz-letter-spacing:var(--plasma-emptystate-font-letter-spacing);-ms-letter-spacing:var(--plasma-emptystate-font-letter-spacing);letter-spacing:var(--plasma-emptystate-font-letter-spacing);line-height:var(--plasma-emptystate-font-line-height);}
31
-
32
- .IconRoot_7pl7ig_svvlqhf__32c458a1{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;width:var(--svvlqhf-0);height:var(--svvlqhf-0);-webkit-flex:0 0 var(--svvlqhf-0);-ms-flex:0 0 var(--svvlqhf-0);flex:0 0 var(--svvlqhf-0);}
33
-
34
- .Combobox_styles_15nwy93_uxiiees__4be80eae{box-sizing:border-box;background:var(--surface-solid-card);box-shadow:0px 4px 14px -4px rgba(8,8,8,0.08),0px 1px 4px -1px rgba(0,0,0,0.04);border-radius:var(--plasma-combobox-border-radius);width:var(--uxiiees-0);height:var(--uxiiees-1);overflow:var(--uxiiees-2);border:var(--plasma-select-dropdown-border-width) solid var(--plasma-select-dropdown-border-color);margin:var(--uxiiees-3);padding:var(--plasma-combobox-padding) 0;}.Combobox_styles_15nwy93_uxiiees__4be80eae .Combobox_styles_15nwy93_comboboxEmptyStateWrapper__4be80eae{box-shadow:none;}
35
- .Combobox_styles_15nwy93_i1veo3wn__4be80eae{line-height:0;color:var(--plasma-combobox-disclosure-icon-color);cursor:var(--i1veo3wn-0);}.Combobox_styles_15nwy93_i1veo3wn__4be80eae .Combobox_styles_15nwy93_arrowInverse__4be80eae{-webkit-transform:rotate(-180deg);-ms-transform:rotate(-180deg);transform:rotate(-180deg);}.Combobox_styles_15nwy93_i1veo3wn__4be80eae:hover,.Combobox_styles_15nwy93_i1veo3wn__4be80eae:active{color:var(--i1veo3wn-1);}
36
-
37
-
38
- .Combobox_styles_15nwy93_s11cn92k__4be80eae{--plasma-emptystate-border-radius:var(--plasma-combobox-new-textfield-border-radius);--plasma-emptystate-padding:var(--plasma-combobox-new-empty-state-padding);--plasma-emptystate-font-family:var(--plasma-combobox-new-textfield-font-family);--plasma-emptystate-font-size:var(--plasma-combobox-new-textfield-font-size);--plasma-emptystate-font-style:var(--plasma-combobox-new-textfield-font-style);--plasma-emptystate-font-weight:var(--plasma-combobox-new-textfield-font-weight);--plasma-emptystate-font-letter-spacing:var(--plasma-combobox-new-textfield-letter-spacing);--plasma-emptystate-font-line-height:var(--plasma-combobox-new-textfield-line-height);}
39
- .Combobox_styles_15nwy93_spp7ogj__4be80eae{visibility:hidden;width:0;height:0;opacity:0;margin:0;padding:0;border:none;}