@salutejs/plasma-new-hope 0.315.0-canary.1882.14203971803.0 → 0.315.1-dev.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.
- package/cjs/components/Slider/Slider.css +6 -6
- package/cjs/components/Slider/components/Single/Single.css +6 -6
- package/cjs/components/Slider/components/Single/Single.styles.js +1 -1
- package/cjs/components/Slider/components/Single/Single.styles.js.map +1 -1
- package/cjs/components/Slider/components/Single/{Single.styles_e0wk24.css → Single.styles_1a6l9pg.css} +2 -2
- package/cjs/components/TextArea/TextArea.js +1 -0
- package/cjs/components/TextArea/TextArea.js.map +1 -1
- package/cjs/components/TextArea/TextArea.styles.js +79 -72
- package/cjs/components/TextArea/TextArea.styles.js.map +1 -1
- package/cjs/components/TextArea/{TextArea.styles_ztsrpt.css → TextArea.styles_1r7xix5.css} +1 -1
- package/cjs/components/TextArea/ui/Hint/Hint.css +18 -18
- package/cjs/index.css +25 -25
- package/emotion/cjs/components/Slider/components/Single/Single.styles.js +6 -7
- package/emotion/cjs/components/TextArea/TextArea.js +2 -1
- package/emotion/cjs/components/TextArea/TextArea.styles.js +66 -63
- package/emotion/es/components/Slider/components/Single/Single.styles.js +6 -7
- package/emotion/es/components/TextArea/TextArea.js +2 -1
- package/emotion/es/components/TextArea/TextArea.styles.js +66 -63
- package/es/components/Slider/Slider.css +6 -6
- package/es/components/Slider/components/Single/Single.css +6 -6
- package/es/components/Slider/components/Single/Single.styles.js +1 -1
- package/es/components/Slider/components/Single/Single.styles.js.map +1 -1
- package/es/components/Slider/components/Single/{Single.styles_e0wk24.css → Single.styles_1a6l9pg.css} +2 -2
- package/es/components/TextArea/TextArea.js +1 -0
- package/es/components/TextArea/TextArea.js.map +1 -1
- package/es/components/TextArea/TextArea.styles.js +79 -72
- package/es/components/TextArea/TextArea.styles.js.map +1 -1
- package/es/components/TextArea/{TextArea.styles_ztsrpt.css → TextArea.styles_1r7xix5.css} +1 -1
- package/es/components/TextArea/ui/Hint/Hint.css +18 -18
- package/es/index.css +25 -25
- package/package.json +2 -2
- package/styled-components/cjs/components/Slider/components/Single/Single.styles.js +2 -3
- package/styled-components/cjs/components/TextArea/TextArea.js +1 -0
- package/styled-components/cjs/components/TextArea/TextArea.styles.js +41 -38
- package/styled-components/es/components/Slider/components/Single/Single.styles.js +2 -3
- package/styled-components/es/components/TextArea/TextArea.js +1 -0
- package/styled-components/es/components/TextArea/TextArea.styles.js +41 -38
- package/types/components/Slider/components/Single/Single.styles.d.ts.map +1 -1
- package/types/components/TextArea/TextArea.styles.d.ts +1 -0
- package/types/components/TextArea/TextArea.styles.d.ts.map +1 -1
package/es/index.css
CHANGED
@@ -139,25 +139,25 @@
|
|
139
139
|
.Popover_styles_ji8em4_s16xlixz__439b9cc0{position:absolute;z-index:var(--s16xlixz-0);opacity:0;visibility:hidden;box-shadow:var(--plasma-popover-box-shadow);}.Popover_styles_ji8em4_s16xlixz__439b9cc0.Popover_styles_ji8em4_popoverAnimate__439b9cc0{-webkit-transition:opacity 0.2s ease-in-out,-webkit-transform 0s ease-in-out,visibility 0.2s;-webkit-transition:opacity 0.2s ease-in-out,transform 0s ease-in-out,visibility 0.2s;transition:opacity 0.2s ease-in-out,transform 0s ease-in-out,visibility 0.2s;}.Popover_styles_ji8em4_s16xlixz__439b9cc0.Popover_styles_ji8em4_popoverOpen__439b9cc0{opacity:1;visibility:visible;}.Popover_styles_ji8em4_s16xlixz__439b9cc0:before{content:'';display:block;position:absolute;background:transparent;}.Popover_styles_ji8em4_s16xlixz__439b9cc0[data-popper-placement^='top'] > .Popover_styles_ji8em4_popoverArrow__439b9cc0{bottom:calc(0px - var(--plasma-popover-arrow-height));}.Popover_styles_ji8em4_s16xlixz__439b9cc0[data-popper-placement^='bottom'] > .Popover_styles_ji8em4_popoverArrow__439b9cc0{top:calc(0px - var(--plasma-popover-arrow-height));}.Popover_styles_ji8em4_s16xlixz__439b9cc0[data-popper-placement^='bottom'] > .Popover_styles_ji8em4_popoverArrow__439b9cc0::before{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);}.Popover_styles_ji8em4_s16xlixz__439b9cc0[data-popper-placement^='left'] > .Popover_styles_ji8em4_popoverArrow__439b9cc0{right:calc(0px - var(--plasma-popover-arrow-height));}.Popover_styles_ji8em4_s16xlixz__439b9cc0[data-popper-placement^='left'] > .Popover_styles_ji8em4_popoverArrow__439b9cc0::before{-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg);}.Popover_styles_ji8em4_s16xlixz__439b9cc0[data-popper-placement^='right'] > .Popover_styles_ji8em4_popoverArrow__439b9cc0{left:calc(0px - var(--plasma-popover-arrow-height));}.Popover_styles_ji8em4_s16xlixz__439b9cc0[data-popper-placement^='right'] > .Popover_styles_ji8em4_popoverArrow__439b9cc0::before{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg);}.Popover_styles_ji8em4_s16xlixz__439b9cc0[data-popper-placement^='top-start'] > .Popover_styles_ji8em4_popoverArrow__439b9cc0{bottom:calc(0px - var(--plasma-popover-arrow-height));left:var(--plasma-popover-arrow-edge-margin) !important;-webkit-transform:unset !important;-ms-transform:unset !important;transform:unset !important;}.Popover_styles_ji8em4_s16xlixz__439b9cc0[data-popper-placement^='top-end'] > .Popover_styles_ji8em4_popoverArrow__439b9cc0{bottom:calc(0px - var(--plasma-popover-arrow-height));left:unset !important;right:var(--plasma-popover-arrow-edge-margin) !important;-webkit-transform:unset !important;-ms-transform:unset !important;transform:unset !important;}.Popover_styles_ji8em4_s16xlixz__439b9cc0[data-popper-placement^='bottom-start'] > .Popover_styles_ji8em4_popoverArrow__439b9cc0{top:calc(0px - var(--plasma-popover-arrow-height));left:var(--plasma-popover-arrow-edge-margin) !important;-webkit-transform:unset !important;-ms-transform:unset !important;transform:unset !important;}.Popover_styles_ji8em4_s16xlixz__439b9cc0[data-popper-placement^='bottom-start'] > .Popover_styles_ji8em4_popoverArrow__439b9cc0::before{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);}.Popover_styles_ji8em4_s16xlixz__439b9cc0[data-popper-placement^='bottom-end'] > .Popover_styles_ji8em4_popoverArrow__439b9cc0{top:calc(0px - var(--plasma-popover-arrow-height));left:unset !important;right:var(--plasma-popover-arrow-edge-margin) !important;-webkit-transform:unset !important;-ms-transform:unset !important;transform:unset !important;}.Popover_styles_ji8em4_s16xlixz__439b9cc0[data-popper-placement^='bottom-end'] > .Popover_styles_ji8em4_popoverArrow__439b9cc0::before{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);}.Popover_styles_ji8em4_s16xlixz__439b9cc0[data-popper-placement^='left-start'] > .Popover_styles_ji8em4_popoverArrow__439b9cc0,.Popover_styles_ji8em4_s16xlixz__439b9cc0[data-popper-placement^='right-start'] > .Popover_styles_ji8em4_popoverArrow__439b9cc0{top:var(--plasma-popover-arrow-edge-margin) !important;-webkit-transform:unset !important;-ms-transform:unset !important;transform:unset !important;}.Popover_styles_ji8em4_s16xlixz__439b9cc0[data-popper-placement^='left-end'] > .Popover_styles_ji8em4_popoverArrow__439b9cc0,.Popover_styles_ji8em4_s16xlixz__439b9cc0[data-popper-placement^='right-end'] > .Popover_styles_ji8em4_popoverArrow__439b9cc0{top:unset !important;bottom:var(--plasma-popover-arrow-edge-margin) !important;-webkit-transform:unset !important;-ms-transform:unset !important;transform:unset !important;}.Popover_styles_ji8em4_s16xlixz__439b9cc0[data-popper-placement^='top']:before,.Popover_styles_ji8em4_s16xlixz__439b9cc0[data-popper-placement^='top-start']:before,.Popover_styles_ji8em4_s16xlixz__439b9cc0[data-popper-placement^='top-end']:before{top:unset;left:0;right:0;height:var(--plasma-popover-arrow-height);bottom:calc(-1 * var(--plasma-popover-arrow-height));}.Popover_styles_ji8em4_s16xlixz__439b9cc0[data-popper-placement^='bottom']:before,.Popover_styles_ji8em4_s16xlixz__439b9cc0[data-popper-placement^='bottom-start']:before,.Popover_styles_ji8em4_s16xlixz__439b9cc0[data-popper-placement^='bottom-end']:before{top:calc(-1 * var(--plasma-popover-arrow-height));left:0;right:0;bottom:var(--plasma-popover-arrow-height);height:var(--plasma-popover-arrow-height);}.Popover_styles_ji8em4_s16xlixz__439b9cc0[data-popper-placement^='left']:before,.Popover_styles_ji8em4_s16xlixz__439b9cc0[data-popper-placement^='left-start']:before,.Popover_styles_ji8em4_s16xlixz__439b9cc0[data-popper-placement^='left-end']:before{width:var(--plasma-popover-arrow-height);height:100%;top:0;right:calc(-1 * var(--plasma-popover-arrow-height));bottom:0;}.Popover_styles_ji8em4_s16xlixz__439b9cc0[data-popper-placement^='right']:before,.Popover_styles_ji8em4_s16xlixz__439b9cc0[data-popper-placement^='right-start']:before,.Popover_styles_ji8em4_s16xlixz__439b9cc0[data-popper-placement^='right-end']:before{width:var(--plasma-popover-arrow-height);height:100%;top:0;left:calc(-1 * var(--plasma-popover-arrow-height));bottom:0;}
|
140
140
|
|
141
141
|
|
142
|
-
.
|
143
|
-
.
|
144
|
-
.
|
145
|
-
.
|
146
|
-
.
|
147
|
-
.
|
148
|
-
.
|
149
|
-
|
150
|
-
.
|
151
|
-
.
|
152
|
-
.
|
153
|
-
.
|
154
|
-
.
|
155
|
-
.
|
156
|
-
.
|
157
|
-
.
|
158
|
-
.
|
159
|
-
.
|
160
|
-
.
|
142
|
+
.TextArea_styles_1r7xix5_o1r1fvk8__d0987dcf{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;max-width:var(--o1r1fvk8-0);margin-bottom:var(--o1r1fvk8-1);}
|
143
|
+
.TextArea_styles_1r7xix5_surmvwq__d0987dcf{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;color:var(--plasma-textarea-label-outer-color,var(--plasma-textarea-input-color));font-family:var(--plasma-textarea-label-outer-font-family,var(--plasma-textarea-input-font-family));font-size:var(--plasma-textarea-label-outer-font-size,var(--plasma-textarea-input-font-size));font-style:var(--plasma-textarea-label-outer-font-style,var(--plasma-textarea-input-font-style));font-weight:var(--plasma-textarea-label-outer-font-weight,var(--plasma-textarea-input-font-weight));-webkit-letter-spacing:var(--plasma-textarea-label-outer-letter-spacing,var(--plasma-textarea-input-letter-spacing));-moz-letter-spacing:var(--plasma-textarea-label-outer-letter-spacing,var(--plasma-textarea-input-letter-spacing));-ms-letter-spacing:var(--plasma-textarea-label-outer-letter-spacing,var(--plasma-textarea-input-letter-spacing));letter-spacing:var(--plasma-textarea-label-outer-letter-spacing,var(--plasma-textarea-input-letter-spacing));line-height:var(--plasma-textarea-label-outer-line-height,var(--plasma-textarea-input-line-height));}
|
144
|
+
.TextArea_styles_1r7xix5_t18bd513__d0987dcf{display:inline-block;margin-left:auto;font-family:var(--plasma-textarea__title-caption-font-family);font-size:var(--plasma-textarea__title-caption-font-size);font-style:var(--plasma-textarea__title-caption-font-style);font-weight:var(--plasma-textarea__title-caption-font-weight);-webkit-letter-spacing:var(--plasma-textarea__title-caption-letter-spacing);-moz-letter-spacing:var(--plasma-textarea__title-caption-letter-spacing);-ms-letter-spacing:var(--plasma-textarea__title-caption-letter-spacing);letter-spacing:var(--plasma-textarea__title-caption-letter-spacing);line-height:var(--plasma-textarea__title-caption-line-height);}
|
145
|
+
.TextArea_styles_1r7xix5_s7alcr2__d0987dcf{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}
|
146
|
+
.TextArea_styles_1r7xix5_si9oz50__d0987dcf{color:var(--plasma-textarea__optional-color);font-family:var(--si9oz50-0);font-size:var(--si9oz50-1);font-style:var(--si9oz50-2);font-weight:var(--si9oz50-3);-webkit-letter-spacing:var(--si9oz50-4);-moz-letter-spacing:var(--si9oz50-4);-ms-letter-spacing:var(--si9oz50-4);letter-spacing:var(--si9oz50-4);line-height:var(--si9oz50-5);}
|
147
|
+
.TextArea_styles_1r7xix5_s18tpn65__d0987dcf{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;line-height:0;margin:var(--plasma-textarea__hint-margin);}.TextArea_styles_1r7xix5_s18tpn65__d0987dcf.TextArea_styles_1r7xix5_labelPlacementInner__d0987dcf{position:absolute;margin:0;inset:var(--plasma-textarea__hint-inner-label-placement-offset);}
|
148
|
+
.TextArea_styles_1r7xix5_h19sfsrt__d0987dcf{color:var(--plasma-textarea__hint-icon-color);width:var(--plasma-textarea__hint-target-size);height:var(--plasma-textarea__hint-target-size);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}
|
149
|
+
|
150
|
+
.TextArea_styles_1r7xix5_s3wsw3p__d0987dcf{background-color:var(--plasma-textarea-input-background-color);padding-top:var(--plasma-textarea-input-padding-top);padding-bottom:var(--s3wsw3p-0);border-radius:var(--s3wsw3p-1);}
|
151
|
+
.TextArea_styles_1r7xix5_stc5t23__d0987dcf{position:absolute;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;bottom:0;z-index:1;color:var(--plasma-textarea-right-content-color,var(--plasma-textarea-input-color));top:var(--plasma-textarea-right-content-top);right:var(--plasma-textarea-right-content-right);height:var(--plasma-textarea-right-content-height);}
|
152
|
+
.TextArea_styles_1r7xix5_salwx57__d0987dcf{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;width:var(--salwx57-0);position:relative;}
|
153
|
+
.TextArea_styles_1r7xix5_s18lndvq__d0987dcf{display:block;box-sizing:border-box;outline:none;border:none;-webkit-appearance:none;background-color:transparent;color:var(--plasma-textarea-input-color);caret-color:var(--plasma-textarea-input-caret-color);resize:var(--s18lndvq-0);--plasma_private-textarea-height:var(--s18lndvq-1);--plasma_private-textarea-width:var(--s18lndvq-2);--plasma_private-textarea-computed-height:var(--s18lndvq-3);--plasma_private-textarea-computed-width:var(--s18lndvq-4);height:var(--plasma_private-textarea-computed-height);width:var(--plasma_private-textarea-computed-width);min-width:var(--s18lndvq-5);max-width:var(--s18lndvq-5);min-height:var(--plasma-textarea-input-min-height);padding-right:var(--s18lndvq-6);padding-left:var(--plasma-textarea-input-padding-left,0);padding-top:0;padding-bottom:0;--plasma_private-textarea-helpers-computed-height:calc( var(--plasma-textarea-helpers-padding-top,0) + var(--plasma-textarea-helpers-padding-bottom,0) + var(--plasma-textarea-helpers-line-height) );--plasma_private-textarea-input-with-helpers-height:calc( var(--plasma_private-textarea-height) - var(--plasma_private-textarea-helpers-computed-height) + var(--plasma-textarea-helpers-offset) );--plasma_private-textarea-input-without-helpers-height:calc( var(--plasma_private-textarea-computed-height) - var(--plasma-textarea-input-padding-bottom) );--plasma_private-textarea-input-actual-height:var(--s18lndvq-7);height:var(--plasma_private-textarea-input-actual-height);font-family:var(--plasma-textarea-input-font-family);font-size:var(--plasma-textarea-input-font-size);font-style:var(--plasma-textarea-input-font-style);font-weight:var(--plasma-textarea-input-font-weight);-webkit-letter-spacing:var(--plasma-textarea-input-letter-spacing);-moz-letter-spacing:var(--plasma-textarea-input-letter-spacing);-ms-letter-spacing:var(--plasma-textarea-input-letter-spacing);letter-spacing:var(--plasma-textarea-input-letter-spacing);line-height:var(--plasma-textarea-input-line-height);}.TextArea_styles_1r7xix5_s18lndvq__d0987dcf::-webkit-input-placeholder{opacity:0;}.TextArea_styles_1r7xix5_s18lndvq__d0987dcf::-moz-placeholder{opacity:0;}.TextArea_styles_1r7xix5_s18lndvq__d0987dcf:-ms-input-placeholder{opacity:0;}.TextArea_styles_1r7xix5_s18lndvq__d0987dcf::placeholder{opacity:0;}.TextArea_styles_1r7xix5_s18lndvq__d0987dcf:-moz-read-only{cursor:default;}.TextArea_styles_1r7xix5_s18lndvq__d0987dcf:read-only{cursor:default;}.TextArea_styles_1r7xix5_s18lndvq__d0987dcf:focus:not(:disabled){color:var(--plasma-textarea-input-color-focus);}.TextArea_styles_1r7xix5_s18lndvq__d0987dcf::-webkit-scrollbar{width:var(--plasma-textarea-scrollbar-width);}.TextArea_styles_1r7xix5_s18lndvq__d0987dcf::-webkit-scrollbar-thumb{background-color:var(--plasma-textarea-scrollbar-thumb-background-color);background-clip:content-box;border:var(--plasma-textarea-scrollbar-border-width) solid transparent;border-radius:1rem;}.TextArea_styles_1r7xix5_s18lndvq__d0987dcf::-webkit-scrollbar-track{background-color:var(--plasma-textarea-scrollbar-track-background-color);background-clip:content-box;border:var(--plasma-textarea-scrollbar-border-width) solid transparent;border-radius:1rem;}
|
154
|
+
.TextArea_styles_1r7xix5_s183p45n__d0987dcf{max-height:none !important;min-height:var(--plasma-textarea-input-min-height) !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:var(--s183p45n-0);padding-left:var(--plasma-textarea-input-padding-left,0);padding-top:0;padding-bottom:0;box-sizing:border-box;text-indent:0;text-rendering:auto;text-transform:none;tab-size:8;font-family:var(--plasma-textarea-input-font-family);font-size:var(--plasma-textarea-input-font-size);font-style:var(--plasma-textarea-input-font-style);font-weight:var(--plasma-textarea-input-font-weight);-webkit-letter-spacing:var(--plasma-textarea-input-letter-spacing);-moz-letter-spacing:var(--plasma-textarea-input-letter-spacing);-ms-letter-spacing:var(--plasma-textarea-input-letter-spacing);letter-spacing:var(--plasma-textarea-input-letter-spacing);line-height:var(--plasma-textarea-input-line-height);}
|
155
|
+
.TextArea_styles_1r7xix5_snf439a__d0987dcf{box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-transition:background-color 0.1s ease-in-out;transition:background-color 0.1s ease-in-out;background-color:var(--plasma-textarea-helpers-background-color);padding-top:var(--plasma-textarea-helpers-padding-top);padding-right:var(--plasma-textarea-helpers-padding-right);padding-bottom:var(--plasma-textarea-helpers-padding-bottom);padding-left:var(--plasma-textarea-helpers-padding-left);border-bottom-left-radius:var(--plasma-textarea-border-radius);border-bottom-right-radius:var(--plasma-textarea-border-radius);}
|
156
|
+
.TextArea_styles_1r7xix5_suev9vb__d0987dcf{box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding-top:var(--plasma-textarea-clear-helpers-padding-top);}
|
157
|
+
.TextArea_styles_1r7xix5_s7jal92__d0987dcf{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;font-family:var(--plasma-textarea-helpers-font-family);font-size:var(--plasma-textarea-helpers-font-size);font-style:var(--plasma-textarea-helpers-font-style);font-weight:var(--plasma-textarea-helpers-font-weight);-webkit-letter-spacing:var(--plasma-textarea-helpers-letter-spacing);-moz-letter-spacing:var(--plasma-textarea-helpers-letter-spacing);-ms-letter-spacing:var(--plasma-textarea-helpers-letter-spacing);letter-spacing:var(--plasma-textarea-helpers-letter-spacing);line-height:var(--plasma-textarea-helpers-line-height);color:var(--plasma-textarea-left-helper-color);}
|
158
|
+
.TextArea_styles_1r7xix5_s11kd6xq__d0987dcf.TextArea_styles_1r7xix5_s7jal92__d0987dcf{color:var(--plasma-textarea-right-helper-color);margin-left:auto;}
|
159
|
+
.TextArea_styles_1r7xix5_s14zw9ik__d0987dcf{box-sizing:border-box;position:absolute;pointer-events:none;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-transition:all 0.1s ease-in-out;transition:all 0.1s ease-in-out;-webkit-transform-origin:top left;-ms-transform-origin:top left;transform-origin:top left;color:var(--plasma-textarea-placeholder-color);width:100%;height:auto;top:var(--plasma-textarea-input-padding-top);padding-left:var(--plasma-textarea-input-padding-left);padding-right:var(--s14zw9ik-0);font-family:var(--plasma-textarea-input-font-family);font-size:var(--plasma-textarea-input-font-size);font-style:var(--plasma-textarea-input-font-style);font-weight:var(--plasma-textarea-input-font-weight);-webkit-letter-spacing:var(--plasma-textarea-input-letter-spacing);-moz-letter-spacing:var(--plasma-textarea-input-letter-spacing);-ms-letter-spacing:var(--plasma-textarea-input-letter-spacing);letter-spacing:var(--plasma-textarea-input-letter-spacing);line-height:var(--plasma-textarea-input-line-height);}
|
160
|
+
.TextArea_styles_1r7xix5_sgr5lml__d0987dcf{position:absolute;border-radius:50%;background-color:var(--plasma-textarea-indicator-color);}.TextArea_styles_1r7xix5_sgr5lml__d0987dcf.TextArea_styles_1r7xix5_labelPlacementOuter__d0987dcf{width:var(--plasma-textarea-indicator-size-outer);height:var(--plasma-textarea-indicator-size-outer);inset:var(--plasma-textarea-indicator-placement-outer);}.TextArea_styles_1r7xix5_sgr5lml__d0987dcf.TextArea_styles_1r7xix5_labelPlacementOuter__d0987dcf.TextArea_styles_1r7xix5_requiredAlignRight__d0987dcf{inset:var(--plasma-textarea-indicator-placement-outer-right);}.TextArea_styles_1r7xix5_sgr5lml__d0987dcf.TextArea_styles_1r7xix5_labelPlacementOuter__d0987dcf.TextArea_styles_1r7xix5_requiredAlignRight__d0987dcf.TextArea_styles_1r7xix5_textareaHasHint__d0987dcf{right:calc( -1 * var(--plasma-textarea-indicator-size-outer) + var(--plasma-textfield__indicator-hint-placement-outer-right,0px) );}.TextArea_styles_1r7xix5_sgr5lml__d0987dcf.TextArea_styles_1r7xix5_labelPlacementInner__d0987dcf{width:var(--plasma-textarea-indicator-size-inner);height:var(--plasma-textarea-indicator-size-inner);inset:var(--plasma-textarea-indicator-placement-inner);}.TextArea_styles_1r7xix5_sgr5lml__d0987dcf.TextArea_styles_1r7xix5_labelPlacementInner__d0987dcf.TextArea_styles_1r7xix5_requiredAlignRight__d0987dcf{inset:var(--plasma-textarea-indicator-placement-inner-right);}
|
161
161
|
|
162
162
|
.base_1hvnv2t_bofyi4a__34e6ac76 .base_1hvnv2t_t18bd513__34e6ac76{color:var(--plasma-textarea__title-caption-color);}.base_1hvnv2t_bofyi4a__34e6ac76 .base_1hvnv2t_textareaContainer__34e6ac76{background-color:var(--plasma-textarea-background-color);-webkit-transition:box-shadow 0.1s ease-in-out;transition:box-shadow 0.1s ease-in-out;border-radius:var(--plasma-textarea-border-radius);box-shadow:inset 0 0 0 var(--plasma-textarea-border-size,1px) var(--plasma-textarea-border-color),var(--plasma-textarea-box-shadow,inset 0 0 0 0 transparent);}.base_1hvnv2t_bofyi4a__34e6ac76 .base_1hvnv2t_textareaWrapper__34e6ac76{-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);padding-right:var(--plasma-textarea-border-size,1px);}.base_1hvnv2t_bofyi4a__34e6ac76:focus-within:not([readonly]) .base_1hvnv2t_textareaWrapper__34e6ac76{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);}.base_1hvnv2t_bofyi4a__34e6ac76:focus-within:not([readonly]) .base_1hvnv2t_textareaContainer__34e6ac76{background-color:var(--plasma-textarea-background-color-focus);box-shadow:inset 0 0 0 var(--plasma-textarea-border-size,1px) var(--plasma-textarea-border-color-focus),var(--plasma-textarea-box-shadow,inset 0 0 0 0 transparent);}.base_1hvnv2t_bofyi4a__34e6ac76:focus-within:not([readonly]) .base_1hvnv2t_textareaHelpers__34e6ac76{background-color:var(--plasma-textarea-helpers-background-color-focus);}.base_1hvnv2t_bofyi4a__34e6ac76:hover:not(.base_1hvnv2t_textareaClear__34e6ac76):not([disabled]):not([readonly]):not(:focus-within) .base_1hvnv2t_textareaContainer__34e6ac76{background-color:var(--plasma-textarea-background-color-hover);box-shadow:inset 0 0 0 var(--plasma-textarea-border-size,1px) var(--plasma-textarea-border-color-hover),var(--plasma-textarea-box-shadow,inset 0 0 0 0 transparent);}.base_1hvnv2t_bofyi4a__34e6ac76:hover:not(.base_1hvnv2t_textareaClear__34e6ac76):not([disabled]):not([readonly]):not(:focus-within) .base_1hvnv2t_textareaWrapper__34e6ac76{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);}.base_1hvnv2t_bofyi4a__34e6ac76:hover:not(.base_1hvnv2t_textareaClear__34e6ac76):not([disabled]):not([readonly]):not(:focus-within) .base_1hvnv2t_textareaWrapper__34e6ac76 + .base_1hvnv2t_textareaHelpers__34e6ac76{background-color:var(--plasma-textarea-helpers-background-color-hover);}.base_1hvnv2t_bofyi4a__34e6ac76:active:not(.base_1hvnv2t_textareaClear__34e6ac76):not([disabled]):not([readonly]):not(:focus-within) .base_1hvnv2t_textareaWrapper__34e6ac76{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);}.base_1hvnv2t_bofyi4a__34e6ac76:active:not(.base_1hvnv2t_textareaClear__34e6ac76):not([disabled]):not([readonly]):not(:focus-within) .base_1hvnv2t_textareaContainer__34e6ac76{background-color:var(--plasma-textarea-background-color-active);}.base_1hvnv2t_bofyi4a__34e6ac76:active:not(.base_1hvnv2t_textareaClear__34e6ac76):not([disabled]):not([readonly]):not(:focus-within) .base_1hvnv2t_textareaWrapper__34e6ac76 + .base_1hvnv2t_textareaHelpers__34e6ac76{background-color:var(--plasma-textarea-helpers-background-color-active);}
|
163
163
|
|
@@ -689,12 +689,12 @@
|
|
689
689
|
.SliderBase_styles_wld555_fdg7yhg__d313173d{position:absolute;width:0;height:100%;top:0;left:0;border-radius:var(--plasma-slider-rail-border-radius);background:var(--plasma-slider-fill-color);}
|
690
690
|
.SliderBase_styles_wld555_i17ya4q3__d313173d{visibility:hidden;width:0;height:0;opacity:0;margin:0;padding:0;border:none;}
|
691
691
|
|
692
|
-
.
|
693
|
-
.
|
694
|
-
.
|
695
|
-
.
|
696
|
-
.
|
697
|
-
.
|
692
|
+
.Single_styles_1a6l9pg_l1p4kc08__83bf0d1d{color:var(--plasma-slider-label-color);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;gap:var(--plasma-slider-label-wrapper-gap);}
|
693
|
+
.Single_styles_1a6l9pg_ly2gexi__83bf0d1d{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;}
|
694
|
+
.Single_styles_1a6l9pg_lozb535__83bf0d1d{font-family:var(--plasma-slider-label-font-family);font-size:var(--plasma-slider-label-font-size);font-style:var(--plasma-slider-label-font-style);font-weight:var(--plasma-slider-label-font-weight);-webkit-letter-spacing:var(--plasma-slider-label-letter-spacing);-moz-letter-spacing:var(--plasma-slider-label-letter-spacing);-ms-letter-spacing:var(--plasma-slider-label-letter-spacing);letter-spacing:var(--plasma-slider-label-letter-spacing);line-height:var(--plasma-slider-label-line-height);}
|
695
|
+
.Single_styles_1a6l9pg_s1w9icbd__83bf0d1d{color:var(--plasma-slider-range-value-color);font-family:var(--plasma-slider-value-font-family);font-size:var(--plasma-slider-value-font-size);font-style:var(--plasma-slider-value-font-style);font-weight:var(--plasma-slider-value-font-weight);-webkit-letter-spacing:var(--plasma-slider-value-letter-spacing);-moz-letter-spacing:var(--plasma-slider-value-letter-spacing);-ms-letter-spacing:var(--plasma-slider-value-letter-spacing);letter-spacing:var(--plasma-slider-value-letter-spacing);line-height:var(--plasma-slider-value-line-height);-webkit-transition:opacity 0.1s ease-in-out;transition:opacity 0.1s ease-in-out;}.Single_styles_1a6l9pg_s1w9icbd__83bf0d1d.Single_styles_1a6l9pg_sliderHideMinValue__83bf0d1d,.Single_styles_1a6l9pg_s1w9icbd__83bf0d1d.Single_styles_1a6l9pg_sliderHideMaxValue__83bf0d1d{opacity:0;}.Single_styles_1a6l9pg_s1w9icbd__83bf0d1d.Single_styles_1a6l9pg_sliderActiveRangeValue__83bf0d1d{color:var(--plasma-slider-label-color);}
|
696
|
+
.Single_styles_1a6l9pg_s1d2sfgl__83bf0d1d{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex:1;-ms-flex:1;flex:1;}.Single_styles_1a6l9pg_s1d2sfgl__83bf0d1d.Single_styles_1a6l9pg_sliderRangeValuesPlacementOuter__83bf0d1d .Single_styles_1a6l9pg_s1w9icbd__83bf0d1d{position:absolute;bottom:calc(var(--plasma-slider-rail-thickness) * -1.5 - var(--plasma-slider-range-value-bottom-offset));left:0;}.Single_styles_1a6l9pg_s1d2sfgl__83bf0d1d.Single_styles_1a6l9pg_sliderRangeValuesPlacementOuter__83bf0d1d .Single_styles_1a6l9pg_s1w9icbd__83bf0d1d.Single_styles_1a6l9pg_sliderMaxRangeValue__83bf0d1d{left:unset;right:0;}.Single_styles_1a6l9pg_s1d2sfgl__83bf0d1d.Single_styles_1a6l9pg_sliderRangeValuesPlacementInner__83bf0d1d{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}.Single_styles_1a6l9pg_s1d2sfgl__83bf0d1d.Single_styles_1a6l9pg_sliderRangeValuesPlacementInner__83bf0d1d .Single_styles_1a6l9pg_s1w9icbd__83bf0d1d{margin-right:var(--plasma-slider-range-value-horizontal-margin);}.Single_styles_1a6l9pg_s1d2sfgl__83bf0d1d.Single_styles_1a6l9pg_sliderRangeValuesPlacementInner__83bf0d1d .Single_styles_1a6l9pg_s1w9icbd__83bf0d1d.Single_styles_1a6l9pg_sliderMaxRangeValue__83bf0d1d{margin-right:0;margin-left:var(--plasma-slider-range-value-horizontal-margin);}
|
697
|
+
.Single_styles_1a6l9pg_ss3ujqx__83bf0d1d{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;opacity:var(--plasma-slider-disabled-opacity);}.Single_styles_1a6l9pg_ss3ujqx__83bf0d1d.Single_styles_1a6l9pg_sliderLabelPlacementOuter__83bf0d1d{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}.Single_styles_1a6l9pg_ss3ujqx__83bf0d1d.Single_styles_1a6l9pg_sliderLabelPlacementOuter__83bf0d1d .Single_styles_1a6l9pg_l1p4kc08__83bf0d1d{margin-bottom:var(--plasma-slider-label-wrapper-margin-bottom);}.Single_styles_1a6l9pg_ss3ujqx__83bf0d1d.Single_styles_1a6l9pg_sliderLabelPlacementInner__83bf0d1d .Single_styles_1a6l9pg_l1p4kc08__83bf0d1d{margin-right:var(--plasma-slider-label-wrapper-margin-right);}.Single_styles_1a6l9pg_ss3ujqx__83bf0d1d.Single_styles_1a6l9pg_sliderLabelPlacementInner__83bf0d1d .Single_styles_1a6l9pg_l1p4kc08__83bf0d1d:not(:has(.Single_styles_1a6l9pg_lozb535__83bf0d1d)):has(.Single_styles_1a6l9pg_ly2gexi__83bf0d1d){margin-right:var(--plasma-slider-label-wrapper-only-icon-margin-right);}.Single_styles_1a6l9pg_ss3ujqx__83bf0d1d.Single_styles_1a6l9pg_sliderLabelPlacementInner__83bf0d1d .Single_styles_1a6l9pg_l1p4kc08__83bf0d1d:has(.Single_styles_1a6l9pg_lozb535__83bf0d1d){margin-right:var(--plasma-slider-label-wrapper-margin-right);}.Single_styles_1a6l9pg_ss3ujqx__83bf0d1d.Single_styles_1a6l9pg_sliderVerticalOrientation__83bf0d1d{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}.Single_styles_1a6l9pg_ss3ujqx__83bf0d1d.Single_styles_1a6l9pg_sliderVerticalOrientation__83bf0d1d.Single_styles_1a6l9pg_sliderLabelAlignCenter__83bf0d1d .Single_styles_1a6l9pg_l1p4kc08__83bf0d1d{-webkit-flex-direction:column-reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;}.Single_styles_1a6l9pg_ss3ujqx__83bf0d1d.Single_styles_1a6l9pg_sliderVerticalOrientation__83bf0d1d.Single_styles_1a6l9pg_sliderLabelAlignCenter__83bf0d1d.Single_styles_1a6l9pg_sliderLabelPlacementBottom__83bf0d1d .Single_styles_1a6l9pg_l1p4kc08__83bf0d1d{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}.Single_styles_1a6l9pg_ss3ujqx__83bf0d1d.Single_styles_1a6l9pg_sliderVerticalOrientation__83bf0d1d.Single_styles_1a6l9pg_sliderLabelAlignCenter__83bf0d1d.Single_styles_1a6l9pg_sliderLabelPlacementBottom__83bf0d1d.Single_styles_1a6l9pg_sliderLabelContentReversed__83bf0d1d .Single_styles_1a6l9pg_l1p4kc08__83bf0d1d{-webkit-flex-direction:column-reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;}.Single_styles_1a6l9pg_ss3ujqx__83bf0d1d.Single_styles_1a6l9pg_sliderVerticalOrientation__83bf0d1d.Single_styles_1a6l9pg_sliderLabelAlignCenter__83bf0d1d.Single_styles_1a6l9pg_sliderLabelContentReversed__83bf0d1d .Single_styles_1a6l9pg_l1p4kc08__83bf0d1d{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}.Single_styles_1a6l9pg_ss3ujqx__83bf0d1d.Single_styles_1a6l9pg_sliderVerticalOrientation__83bf0d1d .Single_styles_1a6l9pg_l1p4kc08__83bf0d1d{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}.Single_styles_1a6l9pg_ss3ujqx__83bf0d1d.Single_styles_1a6l9pg_sliderVerticalOrientation__83bf0d1d .Single_styles_1a6l9pg_s1d2sfgl__83bf0d1d{width:var(--plasma-slider-size);}.Single_styles_1a6l9pg_ss3ujqx__83bf0d1d.Single_styles_1a6l9pg_sliderVerticalOrientation__83bf0d1d.Single_styles_1a6l9pg_sliderLabelPlacementInner__83bf0d1d .Single_styles_1a6l9pg_l1p4kc08__83bf0d1d{margin-right:0;margin-bottom:var(--plasma-slider-label-wrapper-vertical-margin);}.Single_styles_1a6l9pg_ss3ujqx__83bf0d1d.Single_styles_1a6l9pg_sliderVerticalOrientation__83bf0d1d.Single_styles_1a6l9pg_sliderLabelAlignLeft__83bf0d1d{-webkit-align-items:flex-end;-webkit-box-align:flex-end;-ms-flex-align:flex-end;align-items:flex-end;}.Single_styles_1a6l9pg_ss3ujqx__83bf0d1d.Single_styles_1a6l9pg_sliderVerticalOrientation__83bf0d1d.Single_styles_1a6l9pg_sliderLabelAlignLeft__83bf0d1d .Single_styles_1a6l9pg_l1p4kc08__83bf0d1d{-webkit-flex-direction:row-reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse;}.Single_styles_1a6l9pg_ss3ujqx__83bf0d1d.Single_styles_1a6l9pg_sliderVerticalOrientation__83bf0d1d.Single_styles_1a6l9pg_sliderLabelAlignRight__83bf0d1d{-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;}.Single_styles_1a6l9pg_ss3ujqx__83bf0d1d.Single_styles_1a6l9pg_sliderVerticalOrientation__83bf0d1d.Single_styles_1a6l9pg_sliderLabelPlacementBottom__83bf0d1d{-webkit-flex-direction:column-reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;}.Single_styles_1a6l9pg_ss3ujqx__83bf0d1d.Single_styles_1a6l9pg_sliderVerticalOrientation__83bf0d1d.Single_styles_1a6l9pg_sliderLabelPlacementBottom__83bf0d1d .Single_styles_1a6l9pg_l1p4kc08__83bf0d1d{margin-top:var(--plasma-slider-label-wrapper-vertical-margin);margin-right:0;margin-bottom:0;}.Single_styles_1a6l9pg_ss3ujqx__83bf0d1d.Single_styles_1a6l9pg_sliderVerticalOrientation__83bf0d1d{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;}.Single_styles_1a6l9pg_ss3ujqx__83bf0d1d.Single_styles_1a6l9pg_sliderVerticalOrientation__83bf0d1d .Single_styles_1a6l9pg_s1d2sfgl__83bf0d1d{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;}.Single_styles_1a6l9pg_ss3ujqx__83bf0d1d.Single_styles_1a6l9pg_sliderVerticalOrientation__83bf0d1d.Single_styles_1a6l9pg_sliderLabelAlignCenter__83bf0d1d .Single_styles_1a6l9pg_s1w9icbd__83bf0d1d{position:static;bottom:0;left:0;margin-bottom:var(--plasma-slider-range-value-vertical-margin);}.Single_styles_1a6l9pg_ss3ujqx__83bf0d1d.Single_styles_1a6l9pg_sliderVerticalOrientation__83bf0d1d.Single_styles_1a6l9pg_sliderLabelAlignCenter__83bf0d1d .Single_styles_1a6l9pg_s1w9icbd__83bf0d1d.Single_styles_1a6l9pg_sliderMaxRangeValue__83bf0d1d{left:0;right:0;bottom:0;margin-top:var(--plasma-slider-range-value-vertical-margin);margin-bottom:0;}.Single_styles_1a6l9pg_ss3ujqx__83bf0d1d.Single_styles_1a6l9pg_sliderVerticalOrientation__83bf0d1d.Single_styles_1a6l9pg_sliderLabelAlignLeft__83bf0d1d .Single_styles_1a6l9pg_s1w9icbd__83bf0d1d,.Single_styles_1a6l9pg_ss3ujqx__83bf0d1d.Single_styles_1a6l9pg_sliderVerticalOrientation__83bf0d1d.Single_styles_1a6l9pg_sliderLabelAlignRight__83bf0d1d .Single_styles_1a6l9pg_s1w9icbd__83bf0d1d{margin-right:0;margin-bottom:0;position:absolute;top:0;right:calc( var(--plasma-slider-rail-thickness) / 2 + var(--plasma-slider-size) / 2 + var(--plasma-slider-range-value-horizontal-offset) );}.Single_styles_1a6l9pg_ss3ujqx__83bf0d1d.Single_styles_1a6l9pg_sliderVerticalOrientation__83bf0d1d.Single_styles_1a6l9pg_sliderLabelAlignLeft__83bf0d1d .Single_styles_1a6l9pg_s1w9icbd__83bf0d1d.Single_styles_1a6l9pg_sliderMaxRangeValue__83bf0d1d,.Single_styles_1a6l9pg_ss3ujqx__83bf0d1d.Single_styles_1a6l9pg_sliderVerticalOrientation__83bf0d1d.Single_styles_1a6l9pg_sliderLabelAlignRight__83bf0d1d .Single_styles_1a6l9pg_s1w9icbd__83bf0d1d.Single_styles_1a6l9pg_sliderMaxRangeValue__83bf0d1d{margin-right:0;margin-left:0;top:auto;bottom:0;}.Single_styles_1a6l9pg_ss3ujqx__83bf0d1d.Single_styles_1a6l9pg_sliderVerticalOrientation__83bf0d1d.Single_styles_1a6l9pg_sliderLabelAlignRight__83bf0d1d .Single_styles_1a6l9pg_s1w9icbd__83bf0d1d{left:calc(var(--plasma-slider-size) + var(--plasma-slider-rail-thickness));}
|
698
698
|
|
699
699
|
.Double_styles_1jhda4u_lcs82cd__5dc981f4{color:var(--plasma-slider-label-color);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;gap:var(--plasma-slider-label-wrapper-gap);margin-bottom:var(--plasma-slider-label-wrapper-margin-bottom);}
|
700
700
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/plasma-new-hope",
|
3
|
-
"version": "0.315.
|
3
|
+
"version": "0.315.1-dev.0",
|
4
4
|
"description": "Salute Design System blueprint",
|
5
5
|
"main": "cjs/index.js",
|
6
6
|
"module": "es/index.js",
|
@@ -135,5 +135,5 @@
|
|
135
135
|
"sideEffects": [
|
136
136
|
"*.css"
|
137
137
|
],
|
138
|
-
"gitHead": "
|
138
|
+
"gitHead": "f6140d193f4b16800d8dcac631bf8c273af992cd"
|
139
139
|
}
|
@@ -6,7 +6,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
exports.StyledRangeValue = exports.SliderBaseWrapper = exports.SingleWrapper = exports.LabelWrapper = exports.LabelContent = exports.Label = void 0;
|
7
7
|
var _styledComponents = /*#__PURE__*/_interopRequireDefault(/*#__PURE__*/require("styled-components"));
|
8
8
|
var _Slider = /*#__PURE__*/require("../../Slider.tokens");
|
9
|
-
var _SliderBase = /*#__PURE__*/require("../SliderBase/SliderBase.styles");
|
10
9
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
11
10
|
var LabelWrapper = exports.LabelWrapper = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
12
11
|
componentId: "plasma-new-hope__sc-1qm4elt-0"
|
@@ -22,7 +21,7 @@ var StyledRangeValue = exports.StyledRangeValue = /*#__PURE__*/_styledComponents
|
|
22
21
|
})(["color:var(", ");font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");transition:opacity 0.1s ease-in-out;&.", ",&.", "{opacity:0;}&.", "{color:var(", ");}"], _Slider.tokens.rangeValueColor, _Slider.tokens.valueFontFamily, _Slider.tokens.valueFontSize, _Slider.tokens.valueFontStyle, _Slider.tokens.valueFontWeight, _Slider.tokens.valueLetterSpacing, _Slider.tokens.valueLineHeight, _Slider.classes.hideMinValue, _Slider.classes.hideMaxValue, _Slider.classes.activeRangeValue, _Slider.tokens.labelColor);
|
23
22
|
var SliderBaseWrapper = exports.SliderBaseWrapper = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
24
23
|
componentId: "plasma-new-hope__sc-1qm4elt-4"
|
25
|
-
})(["display:flex;flex:1
|
24
|
+
})(["position:relative;display:flex;flex:1;&.", "{", "{position:absolute;bottom:calc(var(", ") * -1.5 - var(", "));left:0;&.", "{left:unset;right:0;}}}&.", "{align-items:center;", "{margin-right:var(", ");&.", "{margin-right:0;margin-left:var(", ");}}}"], _Slider.classes.rangeValuesPlacementOuter, StyledRangeValue, _Slider.tokens.railThickness, _Slider.tokens.rangeValueBottomOffset, _Slider.classes.maxRangeValue, _Slider.classes.rangeValuesPlacementInner, StyledRangeValue, _Slider.tokens.rangeValueHorizontalMargin, _Slider.classes.maxRangeValue, _Slider.tokens.rangeValueHorizontalMargin);
|
26
25
|
var SingleWrapper = exports.SingleWrapper = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
27
26
|
componentId: "plasma-new-hope__sc-1qm4elt-5"
|
28
|
-
})(["display:flex;opacity:var(", ");&.", "{flex-direction:column;", "{margin-bottom:var(", ");}}&.", "{", "{margin-right:var(", ");}", ":not(:has(", ")):has(", "){margin-right:var(", ");}", ":has(", "){margin-right:var(", ");}}&.", "{flex-direction:column;align-items:center;&.", "{", "{flex-direction:column-reverse;}&.", "{", "{flex-direction:column;}&.", "{", "{flex-direction:column-reverse;}}}&.", "{", "{flex-direction:column;}}}", "{align-items:center;}", "{width:var(", ");}&.", "{", "{margin-right:0;margin-bottom:var(", ");}}&.", "{align-items:flex-end;", "{flex-direction:row-reverse;}}&.", "{align-items:flex-start;}&.", "{flex-direction:column-reverse;", "{margin-top:var(", ");margin-right:0;margin-bottom:0;}}}&.", "{flex-direction:column;align-items:center;justify-content:center;", "{flex-direction:column;align-items:center;justify-content:center;}&.", "{", "{position:static;bottom:0;left:0;margin-bottom:var(", ");&.", "{left:0;right:0;bottom:0;margin-top:var(", ");margin-bottom:0;}}}&.", ",&.", "{", "{
|
27
|
+
})(["display:flex;opacity:var(", ");&.", "{flex-direction:column;", "{margin-bottom:var(", ");}}&.", "{", "{margin-right:var(", ");}", ":not(:has(", ")):has(", "){margin-right:var(", ");}", ":has(", "){margin-right:var(", ");}}&.", "{flex-direction:column;align-items:center;&.", "{", "{flex-direction:column-reverse;}&.", "{", "{flex-direction:column;}&.", "{", "{flex-direction:column-reverse;}}}&.", "{", "{flex-direction:column;}}}", "{align-items:center;}", "{width:var(", ");}&.", "{", "{margin-right:0;margin-bottom:var(", ");}}&.", "{align-items:flex-end;", "{flex-direction:row-reverse;}}&.", "{align-items:flex-start;}&.", "{flex-direction:column-reverse;", "{margin-top:var(", ");margin-right:0;margin-bottom:0;}}}&.", "{flex-direction:column;align-items:center;justify-content:center;", "{flex-direction:column;align-items:center;justify-content:center;}&.", "{", "{position:static;bottom:0;left:0;margin-bottom:var(", ");&.", "{left:0;right:0;bottom:0;margin-top:var(", ");margin-bottom:0;}}}&.", ",&.", "{", "{margin-right:0;margin-bottom:0;position:absolute;top:0;right:calc( var(", ") / 2 + var(", ") / 2 + var(", ") );&.", "{margin-right:0;margin-left:0;top:auto;bottom:0;}}}&.", "{", "{left:calc(var(", ") + var(", "));}}}"], _Slider.tokens.disabledOpacity, _Slider.classes.labelPlacementOuter, LabelWrapper, _Slider.tokens.labelWrapperMarginBottom, _Slider.classes.labelPlacementInner, LabelWrapper, _Slider.tokens.labelWrapperMarginRight, LabelWrapper, Label, LabelContent, _Slider.tokens.labelWrapperOnlyIconMarginRight, LabelWrapper, Label, _Slider.tokens.labelWrapperMarginRight, _Slider.classes.verticalOrientation, _Slider.classes.labelAlignCenter, LabelWrapper, _Slider.classes.labelPlacementBottom, LabelWrapper, _Slider.classes.labelContentReversed, LabelWrapper, _Slider.classes.labelContentReversed, LabelWrapper, LabelWrapper, SliderBaseWrapper, _Slider.tokens.size, _Slider.classes.labelPlacementInner, LabelWrapper, _Slider.tokens.labelWrapperVerticalMargin, _Slider.classes.labelAlignLeft, LabelWrapper, _Slider.classes.labelAlignRight, _Slider.classes.labelPlacementBottom, LabelWrapper, _Slider.tokens.labelWrapperVerticalMargin, _Slider.classes.verticalOrientation, SliderBaseWrapper, _Slider.classes.labelAlignCenter, StyledRangeValue, _Slider.tokens.rangeValueVerticalMargin, _Slider.classes.maxRangeValue, _Slider.tokens.rangeValueVerticalMargin, _Slider.classes.labelAlignLeft, _Slider.classes.labelAlignRight, StyledRangeValue, _Slider.tokens.railThickness, _Slider.tokens.size, _Slider.tokens.rangeValueHorizontalOffset, _Slider.classes.maxRangeValue, _Slider.classes.labelAlignRight, StyledRangeValue, _Slider.tokens.size, _Slider.tokens.railThickness);
|
@@ -262,6 +262,7 @@ var textAreaRoot = exports.textAreaRoot = function textAreaRoot(Root) {
|
|
262
262
|
hintView: hintView,
|
263
263
|
hintSize: hintSize
|
264
264
|
}), (hasOuterLabel || titleCaption) && /*#__PURE__*/_react["default"].createElement(_TextArea.OuterLabelWrapper, {
|
265
|
+
width: helperWidth,
|
265
266
|
isInnerLabel: labelPlacement === 'inner'
|
266
267
|
}, hasOuterLabel && /*#__PURE__*/_react["default"].createElement(_TextArea.StyledIndicatorWrapper, null, /*#__PURE__*/_react["default"].createElement(_TextArea.StyledLabel, null, label), hintText && /*#__PURE__*/_react["default"].createElement(_TextArea.StyledHintWrapper, null, /*#__PURE__*/_react["default"].createElement(_Hint.HintComponent, {
|
267
268
|
ref: hintForkRef,
|
@@ -17,8 +17,11 @@ var Hint = exports.Hint = /*#__PURE__*/(0, _styledComponents["default"])(Tooltip
|
|
17
17
|
})([""]);
|
18
18
|
var OuterLabelWrapper = exports.OuterLabelWrapper = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
19
19
|
componentId: "plasma-new-hope__sc-pxxv3p-1"
|
20
|
-
})(["display:flex;align-items:center;margin-bottom:", ";"], function (_ref) {
|
21
|
-
var
|
20
|
+
})(["display:flex;align-items:center;max-width:", ";margin-bottom:", ";"], function (_ref) {
|
21
|
+
var width = _ref.width;
|
22
|
+
return width;
|
23
|
+
}, function (_ref2) {
|
24
|
+
var isInnerLabel = _ref2.isInnerLabel;
|
22
25
|
return isInnerLabel ? "var(".concat(_TextArea.tokens.titleCaptionInnerLabelOffset, ")") : "var(".concat(_TextArea.tokens.labelMarginBottom, ")");
|
23
26
|
});
|
24
27
|
var StyledLabel = exports.StyledLabel = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
@@ -32,23 +35,23 @@ var StyledIndicatorWrapper = exports.StyledIndicatorWrapper = /*#__PURE__*/_styl
|
|
32
35
|
})(["position:relative;display:inline-flex;align-items:center;"]);
|
33
36
|
var StyledOptionalText = exports.StyledOptionalText = /*#__PURE__*/_styledComponents["default"].span.withConfig({
|
34
37
|
componentId: "plasma-new-hope__sc-pxxv3p-5"
|
35
|
-
})(["color:var(", ");font-family:", ";font-size:", ";font-style:", ";font-weight:", ";letter-spacing:", ";line-height:", ";"], _TextArea.tokens.optionalColor, function (
|
36
|
-
var inheritFont = _ref2.inheritFont;
|
37
|
-
return inheritFont ? 'inherit' : "var(".concat(_TextArea.tokens.labelOuterFontFamily, ", var(").concat(_TextArea.tokens.inputFontFamily, "))");
|
38
|
-
}, function (_ref3) {
|
38
|
+
})(["color:var(", ");font-family:", ";font-size:", ";font-style:", ";font-weight:", ";letter-spacing:", ";line-height:", ";"], _TextArea.tokens.optionalColor, function (_ref3) {
|
39
39
|
var inheritFont = _ref3.inheritFont;
|
40
|
-
return inheritFont ? 'inherit' : "var(".concat(_TextArea.tokens.
|
40
|
+
return inheritFont ? 'inherit' : "var(".concat(_TextArea.tokens.labelOuterFontFamily, ", var(").concat(_TextArea.tokens.inputFontFamily, "))");
|
41
41
|
}, function (_ref4) {
|
42
42
|
var inheritFont = _ref4.inheritFont;
|
43
|
-
return inheritFont ? 'inherit' : "var(".concat(_TextArea.tokens.
|
43
|
+
return inheritFont ? 'inherit' : "var(".concat(_TextArea.tokens.labelOuterFontSize, ", var(").concat(_TextArea.tokens.inputFontSize, "))");
|
44
44
|
}, function (_ref5) {
|
45
45
|
var inheritFont = _ref5.inheritFont;
|
46
|
-
return inheritFont ? 'inherit' : "var(".concat(_TextArea.tokens.
|
46
|
+
return inheritFont ? 'inherit' : "var(".concat(_TextArea.tokens.labelOuterFontStyle, ", var(").concat(_TextArea.tokens.inputFontStyle, "))");
|
47
47
|
}, function (_ref6) {
|
48
48
|
var inheritFont = _ref6.inheritFont;
|
49
|
-
return inheritFont ? 'inherit' : "var(".concat(_TextArea.tokens.
|
49
|
+
return inheritFont ? 'inherit' : "var(".concat(_TextArea.tokens.labelOuterFontWeight, ", var(").concat(_TextArea.tokens.inputFontWeight, "))");
|
50
50
|
}, function (_ref7) {
|
51
51
|
var inheritFont = _ref7.inheritFont;
|
52
|
+
return inheritFont ? 'inherit' : "var(".concat(_TextArea.tokens.labelOuterLetterSpacing, ", var(").concat(_TextArea.tokens.inputLetterSpacing, "))");
|
53
|
+
}, function (_ref8) {
|
54
|
+
var inheritFont = _ref8.inheritFont;
|
52
55
|
return inheritFont ? 'inherit' : "var(".concat(_TextArea.tokens.labelOuterLineHeight, ", var(").concat(_TextArea.tokens.inputLineHeight, "))");
|
53
56
|
});
|
54
57
|
var StyledHintWrapper = exports.StyledHintWrapper = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
@@ -62,11 +65,11 @@ var HintIconWrapper = exports.HintIconWrapper = /*#__PURE__*/_styledComponents["
|
|
62
65
|
})([""]);
|
63
66
|
var StyledTextAreaWrapper = exports.StyledTextAreaWrapper = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
64
67
|
componentId: "plasma-new-hope__sc-pxxv3p-9"
|
65
|
-
})(["background-color:var(", ");padding-top:var(", ");padding-bottom:", ";border-radius:", ";"], _TextArea.tokens.inputBackgroundColor, _TextArea.tokens.inputPaddingTop, function (
|
66
|
-
var hasHelper = _ref8.hasHelper;
|
67
|
-
return hasHelper ? "var(".concat(_TextArea.tokens.inputPaddingBottomWithHelpers, ")") : "var(".concat(_TextArea.tokens.inputPaddingBottom, ")");
|
68
|
-
}, function (_ref9) {
|
68
|
+
})(["background-color:var(", ");padding-top:var(", ");padding-bottom:", ";border-radius:", ";"], _TextArea.tokens.inputBackgroundColor, _TextArea.tokens.inputPaddingTop, function (_ref9) {
|
69
69
|
var hasHelper = _ref9.hasHelper;
|
70
|
+
return hasHelper ? "var(".concat(_TextArea.tokens.inputPaddingBottomWithHelpers, ")") : "var(".concat(_TextArea.tokens.inputPaddingBottom, ")");
|
71
|
+
}, function (_ref10) {
|
72
|
+
var hasHelper = _ref10.hasHelper;
|
70
73
|
return hasHelper ? "var(".concat(_TextArea.tokens.borderRadiusWithHelpers, ")") : "var(".concat(_TextArea.tokens.borderRadius, ")");
|
71
74
|
});
|
72
75
|
var StyledContent = exports.StyledContent = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
@@ -74,45 +77,45 @@ var StyledContent = exports.StyledContent = /*#__PURE__*/_styledComponents["defa
|
|
74
77
|
})(["position:absolute;display:flex;align-items:center;bottom:0;z-index:1;color:var(", ",var(", "));top:var(", ");right:var(", ");height:var(", ");"], _TextArea.tokens.rightContentColor, _TextArea.tokens.inputColor, _TextArea.tokens.rightContentTop, _TextArea.tokens.rightContentRight, _TextArea.tokens.rightContentHeight);
|
75
78
|
var StyledContainer = exports.StyledContainer = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
76
79
|
componentId: "plasma-new-hope__sc-pxxv3p-11"
|
77
|
-
})(["display:inline-flex;flex-direction:column;width:", ";position:relative;"], function (
|
78
|
-
var width =
|
80
|
+
})(["display:inline-flex;flex-direction:column;width:", ";position:relative;"], function (_ref11) {
|
81
|
+
var width = _ref11.width;
|
79
82
|
return width;
|
80
83
|
});
|
81
84
|
var StyledTextArea = exports.StyledTextArea = /*#__PURE__*/_styledComponents["default"].textarea.withConfig({
|
82
85
|
componentId: "plasma-new-hope__sc-pxxv3p-12"
|
83
|
-
})(["display:block;box-sizing:border-box;outline:none;border:none;-webkit-appearance:none;background-color:transparent;color:var(", ");caret-color:var(", ");resize:", ";--plasma_private-textarea-height:", ";--plasma_private-textarea-width:", ";--plasma_private-textarea-computed-height:", ";--plasma_private-textarea-computed-width:", ";height:var(--plasma_private-textarea-computed-height);width:var(--plasma_private-textarea-computed-width);min-width:", ";max-width:", ";min-height:var(", ");padding-right:", ";padding-left:var(", ",0);padding-top:0;padding-bottom:0;--plasma_private-textarea-helpers-computed-height:calc( var(", ",0) + var(", ",0) + var(", ") );--plasma_private-textarea-input-with-helpers-height:calc( var(--plasma_private-textarea-height) - var(--plasma_private-textarea-helpers-computed-height) + var(", ") );--plasma_private-textarea-input-without-helpers-height:calc( var(--plasma_private-textarea-computed-height) - var(", ") );--plasma_private-textarea-input-actual-height:", ";height:var(--plasma_private-textarea-input-actual-height);font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");&::placeholder{opacity:0;}&:read-only{cursor:default;}&:focus:not(:disabled){color:var(", ");}&::-webkit-scrollbar{width:var(", ");}&::-webkit-scrollbar-thumb{background-color:var(", ");background-clip:content-box;border:var(", ") solid transparent;border-radius:1rem;}&::-webkit-scrollbar-track{background-color:var(", ");background-clip:content-box;border:var(", ") solid transparent;border-radius:1rem;}"], _TextArea.tokens.inputColor, _TextArea.tokens.inputCaretColor, function (
|
84
|
-
var resize =
|
86
|
+
})(["display:block;box-sizing:border-box;outline:none;border:none;-webkit-appearance:none;background-color:transparent;color:var(", ");caret-color:var(", ");resize:", ";--plasma_private-textarea-height:", ";--plasma_private-textarea-width:", ";--plasma_private-textarea-computed-height:", ";--plasma_private-textarea-computed-width:", ";height:var(--plasma_private-textarea-computed-height);width:var(--plasma_private-textarea-computed-width);min-width:", ";max-width:", ";min-height:var(", ");padding-right:", ";padding-left:var(", ",0);padding-top:0;padding-bottom:0;--plasma_private-textarea-helpers-computed-height:calc( var(", ",0) + var(", ",0) + var(", ") );--plasma_private-textarea-input-with-helpers-height:calc( var(--plasma_private-textarea-height) - var(--plasma_private-textarea-helpers-computed-height) + var(", ") );--plasma_private-textarea-input-without-helpers-height:calc( var(--plasma_private-textarea-computed-height) - var(", ") );--plasma_private-textarea-input-actual-height:", ";height:var(--plasma_private-textarea-input-actual-height);font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");&::placeholder{opacity:0;}&:read-only{cursor:default;}&:focus:not(:disabled){color:var(", ");}&::-webkit-scrollbar{width:var(", ");}&::-webkit-scrollbar-thumb{background-color:var(", ");background-clip:content-box;border:var(", ") solid transparent;border-radius:1rem;}&::-webkit-scrollbar-track{background-color:var(", ");background-clip:content-box;border:var(", ") solid transparent;border-radius:1rem;}"], _TextArea.tokens.inputColor, _TextArea.tokens.inputCaretColor, function (_ref12) {
|
87
|
+
var resize = _ref12.resize;
|
85
88
|
return resize || 'none';
|
86
|
-
}, function (_ref12) {
|
87
|
-
var height = _ref12.height;
|
88
|
-
return !Number.isNaN(Number(height)) ? "calc(".concat(height, "rem - 0.875rem)") : height || "var(".concat(_TextArea.tokens.inputHeight, ")");
|
89
89
|
}, function (_ref13) {
|
90
|
-
var
|
91
|
-
return !Number.isNaN(Number(
|
90
|
+
var height = _ref13.height;
|
91
|
+
return !Number.isNaN(Number(height)) ? "calc(".concat(height, "rem - 0.875rem)") : height || "var(".concat(_TextArea.tokens.inputHeight, ")");
|
92
92
|
}, function (_ref14) {
|
93
|
-
var
|
94
|
-
return
|
93
|
+
var width = _ref14.width;
|
94
|
+
return !Number.isNaN(Number(width)) ? "".concat(width, "rem") : width || "var(".concat(_TextArea.tokens.inputWidth, ")");
|
95
95
|
}, function (_ref15) {
|
96
|
-
var
|
97
|
-
return
|
96
|
+
var rows = _ref15.rows;
|
97
|
+
return rows ? 'unset' : 'var(--plasma_private-textarea-height)';
|
98
98
|
}, function (_ref16) {
|
99
|
-
var
|
100
|
-
return
|
99
|
+
var cols = _ref16.cols;
|
100
|
+
return cols ? 'unset' : 'var(--plasma_private-textarea-width)';
|
101
101
|
}, function (_ref17) {
|
102
102
|
var applyCustomWidth = _ref17.applyCustomWidth;
|
103
103
|
return applyCustomWidth ? 'var(--plasma_private-textarea-width)' : 'auto';
|
104
|
-
},
|
105
|
-
var
|
104
|
+
}, function (_ref18) {
|
105
|
+
var applyCustomWidth = _ref18.applyCustomWidth;
|
106
|
+
return applyCustomWidth ? 'var(--plasma_private-textarea-width)' : 'auto';
|
107
|
+
}, _TextArea.tokens.inputMinHeight, function (_ref19) {
|
108
|
+
var hasContentRight = _ref19.hasContentRight;
|
106
109
|
return hasContentRight ? "var(".concat(_TextArea.tokens.inputPaddingRightWithRightContent, ", 0)") : "var(".concat(_TextArea.tokens.inputPaddingRight, ", 0)");
|
107
|
-
}, _TextArea.tokens.inputPaddingLeft, _TextArea.tokens.helpersPaddingTop, _TextArea.tokens.helpersPaddingBottom, _TextArea.tokens.helpersLineHeight, _TextArea.tokens.helpersOffset, _TextArea.tokens.inputPaddingBottom, function (
|
108
|
-
var hasHelper =
|
109
|
-
rows =
|
110
|
+
}, _TextArea.tokens.inputPaddingLeft, _TextArea.tokens.helpersPaddingTop, _TextArea.tokens.helpersPaddingBottom, _TextArea.tokens.helpersLineHeight, _TextArea.tokens.helpersOffset, _TextArea.tokens.inputPaddingBottom, function (_ref20) {
|
111
|
+
var hasHelper = _ref20.hasHelper,
|
112
|
+
rows = _ref20.rows;
|
110
113
|
return hasHelper && !rows ? 'var(--plasma_private-textarea-input-with-helpers-height)' : 'var(--plasma_private-textarea-input-without-helpers-height)';
|
111
114
|
}, _TextArea.tokens.inputFontFamily, _TextArea.tokens.inputFontSize, _TextArea.tokens.inputFontStyle, _TextArea.tokens.inputFontWeight, _TextArea.tokens.inputLetterSpacing, _TextArea.tokens.inputLineHeight, _TextArea.tokens.inputColorFocus, _TextArea.tokens.scrollbarWidth, _TextArea.tokens.scrollbarThumbBackgroundColor, _TextArea.tokens.scrollbarBorderWidth, _TextArea.tokens.scrollbarTrackBackgroundColor, _TextArea.tokens.scrollbarBorderWidth);
|
112
115
|
var StyledHiddenTextArea = exports.StyledHiddenTextArea = /*#__PURE__*/_styledComponents["default"].textarea.withConfig({
|
113
116
|
componentId: "plasma-new-hope__sc-pxxv3p-13"
|
114
|
-
})(["max-height:none !important;min-height:var(", ") !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:", ";padding-left:var(", ",0);padding-top:0;padding-bottom:0;box-sizing:border-box;text-indent:0;text-rendering:auto;text-transform:none;tab-size:8;font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");"], _TextArea.tokens.inputMinHeight, function (
|
115
|
-
var hasContentRight =
|
117
|
+
})(["max-height:none !important;min-height:var(", ") !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:", ";padding-left:var(", ",0);padding-top:0;padding-bottom:0;box-sizing:border-box;text-indent:0;text-rendering:auto;text-transform:none;tab-size:8;font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");"], _TextArea.tokens.inputMinHeight, function (_ref21) {
|
118
|
+
var hasContentRight = _ref21.hasContentRight;
|
116
119
|
return hasContentRight ? "var(".concat(_TextArea.tokens.inputPaddingRightWithRightContent, ", 0)") : "var(".concat(_TextArea.tokens.inputPaddingRight, ", 0)");
|
117
120
|
}, _TextArea.tokens.inputPaddingLeft, _TextArea.tokens.inputFontFamily, _TextArea.tokens.inputFontSize, _TextArea.tokens.inputFontStyle, _TextArea.tokens.inputFontWeight, _TextArea.tokens.inputLetterSpacing, _TextArea.tokens.inputLineHeight);
|
118
121
|
var StyledHelpers = exports.StyledHelpers = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
@@ -129,8 +132,8 @@ var StyledRightHelper = exports.StyledRightHelper = /*#__PURE__*/(0, _styledComp
|
|
129
132
|
})(["color:var(", ");margin-left:auto;"], _TextArea.tokens.rightHelperColor);
|
130
133
|
var StyledPlaceholder = exports.StyledPlaceholder = /*#__PURE__*/_styledComponents["default"].label.withConfig({
|
131
134
|
componentId: "plasma-new-hope__sc-pxxv3p-18"
|
132
|
-
})(["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(", ");width:100%;height:auto;top:var(", ");padding-left:var(", ");padding-right:", ";font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");"], _TextArea.tokens.placeholderColor, _TextArea.tokens.inputPaddingTop, _TextArea.tokens.inputPaddingLeft, function (
|
133
|
-
var hasContentRight =
|
135
|
+
})(["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(", ");width:100%;height:auto;top:var(", ");padding-left:var(", ");padding-right:", ";font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");"], _TextArea.tokens.placeholderColor, _TextArea.tokens.inputPaddingTop, _TextArea.tokens.inputPaddingLeft, function (_ref22) {
|
136
|
+
var hasContentRight = _ref22.hasContentRight;
|
134
137
|
return hasContentRight ? "var(".concat(_TextArea.tokens.inputPaddingRightWithRightContent, ")") : "var(".concat(_TextArea.tokens.inputPaddingRight, ")");
|
135
138
|
}, _TextArea.tokens.inputFontFamily, _TextArea.tokens.inputFontSize, _TextArea.tokens.inputFontStyle, _TextArea.tokens.inputFontWeight, _TextArea.tokens.inputLetterSpacing, _TextArea.tokens.inputLineHeight);
|
136
139
|
var StyledIndicator = exports.StyledIndicator = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import styled from 'styled-components';
|
2
2
|
import { classes, tokens } from '../../Slider.tokens';
|
3
|
-
import { Slider } from '../SliderBase/SliderBase.styles';
|
4
3
|
export var LabelWrapper = /*#__PURE__*/styled.div.withConfig({
|
5
4
|
componentId: "plasma-new-hope__sc-1qm4elt-0"
|
6
5
|
})(["color:var(", ");display:flex;gap:var(", ");"], tokens.labelColor, tokens.labelWrapperGap);
|
@@ -15,7 +14,7 @@ export var StyledRangeValue = /*#__PURE__*/styled.span.withConfig({
|
|
15
14
|
})(["color:var(", ");font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");transition:opacity 0.1s ease-in-out;&.", ",&.", "{opacity:0;}&.", "{color:var(", ");}"], tokens.rangeValueColor, tokens.valueFontFamily, tokens.valueFontSize, tokens.valueFontStyle, tokens.valueFontWeight, tokens.valueLetterSpacing, tokens.valueLineHeight, classes.hideMinValue, classes.hideMaxValue, classes.activeRangeValue, tokens.labelColor);
|
16
15
|
export var SliderBaseWrapper = /*#__PURE__*/styled.div.withConfig({
|
17
16
|
componentId: "plasma-new-hope__sc-1qm4elt-4"
|
18
|
-
})(["display:flex;flex:1
|
17
|
+
})(["position:relative;display:flex;flex:1;&.", "{", "{position:absolute;bottom:calc(var(", ") * -1.5 - var(", "));left:0;&.", "{left:unset;right:0;}}}&.", "{align-items:center;", "{margin-right:var(", ");&.", "{margin-right:0;margin-left:var(", ");}}}"], classes.rangeValuesPlacementOuter, StyledRangeValue, tokens.railThickness, tokens.rangeValueBottomOffset, classes.maxRangeValue, classes.rangeValuesPlacementInner, StyledRangeValue, tokens.rangeValueHorizontalMargin, classes.maxRangeValue, tokens.rangeValueHorizontalMargin);
|
19
18
|
export var SingleWrapper = /*#__PURE__*/styled.div.withConfig({
|
20
19
|
componentId: "plasma-new-hope__sc-1qm4elt-5"
|
21
|
-
})(["display:flex;opacity:var(", ");&.", "{flex-direction:column;", "{margin-bottom:var(", ");}}&.", "{", "{margin-right:var(", ");}", ":not(:has(", ")):has(", "){margin-right:var(", ");}", ":has(", "){margin-right:var(", ");}}&.", "{flex-direction:column;align-items:center;&.", "{", "{flex-direction:column-reverse;}&.", "{", "{flex-direction:column;}&.", "{", "{flex-direction:column-reverse;}}}&.", "{", "{flex-direction:column;}}}", "{align-items:center;}", "{width:var(", ");}&.", "{", "{margin-right:0;margin-bottom:var(", ");}}&.", "{align-items:flex-end;", "{flex-direction:row-reverse;}}&.", "{align-items:flex-start;}&.", "{flex-direction:column-reverse;", "{margin-top:var(", ");margin-right:0;margin-bottom:0;}}}&.", "{flex-direction:column;align-items:center;justify-content:center;", "{flex-direction:column;align-items:center;justify-content:center;}&.", "{", "{position:static;bottom:0;left:0;margin-bottom:var(", ");&.", "{left:0;right:0;bottom:0;margin-top:var(", ");margin-bottom:0;}}}&.", ",&.", "{", "{
|
20
|
+
})(["display:flex;opacity:var(", ");&.", "{flex-direction:column;", "{margin-bottom:var(", ");}}&.", "{", "{margin-right:var(", ");}", ":not(:has(", ")):has(", "){margin-right:var(", ");}", ":has(", "){margin-right:var(", ");}}&.", "{flex-direction:column;align-items:center;&.", "{", "{flex-direction:column-reverse;}&.", "{", "{flex-direction:column;}&.", "{", "{flex-direction:column-reverse;}}}&.", "{", "{flex-direction:column;}}}", "{align-items:center;}", "{width:var(", ");}&.", "{", "{margin-right:0;margin-bottom:var(", ");}}&.", "{align-items:flex-end;", "{flex-direction:row-reverse;}}&.", "{align-items:flex-start;}&.", "{flex-direction:column-reverse;", "{margin-top:var(", ");margin-right:0;margin-bottom:0;}}}&.", "{flex-direction:column;align-items:center;justify-content:center;", "{flex-direction:column;align-items:center;justify-content:center;}&.", "{", "{position:static;bottom:0;left:0;margin-bottom:var(", ");&.", "{left:0;right:0;bottom:0;margin-top:var(", ");margin-bottom:0;}}}&.", ",&.", "{", "{margin-right:0;margin-bottom:0;position:absolute;top:0;right:calc( var(", ") / 2 + var(", ") / 2 + var(", ") );&.", "{margin-right:0;margin-left:0;top:auto;bottom:0;}}}&.", "{", "{left:calc(var(", ") + var(", "));}}}"], tokens.disabledOpacity, classes.labelPlacementOuter, LabelWrapper, tokens.labelWrapperMarginBottom, classes.labelPlacementInner, LabelWrapper, tokens.labelWrapperMarginRight, LabelWrapper, Label, LabelContent, tokens.labelWrapperOnlyIconMarginRight, LabelWrapper, Label, tokens.labelWrapperMarginRight, classes.verticalOrientation, classes.labelAlignCenter, LabelWrapper, classes.labelPlacementBottom, LabelWrapper, classes.labelContentReversed, LabelWrapper, classes.labelContentReversed, LabelWrapper, LabelWrapper, SliderBaseWrapper, tokens.size, classes.labelPlacementInner, LabelWrapper, tokens.labelWrapperVerticalMargin, classes.labelAlignLeft, LabelWrapper, classes.labelAlignRight, classes.labelPlacementBottom, LabelWrapper, tokens.labelWrapperVerticalMargin, classes.verticalOrientation, SliderBaseWrapper, classes.labelAlignCenter, StyledRangeValue, tokens.rangeValueVerticalMargin, classes.maxRangeValue, tokens.rangeValueVerticalMargin, classes.labelAlignLeft, classes.labelAlignRight, StyledRangeValue, tokens.railThickness, tokens.size, tokens.rangeValueHorizontalOffset, classes.maxRangeValue, classes.labelAlignRight, StyledRangeValue, tokens.size, tokens.railThickness);
|
@@ -254,6 +254,7 @@ export var textAreaRoot = function textAreaRoot(Root) {
|
|
254
254
|
hintView: hintView,
|
255
255
|
hintSize: hintSize
|
256
256
|
}), (hasOuterLabel || titleCaption) && /*#__PURE__*/React.createElement(OuterLabelWrapper, {
|
257
|
+
width: helperWidth,
|
257
258
|
isInnerLabel: labelPlacement === 'inner'
|
258
259
|
}, hasOuterLabel && /*#__PURE__*/React.createElement(StyledIndicatorWrapper, null, /*#__PURE__*/React.createElement(StyledLabel, null, label), hintText && /*#__PURE__*/React.createElement(StyledHintWrapper, null, /*#__PURE__*/React.createElement(HintComponent, {
|
259
260
|
ref: hintForkRef,
|