@salutejs/plasma-new-hope 0.69.1-canary.1161.8560768609.0 → 0.69.1-canary.1167.8557893273.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (218) hide show
  1. package/cjs/components/Combobox/Combobox.css +10 -10
  2. package/cjs/components/Combobox/Combobox.styles.js +5 -5
  3. package/cjs/components/Combobox/Combobox.styles.js.map +1 -1
  4. package/cjs/components/Combobox/{Combobox.styles_dw6hnk.css → Combobox.styles_17ei5vn.css} +1 -1
  5. package/cjs/components/Combobox/ui/ComboboxDivider/ComboboxDivider.css +4 -4
  6. package/cjs/components/Combobox/ui/ComboboxFooter/ComboboxFooter.css +4 -4
  7. package/cjs/components/Combobox/ui/ComboboxGroup/ComboboxGroup.css +4 -4
  8. package/cjs/components/Combobox/ui/ComboboxHeader/ComboboxHeader.css +4 -4
  9. package/cjs/components/Combobox/ui/ComboboxItem/ComboboxItem.css +4 -4
  10. package/cjs/components/Dropdown/Dropdown.css +4 -4
  11. package/cjs/components/Dropdown/Dropdown.js +1 -0
  12. package/cjs/components/Dropdown/Dropdown.js.map +1 -1
  13. package/cjs/components/Pagination/Pagination.css +4 -4
  14. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +4 -4
  15. package/cjs/components/Popover/Popover.css +4 -4
  16. package/cjs/components/Popover/Popover.js +18 -7
  17. package/cjs/components/Popover/Popover.js.map +1 -1
  18. package/cjs/components/Popover/Popover.styles.js +1 -1
  19. package/cjs/components/Popover/Popover.styles.js.map +1 -1
  20. package/cjs/components/Popover/{Popover.styles_1ggb66y.css → Popover.styles_1rk9t6z.css} +1 -1
  21. package/cjs/components/Select/Select.css +4 -4
  22. package/cjs/components/Select/ui/SelectItem/SelectItem.css +4 -4
  23. package/cjs/components/Select/ui/SelectTarget/SelectTarget.js +1 -2
  24. package/cjs/components/Select/ui/SelectTarget/SelectTarget.js.map +1 -1
  25. package/cjs/index.css +33 -33
  26. package/cjs/index.js +4 -39
  27. package/cjs/index.js.map +1 -1
  28. package/cjs/utils/index.js +1 -13
  29. package/cjs/utils/index.js.map +1 -1
  30. package/cjs/utils/react.js +2 -12
  31. package/cjs/utils/react.js.map +1 -1
  32. package/es/components/Combobox/Combobox.css +10 -10
  33. package/es/components/Combobox/Combobox.styles.js +5 -5
  34. package/es/components/Combobox/Combobox.styles.js.map +1 -1
  35. package/es/components/Combobox/{Combobox.styles_dw6hnk.css → Combobox.styles_17ei5vn.css} +1 -1
  36. package/es/components/Combobox/ui/ComboboxDivider/ComboboxDivider.css +4 -4
  37. package/es/components/Combobox/ui/ComboboxFooter/ComboboxFooter.css +4 -4
  38. package/es/components/Combobox/ui/ComboboxGroup/ComboboxGroup.css +4 -4
  39. package/es/components/Combobox/ui/ComboboxHeader/ComboboxHeader.css +4 -4
  40. package/es/components/Combobox/ui/ComboboxItem/ComboboxItem.css +4 -4
  41. package/es/components/Dropdown/Dropdown.css +4 -4
  42. package/es/components/Dropdown/Dropdown.js +1 -0
  43. package/es/components/Dropdown/Dropdown.js.map +1 -1
  44. package/es/components/Pagination/Pagination.css +4 -4
  45. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +4 -4
  46. package/es/components/Popover/Popover.css +4 -4
  47. package/es/components/Popover/Popover.js +18 -7
  48. package/es/components/Popover/Popover.js.map +1 -1
  49. package/es/components/Popover/Popover.styles.js +1 -1
  50. package/es/components/Popover/Popover.styles.js.map +1 -1
  51. package/es/components/Popover/{Popover.styles_1ggb66y.css → Popover.styles_1rk9t6z.css} +1 -1
  52. package/es/components/Select/Select.css +4 -4
  53. package/es/components/Select/ui/SelectItem/SelectItem.css +4 -4
  54. package/es/components/Select/ui/SelectTarget/SelectTarget.js +1 -2
  55. package/es/components/Select/ui/SelectTarget/SelectTarget.js.map +1 -1
  56. package/es/index.css +33 -33
  57. package/es/index.js +0 -13
  58. package/es/index.js.map +1 -1
  59. package/es/utils/index.js +2 -11
  60. package/es/utils/index.js.map +1 -1
  61. package/es/utils/react.js +2 -9
  62. package/es/utils/react.js.map +1 -1
  63. package/package.json +4 -2
  64. package/styled-components/cjs/components/Combobox/Combobox.styles.js +1 -1
  65. package/styled-components/cjs/components/Dropdown/Dropdown.js +1 -0
  66. package/styled-components/cjs/components/Popover/Popover.js +18 -7
  67. package/styled-components/cjs/components/Popover/Popover.styles.js +1 -1
  68. package/styled-components/cjs/components/Select/ui/SelectTarget/SelectTarget.js +1 -2
  69. package/styled-components/cjs/examples/plasma_b2c/components/Button/Button.config.js +10 -7
  70. package/styled-components/cjs/examples/plasma_b2c/components/Popover/Popover.stories.tsx +7 -0
  71. package/styled-components/cjs/examples/plasma_web/components/Button/Button.config.js +10 -7
  72. package/styled-components/cjs/examples/sds_engineer/components/Button/Button.config.js +10 -7
  73. package/styled-components/cjs/examples/themes/plasma_b2c.module.css +878 -293
  74. package/styled-components/cjs/examples/themes/plasma_web.module.css +878 -293
  75. package/styled-components/cjs/examples/themes/sds_engineer.module.css +42 -2
  76. package/styled-components/cjs/index.js +0 -22
  77. package/styled-components/es/components/Combobox/Combobox.styles.js +1 -1
  78. package/styled-components/es/components/Dropdown/Dropdown.js +1 -0
  79. package/styled-components/es/components/Popover/Popover.js +18 -7
  80. package/styled-components/es/components/Popover/Popover.styles.js +1 -1
  81. package/styled-components/es/components/Select/ui/SelectTarget/SelectTarget.js +1 -2
  82. package/styled-components/es/examples/plasma_b2c/components/Button/Button.config.js +10 -7
  83. package/styled-components/es/examples/plasma_b2c/components/Popover/Popover.stories.tsx +7 -0
  84. package/styled-components/es/examples/plasma_web/components/Button/Button.config.js +10 -7
  85. package/styled-components/es/examples/sds_engineer/components/Button/Button.config.js +10 -7
  86. package/styled-components/es/examples/themes/plasma_b2c.module.css +878 -293
  87. package/styled-components/es/examples/themes/plasma_web.module.css +878 -293
  88. package/styled-components/es/examples/themes/sds_engineer.module.css +42 -2
  89. package/styled-components/es/index.js +0 -2
  90. package/types/components/Combobox/Combobox.styles.d.ts +8 -2
  91. package/types/components/Combobox/Combobox.styles.d.ts.map +1 -1
  92. package/types/components/Dropdown/Dropdown.d.ts.map +1 -1
  93. package/types/components/Dropdown/Dropdown.styles.d.ts +7 -1
  94. package/types/components/Dropdown/Dropdown.styles.d.ts.map +1 -1
  95. package/types/components/Popover/Popover.d.ts +2 -2
  96. package/types/components/Popover/Popover.d.ts.map +1 -1
  97. package/types/components/Popover/Popover.styles.d.ts.map +1 -1
  98. package/types/components/Popover/Popover.types.d.ts +19 -12
  99. package/types/components/Popover/Popover.types.d.ts.map +1 -1
  100. package/types/components/Select/Select.styles.d.ts +8 -2
  101. package/types/components/Select/Select.styles.d.ts.map +1 -1
  102. package/types/components/Select/ui/SelectTarget/SelectTarget.d.ts.map +1 -1
  103. package/types/examples/plasma_b2c/components/Button/Button.config.d.ts +3 -0
  104. package/types/examples/plasma_b2c/components/Button/Button.config.d.ts.map +1 -1
  105. package/types/examples/plasma_b2c/components/Button/Button.d.ts +3 -0
  106. package/types/examples/plasma_b2c/components/Button/Button.d.ts.map +1 -1
  107. package/types/examples/plasma_b2c/components/Popover/Popover.d.ts +7 -1
  108. package/types/examples/plasma_b2c/components/Popover/Popover.d.ts.map +1 -1
  109. package/types/examples/plasma_web/components/Button/Button.config.d.ts +3 -0
  110. package/types/examples/plasma_web/components/Button/Button.config.d.ts.map +1 -1
  111. package/types/examples/plasma_web/components/Button/Button.d.ts +3 -0
  112. package/types/examples/plasma_web/components/Button/Button.d.ts.map +1 -1
  113. package/types/examples/plasma_web/components/Popover/Popover.d.ts +7 -1
  114. package/types/examples/plasma_web/components/Popover/Popover.d.ts.map +1 -1
  115. package/types/examples/sds_engineer/components/Button/Button.config.d.ts +3 -0
  116. package/types/examples/sds_engineer/components/Button/Button.config.d.ts.map +1 -1
  117. package/types/examples/sds_engineer/components/Button/Button.d.ts +3 -0
  118. package/types/examples/sds_engineer/components/Button/Button.d.ts.map +1 -1
  119. package/types/examples/sds_engineer/components/Popover/Popover.d.ts +7 -1
  120. package/types/examples/sds_engineer/components/Popover/Popover.d.ts.map +1 -1
  121. package/types/index.d.ts +0 -2
  122. package/types/index.d.ts.map +1 -1
  123. package/cjs/components/Select/ui/SelectDivider/SelectDivider.css +0 -23
  124. package/cjs/components/Select/ui/SelectDivider/SelectDivider.js +0 -40
  125. package/cjs/components/Select/ui/SelectDivider/SelectDivider.js.map +0 -1
  126. package/cjs/components/Select/ui/SelectDivider/SelectDivider.styles.js +0 -12
  127. package/cjs/components/Select/ui/SelectDivider/SelectDivider.styles.js.map +0 -1
  128. package/cjs/components/Select/ui/SelectDivider/SelectDivider.styles_673hj6.css +0 -1
  129. package/cjs/components/Select/ui/SelectDivider/variations/_size/base.js +0 -9
  130. package/cjs/components/Select/ui/SelectDivider/variations/_size/base.js.map +0 -1
  131. package/cjs/components/Select/ui/SelectDivider/variations/_size/base_x642ct.css +0 -1
  132. package/cjs/components/Select/ui/SelectDivider/variations/_view/base.js +0 -9
  133. package/cjs/components/Select/ui/SelectDivider/variations/_view/base.js.map +0 -1
  134. package/cjs/components/Select/ui/SelectDivider/variations/_view/base_x642ct.css +0 -1
  135. package/cjs/components/Select/ui/SelectFooter/SelectFooter.css +0 -23
  136. package/cjs/components/Select/ui/SelectFooter/SelectFooter.js +0 -40
  137. package/cjs/components/Select/ui/SelectFooter/SelectFooter.js.map +0 -1
  138. package/cjs/components/Select/ui/SelectFooter/SelectFooter.styles.js +0 -12
  139. package/cjs/components/Select/ui/SelectFooter/SelectFooter.styles.js.map +0 -1
  140. package/cjs/components/Select/ui/SelectFooter/SelectFooter.styles_11hk6tt.css +0 -1
  141. package/cjs/components/Select/ui/SelectFooter/variations/_size/base.js +0 -9
  142. package/cjs/components/Select/ui/SelectFooter/variations/_size/base.js.map +0 -1
  143. package/cjs/components/Select/ui/SelectFooter/variations/_size/base_x642ct.css +0 -1
  144. package/cjs/components/Select/ui/SelectFooter/variations/_view/base.js +0 -9
  145. package/cjs/components/Select/ui/SelectFooter/variations/_view/base.js.map +0 -1
  146. package/cjs/components/Select/ui/SelectFooter/variations/_view/base_x642ct.css +0 -1
  147. package/cjs/components/Select/ui/SelectGroup/SelectGroup.css +0 -23
  148. package/cjs/components/Select/ui/SelectGroup/SelectGroup.js +0 -40
  149. package/cjs/components/Select/ui/SelectGroup/SelectGroup.js.map +0 -1
  150. package/cjs/components/Select/ui/SelectGroup/SelectGroup.styles.js +0 -12
  151. package/cjs/components/Select/ui/SelectGroup/SelectGroup.styles.js.map +0 -1
  152. package/cjs/components/Select/ui/SelectGroup/SelectGroup.styles_mktu7e.css +0 -1
  153. package/cjs/components/Select/ui/SelectGroup/variations/_size/base.js +0 -9
  154. package/cjs/components/Select/ui/SelectGroup/variations/_size/base.js.map +0 -1
  155. package/cjs/components/Select/ui/SelectGroup/variations/_size/base_x642ct.css +0 -1
  156. package/cjs/components/Select/ui/SelectGroup/variations/_view/base.js +0 -9
  157. package/cjs/components/Select/ui/SelectGroup/variations/_view/base.js.map +0 -1
  158. package/cjs/components/Select/ui/SelectGroup/variations/_view/base_x642ct.css +0 -1
  159. package/cjs/components/Select/ui/SelectHeader/SelectHeader.css +0 -23
  160. package/cjs/components/Select/ui/SelectHeader/SelectHeader.js +0 -40
  161. package/cjs/components/Select/ui/SelectHeader/SelectHeader.js.map +0 -1
  162. package/cjs/components/Select/ui/SelectHeader/SelectHeader.styles.js +0 -12
  163. package/cjs/components/Select/ui/SelectHeader/SelectHeader.styles.js.map +0 -1
  164. package/cjs/components/Select/ui/SelectHeader/SelectHeader.styles_24gqog.css +0 -1
  165. package/cjs/components/Select/ui/SelectHeader/variations/_size/base.js +0 -9
  166. package/cjs/components/Select/ui/SelectHeader/variations/_size/base.js.map +0 -1
  167. package/cjs/components/Select/ui/SelectHeader/variations/_size/base_x642ct.css +0 -1
  168. package/cjs/components/Select/ui/SelectHeader/variations/_view/base.js +0 -9
  169. package/cjs/components/Select/ui/SelectHeader/variations/_view/base.js.map +0 -1
  170. package/cjs/components/Select/ui/SelectHeader/variations/_view/base_x642ct.css +0 -1
  171. package/es/components/Select/ui/SelectDivider/SelectDivider.css +0 -23
  172. package/es/components/Select/ui/SelectDivider/SelectDivider.js +0 -35
  173. package/es/components/Select/ui/SelectDivider/SelectDivider.js.map +0 -1
  174. package/es/components/Select/ui/SelectDivider/SelectDivider.styles.js +0 -7
  175. package/es/components/Select/ui/SelectDivider/SelectDivider.styles.js.map +0 -1
  176. package/es/components/Select/ui/SelectDivider/SelectDivider.styles_673hj6.css +0 -1
  177. package/es/components/Select/ui/SelectDivider/variations/_size/base.js +0 -5
  178. package/es/components/Select/ui/SelectDivider/variations/_size/base.js.map +0 -1
  179. package/es/components/Select/ui/SelectDivider/variations/_size/base_x642ct.css +0 -1
  180. package/es/components/Select/ui/SelectDivider/variations/_view/base.js +0 -5
  181. package/es/components/Select/ui/SelectDivider/variations/_view/base.js.map +0 -1
  182. package/es/components/Select/ui/SelectDivider/variations/_view/base_x642ct.css +0 -1
  183. package/es/components/Select/ui/SelectFooter/SelectFooter.css +0 -23
  184. package/es/components/Select/ui/SelectFooter/SelectFooter.js +0 -35
  185. package/es/components/Select/ui/SelectFooter/SelectFooter.js.map +0 -1
  186. package/es/components/Select/ui/SelectFooter/SelectFooter.styles.js +0 -7
  187. package/es/components/Select/ui/SelectFooter/SelectFooter.styles.js.map +0 -1
  188. package/es/components/Select/ui/SelectFooter/SelectFooter.styles_11hk6tt.css +0 -1
  189. package/es/components/Select/ui/SelectFooter/variations/_size/base.js +0 -5
  190. package/es/components/Select/ui/SelectFooter/variations/_size/base.js.map +0 -1
  191. package/es/components/Select/ui/SelectFooter/variations/_size/base_x642ct.css +0 -1
  192. package/es/components/Select/ui/SelectFooter/variations/_view/base.js +0 -5
  193. package/es/components/Select/ui/SelectFooter/variations/_view/base.js.map +0 -1
  194. package/es/components/Select/ui/SelectFooter/variations/_view/base_x642ct.css +0 -1
  195. package/es/components/Select/ui/SelectGroup/SelectGroup.css +0 -23
  196. package/es/components/Select/ui/SelectGroup/SelectGroup.js +0 -35
  197. package/es/components/Select/ui/SelectGroup/SelectGroup.js.map +0 -1
  198. package/es/components/Select/ui/SelectGroup/SelectGroup.styles.js +0 -7
  199. package/es/components/Select/ui/SelectGroup/SelectGroup.styles.js.map +0 -1
  200. package/es/components/Select/ui/SelectGroup/SelectGroup.styles_mktu7e.css +0 -1
  201. package/es/components/Select/ui/SelectGroup/variations/_size/base.js +0 -5
  202. package/es/components/Select/ui/SelectGroup/variations/_size/base.js.map +0 -1
  203. package/es/components/Select/ui/SelectGroup/variations/_size/base_x642ct.css +0 -1
  204. package/es/components/Select/ui/SelectGroup/variations/_view/base.js +0 -5
  205. package/es/components/Select/ui/SelectGroup/variations/_view/base.js.map +0 -1
  206. package/es/components/Select/ui/SelectGroup/variations/_view/base_x642ct.css +0 -1
  207. package/es/components/Select/ui/SelectHeader/SelectHeader.css +0 -23
  208. package/es/components/Select/ui/SelectHeader/SelectHeader.js +0 -35
  209. package/es/components/Select/ui/SelectHeader/SelectHeader.js.map +0 -1
  210. package/es/components/Select/ui/SelectHeader/SelectHeader.styles.js +0 -7
  211. package/es/components/Select/ui/SelectHeader/SelectHeader.styles.js.map +0 -1
  212. package/es/components/Select/ui/SelectHeader/SelectHeader.styles_24gqog.css +0 -1
  213. package/es/components/Select/ui/SelectHeader/variations/_size/base.js +0 -5
  214. package/es/components/Select/ui/SelectHeader/variations/_size/base.js.map +0 -1
  215. package/es/components/Select/ui/SelectHeader/variations/_size/base_x642ct.css +0 -1
  216. package/es/components/Select/ui/SelectHeader/variations/_view/base.js +0 -5
  217. package/es/components/Select/ui/SelectHeader/variations/_view/base.js.map +0 -1
  218. package/es/components/Select/ui/SelectHeader/variations/_view/base_x642ct.css +0 -1
@@ -59,7 +59,6 @@
59
59
  /* добавлены вручную */
60
60
  --surface-accent-hover: #1383cf80;
61
61
  /* добавлены вручную */
62
- --surface-accent-active: #045891;
63
62
  --surface-accent-gradient: linear-gradient(135deg, black 0%, #FFFFFF 100%);
64
63
  --surface-positive: #1A9E32;
65
64
  --surface-warning: #FA5F05;
@@ -127,6 +126,27 @@
127
126
  --inverse-background-primary: #FFFFFF;
128
127
  --inverse-background-secondary: #FFFFFF;
129
128
  --inverse-background-tertiary: #FFFFFF;
129
+ --text-primary-hover: #17171793;
130
+ --text-primary-active: #171717C4;
131
+ --surface-solid-default-hover: #0D0D0DFF;
132
+ --surface-solid-default-active: #030303FF;
133
+ --surface-accent-hover: #0C8ADFFF;
134
+ --surface-accent-active: #0A78C2FF;
135
+ --surface-positive-hover: #1DAF37FF;
136
+ --surface-positive-active: #18952FFF;
137
+ --surface-warning-hover: #FB7223FF;
138
+ --surface-warning-active: #F05B05FF;
139
+ --surface-negative-hover: #EA1A2FFF;
140
+ --surface-negative-active: #D21427FF;
141
+ --surface-transparent-secondary-hover: #0808081F;
142
+ --surface-transparent-secondary-active: #0808080A;
143
+ --on-light-surface-solid-default-hover: #0D0D0DFF;
144
+ --on-light-surface-solid-default-active: #030303FF;
145
+ --on-dark-surface-solid-default-hover: #FFFFFFFF;
146
+ --on-dark-surface-solid-default-active: #FFFFFFFF;
147
+ --on-light-surface-transparent-deep-hover: #080808C2;
148
+ --on-light-surface-transparent-deep-active: #08080894;
149
+ --on-light-surface-transparent-deep: rgba(8, 8, 8, 0.64);
130
150
  --skeleton-gradient: linear-gradient( 90deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.08) 6.25%, rgba(255, 255, 255, 0.05) 12.5%, rgba(255, 255, 255, 0.01) 25%, rgba(255, 255, 255, 0.05) 37.5%, rgba(255, 255, 255, 0.08) 43.75%, rgba(255, 255, 255, 0.09) 50%, rgba(255, 255, 255, 0.08) 56.25%, rgba(255, 255, 255, 0.05) 62.5%, rgba(255, 255, 255, 0.01) 75%, rgba(255, 255, 255, 0.05) 87.5%, rgba(255, 255, 255, 0.08) 93.75%, rgba(255, 255, 255, 0.09) 100% );
131
151
  --skeleton-gradient-lighter: linear-gradient( 90deg, rgba(255, 255, 255, 0.36) 0%, rgba(255, 255, 255, 0.32) 6.25%, rgba(255, 255, 255, 0.20) 12.5%, rgba(255, 255, 255, 0.04) 25%, rgba(255, 255, 255, 0.20) 37.5%, rgba(255, 255, 255, 0.32) 43.75%, rgba(255, 255, 255, 0.36) 50%, rgba(255, 255, 255, 0.08) 56.25%, rgba(255, 255, 255, 0.20) 62.5%, rgba(255, 255, 255, 0.04) 75%, rgba(255, 255, 255, 0.20) 87.5%, rgba(255, 255, 255, 0.32) 93.75%, rgba(255, 255, 255, 0.36) 100% );
132
152
  --plasma-colors-white-primary: var(--on-dark-text-primary);
@@ -225,7 +245,6 @@
225
245
  /* добавлены вручную */
226
246
  --surface-accent-hover: #1383cf80;
227
247
  /* добавлены вручную */
228
- --surface-accent-active: #045891;
229
248
  --surface-accent-gradient: linear-gradient(45.00deg, rgb(30, 44, 108) 0%,rgb(43, 101, 185) 100%);
230
249
  --surface-positive: #1A9E32;
231
250
  --surface-warning: #FA5F05;
@@ -293,6 +312,27 @@
293
312
  --inverse-background-primary: #000000;
294
313
  --inverse-background-secondary: #080808;
295
314
  --inverse-background-tertiary: #171717;
315
+ --text-primary-hover: #17171793;
316
+ --text-primary-active: #171717C4;
317
+ --surface-solid-default-hover: #262626FF;
318
+ --surface-solid-default-active: #030303FF;
319
+ --surface-accent-hover: #0C8ADFFF;
320
+ --surface-accent-active: #0A72B8FF;
321
+ --surface-positive-hover: #1EB83AFF;
322
+ --surface-positive-active: #178C2CFF;
323
+ --surface-warning-hover: #FB782DFF;
324
+ --surface-warning-active: #E65705FF;
325
+ --surface-negative-hover: #EA1A2FFF;
326
+ --surface-negative-active: #C91325FF;
327
+ --surface-transparent-secondary-hover: #08080805;
328
+ --surface-transparent-secondary-active: #0808081A;
329
+ --on-light-surface-solid-default-hover: #262626FF;
330
+ --on-light-surface-solid-default-active: #030303FF;
331
+ --on-dark-surface-solid-default-hover: #FFFFFFFF;
332
+ --on-dark-surface-solid-default-active: #FFFFFFFF;
333
+ --on-light-surface-transparent-deep-hover: #0808088F;
334
+ --on-light-surface-transparent-deep-active: #080808AD;
335
+ --on-light-surface-transparent-deep: rgba(8, 8, 8, 0.64);
296
336
  --skeleton-gradient: linear-gradient( 90deg, rgba(8, 8, 8, 0.09) 0%, rgba(8, 8, 8, 0.08) 6.25%, rgba(8, 8, 8, 0.05) 12.5%, rgba(8, 8, 8, 0.01) 25%, rgba(8, 8, 8, 0.05) 37.5%, rgba(8, 8, 8, 0.08) 43.75%, rgba(8, 8, 8, 0.09) 50%, rgba(8, 8, 8, 0.08) 56.25%, rgba(8, 8, 8, 0.05) 62.5%, rgba(8, 8, 8, 0.01) 75%, rgba(8, 8, 8, 0.05) 87.5%, rgba(8, 8, 8, 0.08) 93.75%, rgba(8, 8, 8, 0.09) 100% );
297
337
  --skeleton-gradient-lighter: linear-gradient( 90deg, rgba(8, 8, 8, 0.36) 0%, rgba(8, 8, 8, 0.32) 6.25%, rgba(8, 8, 8, 0.20) 12.5%, rgba(8, 8, 8, 0.04) 25%, rgba(8, 8, 8, 0.20) 37.5%, rgba(8, 8, 8, 0.32) 43.75%, rgba(8, 8, 8, 0.36) 50%, rgba(8, 8, 8, 0.08) 56.25%, rgba(8, 8, 8, 0.20) 62.5%, rgba(8, 8, 8, 0.04) 75%, rgba(8, 8, 8, 0.20) 87.5%, rgba(8, 8, 8, 0.32) 93.75%, rgba(8, 8, 8, 0.36) 100% );
298
338
  --plasma-colors-white-primary: var(--on-dark-text-primary);
@@ -36,17 +36,6 @@ Object.keys(_hooks).forEach(function (key) {
36
36
  }
37
37
  });
38
38
  });
39
- var _utils = /*#__PURE__*/require("./utils");
40
- Object.keys(_utils).forEach(function (key) {
41
- if (key === "default" || key === "__esModule") return;
42
- if (key in exports && exports[key] === _utils[key]) return;
43
- Object.defineProperty(exports, key, {
44
- enumerable: true,
45
- get: function get() {
46
- return _utils[key];
47
- }
48
- });
49
- });
50
39
  var _Button = /*#__PURE__*/require("./components/Button");
51
40
  Object.keys(_Button).forEach(function (key) {
52
41
  if (key === "default" || key === "__esModule") return;
@@ -465,17 +454,6 @@ Object.keys(_Progress).forEach(function (key) {
465
454
  }
466
455
  });
467
456
  });
468
- var _Select = /*#__PURE__*/require("./components/Select");
469
- Object.keys(_Select).forEach(function (key) {
470
- if (key === "default" || key === "__esModule") return;
471
- if (key in exports && exports[key] === _Select[key]) return;
472
- Object.defineProperty(exports, key, {
473
- enumerable: true,
474
- get: function get() {
475
- return _Select[key];
476
- }
477
- });
478
- });
479
457
  var _Divider = /*#__PURE__*/require("./components/Divider");
480
458
  Object.keys(_Divider).forEach(function (key) {
481
459
  if (key === "default" || key === "__esModule") return;
@@ -4,7 +4,7 @@ import { popoverClasses, popoverConfig } from '../Popover';
4
4
  import { tokens } from './Combobox.tokens';
5
5
  export var StyledRoot = /*#__PURE__*/styled.div.withConfig({
6
6
  componentId: "plasma-new-hope__sc-gt7m6a-0"
7
- })(["width:100%;position:relative;& .", "{display:block;}"], popoverClasses.wrapper);
7
+ })(["width:100%;position:relative;"]);
8
8
  export var StyledCombobox = /*#__PURE__*/styled.div.withConfig({
9
9
  componentId: "plasma-new-hope__sc-gt7m6a-1"
10
10
  })(["box-sizing:border-box;background:var(", ");box-shadow:var(", ");border-radius:var(", ");width:var(", ");height:var(", ");padding:var(", ") var(", ") var(", ") var(", ");"], tokens.background, tokens.boxShadow, tokens.borderRadius, tokens.width, tokens.height, tokens.paddingTop, tokens.paddingRight, tokens.paddingBottom, tokens.paddingLeft);
@@ -62,6 +62,7 @@ export var dropdownRoot = function dropdownRoot(Root) {
62
62
  placement: getPlacements(placement),
63
63
  trigger: trigger,
64
64
  closeOnOverlayClick: closeOnOverlayClick,
65
+ closeOnBeyondTargetHover: false,
65
66
  closeOnEsc: closeOnEsc,
66
67
  isFocusTrapped: isFocusTrapped,
67
68
  frame: frame
@@ -57,6 +57,14 @@ export var popoverRoot = function popoverRoot(Root) {
57
57
  view = props.view,
58
58
  onToggle = props.onToggle,
59
59
  rest = _objectWithoutProperties(props, _excluded);
60
+ var closeOnOverlayClick = true;
61
+ var closeOnBeyondTargetHover = true;
62
+ if (props.trigger === 'click' && props.closeOnOverlayClick === false) {
63
+ closeOnOverlayClick = false;
64
+ }
65
+ if (props.trigger === 'hover' && props.closeOnBeyondTargetHover === false) {
66
+ closeOnBeyondTargetHover = false;
67
+ }
60
68
  var rootRef = useRef(null);
61
69
  var popoverRef = useRef(null);
62
70
  var handleRef = useForkRef(rootRef, outerRootRef);
@@ -112,7 +120,7 @@ export var popoverRoot = function popoverRoot(Root) {
112
120
  }
113
121
  }, [closeOnEsc, isOpen, onToggle]);
114
122
  var onDocumentClick = useCallback(function (event) {
115
- if (isOpen && props.closeOnOverlayClick && onToggle) {
123
+ if (isOpen && closeOnOverlayClick && onToggle) {
116
124
  var _rootRef$current;
117
125
  var targetIsRoot = event.target === rootRef.current;
118
126
  var rootHasTarget = (_rootRef$current = rootRef.current) === null || _rootRef$current === void 0 ? void 0 : _rootRef$current.contains(event.target);
@@ -120,7 +128,7 @@ export var popoverRoot = function popoverRoot(Root) {
120
128
  onToggle(false, event);
121
129
  }
122
130
  }
123
- }, [props.closeOnOverlayClick, isOpen, onToggle]);
131
+ }, [closeOnOverlayClick, isOpen, onToggle]);
124
132
  var onClick = useCallback(function (event) {
125
133
  if (trigger === 'click') {
126
134
  var _popoverRef$current;
@@ -156,7 +164,7 @@ export var popoverRoot = function popoverRoot(Root) {
156
164
  return function () {
157
165
  return document.removeEventListener('click', onDocumentClick);
158
166
  };
159
- }, [isOpen, onToggle]);
167
+ }, [closeOnOverlayClick, isOpen, onToggle]);
160
168
  useEffect(function () {
161
169
  window.addEventListener('keydown', onEscape);
162
170
  return function () {
@@ -203,19 +211,22 @@ export var popoverRoot = function popoverRoot(Root) {
203
211
  Promise.resolve().then(forceUpdate);
204
212
  }, [isOpen, children, forceUpdate]);
205
213
  return /*#__PURE__*/React.createElement(StyledWrapper, {
206
- className: classes.wrapper,
207
- onMouseEnter: onMouseEnter,
208
- onMouseLeave: onMouseLeave
214
+ className: classes.wrapper
209
215
  }, /*#__PURE__*/React.createElement(StyledRoot, {
210
216
  ref: handleRef,
211
217
  onClick: onClick,
218
+ onMouseEnter: onMouseEnter,
219
+ onMouseLeave: onMouseLeave,
212
220
  onFocus: onFocus,
213
221
  onBlur: onBlur,
214
222
  className: cx(className, classes.target)
215
223
  }, target), children && portalRef.current && /*#__PURE__*/ReactDOM.createPortal( /*#__PURE__*/React.createElement(Root, _extends({
216
224
  view: view,
217
225
  className: className
218
- }, rest), /*#__PURE__*/React.createElement(StyledPopover, _extends({}, attributes.popper, {
226
+ }, rest, {
227
+ onMouseEnter: closeOnBeyondTargetHover ? undefined : onMouseEnter,
228
+ onMouseLeave: closeOnBeyondTargetHover ? undefined : onMouseEnter
229
+ }), /*#__PURE__*/React.createElement(StyledPopover, _extends({}, attributes.popper, {
219
230
  className: classes.root,
220
231
  ref: popoverForkRef,
221
232
  style: _objectSpread(_objectSpread(_objectSpread({}, styles.popper), {
@@ -3,7 +3,7 @@ import { DEFAULT_Z_INDEX } from '../Popup/utils';
3
3
  import { classes, tokens } from './Popover.tokens';
4
4
  export var StyledWrapper = /*#__PURE__*/styled.div.withConfig({
5
5
  componentId: "plasma-new-hope__sc-tnpyex-0"
6
- })(["display:inline-block;"]);
6
+ })([""]);
7
7
  export var StyledRoot = /*#__PURE__*/styled.div.withConfig({
8
8
  componentId: "plasma-new-hope__sc-tnpyex-1"
9
9
  })(["display:inline-flex;box-sizing:border-box;position:relative;"]);
@@ -111,8 +111,7 @@ export var SelectTarget = /*#__PURE__*/forwardRef(function (_ref, ref) {
111
111
  "aria-label": label,
112
112
  className: cx(withInnerLabelUp, withHasChips, withNoFocus, selectTarget),
113
113
  onWheel: onWheel,
114
- onKeyDown: onKeyDown,
115
- stretching: "filled"
114
+ onKeyDown: onKeyDown
116
115
  }), hasText && (enumerationType === 'comma' || target === 'button-like' ? /*#__PURE__*/React.createElement(StyledText, {
117
116
  className: selectTargeText
118
117
  }, textContent) : /*#__PURE__*/React.createElement(StyledChipsWrapper, {
@@ -8,13 +8,16 @@ export var config = {
8
8
  },
9
9
  variations: {
10
10
  view: {
11
- primary: /*#__PURE__*/css(["", ":var(--inverse-text-primary);", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":color-mix( in srgb,var(--inverse-text-primary),var(--surface-solid-default) 85% );", ":var(--inverse-text-primary);", ":color-mix( in srgb,var(--inverse-text-primary),var(--surface-solid-default) 80% );"], buttonTokens.buttonColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, buttonTokens.buttonBackgroundColorActive),
12
- accent: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--surface-accent);", ":var(--on-dark-text-primary);", ":color-mix(in srgb,var(--text-primary),var(--surface-accent) 85%);", ":var(--on-dark-text-primary);", ":color-mix(in srgb,var(--text-primary),var(--surface-accent) 80%);"], buttonTokens.buttonColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, buttonTokens.buttonBackgroundColorActive),
13
- secondary: /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":color-mix( in srgb,var(--inverse-text-primary),var(--surface-transparent-secondary) 85% );", ":var(--text-primary);", ":color-mix( in srgb,var(--inverse-text-primary),var(--surface-transparent-secondary) 80% );"], buttonTokens.buttonColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, buttonTokens.buttonBackgroundColorActive),
14
- clear: /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--surface-clear);", ":var(--text-primary);", ":color-mix(in srgb,var(--text-primary),var(--surface-clear) 95%);", ":var(--text-primary);", ":color-mix(in srgb,var(--text-primary),var(--surface-clear) 90%);"], buttonTokens.buttonColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, buttonTokens.buttonBackgroundColorActive),
15
- positive: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--surface-positive);", ":var(--on-dark-text-primary);", ":color-mix( in srgb,var(--inverse-text-primary),var(--surface-positive) 85% );", ":var(--on-dark-text-primary);", ":color-mix(in srgb,var(--text-primary),var(--surface-positive) 85%);"], buttonTokens.buttonColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, buttonTokens.buttonBackgroundColorActive),
16
- warning: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--surface-warning);", ":var(--on-dark-text-primary);", ":color-mix( in srgb,var(--inverse-text-primary),var(--surface-warning) 85% );", ":var(--on-dark-text-primary);", ":color-mix(in srgb,var(--text-primary),var(--surface-warning) 85%);"], buttonTokens.buttonColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, buttonTokens.buttonBackgroundColorActive),
17
- negative: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--surface-negative);", ":var(--on-dark-text-primary);", ":color-mix( in srgb,var(--inverse-text-primary),var(--surface-negative) 85% );", ":var(--on-dark-text-primary);", ":color-mix(in srgb,var(--text-primary),var(--surface-negative) 85%);"], buttonTokens.buttonColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, buttonTokens.buttonBackgroundColorActive)
11
+ primary: /*#__PURE__*/css(["", ":var(--inverse-text-primary);", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":var(--surface-solid-default-hover);", ":var(--inverse-text-primary);", ":var(--surface-solid-default-active);"], buttonTokens.buttonColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, buttonTokens.buttonBackgroundColorActive),
12
+ accent: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--surface-accent);", ":var(--on-dark-text-primary);", ":var(--surface-accent-hover);", ":var(--on-dark-text-primary);", ":var(--surface-accent-active);"], buttonTokens.buttonColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, buttonTokens.buttonBackgroundColorActive),
13
+ secondary: /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary-hover);", ":var(--text-primary);", ":var(--surface-transparent-secondary-active);"], buttonTokens.buttonColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, buttonTokens.buttonBackgroundColorActive),
14
+ clear: /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--surface-clear);", ":var(--text-primary-hover);", ":var(--surface-clear);", ":var(--text-primary-active);", ":var(--surface-clear);"], buttonTokens.buttonColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, buttonTokens.buttonBackgroundColorActive),
15
+ positive: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--surface-positive);", ":var(--on-dark-text-primary);", ":var(--surface-positive-hover);", ":var(--on-dark-text-primary);", ":var(--surface-positive-active);"], buttonTokens.buttonColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, buttonTokens.buttonBackgroundColorActive),
16
+ warning: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--surface-warning);", ":var(--on-dark-text-primary);", ":var(--surface-warning-hover);", ":var(--on-dark-text-primary);", ":var(--surface-warning-active);"], buttonTokens.buttonColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, buttonTokens.buttonBackgroundColorActive),
17
+ negative: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--surface-negative);", ":var(--on-dark-text-primary);", ":var(--surface-negative-hover);", ":var(--on-dark-text-primary);", ":var(--surface-negative-active);"], buttonTokens.buttonColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, buttonTokens.buttonBackgroundColorActive),
18
+ dark: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--on-light-surface-transparent-deep);", ":var(--on-dark-text-primary);", ":var(--on-light-surface-transparent-deep-hover);", ":var(--on-dark-text-primary);", ":var(--on-light-surface-transparent-deep-active);"], buttonTokens.buttonColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, buttonTokens.buttonBackgroundColorActive),
19
+ black: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--on-light-surface-solid-default);", ":var(--on-dark-text-primary);", ":var(--on-light-surface-solid-default-hover);", ":var(--on-dark-text-primary);", ":var(--on-light-surface-solid-default-active);"], buttonTokens.buttonColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, buttonTokens.buttonBackgroundColorActive),
20
+ white: /*#__PURE__*/css(["", ":var(--on-light-text-primary);", ":var(--on-dark-surface-solid-default);", ":var(--on-light-text-primary);", ":var(--on-dark-surface-solid-default-hover);", ":var(--on-light-text-primary);", ":var(--on-dark-surface-solid-default-active);"], buttonTokens.buttonColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, buttonTokens.buttonBackgroundColorActive)
18
21
  },
19
22
  size: {
20
23
  l: /*#__PURE__*/css(["", ":3.5rem;", ":12.5rem;", ":1.5rem;", ":0.875rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-bold-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":1.375rem;", ":inherit;"], buttonTokens.buttonHeight, buttonTokens.buttonWidth, buttonTokens.buttonPadding, buttonTokens.buttonRadius, buttonTokens.buttonFontFamily, buttonTokens.buttonFontSize, buttonTokens.buttonFontStyle, buttonTokens.buttonFontWeight, buttonTokens.buttonLetterSpacing, buttonTokens.buttonLineHeight, buttonTokens.buttonSpinnerSize, buttonTokens.buttonSpinnerColor),
@@ -33,6 +33,12 @@ const meta: Meta<typeof Popover> = {
33
33
  },
34
34
  table: { defaultValue: { summary: true } },
35
35
  },
36
+ closeOnBeyondTargetHover: {
37
+ control: {
38
+ type: 'boolean',
39
+ },
40
+ table: { defaultValue: { summary: true } },
41
+ },
36
42
  closeOnEsc: {
37
43
  control: {
38
44
  type: 'boolean',
@@ -62,6 +68,7 @@ const meta: Meta<typeof Popover> = {
62
68
  placement: 'bottom',
63
69
  trigger: 'click',
64
70
  closeOnOverlayClick: true,
71
+ closeOnBeyondTargetHover: true,
65
72
  closeOnEsc: true,
66
73
  isFocusTrapped: true,
67
74
  skidding: 0,
@@ -8,13 +8,16 @@ export var config = {
8
8
  },
9
9
  variations: {
10
10
  view: {
11
- primary: /*#__PURE__*/css(["", ":var(--inverse-text-primary);", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":color-mix( in srgb,var(--inverse-text-primary),var(--surface-solid-default) 85% );", ":var(--inverse-text-primary);", ":color-mix( in srgb,var(--inverse-text-primary),var(--surface-solid-default) 80% );"], buttonTokens.buttonColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, buttonTokens.buttonBackgroundColorActive),
12
- accent: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--surface-accent);", ":var(--on-dark-text-primary);", ":color-mix(in srgb,var(--text-primary),var(--surface-accent) 85%);", ":var(--on-dark-text-primary);", ":color-mix(in srgb,var(--text-primary),var(--surface-accent) 80%);"], buttonTokens.buttonColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, buttonTokens.buttonBackgroundColorActive),
13
- secondary: /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":color-mix( in srgb,var(--inverse-text-primary),var(--surface-transparent-secondary) 85% );", ":var(--text-primary);", ":color-mix( in srgb,var(--inverse-text-primary),var(--surface-transparent-secondary) 80% );"], buttonTokens.buttonColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, buttonTokens.buttonBackgroundColorActive),
14
- clear: /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--surface-clear);", ":var(--text-primary);", ":color-mix(in srgb,var(--text-primary),var(--surface-clear) 95%);", ":var(--text-primary);", ":color-mix(in srgb,var(--text-primary),var(--surface-clear) 90%);"], buttonTokens.buttonColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, buttonTokens.buttonBackgroundColorActive),
15
- positive: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--surface-positive);", ":var(--on-dark-text-primary);", ":color-mix( in srgb,var(--inverse-text-primary),var(--surface-positive) 85% );", ":var(--on-dark-text-primary);", ":color-mix(in srgb,var(--text-primary),var(--surface-positive) 85%);"], buttonTokens.buttonColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, buttonTokens.buttonBackgroundColorActive),
16
- warning: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--surface-warning);", ":var(--on-dark-text-primary);", ":color-mix( in srgb,var(--inverse-text-primary),var(--surface-warning) 85% );", ":var(--on-dark-text-primary);", ":color-mix(in srgb,var(--text-primary),var(--surface-warning) 85%);"], buttonTokens.buttonColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, buttonTokens.buttonBackgroundColorActive),
17
- negative: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--surface-negative);", ":var(--on-dark-text-primary);", ":color-mix( in srgb,var(--inverse-text-primary),var(--surface-negative) 85% );", ":var(--on-dark-text-primary);", ":color-mix(in srgb,var(--text-primary),var(--surface-negative) 85%);"], buttonTokens.buttonColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, buttonTokens.buttonBackgroundColorActive)
11
+ primary: /*#__PURE__*/css(["", ":var(--inverse-text-primary);", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":var(--surface-solid-default-hover);", ":var(--inverse-text-primary);", ":var(--surface-solid-default-active);"], buttonTokens.buttonColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, buttonTokens.buttonBackgroundColorActive),
12
+ accent: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--surface-accent);", ":var(--on-dark-text-primary);", ":var(--surface-accent-hover);", ":var(--on-dark-text-primary);", ":var(--surface-accent-active);"], buttonTokens.buttonColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, buttonTokens.buttonBackgroundColorActive),
13
+ secondary: /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary-hover);", ":var(--text-primary);", ":var(--surface-transparent-secondary-active);"], buttonTokens.buttonColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, buttonTokens.buttonBackgroundColorActive),
14
+ clear: /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--surface-clear);", ":var(--text-primary-hover);", ":var(--surface-clear);", ":var(--text-primary-active);", ":var(--surface-clear);"], buttonTokens.buttonColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, buttonTokens.buttonBackgroundColorActive),
15
+ positive: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--surface-positive);", ":var(--on-dark-text-primary);", ":var(--surface-positive-hover);", ":var(--on-dark-text-primary);", ":var(--surface-positive-active);"], buttonTokens.buttonColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, buttonTokens.buttonBackgroundColorActive),
16
+ warning: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--surface-warning);", ":var(--on-dark-text-primary);", ":var(--surface-warning-hover);", ":var(--on-dark-text-primary);", ":var(--surface-warning-active);"], buttonTokens.buttonColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, buttonTokens.buttonBackgroundColorActive),
17
+ negative: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--surface-negative);", ":var(--on-dark-text-primary);", ":var(--surface-negative-hover);", ":var(--on-dark-text-primary);", ":var(--surface-negative-active);"], buttonTokens.buttonColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, buttonTokens.buttonBackgroundColorActive),
18
+ dark: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--on-light-surface-transparent-deep);", ":var(--on-dark-text-primary);", ":var(--on-light-surface-transparent-deep-hover);", ":var(--on-dark-text-primary);", ":var(--on-light-surface-transparent-deep-active);"], buttonTokens.buttonColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, buttonTokens.buttonBackgroundColorActive),
19
+ black: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--on-light-surface-solid-default);", ":var(--on-dark-text-primary);", ":var(--on-light-surface-solid-default-hover);", ":var(--on-dark-text-primary);", ":var(--on-light-surface-solid-default-active);"], buttonTokens.buttonColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, buttonTokens.buttonBackgroundColorActive),
20
+ white: /*#__PURE__*/css(["", ":var(--on-light-text-primary);", ":var(--on-dark-surface-solid-default);", ":var(--on-light-text-primary);", ":var(--on-dark-surface-solid-default-hover);", ":var(--on-light-text-primary);", ":var(--on-dark-surface-solid-default-active);"], buttonTokens.buttonColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, buttonTokens.buttonBackgroundColorActive)
18
21
  },
19
22
  size: {
20
23
  l: /*#__PURE__*/css(["", ":3.5rem;", ":12.5rem;", ":1.5rem;", ":0.875rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-bold-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":1.375rem;", ":inherit;"], buttonTokens.buttonHeight, buttonTokens.buttonWidth, buttonTokens.buttonPadding, buttonTokens.buttonRadius, buttonTokens.buttonFontFamily, buttonTokens.buttonFontSize, buttonTokens.buttonFontStyle, buttonTokens.buttonFontWeight, buttonTokens.buttonLetterSpacing, buttonTokens.buttonLineHeight, buttonTokens.buttonSpinnerSize, buttonTokens.buttonSpinnerColor),
@@ -8,13 +8,16 @@ export var config = {
8
8
  },
9
9
  variations: {
10
10
  view: {
11
- primary: /*#__PURE__*/css(["", ":var(--inverse-text-primary);", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":color-mix( in srgb,var(--inverse-text-primary),var(--surface-solid-default) 85% );", ":var(--inverse-text-primary);", ":color-mix( in srgb,var(--inverse-text-primary),var(--surface-solid-default) 80% );"], buttonTokens.buttonColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, buttonTokens.buttonBackgroundColorActive),
12
- accent: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--surface-accent);", ":var(--on-dark-text-primary);", ":color-mix(in srgb,var(--text-primary),var(--surface-accent) 85%);", ":var(--on-dark-text-primary);", ":color-mix(in srgb,var(--text-primary),var(--surface-accent) 80%);"], buttonTokens.buttonColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, buttonTokens.buttonBackgroundColorActive),
13
- secondary: /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":color-mix( in srgb,var(--inverse-text-primary),var(--surface-transparent-secondary) 85% );", ":var(--text-primary);", ":color-mix( in srgb,var(--inverse-text-primary),var(--surface-transparent-secondary) 80% );"], buttonTokens.buttonColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, buttonTokens.buttonBackgroundColorActive),
14
- clear: /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--surface-clear);", ":var(--text-primary);", ":color-mix(in srgb,var(--text-primary),var(--surface-clear) 95%);", ":var(--text-primary);", ":color-mix(in srgb,var(--text-primary),var(--surface-clear) 90%);"], buttonTokens.buttonColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, buttonTokens.buttonBackgroundColorActive),
15
- positive: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--surface-positive);", ":var(--on-dark-text-primary);", ":color-mix( in srgb,var(--inverse-text-primary),var(--surface-positive) 85% );", ":var(--on-dark-text-primary);", ":color-mix(in srgb,var(--text-primary),var(--surface-positive) 85%);"], buttonTokens.buttonColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, buttonTokens.buttonBackgroundColorActive),
16
- warning: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--surface-warning);", ":var(--on-dark-text-primary);", ":color-mix( in srgb,var(--inverse-text-primary),var(--surface-warning) 85% );", ":var(--on-dark-text-primary);", ":color-mix(in srgb,var(--text-primary),var(--surface-warning) 85%);"], buttonTokens.buttonColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, buttonTokens.buttonBackgroundColorActive),
17
- negative: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--surface-negative);", ":var(--on-dark-text-primary);", ":color-mix( in srgb,var(--inverse-text-primary),var(--surface-negative) 85% );", ":var(--on-dark-text-primary);", ":color-mix(in srgb,var(--text-primary),var(--surface-negative) 85%);"], buttonTokens.buttonColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, buttonTokens.buttonBackgroundColorActive)
11
+ primary: /*#__PURE__*/css(["", ":var(--inverse-text-primary);", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":var(--surface-solid-default-hover);", ":var(--inverse-text-primary);", ":var(--surface-solid-default-active);"], buttonTokens.buttonColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, buttonTokens.buttonBackgroundColorActive),
12
+ accent: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--surface-accent);", ":var(--on-dark-text-primary);", ":var(--surface-accent-hover);", ":var(--on-dark-text-primary);", ":var(--surface-accent-active);"], buttonTokens.buttonColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, buttonTokens.buttonBackgroundColorActive),
13
+ secondary: /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary-hover);", ":var(--text-primary);", ":var(--surface-transparent-secondary-active);"], buttonTokens.buttonColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, buttonTokens.buttonBackgroundColorActive),
14
+ clear: /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--surface-clear);", ":var(--text-primary-hover);", ":var(--surface-clear);", ":var(--text-primary-active);", ":var(--surface-clear);"], buttonTokens.buttonColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, buttonTokens.buttonBackgroundColorActive),
15
+ positive: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--surface-positive);", ":var(--on-dark-text-primary);", ":var(--surface-positive-hover);", ":var(--on-dark-text-primary);", ":var(--surface-positive-active);"], buttonTokens.buttonColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, buttonTokens.buttonBackgroundColorActive),
16
+ warning: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--surface-warning);", ":var(--on-dark-text-primary);", ":var(--surface-warning-hover);", ":var(--on-dark-text-primary);", ":var(--surface-warning-active);"], buttonTokens.buttonColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, buttonTokens.buttonBackgroundColorActive),
17
+ negative: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--surface-negative);", ":var(--on-dark-text-primary);", ":var(--surface-negative-hover);", ":var(--on-dark-text-primary);", ":var(--surface-negative-active);"], buttonTokens.buttonColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, buttonTokens.buttonBackgroundColorActive),
18
+ dark: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--on-light-surface-transparent-deep);", ":var(--on-dark-text-primary);", ":var(--on-light-surface-transparent-deep-hover);", ":var(--on-dark-text-primary);", ":var(--on-light-surface-transparent-deep-active);"], buttonTokens.buttonColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, buttonTokens.buttonBackgroundColorActive),
19
+ black: /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--on-light-surface-solid-default);", ":var(--on-dark-text-primary);", ":var(--on-light-surface-solid-default-hover);", ":var(--on-dark-text-primary);", ":var(--on-light-surface-solid-default-active);"], buttonTokens.buttonColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, buttonTokens.buttonBackgroundColorActive),
20
+ white: /*#__PURE__*/css(["", ":var(--on-light-text-primary);", ":var(--on-dark-surface-solid-default);", ":var(--on-light-text-primary);", ":var(--on-dark-surface-solid-default-hover);", ":var(--on-light-text-primary);", ":var(--on-dark-surface-solid-default-active);"], buttonTokens.buttonColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonColorHover, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, buttonTokens.buttonBackgroundColorActive)
18
21
  },
19
22
  size: {
20
23
  l: /*#__PURE__*/css(["", ":3.5rem;", ":12.5rem;", ":1.5rem;", ":0.875rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-bold-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":1.375rem;", ":inherit;"], buttonTokens.buttonHeight, buttonTokens.buttonWidth, buttonTokens.buttonPadding, buttonTokens.buttonRadius, buttonTokens.buttonFontFamily, buttonTokens.buttonFontSize, buttonTokens.buttonFontStyle, buttonTokens.buttonFontWeight, buttonTokens.buttonLetterSpacing, buttonTokens.buttonLineHeight, buttonTokens.buttonSpinnerSize, buttonTokens.buttonSpinnerColor),