@gnist/design-system 2.0.19 → 2.0.21
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 +10 -0
- package/dist/components/inputs/shared-styles/inputField.css.cjs +1 -1
- package/dist/components/inputs/shared-styles/inputField.css.d.ts.map +1 -1
- package/dist/components/inputs/shared-styles/inputField.css.js +1 -1
- package/dist/components/inputs/textFields/textArea.css.cjs +9 -23
- package/dist/components/inputs/textFields/textArea.css.d.ts.map +1 -1
- package/dist/components/inputs/textFields/textArea.css.js +9 -23
- package/dist/foundation/iconography/icons.d.ts.map +1 -1
- package/package.json +7 -15
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
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.21 (2025-03-14)</small>
|
|
7
|
+
|
|
8
|
+
* fix: fix counterText on TextArea not being on top of text in input ([3172654](https://github.com/mollerdigital/design-system-design-system/commit/3172654))
|
|
9
|
+
|
|
10
|
+
## <small>2.0.20 (2025-02-28)</small>
|
|
11
|
+
|
|
12
|
+
* chore: bump eslint packages ([e20fe7f](https://github.com/mollerdigital/design-system-design-system/commit/e20fe7f))
|
|
13
|
+
* chore: config eslint 9 in design-system ([df52faa](https://github.com/mollerdigital/design-system-design-system/commit/df52faa))
|
|
14
|
+
* chore: remove unused packages ([d4cbe4e](https://github.com/mollerdigital/design-system-design-system/commit/d4cbe4e))
|
|
15
|
+
|
|
6
16
|
## <small>2.0.19 (2025-02-28)</small>
|
|
7
17
|
|
|
8
18
|
* chore: upgrade style-dictionary dependency ([5b17371](https://github.com/mollerdigital/design-system-design-system/commit/5b17371))
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
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
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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":"
|
|
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
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../src/foundation/iconography/icons.tsx"],"names":[],"mappings":"AAcA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,UAAU,QAAS,SAAQ,QAAQ,CAAC,aAAa,CAAC;IAC9C,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B;AAED,KAAK,YAAY,GAAG,KAAK,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC;AAEvC,KAAK,kBAAkB,GAAG;KACrB,CAAC,IAAI,YAAY,CAAC,CAAC,EAAE,YAAY;CACrC,CAAC;AAEF,UAAU,WAAW;IACjB;;;OAGG;IACH,GAAG,EAAE,OAAO,GAAG,QAAQ,CAAC;IACxB;;;OAGG;IAC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CAAC,GAAG,kBAAkB,GAAG;QAAE,OAAO,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,CAAA;KAAE;CACpE,CAAC;AAEF,KAAK,sBAAsB,CAAC,CAAC,SAAS,MAAM,IAAI;KAC3C,CAAC,IAAI,CAAC,GAAG;QAAE,QAAQ,EAAE,kBAAkB,CAAC;QAAC,OAAO,EAAE,WAAW,CAAA;KAAE;CACnE,CAAC;AAoBF,wBAAgB,WAAW,CAAC,CAAC,SAAS,MAAM,EACxC,KAAK,EAAE,kBAAkB,CAAC,CAAC,CAAC,GAC7B,sBAAsB,CAAC,CAAC,CAAC,CAa3B;AAED,eAAO,MAAM,KAAK,qoCAqCjB,CAAC;AAEF,KAAK,KAAK,GAAG,OAAO,KAAK,CAAC;AAE1B;;GAEG;AAGH,MAAM,WAAW,UAAU;CAAG;AAE9B,UAAU,OAAO;IACb,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,OAAO,EAAE,WAAW,CAAC;CACxB;AACD,MAAM,MAAM,OAAO,CAAC,UAAU,SAAS,MAAM,IAAI,MAAM,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;AAC7E,MAAM,MAAM,QAAQ,GAAG,KAAK,GAAG,UAAU,CAAC;AAC1C,MAAM,MAAM,UAAU,CAAC,CAAC,IAAI,OAAO,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC;AACrD,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC,QAAQ,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gnist/design-system",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.21",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"build": "vite build",
|
|
40
40
|
"serve": "vite preview",
|
|
41
41
|
"lint": "tsc && pnpm run detect-cycles && pnpm run eslint",
|
|
42
|
-
"eslint": "eslint
|
|
42
|
+
"eslint": "eslint --max-warnings 0",
|
|
43
43
|
"detect-cycles": "pnpm madge --extensions ts,tsx ./src --circular",
|
|
44
44
|
"prettier:base": "prettier \"src/**/*.{ts,tsx,json,scss}\"",
|
|
45
45
|
"prettier": "pnpm run prettier:base --check",
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@formkit/auto-animate": "^0.8.2",
|
|
51
|
-
"@gnist/component-utils": "3.0.
|
|
52
|
-
"@gnist/themes": "^2.2.
|
|
51
|
+
"@gnist/component-utils": "3.0.5",
|
|
52
|
+
"@gnist/themes": "^2.2.7",
|
|
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",
|
|
@@ -75,17 +75,9 @@
|
|
|
75
75
|
"@types/react": "^18.0.0",
|
|
76
76
|
"@types/react-dom": "^18.0.0",
|
|
77
77
|
"@types/semver": "^7.5.8",
|
|
78
|
-
"@typescript-eslint/eslint-plugin": "^6.19.1",
|
|
79
|
-
"@typescript-eslint/parser": "^6.19.1",
|
|
80
78
|
"@vitejs/plugin-react-swc": "^3.8.0",
|
|
81
|
-
"eslint": "^
|
|
82
|
-
"eslint-
|
|
83
|
-
"eslint-import-resolver-typescript": "^3.6.1",
|
|
84
|
-
"eslint-plugin-import-x": "^0.4.4",
|
|
85
|
-
"eslint-plugin-jsx-a11y": "^6.8.0",
|
|
86
|
-
"eslint-plugin-react": "^7.33.2",
|
|
87
|
-
"eslint-plugin-react-hooks": "^4.6.0",
|
|
88
|
-
"eslint-plugin-storybook": "^0.6.15",
|
|
79
|
+
"eslint": "^9.21.0",
|
|
80
|
+
"eslint-plugin-storybook": "^0.11.3",
|
|
89
81
|
"globby": "^14.1.0",
|
|
90
82
|
"madge": "^8.0.0",
|
|
91
83
|
"prettier": "^3.5.1",
|
|
@@ -112,5 +104,5 @@
|
|
|
112
104
|
"optional": true
|
|
113
105
|
}
|
|
114
106
|
},
|
|
115
|
-
"gitHead": "
|
|
107
|
+
"gitHead": "1256991b19f1ff8f182d5c00bcc080ea96d59725"
|
|
116
108
|
}
|