@gnist/design-system 2.0.20 → 2.0.22

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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## <small>2.0.22 (2025-03-20)</small>
7
+
8
+ **Note:** Version bump only for package @gnist/design-system
9
+
10
+ ## <small>2.0.21 (2025-03-14)</small>
11
+
12
+ * fix: fix counterText on TextArea not being on top of text in input ([3172654](https://github.com/mollerdigital/design-system-design-system/commit/3172654))
13
+
6
14
  ## <small>2.0.20 (2025-02-28)</small>
7
15
 
8
16
  * chore: bump eslint packages ([e20fe7f](https://github.com/mollerdigital/design-system-design-system/commit/e20fe7f))
@@ -28,6 +28,7 @@ const inputFieldWrapperRecipe = recipes.recipe({
28
28
  position: "relative",
29
29
  boxSizing: "border-box",
30
30
  display: "flex",
31
+ flexDirection: "column",
31
32
  transitionProperty: "box-shadow",
32
33
  transitionDuration: inputFieldConstants_css.transitionTime,
33
34
  selectors: {
@@ -97,7 +98,6 @@ const inputFieldStyle = css.style([
97
98
  {
98
99
  boxSizing: "border-box",
99
100
  all: "unset",
100
- width: "100%",
101
101
  flexGrow: 1,
102
102
  position: "relative",
103
103
  zIndex: 2,
@@ -1 +1 @@
1
- {"version":3,"file":"inputField.css.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/shared-styles/inputField.css.ts"],"names":[],"mappings":"AAqBA,eAAO,MAAM,YAAY,QAIvB,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6ElC,CAAC;AAEH,eAAO,MAAM,eAAe,QAwB1B,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;EAyB9B,CAAC"}
1
+ {"version":3,"file":"inputField.css.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/shared-styles/inputField.css.ts"],"names":[],"mappings":"AAqBA,eAAO,MAAM,YAAY,QAIvB,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8ElC,CAAC;AAEH,eAAO,MAAM,eAAe,QAuB1B,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;EAyB9B,CAAC"}
@@ -26,6 +26,7 @@ const inputFieldWrapperRecipe = recipe({
26
26
  position: "relative",
27
27
  boxSizing: "border-box",
28
28
  display: "flex",
29
+ flexDirection: "column",
29
30
  transitionProperty: "box-shadow",
30
31
  transitionDuration: transitionTime,
31
32
  selectors: {
@@ -95,7 +96,6 @@ const inputFieldStyle = style([
95
96
  {
96
97
  boxSizing: "border-box",
97
98
  all: "unset",
98
- width: "100%",
99
99
  flexGrow: 1,
100
100
  position: "relative",
101
101
  zIndex: 2,
@@ -2,27 +2,13 @@
2
2
  "use strict";
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4
4
  const atoms_css_js = require("@gnist/themes/atoms.css.js");
5
- const tokens_css_js = require("@gnist/themes/tokens.css.js");
6
- const css = require("@vanilla-extract/css");
7
- const wordCounterStyle = css.style([
8
- atoms_css_js.atoms({
9
- display: "flex",
10
- backgroundColor: "surface",
11
- color: "text-variant",
12
- justifyContent: "flex-end",
13
- typography: "detail-medium",
14
- paddingBottom: "xxs",
15
- paddingTop: "base"
16
- }),
17
- {
18
- zIndex: 2,
19
- position: "absolute",
20
- alignItems: "baseline",
21
- boxSizing: "border-box",
22
- bottom: 0,
23
- left: tokens_css_js.tokens.spacing.s,
24
- right: tokens_css_js.tokens.spacing.s,
25
- overflow: "hidden"
26
- }
27
- ]);
5
+ const wordCounterStyle = atoms_css_js.atoms({
6
+ display: "flex",
7
+ backgroundColor: "surface",
8
+ color: "text-variant",
9
+ justifyContent: "flex-end",
10
+ typography: "detail-medium",
11
+ paddingTop: "base",
12
+ paddingX: "base"
13
+ });
28
14
  exports.wordCounterStyle = wordCounterStyle;
@@ -1 +1 @@
1
- {"version":3,"file":"textArea.css.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/textFields/textArea.css.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,gBAAgB,QAoB3B,CAAC"}
1
+ {"version":3,"file":"textArea.css.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/textFields/textArea.css.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,QAQ3B,CAAC"}
@@ -1,28 +1,14 @@
1
1
  "use client";
2
2
  import { atoms } from "@gnist/themes/atoms.css.js";
3
- import { tokens } from "@gnist/themes/tokens.css.js";
4
- import { style } from "@vanilla-extract/css";
5
- const wordCounterStyle = style([
6
- atoms({
7
- display: "flex",
8
- backgroundColor: "surface",
9
- color: "text-variant",
10
- justifyContent: "flex-end",
11
- typography: "detail-medium",
12
- paddingBottom: "xxs",
13
- paddingTop: "base"
14
- }),
15
- {
16
- zIndex: 2,
17
- position: "absolute",
18
- alignItems: "baseline",
19
- boxSizing: "border-box",
20
- bottom: 0,
21
- left: tokens.spacing.s,
22
- right: tokens.spacing.s,
23
- overflow: "hidden"
24
- }
25
- ]);
3
+ const wordCounterStyle = atoms({
4
+ display: "flex",
5
+ backgroundColor: "surface",
6
+ color: "text-variant",
7
+ justifyContent: "flex-end",
8
+ typography: "detail-medium",
9
+ paddingTop: "base",
10
+ paddingX: "base"
11
+ });
26
12
  export {
27
13
  wordCounterStyle
28
14
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gnist/design-system",
3
- "version": "2.0.20",
3
+ "version": "2.0.22",
4
4
  "license": "UNLICENSED",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -49,7 +49,7 @@
49
49
  "dependencies": {
50
50
  "@formkit/auto-animate": "^0.8.2",
51
51
  "@gnist/component-utils": "3.0.5",
52
- "@gnist/themes": "^2.2.7",
52
+ "@gnist/themes": "^2.2.8",
53
53
  "@mui/base": "^5.0.0-beta.69",
54
54
  "@vanilla-extract/css": "^1.17.1",
55
55
  "@vanilla-extract/css-utils": "^0.1.4",
@@ -104,5 +104,5 @@
104
104
  "optional": true
105
105
  }
106
106
  },
107
- "gitHead": "c176f7a14ebead51da53cd48774c91a732b3fe50"
107
+ "gitHead": "79fa83835dc87506fea294fdbe28fb93475a7d45"
108
108
  }