@salutejs/sdds-finportal 0.159.1-canary.1524.11717413596.0 → 0.159.1-canary.1545.11723071841.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -194,9 +194,11 @@ import { StepItemProps } from '@salutejs/plasma-new-hope/styled-components';
194
194
  import { StepsProps } from '@salutejs/plasma-new-hope/types/components/Steps/Steps.types';
195
195
  import { StyledComponent } from 'styled-components';
196
196
  import { SwitchProps as SwitchProps_2 } from '@salutejs/plasma-new-hope/styled-components';
197
+ import { TabItemProps } from '@salutejs/plasma-new-hope/styled-components';
197
198
  import { TabItemRefs } from '@salutejs/plasma-new-hope/styled-components';
198
199
  import { TabsContext } from '@salutejs/plasma-new-hope/styled-components';
199
200
  import { TabsControllerProps } from '@salutejs/plasma-new-hope/styled-components';
201
+ import { TabsProps } from '@salutejs/plasma-new-hope/styled-components';
200
202
  import { TextareaHTMLAttributes } from '@salutejs/plasma-new-hope/types/types';
201
203
  import { TextFieldGroupProps } from '@salutejs/plasma-new-hope/styled-components';
202
204
  import { TextFieldPrimitiveValue } from '@salutejs/plasma-new-hope/types/components/TextField/TextField.types';
@@ -3912,17 +3914,19 @@ true: PolymorphicClassName;
3912
3914
  // @public (undocumented)
3913
3915
  export type SwitchProps = ComponentProps<typeof SwitchComponent>;
3914
3916
 
3915
- // Warning: (ae-forgotten-export) The symbol "TabItemProps" needs to be exported by the entry point index.d.ts
3917
+ // Warning: (ae-forgotten-export) The symbol "TabItemProps_2" needs to be exported by the entry point index.d.ts
3916
3918
  //
3917
3919
  // @public
3918
- export const TabItem: (props: TabItemProps) => JSX.Element;
3920
+ export const TabItem: (props: TabItemProps_2) => JSX.Element;
3921
+
3922
+ export { TabItemProps }
3919
3923
 
3920
3924
  export { TabItemRefs }
3921
3925
 
3922
- // Warning: (ae-forgotten-export) The symbol "TabsProps" needs to be exported by the entry point index.d.ts
3926
+ // Warning: (ae-forgotten-export) The symbol "TabsProps_2" needs to be exported by the entry point index.d.ts
3923
3927
  //
3924
3928
  // @public
3925
- export const Tabs: (props: TabsProps) => JSX.Element;
3929
+ export const Tabs: (props: TabsProps_2) => JSX.Element;
3926
3930
 
3927
3931
  export { TabsContext }
3928
3932
 
@@ -3931,6 +3935,8 @@ export const TabsController: ForwardRefExoticComponent<TabsControllerProps & Ref
3931
3935
 
3932
3936
  export { TabsControllerProps }
3933
3937
 
3938
+ export { TabsProps }
3939
+
3934
3940
  // @public
3935
3941
  export const TextArea: FunctionComponent<PropsType< {
3936
3942
  size: {
@@ -5,12 +5,8 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.Badge = void 0;
7
7
  var _styledComponents = /*#__PURE__*/require("@salutejs/plasma-new-hope/styled-components");
8
- var _isDraft = /*#__PURE__*/require("../../helpers/isDraft");
9
8
  var _Badge = /*#__PURE__*/require("./Badge.config");
10
- var _BadgeConfig = /*#__PURE__*/require("./Badge.config.draft");
11
- // INFO: После всех изменений draft станет основной конфигурацией
12
-
13
- var mergedConfig = /*#__PURE__*/(0, _styledComponents.mergeConfig)(_styledComponents.badgeConfig, /*#__PURE__*/(0, _isDraft.IS_DRAFT)() ? _BadgeConfig.config : _Badge.config);
9
+ var mergedConfig = /*#__PURE__*/(0, _styledComponents.mergeConfig)(_styledComponents.badgeConfig, _Badge.config);
14
10
 
15
11
  /**
16
12
  * Компонент Badge.
@@ -1,5 +1,5 @@
1
1
  export { TabsController } from './TabsController';
2
2
  export { TabItemRefs, TabsContext } from '@salutejs/plasma-new-hope/styled-components';
3
- export type { TabsControllerProps } from '@salutejs/plasma-new-hope/styled-components';
3
+ export type { TabItemProps, TabsProps, TabsControllerProps } from '@salutejs/plasma-new-hope/styled-components';
4
4
  export { Tabs } from './Tabs';
5
5
  export { TabItem } from './TabItem';
@@ -1,9 +1,6 @@
1
1
  import { badgeConfig, component, mergeConfig } from '@salutejs/plasma-new-hope/styled-components';
2
- import { IS_DRAFT } from '../../helpers/isDraft';
3
2
  import { config } from './Badge.config';
4
- // INFO: После всех изменений draft станет основной конфигурацией
5
- import { config as draft } from './Badge.config.draft';
6
- var mergedConfig = /*#__PURE__*/mergeConfig(badgeConfig, /*#__PURE__*/IS_DRAFT() ? draft : config);
3
+ var mergedConfig = /*#__PURE__*/mergeConfig(badgeConfig, config);
7
4
 
8
5
  /**
9
6
  * Компонент Badge.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salutejs/sdds-finportal",
3
- "version": "0.159.1-canary.1524.11717413596.0",
3
+ "version": "0.159.1-canary.1545.11723071841.0",
4
4
  "description": "Salute Design System / React UI kit for SDDS FinPortal web applications",
5
5
  "author": "Salute Frontend Team <salute.developers@gmail.com>",
6
6
  "license": "MIT",
@@ -19,7 +19,7 @@
19
19
  "directory": "packages/sdds-finportal"
20
20
  },
21
21
  "dependencies": {
22
- "@salutejs/plasma-new-hope": "0.185.0-dev.0",
22
+ "@salutejs/plasma-new-hope": "0.185.1-canary.1545.11723071841.0",
23
23
  "@salutejs/sdds-themes": "0.27.0-dev.0"
24
24
  },
25
25
  "peerDependencies": {
@@ -78,8 +78,6 @@
78
78
  "build:esm": "BABEL_ENV=esm SC_NAMESPACE=sdds-srvc babel ./src --out-dir ./es --extensions .ts,.tsx",
79
79
  "generate:typings": "tsc --outDir . --emitDeclarationOnly",
80
80
  "storybook": "storybook dev -p ${PORT:-7007} -c .storybook",
81
- "storybook:draft": "IS_DRAFT=true storybook dev -p ${PORT:-7007} -c .storybook",
82
- "storybook:build:draft": "IS_DRAFT=true storybook build -c .storybook -o build-sb-draft",
83
81
  "storybook:build": "storybook build -c .storybook -o build-sb",
84
82
  "typescript-coverage": "npx typescript-coverage-report > /dev/null",
85
83
  "lint": "../../node_modules/.bin/eslint ./src --ext .js,.ts,.tsx --quiet"
@@ -96,5 +94,5 @@
96
94
  "Vasiliy Loginevskiy"
97
95
  ],
98
96
  "sideEffects": false,
99
- "gitHead": "3b5b9e0e2ff6a80ff41f332d95d20c10a341af3c"
97
+ "gitHead": "835bddee4a64b83ca24871a48d8861f400ada6dd"
100
98
  }
@@ -194,9 +194,11 @@ import { StepItemProps } from '@salutejs/plasma-new-hope/styled-components';
194
194
  import { StepsProps } from '@salutejs/plasma-new-hope/types/components/Steps/Steps.types';
195
195
  import { StyledComponent } from 'styled-components';
196
196
  import { SwitchProps as SwitchProps_2 } from '@salutejs/plasma-new-hope/styled-components';
197
+ import { TabItemProps } from '@salutejs/plasma-new-hope/styled-components';
197
198
  import { TabItemRefs } from '@salutejs/plasma-new-hope/styled-components';
198
199
  import { TabsContext } from '@salutejs/plasma-new-hope/styled-components';
199
200
  import { TabsControllerProps } from '@salutejs/plasma-new-hope/styled-components';
201
+ import { TabsProps } from '@salutejs/plasma-new-hope/styled-components';
200
202
  import { TextareaHTMLAttributes } from '@salutejs/plasma-new-hope/types/types';
201
203
  import { TextFieldGroupProps } from '@salutejs/plasma-new-hope/styled-components';
202
204
  import { TextFieldPrimitiveValue } from '@salutejs/plasma-new-hope/types/components/TextField/TextField.types';
@@ -3912,17 +3914,19 @@ true: PolymorphicClassName;
3912
3914
  // @public (undocumented)
3913
3915
  export type SwitchProps = ComponentProps<typeof SwitchComponent>;
3914
3916
 
3915
- // Warning: (ae-forgotten-export) The symbol "TabItemProps" needs to be exported by the entry point index.d.ts
3917
+ // Warning: (ae-forgotten-export) The symbol "TabItemProps_2" needs to be exported by the entry point index.d.ts
3916
3918
  //
3917
3919
  // @public
3918
- export const TabItem: (props: TabItemProps) => JSX.Element;
3920
+ export const TabItem: (props: TabItemProps_2) => JSX.Element;
3921
+
3922
+ export { TabItemProps }
3919
3923
 
3920
3924
  export { TabItemRefs }
3921
3925
 
3922
- // Warning: (ae-forgotten-export) The symbol "TabsProps" needs to be exported by the entry point index.d.ts
3926
+ // Warning: (ae-forgotten-export) The symbol "TabsProps_2" needs to be exported by the entry point index.d.ts
3923
3927
  //
3924
3928
  // @public
3925
- export const Tabs: (props: TabsProps) => JSX.Element;
3929
+ export const Tabs: (props: TabsProps_2) => JSX.Element;
3926
3930
 
3927
3931
  export { TabsContext }
3928
3932
 
@@ -3931,6 +3935,8 @@ export const TabsController: ForwardRefExoticComponent<TabsControllerProps & Ref
3931
3935
 
3932
3936
  export { TabsControllerProps }
3933
3937
 
3938
+ export { TabsProps }
3939
+
3934
3940
  // @public
3935
3941
  export const TextArea: FunctionComponent<PropsType< {
3936
3942
  size: {
@@ -1,32 +0,0 @@
1
- export declare const config: {
2
- defaults: {
3
- view: string;
4
- size: string;
5
- };
6
- variations: {
7
- view: {
8
- default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
9
- accent: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
10
- positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
11
- warning: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
12
- negative: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
13
- dark: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
14
- light: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
15
- };
16
- size: {
17
- l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
18
- m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
19
- s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
20
- xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
21
- };
22
- pilled: {
23
- true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
24
- };
25
- transparent: {
26
- true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
27
- };
28
- clear: {
29
- true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
30
- };
31
- };
32
- };
@@ -1,41 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.config = void 0;
7
- var _styledComponents = /*#__PURE__*/require("@salutejs/plasma-new-hope/styled-components");
8
- var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14;
9
- function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
10
- var config = exports.config = {
11
- defaults: {
12
- view: 'default',
13
- size: 'm'
14
- },
15
- variations: {
16
- view: {
17
- "default": /*#__PURE__*/(0, _styledComponents.css)(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--inverse-text-primary);\n ", ": var(--surface-solid-default);\n\n ", ": var(--text-primary);\n ", ": var(--surface-transparent-secondary);\n\n ", ": var(--text-primary);\n "])), _styledComponents.badgeTokens.color, _styledComponents.badgeTokens.background, _styledComponents.badgeTokens.colorTransparent, _styledComponents.badgeTokens.backgroundTransparent, _styledComponents.badgeTokens.colorClear),
18
- accent: /*#__PURE__*/(0, _styledComponents.css)(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--on-dark-text-primary);\n ", ": var(--surface-accent);\n\n ", ": var(--text-accent);\n ", ": var(--surface-transparent-accent);\n\n ", ": var(--text-accent);\n "])), _styledComponents.badgeTokens.color, _styledComponents.badgeTokens.background, _styledComponents.badgeTokens.colorTransparent, _styledComponents.badgeTokens.backgroundTransparent, _styledComponents.badgeTokens.colorClear),
19
- positive: /*#__PURE__*/(0, _styledComponents.css)(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--on-dark-text-primary);\n ", ": var(--surface-positive);\n\n ", ": var(--text-positive);\n ", ": var(--surface-transparent-positive);\n\n ", ": var(--text-positive);\n "])), _styledComponents.badgeTokens.color, _styledComponents.badgeTokens.background, _styledComponents.badgeTokens.colorTransparent, _styledComponents.badgeTokens.backgroundTransparent, _styledComponents.badgeTokens.colorClear),
20
- warning: /*#__PURE__*/(0, _styledComponents.css)(_templateObject4 || (_templateObject4 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--on-dark-text-primary);\n ", ": var(--surface-warning);\n\n ", ": var(--text-warning);\n ", ": var(--surface-transparent-warning);\n\n ", ": var(--text-warning);\n "])), _styledComponents.badgeTokens.color, _styledComponents.badgeTokens.background, _styledComponents.badgeTokens.colorTransparent, _styledComponents.badgeTokens.backgroundTransparent, _styledComponents.badgeTokens.colorClear),
21
- negative: /*#__PURE__*/(0, _styledComponents.css)(_templateObject5 || (_templateObject5 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--on-dark-text-primary);\n ", ": var(--surface-negative);\n\n ", ": var(--text-negative);\n ", ": var(--surface-transparent-negative);\n\n ", ": var(--text-negative);\n "])), _styledComponents.badgeTokens.color, _styledComponents.badgeTokens.background, _styledComponents.badgeTokens.colorTransparent, _styledComponents.badgeTokens.backgroundTransparent, _styledComponents.badgeTokens.colorClear),
22
- dark: /*#__PURE__*/(0, _styledComponents.css)(_templateObject6 || (_templateObject6 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--on-dark-text-primary);\n ", ": var(--on-light-surface-solid-default);\n\n ", ": var(--on-dark-text-primary);\n ", ": var(--on-light-surface-transparent-deep);\n\n ", ": var(--on-light-text-primary);\n "])), _styledComponents.badgeTokens.color, _styledComponents.badgeTokens.background, _styledComponents.badgeTokens.colorTransparent, _styledComponents.badgeTokens.backgroundTransparent, _styledComponents.badgeTokens.colorClear),
23
- light: /*#__PURE__*/(0, _styledComponents.css)(_templateObject7 || (_templateObject7 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--on-light-text-primary);\n ", ": var(--on-dark-surface-solid-default);\n\n ", ": var(--on-dark-text-primary);\n ", ": var(--on-dark-surface-transparent-card);\n\n ", ": var(--on-dark-text-primary);\n "])), _styledComponents.badgeTokens.color, _styledComponents.badgeTokens.background, _styledComponents.badgeTokens.colorTransparent, _styledComponents.badgeTokens.backgroundTransparent, _styledComponents.badgeTokens.colorClear)
24
- },
25
- size: {
26
- l: /*#__PURE__*/(0, _styledComponents.css)(_templateObject8 || (_templateObject8 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.5rem;\n ", ": 1.75rem;\n\n ", ": 0.25rem;\n ", ": 0.25rem;\n\n ", ": 0.75rem;\n ", ": 0.75rem;\n\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-font-weight);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n\n ", ": -0.25rem;\n ", ": 0.25rem;\n\n ", ": 0.25rem;\n ", ": -0.25rem;\n "])), _styledComponents.badgeTokens.borderRadius, _styledComponents.badgeTokens.height, _styledComponents.badgeTokens.paddingTop, _styledComponents.badgeTokens.paddingBottom, _styledComponents.badgeTokens.paddingRight, _styledComponents.badgeTokens.paddingLeft, _styledComponents.badgeTokens.fontFamily, _styledComponents.badgeTokens.fontSize, _styledComponents.badgeTokens.fontStyle, _styledComponents.badgeTokens.fontWeight, _styledComponents.badgeTokens.letterSpacing, _styledComponents.badgeTokens.lineHeight, _styledComponents.badgeTokens.leftContentMarginLeft, _styledComponents.badgeTokens.leftContentMarginRight, _styledComponents.badgeTokens.rightContentMarginLeft, _styledComponents.badgeTokens.rightContentMarginRight),
27
- m: /*#__PURE__*/(0, _styledComponents.css)(_templateObject9 || (_templateObject9 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.375rem;\n ", ": 1.5rem;\n\n ", ": 0.25rem;\n ", ": 0.25rem;\n\n ", ": 0.5rem;\n ", ": 0.5rem;\n\n ", ": var(--plasma-typo-body-xs-font-family);\n ", ": var(--plasma-typo-body-xs-font-size);\n ", ": var(--plasma-typo-body-xs-font-style);\n ", ": var(--plasma-typo-body-xs-font-weight);\n ", ": var(--plasma-typo-body-xs-letter-spacing);\n ", ": var(--plasma-typo-body-xs-line-height);\n\n ", ": -0.0625rem;\n ", ": 0.1875rem;\n\n ", ": 0.1875rem;\n ", ": -0.0625rem;\n "])), _styledComponents.badgeTokens.borderRadius, _styledComponents.badgeTokens.height, _styledComponents.badgeTokens.paddingTop, _styledComponents.badgeTokens.paddingBottom, _styledComponents.badgeTokens.paddingRight, _styledComponents.badgeTokens.paddingLeft, _styledComponents.badgeTokens.fontFamily, _styledComponents.badgeTokens.fontSize, _styledComponents.badgeTokens.fontStyle, _styledComponents.badgeTokens.fontWeight, _styledComponents.badgeTokens.letterSpacing, _styledComponents.badgeTokens.lineHeight, _styledComponents.badgeTokens.leftContentMarginLeft, _styledComponents.badgeTokens.leftContentMarginRight, _styledComponents.badgeTokens.rightContentMarginLeft, _styledComponents.badgeTokens.rightContentMarginRight),
28
- s: /*#__PURE__*/(0, _styledComponents.css)(_templateObject10 || (_templateObject10 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.375rem;\n ", ": 1.25rem;\n\n ", ": 0.188rem;\n ", ": 0.188rem;\n\n ", ": 0.5rem;\n ", ": 0.5rem;\n\n ", ": var(--plasma-typo-body-xxs-font-family);\n ", ": var(--plasma-typo-body-xxs-font-size);\n ", ": var(--plasma-typo-body-xxs-font-style);\n ", ": var(--plasma-typo-body-xxs-font-weight);\n ", ": var(--plasma-typo-body-xxs-letter-spacing);\n ", ": var(--plasma-typo-body-xxs-line-height);\n\n ", ": -0.0625rem;\n ", ": 0.125rem;\n\n ", ": 0.125rem;\n ", ": -0.0625rem;\n "])), _styledComponents.badgeTokens.borderRadius, _styledComponents.badgeTokens.height, _styledComponents.badgeTokens.paddingTop, _styledComponents.badgeTokens.paddingBottom, _styledComponents.badgeTokens.paddingRight, _styledComponents.badgeTokens.paddingLeft, _styledComponents.badgeTokens.fontFamily, _styledComponents.badgeTokens.fontSize, _styledComponents.badgeTokens.fontStyle, _styledComponents.badgeTokens.fontWeight, _styledComponents.badgeTokens.letterSpacing, _styledComponents.badgeTokens.lineHeight, _styledComponents.badgeTokens.leftContentMarginLeft, _styledComponents.badgeTokens.leftContentMarginRight, _styledComponents.badgeTokens.rightContentMarginLeft, _styledComponents.badgeTokens.rightContentMarginRight),
29
- xs: /*#__PURE__*/(0, _styledComponents.css)(_templateObject11 || (_templateObject11 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.25rem;\n ", ": 1rem;\n ", ": 0.25rem;\n ", ": 0.25rem;\n\n ", ": var(--plasma-typo-body-xxs-font-family);\n ", ": var(--plasma-typo-body-xxs-font-size);\n ", ": var(--plasma-typo-body-xxs-font-style);\n ", ": var(--plasma-typo-body-xxs-font-weight);\n ", ": var(--plasma-typo-body-xxs-letter-spacing);\n ", ": var(--plasma-typo-body-xxs-line-height);\n\n ", ": -0.0625rem;\n ", ": 0.125rem;\n\n ", ": 0.125rem;\n ", ": -0.0625rem;\n "])), _styledComponents.badgeTokens.borderRadius, _styledComponents.badgeTokens.height, _styledComponents.badgeTokens.paddingRight, _styledComponents.badgeTokens.paddingLeft, _styledComponents.badgeTokens.fontFamily, _styledComponents.badgeTokens.fontSize, _styledComponents.badgeTokens.fontStyle, _styledComponents.badgeTokens.fontWeight, _styledComponents.badgeTokens.letterSpacing, _styledComponents.badgeTokens.lineHeight, _styledComponents.badgeTokens.leftContentMarginLeft, _styledComponents.badgeTokens.leftContentMarginRight, _styledComponents.badgeTokens.rightContentMarginLeft, _styledComponents.badgeTokens.rightContentMarginRight)
30
- },
31
- pilled: {
32
- "true": /*#__PURE__*/(0, _styledComponents.css)(_templateObject12 || (_templateObject12 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1.25rem;\n "])), _styledComponents.badgeTokens.pilledBorderRadius)
33
- },
34
- transparent: {
35
- "true": /*#__PURE__*/(0, _styledComponents.css)(_templateObject13 || (_templateObject13 = /*#__PURE__*/_taggedTemplateLiteral([""])))
36
- },
37
- clear: {
38
- "true": /*#__PURE__*/(0, _styledComponents.css)(_templateObject14 || (_templateObject14 = /*#__PURE__*/_taggedTemplateLiteral([""])))
39
- }
40
- }
41
- };
@@ -1,35 +0,0 @@
1
- var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14;
2
- function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
3
- import { css, badgeTokens } from '@salutejs/plasma-new-hope/styled-components';
4
- export var config = {
5
- defaults: {
6
- view: 'default',
7
- size: 'm'
8
- },
9
- variations: {
10
- view: {
11
- "default": /*#__PURE__*/css(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--inverse-text-primary);\n ", ": var(--surface-solid-default);\n\n ", ": var(--text-primary);\n ", ": var(--surface-transparent-secondary);\n\n ", ": var(--text-primary);\n "])), badgeTokens.color, badgeTokens.background, badgeTokens.colorTransparent, badgeTokens.backgroundTransparent, badgeTokens.colorClear),
12
- accent: /*#__PURE__*/css(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--on-dark-text-primary);\n ", ": var(--surface-accent);\n\n ", ": var(--text-accent);\n ", ": var(--surface-transparent-accent);\n\n ", ": var(--text-accent);\n "])), badgeTokens.color, badgeTokens.background, badgeTokens.colorTransparent, badgeTokens.backgroundTransparent, badgeTokens.colorClear),
13
- positive: /*#__PURE__*/css(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--on-dark-text-primary);\n ", ": var(--surface-positive);\n\n ", ": var(--text-positive);\n ", ": var(--surface-transparent-positive);\n\n ", ": var(--text-positive);\n "])), badgeTokens.color, badgeTokens.background, badgeTokens.colorTransparent, badgeTokens.backgroundTransparent, badgeTokens.colorClear),
14
- warning: /*#__PURE__*/css(_templateObject4 || (_templateObject4 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--on-dark-text-primary);\n ", ": var(--surface-warning);\n\n ", ": var(--text-warning);\n ", ": var(--surface-transparent-warning);\n\n ", ": var(--text-warning);\n "])), badgeTokens.color, badgeTokens.background, badgeTokens.colorTransparent, badgeTokens.backgroundTransparent, badgeTokens.colorClear),
15
- negative: /*#__PURE__*/css(_templateObject5 || (_templateObject5 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--on-dark-text-primary);\n ", ": var(--surface-negative);\n\n ", ": var(--text-negative);\n ", ": var(--surface-transparent-negative);\n\n ", ": var(--text-negative);\n "])), badgeTokens.color, badgeTokens.background, badgeTokens.colorTransparent, badgeTokens.backgroundTransparent, badgeTokens.colorClear),
16
- dark: /*#__PURE__*/css(_templateObject6 || (_templateObject6 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--on-dark-text-primary);\n ", ": var(--on-light-surface-solid-default);\n\n ", ": var(--on-dark-text-primary);\n ", ": var(--on-light-surface-transparent-deep);\n\n ", ": var(--on-light-text-primary);\n "])), badgeTokens.color, badgeTokens.background, badgeTokens.colorTransparent, badgeTokens.backgroundTransparent, badgeTokens.colorClear),
17
- light: /*#__PURE__*/css(_templateObject7 || (_templateObject7 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--on-light-text-primary);\n ", ": var(--on-dark-surface-solid-default);\n\n ", ": var(--on-dark-text-primary);\n ", ": var(--on-dark-surface-transparent-card);\n\n ", ": var(--on-dark-text-primary);\n "])), badgeTokens.color, badgeTokens.background, badgeTokens.colorTransparent, badgeTokens.backgroundTransparent, badgeTokens.colorClear)
18
- },
19
- size: {
20
- l: /*#__PURE__*/css(_templateObject8 || (_templateObject8 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.5rem;\n ", ": 1.75rem;\n\n ", ": 0.25rem;\n ", ": 0.25rem;\n\n ", ": 0.75rem;\n ", ": 0.75rem;\n\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-font-weight);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n\n ", ": -0.25rem;\n ", ": 0.25rem;\n\n ", ": 0.25rem;\n ", ": -0.25rem;\n "])), badgeTokens.borderRadius, badgeTokens.height, badgeTokens.paddingTop, badgeTokens.paddingBottom, badgeTokens.paddingRight, badgeTokens.paddingLeft, badgeTokens.fontFamily, badgeTokens.fontSize, badgeTokens.fontStyle, badgeTokens.fontWeight, badgeTokens.letterSpacing, badgeTokens.lineHeight, badgeTokens.leftContentMarginLeft, badgeTokens.leftContentMarginRight, badgeTokens.rightContentMarginLeft, badgeTokens.rightContentMarginRight),
21
- m: /*#__PURE__*/css(_templateObject9 || (_templateObject9 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.375rem;\n ", ": 1.5rem;\n\n ", ": 0.25rem;\n ", ": 0.25rem;\n\n ", ": 0.5rem;\n ", ": 0.5rem;\n\n ", ": var(--plasma-typo-body-xs-font-family);\n ", ": var(--plasma-typo-body-xs-font-size);\n ", ": var(--plasma-typo-body-xs-font-style);\n ", ": var(--plasma-typo-body-xs-font-weight);\n ", ": var(--plasma-typo-body-xs-letter-spacing);\n ", ": var(--plasma-typo-body-xs-line-height);\n\n ", ": -0.0625rem;\n ", ": 0.1875rem;\n\n ", ": 0.1875rem;\n ", ": -0.0625rem;\n "])), badgeTokens.borderRadius, badgeTokens.height, badgeTokens.paddingTop, badgeTokens.paddingBottom, badgeTokens.paddingRight, badgeTokens.paddingLeft, badgeTokens.fontFamily, badgeTokens.fontSize, badgeTokens.fontStyle, badgeTokens.fontWeight, badgeTokens.letterSpacing, badgeTokens.lineHeight, badgeTokens.leftContentMarginLeft, badgeTokens.leftContentMarginRight, badgeTokens.rightContentMarginLeft, badgeTokens.rightContentMarginRight),
22
- s: /*#__PURE__*/css(_templateObject10 || (_templateObject10 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.375rem;\n ", ": 1.25rem;\n\n ", ": 0.188rem;\n ", ": 0.188rem;\n\n ", ": 0.5rem;\n ", ": 0.5rem;\n\n ", ": var(--plasma-typo-body-xxs-font-family);\n ", ": var(--plasma-typo-body-xxs-font-size);\n ", ": var(--plasma-typo-body-xxs-font-style);\n ", ": var(--plasma-typo-body-xxs-font-weight);\n ", ": var(--plasma-typo-body-xxs-letter-spacing);\n ", ": var(--plasma-typo-body-xxs-line-height);\n\n ", ": -0.0625rem;\n ", ": 0.125rem;\n\n ", ": 0.125rem;\n ", ": -0.0625rem;\n "])), badgeTokens.borderRadius, badgeTokens.height, badgeTokens.paddingTop, badgeTokens.paddingBottom, badgeTokens.paddingRight, badgeTokens.paddingLeft, badgeTokens.fontFamily, badgeTokens.fontSize, badgeTokens.fontStyle, badgeTokens.fontWeight, badgeTokens.letterSpacing, badgeTokens.lineHeight, badgeTokens.leftContentMarginLeft, badgeTokens.leftContentMarginRight, badgeTokens.rightContentMarginLeft, badgeTokens.rightContentMarginRight),
23
- xs: /*#__PURE__*/css(_templateObject11 || (_templateObject11 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.25rem;\n ", ": 1rem;\n ", ": 0.25rem;\n ", ": 0.25rem;\n\n ", ": var(--plasma-typo-body-xxs-font-family);\n ", ": var(--plasma-typo-body-xxs-font-size);\n ", ": var(--plasma-typo-body-xxs-font-style);\n ", ": var(--plasma-typo-body-xxs-font-weight);\n ", ": var(--plasma-typo-body-xxs-letter-spacing);\n ", ": var(--plasma-typo-body-xxs-line-height);\n\n ", ": -0.0625rem;\n ", ": 0.125rem;\n\n ", ": 0.125rem;\n ", ": -0.0625rem;\n "])), badgeTokens.borderRadius, badgeTokens.height, badgeTokens.paddingRight, badgeTokens.paddingLeft, badgeTokens.fontFamily, badgeTokens.fontSize, badgeTokens.fontStyle, badgeTokens.fontWeight, badgeTokens.letterSpacing, badgeTokens.lineHeight, badgeTokens.leftContentMarginLeft, badgeTokens.leftContentMarginRight, badgeTokens.rightContentMarginLeft, badgeTokens.rightContentMarginRight)
24
- },
25
- pilled: {
26
- "true": /*#__PURE__*/css(_templateObject12 || (_templateObject12 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1.25rem;\n "])), badgeTokens.pilledBorderRadius)
27
- },
28
- transparent: {
29
- "true": /*#__PURE__*/css(_templateObject13 || (_templateObject13 = /*#__PURE__*/_taggedTemplateLiteral([""])))
30
- },
31
- clear: {
32
- "true": /*#__PURE__*/css(_templateObject14 || (_templateObject14 = /*#__PURE__*/_taggedTemplateLiteral([""])))
33
- }
34
- }
35
- };
@@ -1 +0,0 @@
1
- export declare const IS_DRAFT: () => boolean;