@salutejs/plasma-new-hope 0.173.4-canary.1502.11517986665.0 → 0.173.4-canary.1508.11518994013.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (140) hide show
  1. package/cjs/components/Drawer/Drawer.js +2 -1
  2. package/cjs/components/Drawer/Drawer.js.map +1 -1
  3. package/cjs/components/Tabs/createTabsController.js.map +1 -1
  4. package/cjs/components/Tabs/tokens.js +0 -2
  5. package/cjs/components/Tabs/tokens.js.map +1 -1
  6. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +1 -3
  7. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js.map +1 -1
  8. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.css +5 -5
  9. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +8 -20
  10. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js.map +1 -1
  11. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.styles.js +1 -1
  12. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.styles.js.map +1 -1
  13. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/{HorizontalTabs.styles_p9rk79.css → HorizontalTabs.styles_16kuvxt.css} +1 -1
  14. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
  15. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js.map +1 -1
  16. package/{es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base_4ob3q5.css → cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base_9miwn.css} +1 -1
  17. package/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.css +4 -4
  18. package/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +6 -7
  19. package/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js.map +1 -1
  20. package/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles.js +1 -1
  21. package/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles.js.map +1 -1
  22. package/{es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles_1r1hidh.css → cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles_1fr5ovg.css} +1 -1
  23. package/cjs/index.css +9 -9
  24. package/emotion/cjs/components/Drawer/Drawer.js +4 -3
  25. package/emotion/cjs/components/Tabs/tokens.js +0 -2
  26. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +1 -3
  27. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +8 -20
  28. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.styles.js +4 -4
  29. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
  30. package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +6 -7
  31. package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles.js +4 -4
  32. package/emotion/cjs/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +33 -72
  33. package/emotion/cjs/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +15 -15
  34. package/emotion/cjs/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabs.config.js +15 -15
  35. package/emotion/cjs/examples/plasma_b2c/components/Tabs/vertical/VerticalTabs.config.js +6 -6
  36. package/emotion/cjs/examples/plasma_web/components/Tabs/Tabs.stories.tsx +33 -72
  37. package/emotion/cjs/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.js +15 -15
  38. package/emotion/cjs/examples/plasma_web/components/Tabs/horizontal/HorizontalTabs.config.js +15 -15
  39. package/emotion/cjs/examples/plasma_web/components/Tabs/vertical/VerticalTabs.config.js +6 -6
  40. package/emotion/es/components/Drawer/Drawer.js +2 -1
  41. package/emotion/es/components/Tabs/tokens.js +0 -2
  42. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +1 -3
  43. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +9 -21
  44. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.styles.js +4 -4
  45. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
  46. package/emotion/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +7 -8
  47. package/emotion/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles.js +4 -4
  48. package/emotion/es/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +33 -72
  49. package/emotion/es/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +15 -15
  50. package/emotion/es/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabs.config.js +15 -15
  51. package/emotion/es/examples/plasma_b2c/components/Tabs/vertical/VerticalTabs.config.js +6 -6
  52. package/emotion/es/examples/plasma_web/components/Tabs/Tabs.stories.tsx +33 -72
  53. package/emotion/es/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.js +15 -15
  54. package/emotion/es/examples/plasma_web/components/Tabs/horizontal/HorizontalTabs.config.js +15 -15
  55. package/emotion/es/examples/plasma_web/components/Tabs/vertical/VerticalTabs.config.js +6 -6
  56. package/es/components/Drawer/Drawer.js +2 -1
  57. package/es/components/Drawer/Drawer.js.map +1 -1
  58. package/es/components/Tabs/createTabsController.js.map +1 -1
  59. package/es/components/Tabs/tokens.js +0 -2
  60. package/es/components/Tabs/tokens.js.map +1 -1
  61. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +1 -3
  62. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js.map +1 -1
  63. package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.css +5 -5
  64. package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +9 -21
  65. package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js.map +1 -1
  66. package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.styles.js +1 -1
  67. package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.styles.js.map +1 -1
  68. package/es/components/Tabs/ui/horizontal/HorizontalTabs/{HorizontalTabs.styles_p9rk79.css → HorizontalTabs.styles_16kuvxt.css} +1 -1
  69. package/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
  70. package/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js.map +1 -1
  71. package/{cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base_4ob3q5.css → es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base_9miwn.css} +1 -1
  72. package/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.css +4 -4
  73. package/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +7 -8
  74. package/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js.map +1 -1
  75. package/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles.js +1 -1
  76. package/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles.js.map +1 -1
  77. package/{cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles_1r1hidh.css → es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles_1fr5ovg.css} +1 -1
  78. package/es/index.css +9 -9
  79. package/package.json +2 -2
  80. package/styled-components/cjs/components/Drawer/Drawer.js +4 -3
  81. package/styled-components/cjs/components/Tabs/tokens.js +0 -2
  82. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +1 -3
  83. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +8 -20
  84. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.styles.js +2 -2
  85. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
  86. package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +6 -7
  87. package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles.js +2 -2
  88. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +33 -72
  89. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +2 -2
  90. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabs.config.js +3 -3
  91. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/vertical/VerticalTabs.config.js +1 -1
  92. package/styled-components/cjs/examples/plasma_web/components/Tabs/Tabs.stories.tsx +33 -72
  93. package/styled-components/cjs/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.js +2 -2
  94. package/styled-components/cjs/examples/plasma_web/components/Tabs/horizontal/HorizontalTabs.config.js +3 -3
  95. package/styled-components/cjs/examples/plasma_web/components/Tabs/vertical/VerticalTabs.config.js +1 -1
  96. package/styled-components/es/components/Drawer/Drawer.js +2 -1
  97. package/styled-components/es/components/Tabs/tokens.js +0 -2
  98. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +1 -3
  99. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +9 -21
  100. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.styles.js +2 -2
  101. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
  102. package/styled-components/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +7 -8
  103. package/styled-components/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles.js +2 -2
  104. package/styled-components/es/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +33 -72
  105. package/styled-components/es/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +2 -2
  106. package/styled-components/es/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabs.config.js +3 -3
  107. package/styled-components/es/examples/plasma_b2c/components/Tabs/vertical/VerticalTabs.config.js +1 -1
  108. package/styled-components/es/examples/plasma_web/components/Tabs/Tabs.stories.tsx +33 -72
  109. package/styled-components/es/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.js +2 -2
  110. package/styled-components/es/examples/plasma_web/components/Tabs/horizontal/HorizontalTabs.config.js +3 -3
  111. package/styled-components/es/examples/plasma_web/components/Tabs/vertical/VerticalTabs.config.js +1 -1
  112. package/types/components/Drawer/Drawer.d.ts.map +1 -1
  113. package/types/components/Tabs/TabItem.types.d.ts +8 -50
  114. package/types/components/Tabs/TabItem.types.d.ts.map +1 -1
  115. package/types/components/Tabs/Tabs.types.d.ts +2 -44
  116. package/types/components/Tabs/Tabs.types.d.ts.map +1 -1
  117. package/types/components/Tabs/createTabsController.d.ts +2 -2
  118. package/types/components/Tabs/createTabsController.d.ts.map +1 -1
  119. package/types/components/Tabs/index.d.ts +2 -2
  120. package/types/components/Tabs/index.d.ts.map +1 -1
  121. package/types/components/Tabs/tokens.d.ts +0 -2
  122. package/types/components/Tabs/tokens.d.ts.map +1 -1
  123. package/types/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.d.ts.map +1 -1
  124. package/types/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.d.ts +2 -2
  125. package/types/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.d.ts.map +1 -1
  126. package/types/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.styles.d.ts.map +1 -1
  127. package/types/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.d.ts.map +1 -1
  128. package/types/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles.d.ts.map +1 -1
  129. package/types/examples/plasma_b2c/components/Tabs/TabItem.d.ts +6 -21
  130. package/types/examples/plasma_b2c/components/Tabs/TabItem.d.ts.map +1 -1
  131. package/types/examples/plasma_b2c/components/Tabs/Tabs.d.ts +2 -2
  132. package/types/examples/plasma_b2c/components/Tabs/Tabs.d.ts.map +1 -1
  133. package/types/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabs.config.d.ts.map +1 -1
  134. package/types/examples/plasma_b2c/components/Tabs/vertical/VerticalTabs.config.d.ts.map +1 -1
  135. package/types/examples/plasma_web/components/Tabs/TabItem.d.ts +6 -21
  136. package/types/examples/plasma_web/components/Tabs/TabItem.d.ts.map +1 -1
  137. package/types/examples/plasma_web/components/Tabs/Tabs.d.ts +2 -2
  138. package/types/examples/plasma_web/components/Tabs/Tabs.d.ts.map +1 -1
  139. package/types/examples/plasma_web/components/Tabs/horizontal/HorizontalTabs.config.d.ts.map +1 -1
  140. package/types/examples/plasma_web/components/Tabs/vertical/VerticalTabs.config.d.ts.map +1 -1
@@ -7,16 +7,16 @@ export var config = {
7
7
  },
8
8
  variations: {
9
9
  view: {
10
- divider: /*#__PURE__*/css(tabsTokens.arrowColor, ":var(--text-secondary);", tabsTokens.arrowColorHover, ":var(--text-secondary-hover);", tabsTokens.arrowColorActive, ":var(---text-secondary-active);", tabsTokens.tabsBackgroundColor, ":transparent;", tabsTokens.outlineFocusColor, ":var(--surface-accent);", tabsTokens.tabsDividerWidth, ":0.0625rem;", tabsTokens.tabsDividerHeight, ":0.0625rem;", tabsTokens.tabsDividerColor, ":var(--surface-transparent-tertiary);", tabsTokens.tabsDividerBorderRadius, ":0.0625rem;;label:plasma-new-hope__divider;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3BsYXNtYV93ZWIvY29tcG9uZW50cy9UYWJzL3Zlc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gICR7dGFic1Rva2Vucy50YWJzRGl2aWRlcldpZHRofTogMC4wNjI1cmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzRGl2aWRlckhlaWdodH06IDAuMDYyNXJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0RpdmlkZXJDb2xvcn06IHZhcigtLXN1cmZhY2UtdHJhbnNwYXJlbnQtdGVydGlhcnkpO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzRGl2aWRlckJvcmRlclJhZGl1c306IDAuMDYyNXJlbTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgIH0sXG4gICAgICAgIHNpemU6IHtcbiAgICAgICAgICAgIHhzOiBjc3NgXG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNCb3JkZXJSYWRpdXN9OiAwLjVyZW07XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNXaWR0aH06IGZpdC1jb250ZW50O1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzSGVpZ2h0fTogYXV0bztcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dJbm5lclBhZGRpbmd9OiAwcmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5hcnJvd091dGVyUGFkZGluZ306IDAuMTI1cmVtO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgICAgIHM6IGNzc2BcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0JvcmRlclJhZGl1c306IDAuNjI1cmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzV2lkdGh9OiBmaXQtY29udGVudDtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0hlaWdodH06IGF1dG87XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLmFycm93SW5uZXJQYWRkaW5nfTogMHJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dPdXRlclBhZGRpbmd9OiAwLjI1cmVtO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgICAgIG06IGNzc2BcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0JvcmRlclJhZGl1c306IDAuNzVyZW07XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNXaWR0aH06IGZpdC1jb250ZW50O1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzSGVpZ2h0fTogYXV0bztcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dJbm5lclBhZGRpbmd9OiAwcmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5hcnJvd091dGVyUGFkZGluZ306IDAuNjI1cmVtO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgICAgIGw6IGNzc2BcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0JvcmRlclJhZGl1c306IDAuNzVyZW07XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNXaWR0aH06IGZpdC1jb250ZW50O1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzSGVpZ2h0fTogYXV0bztcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dJbm5lclBhZGRpbmd9OiAwcmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5hcnJvd091dGVyUGFkZGluZ306IDAuNzVyZW07XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgICAgICBkaXNhYmxlZDoge1xuICAgICAgICAgICAgdHJ1ZTogY3NzYFxuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5kaXNhYmxlZE9wYWNpdHl9OiAwLjQ7XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgIH0sXG59O1xuIl19 */"))
10
+ divider: /*#__PURE__*/css(tabsTokens.arrowColor, ":var(--text-secondary);", tabsTokens.tabsBackgroundColor, ":transparent;", tabsTokens.outlineFocusColor, ":var(--surface-accent);", tabsTokens.tabsDividerWidth, ":0.0625rem;", tabsTokens.tabsDividerHeight, ":0.0625rem;", tabsTokens.tabsDividerColor, ":var(--surface-transparent-tertiary);", tabsTokens.tabsDividerBorderRadius, ":0.0625rem;;label:plasma-new-hope__divider;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3BsYXNtYV93ZWIvY29tcG9uZW50cy9UYWJzL3ZlcnRpY2FsL1ZlcnRpY2FsVGFicy5jb25maWcudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBV3dCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3BsYXNtYV93ZWIvY29tcG9uZW50cy9UYWJzL3ZlcnRpY2FsL1ZlcnRpY2FsVGFicy5jb25maWcudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7IHRhYnNUb2tlbnMgfSBmcm9tICcuLi8uLi8uLi8uLi8uLi9jb21wb25lbnRzL1RhYnMnO1xuXG5leHBvcnQgY29uc3QgY29uZmlnID0ge1xuICAgIGRlZmF1bHRzOiB7XG4gICAgICAgIHZpZXc6ICdkaXZpZGVyJyxcbiAgICAgICAgc2l6ZTogJ3hzJyxcbiAgICB9LFxuICAgIHZhcmlhdGlvbnM6IHtcbiAgICAgICAgdmlldzoge1xuICAgICAgICAgICAgZGl2aWRlcjogY3NzYFxuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5hcnJvd0NvbG9yfTogdmFyKC0tdGV4dC1zZWNvbmRhcnkpO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzQmFja2dyb3VuZENvbG9yfTogdHJhbnNwYXJlbnQ7XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLm91dGxpbmVGb2N1c0NvbG9yfTogdmFyKC0tc3VyZmFjZS1hY2NlbnQpO1xuXG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNEaXZpZGVyV2lkdGh9OiAwLjA2MjVyZW07XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNEaXZpZGVySGVpZ2h0fTogMC4wNjI1cmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzRGl2aWRlckNvbG9yfTogdmFyKC0tc3VyZmFjZS10cmFuc3BhcmVudC10ZXJ0aWFyeSk7XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNEaXZpZGVyQm9yZGVyUmFkaXVzfTogMC4wNjI1cmVtO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgfSxcbiAgICAgICAgc2l6ZToge1xuICAgICAgICAgICAgeHM6IGNzc2BcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0JvcmRlclJhZGl1c306IDAuNXJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic1dpZHRofTogZml0LWNvbnRlbnQ7XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNIZWlnaHR9OiBhdXRvO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5hcnJvd0lubmVyUGFkZGluZ306IDByZW07XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLmFycm93T3V0ZXJQYWRkaW5nfTogMC4xMjVyZW07XG4gICAgICAgICAgICBgLFxuICAgICAgICAgICAgczogY3NzYFxuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzQm9yZGVyUmFkaXVzfTogMC42MjVyZW07XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNXaWR0aH06IGZpdC1jb250ZW50O1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzSGVpZ2h0fTogYXV0bztcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dJbm5lclBhZGRpbmd9OiAwcmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5hcnJvd091dGVyUGFkZGluZ306IDAuMjVyZW07XG4gICAgICAgICAgICBgLFxuICAgICAgICAgICAgbTogY3NzYFxuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzQm9yZGVyUmFkaXVzfTogMC43NXJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic1dpZHRofTogZml0LWNvbnRlbnQ7XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNIZWlnaHR9OiBhdXRvO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5hcnJvd0lubmVyUGFkZGluZ306IDByZW07XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLmFycm93T3V0ZXJQYWRkaW5nfTogMC42MjVyZW07XG4gICAgICAgICAgICBgLFxuICAgICAgICAgICAgbDogY3NzYFxuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzQm9yZGVyUmFkaXVzfTogMC43NXJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic1dpZHRofTogZml0LWNvbnRlbnQ7XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNIZWlnaHR9OiBhdXRvO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5hcnJvd0lubmVyUGFkZGluZ306IDByZW07XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLmFycm93T3V0ZXJQYWRkaW5nfTogMC43NXJlbTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgIH0sXG4gICAgICAgIGRpc2FibGVkOiB7XG4gICAgICAgICAgICB0cnVlOiBjc3NgXG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLmRpc2FibGVkT3BhY2l0eX06IDAuNDtcbiAgICAgICAgICAgIGAsXG4gICAgICAgIH0sXG4gICAgfSxcbn07XG4iXX0= */"))
11
11
  },
12
12
  size: {
13
- xs: /*#__PURE__*/css(tabsTokens.tabsBorderRadius, ":0.5rem;", tabsTokens.tabsWidth, ":fit-content;", tabsTokens.tabsHeight, ":auto;", tabsTokens.arrowInnerPadding, ":0rem;", tabsTokens.arrowOuterPadding, ":0.125rem;;label:plasma-new-hope__xs;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3BsYXNtYV93ZWIvY29tcG9uZW50cy9UYWJzL3ZlcnRpY2FsL1ZlcnRpY2FsVGFicy5jb25maWcudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBeUJtQiIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9leGFtcGxlcy9wbGFzbWFfd2ViL2NvbXBvbmVudHMvVGFicy92ZXJ0aWNhbC9WZXJ0aWNhbFRhYnMuY29uZmlnLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG5pbXBvcnQgeyB0YWJzVG9rZW5zIH0gZnJvbSAnLi4vLi4vLi4vLi4vLi4vY29tcG9uZW50cy9UYWJzJztcblxuZXhwb3J0IGNvbnN0IGNvbmZpZyA9IHtcbiAgICBkZWZhdWx0czoge1xuICAgICAgICB2aWV3OiAnZGl2aWRlcicsXG4gICAgICAgIHNpemU6ICd4cycsXG4gICAgfSxcbiAgICB2YXJpYXRpb25zOiB7XG4gICAgICAgIHZpZXc6IHtcbiAgICAgICAgICAgIGRpdmlkZXI6IGNzc2BcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dDb2xvcn06IHZhcigtLXRleHQtc2Vjb25kYXJ5KTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dDb2xvckhvdmVyfTogdmFyKC0tdGV4dC1zZWNvbmRhcnktaG92ZXIpO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5hcnJvd0NvbG9yQWN0aXZlfTogdmFyKC0tLXRleHQtc2Vjb25kYXJ5LWFjdGl2ZSk7XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNCYWNrZ3JvdW5kQ29sb3J9OiB0cmFuc3BhcmVudDtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMub3V0bGluZUZvY3VzQ29sb3J9OiB2YXIoLS1zdXJmYWNlLWFjY2VudCk7XG5cbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0RpdmlkZXJXaWR0aH06IDAuMDYyNXJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0RpdmlkZXJIZWlnaHR9OiAwLjA2MjVyZW07XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNEaXZpZGVyQ29sb3J9OiB2YXIoLS1zdXJmYWNlLXRyYW5zcGFyZW50LXRlcnRpYXJ5KTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0RpdmlkZXJCb3JkZXJSYWRpdXN9OiAwLjA2MjVyZW07XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgICAgICBzaXplOiB7XG4gICAgICAgICAgICB4czogY3NzYFxuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzQm9yZGVyUmFkaXVzfTogMC41cmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzV2lkdGh9OiBmaXQtY29udGVudDtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0hlaWdodH06IGF1dG87XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLmFycm93SW5uZXJQYWRkaW5nfTogMHJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dPdXRlclBhZGRpbmd9OiAwLjEyNXJlbTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgICAgICBzOiBjc3NgXG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNCb3JkZXJSYWRpdXN9OiAwLjYyNXJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic1dpZHRofTogZml0LWNvbnRlbnQ7XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNIZWlnaHR9OiBhdXRvO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5hcnJvd0lubmVyUGFkZGluZ306IDByZW07XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLmFycm93T3V0ZXJQYWRkaW5nfTogMC4yNXJlbTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgICAgICBtOiBjc3NgXG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNCb3JkZXJSYWRpdXN9OiAwLjc1cmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzV2lkdGh9OiBmaXQtY29udGVudDtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0hlaWdodH06IGF1dG87XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLmFycm93SW5uZXJQYWRkaW5nfTogMHJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dPdXRlclBhZGRpbmd9OiAwLjYyNXJlbTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgICAgICBsOiBjc3NgXG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNCb3JkZXJSYWRpdXN9OiAwLjc1cmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzV2lkdGh9OiBmaXQtY29udGVudDtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0hlaWdodH06IGF1dG87XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLmFycm93SW5uZXJQYWRkaW5nfTogMHJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dPdXRlclBhZGRpbmd9OiAwLjc1cmVtO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgfSxcbiAgICAgICAgZGlzYWJsZWQ6IHtcbiAgICAgICAgICAgIHRydWU6IGNzc2BcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuZGlzYWJsZWRPcGFjaXR5fTogMC40O1xuICAgICAgICAgICAgYCxcbiAgICAgICAgfSxcbiAgICB9LFxufTtcbiJdfQ== */")),
14
- s: /*#__PURE__*/css(tabsTokens.tabsBorderRadius, ":0.625rem;", tabsTokens.tabsWidth, ":fit-content;", tabsTokens.tabsHeight, ":auto;", tabsTokens.arrowInnerPadding, ":0rem;", tabsTokens.arrowOuterPadding, ":0.25rem;;label:plasma-new-hope__s;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3BsYXNtYV93ZWIvY29tcG9uZW50cy9UYWJzL3ZlcnRpY2FsL1ZlcnRpY2FsVGFicy5jb25maWcudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBZ0NrQiIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9leGFtcGxlcy9wbGFzbWFfd2ViL2NvbXBvbmVudHMvVGFicy92ZXJ0aWNhbC9WZXJ0aWN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2YXIoLS1zdXJmYWNlLXRyYW5zcGFyZW50LXRlcnRpYXJ5KTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0RpdmlkZXJCb3JkZXJSYWRpdXN9OiAwLjA2MjVyZW07XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgICAgICBzaXplOiB7XG4gICAgICAgICAgICB4czogY3NzYFxuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzQm9yZGVyUmFkaXVzfTogMC41cmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzV2lkdGh9OiBmaXQtY29udGVudDtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0hlaWdodH06IGF1dG87XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLmFycm93SW5uZXJQYWRkaW5nfTogMHJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dPdXRlclBhZGRpbmd9OiAwLjEyNXJlbTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgICAgICBzOiBjc3NgXG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNCb3JkZXJSYWRpdXN9OiAwLjYyNXJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic1dpZHRofTogZml0LWNvbnRlbnQ7XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNIZWlnaHR9OiBhdXRvO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5hcnJvd0lubmVyUGFkZGluZ306IDByZW07XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLmFycm93T3V0ZXJQYWRkaW5nfTogMC4yNXJlbTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgICAgICBtOiBjc3NgXG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNCb3JkZXJSYWRpdXN9OiAwLjc1cmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzV2lkdGh9OiBmaXQtY29udGVudDtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0hlaWdodH06IGF1dG87XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLmFycm93SW5uZXJQYWRkaW5nfTogMHJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dPdXRlclBhZGRpbmd9OiAwLjYyNXJlbTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgICAgICBsOiBjc3NgXG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNCb3JkZXJSYWRpdXN9OiAwLjc1cmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzV2lkdGh9OiBmaXQtY29udGVudDtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0hlaWdodH06IGF1dG87XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLmFycm93SW5uZXJQYWRkaW5nfTogMHJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dPdXRlclBhZGRpbmd9OiAwLjc1cmVtO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgfSxcbiAgICAgICAgZGlzYWJsZWQ6IHtcbiAgICAgICAgICAgIHRydWU6IGNzc2BcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuZGlzYWJsZWRPcGFjaXR5fTogMC40O1xuICAgICAgICAgICAgYCxcbiAgICAgICAgfSxcbiAgICB9LFxufTtcbiJdfQ== */")),
15
- m: /*#__PURE__*/css(tabsTokens.tabsBorderRadius, ":0.75rem;", tabsTokens.tabsWidth, ":fit-content;", tabsTokens.tabsHeight, ":auto;", tabsTokens.arrowInnerPadding, ":0rem;", tabsTokens.arrowOuterPadding, ":0.625rem;;label:plasma-new-hope__m;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,ey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W5kQ29sb3J9OiB0cmFuc3BhcmVudDtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMub3V0bGluZUZvY3VzQ29sb3J9OiB2YXIoLS1zdXJmYWNlLWFjY2VudCk7XG5cbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0RpdmlkZXJXaWR0aH06IDAuMDYyNXJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0RpdmlkZXJIZWlnaHR9OiAwLjA2MjVyZW07XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNEaXZpZGVyQ29sb3J9OiB2YXIoLS1zdXJmYWNlLXRyYW5zcGFyZW50LXRlcnRpYXJ5KTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0RpdmlkZXJCb3JkZXJSYWRpdXN9OiAwLjA2MjVyZW07XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgICAgICBzaXplOiB7XG4gICAgICAgICAgICB4czogY3NzYFxuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzQm9yZGVyUmFkaXVzfTogMC41cmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzV2lkdGh9OiBmaXQtY29udGVudDtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0hlaWdodH06IGF1dG87XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLmFycm93SW5uZXJQYWRkaW5nfTogMHJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dPdXRlclBhZGRpbmd9OiAwLjEyNXJlbTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgICAgICBzOiBjc3NgXG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNCb3JkZXJSYWRpdXN9OiAwLjYyNXJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic1dpZHRofTogZml0LWNvbnRlbnQ7XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNIZWlnaHR9OiBhdXRvO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5hcnJvd0lubmVyUGFkZGluZ306IDByZW07XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLmFycm93T3V0ZXJQYWRkaW5nfTogMC4yNXJlbTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgICAgICBtOiBjc3NgXG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNCb3JkZXJSYWRpdXN9OiAwLjc1cmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzV2lkdGh9OiBmaXQtY29udGVudDtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0hlaWdodH06IGF1dG87XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLmFycm93SW5uZXJQYWRkaW5nfTogMHJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dPdXRlclBhZGRpbmd9OiAwLjYyNXJlbTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgICAgICBsOiBjc3NgXG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNCb3JkZXJSYWRpdXN9OiAwLjc1cmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzV2lkdGh9OiBmaXQtY29udGVudDtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0hlaWdodH06IGF1dG87XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLmFycm93SW5uZXJQYWRkaW5nfTogMHJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dPdXRlclBhZGRpbmd9OiAwLjc1cmVtO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgfSxcbiAgICAgICAgZGlzYWJsZWQ6IHtcbiAgICAgICAgICAgIHRydWU6IGNzc2BcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuZGlzYWJsZWRPcGFjaXR5fTogMC40O1xuICAgICAgICAgICAgYCxcbiAgICAgICAgfSxcbiAgICB9LFxufTtcbiJdfQ== */")),
16
- l: /*#__PURE__*/css(tabsTokens.tabsBorderRadius, ":0.75rem;", tabsTokens.tabsWidth, ":fit-content;", tabsTokens.tabsHeight, ":auto;", tabsTokens.arrowInnerPadding, ":0rem;", tabsTokens.arrowOuterPadding, ":0.75rem;;label:plasma-new-hope__l;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3BsYXNtYV93ZWIvY29tcG9uZW50cy9UYWJzL3ZlcnRpY2FsL1ZlcnRpY2FsVGFicy5jb25maWcudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBOENrQiIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9leGFtcGxlcy9wbGFzbWFfd2ViL2NvbXBvbmVudHMvVGFicy92ZXJ0aWNhbC9WZXJ0aWNhbFRhYnMuY29uZmlnLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG5pbXBvcnQgeyB0YWJzVG9rZW5zIH0gZnJvbSAnLi4vLi4vLi4vLi4vLi4vY29tcG9uZW50cy9UYWJzJztcblxuZXhwb3J0IGNvbnN0IGNvbmZpZyA9IHtcbiAgICBkZWZhdWx0czoge1xuICAgICAgICB2aWV3OiAnZGl2aWRlcicsXG4gICAgICAgIHNpemU6ICd4cycsXG4gICAgfSxcbiAgICB2YXJpYXRpb25zOiB7XG4gICAgICAgIHZpZXc6IHtcbiAgICAgICAgICAgIGRpdmlkZXI6IGNzc2BcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dDb2xvcn06IHZhcigtLXRleHQtc2Vjb25kYXJ5KTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dDb2xvckhvdmVyfTogdmFyKC0tdGV4dC1zZWNvbmRhcnktaG92ZXIpO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5hcnJvd0NvbG9yQWN0aXZlfTogdmFyKC0tLXRleHQtc2Vjb25kYXJ5LWFjdGl2ZSk7XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNCYWNrZ3JvdW5kQ29sb3J9OiB0cmFuc3BhcmVudDtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMub3V0bGluZUZvY3VzQ29sb3J9OiB2YXIoLS1zdXJmYWNlLWFjY2VudCk7XG5cbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0RpdmlkZXJXaWR0aH06IDAuMDYyNXJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0RpdmlkZXJIZWlnaHR9OiAwLjA2MjVyZW07XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNEaXZpZGVyQ29sb3J9OiB2YXIoLS1zdXJmYWNlLXRyYW5zcGFyZW50LXRlcnRpYXJ5KTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0RpdmlkZXJCb3JkZXJSYWRpdXN9OiAwLjA2MjVyZW07XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgICAgICBzaXplOiB7XG4gICAgICAgICAgICB4czogY3NzYFxuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzQm9yZGVyUmFkaXVzfTogMC41cmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzV2lkdGh9OiBmaXQtY29udGVudDtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0hlaWdodH06IGF1dG87XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLmFycm93SW5uZXJQYWRkaW5nfTogMHJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dPdXRlclBhZGRpbmd9OiAwLjEyNXJlbTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgICAgICBzOiBjc3NgXG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNCb3JkZXJSYWRpdXN9OiAwLjYyNXJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic1dpZHRofTogZml0LWNvbnRlbnQ7XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNIZWlnaHR9OiBhdXRvO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5hcnJvd0lubmVyUGFkZGluZ306IDByZW07XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLmFycm93T3V0ZXJQYWRkaW5nfTogMC4yNXJlbTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgICAgICBtOiBjc3NgXG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNCb3JkZXJSYWRpdXN9OiAwLjc1cmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzV2lkdGh9OiBmaXQtY29udGVudDtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0hlaWdodH06IGF1dG87XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLmFycm93SW5uZXJQYWRkaW5nfTogMHJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dPdXRlclBhZGRpbmd9OiAwLjYyNXJlbTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgICAgICBsOiBjc3NgXG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNCb3JkZXJSYWRpdXN9OiAwLjc1cmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzV2lkdGh9OiBmaXQtY29udGVudDtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0hlaWdodH06IGF1dG87XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLmFycm93SW5uZXJQYWRkaW5nfTogMHJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dPdXRlclBhZGRpbmd9OiAwLjc1cmVtO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgfSxcbiAgICAgICAgZGlzYWJsZWQ6IHtcbiAgICAgICAgICAgIHRydWU6IGNzc2BcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuZGlzYWJsZWRPcGFjaXR5fTogMC40O1xuICAgICAgICAgICAgYCxcbiAgICAgICAgfSxcbiAgICB9LFxufTtcbiJdfQ== */"))
13
+ xs: /*#__PURE__*/css(tabsTokens.tabsBorderRadius, ":0.5rem;", tabsTokens.tabsWidth, ":fit-content;", tabsTokens.tabsHeight, ":auto;", tabsTokens.arrowInnerPadding, ":0rem;", tabsTokens.arrowOuterPadding, ":0.125rem;;label:plasma-new-hope__xs;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3BsYXNtYV93ZWIvY29tcG9uZW50cy9UYWJzL3ZlcnRpY2FsL1ZlcnRpY2FsVGFicy5jb25maWcudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBdUJtQiIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9leGFtcGxlcy9wbGFzbWFfd2ViL2NvbXBvbmVudHMvVGFicy92ZXJ0aWNhbC9WZXJ0aWNhbFRhYnMuY29uZmlnLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG5pbXBvcnQgeyB0YWJzVG9rZW5zIH0gZnJvbSAnLi4vLi4vLi4vLi4vLi4vY29tcG9uZW50cy9UYWJzJztcblxuZXhwb3J0IGNvbnN0IGNvbmZpZyA9IHtcbiAgICBkZWZhdWx0czoge1xuICAgICAgICB2aWV3OiAnZGl2aWRlcicsXG4gICAgICAgIHNpemU6ICd4cycsXG4gICAgfSxcbiAgICB2YXJpYXRpb25zOiB7XG4gICAgICAgIHZpZXc6IHtcbiAgICAgICAgICAgIGRpdmlkZXI6IGNzc2BcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dDb2xvcn06IHZhcigtLXRleHQtc2Vjb25kYXJ5KTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0JhY2tncm91bmRDb2xvcn06IHRyYW5zcGFyZW50O1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5vdXRsaW5lRm9jdXNDb2xvcn06IHZhcigtLXN1cmZhY2UtYWNjZW50KTtcblxuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzRGl2aWRlcldpZHRofTogMC4wNjI1cmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzRGl2aWRlckhlaWdodH06IDAuMDYyNXJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0RpdmlkZXJDb2xvcn06IHZhcigtLXN1cmZhY2UtdHJhbnNwYXJlbnQtdGVydGlhcnkpO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzRGl2aWRlckJvcmRlclJhZGl1c306IDAuMDYyNXJlbTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgIH0sXG4gICAgICAgIHNpemU6IHtcbiAgICAgICAgICAgIHhzOiBjc3NgXG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNCb3JkZXJSYWRpdXN9OiAwLjVyZW07XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNXaWR0aH06IGZpdC1jb250ZW50O1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzSGVpZ2h0fTogYXV0bztcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dJbm5lclBhZGRpbmd9OiAwcmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5hcnJvd091dGVyUGFkZGluZ306IDAuMTI1cmVtO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgICAgIHM6IGNzc2BcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0JvcmRlclJhZGl1c306IDAuNjI1cmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzV2lkdGh9OiBmaXQtY29udGVudDtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0hlaWdodH06IGF1dG87XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLmFycm93SW5uZXJQYWRkaW5nfTogMHJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dPdXRlclBhZGRpbmd9OiAwLjI1cmVtO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgICAgIG06IGNzc2BcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0JvcmRlclJhZGl1c306IDAuNzVyZW07XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNXaWR0aH06IGZpdC1jb250ZW50O1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzSGVpZ2h0fTogYXV0bztcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dJbm5lclBhZGRpbmd9OiAwcmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5hcnJvd091dGVyUGFkZGluZ306IDAuNjI1cmVtO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgICAgIGw6IGNzc2BcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0JvcmRlclJhZGl1c306IDAuNzVyZW07XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNXaWR0aH06IGZpdC1jb250ZW50O1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzSGVpZ2h0fTogYXV0bztcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dJbm5lclBhZGRpbmd9OiAwcmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5hcnJvd091dGVyUGFkZGluZ306IDAuNzVyZW07XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgICAgICBkaXNhYmxlZDoge1xuICAgICAgICAgICAgdHJ1ZTogY3NzYFxuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5kaXNhYmxlZE9wYWNpdHl9OiAwLjQ7XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgIH0sXG59O1xuIl19 */")),
14
+ s: /*#__PURE__*/css(tabsTokens.tabsBorderRadius, ":0.625rem;", tabsTokens.tabsWidth, ":fit-content;", tabsTokens.tabsHeight, ":auto;", tabsTokens.arrowInnerPadding, ":0rem;", tabsTokens.arrowOuterPadding, ":0.25rem;;label:plasma-new-hope__s;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3BsYXNtYV93ZWIvY29tcG9uZW50cy9UYWJzL3ZlcnRpY2FsL1ZlcnRpY2FsVGFicy5jb25maWcudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBOEJrQiIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9leGFtcGxlcy9wbGFzbWFfd2ViL2NvbXBvbmVudHMvVGFicy92ZXJ0aWNhbC9WZXJ0aWNhbFRhYnMuY29uZmlnLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG5pbXBvcnQgeyB0YWJzVG9rZW5zIH0gZnJvbSAnLi4vLi4vLi4vLi4vLi4vY29tcG9uZW50cy9UYWJzJztcblxuZXhwb3J0IGNvbnN0IGNvbmZpZyA9IHtcbiAgICBkZWZhdWx0czoge1xuICAgICAgICB2aWV3OiAnZGl2aWRlcicsXG4gICAgICAgIHNpemU6ICd4cycsXG4gICAgfSxcbiAgICB2YXJpYXRpb25zOiB7XG4gICAgICAgIHZpZXc6IHtcbiAgICAgICAgICAgIGRpdmlkZXI6IGNzc2BcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dDb2xvcn06IHZhcigtLXRleHQtc2Vjb25kYXJ5KTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0JhY2tncm91bmRDb2xvcn06IHRyYW5zcGFyZW50O1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5vdXRsaW5lRm9jdXNDb2xvcn06IHZhcigtLXN1cmZhY2UtYWNjZW50KTtcblxuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzRGl2aWRlcldpZHRofTogMC4wNjI1cmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzRGl2aWRlckhlaWdodH06IDAuMDYyNXJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0RpdmlkZXJDb2xvcn06IHZhcigtLXN1cmZhY2UtdHJhbnNwYXJlbnQtdGVydGlhcnkpO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzRGl2aWRlckJvcmRlclJhZGl1c306IDAuMDYyNXJlbTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgIH0sXG4gICAgICAgIHNpemU6IHtcbiAgICAgICAgICAgIHhzOiBjc3NgXG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNCb3JkZXJSYWRpdXN9OiAwLjVyZW07XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNXaWR0aH06IGZpdC1jb250ZW50O1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzSGVpZ2h0fTogYXV0bztcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dJbm5lclBhZGRpbmd9OiAwcmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5hcnJvd091dGVyUGFkZGluZ306IDAuMTI1cmVtO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgICAgIHM6IGNzc2BcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0JvcmRlclJhZGl1c306IDAuNjI1cmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzV2lkdGh9OiBmaXQtY29udGVudDtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0hlaWdodH06IGF1dG87XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLmFycm93SW5uZXJQYWRkaW5nfTogMHJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dPdXRlclBhZGRpbmd9OiAwLjI1cmVtO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgICAgIG06IGNzc2BcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0JvcmRlclJhZGl1c306IDAuNzVyZW07XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNXaWR0aH06IGZpdC1jb250ZW50O1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzSGVpZ2h0fTogYXV0bztcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dJbm5lclBhZGRpbmd9OiAwcmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5hcnJvd091dGVyUGFkZGluZ306IDAuNjI1cmVtO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgICAgIGw6IGNzc2BcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0JvcmRlclJhZGl1c306IDAuNzVyZW07XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNXaWR0aH06IGZpdC1jb250ZW50O1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzSGVpZ2h0fTogYXV0bztcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dJbm5lclBhZGRpbmd9OiAwcmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5hcnJvd091dGVyUGFkZGluZ306IDAuNzVyZW07XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgICAgICBkaXNhYmxlZDoge1xuICAgICAgICAgICAgdHJ1ZTogY3NzYFxuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5kaXNhYmxlZE9wYWNpdHl9OiAwLjQ7XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgIH0sXG59O1xuIl19 */")),
15
+ m: /*#__PURE__*/css(tabsTokens.tabsBorderRadius, ":0.75rem;", tabsTokens.tabsWidth, ":fit-content;", tabsTokens.tabsHeight, ":auto;", tabsTokens.arrowInnerPadding, ":0rem;", tabsTokens.arrowOuterPadding, ":0.625rem;;label:plasma-new-hope__m;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3BsYXNtYV93ZWIvY29tcG9uZW50cy9UYWJzL3ZlcnRpY2FsL1ZlcnRpY2FsVGFicy5jb25maWcudHMiXSwibmFtZXMiOltdLC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ICR7dGFic1Rva2Vucy50YWJzRGl2aWRlckJvcmRlclJhZGl1c306IDAuMDYyNXJlbTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgIH0sXG4gICAgICAgIHNpemU6IHtcbiAgICAgICAgICAgIHhzOiBjc3NgXG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNCb3JkZXJSYWRpdXN9OiAwLjVyZW07XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNXaWR0aH06IGZpdC1jb250ZW50O1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzSGVpZ2h0fTogYXV0bztcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dJbm5lclBhZGRpbmd9OiAwcmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5hcnJvd091dGVyUGFkZGluZ306IDAuMTI1cmVtO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgICAgIHM6IGNzc2BcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0JvcmRlclJhZGl1c306IDAuNjI1cmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzV2lkdGh9OiBmaXQtY29udGVudDtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0hlaWdodH06IGF1dG87XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLmFycm93SW5uZXJQYWRkaW5nfTogMHJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dPdXRlclBhZGRpbmd9OiAwLjI1cmVtO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgICAgIG06IGNzc2BcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0JvcmRlclJhZGl1c306IDAuNzVyZW07XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNXaWR0aH06IGZpdC1jb250ZW50O1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzSGVpZ2h0fTogYXV0bztcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dJbm5lclBhZGRpbmd9OiAwcmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5hcnJvd091dGVyUGFkZGluZ306IDAuNjI1cmVtO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgICAgIGw6IGNzc2BcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0JvcmRlclJhZGl1c306IDAuNzVyZW07XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNXaWR0aH06IGZpdC1jb250ZW50O1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzSGVpZ2h0fTogYXV0bztcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dJbm5lclBhZGRpbmd9OiAwcmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5hcnJvd091dGVyUGFkZGluZ306IDAuNzVyZW07XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgICAgICBkaXNhYmxlZDoge1xuICAgICAgICAgICAgdHJ1ZTogY3NzYFxuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5kaXNhYmxlZE9wYWNpdHl9OiAwLjQ7XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgIH0sXG59O1xuIl19 */")),
16
+ l: /*#__PURE__*/css(tabsTokens.tabsBorderRadius, ":0.75rem;", tabsTokens.tabsWidth, ":fit-content;", tabsTokens.tabsHeight, ":auto;", tabsTokens.arrowInnerPadding, ":0rem;", tabsTokens.arrowOuterPadding, ":0.75rem;;label:plasma-new-hope__l;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1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NUb2tlbnMudGFic0RpdmlkZXJDb2xvcn06IHZhcigtLXN1cmZhY2UtdHJhbnNwYXJlbnQtdGVydGlhcnkpO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzRGl2aWRlckJvcmRlclJhZGl1c306IDAuMDYyNXJlbTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgIH0sXG4gICAgICAgIHNpemU6IHtcbiAgICAgICAgICAgIHhzOiBjc3NgXG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNCb3JkZXJSYWRpdXN9OiAwLjVyZW07XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNXaWR0aH06IGZpdC1jb250ZW50O1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzSGVpZ2h0fTogYXV0bztcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dJbm5lclBhZGRpbmd9OiAwcmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5hcnJvd091dGVyUGFkZGluZ306IDAuMTI1cmVtO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgICAgIHM6IGNzc2BcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0JvcmRlclJhZGl1c306IDAuNjI1cmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzV2lkdGh9OiBmaXQtY29udGVudDtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0hlaWdodH06IGF1dG87XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLmFycm93SW5uZXJQYWRkaW5nfTogMHJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dPdXRlclBhZGRpbmd9OiAwLjI1cmVtO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgICAgIG06IGNzc2BcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0JvcmRlclJhZGl1c306IDAuNzVyZW07XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNXaWR0aH06IGZpdC1jb250ZW50O1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzSGVpZ2h0fTogYXV0bztcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dJbm5lclBhZGRpbmd9OiAwcmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5hcnJvd091dGVyUGFkZGluZ306IDAuNjI1cmVtO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgICAgIGw6IGNzc2BcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0JvcmRlclJhZGl1c306IDAuNzVyZW07XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNXaWR0aH06IGZpdC1jb250ZW50O1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzSGVpZ2h0fTogYXV0bztcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dJbm5lclBhZGRpbmd9OiAwcmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5hcnJvd091dGVyUGFkZGluZ306IDAuNzVyZW07XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgICAgICBkaXNhYmxlZDoge1xuICAgICAgICAgICAgdHJ1ZTogY3NzYFxuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5kaXNhYmxlZE9wYWNpdHl9OiAwLjQ7XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgIH0sXG59O1xuIl19 */"))
17
17
  },
18
18
  disabled: {
19
- "true": /*#__PURE__*/css(tabsTokens.disabledOpacity, ":0.4;;label:plasma-new-hope__true;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Ny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3V0bGluZUZvY3VzQ29sb3J9OiB2YXIoLS1zdXJmYWNlLWFjY2VudCk7XG5cbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0RpdmlkZXJXaWR0aH06IDAuMDYyNXJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0RpdmlkZXJIZWlnaHR9OiAwLjA2MjVyZW07XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNEaXZpZGVyQ29sb3J9OiB2YXIoLS1zdXJmYWNlLXRyYW5zcGFyZW50LXRlcnRpYXJ5KTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0RpdmlkZXJCb3JkZXJSYWRpdXN9OiAwLjA2MjVyZW07XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgICAgICBzaXplOiB7XG4gICAgICAgICAgICB4czogY3NzYFxuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzQm9yZGVyUmFkaXVzfTogMC41cmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzV2lkdGh9OiBmaXQtY29udGVudDtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0hlaWdodH06IGF1dG87XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLmFycm93SW5uZXJQYWRkaW5nfTogMHJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dPdXRlclBhZGRpbmd9OiAwLjEyNXJlbTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgICAgICBzOiBjc3NgXG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNCb3JkZXJSYWRpdXN9OiAwLjYyNXJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic1dpZHRofTogZml0LWNvbnRlbnQ7XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNIZWlnaHR9OiBhdXRvO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5hcnJvd0lubmVyUGFkZGluZ306IDByZW07XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLmFycm93T3V0ZXJQYWRkaW5nfTogMC4yNXJlbTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgICAgICBtOiBjc3NgXG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNCb3JkZXJSYWRpdXN9OiAwLjc1cmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzV2lkdGh9OiBmaXQtY29udGVudDtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0hlaWdodH06IGF1dG87XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLmFycm93SW5uZXJQYWRkaW5nfTogMHJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dPdXRlclBhZGRpbmd9OiAwLjYyNXJlbTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgICAgICBsOiBjc3NgXG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNCb3JkZXJSYWRpdXN9OiAwLjc1cmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzV2lkdGh9OiBmaXQtY29udGVudDtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0hlaWdodH06IGF1dG87XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLmFycm93SW5uZXJQYWRkaW5nfTogMHJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dPdXRlclBhZGRpbmd9OiAwLjc1cmVtO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgfSxcbiAgICAgICAgZGlzYWJsZWQ6IHtcbiAgICAgICAgICAgIHRydWU6IGNzc2BcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuZGlzYWJsZWRPcGFjaXR5fTogMC40O1xuICAgICAgICAgICAgYCxcbiAgICAgICAgfSxcbiAgICB9LFxufTtcbiJdfQ== */"))
19
+ "true": /*#__PURE__*/css(tabsTokens.disabledOpacity, ":0.4;;label:plasma-new-hope__true;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3BsYXNtYV93ZWIvY29tcG9uZW50cy9UYWJzL3ZlcnRpY2FsL1ZlcnRpY2FsVGFicy5jb25maWcudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBcURxQiIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9leGFtcGxlcy9wbGFzbWFfd2ViL2NvbXBvbmVudHMvVGFicy92ZXJ0aWNhbC9WZXJ0aWNhbFRhYnMuY29uZmlnLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG5pbXBvcnQgeyB0YWJzVG9rZW5zIH0gZnJvbSAnLi4vLi4vLi4vLi4vLi4vY29tcG9uZW50cy9UYWJzJztcblxuZXhwb3J0IGNvbnN0IGNvbmZpZyA9IHtcbiAgICBkZWZhdWx0czoge1xuICAgICAgICB2aWV3OiAnZGl2aWRlcicsXG4gICAgICAgIHNpemU6ICd4cycsXG4gICAgfSxcbiAgICB2YXJpYXRpb25zOiB7XG4gICAgICAgIHZpZXc6IHtcbiAgICAgICAgICAgIGRpdmlkZXI6IGNzc2BcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dDb2xvcn06IHZhcigtLXRleHQtc2Vjb25kYXJ5KTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0JhY2tncm91bmRDb2xvcn06IHRyYW5zcGFyZW50O1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5vdXRsaW5lRm9jdXNDb2xvcn06IHZhcigtLXN1cmZhY2UtYWNjZW50KTtcblxuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzRGl2aWRlcldpZHRofTogMC4wNjI1cmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzRGl2aWRlckhlaWdodH06IDAuMDYyNXJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0RpdmlkZXJDb2xvcn06IHZhcigtLXN1cmZhY2UtdHJhbnNwYXJlbnQtdGVydGlhcnkpO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzRGl2aWRlckJvcmRlclJhZGl1c306IDAuMDYyNXJlbTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgIH0sXG4gICAgICAgIHNpemU6IHtcbiAgICAgICAgICAgIHhzOiBjc3NgXG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNCb3JkZXJSYWRpdXN9OiAwLjVyZW07XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNXaWR0aH06IGZpdC1jb250ZW50O1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzSGVpZ2h0fTogYXV0bztcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dJbm5lclBhZGRpbmd9OiAwcmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5hcnJvd091dGVyUGFkZGluZ306IDAuMTI1cmVtO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgICAgIHM6IGNzc2BcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0JvcmRlclJhZGl1c306IDAuNjI1cmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzV2lkdGh9OiBmaXQtY29udGVudDtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0hlaWdodH06IGF1dG87XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLmFycm93SW5uZXJQYWRkaW5nfTogMHJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dPdXRlclBhZGRpbmd9OiAwLjI1cmVtO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgICAgIG06IGNzc2BcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0JvcmRlclJhZGl1c306IDAuNzVyZW07XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNXaWR0aH06IGZpdC1jb250ZW50O1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzSGVpZ2h0fTogYXV0bztcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dJbm5lclBhZGRpbmd9OiAwcmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5hcnJvd091dGVyUGFkZGluZ306IDAuNjI1cmVtO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgICAgIGw6IGNzc2BcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0JvcmRlclJhZGl1c306IDAuNzVyZW07XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNXaWR0aH06IGZpdC1jb250ZW50O1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzSGVpZ2h0fTogYXV0bztcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dJbm5lclBhZGRpbmd9OiAwcmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5hcnJvd091dGVyUGFkZGluZ306IDAuNzVyZW07XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgICAgICBkaXNhYmxlZDoge1xuICAgICAgICAgICAgdHJ1ZTogY3NzYFxuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5kaXNhYmxlZE9wYWNpdHl9OiAwLjQ7XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgIH0sXG59O1xuIl19 */"))
20
20
  }
21
21
  }
22
22
  };
@@ -1,6 +1,6 @@
1
1
  import { objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
2
2
  import React, { forwardRef, useMemo } from 'react';
3
- import { useFocusTrap, useForkRef, safeUseId } from '@salutejs/plasma-core';
3
+ import { useForkRef, safeUseId } from '@salutejs/plasma-core';
4
4
  import { DEFAULT_Z_INDEX } from '../Popup/utils/index.js';
5
5
  import { cx } from '../../utils/index.js';
6
6
  import { classes, tokens } from './Drawer.tokens.js';
@@ -9,6 +9,7 @@ import { base as base$1 } from './variations/_size/base.js';
9
9
  import { base as base$2 } from './variations/_borderRadius/base.js';
10
10
  import { StyledPopup } from './Drawer.styles.js';
11
11
  import { getIdLastDrawer } from './DrawerContext.js';
12
+ import { useFocusTrap } from '../../hooks/useFocusTrap.js';
12
13
  import { usePopupContext } from '../Popup/PopupContext.js';
13
14
  import { useDrawer } from './hooks/useDrawer.js';
14
15
  import { Overlay } from '../Overlay/Overlay.js';
@@ -1 +1 @@
1
- {"version":3,"file":"Drawer.js","sources":["../../../src/components/Drawer/Drawer.tsx"],"sourcesContent":["import React, { forwardRef, useMemo } from 'react';\nimport { useFocusTrap, useForkRef, safeUseId } from '@salutejs/plasma-core';\n\nimport { component, mergeConfig } from '../../engines';\nimport type { RootProps } from '../../engines';\nimport { usePopupContext } from '../Popup';\nimport { Overlay } from '../Overlay';\nimport { DEFAULT_Z_INDEX } from '../Popup/utils';\nimport { panelConfig } from '../Panel';\nimport { cx, getSizeValueFromProp } from '../../utils';\n\nimport { classes, tokens } from './Drawer.tokens';\nimport type { DrawerProps } from './Drawer.types';\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as sizeCSS } from './variations/_size/base';\nimport { base as borderRadiusCSS } from './variations/_borderRadius/base';\nimport { StyledPopup } from './Drawer.styles';\nimport { getIdLastDrawer } from './DrawerContext';\nimport { useDrawer } from './hooks';\n\n// issue #823\nconst mergedPanelConfig = mergeConfig(panelConfig);\nconst Panel = component(mergedPanelConfig);\n\nexport const drawerRoot = (Root: RootProps<HTMLDivElement, DrawerProps>) =>\n forwardRef<HTMLDivElement, DrawerProps>(\n (\n {\n id,\n zIndex,\n popupInfo,\n withBlur,\n children,\n view,\n size,\n width,\n height,\n isOpen,\n opened,\n initialFocusRef,\n focusAfterRef,\n className,\n onClose,\n onOverlayClick,\n onEscKeyDown,\n offset,\n frame,\n borderRadius = 'none',\n placement = 'right',\n closeOnEsc = true,\n closeOnOverlayClick = true,\n asModal = true,\n ...rest\n },\n outerRef,\n ) => {\n const innerIsOpen = Boolean(isOpen || opened);\n\n const trapRef = useFocusTrap(true, initialFocusRef, focusAfterRef);\n const popupController = usePopupContext();\n\n const innerRef = useForkRef<HTMLDivElement>(trapRef, outerRef);\n\n const uniqId = safeUseId();\n const innerId = id || uniqId;\n const overlayBackgroundToken = withBlur\n ? `var(${tokens.drawerOverlayWithBlurColor})`\n : `var(${tokens.drawerOverlayColor})`;\n const innerWidth = width ? getSizeValueFromProp(width) : '100%';\n const innerHeight = height ? getSizeValueFromProp(height) : '100%';\n\n const placementClass = placement ? classes[`${placement}Placement` as keyof typeof classes] : undefined;\n\n const { drawerInfo } = useDrawer({\n id: innerId,\n isOpen: innerIsOpen,\n closeOnEsc,\n onEscKeyDown,\n onClose,\n popupInfo,\n disableScroll: asModal,\n });\n const transparent = useMemo(() => getIdLastDrawer(popupController.items) !== innerId, [\n innerId,\n popupController.items,\n ]);\n\n const onDrawerOverlayKeyDown = (event: React.MouseEvent<HTMLDivElement>) => {\n if (onOverlayClick) {\n onOverlayClick(event);\n return;\n }\n\n if (onClose) {\n onClose();\n }\n };\n\n return (\n <StyledPopup\n id={innerId}\n ref={asModal ? innerRef : outerRef}\n className={cx(placementClass)}\n opened={innerIsOpen}\n zIndex={zIndex}\n placement={placement}\n popupInfo={drawerInfo}\n frame={frame}\n width={innerWidth}\n height={innerHeight}\n offset={offset}\n withAnimation\n overlay={\n asModal && (\n <Root view={view}>\n <Overlay\n className={classes.overlay}\n zIndex={zIndex || DEFAULT_Z_INDEX}\n backgroundColorProperty={overlayBackgroundToken}\n withBlur={withBlur}\n transparent={transparent}\n isClickable={closeOnOverlayClick}\n onOverlayClick={onDrawerOverlayKeyDown}\n />\n </Root>\n )\n }\n {...rest}\n >\n <Root\n view={view}\n size={size}\n style={{ width: innerWidth, height: innerHeight }}\n borderRadius={borderRadius}\n >\n <Panel width={innerWidth} height={innerHeight} className={className}>\n {children}\n </Panel>\n </Root>\n </StyledPopup>\n );\n },\n );\n\nexport const drawerConfig = {\n name: 'Drawer',\n tag: 'div',\n layout: drawerRoot,\n base: '',\n variations: {\n view: {\n css: viewCSS,\n },\n size: {\n css: sizeCSS,\n },\n borderRadius: {\n css: borderRadiusCSS,\n },\n },\n defaults: {\n view: 'default',\n size: 'm',\n borderRadius: 'none',\n },\n};\n"],"names":["mergedPanelConfig","mergeConfig","panelConfig","Panel","component","drawerRoot","Root","forwardRef","_ref","outerRef","id","zIndex","popupInfo","withBlur","children","view","size","width","height","isOpen","opened","initialFocusRef","focusAfterRef","className","onClose","onOverlayClick","onEscKeyDown","offset","frame","_ref$borderRadius","borderRadius","_ref$placement","placement","_ref$closeOnEsc","closeOnEsc","_ref$closeOnOverlayCl","closeOnOverlayClick","_ref$asModal","asModal","rest","_objectWithoutProperties","_excluded","innerIsOpen","Boolean","trapRef","useFocusTrap","popupController","usePopupContext","innerRef","useForkRef","uniqId","safeUseId","innerId","overlayBackgroundToken","concat","tokens","drawerOverlayWithBlurColor","drawerOverlayColor","innerWidth","getSizeValueFromProp","innerHeight","placementClass","classes","undefined","_useDrawer","useDrawer","disableScroll","drawerInfo","transparent","useMemo","getIdLastDrawer","items","onDrawerOverlayKeyDown","event","React","createElement","StyledPopup","_extends","ref","cx","withAnimation","overlay","Overlay","DEFAULT_Z_INDEX","backgroundColorProperty","isClickable","style","drawerConfig","name","tag","layout","base","variations","css","viewCSS","sizeCSS","borderRadiusCSS","defaults"],"mappings":";;;;;;;;;;;;;;;;;;;;AAoBA;AACA,IAAMA,iBAAiB,gBAAGC,WAAW,CAACC,WAAW,CAAC,CAAA;AAClD,IAAMC,KAAK,gBAAGC,SAAS,CAACJ,iBAAiB,CAAC,CAAA;IAE7BK,UAAU,GAAG,SAAbA,UAAUA,CAAIC,IAA4C,EAAA;AAAA,EAAA,oBACnEC,UAAU,CACN,UAAAC,IAAA,EA4BIC,QAAQ,EACP;AAAA,IAAA,IA3BGC,EAAE,GAAAF,IAAA,CAAFE,EAAE;MACFC,MAAM,GAAAH,IAAA,CAANG,MAAM;MACNC,SAAS,GAAAJ,IAAA,CAATI,SAAS;MACTC,QAAQ,GAAAL,IAAA,CAARK,QAAQ;MACRC,QAAQ,GAAAN,IAAA,CAARM,QAAQ;MACRC,IAAI,GAAAP,IAAA,CAAJO,IAAI;MACJC,IAAI,GAAAR,IAAA,CAAJQ,IAAI;MACJC,KAAK,GAAAT,IAAA,CAALS,KAAK;MACLC,MAAM,GAAAV,IAAA,CAANU,MAAM;MACNC,MAAM,GAAAX,IAAA,CAANW,MAAM;MACNC,MAAM,GAAAZ,IAAA,CAANY,MAAM;MACNC,eAAe,GAAAb,IAAA,CAAfa,eAAe;MACfC,aAAa,GAAAd,IAAA,CAAbc,aAAa;MACbC,SAAS,GAAAf,IAAA,CAATe,SAAS;MACTC,OAAO,GAAAhB,IAAA,CAAPgB,OAAO;MACPC,cAAc,GAAAjB,IAAA,CAAdiB,cAAc;MACdC,YAAY,GAAAlB,IAAA,CAAZkB,YAAY;MACZC,MAAM,GAAAnB,IAAA,CAANmB,MAAM;MACNC,KAAK,GAAApB,IAAA,CAALoB,KAAK;MAAAC,iBAAA,GAAArB,IAAA,CACLsB,YAAY;AAAZA,MAAAA,YAAY,GAAAD,iBAAA,KAAG,KAAA,CAAA,GAAA,MAAM,GAAAA,iBAAA;MAAAE,cAAA,GAAAv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ACE,CACL,CACG,CAAC,CAAA;AAEtB,GACJ,CAAC,CAAA;AAAA,EAAA;AAEE,IAAMyE,YAAY,GAAG;AACxBC,EAAAA,IAAI,EAAE,QAAQ;AACdC,EAAAA,GAAG,EAAE,KAAK;AACVC,EAAAA,MAAM,EAAErF,UAAU;AAClBsF,EAAAA,IAAI,EAAE,EAAE;AACRC,EAAAA,UAAU,EAAE;AACR7E,IAAAA,IAAI,EAAE;AACF8E,MAAAA,GAAG,EAAEC,IAAAA;KACR;AACD9E,IAAAA,IAAI,EAAE;AACF6E,MAAAA,GAAG,EAAEE,MAAAA;KACR;AACDjE,IAAAA,YAAY,EAAE;AACV+D,MAAAA,GAAG,EAAEG,MAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACNlF,IAAAA,IAAI,EAAE,SAAS;AACfC,IAAAA,IAAI,EAAE,GAAG;AACTc,IAAAA,YAAY,EAAE,MAAA;AAClB,GAAA;AACJ;;;;"}
1
+ {"version":3,"file":"Drawer.js","sources":["../../../src/components/Drawer/Drawer.tsx"],"sourcesContent":["import React, { forwardRef, useMemo } from 'react';\nimport { useForkRef, safeUseId } from '@salutejs/plasma-core';\n\nimport { component, mergeConfig } from '../../engines';\nimport type { RootProps } from '../../engines';\nimport { usePopupContext } from '../Popup';\nimport { Overlay } from '../Overlay';\nimport { DEFAULT_Z_INDEX } from '../Popup/utils';\nimport { panelConfig } from '../Panel';\nimport { cx, getSizeValueFromProp } from '../../utils';\nimport { useFocusTrap } from '../../hooks';\n\nimport { classes, tokens } from './Drawer.tokens';\nimport type { DrawerProps } from './Drawer.types';\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as sizeCSS } from './variations/_size/base';\nimport { base as borderRadiusCSS } from './variations/_borderRadius/base';\nimport { StyledPopup } from './Drawer.styles';\nimport { getIdLastDrawer } from './DrawerContext';\nimport { useDrawer } from './hooks';\n\n// issue #823\nconst mergedPanelConfig = mergeConfig(panelConfig);\nconst Panel = component(mergedPanelConfig);\n\nexport const drawerRoot = (Root: RootProps<HTMLDivElement, DrawerProps>) =>\n forwardRef<HTMLDivElement, DrawerProps>(\n (\n {\n id,\n zIndex,\n popupInfo,\n withBlur,\n children,\n view,\n size,\n width,\n height,\n isOpen,\n opened,\n initialFocusRef,\n focusAfterRef,\n className,\n onClose,\n onOverlayClick,\n onEscKeyDown,\n offset,\n frame,\n borderRadius = 'none',\n placement = 'right',\n closeOnEsc = true,\n closeOnOverlayClick = true,\n asModal = true,\n ...rest\n },\n outerRef,\n ) => {\n const innerIsOpen = Boolean(isOpen || opened);\n\n const trapRef = useFocusTrap(true, initialFocusRef, focusAfterRef);\n const popupController = usePopupContext();\n\n const innerRef = useForkRef<HTMLDivElement>(trapRef, outerRef);\n\n const uniqId = safeUseId();\n const innerId = id || uniqId;\n const overlayBackgroundToken = withBlur\n ? `var(${tokens.drawerOverlayWithBlurColor})`\n : `var(${tokens.drawerOverlayColor})`;\n const innerWidth = width ? getSizeValueFromProp(width) : '100%';\n const innerHeight = height ? getSizeValueFromProp(height) : '100%';\n\n const placementClass = placement ? classes[`${placement}Placement` as keyof typeof classes] : undefined;\n\n const { drawerInfo } = useDrawer({\n id: innerId,\n isOpen: innerIsOpen,\n closeOnEsc,\n onEscKeyDown,\n onClose,\n popupInfo,\n disableScroll: asModal,\n });\n const transparent = useMemo(() => getIdLastDrawer(popupController.items) !== innerId, [\n innerId,\n popupController.items,\n ]);\n\n const onDrawerOverlayKeyDown = (event: React.MouseEvent<HTMLDivElement>) => {\n if (onOverlayClick) {\n onOverlayClick(event);\n return;\n }\n\n if (onClose) {\n onClose();\n }\n };\n\n return (\n <StyledPopup\n id={innerId}\n ref={asModal ? innerRef : outerRef}\n className={cx(placementClass)}\n opened={innerIsOpen}\n zIndex={zIndex}\n placement={placement}\n popupInfo={drawerInfo}\n frame={frame}\n width={innerWidth}\n height={innerHeight}\n offset={offset}\n withAnimation\n overlay={\n asModal && (\n <Root view={view}>\n <Overlay\n className={classes.overlay}\n zIndex={zIndex || DEFAULT_Z_INDEX}\n backgroundColorProperty={overlayBackgroundToken}\n withBlur={withBlur}\n transparent={transparent}\n isClickable={closeOnOverlayClick}\n onOverlayClick={onDrawerOverlayKeyDown}\n />\n </Root>\n )\n }\n {...rest}\n >\n <Root\n view={view}\n size={size}\n style={{ width: innerWidth, height: innerHeight }}\n borderRadius={borderRadius}\n >\n <Panel width={innerWidth} height={innerHeight} className={className}>\n {children}\n </Panel>\n </Root>\n </StyledPopup>\n );\n },\n );\n\nexport const drawerConfig = {\n name: 'Drawer',\n tag: 'div',\n layout: drawerRoot,\n base: '',\n variations: {\n view: {\n css: viewCSS,\n },\n size: {\n css: sizeCSS,\n },\n borderRadius: {\n css: borderRadiusCSS,\n },\n },\n defaults: {\n view: 'default',\n size: 'm',\n borderRadius: 'none',\n },\n};\n"],"names":["mergedPanelConfig","mergeConfig","panelConfig","Panel","component","drawerRoot","Root","forwardRef","_ref","outerRef","id","zIndex","popupInfo","withBlur","children","view","size","width","height","isOpen","opened","initialFocusRef","focusAfterRef","className","onClose","onOverlayClick","onEscKeyDown","offset","frame","_ref$borderRadius","borderRadius","_ref$placement","placement","_ref$closeOnEsc","closeOnEsc","_ref$closeOnOverlayCl","closeOnOverlayClick","_ref$asModal","asModal","rest","_objectWithoutProperties","_excluded","innerIsOpen","Boolean","trapRef","useFocusTrap","popupController","usePopupContext","innerRef","useForkRef","uniqId","safeUseId","innerId","overlayBackgroundToken","concat","tokens","drawerOverlayWithBlurColor","drawerOverlayColor","innerWidth","getSizeValueFromProp","innerHeight","placementClass","classes","undefined","_useDrawer","useDrawer","disableScroll","drawerInfo","transparent","useMemo","getIdLastDrawer","items","onDrawerOverlayKeyDown","event","React","createElement","StyledPopup","_extends","ref","cx","withAnimation","overlay","Overlay","DEFAULT_Z_INDEX","backgroundColorProperty","isClickable","style","drawerConfig","name","tag","layout","base","variations","css","viewCSS","sizeCSS","borderRadiusCSS","defaults"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAqBA;AAC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,IAAI,EAAE,QAAQ;AACdC,EAAAA,GAAG,EAAE,KAAK;AACVC,EAAAA,MAAM,EAAErF,UAAU;AAClBsF,EAAAA,IAAI,EAAE,EAAE;AACRC,EAAAA,UAAU,EAAE;AACR7E,IAAAA,IAAI,EAAE;AACF8E,MAAAA,GAAG,EAAEC,IAAAA;KACR;AACD9E,IAAAA,IAAI,EAAE;AACF6E,MAAAA,GAAG,EAAEE,MAAAA;KACR;AACDjE,IAAAA,YAAY,EAAE;AACV+D,MAAAA,GAAG,EAAEG,MAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACNlF,IAAAA,IAAI,EAAE,SAAS;AACfC,IAAAA,IAAI,EAAE,GAAG;AACTc,IAAAA,YAAY,EAAE,MAAA;AAClB,GAAA;AACJ;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"createTabsController.js","sources":["../../../src/components/Tabs/createTabsController.tsx"],"sourcesContent":["import React, { forwardRef, ForwardRefExoticComponent, RefAttributes } from 'react';\n\nimport { HorizontalTabItemProps } from './TabItem.types';\nimport { HorizontalCommonTabsProps, HorizontalTabsProps } from './Tabs.types';\n\nexport interface TabsControllerProps extends HorizontalCommonTabsProps {\n items: Array<{ label: string } & HorizontalTabItemProps>;\n index: number;\n onIndexChange: (index: number) => void;\n children?: never;\n autoscroll?: boolean;\n}\n\n/**\n * @deprecated\n * Используйте Tabs, TabItem, указав параметры index, itemIndex, onIndexChange\n *\n * Функция для создания `TabController`, которая дает возможность\n * кастомизировать стили, при этом сохраняя единый интерфейс и функционал.\n */\nexport function createTabsController<T extends HTMLDivElement, P extends TabsControllerProps>(\n ListComponent: ForwardRefExoticComponent<HorizontalTabsProps & RefAttributes<HTMLDivElement>>,\n ItemComponent: ForwardRefExoticComponent<HorizontalTabItemProps & RefAttributes<HTMLDivElement>>,\n) {\n // eslint-disable-next-line prefer-arrow-callback\n return forwardRef<T, P>(function TabsController({ items, index, autoscroll, onIndexChange, ...rest }, ref) {\n const { disabled } = rest;\n\n return (\n <ListComponent ref={ref} index={index} {...rest}>\n {items.map(({ label, ...restItem }, i) => (\n <ItemComponent\n key={i}\n selected={i === index}\n itemIndex={i}\n onIndexChange={onIndexChange}\n tabIndex={!disabled && i === index ? 0 : -1}\n disabled={disabled}\n {...restItem}\n >\n {label}\n </ItemComponent>\n ))}\n </ListComponent>\n );\n });\n}\n"],"names":["createTabsController","ListComponent","ItemComponent","forwardRef","TabsController","_ref","ref","items","index","onIndexChange","rest","_objectWithoutProperties","_excluded","disabled","React","createElement","_extends","map","_ref2","i","label","restItem","_excluded2","key","selected","itemIndex","tabIndex"],"mappings":";;;;;AAaA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAASA,oBAAoBA,CAChCC,aAA6F,EAC7FC,aAAgG,EAClG;AACE;EACA,oBAAOC,UAAU,CAAO,SAASC,cAAcA,CAAAC,IAAA,EAAuDC,GAAG,EAAE;AAAA,IAAA,IAAzDC,KAAK,GAAAF,IAAA,CAALE,KAAK,CAAA;MAAEC,KAAK,GAAAH,IAAA,CAALG,KAAK,CAAA;MAAcC,aAAa,GAAAJ,IAAA,CAAbI,aAAa,CAAA;AAAKC,MAAAA,IAAI,GAAAC,wBAAA,CAAAN,IAAA,EAAAO,SAAA,EAAA;AAC9F,IAAA,IAAQC,QAAQ,GAAKH,IAAI,CAAjBG,QAAQ,CAAA;AAEhB,IAAA,oBACIC,KAAA,CAAAC,aAAA,CAACd,aAAa,EAAAe,QAAA,CAAA;AAACV,MAAAA,GAAG,EAAEA,GAAI;AAACE,MAAAA,KAAK,EAAEA,KAAAA;KAAWE,EAAAA,IAAI,GAC1CH,KAAK,CAACU,GAAG,CAAC,UAAAC,KAAA,EAAyBC,CAAC,EAAA;AAAA,MAAA,IAAvBC,KAAK,GAAAF,KAAA,CAALE,KAAK;AAAKC,QAAAA,QAAQ,GAAAV,wBAAA,CAAAO,KAAA,EAAAI,UAAA,CAAA,CAAA;AAAA,MAAA,oBAC5BR,KAAA,CAAAC,aAAA,CAACb,aAAa,EAAAc,QAAA,CAAA;AACVO,QAAAA,GAAG,EAAEJ,CAAE;QACPK,QAAQ,EAAEL,CAAC,KAAKX,KAAM;AACtBiB,QAAAA,SAAS,EAAEN,CAAE;AACbV,QAAAA,aAAa,EAAEA,aAAc;QAC7BiB,QAAQ,EAAE,CAACb,QAAQ,IAAIM,CAAC,KAAKX,KAAK,GAAG,CAAC,GAAG,CAAC,CAAE;AAC5CK,QAAAA,QAAQ,EAAEA,QAAAA;OACNQ,EAAAA,QAAQ,CAEXD,EAAAA,KACU,CAAC,CAAA;AAAA,KACnB,CACU,CAAC,CAAA;AAExB,GAAC,CAAC,CAAA;AACN;;;;"}
1
+ {"version":3,"file":"createTabsController.js","sources":["../../../src/components/Tabs/createTabsController.tsx"],"sourcesContent":["import React, { forwardRef, ForwardRefExoticComponent, RefAttributes } from 'react';\n\nimport { HorizontalTabItemProps } from './TabItem.types';\nimport { HorizontalTabsProps } from './Tabs.types';\n\nexport interface TabsControllerProps extends HorizontalTabsProps {\n items: Array<{ label: string } & HorizontalTabItemProps>;\n index: number;\n onIndexChange: (index: number) => void;\n children?: never;\n autoscroll?: boolean;\n}\n\n/**\n * @deprecated\n * Используйте Tabs, TabItem, указав параметры index, itemIndex, onIndexChange\n *\n * Функция для создания `TabController`, которая дает возможность\n * кастомизировать стили, при этом сохраняя единый интерфейс и функционал.\n */\nexport function createTabsController<T extends HTMLDivElement, P extends TabsControllerProps>(\n ListComponent: ForwardRefExoticComponent<HorizontalTabsProps & RefAttributes<HTMLDivElement>>,\n ItemComponent: ForwardRefExoticComponent<HorizontalTabItemProps & RefAttributes<HTMLDivElement>>,\n) {\n // eslint-disable-next-line prefer-arrow-callback\n return forwardRef<T, P>(function TabsController({ items, index, autoscroll, onIndexChange, ...rest }, ref) {\n const { disabled } = rest;\n\n return (\n <ListComponent ref={ref} index={index} {...rest}>\n {items.map(({ label, ...restItem }, i) => (\n <ItemComponent\n key={i}\n selected={i === index}\n itemIndex={i}\n onIndexChange={onIndexChange}\n tabIndex={!disabled && i === index ? 0 : -1}\n disabled={disabled}\n {...restItem}\n >\n {label}\n </ItemComponent>\n ))}\n </ListComponent>\n );\n });\n}\n"],"names":["createTabsController","ListComponent","ItemComponent","forwardRef","TabsController","_ref","ref","items","index","onIndexChange","rest","_objectWithoutProperties","_excluded","disabled","React","createElement","_extends","map","_ref2","i","label","restItem","_excluded2","key","selected","itemIndex","tabIndex"],"mappings":";;;;;AAaA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAASA,oBAAoBA,CAChCC,aAA6F,EAC7FC,aAAgG,EAClG;AACE;EACA,oBAAOC,UAAU,CAAO,SAASC,cAAcA,CAAAC,IAAA,EAAuDC,GAAG,EAAE;AAAA,IAAA,IAAzDC,KAAK,GAAAF,IAAA,CAALE,KAAK,CAAA;MAAEC,KAAK,GAAAH,IAAA,CAALG,KAAK,CAAA;MAAcC,aAAa,GAAAJ,IAAA,CAAbI,aAAa,CAAA;AAAKC,MAAAA,IAAI,GAAAC,wBAAA,CAAAN,IAAA,EAAAO,SAAA,EAAA;AAC9F,IAAA,IAAQC,QAAQ,GAAKH,IAAI,CAAjBG,QAAQ,CAAA;AAEhB,IAAA,oBACIC,KAAA,CAAAC,aAAA,CAACd,aAAa,EAAAe,QAAA,CAAA;AAACV,MAAAA,GAAG,EAAEA,GAAI;AAACE,MAAAA,KAAK,EAAEA,KAAAA;KAAWE,EAAAA,IAAI,GAC1CH,KAAK,CAACU,GAAG,CAAC,UAAAC,KAAA,EAAyBC,CAAC,EAAA;AAAA,MAAA,IAAvBC,KAAK,GAAAF,KAAA,CAALE,KAAK;AAAKC,QAAAA,QAAQ,GAAAV,wBAAA,CAAAO,KAAA,EAAAI,UAAA,CAAA,CAAA;AAAA,MAAA,oBAC5BR,KAAA,CAAAC,aAAA,CAACb,aAAa,EAAAc,QAAA,CAAA;AACVO,QAAAA,GAAG,EAAEJ,CAAE;QACPK,QAAQ,EAAEL,CAAC,KAAKX,KAAM;AACtBiB,QAAAA,SAAS,EAAEN,CAAE;AACbV,QAAAA,aAAa,EAAEA,aAAc;QAC7BiB,QAAQ,EAAE,CAACb,QAAQ,IAAIM,CAAC,KAAKX,KAAK,GAAG,CAAC,GAAG,CAAC,CAAE;AAC5CK,QAAAA,QAAQ,EAAEA,QAAAA;OACNQ,EAAAA,QAAQ,CAEXD,EAAAA,KACU,CAAC,CAAA;AAAA,KACnB,CACU,CAAC,CAAA;AAExB,GAAC,CAAC,CAAA;AACN;;;;"}
@@ -33,8 +33,6 @@ var tokens = {
33
33
  itemSelectedDividerColorHover: '--plasma-tab-item-selected-hover-divider-color',
34
34
  outlineFocusColor: '--plasma-tabs-outline-focus-color',
35
35
  arrowColor: '--plasma-tabs-arrow-color',
36
- arrowColorHover: '--plasma-tabs-arrow-color-hover',
37
- arrowColorActive: '--plasma-tabs-arrow-color-active',
38
36
  tabsFilledBackgroundColor: '--plasma-tabs-filled-background-color',
39
37
  tabsBackgroundColor: '--plasma-tabs-background-color',
40
38
  tabsBorderRadius: '--plasma-tabs-border-radius',
@@ -1 +1 @@
1
- {"version":3,"file":"tokens.js","sources":["../../../src/components/Tabs/tokens.ts"],"sourcesContent":["export const classes = {\n selectedTabsItem: 'selected-tabs-item',\n tabsPilled: 'tabs-pilled',\n tabsGroupFilledBackground: 'tabs-group-filled-background',\n tabsStretch: 'tabs-stretched',\n tabsNoDivider: 'tabs-no-divider',\n tabItemDivider: 'tab-item-divider',\n tabItemAnimated: 'tab-item-animated',\n tabContent: 'tab-item-content',\n tabRightContent: 'tab-item-right-content',\n tabLeftContent: 'tab-item-left-content',\n tabsHasLeftArrow: 'tabs-has-left-arrow',\n tabsHasRightArrow: 'tabs-has-right-arrow',\n tabsHasTopArrow: 'tabs-has-top-arrow',\n tabsHasBottomArrow: 'tabs-has-bottom-arrow',\n tabsClipScroll: 'tabs-clip-scroll',\n tabsClipShowAll: 'tabs-clip-show-all',\n};\n\nexport const tokens = {\n disabledOpacity: '--plasma-tabs-disabled-opacity',\n containerWidth: '--plasma-tabs-container-width',\n containerHeight: '--plasma-tabs-container-height',\n cursor: '--plasma-tabs-cursor',\n color: '--plasma-tabs-color',\n colorHover: '--plasma-tabs-color-hover',\n\n tabsDividerWidth: '--plasma-tabs-divider-width',\n tabsDividerHeight: '--plasma-tabs-divider-height',\n tabsDividerColor: '--plasma-tabs-divider-color',\n tabsDividerBorderRadius: '--plasma-tabs-divider-border-radius',\n\n itemSelectedDividerWidth: '--plasma-tab-item-selected-divider-width',\n itemSelectedDividerHeight: '--plasma-tab-item-selected-divider-height',\n itemSelectedDividerColor: '--plasma-tab-item-selected-divider-color',\n itemSelectedDividerColorHover: '--plasma-tab-item-selected-hover-divider-color',\n\n outlineFocusColor: '--plasma-tabs-outline-focus-color',\n arrowColor: '--plasma-tabs-arrow-color',\n arrowColorHover: '--plasma-tabs-arrow-color-hover',\n arrowColorActive: '--plasma-tabs-arrow-color-active',\n tabsFilledBackgroundColor: '--plasma-tabs-filled-background-color',\n\n tabsBackgroundColor: '--plasma-tabs-background-color',\n tabsBorderRadius: '--plasma-tabs-border-radius',\n tabsWidth: '--plasma-tabs-width',\n tabsHeight: '--plasma-tabs-height',\n tabsPadding: '--plasma-tabs-padding',\n tabsPilledBorderRadius: '--plasma-tabs-pilled-border-radius',\n\n itemBorderRadius: '--plasma-tab-item-border-radius',\n itemPilledBorderRadius: '--plasma-tab-item-pilled-border-radius',\n itemWidth: '--plasma-tab-item-width',\n itemHeight: '--plasma-tab-item-height',\n itemPadding: '--plasma-tab-item-padding',\n itemPaddingClear: '--plasma-tab-item-padding-clear',\n itemPaddingPilled: '--plasma-tab-item-padding-pilled',\n itemPaddingOrientationVertical: '--plasma-tab-item-padding-orientation-vertical',\n itemMarginLeft: '--plasma-tab-item-margin-left',\n itemMarginLeftFilled: '--plasma-tab-item-margin-left-filled',\n itemContentGap: '--plasma-tab-item-content-gap',\n\n itemContentPadding: '--plasma-tab-item-content-padding',\n itemContentPaddingClear: '--plasma-tab-item-content-padding-clear',\n\n arrowInnerPadding: '--plasma-tab-arrow-inner-padding',\n arrowOuterPadding: '--plasma-tab-arrow-outer-padding',\n arrowViewOuterPadding: '--plasma-tab-arrow-view-outer-padding',\n\n itemColor: '--plasma-tab-item-color',\n itemValueColor: '--plasma-tab-item-value-color',\n itemBackgroundColor: '--plasma-tab-item-background-color',\n itemColorHover: '--plasma-tab-item-color-hover',\n itemValueColorHover: '--plasma-tab-item-value-color-hover',\n itemColorActive: '--plasma-tab-item-color-active',\n itemValueColorActive: '--plasma-tab-item-value-color-active',\n itemBackgroundColorHover: '--plasma-tab-item-background-color-hover',\n\n itemSelectedColor: '--plasma-tab-item-selected-color',\n itemSelectedValueColor: '--plasma-tab-item-selected-value-color',\n itemSelectedBackgroundColor: '--plasma-tab-item-selected-background-color',\n itemSelectedColorHover: '--plasma-tab-item-selected-color-hover',\n itemSelectedValueColorHover: '--plasma-tab-item-selected-value-color-hover',\n itemSelectedBackgroundColorHover: '--plasma-tab-item-selected-background-color-hover',\n\n itemBackgroundTransition: '--plasma-tab-item-background-transition',\n\n fontFamily: '--plasma-tab-item-font-family',\n fontSize: '--plasma-tab-item-font-size',\n fontStyle: '--plasma-tab-item-font-style',\n fontWeight: '--plasma-tab-item-font-weight',\n letterSpacing: '--plasma-tab-item-letter-spacing',\n lineHeight: '--plasma-tab-item-lineheight',\n};\n"],"names":["classes","selectedTabsItem","tabsPilled","tabsGroupFilledBackground","tabsStretch","tabsNoDivider","tabItemDivider","tabItemAnimated","tabContent","tabRightContent","tabLeftContent","tabsHasLeftArrow","tabsHasRightArrow","tabsHasTopArrow","tabsHasBottomArrow","tabsClipScroll","tabsClipShowAll","tokens","disabledOpacity","containerWidth","containerHeight","cursor","color","colorHover","tabsDividerWidth","tabsDividerHeight","tabsDividerColor","tabsDividerBorderRadius","itemSelectedDividerWidth","itemSelectedDividerHeight","itemSelectedDividerColor","itemSelectedDividerColorHover","outlineFocusColor","arrowColor","arrowColorHover","arrowColorActive","tabsFilledBackgroundColor","tabsBackgroundColor","tabsBorderRadius","tabsWidth","tabsHeight","tabsPadding","tabsPilledBorderRadius","itemBorderRadius","itemPilledBorderRadius","itemWidth","itemHeight","itemPadding","itemPaddingClear","itemPaddingPilled","itemPaddingOrientationVertical","itemMarginLeft","itemMarginLeftFilled","itemContentGap","itemContentPadding","itemContentPaddingClear","arrowInnerPadding","arrowOuterPadding","arrowViewOuterPadding","itemColor","itemValueColor","itemBackgroundColor","itemColorHover","itemValueColorHover","itemColorActive","itemValueColorActive","itemBackgroundColorHover","itemSelectedColor","itemSelectedValueColor","itemSelectedBackgroundColor","itemSelectedColorHover","itemSelectedValueColorHover","itemSelectedBackgroundColorHover","itemBackgroundTransition","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight"],"mappings":"AAAO,IAAMA,OAAO,GAAG;AACnBC,EAAAA,gBAAgB,EAAE,oBAAoB;AACtCC,EAAAA,UAAU,EAAE,aAAa;AACzBC,EAAAA,yBAAyB,EAAE,8BAA8B;AACzDC,EAAAA,WAAW,EAAE,gBAAgB;AAC7BC,EAAAA,aAAa,EAAE,iBAAiB;AAChCC,EAAAA,cAAc,EAAE,kBAAkB;AAClCC,EAAAA,eAAe,EAAE,mBAAmB;AACpCC,EAAAA,UAAU,EAAE,kBAAkB;AAC9BC,EAAAA,eAAe,EAAE,wBAAwB;AACzCC,EAAAA,cAAc,EAAE,uBAAuB;AACvCC,EAAAA,gBAAgB,EAAE,qBAAqB;AACvCC,EAAAA,iBAAiB,EAAE,sBAAsB;AACzCC,EAAAA,eAAe,EAAE,oBAAoB;AACrCC,EAAAA,kBAAkB,EAAE,uBAAuB;AAC3CC,EAAAA,cAAc,EAAE,kBAAkB;AAClCC,EAAAA,eAAe,EAAE,oBAAA;AACrB,EAAC;AAEM,IAAMC,MAAM,GAAG;AAClBC,EAAAA,eAAe,EAAE,gCAAgC;AACjDC,EAAAA,cAAc,EAAE,+BAA+B;AAC/CC,EAAAA,eAAe,EAAE,gCAAgC;AACjDC,EAAAA,MA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C;AACvDC,EAAAA,uBAAuB,EAAE,yCAAyC;AAElEC,EAAAA,iBAAiB,EAAE,kCAAkC;AACrDC,EAAAA,iBAAiB,EAAE,kCAAkC;AACrDC,EAAAA,qBAAqB,EAAE,uCAAuC;AAE9DC,EAAAA,SAAS,EAAE,yBAAyB;AACpCC,EAAAA,cAAc,EAAE,+BAA+B;AAC/CC,EAAAA,mBAAmB,EAAE,oCAAoC;AACzDC,EAAAA,cAAc,EAAE,+BAA+B;AAC/CC,EAAAA,mBAAmB,EAAE,qCAAqC;AAC1DC,EAAAA,eAAe,EAAE,gCAAgC;AACjDC,EAAAA,oBAAoB,EAAE,sCAAsC;AAC5DC,EAAAA,wBAAwB,EAAE,0CAA0C;AAEpEC,EAAAA,iBAAiB,EAAE,kCAAkC;AACrDC,EAAAA,sBAAsB,EAAE,wCAAwC;AAChEC,EAAAA,2BAA2B,EAAE,6CAA6C;AAC1EC,EAAAA,sBAAsB,EAAE,wCAAwC;AAChEC,EAAAA,2BAA2B,EAAE,8CAA8C;AAC3EC,EAAAA,gCAAgC,EAAE,mDAAmD;AAErFC,EAAAA,wBAAwB,EAAE,yCAAyC;AAEnEC,EAAAA,UAAU,EAAE,+BAA+B;AAC3CC,EAAAA,QAAQ,EAAE,6BAA6B;AACvCC,EAAAA,SAAS,EAAE,8BAA8B;AACzCC,EAAAA,UAAU,EAAE,+BAA+B;AAC3CC,EAAAA,aAAa,EAAE,kCAAkC;AACjDC,EAAAA,UAAU,EAAE,8BAAA;AAChB;;;;"}
1
+ {"version":3,"file":"tokens.js","sources":["../../../src/components/Tabs/tokens.ts"],"sourcesContent":["export const classes = {\n selectedTabsItem: 'selected-tabs-item',\n tabsPilled: 'tabs-pilled',\n tabsGroupFilledBackground: 'tabs-group-filled-background',\n tabsStretch: 'tabs-stretched',\n tabsNoDivider: 'tabs-no-divider',\n tabItemDivider: 'tab-item-divider',\n tabItemAnimated: 'tab-item-animated',\n tabContent: 'tab-item-content',\n tabRightContent: 'tab-item-right-content',\n tabLeftContent: 'tab-item-left-content',\n tabsHasLeftArrow: 'tabs-has-left-arrow',\n tabsHasRightArrow: 'tabs-has-right-arrow',\n tabsHasTopArrow: 'tabs-has-top-arrow',\n tabsHasBottomArrow: 'tabs-has-bottom-arrow',\n tabsClipScroll: 'tabs-clip-scroll',\n tabsClipShowAll: 'tabs-clip-show-all',\n};\n\nexport const tokens = {\n disabledOpacity: '--plasma-tabs-disabled-opacity',\n containerWidth: '--plasma-tabs-container-width',\n containerHeight: '--plasma-tabs-container-height',\n cursor: '--plasma-tabs-cursor',\n color: '--plasma-tabs-color',\n colorHover: '--plasma-tabs-color-hover',\n\n tabsDividerWidth: '--plasma-tabs-divider-width',\n tabsDividerHeight: '--plasma-tabs-divider-height',\n tabsDividerColor: '--plasma-tabs-divider-color',\n tabsDividerBorderRadius: '--plasma-tabs-divider-border-radius',\n\n itemSelectedDividerWidth: '--plasma-tab-item-selected-divider-width',\n itemSelectedDividerHeight: '--plasma-tab-item-selected-divider-height',\n itemSelectedDividerColor: '--plasma-tab-item-selected-divider-color',\n itemSelectedDividerColorHover: '--plasma-tab-item-selected-hover-divider-color',\n\n outlineFocusColor: '--plasma-tabs-outline-focus-color',\n arrowColor: '--plasma-tabs-arrow-color',\n tabsFilledBackgroundColor: '--plasma-tabs-filled-background-color',\n\n tabsBackgroundColor: '--plasma-tabs-background-color',\n tabsBorderRadius: '--plasma-tabs-border-radius',\n tabsWidth: '--plasma-tabs-width',\n tabsHeight: '--plasma-tabs-height',\n tabsPadding: '--plasma-tabs-padding',\n tabsPilledBorderRadius: '--plasma-tabs-pilled-border-radius',\n\n itemBorderRadius: '--plasma-tab-item-border-radius',\n itemPilledBorderRadius: '--plasma-tab-item-pilled-border-radius',\n itemWidth: '--plasma-tab-item-width',\n itemHeight: '--plasma-tab-item-height',\n itemPadding: '--plasma-tab-item-padding',\n itemPaddingClear: '--plasma-tab-item-padding-clear',\n itemPaddingPilled: '--plasma-tab-item-padding-pilled',\n itemPaddingOrientationVertical: '--plasma-tab-item-padding-orientation-vertical',\n itemMarginLeft: '--plasma-tab-item-margin-left',\n itemMarginLeftFilled: '--plasma-tab-item-margin-left-filled',\n itemContentGap: '--plasma-tab-item-content-gap',\n\n itemContentPadding: '--plasma-tab-item-content-padding',\n itemContentPaddingClear: '--plasma-tab-item-content-padding-clear',\n\n arrowInnerPadding: '--plasma-tab-arrow-inner-padding',\n arrowOuterPadding: '--plasma-tab-arrow-outer-padding',\n arrowViewOuterPadding: '--plasma-tab-arrow-view-outer-padding',\n\n itemColor: '--plasma-tab-item-color',\n itemValueColor: '--plasma-tab-item-value-color',\n itemBackgroundColor: '--plasma-tab-item-background-color',\n itemColorHover: '--plasma-tab-item-color-hover',\n itemValueColorHover: '--plasma-tab-item-value-color-hover',\n itemColorActive: '--plasma-tab-item-color-active',\n itemValueColorActive: '--plasma-tab-item-value-color-active',\n itemBackgroundColorHover: '--plasma-tab-item-background-color-hover',\n\n itemSelectedColor: '--plasma-tab-item-selected-color',\n itemSelectedValueColor: '--plasma-tab-item-selected-value-color',\n itemSelectedBackgroundColor: '--plasma-tab-item-selected-background-color',\n itemSelectedColorHover: '--plasma-tab-item-selected-color-hover',\n itemSelectedValueColorHover: '--plasma-tab-item-selected-value-color-hover',\n itemSelectedBackgroundColorHover: '--plasma-tab-item-selected-background-color-hover',\n\n itemBackgroundTransition: '--plasma-tab-item-background-transition',\n\n fontFamily: '--plasma-tab-item-font-family',\n fontSize: '--plasma-tab-item-font-size',\n fontStyle: '--plasma-tab-item-font-style',\n fontWeight: '--plasma-tab-item-font-weight',\n letterSpacing: '--plasma-tab-item-letter-spacing',\n lineHeight: '--plasma-tab-item-lineheight',\n};\n"],"names":["classes","selectedTabsItem","tabsPilled","tabsGroupFilledBackground","tabsStretch","tabsNoDivider","tabItemDivider","tabItemAnimated","tabContent","tabRightContent","tabLeftContent","tabsHasLeftArrow","tabsHasRightArrow","tabsHasTopArrow","tabsHasBottomArrow","tabsClipScroll","tabsClipShowAll","tokens","disabledOpacity","containerWidth","containerHeight","cursor","color","colorHover","tabsDividerWidth","tabsDividerHeight","tabsDividerColor","tabsDividerBorderRadius","itemSelectedDividerWidth","itemSelectedDividerHeight","itemSelectedDividerColor","itemSelectedDividerColorHover","outlineFocusColor","arrowColor","tabsFilledBackgroundColor","tabsBackgroundColor","tabsBorderRadius","tabsWidth","tabsHeight","tabsPadding","tabsPilledBorderRadius","itemBorderRadius","itemPilledBorderRadius","itemWidth","itemHeight","itemPadding","itemPaddingClear","itemPaddingPilled","itemPaddingOrientationVertical","itemMarginLeft","itemMarginLeftFilled","itemContentGap","itemContentPadding","itemContentPaddingClear","arrowInnerPadding","arrowOuterPadding","arrowViewOuterPadding","itemColor","itemValueColor","itemBackgroundColor","itemColorHover","itemValueColorHover","itemColorActive","itemValueColorActive","itemBackgroundColorHover","itemSelectedColor","itemSelectedValueColor","itemSelectedBackgroundColor","itemSelectedColorHover","itemSelectedValueColorHover","itemSelectedBackgroundColorHover","itemBackgroundTransition","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight"],"mappings":"AAAO,IAAMA,OAAO,GAAG;AACnBC,EAAAA,gBAAgB,EAAE,oBAAoB;AACtCC,EAAAA,UAAU,EAAE,aAAa;AACzBC,EAAAA,yBAAyB,EAAE,8BAA8B;AACzDC,EAAAA,WAAW,EAAE,gBAAgB;AAC7BC,EAAAA,aAAa,EAAE,iBAAiB;AAChCC,EAAAA,cAAc,EAAE,kBAAkB;AAClCC,EAAAA,eAAe,EAAE,mBAAmB;AACpCC,EAAAA,UAAU,EAAE,kBAAkB;AAC9BC,EAAAA,eAAe,EAAE,wBAAwB;AACzCC,EAAAA,cAAc,EAAE,uBAAuB;AACvCC,EAAAA,gBAAgB,EAAE,qBAAqB;AACvCC,EAAAA,iBAAiB,EAAE,sBAAsB;AACzCC,EAAAA,eAAe,EAAE,oBAAoB;AACrCC,EAAAA,kBAAkB,EAAE,uBAAuB;AAC3CC,EAAAA,cAAc,EAAE,kBAAkB;AAClCC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A+B;AAC/CC,EAAAA,oBAAoB,EAAE,sCAAsC;AAC5DC,EAAAA,cAAc,EAAE,+BAA+B;AAE/CC,EAAAA,kBAAkB,EAAE,mCAAmC;AACvDC,EAAAA,uBAAuB,EAAE,yCAAyC;AAElEC,EAAAA,iBAAiB,EAAE,kCAAkC;AACrDC,EAAAA,iBAAiB,EAAE,kCAAkC;AACrDC,EAAAA,qBAAqB,EAAE,uCAAuC;AAE9DC,EAAAA,SAAS,EAAE,yBAAyB;AACpCC,EAAAA,cAAc,EAAE,+BAA+B;AAC/CC,EAAAA,mBAAmB,EAAE,oCAAoC;AACzDC,EAAAA,cAAc,EAAE,+BAA+B;AAC/CC,EAAAA,mBAAmB,EAAE,qCAAqC;AAC1DC,EAAAA,eAAe,EAAE,gCAAgC;AACjDC,EAAAA,oBAAoB,EAAE,sCAAsC;AAC5DC,EAAAA,wBAAwB,EAAE,0CAA0C;AAEpEC,EAAAA,iBAAiB,EAAE,kCAAkC;AACrDC,EAAAA,sBAAsB,EAAE,wCAAwC;AAChEC,EAAAA,2BAA2B,EAAE,6CAA6C;AAC1EC,EAAAA,sBAAsB,EAAE,wCAAwC;AAChEC,EAAAA,2BAA2B,EAAE,8CAA8C;AAC3EC,EAAAA,gCAAgC,EAAE,mDAAmD;AAErFC,EAAAA,wBAAwB,EAAE,yCAAyC;AAEnEC,EAAAA,UAAU,EAAE,+BAA+B;AAC3CC,EAAAA,QAAQ,EAAE,6BAA6B;AACvCC,EAAAA,SAAS,EAAE,8BAA8B;AACzCC,EAAAA,UAAU,EAAE,+BAA+B;AAC3CC,EAAAA,aAAa,EAAE,kCAAkC;AACjDC,EAAAA,UAAU,EAAE,8BAAA;AAChB;;;;"}
@@ -91,9 +91,7 @@ var horizontalTabItemRoot = function horizontalTabItemRoot(Root) {
91
91
  disabled: disabled,
92
92
  pilled: pilled,
93
93
  role: role,
94
- view: view
95
- // TODO: убрать каст any, когда будут удалены deprecated props
96
- ,
94
+ view: view,
97
95
  size: size,
98
96
  onFocus: onItemFocus,
99
97
  tabIndex: hasKeyNavigation ? navigationTabIndex : tabIndex,
@@ -1 +1 @@
1
- {"version":3,"file":"HorizontalTabItem.js","sources":["../../../../../../src/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.tsx"],"sourcesContent":["import React, { forwardRef, useRef, useContext, useEffect, useCallback } from 'react';\nimport { useForkRef } from '@salutejs/plasma-core';\n\nimport { RootProps } from '../../../../../engines';\nimport { classes } from '../../../tokens';\nimport { cx } from '../../../../../utils';\nimport { TabsContext } from '../../../TabsContext';\nimport { HorizontalTabItemProps } from '../../../TabItem.types';\n\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as sizeCSS } from './variations/_size/base';\nimport { base as pilledCSS } from './variations/_pilled/base';\nimport { base as disabledCSS } from './variations/_disabled/base';\nimport { LeftContent, RightContent, StyledContent, TabItemValue, base } from './HorizontalTabItem.styles';\n\nexport const horizontalTabItemRoot = (Root: RootProps<HTMLDivElement, HorizontalTabItemProps>) =>\n forwardRef<HTMLDivElement, HorizontalTabItemProps>((props, outerRef) => {\n const {\n size,\n view,\n isActive,\n selected,\n disabled = false,\n pilled = false,\n children,\n value,\n contentLeft,\n contentRight,\n animated = true,\n onIndexChange,\n itemIndex,\n tabIndex,\n className,\n onClick,\n ...rest\n } = props;\n\n const innerRef = useRef<HTMLDivElement>(null);\n const ref = useForkRef(outerRef, innerRef);\n const refs = useContext(TabsContext);\n\n const role = 'tab';\n\n const pilledAttr = view !== 'clear' && pilled;\n const animatedClass = animated ? classes.tabItemAnimated : undefined;\n const pilledClass = pilledAttr ? classes.tabsPilled : undefined;\n const selectedClass = isActive || selected ? classes.selectedTabsItem : undefined;\n const hasKeyNavigation = itemIndex !== undefined && onIndexChange !== undefined;\n const navigationTabIndex = !disabled && refs?.current === itemIndex ? 0 : -1;\n\n useEffect(() => {\n if (!refs) {\n return;\n }\n\n refs.register(innerRef);\n\n return () => refs.unregister(innerRef);\n }, [refs]);\n\n const onItemFocus = useCallback<React.FocusEventHandler>(\n (event) => {\n if (disabled) {\n return;\n }\n\n if (!hasKeyNavigation && innerRef?.current) {\n innerRef.current.scrollTo({\n top: 0,\n left: innerRef.current.offsetLeft,\n behavior: 'smooth',\n });\n\n return;\n }\n\n if (!refs) {\n return;\n }\n\n const focusIndex = refs.items.findIndex((itemRef) => itemRef.current === event.target);\n\n if (focusIndex === refs.current) {\n return;\n }\n\n onIndexChange?.(focusIndex);\n refs.setCurrent(focusIndex);\n },\n [refs, innerRef, onIndexChange, disabled],\n );\n\n const handleClick = (event: React.MouseEvent<HTMLButtonElement>) => {\n event.currentTarget.scrollIntoView({ block: 'nearest', inline: 'nearest' });\n\n if (!onClick) {\n return;\n }\n\n onClick(event);\n };\n\n return (\n <Root\n ref={ref}\n disabled={disabled}\n pilled={pilled}\n role={role}\n view={view}\n // TODO: убрать каст any, когда будут удалены deprecated props\n size={size as any}\n onFocus={onItemFocus}\n tabIndex={hasKeyNavigation ? navigationTabIndex : tabIndex}\n className={cx(pilledClass, selectedClass, animatedClass, className)}\n onClick={handleClick}\n {...rest}\n >\n <>\n {contentLeft && <LeftContent className={classes.tabLeftContent}>{contentLeft}</LeftContent>}\n <StyledContent className={classes.tabContent}>{children}</StyledContent>\n {!contentRight && value && <TabItemValue>{value}</TabItemValue>}\n {!value && contentRight && (\n <RightContent className={classes.tabRightContent}>{contentRight}</RightContent>\n )}\n </>\n </Root>\n );\n });\n\nexport const horizontalTabItemConfig = {\n name: 'HorizontalTabItem',\n tag: 'button',\n layout: horizontalTabItemRoot,\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 pilled: {\n css: pilledCSS,\n },\n },\n defaults: {\n view: 'default',\n },\n};\n"],"names":["horizontalTabItemRoot","Root","forwardRef","props","outerRef","size","view","isActive","selected","_props$disabled","disabled","_props$pilled","pilled","children","value","contentLeft","contentRight","_props$animated","animated","onIndexChange","itemIndex","tabIndex","className","onClick","rest","_objectWithoutProperties","_excluded","innerRef","useRef","ref","useForkRef","refs","useContext","TabsContext","role","pilledAttr","animatedClass","classes","tabItemAnimated","undefined","pilledClass","tabsPilled","selectedClass","selectedTabsItem","hasKeyNavigation","navigationTabIndex","current","useEffect","register","unregister","onItemFocus","useCallback","event","scrollTo","top","left","offsetLeft","behavior","focusIndex","items","findIndex","itemRef","target","setCurrent","handleClick","currentTarget","scrollIntoView","block","inline","React","createElement","_extends","onFocus","cx","Fragment","LeftContent","tabLeftContent","StyledContent","tabContent","TabItemValue","RightContent","tabRightContent","horizontalTabItemConfig","name","tag","layout","base","variations","css","sizeCSS","viewCSS","disabledCSS","attrs","pilledCSS","defaults"],"mappings":";;;;;;;;;;;;;IAeaA,qBAAqB,GAAG,SAAxBA,qBAAqBA,CAAIC,IAAuD,EAAA;AAAA,EAAA,oBACzFC,UAAU,CAAyC,UAACC,KAAK,EAAEC,QAAQ,EAAK;AACpE,IAAA,IACIC,IAAI,GAiBJF,KAAK,CAjBLE,IAAI;MACJC,IAAI,GAgBJH,KAAK,CAhBLG,IAAI;MACJC,QAAQ,GAeRJ,KAAK,CAfLI,QAAQ;MACRC,QAAQ,GAcRL,KAAK,CAdLK,QAAQ;MAAAC,eAAA,GAcRN,KAAK,CAbLO,QAAQ;AAARA,MAAAA,QAAQ,GAAAD,eAAA,KAAG,KAAA,CAAA,GAAA,KAAK,GAAAA,eAAA;MAAAE,aAAA,GAahBR,KAAK,CAZLS,MAAM;AAANA,MAAAA,MAAM,GAAAD,aAAA,KAAG,KAAA,CAAA,GAAA,KAAK,GAAAA,aAAA;MACdE,QAAQ,GAWRV,KAAK,CAXLU,QAAQ;MACRC,KAAK,GAULX,KAAK,CAVLW,KAAK;MACLC,WAAW,GASXZ,KAAK,CATLY,WAAW;MACXC,YAAY,GAQZb,KAAK,CARLa,YAAY;MAAAC,eAAA,GAQZd,KAAK,CAPLe,QAAQ;AAARA,MAAAA,QAAQ,GAAAD,eAAA,KAAG,KAAA,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vE,CAACG,YAAY,IAAIF,KAAK,iBAAIuD,KAAA,CAAAC,aAAA,CAACS,YAAY,QAAEjE,KAAoB,CAAC,EAC9D,CAACA,KAAK,IAAIE,YAAY,iBACnBqD,KAAA,CAAAC,aAAA,CAACU,YAAY,EAAA;MAAC1D,SAAS,EAAEe,OAAO,CAAC4C,eAAAA;KAAkBjE,EAAAA,YAA2B,CAEpF,CACA,CAAC,CAAA;AAEf,GAAC,CAAC,CAAA;AAAA,EAAA;AAEC,IAAMkE,uBAAuB,GAAG;AACnCC,EAAAA,IAAI,EAAE,mBAAmB;AACzBC,EAAAA,GAAG,EAAE,QAAQ;AACbC,EAAAA,MAAM,EAAErF,qBAAqB;AAC7BsF,EAAAA,IAAI,EAAJA,IAAI;AACJC,EAAAA,UAAU,EAAE;AACRlF,IAAAA,IAAI,EAAE;AACFmF,MAAAA,GAAG,EAAEC,MAAAA;KACR;AACDnF,IAAAA,IAAI,EAAE;AACFkF,MAAAA,GAAG,EAAEE,MAAAA;KACR;AACDhF,IAAAA,QAAQ,EAAE;AACN8E,MAAAA,GAAG,EAAEG,MAAW;AAChBC,MAAAA,KAAK,EAAE,IAAA;KACV;AACDhF,IAAAA,MAAM,EAAE;AACJ4E,MAAAA,GAAG,EAAEK,MAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACNxF,IAAAA,IAAI,EAAE,SAAA;AACV,GAAA;AACJ;;;;"}
1
+ {"version":3,"file":"HorizontalTabItem.js","sources":["../../../../../../src/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.tsx"],"sourcesContent":["import React, { forwardRef, useRef, useContext, useEffect, useCallback } from 'react';\nimport { useForkRef } from '@salutejs/plasma-core';\n\nimport { RootProps } from '../../../../../engines';\nimport { classes } from '../../../tokens';\nimport { cx } from '../../../../../utils';\nimport { TabsContext } from '../../../TabsContext';\nimport { HorizontalTabItemProps } from '../../../TabItem.types';\n\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as sizeCSS } from './variations/_size/base';\nimport { base as pilledCSS } from './variations/_pilled/base';\nimport { base as disabledCSS } from './variations/_disabled/base';\nimport { LeftContent, RightContent, StyledContent, TabItemValue, base } from './HorizontalTabItem.styles';\n\nexport const horizontalTabItemRoot = (Root: RootProps<HTMLDivElement, HorizontalTabItemProps>) =>\n forwardRef<HTMLDivElement, HorizontalTabItemProps>((props, outerRef) => {\n const {\n size,\n view,\n isActive,\n selected,\n disabled = false,\n pilled = false,\n children,\n value,\n contentLeft,\n contentRight,\n animated = true,\n onIndexChange,\n itemIndex,\n tabIndex,\n className,\n onClick,\n ...rest\n } = props;\n\n const innerRef = useRef<HTMLDivElement>(null);\n const ref = useForkRef(outerRef, innerRef);\n const refs = useContext(TabsContext);\n\n const role = 'tab';\n\n const pilledAttr = view !== 'clear' && pilled;\n const animatedClass = animated ? classes.tabItemAnimated : undefined;\n const pilledClass = pilledAttr ? classes.tabsPilled : undefined;\n const selectedClass = isActive || selected ? classes.selectedTabsItem : undefined;\n const hasKeyNavigation = itemIndex !== undefined && onIndexChange !== undefined;\n const navigationTabIndex = !disabled && refs?.current === itemIndex ? 0 : -1;\n\n useEffect(() => {\n if (!refs) {\n return;\n }\n\n refs.register(innerRef);\n\n return () => refs.unregister(innerRef);\n }, [refs]);\n\n const onItemFocus = useCallback<React.FocusEventHandler>(\n (event) => {\n if (disabled) {\n return;\n }\n\n if (!hasKeyNavigation && innerRef?.current) {\n innerRef.current.scrollTo({\n top: 0,\n left: innerRef.current.offsetLeft,\n behavior: 'smooth',\n });\n\n return;\n }\n\n if (!refs) {\n return;\n }\n\n const focusIndex = refs.items.findIndex((itemRef) => itemRef.current === event.target);\n\n if (focusIndex === refs.current) {\n return;\n }\n\n onIndexChange?.(focusIndex);\n refs.setCurrent(focusIndex);\n },\n [refs, innerRef, onIndexChange, disabled],\n );\n\n const handleClick = (event: React.MouseEvent<HTMLButtonElement>) => {\n event.currentTarget.scrollIntoView({ block: 'nearest', inline: 'nearest' });\n\n if (!onClick) {\n return;\n }\n\n onClick(event);\n };\n\n return (\n <Root\n ref={ref}\n disabled={disabled}\n pilled={pilled}\n role={role}\n view={view}\n size={size}\n onFocus={onItemFocus}\n tabIndex={hasKeyNavigation ? navigationTabIndex : tabIndex}\n className={cx(pilledClass, selectedClass, animatedClass, className)}\n onClick={handleClick}\n {...rest}\n >\n <>\n {contentLeft && <LeftContent className={classes.tabLeftContent}>{contentLeft}</LeftContent>}\n <StyledContent className={classes.tabContent}>{children}</StyledContent>\n {!contentRight && value && <TabItemValue>{value}</TabItemValue>}\n {!value && contentRight && (\n <RightContent className={classes.tabRightContent}>{contentRight}</RightContent>\n )}\n </>\n </Root>\n );\n });\n\nexport const horizontalTabItemConfig = {\n name: 'HorizontalTabItem',\n tag: 'button',\n layout: horizontalTabItemRoot,\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 pilled: {\n css: pilledCSS,\n },\n },\n defaults: {\n view: 'default',\n },\n};\n"],"names":["horizontalTabItemRoot","Root","forwardRef","props","outerRef","size","view","isActive","selected","_props$disabled","disabled","_props$pilled","pilled","children","value","contentLeft","contentRight","_props$animated","animated","onIndexChange","itemIndex","tabIndex","className","onClick","rest","_objectWithoutProperties","_excluded","innerRef","useRef","ref","useForkRef","refs","useContext","TabsContext","role","pilledAttr","animatedClass","classes","tabItemAnimated","undefined","pilledClass","tabsPilled","selectedClass","selectedTabsItem","hasKeyNavigation","navigationTabIndex","current","useEffect","register","unregister","onItemFocus","useCallback","event","scrollTo","top","left","offsetLeft","behavior","focusIndex","items","findIndex","itemRef","target","setCurrent","handleClick","currentTarget","scrollIntoView","block","inline","React","createElement","_extends","onFocus","cx","Fragment","LeftContent","tabLeftContent","StyledContent","tabContent","TabItemValue","RightContent","tabRightContent","horizontalTabItemConfig","name","tag","layout","base","variations","css","sizeCSS","viewCSS","disabledCSS","attrs","pilledCSS","defaults"],"mappings":";;;;;;;;;;;;;I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C,EAAAA,UAAU,EAAE;AACRlF,IAAAA,IAAI,EAAE;AACFmF,MAAAA,GAAG,EAAEC,MAAAA;KACR;AACDnF,IAAAA,IAAI,EAAE;AACFkF,MAAAA,GAAG,EAAEE,MAAAA;KACR;AACDhF,IAAAA,QAAQ,EAAE;AACN8E,MAAAA,GAAG,EAAEG,MAAW;AAChBC,MAAAA,KAAK,EAAE,IAAA;KACV;AACDhF,IAAAA,MAAM,EAAE;AACJ4E,MAAAA,GAAG,EAAEK,MAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACNxF,IAAAA,IAAI,EAAE,SAAA;AACV,GAAA;AACJ;;;;"}
@@ -2,7 +2,7 @@
2
2
 
3
3
  .base_1sq08yf_bxoicu2__bb7a4868{width:var(--plasma-tabs-width);height:var(--plasma-tabs-height);--plasma_private-outline-radius:var(--plasma-tabs-border-radius);border-radius:var(--plasma-tabs-border-radius);}
4
4
 
5
- .base_4ob3q5_bupjtit__17aafbe8{background-color:var(--plasma-tabs-background-color);}.base_4ob3q5_bupjtit__17aafbe8::after{content:'';position:absolute;bottom:0.125rem;left:0.125rem;right:0.125rem;background:var(--plasma-tabs-divider-color);height:var(--plasma-tabs-divider-height);border-radius:var(--plasma-tabs-divider-border-radius);}.base_4ob3q5_bupjtit__17aafbe8.base_4ob3q5_tabsHasLeftArrow__17aafbe8::after{left:1.5rem;}.base_4ob3q5_bupjtit__17aafbe8.base_4ob3q5_tabsHasRightArrow__17aafbe8::after{right:1.5rem;}.base_4ob3q5_bupjtit__17aafbe8.base_4ob3q5_tabsNoDivider__17aafbe8::after{height:0;}
5
+ .base_9miwn_bupjtit__d014f2e9{background-color:var(--plasma-tabs-background-color);}.base_9miwn_bupjtit__d014f2e9::after{content:'';position:absolute;bottom:0.125rem;left:0.125rem;right:0.125rem;background:var(--plasma-tabs-divider-color);height:var(--plasma-tabs-divider-height);border-radius:var(--plasma-tabs-divider-border-radius);}.base_9miwn_bupjtit__d014f2e9.base_9miwn_tabsHasLeftArrow__d014f2e9::after{left:1.5rem;}.base_9miwn_bupjtit__d014f2e9.base_9miwn_tabsHasRightArrow__d014f2e9::after{right:1.5rem;}
6
6
 
7
7
  .base_j9bg3m_bbh58a1__de7491f9{opacity:var(--plasma-tabs-disabled-opacity);}
8
8
 
@@ -10,7 +10,7 @@
10
10
 
11
11
  .base_1j9ii1x_b1eicxhd__666b97df.base_1j9ii1x_tabsStretched__666b97df{width:100%;}.base_1j9ii1x_b1eicxhd__666b97df.base_1j9ii1x_tabsStretched__666b97df .base_1j9ii1x_s158pfyo__666b97df,.base_1j9ii1x_b1eicxhd__666b97df.base_1j9ii1x_tabsStretched__666b97df .base_1j9ii1x_s191iwmt__666b97df,.base_1j9ii1x_b1eicxhd__666b97df.base_1j9ii1x_tabsStretched__666b97df .base_1j9ii1x_s191iwmt__666b97df > button{width:100%;margin-left:0;}
12
12
 
13
- .HorizontalTabs_styles_p9rk79_b7gl603__eeaee6e8{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;gap:0.125rem;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:relative;}
14
- .HorizontalTabs_styles_p9rk79_s191iwmt__eeaee6e8{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;}
15
- .HorizontalTabs_styles_p9rk79_s158pfyo__eeaee6e8{margin:-0.125rem;padding:0.25rem;box-sizing:content-box;position:relative;height:100%;width:100%;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;z-index:1;}.HorizontalTabs_styles_p9rk79_s158pfyo__eeaee6e8.HorizontalTabs_styles_p9rk79_tabsClipScroll__eeaee6e8{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;}.HorizontalTabs_styles_p9rk79_s158pfyo__eeaee6e8.HorizontalTabs_styles_p9rk79_tabsClipScroll__eeaee6e8::-webkit-scrollbar{display:none;}.HorizontalTabs_styles_p9rk79_s158pfyo__eeaee6e8.HorizontalTabs_styles_p9rk79_tabsClipShowAll__eeaee6e8{overflow:visible;}
16
- .HorizontalTabs_styles_p9rk79_s1in38wj__eeaee6e8{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;cursor:pointer;border:none;background-color:transparent;padding:0;outline:none;position:relative;--plasma_private-outer-padding:var(--s1in38wj-0);padding-right:var(--s1in38wj-1);padding-left:var(--s1in38wj-2);color:var(--plasma-tabs-arrow-color);}.HorizontalTabs_styles_p9rk79_s1in38wj__eeaee6e8::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;}.HorizontalTabs_styles_p9rk79_s1in38wj__eeaee6e8.HorizontalTabs_styles_p9rk79_focusVisible__eeaee6e8:focus::before,.HorizontalTabs_styles_p9rk79_s1in38wj__eeaee6e8[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.063rem var(--plasma-tabs-outline-focus-color);}.HorizontalTabs_styles_p9rk79_s1in38wj__eeaee6e8[disabled]{cursor:not-allowed;}.HorizontalTabs_styles_p9rk79_s1in38wj__eeaee6e8:hover{color:var(--plasma-tabs-arrow-color-hover);}.HorizontalTabs_styles_p9rk79_s1in38wj__eeaee6e8:active{color:var(--plasma-tabs-arrow-color-active);}
13
+ .HorizontalTabs_styles_16kuvxt_b7gl603__73e81f22{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;gap:0.125rem;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:relative;}
14
+ .HorizontalTabs_styles_16kuvxt_s191iwmt__73e81f22{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;}
15
+ .HorizontalTabs_styles_16kuvxt_s158pfyo__73e81f22{margin:-0.125rem;padding:0.25rem;box-sizing:content-box;position:relative;height:100%;width:100%;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;z-index:1;}.HorizontalTabs_styles_16kuvxt_s158pfyo__73e81f22.HorizontalTabs_styles_16kuvxt_tabsClipScroll__73e81f22{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;}.HorizontalTabs_styles_16kuvxt_s158pfyo__73e81f22.HorizontalTabs_styles_16kuvxt_tabsClipScroll__73e81f22::-webkit-scrollbar{display:none;}.HorizontalTabs_styles_16kuvxt_s158pfyo__73e81f22.HorizontalTabs_styles_16kuvxt_tabsClipShowAll__73e81f22{overflow:visible;}
16
+ .HorizontalTabs_styles_16kuvxt_s1in38wj__73e81f22{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;cursor:pointer;border:none;background-color:transparent;padding:0;outline:none;position:relative;--plasma_private-outer-padding:var(--s1in38wj-0);padding-right:var(--s1in38wj-1);padding-left:var(--s1in38wj-2);}.HorizontalTabs_styles_16kuvxt_s1in38wj__73e81f22::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;}.HorizontalTabs_styles_16kuvxt_s1in38wj__73e81f22.HorizontalTabs_styles_16kuvxt_focusVisible__73e81f22:focus::before,.HorizontalTabs_styles_16kuvxt_s1in38wj__73e81f22[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.063rem var(--plasma-tabs-outline-focus-color);}.HorizontalTabs_styles_16kuvxt_s1in38wj__73e81f22[disabled]{cursor:not-allowed;}
@@ -1,7 +1,7 @@
1
1
  import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, extends as _extends } from '../../../../../_virtual/_rollupPluginBabelHelpers.js';
2
2
  import React, { forwardRef, useState, useMemo, useRef, useCallback, useEffect } from 'react';
3
3
  import { safeUseId } from '@salutejs/plasma-core';
4
- import { classes } from '../../../tokens.js';
4
+ import { tokens, classes } from '../../../tokens.js';
5
5
  import { cx } from '../../../../../utils/index.js';
6
6
  import { TabItemRefs, TabsContext } from '../../../TabsContext.js';
7
7
  import { base as base$1 } from './variations/_size/base.js';
@@ -13,19 +13,14 @@ import { StyledArrow, StyledContentWrapper, StyledContent, base } from './Horizo
13
13
  import { IconDisclosureLeft } from '../../../../_Icon/Icons/IconDisclosureLeft.js';
14
14
  import { IconDisclosureRight } from '../../../../_Icon/Icons/IconDisclosureRight.js';
15
15
 
16
- var _excluded = ["id", "stretch", "disabled", "clip", "size", "view", "children", "pilled", "index", "className", "hasDivider"];
16
+ var _excluded = ["id", "stretch", "disabled", "clip", "size", "view", "children", "pilled", "index", "className"];
17
17
  var Keys = /*#__PURE__*/function (Keys) {
18
18
  Keys[Keys["end"] = 35] = "end";
19
19
  Keys[Keys["home"] = 36] = "home";
20
20
  Keys[Keys["left"] = 37] = "left";
21
21
  Keys[Keys["right"] = 39] = "right";
22
22
  return Keys;
23
- }(Keys || {});
24
- var getIconSize = function getIconSize(size) {
25
- return size === 'h1' || size === 'h2' ? 'm' : 's';
26
- };
27
-
28
- // TODO: https://github.com/salute-developers/plasma/issues/1474
23
+ }(Keys || {}); // TODO: https://github.com/salute-developers/plasma/issues/1474
29
24
  var horizontalTabsRoot = function horizontalTabsRoot(Root) {
30
25
  return /*#__PURE__*/forwardRef(function (props, outerRef) {
31
26
  var id = props.id,
@@ -42,8 +37,6 @@ var horizontalTabsRoot = function horizontalTabsRoot(Root) {
42
37
  pilled = _props$pilled === void 0 ? false : _props$pilled,
43
38
  index = props.index,
44
39
  className = props.className,
45
- _props$hasDivider = props.hasDivider,
46
- hasDivider = _props$hasDivider === void 0 ? true : _props$hasDivider,
47
40
  rest = _objectWithoutProperties(props, _excluded);
48
41
  var _useState = useState(true),
49
42
  _useState2 = _slicedToArray(_useState, 2),
@@ -61,7 +54,6 @@ var horizontalTabsRoot = function horizontalTabsRoot(Root) {
61
54
  var isFilled = view === 'filled'; // outer padding is only for filled view
62
55
  var pilledAttr = view !== 'clear' && pilled;
63
56
  var pilledClass = pilledAttr ? classes.tabsPilled : undefined;
64
- var noDividerClass = !hasDivider ? classes.tabsNoDivider : undefined;
65
57
  var stretchClass = firstItemVisible && lastItemVisible && stretch ? classes.tabsStretch : undefined;
66
58
  var hasLeftArrowClass = !firstItemVisible ? classes.tabsHasLeftArrow : undefined;
67
59
  var hasRightArrowClass = !lastItemVisible ? classes.tabsHasRightArrow : undefined;
@@ -117,10 +109,9 @@ var horizontalTabsRoot = function horizontalTabsRoot(Root) {
117
109
  ref: leftArrowRef,
118
110
  isLeftArrow: true
119
111
  }, /*#__PURE__*/React.createElement(IconDisclosureLeft, {
120
- size: getIconSize(size),
121
- color: "inherit"
112
+ color: "var(".concat(tokens.arrowColor, ")")
122
113
  }));
123
- }, [onPrev, size, disabled, isFilled]);
114
+ }, [onPrev, disabled, isFilled]);
124
115
  var NextButton = useMemo(function () {
125
116
  return /*#__PURE__*/React.createElement(StyledArrow, {
126
117
  type: "button",
@@ -130,10 +121,9 @@ var horizontalTabsRoot = function horizontalTabsRoot(Root) {
130
121
  disabled: disabled,
131
122
  isFilled: isFilled
132
123
  }, /*#__PURE__*/React.createElement(IconDisclosureRight, {
133
- size: getIconSize(size),
134
- color: "inherit"
124
+ color: "var(".concat(tokens.arrowColor, ")")
135
125
  }));
136
- }, [onNext, size, disabled, isFilled]);
126
+ }, [onNext, disabled, isFilled]);
137
127
  var handleScroll = useCallback(function (event) {
138
128
  event.stopPropagation();
139
129
  var maxScrollLeft = event.currentTarget.scrollWidth - event.currentTarget.clientWidth;
@@ -193,15 +183,13 @@ var horizontalTabsRoot = function horizontalTabsRoot(Root) {
193
183
  value: refs
194
184
  }, /*#__PURE__*/React.createElement(Root, _extends({
195
185
  view: view,
196
- role: "tablist"
197
- // TODO: убрать каст any, когда будут удалены deprecated props
198
- ,
186
+ role: "tablist",
199
187
  size: size,
200
188
  pilled: pilled,
201
189
  id: tabsId,
202
190
  ref: outerRef,
203
191
  disabled: disabled,
204
- className: cx(pilledClass, stretchClass, hasLeftArrowClass, hasRightArrowClass, noDividerClass, className),
192
+ className: cx(pilledClass, stretchClass, hasLeftArrowClass, hasRightArrowClass, className),
205
193
  onKeyDown: onKeyDown
206
194
  }, rest), !firstItemVisible && PreviousButton, /*#__PURE__*/React.createElement(StyledContentWrapper, {
207
195
  className: cx(clipScrollClass, clipShowAllClass),