@salutejs/plasma-web 1.384.0-canary.1406.10628421547.0 → 1.384.1-canary.1374.10632027763.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/plasma-web.api.md +82 -4
- package/components/Combobox/Combobox.config.d.ts +17 -0
- package/components/Combobox/Combobox.config.js +26 -0
- package/components/Combobox/Combobox.d.ts +61 -0
- package/components/Combobox/Combobox.js +20 -0
- package/components/Combobox/index.d.ts +2 -0
- package/components/Combobox/index.js +42 -0
- package/components/Tabs/TabItem.d.ts +3 -2
- package/components/Tabs/TabItem.js +21 -3
- package/components/Tabs/Tabs.d.ts +3 -2
- package/components/Tabs/Tabs.js +21 -3
- package/components/Tabs/TabsController.d.ts +2 -2
- package/components/Tabs/vertical/VerticalTabItem.config.d.ts +1 -0
- package/components/Tabs/vertical/VerticalTabItem.config.js +5 -0
- package/components/Tabs/vertical/VerticalTabs.config.d.ts +1 -0
- package/components/Tabs/vertical/VerticalTabs.config.js +5 -0
- package/css/cjs/components/Combobox/Combobox.config.js +25 -0
- package/css/cjs/components/Combobox/Combobox.config.js.map +1 -0
- package/css/cjs/components/Combobox/Combobox.config_18fbty9.css +5 -0
- package/css/cjs/components/Combobox/Combobox.css +5 -0
- package/css/cjs/components/Combobox/Combobox.js +27 -0
- package/css/cjs/components/Combobox/Combobox.js.map +1 -0
- package/css/cjs/components/Tabs/TabItem.css +15 -15
- package/css/cjs/components/Tabs/TabItem.js +18 -3
- package/css/cjs/components/Tabs/TabItem.js.map +1 -1
- package/css/cjs/components/Tabs/Tabs.css +15 -15
- package/css/cjs/components/Tabs/Tabs.js +18 -3
- package/css/cjs/components/Tabs/Tabs.js.map +1 -1
- package/css/cjs/components/Tabs/TabsController.css +30 -30
- package/css/cjs/components/Tabs/TabsController.js.map +1 -1
- package/css/cjs/components/Tabs/horizontal/HorizontalTabItem.config.js +39 -0
- package/css/cjs/components/Tabs/horizontal/HorizontalTabItem.config.js.map +1 -0
- package/css/cjs/components/Tabs/horizontal/HorizontalTabItem.config_xl402n.css +15 -0
- package/css/cjs/components/Tabs/horizontal/HorizontalTabs.config.js +41 -0
- package/css/cjs/components/Tabs/horizontal/HorizontalTabs.config.js.map +1 -0
- package/css/cjs/components/Tabs/horizontal/HorizontalTabs.config_17bycx2.css +15 -0
- package/css/cjs/index.css +37 -31
- package/css/cjs/index.js +7 -0
- package/css/cjs/index.js.map +1 -1
- package/css/es/components/Combobox/Combobox.config.js +21 -0
- package/css/es/components/Combobox/Combobox.config.js.map +1 -0
- package/css/es/components/Combobox/Combobox.config_18fbty9.css +5 -0
- package/css/es/components/Combobox/Combobox.css +5 -0
- package/css/es/components/Combobox/Combobox.js +18 -0
- package/css/es/components/Combobox/Combobox.js.map +1 -0
- package/css/es/components/Tabs/TabItem.css +15 -15
- package/css/es/components/Tabs/TabItem.js +19 -4
- package/css/es/components/Tabs/TabItem.js.map +1 -1
- package/css/es/components/Tabs/Tabs.css +15 -15
- package/css/es/components/Tabs/Tabs.js +19 -4
- package/css/es/components/Tabs/Tabs.js.map +1 -1
- package/css/es/components/Tabs/TabsController.css +30 -30
- package/css/es/components/Tabs/TabsController.js.map +1 -1
- package/css/es/components/Tabs/horizontal/HorizontalTabItem.config.js +35 -0
- package/css/es/components/Tabs/horizontal/HorizontalTabItem.config.js.map +1 -0
- package/css/es/components/Tabs/horizontal/HorizontalTabItem.config_xl402n.css +15 -0
- package/css/es/components/Tabs/horizontal/HorizontalTabs.config.js +37 -0
- package/css/es/components/Tabs/horizontal/HorizontalTabs.config.js.map +1 -0
- package/css/es/components/Tabs/horizontal/HorizontalTabs.config_17bycx2.css +15 -0
- package/css/es/index.css +37 -31
- package/css/es/index.js +1 -0
- package/css/es/index.js.map +1 -1
- package/css/index.d.ts +2 -0
- package/es/components/Combobox/Combobox.config.js +20 -0
- package/es/components/Combobox/Combobox.js +14 -0
- package/es/components/Combobox/index.js +1 -0
- package/es/components/Tabs/TabItem.js +21 -4
- package/es/components/Tabs/Tabs.js +21 -4
- package/es/components/Tabs/vertical/VerticalTabItem.config.js +1 -0
- package/es/components/Tabs/vertical/VerticalTabs.config.js +1 -0
- package/es/index.js +1 -0
- package/index.d.ts +1 -0
- package/index.js +11 -0
- package/package.json +3 -3
- package/temp/plasma-web.api.md +82 -4
- package/css/cjs/components/Tabs/TabItem.config.js +0 -39
- package/css/cjs/components/Tabs/TabItem.config.js.map +0 -1
- package/css/cjs/components/Tabs/TabItem.config_mjoml6.css +0 -15
- package/css/cjs/components/Tabs/Tabs.config.js +0 -41
- package/css/cjs/components/Tabs/Tabs.config.js.map +0 -1
- package/css/cjs/components/Tabs/Tabs.config_1g344dn.css +0 -15
- package/css/es/components/Tabs/TabItem.config.js +0 -35
- package/css/es/components/Tabs/TabItem.config.js.map +0 -1
- package/css/es/components/Tabs/TabItem.config_mjoml6.css +0 -15
- package/css/es/components/Tabs/Tabs.config.js +0 -37
- package/css/es/components/Tabs/Tabs.config.js.map +0 -1
- package/css/es/components/Tabs/Tabs.config_1g344dn.css +0 -15
- /package/components/Tabs/{TabItem.config.d.ts → horizontal/HorizontalTabItem.config.d.ts} +0 -0
- /package/components/Tabs/{TabItem.config.js → horizontal/HorizontalTabItem.config.js} +0 -0
- /package/components/Tabs/{Tabs.config.d.ts → horizontal/HorizontalTabs.config.d.ts} +0 -0
- /package/components/Tabs/{Tabs.config.js → horizontal/HorizontalTabs.config.js} +0 -0
- /package/es/components/Tabs/{TabItem.config.js → horizontal/HorizontalTabItem.config.js} +0 -0
- /package/es/components/Tabs/{Tabs.config.js → horizontal/HorizontalTabs.config.js} +0 -0
@@ -0,0 +1,5 @@
|
|
1
|
+
.Combobox_config_18fbty9_x1scuc1k__e7fed6ce{--plasma-combobox-width:100%;--plasma-combobox-height:auto;--plasma-combobox-border-radius:0.5rem;--plasma-combobox-padding-top:0.125rem;--plasma-combobox-padding-right:0.125rem;--plasma-combobox-padding-bottom:0.125rem;--plasma-combobox-padding-left:0.125rem;--plasma-combobox-divider-color:var(--surface-transparent-tertiary);--plasma-combobox-divider-height:0.063rem;--plasma-combobox-divider-margin-top:0;--plasma-combobox-divider-margin-right:0.5rem;--plasma-combobox-divider-margin-bottom:0;--plasma-combobox-divider-margin-left:0.375rem;--plasma-combobox-item-width:auto;--plasma-combobox-item-height:1rem;--plasma-combobox-item-padding-top:0.5rem;--plasma-combobox-item-padding-right:0.5rem;--plasma-combobox-item-padding-bottom:0.5rem;--plasma-combobox-item-padding-left:0.375rem;--plasma-combobox-item-border-radius:0.375rem;--plasma-combobox-item-content-left-width:1.25rem;--plasma-combobox-item-font-family:var(--plasma-typo-body-xs-font-family);--plasma-combobox-item-font-size:var(--plasma-typo-body-xs-font-size);--plasma-combobox-item-font-style:var(--plasma-typo-body-xs-font-style);--plasma-combobox-item-letter-spacing:var(--plasma-typo-body-xs-font-weight);--plasma-combobox-item-line-height:var(--plasma-typo-body-xs-letter-spacing);--plasma-combobox-item-font-weight:var(--plasma-typo-body-xs-line-height);--plasma-combobox-chip-gap:0.25rem;--plasma-combobox-chip-border-radius:0.125rem;--plasma-combobox-chip-width:auto;--plasma-combobox-chip-height:1.25rem;--plasma-combobox-chip-padding-right:0.375rem;--plasma-combobox-chip-padding-left:0.625rem;--plasma-combobox-chip-clear-content-margin-left:0.25rem;--plasma-combobox-chip-clear-content-margin-right:0rem;--plasma-combobox-chip-close-icon-size:0.75rem;--plasma-combobox-chip-font-family:var(--plasma-typo-body-xs-font-family);--plasma-combobox-chip-font-size:var(--plasma-typo-body-xs-font-size);--plasma-combobox-chip-font-style:var(--plasma-typo-body-xs-font-style);--plasma-combobox-chip-font-weight:var(--plasma-typo-body-xs-font-weight);--plasma-combobox-chip-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);--plasma-combobox-chip-line-height:var(--plasma-typo-body-xs-line-height);--plasma-combobox-target-arrow-right:0.5rem;--plasma-combobox-target-height:2rem;--plasma-combobox-target-width:100%;--plasma-combobox-target-radius:0.5rem;--plasma-combobox-target-padding:0 2.5rem 0 0.75rem;--plasma-combobox-target-padding-has-chips:0 2.625rem 0 0.375rem;--plasma-combobox-target-with-input:0 2.625rem 0 0.625rem;--plasma-combobox-target-inner-top:0.5rem;--plasma-combobox-target-label-inner-top:0.375rem;--plasma-combobox-target-font-family:var(--plasma-typo-body-xs-font-family);--plasma-combobox-target-font-size:var(--plasma-typo-body-xs-font-size);--plasma-combobox-target-font-style:var(--plasma-typo-body-xs-font-style);--plasma-combobox-target-font-weight:var(--plasma-typo-body-xs-font-weight);--plasma-combobox-target-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);--plasma-combobox-target-line-height:var(--plasma-typo-body-xs-line-height);--plasma-combobox-target-label-inner-font-family:var(--plasma-typo-body-xs-font-family);--plasma-combobox-target-label-inner-font-family:var(--plasma-typo-body-xs-font-size);--plasma-combobox-target-label-inner-font-style:var(--plasma-typo-body-xs-font-style);--plasma-combobox-target-label-inner-font-weight:var(--plasma-typo-body-xs-font-weight);--plasma-combobox-target-label-inner-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);--plasma-combobox-target-label-inner-line-height:var(--plasma-typo-body-xs-line-height);}
|
2
|
+
.Combobox_config_18fbty9_s953oeh__e7fed6ce{--plasma-combobox-width:100%;--plasma-combobox-height:auto;--plasma-combobox-border-radius:0.625rem;--plasma-combobox-padding-top:0.125rem;--plasma-combobox-padding-right:0.125rem;--plasma-combobox-padding-bottom:0.125rem;--plasma-combobox-padding-left:0.125rem;--plasma-combobox-divider-color:var(--surface-transparent-tertiary);--plasma-combobox-divider-height:0.063rem;--plasma-combobox-divider-margin-top:0;--plasma-combobox-divider-margin-right:0.75rem;--plasma-combobox-divider-margin-bottom:0;--plasma-combobox-divider-margin-left:0.75rem;--plasma-combobox-item-width:auto;--plasma-combobox-item-height:1.5rem;--plasma-combobox-item-padding-top:0.5rem;--plasma-combobox-item-padding-right:0.75rem;--plasma-combobox-item-padding-bottom:0.5rem;--plasma-combobox-item-padding-left:0.75rem;--plasma-combobox-item-border-radius:0.5rem;--plasma-combobox-item-content-left-width:1.75rem;--plasma-combobox-item-font-family:var(--plasma-typo-body-s-font-family);--plasma-combobox-item-font-size:var(--plasma-typo-body-s-font-size);--plasma-combobox-item-font-style:var(--plasma-typo-body-s-font-style);--plasma-combobox-item-letter-spacing:var(--plasma-typo-body-s-font-weight);--plasma-combobox-item-line-height:var(--plasma-typo-body-s-letter-spacing);--plasma-combobox-item-font-weight:var(--plasma-typo-body-s-line-height);--plasma-combobox-chip-gap:0.25rem;--plasma-combobox-chip-border-radius:0.25rem;--plasma-combobox-chip-width:auto;--plasma-combobox-chip-height:1.75rem;--plasma-combobox-chip-padding-right:0.5rem;--plasma-combobox-chip-padding-left:0.75rem;--plasma-combobox-chip-clear-content-margin-left:0.375rem;--plasma-combobox-chip-clear-content-margin-right:0rem;--plasma-combobox-chip-close-icon-size:0.75rem;--plasma-combobox-chip-font-family:var(--plasma-typo-body-s-font-family);--plasma-combobox-chip-font-size:var(--plasma-typo-body-s-font-size);--plasma-combobox-chip-font-style:var(--plasma-typo-body-s-font-style);--plasma-combobox-chip-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-combobox-chip-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-combobox-chip-line-height:var(--plasma-typo-body-s-line-height);--plasma-combobox-target-arrow-right:0.75rem;--plasma-combobox-target-height:2.5rem;--plasma-combobox-target-width:100%;--plasma-combobox-target-radius:0.625rem;--plasma-combobox-target-padding:0 3rem 0 1rem;--plasma-combobox-target-padding-has-chips:0 3.125rem 0 0.375rem;--plasma-combobox-target-with-input:0 3.125rem 0 0.625rem;--plasma-combobox-target-inner-top:0.5rem;--plasma-combobox-target-label-inner-top:0.375rem;--plasma-combobox-target-font-family:var(--plasma-typo-body-s-font-family);--plasma-combobox-target-font-size:var(--plasma-typo-body-s-font-size);--plasma-combobox-target-font-style:var(--plasma-typo-body-s-font-style);--plasma-combobox-target-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-combobox-target-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-combobox-target-line-height:var(--plasma-typo-body-s-line-height);--plasma-combobox-target-label-inner-font-family:var(--plasma-typo-body-xxs-font-family);--plasma-combobox-target-label-inner-font-family:var(--plasma-typo-body-xxs-font-size);--plasma-combobox-target-label-inner-font-style:var(--plasma-typo-body-xxs-font-style);--plasma-combobox-target-label-inner-font-weight:var(--plasma-typo-body-xxs-font-weight);--plasma-combobox-target-label-inner-letter-spacing:var(--plasma-typo-body-xxs-letter-spacing);--plasma-combobox-target-label-inner-line-height:var(--plasma-typo-body-xxs-line-height);}
|
3
|
+
.Combobox_config_18fbty9_mcllkda__e7fed6ce{--plasma-combobox-width:100%;--plasma-combobox-height:auto;--plasma-combobox-border-radius:0.75rem;--plasma-combobox-padding-top:0.125rem;--plasma-combobox-padding-right:0.125rem;--plasma-combobox-padding-bottom:0.125rem;--plasma-combobox-padding-left:0.125rem;--plasma-combobox-divider-color:var(--surface-transparent-tertiary);--plasma-combobox-divider-height:0.063rem;--plasma-combobox-divider-margin-top:0;--plasma-combobox-divider-margin-right:0.875rem;--plasma-combobox-divider-margin-bottom:0;--plasma-combobox-divider-margin-left:0.875rem;--plasma-combobox-item-width:auto;--plasma-combobox-item-height:1.5rem;--plasma-combobox-item-padding-top:0.75rem;--plasma-combobox-item-padding-right:0.875rem;--plasma-combobox-item-padding-bottom:0.75rem;--plasma-combobox-item-padding-left:0.875rem;--plasma-combobox-item-border-radius:0.625rem;--plasma-combobox-item-content-left-width:1.75rem;--plasma-combobox-item-font-family:var(--plasma-typo-body-m-font-family);--plasma-combobox-item-font-size:var(--plasma-typo-body-m-font-size);--plasma-combobox-item-font-style:var(--plasma-typo-body-m-font-style);--plasma-combobox-item-letter-spacing:var(--plasma-typo-body-m-font-weight);--plasma-combobox-item-line-height:var(--plasma-typo-body-m-letter-spacing);--plasma-combobox-item-font-weight:var(--plasma-typo-body-m-line-height);--plasma-combobox-chip-gap:0.25rem;--plasma-combobox-chip-border-radius:0.375rem;--plasma-combobox-chip-width:auto;--plasma-combobox-chip-height:2.25rem;--plasma-combobox-chip-padding-right:0.875rem;--plasma-combobox-chip-padding-left:0.625rem;--plasma-combobox-chip-clear-content-margin-left:0.5rem;--plasma-combobox-chip-clear-content-margin-right:0rem;--plasma-combobox-chip-close-icon-size:1rem;--plasma-combobox-chip-font-family:var(--plasma-typo-body-m-font-family);--plasma-combobox-chip-font-size:var(--plasma-typo-body-m-font-size);--plasma-combobox-chip-font-style:var(--plasma-typo-body-m-font-style);--plasma-combobox-chip-font-weight:var(--plasma-typo-body-m-font-weight);--plasma-combobox-chip-letter-spacing:var(--plasma-typo-body-m-letter-spacing);--plasma-combobox-chip-line-height:var(--plasma-typo-body-m-line-height);--plasma-combobox-target-arrow-right:0.875rem;--plasma-combobox-target-height:3rem;--plasma-combobox-target-width:100%;--plasma-combobox-target-radius:0.75rem;--plasma-combobox-target-padding:0 3.25rem 0 1.25rem;--plasma-combobox-target-padding-has-chips:0 3.375rem 0 0.375rem;--plasma-combobox-target-with-input:0 3.375rem 0 0.625rem;--plasma-combobox-target-inner-top:0.5rem;--plasma-combobox-target-label-inner-top:0.375rem;--plasma-combobox-target-font-family:var(--plasma-typo-body-m-font-family);--plasma-combobox-target-font-size:var(--plasma-typo-body-m-font-size);--plasma-combobox-target-font-style:var(--plasma-typo-body-m-font-style);--plasma-combobox-target-font-weight:var(--plasma-typo-body-m-font-weight);--plasma-combobox-target-letter-spacing:var(--plasma-typo-body-m-letter-spacing);--plasma-combobox-target-line-height:var(--plasma-typo-body-m-line-height);--plasma-combobox-target-label-inner-font-family:var(--plasma-typo-body-xs-font-family);--plasma-combobox-target-label-inner-font-family:var(--plasma-typo-body-xs-font-size);--plasma-combobox-target-label-inner-font-style:var(--plasma-typo-body-xs-font-style);--plasma-combobox-target-label-inner-font-weight:var(--plasma-typo-body-xs-font-weight);--plasma-combobox-target-label-inner-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);--plasma-combobox-target-label-inner-line-height:var(--plasma-typo-body-xs-line-height);}
|
4
|
+
.Combobox_config_18fbty9_l1ioh6mq__e7fed6ce{--plasma-combobox-width:100%;--plasma-combobox-height:auto;--plasma-combobox-border-radius:0.875rem;--plasma-combobox-padding-top:0.125rem;--plasma-combobox-padding-right:0.125rem;--plasma-combobox-padding-bottom:0.125rem;--plasma-combobox-padding-left:0.125rem;--plasma-combobox-divider-color:var(--surface-transparent-tertiary);--plasma-combobox-divider-height:0.063rem;--plasma-combobox-divider-margin-top:0;--plasma-combobox-divider-margin-right:1rem;--plasma-combobox-divider-margin-bottom:0;--plasma-combobox-divider-margin-left:1rem;--plasma-combobox-item-width:auto;--plasma-combobox-item-height:1.5rem;--plasma-combobox-item-padding-top:1rem;--plasma-combobox-item-padding-right:1rem;--plasma-combobox-item-padding-bottom:1rem;--plasma-combobox-item-padding-left:1rem;--plasma-combobox-item-border-radius:0.75rem;--plasma-combobox-item-content-left-width:1.875rem;--plasma-combobox-item-font-family:var(--plasma-typo-body-l-font-family);--plasma-combobox-item-font-size:var(--plasma-typo-body-l-font-size);--plasma-combobox-item-font-style:var(--plasma-typo-body-l-font-style);--plasma-combobox-item-letter-spacing:var(--plasma-typo-body-l-font-weight);--plasma-combobox-item-line-height:var(--plasma-typo-body-l-letter-spacing);--plasma-combobox-item-font-weight:var(--plasma-typo-body-l-line-height);--plasma-combobox-chip-gap:0.25rem;--plasma-combobox-chip-border-radius:0.5rem;--plasma-combobox-chip-width:auto;--plasma-combobox-chip-height:2.75rem;--plasma-combobox-chip-padding-right:0.75rem;--plasma-combobox-chip-padding-left:1rem;--plasma-combobox-chip-clear-content-margin-left:0.625rem;--plasma-combobox-chip-clear-content-margin-right:0rem;--plasma-combobox-chip-close-icon-size:1rem;--plasma-combobox-chip-font-family:var(--plasma-typo-body-m-font-family);--plasma-combobox-chip-font-size:var(--plasma-typo-body-m-font-size);--plasma-combobox-chip-font-style:var(--plasma-typo-body-m-font-style);--plasma-combobox-chip-font-weight:var(--plasma-typo-body-m-font-weight);--plasma-combobox-chip-letter-spacing:var(--plasma-typo-body-m-letter-spacing);--plasma-combobox-chip-line-height:var(--plasma-typo-body-m-line-height);--plasma-combobox-target-arrow-right:1rem;--plasma-combobox-target-height:3.5rem;--plasma-combobox-target-width:100%;--plasma-combobox-target-radius:0.875rem;--plasma-combobox-target-padding:0 3.5rem 0 1.5rem;--plasma-combobox-target-padding-has-chips:0 3.625rem 0 0.375rem;--plasma-combobox-target-with-input:0 3.625rem 0 0.625rem;--plasma-combobox-target-inner-top:0.5rem;--plasma-combobox-target-label-inner-top:0.375rem;--plasma-combobox-target-font-family:var(--plasma-typo-body-l-font-family);--plasma-combobox-target-font-size:var(--plasma-typo-body-l-font-size);--plasma-combobox-target-font-style:var(--plasma-typo-body-l-font-style);--plasma-combobox-target-font-weight:var(--plasma-typo-body-l-font-weight);--plasma-combobox-target-letter-spacing:var(--plasma-typo-body-l-letter-spacing);--plasma-combobox-target-line-height:var(--plasma-typo-body-l-line-height);--plasma-combobox-target-label-inner-font-family:var(--plasma-typo-body-s-font-family);--plasma-combobox-target-label-inner-font-family:var(--plasma-typo-body-s-font-size);--plasma-combobox-target-label-inner-font-style:var(--plasma-typo-body-s-font-style);--plasma-combobox-target-label-inner-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-combobox-target-label-inner-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-combobox-target-label-inner-line-height:var(--plasma-typo-body-s-line-height);}
|
5
|
+
.Combobox_config_18fbty9_d1jkqh6u__e7fed6ce{--plasma-combobox-target-color:var(--text-primary);--plasma-combobox-target-label-color:var(--text-secondary);--plasma-combobox-target-arrow-color:var(--text-secondary);--plasma-combobox-target-border-color:var(--text-tertiary);--plasma-combobox-target-border-color-hover:var(--text-tertiary-hover);--plasma-combobox-target-border-color-active:var(--text-tertiary-active);--plasma-combobox-target-border-color-open:var(--text-accent);--plasma-combobox-background:var(--surface-solid-card);--plasma-combobox-box-shadow:0px 4px 14px -4px rgba(8,8,8,0.08),0px 1px 4px -1px rgba(0,0,0,0.04);--plasma-combobox-item-background:var(--plasma-colors-transparent);--plasma-combobox-item-background-hover:var(--surface-transparent-secondary);--plasma-combobox-item-background-selected-hover:var(--surface-transparent-secondary);--plasma-combobox-item-color:var(--text-primary);--plasma-combobox-item-content-left-color:var(--text-accent);--plasma-combobox-chip-close-icon-color:var(--text-secondary);--plasma-combobox-chip-color:var(--text-primary);--plasma-combobox-chip-background:var(--surface-transparent-secondary);--plasma-combobox-chip-color-hover:var(--text-primary);--plasma-combobox-chip-background-hover:var(--surface-transparent-secondary-hover);--plasma-combobox-chip-color-active:var(--text-primary);--plasma-combobox-chip-background-active:var(--surface-transparent-secondary-active);--plasma-combobox-chip-background-readonly:var(--surface-transparent-secondary);--plasma-combobox-chip-color-readonly:var(--text-primary);--plasma-combobox-chip-background-readonly-hover:var(--surface-transparent-secondary);--plasma-combobox-chip-color-readonly-hover:var(--text-primary);--plasma-combobox-chip-opacity-readonly:0.72;--plasma-combobox-disabled-opacity:0.4;--plasma-combobox-focus-color:var(--surface-accent);}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
+
|
5
|
+
var plasmaNewHope = require('@salutejs/plasma-new-hope');
|
6
|
+
var Combobox_config = require('./Combobox.config.js');
|
7
|
+
|
8
|
+
var mergedConfig = /*#__PURE__*/plasmaNewHope.mergeConfig(plasmaNewHope.comboboxConfig, Combobox_config.config);
|
9
|
+
var Combobox = /*#__PURE__*/plasmaNewHope.component(mergedConfig);
|
10
|
+
var mergedItemConfig = /*#__PURE__*/plasmaNewHope.mergeConfig(plasmaNewHope.comboboxItemConfig);
|
11
|
+
var ComboboxItem = /*#__PURE__*/plasmaNewHope.component(mergedItemConfig);
|
12
|
+
var mergedDividerConfig = /*#__PURE__*/plasmaNewHope.mergeConfig(plasmaNewHope.comboboxDividerConfig);
|
13
|
+
var ComboboxDivider = /*#__PURE__*/plasmaNewHope.component(mergedDividerConfig);
|
14
|
+
var mergedFooterConfig = /*#__PURE__*/plasmaNewHope.mergeConfig(plasmaNewHope.comboboxFooterConfig);
|
15
|
+
var ComboboxFooter = /*#__PURE__*/plasmaNewHope.component(mergedFooterConfig);
|
16
|
+
var mergedGroupConfig = /*#__PURE__*/plasmaNewHope.mergeConfig(plasmaNewHope.comboboxGroupConfig);
|
17
|
+
var ComboboxGroup = /*#__PURE__*/plasmaNewHope.component(mergedGroupConfig);
|
18
|
+
var mergedHeaderConfig = /*#__PURE__*/plasmaNewHope.mergeConfig(plasmaNewHope.comboboxHeaderConfig);
|
19
|
+
var ComboboxHeader = /*#__PURE__*/plasmaNewHope.component(mergedHeaderConfig);
|
20
|
+
|
21
|
+
exports.Combobox = Combobox;
|
22
|
+
exports.ComboboxDivider = ComboboxDivider;
|
23
|
+
exports.ComboboxFooter = ComboboxFooter;
|
24
|
+
exports.ComboboxGroup = ComboboxGroup;
|
25
|
+
exports.ComboboxHeader = ComboboxHeader;
|
26
|
+
exports.ComboboxItem = ComboboxItem;
|
27
|
+
//# sourceMappingURL=Combobox.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Combobox.js","sources":["../../../../src-css/components/Combobox/Combobox.ts"],"sourcesContent":["import {\n comboboxConfig,\n comboboxItemConfig,\n comboboxDividerConfig,\n comboboxFooterConfig,\n comboboxGroupConfig,\n comboboxHeaderConfig,\n component,\n mergeConfig,\n} from '@salutejs/plasma-new-hope';\n\nimport { config } from './Combobox.config';\n\nconst mergedConfig = mergeConfig(comboboxConfig, config);\nexport const Combobox = component(mergedConfig);\n\nconst mergedItemConfig = mergeConfig(comboboxItemConfig);\nexport const ComboboxItem = component(mergedItemConfig);\n\nconst mergedDividerConfig = mergeConfig(comboboxDividerConfig);\nexport const ComboboxDivider = component(mergedDividerConfig);\n\nconst mergedFooterConfig = mergeConfig(comboboxFooterConfig);\nexport const ComboboxFooter = component(mergedFooterConfig);\n\nconst mergedGroupConfig = mergeConfig(comboboxGroupConfig);\nexport const ComboboxGroup = component(mergedGroupConfig);\n\nconst mergedHeaderConfig = mergeConfig(comboboxHeaderConfig);\nexport const ComboboxHeader = component(mergedHeaderConfig);\n"],"names":["mergedConfig","mergeConfig","comboboxConfig","config","Combobox","component","mergedItemConfig","comboboxItemConfig","ComboboxItem","mergedDividerConfig","comboboxDividerConfig","ComboboxDivider","mergedFooterConfig","comboboxFooterConfig","ComboboxFooter","mergedGroupConfig","comboboxGroupConfig","ComboboxGroup","mergedHeaderConfig","comboboxHeaderConfig","ComboboxHeader"],"mappings":";;;;;;;AAaA,IAAMA,YAAY,gBAAGC,yBAAW,CAACC,4BAAc,EAAEC,sBAAM,CAAC,CAAA;IAC3CC,QAAQ,gBAAGC,uBAAS,CAACL,YAAY,EAAC;AAE/C,IAAMM,gBAAgB,gBAAGL,yBAAW,CAACM,gCAAkB,CAAC,CAAA;IAC3CC,YAAY,gBAAGH,uBAAS,CAACC,gBAAgB,EAAC;AAEvD,IAAMG,mBAAmB,gBAAGR,yBAAW,CAACS,mCAAqB,CAAC,CAAA;IACjDC,eAAe,gBAAGN,uBAAS,CAACI,mBAAmB,EAAC;AAE7D,IAAMG,kBAAkB,gBAAGX,yBAAW,CAACY,kCAAoB,CAAC,CAAA;IAC/CC,cAAc,gBAAGT,uBAAS,CAACO,kBAAkB,EAAC;AAE3D,IAAMG,iBAAiB,gBAAGd,yBAAW,CAACe,iCAAmB,CAAC,CAAA;IAC7CC,aAAa,gBAAGZ,uBAAS,CAACU,iBAAiB,EAAC;AAEzD,IAAMG,kBAAkB,gBAAGjB,yBAAW,CAACkB,kCAAoB,CAAC,CAAA;IAC/CC,cAAc,gBAAGf,uBAAS,CAACa,kBAAkB;;;;;;;;;"}
|
@@ -1,15 +1,15 @@
|
|
1
|
-
.
|
2
|
-
.
|
3
|
-
.
|
4
|
-
.
|
5
|
-
.
|
6
|
-
.
|
7
|
-
.
|
8
|
-
.
|
9
|
-
.
|
10
|
-
.
|
11
|
-
.
|
12
|
-
.
|
13
|
-
.
|
14
|
-
.
|
15
|
-
.
|
1
|
+
.HorizontalTabItem_config_xl402n_c1qbla27__fa6ac497{--plasma-tab-item-color:var(--text-secondary);--plasma-tab-item-background-color:transparent;--plasma-tab-item-color-hover:var(--text-secondary-hover);--plasma-tab-item-color-active:var(--text-secondary-active);--plasma-tab-item-background-color-hover:transparent;--plasma-tab-item-selected-color:var(--text-primary);--plasma-tab-item-selected-background-color:transparent;--plasma-tab-item-selected-color-hover:var(--text-primary);--plasma-tab-item-selected-background-color-hover:transparent;--plasma-tab-item-background-transition:background-color 0.3s ease-in-out;--plasma-tab-item-padding-clear:0;--plasma-tab-item-content-padding-clear:0;--plasma-tabs-outline-focus-color:var(--surface-accent);--plasma-tab-item-selected-divider-height:0rem;--plasma-tab-item-selected-divider-color:var(--text-primary);--plasma-tab-item-selected-hover-divider-color:var(--text-primary);--plasma-tab-item-additional-content-color:var(--text-tertiary);--plasma-tab-item-hover-additional-content-color:var(--text-secondary);--plasma-tab-item-selected-additional-content-color:var(--text-secondary);--plasma-tab-item-selected-hover-additional-content-color:var(--text-secondary);}
|
2
|
+
.HorizontalTabItem_config_xl402n_s1sazr3k__fa6ac497{--plasma-tab-item-color:var(--text-primary);--plasma-tab-item-background-color:transparent;--plasma-tab-item-color-hover:var(--text-secondary-hover);--plasma-tab-item-color-active:var(--text-secondary-active);--plasma-tab-item-background-color-hover:transparent;--plasma-tab-item-selected-color:var(--text-primary);--plasma-tab-item-selected-background-color:var(--surface-solid-card);--plasma-tab-item-selected-color-hover:var(--text-primary);--plasma-tab-item-selected-background-color-hover:var(--surface-solid-card);--plasma-tab-item-background-transition:background-color 0.3s ease-in-out;--plasma-tab-item-margin-left-filled:0.125rem;--plasma-tabs-outline-focus-color:var(--surface-accent);--plasma-tab-item-selected-divider-height:0rem;--plasma-tab-item-selected-divider-color:var(--text-primary);--plasma-tab-item-selected-hover-divider-color:var(--text-primary);--plasma-tab-item-additional-content-color:var(--text-secondary);--plasma-tab-item-hover-additional-content-color:var(--text-secondary);--plasma-tab-item-selected-additional-content-color:var(--text-secondary);--plasma-tab-item-selected-hover-additional-content-color:var(--text-secondary);}
|
3
|
+
.HorizontalTabItem_config_xl402n_d4t8mk9__fa6ac497{--plasma-tab-item-color:var(--text-secondary);--plasma-tab-item-background-color:transparent;--plasma-tab-item-color-hover:var(--text-secondary-hover);--plasma-tab-item-color-active:var(--text-secondary-active);--plasma-tab-item-background-color-hover:transparent;--plasma-tab-item-selected-color:var(--text-primary);--plasma-tab-item-selected-background-color:transparent;--plasma-tab-item-selected-color-hover:var(--text-primary);--plasma-tab-item-selected-background-color-hover:transparent;--plasma-tab-item-background-transition:background-color 0.3s ease-in-out;--plasma-tab-item-padding-clear:0;--plasma-tab-item-content-padding-clear:0;--plasma-tabs-outline-focus-color:var(--surface-accent);--plasma-tab-item-selected-divider-height:0.125rem;--plasma-tab-item-selected-divider-color:var(--text-primary);--plasma-tab-item-selected-hover-divider-color:var(--text-primary);--plasma-tab-item-additional-content-color:var(--text-tertiary);--plasma-tab-item-hover-additional-content-color:var(--text-secondary);--plasma-tab-item-selected-additional-content-color:var(--text-secondary);--plasma-tab-item-selected-hover-additional-content-color:var(--text-secondary);}
|
4
|
+
.HorizontalTabItem_config_xl402n_d1hrjiow__fa6ac497{--plasma-tab-item-color:var(--text-primary);--plasma-tab-item-background-color:transparent;--plasma-tab-item-color-hover:var(--text-secondary-hover);--plasma-tab-item-color-active:var(--text-secondary-active);--plasma-tab-item-background-color-hover:transparent;--plasma-tab-item-selected-color:var(--inverse-text-primary);--plasma-tab-item-selected-background-color:var(--surface-solid-default);--plasma-tab-item-selected-color-hover:var(--inverse-text-primary);--plasma-tab-item-selected-background-color-hover:var(--surface-solid-default);--plasma-tab-item-background-transition:background-color 0.3s ease-in-out;--plasma-tab-item-margin-left-filled:0.125rem;--plasma-tabs-outline-focus-color:var(--surface-accent);--plasma-tab-item-selected-divider-height:0rem;--plasma-tab-item-selected-divider-color:var(--text-primary);--plasma-tab-item-selected-hover-divider-color:var(--text-primary);--plasma-tab-item-additional-content-color:var(--text-secondary);--plasma-tab-item-hover-additional-content-color:var(--text-secondary);--plasma-tab-item-selected-additional-content-color:var(--inverse-text-secondary);--plasma-tab-item-selected-hover-additional-content-color:var(--inverse-text-secondary);}
|
5
|
+
.HorizontalTabItem_config_xl402n_x1539gzv__fa6ac497{--plasma-tab-item-border-radius:0.375rem;--plasma-tab-item-width:auto;--plasma-tab-item-height:2rem;--plasma-tab-item-padding:0 0.5rem;--plasma-tab-item-padding-pilled:0 0.375rem;--plasma-tab-item-margin-left:1.75rem;--plasma-tab-item-content-gap:0.25rem;--plasma-tab-item-content-padding:0.125rem;--plasma-tab-item-font-family:var(--plasma-typo-body-xs-font-family);--plasma-tab-item-font-size:var(--plasma-typo-body-xs-font-size);--plasma-tab-item-font-style:var(--plasma-typo-body-xs-font-style);--plasma-tab-item-font-weight:var(--plasma-typo-body-xs-font-weight);--plasma-tab-item-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);--plasma-tab-item-lineheight:var(--plasma-typo-body-xs-line-height);}
|
6
|
+
.HorizontalTabItem_config_xl402n_sikuk77__fa6ac497{--plasma-tab-item-border-radius:0.5rem;--plasma-tab-item-width:auto;--plasma-tab-item-height:2.5rem;--plasma-tab-item-padding:0 0.625rem;--plasma-tab-item-padding-pilled:0 0.5rem;--plasma-tab-item-margin-left:1.75rem;--plasma-tab-item-content-gap:0.25rem;--plasma-tab-item-content-padding:0.125rem;--plasma-tab-item-font-family:var(--plasma-typo-body-s-font-family);--plasma-tab-item-font-size:var(--plasma-typo-body-s-font-size);--plasma-tab-item-font-style:var(--plasma-typo-body-s-font-style);--plasma-tab-item-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-tab-item-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-tab-item-lineheight:var(--plasma-typo-body-s-line-height);}
|
7
|
+
.HorizontalTabItem_config_xl402n_mp3y2ao__fa6ac497{--plasma-tab-item-border-radius:0.625rem;--plasma-tab-item-width:auto;--plasma-tab-item-height:3rem;--plasma-tab-item-padding:0 0.625rem;--plasma-tab-item-padding-pilled:0 0.5rem;--plasma-tab-item-margin-left:1.75rem;--plasma-tab-item-content-gap:0.375rem;--plasma-tab-item-content-padding:0.125rem;--plasma-tab-item-font-family:var(--plasma-typo-body-m-font-family);--plasma-tab-item-font-size:var(--plasma-typo-body-m-font-size);--plasma-tab-item-font-style:var(--plasma-typo-body-m-font-style);--plasma-tab-item-font-weight:var(--plasma-typo-body-m-font-weight);--plasma-tab-item-letter-spacing:var(--plasma-typo-body-m-letter-spacing);--plasma-tab-item-lineheight:var(--plasma-typo-body-m-line-height);}
|
8
|
+
.HorizontalTabItem_config_xl402n_l1qh9jow__fa6ac497{--plasma-tab-item-border-radius:0.75rem;--plasma-tab-item-width:auto;--plasma-tab-item-height:3.5rem;--plasma-tab-item-padding:0 0.875rem;--plasma-tab-item-padding-pilled:0 0.75rem;--plasma-tab-item-margin-left:1.75rem;--plasma-tab-item-content-gap:0.5rem;--plasma-tab-item-content-padding:0.125rem;--plasma-tab-item-font-family:var(--plasma-typo-body-l-font-family);--plasma-tab-item-font-size:var(--plasma-typo-body-l-font-size);--plasma-tab-item-font-style:var(--plasma-typo-body-l-font-style);--plasma-tab-item-font-weight:var(--plasma-typo-body-l-font-weight);--plasma-tab-item-letter-spacing:var(--plasma-typo-body-l-letter-spacing);--plasma-tab-item-lineheight:var(--plasma-typo-body-l-line-height);}
|
9
|
+
.HorizontalTabItem_config_xl402n_h1s7gpc9__fa6ac497{--plasma-tab-item-border-radius:0.375rem;--plasma-tab-item-width:auto;--plasma-tab-item-height:3rem;--plasma-tab-item-padding:0rem;--plasma-tab-item-margin-left:1.75rem;--plasma-tab-item-content-gap:0.625rem;--plasma-tab-item-font-family:var(--plasma-typo-h5-font-family);--plasma-tab-item-font-size:var(--plasma-typo-h5-font-size);--plasma-tab-item-font-style:var(--plasma-typo-h5-font-style);--plasma-tab-item-font-weight:var(--plasma-typo-h5-font-weight);--plasma-tab-item-letter-spacing:var(--plasma-typo-h5-letter-spacing);--plasma-tab-item-lineheight:var(--plasma-typo-h5-line-height);}
|
10
|
+
.HorizontalTabItem_config_xl402n_h13wvabz__fa6ac497{--plasma-tab-item-border-radius:0.375rem;--plasma-tab-item-width:auto;--plasma-tab-item-height:3.25rem;--plasma-tab-item-padding:0rem;--plasma-tab-item-margin-left:2rem;--plasma-tab-item-content-gap:0.625rem;--plasma-tab-item-font-family:var(--plasma-typo-h4-font-family);--plasma-tab-item-font-size:var(--plasma-typo-h4-font-size);--plasma-tab-item-font-style:var(--plasma-typo-h4-font-style);--plasma-tab-item-font-weight:var(--plasma-typo-h4-font-weight);--plasma-tab-item-letter-spacing:var(--plasma-typo-h4-letter-spacing);--plasma-tab-item-lineheight:var(--plasma-typo-h4-line-height);}
|
11
|
+
.HorizontalTabItem_config_xl402n_h1gxsxyj__fa6ac497{--plasma-tab-item-border-radius:0.5rem;--plasma-tab-item-width:auto;--plasma-tab-item-height:3.875rem;--plasma-tab-item-padding:0rem;--plasma-tab-item-margin-left:2.25rem;--plasma-tab-item-content-gap:0.75rem;--plasma-tab-item-font-family:var(--plasma-typo-h3-font-family);--plasma-tab-item-font-size:var(--plasma-typo-h3-font-size);--plasma-tab-item-font-style:var(--plasma-typo-h3-font-style);--plasma-tab-item-font-weight:var(--plasma-typo-h3-font-weight);--plasma-tab-item-letter-spacing:var(--plasma-typo-h3-letter-spacing);--plasma-tab-item-lineheight:var(--plasma-typo-h3-line-height);}
|
12
|
+
.HorizontalTabItem_config_xl402n_hv3zmfq__fa6ac497{--plasma-tab-item-border-radius:0.625rem;--plasma-tab-item-width:auto;--plasma-tab-item-height:4.5rem;--plasma-tab-item-padding:0rem;--plasma-tab-item-margin-left:2.5rem;--plasma-tab-item-content-gap:1rem;--plasma-tab-item-font-family:var(--plasma-typo-h2-font-family);--plasma-tab-item-font-size:var(--plasma-typo-h2-font-size);--plasma-tab-item-font-style:var(--plasma-typo-h2-font-style);--plasma-tab-item-font-weight:var(--plasma-typo-h2-font-weight);--plasma-tab-item-letter-spacing:var(--plasma-typo-h2-letter-spacing);--plasma-tab-item-lineheight:var(--plasma-typo-h2-line-height);}
|
13
|
+
.HorizontalTabItem_config_xl402n_hwisn6u__fa6ac497{--plasma-tab-item-border-radius:0.75rem;--plasma-tab-item-width:auto;--plasma-tab-item-height:5.75rem;--plasma-tab-item-padding:0rem;--plasma-tab-item-margin-left:3.5rem;--plasma-tab-item-content-gap:0.5rem;--plasma-tab-item-font-family:var(--plasma-typo-h1-font-family);--plasma-tab-item-font-size:var(--plasma-typo-h1-font-size);--plasma-tab-item-font-style:var(--plasma-typo-h1-font-style);--plasma-tab-item-font-weight:var(--plasma-typo-h1-font-weight);--plasma-tab-item-letter-spacing:var(--plasma-typo-h1-letter-spacing);--plasma-tab-item-lineheight:var(--plasma-typo-h1-line-height);}
|
14
|
+
.HorizontalTabItem_config_xl402n_t19ews1g__fa6ac497{--plasma-tabs-disabled-opacity:0.4;}
|
15
|
+
.HorizontalTabItem_config_xl402n_tosxbtd__fa6ac497{--plasma-tab-item-pilled-border-radius:1.5rem;}
|
@@ -2,15 +2,30 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
+
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
6
|
+
var React = require('react');
|
5
7
|
var plasmaNewHope = require('@salutejs/plasma-new-hope');
|
6
|
-
var
|
8
|
+
var HorizontalTabItem_config = require('./horizontal/HorizontalTabItem.config.js');
|
7
9
|
|
8
|
-
var
|
10
|
+
var _div;
|
11
|
+
var _excluded = ["orientation"];
|
12
|
+
var mergedHorizontalTabItemConfig = /*#__PURE__*/plasmaNewHope.mergeConfig(plasmaNewHope.horizontalTabItemConfig, HorizontalTabItem_config.config);
|
13
|
+
var HorizontalTabItem = /*#__PURE__*/plasmaNewHope.component(mergedHorizontalTabItemConfig);
|
9
14
|
|
10
15
|
/**
|
11
16
|
* Элемент списка, недопустимо использовать вне компонента Tabs.
|
12
17
|
*/
|
13
|
-
var TabItem =
|
18
|
+
var TabItem = function TabItem(_ref) {
|
19
|
+
var _ref$orientation = _ref.orientation,
|
20
|
+
orientation = _ref$orientation === void 0 ? 'horizontal' : _ref$orientation,
|
21
|
+
rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
22
|
+
if (orientation === 'vertical') {
|
23
|
+
return _div || (_div = /*#__PURE__*/React.createElement("div", null, "to be implemented"));
|
24
|
+
}
|
25
|
+
return /*#__PURE__*/React.createElement(HorizontalTabItem, _rollupPluginBabelHelpers.extends({
|
26
|
+
orientation: orientation
|
27
|
+
}, rest));
|
28
|
+
};
|
14
29
|
|
15
30
|
exports.TabItem = TabItem;
|
16
31
|
//# sourceMappingURL=TabItem.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TabItem.js","sources":["../../../../src-css/components/Tabs/TabItem.tsx"],"sourcesContent":["import
|
1
|
+
{"version":3,"file":"TabItem.js","sources":["../../../../src-css/components/Tabs/TabItem.tsx"],"sourcesContent":["import React from 'react';\nimport {\n horizontalTabItemConfig,\n component,\n mergeConfig,\n TabItemProps,\n} from '@salutejs/plasma-new-hope';\n\nimport { config } from './horizontal/HorizontalTabItem.config';\n\nconst mergedHorizontalTabItemConfig = mergeConfig(horizontalTabItemConfig, config);\nconst HorizontalTabItem = component(mergedHorizontalTabItemConfig);\n\n/**\n * Элемент списка, недопустимо использовать вне компонента Tabs.\n */\nexport const TabItem = ({ orientation = 'horizontal', ...rest }: TabItemProps) => {\n if (orientation === 'vertical') {\n return <div>to be implemented</div>;\n }\n\n return <HorizontalTabItem orientation={orientation} {...rest} />;\n};\n"],"names":["mergedHorizontalTabItemConfig","mergeConfig","horizontalTabItemConfig","config","HorizontalTabItem","component","TabItem","_ref","_ref$orientation","orientation","rest","_objectWithoutProperties","_excluded","_div","React","createElement","_extends"],"mappings":";;;;;;;;;;;AAUA,IAAMA,6BAA6B,gBAAGC,yBAAW,CAACC,qCAAuB,EAAEC,+BAAM,CAAC,CAAA;AAClF,IAAMC,iBAAiB,gBAAGC,uBAAS,CAACL,6BAA6B,CAAC,CAAA;;AAElE;AACA;AACA;IACaM,OAAO,GAAG,SAAVA,OAAOA,CAAAC,IAAA,EAA8D;AAAA,EAAA,IAAAC,gBAAA,GAAAD,IAAA,CAAxDE,WAAW;AAAXA,IAAAA,WAAW,GAAAD,gBAAA,KAAG,KAAA,CAAA,GAAA,YAAY,GAAAA,gBAAA;AAAKE,IAAAA,IAAI,GAAAC,iDAAA,CAAAJ,IAAA,EAAAK,SAAA,CAAA,CAAA;EACzD,IAAIH,WAAW,KAAK,UAAU,EAAE;IAC5B,OAAAI,IAAA,KAAAA,IAAA,gBAAOC,KAAA,CAAAC,aAAA,CAAK,KAAA,EAAA,IAAA,EAAA,mBAAsB,CAAC,CAAA,CAAA;AACvC,GAAA;AAEA,EAAA,oBAAOD,KAAA,CAAAC,aAAA,CAACX,iBAAiB,EAAAY,iCAAA,CAAA;AAACP,IAAAA,WAAW,EAAEA,WAAAA;GAAiBC,EAAAA,IAAI,CAAG,CAAC,CAAA;AACpE;;;;"}
|
@@ -1,15 +1,15 @@
|
|
1
|
-
.
|
2
|
-
.
|
3
|
-
.
|
4
|
-
.
|
5
|
-
.
|
6
|
-
.
|
7
|
-
.
|
8
|
-
.
|
9
|
-
.
|
10
|
-
.
|
11
|
-
.
|
12
|
-
.
|
13
|
-
.
|
14
|
-
.
|
15
|
-
.
|
1
|
+
.HorizontalTabs_config_17bycx2_csmhmdi__c5e37b1d{--plasma-tabs-arrow-color:var(--text-secondary);--plasma-tabs-background-color:transparent;--plasma-tabs-outline-focus-color:var(--surface-accent);--plasma-tabs-divider-height:0rem;--plasma-tabs-divider-color:transparent;--plasma-tabs-divider-border-radius:0rem;}
|
2
|
+
.HorizontalTabs_config_17bycx2_f1axjhin__c5e37b1d{--plasma-tabs-arrow-color:var(--text-secondary);--plasma-tabs-background-color:var(--surface-transparent-primary);--plasma-tabs-outline-focus-color:var(--surface-accent);--plasma-tabs-divider-height:0rem;--plasma-tabs-divider-color:transparent;--plasma-tabs-divider-border-radius:0rem;}
|
3
|
+
.HorizontalTabs_config_17bycx2_d1th7ubw__c5e37b1d{--plasma-tabs-arrow-color:var(--text-secondary);--plasma-tabs-background-color:transparent;--plasma-tabs-outline-focus-color:var(--surface-accent);--plasma-tabs-divider-height:0.0625rem;--plasma-tabs-divider-color:var(--surface-transparent-tertiary);--plasma-tabs-divider-border-radius:0.0625rem;}
|
4
|
+
.HorizontalTabs_config_17bycx2_x1y5cvvr__c5e37b1d{--plasma-tabs-border-radius:0.5rem;--plasma-tabs-width:fit-content;--plasma-tabs-height:auto;--plasma-tab-arrow-inner-padding:0rem;--plasma-tab-arrow-outer-padding:0.125rem;}
|
5
|
+
.HorizontalTabs_config_17bycx2_s1sxebyk__c5e37b1d{--plasma-tabs-border-radius:0.625rem;--plasma-tabs-width:fit-content;--plasma-tabs-height:auto;--plasma-tab-arrow-inner-padding:0rem;--plasma-tab-arrow-outer-padding:0.25rem;}
|
6
|
+
.HorizontalTabs_config_17bycx2_m1npg82v__c5e37b1d{--plasma-tabs-border-radius:0.75rem;--plasma-tabs-width:fit-content;--plasma-tabs-height:auto;--plasma-tab-arrow-inner-padding:0rem;--plasma-tab-arrow-outer-padding:0.625rem;}
|
7
|
+
.HorizontalTabs_config_17bycx2_l7r3i4__c5e37b1d{--plasma-tabs-border-radius:0.75rem;--plasma-tabs-width:fit-content;--plasma-tabs-height:auto;--plasma-tab-arrow-inner-padding:0rem;--plasma-tab-arrow-outer-padding:0.75rem;}
|
8
|
+
.HorizontalTabs_config_17bycx2_h1tc6k6h__c5e37b1d{--plasma-tabs-border-radius:0.5rem;--plasma-tabs-width:fit-content;--plasma-tabs-height:auto;--plasma-tab-arrow-inner-padding:0.25rem;--plasma-tab-arrow-outer-padding:0rem;}
|
9
|
+
.HorizontalTabs_config_17bycx2_h1yxijj0__c5e37b1d{--plasma-tabs-border-radius:0.5rem;--plasma-tabs-width:fit-content;--plasma-tabs-height:auto;--plasma-tab-arrow-inner-padding:0.25rem;--plasma-tab-arrow-outer-padding:0rem;}
|
10
|
+
.HorizontalTabs_config_17bycx2_hgyid10__c5e37b1d{--plasma-tabs-border-radius:0.625rem;--plasma-tabs-width:fit-content;--plasma-tabs-height:auto;--plasma-tab-arrow-inner-padding:0.375rem;--plasma-tab-arrow-outer-padding:0rem;}
|
11
|
+
.HorizontalTabs_config_17bycx2_hdcoiol__c5e37b1d{--plasma-tabs-border-radius:0.75rem;--plasma-tabs-width:fit-content;--plasma-tabs-height:auto;--plasma-tab-arrow-inner-padding:0.5rem;--plasma-tab-arrow-outer-padding:0rem;}
|
12
|
+
.HorizontalTabs_config_17bycx2_h9rmvuc__c5e37b1d{--plasma-tabs-border-radius:0.75rem;--plasma-tabs-width:fit-content;--plasma-tabs-height:auto;--plasma-tab-arrow-inner-padding:1rem;--plasma-tab-arrow-outer-padding:0rem;}
|
13
|
+
.HorizontalTabs_config_17bycx2_tyx4id5__c5e37b1d{--plasma-tabs-container-width:100%;}
|
14
|
+
.HorizontalTabs_config_17bycx2_tp7ddhx__c5e37b1d{--plasma-tabs-disabled-opacity:0.4;}
|
15
|
+
.HorizontalTabs_config_17bycx2_tr3t05m__c5e37b1d{--plasma-tabs-pilled-border-radius:1.625rem;}
|
@@ -2,14 +2,29 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
+
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
6
|
+
var React = require('react');
|
5
7
|
var plasmaNewHope = require('@salutejs/plasma-new-hope');
|
6
|
-
var
|
8
|
+
var HorizontalTabs_config = require('./horizontal/HorizontalTabs.config.js');
|
9
|
+
|
10
|
+
var _div;
|
11
|
+
var _excluded = ["orientation"];
|
12
|
+
var mergedHorizontalTabsConfig = /*#__PURE__*/plasmaNewHope.mergeConfig(plasmaNewHope.horizontalTabsConfig, HorizontalTabs_config.config);
|
13
|
+
var HorizontalTabs = /*#__PURE__*/plasmaNewHope.component(mergedHorizontalTabsConfig);
|
7
14
|
|
8
|
-
var mergedConfig = /*#__PURE__*/plasmaNewHope.mergeConfig(plasmaNewHope.tabsConfig, Tabs_config.config);
|
9
15
|
/**
|
10
16
|
* Контейнер вкладок, основной компонент для пользовательской сборки вкладок.
|
11
17
|
*/
|
12
|
-
var Tabs =
|
18
|
+
var Tabs = function Tabs(_ref) {
|
19
|
+
var orientation = _ref.orientation,
|
20
|
+
rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
21
|
+
if (orientation === 'vertical') {
|
22
|
+
return _div || (_div = /*#__PURE__*/React.createElement("div", null, "to be implemented"));
|
23
|
+
}
|
24
|
+
return /*#__PURE__*/React.createElement(HorizontalTabs, _rollupPluginBabelHelpers.extends({
|
25
|
+
orientation: orientation
|
26
|
+
}, rest));
|
27
|
+
};
|
13
28
|
|
14
29
|
exports.Tabs = Tabs;
|
15
30
|
//# sourceMappingURL=Tabs.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Tabs.js","sources":["../../../../src-css/components/Tabs/Tabs.tsx"],"sourcesContent":["import {
|
1
|
+
{"version":3,"file":"Tabs.js","sources":["../../../../src-css/components/Tabs/Tabs.tsx"],"sourcesContent":["import React from 'react';\nimport { horizontalTabsConfig, component, mergeConfig, TabsProps } from '@salutejs/plasma-new-hope';\n\nimport { config } from './horizontal/HorizontalTabs.config';\n\nconst mergedHorizontalTabsConfig = mergeConfig(horizontalTabsConfig, config);\n\nconst HorizontalTabs = component(mergedHorizontalTabsConfig);\n\n/**\n * Контейнер вкладок, основной компонент для пользовательской сборки вкладок.\n */\nexport const Tabs = ({ orientation, ...rest }: TabsProps) => {\n if (orientation === 'vertical') {\n return <div>to be implemented</div>;\n }\n\n return <HorizontalTabs orientation={orientation} {...rest} />;\n};\n"],"names":["mergedHorizontalTabsConfig","mergeConfig","horizontalTabsConfig","config","HorizontalTabs","component","Tabs","_ref","orientation","rest","_objectWithoutProperties","_excluded","_div","React","createElement","_extends"],"mappings":";;;;;;;;;;;AAKA,IAAMA,0BAA0B,gBAAGC,yBAAW,CAACC,kCAAoB,EAAEC,4BAAM,CAAC,CAAA;AAE5E,IAAMC,cAAc,gBAAGC,uBAAS,CAACL,0BAA0B,CAAC,CAAA;;AAE5D;AACA;AACA;IACaM,IAAI,GAAG,SAAPA,IAAIA,CAAAC,IAAA,EAA4C;AAAA,EAAA,IAAtCC,WAAW,GAAAD,IAAA,CAAXC,WAAW;AAAKC,IAAAA,IAAI,GAAAC,iDAAA,CAAAH,IAAA,EAAAI,SAAA,CAAA,CAAA;EACvC,IAAIH,WAAW,KAAK,UAAU,EAAE;IAC5B,OAAAI,IAAA,KAAAA,IAAA,gBAAOC,KAAA,CAAAC,aAAA,CAAK,KAAA,EAAA,IAAA,EAAA,mBAAsB,CAAC,CAAA,CAAA;AACvC,GAAA;AAEA,EAAA,oBAAOD,KAAA,CAAAC,aAAA,CAACV,cAAc,EAAAW,iCAAA,CAAA;AAACP,IAAAA,WAAW,EAAEA,WAAAA;GAAiBC,EAAAA,IAAI,CAAG,CAAC,CAAA;AACjE;;;;"}
|
@@ -1,31 +1,31 @@
|
|
1
|
-
.
|
2
|
-
.
|
3
|
-
.
|
4
|
-
.
|
5
|
-
.
|
6
|
-
.
|
7
|
-
.
|
8
|
-
.
|
9
|
-
.
|
10
|
-
.
|
11
|
-
.
|
12
|
-
.
|
13
|
-
.
|
14
|
-
.
|
15
|
-
.
|
1
|
+
.HorizontalTabs_config_17bycx2_csmhmdi__c5e37b1d{--plasma-tabs-arrow-color:var(--text-secondary);--plasma-tabs-background-color:transparent;--plasma-tabs-outline-focus-color:var(--surface-accent);--plasma-tabs-divider-height:0rem;--plasma-tabs-divider-color:transparent;--plasma-tabs-divider-border-radius:0rem;}
|
2
|
+
.HorizontalTabs_config_17bycx2_f1axjhin__c5e37b1d{--plasma-tabs-arrow-color:var(--text-secondary);--plasma-tabs-background-color:var(--surface-transparent-primary);--plasma-tabs-outline-focus-color:var(--surface-accent);--plasma-tabs-divider-height:0rem;--plasma-tabs-divider-color:transparent;--plasma-tabs-divider-border-radius:0rem;}
|
3
|
+
.HorizontalTabs_config_17bycx2_d1th7ubw__c5e37b1d{--plasma-tabs-arrow-color:var(--text-secondary);--plasma-tabs-background-color:transparent;--plasma-tabs-outline-focus-color:var(--surface-accent);--plasma-tabs-divider-height:0.0625rem;--plasma-tabs-divider-color:var(--surface-transparent-tertiary);--plasma-tabs-divider-border-radius:0.0625rem;}
|
4
|
+
.HorizontalTabs_config_17bycx2_x1y5cvvr__c5e37b1d{--plasma-tabs-border-radius:0.5rem;--plasma-tabs-width:fit-content;--plasma-tabs-height:auto;--plasma-tab-arrow-inner-padding:0rem;--plasma-tab-arrow-outer-padding:0.125rem;}
|
5
|
+
.HorizontalTabs_config_17bycx2_s1sxebyk__c5e37b1d{--plasma-tabs-border-radius:0.625rem;--plasma-tabs-width:fit-content;--plasma-tabs-height:auto;--plasma-tab-arrow-inner-padding:0rem;--plasma-tab-arrow-outer-padding:0.25rem;}
|
6
|
+
.HorizontalTabs_config_17bycx2_m1npg82v__c5e37b1d{--plasma-tabs-border-radius:0.75rem;--plasma-tabs-width:fit-content;--plasma-tabs-height:auto;--plasma-tab-arrow-inner-padding:0rem;--plasma-tab-arrow-outer-padding:0.625rem;}
|
7
|
+
.HorizontalTabs_config_17bycx2_l7r3i4__c5e37b1d{--plasma-tabs-border-radius:0.75rem;--plasma-tabs-width:fit-content;--plasma-tabs-height:auto;--plasma-tab-arrow-inner-padding:0rem;--plasma-tab-arrow-outer-padding:0.75rem;}
|
8
|
+
.HorizontalTabs_config_17bycx2_h1tc6k6h__c5e37b1d{--plasma-tabs-border-radius:0.5rem;--plasma-tabs-width:fit-content;--plasma-tabs-height:auto;--plasma-tab-arrow-inner-padding:0.25rem;--plasma-tab-arrow-outer-padding:0rem;}
|
9
|
+
.HorizontalTabs_config_17bycx2_h1yxijj0__c5e37b1d{--plasma-tabs-border-radius:0.5rem;--plasma-tabs-width:fit-content;--plasma-tabs-height:auto;--plasma-tab-arrow-inner-padding:0.25rem;--plasma-tab-arrow-outer-padding:0rem;}
|
10
|
+
.HorizontalTabs_config_17bycx2_hgyid10__c5e37b1d{--plasma-tabs-border-radius:0.625rem;--plasma-tabs-width:fit-content;--plasma-tabs-height:auto;--plasma-tab-arrow-inner-padding:0.375rem;--plasma-tab-arrow-outer-padding:0rem;}
|
11
|
+
.HorizontalTabs_config_17bycx2_hdcoiol__c5e37b1d{--plasma-tabs-border-radius:0.75rem;--plasma-tabs-width:fit-content;--plasma-tabs-height:auto;--plasma-tab-arrow-inner-padding:0.5rem;--plasma-tab-arrow-outer-padding:0rem;}
|
12
|
+
.HorizontalTabs_config_17bycx2_h9rmvuc__c5e37b1d{--plasma-tabs-border-radius:0.75rem;--plasma-tabs-width:fit-content;--plasma-tabs-height:auto;--plasma-tab-arrow-inner-padding:1rem;--plasma-tab-arrow-outer-padding:0rem;}
|
13
|
+
.HorizontalTabs_config_17bycx2_tyx4id5__c5e37b1d{--plasma-tabs-container-width:100%;}
|
14
|
+
.HorizontalTabs_config_17bycx2_tp7ddhx__c5e37b1d{--plasma-tabs-disabled-opacity:0.4;}
|
15
|
+
.HorizontalTabs_config_17bycx2_tr3t05m__c5e37b1d{--plasma-tabs-pilled-border-radius:1.625rem;}
|
16
16
|
|
17
|
-
.
|
18
|
-
.
|
19
|
-
.
|
20
|
-
.
|
21
|
-
.
|
22
|
-
.
|
23
|
-
.
|
24
|
-
.
|
25
|
-
.
|
26
|
-
.
|
27
|
-
.
|
28
|
-
.
|
29
|
-
.
|
30
|
-
.
|
31
|
-
.
|
17
|
+
.HorizontalTabItem_config_xl402n_c1qbla27__fa6ac497{--plasma-tab-item-color:var(--text-secondary);--plasma-tab-item-background-color:transparent;--plasma-tab-item-color-hover:var(--text-secondary-hover);--plasma-tab-item-color-active:var(--text-secondary-active);--plasma-tab-item-background-color-hover:transparent;--plasma-tab-item-selected-color:var(--text-primary);--plasma-tab-item-selected-background-color:transparent;--plasma-tab-item-selected-color-hover:var(--text-primary);--plasma-tab-item-selected-background-color-hover:transparent;--plasma-tab-item-background-transition:background-color 0.3s ease-in-out;--plasma-tab-item-padding-clear:0;--plasma-tab-item-content-padding-clear:0;--plasma-tabs-outline-focus-color:var(--surface-accent);--plasma-tab-item-selected-divider-height:0rem;--plasma-tab-item-selected-divider-color:var(--text-primary);--plasma-tab-item-selected-hover-divider-color:var(--text-primary);--plasma-tab-item-additional-content-color:var(--text-tertiary);--plasma-tab-item-hover-additional-content-color:var(--text-secondary);--plasma-tab-item-selected-additional-content-color:var(--text-secondary);--plasma-tab-item-selected-hover-additional-content-color:var(--text-secondary);}
|
18
|
+
.HorizontalTabItem_config_xl402n_s1sazr3k__fa6ac497{--plasma-tab-item-color:var(--text-primary);--plasma-tab-item-background-color:transparent;--plasma-tab-item-color-hover:var(--text-secondary-hover);--plasma-tab-item-color-active:var(--text-secondary-active);--plasma-tab-item-background-color-hover:transparent;--plasma-tab-item-selected-color:var(--text-primary);--plasma-tab-item-selected-background-color:var(--surface-solid-card);--plasma-tab-item-selected-color-hover:var(--text-primary);--plasma-tab-item-selected-background-color-hover:var(--surface-solid-card);--plasma-tab-item-background-transition:background-color 0.3s ease-in-out;--plasma-tab-item-margin-left-filled:0.125rem;--plasma-tabs-outline-focus-color:var(--surface-accent);--plasma-tab-item-selected-divider-height:0rem;--plasma-tab-item-selected-divider-color:var(--text-primary);--plasma-tab-item-selected-hover-divider-color:var(--text-primary);--plasma-tab-item-additional-content-color:var(--text-secondary);--plasma-tab-item-hover-additional-content-color:var(--text-secondary);--plasma-tab-item-selected-additional-content-color:var(--text-secondary);--plasma-tab-item-selected-hover-additional-content-color:var(--text-secondary);}
|
19
|
+
.HorizontalTabItem_config_xl402n_d4t8mk9__fa6ac497{--plasma-tab-item-color:var(--text-secondary);--plasma-tab-item-background-color:transparent;--plasma-tab-item-color-hover:var(--text-secondary-hover);--plasma-tab-item-color-active:var(--text-secondary-active);--plasma-tab-item-background-color-hover:transparent;--plasma-tab-item-selected-color:var(--text-primary);--plasma-tab-item-selected-background-color:transparent;--plasma-tab-item-selected-color-hover:var(--text-primary);--plasma-tab-item-selected-background-color-hover:transparent;--plasma-tab-item-background-transition:background-color 0.3s ease-in-out;--plasma-tab-item-padding-clear:0;--plasma-tab-item-content-padding-clear:0;--plasma-tabs-outline-focus-color:var(--surface-accent);--plasma-tab-item-selected-divider-height:0.125rem;--plasma-tab-item-selected-divider-color:var(--text-primary);--plasma-tab-item-selected-hover-divider-color:var(--text-primary);--plasma-tab-item-additional-content-color:var(--text-tertiary);--plasma-tab-item-hover-additional-content-color:var(--text-secondary);--plasma-tab-item-selected-additional-content-color:var(--text-secondary);--plasma-tab-item-selected-hover-additional-content-color:var(--text-secondary);}
|
20
|
+
.HorizontalTabItem_config_xl402n_d1hrjiow__fa6ac497{--plasma-tab-item-color:var(--text-primary);--plasma-tab-item-background-color:transparent;--plasma-tab-item-color-hover:var(--text-secondary-hover);--plasma-tab-item-color-active:var(--text-secondary-active);--plasma-tab-item-background-color-hover:transparent;--plasma-tab-item-selected-color:var(--inverse-text-primary);--plasma-tab-item-selected-background-color:var(--surface-solid-default);--plasma-tab-item-selected-color-hover:var(--inverse-text-primary);--plasma-tab-item-selected-background-color-hover:var(--surface-solid-default);--plasma-tab-item-background-transition:background-color 0.3s ease-in-out;--plasma-tab-item-margin-left-filled:0.125rem;--plasma-tabs-outline-focus-color:var(--surface-accent);--plasma-tab-item-selected-divider-height:0rem;--plasma-tab-item-selected-divider-color:var(--text-primary);--plasma-tab-item-selected-hover-divider-color:var(--text-primary);--plasma-tab-item-additional-content-color:var(--text-secondary);--plasma-tab-item-hover-additional-content-color:var(--text-secondary);--plasma-tab-item-selected-additional-content-color:var(--inverse-text-secondary);--plasma-tab-item-selected-hover-additional-content-color:var(--inverse-text-secondary);}
|
21
|
+
.HorizontalTabItem_config_xl402n_x1539gzv__fa6ac497{--plasma-tab-item-border-radius:0.375rem;--plasma-tab-item-width:auto;--plasma-tab-item-height:2rem;--plasma-tab-item-padding:0 0.5rem;--plasma-tab-item-padding-pilled:0 0.375rem;--plasma-tab-item-margin-left:1.75rem;--plasma-tab-item-content-gap:0.25rem;--plasma-tab-item-content-padding:0.125rem;--plasma-tab-item-font-family:var(--plasma-typo-body-xs-font-family);--plasma-tab-item-font-size:var(--plasma-typo-body-xs-font-size);--plasma-tab-item-font-style:var(--plasma-typo-body-xs-font-style);--plasma-tab-item-font-weight:var(--plasma-typo-body-xs-font-weight);--plasma-tab-item-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);--plasma-tab-item-lineheight:var(--plasma-typo-body-xs-line-height);}
|
22
|
+
.HorizontalTabItem_config_xl402n_sikuk77__fa6ac497{--plasma-tab-item-border-radius:0.5rem;--plasma-tab-item-width:auto;--plasma-tab-item-height:2.5rem;--plasma-tab-item-padding:0 0.625rem;--plasma-tab-item-padding-pilled:0 0.5rem;--plasma-tab-item-margin-left:1.75rem;--plasma-tab-item-content-gap:0.25rem;--plasma-tab-item-content-padding:0.125rem;--plasma-tab-item-font-family:var(--plasma-typo-body-s-font-family);--plasma-tab-item-font-size:var(--plasma-typo-body-s-font-size);--plasma-tab-item-font-style:var(--plasma-typo-body-s-font-style);--plasma-tab-item-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-tab-item-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-tab-item-lineheight:var(--plasma-typo-body-s-line-height);}
|
23
|
+
.HorizontalTabItem_config_xl402n_mp3y2ao__fa6ac497{--plasma-tab-item-border-radius:0.625rem;--plasma-tab-item-width:auto;--plasma-tab-item-height:3rem;--plasma-tab-item-padding:0 0.625rem;--plasma-tab-item-padding-pilled:0 0.5rem;--plasma-tab-item-margin-left:1.75rem;--plasma-tab-item-content-gap:0.375rem;--plasma-tab-item-content-padding:0.125rem;--plasma-tab-item-font-family:var(--plasma-typo-body-m-font-family);--plasma-tab-item-font-size:var(--plasma-typo-body-m-font-size);--plasma-tab-item-font-style:var(--plasma-typo-body-m-font-style);--plasma-tab-item-font-weight:var(--plasma-typo-body-m-font-weight);--plasma-tab-item-letter-spacing:var(--plasma-typo-body-m-letter-spacing);--plasma-tab-item-lineheight:var(--plasma-typo-body-m-line-height);}
|
24
|
+
.HorizontalTabItem_config_xl402n_l1qh9jow__fa6ac497{--plasma-tab-item-border-radius:0.75rem;--plasma-tab-item-width:auto;--plasma-tab-item-height:3.5rem;--plasma-tab-item-padding:0 0.875rem;--plasma-tab-item-padding-pilled:0 0.75rem;--plasma-tab-item-margin-left:1.75rem;--plasma-tab-item-content-gap:0.5rem;--plasma-tab-item-content-padding:0.125rem;--plasma-tab-item-font-family:var(--plasma-typo-body-l-font-family);--plasma-tab-item-font-size:var(--plasma-typo-body-l-font-size);--plasma-tab-item-font-style:var(--plasma-typo-body-l-font-style);--plasma-tab-item-font-weight:var(--plasma-typo-body-l-font-weight);--plasma-tab-item-letter-spacing:var(--plasma-typo-body-l-letter-spacing);--plasma-tab-item-lineheight:var(--plasma-typo-body-l-line-height);}
|
25
|
+
.HorizontalTabItem_config_xl402n_h1s7gpc9__fa6ac497{--plasma-tab-item-border-radius:0.375rem;--plasma-tab-item-width:auto;--plasma-tab-item-height:3rem;--plasma-tab-item-padding:0rem;--plasma-tab-item-margin-left:1.75rem;--plasma-tab-item-content-gap:0.625rem;--plasma-tab-item-font-family:var(--plasma-typo-h5-font-family);--plasma-tab-item-font-size:var(--plasma-typo-h5-font-size);--plasma-tab-item-font-style:var(--plasma-typo-h5-font-style);--plasma-tab-item-font-weight:var(--plasma-typo-h5-font-weight);--plasma-tab-item-letter-spacing:var(--plasma-typo-h5-letter-spacing);--plasma-tab-item-lineheight:var(--plasma-typo-h5-line-height);}
|
26
|
+
.HorizontalTabItem_config_xl402n_h13wvabz__fa6ac497{--plasma-tab-item-border-radius:0.375rem;--plasma-tab-item-width:auto;--plasma-tab-item-height:3.25rem;--plasma-tab-item-padding:0rem;--plasma-tab-item-margin-left:2rem;--plasma-tab-item-content-gap:0.625rem;--plasma-tab-item-font-family:var(--plasma-typo-h4-font-family);--plasma-tab-item-font-size:var(--plasma-typo-h4-font-size);--plasma-tab-item-font-style:var(--plasma-typo-h4-font-style);--plasma-tab-item-font-weight:var(--plasma-typo-h4-font-weight);--plasma-tab-item-letter-spacing:var(--plasma-typo-h4-letter-spacing);--plasma-tab-item-lineheight:var(--plasma-typo-h4-line-height);}
|
27
|
+
.HorizontalTabItem_config_xl402n_h1gxsxyj__fa6ac497{--plasma-tab-item-border-radius:0.5rem;--plasma-tab-item-width:auto;--plasma-tab-item-height:3.875rem;--plasma-tab-item-padding:0rem;--plasma-tab-item-margin-left:2.25rem;--plasma-tab-item-content-gap:0.75rem;--plasma-tab-item-font-family:var(--plasma-typo-h3-font-family);--plasma-tab-item-font-size:var(--plasma-typo-h3-font-size);--plasma-tab-item-font-style:var(--plasma-typo-h3-font-style);--plasma-tab-item-font-weight:var(--plasma-typo-h3-font-weight);--plasma-tab-item-letter-spacing:var(--plasma-typo-h3-letter-spacing);--plasma-tab-item-lineheight:var(--plasma-typo-h3-line-height);}
|
28
|
+
.HorizontalTabItem_config_xl402n_hv3zmfq__fa6ac497{--plasma-tab-item-border-radius:0.625rem;--plasma-tab-item-width:auto;--plasma-tab-item-height:4.5rem;--plasma-tab-item-padding:0rem;--plasma-tab-item-margin-left:2.5rem;--plasma-tab-item-content-gap:1rem;--plasma-tab-item-font-family:var(--plasma-typo-h2-font-family);--plasma-tab-item-font-size:var(--plasma-typo-h2-font-size);--plasma-tab-item-font-style:var(--plasma-typo-h2-font-style);--plasma-tab-item-font-weight:var(--plasma-typo-h2-font-weight);--plasma-tab-item-letter-spacing:var(--plasma-typo-h2-letter-spacing);--plasma-tab-item-lineheight:var(--plasma-typo-h2-line-height);}
|
29
|
+
.HorizontalTabItem_config_xl402n_hwisn6u__fa6ac497{--plasma-tab-item-border-radius:0.75rem;--plasma-tab-item-width:auto;--plasma-tab-item-height:5.75rem;--plasma-tab-item-padding:0rem;--plasma-tab-item-margin-left:3.5rem;--plasma-tab-item-content-gap:0.5rem;--plasma-tab-item-font-family:var(--plasma-typo-h1-font-family);--plasma-tab-item-font-size:var(--plasma-typo-h1-font-size);--plasma-tab-item-font-style:var(--plasma-typo-h1-font-style);--plasma-tab-item-font-weight:var(--plasma-typo-h1-font-weight);--plasma-tab-item-letter-spacing:var(--plasma-typo-h1-letter-spacing);--plasma-tab-item-lineheight:var(--plasma-typo-h1-line-height);}
|
30
|
+
.HorizontalTabItem_config_xl402n_t19ews1g__fa6ac497{--plasma-tabs-disabled-opacity:0.4;}
|
31
|
+
.HorizontalTabItem_config_xl402n_tosxbtd__fa6ac497{--plasma-tab-item-pilled-border-radius:1.5rem;}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TabsController.js","sources":["../../../../src-css/components/Tabs/TabsController.tsx"],"sourcesContent":["import { createTabsController } from '@salutejs/plasma-new-hope';\n\nimport { Tabs } from './Tabs';\nimport { TabItem } from './TabItem';\n\n/**\n * Контроллер вкладок.\n * Позволяет использовать клавиши ArrowLeft, ArrowRight, Home, End для навигации по вкладкам.\n */\nexport const TabsController = createTabsController(Tabs
|
1
|
+
{"version":3,"file":"TabsController.js","sources":["../../../../src-css/components/Tabs/TabsController.tsx"],"sourcesContent":["import { createTabsController, TabItemProps, TabsProps } from '@salutejs/plasma-new-hope';\nimport { ForwardRefExoticComponent, RefAttributes } from 'react';\n\nimport { Tabs } from './Tabs';\nimport { TabItem } from './TabItem';\n\n/**\n * Контроллер вкладок.\n * Позволяет использовать клавиши ArrowLeft, ArrowRight, Home, End для навигации по вкладкам.\n */\nexport const TabsController = createTabsController(\n Tabs as ForwardRefExoticComponent<TabsProps & RefAttributes<HTMLDivElement>>,\n TabItem as ForwardRefExoticComponent<TabItemProps & RefAttributes<HTMLDivElement>>,\n);\n"],"names":["TabsController","createTabsController","Tabs","TabItem"],"mappings":";;;;;;;;AAMA;AACA;AACA;AACA;AACO,IAAMA,cAAc,gBAAGC,kCAAoB,CAC9CC,SAAI,EACJC,eACJ;;;;"}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
import './HorizontalTabItem.config_xl402n.css';
|
2
|
+
'use strict';
|
3
|
+
|
4
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
5
|
+
|
6
|
+
var config = {
|
7
|
+
defaults: {
|
8
|
+
view: 'divider',
|
9
|
+
size: 'l'
|
10
|
+
},
|
11
|
+
variations: {
|
12
|
+
view: {
|
13
|
+
clear: "c1qbla27",
|
14
|
+
secondary: "s1sazr3k",
|
15
|
+
divider: "d4t8mk9",
|
16
|
+
"default": "d1hrjiow"
|
17
|
+
},
|
18
|
+
size: {
|
19
|
+
xs: "x1539gzv",
|
20
|
+
s: "sikuk77",
|
21
|
+
m: "mp3y2ao",
|
22
|
+
l: "l1qh9jow",
|
23
|
+
h5: "h1s7gpc9",
|
24
|
+
h4: "h13wvabz",
|
25
|
+
h3: "h1gxsxyj",
|
26
|
+
h2: "hv3zmfq",
|
27
|
+
h1: "hwisn6u"
|
28
|
+
},
|
29
|
+
disabled: {
|
30
|
+
"true": "t19ews1g"
|
31
|
+
},
|
32
|
+
pilled: {
|
33
|
+
"true": "tosxbtd"
|
34
|
+
}
|
35
|
+
}
|
36
|
+
};
|
37
|
+
|
38
|
+
exports.config = config;
|
39
|
+
//# sourceMappingURL=HorizontalTabItem.config.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"HorizontalTabItem.config.js","sources":["../../../../../src-css/components/Tabs/horizontal/HorizontalTabItem.config.ts"],"sourcesContent":["import { css, tabsTokens } from '@salutejs/plasma-new-hope';\n\nexport const config = {\n defaults: {\n view: 'divider',\n size: 'l',\n },\n variations: {\n view: {\n clear: css`\n ${tabsTokens.itemColor}: var(--text-secondary);\n ${tabsTokens.itemBackgroundColor}: transparent;\n ${tabsTokens.itemColorHover}: var(--text-secondary-hover);\n ${tabsTokens.itemColorActive}: var(--text-secondary-active);\n ${tabsTokens.itemBackgroundColorHover}: transparent;\n ${tabsTokens.itemSelectedColor}: var(--text-primary);\n ${tabsTokens.itemSelectedBackgroundColor}: transparent;\n ${tabsTokens.itemSelectedColorHover}: var(--text-primary);\n ${tabsTokens.itemSelectedBackgroundColorHover}: transparent;\n ${tabsTokens.itemBackgroundTransition}: background-color 0.3s ease-in-out;\n\n ${tabsTokens.itemPaddingClear}: 0;\n ${tabsTokens.itemContentPaddingClear}: 0;\n\n ${tabsTokens.outlineFocusColor}: var(--surface-accent);\n\n ${tabsTokens.itemSelectedDividerHeight}: 0rem;\n ${tabsTokens.itemSelectedDividerColor}: var(--text-primary);\n ${tabsTokens.itemSelectedDividerColorHover}: var(--text-primary);\n\n ${tabsTokens.additionalContentColor}: var(--text-tertiary);\n ${tabsTokens.additionalContentHoverColor}: var(--text-secondary);\n ${tabsTokens.additionalContentSelectedColor}: var(--text-secondary);\n ${tabsTokens.additionalContentSelectedHoverColor}: var(--text-secondary);\n `,\n secondary: css`\n ${tabsTokens.itemColor}: var(--text-primary);\n ${tabsTokens.itemBackgroundColor}: transparent;\n ${tabsTokens.itemColorHover}: var(--text-secondary-hover);\n ${tabsTokens.itemColorActive}: var(--text-secondary-active);\n ${tabsTokens.itemBackgroundColorHover}: transparent;\n ${tabsTokens.itemSelectedColor}: var(--text-primary);\n ${tabsTokens.itemSelectedBackgroundColor}: var(--surface-solid-card);\n ${tabsTokens.itemSelectedColorHover}: var(--text-primary);\n ${tabsTokens.itemSelectedBackgroundColorHover}: var(--surface-solid-card);\n ${tabsTokens.itemBackgroundTransition}: background-color 0.3s ease-in-out;\n\n ${tabsTokens.itemMarginLeftFilled}: 0.125rem;\n\n ${tabsTokens.outlineFocusColor}: var(--surface-accent);\n\n ${tabsTokens.itemSelectedDividerHeight}: 0rem;\n ${tabsTokens.itemSelectedDividerColor}: var(--text-primary);\n ${tabsTokens.itemSelectedDividerColorHover}: var(--text-primary);\n\n ${tabsTokens.additionalContentColor}: var(--text-secondary);\n ${tabsTokens.additionalContentHoverColor}: var(--text-secondary);\n ${tabsTokens.additionalContentSelectedColor}: var(--text-secondary);\n ${tabsTokens.additionalContentSelectedHoverColor}: var(--text-secondary);\n `,\n divider: css`\n ${tabsTokens.itemColor}: var(--text-secondary);\n ${tabsTokens.itemBackgroundColor}: transparent;\n ${tabsTokens.itemColorHover}: var(--text-secondary-hover);\n ${tabsTokens.itemColorActive}: var(--text-secondary-active);\n ${tabsTokens.itemBackgroundColorHover}: transparent;\n ${tabsTokens.itemSelectedColor}: var(--text-primary);\n ${tabsTokens.itemSelectedBackgroundColor}: transparent;\n ${tabsTokens.itemSelectedColorHover}: var(--text-primary);\n ${tabsTokens.itemSelectedBackgroundColorHover}: transparent;\n ${tabsTokens.itemBackgroundTransition}: background-color 0.3s ease-in-out;\n\n ${tabsTokens.itemPaddingClear}: 0;\n ${tabsTokens.itemContentPaddingClear}: 0;\n\n ${tabsTokens.outlineFocusColor}: var(--surface-accent);\n\n ${tabsTokens.itemSelectedDividerHeight}: 0.125rem;\n ${tabsTokens.itemSelectedDividerColor}: var(--text-primary);\n ${tabsTokens.itemSelectedDividerColorHover}: var(--text-primary);\n\n ${tabsTokens.additionalContentColor}: var(--text-tertiary);\n ${tabsTokens.additionalContentHoverColor}: var(--text-secondary);\n ${tabsTokens.additionalContentSelectedColor}: var(--text-secondary);\n ${tabsTokens.additionalContentSelectedHoverColor}: var(--text-secondary);\n `,\n default: css`\n ${tabsTokens.itemColor}: var(--text-primary);\n ${tabsTokens.itemBackgroundColor}: transparent;\n ${tabsTokens.itemColorHover}: var(--text-secondary-hover);\n ${tabsTokens.itemColorActive}: var(--text-secondary-active);\n ${tabsTokens.itemBackgroundColorHover}: transparent;\n ${tabsTokens.itemSelectedColor}: var(--inverse-text-primary);\n ${tabsTokens.itemSelectedBackgroundColor}: var(--surface-solid-default);\n ${tabsTokens.itemSelectedColorHover}: var(--inverse-text-primary);\n ${tabsTokens.itemSelectedBackgroundColorHover}: var(--surface-solid-default);\n ${tabsTokens.itemBackgroundTransition}: background-color 0.3s ease-in-out;\n\n ${tabsTokens.itemMarginLeftFilled}: 0.125rem;\n\n ${tabsTokens.outlineFocusColor}: var(--surface-accent);\n\n ${tabsTokens.itemSelectedDividerHeight}: 0rem;\n ${tabsTokens.itemSelectedDividerColor}: var(--text-primary);\n ${tabsTokens.itemSelectedDividerColorHover}: var(--text-primary);\n\n ${tabsTokens.additionalContentColor}: var(--text-secondary);\n ${tabsTokens.additionalContentHoverColor}: var(--text-secondary);\n ${tabsTokens.additionalContentSelectedColor}: var(--inverse-text-secondary);\n ${tabsTokens.additionalContentSelectedHoverColor}: var(--inverse-text-secondary);\n `,\n },\n size: {\n xs: css`\n ${tabsTokens.itemBorderRadius}: 0.375rem;\n ${tabsTokens.itemWidth}: auto;\n ${tabsTokens.itemHeight}: 2rem;\n ${tabsTokens.itemPadding}: 0 0.5rem;\n ${tabsTokens.itemPaddingPilled}: 0 0.375rem;\n ${tabsTokens.itemMarginLeft}: 1.75rem;\n ${tabsTokens.itemContentGap}: 0.25rem;\n ${tabsTokens.itemContentPadding}: 0.125rem;\n\n ${tabsTokens.fontFamily}: var(--plasma-typo-body-xs-font-family);\n ${tabsTokens.fontSize}: var(--plasma-typo-body-xs-font-size);\n ${tabsTokens.fontStyle}: var(--plasma-typo-body-xs-font-style);\n ${tabsTokens.fontWeight}: var(--plasma-typo-body-xs-font-weight);\n ${tabsTokens.letterSpacing}: var(--plasma-typo-body-xs-letter-spacing);\n ${tabsTokens.lineHeight}: var(--plasma-typo-body-xs-line-height);\n `,\n s: css`\n ${tabsTokens.itemBorderRadius}: 0.5rem;\n ${tabsTokens.itemWidth}: auto;\n ${tabsTokens.itemHeight}: 2.5rem;\n ${tabsTokens.itemPadding}: 0 0.625rem;\n ${tabsTokens.itemPaddingPilled}: 0 0.5rem;\n ${tabsTokens.itemMarginLeft}: 1.75rem;\n ${tabsTokens.itemContentGap}: 0.25rem;\n ${tabsTokens.itemContentPadding}: 0.125rem;\n\n ${tabsTokens.fontFamily}: var(--plasma-typo-body-s-font-family);\n ${tabsTokens.fontSize}: var(--plasma-typo-body-s-font-size);\n ${tabsTokens.fontStyle}: var(--plasma-typo-body-s-font-style);\n ${tabsTokens.fontWeight}: var(--plasma-typo-body-s-font-weight);\n ${tabsTokens.letterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${tabsTokens.lineHeight}: var(--plasma-typo-body-s-line-height);\n `,\n m: css`\n ${tabsTokens.itemBorderRadius}: 0.625rem;\n ${tabsTokens.itemWidth}: auto;\n ${tabsTokens.itemHeight}: 3rem;\n ${tabsTokens.itemPadding}: 0 0.625rem;\n ${tabsTokens.itemPaddingPilled}: 0 0.5rem;\n ${tabsTokens.itemMarginLeft}: 1.75rem;\n ${tabsTokens.itemContentGap}: 0.375rem;\n ${tabsTokens.itemContentPadding}: 0.125rem;\n\n ${tabsTokens.fontFamily}: var(--plasma-typo-body-m-font-family);\n ${tabsTokens.fontSize}: var(--plasma-typo-body-m-font-size);\n ${tabsTokens.fontStyle}: var(--plasma-typo-body-m-font-style);\n ${tabsTokens.fontWeight}: var(--plasma-typo-body-m-font-weight);\n ${tabsTokens.letterSpacing}: var(--plasma-typo-body-m-letter-spacing);\n ${tabsTokens.lineHeight}: var(--plasma-typo-body-m-line-height);\n `,\n l: css`\n ${tabsTokens.itemBorderRadius}: 0.75rem;\n ${tabsTokens.itemWidth}: auto;\n ${tabsTokens.itemHeight}: 3.5rem;\n ${tabsTokens.itemPadding}: 0 0.875rem;\n ${tabsTokens.itemPaddingPilled}: 0 0.75rem;\n ${tabsTokens.itemMarginLeft}: 1.75rem;\n ${tabsTokens.itemContentGap}: 0.5rem;\n ${tabsTokens.itemContentPadding}: 0.125rem;\n\n ${tabsTokens.fontFamily}: var(--plasma-typo-body-l-font-family);\n ${tabsTokens.fontSize}: var(--plasma-typo-body-l-font-size);\n ${tabsTokens.fontStyle}: var(--plasma-typo-body-l-font-style);\n ${tabsTokens.fontWeight}: var(--plasma-typo-body-l-font-weight);\n ${tabsTokens.letterSpacing}: var(--plasma-typo-body-l-letter-spacing);\n ${tabsTokens.lineHeight}: var(--plasma-typo-body-l-line-height);\n `,\n h5: css`\n ${tabsTokens.itemBorderRadius}: 0.375rem;\n ${tabsTokens.itemWidth}: auto;\n ${tabsTokens.itemHeight}: 3rem;\n ${tabsTokens.itemPadding}: 0rem;\n ${tabsTokens.itemMarginLeft}: 1.75rem;\n ${tabsTokens.itemContentGap}: 0.625rem;\n\n ${tabsTokens.fontFamily}: var(--plasma-typo-h5-font-family);\n ${tabsTokens.fontSize}: var(--plasma-typo-h5-font-size);\n ${tabsTokens.fontStyle}: var(--plasma-typo-h5-font-style);\n ${tabsTokens.fontWeight}: var(--plasma-typo-h5-font-weight);\n ${tabsTokens.letterSpacing}: var(--plasma-typo-h5-letter-spacing);\n ${tabsTokens.lineHeight}: var(--plasma-typo-h5-line-height);\n `,\n h4: css`\n ${tabsTokens.itemBorderRadius}: 0.375rem;\n ${tabsTokens.itemWidth}: auto;\n ${tabsTokens.itemHeight}: 3.25rem;\n ${tabsTokens.itemPadding}: 0rem;\n ${tabsTokens.itemMarginLeft}: 2rem;\n ${tabsTokens.itemContentGap}: 0.625rem;\n\n ${tabsTokens.fontFamily}: var(--plasma-typo-h4-font-family);\n ${tabsTokens.fontSize}: var(--plasma-typo-h4-font-size);\n ${tabsTokens.fontStyle}: var(--plasma-typo-h4-font-style);\n ${tabsTokens.fontWeight}: var(--plasma-typo-h4-font-weight);\n ${tabsTokens.letterSpacing}: var(--plasma-typo-h4-letter-spacing);\n ${tabsTokens.lineHeight}: var(--plasma-typo-h4-line-height);\n `,\n h3: css`\n ${tabsTokens.itemBorderRadius}: 0.5rem;\n ${tabsTokens.itemWidth}: auto;\n ${tabsTokens.itemHeight}: 3.875rem;\n ${tabsTokens.itemPadding}: 0rem;\n ${tabsTokens.itemMarginLeft}: 2.25rem;\n ${tabsTokens.itemContentGap}: 0.75rem;\n\n ${tabsTokens.fontFamily}: var(--plasma-typo-h3-font-family);\n ${tabsTokens.fontSize}: var(--plasma-typo-h3-font-size);\n ${tabsTokens.fontStyle}: var(--plasma-typo-h3-font-style);\n ${tabsTokens.fontWeight}: var(--plasma-typo-h3-font-weight);\n ${tabsTokens.letterSpacing}: var(--plasma-typo-h3-letter-spacing);\n ${tabsTokens.lineHeight}: var(--plasma-typo-h3-line-height);\n `,\n h2: css`\n ${tabsTokens.itemBorderRadius}: 0.625rem;\n ${tabsTokens.itemWidth}: auto;\n ${tabsTokens.itemHeight}: 4.5rem;\n ${tabsTokens.itemPadding}: 0rem;\n ${tabsTokens.itemMarginLeft}: 2.5rem;\n ${tabsTokens.itemContentGap}: 1rem;\n\n ${tabsTokens.fontFamily}: var(--plasma-typo-h2-font-family);\n ${tabsTokens.fontSize}: var(--plasma-typo-h2-font-size);\n ${tabsTokens.fontStyle}: var(--plasma-typo-h2-font-style);\n ${tabsTokens.fontWeight}: var(--plasma-typo-h2-font-weight);\n ${tabsTokens.letterSpacing}: var(--plasma-typo-h2-letter-spacing);\n ${tabsTokens.lineHeight}: var(--plasma-typo-h2-line-height);\n `,\n h1: css`\n ${tabsTokens.itemBorderRadius}: 0.75rem;\n ${tabsTokens.itemWidth}: auto;\n ${tabsTokens.itemHeight}: 5.75rem;\n ${tabsTokens.itemPadding}: 0rem;\n ${tabsTokens.itemMarginLeft}: 3.5rem;\n ${tabsTokens.itemContentGap}: 0.5rem;\n\n ${tabsTokens.fontFamily}: var(--plasma-typo-h1-font-family);\n ${tabsTokens.fontSize}: var(--plasma-typo-h1-font-size);\n ${tabsTokens.fontStyle}: var(--plasma-typo-h1-font-style);\n ${tabsTokens.fontWeight}: var(--plasma-typo-h1-font-weight);\n ${tabsTokens.letterSpacing}: var(--plasma-typo-h1-letter-spacing);\n ${tabsTokens.lineHeight}: var(--plasma-typo-h1-line-height);\n `,\n },\n disabled: {\n true: css`\n ${tabsTokens.disabledOpacity}: 0.4;\n `,\n },\n pilled: {\n true: css`\n ${tabsTokens.itemPilledBorderRadius}: 1.5rem;\n `,\n },\n },\n};\n"],"names":["config","defaults","view","size","variations","clear","secondary","divider","default","xs","s","m","l","h5","h4","h3","h2","h1","disabled","true","pilled"],"mappings":";;;;AAEO,IAAMA,MAAM,GAAG;AAClBC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,IAAI,EAAE,SAAS;AACfC,IAAAA,IAAI,EAAE,GAAA;GACT;AACDC,EAAAA,UAAU,EAAE;AACRF,IAAAA,IAAI,EAAE;AACFG,MAAAA,KAAK,EAyBJ,UAAA;AACDC,MAAAA,SAAS,EAwBR,UAAA;AACDC,MAAAA,OAAO,EAyBN,SAAA;MACDC,SAAO,EAAA,UAAA;KAyBV;AACDL,IAAAA,IAAI,EAAE;AACFM,MAAAA,EAAE,EAgBD,UAAA;AACDC,MAAAA,CAAC,EAgBA,SAAA;AACDC,MAAAA,CAAC,EAgBA,SAAA;AACDC,MAAAA,CAAC,EAgBA,UAAA;AACDC,MAAAA,EAAE,EAcD,UAAA;AACDC,MAAAA,EAAE,EAcD,UAAA;AACDC,MAAAA,EAAE,EAcD,UAAA;AACDC,MAAAA,EAAE,EAcD,SAAA;AACDC,MAAAA,EAAE,EAAA,SAAA;KAeL;AACDC,IAAAA,QAAQ,EAAE;MACNC,MAAI,EAAA,UAAA;KAGP;AACDC,IAAAA,MAAM,EAAE;MACJD,MAAI,EAAA,SAAA;AAGR,KAAA;AACJ,GAAA;AACJ;;;;"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
.c1qbla27{--plasma-tab-item-color:var(--text-secondary);--plasma-tab-item-background-color:transparent;--plasma-tab-item-color-hover:var(--text-secondary-hover);--plasma-tab-item-color-active:var(--text-secondary-active);--plasma-tab-item-background-color-hover:transparent;--plasma-tab-item-selected-color:var(--text-primary);--plasma-tab-item-selected-background-color:transparent;--plasma-tab-item-selected-color-hover:var(--text-primary);--plasma-tab-item-selected-background-color-hover:transparent;--plasma-tab-item-background-transition:background-color 0.3s ease-in-out;--plasma-tab-item-padding-clear:0;--plasma-tab-item-content-padding-clear:0;--plasma-tabs-outline-focus-color:var(--surface-accent);--plasma-tab-item-selected-divider-height:0rem;--plasma-tab-item-selected-divider-color:var(--text-primary);--plasma-tab-item-selected-hover-divider-color:var(--text-primary);--plasma-tab-item-additional-content-color:var(--text-tertiary);--plasma-tab-item-hover-additional-content-color:var(--text-secondary);--plasma-tab-item-selected-additional-content-color:var(--text-secondary);--plasma-tab-item-selected-hover-additional-content-color:var(--text-secondary);}
|
2
|
+
.s1sazr3k{--plasma-tab-item-color:var(--text-primary);--plasma-tab-item-background-color:transparent;--plasma-tab-item-color-hover:var(--text-secondary-hover);--plasma-tab-item-color-active:var(--text-secondary-active);--plasma-tab-item-background-color-hover:transparent;--plasma-tab-item-selected-color:var(--text-primary);--plasma-tab-item-selected-background-color:var(--surface-solid-card);--plasma-tab-item-selected-color-hover:var(--text-primary);--plasma-tab-item-selected-background-color-hover:var(--surface-solid-card);--plasma-tab-item-background-transition:background-color 0.3s ease-in-out;--plasma-tab-item-margin-left-filled:0.125rem;--plasma-tabs-outline-focus-color:var(--surface-accent);--plasma-tab-item-selected-divider-height:0rem;--plasma-tab-item-selected-divider-color:var(--text-primary);--plasma-tab-item-selected-hover-divider-color:var(--text-primary);--plasma-tab-item-additional-content-color:var(--text-secondary);--plasma-tab-item-hover-additional-content-color:var(--text-secondary);--plasma-tab-item-selected-additional-content-color:var(--text-secondary);--plasma-tab-item-selected-hover-additional-content-color:var(--text-secondary);}
|
3
|
+
.d4t8mk9{--plasma-tab-item-color:var(--text-secondary);--plasma-tab-item-background-color:transparent;--plasma-tab-item-color-hover:var(--text-secondary-hover);--plasma-tab-item-color-active:var(--text-secondary-active);--plasma-tab-item-background-color-hover:transparent;--plasma-tab-item-selected-color:var(--text-primary);--plasma-tab-item-selected-background-color:transparent;--plasma-tab-item-selected-color-hover:var(--text-primary);--plasma-tab-item-selected-background-color-hover:transparent;--plasma-tab-item-background-transition:background-color 0.3s ease-in-out;--plasma-tab-item-padding-clear:0;--plasma-tab-item-content-padding-clear:0;--plasma-tabs-outline-focus-color:var(--surface-accent);--plasma-tab-item-selected-divider-height:0.125rem;--plasma-tab-item-selected-divider-color:var(--text-primary);--plasma-tab-item-selected-hover-divider-color:var(--text-primary);--plasma-tab-item-additional-content-color:var(--text-tertiary);--plasma-tab-item-hover-additional-content-color:var(--text-secondary);--plasma-tab-item-selected-additional-content-color:var(--text-secondary);--plasma-tab-item-selected-hover-additional-content-color:var(--text-secondary);}
|
4
|
+
.d1hrjiow{--plasma-tab-item-color:var(--text-primary);--plasma-tab-item-background-color:transparent;--plasma-tab-item-color-hover:var(--text-secondary-hover);--plasma-tab-item-color-active:var(--text-secondary-active);--plasma-tab-item-background-color-hover:transparent;--plasma-tab-item-selected-color:var(--inverse-text-primary);--plasma-tab-item-selected-background-color:var(--surface-solid-default);--plasma-tab-item-selected-color-hover:var(--inverse-text-primary);--plasma-tab-item-selected-background-color-hover:var(--surface-solid-default);--plasma-tab-item-background-transition:background-color 0.3s ease-in-out;--plasma-tab-item-margin-left-filled:0.125rem;--plasma-tabs-outline-focus-color:var(--surface-accent);--plasma-tab-item-selected-divider-height:0rem;--plasma-tab-item-selected-divider-color:var(--text-primary);--plasma-tab-item-selected-hover-divider-color:var(--text-primary);--plasma-tab-item-additional-content-color:var(--text-secondary);--plasma-tab-item-hover-additional-content-color:var(--text-secondary);--plasma-tab-item-selected-additional-content-color:var(--inverse-text-secondary);--plasma-tab-item-selected-hover-additional-content-color:var(--inverse-text-secondary);}
|
5
|
+
.x1539gzv{--plasma-tab-item-border-radius:0.375rem;--plasma-tab-item-width:auto;--plasma-tab-item-height:2rem;--plasma-tab-item-padding:0 0.5rem;--plasma-tab-item-padding-pilled:0 0.375rem;--plasma-tab-item-margin-left:1.75rem;--plasma-tab-item-content-gap:0.25rem;--plasma-tab-item-content-padding:0.125rem;--plasma-tab-item-font-family:var(--plasma-typo-body-xs-font-family);--plasma-tab-item-font-size:var(--plasma-typo-body-xs-font-size);--plasma-tab-item-font-style:var(--plasma-typo-body-xs-font-style);--plasma-tab-item-font-weight:var(--plasma-typo-body-xs-font-weight);--plasma-tab-item-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);--plasma-tab-item-lineheight:var(--plasma-typo-body-xs-line-height);}
|
6
|
+
.sikuk77{--plasma-tab-item-border-radius:0.5rem;--plasma-tab-item-width:auto;--plasma-tab-item-height:2.5rem;--plasma-tab-item-padding:0 0.625rem;--plasma-tab-item-padding-pilled:0 0.5rem;--plasma-tab-item-margin-left:1.75rem;--plasma-tab-item-content-gap:0.25rem;--plasma-tab-item-content-padding:0.125rem;--plasma-tab-item-font-family:var(--plasma-typo-body-s-font-family);--plasma-tab-item-font-size:var(--plasma-typo-body-s-font-size);--plasma-tab-item-font-style:var(--plasma-typo-body-s-font-style);--plasma-tab-item-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-tab-item-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-tab-item-lineheight:var(--plasma-typo-body-s-line-height);}
|
7
|
+
.mp3y2ao{--plasma-tab-item-border-radius:0.625rem;--plasma-tab-item-width:auto;--plasma-tab-item-height:3rem;--plasma-tab-item-padding:0 0.625rem;--plasma-tab-item-padding-pilled:0 0.5rem;--plasma-tab-item-margin-left:1.75rem;--plasma-tab-item-content-gap:0.375rem;--plasma-tab-item-content-padding:0.125rem;--plasma-tab-item-font-family:var(--plasma-typo-body-m-font-family);--plasma-tab-item-font-size:var(--plasma-typo-body-m-font-size);--plasma-tab-item-font-style:var(--plasma-typo-body-m-font-style);--plasma-tab-item-font-weight:var(--plasma-typo-body-m-font-weight);--plasma-tab-item-letter-spacing:var(--plasma-typo-body-m-letter-spacing);--plasma-tab-item-lineheight:var(--plasma-typo-body-m-line-height);}
|
8
|
+
.l1qh9jow{--plasma-tab-item-border-radius:0.75rem;--plasma-tab-item-width:auto;--plasma-tab-item-height:3.5rem;--plasma-tab-item-padding:0 0.875rem;--plasma-tab-item-padding-pilled:0 0.75rem;--plasma-tab-item-margin-left:1.75rem;--plasma-tab-item-content-gap:0.5rem;--plasma-tab-item-content-padding:0.125rem;--plasma-tab-item-font-family:var(--plasma-typo-body-l-font-family);--plasma-tab-item-font-size:var(--plasma-typo-body-l-font-size);--plasma-tab-item-font-style:var(--plasma-typo-body-l-font-style);--plasma-tab-item-font-weight:var(--plasma-typo-body-l-font-weight);--plasma-tab-item-letter-spacing:var(--plasma-typo-body-l-letter-spacing);--plasma-tab-item-lineheight:var(--plasma-typo-body-l-line-height);}
|
9
|
+
.h1s7gpc9{--plasma-tab-item-border-radius:0.375rem;--plasma-tab-item-width:auto;--plasma-tab-item-height:3rem;--plasma-tab-item-padding:0rem;--plasma-tab-item-margin-left:1.75rem;--plasma-tab-item-content-gap:0.625rem;--plasma-tab-item-font-family:var(--plasma-typo-h5-font-family);--plasma-tab-item-font-size:var(--plasma-typo-h5-font-size);--plasma-tab-item-font-style:var(--plasma-typo-h5-font-style);--plasma-tab-item-font-weight:var(--plasma-typo-h5-font-weight);--plasma-tab-item-letter-spacing:var(--plasma-typo-h5-letter-spacing);--plasma-tab-item-lineheight:var(--plasma-typo-h5-line-height);}
|
10
|
+
.h13wvabz{--plasma-tab-item-border-radius:0.375rem;--plasma-tab-item-width:auto;--plasma-tab-item-height:3.25rem;--plasma-tab-item-padding:0rem;--plasma-tab-item-margin-left:2rem;--plasma-tab-item-content-gap:0.625rem;--plasma-tab-item-font-family:var(--plasma-typo-h4-font-family);--plasma-tab-item-font-size:var(--plasma-typo-h4-font-size);--plasma-tab-item-font-style:var(--plasma-typo-h4-font-style);--plasma-tab-item-font-weight:var(--plasma-typo-h4-font-weight);--plasma-tab-item-letter-spacing:var(--plasma-typo-h4-letter-spacing);--plasma-tab-item-lineheight:var(--plasma-typo-h4-line-height);}
|
11
|
+
.h1gxsxyj{--plasma-tab-item-border-radius:0.5rem;--plasma-tab-item-width:auto;--plasma-tab-item-height:3.875rem;--plasma-tab-item-padding:0rem;--plasma-tab-item-margin-left:2.25rem;--plasma-tab-item-content-gap:0.75rem;--plasma-tab-item-font-family:var(--plasma-typo-h3-font-family);--plasma-tab-item-font-size:var(--plasma-typo-h3-font-size);--plasma-tab-item-font-style:var(--plasma-typo-h3-font-style);--plasma-tab-item-font-weight:var(--plasma-typo-h3-font-weight);--plasma-tab-item-letter-spacing:var(--plasma-typo-h3-letter-spacing);--plasma-tab-item-lineheight:var(--plasma-typo-h3-line-height);}
|
12
|
+
.hv3zmfq{--plasma-tab-item-border-radius:0.625rem;--plasma-tab-item-width:auto;--plasma-tab-item-height:4.5rem;--plasma-tab-item-padding:0rem;--plasma-tab-item-margin-left:2.5rem;--plasma-tab-item-content-gap:1rem;--plasma-tab-item-font-family:var(--plasma-typo-h2-font-family);--plasma-tab-item-font-size:var(--plasma-typo-h2-font-size);--plasma-tab-item-font-style:var(--plasma-typo-h2-font-style);--plasma-tab-item-font-weight:var(--plasma-typo-h2-font-weight);--plasma-tab-item-letter-spacing:var(--plasma-typo-h2-letter-spacing);--plasma-tab-item-lineheight:var(--plasma-typo-h2-line-height);}
|
13
|
+
.hwisn6u{--plasma-tab-item-border-radius:0.75rem;--plasma-tab-item-width:auto;--plasma-tab-item-height:5.75rem;--plasma-tab-item-padding:0rem;--plasma-tab-item-margin-left:3.5rem;--plasma-tab-item-content-gap:0.5rem;--plasma-tab-item-font-family:var(--plasma-typo-h1-font-family);--plasma-tab-item-font-size:var(--plasma-typo-h1-font-size);--plasma-tab-item-font-style:var(--plasma-typo-h1-font-style);--plasma-tab-item-font-weight:var(--plasma-typo-h1-font-weight);--plasma-tab-item-letter-spacing:var(--plasma-typo-h1-letter-spacing);--plasma-tab-item-lineheight:var(--plasma-typo-h1-line-height);}
|
14
|
+
.t19ews1g{--plasma-tabs-disabled-opacity:0.4;}
|
15
|
+
.tosxbtd{--plasma-tab-item-pilled-border-radius:1.5rem;}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
import './HorizontalTabs.config_17bycx2.css';
|
2
|
+
'use strict';
|
3
|
+
|
4
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
5
|
+
|
6
|
+
var config = {
|
7
|
+
defaults: {
|
8
|
+
view: 'divider',
|
9
|
+
size: 'l'
|
10
|
+
},
|
11
|
+
variations: {
|
12
|
+
view: {
|
13
|
+
clear: "csmhmdi",
|
14
|
+
filled: "f1axjhin",
|
15
|
+
divider: "d1th7ubw"
|
16
|
+
},
|
17
|
+
size: {
|
18
|
+
xs: "x1y5cvvr",
|
19
|
+
s: "s1sxebyk",
|
20
|
+
m: "m1npg82v",
|
21
|
+
l: "l7r3i4",
|
22
|
+
h5: "h1tc6k6h",
|
23
|
+
h4: "h1yxijj0",
|
24
|
+
h3: "hgyid10",
|
25
|
+
h2: "hdcoiol",
|
26
|
+
h1: "h9rmvuc"
|
27
|
+
},
|
28
|
+
stretch: {
|
29
|
+
"true": "tyx4id5"
|
30
|
+
},
|
31
|
+
disabled: {
|
32
|
+
"true": "tp7ddhx"
|
33
|
+
},
|
34
|
+
pilled: {
|
35
|
+
"true": "tr3t05m"
|
36
|
+
}
|
37
|
+
}
|
38
|
+
};
|
39
|
+
|
40
|
+
exports.config = config;
|
41
|
+
//# sourceMappingURL=HorizontalTabs.config.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"HorizontalTabs.config.js","sources":["../../../../../src-css/components/Tabs/horizontal/HorizontalTabs.config.ts"],"sourcesContent":["import { css, tabsTokens } from '@salutejs/plasma-new-hope';\n\nexport const config = {\n defaults: {\n view: 'divider',\n size: 'l',\n },\n variations: {\n view: {\n clear: css`\n ${tabsTokens.arrowColor}: var(--text-secondary);\n ${tabsTokens.tabsBackgroundColor}: transparent;\n ${tabsTokens.outlineFocusColor}: var(--surface-accent);\n\n ${tabsTokens.tabsDividerHeight}: 0rem;\n ${tabsTokens.tabsDividerColor}: transparent;\n ${tabsTokens.tabsDividerBorderRadius}: 0rem;\n `,\n filled: css`\n ${tabsTokens.arrowColor}: var(--text-secondary);\n ${tabsTokens.tabsBackgroundColor}: var(--surface-transparent-primary);\n ${tabsTokens.outlineFocusColor}: var(--surface-accent);\n\n ${tabsTokens.tabsDividerHeight}: 0rem;\n ${tabsTokens.tabsDividerColor}: transparent;\n ${tabsTokens.tabsDividerBorderRadius}: 0rem;\n `,\n divider: css`\n ${tabsTokens.arrowColor}: var(--text-secondary);\n ${tabsTokens.tabsBackgroundColor}: transparent;\n ${tabsTokens.outlineFocusColor}: var(--surface-accent);\n\n ${tabsTokens.tabsDividerHeight}: 0.0625rem;\n ${tabsTokens.tabsDividerColor}: var(--surface-transparent-tertiary);\n ${tabsTokens.tabsDividerBorderRadius}: 0.0625rem;\n `,\n },\n size: {\n xs: css`\n ${tabsTokens.tabsBorderRadius}: 0.5rem;\n ${tabsTokens.tabsWidth}: fit-content;\n ${tabsTokens.tabsHeight}: auto;\n ${tabsTokens.arrowInnerPadding}: 0rem;\n ${tabsTokens.arrowOuterPadding}: 0.125rem;\n `,\n s: css`\n ${tabsTokens.tabsBorderRadius}: 0.625rem;\n ${tabsTokens.tabsWidth}: fit-content;\n ${tabsTokens.tabsHeight}: auto;\n ${tabsTokens.arrowInnerPadding}: 0rem;\n ${tabsTokens.arrowOuterPadding}: 0.25rem;\n `,\n m: css`\n ${tabsTokens.tabsBorderRadius}: 0.75rem;\n ${tabsTokens.tabsWidth}: fit-content;\n ${tabsTokens.tabsHeight}: auto;\n ${tabsTokens.arrowInnerPadding}: 0rem;\n ${tabsTokens.arrowOuterPadding}: 0.625rem;\n `,\n l: css`\n ${tabsTokens.tabsBorderRadius}: 0.75rem;\n ${tabsTokens.tabsWidth}: fit-content;\n ${tabsTokens.tabsHeight}: auto;\n ${tabsTokens.arrowInnerPadding}: 0rem;\n ${tabsTokens.arrowOuterPadding}: 0.75rem;\n `,\n h5: css`\n ${tabsTokens.tabsBorderRadius}: 0.5rem;\n ${tabsTokens.tabsWidth}: fit-content;\n ${tabsTokens.tabsHeight}: auto;\n ${tabsTokens.arrowInnerPadding}: 0.25rem;\n ${tabsTokens.arrowOuterPadding}: 0rem;\n `,\n h4: css`\n ${tabsTokens.tabsBorderRadius}: 0.5rem;\n ${tabsTokens.tabsWidth}: fit-content;\n ${tabsTokens.tabsHeight}: auto;\n ${tabsTokens.arrowInnerPadding}: 0.25rem;\n ${tabsTokens.arrowOuterPadding}: 0rem;\n `,\n h3: css`\n ${tabsTokens.tabsBorderRadius}: 0.625rem;\n ${tabsTokens.tabsWidth}: fit-content;\n ${tabsTokens.tabsHeight}: auto;\n ${tabsTokens.arrowInnerPadding}: 0.375rem;\n ${tabsTokens.arrowOuterPadding}: 0rem;\n `,\n h2: css`\n ${tabsTokens.tabsBorderRadius}: 0.75rem;\n ${tabsTokens.tabsWidth}: fit-content;\n ${tabsTokens.tabsHeight}: auto;\n ${tabsTokens.arrowInnerPadding}: 0.5rem;\n ${tabsTokens.arrowOuterPadding}: 0rem;\n `,\n h1: css`\n ${tabsTokens.tabsBorderRadius}: 0.75rem;\n ${tabsTokens.tabsWidth}: fit-content;\n ${tabsTokens.tabsHeight}: auto;\n ${tabsTokens.arrowInnerPadding}: 1rem;\n ${tabsTokens.arrowOuterPadding}: 0rem;\n `,\n },\n stretch: {\n true: css`\n ${tabsTokens.containerWidth}: 100%;\n `,\n },\n disabled: {\n true: css`\n ${tabsTokens.disabledOpacity}: 0.4;\n `,\n },\n pilled: {\n true: css`\n ${tabsTokens.tabsPilledBorderRadius}: 1.625rem;\n `,\n },\n },\n};\n"],"names":["config","defaults","view","size","variations","clear","filled","divider","xs","s","m","l","h5","h4","h3","h2","h1","stretch","true","disabled","pilled"],"mappings":";;;;AAEO,IAAMA,MAAM,GAAG;AAClBC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,IAAI,EAAE,SAAS;AACfC,IAAAA,IAAI,EAAE,GAAA;GACT;AACDC,EAAAA,UAAU,EAAE;AACRF,IAAAA,IAAI,EAAE;AACFG,MAAAA,KAAK,EAQJ,SAAA;AACDC,MAAAA,MAAM,EAQL,UAAA;AACDC,MAAAA,OAAO,EAAA,UAAA;KASV;AACDJ,IAAAA,IAAI,EAAE;AACFK,MAAAA,EAAE,EAMD,UAAA;AACDC,MAAAA,CAAC,EAMA,UAAA;AACDC,MAAAA,CAAC,EAMA,UAAA;AACDC,MAAAA,CAAC,EAMA,QAAA;AACDC,MAAAA,EAAE,EAMD,UAAA;AACDC,MAAAA,EAAE,EAMD,UAAA;AACDC,MAAAA,EAAE,EAMD,SAAA;AACDC,MAAAA,EAAE,EAMD,SAAA;AACDC,MAAAA,EAAE,EAAA,SAAA;KAOL;AACDC,IAAAA,OAAO,EAAE;MACLC,MAAI,EAAA,SAAA;KAGP;AACDC,IAAAA,QAAQ,EAAE;MACND,MAAI,EAAA,SAAA;KAGP;AACDE,IAAAA,MAAM,EAAE;MACJF,MAAI,EAAA,SAAA;AAGR,KAAA;AACJ,GAAA;AACJ;;;;"}
|