@gnist/design-system 0.1.0 → 0.1.2

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,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
+ ## [0.1.2](https://github.com/mollerdigital/design-system-design-system/compare/@gnist/design-system@0.1.1...@gnist/design-system@0.1.2) (2024-11-22)
7
+
8
+ ### Bug Fixes
9
+
10
+ * Change color token of disabled days in calendar from `TextVariant` to `Disabled` ([0e87c8b](https://github.com/mollerdigital/design-system-design-system/commit/0e87c8b427555123bb6832771f2eb57f13f9fc62))
11
+
12
+ ## [0.1.1](https://github.com/mollerdigital/design-system-design-system/compare/@gnist/design-system@0.1.0...@gnist/design-system@0.1.1) (2024-11-08)
13
+
14
+ **Note:** Version bump only for package @gnist/design-system
15
+
6
16
  ## [0.1.0](https://github.com/mollerdigital/design-system-design-system/compare/@gnist/design-system@0.0.2...@gnist/design-system@0.1.0) (2024-11-08)
7
17
 
8
18
  ### ⚠ BREAKING CHANGES
@@ -97,13 +97,13 @@ const cellRecipe = recipes.recipe({
97
97
  isHoliday: { true: {} },
98
98
  isDisabled: {
99
99
  true: {
100
- color: tokens_css_js.tokens.color["text-variant"],
100
+ color: tokens_css_js.tokens.color.disabled,
101
101
  textDecoration: "line-through"
102
102
  }
103
103
  },
104
104
  isUnavailable: {
105
105
  true: {
106
- color: tokens_css_js.tokens.color["text-variant"],
106
+ color: tokens_css_js.tokens.color.disabled,
107
107
  textDecoration: "line-through"
108
108
  }
109
109
  }
@@ -95,13 +95,13 @@ const cellRecipe = recipe({
95
95
  isHoliday: { true: {} },
96
96
  isDisabled: {
97
97
  true: {
98
- color: tokens.color["text-variant"],
98
+ color: tokens.color.disabled,
99
99
  textDecoration: "line-through"
100
100
  }
101
101
  },
102
102
  isUnavailable: {
103
103
  true: {
104
- color: tokens.color["text-variant"],
104
+ color: tokens.color.disabled,
105
105
  textDecoration: "line-through"
106
106
  }
107
107
  }
package/package.json CHANGED
@@ -1,116 +1,117 @@
1
1
  {
2
- "name": "@gnist/design-system",
3
- "version": "0.1.0",
4
- "license": "UNLICENSED",
5
- "type": "module",
6
- "main": "dist/index.cjs",
7
- "types": "dist/index.d.ts",
8
- "module": "dist/index.js",
9
- "exports": {
10
- ".": {
11
- "types": "./dist/index.d.ts",
12
- "import": "./dist/index.js",
13
- "require": "./dist/index.cjs"
2
+ "name": "@gnist/design-system",
3
+ "version": "0.1.2",
4
+ "license": "UNLICENSED",
5
+ "type": "module",
6
+ "main": "dist/index.cjs",
7
+ "types": "dist/index.d.ts",
8
+ "module": "dist/index.js",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/index.d.ts",
12
+ "import": "./dist/index.js",
13
+ "require": "./dist/index.cjs"
14
+ },
15
+ "./*": {
16
+ "types": "./dist/*/index.d.ts",
17
+ "import": "./dist/*/index.js",
18
+ "require": "./dist/*/index.cjs"
19
+ },
20
+ "./*.js": {
21
+ "types": "./dist/*.d.ts",
22
+ "import": "./dist/*.js",
23
+ "require": "./dist/*.cjs"
24
+ },
25
+ "./*.json": "./dist/*.json",
26
+ "./*.css": "./dist/*.css",
27
+ "./*internal/*": null
14
28
  },
15
- "./*": {
16
- "types": "./dist/*/index.d.ts",
17
- "import": "./dist/*/index.js",
18
- "require": "./dist/*/index.cjs"
29
+ "files": [
30
+ "CHANGELOG.md",
31
+ "dist/*"
32
+ ],
33
+ "scripts": {
34
+ "optimize-icons": "svgo -r -f ./src/foundation/iconography/svg",
35
+ "make-icon-index": "tsx ./build-utils/generateIconIndex.ts ./src/foundation/iconography/svg",
36
+ "build-icons": "pnpm run optimize-icons && pnpm run make-icon-index",
37
+ "watch": "vite build --watch",
38
+ "clean": "shx rm -rf dist",
39
+ "build": "vite build",
40
+ "serve": "vite preview",
41
+ "lint": "tsc && pnpm run detect-cycles && pnpm run eslint",
42
+ "eslint": "eslint . --ext .ts,.tsx --max-warnings 0",
43
+ "detect-cycles": "pnpm madge --extensions ts,tsx ./src --circular",
44
+ "prettier:base": "prettier \"src/**/*.{ts,tsx,json,scss}\"",
45
+ "prettier": "pnpm run prettier:base --check",
46
+ "format": "pnpm run prettier:base --write",
47
+ "build-storybook": "cd docs && pnpm run build"
19
48
  },
20
- "./*.js": {
21
- "types": "./dist/*.d.ts",
22
- "import": "./dist/*.js",
23
- "require": "./dist/*.cjs"
49
+ "dependencies": {
50
+ "@formkit/auto-animate": "^0.7.0",
51
+ "@gnist/component-utils": "2.0.0",
52
+ "@gnist/themes": "^0.2.0",
53
+ "@mui/base": "^5.0.0-beta.36",
54
+ "@vanilla-extract/css": "^1.14.1",
55
+ "@vanilla-extract/css-utils": "^0.1.3",
56
+ "@vanilla-extract/dynamic": "^2.1.0",
57
+ "@vanilla-extract/recipes": "^0.5.2",
58
+ "classnames": "^2.5.1",
59
+ "fp-ts": "^2.16.7",
60
+ "immer": "^9.0.15",
61
+ "react-content-loader": "^6.2.1"
24
62
  },
25
- "./*.json": "./dist/*.json",
26
- "./*.css": "./dist/*.css",
27
- "./*internal/*": null
28
- },
29
- "files": [
30
- "CHANGELOG.md",
31
- "dist/*"
32
- ],
33
- "dependencies": {
34
- "@formkit/auto-animate": "^0.7.0",
35
- "@mui/base": "^5.0.0-beta.36",
36
- "@vanilla-extract/css": "^1.14.1",
37
- "@vanilla-extract/css-utils": "^0.1.3",
38
- "@vanilla-extract/dynamic": "^2.1.0",
39
- "@vanilla-extract/recipes": "^0.5.2",
40
- "classnames": "^2.5.1",
41
- "fp-ts": "^2.16.7",
42
- "immer": "^9.0.15",
43
- "react-content-loader": "^6.2.1",
44
- "@gnist/component-utils": "2.0.0",
45
- "@gnist/themes": "^0.1.0"
46
- },
47
- "peerDependencies": {
48
- "@types/react": "^17.0.45 || ^18.0.0",
49
- "@types/react-dom": "^17.0.0 || ^18.0.0",
50
- "react": "^17.0.0 || ^18.0.0",
51
- "react-dom": "^17.0.0 || ^18.0.0"
52
- },
53
- "devDependencies": {
54
- "@rollup/plugin-typescript": "^11.1.6",
55
- "@tsconfig/node20": "^20.1.2",
56
- "@types/node": "^20.11.16",
57
- "@types/prettier": "^2.6.1",
58
- "@types/react": "^17.0.45",
59
- "@types/react-dom": "^17.0.0",
60
- "@types/semver": "^7.3.8",
61
- "@typescript-eslint/eslint-plugin": "^6.19.1",
62
- "@typescript-eslint/parser": "^6.19.1",
63
- "@vitejs/plugin-react-swc": "^3.7.0",
64
- "eslint": "^8.56.0",
65
- "eslint-config-prettier": "^8.5.0",
66
- "eslint-import-resolver-typescript": "^3.6.1",
67
- "eslint-plugin-import-x": "^0.4.4",
68
- "eslint-plugin-jsx-a11y": "^6.8.0",
69
- "eslint-plugin-react": "^7.33.2",
70
- "eslint-plugin-react-hooks": "^4.6.0",
71
- "eslint-plugin-storybook": "^0.6.15",
72
- "globby": "^13.1.2",
73
- "madge": "^6.1.0",
74
- "prettier": "^2.7.1",
75
- "react": "^17.0.0",
76
- "react-dom": "^17.0.0",
77
- "rollup-plugin-copy": "^3.4.0",
78
- "semver": "^7.5.2",
79
- "svgo": "^2.8.0",
80
- "svgo-autocrop": "^1.1.1",
81
- "ts-node": "^10.7.0",
82
- "tslib": "^2.3.1",
83
- "tsx": "^4.7.1",
84
- "typescript": "^5.3.3",
85
- "typescript-transform-paths": "^3.4.6",
86
- "vite": "^5.3.2",
87
- "vite-plugin-svgr": "^4.2.0",
88
- "vite-tsconfig-paths": "^4.3.0",
89
- "@gnist/ts-config": "0.0.0",
90
- "@gnist/eslint-config": "0.0.0"
91
- },
92
- "peerDependenciesMeta": {
93
- "@types/react": {
94
- "optional": true
63
+ "peerDependencies": {
64
+ "@types/react": "^17.0.45 || ^18.0.0",
65
+ "@types/react-dom": "^17.0.0 || ^18.0.0",
66
+ "react": "^17.0.0 || ^18.0.0",
67
+ "react-dom": "^17.0.0 || ^18.0.0"
95
68
  },
96
- "@types/react-dom": {
97
- "optional": true
98
- }
99
- },
100
- "scripts": {
101
- "optimize-icons": "svgo -r -f ./src/foundation/iconography/svg",
102
- "make-icon-index": "tsx ./build-utils/generateIconIndex.ts ./src/foundation/iconography/svg",
103
- "build-icons": "pnpm run optimize-icons && pnpm run make-icon-index",
104
- "watch": "vite build --watch",
105
- "clean": "shx rm -rf dist",
106
- "build": "vite build",
107
- "serve": "vite preview",
108
- "lint": "tsc && pnpm run detect-cycles && pnpm run eslint",
109
- "eslint": "eslint . --ext .ts,.tsx --max-warnings 0",
110
- "detect-cycles": "pnpm madge --extensions ts,tsx ./src --circular",
111
- "prettier:base": "prettier \"src/**/*.{ts,tsx,json,scss}\"",
112
- "prettier": "pnpm run prettier:base --check",
113
- "format": "pnpm run prettier:base --write",
114
- "build-storybook": "cd docs && pnpm run build"
115
- }
116
- }
69
+ "devDependencies": {
70
+ "@gnist/eslint-config": "0.0.0",
71
+ "@gnist/ts-config": "0.0.0",
72
+ "@rollup/plugin-typescript": "^11.1.6",
73
+ "@tsconfig/node20": "^20.1.2",
74
+ "@types/node": "^20.11.16",
75
+ "@types/prettier": "^2.6.1",
76
+ "@types/react": "^17.0.45",
77
+ "@types/react-dom": "^17.0.0",
78
+ "@types/semver": "^7.3.8",
79
+ "@typescript-eslint/eslint-plugin": "^6.19.1",
80
+ "@typescript-eslint/parser": "^6.19.1",
81
+ "@vitejs/plugin-react-swc": "^3.7.0",
82
+ "eslint": "^8.56.0",
83
+ "eslint-config-prettier": "^8.5.0",
84
+ "eslint-import-resolver-typescript": "^3.6.1",
85
+ "eslint-plugin-import-x": "^0.4.4",
86
+ "eslint-plugin-jsx-a11y": "^6.8.0",
87
+ "eslint-plugin-react": "^7.33.2",
88
+ "eslint-plugin-react-hooks": "^4.6.0",
89
+ "eslint-plugin-storybook": "^0.6.15",
90
+ "globby": "^13.1.2",
91
+ "madge": "^6.1.0",
92
+ "prettier": "^2.7.1",
93
+ "react": "^17.0.0",
94
+ "react-dom": "^17.0.0",
95
+ "rollup-plugin-copy": "^3.4.0",
96
+ "semver": "^7.5.2",
97
+ "svgo": "^2.8.0",
98
+ "svgo-autocrop": "^1.1.1",
99
+ "ts-node": "^10.7.0",
100
+ "tslib": "^2.3.1",
101
+ "tsx": "^4.7.1",
102
+ "typescript": "^5.3.3",
103
+ "typescript-transform-paths": "^3.4.6",
104
+ "vite": "^5.3.2",
105
+ "vite-plugin-svgr": "^4.2.0",
106
+ "vite-tsconfig-paths": "^4.3.0"
107
+ },
108
+ "peerDependenciesMeta": {
109
+ "@types/react": {
110
+ "optional": true
111
+ },
112
+ "@types/react-dom": {
113
+ "optional": true
114
+ }
115
+ },
116
+ "gitHead": "6a1493d16816a1b15fa01d3f0074b536d869a8e1"
117
+ }