@salutejs/sdds-cs 0.328.0-canary.2239.17794430722.0 → 0.328.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,8 +11,7 @@ function _tagged_template_literal(strings, raw) {
11
11
  function _templateObject() {
12
12
  var data = _tagged_template_literal([
13
13
  "\n ",
14
- ": var(--plasma-typo-body-l-line-height);\n ",
15
- ": var(--plasma-typo-body-l-font-size);\n "
14
+ ": var(--plasma-colors-skeleton-gradient, var(--surface-skeleton-gradient));\n "
16
15
  ]);
17
16
  _templateObject = function _templateObject() {
18
17
  return data;
@@ -22,8 +21,7 @@ function _templateObject() {
22
21
  function _templateObject1() {
23
22
  var data = _tagged_template_literal([
24
23
  "\n ",
25
- ": var(--plasma-typo-body-m-line-height);\n ",
26
- ": var(--plasma-typo-body-m-font-size);\n "
24
+ ": var(--plasma-colors-skeleton-gradient-lighter, var(--surface-skeleton-deep-gradient));\n "
27
25
  ]);
28
26
  _templateObject1 = function _templateObject() {
29
27
  return data;
@@ -33,8 +31,8 @@ function _templateObject1() {
33
31
  function _templateObject2() {
34
32
  var data = _tagged_template_literal([
35
33
  "\n ",
36
- ": var(--plasma-typo-body-s-line-height);\n ",
37
- ": var(--plasma-typo-body-s-font-size);\n "
34
+ ": var(--plasma-typo-body-l-line-height);\n ",
35
+ ": var(--plasma-typo-body-l-font-size);\n "
38
36
  ]);
39
37
  _templateObject2 = function _templateObject() {
40
38
  return data;
@@ -44,8 +42,8 @@ function _templateObject2() {
44
42
  function _templateObject3() {
45
43
  var data = _tagged_template_literal([
46
44
  "\n ",
47
- ": var(--plasma-typo-body-xs-line-height);\n ",
48
- ": var(--plasma-typo-body-xs-font-size);\n "
45
+ ": var(--plasma-typo-body-m-line-height);\n ",
46
+ ": var(--plasma-typo-body-m-font-size);\n "
49
47
  ]);
50
48
  _templateObject3 = function _templateObject() {
51
49
  return data;
@@ -55,8 +53,8 @@ function _templateObject3() {
55
53
  function _templateObject4() {
56
54
  var data = _tagged_template_literal([
57
55
  "\n ",
58
- ": var(--plasma-typo-body-xxs-line-height);\n ",
59
- ": var(--plasma-typo-body-xxs-font-size);\n "
56
+ ": var(--plasma-typo-body-s-line-height);\n ",
57
+ ": var(--plasma-typo-body-s-font-size);\n "
60
58
  ]);
61
59
  _templateObject4 = function _templateObject() {
62
60
  return data;
@@ -66,8 +64,8 @@ function _templateObject4() {
66
64
  function _templateObject5() {
67
65
  var data = _tagged_template_literal([
68
66
  "\n ",
69
- ": var(--plasma-typo-dspl-l-line-height);\n ",
70
- ": var(--plasma-typo-dspl-l-font-size);\n "
67
+ ": var(--plasma-typo-body-xs-line-height);\n ",
68
+ ": var(--plasma-typo-body-xs-font-size);\n "
71
69
  ]);
72
70
  _templateObject5 = function _templateObject() {
73
71
  return data;
@@ -77,8 +75,8 @@ function _templateObject5() {
77
75
  function _templateObject6() {
78
76
  var data = _tagged_template_literal([
79
77
  "\n ",
80
- ": var(--plasma-typo-dspl-m-line-height);\n ",
81
- ": var(--plasma-typo-dspl-m-font-size);\n "
78
+ ": var(--plasma-typo-body-xxs-line-height);\n ",
79
+ ": var(--plasma-typo-body-xxs-font-size);\n "
82
80
  ]);
83
81
  _templateObject6 = function _templateObject() {
84
82
  return data;
@@ -88,8 +86,8 @@ function _templateObject6() {
88
86
  function _templateObject7() {
89
87
  var data = _tagged_template_literal([
90
88
  "\n ",
91
- ": var(--plasma-typo-dspl-s-line-height);\n ",
92
- ": var(--plasma-typo-dspl-s-font-size);\n "
89
+ ": var(--plasma-typo-dspl-l-line-height);\n ",
90
+ ": var(--plasma-typo-dspl-l-font-size);\n "
93
91
  ]);
94
92
  _templateObject7 = function _templateObject() {
95
93
  return data;
@@ -99,8 +97,8 @@ function _templateObject7() {
99
97
  function _templateObject8() {
100
98
  var data = _tagged_template_literal([
101
99
  "\n ",
102
- ": var(--plasma-typo-h1-line-height);\n ",
103
- ": var(--plasma-typo-h1-font-size);\n "
100
+ ": var(--plasma-typo-dspl-m-line-height);\n ",
101
+ ": var(--plasma-typo-dspl-m-font-size);\n "
104
102
  ]);
105
103
  _templateObject8 = function _templateObject() {
106
104
  return data;
@@ -110,8 +108,8 @@ function _templateObject8() {
110
108
  function _templateObject9() {
111
109
  var data = _tagged_template_literal([
112
110
  "\n ",
113
- ": var(--plasma-typo-h2-line-height);\n ",
114
- ": var(--plasma-typo-h2-font-size);\n "
111
+ ": var(--plasma-typo-dspl-s-line-height);\n ",
112
+ ": var(--plasma-typo-dspl-s-font-size);\n "
115
113
  ]);
116
114
  _templateObject9 = function _templateObject() {
117
115
  return data;
@@ -121,8 +119,8 @@ function _templateObject9() {
121
119
  function _templateObject10() {
122
120
  var data = _tagged_template_literal([
123
121
  "\n ",
124
- ": var(--plasma-typo-h3-line-height);\n ",
125
- ": var(--plasma-typo-h3-font-size);\n "
122
+ ": var(--plasma-typo-h1-line-height);\n ",
123
+ ": var(--plasma-typo-h1-font-size);\n "
126
124
  ]);
127
125
  _templateObject10 = function _templateObject() {
128
126
  return data;
@@ -132,8 +130,8 @@ function _templateObject10() {
132
130
  function _templateObject11() {
133
131
  var data = _tagged_template_literal([
134
132
  "\n ",
135
- ": var(--plasma-typo-h4-line-height);\n ",
136
- ": var(--plasma-typo-h4-font-size);\n "
133
+ ": var(--plasma-typo-h2-line-height);\n ",
134
+ ": var(--plasma-typo-h2-font-size);\n "
137
135
  ]);
138
136
  _templateObject11 = function _templateObject() {
139
137
  return data;
@@ -143,8 +141,8 @@ function _templateObject11() {
143
141
  function _templateObject12() {
144
142
  var data = _tagged_template_literal([
145
143
  "\n ",
146
- ": var(--plasma-typo-h5-line-height);\n ",
147
- ": var(--plasma-typo-h5-font-size);\n "
144
+ ": var(--plasma-typo-h3-line-height);\n ",
145
+ ": var(--plasma-typo-h3-font-size);\n "
148
146
  ]);
149
147
  _templateObject12 = function _templateObject() {
150
148
  return data;
@@ -154,8 +152,8 @@ function _templateObject12() {
154
152
  function _templateObject13() {
155
153
  var data = _tagged_template_literal([
156
154
  "\n ",
157
- ": var(--plasma-typo-text-l-line-height);\n ",
158
- ": var(--plasma-typo-text-l-font-size);\n "
155
+ ": var(--plasma-typo-h4-line-height);\n ",
156
+ ": var(--plasma-typo-h4-font-size);\n "
159
157
  ]);
160
158
  _templateObject13 = function _templateObject() {
161
159
  return data;
@@ -165,8 +163,8 @@ function _templateObject13() {
165
163
  function _templateObject14() {
166
164
  var data = _tagged_template_literal([
167
165
  "\n ",
168
- ": var(--plasma-typo-text-m-line-height);\n ",
169
- ": var(--plasma-typo-text-m-font-size);\n "
166
+ ": var(--plasma-typo-h5-line-height);\n ",
167
+ ": var(--plasma-typo-h5-font-size);\n "
170
168
  ]);
171
169
  _templateObject14 = function _templateObject() {
172
170
  return data;
@@ -176,8 +174,8 @@ function _templateObject14() {
176
174
  function _templateObject15() {
177
175
  var data = _tagged_template_literal([
178
176
  "\n ",
179
- ": var(--plasma-typo-text-s-line-height);\n ",
180
- ": var(--plasma-typo-text-s-font-size);\n "
177
+ ": var(--plasma-typo-text-l-line-height);\n ",
178
+ ": var(--plasma-typo-text-l-font-size);\n "
181
179
  ]);
182
180
  _templateObject15 = function _templateObject() {
183
181
  return data;
@@ -185,12 +183,34 @@ function _templateObject15() {
185
183
  return data;
186
184
  }
187
185
  function _templateObject16() {
186
+ var data = _tagged_template_literal([
187
+ "\n ",
188
+ ": var(--plasma-typo-text-m-line-height);\n ",
189
+ ": var(--plasma-typo-text-m-font-size);\n "
190
+ ]);
191
+ _templateObject16 = function _templateObject() {
192
+ return data;
193
+ };
194
+ return data;
195
+ }
196
+ function _templateObject17() {
197
+ var data = _tagged_template_literal([
198
+ "\n ",
199
+ ": var(--plasma-typo-text-s-line-height);\n ",
200
+ ": var(--plasma-typo-text-s-font-size);\n "
201
+ ]);
202
+ _templateObject17 = function _templateObject() {
203
+ return data;
204
+ };
205
+ return data;
206
+ }
207
+ function _templateObject18() {
188
208
  var data = _tagged_template_literal([
189
209
  "\n ",
190
210
  ": var(--plasma-typo-text-xs-line-height);\n ",
191
211
  ": var(--plasma-typo-text-xs-font-size);\n "
192
212
  ]);
193
- _templateObject16 = function _templateObject() {
213
+ _templateObject18 = function _templateObject() {
194
214
  return data;
195
215
  };
196
216
  return data;
@@ -198,27 +218,32 @@ function _templateObject16() {
198
218
  import { css, skeletonTokens } from '@salutejs/plasma-new-hope/emotion';
199
219
  export var config = {
200
220
  defaults: {
201
- size: 'bodyM'
221
+ size: 'bodyM',
222
+ view: 'default'
202
223
  },
203
224
  variations: {
225
+ view: {
226
+ default: css(_templateObject(), skeletonTokens.gradientColor),
227
+ lighter: css(_templateObject1(), skeletonTokens.gradientColor)
228
+ },
204
229
  size: {
205
- bodyL: css(_templateObject(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
206
- bodyM: css(_templateObject1(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
207
- bodyS: css(_templateObject2(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
208
- bodyXS: css(_templateObject3(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
209
- bodyXXS: css(_templateObject4(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
210
- dsplL: css(_templateObject5(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
211
- dsplM: css(_templateObject6(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
212
- dsplS: css(_templateObject7(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
213
- h1: css(_templateObject8(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
214
- h2: css(_templateObject9(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
215
- h3: css(_templateObject10(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
216
- h4: css(_templateObject11(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
217
- h5: css(_templateObject12(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
218
- textL: css(_templateObject13(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
219
- textM: css(_templateObject14(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
220
- textS: css(_templateObject15(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
221
- textXS: css(_templateObject16(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight)
230
+ bodyL: css(_templateObject2(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
231
+ bodyM: css(_templateObject3(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
232
+ bodyS: css(_templateObject4(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
233
+ bodyXS: css(_templateObject5(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
234
+ bodyXXS: css(_templateObject6(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
235
+ dsplL: css(_templateObject7(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
236
+ dsplM: css(_templateObject8(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
237
+ dsplS: css(_templateObject9(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
238
+ h1: css(_templateObject10(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
239
+ h2: css(_templateObject11(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
240
+ h3: css(_templateObject12(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
241
+ h4: css(_templateObject13(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
242
+ h5: css(_templateObject14(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
243
+ textL: css(_templateObject15(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
244
+ textM: css(_templateObject16(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
245
+ textS: css(_templateObject17(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
246
+ textXS: css(_templateObject18(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight)
222
247
  }
223
248
  }
224
249
  };
@@ -168,6 +168,7 @@ function _templateObject5() {
168
168
  ": 0.375rem;\n ",
169
169
  ": 1.5rem;\n\n ",
170
170
  ": 2.5rem;\n ",
171
+ ": 2.5rem;\n ",
171
172
  ": 11.25rem;\n ",
172
173
  ": 1rem;\n ",
173
174
  ": 0.625rem;\n ",
@@ -256,7 +257,7 @@ export var config = {
256
257
  negative: css(_templateObject4(), attachTokens.helperTextColor)
257
258
  },
258
259
  size: {
259
- s: css(_templateObject5(), attachTokens.horizontalGap, attachTokens.verticalGap, attachTokens.verticalGapWithHelperText, attachTokens.buttonHeight, attachTokens.buttonWidth, attachTokens.buttonPadding, attachTokens.buttonRadius, attachTokens.buttonFontFamily, attachTokens.buttonFontSize, attachTokens.buttonFontStyle, attachTokens.buttonFontWeight, attachTokens.buttonLetterSpacing, attachTokens.buttonLineHeight, attachTokens.buttonSpinnerSize, attachTokens.buttonSpinnerColor, attachTokens.buttonLeftContentMargin, attachTokens.buttonRightContentMargin, attachTokens.buttonValueMargin, attachTokens.cellWidth, attachTokens.cellPadding, attachTokens.cellPaddingLeftContent, attachTokens.cellPaddingContent, attachTokens.cellPaddingRightContent, attachTokens.cellTextboxGap, attachTokens.cellGap, attachTokens.cellLabelFontFamily, attachTokens.cellLabelFontSize, attachTokens.cellLabelFontStyle, attachTokens.cellLabelFontWeight, attachTokens.cellLabelLetterSpacing, attachTokens.cellLabelLineHeight, attachTokens.cellTitleFontFamily, attachTokens.cellTitleFontSize, attachTokens.cellTitleFontStyle, attachTokens.cellTitleFontWeight, attachTokens.cellTitleLetterSpacing, attachTokens.cellTitleLineHeight, attachTokens.cellSubtitleFontFamily, attachTokens.cellSubtitleFontSize, attachTokens.cellSubtitleFontStyle, attachTokens.cellSubtitleFontWeight, attachTokens.cellSubtitleLetterSpacing, attachTokens.cellSubtitleLineHeight, attachTokens.iconButtonHeight, attachTokens.iconButtonWidth, attachTokens.iconButtonPadding, attachTokens.iconButtonRadius, attachTokens.iconButtonFontFamily, attachTokens.iconButtonFontSize, attachTokens.iconButtonFontStyle, attachTokens.iconButtonFontWeight, attachTokens.iconButtonLetterSpacing, attachTokens.iconButtonLineHeight, attachTokens.iconButtonSpinnerSize, attachTokens.iconButtonSpinnerColor, attachTokens.iconButtonCancelHeight, attachTokens.iconButtonCancelWidth, attachTokens.iconButtonCancelPadding, attachTokens.iconButtonCancelRadius, attachTokens.iconButtonCancelFontFamily, attachTokens.iconButtonCancelFontSize, attachTokens.iconButtonCancelFontStyle, attachTokens.iconButtonCancelFontWeight, attachTokens.iconButtonCancelLetterSpacing, attachTokens.iconButtonCancelLineHeight, attachTokens.iconButtonCancelSpinnerSize, attachTokens.iconButtonCancelSpinnerColor)
260
+ s: css(_templateObject5(), attachTokens.horizontalGap, attachTokens.verticalGap, attachTokens.verticalGapWithHelperText, attachTokens.filenameWrapperHeight, attachTokens.buttonHeight, attachTokens.buttonWidth, attachTokens.buttonPadding, attachTokens.buttonRadius, attachTokens.buttonFontFamily, attachTokens.buttonFontSize, attachTokens.buttonFontStyle, attachTokens.buttonFontWeight, attachTokens.buttonLetterSpacing, attachTokens.buttonLineHeight, attachTokens.buttonSpinnerSize, attachTokens.buttonSpinnerColor, attachTokens.buttonLeftContentMargin, attachTokens.buttonRightContentMargin, attachTokens.buttonValueMargin, attachTokens.cellWidth, attachTokens.cellPadding, attachTokens.cellPaddingLeftContent, attachTokens.cellPaddingContent, attachTokens.cellPaddingRightContent, attachTokens.cellTextboxGap, attachTokens.cellGap, attachTokens.cellLabelFontFamily, attachTokens.cellLabelFontSize, attachTokens.cellLabelFontStyle, attachTokens.cellLabelFontWeight, attachTokens.cellLabelLetterSpacing, attachTokens.cellLabelLineHeight, attachTokens.cellTitleFontFamily, attachTokens.cellTitleFontSize, attachTokens.cellTitleFontStyle, attachTokens.cellTitleFontWeight, attachTokens.cellTitleLetterSpacing, attachTokens.cellTitleLineHeight, attachTokens.cellSubtitleFontFamily, attachTokens.cellSubtitleFontSize, attachTokens.cellSubtitleFontStyle, attachTokens.cellSubtitleFontWeight, attachTokens.cellSubtitleLetterSpacing, attachTokens.cellSubtitleLineHeight, attachTokens.iconButtonHeight, attachTokens.iconButtonWidth, attachTokens.iconButtonPadding, attachTokens.iconButtonRadius, attachTokens.iconButtonFontFamily, attachTokens.iconButtonFontSize, attachTokens.iconButtonFontStyle, attachTokens.iconButtonFontWeight, attachTokens.iconButtonLetterSpacing, attachTokens.iconButtonLineHeight, attachTokens.iconButtonSpinnerSize, attachTokens.iconButtonSpinnerColor, attachTokens.iconButtonCancelHeight, attachTokens.iconButtonCancelWidth, attachTokens.iconButtonCancelPadding, attachTokens.iconButtonCancelRadius, attachTokens.iconButtonCancelFontFamily, attachTokens.iconButtonCancelFontSize, attachTokens.iconButtonCancelFontStyle, attachTokens.iconButtonCancelFontWeight, attachTokens.iconButtonCancelLetterSpacing, attachTokens.iconButtonCancelLineHeight, attachTokens.iconButtonCancelSpinnerSize, attachTokens.iconButtonCancelSpinnerColor)
260
261
  }
261
262
  }
262
263
  };
@@ -109,9 +109,13 @@ function _templateObject4() {
109
109
  function _templateObject5() {
110
110
  var data = _tagged_template_literal([
111
111
  "\n ",
112
- ": 0.1rem;\n ",
113
- ": -0.2rem;\n ",
114
- ": var(--surface-accent);\n "
112
+ ": 50%;\n ",
113
+ ": calc(0.867 * var(",
114
+ ") - var(",
115
+ ") / 2);\n ",
116
+ ": calc(0.867 * var(",
117
+ ") - var(",
118
+ ") / 2);\n "
115
119
  ]);
116
120
  _templateObject5 = function _templateObject() {
117
121
  return data;
@@ -121,8 +125,9 @@ function _templateObject5() {
121
125
  function _templateObject6() {
122
126
  var data = _tagged_template_literal([
123
127
  "\n ",
124
- ": var(--inverse-text-primary);\n ",
125
- ": var(--surface-solid-default);\n "
128
+ ": 0.1rem;\n ",
129
+ ": -0.2rem;\n ",
130
+ ": var(--surface-accent);\n "
126
131
  ]);
127
132
  _templateObject6 = function _templateObject() {
128
133
  return data;
@@ -132,8 +137,8 @@ function _templateObject6() {
132
137
  function _templateObject7() {
133
138
  var data = _tagged_template_literal([
134
139
  "\n ",
135
- ": var(--on-dark-text-primary);\n ",
136
- ": var(--surface-accent);\n "
140
+ ": var(--inverse-text-primary);\n ",
141
+ ": var(--surface-solid-default);\n "
137
142
  ]);
138
143
  _templateObject7 = function _templateObject() {
139
144
  return data;
@@ -144,7 +149,7 @@ function _templateObject8() {
144
149
  var data = _tagged_template_literal([
145
150
  "\n ",
146
151
  ": var(--on-dark-text-primary);\n ",
147
- ": var(--surface-positive);\n "
152
+ ": var(--surface-accent);\n "
148
153
  ]);
149
154
  _templateObject8 = function _templateObject() {
150
155
  return data;
@@ -155,18 +160,30 @@ function _templateObject9() {
155
160
  var data = _tagged_template_literal([
156
161
  "\n ",
157
162
  ": var(--on-dark-text-primary);\n ",
158
- ": var(--surface-negative);\n "
163
+ ": var(--surface-positive);\n "
159
164
  ]);
160
165
  _templateObject9 = function _templateObject() {
161
166
  return data;
162
167
  };
163
168
  return data;
164
169
  }
170
+ function _templateObject10() {
171
+ var data = _tagged_template_literal([
172
+ "\n ",
173
+ ": var(--on-dark-text-primary);\n ",
174
+ ": var(--surface-negative);\n "
175
+ ]);
176
+ _templateObject10 = function _templateObject() {
177
+ return data;
178
+ };
179
+ return data;
180
+ }
165
181
  import { css, avatarTokens as tokens } from '@salutejs/plasma-new-hope/styled-components';
166
182
  export var config = {
167
183
  defaults: {
168
184
  view: 'default',
169
- size: 's'
185
+ size: 's',
186
+ shape: 'circled'
170
187
  },
171
188
  variations: {
172
189
  view: {
@@ -179,14 +196,17 @@ export var config = {
179
196
  s: css(_templateObject3(), tokens.avatarSize, tokens.fontSize, tokens.fontWeight, tokens.lineHeight, tokens.statusIconSize, tokens.counterBorderRadius, tokens.counterHeight, tokens.counterPadding, tokens.counterFontFamily, tokens.counterFontSize, tokens.counterFontStyle, tokens.counterFontWeight, tokens.counterLetterSpacing, tokens.counterLineHeight),
180
197
  fit: css(_templateObject4(), tokens.avatarSize, tokens.fontSize, tokens.fontWeight, tokens.lineHeight, tokens.statusIconSize)
181
198
  },
199
+ shape: {
200
+ circled: css(_templateObject5(), tokens.borderRadius, tokens.statusLeft, tokens.avatarSize, tokens.statusIconSize, tokens.statusTop, tokens.avatarSize, tokens.statusIconSize)
201
+ },
182
202
  focused: {
183
- true: css(_templateObject5(), tokens.outlineSize, tokens.outlineOffset, tokens.outlineColor)
203
+ true: css(_templateObject6(), tokens.outlineSize, tokens.outlineOffset, tokens.outlineColor)
184
204
  },
185
205
  counterView: {
186
- default: css(_templateObject6(), tokens.counterColor, tokens.counterBackground),
187
- accent: css(_templateObject7(), tokens.counterColor, tokens.counterBackground),
188
- positive: css(_templateObject8(), tokens.counterColor, tokens.counterBackground),
189
- negative: css(_templateObject9(), tokens.counterColor, tokens.counterBackground)
206
+ default: css(_templateObject7(), tokens.counterColor, tokens.counterBackground),
207
+ accent: css(_templateObject8(), tokens.counterColor, tokens.counterBackground),
208
+ positive: css(_templateObject9(), tokens.counterColor, tokens.counterBackground),
209
+ negative: css(_templateObject10(), tokens.counterColor, tokens.counterBackground)
190
210
  }
191
211
  }
192
212
  };
@@ -11,8 +11,7 @@ function _tagged_template_literal(strings, raw) {
11
11
  function _templateObject() {
12
12
  var data = _tagged_template_literal([
13
13
  "\n ",
14
- ": var(--plasma-typo-body-l-line-height);\n ",
15
- ": var(--plasma-typo-body-l-font-size);\n "
14
+ ": var(--plasma-colors-skeleton-gradient, var(--surface-skeleton-gradient));\n "
16
15
  ]);
17
16
  _templateObject = function _templateObject() {
18
17
  return data;
@@ -22,8 +21,7 @@ function _templateObject() {
22
21
  function _templateObject1() {
23
22
  var data = _tagged_template_literal([
24
23
  "\n ",
25
- ": var(--plasma-typo-body-m-line-height);\n ",
26
- ": var(--plasma-typo-body-m-font-size);\n "
24
+ ": var(--plasma-colors-skeleton-gradient-lighter, var(--surface-skeleton-deep-gradient));\n "
27
25
  ]);
28
26
  _templateObject1 = function _templateObject() {
29
27
  return data;
@@ -33,8 +31,8 @@ function _templateObject1() {
33
31
  function _templateObject2() {
34
32
  var data = _tagged_template_literal([
35
33
  "\n ",
36
- ": var(--plasma-typo-body-s-line-height);\n ",
37
- ": var(--plasma-typo-body-s-font-size);\n "
34
+ ": var(--plasma-typo-body-l-line-height);\n ",
35
+ ": var(--plasma-typo-body-l-font-size);\n "
38
36
  ]);
39
37
  _templateObject2 = function _templateObject() {
40
38
  return data;
@@ -44,8 +42,8 @@ function _templateObject2() {
44
42
  function _templateObject3() {
45
43
  var data = _tagged_template_literal([
46
44
  "\n ",
47
- ": var(--plasma-typo-body-xs-line-height);\n ",
48
- ": var(--plasma-typo-body-xs-font-size);\n "
45
+ ": var(--plasma-typo-body-m-line-height);\n ",
46
+ ": var(--plasma-typo-body-m-font-size);\n "
49
47
  ]);
50
48
  _templateObject3 = function _templateObject() {
51
49
  return data;
@@ -55,8 +53,8 @@ function _templateObject3() {
55
53
  function _templateObject4() {
56
54
  var data = _tagged_template_literal([
57
55
  "\n ",
58
- ": var(--plasma-typo-body-xxs-line-height);\n ",
59
- ": var(--plasma-typo-body-xxs-font-size);\n "
56
+ ": var(--plasma-typo-body-s-line-height);\n ",
57
+ ": var(--plasma-typo-body-s-font-size);\n "
60
58
  ]);
61
59
  _templateObject4 = function _templateObject() {
62
60
  return data;
@@ -66,8 +64,8 @@ function _templateObject4() {
66
64
  function _templateObject5() {
67
65
  var data = _tagged_template_literal([
68
66
  "\n ",
69
- ": var(--plasma-typo-dspl-l-line-height);\n ",
70
- ": var(--plasma-typo-dspl-l-font-size);\n "
67
+ ": var(--plasma-typo-body-xs-line-height);\n ",
68
+ ": var(--plasma-typo-body-xs-font-size);\n "
71
69
  ]);
72
70
  _templateObject5 = function _templateObject() {
73
71
  return data;
@@ -77,8 +75,8 @@ function _templateObject5() {
77
75
  function _templateObject6() {
78
76
  var data = _tagged_template_literal([
79
77
  "\n ",
80
- ": var(--plasma-typo-dspl-m-line-height);\n ",
81
- ": var(--plasma-typo-dspl-m-font-size);\n "
78
+ ": var(--plasma-typo-body-xxs-line-height);\n ",
79
+ ": var(--plasma-typo-body-xxs-font-size);\n "
82
80
  ]);
83
81
  _templateObject6 = function _templateObject() {
84
82
  return data;
@@ -88,8 +86,8 @@ function _templateObject6() {
88
86
  function _templateObject7() {
89
87
  var data = _tagged_template_literal([
90
88
  "\n ",
91
- ": var(--plasma-typo-dspl-s-line-height);\n ",
92
- ": var(--plasma-typo-dspl-s-font-size);\n "
89
+ ": var(--plasma-typo-dspl-l-line-height);\n ",
90
+ ": var(--plasma-typo-dspl-l-font-size);\n "
93
91
  ]);
94
92
  _templateObject7 = function _templateObject() {
95
93
  return data;
@@ -99,8 +97,8 @@ function _templateObject7() {
99
97
  function _templateObject8() {
100
98
  var data = _tagged_template_literal([
101
99
  "\n ",
102
- ": var(--plasma-typo-h1-line-height);\n ",
103
- ": var(--plasma-typo-h1-font-size);\n "
100
+ ": var(--plasma-typo-dspl-m-line-height);\n ",
101
+ ": var(--plasma-typo-dspl-m-font-size);\n "
104
102
  ]);
105
103
  _templateObject8 = function _templateObject() {
106
104
  return data;
@@ -110,8 +108,8 @@ function _templateObject8() {
110
108
  function _templateObject9() {
111
109
  var data = _tagged_template_literal([
112
110
  "\n ",
113
- ": var(--plasma-typo-h2-line-height);\n ",
114
- ": var(--plasma-typo-h2-font-size);\n "
111
+ ": var(--plasma-typo-dspl-s-line-height);\n ",
112
+ ": var(--plasma-typo-dspl-s-font-size);\n "
115
113
  ]);
116
114
  _templateObject9 = function _templateObject() {
117
115
  return data;
@@ -121,8 +119,8 @@ function _templateObject9() {
121
119
  function _templateObject10() {
122
120
  var data = _tagged_template_literal([
123
121
  "\n ",
124
- ": var(--plasma-typo-h3-line-height);\n ",
125
- ": var(--plasma-typo-h3-font-size);\n "
122
+ ": var(--plasma-typo-h1-line-height);\n ",
123
+ ": var(--plasma-typo-h1-font-size);\n "
126
124
  ]);
127
125
  _templateObject10 = function _templateObject() {
128
126
  return data;
@@ -132,8 +130,8 @@ function _templateObject10() {
132
130
  function _templateObject11() {
133
131
  var data = _tagged_template_literal([
134
132
  "\n ",
135
- ": var(--plasma-typo-h4-line-height);\n ",
136
- ": var(--plasma-typo-h4-font-size);\n "
133
+ ": var(--plasma-typo-h2-line-height);\n ",
134
+ ": var(--plasma-typo-h2-font-size);\n "
137
135
  ]);
138
136
  _templateObject11 = function _templateObject() {
139
137
  return data;
@@ -143,8 +141,8 @@ function _templateObject11() {
143
141
  function _templateObject12() {
144
142
  var data = _tagged_template_literal([
145
143
  "\n ",
146
- ": var(--plasma-typo-h5-line-height);\n ",
147
- ": var(--plasma-typo-h5-font-size);\n "
144
+ ": var(--plasma-typo-h3-line-height);\n ",
145
+ ": var(--plasma-typo-h3-font-size);\n "
148
146
  ]);
149
147
  _templateObject12 = function _templateObject() {
150
148
  return data;
@@ -154,8 +152,8 @@ function _templateObject12() {
154
152
  function _templateObject13() {
155
153
  var data = _tagged_template_literal([
156
154
  "\n ",
157
- ": var(--plasma-typo-text-l-line-height);\n ",
158
- ": var(--plasma-typo-text-l-font-size);\n "
155
+ ": var(--plasma-typo-h4-line-height);\n ",
156
+ ": var(--plasma-typo-h4-font-size);\n "
159
157
  ]);
160
158
  _templateObject13 = function _templateObject() {
161
159
  return data;
@@ -165,8 +163,8 @@ function _templateObject13() {
165
163
  function _templateObject14() {
166
164
  var data = _tagged_template_literal([
167
165
  "\n ",
168
- ": var(--plasma-typo-text-m-line-height);\n ",
169
- ": var(--plasma-typo-text-m-font-size);\n "
166
+ ": var(--plasma-typo-h5-line-height);\n ",
167
+ ": var(--plasma-typo-h5-font-size);\n "
170
168
  ]);
171
169
  _templateObject14 = function _templateObject() {
172
170
  return data;
@@ -176,8 +174,8 @@ function _templateObject14() {
176
174
  function _templateObject15() {
177
175
  var data = _tagged_template_literal([
178
176
  "\n ",
179
- ": var(--plasma-typo-text-s-line-height);\n ",
180
- ": var(--plasma-typo-text-s-font-size);\n "
177
+ ": var(--plasma-typo-text-l-line-height);\n ",
178
+ ": var(--plasma-typo-text-l-font-size);\n "
181
179
  ]);
182
180
  _templateObject15 = function _templateObject() {
183
181
  return data;
@@ -185,12 +183,34 @@ function _templateObject15() {
185
183
  return data;
186
184
  }
187
185
  function _templateObject16() {
186
+ var data = _tagged_template_literal([
187
+ "\n ",
188
+ ": var(--plasma-typo-text-m-line-height);\n ",
189
+ ": var(--plasma-typo-text-m-font-size);\n "
190
+ ]);
191
+ _templateObject16 = function _templateObject() {
192
+ return data;
193
+ };
194
+ return data;
195
+ }
196
+ function _templateObject17() {
197
+ var data = _tagged_template_literal([
198
+ "\n ",
199
+ ": var(--plasma-typo-text-s-line-height);\n ",
200
+ ": var(--plasma-typo-text-s-font-size);\n "
201
+ ]);
202
+ _templateObject17 = function _templateObject() {
203
+ return data;
204
+ };
205
+ return data;
206
+ }
207
+ function _templateObject18() {
188
208
  var data = _tagged_template_literal([
189
209
  "\n ",
190
210
  ": var(--plasma-typo-text-xs-line-height);\n ",
191
211
  ": var(--plasma-typo-text-xs-font-size);\n "
192
212
  ]);
193
- _templateObject16 = function _templateObject() {
213
+ _templateObject18 = function _templateObject() {
194
214
  return data;
195
215
  };
196
216
  return data;
@@ -198,27 +218,32 @@ function _templateObject16() {
198
218
  import { css, skeletonTokens } from '@salutejs/plasma-new-hope/styled-components';
199
219
  export var config = {
200
220
  defaults: {
201
- size: 'bodyM'
221
+ size: 'bodyM',
222
+ view: 'default'
202
223
  },
203
224
  variations: {
225
+ view: {
226
+ default: css(_templateObject(), skeletonTokens.gradientColor),
227
+ lighter: css(_templateObject1(), skeletonTokens.gradientColor)
228
+ },
204
229
  size: {
205
- bodyL: css(_templateObject(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
206
- bodyM: css(_templateObject1(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
207
- bodyS: css(_templateObject2(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
208
- bodyXS: css(_templateObject3(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
209
- bodyXXS: css(_templateObject4(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
210
- dsplL: css(_templateObject5(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
211
- dsplM: css(_templateObject6(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
212
- dsplS: css(_templateObject7(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
213
- h1: css(_templateObject8(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
214
- h2: css(_templateObject9(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
215
- h3: css(_templateObject10(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
216
- h4: css(_templateObject11(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
217
- h5: css(_templateObject12(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
218
- textL: css(_templateObject13(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
219
- textM: css(_templateObject14(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
220
- textS: css(_templateObject15(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
221
- textXS: css(_templateObject16(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight)
230
+ bodyL: css(_templateObject2(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
231
+ bodyM: css(_templateObject3(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
232
+ bodyS: css(_templateObject4(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
233
+ bodyXS: css(_templateObject5(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
234
+ bodyXXS: css(_templateObject6(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
235
+ dsplL: css(_templateObject7(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
236
+ dsplM: css(_templateObject8(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
237
+ dsplS: css(_templateObject9(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
238
+ h1: css(_templateObject10(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
239
+ h2: css(_templateObject11(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
240
+ h3: css(_templateObject12(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
241
+ h4: css(_templateObject13(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
242
+ h5: css(_templateObject14(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
243
+ textL: css(_templateObject15(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
244
+ textM: css(_templateObject16(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
245
+ textS: css(_templateObject17(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight),
246
+ textXS: css(_templateObject18(), skeletonTokens.lineHeight, skeletonTokens.visibleLineHeight)
222
247
  }
223
248
  }
224
249
  };