@salutejs/plasma-web 1.367.2-canary.1362.10405734898.0 → 1.367.2-canary.1364.10417377553.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -99,8 +99,6 @@ import { CounterProps } from '@salutejs/plasma-new-hope/styled-components';
99
99
  import { counterTokens } from '@salutejs/plasma-new-hope/styled-components';
100
100
  import { CustomComboboxProps } from '@salutejs/plasma-new-hope/types/components/Combobox/Combobox.types';
101
101
  import { CustomPopoverProps } from '@salutejs/plasma-new-hope/types/components/Popover/Popover.types';
102
- import { CustomTabItemProps } from '@salutejs/plasma-new-hope/types/components/Tabs/ui/TabItem/TabItem.types';
103
- import { CustomTabsProps } from '@salutejs/plasma-new-hope/types/components/Tabs/ui/Tabs/Tabs.types';
104
102
  import { CustomToastProps } from '@salutejs/plasma-new-hope/types/components/Toast/Toast.types';
105
103
  import { DateInfo } from '@salutejs/plasma-new-hope/types/components/Calendar/Calendar.types';
106
104
  import { DatePickerCalendarProps } from '@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types';
@@ -2232,18 +2230,42 @@ export type SwitchProps = ComponentProps<typeof SwitchComponent>;
2232
2230
  export { syntheticFocus }
2233
2231
 
2234
2232
  // @public
2235
- export const TabItem: ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLButtonElement> & AsProps_2<any> & CustomTabItemProps & RefAttributes<HTMLDivElement>>;
2233
+ export const TabItem: ForwardRefExoticComponent<AsProps<any> & ButtonHTMLAttributes<HTMLButtonElement> & {
2234
+ isActive?: boolean | undefined;
2235
+ selected?: boolean | undefined;
2236
+ disabled?: boolean | undefined;
2237
+ pilled?: boolean | undefined;
2238
+ animated?: boolean | undefined;
2239
+ contentLeft?: ReactNode;
2240
+ contentRight?: ReactNode;
2241
+ onIndexChange?: ((index: number) => void) | undefined;
2242
+ itemIndex?: number | undefined;
2243
+ size?: string | undefined;
2244
+ view?: string | undefined;
2245
+ } & RefAttributes<HTMLDivElement>>;
2236
2246
 
2237
2247
  export { TabItemProps }
2238
2248
 
2239
2249
  export { TabItemRefs }
2240
2250
 
2241
2251
  // @public
2242
- export const Tabs: ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & AsProps_2<any> & CustomTabsProps & RefAttributes<HTMLDivElement>>;
2252
+ export const Tabs: ForwardRefExoticComponent<AsProps_2<any> & HTMLAttributes<HTMLDivElement> & {
2253
+ clip?: "scroll" | "showAll" | undefined;
2254
+ disabled?: boolean | undefined;
2255
+ stretch?: boolean | undefined;
2256
+ pilled?: boolean | undefined;
2257
+ size?: string | undefined;
2258
+ view?: string | undefined;
2259
+ index?: number | undefined;
2260
+ outsideScroll?: boolean | {
2261
+ left?: string | undefined;
2262
+ right?: string | undefined;
2263
+ } | undefined;
2264
+ } & RefAttributes<HTMLDivElement>>;
2243
2265
 
2244
2266
  export { TabsContext }
2245
2267
 
2246
- // @public
2268
+ // @public @deprecated (undocumented)
2247
2269
  export const TabsController: ForwardRefExoticComponent<TabsControllerProps & RefAttributes<HTMLDivElement>>;
2248
2270
 
2249
2271
  export { TabsControllerProps }
@@ -13,7 +13,7 @@ var config = exports.config = {
13
13
  },
14
14
  variations: {
15
15
  view: {
16
- "default": /*#__PURE__*/(0, _styledComponents.css)(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": rgba(35, 35, 35, 0.2);\n ", ": var(--plasma-colors-overlay-soft);\n "])), _styledComponents.modalTokens.modalOverlayWithBlurColor, _styledComponents.modalTokens.modalOverlayColor)
16
+ "default": /*#__PURE__*/(0, _styledComponents.css)(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": rgba(35, 35, 35, 0.2);\n ", ": var(--overlay-soft);\n "])), _styledComponents.modalTokens.modalOverlayWithBlurColor, _styledComponents.modalTokens.modalOverlayColor)
17
17
  }
18
18
  }
19
19
  };
@@ -2,4 +2,16 @@ import { ForwardRefExoticComponent, RefAttributes } from 'react';
2
2
  /**
3
3
  * Элемент списка, недопустимо использовать вне компонента Tabs.
4
4
  */
5
- export declare const TabItem: ForwardRefExoticComponent<import("react").ButtonHTMLAttributes<HTMLButtonElement> & import("@salutejs/plasma-new-hope/types/types").AsProps<any> & import("@salutejs/plasma-new-hope/types/components/Tabs/ui/TabItem/TabItem.types").CustomTabItemProps & RefAttributes<HTMLDivElement>>;
5
+ export declare const TabItem: ForwardRefExoticComponent<import("@salutejs/plasma-core").AsProps<any> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & {
6
+ isActive?: boolean | undefined;
7
+ selected?: boolean | undefined;
8
+ disabled?: boolean | undefined;
9
+ pilled?: boolean | undefined;
10
+ animated?: boolean | undefined;
11
+ contentLeft?: import("react").ReactNode;
12
+ contentRight?: import("react").ReactNode;
13
+ onIndexChange?: ((index: number) => void) | undefined;
14
+ itemIndex?: number | undefined;
15
+ size?: string | undefined;
16
+ view?: string | undefined;
17
+ } & RefAttributes<HTMLDivElement>>;
@@ -2,4 +2,16 @@ import { ForwardRefExoticComponent, RefAttributes } from 'react';
2
2
  /**
3
3
  * Контейнер вкладок, основной компонент для пользовательской сборки вкладок.
4
4
  */
5
- export declare const Tabs: ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("@salutejs/plasma-new-hope/types/types").AsProps<any> & import("@salutejs/plasma-new-hope/types/components/Tabs/ui/Tabs/Tabs.types").CustomTabsProps & RefAttributes<HTMLDivElement>>;
5
+ export declare const Tabs: ForwardRefExoticComponent<import("@salutejs/plasma-new-hope/types/types").AsProps<any> & import("react").HTMLAttributes<HTMLDivElement> & {
6
+ clip?: "scroll" | "showAll" | undefined;
7
+ disabled?: boolean | undefined;
8
+ stretch?: boolean | undefined;
9
+ pilled?: boolean | undefined;
10
+ size?: string | undefined;
11
+ view?: string | undefined;
12
+ index?: number | undefined;
13
+ outsideScroll?: boolean | {
14
+ left?: string | undefined;
15
+ right?: string | undefined;
16
+ } | undefined;
17
+ } & RefAttributes<HTMLDivElement>>;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  /**
3
- * #deprecated
3
+ * @deprecated
4
4
  * Используйте Tabs, TabItem, указав параметры index, itemIndex, onIndexChange
5
5
  *
6
6
  * Контроллер вкладок.
@@ -8,7 +8,7 @@ var _styledComponents = /*#__PURE__*/require("@salutejs/plasma-new-hope/styled-c
8
8
  var _Tabs = /*#__PURE__*/require("./Tabs");
9
9
  var _TabItem = /*#__PURE__*/require("./TabItem");
10
10
  /**
11
- * #deprecated
11
+ * @deprecated
12
12
  * Используйте Tabs, TabItem, указав параметры index, itemIndex, onIndexChange
13
13
  *
14
14
  * Контроллер вкладок.
@@ -1,4 +1,4 @@
1
- import './Modal.config_120il40.css';
1
+ import './Modal.config_d0x2m3.css';
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1 +1 @@
1
- {"version":3,"file":"Modal.config.js","sources":["../../../../src-css/components/ModalBase/Modal.config.ts"],"sourcesContent":["import { css, modalTokens } from '@salutejs/plasma-new-hope';\n\nexport const config = {\n defaults: {\n view: 'default',\n },\n variations: {\n view: {\n default: css`\n ${modalTokens.modalOverlayWithBlurColor}: rgba(35, 35, 35, 0.2);\n ${modalTokens.modalOverlayColor}: var(--plasma-colors-overlay-soft);\n `,\n },\n },\n};\n"],"names":["config","defaults","view","variations","default"],"mappings":";;;;AAEO,IAAMA,MAAM,GAAG;AAClBC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,IAAI,EAAE,SAAA;GACT;AACDC,EAAAA,UAAU,EAAE;AACRD,IAAAA,IAAI,EAAE;MACFE,SAAO,EAAA,SAAA;AAIX,KAAA;AACJ,GAAA;AACJ;;;;"}
1
+ {"version":3,"file":"Modal.config.js","sources":["../../../../src-css/components/ModalBase/Modal.config.ts"],"sourcesContent":["import { css, modalTokens } from '@salutejs/plasma-new-hope';\n\nexport const config = {\n defaults: {\n view: 'default',\n },\n variations: {\n view: {\n default: css`\n ${modalTokens.modalOverlayWithBlurColor}: rgba(35, 35, 35, 0.2);\n ${modalTokens.modalOverlayColor}: var(--overlay-soft);\n `,\n },\n },\n};\n"],"names":["config","defaults","view","variations","default"],"mappings":";;;;AAEO,IAAMA,MAAM,GAAG;AAClBC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,IAAI,EAAE,SAAA;GACT;AACDC,EAAAA,UAAU,EAAE;AACRD,IAAAA,IAAI,EAAE;MACFE,SAAO,EAAA,SAAA;AAIX,KAAA;AACJ,GAAA;AACJ;;;;"}
@@ -0,0 +1 @@
1
+ .dwnr4pm{--plasma-modal-overlay-with-blur-color:rgba(35,35,35,0.2);--plasma-modal-overlay-color:var(--overlay-soft);}
@@ -1 +1 @@
1
- .Modal_config_120il40_dwnr4pm__a559499c{--plasma-modal-overlay-with-blur-color:rgba(35,35,35,0.2);--plasma-modal-overlay-color:var(--plasma-colors-overlay-soft);}
1
+ .Modal_config_d0x2m3_dwnr4pm__21e59a48{--plasma-modal-overlay-with-blur-color:rgba(35,35,35,0.2);--plasma-modal-overlay-color:var(--overlay-soft);}
@@ -7,7 +7,7 @@ var Tabs = require('./Tabs.js');
7
7
  var TabItem = require('./TabItem.js');
8
8
 
9
9
  /**
10
- * #deprecated
10
+ * @deprecated
11
11
  * Используйте Tabs, TabItem, указав параметры index, itemIndex, onIndexChange
12
12
  *
13
13
  * Контроллер вкладок.
@@ -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 * #deprecated\n * Используйте Tabs, TabItem, указав параметры index, itemIndex, onIndexChange\n *\n * Контроллер вкладок.\n * Позволяет использовать клавиши ArrowLeft, ArrowRight, Home, End для навигации по вкладкам.\n */\nexport const TabsController = createTabsController(Tabs, TabItem);\n"],"names":["TabsController","createTabsController","Tabs","TabItem"],"mappings":";;;;;;;;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,IAAMA,cAAc,gBAAGC,kCAAoB,CAACC,SAAI,EAAEC,eAAO;;;;"}
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 * @deprecated\n * Используйте Tabs, TabItem, указав параметры index, itemIndex, onIndexChange\n *\n * Контроллер вкладок.\n * Позволяет использовать клавиши ArrowLeft, ArrowRight, Home, End для навигации по вкладкам.\n */\nexport const TabsController = createTabsController(Tabs, TabItem);\n"],"names":["TabsController","createTabsController","Tabs","TabItem"],"mappings":";;;;;;;;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,IAAMA,cAAc,gBAAGC,kCAAoB,CAACC,SAAI,EAAEC,eAAO;;;;"}
package/css/cjs/index.css CHANGED
@@ -255,7 +255,7 @@
255
255
  .Link_config_q8zx6f_t1obm9h5__3095562d{--plasma-link-disabled-opacity:0.4;}
256
256
  .Link_config_q8zx6f_t1dkeppt__3095562d{--plasma-link-focus-color:var(--text-accent);}
257
257
 
258
- .Modal_config_120il40_dwnr4pm__a559499c{--plasma-modal-overlay-with-blur-color:rgba(35,35,35,0.2);--plasma-modal-overlay-color:var(--plasma-colors-overlay-soft);}
258
+ .Modal_config_d0x2m3_dwnr4pm__21e59a48{--plasma-modal-overlay-with-blur-color:rgba(35,35,35,0.2);--plasma-modal-overlay-color:var(--overlay-soft);}
259
259
 
260
260
  .Notification_config_1lwgobg_demycyd__4d376631{--plasma-notification-content-color:var(--plasma-colors-secondary);--plasma-notification-backgorund:var(--plasma-colors-background-primary);--plasma-notification-border-radius:0.75rem;--plasma-notification-padding:0.375rem;--plasma-notification-content-padding-top:0.125rem;--plasma-notification-content-padding-right:0.25rem;--plasma-notification-content-padding-bottom:0rem;--plasma-notification-content-padding-left:0.25rem;--plasma-notification-content-padding-top-without-icon:0.25rem;--plasma-notification-horizontal-layout-right-padding-without-close-icon:1rem;--plasma-notification-textbox-padding-top:0.1875rem;--plasma-notification-textbox-padding-right:0.125rem;--plasma-notification-textbox-padding-bottom:0.375rem;--plasma-notification-textbox-padding-left:0.125rem;--plasma-notification-textbox-padding-right-with-close-icon:1.625rem;--plasma-notification-textbox-gap:0.25rem;--plasma-notification-close-icon-top:0.5rem;--plasma-notification-close-icon-right:0.5rem;--plasma-notification-buttons-margin-top:0.375rem;--plasma-notification-content-left-icon-size:1.5rem;--plasma-notification-content-left-icon-margin:0.375rem;--plasma-notification-content-top-icon-margin:0.5rem;--plasma-notification-content-font-family:var(--plasma-typo-body-s-font-family);--plasma-notification-content-font-size:var(--plasma-typo-body-s-font-size);--plasma-notification-content-font-style:var(--plasma-typo-body-s-font-style);--plasma-notification-content-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-notification-content-font-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-notification-content-font-line-height:var(--plasma-typo-body-s-line-height);--plasma-notification-title-font-family:var(--plasma-typo-body-s-font-family);--plasma-notification-title-font-size:var(--plasma-typo-body-s-font-size);--plasma-notification-title-font-style:var(--plasma-typo-body-s-font-style);--plasma-notification-title-font-weight:var(--plasma-typo-body-s-bold-font-weight);--plasma-notification-title-font-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-notification-title-font-line-height:var(--plasma-typo-body-s-line-height);--plasma-notification-close-icon-color:var(--plasma-colors-tertiary);--plasma-notification-close-icon-color-on-hover:var(--plasma-colors-primary);--plasma-notification-horizontal-layout-gap:0.375rem;--plasma-notification-horizontal-layout-left-icon-margin:0.75rem;--plasma-notification-padding-one-line-textbox:0.8125rem 0.5rem 0.8125rem 0.875rem;}
261
261
  .Notification_config_1lwgobg_hu7sha0__4d376631{--plasma-notification-width:25rem;--plasma-notification-horizontal-layout-padding:1rem 0.5rem 1rem 0.875rem;}
@@ -1,4 +1,4 @@
1
- import './Modal.config_120il40.css';
1
+ import './Modal.config_d0x2m3.css';
2
2
  var config = {
3
3
  defaults: {
4
4
  view: 'default'
@@ -1 +1 @@
1
- {"version":3,"file":"Modal.config.js","sources":["../../../../src-css/components/ModalBase/Modal.config.ts"],"sourcesContent":["import { css, modalTokens } from '@salutejs/plasma-new-hope';\n\nexport const config = {\n defaults: {\n view: 'default',\n },\n variations: {\n view: {\n default: css`\n ${modalTokens.modalOverlayWithBlurColor}: rgba(35, 35, 35, 0.2);\n ${modalTokens.modalOverlayColor}: var(--plasma-colors-overlay-soft);\n `,\n },\n },\n};\n"],"names":["config","defaults","view","variations","default"],"mappings":"AAEO,IAAMA,MAAM,GAAG;AAClBC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,IAAI,EAAE,SAAA;GACT;AACDC,EAAAA,UAAU,EAAE;AACRD,IAAAA,IAAI,EAAE;MACFE,SAAO,EAAA,SAAA;AAIX,KAAA;AACJ,GAAA;AACJ;;;;"}
1
+ {"version":3,"file":"Modal.config.js","sources":["../../../../src-css/components/ModalBase/Modal.config.ts"],"sourcesContent":["import { css, modalTokens } from '@salutejs/plasma-new-hope';\n\nexport const config = {\n defaults: {\n view: 'default',\n },\n variations: {\n view: {\n default: css`\n ${modalTokens.modalOverlayWithBlurColor}: rgba(35, 35, 35, 0.2);\n ${modalTokens.modalOverlayColor}: var(--overlay-soft);\n `,\n },\n },\n};\n"],"names":["config","defaults","view","variations","default"],"mappings":"AAEO,IAAMA,MAAM,GAAG;AAClBC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,IAAI,EAAE,SAAA;GACT;AACDC,EAAAA,UAAU,EAAE;AACRD,IAAAA,IAAI,EAAE;MACFE,SAAO,EAAA,SAAA;AAIX,KAAA;AACJ,GAAA;AACJ;;;;"}
@@ -0,0 +1 @@
1
+ .dwnr4pm{--plasma-modal-overlay-with-blur-color:rgba(35,35,35,0.2);--plasma-modal-overlay-color:var(--overlay-soft);}
@@ -1 +1 @@
1
- .Modal_config_120il40_dwnr4pm__a559499c{--plasma-modal-overlay-with-blur-color:rgba(35,35,35,0.2);--plasma-modal-overlay-color:var(--plasma-colors-overlay-soft);}
1
+ .Modal_config_d0x2m3_dwnr4pm__21e59a48{--plasma-modal-overlay-with-blur-color:rgba(35,35,35,0.2);--plasma-modal-overlay-color:var(--overlay-soft);}
@@ -3,7 +3,7 @@ import { Tabs } from './Tabs.js';
3
3
  import { TabItem } from './TabItem.js';
4
4
 
5
5
  /**
6
- * #deprecated
6
+ * @deprecated
7
7
  * Используйте Tabs, TabItem, указав параметры index, itemIndex, onIndexChange
8
8
  *
9
9
  * Контроллер вкладок.
@@ -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 * #deprecated\n * Используйте Tabs, TabItem, указав параметры index, itemIndex, onIndexChange\n *\n * Контроллер вкладок.\n * Позволяет использовать клавиши ArrowLeft, ArrowRight, Home, End для навигации по вкладкам.\n */\nexport const TabsController = createTabsController(Tabs, TabItem);\n"],"names":["TabsController","createTabsController","Tabs","TabItem"],"mappings":";;;;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,IAAMA,cAAc,gBAAGC,oBAAoB,CAACC,IAAI,EAAEC,OAAO;;;;"}
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 * @deprecated\n * Используйте Tabs, TabItem, указав параметры index, itemIndex, onIndexChange\n *\n * Контроллер вкладок.\n * Позволяет использовать клавиши ArrowLeft, ArrowRight, Home, End для навигации по вкладкам.\n */\nexport const TabsController = createTabsController(Tabs, TabItem);\n"],"names":["TabsController","createTabsController","Tabs","TabItem"],"mappings":";;;;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,IAAMA,cAAc,gBAAGC,oBAAoB,CAACC,IAAI,EAAEC,OAAO;;;;"}
package/css/es/index.css CHANGED
@@ -255,7 +255,7 @@
255
255
  .Link_config_q8zx6f_t1obm9h5__3095562d{--plasma-link-disabled-opacity:0.4;}
256
256
  .Link_config_q8zx6f_t1dkeppt__3095562d{--plasma-link-focus-color:var(--text-accent);}
257
257
 
258
- .Modal_config_120il40_dwnr4pm__a559499c{--plasma-modal-overlay-with-blur-color:rgba(35,35,35,0.2);--plasma-modal-overlay-color:var(--plasma-colors-overlay-soft);}
258
+ .Modal_config_d0x2m3_dwnr4pm__21e59a48{--plasma-modal-overlay-with-blur-color:rgba(35,35,35,0.2);--plasma-modal-overlay-color:var(--overlay-soft);}
259
259
 
260
260
  .Notification_config_1lwgobg_demycyd__4d376631{--plasma-notification-content-color:var(--plasma-colors-secondary);--plasma-notification-backgorund:var(--plasma-colors-background-primary);--plasma-notification-border-radius:0.75rem;--plasma-notification-padding:0.375rem;--plasma-notification-content-padding-top:0.125rem;--plasma-notification-content-padding-right:0.25rem;--plasma-notification-content-padding-bottom:0rem;--plasma-notification-content-padding-left:0.25rem;--plasma-notification-content-padding-top-without-icon:0.25rem;--plasma-notification-horizontal-layout-right-padding-without-close-icon:1rem;--plasma-notification-textbox-padding-top:0.1875rem;--plasma-notification-textbox-padding-right:0.125rem;--plasma-notification-textbox-padding-bottom:0.375rem;--plasma-notification-textbox-padding-left:0.125rem;--plasma-notification-textbox-padding-right-with-close-icon:1.625rem;--plasma-notification-textbox-gap:0.25rem;--plasma-notification-close-icon-top:0.5rem;--plasma-notification-close-icon-right:0.5rem;--plasma-notification-buttons-margin-top:0.375rem;--plasma-notification-content-left-icon-size:1.5rem;--plasma-notification-content-left-icon-margin:0.375rem;--plasma-notification-content-top-icon-margin:0.5rem;--plasma-notification-content-font-family:var(--plasma-typo-body-s-font-family);--plasma-notification-content-font-size:var(--plasma-typo-body-s-font-size);--plasma-notification-content-font-style:var(--plasma-typo-body-s-font-style);--plasma-notification-content-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-notification-content-font-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-notification-content-font-line-height:var(--plasma-typo-body-s-line-height);--plasma-notification-title-font-family:var(--plasma-typo-body-s-font-family);--plasma-notification-title-font-size:var(--plasma-typo-body-s-font-size);--plasma-notification-title-font-style:var(--plasma-typo-body-s-font-style);--plasma-notification-title-font-weight:var(--plasma-typo-body-s-bold-font-weight);--plasma-notification-title-font-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-notification-title-font-line-height:var(--plasma-typo-body-s-line-height);--plasma-notification-close-icon-color:var(--plasma-colors-tertiary);--plasma-notification-close-icon-color-on-hover:var(--plasma-colors-primary);--plasma-notification-horizontal-layout-gap:0.375rem;--plasma-notification-horizontal-layout-left-icon-margin:0.75rem;--plasma-notification-padding-one-line-textbox:0.8125rem 0.5rem 0.8125rem 0.875rem;}
261
261
  .Notification_config_1lwgobg_hu7sha0__4d376631{--plasma-notification-width:25rem;--plasma-notification-horizontal-layout-padding:1rem 0.5rem 1rem 0.875rem;}
@@ -7,7 +7,7 @@ export var config = {
7
7
  },
8
8
  variations: {
9
9
  view: {
10
- "default": /*#__PURE__*/css(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": rgba(35, 35, 35, 0.2);\n ", ": var(--plasma-colors-overlay-soft);\n "])), modalTokens.modalOverlayWithBlurColor, modalTokens.modalOverlayColor)
10
+ "default": /*#__PURE__*/css(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": rgba(35, 35, 35, 0.2);\n ", ": var(--overlay-soft);\n "])), modalTokens.modalOverlayWithBlurColor, modalTokens.modalOverlayColor)
11
11
  }
12
12
  }
13
13
  };
@@ -3,7 +3,7 @@ import { Tabs } from './Tabs';
3
3
  import { TabItem } from './TabItem';
4
4
 
5
5
  /**
6
- * #deprecated
6
+ * @deprecated
7
7
  * Используйте Tabs, TabItem, указав параметры index, itemIndex, onIndexChange
8
8
  *
9
9
  * Контроллер вкладок.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salutejs/plasma-web",
3
- "version": "1.367.2-canary.1362.10405734898.0",
3
+ "version": "1.367.2-canary.1364.10417377553.0",
4
4
  "description": "Salute Design System / React UI kit for web applications",
5
5
  "author": "Salute Frontend Team <salute.developers@gmail.com>",
6
6
  "license": "MIT",
@@ -21,7 +21,7 @@
21
21
  "dependencies": {
22
22
  "@salutejs/plasma-core": "1.166.0",
23
23
  "@salutejs/plasma-hope": "1.292.0",
24
- "@salutejs/plasma-new-hope": "0.121.2-canary.1362.10405734898.0",
24
+ "@salutejs/plasma-new-hope": "0.121.1-dev.0",
25
25
  "@salutejs/plasma-tokens-b2b": "1.41.0",
26
26
  "@salutejs/plasma-tokens-b2c": "0.51.0",
27
27
  "@salutejs/plasma-tokens-web": "1.56.0",
@@ -110,5 +110,5 @@
110
110
  "Fanil Zubairov"
111
111
  ],
112
112
  "sideEffects": false,
113
- "gitHead": "7fac672e02aaa74e226e7049d5bdc61b1fd9c982"
113
+ "gitHead": "05063264fbb3d014c0d1c9c297b79c4d88302861"
114
114
  }
@@ -99,8 +99,6 @@ import { CounterProps } from '@salutejs/plasma-new-hope/styled-components';
99
99
  import { counterTokens } from '@salutejs/plasma-new-hope/styled-components';
100
100
  import { CustomComboboxProps } from '@salutejs/plasma-new-hope/types/components/Combobox/Combobox.types';
101
101
  import { CustomPopoverProps } from '@salutejs/plasma-new-hope/types/components/Popover/Popover.types';
102
- import { CustomTabItemProps } from '@salutejs/plasma-new-hope/types/components/Tabs/ui/TabItem/TabItem.types';
103
- import { CustomTabsProps } from '@salutejs/plasma-new-hope/types/components/Tabs/ui/Tabs/Tabs.types';
104
102
  import { CustomToastProps } from '@salutejs/plasma-new-hope/types/components/Toast/Toast.types';
105
103
  import { DateInfo } from '@salutejs/plasma-new-hope/types/components/Calendar/Calendar.types';
106
104
  import { DatePickerCalendarProps } from '@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types';
@@ -2232,18 +2230,42 @@ export type SwitchProps = ComponentProps<typeof SwitchComponent>;
2232
2230
  export { syntheticFocus }
2233
2231
 
2234
2232
  // @public
2235
- export const TabItem: ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLButtonElement> & AsProps_2<any> & CustomTabItemProps & RefAttributes<HTMLDivElement>>;
2233
+ export const TabItem: ForwardRefExoticComponent<AsProps<any> & ButtonHTMLAttributes<HTMLButtonElement> & {
2234
+ isActive?: boolean | undefined;
2235
+ selected?: boolean | undefined;
2236
+ disabled?: boolean | undefined;
2237
+ pilled?: boolean | undefined;
2238
+ animated?: boolean | undefined;
2239
+ contentLeft?: ReactNode;
2240
+ contentRight?: ReactNode;
2241
+ onIndexChange?: ((index: number) => void) | undefined;
2242
+ itemIndex?: number | undefined;
2243
+ size?: string | undefined;
2244
+ view?: string | undefined;
2245
+ } & RefAttributes<HTMLDivElement>>;
2236
2246
 
2237
2247
  export { TabItemProps }
2238
2248
 
2239
2249
  export { TabItemRefs }
2240
2250
 
2241
2251
  // @public
2242
- export const Tabs: ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & AsProps_2<any> & CustomTabsProps & RefAttributes<HTMLDivElement>>;
2252
+ export const Tabs: ForwardRefExoticComponent<AsProps_2<any> & HTMLAttributes<HTMLDivElement> & {
2253
+ clip?: "scroll" | "showAll" | undefined;
2254
+ disabled?: boolean | undefined;
2255
+ stretch?: boolean | undefined;
2256
+ pilled?: boolean | undefined;
2257
+ size?: string | undefined;
2258
+ view?: string | undefined;
2259
+ index?: number | undefined;
2260
+ outsideScroll?: boolean | {
2261
+ left?: string | undefined;
2262
+ right?: string | undefined;
2263
+ } | undefined;
2264
+ } & RefAttributes<HTMLDivElement>>;
2243
2265
 
2244
2266
  export { TabsContext }
2245
2267
 
2246
- // @public
2268
+ // @public @deprecated (undocumented)
2247
2269
  export const TabsController: ForwardRefExoticComponent<TabsControllerProps & RefAttributes<HTMLDivElement>>;
2248
2270
 
2249
2271
  export { TabsControllerProps }
@@ -1 +0,0 @@
1
- .dwnr4pm{--plasma-modal-overlay-with-blur-color:rgba(35,35,35,0.2);--plasma-modal-overlay-color:var(--plasma-colors-overlay-soft);}
@@ -1 +0,0 @@
1
- .dwnr4pm{--plasma-modal-overlay-with-blur-color:rgba(35,35,35,0.2);--plasma-modal-overlay-color:var(--plasma-colors-overlay-soft);}