@muraldevkit/ui-toolkit 1.17.1 → 1.18.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.
@@ -0,0 +1,18 @@
1
+ ////
2
+ /// textarea component global styles
3
+ /// @group textarea
4
+ ////
5
+ @use '~@muraldevkit/ds-foundation/src/styles/_mixins' as *;
6
+ @use '../../forms.global.scss' as *;
7
+ @use '../../forms.variables.scss';
8
+
9
+ .MrlTextarea {
10
+ @include mrl-focus($is-inline-element: 'true');
11
+ }
12
+
13
+ .mrl-u-focus-wrapper {
14
+ // These styles remove an undefined space between the textarea
15
+ // and counter span
16
+ display: flex;
17
+ flex-direction: column;
18
+ }
@@ -0,0 +1,23 @@
1
+ ////
2
+ /// textarea component scope styles
3
+ /// @group textarea
4
+ ////
5
+ @use '~@muraldevkit/ds-foundation/src/styles/_mixins' as *;
6
+ @use '../../forms.global.scss' as *;
7
+ @use '../../forms.variables.scss';
8
+
9
+ .MrlTextarea {
10
+ @include mrl-text-inputs;
11
+
12
+ resize: vertical;
13
+ }
14
+
15
+ .MrlTextarea-counter {
16
+ @include mrl-text-static('xxsmall');
17
+
18
+ color: rgba(var(--mrl-gray-80), 1);
19
+ display: block;
20
+ margin-top: var(--mrl-spacing-02);
21
+ text-align: right;
22
+ width: 100%;
23
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@muraldevkit/ui-toolkit",
3
- "version": "1.17.1",
3
+ "version": "1.18.0",
4
4
  "description": "Mural's UI Toolkit",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",