@kickstartds/ds-agency-premium 1.2.11 → 1.2.12

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.
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 29 Feb 2024 16:41:44 GMT
3
+ * Generated on Thu, 29 Feb 2024 18:30:25 GMT
4
4
  */
5
5
 
6
6
  :root, [ks-theme] {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 29 Feb 2024 16:41:51 GMT
3
+ * Generated on Thu, 29 Feb 2024 18:30:34 GMT
4
4
  */
5
5
 
6
6
  :root, [ks-theme] {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 29 Feb 2024 16:41:46 GMT
3
+ * Generated on Thu, 29 Feb 2024 18:30:28 GMT
4
4
  */
5
5
 
6
6
  :root, [ks-theme] {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 29 Feb 2024 16:41:48 GMT
3
+ * Generated on Thu, 29 Feb 2024 18:30:31 GMT
4
4
  */
5
5
 
6
6
  :root, [ks-theme] {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 29 Feb 2024 16:41:41 GMT
3
+ * Generated on Thu, 29 Feb 2024 18:30:22 GMT
4
4
  */
5
5
 
6
6
  :root, [ks-theme] {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 29 Feb 2024 16:41:41 GMT
3
+ * Generated on Thu, 29 Feb 2024 18:30:22 GMT
4
4
  */
5
5
 
6
6
  :root, [ks-theme] {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 29 Feb 2024 16:41:42 GMT
3
+ * Generated on Thu, 29 Feb 2024 18:30:22 GMT
4
4
  */
5
5
 
6
6
  export const KsBackgroundColorAccentBase = "#100e36";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kickstartds/ds-agency-premium",
3
- "version": "1.2.11",
3
+ "version": "1.2.12",
4
4
  "description": "",
5
5
  "homepage": "https://github.com/kickstartDS/ds-agency-premium#readme",
6
6
  "bugs": {
@@ -39,7 +39,7 @@
39
39
  ],
40
40
  "scripts": {
41
41
  "build-storybook": "yarn build-tokens && yarn schema && yarn token && storybook build",
42
- "postbuild-storybook": "yarn playroom:snippets && yarn playroom:build",
42
+ "postbuild-storybook": "yarn presets && yarn playroom:build && mkdir -p dist/components && cp snippets.json dist/components/presets.json",
43
43
  "build-tokens": "kickstartDS tokens compile && yarn build-tokens-business && yarn build-tokens-ngo && yarn build-tokens-telekom && yarn build-tokens-google && yarn && yarn copyTokensCss",
44
44
  "build-tokens-business": "kickstartDS tokens compile --token-dictionary-path src/token-business/dictionary --sd-config-path sd.config-business.cjs",
45
45
  "build-tokens-ngo": "kickstartDS tokens compile --token-dictionary-path src/token-ngo/dictionary --sd-config-path sd.config-ngo.cjs",
@@ -49,9 +49,9 @@
49
49
  "copyTokensCss": "cp src/token/tokens.css static/tokens.css && cp src/token-business/tokens.css static/tokens-business.css && cp src/token-google/tokens.css static/tokens-google.css && cp src/token-telekom/tokens.css static/tokens-telekom.css && cp src/token-ngo/tokens.css static/tokens-ngo.css",
50
50
  "init-tokens": "kickstartDS tokens init",
51
51
  "playroom": "run-p watch:* playroom:start",
52
- "playroom:snippets": "rimraf tmp && node scripts/generatePlayroomSnippets.js",
53
52
  "playroom:start": "playroom start",
54
53
  "playroom:build": "playroom build",
54
+ "presets": "vitest run scripts/generatePresets.test.ts",
55
55
  "husky:precommit": "yarn schema && rollup -c",
56
56
  "prepare": "patch-package && husky install",
57
57
  "prepublishOnly": "rm -rf dist && yarn build-tokens && yarn schema && rollup -c && yarn build-storybook",
@@ -61,6 +61,10 @@
61
61
  "schema:layer-types": "kickstartDS schema layer",
62
62
  "start": "run-p watch:* storybook",
63
63
  "storybook": "storybook dev -p 6006",
64
+ "create-component-previews": "yarn test && rimraf static/img/screenshots && mkdir -p static/img/screenshots && cp __snapshots__/*.png static/img/screenshots",
65
+ "test": "rimraf __snapshots__ && run-p -r test:*",
66
+ "test:server": "npx http-server storybook-static --port 6006 --silent",
67
+ "test:suite": "npx wait-on http://127.0.0.1:6006 && test-storybook",
64
68
  "token": "node scripts/customPropertyExtract.js",
65
69
  "watch:schema": "yarn schema && chokidar \"src/**/*.schema.json\" -c \"yarn schema\"",
66
70
  "watch:token": "yarn token && chokidar \"src/**/*-tokens.scss\" -c \"yarn token {path}\"",
@@ -72,21 +76,17 @@
72
76
  "dependencies": {
73
77
  "@bedrock-layout/primitives": "^3.0.23",
74
78
  "@bedrock-layout/spacing-constants": "^3.2.5",
75
- "@kickstartds/base": "2.3.0-beta.1",
76
- "@kickstartds/blog": "2.3.0-beta.1",
77
- "@kickstartds/content": "3.0.0-next.7",
78
- "@kickstartds/core": "3.0.0-beta.0",
79
- "@kickstartds/form": "2.3.0-beta.1",
80
79
  "classnames": "^2.3.2",
81
- "lazysizes": "^5.3.2",
82
- "react": "18.2.0",
83
- "react-dom": "18.2.0",
84
80
  "react-markdown": "^8.0.7"
85
81
  },
86
82
  "devDependencies": {
87
83
  "@auto-it/npm": "^11.0.1",
88
84
  "@auto-it/released": "^11.0.1",
89
- "@babel/register": "^7.23.7",
85
+ "@kickstartds/base": "2.3.0-beta.1",
86
+ "@kickstartds/blog": "2.3.0-beta.1",
87
+ "@kickstartds/content": "3.0.0-next.7",
88
+ "@kickstartds/core": "3.0.0-beta.0",
89
+ "@kickstartds/form": "2.3.0-beta.1",
90
90
  "@kickstartds/storybook-addon-component-tokens": "1.0.0",
91
91
  "@kickstartds/storybook-addon-html": "^0.0.2",
92
92
  "@kickstartds/storybook-addon-jsonschema": "^2.0.1",
@@ -99,6 +99,10 @@
99
99
  "@storybook/core-webpack": "^7.6.7",
100
100
  "@storybook/react": "^7.6.7",
101
101
  "@storybook/react-vite": "^7.6.7",
102
+ "@storybook/test-runner": "^0.16.0",
103
+ "@testing-library/react": "^14.1.2",
104
+ "@types/jest": "^29.5.11",
105
+ "@types/jest-image-snapshot": "^6.4.0",
102
106
  "@types/react": "^18.2.21",
103
107
  "auto": "^11.0.1",
104
108
  "change-case": "^4.1.2",
@@ -109,14 +113,18 @@
109
113
  "deepmerge": "^4.3.1",
110
114
  "fast-glob": "^3.3.1",
111
115
  "fs-extra": "^11.1.1",
112
- "global-jsdom": "^9.2.0",
116
+ "happy-dom": "^13.3.1",
113
117
  "husky": "^8.0.3",
118
+ "jest-image-snapshot": "^6.4.0",
114
119
  "kickstartds": "^3.0.0-next.7",
120
+ "lazysizes": "^5.3.2",
115
121
  "npm-run-all": "^4.1.5",
116
122
  "patch-package": "^8.0.0",
117
123
  "playroom": "^0.34.1",
118
124
  "postcss": "^8.4.29",
119
125
  "postcss-url": "^10.1.3",
126
+ "react": "18.2.0",
127
+ "react-dom": "18.2.0",
120
128
  "rollup": "^3.28.1",
121
129
  "rollup-plugin-copy": "^3.4.0",
122
130
  "rollup-plugin-node-externals": "^6.1.1",
@@ -127,7 +135,16 @@
127
135
  "storybook-addon-playroom": "^5.0.0",
128
136
  "storybook-design-token": "3.0.0-beta.3",
129
137
  "style-loader": "^3.3.3",
130
- "typescript": "^5.2.2"
138
+ "typescript": "^5.2.2",
139
+ "vitest": "^1.2.1"
140
+ },
141
+ "peerDependencies": {
142
+ "@kickstartds/base": "2.3.0-beta.0",
143
+ "@kickstartds/blog": "2.3.0-beta.0",
144
+ "@kickstartds/core": "3.0.0-beta.0",
145
+ "@kickstartds/form": "2.3.0-beta.0",
146
+ "react": "^17 || ^18",
147
+ "react-dom": "^17 || ^18"
131
148
  },
132
149
  "publishConfig": {
133
150
  "access": "public",