diff --git a/output/angular/package.json b/output/angular/package.json index 24313c5be28..889219a08bd 100644 --- a/output/angular/package.json +++ b/output/angular/package.json @@ -17,9 +17,9 @@ }, "devDependencies": { "@angular-devkit/build-angular": "17.3.3", - "@angular/common": "17.3.3", + "@angular/common": "17.3.4", "ng-packagr": "17.3.0", - "typescript": "^5.4.4" + "typescript": "^5.4.5" }, "publishConfig": { "registry": "https://registry.npmjs.org/", diff --git a/output/vue/vue3/package.json b/output/vue/vue3/package.json index 4219a8384d6..4afc8c3ae13 100644 --- a/output/vue/vue3/package.json +++ b/output/vue/vue3/package.json @@ -44,9 +44,9 @@ "@playwright/experimental-ct-vue": "1.42.1", "@vitejs/plugin-vue": "^5.0.4", "sass": "^1.74.1", - "typescript": "^5.4.4", + "typescript": "^5.4.5", "vite": "^5.2.8", - "vue-tsc": "^2.0.11" + "vue-tsc": "^2.0.12" }, "publishConfig": { "registry": "https://registry.npmjs.org/", diff --git a/package-lock.json b/package-lock.json index 38ad814f06e..a4cb94ef84b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -47,7 +47,7 @@ "stylelint-config-sass-guidelines": "9.0.1", "stylelint-use-logical": "^2.1.2", "tslib": "^2.6.2", - "typescript": "^5.4.4", + "typescript": "^5.4.5", "validate-branch-name": "^1.3.0", "xo": "^0.58.0" } @@ -1331,9 +1331,9 @@ } }, "node_modules/@angular/animations": { - "version": "17.3.3", - "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-17.3.3.tgz", - "integrity": "sha512-poLW3FHe5wkxmTIsQ3em2vq4obgQHyZJz6biF+4hCqQSNMbMBS0e5ZycAiJLkUD/WLc88lQZ20muRO7qjVuMLA==", + "version": "17.3.4", + "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-17.3.4.tgz", + "integrity": "sha512-2nBgXRdTSVPZMueV6ZJjajDRucwJBLxwiVhGafk/nI5MJF0Yss/Jfp2Kfzk5Xw2AqGhz0rd00IyNNUQIzO2mlw==", "dependencies": { "tslib": "^2.3.0" }, @@ -1341,7 +1341,7 @@ "node": "^18.13.0 || >=20.9.0" }, "peerDependencies": { - "@angular/core": "17.3.3" + "@angular/core": "17.3.4" } }, "node_modules/@angular/cli": { @@ -1414,9 +1414,9 @@ } }, "node_modules/@angular/common": { - "version": "17.3.3", - "resolved": "https://registry.npmjs.org/@angular/common/-/common-17.3.3.tgz", - "integrity": "sha512-GwlKetNpfWKiG2j4S6bYTi6PA2iT4+eln7o8owo44xZWdQnWQjfxnH39vQuCyhi6OOQL1dozmae+fVXgQsV6jQ==", + "version": "17.3.4", + "resolved": "https://registry.npmjs.org/@angular/common/-/common-17.3.4.tgz", + "integrity": "sha512-rEsmtwUMJaNvaimh9hwaHdDLXaOIrjEnYdhmJUvDaKPQaFfSbH3CGGVz9brUyzVJyiWJYkYM0ssxavczeiEe8g==", "dependencies": { "tslib": "^2.3.0" }, @@ -1424,14 +1424,14 @@ "node": "^18.13.0 || >=20.9.0" }, "peerDependencies": { - "@angular/core": "17.3.3", + "@angular/core": "17.3.4", "rxjs": "^6.5.3 || ^7.4.0" } }, "node_modules/@angular/compiler": { - "version": "17.3.3", - "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-17.3.3.tgz", - "integrity": "sha512-ZNMRfagMxMjk1KW5H3ssCg5QL0J6ZW1JAZ1mrTXixqS7gbdwl60bTGE+EfuEwbjvovEYaj4l9cga47eMaxZTbQ==", + "version": "17.3.4", + "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-17.3.4.tgz", + "integrity": "sha512-YrDClIzgj6nQwiYHrfV6AkT1C5LCDgJh+LICus/2EY1w80j1Qf48Zh4asictReePdVE2Tarq6dnpDh4RW6LenQ==", "dependencies": { "tslib": "^2.3.0" }, @@ -1439,7 +1439,7 @@ "node": "^18.13.0 || >=20.9.0" }, "peerDependencies": { - "@angular/core": "17.3.3" + "@angular/core": "17.3.4" }, "peerDependenciesMeta": { "@angular/core": { @@ -1448,9 +1448,9 @@ } }, "node_modules/@angular/compiler-cli": { - "version": "17.3.3", - "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-17.3.3.tgz", - "integrity": "sha512-vM0lqwuXQZ912HbLnIuvUblvIz2WEUsU7a5Z2ieNey6famH4zxPH12vCbVwXgicB6GLHorhOfcWC5443wD2mJw==", + "version": "17.3.4", + "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-17.3.4.tgz", + "integrity": "sha512-TVWjpZSI/GIXTYsmVgEKYjBckcW8Aj62DcxLNehRFR+c7UB95OY3ZFjU8U4jL0XvWPgTkkVWQVq+P6N4KCBsyw==", "dev": true, "dependencies": { "@babel/core": "7.23.9", @@ -1471,14 +1471,14 @@ "node": "^18.13.0 || >=20.9.0" }, "peerDependencies": { - "@angular/compiler": "17.3.3", + "@angular/compiler": "17.3.4", "typescript": ">=5.2 <5.5" } }, "node_modules/@angular/core": { - "version": "17.3.3", - "resolved": "https://registry.npmjs.org/@angular/core/-/core-17.3.3.tgz", - "integrity": "sha512-O/jr3aFJMCxF6Jmymjx4jIigRHJfqM/ALIi60y2LVznBVFkk9xyMTsAjgWQIEHX+2muEIzgfKuXzpL0y30y+wA==", + "version": "17.3.4", + "resolved": "https://registry.npmjs.org/@angular/core/-/core-17.3.4.tgz", + "integrity": "sha512-fvhBkfa/DDBzp1UcNzSxHj+Z9DebSS/o9pZpZlbu/0uEiu9hScmScnhaty5E0EbutzHB0SVUCz7zZuDeAywvWg==", "dependencies": { "tslib": "^2.3.0" }, @@ -1491,9 +1491,9 @@ } }, "node_modules/@angular/forms": { - "version": "17.3.3", - "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-17.3.3.tgz", - "integrity": "sha512-wqn+eAggbOZY91hr7oDjv5qdflszVOC9SZMcWJUoZTGn+8eoV6v6728GDFuDDwYkKQ9G9eQbX4IZmYoVw3TVjQ==", + "version": "17.3.4", + "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-17.3.4.tgz", + "integrity": "sha512-XWA/FAs0r7VRdztMIfGU9EE0Chj+1U/sDnzJK3ZPO0n8F8oDAEWGJyiw8GIyWTLs+mz43thVIED3DhbRNsXbWw==", "dependencies": { "tslib": "^2.3.0" }, @@ -1501,16 +1501,16 @@ "node": "^18.13.0 || >=20.9.0" }, "peerDependencies": { - "@angular/common": "17.3.3", - "@angular/core": "17.3.3", - "@angular/platform-browser": "17.3.3", + "@angular/common": "17.3.4", + "@angular/core": "17.3.4", + "@angular/platform-browser": "17.3.4", "rxjs": "^6.5.3 || ^7.4.0" } }, "node_modules/@angular/platform-browser": { - "version": "17.3.3", - "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-17.3.3.tgz", - "integrity": "sha512-XFWjquD+Pr9VszRzrDlT6uaf57TsY9XhL9iHCNok6Op5DpVQpIAuw1vFt2t5ZoQ0gv+lY8mVWnxgqe3CgTdYxw==", + "version": "17.3.4", + "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-17.3.4.tgz", + "integrity": "sha512-W2nH9WSQJfdNG4HH9B1Cvj5CTmy9gF3321I+65Tnb8jFmpeljYDBC/VVUhTZUCRpg8udMWeMHEQHuSb8CbozmQ==", "dependencies": { "tslib": "^2.3.0" }, @@ -1518,9 +1518,9 @@ "node": "^18.13.0 || >=20.9.0" }, "peerDependencies": { - "@angular/animations": "17.3.3", - "@angular/common": "17.3.3", - "@angular/core": "17.3.3" + "@angular/animations": "17.3.4", + "@angular/common": "17.3.4", + "@angular/core": "17.3.4" }, "peerDependenciesMeta": { "@angular/animations": { @@ -1529,9 +1529,9 @@ } }, "node_modules/@angular/platform-browser-dynamic": { - "version": "17.3.3", - "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-17.3.3.tgz", - "integrity": "sha512-jSgSNHRTXCIat20I+4tLm/e8qOvrIE3Zv7S/DtYZEiAth84uoznvo1kXnN+KREse2vP/WoNgSDKQ2JLzkwYXSQ==", + "version": "17.3.4", + "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-17.3.4.tgz", + "integrity": "sha512-S53jPyQtInVYkjdGEFt4dxM1NrHNkWCvXGRsCO7Uh+laDf1OpIDp9YHf49OZohYLajJradN6y4QfdZL6IUwXKA==", "dependencies": { "tslib": "^2.3.0" }, @@ -1539,16 +1539,16 @@ "node": "^18.13.0 || >=20.9.0" }, "peerDependencies": { - "@angular/common": "17.3.3", - "@angular/compiler": "17.3.3", - "@angular/core": "17.3.3", - "@angular/platform-browser": "17.3.3" + "@angular/common": "17.3.4", + "@angular/compiler": "17.3.4", + "@angular/core": "17.3.4", + "@angular/platform-browser": "17.3.4" } }, "node_modules/@angular/router": { - "version": "17.3.3", - "resolved": "https://registry.npmjs.org/@angular/router/-/router-17.3.3.tgz", - "integrity": "sha512-kj42+TtwvET7MFqxB3pkKyob0VNmspASlv8Y29vSpzzaOHn8J1fDf6H+8opoIC+Gmvo5NqXUDwq7nxI5aQ0mUQ==", + "version": "17.3.4", + "resolved": "https://registry.npmjs.org/@angular/router/-/router-17.3.4.tgz", + "integrity": "sha512-B1zjUYyhN66dp47zdF96NRwo0dEdM5In4Ob8HN64PAbnaK3y1EPp31aN6EGernPvKum1ibgwSZw+Uwnbkuv7Ww==", "dependencies": { "tslib": "^2.3.0" }, @@ -1556,9 +1556,9 @@ "node": "^18.13.0 || >=20.9.0" }, "peerDependencies": { - "@angular/common": "17.3.3", - "@angular/core": "17.3.3", - "@angular/platform-browser": "17.3.3", + "@angular/common": "17.3.4", + "@angular/core": "17.3.4", + "@angular/platform-browser": "17.3.4", "rxjs": "^6.5.3 || ^7.4.0" } }, @@ -9341,30 +9341,30 @@ } }, "node_modules/@volar/language-core": { - "version": "2.2.0-alpha.6", - "resolved": "https://registry.npmjs.org/@volar/language-core/-/language-core-2.2.0-alpha.6.tgz", - "integrity": "sha512-GmT28LX2w4x82uuQqNN/P94VOCsZRHBbGcGe+5bFtA2hbIbH6f8tFdMfgXFtyhbft/pj6f3xl37xe+t+nomLIA==", + "version": "2.2.0-alpha.7", + "resolved": "https://registry.npmjs.org/@volar/language-core/-/language-core-2.2.0-alpha.7.tgz", + "integrity": "sha512-igpp+nTkyl8faVzRJMpSCeA4XlBJ5UVSyc/WGyksmUmP10YbfufbcQCFlxEXv2uMBV+a3L4JVCj+Vju+08FOSA==", "dev": true, "dependencies": { - "@volar/source-map": "2.2.0-alpha.6" + "@volar/source-map": "2.2.0-alpha.7" } }, "node_modules/@volar/source-map": { - "version": "2.2.0-alpha.6", - "resolved": "https://registry.npmjs.org/@volar/source-map/-/source-map-2.2.0-alpha.6.tgz", - "integrity": "sha512-EztD2zoUopETY+ZCUZAGUHKgj4gOkY/2WnaOS+RSTc56xm85miSA4qOBS8Lt1Ruu5vV52WIZKHW/R9PbjkZWFA==", + "version": "2.2.0-alpha.7", + "resolved": "https://registry.npmjs.org/@volar/source-map/-/source-map-2.2.0-alpha.7.tgz", + "integrity": "sha512-iIZM2EovdEnr6mMwlsnt4ciix4xz7HSGHyUSviRaY5cii5PMXGHeUU9UDeb+xzLCx8kdk3L5J4z+ts50AhkYcg==", "dev": true, "dependencies": { "muggle-string": "^0.4.0" } }, "node_modules/@volar/typescript": { - "version": "2.2.0-alpha.6", - "resolved": "https://registry.npmjs.org/@volar/typescript/-/typescript-2.2.0-alpha.6.tgz", - "integrity": "sha512-wTr0jO3wVXQ9FjBbWE2iX8GgDoiHp1Nttsb+tKk5IeUUb6f1uOjyeIXuS4KfeMBpCufthRO2st2O2uatAs/UXQ==", + "version": "2.2.0-alpha.7", + "resolved": "https://registry.npmjs.org/@volar/typescript/-/typescript-2.2.0-alpha.7.tgz", + "integrity": "sha512-qy04/hx4UbW1BdPlzaxlH60D4plubcyqdbYM6Y5vZiascZxFowtd6vE39Td9FYzDxwcKgzb/Crvf/ABhdHnuBA==", "dev": true, "dependencies": { - "@volar/language-core": "2.2.0-alpha.6", + "@volar/language-core": "2.2.0-alpha.7", "path-browserify": "^1.0.1" } }, @@ -9430,12 +9430,12 @@ "integrity": "sha512-LgPscpE3Vs0x96PzSSB4IGVSZXZBZHpfxs+ZA1d+VEPwHdOXowy/Y2CsvCAIFrf+ssVU1pD1jidj505EpUnfbA==" }, "node_modules/@vue/language-core": { - "version": "2.0.11", - "resolved": "https://registry.npmjs.org/@vue/language-core/-/language-core-2.0.11.tgz", - "integrity": "sha512-5ivg8Vem/yckzXI3L3n0mdKBPRcHSlsGt6/dpbEx42PcH3MIHAjSAJBYvENXeWJxv2ClQc8BS2mH1Ho2U7jZig==", + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/@vue/language-core/-/language-core-2.0.12.tgz", + "integrity": "sha512-aIStDPt69SHOpiIckGTIIjEz/sXc6ZfCMS5uWYL1AcbcRMhzFCLZscGAVte1+ad+RRFepSpKBjGttyPcgKJ7ww==", "dev": true, "dependencies": { - "@volar/language-core": "~2.2.0-alpha.6", + "@volar/language-core": "2.2.0-alpha.7", "@vue/compiler-dom": "^3.4.0", "@vue/shared": "^3.4.0", "computeds": "^0.0.1", @@ -28847,9 +28847,9 @@ "dev": true }, "node_modules/typescript": { - "version": "5.4.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.4.tgz", - "integrity": "sha512-dGE2Vv8cpVvw28v8HCPqyb08EzbBURxDpuhJvTrusShUfGnhHBafDsLdS1EhhxyL6BJQE+2cT3dDPAv+MQ6oLw==", + "version": "5.4.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz", + "integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==", "devOptional": true, "bin": { "tsc": "bin/tsc", @@ -29596,13 +29596,13 @@ } }, "node_modules/vue-tsc": { - "version": "2.0.11", - "resolved": "https://registry.npmjs.org/vue-tsc/-/vue-tsc-2.0.11.tgz", - "integrity": "sha512-dl5MEU4VGZdQFGBnKfPpAfV3SQmBDWs9o4YhUPvDmwk+zmb/RprzFJK2sagR6EWazogZhXENvykd3wBXWS9kng==", + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/vue-tsc/-/vue-tsc-2.0.12.tgz", + "integrity": "sha512-thlBBWlPYrNdba535oDdxz7PRUufZgRZRVP5Aql5wBVpGSWSeqou4EzFXeKVoZr59lp9hJROubDVzlhACmcEhg==", "dev": true, "dependencies": { - "@volar/typescript": "~2.2.0-alpha.6", - "@vue/language-core": "2.0.11", + "@volar/typescript": "2.2.0-alpha.7", + "@vue/language-core": "2.0.12", "semver": "^7.5.4" }, "bin": { @@ -31211,9 +31211,9 @@ "license": "Apache-2.0", "devDependencies": { "@angular-devkit/build-angular": "17.3.3", - "@angular/common": "17.3.3", + "@angular/common": "17.3.4", "ng-packagr": "17.3.0", - "typescript": "^5.4.4" + "typescript": "^5.4.5" } }, "output/react": { @@ -31241,9 +31241,9 @@ "@playwright/experimental-ct-vue": "1.42.1", "@vitejs/plugin-vue": "^5.0.4", "sass": "^1.74.1", - "typescript": "^5.4.4", + "typescript": "^5.4.5", "vite": "^5.2.8", - "vue-tsc": "^2.0.11" + "vue-tsc": "^2.0.12" } }, "output/webcomponent": { @@ -31301,14 +31301,14 @@ "showcases/angular-showcase": { "version": "0.0.0", "dependencies": { - "@angular/animations": "17.3.3", - "@angular/common": "17.3.3", - "@angular/compiler": "17.3.3", - "@angular/core": "17.3.3", - "@angular/forms": "17.3.3", - "@angular/platform-browser": "17.3.3", - "@angular/platform-browser-dynamic": "17.3.3", - "@angular/router": "17.3.3", + "@angular/animations": "17.3.4", + "@angular/common": "17.3.4", + "@angular/compiler": "17.3.4", + "@angular/core": "17.3.4", + "@angular/forms": "17.3.4", + "@angular/platform-browser": "17.3.4", + "@angular/platform-browser-dynamic": "17.3.4", + "@angular/router": "17.3.4", "rxjs": "~7.8.1", "tslib": "^2.6.2", "zone.js": "~0.14.4" @@ -31316,9 +31316,9 @@ "devDependencies": { "@angular-devkit/build-angular": "17.3.3", "@angular/cli": "17.3.3", - "@angular/compiler-cli": "17.3.3", + "@angular/compiler-cli": "17.3.4", "ng-packagr": "17.3.0", - "typescript": "^5.4.4" + "typescript": "^5.4.5" } }, "showcases/patternhub": { @@ -31346,7 +31346,7 @@ "iframe-resizer": "^4.3.9", "open-cli": "^8.0.0", "sass": "^1.74.1", - "typescript": "5.4.4" + "typescript": "5.4.5" } }, "showcases/react-showcase": { @@ -31361,7 +31361,7 @@ "@types/react-dom": "^18.2.24", "@vitejs/plugin-react": "^4.2.1", "cross-env": "^7.0.3", - "typescript": "^5.4.4", + "typescript": "^5.4.5", "vite": "^5.2.8" } }, @@ -31382,9 +31382,9 @@ "devDependencies": { "@vitejs/plugin-vue": "^5.0.4", "cross-env": "^7.0.3", - "typescript": "^5.4.4", + "typescript": "^5.4.5", "vite": "^5.2.8", - "vue-tsc": "^2.0.11" + "vue-tsc": "^2.0.12" } } } diff --git a/package.json b/package.json index e70e6e972c5..921df9c6f47 100644 --- a/package.json +++ b/package.json @@ -73,7 +73,7 @@ "stylelint-config-sass-guidelines": "9.0.1", "stylelint-use-logical": "^2.1.2", "tslib": "^2.6.2", - "typescript": "^5.4.4", + "typescript": "^5.4.5", "validate-branch-name": "^1.3.0", "xo": "^0.58.0" }, diff --git a/packages/components/src/shared/model.ts b/packages/components/src/shared/model.ts index 87d4656d0e9..90d49cc18b0 100644 --- a/packages/components/src/shared/model.ts +++ b/packages/components/src/shared/model.ts @@ -58,14 +58,14 @@ export type DefaultVariantProps = { export type IconProps = { /** - * Define an icon by it's identifier (like e.g. _account_, compare to [Icons](https://db-ui.github.io/mono/review/main/foundations/icons) to get displayed in front of the elements content. + * Define an icon by its identifier (like e.g. _account_, compare to [Icons](https://db-ui.github.io/mono/review/main/foundations/icons/overview)) to get displayed in front of the elements content. */ icon?: IconTypes; }; export type IconAfterProps = { /** - * Define an icon by it's identifier (like e.g. _account_, compare to [Icons](https://db-ui.github.io/mono/review/main/foundations/icons) to get displayed in front of the elements content. + * Define an icon by its identifier (like e.g. _account_, compare to [Icons](https://db-ui.github.io/mono/review/main/foundations/icons/overview)) to get displayed in front of the elements content. */ iconAfter?: IconTypes; }; diff --git a/showcases/angular-showcase/package.json b/showcases/angular-showcase/package.json index 3e3f8516801..9cdb748d1fe 100644 --- a/showcases/angular-showcase/package.json +++ b/showcases/angular-showcase/package.json @@ -12,14 +12,14 @@ "watch": "ng build --watch --configuration development" }, "dependencies": { - "@angular/animations": "17.3.3", - "@angular/common": "17.3.3", - "@angular/compiler": "17.3.3", - "@angular/core": "17.3.3", - "@angular/forms": "17.3.3", - "@angular/platform-browser": "17.3.3", - "@angular/platform-browser-dynamic": "17.3.3", - "@angular/router": "17.3.3", + "@angular/animations": "17.3.4", + "@angular/common": "17.3.4", + "@angular/compiler": "17.3.4", + "@angular/core": "17.3.4", + "@angular/forms": "17.3.4", + "@angular/platform-browser": "17.3.4", + "@angular/platform-browser-dynamic": "17.3.4", + "@angular/router": "17.3.4", "rxjs": "~7.8.1", "tslib": "^2.6.2", "zone.js": "~0.14.4" @@ -27,8 +27,8 @@ "devDependencies": { "@angular-devkit/build-angular": "17.3.3", "@angular/cli": "17.3.3", - "@angular/compiler-cli": "17.3.3", + "@angular/compiler-cli": "17.3.4", "ng-packagr": "17.3.0", - "typescript": "^5.4.4" + "typescript": "^5.4.5" } } diff --git a/showcases/angular-showcase/src/assets/images/db_logo.svg b/showcases/angular-showcase/src/assets/images/db_logo.svg index bfea69802a5..02278bee1b7 100644 --- a/showcases/angular-showcase/src/assets/images/db_logo.svg +++ b/showcases/angular-showcase/src/assets/images/db_logo.svg @@ -1,4 +1,4 @@ diff --git a/showcases/patternhub/components/default-page.tsx b/showcases/patternhub/components/default-page.tsx index 341d474359b..72f1f886dcf 100644 --- a/showcases/patternhub/components/default-page.tsx +++ b/showcases/patternhub/components/default-page.tsx @@ -84,7 +84,9 @@ const DefaultPage = ({ children }: any) => { onToggle={setDrawerOpen} slotBrand={ {process.env.NEXT_PUBLIC_APP_NAME} diff --git a/showcases/patternhub/components/src/tsconfig.json b/showcases/patternhub/components/src/tsconfig.json deleted file mode 100644 index ad8e8da3da5..00000000000 --- a/showcases/patternhub/components/src/tsconfig.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "compilerOptions": { - "strict": false, - "allowUnreachableCode": false, - "allowSyntheticDefaultImports": true, - "declaration": true, - "emitDecoratorMetadata": true, - "experimentalDecorators": true, - "esModuleInterop": true, - "lib": ["dom", "es2015"], - "module": "es2015", - "moduleResolution": "node", - "noImplicitAny": false, - "noImplicitReturns": false, - "noUnusedLocals": false, - "noUnusedParameters": false, - "outDir": "dist", - "removeComments": false, - "sourceMap": true, - "jsx": "react", - "target": "ES6" - }, - "include": ["**/*.ts", "**/*.tsx"], - "exclude": ["node_modules", "**/*.spec.tsx", "dist"], - "compileOnSave": false, - "buildOnSave": false -} diff --git a/showcases/patternhub/package.json b/showcases/patternhub/package.json index a51b4a3cab0..dd0d55cc13b 100644 --- a/showcases/patternhub/package.json +++ b/showcases/patternhub/package.json @@ -13,10 +13,10 @@ "compile:03_copy-docs": "cpr ../../docs ./public/docs -o", "compile:04_components": "node scripts/esbuild-generate.mjs", "compile:05_run": "node generated.js", + "compile:06_replace_base": "node scripts/fix-base-path.js", "dev": "cross-env NEXT_PUBLIC_BASE_PATH=/mono/sub npm-run-all compile -p open next:dev", "lint": "next lint", "next:dev": "next dev", - "next:start": "next start", "open": "open-cli http://localhost:3000/mono/sub", "prebuild:app": "cpr ../../node_modules/iframe-resizer/js/ public/iframe-resizer -o", "start": "cross-env NEXT_PUBLIC_BASE_PATH=/mono/sub npm-run-all compile next:dev" @@ -44,6 +44,6 @@ "iframe-resizer": "^4.3.9", "open-cli": "^8.0.0", "sass": "^1.74.1", - "typescript": "5.4.4" + "typescript": "5.4.5" } } diff --git a/showcases/patternhub/public/assets/images/db_logo.svg b/showcases/patternhub/public/assets/images/db_logo.svg new file mode 100644 index 00000000000..02278bee1b7 --- /dev/null +++ b/showcases/patternhub/public/assets/images/db_logo.svg @@ -0,0 +1,4 @@ + diff --git a/showcases/patternhub/public/images/db_logo.svg b/showcases/patternhub/public/images/db_logo.svg deleted file mode 100644 index e188143af80..00000000000 --- a/showcases/patternhub/public/images/db_logo.svg +++ /dev/null @@ -1 +0,0 @@ -db_em_rgb_100px \ No newline at end of file diff --git a/showcases/patternhub/public/site.webmanifest b/showcases/patternhub/public/site.webmanifest index c5b4ef35c07..34a49346fc0 100644 --- a/showcases/patternhub/public/site.webmanifest +++ b/showcases/patternhub/public/site.webmanifest @@ -3,7 +3,7 @@ "name": "", "icons": [ { - "src": "/images/db_logo.svg", + "src": "/assets/images/db_logo.svg", "type": "image/svg", "sizes": "192x192" } diff --git a/showcases/patternhub/scripts/fix-base-path.js b/showcases/patternhub/scripts/fix-base-path.js new file mode 100644 index 00000000000..93f6900ac46 --- /dev/null +++ b/showcases/patternhub/scripts/fix-base-path.js @@ -0,0 +1,8 @@ +import Replace from 'replace-in-file'; + +const option = { + files: './pages/components/**/*.tsx', + from: 'import.meta.env.BASE_URL', + to: 'process.env.NEXT_PUBLIC_BASE_PATH' +}; +Replace.replaceInFileSync(option); diff --git a/showcases/patternhub/scripts/get-properties-file.js b/showcases/patternhub/scripts/get-properties-file.js index b5676835132..07c582c1474 100644 --- a/showcases/patternhub/scripts/get-properties-file.js +++ b/showcases/patternhub/scripts/get-properties-file.js @@ -60,14 +60,19 @@ const getPropertiesFile = ({ displayName, description, props }) => { 'No description' } `; propertyTable += `| ${property.tsType.type ?? property.tsType.name} `; - propertyTable += `| ${ - options - ? `
${options.replaceAll(
-						'',
-						''
-					)}
` - : '' - } |\n`; + + if (['icon', 'iconAfter', 'messageIcon'].includes(propertyKey)) { + propertyTable += `| [IconTypes](https://db-ui.github.io/mono/review/main/foundations/icons/overview) |\n`; + } else { + propertyTable += `| ${ + options + ? `
${options.replaceAll(
+							'',
+							''
+						)}
` + : '' + } |\n`; + } } return ` diff --git a/showcases/patternhub/scripts/utils.js b/showcases/patternhub/scripts/utils.js index 654b059a100..73aded4e121 100644 --- a/showcases/patternhub/scripts/utils.js +++ b/showcases/patternhub/scripts/utils.js @@ -10,7 +10,9 @@ export const getUnionElements = (options, elements) => { options.push( element.name === 'literal' ? element.value - : getUnionElements(options, element.elements) + : element.elements + ? getUnionElements(options, element.elements) + : element.name ); } } diff --git a/showcases/react-showcase/package.json b/showcases/react-showcase/package.json index 51392b2f50d..501d6c702e2 100644 --- a/showcases/react-showcase/package.json +++ b/showcases/react-showcase/package.json @@ -23,7 +23,7 @@ "@types/react-dom": "^18.2.24", "@vitejs/plugin-react": "^4.2.1", "cross-env": "^7.0.3", - "typescript": "^5.4.4", + "typescript": "^5.4.5", "vite": "^5.2.8" } } diff --git a/showcases/react-showcase/public/assets/images/db_logo.svg b/showcases/react-showcase/public/assets/images/db_logo.svg index bfea69802a5..02278bee1b7 100644 --- a/showcases/react-showcase/public/assets/images/db_logo.svg +++ b/showcases/react-showcase/public/assets/images/db_logo.svg @@ -1,4 +1,4 @@ diff --git a/showcases/vue-showcase/package.json b/showcases/vue-showcase/package.json index 5caf5064874..4b9721d12e4 100644 --- a/showcases/vue-showcase/package.json +++ b/showcases/vue-showcase/package.json @@ -18,8 +18,8 @@ "devDependencies": { "@vitejs/plugin-vue": "^5.0.4", "cross-env": "^7.0.3", - "typescript": "^5.4.4", + "typescript": "^5.4.5", "vite": "^5.2.8", - "vue-tsc": "^2.0.11" + "vue-tsc": "^2.0.12" } } diff --git a/showcases/vue-showcase/public/assets/images/db_logo.svg b/showcases/vue-showcase/public/assets/images/db_logo.svg index bfea69802a5..02278bee1b7 100644 --- a/showcases/vue-showcase/public/assets/images/db_logo.svg +++ b/showcases/vue-showcase/public/assets/images/db_logo.svg @@ -1,4 +1,4 @@