@salutejs/sdds-finportal 0.161.1-canary.1545.11773810119.0 → 0.162.0-canary.1546.11776758496.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -582,12 +582,15 @@ true: PolymorphicClassName;
582
582
  };
583
583
  }> & ((HTMLAttributes<HTMLDivElement> & {
584
584
  text?: string | undefined;
585
- contentLeft?: ReactNode;
586
- contentRight?: ReactNode;
585
+ customColor?: string | undefined;
586
+ customBackgroundColor?: string | undefined;
587
587
  maxWidth?: Property.Width<string | number> | undefined;
588
588
  size?: string | undefined;
589
589
  view?: string | undefined;
590
590
  } & {
591
+ contentLeft?: ReactNode;
592
+ contentRight?: undefined;
593
+ } & {
591
594
  children?: ReactNode;
592
595
  } & {
593
596
  clear?: true | undefined;
@@ -595,12 +598,15 @@ pilled?: false | undefined;
595
598
  transparent?: false | undefined;
596
599
  } & RefAttributes<HTMLDivElement>) | (HTMLAttributes<HTMLDivElement> & {
597
600
  text?: string | undefined;
598
- contentLeft?: ReactNode;
599
- contentRight?: ReactNode;
601
+ customColor?: string | undefined;
602
+ customBackgroundColor?: string | undefined;
600
603
  maxWidth?: Property.Width<string | number> | undefined;
601
604
  size?: string | undefined;
602
605
  view?: string | undefined;
603
606
  } & {
607
+ contentLeft?: ReactNode;
608
+ contentRight?: undefined;
609
+ } & {
604
610
  children?: ReactNode;
605
611
  } & {
606
612
  pilled?: true | undefined;
@@ -608,12 +614,63 @@ transparent?: boolean | undefined;
608
614
  clear?: false | undefined;
609
615
  } & RefAttributes<HTMLDivElement>) | (HTMLAttributes<HTMLDivElement> & {
610
616
  text?: string | undefined;
617
+ customColor?: string | undefined;
618
+ customBackgroundColor?: string | undefined;
619
+ maxWidth?: Property.Width<string | number> | undefined;
620
+ size?: string | undefined;
621
+ view?: string | undefined;
622
+ } & {
611
623
  contentLeft?: ReactNode;
624
+ contentRight?: undefined;
625
+ } & {
626
+ children?: ReactNode;
627
+ } & {
628
+ pilled?: boolean | undefined;
629
+ transparent?: true | undefined;
630
+ clear?: false | undefined;
631
+ } & RefAttributes<HTMLDivElement>) | (HTMLAttributes<HTMLDivElement> & {
632
+ text?: string | undefined;
633
+ customColor?: string | undefined;
634
+ customBackgroundColor?: string | undefined;
635
+ maxWidth?: Property.Width<string | number> | undefined;
636
+ size?: string | undefined;
637
+ view?: string | undefined;
638
+ } & {
639
+ contentLeft?: undefined;
612
640
  contentRight?: ReactNode;
641
+ } & {
642
+ children?: ReactNode;
643
+ } & {
644
+ clear?: true | undefined;
645
+ pilled?: false | undefined;
646
+ transparent?: false | undefined;
647
+ } & RefAttributes<HTMLDivElement>) | (HTMLAttributes<HTMLDivElement> & {
648
+ text?: string | undefined;
649
+ customColor?: string | undefined;
650
+ customBackgroundColor?: string | undefined;
613
651
  maxWidth?: Property.Width<string | number> | undefined;
614
652
  size?: string | undefined;
615
653
  view?: string | undefined;
616
654
  } & {
655
+ contentLeft?: undefined;
656
+ contentRight?: ReactNode;
657
+ } & {
658
+ children?: ReactNode;
659
+ } & {
660
+ pilled?: true | undefined;
661
+ transparent?: boolean | undefined;
662
+ clear?: false | undefined;
663
+ } & RefAttributes<HTMLDivElement>) | (HTMLAttributes<HTMLDivElement> & {
664
+ text?: string | undefined;
665
+ customColor?: string | undefined;
666
+ customBackgroundColor?: string | undefined;
667
+ maxWidth?: Property.Width<string | number> | undefined;
668
+ size?: string | undefined;
669
+ view?: string | undefined;
670
+ } & {
671
+ contentLeft?: undefined;
672
+ contentRight?: ReactNode;
673
+ } & {
617
674
  children?: ReactNode;
618
675
  } & {
619
676
  pilled?: boolean | undefined;
@@ -23,10 +23,10 @@ var config = exports.config = {
23
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
24
  },
25
25
  size: {
26
- l: /*#__PURE__*/(0, _styledComponents.css)(_templateObject8 || (_templateObject8 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.5rem;\n ", ": 1.75rem;\n ", ": 0.6875rem;\n ", ": 0.6875rem;\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.0625rem;\n ", ": 0.25rem;\n\n ", ": 0.25rem;\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),
27
- m: /*#__PURE__*/(0, _styledComponents.css)(_templateObject9 || (_templateObject9 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.375rem;\n ", ": 1.5rem;\n ", ": 0.5625rem;\n ", ": 0.5625rem;\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.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 ", ": 0.4375rem;\n ", ": 0.4375rem;\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),
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)
26
+ l: /*#__PURE__*/(0, _styledComponents.css)(_templateObject8 || (_templateObject8 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.5rem;\n ", ": 1.75rem;\n ", ": 0 0.6875rem;\n ", ": 0 0.375rem;\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.0625rem;\n ", ": 0.25rem;\n\n ", ": 0.25rem;\n ", ": -0.0625rem;\n "])), _styledComponents.badgeTokens.borderRadius, _styledComponents.badgeTokens.height, _styledComponents.badgeTokens.padding, _styledComponents.badgeTokens.paddingIconOnly, _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 ", ": 0 0.5625rem;\n ", ": 0 0.375rem;\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.padding, _styledComponents.badgeTokens.paddingIconOnly, _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 ", ": 0 0.4375rem;\n ", ": 0 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.padding, _styledComponents.badgeTokens.paddingIconOnly, _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 0.25rem;\n ", ": 0 0.188rem;\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.padding, _styledComponents.badgeTokens.paddingIconOnly, _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
30
  },
31
31
  pilled: {
32
32
  "true": /*#__PURE__*/(0, _styledComponents.css)(_templateObject12 || (_templateObject12 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1.25rem;\n "])), _styledComponents.badgeTokens.pilledBorderRadius)
@@ -35,7 +35,7 @@ var config = exports.config = {
35
35
  "true": /*#__PURE__*/(0, _styledComponents.css)(_templateObject13 || (_templateObject13 = /*#__PURE__*/_taggedTemplateLiteral([""])))
36
36
  },
37
37
  clear: {
38
- "true": /*#__PURE__*/(0, _styledComponents.css)(_templateObject14 || (_templateObject14 = /*#__PURE__*/_taggedTemplateLiteral([""])))
38
+ "true": /*#__PURE__*/(0, _styledComponents.css)(_templateObject14 || (_templateObject14 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--surface-clear);\n "])), _styledComponents.badgeTokens.backgroundClear)
39
39
  }
40
40
  }
41
41
  };
@@ -29,11 +29,14 @@ export declare const Badge: import("react").FunctionComponent<import("@salutejs/
29
29
  };
30
30
  }> & ((import("react").HTMLAttributes<HTMLDivElement> & {
31
31
  text?: string | undefined;
32
- contentLeft?: import("react").ReactNode;
33
- contentRight?: import("react").ReactNode;
32
+ customColor?: string | undefined;
33
+ customBackgroundColor?: string | undefined;
34
34
  maxWidth?: import("csstype").Property.Width<string | number> | undefined;
35
35
  size?: string | undefined;
36
36
  view?: string | undefined;
37
+ } & {
38
+ contentLeft?: import("react").ReactNode;
39
+ contentRight?: undefined;
37
40
  } & {
38
41
  children?: import("react").ReactNode;
39
42
  } & {
@@ -42,11 +45,14 @@ export declare const Badge: import("react").FunctionComponent<import("@salutejs/
42
45
  transparent?: false | undefined;
43
46
  } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
44
47
  text?: string | undefined;
45
- contentLeft?: import("react").ReactNode;
46
- contentRight?: import("react").ReactNode;
48
+ customColor?: string | undefined;
49
+ customBackgroundColor?: string | undefined;
47
50
  maxWidth?: import("csstype").Property.Width<string | number> | undefined;
48
51
  size?: string | undefined;
49
52
  view?: string | undefined;
53
+ } & {
54
+ contentLeft?: import("react").ReactNode;
55
+ contentRight?: undefined;
50
56
  } & {
51
57
  children?: import("react").ReactNode;
52
58
  } & {
@@ -55,11 +61,62 @@ export declare const Badge: import("react").FunctionComponent<import("@salutejs/
55
61
  clear?: false | undefined;
56
62
  } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
57
63
  text?: string | undefined;
64
+ customColor?: string | undefined;
65
+ customBackgroundColor?: string | undefined;
66
+ maxWidth?: import("csstype").Property.Width<string | number> | undefined;
67
+ size?: string | undefined;
68
+ view?: string | undefined;
69
+ } & {
58
70
  contentLeft?: import("react").ReactNode;
71
+ contentRight?: undefined;
72
+ } & {
73
+ children?: import("react").ReactNode;
74
+ } & {
75
+ pilled?: boolean | undefined;
76
+ transparent?: true | undefined;
77
+ clear?: false | undefined;
78
+ } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
79
+ text?: string | undefined;
80
+ customColor?: string | undefined;
81
+ customBackgroundColor?: string | undefined;
82
+ maxWidth?: import("csstype").Property.Width<string | number> | undefined;
83
+ size?: string | undefined;
84
+ view?: string | undefined;
85
+ } & {
86
+ contentLeft?: undefined;
59
87
  contentRight?: import("react").ReactNode;
88
+ } & {
89
+ children?: import("react").ReactNode;
90
+ } & {
91
+ clear?: true | undefined;
92
+ pilled?: false | undefined;
93
+ transparent?: false | undefined;
94
+ } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
95
+ text?: string | undefined;
96
+ customColor?: string | undefined;
97
+ customBackgroundColor?: string | undefined;
60
98
  maxWidth?: import("csstype").Property.Width<string | number> | undefined;
61
99
  size?: string | undefined;
62
100
  view?: string | undefined;
101
+ } & {
102
+ contentLeft?: undefined;
103
+ contentRight?: import("react").ReactNode;
104
+ } & {
105
+ children?: import("react").ReactNode;
106
+ } & {
107
+ pilled?: true | undefined;
108
+ transparent?: boolean | undefined;
109
+ clear?: false | undefined;
110
+ } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
111
+ text?: string | undefined;
112
+ customColor?: string | undefined;
113
+ customBackgroundColor?: string | undefined;
114
+ maxWidth?: import("csstype").Property.Width<string | number> | undefined;
115
+ size?: string | undefined;
116
+ view?: string | undefined;
117
+ } & {
118
+ contentLeft?: undefined;
119
+ contentRight?: import("react").ReactNode;
63
120
  } & {
64
121
  children?: import("react").ReactNode;
65
122
  } & {
@@ -17,10 +17,10 @@ export var config = {
17
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
18
  },
19
19
  size: {
20
- l: /*#__PURE__*/css(_templateObject8 || (_templateObject8 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.5rem;\n ", ": 1.75rem;\n ", ": 0.6875rem;\n ", ": 0.6875rem;\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.0625rem;\n ", ": 0.25rem;\n\n ", ": 0.25rem;\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),
21
- m: /*#__PURE__*/css(_templateObject9 || (_templateObject9 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.375rem;\n ", ": 1.5rem;\n ", ": 0.5625rem;\n ", ": 0.5625rem;\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.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 ", ": 0.4375rem;\n ", ": 0.4375rem;\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),
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)
20
+ l: /*#__PURE__*/css(_templateObject8 || (_templateObject8 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.5rem;\n ", ": 1.75rem;\n ", ": 0 0.6875rem;\n ", ": 0 0.375rem;\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.0625rem;\n ", ": 0.25rem;\n\n ", ": 0.25rem;\n ", ": -0.0625rem;\n "])), badgeTokens.borderRadius, badgeTokens.height, badgeTokens.padding, badgeTokens.paddingIconOnly, 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 ", ": 0 0.5625rem;\n ", ": 0 0.375rem;\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.padding, badgeTokens.paddingIconOnly, 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 ", ": 0 0.4375rem;\n ", ": 0 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.padding, badgeTokens.paddingIconOnly, 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 0.25rem;\n ", ": 0 0.188rem;\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.padding, badgeTokens.paddingIconOnly, badgeTokens.fontFamily, badgeTokens.fontSize, badgeTokens.fontStyle, badgeTokens.fontWeight, badgeTokens.letterSpacing, badgeTokens.lineHeight, badgeTokens.leftContentMarginLeft, badgeTokens.leftContentMarginRight, badgeTokens.rightContentMarginLeft, badgeTokens.rightContentMarginRight)
24
24
  },
25
25
  pilled: {
26
26
  "true": /*#__PURE__*/css(_templateObject12 || (_templateObject12 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1.25rem;\n "])), badgeTokens.pilledBorderRadius)
@@ -29,7 +29,7 @@ export var config = {
29
29
  "true": /*#__PURE__*/css(_templateObject13 || (_templateObject13 = /*#__PURE__*/_taggedTemplateLiteral([""])))
30
30
  },
31
31
  clear: {
32
- "true": /*#__PURE__*/css(_templateObject14 || (_templateObject14 = /*#__PURE__*/_taggedTemplateLiteral([""])))
32
+ "true": /*#__PURE__*/css(_templateObject14 || (_templateObject14 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--surface-clear);\n "])), badgeTokens.backgroundClear)
33
33
  }
34
34
  }
35
35
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salutejs/sdds-finportal",
3
- "version": "0.161.1-canary.1545.11773810119.0",
3
+ "version": "0.162.0-canary.1546.11776758496.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.187.1-canary.1545.11773810119.0",
22
+ "@salutejs/plasma-new-hope": "0.188.0-canary.1546.11776758496.0",
23
23
  "@salutejs/sdds-themes": "0.27.0-dev.0"
24
24
  },
25
25
  "peerDependencies": {
@@ -94,5 +94,5 @@
94
94
  "Vasiliy Loginevskiy"
95
95
  ],
96
96
  "sideEffects": false,
97
- "gitHead": "b755957e1ac85618c7edd8f35b816ff9783262c0"
97
+ "gitHead": "5cfd3cba8e94a84f382c15eea021fbf3f050fff4"
98
98
  }
@@ -582,12 +582,15 @@ true: PolymorphicClassName;
582
582
  };
583
583
  }> & ((HTMLAttributes<HTMLDivElement> & {
584
584
  text?: string | undefined;
585
- contentLeft?: ReactNode;
586
- contentRight?: ReactNode;
585
+ customColor?: string | undefined;
586
+ customBackgroundColor?: string | undefined;
587
587
  maxWidth?: Property.Width<string | number> | undefined;
588
588
  size?: string | undefined;
589
589
  view?: string | undefined;
590
590
  } & {
591
+ contentLeft?: ReactNode;
592
+ contentRight?: undefined;
593
+ } & {
591
594
  children?: ReactNode;
592
595
  } & {
593
596
  clear?: true | undefined;
@@ -595,12 +598,15 @@ pilled?: false | undefined;
595
598
  transparent?: false | undefined;
596
599
  } & RefAttributes<HTMLDivElement>) | (HTMLAttributes<HTMLDivElement> & {
597
600
  text?: string | undefined;
598
- contentLeft?: ReactNode;
599
- contentRight?: ReactNode;
601
+ customColor?: string | undefined;
602
+ customBackgroundColor?: string | undefined;
600
603
  maxWidth?: Property.Width<string | number> | undefined;
601
604
  size?: string | undefined;
602
605
  view?: string | undefined;
603
606
  } & {
607
+ contentLeft?: ReactNode;
608
+ contentRight?: undefined;
609
+ } & {
604
610
  children?: ReactNode;
605
611
  } & {
606
612
  pilled?: true | undefined;
@@ -608,12 +614,63 @@ transparent?: boolean | undefined;
608
614
  clear?: false | undefined;
609
615
  } & RefAttributes<HTMLDivElement>) | (HTMLAttributes<HTMLDivElement> & {
610
616
  text?: string | undefined;
617
+ customColor?: string | undefined;
618
+ customBackgroundColor?: string | undefined;
619
+ maxWidth?: Property.Width<string | number> | undefined;
620
+ size?: string | undefined;
621
+ view?: string | undefined;
622
+ } & {
611
623
  contentLeft?: ReactNode;
624
+ contentRight?: undefined;
625
+ } & {
626
+ children?: ReactNode;
627
+ } & {
628
+ pilled?: boolean | undefined;
629
+ transparent?: true | undefined;
630
+ clear?: false | undefined;
631
+ } & RefAttributes<HTMLDivElement>) | (HTMLAttributes<HTMLDivElement> & {
632
+ text?: string | undefined;
633
+ customColor?: string | undefined;
634
+ customBackgroundColor?: string | undefined;
635
+ maxWidth?: Property.Width<string | number> | undefined;
636
+ size?: string | undefined;
637
+ view?: string | undefined;
638
+ } & {
639
+ contentLeft?: undefined;
612
640
  contentRight?: ReactNode;
641
+ } & {
642
+ children?: ReactNode;
643
+ } & {
644
+ clear?: true | undefined;
645
+ pilled?: false | undefined;
646
+ transparent?: false | undefined;
647
+ } & RefAttributes<HTMLDivElement>) | (HTMLAttributes<HTMLDivElement> & {
648
+ text?: string | undefined;
649
+ customColor?: string | undefined;
650
+ customBackgroundColor?: string | undefined;
613
651
  maxWidth?: Property.Width<string | number> | undefined;
614
652
  size?: string | undefined;
615
653
  view?: string | undefined;
616
654
  } & {
655
+ contentLeft?: undefined;
656
+ contentRight?: ReactNode;
657
+ } & {
658
+ children?: ReactNode;
659
+ } & {
660
+ pilled?: true | undefined;
661
+ transparent?: boolean | undefined;
662
+ clear?: false | undefined;
663
+ } & RefAttributes<HTMLDivElement>) | (HTMLAttributes<HTMLDivElement> & {
664
+ text?: string | undefined;
665
+ customColor?: string | undefined;
666
+ customBackgroundColor?: string | undefined;
667
+ maxWidth?: Property.Width<string | number> | undefined;
668
+ size?: string | undefined;
669
+ view?: string | undefined;
670
+ } & {
671
+ contentLeft?: undefined;
672
+ contentRight?: ReactNode;
673
+ } & {
617
674
  children?: ReactNode;
618
675
  } & {
619
676
  pilled?: boolean | undefined;