@solid-design-system/components 1.3.13 → 1.5.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.
- package/dist/components/es/accordion-group.js +1 -0
- package/dist/components/es/accordion.js +1 -0
- package/dist/components/es/brandshape.js +1 -0
- package/dist/components/es/button.js +2 -121
- package/dist/components/es/divider.js +1 -0
- package/dist/components/es/icon.js +3 -3
- package/dist/components/es/if-defined.js +2 -7
- package/dist/components/es/link.js +1 -1
- package/dist/components/es/query.js +6 -0
- package/dist/components/es/slot.js +1 -0
- package/dist/components/es/solid-components.js +1 -1
- package/dist/components/es/solid-components2.js +1 -0
- package/dist/components/es/solid-element.js +1 -1
- package/dist/components/es/spinner.js +1 -1
- package/dist/components/es/teaser.js +1 -0
- package/dist/components/umd/solid-components.js +21 -140
- package/dist/custom-elements.json +1 -1
- package/dist/package/components/accordion/accordion.d.ts +23 -0
- package/dist/package/components/accordion/accordion.js +152 -0
- package/dist/package/components/accordion-group/accordion-group.d.ts +16 -0
- package/dist/package/components/accordion-group/accordion-group.js +63 -0
- package/dist/package/components/brandshape/brandshape.d.ts +26 -0
- package/dist/package/components/brandshape/brandshape.js +115 -0
- package/dist/package/components/button/button.d.ts +1 -1
- package/dist/package/components/button/button.js +8 -127
- package/dist/package/components/divider/divider.d.ts +13 -0
- package/dist/package/components/divider/divider.js +50 -0
- package/dist/package/components/icon/icon.d.ts +1 -1
- package/dist/package/components/icon/icon.js +1 -1
- package/dist/package/components/icon/library.js +18 -0
- package/dist/package/components/include/include.d.ts +1 -1
- package/dist/package/components/link/link.d.ts +1 -1
- package/dist/package/components/spinner/spinner.d.ts +1 -1
- package/dist/package/components/spinner/spinner.js +1 -1
- package/dist/package/components/teaser/teaser.d.ts +17 -0
- package/dist/package/components/teaser/teaser.js +104 -0
- package/dist/package/internal/animate.d.ts +10 -0
- package/dist/package/internal/animate.js +41 -0
- package/dist/package/internal/event.d.ts +1 -0
- package/dist/package/internal/event.js +14 -0
- package/dist/package/solid-components.d.ts +6 -0
- package/dist/package/solid-components.js +23 -10
- package/dist/package/styles/tailwind.css.js +1 -1
- package/dist/package/utilities/animation-registry.d.ts +14 -0
- package/dist/package/utilities/animation-registry.js +35 -0
- package/dist/versioned-components/es/accordion-group.js +1 -0
- package/dist/versioned-components/es/accordion.js +1 -0
- package/dist/versioned-components/es/brandshape.js +1 -0
- package/dist/versioned-components/es/button.js +2 -121
- package/dist/versioned-components/es/divider.js +1 -0
- package/dist/versioned-components/es/icon.js +3 -3
- package/dist/versioned-components/es/if-defined.js +2 -7
- package/dist/versioned-components/es/include.js +1 -1
- package/dist/versioned-components/es/link.js +1 -1
- package/dist/versioned-components/es/query.js +6 -0
- package/dist/versioned-components/es/slot.js +1 -0
- package/dist/versioned-components/es/solid-components.js +1 -1
- package/dist/versioned-components/es/solid-components2.js +1 -0
- package/dist/versioned-components/es/solid-element.js +1 -1
- package/dist/versioned-components/es/spinner.js +1 -1
- package/dist/versioned-components/es/teaser.js +1 -0
- package/dist/versioned-package/components/accordion/accordion.d.ts +23 -0
- package/dist/versioned-package/components/accordion/accordion.js +152 -0
- package/dist/versioned-package/components/accordion-group/accordion-group.d.ts +16 -0
- package/dist/versioned-package/components/accordion-group/accordion-group.js +63 -0
- package/dist/versioned-package/components/brandshape/brandshape.d.ts +26 -0
- package/dist/versioned-package/components/brandshape/brandshape.js +115 -0
- package/dist/versioned-package/components/button/button.d.ts +2 -2
- package/dist/versioned-package/components/button/button.js +10 -129
- package/dist/versioned-package/components/divider/divider.d.ts +13 -0
- package/dist/versioned-package/components/divider/divider.js +50 -0
- package/dist/versioned-package/components/icon/icon.d.ts +2 -2
- package/dist/versioned-package/components/icon/icon.js +2 -2
- package/dist/versioned-package/components/icon/library.js +18 -0
- package/dist/versioned-package/components/include/include.d.ts +2 -2
- package/dist/versioned-package/components/include/include.js +1 -1
- package/dist/versioned-package/components/link/link.d.ts +2 -2
- package/dist/versioned-package/components/link/link.js +2 -2
- package/dist/versioned-package/components/spinner/spinner.d.ts +2 -2
- package/dist/versioned-package/components/spinner/spinner.js +2 -2
- package/dist/versioned-package/components/teaser/teaser.d.ts +17 -0
- package/dist/versioned-package/components/teaser/teaser.js +104 -0
- package/dist/versioned-package/internal/animate.d.ts +10 -0
- package/dist/versioned-package/internal/animate.js +41 -0
- package/dist/versioned-package/internal/event.d.ts +1 -0
- package/dist/versioned-package/internal/event.js +14 -0
- package/dist/versioned-package/internal/form.js +1 -1
- package/dist/versioned-package/solid-components.d.ts +6 -0
- package/dist/versioned-package/solid-components.js +23 -10
- package/dist/versioned-package/styles/tailwind.css.js +1 -1
- package/dist/versioned-package/utilities/animation-registry.d.ts +14 -0
- package/dist/versioned-package/utilities/animation-registry.js +35 -0
- package/dist/vscode.html-custom-data.json +259 -5
- package/dist/web-types.json +624 -6
- package/package.json +22 -27
- package/dist/components/es/library.js +0 -1
- package/dist/components/es/library.system.js +0 -1
- package/dist/versioned-components/es/library.js +0 -1
- package/dist/versioned-components/es/library.system.js +0 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solid-design-system/components",
|
|
3
3
|
"description": "Solid Design System: Components",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.5.0",
|
|
5
5
|
"homepage": "https://solid-design-system.fe.union-investment.de/x.x.x/storybook/",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Union Investment"
|
|
@@ -48,25 +48,23 @@
|
|
|
48
48
|
"build.cdn": "pnpm build.components && pnpm build.storybook && node ./scripts/node-version-components.cjs",
|
|
49
49
|
"build.npm": "pnpm build.components && pnpm build.package && node ./scripts/node-version-components.cjs",
|
|
50
50
|
"build.components": "vite build --config vite.config.js",
|
|
51
|
-
"build.package": "vite build --config vite.config.package.js",
|
|
51
|
+
"build.package": "pnpm build.package/create-index && vite build --config vite.config.package.js && pnpm build.package/remove-index",
|
|
52
|
+
"build.package/create-index": "node scripts/node-generate-package-index.cjs && echo '✅ Index created'",
|
|
53
|
+
"build.package/remove-index": "node -e \"require('fs').unlinkSync('src/solid-components.package.ts')\" && echo '✅ Index removed'",
|
|
52
54
|
"build.storybook": "storybook build --output-dir dist/storybook && cp dist/custom-elements.json dist/storybook/custom-elements.json",
|
|
53
55
|
"build.chromatic": "pnpm build.storybook && pnpm ci.optimize-chromatic",
|
|
54
56
|
"preview": "vite preview",
|
|
55
|
-
"
|
|
56
|
-
"verify": "pnpm format.verify > /dev/null && pnpm lint.verify && pnpm ts.verify && pnpm build && echo '✅ Build verified' && pnpm ci.optimize-chromatic && echo '✅ Chromatic optimization verified' && pnpm test && echo '✅ Test verified'",
|
|
57
|
-
"format.fix": "prettier --write --loglevel warn .",
|
|
58
|
-
"format.verify": "prettier --check --loglevel warn . && echo '✅ Formatting verified'",
|
|
59
|
-
"lint.fix": "eslint src --max-warnings 0 --fix",
|
|
60
|
-
"lint.verify": "eslint src --max-warnings 0 && echo '✅ Linting verified'",
|
|
57
|
+
"verify": "pnpm ts.verify && pnpm build && echo '✅ Build verified' && pnpm ci.optimize-chromatic && echo '✅ Chromatic optimization verified' && pnpm test.verify && echo '✅ Test verified'",
|
|
61
58
|
"ts.verify": "tsc --noEmit --project ./tsconfig.json && echo '✅ TypeScript verified'",
|
|
62
59
|
"plop": "plop --plopfile scripts/plop/plopfile.js",
|
|
63
60
|
"ci.optimize-chromatic": "node ./scripts/storybook/optimize-chromatic.cjs",
|
|
64
|
-
"test": "web-test-runner --group default",
|
|
61
|
+
"test": "pnpm build.components && web-test-runner --group default",
|
|
62
|
+
"test.verify": "web-test-runner --group default",
|
|
65
63
|
"test.component": "web-test-runner -- --watch --group",
|
|
66
64
|
"test.watch": "web-test-runner --watch --group default",
|
|
67
65
|
"storybook": "storybook dev -p 6999",
|
|
68
66
|
"chromatic": "npx chromatic -b build.chromatic",
|
|
69
|
-
"postversion": "pnpm build.npm",
|
|
67
|
+
"postversion": "pnpm build.npm && node scripts/node-write-sizes.mjs",
|
|
70
68
|
"release": "semantic-release --tagFormat 'components/${version}' -e semantic-release-monorepo",
|
|
71
69
|
"release.dry": "semantic-release -d --tagFormat 'components/${version}' -e semantic-release-monorepo"
|
|
72
70
|
},
|
|
@@ -82,22 +80,24 @@
|
|
|
82
80
|
"@mariohamann/tailwindcss-var": "github:mariohamann/tailwindcss-var",
|
|
83
81
|
"@mariohamann/wc-storybook-helpers": "^1.3.0",
|
|
84
82
|
"@open-wc/testing": "^3.2.0",
|
|
83
|
+
"@open-wc/testing-helpers": "^2.3.0",
|
|
85
84
|
"@remcovaes/web-test-runner-vite-plugin": "^1.1.5",
|
|
86
85
|
"@rollup/plugin-node-resolve": "^15.1.0",
|
|
87
86
|
"@semantic-release/changelog": "^6.0.3",
|
|
88
87
|
"@semantic-release/git": "^10.0.1",
|
|
89
88
|
"@storybook/addon-essentials": "^7.0.20",
|
|
89
|
+
"@storybook/addon-interactions": "^7.0.26",
|
|
90
90
|
"@storybook/addon-links": "^7.0.20",
|
|
91
91
|
"@storybook/addon-mdx-gfm": "^7.0.20",
|
|
92
92
|
"@storybook/addons": "^7.0.20",
|
|
93
93
|
"@storybook/blocks": "^7.0.20",
|
|
94
|
+
"@storybook/jest": "^0.1.0",
|
|
95
|
+
"@storybook/testing-library": "^0.2.0",
|
|
94
96
|
"@storybook/theming": "^7.0.20",
|
|
95
97
|
"@storybook/web-components": "^7.0.20",
|
|
96
98
|
"@storybook/web-components-vite": "^7.0.20",
|
|
97
99
|
"@types/mocha": "^10.0.1",
|
|
98
100
|
"@types/sinon": "^10.0.15",
|
|
99
|
-
"@typescript-eslint/eslint-plugin": "^5.59.9",
|
|
100
|
-
"@typescript-eslint/parser": "^5.59.9",
|
|
101
101
|
"@web/test-runner": "^0.16.1",
|
|
102
102
|
"@web/test-runner-commands": "^0.7.0",
|
|
103
103
|
"@web/test-runner-playwright": "^0.10.1",
|
|
@@ -106,30 +106,19 @@
|
|
|
106
106
|
"chromatic": "^6.18.2",
|
|
107
107
|
"comment-parser": "^1.3.1",
|
|
108
108
|
"cssnano": "^6.0.1",
|
|
109
|
-
"eslint": "^8.42.0",
|
|
110
|
-
"eslint-config-prettier": "^8.8.0",
|
|
111
|
-
"eslint-plugin-chai-expect": "^3.0.0",
|
|
112
|
-
"eslint-plugin-chai-friendly": "^0.7.2",
|
|
113
|
-
"eslint-plugin-import": "^2.27.5",
|
|
114
|
-
"eslint-plugin-lit": "^1.8.3",
|
|
115
|
-
"eslint-plugin-lit-a11y": "^2.4.1",
|
|
116
|
-
"eslint-plugin-sort-imports-es6-autofix": "^0.6.0",
|
|
117
|
-
"eslint-plugin-storybook": "^0.6.12",
|
|
118
|
-
"eslint-plugin-wc": "^1.5.0",
|
|
119
109
|
"globby": "^13.1.4",
|
|
120
110
|
"gzip-size": "^7.0.0",
|
|
121
111
|
"html-format": "^1.1.2",
|
|
122
|
-
"husky": "^8.0.3",
|
|
123
112
|
"jsonata": "^2.0.3",
|
|
124
113
|
"lint-staged": "^13.2.2",
|
|
125
114
|
"lit-html": "^2.7.4",
|
|
115
|
+
"minify-html-literals": "^1.3.5",
|
|
126
116
|
"normalize.css": "^8.0.1",
|
|
127
117
|
"plop": "^3.1.2",
|
|
128
118
|
"postcss": "^8.4.24",
|
|
129
119
|
"prettier": "^2.8.8",
|
|
130
120
|
"react": "^18.2.0",
|
|
131
121
|
"react-dom": "^18.2.0",
|
|
132
|
-
"rollup-plugin-minify-html-literals": "^1.2.6",
|
|
133
122
|
"rollup-plugin-summary": "^2.0.0",
|
|
134
123
|
"semantic-release": "^19.0.5",
|
|
135
124
|
"semantic-release-monorepo": "^7.0.5",
|
|
@@ -154,7 +143,7 @@
|
|
|
154
143
|
[
|
|
155
144
|
"@semantic-release/changelog",
|
|
156
145
|
{
|
|
157
|
-
"changelogFile": "src/docs/General/
|
|
146
|
+
"changelogFile": "src/docs/General/Changelog.mdx"
|
|
158
147
|
}
|
|
159
148
|
],
|
|
160
149
|
[
|
|
@@ -168,7 +157,7 @@
|
|
|
168
157
|
{
|
|
169
158
|
"message": "chore(release/components): ${nextRelease.version} [skip actions]\n\n${nextRelease.notes}",
|
|
170
159
|
"assets": [
|
|
171
|
-
"src/docs/General/
|
|
160
|
+
"src/docs/General/Changelog.mdx",
|
|
172
161
|
"package.json"
|
|
173
162
|
]
|
|
174
163
|
}
|
|
@@ -181,5 +170,11 @@
|
|
|
181
170
|
]
|
|
182
171
|
]
|
|
183
172
|
},
|
|
184
|
-
"readme": "README.md"
|
|
173
|
+
"readme": "README.md",
|
|
174
|
+
"meta": {
|
|
175
|
+
"bundleSizeInKb": {
|
|
176
|
+
"uncompressed": 76,
|
|
177
|
+
"gzip": 21
|
|
178
|
+
}
|
|
179
|
+
}
|
|
185
180
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import r from"./library.system.js";let n=[r],t=[];function e(r){t.push(r)}function o(r){t=t.filter((n=>n!==r))}function a(r){return n.find((n=>n.name===r))}function i(r,e){s(r),n.push({name:r,resolver:e.resolver,mutator:e.mutator}),t.forEach((n=>{n.library===r&&n.setIcon()}))}function s(r){n=n.filter((n=>n.name!==r))}export{a as getIconLibrary,i as registerIconLibrary,s as unregisterIconLibrary,o as unwatchIcon,e as watchIcon};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const n={"chevron-down":'\n <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M20.257 6.333l-8.257 9.173-8.257-9.173c-0.181-0.181-0.431-0.292-0.707-0.292-0.552 0-1 0.448-1 1 0 0.238 0.083 0.456 0.222 0.628l-0.001-0.002 9 10c0.184 0.204 0.449 0.331 0.743 0.331s0.56-0.127 0.743-0.33l0.001-0.001 9-10c0.137-0.17 0.22-0.388 0.22-0.626 0-0.552-0.448-1-1-1-0.276 0-0.526 0.112-0.707 0.293v0z"></path>\n </svg>\n ',"chevron-up":'\n <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M12.743 6.333c-0.188-0.195-0.452-0.316-0.743-0.316s-0.555 0.121-0.743 0.315l-0 0-9 10c-0.137 0.17-0.22 0.388-0.22 0.626 0 0.552 0.448 1 1 1 0.276 0 0.526-0.112 0.707-0.293v0l8.257-9.173 8.257 9.173c0.181 0.181 0.431 0.292 0.707 0.292 0.552 0 1-0.448 1-1 0-0.238-0.083-0.456-0.222-0.628l0.001 0.002z"></path>\n </svg>\n '},s={name:"system",resolver:s=>s in n?`data:image/svg+xml,${encodeURIComponent(n[s])}`:"",mutator:n=>n.setAttribute("fill","currentColor")};export{s as default,n as icons};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import r from"./library.system.js";let n=[r],t=[];function e(r){t.push(r)}function o(r){t=t.filter((n=>n!==r))}function a(r){return n.find((n=>n.name===r))}function i(r,e){s(r),n.push({name:r,resolver:e.resolver,mutator:e.mutator}),t.forEach((n=>{n.library===r&&n.setIcon()}))}function s(r){n=n.filter((n=>n.name!==r))}export{a as getIconLibrary,i as registerIconLibrary,s as unregisterIconLibrary,o as unwatchIcon,e as watchIcon};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const n={"chevron-down":'\n <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M20.257 6.333l-8.257 9.173-8.257-9.173c-0.181-0.181-0.431-0.292-0.707-0.292-0.552 0-1 0.448-1 1 0 0.238 0.083 0.456 0.222 0.628l-0.001-0.002 9 10c0.184 0.204 0.449 0.331 0.743 0.331s0.56-0.127 0.743-0.33l0.001-0.001 9-10c0.137-0.17 0.22-0.388 0.22-0.626 0-0.552-0.448-1-1-1-0.276 0-0.526 0.112-0.707 0.293v0z"></path>\n </svg>\n ',"chevron-up":'\n <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M12.743 6.333c-0.188-0.195-0.452-0.316-0.743-0.316s-0.555 0.121-0.743 0.315l-0 0-9 10c-0.137 0.17-0.22 0.388-0.22 0.626 0 0.552 0.448 1 1 1 0.276 0 0.526-0.112 0.707-0.293v0l8.257-9.173 8.257 9.173c0.181 0.181 0.431 0.292 0.707 0.292 0.552 0 1-0.448 1-1 0-0.238-0.083-0.456-0.222-0.628l0.001 0.002z"></path>\n </svg>\n '},s={name:"system",resolver:s=>s in n?`data:image/svg+xml,${encodeURIComponent(n[s])}`:"",mutator:n=>n.setAttribute("fill","currentColor")};export{s as default,n as icons};
|