@salutejs/plasma-new-hope 0.330.0-canary.2072.16140940131.0 → 0.330.0-canary.2072.16143967683.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.
Files changed (25) hide show
  1. package/cjs/components/TextArea/TextArea.js +1 -1
  2. package/cjs/components/TextArea/TextArea.js.map +1 -1
  3. package/cjs/components/TextArea/TextArea.styles.js +59 -66
  4. package/cjs/components/TextArea/TextArea.styles.js.map +1 -1
  5. package/cjs/components/TextArea/{TextArea.styles_11ofd51.css → TextArea.styles_120rz14.css} +1 -1
  6. package/cjs/components/TextArea/ui/Hint/Hint.css +22 -22
  7. package/cjs/index.css +23 -23
  8. package/emotion/cjs/components/TextArea/TextArea.js +2 -2
  9. package/emotion/cjs/components/TextArea/TextArea.styles.js +49 -52
  10. package/emotion/es/components/TextArea/TextArea.js +2 -2
  11. package/emotion/es/components/TextArea/TextArea.styles.js +49 -52
  12. package/es/components/TextArea/TextArea.js +1 -1
  13. package/es/components/TextArea/TextArea.js.map +1 -1
  14. package/es/components/TextArea/TextArea.styles.js +59 -66
  15. package/es/components/TextArea/TextArea.styles.js.map +1 -1
  16. package/es/components/TextArea/{TextArea.styles_11ofd51.css → TextArea.styles_120rz14.css} +1 -1
  17. package/es/components/TextArea/ui/Hint/Hint.css +22 -22
  18. package/es/index.css +23 -23
  19. package/package.json +2 -2
  20. package/styled-components/cjs/components/TextArea/TextArea.js +1 -1
  21. package/styled-components/cjs/components/TextArea/TextArea.styles.js +25 -29
  22. package/styled-components/es/components/TextArea/TextArea.js +1 -1
  23. package/styled-components/es/components/TextArea/TextArea.styles.js +25 -29
  24. package/types/components/TextArea/TextArea.d.ts.map +1 -1
  25. package/types/components/TextArea/TextArea.styles.d.ts.map +1 -1
@@ -7,13 +7,13 @@ var mergedConfig = mergeConfig(tooltipConfig);
7
7
  var Tooltip = component(mergedConfig);
8
8
  export var Hint = styled(Tooltip).withConfig({
9
9
  displayName: "TextArea.styles__Hint",
10
- componentId: "sc-4fdf6b3d-0"
10
+ componentId: "sc-5da3c99c-0"
11
11
  })([
12
12
  ""
13
13
  ]);
14
14
  export var OuterLabelWrapper = styled.div.withConfig({
15
15
  displayName: "TextArea.styles__OuterLabelWrapper",
16
- componentId: "sc-4fdf6b3d-1"
16
+ componentId: "sc-5da3c99c-1"
17
17
  })([
18
18
  "display:flex;align-items:center;max-width:",
19
19
  ";margin-bottom:",
@@ -27,7 +27,7 @@ export var OuterLabelWrapper = styled.div.withConfig({
27
27
  });
28
28
  export var StyledLabel = styled.div.withConfig({
29
29
  displayName: "TextArea.styles__StyledLabel",
30
- componentId: "sc-4fdf6b3d-2"
30
+ componentId: "sc-5da3c99c-2"
31
31
  })([
32
32
  "position:relative;display:inline-flex;color:var(",
33
33
  ",var(",
@@ -47,7 +47,7 @@ export var StyledLabel = styled.div.withConfig({
47
47
  ], tokens.labelOuterColor, tokens.inputColor, tokens.labelOuterFontFamily, tokens.inputFontFamily, tokens.labelOuterFontSize, tokens.inputFontSize, tokens.labelOuterFontStyle, tokens.inputFontStyle, tokens.labelOuterFontWeight, tokens.inputFontWeight, tokens.labelOuterLetterSpacing, tokens.inputLetterSpacing, tokens.labelOuterLineHeight, tokens.inputLineHeight);
48
48
  export var TitleCaption = styled.div.withConfig({
49
49
  displayName: "TextArea.styles__TitleCaption",
50
- componentId: "sc-4fdf6b3d-3"
50
+ componentId: "sc-5da3c99c-3"
51
51
  })([
52
52
  "display:inline-block;margin-left:auto;font-family:var(",
53
53
  ");font-size:var(",
@@ -59,13 +59,13 @@ export var TitleCaption = styled.div.withConfig({
59
59
  ], tokens.titleCaptionFontFamily, tokens.titleCaptionFontSize, tokens.titleCaptionFontStyle, tokens.titleCaptionFontWeight, tokens.titleCaptionLetterSpacing, tokens.titleCaptionLineHeight);
60
60
  export var StyledIndicatorWrapper = styled.div.withConfig({
61
61
  displayName: "TextArea.styles__StyledIndicatorWrapper",
62
- componentId: "sc-4fdf6b3d-4"
62
+ componentId: "sc-5da3c99c-4"
63
63
  })([
64
64
  "position:relative;display:inline-flex;align-items:center;"
65
65
  ]);
66
66
  export var StyledOptionalText = styled.span.withConfig({
67
67
  displayName: "TextArea.styles__StyledOptionalText",
68
- componentId: "sc-4fdf6b3d-5"
68
+ componentId: "sc-5da3c99c-5"
69
69
  })([
70
70
  "color:var(",
71
71
  ");font-family:",
@@ -96,7 +96,7 @@ export var StyledOptionalText = styled.span.withConfig({
96
96
  });
97
97
  export var StyledHintWrapper = styled.div.withConfig({
98
98
  displayName: "TextArea.styles__StyledHintWrapper",
99
- componentId: "sc-4fdf6b3d-6"
99
+ componentId: "sc-5da3c99c-6"
100
100
  })([
101
101
  "display:inline-flex;line-height:0;margin:var(",
102
102
  ");&.",
@@ -105,7 +105,7 @@ export var StyledHintWrapper = styled.div.withConfig({
105
105
  ], tokens.hintMargin, classes.innerLabelPlacement, tokens.hintInnerLabelPlacementOffset);
106
106
  export var HintTargetWrapper = styled.div.withConfig({
107
107
  displayName: "TextArea.styles__HintTargetWrapper",
108
- componentId: "sc-4fdf6b3d-7"
108
+ componentId: "sc-5da3c99c-7"
109
109
  })([
110
110
  "color:var(",
111
111
  ");width:var(",
@@ -114,13 +114,13 @@ export var HintTargetWrapper = styled.div.withConfig({
114
114
  ], tokens.hintIconColor, tokens.hintTargetSize, tokens.hintTargetSize);
115
115
  export var HintIconWrapper = styled.div.withConfig({
116
116
  displayName: "TextArea.styles__HintIconWrapper",
117
- componentId: "sc-4fdf6b3d-8"
117
+ componentId: "sc-5da3c99c-8"
118
118
  })([
119
119
  ""
120
120
  ]);
121
121
  export var StyledTextAreaWrapper = styled.div.withConfig({
122
122
  displayName: "TextArea.styles__StyledTextAreaWrapper",
123
- componentId: "sc-4fdf6b3d-9"
123
+ componentId: "sc-5da3c99c-9"
124
124
  })([
125
125
  "display:flex;flex-direction:column;background-color:var(",
126
126
  ");padding-top:",
@@ -139,21 +139,17 @@ export var StyledTextAreaWrapper = styled.div.withConfig({
139
139
  });
140
140
  export var StyledContentWrapper = styled.div.withConfig({
141
141
  displayName: "TextArea.styles__StyledContentWrapper",
142
- componentId: "sc-4fdf6b3d-10"
142
+ componentId: "sc-5da3c99c-10"
143
143
  })([
144
- "display:",
145
- ";position:relative;width:100%;height:0;padding-top:",
144
+ "position:relative;width:100%;height:0;padding-top:",
146
145
  ";"
147
146
  ], function(param) {
148
- var hasHeader = param.hasHeader;
149
- return hasHeader ? 'block' : 'none';
150
- }, function(param) {
151
147
  var hasHeader = param.hasHeader;
152
148
  return hasHeader ? "var(".concat(tokens.inputPaddingTop, ")") : 'unset';
153
149
  });
154
150
  export var StyledContent = styled.div.withConfig({
155
151
  displayName: "TextArea.styles__StyledContent",
156
- componentId: "sc-4fdf6b3d-11"
152
+ componentId: "sc-5da3c99c-11"
157
153
  })([
158
154
  "position:absolute;display:flex;align-items:center;z-index:1;color:var(",
159
155
  ",var(",
@@ -167,7 +163,7 @@ export var StyledContent = styled.div.withConfig({
167
163
  }, tokens.rightContentRight, tokens.rightContentHeight);
168
164
  export var StyledHeaderSlot = styled.div.withConfig({
169
165
  displayName: "TextArea.styles__StyledHeaderSlot",
170
- componentId: "sc-4fdf6b3d-12"
166
+ componentId: "sc-5da3c99c-12"
171
167
  })([
172
168
  "display:flex;flex-direction:column;margin-right:",
173
169
  ";margin-left:",
@@ -181,21 +177,21 @@ export var StyledHeaderSlot = styled.div.withConfig({
181
177
  });
182
178
  export var DividerWrapper = styled.div.withConfig({
183
179
  displayName: "TextArea.styles__DividerWrapper",
184
- componentId: "sc-4fdf6b3d-13"
180
+ componentId: "sc-5da3c99c-13"
185
181
  })([
186
182
  "background:var(",
187
183
  ");"
188
184
  ], tokens.backgroundColor);
189
185
  export var Divider = styled.div.withConfig({
190
186
  displayName: "TextArea.styles__Divider",
191
- componentId: "sc-4fdf6b3d-14"
187
+ componentId: "sc-5da3c99c-14"
192
188
  })([
193
189
  "height:0.0625rem;background:var(",
194
190
  ");"
195
191
  ], tokens.dividerColor);
196
192
  export var StyledContainer = styled.div.withConfig({
197
193
  displayName: "TextArea.styles__StyledContainer",
198
- componentId: "sc-4fdf6b3d-15"
194
+ componentId: "sc-5da3c99c-15"
199
195
  })([
200
196
  "display:inline-flex;flex-direction:column;width:",
201
197
  ";position:relative;"
@@ -205,7 +201,7 @@ export var StyledContainer = styled.div.withConfig({
205
201
  });
206
202
  export var StyledTextArea = styled.textarea.withConfig({
207
203
  displayName: "TextArea.styles__StyledTextArea",
208
- componentId: "sc-4fdf6b3d-16"
204
+ componentId: "sc-5da3c99c-16"
209
205
  })([
210
206
  "display:block;box-sizing:border-box;outline:none;border:none;-webkit-appearance:none;background-color:transparent;color:var(",
211
207
  ");caret-color:var(",
@@ -268,7 +264,7 @@ export var StyledTextArea = styled.textarea.withConfig({
268
264
  }, tokens.inputFontFamily, tokens.inputFontSize, tokens.inputFontStyle, tokens.inputFontWeight, tokens.inputLetterSpacing, tokens.inputLineHeight, tokens.inputColorFocus, tokens.scrollbarWidth, tokens.scrollbarThumbBackgroundColor, tokens.scrollbarBorderWidth, tokens.scrollbarTrackBackgroundColor, tokens.scrollbarBorderWidth);
269
265
  export var StyledHiddenTextArea = styled.textarea.withConfig({
270
266
  displayName: "TextArea.styles__StyledHiddenTextArea",
271
- componentId: "sc-4fdf6b3d-17"
267
+ componentId: "sc-5da3c99c-17"
272
268
  })([
273
269
  "max-height:none !important;min-height:var(",
274
270
  ") !important;visibility:hidden !important;overflow:hidden !important;position:absolute !important;z-index:-1000 !important;top:0 !important;left:0 !important;right:0.0625rem !important;border-width:0;padding-right:",
@@ -286,7 +282,7 @@ export var StyledHiddenTextArea = styled.textarea.withConfig({
286
282
  }, tokens.inputPaddingLeft, tokens.inputFontFamily, tokens.inputFontSize, tokens.inputFontStyle, tokens.inputFontWeight, tokens.inputLetterSpacing, tokens.inputLineHeight);
287
283
  export var StyledHelpers = styled.div.withConfig({
288
284
  displayName: "TextArea.styles__StyledHelpers",
289
- componentId: "sc-4fdf6b3d-18"
285
+ componentId: "sc-5da3c99c-18"
290
286
  })([
291
287
  "box-sizing:border-box;display:flex;justify-content:space-between;transition:background-color 0.1s ease-in-out;background-color:var(",
292
288
  ");padding-top:var(",
@@ -299,14 +295,14 @@ export var StyledHelpers = styled.div.withConfig({
299
295
  ], tokens.helpersBackgroundColor, tokens.helpersPaddingTop, tokens.helpersPaddingRight, tokens.helpersPaddingBottom, tokens.helpersPaddingLeft, tokens.borderRadius, tokens.borderRadius);
300
296
  export var StyledOutsideHelpersWrapper = styled.div.withConfig({
301
297
  displayName: "TextArea.styles__StyledOutsideHelpersWrapper",
302
- componentId: "sc-4fdf6b3d-19"
298
+ componentId: "sc-5da3c99c-19"
303
299
  })([
304
300
  "box-sizing:border-box;display:flex;justify-content:space-between;padding-top:var(",
305
301
  ");"
306
302
  ], tokens.clearHelpersPaddingTop);
307
303
  export var StyledLeftHelper = styled.span.withConfig({
308
304
  displayName: "TextArea.styles__StyledLeftHelper",
309
- componentId: "sc-4fdf6b3d-20"
305
+ componentId: "sc-5da3c99c-20"
310
306
  })([
311
307
  "",
312
308
  ";display:block;font-family:var(",
@@ -320,14 +316,14 @@ export var StyledLeftHelper = styled.span.withConfig({
320
316
  ], applyEllipsis(), tokens.helpersFontFamily, tokens.helpersFontSize, tokens.helpersFontStyle, tokens.helpersFontWeight, tokens.helpersLetterSpacing, tokens.helpersLineHeight, tokens.leftHelperColor);
321
317
  export var StyledRightHelper = styled(StyledLeftHelper).withConfig({
322
318
  displayName: "TextArea.styles__StyledRightHelper",
323
- componentId: "sc-4fdf6b3d-21"
319
+ componentId: "sc-5da3c99c-21"
324
320
  })([
325
321
  "color:var(",
326
322
  ");margin-left:auto;"
327
323
  ], tokens.rightHelperColor);
328
324
  export var StyledPlaceholder = styled.label.withConfig({
329
325
  displayName: "TextArea.styles__StyledPlaceholder",
330
- componentId: "sc-4fdf6b3d-22"
326
+ componentId: "sc-5da3c99c-22"
331
327
  })([
332
328
  "box-sizing:border-box;position:absolute;pointer-events:none;display:inline-flex;align-items:center;transition:all 0.1s ease-in-out;transform-origin:top left;color:var(",
333
329
  ");width:100%;height:auto;top:var(",
@@ -346,7 +342,7 @@ export var StyledPlaceholder = styled.label.withConfig({
346
342
  }, tokens.inputFontFamily, tokens.inputFontSize, tokens.inputFontStyle, tokens.inputFontWeight, tokens.inputLetterSpacing, tokens.inputLineHeight);
347
343
  export var StyledIndicator = styled.div.withConfig({
348
344
  displayName: "TextArea.styles__StyledIndicator",
349
- componentId: "sc-4fdf6b3d-23"
345
+ componentId: "sc-5da3c99c-23"
350
346
  })([
351
347
  "position:absolute;border-radius:50%;background-color:var(",
352
348
  ");&.",
@@ -1 +1 @@
1
- {"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../src/components/TextArea/TextArea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmG,MAAM,OAAO,CAAC;AAKxH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAoCrD,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAoCzE,eAAO,MAAM,sBAAsB,UAAW,aAAa,WAAW,OAAO,2BA2B5E,CAAC;AAEF,eAAO,MAAM,YAAY,SAAU,SAAS,CAAC,mBAAmB,EAAE,iBAAiB,CAAC,8FA+V9E,CAAC;AAEP,eAAO,MAAM,cAAc;;;mBAjWQ,SAAS,CAAC,mBAAmB,EAAE,iBAAiB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoYnF,CAAC"}
1
+ {"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../src/components/TextArea/TextArea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmG,MAAM,OAAO,CAAC;AAKxH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAoCrD,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAoCzE,eAAO,MAAM,sBAAsB,UAAW,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