@salutejs/plasma-new-hope 0.147.1-dev.0 → 0.148.0-canary.1392.10919911798.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (288) hide show
  1. package/cjs/components/Breadcrumbs/Breadcrumbs.styles.js +2 -2
  2. package/cjs/components/Breadcrumbs/Breadcrumbs.styles.js.map +1 -1
  3. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +5 -5
  4. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
  5. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +2 -2
  6. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  7. package/cjs/components/Segment/tokens.js +15 -1
  8. package/cjs/components/Segment/tokens.js.map +1 -1
  9. package/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.css +10 -4
  10. package/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.js +169 -86
  11. package/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.js.map +1 -1
  12. package/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.styles.js +37 -1
  13. package/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.styles.js.map +1 -1
  14. package/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.styles_u742r1.css +8 -0
  15. package/cjs/components/Segment/ui/SegmentGroup/variations/_orientation/base.js +9 -0
  16. package/cjs/components/Segment/ui/SegmentGroup/variations/_orientation/base.js.map +1 -0
  17. package/cjs/components/Segment/ui/SegmentGroup/variations/_orientation/base_1ejecy9.css +1 -0
  18. package/cjs/components/Segment/ui/SegmentItem/SegmentItem.css +8 -4
  19. package/cjs/components/Segment/ui/SegmentItem/SegmentItem.js +11 -4
  20. package/cjs/components/Segment/ui/SegmentItem/SegmentItem.js.map +1 -1
  21. package/cjs/components/Segment/ui/SegmentItem/SegmentItem.styles.js +31 -2
  22. package/cjs/components/Segment/ui/SegmentItem/SegmentItem.styles.js.map +1 -1
  23. package/cjs/components/Segment/ui/SegmentItem/SegmentItem.styles_f1jpip.css +6 -0
  24. package/cjs/components/Segment/ui/SegmentItem/variations/_pilled/base.js +1 -1
  25. package/cjs/components/Segment/ui/SegmentItem/variations/_pilled/base.js.map +1 -1
  26. package/{es/components/Segment/ui/SegmentItem/variations/_pilled/base_15s0fel.css → cjs/components/Segment/ui/SegmentItem/variations/_pilled/base_omc5u1.css} +1 -1
  27. package/cjs/components/Segment/ui/SegmentItem/variations/_view/base.js +1 -1
  28. package/cjs/components/Segment/ui/SegmentItem/variations/_view/base.js.map +1 -1
  29. package/cjs/components/Segment/ui/SegmentItem/variations/_view/base_168a47w.css +1 -0
  30. package/cjs/components/Tabs/ui/Tabs/Tabs.js +6 -6
  31. package/cjs/components/Tabs/ui/Tabs/Tabs.js.map +1 -1
  32. package/cjs/components/_Icon/Icon.assets/DisclosureDown.js +22 -0
  33. package/cjs/components/_Icon/Icon.assets/DisclosureDown.js.map +1 -0
  34. package/cjs/components/_Icon/Icon.assets/DisclosureLeft.js +3 -4
  35. package/cjs/components/_Icon/Icon.assets/DisclosureLeft.js.map +1 -1
  36. package/cjs/components/_Icon/Icon.assets/DisclosureLeftCentered.js +23 -0
  37. package/cjs/components/_Icon/Icon.assets/DisclosureLeftCentered.js.map +1 -0
  38. package/cjs/components/_Icon/Icon.assets/DisclosureRight.js +3 -4
  39. package/cjs/components/_Icon/Icon.assets/DisclosureRight.js.map +1 -1
  40. package/cjs/components/_Icon/Icon.assets/DisclosureUp.js +22 -0
  41. package/cjs/components/_Icon/Icon.assets/DisclosureUp.js.map +1 -0
  42. package/cjs/components/_Icon/Icons/IconDisclosureDown.js +23 -0
  43. package/cjs/components/_Icon/Icons/IconDisclosureDown.js.map +1 -0
  44. package/cjs/components/_Icon/Icons/IconDisclosureLeftCentered.js +23 -0
  45. package/cjs/components/_Icon/Icons/IconDisclosureLeftCentered.js.map +1 -0
  46. package/cjs/components/_Icon/Icons/IconDisclosureUp.js +23 -0
  47. package/cjs/components/_Icon/Icons/IconDisclosureUp.js.map +1 -0
  48. package/cjs/index.css +18 -8
  49. package/emotion/cjs/components/Breadcrumbs/Breadcrumbs.styles.js +4 -4
  50. package/emotion/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +2 -2
  51. package/emotion/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +1 -1
  52. package/emotion/cjs/components/Segment/README.md +61 -0
  53. package/emotion/cjs/components/Segment/tokens.js +15 -1
  54. package/emotion/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.js +165 -85
  55. package/emotion/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.styles.js +25 -25
  56. package/emotion/cjs/components/Segment/ui/SegmentGroup/variations/_orientation/base.js +10 -0
  57. package/emotion/cjs/components/Segment/ui/SegmentGroup/variations/_orientation/tokens.json +1 -0
  58. package/emotion/cjs/components/Segment/ui/SegmentItem/SegmentItem.js +11 -4
  59. package/emotion/cjs/components/Segment/ui/SegmentItem/SegmentItem.styles.js +28 -6
  60. package/emotion/cjs/components/Segment/ui/SegmentItem/variations/_pilled/base.js +1 -1
  61. package/emotion/cjs/components/Segment/ui/SegmentItem/variations/_view/base.js +2 -1
  62. package/emotion/cjs/components/Tabs/ui/Tabs/Tabs.js +4 -4
  63. package/emotion/cjs/components/_Icon/Icon.assets/DisclosureDown.js +21 -0
  64. package/emotion/cjs/components/_Icon/Icon.assets/DisclosureLeft.js +3 -4
  65. package/emotion/cjs/components/_Icon/Icon.assets/DisclosureLeftCentered.js +22 -0
  66. package/emotion/cjs/components/_Icon/Icon.assets/DisclosureRight.js +3 -4
  67. package/emotion/cjs/components/_Icon/Icon.assets/DisclosureUp.js +21 -0
  68. package/emotion/cjs/components/_Icon/Icons/IconDisclosureDown.js +22 -0
  69. package/emotion/cjs/components/_Icon/Icons/IconDisclosureLeftCentered.js +22 -0
  70. package/emotion/cjs/components/_Icon/Icons/IconDisclosureUp.js +22 -0
  71. package/emotion/cjs/components/_Icon/index.js +21 -0
  72. package/emotion/cjs/examples/plasma_b2c/components/Editable/Editable.stories.tsx +2 -2
  73. package/emotion/cjs/examples/plasma_b2c/components/Notification/Notification.stories.tsx +6 -3
  74. package/emotion/cjs/examples/plasma_b2c/components/Segment/Segment.stories.tsx +265 -37
  75. package/emotion/cjs/examples/plasma_b2c/components/Segment/SegmentGroup.config.js +13 -10
  76. package/emotion/cjs/examples/plasma_b2c/components/Segment/SegmentItem.config.js +9 -9
  77. package/emotion/cjs/examples/plasma_b2c/components/Tooltip/Tooltip.stories.tsx +2 -2
  78. package/emotion/cjs/examples/plasma_web/components/Editable/Editable.stories.tsx +2 -2
  79. package/emotion/cjs/examples/plasma_web/components/Notification/Notification.stories.tsx +6 -3
  80. package/emotion/cjs/examples/plasma_web/components/Segment/Segment.stories.tsx +266 -37
  81. package/emotion/cjs/examples/plasma_web/components/Segment/SegmentGroup.config.js +15 -9
  82. package/emotion/cjs/examples/plasma_web/components/Segment/SegmentItem.config.js +9 -9
  83. package/emotion/cjs/examples/plasma_web/components/Tooltip/Tooltip.stories.tsx +2 -2
  84. package/emotion/es/components/Breadcrumbs/Breadcrumbs.styles.js +5 -5
  85. package/emotion/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +3 -3
  86. package/emotion/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +2 -2
  87. package/emotion/es/components/Segment/README.md +61 -0
  88. package/emotion/es/components/Segment/tokens.js +15 -1
  89. package/emotion/es/components/Segment/ui/SegmentGroup/SegmentGroup.js +168 -88
  90. package/emotion/es/components/Segment/ui/SegmentGroup/SegmentGroup.styles.js +25 -25
  91. package/emotion/es/components/Segment/ui/SegmentGroup/variations/_orientation/base.js +4 -0
  92. package/emotion/es/components/Segment/ui/SegmentGroup/variations/_orientation/tokens.json +1 -0
  93. package/emotion/es/components/Segment/ui/SegmentItem/SegmentItem.js +12 -5
  94. package/emotion/es/components/Segment/ui/SegmentItem/SegmentItem.styles.js +27 -5
  95. package/emotion/es/components/Segment/ui/SegmentItem/variations/_pilled/base.js +1 -1
  96. package/emotion/es/components/Segment/ui/SegmentItem/variations/_view/base.js +2 -1
  97. package/emotion/es/components/Tabs/ui/Tabs/Tabs.js +5 -5
  98. package/emotion/es/components/_Icon/Icon.assets/DisclosureDown.js +14 -0
  99. package/emotion/es/components/_Icon/Icon.assets/DisclosureLeft.js +3 -4
  100. package/emotion/es/components/_Icon/Icon.assets/DisclosureLeftCentered.js +15 -0
  101. package/emotion/es/components/_Icon/Icon.assets/DisclosureRight.js +3 -4
  102. package/emotion/es/components/_Icon/Icon.assets/DisclosureUp.js +14 -0
  103. package/emotion/es/components/_Icon/Icons/IconDisclosureDown.js +15 -0
  104. package/emotion/es/components/_Icon/Icons/IconDisclosureLeftCentered.js +15 -0
  105. package/emotion/es/components/_Icon/Icons/IconDisclosureUp.js +15 -0
  106. package/emotion/es/components/_Icon/index.js +3 -0
  107. package/emotion/es/examples/plasma_b2c/components/Editable/Editable.stories.tsx +2 -2
  108. package/emotion/es/examples/plasma_b2c/components/Notification/Notification.stories.tsx +6 -3
  109. package/emotion/es/examples/plasma_b2c/components/Segment/Segment.stories.tsx +265 -37
  110. package/emotion/es/examples/plasma_b2c/components/Segment/SegmentGroup.config.js +13 -10
  111. package/emotion/es/examples/plasma_b2c/components/Segment/SegmentItem.config.js +9 -9
  112. package/emotion/es/examples/plasma_b2c/components/Tooltip/Tooltip.stories.tsx +2 -2
  113. package/emotion/es/examples/plasma_web/components/Editable/Editable.stories.tsx +2 -2
  114. package/emotion/es/examples/plasma_web/components/Notification/Notification.stories.tsx +6 -3
  115. package/emotion/es/examples/plasma_web/components/Segment/Segment.stories.tsx +266 -37
  116. package/emotion/es/examples/plasma_web/components/Segment/SegmentGroup.config.js +15 -9
  117. package/emotion/es/examples/plasma_web/components/Segment/SegmentItem.config.js +9 -9
  118. package/emotion/es/examples/plasma_web/components/Tooltip/Tooltip.stories.tsx +2 -2
  119. package/es/components/Breadcrumbs/Breadcrumbs.styles.js +2 -2
  120. package/es/components/Breadcrumbs/Breadcrumbs.styles.js.map +1 -1
  121. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +5 -5
  122. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
  123. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +2 -2
  124. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  125. package/es/components/Segment/tokens.js +15 -1
  126. package/es/components/Segment/tokens.js.map +1 -1
  127. package/es/components/Segment/ui/SegmentGroup/SegmentGroup.css +10 -4
  128. package/es/components/Segment/ui/SegmentGroup/SegmentGroup.js +172 -90
  129. package/es/components/Segment/ui/SegmentGroup/SegmentGroup.js.map +1 -1
  130. package/es/components/Segment/ui/SegmentGroup/SegmentGroup.styles.js +34 -2
  131. package/es/components/Segment/ui/SegmentGroup/SegmentGroup.styles.js.map +1 -1
  132. package/es/components/Segment/ui/SegmentGroup/SegmentGroup.styles_u742r1.css +8 -0
  133. package/es/components/Segment/ui/SegmentGroup/variations/_orientation/base.js +5 -0
  134. package/es/components/Segment/ui/SegmentGroup/variations/_orientation/base.js.map +1 -0
  135. package/es/components/Segment/ui/SegmentGroup/variations/_orientation/base_1ejecy9.css +1 -0
  136. package/es/components/Segment/ui/SegmentItem/SegmentItem.css +8 -4
  137. package/es/components/Segment/ui/SegmentItem/SegmentItem.js +12 -5
  138. package/es/components/Segment/ui/SegmentItem/SegmentItem.js.map +1 -1
  139. package/es/components/Segment/ui/SegmentItem/SegmentItem.styles.js +30 -3
  140. package/es/components/Segment/ui/SegmentItem/SegmentItem.styles.js.map +1 -1
  141. package/es/components/Segment/ui/SegmentItem/SegmentItem.styles_f1jpip.css +6 -0
  142. package/es/components/Segment/ui/SegmentItem/variations/_pilled/base.js +1 -1
  143. package/es/components/Segment/ui/SegmentItem/variations/_pilled/base.js.map +1 -1
  144. package/{cjs/components/Segment/ui/SegmentItem/variations/_pilled/base_15s0fel.css → es/components/Segment/ui/SegmentItem/variations/_pilled/base_omc5u1.css} +1 -1
  145. package/es/components/Segment/ui/SegmentItem/variations/_view/base.js +1 -1
  146. package/es/components/Segment/ui/SegmentItem/variations/_view/base.js.map +1 -1
  147. package/es/components/Segment/ui/SegmentItem/variations/_view/base_168a47w.css +1 -0
  148. package/es/components/Tabs/ui/Tabs/Tabs.js +6 -6
  149. package/es/components/Tabs/ui/Tabs/Tabs.js.map +1 -1
  150. package/es/components/_Icon/Icon.assets/DisclosureDown.js +18 -0
  151. package/es/components/_Icon/Icon.assets/DisclosureDown.js.map +1 -0
  152. package/es/components/_Icon/Icon.assets/DisclosureLeft.js +3 -4
  153. package/es/components/_Icon/Icon.assets/DisclosureLeft.js.map +1 -1
  154. package/es/components/_Icon/Icon.assets/DisclosureLeftCentered.js +19 -0
  155. package/es/components/_Icon/Icon.assets/DisclosureLeftCentered.js.map +1 -0
  156. package/es/components/_Icon/Icon.assets/DisclosureRight.js +3 -4
  157. package/es/components/_Icon/Icon.assets/DisclosureRight.js.map +1 -1
  158. package/es/components/_Icon/Icon.assets/DisclosureUp.js +18 -0
  159. package/es/components/_Icon/Icon.assets/DisclosureUp.js.map +1 -0
  160. package/es/components/_Icon/Icons/IconDisclosureDown.js +19 -0
  161. package/es/components/_Icon/Icons/IconDisclosureDown.js.map +1 -0
  162. package/es/components/_Icon/Icons/IconDisclosureLeftCentered.js +19 -0
  163. package/es/components/_Icon/Icons/IconDisclosureLeftCentered.js.map +1 -0
  164. package/es/components/_Icon/Icons/IconDisclosureUp.js +19 -0
  165. package/es/components/_Icon/Icons/IconDisclosureUp.js.map +1 -0
  166. package/es/index.css +18 -8
  167. package/package.json +2 -2
  168. package/styled-components/cjs/components/Breadcrumbs/Breadcrumbs.styles.js +1 -1
  169. package/styled-components/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +2 -2
  170. package/styled-components/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +1 -1
  171. package/styled-components/cjs/components/Segment/README.md +61 -0
  172. package/styled-components/cjs/components/Segment/tokens.js +15 -1
  173. package/styled-components/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.js +165 -85
  174. package/styled-components/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.styles.js +17 -5
  175. package/styled-components/cjs/components/Segment/ui/SegmentGroup/variations/_orientation/base.js +10 -0
  176. package/styled-components/cjs/components/Segment/ui/SegmentGroup/variations/_orientation/tokens.json +1 -0
  177. package/styled-components/cjs/components/Segment/ui/SegmentItem/SegmentItem.js +11 -4
  178. package/styled-components/cjs/components/Segment/ui/SegmentItem/SegmentItem.styles.js +23 -5
  179. package/styled-components/cjs/components/Segment/ui/SegmentItem/variations/_pilled/base.js +1 -1
  180. package/styled-components/cjs/components/Segment/ui/SegmentItem/variations/_view/base.js +2 -1
  181. package/styled-components/cjs/components/Tabs/ui/Tabs/Tabs.js +4 -4
  182. package/styled-components/cjs/components/_Icon/Icon.assets/DisclosureDown.js +21 -0
  183. package/styled-components/cjs/components/_Icon/Icon.assets/DisclosureLeft.js +3 -4
  184. package/styled-components/cjs/components/_Icon/Icon.assets/DisclosureLeftCentered.js +22 -0
  185. package/styled-components/cjs/components/_Icon/Icon.assets/DisclosureRight.js +3 -4
  186. package/styled-components/cjs/components/_Icon/Icon.assets/DisclosureUp.js +21 -0
  187. package/styled-components/cjs/components/_Icon/Icons/IconDisclosureDown.js +22 -0
  188. package/styled-components/cjs/components/_Icon/Icons/IconDisclosureLeftCentered.js +22 -0
  189. package/styled-components/cjs/components/_Icon/Icons/IconDisclosureUp.js +22 -0
  190. package/styled-components/cjs/components/_Icon/index.js +21 -0
  191. package/styled-components/cjs/examples/plasma_b2c/components/Editable/Editable.stories.tsx +2 -2
  192. package/styled-components/cjs/examples/plasma_b2c/components/Notification/Notification.stories.tsx +6 -3
  193. package/styled-components/cjs/examples/plasma_b2c/components/Segment/Segment.stories.tsx +265 -37
  194. package/styled-components/cjs/examples/plasma_b2c/components/Segment/SegmentGroup.config.js +8 -5
  195. package/styled-components/cjs/examples/plasma_b2c/components/Segment/SegmentItem.config.js +8 -8
  196. package/styled-components/cjs/examples/plasma_b2c/components/Tooltip/Tooltip.stories.tsx +2 -2
  197. package/styled-components/cjs/examples/plasma_web/components/Editable/Editable.stories.tsx +2 -2
  198. package/styled-components/cjs/examples/plasma_web/components/Notification/Notification.stories.tsx +6 -3
  199. package/styled-components/cjs/examples/plasma_web/components/Segment/Segment.stories.tsx +266 -37
  200. package/styled-components/cjs/examples/plasma_web/components/Segment/SegmentGroup.config.js +11 -5
  201. package/styled-components/cjs/examples/plasma_web/components/Segment/SegmentItem.config.js +8 -8
  202. package/styled-components/cjs/examples/plasma_web/components/Tooltip/Tooltip.stories.tsx +2 -2
  203. package/styled-components/es/components/Breadcrumbs/Breadcrumbs.styles.js +2 -2
  204. package/styled-components/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +3 -3
  205. package/styled-components/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +2 -2
  206. package/styled-components/es/components/Segment/README.md +61 -0
  207. package/styled-components/es/components/Segment/tokens.js +15 -1
  208. package/styled-components/es/components/Segment/ui/SegmentGroup/SegmentGroup.js +168 -88
  209. package/styled-components/es/components/Segment/ui/SegmentGroup/SegmentGroup.styles.js +17 -5
  210. package/styled-components/es/components/Segment/ui/SegmentGroup/variations/_orientation/base.js +4 -0
  211. package/styled-components/es/components/Segment/ui/SegmentGroup/variations/_orientation/tokens.json +1 -0
  212. package/styled-components/es/components/Segment/ui/SegmentItem/SegmentItem.js +12 -5
  213. package/styled-components/es/components/Segment/ui/SegmentItem/SegmentItem.styles.js +22 -4
  214. package/styled-components/es/components/Segment/ui/SegmentItem/variations/_pilled/base.js +1 -1
  215. package/styled-components/es/components/Segment/ui/SegmentItem/variations/_view/base.js +2 -1
  216. package/styled-components/es/components/Tabs/ui/Tabs/Tabs.js +5 -5
  217. package/styled-components/es/components/_Icon/Icon.assets/DisclosureDown.js +14 -0
  218. package/styled-components/es/components/_Icon/Icon.assets/DisclosureLeft.js +3 -4
  219. package/styled-components/es/components/_Icon/Icon.assets/DisclosureLeftCentered.js +15 -0
  220. package/styled-components/es/components/_Icon/Icon.assets/DisclosureRight.js +3 -4
  221. package/styled-components/es/components/_Icon/Icon.assets/DisclosureUp.js +14 -0
  222. package/styled-components/es/components/_Icon/Icons/IconDisclosureDown.js +15 -0
  223. package/styled-components/es/components/_Icon/Icons/IconDisclosureLeftCentered.js +15 -0
  224. package/styled-components/es/components/_Icon/Icons/IconDisclosureUp.js +15 -0
  225. package/styled-components/es/components/_Icon/index.js +3 -0
  226. package/styled-components/es/examples/plasma_b2c/components/Editable/Editable.stories.tsx +2 -2
  227. package/styled-components/es/examples/plasma_b2c/components/Notification/Notification.stories.tsx +6 -3
  228. package/styled-components/es/examples/plasma_b2c/components/Segment/Segment.stories.tsx +265 -37
  229. package/styled-components/es/examples/plasma_b2c/components/Segment/SegmentGroup.config.js +8 -5
  230. package/styled-components/es/examples/plasma_b2c/components/Segment/SegmentItem.config.js +8 -8
  231. package/styled-components/es/examples/plasma_b2c/components/Tooltip/Tooltip.stories.tsx +2 -2
  232. package/styled-components/es/examples/plasma_web/components/Editable/Editable.stories.tsx +2 -2
  233. package/styled-components/es/examples/plasma_web/components/Notification/Notification.stories.tsx +6 -3
  234. package/styled-components/es/examples/plasma_web/components/Segment/Segment.stories.tsx +266 -37
  235. package/styled-components/es/examples/plasma_web/components/Segment/SegmentGroup.config.js +11 -5
  236. package/styled-components/es/examples/plasma_web/components/Segment/SegmentItem.config.js +8 -8
  237. package/styled-components/es/examples/plasma_web/components/Tooltip/Tooltip.stories.tsx +2 -2
  238. package/types/components/Segment/tokens.d.ts +14 -0
  239. package/types/components/Segment/tokens.d.ts.map +1 -1
  240. package/types/components/Segment/ui/SegmentGroup/SegmentGroup.d.ts +10 -0
  241. package/types/components/Segment/ui/SegmentGroup/SegmentGroup.d.ts.map +1 -1
  242. package/types/components/Segment/ui/SegmentGroup/SegmentGroup.styles.d.ts +12 -0
  243. package/types/components/Segment/ui/SegmentGroup/SegmentGroup.styles.d.ts.map +1 -1
  244. package/types/components/Segment/ui/SegmentGroup/SegmentGroup.types.d.ts +19 -1
  245. package/types/components/Segment/ui/SegmentGroup/SegmentGroup.types.d.ts.map +1 -1
  246. package/types/components/Segment/ui/SegmentGroup/variations/_orientation/base.d.ts +2 -0
  247. package/types/components/Segment/ui/SegmentGroup/variations/_orientation/base.d.ts.map +1 -0
  248. package/types/components/Segment/ui/SegmentItem/SegmentItem.d.ts +6 -0
  249. package/types/components/Segment/ui/SegmentItem/SegmentItem.d.ts.map +1 -1
  250. package/types/components/Segment/ui/SegmentItem/SegmentItem.styles.d.ts +9 -1
  251. package/types/components/Segment/ui/SegmentItem/SegmentItem.styles.d.ts.map +1 -1
  252. package/types/components/Segment/ui/SegmentItem/SegmentItem.types.d.ts +12 -0
  253. package/types/components/Segment/ui/SegmentItem/SegmentItem.types.d.ts.map +1 -1
  254. package/types/components/Segment/ui/SegmentItem/variations/_pilled/base.d.ts.map +1 -1
  255. package/types/components/Segment/ui/SegmentItem/variations/_view/base.d.ts.map +1 -1
  256. package/types/components/Tabs/ui/Tabs/Tabs.d.ts.map +1 -1
  257. package/types/components/_Icon/Icon.assets/DisclosureDown.d.ts +4 -0
  258. package/types/components/_Icon/Icon.assets/DisclosureDown.d.ts.map +1 -0
  259. package/types/components/_Icon/Icon.assets/DisclosureLeft.d.ts.map +1 -1
  260. package/types/components/_Icon/Icon.assets/DisclosureLeftCentered.d.ts +4 -0
  261. package/types/components/_Icon/Icon.assets/DisclosureLeftCentered.d.ts.map +1 -0
  262. package/types/components/_Icon/Icon.assets/DisclosureRight.d.ts.map +1 -1
  263. package/types/components/_Icon/Icon.assets/DisclosureUp.d.ts +4 -0
  264. package/types/components/_Icon/Icon.assets/DisclosureUp.d.ts.map +1 -0
  265. package/types/components/_Icon/Icons/IconDisclosureDown.d.ts +4 -0
  266. package/types/components/_Icon/Icons/IconDisclosureDown.d.ts.map +1 -0
  267. package/types/components/_Icon/Icons/IconDisclosureLeftCentered.d.ts +4 -0
  268. package/types/components/_Icon/Icons/IconDisclosureLeftCentered.d.ts.map +1 -0
  269. package/types/components/_Icon/Icons/IconDisclosureUp.d.ts +4 -0
  270. package/types/components/_Icon/Icons/IconDisclosureUp.d.ts.map +1 -0
  271. package/types/components/_Icon/index.d.ts +3 -0
  272. package/types/components/_Icon/index.d.ts.map +1 -1
  273. package/types/examples/plasma_b2c/components/Segment/Segment.d.ts +9 -0
  274. package/types/examples/plasma_b2c/components/Segment/Segment.d.ts.map +1 -1
  275. package/types/examples/plasma_b2c/components/Segment/SegmentGroup.config.d.ts +3 -0
  276. package/types/examples/plasma_b2c/components/Segment/SegmentGroup.config.d.ts.map +1 -1
  277. package/types/examples/plasma_b2c/components/Segment/SegmentItem.config.d.ts.map +1 -1
  278. package/types/examples/plasma_web/components/Segment/Segment.d.ts +12 -0
  279. package/types/examples/plasma_web/components/Segment/Segment.d.ts.map +1 -1
  280. package/types/examples/plasma_web/components/Segment/SegmentGroup.config.d.ts +6 -0
  281. package/types/examples/plasma_web/components/Segment/SegmentGroup.config.d.ts.map +1 -1
  282. package/types/examples/plasma_web/components/Segment/SegmentItem.config.d.ts.map +1 -1
  283. package/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.styles_m9i9p0.css +0 -4
  284. package/cjs/components/Segment/ui/SegmentItem/SegmentItem.styles_18h1p52.css +0 -2
  285. package/cjs/components/Segment/ui/SegmentItem/variations/_view/base_1m1u2ys.css +0 -1
  286. package/es/components/Segment/ui/SegmentGroup/SegmentGroup.styles_m9i9p0.css +0 -4
  287. package/es/components/Segment/ui/SegmentItem/SegmentItem.styles_18h1p52.css +0 -2
  288. package/es/components/Segment/ui/SegmentItem/variations/_view/base_1m1u2ys.css +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"Tabs.js","sources":["../../../../../src/components/Tabs/ui/Tabs/Tabs.tsx"],"sourcesContent":["import React, { forwardRef, useCallback, useMemo, useState, useEffect, useRef, KeyboardEvent } from 'react';\nimport type { MutableRefObject } from 'react';\nimport { safeUseId } from '@salutejs/plasma-core';\n\nimport type { RootProps } from '../../../../engines/types';\nimport { IconDisclosureLeft, IconDisclosureRight } from '../../../_Icon';\nimport { classes, tokens } from '../../tokens';\nimport { cx } from '../../../../utils';\nimport { TabItemRefs, TabsContext } from '../../TabsContext';\n\nimport { base as sizeCSS } from './variations/_size/base';\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as disabledCSS } from './variations/_disabled/base';\nimport { base as pilledCSS } from './variations/_pilled/base';\nimport { base as stretchCSS } from './variations/_stretch/base';\nimport { StyledArrow, StyledContent, StyledContentWrapper, base } from './Tabs.styles';\nimport type { TabsProps } from './Tabs.types';\n\nenum Keys {\n end = 35,\n home = 36,\n left = 37,\n right = 39,\n}\n\nexport const tabsRoot = (Root: RootProps<HTMLDivElement, TabsProps>) =>\n forwardRef<HTMLDivElement, TabsProps>((props, outerRef) => {\n const {\n id,\n stretch = false,\n disabled = false,\n clip = 'scroll',\n size,\n view,\n children,\n pilled = false,\n index,\n className,\n ...rest\n } = props;\n const [firstItemVisible, setFirstItemVisible] = useState(true);\n const [lastItemVisible, setLastItemVisible] = useState(true);\n\n const refs = useMemo(() => new TabItemRefs(index), []);\n\n const uniqId = safeUseId();\n const tabsId = id || uniqId;\n\n const isFilled = view === 'filled'; // outer padding is only for filled view\n const pilledAttr = view !== 'clear' && pilled;\n const pilledClass = pilledAttr ? classes.tabsPilled : undefined;\n\n const stretchClass = firstItemVisible && lastItemVisible && stretch ? classes.tabsStretch : undefined;\n const hasLeftArrowClass = !firstItemVisible ? classes.tabsHasLeftArrow : undefined;\n const hasRightArrowClass = !lastItemVisible ? classes.tabsHasRightArrow : undefined;\n const clipScrollClass = clip === 'scroll' ? classes.tabsClipScroll : undefined;\n const clipShowAllClass = clip === 'showAll' ? classes.tabsClipShowAll : undefined;\n\n const scrollRef = useRef<HTMLElement | null>(null);\n const trackRef = useRef<HTMLElement | null>(null);\n const leftArrowRef = useRef<HTMLButtonElement | null>(null);\n\n const onPrev = useCallback(() => {\n if (disabled || !scrollRef.current) {\n return;\n }\n\n const scrollLeft = Math.round(scrollRef.current.scrollLeft);\n const firstOverflowingTab = refs.items\n .slice()\n .reverse()\n .find((item: MutableRefObject<HTMLElement | null>) => {\n if (!item.current || item.current.offsetLeft === undefined) {\n return;\n }\n const tabStartX = item.current.offsetLeft;\n\n return tabStartX < scrollLeft;\n });\n\n firstOverflowingTab?.current?.scrollIntoView({ block: 'nearest', inline: 'nearest' });\n }, [disabled, scrollRef, refs]);\n\n const onNext = useCallback(() => {\n if (disabled || !scrollRef.current) {\n return;\n }\n\n const scrollRight = Math.round(scrollRef.current.scrollLeft + scrollRef.current.clientWidth);\n const lastOverflowingTab = refs.items.find((item: MutableRefObject<HTMLElement | null>) => {\n if (!item.current || item.current.offsetLeft === undefined) {\n return;\n }\n const tabEndX = item.current.offsetLeft + item.current.offsetWidth;\n\n return tabEndX > scrollRight;\n });\n\n lastOverflowingTab?.current?.scrollIntoView({ block: 'nearest', inline: 'nearest' });\n }, [disabled, scrollRef, refs]);\n\n const PreviousButton = useMemo(\n () => (\n <StyledArrow\n type=\"button\"\n aria-label=\"Предыдущий таб\"\n onClick={onPrev}\n tabIndex={disabled ? -1 : 0}\n disabled={disabled}\n isFilled={isFilled}\n ref={leftArrowRef}\n isLeftArrow\n >\n <IconDisclosureLeft color={`var(${tokens.arrowColor})`} />\n </StyledArrow>\n ),\n [onPrev, disabled, isFilled],\n );\n\n const NextButton = useMemo(\n () => (\n <StyledArrow\n type=\"button\"\n aria-label=\"Следующий таб\"\n onClick={onNext}\n tabIndex={disabled ? -1 : 0}\n disabled={disabled}\n isFilled={isFilled}\n >\n <IconDisclosureRight color={`var(${tokens.arrowColor})`} />\n </StyledArrow>\n ),\n [onNext, disabled, isFilled],\n );\n\n const handleScroll = useCallback(\n (event: React.UIEvent<HTMLElement>): void => {\n event.stopPropagation();\n const maxScrollLeft = event.currentTarget.scrollWidth - event.currentTarget.clientWidth;\n const scrollLeft = Math.round(event.currentTarget.scrollLeft);\n\n setFirstItemVisible(scrollLeft <= 0);\n setLastItemVisible(scrollLeft >= maxScrollLeft);\n },\n [setFirstItemVisible, setLastItemVisible],\n );\n\n const onKeyDown = useCallback(\n (event: KeyboardEvent<HTMLDivElement>) => {\n if (index === undefined) {\n return;\n }\n\n const minIndex = 0;\n const maxIndex = refs.items.length - 1;\n let nextIndex: number;\n\n switch (event.keyCode) {\n case Keys.end:\n nextIndex = maxIndex;\n break;\n case Keys.left:\n nextIndex = index > minIndex ? index - 1 : index;\n break;\n case Keys.right:\n nextIndex = index < maxIndex ? index + 1 : index;\n break;\n case Keys.home:\n nextIndex = minIndex;\n break;\n default:\n return;\n }\n\n if (nextIndex !== index) {\n event.preventDefault();\n refs.items[nextIndex].current?.focus();\n refs.items[nextIndex].current?.scrollIntoView({\n block: 'center',\n inline: 'center',\n behavior: 'smooth',\n });\n }\n },\n [index],\n );\n\n useEffect(() => {\n setLastItemVisible(scrollRef.current?.scrollWidth === scrollRef.current?.clientWidth);\n }, []);\n\n // Этот хук компенсирует появление левой стрелки при прокрутке\n useEffect(() => {\n if (firstItemVisible || !scrollRef.current || !leftArrowRef.current) {\n return;\n }\n\n scrollRef.current.scrollTo({\n left: Math.round(scrollRef.current.scrollLeft + leftArrowRef.current.clientWidth),\n });\n }, [firstItemVisible, scrollRef, leftArrowRef]);\n\n return (\n <TabsContext.Provider value={refs}>\n <Root\n view={view}\n role=\"tablist\"\n size={size}\n pilled={pilled}\n id={tabsId}\n ref={outerRef}\n disabled={disabled}\n className={cx(pilledClass, stretchClass, hasLeftArrowClass, hasRightArrowClass, className)}\n onKeyDown={onKeyDown}\n {...rest}\n >\n {!firstItemVisible && PreviousButton}\n <StyledContentWrapper\n className={cx(clipScrollClass, clipShowAllClass)}\n ref={scrollRef as MutableRefObject<HTMLDivElement | null>}\n onScroll={handleScroll}\n >\n <StyledContent ref={trackRef as MutableRefObject<HTMLDivElement | null>}>\n {children}\n </StyledContent>\n </StyledContentWrapper>\n {!lastItemVisible && NextButton}\n </Root>\n </TabsContext.Provider>\n );\n });\n\nexport const tabsConfig = {\n name: 'Tabs',\n tag: 'div',\n layout: tabsRoot,\n base,\n variations: {\n size: {\n css: sizeCSS,\n },\n view: {\n css: viewCSS,\n },\n disabled: {\n css: disabledCSS,\n attrs: true,\n },\n stretch: {\n css: stretchCSS,\n attrs: true,\n },\n pilled: {\n css: pilledCSS,\n },\n },\n defaults: {\n view: 'clear',\n size: 'xs',\n },\n};\n"],"names":["Keys","tabsRoot","Root","forwardRef","props","outerRef","id","_props$stretch","stretch","_props$disabled","disabled","_props$clip","clip","size","view","children","_props$pilled","pilled","index","className","rest","_objectWithoutProperties","_excluded","_useState","useState","_useState2","_slicedToArray","firstItemVisible","setFirstItemVisible","_useState3","_useState4","lastItemVisible","setLastItemVisible","refs","useMemo","TabItemRefs","uniqId","safeUseId","tabsId","isFilled","pilledAttr","pilledClass","classes","tabsPilled","undefined","stretchClass","tabsStretch","hasLeftArrowClass","tabsHasLeftArrow","hasRightArrowClass","tabsHasRightArrow","clipScrollClass","tabsClipScroll","clipShowAllClass","tabsClipShowAll","scrollRef","useRef","trackRef","leftArrowRef","onPrev","useCallback","_firstOverflowingTab$","current","scrollLeft","Math","round","firstOverflowingTab","items","slice","reverse","find","item","offsetLeft","tabStartX","scrollIntoView","block","inline","onNext","_lastOverflowingTab$c","scrollRight","clientWidth","lastOverflowingTab","tabEndX","offsetWidth","PreviousButton","React","createElement","StyledArrow","type","onClick","tabIndex","ref","isLeftArrow","IconDisclosureLeft","color","concat","tokens","arrowColor","NextButton","IconDisclosureRight","handleScroll","event","stopPropagation","maxScrollLeft","currentTarget","scrollWidth","onKeyDown","minIndex","maxIndex","length","nextIndex","keyCode","end","left","right","home","_refs$items$nextIndex","_refs$items$nextIndex2","preventDefault","focus","behavior","useEffect","_scrollRef$current","_scrollRef$current2","scrollTo","TabsContext","Provider","value","_extends","role","cx","StyledContentWrapper","onScroll","StyledContent","tabsConfig","name","tag","layout","base","variations","css","sizeCSS","viewCSS","disabledCSS","attrs","stretchC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BAAgB,IAAIyD,cAAc,eACpCC,KAAA,CAAAC,aAAA,CAAC6C,oBAAoB,EAAA;AACjBhH,MAAAA,SAAS,EAAE+G,EAAE,CAAC/E,eAAe,EAAEE,gBAAgB,CAAE;AACjDsC,MAAAA,GAAG,EAAEpC,SAAqD;AAC1D6E,MAAAA,QAAQ,EAAEhC,YAAAA;AAAa,KAAA,eAEvBf,KAAA,CAAAC,aAAA,CAAC+C,aAAa,EAAA;AAAC1C,MAAAA,GAAG,EAAElC,QAAAA;KACf1C,EAAAA,QACU,CACG,CAAC,EACtB,CAACgB,eAAe,IAAImE,UACnB,CACY,CAAC,CAAA;AAE/B,GAAC,CAAC,CAAA;AAAA,EAAA;AAEC,IAAMoC,UAAU,GAAG;AACtBC,EAAAA,IAAI,EAAE,MAAM;AACZC,EAAAA,GAAG,EAAE,KAAK;AACVC,EAAAA,MAAM,EAAExI,QAAQ;AAChByI,EAAAA,IAAI,EAAJA,IAAI;AACJC,EAAAA,UAAU,EAAE;AACR9H,IAAAA,IAAI,EAAE;AACF+H,MAAAA,GAAG,EAAEC,MAAAA;KACR;AACD/H,IAAAA,IAAI,EAAE;AACF8H,MAAAA,GAAG,EAAEE,MAAAA;KACR;AACDpI,IAAAA,QAAQ,EAAE;AACNkI,MAAAA,GAAG,EAAEG,MAAW;AAChBC,MAAAA,KAAK,EAAE,IAAA;KACV;AACDxI,IAAAA,OAAO,EAAE;AACLoI,MAAAA,GAAG,EAAEK,MAAU;AACfD,MAAAA,KAAK,EAAE,IAAA;KACV;AACD/H,IAAAA,MAAM,EAAE;AACJ2H,MAAAA,GAAG,EAAEM,MAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACNrI,IAAAA,IAAI,EAAE,OAAO;AACbD,IAAAA,IAAI,EAAE,IAAA;AACV,GAAA;AACJ;;;;"}
1
+ {"version":3,"file":"Tabs.js","sources":["../../../../../src/components/Tabs/ui/Tabs/Tabs.tsx"],"sourcesContent":["import React, { forwardRef, useCallback, useMemo, useState, useEffect, useRef, KeyboardEvent } from 'react';\nimport type { MutableRefObject } from 'react';\nimport { safeUseId } from '@salutejs/plasma-core';\n\nimport type { RootProps } from '../../../../engines/types';\nimport { IconDisclosureLeftCentered, IconDisclosureRightCentered } from '../../../_Icon';\nimport { classes, tokens } from '../../tokens';\nimport { cx } from '../../../../utils';\nimport { TabItemRefs, TabsContext } from '../../TabsContext';\n\nimport { base as sizeCSS } from './variations/_size/base';\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as disabledCSS } from './variations/_disabled/base';\nimport { base as pilledCSS } from './variations/_pilled/base';\nimport { base as stretchCSS } from './variations/_stretch/base';\nimport { StyledArrow, StyledContent, StyledContentWrapper, base } from './Tabs.styles';\nimport type { TabsProps } from './Tabs.types';\n\nenum Keys {\n end = 35,\n home = 36,\n left = 37,\n right = 39,\n}\n\nexport const tabsRoot = (Root: RootProps<HTMLDivElement, TabsProps>) =>\n forwardRef<HTMLDivElement, TabsProps>((props, outerRef) => {\n const {\n id,\n stretch = false,\n disabled = false,\n clip = 'scroll',\n size,\n view,\n children,\n pilled = false,\n index,\n className,\n ...rest\n } = props;\n const [firstItemVisible, setFirstItemVisible] = useState(true);\n const [lastItemVisible, setLastItemVisible] = useState(true);\n\n const refs = useMemo(() => new TabItemRefs(index), []);\n\n const uniqId = safeUseId();\n const tabsId = id || uniqId;\n\n const isFilled = view === 'filled'; // outer padding is only for filled view\n const pilledAttr = view !== 'clear' && pilled;\n const pilledClass = pilledAttr ? classes.tabsPilled : undefined;\n\n const stretchClass = firstItemVisible && lastItemVisible && stretch ? classes.tabsStretch : undefined;\n const hasLeftArrowClass = !firstItemVisible ? classes.tabsHasLeftArrow : undefined;\n const hasRightArrowClass = !lastItemVisible ? classes.tabsHasRightArrow : undefined;\n const clipScrollClass = clip === 'scroll' ? classes.tabsClipScroll : undefined;\n const clipShowAllClass = clip === 'showAll' ? classes.tabsClipShowAll : undefined;\n\n const scrollRef = useRef<HTMLElement | null>(null);\n const trackRef = useRef<HTMLElement | null>(null);\n const leftArrowRef = useRef<HTMLButtonElement | null>(null);\n\n const onPrev = useCallback(() => {\n if (disabled || !scrollRef.current) {\n return;\n }\n\n const scrollLeft = Math.round(scrollRef.current.scrollLeft);\n const firstOverflowingTab = refs.items\n .slice()\n .reverse()\n .find((item: MutableRefObject<HTMLElement | null>) => {\n if (!item.current || item.current.offsetLeft === undefined) {\n return;\n }\n const tabStartX = item.current.offsetLeft;\n\n return tabStartX < scrollLeft;\n });\n\n firstOverflowingTab?.current?.scrollIntoView({ block: 'nearest', inline: 'nearest' });\n }, [disabled, scrollRef, refs]);\n\n const onNext = useCallback(() => {\n if (disabled || !scrollRef.current) {\n return;\n }\n\n const scrollRight = Math.round(scrollRef.current.scrollLeft + scrollRef.current.clientWidth);\n const lastOverflowingTab = refs.items.find((item: MutableRefObject<HTMLElement | null>) => {\n if (!item.current || item.current.offsetLeft === undefined) {\n return;\n }\n const tabEndX = item.current.offsetLeft + item.current.offsetWidth;\n\n return tabEndX > scrollRight;\n });\n\n lastOverflowingTab?.current?.scrollIntoView({ block: 'nearest', inline: 'nearest' });\n }, [disabled, scrollRef, refs]);\n\n const PreviousButton = useMemo(\n () => (\n <StyledArrow\n type=\"button\"\n aria-label=\"Предыдущий таб\"\n onClick={onPrev}\n tabIndex={disabled ? -1 : 0}\n disabled={disabled}\n isFilled={isFilled}\n ref={leftArrowRef}\n isLeftArrow\n >\n <IconDisclosureLeftCentered color={`var(${tokens.arrowColor})`} />\n </StyledArrow>\n ),\n [onPrev, disabled, isFilled],\n );\n\n const NextButton = useMemo(\n () => (\n <StyledArrow\n type=\"button\"\n aria-label=\"Следующий таб\"\n onClick={onNext}\n tabIndex={disabled ? -1 : 0}\n disabled={disabled}\n isFilled={isFilled}\n >\n <IconDisclosureRightCentered color={`var(${tokens.arrowColor})`} />\n </StyledArrow>\n ),\n [onNext, disabled, isFilled],\n );\n\n const handleScroll = useCallback((event: React.UIEvent<HTMLElement>): void => {\n event.stopPropagation();\n const maxScrollLeft = event.currentTarget.scrollWidth - event.currentTarget.clientWidth;\n const scrollLeft = Math.round(event.currentTarget.scrollLeft);\n\n setFirstItemVisible(scrollLeft <= 0);\n setLastItemVisible(scrollLeft >= maxScrollLeft);\n }, []);\n\n const onKeyDown = useCallback(\n (event: KeyboardEvent<HTMLDivElement>) => {\n if (index === undefined) {\n return;\n }\n\n const minIndex = 0;\n const maxIndex = refs.items.length - 1;\n let nextIndex: number;\n\n switch (event.keyCode) {\n case Keys.end:\n nextIndex = maxIndex;\n break;\n case Keys.left:\n nextIndex = index > minIndex ? index - 1 : index;\n break;\n case Keys.right:\n nextIndex = index < maxIndex ? index + 1 : index;\n break;\n case Keys.home:\n nextIndex = minIndex;\n break;\n default:\n return;\n }\n\n if (nextIndex !== index) {\n event.preventDefault();\n refs.items[nextIndex].current?.focus();\n refs.items[nextIndex].current?.scrollIntoView({\n block: 'center',\n inline: 'center',\n behavior: 'smooth',\n });\n }\n },\n [index],\n );\n\n useEffect(() => {\n setLastItemVisible(scrollRef.current?.scrollWidth === scrollRef.current?.clientWidth);\n }, []);\n\n // Этот хук компенсирует появление левой стрелки при прокрутке\n useEffect(() => {\n if (firstItemVisible || !scrollRef.current || !leftArrowRef.current) {\n return;\n }\n\n scrollRef.current.scrollTo({\n left: Math.round(scrollRef.current.scrollLeft + leftArrowRef.current.clientWidth),\n });\n }, [firstItemVisible]);\n\n return (\n <TabsContext.Provider value={refs}>\n <Root\n view={view}\n role=\"tablist\"\n size={size}\n pilled={pilled}\n id={tabsId}\n ref={outerRef}\n disabled={disabled}\n className={cx(pilledClass, stretchClass, hasLeftArrowClass, hasRightArrowClass, className)}\n onKeyDown={onKeyDown}\n {...rest}\n >\n {!firstItemVisible && PreviousButton}\n <StyledContentWrapper\n className={cx(clipScrollClass, clipShowAllClass)}\n ref={scrollRef as MutableRefObject<HTMLDivElement | null>}\n onScroll={handleScroll}\n >\n <StyledContent ref={trackRef as MutableRefObject<HTMLDivElement | null>}>\n {children}\n </StyledContent>\n </StyledContentWrapper>\n {!lastItemVisible && NextButton}\n </Root>\n </TabsContext.Provider>\n );\n });\n\nexport const tabsConfig = {\n name: 'Tabs',\n tag: 'div',\n layout: tabsRoot,\n base,\n variations: {\n size: {\n css: sizeCSS,\n },\n view: {\n css: viewCSS,\n },\n disabled: {\n css: disabledCSS,\n attrs: true,\n },\n stretch: {\n css: stretchCSS,\n attrs: true,\n },\n pilled: {\n css: pilledCSS,\n },\n },\n defaults: {\n view: 'clear',\n size: 'xs',\n },\n};\n"],"names":["Keys","tabsRoot","Root","forwardRef","props","outerRef","id","_props$stretch","stretch","_props$disabled","disabled","_props$clip","clip","size","view","children","_props$pilled","pilled","index","className","rest","_objectWithoutProperties","_excluded","_useState","useState","_useState2","_slicedToArray","firstItemVisible","setFirstItemVisible","_useState3","_useState4","lastItemVisible","setLastItemVisible","refs","useMemo","TabItemRefs","uniqId","safeUseId","tabsId","isFilled","pilledAttr","pilledClass","classes","tabsPilled","undefined","stretchClass","tabsStretch","hasLeftArrowClass","tabsHasLeftArrow","hasRightArrowClass","tabsHasRightArrow","clipScrollClass","tabsClipScroll","clipShowAllClass","tabsClipShowAll","scrollRef","useRef","trackRef","leftArrowRef","onPrev","useCallback","_firstOverflowingTab$","current","scrollLeft","Math","round","firstOverflowingTab","items","slice","reverse","find","item","offsetLeft","tabStartX","scrollIntoView","block","inline","onNext","_lastOverflowingTab$c","scrollRight","clientWidth","lastOverflowingTab","tabEndX","offsetWidth","PreviousButton","React","createElement","StyledArrow","type","onClick","tabIndex","ref","isLeftArrow","IconDisclosureLeftCentered","color","concat","tokens","arrowColor","NextButton","IconDisclosureRightCentered","handleScroll","event","stopPropagation","maxScrollLeft","currentTarget","scrollWidth","onKeyDown","minIndex","maxIndex","length","nextIndex","keyCode","end","left","right","home","_refs$items$nextIndex","_refs$items$nextIndex2","preventDefault","focus","behavior","useEffect","_scrollRef$current","_scrollRef$current2","scrollTo","TabsContext","Provider","value","_extends","role","cx","StyledContentWrapper","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EAAA,CAACO,gBAAgB,IAAIyD,cAAc,eACpCC,KAAA,CAAAC,aAAA,CAAC6C,oBAAoB,EAAA;AACjBhH,MAAAA,SAAS,EAAE+G,EAAE,CAAC/E,eAAe,EAAEE,gBAAgB,CAAE;AACjDsC,MAAAA,GAAG,EAAEpC,SAAqD;AAC1D6E,MAAAA,QAAQ,EAAEhC,YAAAA;AAAa,KAAA,eAEvBf,KAAA,CAAAC,aAAA,CAAC+C,aAAa,EAAA;AAAC1C,MAAAA,GAAG,EAAElC,QAAAA;KACf1C,EAAAA,QACU,CACG,CAAC,EACtB,CAACgB,eAAe,IAAImE,UACnB,CACY,CAAC,CAAA;AAE/B,GAAC,CAAC,CAAA;AAAA,EAAA;AAEC,IAAMoC,UAAU,GAAG;AACtBC,EAAAA,IAAI,EAAE,MAAM;AACZC,EAAAA,GAAG,EAAE,KAAK;AACVC,EAAAA,MAAM,EAAExI,QAAQ;AAChByI,EAAAA,IAAI,EAAJA,IAAI;AACJC,EAAAA,UAAU,EAAE;AACR9H,IAAAA,IAAI,EAAE;AACF+H,MAAAA,GAAG,EAAEC,MAAAA;KACR;AACD/H,IAAAA,IAAI,EAAE;AACF8H,MAAAA,GAAG,EAAEE,MAAAA;KACR;AACDpI,IAAAA,QAAQ,EAAE;AACNkI,MAAAA,GAAG,EAAEG,MAAW;AAChBC,MAAAA,KAAK,EAAE,IAAA;KACV;AACDxI,IAAAA,OAAO,EAAE;AACLoI,MAAAA,GAAG,EAAEK,MAAU;AACfD,MAAAA,KAAK,EAAE,IAAA;KACV;AACD/H,IAAAA,MAAM,EAAE;AACJ2H,MAAAA,GAAG,EAAEM,MAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACNrI,IAAAA,IAAI,EAAE,OAAO;AACbD,IAAAA,IAAI,EAAE,IAAA;AACV,GAAA;AACJ;;;;"}
@@ -0,0 +1,18 @@
1
+ import { extends as _extends } from '../../../_virtual/_rollupPluginBabelHelpers.js';
2
+ import React from 'react';
3
+
4
+ var _path;
5
+ var DisclosureDown = function DisclosureDown(props) {
6
+ return /*#__PURE__*/React.createElement("svg", _extends({
7
+ width: "100%",
8
+ viewBox: "0 0 24 24",
9
+ fill: "none"
10
+ }, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
11
+ d: "M17.78 18.21C17.48 17.92 17.01 17.92 16.71 18.21L12.75 22.18L8.78 18.21C8.48 17.92 8.01 17.92 7.71 18.21C7.42 18.51 7.42 18.98 7.71 19.28L12.75 24.31L17.78 19.28C18.07 18.98 18.07 18.51 17.78 18.21Z",
12
+ fillRule: "evenodd",
13
+ fill: "currentColor"
14
+ })));
15
+ };
16
+
17
+ export { DisclosureDown };
18
+ //# sourceMappingURL=DisclosureDown.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DisclosureDown.js","sources":["../../../../src/components/_Icon/Icon.assets/DisclosureDown.tsx"],"sourcesContent":["import React from 'react';\n\nimport { IconProps } from '../IconRoot';\n\nexport const DisclosureDown: React.FC<IconProps> = (props) => {\n return (\n <svg width=\"100%\" viewBox=\"0 0 24 24\" fill=\"none\" {...props}>\n <path\n d=\"M17.78 18.21C17.48 17.92 17.01 17.92 16.71 18.21L12.75 22.18L8.78 18.21C8.48 17.92 8.01 17.92 7.71 18.21C7.42 18.51 7.42 18.98 7.71 19.28L12.75 24.31L17.78 19.28C18.07 18.98 18.07 18.51 17.78 18.21Z\"\n fillRule=\"evenodd\"\n fill=\"currentColor\"\n />\n </svg>\n );\n};\n"],"names":["DisclosureDown","props","React","createElement","_extends","width","viewBox","fill","_path","d","fillRule"],"mappings":";;;;IAIaA,cAAmC,GAAG,SAAtCA,cAAmCA,CAAIC,KAAK,EAAK;AAC1D,EAAA,oBACIC,KAAA,CAAAC,aAAA,CAAA,KAAA,EAAAC,QAAA,CAAA;AAAKC,IAAAA,KAAK,EAAC,MAAM;AAACC,IAAAA,OAAO,EAAC,WAAW;AAACC,IAAAA,IAAI,EAAC,MAAA;GAAWN,EAAAA,KAAK,GAAAO,KAAA,KAAAA,KAAA,gBACvDN,KAAA,CAAAC,aAAA,CAAA,MAAA,EAAA;AACIM,IAAAA,CAAC,EAAC,wMAAwM;AAC1MC,IAAAA,QAAQ,EAAC,SAAS;AAClBH,IAAAA,IAAI,EAAC,cAAA;GACR,CAAC,CACD,CAAC,CAAA;AAEd;;;;"}
@@ -8,10 +8,9 @@ var DisclosureLeft = function DisclosureLeft(props) {
8
8
  viewBox: "0 0 24 24",
9
9
  fill: "none"
10
10
  }, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
11
- fillRule: "evenodd",
12
- clipRule: "evenodd",
13
- d: "M14.5309 6.96967C14.8238 7.26256 14.8238 7.73744 14.5309 8.03033L10.5613 12L14.5309 15.9697C14.8238 16.2626 14.8238 16.7374 14.5309 17.0303C14.238 17.3232 13.7632 17.3232 13.4703 17.0303L8.43994 12L13.4703 6.96967C13.7632 6.67678 14.238 6.67678 14.5309 6.96967Z",
14
- fill: "currentColor"
11
+ d: "M6.09 6.96c.29.3.29.77 0 1.07L2.12 12l3.97 3.96c.29.3.29.77 0 1.07-.3.29-.77.29-1.06 0L0 12l5.03-5.04c.29-.29.76-.29 1.06 0Z",
12
+ fill: "currentColor",
13
+ fillRule: "evenodd"
15
14
  })));
16
15
  };
17
16
 
@@ -1 +1 @@
1
- {"version":3,"file":"DisclosureLeft.js","sources":["../../../../src/components/_Icon/Icon.assets/DisclosureLeft.tsx"],"sourcesContent":["import React from 'react';\n\nimport { IconProps } from '../IconRoot';\n\nexport const DisclosureLeft: React.FC<IconProps> = (props) => (\n <svg width=\"100%\" viewBox=\"0 0 24 24\" fill=\"none\" {...props}>\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M14.5309 6.96967C14.8238 7.26256 14.8238 7.73744 14.5309 8.03033L10.5613 12L14.5309 15.9697C14.8238 16.2626 14.8238 16.7374 14.5309 17.0303C14.238 17.3232 13.7632 17.3232 13.4703 17.0303L8.43994 12L13.4703 6.96967C13.7632 6.67678 14.238 6.67678 14.5309 6.96967Z\"\n fill=\"currentColor\"\n />\n </svg>\n);\n"],"names":["DisclosureLeft","props","React","createElement","_extends","width","viewBox","fill","_path","fillRule","clipRule","d"],"mappings":";;;;IAIaA,cAAmC,GAAG,SAAtCA,cAAmCA,CAAIC,KAAK,EAAA;AAAA,EAAA,oBACrDC,KAAA,CAAAC,aAAA,CAAA,KAAA,EAAAC,QAAA,CAAA;AAAKC,IAAAA,KAAK,EAAC,MAAM;AAACC,IAAAA,OAAO,EAAC,WAAW;AAACC,IAAAA,IAAI,EAAC,MAAA;GAAWN,EAAAA,KAAK,GAAAO,KAAA,KAAAA,KAAA,gBACvDN,KAAA,CAAAC,aAAA,CAAA,MAAA,EAAA;AACIM,IAAAA,QAAQ,EAAC,SAAS;AAClBC,IAAAA,QAAQ,EAAC,SAAS;AAClBC,IAAAA,CAAC,EAAC,uQAAuQ;AACzQJ,IAAAA,IAAI,EAAC,cAAA;GACR,CAAC,CACD,CAAC,CAAA;AAAA;;;;"}
1
+ {"version":3,"file":"DisclosureLeft.js","sources":["../../../../src/components/_Icon/Icon.assets/DisclosureLeft.tsx"],"sourcesContent":["import React from 'react';\n\nimport { IconProps } from '../IconRoot';\n\nexport const DisclosureLeft: React.FC<IconProps> = (props) => (\n <svg width=\"100%\" viewBox=\"0 0 24 24\" fill=\"none\" {...props}>\n <path\n d=\"M6.09 6.96c.29.3.29.77 0 1.07L2.12 12l3.97 3.96c.29.3.29.77 0 1.07-.3.29-.77.29-1.06 0L0 12l5.03-5.04c.29-.29.76-.29 1.06 0Z\"\n fill=\"currentColor\"\n fillRule=\"evenodd\"\n />\n </svg>\n);\n"],"names":["DisclosureLeft","props","React","createElement","_extends","width","viewBox","fill","_path","d","fillRule"],"mappings":";;;;IAIaA,cAAmC,GAAG,SAAtCA,cAAmCA,CAAIC,KAAK,EAAA;AAAA,EAAA,oBACrDC,KAAA,CAAAC,aAAA,CAAA,KAAA,EAAAC,QAAA,CAAA;AAAKC,IAAAA,KAAK,EAAC,MAAM;AAACC,IAAAA,OAAO,EAAC,WAAW;AAACC,IAAAA,IAAI,EAAC,MAAA;GAAWN,EAAAA,KAAK,GAAAO,KAAA,KAAAA,KAAA,gBACvDN,KAAA,CAAAC,aAAA,CAAA,MAAA,EAAA;AACIM,IAAAA,CAAC,EAAC,8HAA8H;AAChIF,IAAAA,IAAI,EAAC,cAAc;AACnBG,IAAAA,QAAQ,EAAC,SAAA;GACZ,CAAC,CACD,CAAC,CAAA;AAAA;;;;"}
@@ -0,0 +1,19 @@
1
+ import { extends as _extends } from '../../../_virtual/_rollupPluginBabelHelpers.js';
2
+ import React from 'react';
3
+
4
+ var _path;
5
+ var DisclosureLeftCentered = function DisclosureLeftCentered(props) {
6
+ return /*#__PURE__*/React.createElement("svg", _extends({
7
+ width: "100%",
8
+ viewBox: "0 0 24 24",
9
+ fill: "none"
10
+ }, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
11
+ fillRule: "evenodd",
12
+ clipRule: "evenodd",
13
+ d: "M14.5309 6.96967C14.8238 7.26256 14.8238 7.73744 14.5309 8.03033L10.5613 12L14.5309 15.9697C14.8238 16.2626 14.8238 16.7374 14.5309 17.0303C14.238 17.3232 13.7632 17.3232 13.4703 17.0303L8.43994 12L13.4703 6.96967C13.7632 6.67678 14.238 6.67678 14.5309 6.96967Z",
14
+ fill: "currentColor"
15
+ })));
16
+ };
17
+
18
+ export { DisclosureLeftCentered };
19
+ //# sourceMappingURL=DisclosureLeftCentered.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DisclosureLeftCentered.js","sources":["../../../../src/components/_Icon/Icon.assets/DisclosureLeftCentered.tsx"],"sourcesContent":["import React from 'react';\n\nimport { IconProps } from '../IconRoot';\n\nexport const DisclosureLeftCentered: React.FC<IconProps> = (props) => (\n <svg width=\"100%\" viewBox=\"0 0 24 24\" fill=\"none\" {...props}>\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M14.5309 6.96967C14.8238 7.26256 14.8238 7.73744 14.5309 8.03033L10.5613 12L14.5309 15.9697C14.8238 16.2626 14.8238 16.7374 14.5309 17.0303C14.238 17.3232 13.7632 17.3232 13.4703 17.0303L8.43994 12L13.4703 6.96967C13.7632 6.67678 14.238 6.67678 14.5309 6.96967Z\"\n fill=\"currentColor\"\n />\n </svg>\n);\n"],"names":["DisclosureLeftCentered","props","React","createElement","_extends","width","viewBox","fill","_path","fillRule","clipRule","d"],"mappings":";;;;IAIaA,sBAA2C,GAAG,SAA9CA,sBAA2CA,CAAIC,KAAK,EAAA;AAAA,EAAA,oBAC7DC,KAAA,CAAAC,aAAA,CAAA,KAAA,EAAAC,QAAA,CAAA;AAAKC,IAAAA,KAAK,EAAC,MAAM;AAACC,IAAAA,OAAO,EAAC,WAAW;AAACC,IAAAA,IAAI,EAAC,MAAA;GAAWN,EAAAA,KAAK,GAAAO,KAAA,KAAAA,KAAA,gBACvDN,KAAA,CAAAC,aAAA,CAAA,MAAA,EAAA;AACIM,IAAAA,QAAQ,EAAC,SAAS;AAClBC,IAAAA,QAAQ,EAAC,SAAS;AAClBC,IAAAA,CAAC,EAAC,uQAAuQ;AACzQJ,IAAAA,IAAI,EAAC,cAAA;GACR,CAAC,CACD,CAAC,CAAA;AAAA;;;;"}
@@ -8,10 +8,9 @@ var DisclosureRight = function DisclosureRight(props) {
8
8
  viewBox: "0 0 24 24",
9
9
  fill: "none"
10
10
  }, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
11
- fillRule: "evenodd",
12
- clipRule: "evenodd",
13
- d: "M9.46967 6.96967C9.17678 7.26256 9.17678 7.73744 9.46967 8.03033L13.4393 12L9.46967 15.9697C9.17678 16.2626 9.17678 16.7374 9.46967 17.0303C9.76256 17.3232 10.2374 17.3232 10.5303 17.0303L15.5607 12L10.5303 6.96967C10.2374 6.67678 9.76256 6.67678 9.46967 6.96967Z",
14
- fill: "currentColor"
11
+ d: "M18.21 6.96c-.29.3-.29.77 0 1.07L22.18 12l-3.97 3.96c-.29.3-.29.77 0 1.07.3.29.77.29 1.07 0L24.31 12l-5.03-5.04a.767.767 0 0 0-1.07 0Z",
12
+ fill: "currentColor",
13
+ fillRule: "evenodd"
15
14
  })));
16
15
  };
17
16
 
@@ -1 +1 @@
1
- {"version":3,"file":"DisclosureRight.js","sources":["../../../../src/components/_Icon/Icon.assets/DisclosureRight.tsx"],"sourcesContent":["import React from 'react';\n\nimport { IconProps } from '../IconRoot';\n\nexport const DisclosureRight: React.FC<IconProps> = (props) => {\n return (\n <svg width=\"100%\" viewBox=\"0 0 24 24\" fill=\"none\" {...props}>\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M9.46967 6.96967C9.17678 7.26256 9.17678 7.73744 9.46967 8.03033L13.4393 12L9.46967 15.9697C9.17678 16.2626 9.17678 16.7374 9.46967 17.0303C9.76256 17.3232 10.2374 17.3232 10.5303 17.0303L15.5607 12L10.5303 6.96967C10.2374 6.67678 9.76256 6.67678 9.46967 6.96967Z\"\n fill=\"currentColor\"\n />\n </svg>\n );\n};\n"],"names":["DisclosureRight","props","React","createElement","_extends","width","viewBox","fill","_path","fillRule","clipRule","d"],"mappings":";;;;IAIaA,eAAoC,GAAG,SAAvCA,eAAoCA,CAAIC,KAAK,EAAK;AAC3D,EAAA,oBACIC,KAAA,CAAAC,aAAA,CAAA,KAAA,EAAAC,QAAA,CAAA;AAAKC,IAAAA,KAAK,EAAC,MAAM;AAACC,IAAAA,OAAO,EAAC,WAAW;AAACC,IAAAA,IAAI,EAAC,MAAA;GAAWN,EAAAA,KAAK,GAAAO,KAAA,KAAAA,KAAA,gBACvDN,KAAA,CAAAC,aAAA,CAAA,MAAA,EAAA;AACIM,IAAAA,QAAQ,EAAC,SAAS;AAClBC,IAAAA,QAAQ,EAAC,SAAS;AAClBC,IAAAA,CAAC,EAAC,yQAAyQ;AAC3QJ,IAAAA,IAAI,EAAC,cAAA;GACR,CAAC,CACD,CAAC,CAAA;AAEd;;;;"}
1
+ {"version":3,"file":"DisclosureRight.js","sources":["../../../../src/components/_Icon/Icon.assets/DisclosureRight.tsx"],"sourcesContent":["import React from 'react';\n\nimport { IconProps } from '../IconRoot';\n\nexport const DisclosureRight: React.FC<IconProps> = (props) => {\n return (\n <svg width=\"100%\" viewBox=\"0 0 24 24\" fill=\"none\" {...props}>\n <path\n d=\"M18.21 6.96c-.29.3-.29.77 0 1.07L22.18 12l-3.97 3.96c-.29.3-.29.77 0 1.07.3.29.77.29 1.07 0L24.31 12l-5.03-5.04a.767.767 0 0 0-1.07 0Z\"\n fill=\"currentColor\"\n fillRule=\"evenodd\"\n />\n </svg>\n );\n};\n"],"names":["DisclosureRight","props","React","createElement","_extends","width","viewBox","fill","_path","d","fillRule"],"mappings":";;;;IAIaA,eAAoC,GAAG,SAAvCA,eAAoCA,CAAIC,KAAK,EAAK;AAC3D,EAAA,oBACIC,KAAA,CAAAC,aAAA,CAAA,KAAA,EAAAC,QAAA,CAAA;AAAKC,IAAAA,KAAK,EAAC,MAAM;AAACC,IAAAA,OAAO,EAAC,WAAW;AAACC,IAAAA,IAAI,EAAC,MAAA;GAAWN,EAAAA,KAAK,GAAAO,KAAA,KAAAA,KAAA,gBACvDN,KAAA,CAAAC,aAAA,CAAA,MAAA,EAAA;AACIM,IAAAA,CAAC,EAAC,wIAAwI;AAC1IF,IAAAA,IAAI,EAAC,cAAc;AACnBG,IAAAA,QAAQ,EAAC,SAAA;GACZ,CAAC,CACD,CAAC,CAAA;AAEd;;;;"}
@@ -0,0 +1,18 @@
1
+ import { extends as _extends } from '../../../_virtual/_rollupPluginBabelHelpers.js';
2
+ import React from 'react';
3
+
4
+ var _path;
5
+ var DisclosureUp = function DisclosureUp(props) {
6
+ return /*#__PURE__*/React.createElement("svg", _extends({
7
+ width: "100%",
8
+ viewBox: "0 0 24 24",
9
+ fill: "none"
10
+ }, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
11
+ d: "M17.18 8.18C16.89 8.47 16.41 8.47 16.12 8.18L12.15 4.21L8.18 8.18C7.89 8.47 7.41 8.47 7.12 8.18C6.83 7.89 6.83 7.41 7.12 7.12L12.15 2.09L17.18 7.12C17.47 7.41 17.47 7.89 17.18 8.18Z",
12
+ fillRule: "evenodd",
13
+ fill: "currentColor"
14
+ })));
15
+ };
16
+
17
+ export { DisclosureUp };
18
+ //# sourceMappingURL=DisclosureUp.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DisclosureUp.js","sources":["../../../../src/components/_Icon/Icon.assets/DisclosureUp.tsx"],"sourcesContent":["import React from 'react';\n\nimport { IconProps } from '../IconRoot';\n\nexport const DisclosureUp: React.FC<IconProps> = (props) => {\n return (\n <svg width=\"100%\" viewBox=\"0 0 24 24\" fill=\"none\" {...props}>\n <path\n d=\"M17.18 8.18C16.89 8.47 16.41 8.47 16.12 8.18L12.15 4.21L8.18 8.18C7.89 8.47 7.41 8.47 7.12 8.18C6.83 7.89 6.83 7.41 7.12 7.12L12.15 2.09L17.18 7.12C17.47 7.41 17.47 7.89 17.18 8.18Z\"\n fillRule=\"evenodd\"\n fill=\"currentColor\"\n />\n </svg>\n );\n};\n"],"names":["DisclosureUp","props","React","createElement","_extends","width","viewBox","fill","_path","d","fillRule"],"mappings":";;;;IAIaA,YAAiC,GAAG,SAApCA,YAAiCA,CAAIC,KAAK,EAAK;AACxD,EAAA,oBACIC,KAAA,CAAAC,aAAA,CAAA,KAAA,EAAAC,QAAA,CAAA;AAAKC,IAAAA,KAAK,EAAC,MAAM;AAACC,IAAAA,OAAO,EAAC,WAAW;AAACC,IAAAA,IAAI,EAAC,MAAA;GAAWN,EAAAA,KAAK,GAAAO,KAAA,KAAAA,KAAA,gBACvDN,KAAA,CAAAC,aAAA,CAAA,MAAA,EAAA;AACIM,IAAAA,CAAC,EAAC,uLAAuL;AACzLC,IAAAA,QAAQ,EAAC,SAAS;AAClBH,IAAAA,IAAI,EAAC,cAAA;GACR,CAAC,CACD,CAAC,CAAA;AAEd;;;;"}
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ import { DisclosureDown } from '../Icon.assets/DisclosureDown.js';
3
+ import { IconRoot } from '../IconRoot.js';
4
+
5
+ var IconDisclosureDown = function IconDisclosureDown(_ref) {
6
+ var _ref$size = _ref.size,
7
+ size = _ref$size === void 0 ? 's' : _ref$size,
8
+ color = _ref.color,
9
+ className = _ref.className;
10
+ return /*#__PURE__*/React.createElement(IconRoot, {
11
+ className: className,
12
+ size: size,
13
+ color: color,
14
+ icon: DisclosureDown
15
+ });
16
+ };
17
+
18
+ export { IconDisclosureDown };
19
+ //# sourceMappingURL=IconDisclosureDown.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconDisclosureDown.js","sources":["../../../../src/components/_Icon/Icons/IconDisclosureDown.tsx"],"sourcesContent":["import React from 'react';\n\nimport { DisclosureDown } from '../Icon.assets/DisclosureDown';\nimport { IconRoot, IconProps } from '../IconRoot';\n\nexport const IconDisclosureDown: React.FC<IconProps> = ({ size = 's', color, className }) => {\n return <IconRoot className={className} size={size} color={color} icon={DisclosureDown} />;\n};\n"],"names":["IconDisclosureDown","_ref","_ref$size","size","color","className","React","createElement","IconRoot","icon","DisclosureDown"],"mappings":";;;;IAKaA,kBAAuC,GAAG,SAA1CA,kBAAuCA,CAAAC,IAAA,EAAyC;AAAA,EAAA,IAAAC,SAAA,GAAAD,IAAA,CAAnCE,IAAI;AAAJA,IAAAA,IAAI,GAAAD,SAAA,KAAG,KAAA,CAAA,GAAA,GAAG,GAAAA,SAAA;IAAEE,KAAK,GAAAH,IAAA,CAALG,KAAK;IAAEC,SAAS,GAAAJ,IAAA,CAATI,SAAS,CAAA;AAClF,EAAA,oBAAOC,KAAA,CAAAC,aAAA,CAACC,QAAQ,EAAA;AAACH,IAAAA,SAAS,EAAEA,SAAU;AAACF,IAAAA,IAAI,EAAEA,IAAK;AAACC,IAAAA,KAAK,EAAEA,KAAM;AAACK,IAAAA,IAAI,EAAEC,cAAAA;AAAe,GAAE,CAAC,CAAA;AAC7F;;;;"}
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ import { IconRoot } from '../IconRoot.js';
3
+ import { DisclosureLeftCentered } from '../Icon.assets/DisclosureLeftCentered.js';
4
+
5
+ var IconDisclosureLeftCentered = function IconDisclosureLeftCentered(_ref) {
6
+ var _ref$size = _ref.size,
7
+ size = _ref$size === void 0 ? 's' : _ref$size,
8
+ color = _ref.color,
9
+ className = _ref.className;
10
+ return /*#__PURE__*/React.createElement(IconRoot, {
11
+ className: className,
12
+ size: size,
13
+ color: color,
14
+ icon: DisclosureLeftCentered
15
+ });
16
+ };
17
+
18
+ export { IconDisclosureLeftCentered };
19
+ //# sourceMappingURL=IconDisclosureLeftCentered.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconDisclosureLeftCentered.js","sources":["../../../../src/components/_Icon/Icons/IconDisclosureLeftCentered.tsx"],"sourcesContent":["import React from 'react';\n\nimport { IconRoot, IconProps } from '../IconRoot';\nimport { DisclosureLeftCentered } from '../Icon.assets/DisclosureLeftCentered';\n\nexport const IconDisclosureLeftCentered: React.FC<IconProps> = ({ size = 's', color, className }) => {\n return <IconRoot className={className} size={size} color={color} icon={DisclosureLeftCentered} />;\n};\n"],"names":["IconDisclosureLeftCentered","_ref","_ref$size","size","color","className","React","createElement","IconRoot","icon","DisclosureLeftCentered"],"mappings":";;;;IAKaA,0BAA+C,GAAG,SAAlDA,0BAA+CA,CAAAC,IAAA,EAAyC;AAAA,EAAA,IAAAC,SAAA,GAAAD,IAAA,CAAnCE,IAAI;AAAJA,IAAAA,IAAI,GAAAD,SAAA,KAAG,KAAA,CAAA,GAAA,GAAG,GAAAA,SAAA;IAAEE,KAAK,GAAAH,IAAA,CAALG,KAAK;IAAEC,SAAS,GAAAJ,IAAA,CAATI,SAAS,CAAA;AAC1F,EAAA,oBAAOC,KAAA,CAAAC,aAAA,CAACC,QAAQ,EAAA;AAACH,IAAAA,SAAS,EAAEA,SAAU;AAACF,IAAAA,IAAI,EAAEA,IAAK;AAACC,IAAAA,KAAK,EAAEA,KAAM;AAACK,IAAAA,IAAI,EAAEC,sBAAAA;AAAuB,GAAE,CAAC,CAAA;AACrG;;;;"}
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ import { DisclosureUp } from '../Icon.assets/DisclosureUp.js';
3
+ import { IconRoot } from '../IconRoot.js';
4
+
5
+ var IconDisclosureUp = function IconDisclosureUp(_ref) {
6
+ var _ref$size = _ref.size,
7
+ size = _ref$size === void 0 ? 's' : _ref$size,
8
+ color = _ref.color,
9
+ className = _ref.className;
10
+ return /*#__PURE__*/React.createElement(IconRoot, {
11
+ className: className,
12
+ size: size,
13
+ color: color,
14
+ icon: DisclosureUp
15
+ });
16
+ };
17
+
18
+ export { IconDisclosureUp };
19
+ //# sourceMappingURL=IconDisclosureUp.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconDisclosureUp.js","sources":["../../../../src/components/_Icon/Icons/IconDisclosureUp.tsx"],"sourcesContent":["import React from 'react';\n\nimport { DisclosureUp } from '../Icon.assets/DisclosureUp';\nimport { IconRoot, IconProps } from '../IconRoot';\n\nexport const IconDisclosureUp: React.FC<IconProps> = ({ size = 's', color, className }) => {\n return <IconRoot className={className} size={size} color={color} icon={DisclosureUp} />;\n};\n"],"names":["IconDisclosureUp","_ref","_ref$size","size","color","className","React","createElement","IconRoot","icon","DisclosureUp"],"mappings":";;;;IAKaA,gBAAqC,GAAG,SAAxCA,gBAAqCA,CAAAC,IAAA,EAAyC;AAAA,EAAA,IAAAC,SAAA,GAAAD,IAAA,CAAnCE,IAAI;AAAJA,IAAAA,IAAI,GAAAD,SAAA,KAAG,KAAA,CAAA,GAAA,GAAG,GAAAA,SAAA;IAAEE,KAAK,GAAAH,IAAA,CAALG,KAAK;IAAEC,SAAS,GAAAJ,IAAA,CAATI,SAAS,CAAA;AAChF,EAAA,oBAAOC,KAAA,CAAAC,aAAA,CAACC,QAAQ,EAAA;AAACH,IAAAA,SAAS,EAAEA,SAAU;AAACF,IAAAA,IAAI,EAAEA,IAAK;AAACC,IAAAA,KAAK,EAAEA,KAAM;AAACK,IAAAA,IAAI,EAAEC,YAAAA;AAAa,GAAE,CAAC,CAAA;AAC3F;;;;"}
package/es/index.css CHANGED
@@ -348,21 +348,31 @@
348
348
 
349
349
  .base_74wj10_b1bb2stb__3b76a172.base_74wj10_segmentStretched__3b76a172{width:100%;}.base_74wj10_b1bb2stb__3b76a172.base_74wj10_segmentStretched__3b76a172 .base_74wj10_spuzt9m__3b76a172,.base_74wj10_b1bb2stb__3b76a172.base_74wj10_segmentStretched__3b76a172 .base_74wj10_sin9wo2__3b76a172,.base_74wj10_b1bb2stb__3b76a172.base_74wj10_segmentStretched__3b76a172 .base_74wj10_sin9wo2__3b76a172 > button{width:100%;}
350
350
 
351
- .SegmentGroup_styles_m9i9p0_b2sori2__a29c0677{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;}
352
- .SegmentGroup_styles_m9i9p0_sin9wo2__a29c0677{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}
353
- .SegmentGroup_styles_m9i9p0_spuzt9m__a29c0677{position:relative;height:100%;margin:0;padding:0.25rem;overflow-x:auto;overflow-y:hidden;-webkit-scroll-behavior:smooth;-moz-scroll-behavior:smooth;-ms-scroll-behavior:smooth;scroll-behavior:smooth;-webkit-scroll-snap-type:x mandatory;-moz-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;}.SegmentGroup_styles_m9i9p0_spuzt9m__a29c0677::-webkit-scrollbar{display:none;}
354
- .SegmentGroup_styles_m9i9p0_s1qf4oye__a29c0677{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;cursor:pointer;border:none;background-color:transparent;padding:0;outline:none;position:relative;}.SegmentGroup_styles_m9i9p0_s1qf4oye__a29c0677::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;}.SegmentGroup_styles_m9i9p0_s1qf4oye__a29c0677.SegmentGroup_styles_m9i9p0_focusVisible__a29c0677:focus::before,.SegmentGroup_styles_m9i9p0_s1qf4oye__a29c0677[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.063rem var(--plasma-segment-outline-focus-color);}.SegmentGroup_styles_m9i9p0_s1qf4oye__a29c0677[disabled]{cursor:not-allowed;}
351
+ .base_1ejecy9_bb2d6sr__61b9631c.base_1ejecy9_segmentVertical__61b9631c{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}.base_1ejecy9_bb2d6sr__61b9631c.base_1ejecy9_segmentVertical__61b9631c .base_1ejecy9_spuzt9m__61b9631c{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}.base_1ejecy9_bb2d6sr__61b9631c.base_1ejecy9_segmentVertical__61b9631c .base_1ejecy9_sin9wo2__61b9631c{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}
352
+
353
+ .SegmentGroup_styles_u742r1_b2sori2__bd84399a{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;--plasma_private-outline-radius:var(--plasma-segment-group-border-radius);border-radius:var(--plasma-segment-group-border-radius);}
354
+ .SegmentGroup_styles_u742r1_sin9wo2__bd84399a{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}
355
+ .SegmentGroup_styles_u742r1_spuzt9m__bd84399a{position:relative;height:100%;width:100%;padding:0.125rem;box-sizing:content-box;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;}.SegmentGroup_styles_u742r1_spuzt9m__bd84399a.SegmentGroup_styles_u742r1_segmentGroupClipScroll__bd84399a{overflow:scroll;-webkit-scroll-padding:0.25rem;-moz-scroll-padding:0.25rem;-ms-scroll-padding:0.25rem;scroll-padding:0.25rem;overscroll-behavior:contain;-webkit-scrollbar-width:none;-moz-scrollbar-width:none;-ms-scrollbar-width:none;scrollbar-width:none;}.SegmentGroup_styles_u742r1_spuzt9m__bd84399a.SegmentGroup_styles_u742r1_segmentGroupClipScroll__bd84399a::-webkit-scrollbar{display:none;}.SegmentGroup_styles_u742r1_spuzt9m__bd84399a.SegmentGroup_styles_u742r1_segmentGroupClipShowAll__bd84399a{overflow:visible;}
356
+ .SegmentGroup_styles_u742r1_s1qf4oye__bd84399a{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;cursor:pointer;border:none;background-color:transparent;outline:none;position:relative;}.SegmentGroup_styles_u742r1_s1qf4oye__bd84399a::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;}.SegmentGroup_styles_u742r1_s1qf4oye__bd84399a.SegmentGroup_styles_u742r1_focusVisible__bd84399a:focus::before,.SegmentGroup_styles_u742r1_s1qf4oye__bd84399a[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.063rem var(--plasma-segment-outline-focus-color);}.SegmentGroup_styles_u742r1_s1qf4oye__bd84399a[disabled]{cursor:not-allowed;}
357
+ .SegmentGroup_styles_u742r1_s3pgccr__bd84399a.SegmentGroup_styles_u742r1_s1qf4oye__bd84399a{padding:var(--plasma-segment-group-arrow-padding);padding-right:0;margin-right:0.1875rem;margin-left:0.125rem;}
358
+ .SegmentGroup_styles_u742r1_sax6mvm__bd84399a.SegmentGroup_styles_u742r1_s1qf4oye__bd84399a{padding:var(--plasma-segment-group-arrow-padding);padding-left:0;margin-left:0.1875rem;margin-right:0.125rem;}
359
+ .SegmentGroup_styles_u742r1_s1n81rr8__bd84399a.SegmentGroup_styles_u742r1_s1qf4oye__bd84399a{padding:var(--plasma-segment-group-vertical-arrow-padding);padding-bottom:0;margin-bottom:0.1875rem;}
360
+ .SegmentGroup_styles_u742r1_s7ukuvj__bd84399a.SegmentGroup_styles_u742r1_s1qf4oye__bd84399a{padding:var(--plasma-segment-group-vertical-arrow-padding);padding-top:0;margin-top:0.1875rem;}
355
361
 
356
362
  .base_7kjuok_b1kyapt7__5060a19f{font-family:var(--plasma-segment-item-font-family);font-size:var(--plasma-segment-item-font-size);font-style:var(--plasma-segment-item-font-style);font-weight:var(--plasma-segment-item-font-weight);-webkit-letter-spacing:var(--plasma-segment-item-letter-spacing);-moz-letter-spacing:var(--plasma-segment-item-letter-spacing);-ms-letter-spacing:var(--plasma-segment-item-letter-spacing);letter-spacing:var(--plasma-segment-item-letter-spacing);line-height:var(--plasma-segment-item-lineheight);--plasma_private-outline-radius:var(--plasma-segment-item-border-radius);border-radius:var(--plasma-segment-item-border-radius);width:var(--plasma-segment-item-width);height:var(--plasma-segment-item-height);padding:var(--plasma-segment-item-padding);}
357
363
 
358
- .base_1m1u2ys_b1tykljf__1c5eb012{color:var(--plasma-segment-item-color);background-color:var(--plasma-segment-item-background-color);}.base_1m1u2ys_b1tykljf__1c5eb012:hover{color:var(--plasma-segment-item-color-hover);background-color:var(--plasma-segment-item-background-color-hover);}.base_1m1u2ys_b1tykljf__1c5eb012.base_1m1u2ys_selectedSegmentItem__1c5eb012{color:var(--plasma-segment-item-selected-color);background-color:var(--plasma-segment-item-selected-background-color);}.base_1m1u2ys_b1tykljf__1c5eb012.base_1m1u2ys_selectedSegmentItem__1c5eb012:hover{color:var(--plasma-segment-item-selected-color-hover);background-color:var(--plasma-segment-item-selected-background-color-hover);}
364
+ .base_168a47w_b1tykljf__d270d938{color:var(--plasma-segment-item-color);background-color:var(--plasma-segment-item-background-color);}.base_168a47w_b1tykljf__d270d938:hover{color:var(--plasma-segment-item-color-hover);background-color:var(--plasma-segment-item-background-color-hover);}.base_168a47w_b1tykljf__d270d938:hover .base_168a47w_rgzn5ju__d270d938{color:var(--plasma-segment-item-additional-color-hover);}.base_168a47w_b1tykljf__d270d938.base_168a47w_selectedSegmentItem__d270d938{color:var(--plasma-segment-item-selected-color);background-color:var(--plasma-segment-item-selected-background-color);}.base_168a47w_b1tykljf__d270d938.base_168a47w_selectedSegmentItem__d270d938 .base_168a47w_rgzn5ju__d270d938{color:var(--plasma-segment-item-selected-additional-color);}.base_168a47w_b1tykljf__d270d938.base_168a47w_selectedSegmentItem__d270d938:hover{color:var(--plasma-segment-item-selected-color-hover);background-color:var(--plasma-segment-item-selected-background-color-hover);}.base_168a47w_b1tykljf__d270d938.base_168a47w_selectedSegmentItem__d270d938:hover .base_168a47w_rgzn5ju__d270d938{color:var(--plasma-segment-item-selected-additional-color-hover);}
359
365
 
360
366
  .base_y6af8r_bwprat9__353907e1[disabled]{cursor:not-allowed;}.base_y6af8r_bwprat9__353907e1[disabled]:hover{color:var(--plasma-segment-item-color);background-color:var(--plasma-segment-item-background-color);}.base_y6af8r_bwprat9__353907e1[disabled].base_y6af8r_selectedSegmentItem__353907e1:hover{color:var(--plasma-segment-item-selected-color);background-color:var(--plasma-segment-item-selected-background-color);}
361
367
 
362
- .base_15s0fel_b795lc7__4501241a.base_15s0fel_segmentPilled__4501241a{--plasma_private-outline-radius:var(--plasma-segment-item-pilled-border-radius);border-radius:var(--plasma-segment-item-pilled-border-radius);}
368
+ .base_omc5u1_b795lc7__e9b122aa.base_omc5u1_segmentPilled__e9b122aa{--plasma_private-outline-radius:var(--plasma-segment-item-pilled-border-radius);border-radius:var(--plasma-segment-item-pilled-border-radius);padding:var(--plasma-segment-item-pilled-padding);}
363
369
 
364
- .SegmentItem_styles_18h1p52_bxcdyja__b7ac762c{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;-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;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;outline:none;cursor:pointer;margin-left:var(--plasma-segment-item-margin-left);-webkit-tap-highlight-color:rgba(0,0,0,0);position:relative;}.SegmentItem_styles_18h1p52_bxcdyja__b7ac762c:first-child{margin-left:0;}.SegmentItem_styles_18h1p52_bxcdyja__b7ac762c::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;}.SegmentItem_styles_18h1p52_bxcdyja__b7ac762c.SegmentItem_styles_18h1p52_focusVisible__b7ac762c:focus::before,.SegmentItem_styles_18h1p52_bxcdyja__b7ac762c[data-focus-visible-added]::before{z-index:1;outline:none;box-shadow:0 0 0 0.063rem var(--plasma-segment-outline-focus-color);}
365
- .SegmentItem_styles_18h1p52_sxjfe87__b7ac762c{display:inline-block;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
370
+ .SegmentItem_styles_f1jpip_bxcdyja__cfc991ac{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;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;outline:none;cursor:pointer;margin-left:var(--plasma-segment-item-margin-left);-webkit-tap-highlight-color:rgba(0,0,0,0);position:relative;}.SegmentItem_styles_f1jpip_bxcdyja__cfc991ac:first-child{margin-left:0;}.SegmentItem_styles_f1jpip_bxcdyja__cfc991ac::before{content:'';position:absolute;top:0.063rem;left:0.063rem;right:0.063rem;bottom:0.063rem;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;}.SegmentItem_styles_f1jpip_bxcdyja__cfc991ac.SegmentItem_styles_f1jpip_focusVisible__cfc991ac:focus::before,.SegmentItem_styles_f1jpip_bxcdyja__cfc991ac[data-focus-visible-added]::before{z-index:1;outline:none;box-shadow:0 0 0 0.063rem var(--plasma-segment-outline-focus-color);}
371
+ .SegmentItem_styles_f1jpip_sxjfe87__cfc991ac{margin-right:var(--plasma-segment-item-content-icon-margin);}
372
+ .SegmentItem_styles_f1jpip_s1gg7fed__cfc991ac{margin-left:var(--plasma-segment-item-content-icon-margin);}
373
+ .SegmentItem_styles_f1jpip_sctm1j9__cfc991ac{display:inline-block;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:var(--plasma-segment-item-content-padding);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-right:var(--sctm1j9-0);margin-left:var(--sctm1j9-1);}
374
+ .SegmentItem_styles_f1jpip_rgzn5ju__cfc991ac{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin-left:var(--plasma-segment-item-content-icon-margin);color:var(--plasma-segment-item-additional-color);}
375
+ .SegmentItem_styles_f1jpip_l1sp2ipp__cfc991ac{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin-right:var(--plasma-segment-item-content-icon-margin);color:inherit;}
366
376
 
367
377
  .base_1wf7n5i_b1x66a6y__80fc5ddb{height:var(--plasma-skeleton-line-height);}.base_1wf7n5i_b1x66a6y__80fc5ddb .base_1wf7n5i_sn3du7u__80fc5ddb{height:var(--plasma-skeleton-visible-line-height);}
368
378
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salutejs/plasma-new-hope",
3
- "version": "0.147.1-dev.0",
3
+ "version": "0.148.0-canary.1392.10919911798.0",
4
4
  "description": "Salute Design System blueprint",
5
5
  "main": "cjs/index.js",
6
6
  "module": "es/index.js",
@@ -121,5 +121,5 @@
121
121
  "react-popper": "2.3.0",
122
122
  "storeon": "3.1.5"
123
123
  },
124
- "gitHead": "f625a3cb9c5158d2a0c587b1d62e84b0bce3c795"
124
+ "gitHead": "d96a5f88bc76efdb79613ea277c6041e2b445cfd"
125
125
  }
@@ -27,6 +27,6 @@ var StyledLink = exports.StyledLink = /*#__PURE__*/(0, _styledComponents["defaul
27
27
  outlineColor: /*#__PURE__*/"var(".concat(_Breadcrumbs.tokens.breadcrumbsFocusOutlineColor, ")")
28
28
  }));
29
29
  var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["display:flex;flex-direction:row;align-items:center;gap:var(", ");color:var(", ");font-family:var(", ");font-size:var(", ");font-weight:var(", ");font-style:var(", ");letter-spacing:var(", ");line-height:var(", ");"], _Breadcrumbs.tokens.breadcrumbsGap, _Breadcrumbs.tokens.breadcrumbsColor, _Breadcrumbs.tokens.breadcrumbsFontFamily, _Breadcrumbs.tokens.breadcrumbsFontSize, _Breadcrumbs.tokens.breadcrumbsFontWeight, _Breadcrumbs.tokens.breadcrumbsFontStyle, _Breadcrumbs.tokens.breadcrumbsLetterSpacing, _Breadcrumbs.tokens.breadcrumbsLineHeight);
30
- var Separator = exports.Separator = /*#__PURE__*/(0, _styledComponents["default"])(_Icon.IconDisclosureRight).withConfig({
30
+ var Separator = exports.Separator = /*#__PURE__*/(0, _styledComponents["default"])(_Icon.IconDisclosureRightCentered).withConfig({
31
31
  componentId: "plasma-new-hope__sc-4bjoev-1"
32
32
  })(["color:var(", ");opacity:var(", ");"], _Breadcrumbs.tokens.breadcrumbsColor, _Breadcrumbs.tokens.breadcrumbsOpacity);
@@ -70,7 +70,7 @@ var CalendarHeader = exports.CalendarHeader = function CalendarHeader(_ref) {
70
70
  onClick: function onClick() {
71
71
  return onPrev();
72
72
  }
73
- }, /*#__PURE__*/_react["default"].createElement(_Icon.IconDisclosureLeft, {
73
+ }, /*#__PURE__*/_react["default"].createElement(_Icon.IconDisclosureLeftCentered, {
74
74
  color: "inherit",
75
75
  size: size === 'xs' ? 'xs' : 's'
76
76
  }));
@@ -81,7 +81,7 @@ var CalendarHeader = exports.CalendarHeader = function CalendarHeader(_ref) {
81
81
  onClick: function onClick() {
82
82
  return onNext();
83
83
  }
84
- }, /*#__PURE__*/_react["default"].createElement(_Icon.IconDisclosureRight, {
84
+ }, /*#__PURE__*/_react["default"].createElement(_Icon.IconDisclosureRightCentered, {
85
85
  color: "inherit",
86
86
  size: size === 'xs' ? 'xs' : 's'
87
87
  }));
@@ -85,7 +85,7 @@ var DropdownItem = exports.DropdownItem = function DropdownItem(_ref) {
85
85
  "aria-haspopup": ariaHasPopup,
86
86
  "aria-level": ariaLevel,
87
87
  "aria-label": ariaLabel
88
- }, contentLeft && /*#__PURE__*/_react["default"].createElement(_DropdownItem.StyledContentLeft, null, contentLeft), /*#__PURE__*/_react["default"].createElement(_DropdownItem.StyledText, null, label), contentRight && /*#__PURE__*/_react["default"].createElement(_DropdownItem.StyledContentRight, null, contentRight), item.items && hasArrow && /*#__PURE__*/_react["default"].createElement(_DropdownItem.DisclosureIconWrapper, null, /*#__PURE__*/_react["default"].createElement(_Icon.IconDisclosureRight, {
88
+ }, contentLeft && /*#__PURE__*/_react["default"].createElement(_DropdownItem.StyledContentLeft, null, contentLeft), /*#__PURE__*/_react["default"].createElement(_DropdownItem.StyledText, null, label), contentRight && /*#__PURE__*/_react["default"].createElement(_DropdownItem.StyledContentRight, null, contentRight), item.items && hasArrow && /*#__PURE__*/_react["default"].createElement(_DropdownItem.DisclosureIconWrapper, null, /*#__PURE__*/_react["default"].createElement(_Icon.IconDisclosureRightCentered, {
89
89
  size: disclosureIconSize,
90
90
  color: "inherit"
91
91
  })));
@@ -0,0 +1,61 @@
1
+ https://mui.com/material-ui/api/select/
2
+
3
+ Segment
4
+
5
+ SegmentGroup
6
+ variations/
7
+ SegmentGroup.tsx
8
+ SegmentGroup.styles.ts
9
+ SegmentGroup.types.ts
10
+
11
+ SegmentItem
12
+ variations/
13
+ SegmentItem.tsx
14
+ SegmentItem.styles.ts
15
+ SegmentItem.types.ts
16
+
17
+ ```ts
18
+ type SegmentValue = string | number;
19
+
20
+ interface SegmentItem {
21
+ value: SegmentValue;
22
+ label?: string;
23
+ }
24
+
25
+ interface SegmentGroup {
26
+ defaultValue?: SegmentValue | SegmentValue[];
27
+ value?: SegmentValue | SegmentValue[];
28
+ items: SegmentItem[];
29
+ customItem?: ({ item, selected, vertical }: { item: SegmentItem; selected: boolean; vertical: boolean }) => void;
30
+ onChange?: ({ item, selected }: { item: SegmentItem; selected: boolean }) => void;
31
+ view?: 'clear' | 'filled';
32
+ size?: 'm' | 's' | 'l' | 'xs';
33
+ disabled?: boolean;
34
+ pilled?: boolean;
35
+ filledBackground?: boolean;
36
+ stretch?: boolean;
37
+ vertical?: boolean;
38
+ selectionMode?: 'multiple' | 'single';
39
+ }
40
+
41
+ interface SegmentItem {
42
+ view?: 'clear' | 'filled';
43
+ size?: 'm' | 's' | 'l' | 'xs';
44
+ pilled?: boolean;
45
+ label?: ReactNode;
46
+ stretch?: boolean;
47
+ selectionMode?: 'multiple' | 'single';
48
+ }
49
+ ```
50
+
51
+ ```jsx
52
+ <SegmentGroup
53
+ defaultValue={['a']}
54
+ value={''}
55
+ items={[
56
+ { value: 'a', label: 'A' },
57
+ { value: 'b', label: 'B' },
58
+ ]}
59
+ onChange(({ value }) => void)
60
+ />
61
+ ```
@@ -8,7 +8,12 @@ var classes = exports.classes = {
8
8
  selectedSegmentItem: 'selected-segment-item',
9
9
  segmentPilled: 'segment-pilled',
10
10
  segmentGroupFilledBackground: 'segment-group-filled-background',
11
- segmentStretch: 'segment-stretched'
11
+ segmentStretch: 'segment-stretched',
12
+ segmentVertical: 'segment-vertical',
13
+ segmentArrowPadding: 'segment-arrow-padding',
14
+ segmentGroupClipScroll: 'segment-group-clip-scroll',
15
+ segmentGroupClipShowAll: 'segment-group-clip-show-all',
16
+ segmentXsSize: 'segment-xs-size'
12
17
  };
13
18
  var tokens = exports.tokens = {
14
19
  fontFamily: '--plasma-segment-item-font-family',
@@ -23,6 +28,8 @@ var tokens = exports.tokens = {
23
28
  groupPilledBorderRadius: '--plasma-segment-group-pilled-border-radius',
24
29
  groupWidth: '--plasma-segment-group-width',
25
30
  groupHeight: '--plasma-segment-group-height',
31
+ groupArrowPadding: '--plasma-segment-group-arrow-padding',
32
+ groupVerticalArrowPadding: '--plasma-segment-group-vertical-arrow-padding',
26
33
  groupBackgroundColor: '--plasma-segment-group-background-color',
27
34
  groupFilledBackgroundColor: '--plasma-segment-group-filled-background-color',
28
35
  itemBorderRadius: '--plasma-segment-item-border-radius',
@@ -30,14 +37,21 @@ var tokens = exports.tokens = {
30
37
  itemWidth: '--plasma-segment-item-width',
31
38
  itemHeight: '--plasma-segment-item-height',
32
39
  itemPadding: '--plasma-segment-item-padding',
40
+ itemPilledPadding: '--plasma-segment-item-pilled-padding',
33
41
  itemMarginLeft: '--plasma-segment-item-margin-left',
42
+ itemContentPadding: '--plasma-segment-item-content-padding',
43
+ itemIconMargin: '--plasma-segment-item-content-icon-margin',
34
44
  itemColor: '--plasma-segment-item-color',
35
45
  itemBackgroundColor: '--plasma-segment-item-background-color',
36
46
  itemColorHover: '--plasma-segment-item-color-hover',
37
47
  itemBackgroundColorHover: '--plasma-segment-item-background-color-hover',
48
+ itemAdditionalColor: '--plasma-segment-item-additional-color',
49
+ itemAdditionalColorHover: '--plasma-segment-item-additional-color-hover',
38
50
  itemSelectedColor: '--plasma-segment-item-selected-color',
39
51
  itemSelectedBackgroundColor: '--plasma-segment-item-selected-background-color',
40
52
  itemSelectedColorHover: '--plasma-segment-item-selected-color-hover',
41
53
  itemSelectedBackgroundColorHover: '--plasma-segment-item-selected-background-color-hover',
54
+ itemSelectedAdditionalColor: '--plasma-segment-item-selected-additional-color',
55
+ itemSelectedAdditionalColorHover: '--plasma-segment-item-selected-additional-color-hover',
42
56
  disabledOpacity: '--plasma-segment-disabled-opacity'
43
57
  };