@salutejs/plasma-new-hope 0.156.0-canary.1451.11071985286.0 → 0.156.0-canary.1461.11068657609.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (114) hide show
  1. package/cjs/components/Drawer/Drawer.js +6 -4
  2. package/cjs/components/Drawer/Drawer.js.map +1 -1
  3. package/cjs/components/Drawer/Drawer.styles.js +11 -14
  4. package/cjs/components/Drawer/Drawer.styles.js.map +1 -1
  5. package/cjs/components/Drawer/Drawer.tokens.js +5 -1
  6. package/cjs/components/Drawer/Drawer.tokens.js.map +1 -1
  7. package/cjs/components/Drawer/hooks/useDrawer.js +10 -5
  8. package/cjs/components/Drawer/hooks/useDrawer.js.map +1 -1
  9. package/cjs/components/TextArea/TextArea.js +15 -21
  10. package/cjs/components/TextArea/TextArea.js.map +1 -1
  11. package/cjs/components/TextArea/TextArea.tokens.js +2 -15
  12. package/cjs/components/TextArea/TextArea.tokens.js.map +1 -1
  13. package/cjs/components/TextArea/variations/_view/base.js +1 -1
  14. package/cjs/components/TextArea/variations/_view/base.js.map +1 -1
  15. package/cjs/components/TextArea/variations/_view/base_8npjyq.css +1 -0
  16. package/cjs/index.css +1 -3
  17. package/emotion/cjs/components/Drawer/Drawer.js +2 -0
  18. package/emotion/cjs/components/Drawer/Drawer.styles.js +11 -14
  19. package/emotion/cjs/components/Drawer/Drawer.tokens.js +5 -1
  20. package/emotion/cjs/components/Drawer/hooks/useDrawer.js +10 -5
  21. package/emotion/cjs/components/TextArea/TextArea.js +16 -22
  22. package/emotion/cjs/components/TextArea/TextArea.template-doc.mdx +0 -29
  23. package/emotion/cjs/components/TextArea/TextArea.tokens.js +2 -15
  24. package/emotion/cjs/components/TextArea/variations/_view/base.js +2 -2
  25. package/emotion/cjs/examples/plasma_b2c/components/TextArea/TextArea.config.js +9 -12
  26. package/emotion/cjs/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +11 -18
  27. package/emotion/cjs/examples/plasma_web/components/TextArea/TextArea.config.js +9 -12
  28. package/emotion/cjs/examples/plasma_web/components/TextArea/TextArea.stories.tsx +12 -18
  29. package/emotion/es/components/Drawer/Drawer.js +3 -1
  30. package/emotion/es/components/Drawer/Drawer.styles.js +11 -14
  31. package/emotion/es/components/Drawer/Drawer.tokens.js +5 -1
  32. package/emotion/es/components/Drawer/hooks/useDrawer.js +10 -5
  33. package/emotion/es/components/TextArea/TextArea.js +14 -20
  34. package/emotion/es/components/TextArea/TextArea.template-doc.mdx +0 -29
  35. package/emotion/es/components/TextArea/TextArea.tokens.js +2 -15
  36. package/emotion/es/components/TextArea/variations/_view/base.js +2 -2
  37. package/emotion/es/examples/plasma_b2c/components/TextArea/TextArea.config.js +9 -12
  38. package/emotion/es/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +11 -18
  39. package/emotion/es/examples/plasma_web/components/TextArea/TextArea.config.js +9 -12
  40. package/emotion/es/examples/plasma_web/components/TextArea/TextArea.stories.tsx +12 -18
  41. package/es/components/Drawer/Drawer.js +4 -2
  42. package/es/components/Drawer/Drawer.js.map +1 -1
  43. package/es/components/Drawer/Drawer.styles.js +11 -14
  44. package/es/components/Drawer/Drawer.styles.js.map +1 -1
  45. package/es/components/Drawer/Drawer.tokens.js +5 -1
  46. package/es/components/Drawer/Drawer.tokens.js.map +1 -1
  47. package/es/components/Drawer/hooks/useDrawer.js +10 -5
  48. package/es/components/Drawer/hooks/useDrawer.js.map +1 -1
  49. package/es/components/TextArea/TextArea.js +15 -21
  50. package/es/components/TextArea/TextArea.js.map +1 -1
  51. package/es/components/TextArea/TextArea.tokens.js +2 -15
  52. package/es/components/TextArea/TextArea.tokens.js.map +1 -1
  53. package/es/components/TextArea/variations/_view/base.js +1 -1
  54. package/es/components/TextArea/variations/_view/base.js.map +1 -1
  55. package/es/components/TextArea/variations/_view/base_8npjyq.css +1 -0
  56. package/es/index.css +1 -3
  57. package/package.json +2 -2
  58. package/styled-components/cjs/components/Drawer/Drawer.js +2 -0
  59. package/styled-components/cjs/components/Drawer/Drawer.styles.js +11 -14
  60. package/styled-components/cjs/components/Drawer/Drawer.tokens.js +5 -1
  61. package/styled-components/cjs/components/Drawer/hooks/useDrawer.js +10 -5
  62. package/styled-components/cjs/components/TextArea/TextArea.js +15 -21
  63. package/styled-components/cjs/components/TextArea/TextArea.template-doc.mdx +0 -29
  64. package/styled-components/cjs/components/TextArea/TextArea.tokens.js +2 -15
  65. package/styled-components/cjs/components/TextArea/variations/_view/base.js +1 -1
  66. package/styled-components/cjs/examples/plasma_b2c/components/TextArea/TextArea.config.js +9 -12
  67. package/styled-components/cjs/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +11 -18
  68. package/styled-components/cjs/examples/plasma_web/components/TextArea/TextArea.config.js +8 -11
  69. package/styled-components/cjs/examples/plasma_web/components/TextArea/TextArea.stories.tsx +12 -18
  70. package/styled-components/es/components/Drawer/Drawer.js +3 -1
  71. package/styled-components/es/components/Drawer/Drawer.styles.js +11 -14
  72. package/styled-components/es/components/Drawer/Drawer.tokens.js +5 -1
  73. package/styled-components/es/components/Drawer/hooks/useDrawer.js +10 -5
  74. package/styled-components/es/components/TextArea/TextArea.js +13 -19
  75. package/styled-components/es/components/TextArea/TextArea.template-doc.mdx +0 -29
  76. package/styled-components/es/components/TextArea/TextArea.tokens.js +2 -15
  77. package/styled-components/es/components/TextArea/variations/_view/base.js +1 -1
  78. package/styled-components/es/examples/plasma_b2c/components/TextArea/TextArea.config.js +9 -12
  79. package/styled-components/es/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +11 -18
  80. package/styled-components/es/examples/plasma_web/components/TextArea/TextArea.config.js +8 -11
  81. package/styled-components/es/examples/plasma_web/components/TextArea/TextArea.stories.tsx +12 -18
  82. package/types/components/Drawer/Drawer.d.ts.map +1 -1
  83. package/types/components/Drawer/Drawer.styles.d.ts.map +1 -1
  84. package/types/components/Drawer/Drawer.tokens.d.ts +4 -0
  85. package/types/components/Drawer/Drawer.tokens.d.ts.map +1 -1
  86. package/types/components/Drawer/hooks/useDrawer.d.ts.map +1 -1
  87. package/types/components/TextArea/TextArea.d.ts +0 -4
  88. package/types/components/TextArea/TextArea.d.ts.map +1 -1
  89. package/types/components/TextArea/TextArea.tokens.d.ts +0 -13
  90. package/types/components/TextArea/TextArea.tokens.d.ts.map +1 -1
  91. package/types/components/TextArea/TextArea.types.d.ts +3 -15
  92. package/types/components/TextArea/TextArea.types.d.ts.map +1 -1
  93. package/types/examples/plasma_b2c/components/TextArea/TextArea.config.d.ts +0 -3
  94. package/types/examples/plasma_b2c/components/TextArea/TextArea.config.d.ts.map +1 -1
  95. package/types/examples/plasma_b2c/components/TextArea/TextArea.d.ts +0 -81
  96. package/types/examples/plasma_b2c/components/TextArea/TextArea.d.ts.map +1 -1
  97. package/types/examples/plasma_web/components/TextArea/TextArea.config.d.ts +0 -3
  98. package/types/examples/plasma_web/components/TextArea/TextArea.config.d.ts.map +1 -1
  99. package/types/examples/plasma_web/components/TextArea/TextArea.d.ts +0 -81
  100. package/types/examples/plasma_web/components/TextArea/TextArea.d.ts.map +1 -1
  101. package/cjs/components/TextArea/variations/_clear/base.js +0 -9
  102. package/cjs/components/TextArea/variations/_clear/base.js.map +0 -1
  103. package/cjs/components/TextArea/variations/_clear/base_193g3al.css +0 -1
  104. package/cjs/components/TextArea/variations/_view/base_d83rii.css +0 -1
  105. package/emotion/cjs/components/TextArea/variations/_clear/base.js +0 -10
  106. package/emotion/es/components/TextArea/variations/_clear/base.js +0 -4
  107. package/es/components/TextArea/variations/_clear/base.js +0 -5
  108. package/es/components/TextArea/variations/_clear/base.js.map +0 -1
  109. package/es/components/TextArea/variations/_clear/base_193g3al.css +0 -1
  110. package/es/components/TextArea/variations/_view/base_d83rii.css +0 -1
  111. package/styled-components/cjs/components/TextArea/variations/_clear/base.js +0 -10
  112. package/styled-components/es/components/TextArea/variations/_clear/base.js +0 -4
  113. package/types/components/TextArea/variations/_clear/base.d.ts +0 -2
  114. package/types/components/TextArea/variations/_clear/base.d.ts.map +0 -1
@@ -6,6 +6,10 @@ export declare const classes: {
6
6
  horizontal: string;
7
7
  hasHeader: string;
8
8
  isRightClose: string;
9
+ topPlacement: string;
10
+ bottomPlacement: string;
11
+ rightPlacement: string;
12
+ leftPlacement: string;
9
13
  };
10
14
  export declare const tokens: {
11
15
  drawerOverlayWithBlurColor: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Drawer.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Drawer/Drawer.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;CAQnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;CAQlB,CAAC"}
1
+ {"version":3,"file":"Drawer.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Drawer/Drawer.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;;CAYnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;CAQlB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"useDrawer.d.ts","sourceRoot":"","sources":["../../../../src/components/Drawer/hooks/useDrawer.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAA+B,MAAM,kBAAkB,CAAC;AAC3E,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAKjD,eAAO,MAAM,SAAS,iFAQnB,cAAc;;CAsDhB,CAAC"}
1
+ {"version":3,"file":"useDrawer.d.ts","sourceRoot":"","sources":["../../../../src/components/Drawer/hooks/useDrawer.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAA+B,MAAM,kBAAkB,CAAC;AAC3E,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAMjD,eAAO,MAAM,SAAS,iFAQnB,cAAc;;CA2DhB,CAAC"}
@@ -15,10 +15,6 @@ export declare const textAreaConfig: {
15
15
  view: {
16
16
  css: import("@linaria/core").LinariaClassName;
17
17
  };
18
- clear: {
19
- css: import("@linaria/core").LinariaClassName;
20
- attrs: boolean;
21
- };
22
18
  disabled: {
23
19
  css: import("@linaria/core").LinariaClassName;
24
20
  attrs: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../src/components/TextArea/TextArea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuD,MAAM,OAAO,CAAC;AAK5E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAsBrD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AA+BtD,eAAO,MAAM,sBAAsB,UAAW,aAAa,WAAW,OAAO,2BA2B5E,CAAC;AAEF,eAAO,MAAM,YAAY,SAAU,UAAU,mBAAmB,EAAE,aAAa,CAAC,8FAqL1E,CAAC;AAEP,eAAO,MAAM,cAAc;;;mBAvLQ,UAAU,mBAAmB,EAAE,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;CAmN/E,CAAC"}
1
+ {"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../src/components/TextArea/TextArea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuD,MAAM,OAAO,CAAC;AAK5E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAqBrD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AA+BtD,eAAO,MAAM,sBAAsB,UAAW,aAAa,WAAW,OAAO,2BA4B5E,CAAC;AAEF,eAAO,MAAM,YAAY,SAAU,UAAU,mBAAmB,EAAE,aAAa,CAAC,8FAgL1E,CAAC;AAEP,eAAO,MAAM,cAAc;;;mBAlLQ,UAAU,mBAAmB,EAAE,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;;CA0M/E,CAAC"}
@@ -17,9 +17,6 @@ export declare const classes: {
17
17
  styledHelpers: string;
18
18
  innerLabelPlacement: string;
19
19
  outerLabelPlacement: string;
20
- /** Класс для view `clear` */
21
- clear: string;
22
- hasDivider: string;
23
20
  };
24
21
  export declare const tokens: {
25
22
  /** Цвет фона для элемента textarea */
@@ -48,14 +45,12 @@ export declare const tokens: {
48
45
  helpersBackgroundColorFocus: string;
49
46
  /** Цвет текста для элемента textarea */
50
47
  inputColor: string;
51
- clearInputColor: string;
52
48
  /** Цвет текста для элемента textarea в состоянии focus */
53
49
  inputColorFocus: string;
54
50
  /** Цвет каретки для элемента textarea */
55
51
  inputCaretColor: string;
56
52
  /** Цвет элемента placeholder */
57
53
  placeholderColor: string;
58
- clearPlaceholderColor: string;
59
54
  /** Цвет элемента placeholder в состоянии focus */
60
55
  placeholderColorFocus: string;
61
56
  /** Цвет элемента optional */
@@ -96,7 +91,6 @@ export declare const tokens: {
96
91
  inputPaddingLeft: string;
97
92
  /** Отступ сверху для блока подписей */
98
93
  helpersPaddingTop: string;
99
- clearHelpersPaddingTop: string;
100
94
  /** Отступ справа для блока подписей */
101
95
  helpersPaddingRight: string;
102
96
  /** Отступ снизу для блока подписей */
@@ -127,7 +121,6 @@ export declare const tokens: {
127
121
  labelOuterLineHeight: string;
128
122
  /** Отступ сверху для элемента label, когда он внутри и уменьшен */
129
123
  labelMarginBottom: string;
130
- clearLabelMarginBottom: string;
131
124
  /** Шрифт для элемента label, когда он внутри и уменьшен */
132
125
  labelInnerFontFamily: string;
133
126
  /** Размер шрифта для элемента label, когда он внутри и уменьшен */
@@ -180,11 +173,5 @@ export declare const tokens: {
180
173
  indicatorLabelPlacementOuter: string;
181
174
  indicatorLabelPlacementInnerRight: string;
182
175
  indicatorLabelPlacementOuterRight: string;
183
- clearIndicatorLabelPlacementInner: string;
184
- clearIndicatorLabelPlacementInnerRight: string;
185
- dividerColor: string;
186
- dividerColorHover: string;
187
- dividerColorFocus: string;
188
- dividerColorReadOnly: string;
189
176
  };
190
177
  //# sourceMappingURL=TextArea.tokens.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextArea.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/TextArea/TextArea.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;IAChB,6DAA6D;;IAE7D,kEAAkE;;IAElE,+CAA+C;;IAE/C,6CAA6C;;IAE7C,4CAA4C;;IAE5C,mDAAmD;;IAEnD,+CAA+C;;IAE/C,2CAA2C;;;;IAI3C,6BAA6B;;;CAGhC,CAAC;AAEF,eAAO,MAAM,MAAM;IACf,sCAAsC;;IAEtC,wDAAwD;;IAExD,yDAAyD;;IAEzD,wDAAwD;;IAExD,0CAA0C;;IAE1C,4DAA4D;;IAE5D,6DAA6D;;IAE7D,4DAA4D;;IAE5D,yCAAyC;;IAEzC,2DAA2D;;IAE3D,4DAA4D;;IAE5D,2DAA2D;;IAE3D,wCAAwC;;;IAGxC,0DAA0D;;IAE1D,yCAAyC;;IAEzC,gCAAgC;;;IAGhC,kDAAkD;;IAElD,6BAA6B;;IAE7B,0CAA0C;;IAE1C,2CAA2C;;IAE3C,yCAAyC;;IAEzC,2DAA2D;;IAE3D,2DAA2D;;IAG3D,+BAA+B;;IAE/B,+BAA+B;;IAE/B,2CAA2C;;IAE3C,qCAAqC;;IAErC,+CAA+C;;IAE/C,4FAA4F;;IAE5F,0CAA0C;;IAE1C,0CAA0C;;IAE1C,qEAAqE;;IAErE,yCAAyC;;IAEzC,mEAAmE;;IAEnE,yCAAyC;;IAEzC,uCAAuC;;;IAGvC,uCAAuC;;IAEvC,sCAAsC;;IAEtC,sCAAsC;;IAEtC,+FAA+F;;IAE/F,wCAAwC;;IAExC,wCAAwC;;IAExC,6BAA6B;;IAE7B,2DAA2D;;IAE3D,2DAA2D;;IAE3D,mEAAmE;;IAEnE,kEAAkE;;IAElE,uEAAuE;;IAEvE,8EAA8E;;IAE9E,mEAAmE;;IAEnE,mEAAmE;;;IAGnE,2DAA2D;;IAE3D,mEAAmE;;IAEnE,kEAAkE;;IAElE,uEAAuE;;IAEvE,8EAA8E;;IAE9E,mEAAmE;;IAEnE,qDAAqD;;IAErD,oCAAoC;;IAEpC,kCAAkC;;IAElC,0CAA0C;;IAE1C,yCAAyC;;IAEzC,8CAA8C;;IAE9C,4DAA4D;;IAE5D,iDAAiD;;IAEjD,8CAA8C;;IAE9C,sDAAsD;;IAEtD,qDAAqD;;IAErD,0DAA0D;;IAE1D,iEAAiE;;IAEjE,sDAAsD;;;IAKtD,6DAA6D;;IAE7D,6DAA6D;;;;;;;;;;;;;;;CAiBhE,CAAC"}
1
+ {"version":3,"file":"TextArea.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/TextArea/TextArea.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;IAChB,6DAA6D;;IAE7D,kEAAkE;;IAElE,+CAA+C;;IAE/C,6CAA6C;;IAE7C,4CAA4C;;IAE5C,mDAAmD;;IAEnD,+CAA+C;;IAE/C,2CAA2C;;;;CAI9C,CAAC;AAEF,eAAO,MAAM,MAAM;IACf,sCAAsC;;IAEtC,wDAAwD;;IAExD,yDAAyD;;IAEzD,wDAAwD;;IAExD,0CAA0C;;IAE1C,4DAA4D;;IAE5D,6DAA6D;;IAE7D,4DAA4D;;IAE5D,yCAAyC;;IAEzC,2DAA2D;;IAE3D,4DAA4D;;IAE5D,2DAA2D;;IAE3D,wCAAwC;;IAExC,0DAA0D;;IAE1D,yCAAyC;;IAEzC,gCAAgC;;IAEhC,kDAAkD;;IAElD,6BAA6B;;IAE7B,0CAA0C;;IAE1C,2CAA2C;;IAE3C,yCAAyC;;IAEzC,2DAA2D;;IAE3D,2DAA2D;;IAG3D,+BAA+B;;IAE/B,+BAA+B;;IAE/B,2CAA2C;;IAE3C,qCAAqC;;IAErC,+CAA+C;;IAE/C,4FAA4F;;IAE5F,0CAA0C;;IAE1C,0CAA0C;;IAE1C,qEAAqE;;IAErE,yCAAyC;;IAEzC,mEAAmE;;IAEnE,yCAAyC;;IAEzC,uCAAuC;;IAEvC,uCAAuC;;IAEvC,sCAAsC;;IAEtC,sCAAsC;;IAEtC,+FAA+F;;IAE/F,wCAAwC;;IAExC,wCAAwC;;IAExC,6BAA6B;;IAE7B,2DAA2D;;IAE3D,2DAA2D;;IAE3D,mEAAmE;;IAEnE,kEAAkE;;IAElE,uEAAuE;;IAEvE,8EAA8E;;IAE9E,mEAAmE;;IAEnE,mEAAmE;;IAEnE,2DAA2D;;IAE3D,mEAAmE;;IAEnE,kEAAkE;;IAElE,uEAAuE;;IAEvE,8EAA8E;;IAE9E,mEAAmE;;IAEnE,qDAAqD;;IAErD,oCAAoC;;IAEpC,kCAAkC;;IAElC,0CAA0C;;IAE1C,yCAAyC;;IAEzC,8CAA8C;;IAE9C,4DAA4D;;IAE5D,iDAAiD;;IAEjD,8CAA8C;;IAE9C,sDAAsD;;IAEtD,qDAAqD;;IAErD,0DAA0D;;IAE1D,iEAAiE;;IAEjE,sDAAsD;;;IAKtD,6DAA6D;;IAE7D,6DAA6D;;;;;;;;;CAUhE,CAAC"}
@@ -1,25 +1,13 @@
1
1
  /// <reference types="react" />
2
2
  import { TextareaHTMLAttributes } from '../../types';
3
- declare type Only<T, U, R, K> = {
3
+ declare type Only<T, U, R> = {
4
4
  [P in keyof T]: T[P];
5
5
  } & {
6
6
  [P in keyof U]?: never;
7
7
  } & {
8
8
  [P in keyof R]?: never;
9
- } & {
10
- [P in keyof K]?: never;
11
- };
12
- declare type OneOf<T, U, R, K> = Only<T, U, R, K> | Only<U, T, R, K> | Only<R, T, U, K> | Only<K, R, T, U>;
13
- declare type ClearProps = {
14
- /**
15
- * view применяется с clear-токенами
16
- */
17
- clear?: true;
18
- /**
19
- * отобразить ли divider
20
- */
21
- hasDivider?: boolean;
22
9
  };
10
+ declare type OneOf<T, U, R> = Only<T, U, R> | Only<U, T, R> | Only<R, T, U>;
23
11
  export declare type TextAreaPropsAutoResize = {
24
12
  /**
25
13
  * Автоматическая высота поля ввода.
@@ -58,7 +46,7 @@ export declare type TextAreaPropsRowsCols = {
58
46
  */
59
47
  cols?: number;
60
48
  };
61
- export declare type TextAreaDimensionsProps = OneOf<TextAreaPropsAutoResize, TextAreaPropsHeightWidth, TextAreaPropsRowsCols, ClearProps>;
49
+ export declare type TextAreaDimensionsProps = OneOf<TextAreaPropsAutoResize, TextAreaPropsHeightWidth, TextAreaPropsRowsCols>;
62
50
  declare type RequiredProps = {
63
51
  /**
64
52
  * Задает выравнивание индикатора обязательности поля
@@ -1 +1 @@
1
- {"version":3,"file":"TextArea.types.d.ts","sourceRoot":"","sources":["../../../src/components/TextArea/TextArea.types.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAErD,aAAK,IAAI,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI;KACnB,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACvB,GACG;KACK,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,KAAK;CACzB,GACD;KACK,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,KAAK;CACzB,GACD;KACK,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,KAAK;CACzB,CAAC;AAEN,aAAK,KAAK,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;AAEnG,aAAK,UAAU,GAAG;IACd;;OAEG;IACH,KAAK,CAAC,EAAE,IAAI,CAAC;IACb;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,oBAAY,uBAAuB,GAAG;IAClC;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,oBAAY,wBAAwB,GAAG;IACnC;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC3B,CAAC;AAEF,oBAAY,qBAAqB,GAAG;IAChC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,oBAAY,uBAAuB,GAAG,KAAK,CACvC,uBAAuB,EACvB,wBAAwB,EACxB,qBAAqB,EACrB,UAAU,CACb,CAAC;AAEF,aAAK,aAAa,GAAG;IACjB;;;OAGG;IACH,iBAAiB,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CACxC,GAAG,CACE;IACI;;OAEG;IACH,QAAQ,EAAE,IAAI,CAAC;IACf;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,GAAG,KAAK,CAAC;CAC5B,GACD;IACI;;OAEG;IACH,QAAQ,CAAC,EAAE,IAAI,CAAC;IAChB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,GAAG,KAAK,CAAC;CAC5B,CACN,CAAC;AAEF,oBAAY,iBAAiB,GAAG;IAC5B;;;OAGG;IACH,MAAM,CAAC,EAAE,EAAE,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;IAC9C;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IACnC;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAClC;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,YAAY,GAAG,UAAU,CAAC;IACrD;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB,GAAG,aAAa,CAAC;AAElB,aAAK,oBAAoB,GAAG,iBAAiB,GAAG;IAC5C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,oBAAY,aAAa,GAAG,IAAI,CAAC,sBAAsB,CAAC,mBAAmB,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,UAAU,CAAC,GACvG,oBAAoB,GACpB,uBAAuB,CAAC"}
1
+ {"version":3,"file":"TextArea.types.d.ts","sourceRoot":"","sources":["../../../src/components/TextArea/TextArea.types.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAErD,aAAK,IAAI,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI;KAChB,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACvB,GACG;KACK,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,KAAK;CACzB,GACD;KACK,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,KAAK;CACzB,CAAC;AAEN,aAAK,KAAK,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;AAEpE,oBAAY,uBAAuB,GAAG;IAClC;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,oBAAY,wBAAwB,GAAG;IACnC;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC3B,CAAC;AAEF,oBAAY,qBAAqB,GAAG;IAChC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,oBAAY,uBAAuB,GAAG,KAAK,CAAC,uBAAuB,EAAE,wBAAwB,EAAE,qBAAqB,CAAC,CAAC;AAEtH,aAAK,aAAa,GAAG;IACjB;;;OAGG;IACH,iBAAiB,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CACxC,GAAG,CACE;IACI;;OAEG;IACH,QAAQ,EAAE,IAAI,CAAC;IACf;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,GAAG,KAAK,CAAC;CAC5B,GACD;IACI;;OAEG;IACH,QAAQ,CAAC,EAAE,IAAI,CAAC;IAChB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,GAAG,KAAK,CAAC;CAC5B,CACN,CAAC;AAEF,oBAAY,iBAAiB,GAAG;IAC5B;;;OAGG;IACH,MAAM,CAAC,EAAE,EAAE,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;IAC9C;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IACnC;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAClC;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,YAAY,GAAG,UAAU,CAAC;IACrD;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB,GAAG,aAAa,CAAC;AAElB,aAAK,oBAAoB,GAAG,iBAAiB,GAAG;IAC5C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,oBAAY,aAAa,GAAG,IAAI,CAAC,sBAAsB,CAAC,mBAAmB,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,UAAU,CAAC,GACvG,oBAAoB,GACpB,uBAAuB,CAAC"}
@@ -16,9 +16,6 @@ export declare const config: {
16
16
  warning: import("@linaria/core").LinariaClassName;
17
17
  negative: import("@linaria/core").LinariaClassName;
18
18
  };
19
- clear: {
20
- true: import("@linaria/core").LinariaClassName;
21
- };
22
19
  disabled: {
23
20
  true: import("@linaria/core").LinariaClassName;
24
21
  };
@@ -1 +1 @@
1
- {"version":3,"file":"TextArea.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/TextArea/TextArea.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;CAsUlB,CAAC"}
1
+ {"version":3,"file":"TextArea.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/TextArea/TextArea.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;CAqRlB,CAAC"}
@@ -12,9 +12,6 @@ export declare const TextArea: import("react").FunctionComponent<import("../../.
12
12
  warning: import("@linaria/core").LinariaClassName;
13
13
  negative: import("@linaria/core").LinariaClassName;
14
14
  };
15
- clear: {
16
- true: import("@linaria/core").LinariaClassName;
17
- };
18
15
  disabled: {
19
16
  true: import("@linaria/core").LinariaClassName;
20
17
  };
@@ -45,9 +42,6 @@ export declare const TextArea: import("react").FunctionComponent<import("../../.
45
42
  } & {
46
43
  rows?: undefined;
47
44
  cols?: undefined;
48
- } & {
49
- clear?: undefined;
50
- hasDivider?: undefined;
51
45
  } & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("../../../../types").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
52
46
  status?: "" | "error" | "success" | "warning" | undefined;
53
47
  label?: string | undefined;
@@ -75,9 +69,6 @@ export declare const TextArea: import("react").FunctionComponent<import("../../.
75
69
  } & {
76
70
  rows?: undefined;
77
71
  cols?: undefined;
78
- } & {
79
- clear?: undefined;
80
- hasDivider?: undefined;
81
72
  } & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("../../../../types").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
82
73
  status?: "" | "error" | "success" | "warning" | undefined;
83
74
  label?: string | undefined;
@@ -105,39 +96,6 @@ export declare const TextArea: import("react").FunctionComponent<import("../../.
105
96
  } & {
106
97
  height?: undefined;
107
98
  width?: undefined;
108
- } & {
109
- clear?: undefined;
110
- hasDivider?: undefined;
111
- } & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("../../../../types").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
112
- status?: "" | "error" | "success" | "warning" | undefined;
113
- label?: string | undefined;
114
- labelPlacement?: "inner" | "outer" | undefined;
115
- contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
116
- resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
117
- helperText?: string | undefined;
118
- leftHelper?: string | undefined;
119
- rightHelper?: string | undefined;
120
- } & {
121
- requiredPlacement?: "left" | "right" | undefined;
122
- } & {
123
- required: true;
124
- optional?: false | undefined;
125
- } & {
126
- size?: string | undefined;
127
- view?: string | undefined;
128
- } & {
129
- clear?: true | undefined;
130
- hasDivider?: boolean | undefined;
131
- } & {
132
- rows?: undefined;
133
- cols?: undefined;
134
- } & {
135
- autoResize?: undefined;
136
- maxAuto?: undefined;
137
- minAuto?: undefined;
138
- } & {
139
- height?: undefined;
140
- width?: undefined;
141
99
  } & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("../../../../types").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
142
100
  status?: "" | "error" | "success" | "warning" | undefined;
143
101
  label?: string | undefined;
@@ -165,9 +123,6 @@ export declare const TextArea: import("react").FunctionComponent<import("../../.
165
123
  } & {
166
124
  rows?: undefined;
167
125
  cols?: undefined;
168
- } & {
169
- clear?: undefined;
170
- hasDivider?: undefined;
171
126
  } & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("../../../../types").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
172
127
  status?: "" | "error" | "success" | "warning" | undefined;
173
128
  label?: string | undefined;
@@ -195,9 +150,6 @@ export declare const TextArea: import("react").FunctionComponent<import("../../.
195
150
  } & {
196
151
  rows?: undefined;
197
152
  cols?: undefined;
198
- } & {
199
- clear?: undefined;
200
- hasDivider?: undefined;
201
153
  } & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("../../../../types").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
202
154
  status?: "" | "error" | "success" | "warning" | undefined;
203
155
  label?: string | undefined;
@@ -225,38 +177,5 @@ export declare const TextArea: import("react").FunctionComponent<import("../../.
225
177
  } & {
226
178
  height?: undefined;
227
179
  width?: undefined;
228
- } & {
229
- clear?: undefined;
230
- hasDivider?: undefined;
231
- } & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("../../../../types").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
232
- status?: "" | "error" | "success" | "warning" | undefined;
233
- label?: string | undefined;
234
- labelPlacement?: "inner" | "outer" | undefined;
235
- contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
236
- resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
237
- helperText?: string | undefined;
238
- leftHelper?: string | undefined;
239
- rightHelper?: string | undefined;
240
- } & {
241
- requiredPlacement?: "left" | "right" | undefined;
242
- } & {
243
- optional?: true | undefined;
244
- required?: false | undefined;
245
- } & {
246
- size?: string | undefined;
247
- view?: string | undefined;
248
- } & {
249
- clear?: true | undefined;
250
- hasDivider?: boolean | undefined;
251
- } & {
252
- rows?: undefined;
253
- cols?: undefined;
254
- } & {
255
- autoResize?: undefined;
256
- maxAuto?: undefined;
257
- minAuto?: undefined;
258
- } & {
259
- height?: undefined;
260
- width?: undefined;
261
180
  } & import("react").RefAttributes<HTMLTextAreaElement>))>;
262
181
  //# sourceMappingURL=TextArea.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/TextArea/TextArea.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yDAA0B,CAAC"}
1
+ {"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/TextArea/TextArea.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yDAA0B,CAAC"}
@@ -16,9 +16,6 @@ export declare const config: {
16
16
  warning: import("@linaria/core").LinariaClassName;
17
17
  negative: import("@linaria/core").LinariaClassName;
18
18
  };
19
- clear: {
20
- true: import("@linaria/core").LinariaClassName;
21
- };
22
19
  disabled: {
23
20
  true: import("@linaria/core").LinariaClassName;
24
21
  };
@@ -1 +1 @@
1
- {"version":3,"file":"TextArea.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/TextArea/TextArea.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;CAyTlB,CAAC"}
1
+ {"version":3,"file":"TextArea.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/TextArea/TextArea.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;CA+QlB,CAAC"}
@@ -12,9 +12,6 @@ export declare const TextArea: import("react").FunctionComponent<import("../../.
12
12
  warning: import("@linaria/core").LinariaClassName;
13
13
  negative: import("@linaria/core").LinariaClassName;
14
14
  };
15
- clear: {
16
- true: import("@linaria/core").LinariaClassName;
17
- };
18
15
  disabled: {
19
16
  true: import("@linaria/core").LinariaClassName;
20
17
  };
@@ -45,9 +42,6 @@ export declare const TextArea: import("react").FunctionComponent<import("../../.
45
42
  } & {
46
43
  rows?: undefined;
47
44
  cols?: undefined;
48
- } & {
49
- clear?: undefined;
50
- hasDivider?: undefined;
51
45
  } & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("../../../../types").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
52
46
  status?: "" | "error" | "success" | "warning" | undefined;
53
47
  label?: string | undefined;
@@ -75,9 +69,6 @@ export declare const TextArea: import("react").FunctionComponent<import("../../.
75
69
  } & {
76
70
  rows?: undefined;
77
71
  cols?: undefined;
78
- } & {
79
- clear?: undefined;
80
- hasDivider?: undefined;
81
72
  } & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("../../../../types").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
82
73
  status?: "" | "error" | "success" | "warning" | undefined;
83
74
  label?: string | undefined;
@@ -105,39 +96,6 @@ export declare const TextArea: import("react").FunctionComponent<import("../../.
105
96
  } & {
106
97
  height?: undefined;
107
98
  width?: undefined;
108
- } & {
109
- clear?: undefined;
110
- hasDivider?: undefined;
111
- } & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("../../../../types").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
112
- status?: "" | "error" | "success" | "warning" | undefined;
113
- label?: string | undefined;
114
- labelPlacement?: "inner" | "outer" | undefined;
115
- contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
116
- resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
117
- helperText?: string | undefined;
118
- leftHelper?: string | undefined;
119
- rightHelper?: string | undefined;
120
- } & {
121
- requiredPlacement?: "left" | "right" | undefined;
122
- } & {
123
- required: true;
124
- optional?: false | undefined;
125
- } & {
126
- size?: string | undefined;
127
- view?: string | undefined;
128
- } & {
129
- clear?: true | undefined;
130
- hasDivider?: boolean | undefined;
131
- } & {
132
- rows?: undefined;
133
- cols?: undefined;
134
- } & {
135
- autoResize?: undefined;
136
- maxAuto?: undefined;
137
- minAuto?: undefined;
138
- } & {
139
- height?: undefined;
140
- width?: undefined;
141
99
  } & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("../../../../types").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
142
100
  status?: "" | "error" | "success" | "warning" | undefined;
143
101
  label?: string | undefined;
@@ -165,9 +123,6 @@ export declare const TextArea: import("react").FunctionComponent<import("../../.
165
123
  } & {
166
124
  rows?: undefined;
167
125
  cols?: undefined;
168
- } & {
169
- clear?: undefined;
170
- hasDivider?: undefined;
171
126
  } & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("../../../../types").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
172
127
  status?: "" | "error" | "success" | "warning" | undefined;
173
128
  label?: string | undefined;
@@ -195,9 +150,6 @@ export declare const TextArea: import("react").FunctionComponent<import("../../.
195
150
  } & {
196
151
  rows?: undefined;
197
152
  cols?: undefined;
198
- } & {
199
- clear?: undefined;
200
- hasDivider?: undefined;
201
153
  } & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("../../../../types").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
202
154
  status?: "" | "error" | "success" | "warning" | undefined;
203
155
  label?: string | undefined;
@@ -225,38 +177,5 @@ export declare const TextArea: import("react").FunctionComponent<import("../../.
225
177
  } & {
226
178
  height?: undefined;
227
179
  width?: undefined;
228
- } & {
229
- clear?: undefined;
230
- hasDivider?: undefined;
231
- } & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("../../../../types").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
232
- status?: "" | "error" | "success" | "warning" | undefined;
233
- label?: string | undefined;
234
- labelPlacement?: "inner" | "outer" | undefined;
235
- contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
236
- resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
237
- helperText?: string | undefined;
238
- leftHelper?: string | undefined;
239
- rightHelper?: string | undefined;
240
- } & {
241
- requiredPlacement?: "left" | "right" | undefined;
242
- } & {
243
- optional?: true | undefined;
244
- required?: false | undefined;
245
- } & {
246
- size?: string | undefined;
247
- view?: string | undefined;
248
- } & {
249
- clear?: true | undefined;
250
- hasDivider?: boolean | undefined;
251
- } & {
252
- rows?: undefined;
253
- cols?: undefined;
254
- } & {
255
- autoResize?: undefined;
256
- maxAuto?: undefined;
257
- minAuto?: undefined;
258
- } & {
259
- height?: undefined;
260
- width?: undefined;
261
180
  } & import("react").RefAttributes<HTMLTextAreaElement>))>;
262
181
  //# sourceMappingURL=TextArea.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/TextArea/TextArea.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yDAA0B,CAAC"}
1
+ {"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/TextArea/TextArea.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yDAA0B,CAAC"}
@@ -1,9 +0,0 @@
1
- import './base_193g3al.css';
2
- 'use strict';
3
-
4
- Object.defineProperty(exports, '__esModule', { value: true });
5
-
6
- var base = "b1x0cx6o";
7
-
8
- exports.base = base;
9
- //# sourceMappingURL=base.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"base.js","sources":["../../../../../src/components/TextArea/variations/_clear/base.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { classes, tokens } from '../../TextArea.tokens';\nimport {\n StyledContainer,\n StyledContent,\n StyledHelpers,\n StyledIndicator,\n StyledLabel,\n StyledPlaceholder,\n StyledTextArea,\n StyledTextAreaWrapper,\n} from '../../TextArea.styles';\n\nexport const base = css`\n &.${classes.clear} {\n border: unset;\n\n ${StyledTextAreaWrapper} {\n box-shadow: unset;\n background-color: unset;\n border-radius: 0;\n padding-bottom: var(${tokens.inputPaddingTop});\n }\n\n ${StyledLabel} {\n margin-bottom: var(${tokens.clearLabelMarginBottom});\n }\n\n ${StyledContent} {\n right: 0;\n }\n\n ${StyledTextArea}, ${StyledHelpers} {\n padding-right: 0;\n padding-left: 0;\n }\n\n ${StyledHelpers} {\n background-color: unset;\n border-radius: 0;\n padding-top: var(${tokens.clearHelpersPaddingTop});\n }\n\n ${StyledTextArea} {\n color: var(${tokens.clearInputColor});\n }\n\n ${StyledContainer}:not(.${classes.innerPlaceholderUp}) ${StyledPlaceholder} {\n color: var(${tokens.clearPlaceholderColor});\n }\n \n ${StyledPlaceholder} {\n padding-left: 0;\n }\n\n ${StyledIndicator} {\n &.${classes.innerLabelPlacement} {\n inset: var(${tokens.clearIndicatorLabelPlacementInner});\n &.align-right {\n inset: var(${tokens.clearIndicatorLabelPlacementInnerRight});\n }\n }\n }\n\n .${classes.styledContainer} {\n border: unset;\n border-radius: 0;\n }\n\n &:focus-within:not([readonly]) .${classes.styledTextAreaWrapper} {\n background-color: unset;\n box-shadow: unset;\n }\n\n &:focus-within:not([readonly]) .${classes.styledContainer} {\n border: unset;\n }\n\n &:focus-within:not([readonly]) .${classes.styledHelpers} {\n background-color: unset;\n }\n\n &.${classes.hasDivider} {\n ${StyledTextAreaWrapper} {\n position: relative;\n\n --plasma_private-textarea-divider-color: var(${String(tokens.dividerColor)});\n\n &:before {\n content: '';\n position: absolute;\n height: 0.063rem;\n width: 100%;\n bottom: 0;\n left: 0;\n background-color: var(--plasma_private-textarea-divider-color);\n transition: background-color 0.1s ease-in;\n }\n }\n &:not([readonly]) ${StyledTextAreaWrapper}:hover {\n --plasma_private-textarea-divider-color: var(\n ${tokens.dividerColorHover},\n var(${String(tokens.dividerColor)})\n );\n }\n &:not([readonly]) ${StyledTextAreaWrapper}:focus-within {\n --plasma_private-textarea-divider-color: var(\n ${tokens.dividerColorFocus},\n var(${String(tokens.dividerColor)})\n );\n }\n }\n }\n`;\n"],"names":["base"],"mappings":";;;;AAcO,IAAMA,IAAI,GAoGhB;;;;"}
@@ -1 +0,0 @@
1
- .b1x0cx6o.textfield-clear{border:unset;}.b1x0cx6o.textfield-clear .surmvwq{box-shadow:unset;background-color:unset;border-radius:0;padding-bottom:var(--plasma-textarea-input-padding-top);}.b1x0cx6o.textfield-clear .s1luq7vd{margin-bottom:var(--plasma-textarea-clear-label-margin-bottom);}.b1x0cx6o.textfield-clear .s18bd513{right:0;}.b1x0cx6o.textfield-clear .si9oz50,.b1x0cx6o.textfield-clear .s18tpn65{padding-right:0;padding-left:0;}.b1x0cx6o.textfield-clear .s18tpn65{background-color:unset;border-radius:0;padding-top:var(--plasma-textarea-clear-helpers-padding-top);}.b1x0cx6o.textfield-clear .si9oz50{color:var(--plasma-textarea-input-clear-color);}.b1x0cx6o.textfield-clear .s7alcr2:not(.inner-placeholder-up) .s3wsw3p{color:var(--plasma-textfield__clear-placeholder-color);}.b1x0cx6o.textfield-clear .s3wsw3p{padding-left:0;}.b1x0cx6o.textfield-clear .stc5t23.label-placement-inner{inset:var(--plasma-textarea__clear-indicator-placement-inner);}.b1x0cx6o.textfield-clear .stc5t23.label-placement-inner.align-right{inset:var(--plasma-textarea__clear-indicator-placement-inner-right);}.b1x0cx6o.textfield-clear .textarea-container{border:unset;border-radius:0;}.b1x0cx6o.textfield-clear:focus-within:not([readonly]) .textarea-wrapper{background-color:unset;box-shadow:unset;}.b1x0cx6o.textfield-clear:focus-within:not([readonly]) .textarea-container{border:unset;}.b1x0cx6o.textfield-clear:focus-within:not([readonly]) .textarea-helpers{background-color:unset;}.b1x0cx6o.textfield-clear.hasDivider .surmvwq{position:relative;--plasma_private-textarea-divider-color:var(--plasma-textfield-divider-color);}.b1x0cx6o.textfield-clear.hasDivider .surmvwq:before{content:'';position:absolute;height:0.063rem;width:100%;bottom:0;left:0;background-color:var(--plasma_private-textarea-divider-color);-webkit-transition:background-color 0.1s ease-in;transition:background-color 0.1s ease-in;}.b1x0cx6o.textfield-clear.hasDivider:not([readonly]) .surmvwq:hover{--plasma_private-textarea-divider-color:var( --plasma-textfield-divider-color-hover, var(--plasma-textfield-divider-color) );}.b1x0cx6o.textfield-clear.hasDivider:not([readonly]) .surmvwq:focus-within{--plasma_private-textarea-divider-color:var( --plasma-textfield-divider-color-focus, var(--plasma-textfield-divider-color) );}
@@ -1 +0,0 @@
1
- .bofyi4a .textarea-container{-webkit-transition:box-shadow 0.1s ease-in-out;transition:box-shadow 0.1s ease-in-out;border-radius:var(--plasma-textarea-border-radius);border:var(--plasma-textarea-border-size) solid var(--plasma-textarea-border-color);}.bofyi4a .textarea-wrapper{-webkit-transition:background-color 0.1s ease-in-out,box-shadow 0.1s ease-in-out;transition:background-color 0.1s ease-in-out,box-shadow 0.1s ease-in-out;box-shadow:inset 0 0 0 var(--plasma-textarea-border-size,1px) var(--plasma-textarea-input-border-color);}.bofyi4a:focus-within:not([readonly]) .textarea-wrapper{background-color:var(--plasma-textarea-input-background-color-focus);box-shadow:inset 0 0 0 var(--plasma-textarea-border-size,1px) var(--plasma-textarea-input-border-color-focus);}.bofyi4a:focus-within:not([readonly]) .textarea-container{border:var(--plasma-textarea-border-size) solid var(--plasma-textarea-border-color-focus);}.bofyi4a:focus-within:not([readonly]) .textarea-helpers{background-color:var(--plasma-textarea-helpers-background-color-focus);}.bofyi4a:hover:not(.textfield-clear):not([disabled]):not([readonly]):not(:focus-within) .textarea-container{border:var(--plasma-textarea-border-size) solid var(--plasma-textarea-border-color-hover);}.bofyi4a:hover:not(.textfield-clear):not([disabled]):not([readonly]):not(:focus-within) .textarea-wrapper{box-shadow:inset 0 0 0 var(--plasma-textarea-border-size,1px) var(--plasma-textarea-input-border-color-hover);background-color:var(--plasma-textarea-input-background-color-hover);}.bofyi4a:hover:not(.textfield-clear):not([disabled]):not([readonly]):not(:focus-within) .textarea-wrapper + .textarea-helpers{background-color:var(--plasma-textarea-helpers-background-color-hover);}.bofyi4a:active:not(.textfield-clear):not([disabled]):not([readonly]):not(:focus-within) .textarea-wrapper{box-shadow:inset 0 0 0 var(--plasma-textarea-border-size,1px) var(--plasma-textarea-input-border-color-active);background-color:var(--plasma-textarea-input-background-color-active);}.bofyi4a:active:not(.textfield-clear):not([disabled]):not([readonly]):not(:focus-within) .textarea-wrapper + .textarea-helpers{background-color:var(--plasma-textarea-helpers-background-color-active);}
@@ -1,10 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.base = void 0;
7
- var _react = /*#__PURE__*/require("@emotion/react");
8
- var _TextArea = /*#__PURE__*/require("../../TextArea.tokens");
9
- var _TextArea2 = /*#__PURE__*/require("../../TextArea.styles");
10
- var base = exports.base = /*#__PURE__*/(0, _react.css)("&.", _TextArea.classes.clear, "{border:unset;", _TextArea2.StyledTextAreaWrapper, "{box-shadow:unset;background-color:unset;border-radius:0;padding-bottom:var(", _TextArea.tokens.inputPaddingTop, ");}", _TextArea2.StyledLabel, "{margin-bottom:var(", _TextArea.tokens.clearLabelMarginBottom, ");}", _TextArea2.StyledContent, "{right:0;}", _TextArea2.StyledTextArea, ",", _TextArea2.StyledHelpers, "{padding-right:0;padding-left:0;}", _TextArea2.StyledHelpers, "{background-color:unset;border-radius:0;padding-top:var(", _TextArea.tokens.clearHelpersPaddingTop, ");}", _TextArea2.StyledTextArea, "{color:var(", _TextArea.tokens.clearInputColor, ");}", _TextArea2.StyledContainer, ":not(.", _TextArea.classes.innerPlaceholderUp, ") ", _TextArea2.StyledPlaceholder, "{color:var(", _TextArea.tokens.clearPlaceholderColor, ");}", _TextArea2.StyledPlaceholder, "{padding-left:0;}", _TextArea2.StyledIndicator, "{&.", _TextArea.classes.innerLabelPlacement, "{inset:var(", _TextArea.tokens.clearIndicatorLabelPlacementInner, ");&.align-right{inset:var(", _TextArea.tokens.clearIndicatorLabelPlacementInnerRight, ");}}}.", _TextArea.classes.styledContainer, "{border:unset;border-radius:0;}&:focus-within:not([readonly]) .", _TextArea.classes.styledTextAreaWrapper, "{background-color:unset;box-shadow:unset;}&:focus-within:not([readonly]) .", _TextArea.classes.styledContainer, "{border:unset;}&:focus-within:not([readonly]) .", _TextArea.classes.styledHelpers, "{background-color:unset;}&.", _TextArea.classes.hasDivider, "{", _TextArea2.StyledTextAreaWrapper, "{position:relative;--plasma_private-textarea-divider-color:var(", /*#__PURE__*/String(_TextArea.tokens.dividerColor), ");&:before{content:'';position:absolute;height:0.063rem;width:100%;bottom:0;left:0;background-color:var(--plasma_private-textarea-divider-color);transition:background-color 0.1s ease-in;}}&:not([readonly]) ", _TextArea2.StyledTextAreaWrapper, ":hover{--plasma_private-textarea-divider-color:var(\n ", _TextArea.tokens.dividerColorHover, ",\n var(", /*#__PURE__*/String(_TextArea.tokens.dividerColor), ")\n );}&:not([readonly]) ", _TextArea2.StyledTextAreaWrapper, ":focus-within{--plasma_private-textarea-divider-color:var(\n ", _TextArea.tokens.dividerColorFocus, ",\n var(", /*#__PURE__*/String(_TextArea.tokens.dividerColor), ")\n );}}};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVGV4dEFyZWEvdmFyaWF0aW9ucy9fY2xlYXIvYmFzZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFjdUIiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9UZXh0QXJlYS92YXJpYXRpb25zL19jbGVhci9iYXNlLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG5pbXBvcnQgeyBjbGFzc2VzLCB0b2tlbnMgfSBmcm9tICcuLi8uLi9UZXh0QXJlYS50b2tlbnMnO1xuaW1wb3J0IHtcbiAgICBTdHlsZWRDb250YWluZXIsXG4gICAgU3R5bGVkQ29udGVudCxcbiAgICBTdHlsZWRIZWxwZXJzLFxuICAgIFN0eWxlZEluZGljYXRvcixcbiAgICBTdHlsZWRMYWJlbCxcbiAgICBTdHlsZWRQbGFjZWhvbGRlcixcbiAgICBTdHlsZWRUZXh0QXJlYSxcbiAgICBTdHlsZWRUZXh0QXJlYVdyYXBwZXIsXG59IGZyb20gJy4uLy4uL1RleHRBcmVhLnN0eWxlcyc7XG5cbmV4cG9ydCBjb25zdCBiYXNlID0gY3NzYFxuICAgICYuJHtjbGFzc2VzLmNsZWFyfSB7XG4gICAgICAgIGJvcmRlcjogdW5zZXQ7XG5cbiAgICAgICAgJHtTdHlsZWRUZXh0QXJlYVdyYXBwZXJ9IHtcbiAgICAgICAgICAgIGJveC1zaGFkb3c6IHVuc2V0O1xuICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogdW5zZXQ7XG4gICAgICAgICAgICBib3JkZXItcmFkaXVzOiAwO1xuICAgICAgICAgICAgcGFkZGluZy1ib3R0b206IHZhcigke3Rva2Vucy5pbnB1dFBhZGRpbmdUb3B9KTtcbiAgICAgICAgfVxuXG4gICAgICAgICR7U3R5bGVkTGFiZWx9IHtcbiAgICAgICAgICAgIG1hcmdpbi1ib3R0b206IHZhcigke3Rva2Vucy5jbGVhckxhYmVsTWFyZ2luQm90dG9tfSk7XG4gICAgICAgIH1cblxuICAgICAgICAke1N0eWxlZENvbnRlbnR9IHtcbiAgICAgICAgICAgIHJpZ2h0OiAwO1xuICAgICAgICB9XG5cbiAgICAgICAgJHtTdHlsZWRUZXh0QXJlYX0sICR7U3R5bGVkSGVscGVyc30ge1xuICAgICAgICAgICAgcGFkZGluZy1yaWdodDogMDtcbiAgICAgICAgICAgIHBhZGRpbmctbGVmdDogMDtcbiAgICAgICAgfVxuXG4gICAgICAgICR7U3R5bGVkSGVscGVyc30ge1xuICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogdW5zZXQ7XG4gICAgICAgICAgICBib3JkZXItcmFkaXVzOiAwO1xuICAgICAgICAgICAgcGFkZGluZy10b3A6IHZhcigke3Rva2Vucy5jbGVhckhlbHBlcnNQYWRkaW5nVG9wfSk7XG4gICAgICAgIH1cblxuICAgICAgICAke1N0eWxlZFRleHRBcmVhfSB7XG4gICAgICAgICAgICBjb2xvcjogdmFyKCR7dG9rZW5zLmNsZWFySW5wdXRDb2xvcn0pO1xuICAgICAgICB9XG5cbiAgICAgICAgJHtTdHlsZWRDb250YWluZXJ9Om5vdCguJHtjbGFzc2VzLmlubmVyUGxhY2Vob2xkZXJVcH0pICR7U3R5bGVkUGxhY2Vob2xkZXJ9IHtcbiAgICAgICAgICAgIGNvbG9yOiB2YXIoJHt0b2tlbnMuY2xlYXJQbGFjZWhvbGRlckNvbG9yfSk7XG4gICAgICAgIH1cbiAgICAgICAgXG4gICAgICAgICR7U3R5bGVkUGxhY2Vob2xkZXJ9IHtcbiAgICAgICAgICAgIHBhZGRpbmctbGVmdDogMDtcbiAgICAgICAgfVxuXG4gICAgICAgICR7U3R5bGVkSW5kaWNhdG9yfSB7XG4gICAgICAgICAgICAmLiR7Y2xhc3Nlcy5pbm5lckxhYmVsUGxhY2VtZW50fSB7XG4gICAgICAgICAgICAgICAgaW5zZXQ6IHZhcigke3Rva2Vucy5jbGVhckluZGljYXRvckxhYmVsUGxhY2VtZW50SW5uZXJ9KTtcbiAgICAgICAgICAgICAgICAmLmFsaWduLXJpZ2h0IHtcbiAgICAgICAgICAgICAgICAgICAgaW5zZXQ6IHZhcigke3Rva2Vucy5jbGVhckluZGljYXRvckxhYmVsUGxhY2VtZW50SW5uZXJSaWdodH0pO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgIC4ke2NsYXNzZXMuc3R5bGVkQ29udGFpbmVyfSB7XG4gICAgICAgICAgICBib3JkZXI6IHVuc2V0O1xuICAgICAgICAgICAgYm9yZGVyLXJhZGl1czogMDtcbiAgICAgICAgfVxuXG4gICAgICAgICY6Zm9jdXMtd2l0aGluOm5vdChbcmVhZG9ubHldKSAuJHtjbGFzc2VzLnN0eWxlZFRleHRBcmVhV3JhcHBlcn0ge1xuICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogdW5zZXQ7XG4gICAgICAgICAgICBib3gtc2hhZG93OiB1bnNldDtcbiAgICAgICAgfVxuXG4gICAgICAgICY6Zm9jdXMtd2l0aGluOm5vdChbcmVhZG9ubHldKSAuJHtjbGFzc2VzLnN0eWxlZENvbnRhaW5lcn0ge1xuICAgICAgICAgICAgYm9yZGVyOiB1bnNldDtcbiAgICAgICAgfVxuXG4gICAgICAgICY6Zm9jdXMtd2l0aGluOm5vdChbcmVhZG9ubHldKSAuJHtjbGFzc2VzLnN0eWxlZEhlbHBlcnN9IHtcbiAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6IHVuc2V0O1xuICAgICAgICB9XG5cbiAgICAgICAgJi4ke2NsYXNzZXMuaGFzRGl2aWRlcn0ge1xuICAgICAgICAgICAgJHtTdHlsZWRUZXh0QXJlYVdyYXBwZXJ9IHtcbiAgICAgICAgICAgICAgICBwb3NpdGlvbjogcmVsYXRpdmU7XG5cbiAgICAgICAgICAgICAgICAtLXBsYXNtYV9wcml2YXRlLXRleHRhcmVhLWRpdmlkZXItY29sb3I6IHZhcigke1N0cmluZyh0b2tlbnMuZGl2aWRlckNvbG9yKX0pO1xuXG4gICAgICAgICAgICAgICAgJjpiZWZvcmUge1xuICAgICAgICAgICAgICAgICAgICBjb250ZW50OiAnJztcbiAgICAgICAgICAgICAgICAgICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgICAgICAgICAgICAgICAgICBoZWlnaHQ6IDAuMDYzcmVtO1xuICAgICAgICAgICAgICAgICAgICB3aWR0aDogMTAwJTtcbiAgICAgICAgICAgICAgICAgICAgYm90dG9tOiAwO1xuICAgICAgICAgICAgICAgICAgICBsZWZ0OiAwO1xuICAgICAgICAgICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoLS1wbGFzbWFfcHJpdmF0ZS10ZXh0YXJlYS1kaXZpZGVyLWNvbG9yKTtcbiAgICAgICAgICAgICAgICAgICAgdHJhbnNpdGlvbjogYmFja2dyb3VuZC1jb2xvciAwLjFzIGVhc2UtaW47XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICAgICAgJjpub3QoW3JlYWRvbmx5XSkgJHtTdHlsZWRUZXh0QXJlYVdyYXBwZXJ9OmhvdmVyIHtcbiAgICAgICAgICAgICAgICAtLXBsYXNtYV9wcml2YXRlLXRleHRhcmVhLWRpdmlkZXItY29sb3I6IHZhcihcbiAgICAgICAgICAgICAgICAgICAgJHt0b2tlbnMuZGl2aWRlckNvbG9ySG92ZXJ9LFxuICAgICAgICAgICAgICAgICAgICB2YXIoJHtTdHJpbmcodG9rZW5zLmRpdmlkZXJDb2xvcil9KVxuICAgICAgICAgICAgICAgICk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICAmOm5vdChbcmVhZG9ubHldKSAke1N0eWxlZFRleHRBcmVhV3JhcHBlcn06Zm9jdXMtd2l0aGluIHtcbiAgICAgICAgICAgICAgICAtLXBsYXNtYV9wcml2YXRlLXRleHRhcmVhLWRpdmlkZXItY29sb3I6IHZhcihcbiAgICAgICAgICAgICAgICAgICAgJHt0b2tlbnMuZGl2aWRlckNvbG9yRm9jdXN9LFxuICAgICAgICAgICAgICAgICAgICB2YXIoJHtTdHJpbmcodG9rZW5zLmRpdmlkZXJDb2xvcil9KVxuICAgICAgICAgICAgICAgICk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5gO1xuIl19 */"));
@@ -1,4 +0,0 @@
1
- import { css } from '@emotion/react';
2
- import { classes, tokens } from '../../TextArea.tokens';
3
- import { StyledContainer, StyledContent, StyledHelpers, StyledIndicator, StyledLabel, StyledPlaceholder, StyledTextArea, StyledTextAreaWrapper } from '../../TextArea.styles';
4
- export var base = /*#__PURE__*/css("&.", classes.clear, "{border:unset;", StyledTextAreaWrapper, "{box-shadow:unset;background-color:unset;border-radius:0;padding-bottom:var(", tokens.inputPaddingTop, ");}", StyledLabel, "{margin-bottom:var(", tokens.clearLabelMarginBottom, ");}", StyledContent, "{right:0;}", StyledTextArea, ",", StyledHelpers, "{padding-right:0;padding-left:0;}", StyledHelpers, "{background-color:unset;border-radius:0;padding-top:var(", tokens.clearHelpersPaddingTop, ");}", StyledTextArea, "{color:var(", tokens.clearInputColor, ");}", StyledContainer, ":not(.", classes.innerPlaceholderUp, ") ", StyledPlaceholder, "{color:var(", tokens.clearPlaceholderColor, ");}", StyledPlaceholder, "{padding-left:0;}", StyledIndicator, "{&.", classes.innerLabelPlacement, "{inset:var(", tokens.clearIndicatorLabelPlacementInner, ");&.align-right{inset:var(", tokens.clearIndicatorLabelPlacementInnerRight, ");}}}.", classes.styledContainer, "{border:unset;border-radius:0;}&:focus-within:not([readonly]) .", classes.styledTextAreaWrapper, "{background-color:unset;box-shadow:unset;}&:focus-within:not([readonly]) .", classes.styledContainer, "{border:unset;}&:focus-within:not([readonly]) .", classes.styledHelpers, "{background-color:unset;}&.", classes.hasDivider, "{", StyledTextAreaWrapper, "{position:relative;--plasma_private-textarea-divider-color:var(", /*#__PURE__*/String(tokens.dividerColor), ");&:before{content:'';position:absolute;height:0.063rem;width:100%;bottom:0;left:0;background-color:var(--plasma_private-textarea-divider-color);transition:background-color 0.1s ease-in;}}&:not([readonly]) ", StyledTextAreaWrapper, ":hover{--plasma_private-textarea-divider-color:var(\n ", tokens.dividerColorHover, ",\n var(", /*#__PURE__*/String(tokens.dividerColor), ")\n );}&:not([readonly]) ", StyledTextAreaWrapper, ":focus-within{--plasma_private-textarea-divider-color:var(\n ", tokens.dividerColorFocus, ",\n var(", /*#__PURE__*/String(tokens.dividerColor), ")\n );}}};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVGV4dEFyZWEvdmFyaWF0aW9ucy9fY2xlYXIvYmFzZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFjdUIiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9UZXh0QXJlYS92YXJpYXRpb25zL19jbGVhci9iYXNlLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG5pbXBvcnQgeyBjbGFzc2VzLCB0b2tlbnMgfSBmcm9tICcuLi8uLi9UZXh0QXJlYS50b2tlbnMnO1xuaW1wb3J0IHtcbiAgICBTdHlsZWRDb250YWluZXIsXG4gICAgU3R5bGVkQ29udGVudCxcbiAgICBTdHlsZWRIZWxwZXJzLFxuICAgIFN0eWxlZEluZGljYXRvcixcbiAgICBTdHlsZWRMYWJlbCxcbiAgICBTdHlsZWRQbGFjZWhvbGRlcixcbiAgICBTdHlsZWRUZXh0QXJlYSxcbiAgICBTdHlsZWRUZXh0QXJlYVdyYXBwZXIsXG59IGZyb20gJy4uLy4uL1RleHRBcmVhLnN0eWxlcyc7XG5cbmV4cG9ydCBjb25zdCBiYXNlID0gY3NzYFxuICAgICYuJHtjbGFzc2VzLmNsZWFyfSB7XG4gICAgICAgIGJvcmRlcjogdW5zZXQ7XG5cbiAgICAgICAgJHtTdHlsZWRUZXh0QXJlYVdyYXBwZXJ9IHtcbiAgICAgICAgICAgIGJveC1zaGFkb3c6IHVuc2V0O1xuICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogdW5zZXQ7XG4gICAgICAgICAgICBib3JkZXItcmFkaXVzOiAwO1xuICAgICAgICAgICAgcGFkZGluZy1ib3R0b206IHZhcigke3Rva2Vucy5pbnB1dFBhZGRpbmdUb3B9KTtcbiAgICAgICAgfVxuXG4gICAgICAgICR7U3R5bGVkTGFiZWx9IHtcbiAgICAgICAgICAgIG1hcmdpbi1ib3R0b206IHZhcigke3Rva2Vucy5jbGVhckxhYmVsTWFyZ2luQm90dG9tfSk7XG4gICAgICAgIH1cblxuICAgICAgICAke1N0eWxlZENvbnRlbnR9IHtcbiAgICAgICAgICAgIHJpZ2h0OiAwO1xuICAgICAgICB9XG5cbiAgICAgICAgJHtTdHlsZWRUZXh0QXJlYX0sICR7U3R5bGVkSGVscGVyc30ge1xuICAgICAgICAgICAgcGFkZGluZy1yaWdodDogMDtcbiAgICAgICAgICAgIHBhZGRpbmctbGVmdDogMDtcbiAgICAgICAgfVxuXG4gICAgICAgICR7U3R5bGVkSGVscGVyc30ge1xuICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogdW5zZXQ7XG4gICAgICAgICAgICBib3JkZXItcmFkaXVzOiAwO1xuICAgICAgICAgICAgcGFkZGluZy10b3A6IHZhcigke3Rva2Vucy5jbGVhckhlbHBlcnNQYWRkaW5nVG9wfSk7XG4gICAgICAgIH1cblxuICAgICAgICAke1N0eWxlZFRleHRBcmVhfSB7XG4gICAgICAgICAgICBjb2xvcjogdmFyKCR7dG9rZW5zLmNsZWFySW5wdXRDb2xvcn0pO1xuICAgICAgICB9XG5cbiAgICAgICAgJHtTdHlsZWRDb250YWluZXJ9Om5vdCguJHtjbGFzc2VzLmlubmVyUGxhY2Vob2xkZXJVcH0pICR7U3R5bGVkUGxhY2Vob2xkZXJ9IHtcbiAgICAgICAgICAgIGNvbG9yOiB2YXIoJHt0b2tlbnMuY2xlYXJQbGFjZWhvbGRlckNvbG9yfSk7XG4gICAgICAgIH1cbiAgICAgICAgXG4gICAgICAgICR7U3R5bGVkUGxhY2Vob2xkZXJ9IHtcbiAgICAgICAgICAgIHBhZGRpbmctbGVmdDogMDtcbiAgICAgICAgfVxuXG4gICAgICAgICR7U3R5bGVkSW5kaWNhdG9yfSB7XG4gICAgICAgICAgICAmLiR7Y2xhc3Nlcy5pbm5lckxhYmVsUGxhY2VtZW50fSB7XG4gICAgICAgICAgICAgICAgaW5zZXQ6IHZhcigke3Rva2Vucy5jbGVhckluZGljYXRvckxhYmVsUGxhY2VtZW50SW5uZXJ9KTtcbiAgICAgICAgICAgICAgICAmLmFsaWduLXJpZ2h0IHtcbiAgICAgICAgICAgICAgICAgICAgaW5zZXQ6IHZhcigke3Rva2Vucy5jbGVhckluZGljYXRvckxhYmVsUGxhY2VtZW50SW5uZXJSaWdodH0pO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgIC4ke2NsYXNzZXMuc3R5bGVkQ29udGFpbmVyfSB7XG4gICAgICAgICAgICBib3JkZXI6IHVuc2V0O1xuICAgICAgICAgICAgYm9yZGVyLXJhZGl1czogMDtcbiAgICAgICAgfVxuXG4gICAgICAgICY6Zm9jdXMtd2l0aGluOm5vdChbcmVhZG9ubHldKSAuJHtjbGFzc2VzLnN0eWxlZFRleHRBcmVhV3JhcHBlcn0ge1xuICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogdW5zZXQ7XG4gICAgICAgICAgICBib3gtc2hhZG93OiB1bnNldDtcbiAgICAgICAgfVxuXG4gICAgICAgICY6Zm9jdXMtd2l0aGluOm5vdChbcmVhZG9ubHldKSAuJHtjbGFzc2VzLnN0eWxlZENvbnRhaW5lcn0ge1xuICAgICAgICAgICAgYm9yZGVyOiB1bnNldDtcbiAgICAgICAgfVxuXG4gICAgICAgICY6Zm9jdXMtd2l0aGluOm5vdChbcmVhZG9ubHldKSAuJHtjbGFzc2VzLnN0eWxlZEhlbHBlcnN9IHtcbiAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6IHVuc2V0O1xuICAgICAgICB9XG5cbiAgICAgICAgJi4ke2NsYXNzZXMuaGFzRGl2aWRlcn0ge1xuICAgICAgICAgICAgJHtTdHlsZWRUZXh0QXJlYVdyYXBwZXJ9IHtcbiAgICAgICAgICAgICAgICBwb3NpdGlvbjogcmVsYXRpdmU7XG5cbiAgICAgICAgICAgICAgICAtLXBsYXNtYV9wcml2YXRlLXRleHRhcmVhLWRpdmlkZXItY29sb3I6IHZhcigke1N0cmluZyh0b2tlbnMuZGl2aWRlckNvbG9yKX0pO1xuXG4gICAgICAgICAgICAgICAgJjpiZWZvcmUge1xuICAgICAgICAgICAgICAgICAgICBjb250ZW50OiAnJztcbiAgICAgICAgICAgICAgICAgICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgICAgICAgICAgICAgICAgICBoZWlnaHQ6IDAuMDYzcmVtO1xuICAgICAgICAgICAgICAgICAgICB3aWR0aDogMTAwJTtcbiAgICAgICAgICAgICAgICAgICAgYm90dG9tOiAwO1xuICAgICAgICAgICAgICAgICAgICBsZWZ0OiAwO1xuICAgICAgICAgICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoLS1wbGFzbWFfcHJpdmF0ZS10ZXh0YXJlYS1kaXZpZGVyLWNvbG9yKTtcbiAgICAgICAgICAgICAgICAgICAgdHJhbnNpdGlvbjogYmFja2dyb3VuZC1jb2xvciAwLjFzIGVhc2UtaW47XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICAgICAgJjpub3QoW3JlYWRvbmx5XSkgJHtTdHlsZWRUZXh0QXJlYVdyYXBwZXJ9OmhvdmVyIHtcbiAgICAgICAgICAgICAgICAtLXBsYXNtYV9wcml2YXRlLXRleHRhcmVhLWRpdmlkZXItY29sb3I6IHZhcihcbiAgICAgICAgICAgICAgICAgICAgJHt0b2tlbnMuZGl2aWRlckNvbG9ySG92ZXJ9LFxuICAgICAgICAgICAgICAgICAgICB2YXIoJHtTdHJpbmcodG9rZW5zLmRpdmlkZXJDb2xvcil9KVxuICAgICAgICAgICAgICAgICk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICAmOm5vdChbcmVhZG9ubHldKSAke1N0eWxlZFRleHRBcmVhV3JhcHBlcn06Zm9jdXMtd2l0aGluIHtcbiAgICAgICAgICAgICAgICAtLXBsYXNtYV9wcml2YXRlLXRleHRhcmVhLWRpdmlkZXItY29sb3I6IHZhcihcbiAgICAgICAgICAgICAgICAgICAgJHt0b2tlbnMuZGl2aWRlckNvbG9yRm9jdXN9LFxuICAgICAgICAgICAgICAgICAgICB2YXIoJHtTdHJpbmcodG9rZW5zLmRpdmlkZXJDb2xvcil9KVxuICAgICAgICAgICAgICAgICk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5gO1xuIl19 */"));
@@ -1,5 +0,0 @@
1
- import './base_193g3al.css';
2
- var base = "b1x0cx6o";
3
-
4
- export { base };
5
- //# sourceMappingURL=base.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"base.js","sources":["../../../../../src/components/TextArea/variations/_clear/base.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { classes, tokens } from '../../TextArea.tokens';\nimport {\n StyledContainer,\n StyledContent,\n StyledHelpers,\n StyledIndicator,\n StyledLabel,\n StyledPlaceholder,\n StyledTextArea,\n StyledTextAreaWrapper,\n} from '../../TextArea.styles';\n\nexport const base = css`\n &.${classes.clear} {\n border: unset;\n\n ${StyledTextAreaWrapper} {\n box-shadow: unset;\n background-color: unset;\n border-radius: 0;\n padding-bottom: var(${tokens.inputPaddingTop});\n }\n\n ${StyledLabel} {\n margin-bottom: var(${tokens.clearLabelMarginBottom});\n }\n\n ${StyledContent} {\n right: 0;\n }\n\n ${StyledTextArea}, ${StyledHelpers} {\n padding-right: 0;\n padding-left: 0;\n }\n\n ${StyledHelpers} {\n background-color: unset;\n border-radius: 0;\n padding-top: var(${tokens.clearHelpersPaddingTop});\n }\n\n ${StyledTextArea} {\n color: var(${tokens.clearInputColor});\n }\n\n ${StyledContainer}:not(.${classes.innerPlaceholderUp}) ${StyledPlaceholder} {\n color: var(${tokens.clearPlaceholderColor});\n }\n \n ${StyledPlaceholder} {\n padding-left: 0;\n }\n\n ${StyledIndicator} {\n &.${classes.innerLabelPlacement} {\n inset: var(${tokens.clearIndicatorLabelPlacementInner});\n &.align-right {\n inset: var(${tokens.clearIndicatorLabelPlacementInnerRight});\n }\n }\n }\n\n .${classes.styledContainer} {\n border: unset;\n border-radius: 0;\n }\n\n &:focus-within:not([readonly]) .${classes.styledTextAreaWrapper} {\n background-color: unset;\n box-shadow: unset;\n }\n\n &:focus-within:not([readonly]) .${classes.styledContainer} {\n border: unset;\n }\n\n &:focus-within:not([readonly]) .${classes.styledHelpers} {\n background-color: unset;\n }\n\n &.${classes.hasDivider} {\n ${StyledTextAreaWrapper} {\n position: relative;\n\n --plasma_private-textarea-divider-color: var(${String(tokens.dividerColor)});\n\n &:before {\n content: '';\n position: absolute;\n height: 0.063rem;\n width: 100%;\n bottom: 0;\n left: 0;\n background-color: var(--plasma_private-textarea-divider-color);\n transition: background-color 0.1s ease-in;\n }\n }\n &:not([readonly]) ${StyledTextAreaWrapper}:hover {\n --plasma_private-textarea-divider-color: var(\n ${tokens.dividerColorHover},\n var(${String(tokens.dividerColor)})\n );\n }\n &:not([readonly]) ${StyledTextAreaWrapper}:focus-within {\n --plasma_private-textarea-divider-color: var(\n ${tokens.dividerColorFocus},\n var(${String(tokens.dividerColor)})\n );\n }\n }\n }\n`;\n"],"names":["base"],"mappings":"AAcO,IAAMA,IAAI,GAoGhB;;;;"}
@@ -1 +0,0 @@
1
- .b1x0cx6o.textfield-clear{border:unset;}.b1x0cx6o.textfield-clear .surmvwq{box-shadow:unset;background-color:unset;border-radius:0;padding-bottom:var(--plasma-textarea-input-padding-top);}.b1x0cx6o.textfield-clear .s1luq7vd{margin-bottom:var(--plasma-textarea-clear-label-margin-bottom);}.b1x0cx6o.textfield-clear .s18bd513{right:0;}.b1x0cx6o.textfield-clear .si9oz50,.b1x0cx6o.textfield-clear .s18tpn65{padding-right:0;padding-left:0;}.b1x0cx6o.textfield-clear .s18tpn65{background-color:unset;border-radius:0;padding-top:var(--plasma-textarea-clear-helpers-padding-top);}.b1x0cx6o.textfield-clear .si9oz50{color:var(--plasma-textarea-input-clear-color);}.b1x0cx6o.textfield-clear .s7alcr2:not(.inner-placeholder-up) .s3wsw3p{color:var(--plasma-textfield__clear-placeholder-color);}.b1x0cx6o.textfield-clear .s3wsw3p{padding-left:0;}.b1x0cx6o.textfield-clear .stc5t23.label-placement-inner{inset:var(--plasma-textarea__clear-indicator-placement-inner);}.b1x0cx6o.textfield-clear .stc5t23.label-placement-inner.align-right{inset:var(--plasma-textarea__clear-indicator-placement-inner-right);}.b1x0cx6o.textfield-clear .textarea-container{border:unset;border-radius:0;}.b1x0cx6o.textfield-clear:focus-within:not([readonly]) .textarea-wrapper{background-color:unset;box-shadow:unset;}.b1x0cx6o.textfield-clear:focus-within:not([readonly]) .textarea-container{border:unset;}.b1x0cx6o.textfield-clear:focus-within:not([readonly]) .textarea-helpers{background-color:unset;}.b1x0cx6o.textfield-clear.hasDivider .surmvwq{position:relative;--plasma_private-textarea-divider-color:var(--plasma-textfield-divider-color);}.b1x0cx6o.textfield-clear.hasDivider .surmvwq:before{content:'';position:absolute;height:0.063rem;width:100%;bottom:0;left:0;background-color:var(--plasma_private-textarea-divider-color);-webkit-transition:background-color 0.1s ease-in;transition:background-color 0.1s ease-in;}.b1x0cx6o.textfield-clear.hasDivider:not([readonly]) .surmvwq:hover{--plasma_private-textarea-divider-color:var( --plasma-textfield-divider-color-hover, var(--plasma-textfield-divider-color) );}.b1x0cx6o.textfield-clear.hasDivider:not([readonly]) .surmvwq:focus-within{--plasma_private-textarea-divider-color:var( --plasma-textfield-divider-color-focus, var(--plasma-textfield-divider-color) );}
@@ -1 +0,0 @@
1
- .bofyi4a .textarea-container{-webkit-transition:box-shadow 0.1s ease-in-out;transition:box-shadow 0.1s ease-in-out;border-radius:var(--plasma-textarea-border-radius);border:var(--plasma-textarea-border-size) solid var(--plasma-textarea-border-color);}.bofyi4a .textarea-wrapper{-webkit-transition:background-color 0.1s ease-in-out,box-shadow 0.1s ease-in-out;transition:background-color 0.1s ease-in-out,box-shadow 0.1s ease-in-out;box-shadow:inset 0 0 0 var(--plasma-textarea-border-size,1px) var(--plasma-textarea-input-border-color);}.bofyi4a:focus-within:not([readonly]) .textarea-wrapper{background-color:var(--plasma-textarea-input-background-color-focus);box-shadow:inset 0 0 0 var(--plasma-textarea-border-size,1px) var(--plasma-textarea-input-border-color-focus);}.bofyi4a:focus-within:not([readonly]) .textarea-container{border:var(--plasma-textarea-border-size) solid var(--plasma-textarea-border-color-focus);}.bofyi4a:focus-within:not([readonly]) .textarea-helpers{background-color:var(--plasma-textarea-helpers-background-color-focus);}.bofyi4a:hover:not(.textfield-clear):not([disabled]):not([readonly]):not(:focus-within) .textarea-container{border:var(--plasma-textarea-border-size) solid var(--plasma-textarea-border-color-hover);}.bofyi4a:hover:not(.textfield-clear):not([disabled]):not([readonly]):not(:focus-within) .textarea-wrapper{box-shadow:inset 0 0 0 var(--plasma-textarea-border-size,1px) var(--plasma-textarea-input-border-color-hover);background-color:var(--plasma-textarea-input-background-color-hover);}.bofyi4a:hover:not(.textfield-clear):not([disabled]):not([readonly]):not(:focus-within) .textarea-wrapper + .textarea-helpers{background-color:var(--plasma-textarea-helpers-background-color-hover);}.bofyi4a:active:not(.textfield-clear):not([disabled]):not([readonly]):not(:focus-within) .textarea-wrapper{box-shadow:inset 0 0 0 var(--plasma-textarea-border-size,1px) var(--plasma-textarea-input-border-color-active);background-color:var(--plasma-textarea-input-background-color-active);}.bofyi4a:active:not(.textfield-clear):not([disabled]):not([readonly]):not(:focus-within) .textarea-wrapper + .textarea-helpers{background-color:var(--plasma-textarea-helpers-background-color-active);}
@@ -1,10 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.base = void 0;
7
- var _styledComponents = /*#__PURE__*/require("styled-components");
8
- var _TextArea = /*#__PURE__*/require("../../TextArea.tokens");
9
- var _TextArea2 = /*#__PURE__*/require("../../TextArea.styles");
10
- var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["&.", "{border:unset;", "{box-shadow:unset;background-color:unset;border-radius:0;padding-bottom:var(", ");}", "{margin-bottom:var(", ");}", "{right:0;}", ",", "{padding-right:0;padding-left:0;}", "{background-color:unset;border-radius:0;padding-top:var(", ");}", "{color:var(", ");}", ":not(.", ") ", "{color:var(", ");}", "{padding-left:0;}", "{&.", "{inset:var(", ");&.align-right{inset:var(", ");}}}.", "{border:unset;border-radius:0;}&:focus-within:not([readonly]) .", "{background-color:unset;box-shadow:unset;}&:focus-within:not([readonly]) .", "{border:unset;}&:focus-within:not([readonly]) .", "{background-color:unset;}&.", "{", "{position:relative;--plasma_private-textarea-divider-color:var(", ");&:before{content:'';position:absolute;height:0.063rem;width:100%;bottom:0;left:0;background-color:var(--plasma_private-textarea-divider-color);transition:background-color 0.1s ease-in;}}&:not([readonly]) ", ":hover{--plasma_private-textarea-divider-color:var( ", ",var(", ") );}&:not([readonly]) ", ":focus-within{--plasma_private-textarea-divider-color:var( ", ",var(", ") );}}}"], _TextArea.classes.clear, _TextArea2.StyledTextAreaWrapper, _TextArea.tokens.inputPaddingTop, _TextArea2.StyledLabel, _TextArea.tokens.clearLabelMarginBottom, _TextArea2.StyledContent, _TextArea2.StyledTextArea, _TextArea2.StyledHelpers, _TextArea2.StyledHelpers, _TextArea.tokens.clearHelpersPaddingTop, _TextArea2.StyledTextArea, _TextArea.tokens.clearInputColor, _TextArea2.StyledContainer, _TextArea.classes.innerPlaceholderUp, _TextArea2.StyledPlaceholder, _TextArea.tokens.clearPlaceholderColor, _TextArea2.StyledPlaceholder, _TextArea2.StyledIndicator, _TextArea.classes.innerLabelPlacement, _TextArea.tokens.clearIndicatorLabelPlacementInner, _TextArea.tokens.clearIndicatorLabelPlacementInnerRight, _TextArea.classes.styledContainer, _TextArea.classes.styledTextAreaWrapper, _TextArea.classes.styledContainer, _TextArea.classes.styledHelpers, _TextArea.classes.hasDivider, _TextArea2.StyledTextAreaWrapper, /*#__PURE__*/String(_TextArea.tokens.dividerColor), _TextArea2.StyledTextAreaWrapper, _TextArea.tokens.dividerColorHover, /*#__PURE__*/String(_TextArea.tokens.dividerColor), _TextArea2.StyledTextAreaWrapper, _TextArea.tokens.dividerColorFocus, /*#__PURE__*/String(_TextArea.tokens.dividerColor));
@@ -1,4 +0,0 @@
1
- import { css } from 'styled-components';
2
- import { classes, tokens } from '../../TextArea.tokens';
3
- import { StyledContainer, StyledContent, StyledHelpers, StyledIndicator, StyledLabel, StyledPlaceholder, StyledTextArea, StyledTextAreaWrapper } from '../../TextArea.styles';
4
- export var base = /*#__PURE__*/css(["&.", "{border:unset;", "{box-shadow:unset;background-color:unset;border-radius:0;padding-bottom:var(", ");}", "{margin-bottom:var(", ");}", "{right:0;}", ",", "{padding-right:0;padding-left:0;}", "{background-color:unset;border-radius:0;padding-top:var(", ");}", "{color:var(", ");}", ":not(.", ") ", "{color:var(", ");}", "{padding-left:0;}", "{&.", "{inset:var(", ");&.align-right{inset:var(", ");}}}.", "{border:unset;border-radius:0;}&:focus-within:not([readonly]) .", "{background-color:unset;box-shadow:unset;}&:focus-within:not([readonly]) .", "{border:unset;}&:focus-within:not([readonly]) .", "{background-color:unset;}&.", "{", "{position:relative;--plasma_private-textarea-divider-color:var(", ");&:before{content:'';position:absolute;height:0.063rem;width:100%;bottom:0;left:0;background-color:var(--plasma_private-textarea-divider-color);transition:background-color 0.1s ease-in;}}&:not([readonly]) ", ":hover{--plasma_private-textarea-divider-color:var( ", ",var(", ") );}&:not([readonly]) ", ":focus-within{--plasma_private-textarea-divider-color:var( ", ",var(", ") );}}}"], classes.clear, StyledTextAreaWrapper, tokens.inputPaddingTop, StyledLabel, tokens.clearLabelMarginBottom, StyledContent, StyledTextArea, StyledHelpers, StyledHelpers, tokens.clearHelpersPaddingTop, StyledTextArea, tokens.clearInputColor, StyledContainer, classes.innerPlaceholderUp, StyledPlaceholder, tokens.clearPlaceholderColor, StyledPlaceholder, StyledIndicator, classes.innerLabelPlacement, tokens.clearIndicatorLabelPlacementInner, tokens.clearIndicatorLabelPlacementInnerRight, classes.styledContainer, classes.styledTextAreaWrapper, classes.styledContainer, classes.styledHelpers, classes.hasDivider, StyledTextAreaWrapper, /*#__PURE__*/String(tokens.dividerColor), StyledTextAreaWrapper, tokens.dividerColorHover, /*#__PURE__*/String(tokens.dividerColor), StyledTextAreaWrapper, tokens.dividerColorFocus, /*#__PURE__*/String(tokens.dividerColor));
@@ -1,2 +0,0 @@
1
- export declare const base: import("@linaria/core").LinariaClassName;
2
- //# sourceMappingURL=base.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextArea/variations/_clear/base.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,IAAI,0CAoGhB,CAAC"}