@salutejs/plasma-new-hope 0.177.0-dev.0 → 0.177.1-canary.1502.11573459466.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/Tabs/createTabsController.js.map +1 -1
- package/cjs/components/Tabs/tokens.js +2 -0
- package/cjs/components/Tabs/tokens.js.map +1 -1
- package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -1
- package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js.map +1 -1
- package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.css +5 -5
- package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +20 -8
- package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js.map +1 -1
- package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.styles.js +1 -1
- package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.styles.js.map +1 -1
- package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/{HorizontalTabs.styles_16kuvxt.css → HorizontalTabs.styles_p9rk79.css} +1 -1
- package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
- package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js.map +1 -1
- package/{es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base_9miwn.css → cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base_4ob3q5.css} +1 -1
- package/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.css +4 -4
- package/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +7 -6
- package/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js.map +1 -1
- package/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles.js +1 -1
- package/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles.js.map +1 -1
- package/{es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles_1fr5ovg.css → cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles_1r1hidh.css} +1 -1
- package/cjs/index.css +9 -9
- package/emotion/cjs/components/Tabs/tokens.js +2 -0
- package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -1
- package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +20 -8
- package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.styles.js +4 -4
- package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
- package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +7 -6
- package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles.js +4 -4
- package/emotion/cjs/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +72 -33
- package/emotion/cjs/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +15 -15
- package/emotion/cjs/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabs.config.js +15 -15
- package/emotion/cjs/examples/plasma_b2c/components/Tabs/vertical/VerticalTabs.config.js +6 -6
- package/emotion/cjs/examples/plasma_web/components/Tabs/Tabs.stories.tsx +72 -33
- package/emotion/cjs/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.js +15 -15
- package/emotion/cjs/examples/plasma_web/components/Tabs/horizontal/HorizontalTabs.config.js +15 -15
- package/emotion/cjs/examples/plasma_web/components/Tabs/vertical/VerticalTabs.config.js +6 -6
- package/emotion/es/components/Tabs/tokens.js +2 -0
- package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -1
- package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +21 -9
- package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.styles.js +4 -4
- package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
- package/emotion/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +8 -7
- package/emotion/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles.js +4 -4
- package/emotion/es/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +72 -33
- package/emotion/es/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +15 -15
- package/emotion/es/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabs.config.js +15 -15
- package/emotion/es/examples/plasma_b2c/components/Tabs/vertical/VerticalTabs.config.js +6 -6
- package/emotion/es/examples/plasma_web/components/Tabs/Tabs.stories.tsx +72 -33
- package/emotion/es/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.js +15 -15
- package/emotion/es/examples/plasma_web/components/Tabs/horizontal/HorizontalTabs.config.js +15 -15
- package/emotion/es/examples/plasma_web/components/Tabs/vertical/VerticalTabs.config.js +6 -6
- package/es/components/Tabs/createTabsController.js.map +1 -1
- package/es/components/Tabs/tokens.js +2 -0
- package/es/components/Tabs/tokens.js.map +1 -1
- package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -1
- package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js.map +1 -1
- package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.css +5 -5
- package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +21 -9
- package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js.map +1 -1
- package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.styles.js +1 -1
- package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.styles.js.map +1 -1
- package/es/components/Tabs/ui/horizontal/HorizontalTabs/{HorizontalTabs.styles_16kuvxt.css → HorizontalTabs.styles_p9rk79.css} +1 -1
- package/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
- package/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js.map +1 -1
- package/{cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base_9miwn.css → es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base_4ob3q5.css} +1 -1
- package/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.css +4 -4
- package/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +8 -7
- package/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js.map +1 -1
- package/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles.js +1 -1
- package/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles.js.map +1 -1
- package/{cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles_1fr5ovg.css → es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles_1r1hidh.css} +1 -1
- package/es/index.css +9 -9
- package/package.json +2 -2
- package/styled-components/cjs/components/Tabs/tokens.js +2 -0
- package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -1
- package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +20 -8
- package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.styles.js +2 -2
- package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
- package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +7 -6
- package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles.js +2 -2
- package/styled-components/cjs/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +72 -33
- package/styled-components/cjs/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +2 -2
- package/styled-components/cjs/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabs.config.js +3 -3
- package/styled-components/cjs/examples/plasma_b2c/components/Tabs/vertical/VerticalTabs.config.js +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Tabs/Tabs.stories.tsx +72 -33
- package/styled-components/cjs/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.js +2 -2
- package/styled-components/cjs/examples/plasma_web/components/Tabs/horizontal/HorizontalTabs.config.js +3 -3
- package/styled-components/cjs/examples/plasma_web/components/Tabs/vertical/VerticalTabs.config.js +1 -1
- package/styled-components/es/components/Tabs/tokens.js +2 -0
- package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -1
- package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +21 -9
- package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.styles.js +2 -2
- package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
- package/styled-components/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +8 -7
- package/styled-components/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles.js +2 -2
- package/styled-components/es/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +72 -33
- package/styled-components/es/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +2 -2
- package/styled-components/es/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabs.config.js +3 -3
- package/styled-components/es/examples/plasma_b2c/components/Tabs/vertical/VerticalTabs.config.js +1 -1
- package/styled-components/es/examples/plasma_web/components/Tabs/Tabs.stories.tsx +72 -33
- package/styled-components/es/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.js +2 -2
- package/styled-components/es/examples/plasma_web/components/Tabs/horizontal/HorizontalTabs.config.js +3 -3
- package/styled-components/es/examples/plasma_web/components/Tabs/vertical/VerticalTabs.config.js +1 -1
- package/types/components/Tabs/TabItem.types.d.ts +50 -8
- package/types/components/Tabs/TabItem.types.d.ts.map +1 -1
- package/types/components/Tabs/Tabs.types.d.ts +44 -2
- package/types/components/Tabs/Tabs.types.d.ts.map +1 -1
- package/types/components/Tabs/createTabsController.d.ts +2 -2
- package/types/components/Tabs/createTabsController.d.ts.map +1 -1
- package/types/components/Tabs/index.d.ts +2 -2
- package/types/components/Tabs/index.d.ts.map +1 -1
- package/types/components/Tabs/tokens.d.ts +2 -0
- package/types/components/Tabs/tokens.d.ts.map +1 -1
- package/types/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.d.ts.map +1 -1
- package/types/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.d.ts +2 -2
- package/types/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.d.ts.map +1 -1
- package/types/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.styles.d.ts.map +1 -1
- package/types/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.d.ts.map +1 -1
- package/types/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Tabs/TabItem.d.ts +21 -6
- package/types/examples/plasma_b2c/components/Tabs/TabItem.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Tabs/Tabs.d.ts +2 -2
- package/types/examples/plasma_b2c/components/Tabs/Tabs.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabs.config.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Tabs/vertical/VerticalTabs.config.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Tabs/TabItem.d.ts +21 -6
- package/types/examples/plasma_web/components/Tabs/TabItem.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Tabs/Tabs.d.ts +2 -2
- package/types/examples/plasma_web/components/Tabs/Tabs.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Tabs/horizontal/HorizontalTabs.config.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Tabs/vertical/VerticalTabs.config.d.ts.map +1 -1
@@ -13,16 +13,16 @@ var config = exports.config = {
|
|
13
13
|
},
|
14
14
|
variations: {
|
15
15
|
view: {
|
16
|
-
divider: /*#__PURE__*/(0, _react.css)(_Tabs.tabsTokens.arrowColor, ":var(--text-secondary);", _Tabs.tabsTokens.tabsBackgroundColor, ":transparent;", _Tabs.tabsTokens.outlineFocusColor, ":var(--surface-accent);", _Tabs.tabsTokens.tabsDividerWidth, ":0.0625rem;", _Tabs.tabsTokens.tabsDividerHeight, ":0.0625rem;", _Tabs.tabsTokens.tabsDividerColor, ":var(--surface-transparent-tertiary);", _Tabs.tabsTokens.tabsDividerBorderRadius, ":0.0625rem;;label:plasma-new-hope__divider;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
16
|
+
divider: /*#__PURE__*/(0, _react.css)(_Tabs.tabsTokens.arrowColor, ":var(--text-secondary);", _Tabs.tabsTokens.arrowColorHover, ":var(--text-secondary-hover);", _Tabs.tabsTokens.arrowColorActive, ":var(---text-secondary-active);", _Tabs.tabsTokens.tabsBackgroundColor, ":transparent;", _Tabs.tabsTokens.outlineFocusColor, ":var(--surface-accent);", _Tabs.tabsTokens.tabsDividerWidth, ":0.0625rem;", _Tabs.tabsTokens.tabsDividerHeight, ":0.0625rem;", _Tabs.tabsTokens.tabsDividerColor, ":var(--surface-transparent-tertiary);", _Tabs.tabsTokens.tabsDividerBorderRadius, ":0.0625rem;;label:plasma-new-hope__divider;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3BsYXNtYV9iMmMvY29tcG9uZW50cy9UYWJzL3ZlcnRpY2FsL1ZlcnRpY2FsVGFicy5jb25maWcudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBV3dCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3BsYXNtYV9iMmMvY29tcG9uZW50cy9UYWJzL3ZlcnRpY2FsL1ZlcnRpY2FsVGFicy5jb25maWcudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7IHRhYnNUb2tlbnMgfSBmcm9tICcuLi8uLi8uLi8uLi8uLi9jb21wb25lbnRzL1RhYnMnO1xuXG5leHBvcnQgY29uc3QgY29uZmlnID0ge1xuICAgIGRlZmF1bHRzOiB7XG4gICAgICAgIHZpZXc6ICdkaXZpZGVyJyxcbiAgICAgICAgc2l6ZTogJ3hzJyxcbiAgICB9LFxuICAgIHZhcmlhdGlvbnM6IHtcbiAgICAgICAgdmlldzoge1xuICAgICAgICAgICAgZGl2aWRlcjogY3NzYFxuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5hcnJvd0NvbG9yfTogdmFyKC0tdGV4dC1zZWNvbmRhcnkpO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5hcnJvd0NvbG9ySG92ZXJ9OiB2YXIoLS10ZXh0LXNlY29uZGFyeS1ob3Zlcik7XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLmFycm93Q29sb3JBY3RpdmV9OiB2YXIoLS0tdGV4dC1zZWNvbmRhcnktYWN0aXZlKTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0JhY2tncm91bmRDb2xvcn06IHRyYW5zcGFyZW50O1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5vdXRsaW5lRm9jdXNDb2xvcn06IHZhcigtLXN1cmZhY2UtYWNjZW50KTtcblxuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzRGl2aWRlcldpZHRofTogMC4wNjI1cmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzRGl2aWRlckhlaWdodH06IDAuMDYyNXJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0RpdmlkZXJDb2xvcn06IHZhcigtLXN1cmZhY2UtdHJhbnNwYXJlbnQtdGVydGlhcnkpO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzRGl2aWRlckJvcmRlclJhZGl1c306IDAuMDYyNXJlbTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgIH0sXG4gICAgICAgIHNpemU6IHtcbiAgICAgICAgICAgIHhzOiBjc3NgXG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNCb3JkZXJSYWRpdXN9OiAwLjVyZW07XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNXaWR0aH06IGZpdC1jb250ZW50O1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzSGVpZ2h0fTogYXV0bztcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dJbm5lclBhZGRpbmd9OiAwcmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5hcnJvd091dGVyUGFkZGluZ306IDAuMTI1cmVtO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgICAgIHM6IGNzc2BcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0JvcmRlclJhZGl1c306IDAuNjI1cmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzV2lkdGh9OiBmaXQtY29udGVudDtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0hlaWdodH06IGF1dG87XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLmFycm93SW5uZXJQYWRkaW5nfTogMHJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dPdXRlclBhZGRpbmd9OiAwLjI1cmVtO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgICAgIG06IGNzc2BcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0JvcmRlclJhZGl1c306IDAuNzVyZW07XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNXaWR0aH06IGZpdC1jb250ZW50O1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzSGVpZ2h0fTogYXV0bztcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dJbm5lclBhZGRpbmd9OiAwcmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5hcnJvd091dGVyUGFkZGluZ306IDAuNjI1cmVtO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgICAgIGw6IGNzc2BcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0JvcmRlclJhZGl1c306IDAuNzVyZW07XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNXaWR0aH06IGZpdC1jb250ZW50O1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzSGVpZ2h0fTogYXV0bztcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dJbm5lclBhZGRpbmd9OiAwcmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5hcnJvd091dGVyUGFkZGluZ306IDAuNzVyZW07XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgICAgICBkaXNhYmxlZDoge1xuICAgICAgICAgICAgdHJ1ZTogY3NzYFxuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5kaXNhYmxlZE9wYWNpdHl9OiAwLjQ7XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgIH0sXG59O1xuIl19 */"))
|
17
17
|
},
|
18
18
|
size: {
|
19
|
-
xs: /*#__PURE__*/(0, _react.css)(_Tabs.tabsTokens.tabsBorderRadius, ":0.5rem;", _Tabs.tabsTokens.tabsWidth, ":fit-content;", _Tabs.tabsTokens.tabsHeight, ":auto;", _Tabs.tabsTokens.arrowInnerPadding, ":0rem;", _Tabs.tabsTokens.arrowOuterPadding, ":0.125rem;;label:plasma-new-hope__xs;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
20
|
-
s: /*#__PURE__*/(0, _react.css)(_Tabs.tabsTokens.tabsBorderRadius, ":0.625rem;", _Tabs.tabsTokens.tabsWidth, ":fit-content;", _Tabs.tabsTokens.tabsHeight, ":auto;", _Tabs.tabsTokens.arrowInnerPadding, ":0rem;", _Tabs.tabsTokens.arrowOuterPadding, ":0.25rem;;label:plasma-new-hope__s;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
21
|
-
m: /*#__PURE__*/(0, _react.css)(_Tabs.tabsTokens.tabsBorderRadius, ":0.75rem;", _Tabs.tabsTokens.tabsWidth, ":fit-content;", _Tabs.tabsTokens.tabsHeight, ":auto;", _Tabs.tabsTokens.arrowInnerPadding, ":0rem;", _Tabs.tabsTokens.arrowOuterPadding, ":0.625rem;;label:plasma-new-hope__m;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
22
|
-
l: /*#__PURE__*/(0, _react.css)(_Tabs.tabsTokens.tabsBorderRadius, ":0.75rem;", _Tabs.tabsTokens.tabsWidth, ":fit-content;", _Tabs.tabsTokens.tabsHeight, ":auto;", _Tabs.tabsTokens.arrowInnerPadding, ":0rem;", _Tabs.tabsTokens.arrowOuterPadding, ":0.75rem;;label:plasma-new-hope__l;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
19
|
+
xs: /*#__PURE__*/(0, _react.css)(_Tabs.tabsTokens.tabsBorderRadius, ":0.5rem;", _Tabs.tabsTokens.tabsWidth, ":fit-content;", _Tabs.tabsTokens.tabsHeight, ":auto;", _Tabs.tabsTokens.arrowInnerPadding, ":0rem;", _Tabs.tabsTokens.arrowOuterPadding, ":0.125rem;;label:plasma-new-hope__xs;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3BsYXNtYV9iMmMvY29tcG9uZW50cy9UYWJzL3ZlcnRpY2FsL1ZlcnRpY2FsVGFicy5jb25maWcudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBeUJtQiIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9leGFtcGxlcy9wbGFzbWFfYjJjL2NvbXBvbmVudHMvVGFicy92ZXJ0aWNhbC9WZXJ0aWNhbFRhYnMuY29uZmlnLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG5pbXBvcnQgeyB0YWJzVG9rZW5zIH0gZnJvbSAnLi4vLi4vLi4vLi4vLi4vY29tcG9uZW50cy9UYWJzJztcblxuZXhwb3J0IGNvbnN0IGNvbmZpZyA9IHtcbiAgICBkZWZhdWx0czoge1xuICAgICAgICB2aWV3OiAnZGl2aWRlcicsXG4gICAgICAgIHNpemU6ICd4cycsXG4gICAgfSxcbiAgICB2YXJpYXRpb25zOiB7XG4gICAgICAgIHZpZXc6IHtcbiAgICAgICAgICAgIGRpdmlkZXI6IGNzc2BcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dDb2xvcn06IHZhcigtLXRleHQtc2Vjb25kYXJ5KTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dDb2xvckhvdmVyfTogdmFyKC0tdGV4dC1zZWNvbmRhcnktaG92ZXIpO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5hcnJvd0NvbG9yQWN0aXZlfTogdmFyKC0tLXRleHQtc2Vjb25kYXJ5LWFjdGl2ZSk7XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNCYWNrZ3JvdW5kQ29sb3J9OiB0cmFuc3BhcmVudDtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMub3V0bGluZUZvY3VzQ29sb3J9OiB2YXIoLS1zdXJmYWNlLWFjY2VudCk7XG5cbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0RpdmlkZXJXaWR0aH06IDAuMDYyNXJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0RpdmlkZXJIZWlnaHR9OiAwLjA2MjVyZW07XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNEaXZpZGVyQ29sb3J9OiB2YXIoLS1zdXJmYWNlLXRyYW5zcGFyZW50LXRlcnRpYXJ5KTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0RpdmlkZXJCb3JkZXJSYWRpdXN9OiAwLjA2MjVyZW07XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgICAgICBzaXplOiB7XG4gICAgICAgICAgICB4czogY3NzYFxuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzQm9yZGVyUmFkaXVzfTogMC41cmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzV2lkdGh9OiBmaXQtY29udGVudDtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0hlaWdodH06IGF1dG87XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLmFycm93SW5uZXJQYWRkaW5nfTogMHJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dPdXRlclBhZGRpbmd9OiAwLjEyNXJlbTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgICAgICBzOiBjc3NgXG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNCb3JkZXJSYWRpdXN9OiAwLjYyNXJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic1dpZHRofTogZml0LWNvbnRlbnQ7XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNIZWlnaHR9OiBhdXRvO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5hcnJvd0lubmVyUGFkZGluZ306IDByZW07XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLmFycm93T3V0ZXJQYWRkaW5nfTogMC4yNXJlbTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgICAgICBtOiBjc3NgXG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNCb3JkZXJSYWRpdXN9OiAwLjc1cmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzV2lkdGh9OiBmaXQtY29udGVudDtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0hlaWdodH06IGF1dG87XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLmFycm93SW5uZXJQYWRkaW5nfTogMHJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dPdXRlclBhZGRpbmd9OiAwLjYyNXJlbTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgICAgICBsOiBjc3NgXG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNCb3JkZXJSYWRpdXN9OiAwLjc1cmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzV2lkdGh9OiBmaXQtY29udGVudDtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0hlaWdodH06IGF1dG87XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLmFycm93SW5uZXJQYWRkaW5nfTogMHJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dPdXRlclBhZGRpbmd9OiAwLjc1cmVtO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgfSxcbiAgICAgICAgZGlzYWJsZWQ6IHtcbiAgICAgICAgICAgIHRydWU6IGNzc2BcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuZGlzYWJsZWRPcGFjaXR5fTogMC40O1xuICAgICAgICAgICAgYCxcbiAgICAgICAgfSxcbiAgICB9LFxufTtcbiJdfQ== */")),
|
20
|
+
s: /*#__PURE__*/(0, _react.css)(_Tabs.tabsTokens.tabsBorderRadius, ":0.625rem;", _Tabs.tabsTokens.tabsWidth, ":fit-content;", _Tabs.tabsTokens.tabsHeight, ":auto;", _Tabs.tabsTokens.arrowInnerPadding, ":0rem;", _Tabs.tabsTokens.arrowOuterPadding, ":0.25rem;;label:plasma-new-hope__s;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3BsYXNtYV9iMmMvY29tcG9uZW50cy9UYWJzL3ZlcnRpY2FsL1ZlcnRpY2FsVGFicy5jb25maWcudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBZ0NrQiIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9leGFtcGxlcy9wbGFzbWFfYjJjL2NvbXBvbmVudHMvVGFicy92ZXJ0aWNhbC9WZXJ0aWNhbFRhYnMuY29uZmlnLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG5pbXBvcnQgeyB0YWJzVG9rZW5zIH0gZnJvbSAnLi4vLi4vLi4vLi4vLi4vY29tcG9uZW50cy9UYWJzJztcblxuZXhwb3J0IGNvbnN0IGNvbmZpZyA9IHtcbiAgICBkZWZhdWx0czoge1xuICAgICAgICB2aWV3OiAnZGl2aWRlcicsXG4gICAgICAgIHNpemU6ICd4cycsXG4gICAgfSxcbiAgICB2YXJpYXRpb25zOiB7XG4gICAgICAgIHZpZXc6IHtcbiAgICAgICAgICAgIGRpdmlkZXI6IGNzc2BcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dDb2xvcn06IHZhcigtLXRleHQtc2Vjb25kYXJ5KTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dDb2xvckhvdmVyfTogdmFyKC0tdGV4dC1zZWNvbmRhcnktaG92ZXIpO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5hcnJvd0NvbG9yQWN0aXZlfTogdmFyKC0tLXRleHQtc2Vjb25kYXJ5LWFjdGl2ZSk7XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNCYWNrZ3JvdW5kQ29sb3J9OiB0cmFuc3BhcmVudDtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMub3V0bGluZUZvY3VzQ29sb3J9OiB2YXIoLS1zdXJmYWNlLWFjY2VudCk7XG5cbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0RpdmlkZXJXaWR0aH06IDAuMDYyNXJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0RpdmlkZXJIZWlnaHR9OiAwLjA2MjVyZW07XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNEaXZpZGVyQ29sb3J9OiB2YXIoLS1zdXJmYWNlLXRyYW5zcGFyZW50LXRlcnRpYXJ5KTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0RpdmlkZXJCb3JkZXJSYWRpdXN9OiAwLjA2MjVyZW07XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgICAgICBzaXplOiB7XG4gICAgICAgICAgICB4czogY3NzYFxuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzQm9yZGVyUmFkaXVzfTogMC41cmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzV2lkdGh9OiBmaXQtY29udGVudDtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0hlaWdodH06IGF1dG87XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLmFycm93SW5uZXJQYWRkaW5nfTogMHJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dPdXRlclBhZGRpbmd9OiAwLjEyNXJlbTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgICAgICBzOiBjc3NgXG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNCb3JkZXJSYWRpdXN9OiAwLjYyNXJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic1dpZHRofTogZml0LWNvbnRlbnQ7XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNIZWlnaHR9OiBhdXRvO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5hcnJvd0lubmVyUGFkZGluZ306IDByZW07XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLmFycm93T3V0ZXJQYWRkaW5nfTogMC4yNXJlbTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgICAgICBtOiBjc3NgXG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNCb3JkZXJSYWRpdXN9OiAwLjc1cmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzV2lkdGh9OiBmaXQtY29udGVudDtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0hlaWdodH06IGF1dG87XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLmFycm93SW5uZXJQYWRkaW5nfTogMHJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dPdXRlclBhZGRpbmd9OiAwLjYyNXJlbTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgICAgICBsOiBjc3NgXG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNCb3JkZXJSYWRpdXN9OiAwLjc1cmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzV2lkdGh9OiBmaXQtY29udGVudDtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0hlaWdodH06IGF1dG87XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLmFycm93SW5uZXJQYWRkaW5nfTogMHJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dPdXRlclBhZGRpbmd9OiAwLjc1cmVtO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgfSxcbiAgICAgICAgZGlzYWJsZWQ6IHtcbiAgICAgICAgICAgIHRydWU6IGNzc2BcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuZGlzYWJsZWRPcGFjaXR5fTogMC40O1xuICAgICAgICAgICAgYCxcbiAgICAgICAgfSxcbiAgICB9LFxufTtcbiJdfQ== */")),
|
21
|
+
m: /*#__PURE__*/(0, _react.css)(_Tabs.tabsTokens.tabsBorderRadius, ":0.75rem;", _Tabs.tabsTokens.tabsWidth, ":fit-content;", _Tabs.tabsTokens.tabsHeight, ":auto;", _Tabs.tabsTokens.arrowInnerPadding, ":0rem;", _Tabs.tabsTokens.arrowOuterPadding, ":0.625rem;;label:plasma-new-hope__m;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3BsYXNtYV9iMmMvY29tcG9uZW50cy9UYWJzL3ZlcnRpY2FsL1ZlcnRpY2FsVGFicy5jb25maWcudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBdUNrQiIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9leGFtcGxlcy9wbGFzbWFfYjJjL2NvbXBvbmVudHMvVGFicy92ZXJ0aWNhbC9WZXJ0aWNhbFRhYnMuY29uZmlnLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG5pbXBvcnQgeyB0YWJzVG9rZW5zIH0gZnJvbSAnLi4vLi4vLi4vLi4vLi4vY29tcG9uZW50cy9UYWJzJztcblxuZXhwb3J0IGNvbnN0IGNvbmZpZyA9IHtcbiAgICBkZWZhdWx0czoge1xuICAgICAgICB2aWV3OiAnZGl2aWRlcicsXG4gICAgICAgIHNpemU6ICd4cycsXG4gICAgfSxcbiAgICB2YXJpYXRpb25zOiB7XG4gICAgICAgIHZpZXc6IHtcbiAgICAgICAgICAgIGRpdmlkZXI6IGNzc2BcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dDb2xvcn06IHZhcigtLXRleHQtc2Vjb25kYXJ5KTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dDb2xvckhvdmVyfTogdmFyKC0tdGV4dC1zZWNvbmRhcnktaG92ZXIpO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5hcnJvd0NvbG9yQWN0aXZlfTogdmFyKC0tLXRleHQtc2Vjb25kYXJ5LWFjdGl2ZSk7XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNCYWNrZ3JvdW5kQ29sb3J9OiB0cmFuc3BhcmVudDtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMub3V0bGluZUZvY3VzQ29sb3J9OiB2YXIoLS1zdXJmYWNlLWFjY2VudCk7XG5cbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0RpdmlkZXJXaWR0aH06IDAuMDYyNXJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0RpdmlkZXJIZWlnaHR9OiAwLjA2MjVyZW07XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNEaXZpZGVyQ29sb3J9OiB2YXIoLS1zdXJmYWNlLXRyYW5zcGFyZW50LXRlcnRpYXJ5KTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0RpdmlkZXJCb3JkZXJSYWRpdXN9OiAwLjA2MjVyZW07XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgICAgICBzaXplOiB7XG4gICAgICAgICAgICB4czogY3NzYFxuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzQm9yZGVyUmFkaXVzfTogMC41cmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzV2lkdGh9OiBmaXQtY29udGVudDtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0hlaWdodH06IGF1dG87XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLmFycm93SW5uZXJQYWRkaW5nfTogMHJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dPdXRlclBhZGRpbmd9OiAwLjEyNXJlbTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgICAgICBzOiBjc3NgXG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNCb3JkZXJSYWRpdXN9OiAwLjYyNXJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic1dpZHRofTogZml0LWNvbnRlbnQ7XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNIZWlnaHR9OiBhdXRvO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5hcnJvd0lubmVyUGFkZGluZ306IDByZW07XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLmFycm93T3V0ZXJQYWRkaW5nfTogMC4yNXJlbTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgICAgICBtOiBjc3NgXG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNCb3JkZXJSYWRpdXN9OiAwLjc1cmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzV2lkdGh9OiBmaXQtY29udGVudDtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0hlaWdodH06IGF1dG87XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLmFycm93SW5uZXJQYWRkaW5nfTogMHJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dPdXRlclBhZGRpbmd9OiAwLjYyNXJlbTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgICAgICBsOiBjc3NgXG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNCb3JkZXJSYWRpdXN9OiAwLjc1cmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzV2lkdGh9OiBmaXQtY29udGVudDtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0hlaWdodH06IGF1dG87XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLmFycm93SW5uZXJQYWRkaW5nfTogMHJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dPdXRlclBhZGRpbmd9OiAwLjc1cmVtO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgfSxcbiAgICAgICAgZGlzYWJsZWQ6IHtcbiAgICAgICAgICAgIHRydWU6IGNzc2BcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuZGlzYWJsZWRPcGFjaXR5fTogMC40O1xuICAgICAgICAgICAgYCxcbiAgICAgICAgfSxcbiAgICB9LFxufTtcbiJdfQ== */")),
|
22
|
+
l: /*#__PURE__*/(0, _react.css)(_Tabs.tabsTokens.tabsBorderRadius, ":0.75rem;", _Tabs.tabsTokens.tabsWidth, ":fit-content;", _Tabs.tabsTokens.tabsHeight, ":auto;", _Tabs.tabsTokens.arrowInnerPadding, ":0rem;", _Tabs.tabsTokens.arrowOuterPadding, ":0.75rem;;label:plasma-new-hope__l;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3BsYXNtYV9iMmMvY29tcG9uZW50cy9UYWJzL3ZlcnRpY2FsL1ZlcnRpY2FsVGFicy5jb25maWcudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBOENrQiIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9leGFtcGxlcy9wbGFzbWFfYjJjL2NvbXBvbmVudHMvVGFicy92ZXJ0aWNhbC9WZXJ0aWNhbFRhYnMuY29uZmlnLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG5pbXBvcnQgeyB0YWJzVG9rZW5zIH0gZnJvbSAnLi4vLi4vLi4vLi4vLi4vY29tcG9uZW50cy9UYWJzJztcblxuZXhwb3J0IGNvbnN0IGNvbmZpZyA9IHtcbiAgICBkZWZhdWx0czoge1xuICAgICAgICB2aWV3OiAnZGl2aWRlcicsXG4gICAgICAgIHNpemU6ICd4cycsXG4gICAgfSxcbiAgICB2YXJpYXRpb25zOiB7XG4gICAgICAgIHZpZXc6IHtcbiAgICAgICAgICAgIGRpdmlkZXI6IGNzc2BcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dDb2xvcn06IHZhcigtLXRleHQtc2Vjb25kYXJ5KTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dDb2xvckhvdmVyfTogdmFyKC0tdGV4dC1zZWNvbmRhcnktaG92ZXIpO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5hcnJvd0NvbG9yQWN0aXZlfTogdmFyKC0tLXRleHQtc2Vjb25kYXJ5LWFjdGl2ZSk7XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNCYWNrZ3JvdW5kQ29sb3J9OiB0cmFuc3BhcmVudDtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMub3V0bGluZUZvY3VzQ29sb3J9OiB2YXIoLS1zdXJmYWNlLWFjY2VudCk7XG5cbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0RpdmlkZXJXaWR0aH06IDAuMDYyNXJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0RpdmlkZXJIZWlnaHR9OiAwLjA2MjVyZW07XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNEaXZpZGVyQ29sb3J9OiB2YXIoLS1zdXJmYWNlLXRyYW5zcGFyZW50LXRlcnRpYXJ5KTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0RpdmlkZXJCb3JkZXJSYWRpdXN9OiAwLjA2MjVyZW07XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgICAgICBzaXplOiB7XG4gICAgICAgICAgICB4czogY3NzYFxuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzQm9yZGVyUmFkaXVzfTogMC41cmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzV2lkdGh9OiBmaXQtY29udGVudDtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0hlaWdodH06IGF1dG87XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLmFycm93SW5uZXJQYWRkaW5nfTogMHJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dPdXRlclBhZGRpbmd9OiAwLjEyNXJlbTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgICAgICBzOiBjc3NgXG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNCb3JkZXJSYWRpdXN9OiAwLjYyNXJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic1dpZHRofTogZml0LWNvbnRlbnQ7XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNIZWlnaHR9OiBhdXRvO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5hcnJvd0lubmVyUGFkZGluZ306IDByZW07XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLmFycm93T3V0ZXJQYWRkaW5nfTogMC4yNXJlbTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgICAgICBtOiBjc3NgXG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNCb3JkZXJSYWRpdXN9OiAwLjc1cmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzV2lkdGh9OiBmaXQtY29udGVudDtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0hlaWdodH06IGF1dG87XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLmFycm93SW5uZXJQYWRkaW5nfTogMHJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dPdXRlclBhZGRpbmd9OiAwLjYyNXJlbTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgICAgICBsOiBjc3NgXG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNCb3JkZXJSYWRpdXN9OiAwLjc1cmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzV2lkdGh9OiBmaXQtY29udGVudDtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0hlaWdodH06IGF1dG87XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLmFycm93SW5uZXJQYWRkaW5nfTogMHJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dPdXRlclBhZGRpbmd9OiAwLjc1cmVtO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgfSxcbiAgICAgICAgZGlzYWJsZWQ6IHtcbiAgICAgICAgICAgIHRydWU6IGNzc2BcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuZGlzYWJsZWRPcGFjaXR5fTogMC40O1xuICAgICAgICAgICAgYCxcbiAgICAgICAgfSxcbiAgICB9LFxufTtcbiJdfQ== */"))
|
23
23
|
},
|
24
24
|
disabled: {
|
25
|
-
"true": /*#__PURE__*/(0, _react.css)(_Tabs.tabsTokens.disabledOpacity, ":0.4;;label:plasma-new-hope__true;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
25
|
+
"true": /*#__PURE__*/(0, _react.css)(_Tabs.tabsTokens.disabledOpacity, ":0.4;;label:plasma-new-hope__true;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3BsYXNtYV9iMmMvY29tcG9uZW50cy9UYWJzL3ZlcnRpY2FsL1ZlcnRpY2FsVGFicy5jb25maWcudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBdURxQiIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9leGFtcGxlcy9wbGFzbWFfYjJjL2NvbXBvbmVudHMvVGFicy92ZXJ0aWNhbC9WZXJ0aWNhbFRhYnMuY29uZmlnLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG5pbXBvcnQgeyB0YWJzVG9rZW5zIH0gZnJvbSAnLi4vLi4vLi4vLi4vLi4vY29tcG9uZW50cy9UYWJzJztcblxuZXhwb3J0IGNvbnN0IGNvbmZpZyA9IHtcbiAgICBkZWZhdWx0czoge1xuICAgICAgICB2aWV3OiAnZGl2aWRlcicsXG4gICAgICAgIHNpemU6ICd4cycsXG4gICAgfSxcbiAgICB2YXJpYXRpb25zOiB7XG4gICAgICAgIHZpZXc6IHtcbiAgICAgICAgICAgIGRpdmlkZXI6IGNzc2BcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dDb2xvcn06IHZhcigtLXRleHQtc2Vjb25kYXJ5KTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dDb2xvckhvdmVyfTogdmFyKC0tdGV4dC1zZWNvbmRhcnktaG92ZXIpO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5hcnJvd0NvbG9yQWN0aXZlfTogdmFyKC0tLXRleHQtc2Vjb25kYXJ5LWFjdGl2ZSk7XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNCYWNrZ3JvdW5kQ29sb3J9OiB0cmFuc3BhcmVudDtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMub3V0bGluZUZvY3VzQ29sb3J9OiB2YXIoLS1zdXJmYWNlLWFjY2VudCk7XG5cbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0RpdmlkZXJXaWR0aH06IDAuMDYyNXJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0RpdmlkZXJIZWlnaHR9OiAwLjA2MjVyZW07XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNEaXZpZGVyQ29sb3J9OiB2YXIoLS1zdXJmYWNlLXRyYW5zcGFyZW50LXRlcnRpYXJ5KTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0RpdmlkZXJCb3JkZXJSYWRpdXN9OiAwLjA2MjVyZW07XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgICAgICBzaXplOiB7XG4gICAgICAgICAgICB4czogY3NzYFxuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzQm9yZGVyUmFkaXVzfTogMC41cmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzV2lkdGh9OiBmaXQtY29udGVudDtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0hlaWdodH06IGF1dG87XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLmFycm93SW5uZXJQYWRkaW5nfTogMHJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dPdXRlclBhZGRpbmd9OiAwLjEyNXJlbTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgICAgICBzOiBjc3NgXG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNCb3JkZXJSYWRpdXN9OiAwLjYyNXJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic1dpZHRofTogZml0LWNvbnRlbnQ7XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNIZWlnaHR9OiBhdXRvO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy5hcnJvd0lubmVyUGFkZGluZ306IDByZW07XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLmFycm93T3V0ZXJQYWRkaW5nfTogMC4yNXJlbTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgICAgICBtOiBjc3NgXG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNCb3JkZXJSYWRpdXN9OiAwLjc1cmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzV2lkdGh9OiBmaXQtY29udGVudDtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0hlaWdodH06IGF1dG87XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLmFycm93SW5uZXJQYWRkaW5nfTogMHJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dPdXRlclBhZGRpbmd9OiAwLjYyNXJlbTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgICAgICBsOiBjc3NgXG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLnRhYnNCb3JkZXJSYWRpdXN9OiAwLjc1cmVtO1xuICAgICAgICAgICAgICAgICR7dGFic1Rva2Vucy50YWJzV2lkdGh9OiBmaXQtY29udGVudDtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMudGFic0hlaWdodH06IGF1dG87XG4gICAgICAgICAgICAgICAgJHt0YWJzVG9rZW5zLmFycm93SW5uZXJQYWRkaW5nfTogMHJlbTtcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuYXJyb3dPdXRlclBhZGRpbmd9OiAwLjc1cmVtO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgfSxcbiAgICAgICAgZGlzYWJsZWQ6IHtcbiAgICAgICAgICAgIHRydWU6IGNzc2BcbiAgICAgICAgICAgICAgICAke3RhYnNUb2tlbnMuZGlzYWJsZWRPcGFjaXR5fTogMC40O1xuICAgICAgICAgICAgYCxcbiAgICAgICAgfSxcbiAgICB9LFxufTtcbiJdfQ== */"))
|
26
26
|
}
|
27
27
|
}
|
28
28
|
};
|
@@ -12,6 +12,7 @@ import { Tabs } from './Tabs';
|
|
12
12
|
import { TabItem } from './TabItem';
|
13
13
|
|
14
14
|
const clips = ['none', 'scroll', 'showAll'];
|
15
|
+
const headerClips = ['none', 'scroll'];
|
15
16
|
const sizes = ['xs', 's', 'm', 'l'] as const;
|
16
17
|
const headerSizes = ['h5', 'h4', 'h3', 'h2', 'h1'] as const;
|
17
18
|
|
@@ -20,7 +21,6 @@ type HeaderSize = typeof headerSizes[number];
|
|
20
21
|
|
21
22
|
type CustomStoryTabsProps = {
|
22
23
|
itemQuantity: number;
|
23
|
-
hasDivider: boolean;
|
24
24
|
contentLeft: string;
|
25
25
|
contentRight: string;
|
26
26
|
stretch: boolean;
|
@@ -30,12 +30,12 @@ type CustomStoryTabsProps = {
|
|
30
30
|
const contentLeftOptions = ['none', 'icon'];
|
31
31
|
const contentRightOptions = ['none', 'counter', 'icon'];
|
32
32
|
|
33
|
-
const getContentLeft = (contentLeftOption: string, size:
|
33
|
+
const getContentLeft = (contentLeftOption: string, size: string) => {
|
34
34
|
const iconSize = size === 'xs' ? 'xs' : 's';
|
35
35
|
return contentLeftOption === 'icon' ? <IconMic size={iconSize} color="inherit" /> : undefined;
|
36
36
|
};
|
37
37
|
|
38
|
-
const getContentRight = (contentRightOption: string, size:
|
38
|
+
const getContentRight = (contentRightOption: string, size: string) => {
|
39
39
|
const iconSize = size === 'xs' ? 'xs' : 's';
|
40
40
|
const counterSize = size === 'xs' ? 'xxs' : 'xs';
|
41
41
|
|
@@ -96,7 +96,7 @@ const StoryHorizontalDefault = (props: HorizontalStoryTabsProps) => {
|
|
96
96
|
const [index, setIndex] = useState(0);
|
97
97
|
|
98
98
|
return (
|
99
|
-
<Tabs view={hasDivider
|
99
|
+
<Tabs view="divider" hasDivider={hasDivider} stretch={stretch} disabled={disabled} size={size}>
|
100
100
|
{items.map((_, i) => {
|
101
101
|
if (helperText !== '') {
|
102
102
|
return (
|
@@ -152,7 +152,7 @@ const StoryHorizontalScroll = (props: HorizontalStoryTabsProps) => {
|
|
152
152
|
const [index, setIndex] = useState(0);
|
153
153
|
|
154
154
|
return (
|
155
|
-
<Tabs clip={clip} view={hasDivider
|
155
|
+
<Tabs clip={clip} view="divider" hasDivider={hasDivider} disabled={disabled} size={size} style={{ width }}>
|
156
156
|
{items.map((_, i) => {
|
157
157
|
if (helperText !== '') {
|
158
158
|
return (
|
@@ -220,7 +220,7 @@ const StoryHorizontalShowAll = (props: HorizontalStoryTabsProps) => {
|
|
220
220
|
});
|
221
221
|
|
222
222
|
return (
|
223
|
-
<Tabs clip={clip} view={hasDivider
|
223
|
+
<Tabs clip={clip} view="divider" hasDivider={hasDivider} disabled={disabled} size={size}>
|
224
224
|
{visibleItems.map((_, i) => {
|
225
225
|
if (helperText !== '') {
|
226
226
|
return (
|
@@ -603,31 +603,47 @@ export const VerticalTabs: StoryObj<VerticalStoryTabsProps> = {
|
|
603
603
|
},
|
604
604
|
};
|
605
605
|
|
606
|
-
const
|
607
|
-
const {
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
606
|
+
const StoryHeaderDefault = (props: HorizontalStoryTabsProps) => {
|
607
|
+
const { disabled, itemQuantity, size, helperText } = props;
|
608
|
+
const items = Array(itemQuantity).fill(0);
|
609
|
+
const [index, setIndex] = useState(0);
|
610
|
+
|
611
|
+
return (
|
612
|
+
<Tabs view="clear" disabled={disabled} size={size as HeaderSize}>
|
613
|
+
{items.map((_, i) => (
|
614
|
+
<TabItem
|
615
|
+
key={`item:${i}`}
|
616
|
+
view="clear"
|
617
|
+
selected={i === index}
|
618
|
+
onClick={() => !disabled && setIndex(i)}
|
619
|
+
tabIndex={!disabled ? 0 : -1}
|
620
|
+
disabled={disabled}
|
621
|
+
value={helperText}
|
622
|
+
size={size as HeaderSize}
|
623
|
+
>
|
624
|
+
{`Label${i + 1}`}
|
625
|
+
</TabItem>
|
626
|
+
))}
|
627
|
+
</Tabs>
|
628
|
+
);
|
629
|
+
};
|
630
|
+
|
631
|
+
const StoryHeaderScroll = (props: HorizontalStoryTabsProps) => {
|
632
|
+
const { disabled, itemQuantity, size, helperText, width } = props;
|
616
633
|
const items = Array(itemQuantity).fill(0);
|
617
634
|
const [index, setIndex] = useState(0);
|
618
635
|
|
619
636
|
return (
|
620
|
-
<Tabs view=
|
637
|
+
<Tabs view="clear" disabled={disabled} size={size as HeaderSize} style={{ width }}>
|
621
638
|
{items.map((_, i) => (
|
622
639
|
<TabItem
|
623
640
|
key={`item:${i}`}
|
624
|
-
view="
|
641
|
+
view="clear"
|
625
642
|
selected={i === index}
|
626
643
|
onClick={() => !disabled && setIndex(i)}
|
627
644
|
tabIndex={!disabled ? 0 : -1}
|
628
645
|
disabled={disabled}
|
629
|
-
|
630
|
-
contentRight={getContentRight(contentRightOption, size as Size)}
|
646
|
+
value={helperText}
|
631
647
|
size={size as HeaderSize}
|
632
648
|
>
|
633
649
|
{`Label${i + 1}`}
|
@@ -637,37 +653,60 @@ const StoryHeaderTabs = (props: StoryTabsProps) => {
|
|
637
653
|
);
|
638
654
|
};
|
639
655
|
|
640
|
-
export const HeaderTabs: StoryObj<
|
656
|
+
export const HeaderTabs: StoryObj<HorizontalStoryTabsProps> = {
|
641
657
|
args: {
|
642
658
|
size: 'h5',
|
643
659
|
disabled: false,
|
644
|
-
|
645
|
-
itemQuantity:
|
660
|
+
helperText: '',
|
661
|
+
itemQuantity: 6,
|
662
|
+
width: '12rem',
|
646
663
|
},
|
647
664
|
argTypes: {
|
648
|
-
|
649
|
-
options:
|
665
|
+
clip: {
|
666
|
+
options: headerClips,
|
650
667
|
control: {
|
651
668
|
type: 'select',
|
652
669
|
},
|
653
670
|
},
|
654
|
-
|
655
|
-
options: contentLeftOptions,
|
671
|
+
width: {
|
656
672
|
control: {
|
657
|
-
type: '
|
673
|
+
type: 'text',
|
674
|
+
},
|
675
|
+
if: { arg: 'clip', eq: 'scroll' },
|
676
|
+
},
|
677
|
+
stretch: {
|
678
|
+
table: {
|
679
|
+
disable: true,
|
680
|
+
},
|
681
|
+
},
|
682
|
+
contentLeft: {
|
683
|
+
table: {
|
684
|
+
disable: true,
|
658
685
|
},
|
659
686
|
},
|
660
687
|
contentRight: {
|
661
|
-
|
662
|
-
|
663
|
-
type: 'select',
|
688
|
+
table: {
|
689
|
+
disable: true,
|
664
690
|
},
|
665
691
|
},
|
666
|
-
|
692
|
+
hasDivider: {
|
667
693
|
table: {
|
668
694
|
disable: true,
|
669
695
|
},
|
670
696
|
},
|
697
|
+
size: {
|
698
|
+
options: headerSizes,
|
699
|
+
control: {
|
700
|
+
type: 'select',
|
701
|
+
},
|
702
|
+
},
|
703
|
+
},
|
704
|
+
render: (args) => {
|
705
|
+
switch (args.clip) {
|
706
|
+
case 'scroll':
|
707
|
+
return <StoryHeaderScroll {...args} />;
|
708
|
+
default:
|
709
|
+
return <StoryHeaderDefault {...args} />;
|
710
|
+
}
|
671
711
|
},
|
672
|
-
render: (args) => <StoryHeaderTabs {...args} />,
|
673
712
|
};
|