From 0b8c8cf6a54d436a79553a0062aaee58252f1264 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 7 Feb 2022 17:19:38 +0000 Subject: [PATCH 01/50] chore(deps): bump ws from 5.2.2 to 5.2.3 Bumps [ws](https://github.com/websockets/ws) from 5.2.2 to 5.2.3. - [Release notes](https://github.com/websockets/ws/releases) - [Commits](https://github.com/websockets/ws/compare/5.2.2...5.2.3) --- updated-dependencies: - dependency-name: ws dependency-type: indirect ... Signed-off-by: dependabot[bot] --- package-lock.json | 48 +++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/package-lock.json b/package-lock.json index f1eab69f..be610e47 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12512,9 +12512,9 @@ } }, "node_modules/jest-environment-jsdom-fifteen/node_modules/ws": { - "version": "7.3.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.3.0.tgz", - "integrity": "sha512-iFtXzngZVXPGgpTlP1rBqsUK82p9tKqsWRPg5L56egiljujJT3vGAYnHANvFxBieXrTFavhzhxW52jnaWV+w2w==", + "version": "7.5.6", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.6.tgz", + "integrity": "sha512-6GLgCqo2cy2A2rjCNFlxQS6ZljG/coZfZXclldI8FB/1G3CCI36Zd8xy2HrFVACi8tfk5XrgLQEk+P0Tnz9UcA==", "dev": true, "engines": { "node": ">=8.3.0" @@ -26678,9 +26678,9 @@ } }, "node_modules/webpack-bundle-analyzer/node_modules/ws": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.1.tgz", - "integrity": "sha512-GIyAXC2cB7LjvpgMt9EKS2ldqr0MTrORaleiOno6TweZ6r3TKtoFQWay/2PceJ3RuBasOHzXNn5Lrw1X0bEjqA==", + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.2.tgz", + "integrity": "sha512-zmhltoSR8u1cnDsD43TX59mzoMZsLKqUweyYBAIvTngR3shc0W6aOZylZmq/7hqyVxPdi+5Ud2QInblgyE72fw==", "dev": true, "dependencies": { "async-limiter": "~1.0.0" @@ -26934,9 +26934,9 @@ } }, "node_modules/webpack-dev-server/node_modules/ws": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.1.tgz", - "integrity": "sha512-GIyAXC2cB7LjvpgMt9EKS2ldqr0MTrORaleiOno6TweZ6r3TKtoFQWay/2PceJ3RuBasOHzXNn5Lrw1X0bEjqA==", + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.2.tgz", + "integrity": "sha512-zmhltoSR8u1cnDsD43TX59mzoMZsLKqUweyYBAIvTngR3shc0W6aOZylZmq/7hqyVxPdi+5Ud2QInblgyE72fw==", "dev": true, "dependencies": { "async-limiter": "~1.0.0" @@ -27270,9 +27270,9 @@ } }, "node_modules/ws": { - "version": "5.2.2", - "resolved": "https://registry.npmjs.org/ws/-/ws-5.2.2.tgz", - "integrity": "sha512-jaHFD6PFv6UgoIVda6qZllptQsMlDEJkTQcybzzXDYM1XO9Y8em691FGMPmM46WGyLU4z9KMgQN+qrux/nhlHA==", + "version": "5.2.3", + "resolved": "https://registry.npmjs.org/ws/-/ws-5.2.3.tgz", + "integrity": "sha512-jZArVERrMsKUatIdnLzqvcfydI85dvd/Fp1u/VOpfdDWQ4c9qWXe+VIeAbQ5FrDwciAkr+lzofXLz3Kuf26AOA==", "dev": true, "dependencies": { "async-limiter": "~1.0.0" @@ -37439,9 +37439,9 @@ } }, "ws": { - "version": "7.3.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.3.0.tgz", - "integrity": "sha512-iFtXzngZVXPGgpTlP1rBqsUK82p9tKqsWRPg5L56egiljujJT3vGAYnHANvFxBieXrTFavhzhxW52jnaWV+w2w==", + "version": "7.5.6", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.6.tgz", + "integrity": "sha512-6GLgCqo2cy2A2rjCNFlxQS6ZljG/coZfZXclldI8FB/1G3CCI36Zd8xy2HrFVACi8tfk5XrgLQEk+P0Tnz9UcA==", "dev": true, "requires": {} } @@ -48363,9 +48363,9 @@ "dev": true }, "ws": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.1.tgz", - "integrity": "sha512-GIyAXC2cB7LjvpgMt9EKS2ldqr0MTrORaleiOno6TweZ6r3TKtoFQWay/2PceJ3RuBasOHzXNn5Lrw1X0bEjqA==", + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.2.tgz", + "integrity": "sha512-zmhltoSR8u1cnDsD43TX59mzoMZsLKqUweyYBAIvTngR3shc0W6aOZylZmq/7hqyVxPdi+5Ud2QInblgyE72fw==", "dev": true, "requires": { "async-limiter": "~1.0.0" @@ -48556,9 +48556,9 @@ } }, "ws": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.1.tgz", - "integrity": "sha512-GIyAXC2cB7LjvpgMt9EKS2ldqr0MTrORaleiOno6TweZ6r3TKtoFQWay/2PceJ3RuBasOHzXNn5Lrw1X0bEjqA==", + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.2.tgz", + "integrity": "sha512-zmhltoSR8u1cnDsD43TX59mzoMZsLKqUweyYBAIvTngR3shc0W6aOZylZmq/7hqyVxPdi+5Ud2QInblgyE72fw==", "dev": true, "requires": { "async-limiter": "~1.0.0" @@ -48776,9 +48776,9 @@ } }, "ws": { - "version": "5.2.2", - "resolved": "https://registry.npmjs.org/ws/-/ws-5.2.2.tgz", - "integrity": "sha512-jaHFD6PFv6UgoIVda6qZllptQsMlDEJkTQcybzzXDYM1XO9Y8em691FGMPmM46WGyLU4z9KMgQN+qrux/nhlHA==", + "version": "5.2.3", + "resolved": "https://registry.npmjs.org/ws/-/ws-5.2.3.tgz", + "integrity": "sha512-jZArVERrMsKUatIdnLzqvcfydI85dvd/Fp1u/VOpfdDWQ4c9qWXe+VIeAbQ5FrDwciAkr+lzofXLz3Kuf26AOA==", "dev": true, "requires": { "async-limiter": "~1.0.0" From cc9a811b60a935321e3584bbab41b648540ceddc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 14 Feb 2022 01:30:08 +0000 Subject: [PATCH 02/50] chore(deps): bump ajv from 6.12.2 to 6.12.6 Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.12.2 to 6.12.6. - [Release notes](https://github.com/ajv-validator/ajv/releases) - [Commits](https://github.com/ajv-validator/ajv/compare/v6.12.2...v6.12.6) --- updated-dependencies: - dependency-name: ajv dependency-type: indirect ... Signed-off-by: dependabot[bot] --- package-lock.json | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6b2948aa..5b12ad66 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4260,15 +4260,19 @@ } }, "node_modules/ajv": { - "version": "6.12.2", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.2.tgz", - "integrity": "sha512-k+V+hzjm5q/Mr8ef/1Y9goCmlsK4I6Sm74teeyGvFk1XrOsbsKLjEdrvny42CZ+a8sXbk8KWpY/bDwS+FLL2UQ==", + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", "dev": true, "dependencies": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", "json-schema-traverse": "^0.4.1", "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" } }, "node_modules/ajv-errors": { @@ -30744,9 +30748,9 @@ } }, "ajv": { - "version": "6.12.2", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.2.tgz", - "integrity": "sha512-k+V+hzjm5q/Mr8ef/1Y9goCmlsK4I6Sm74teeyGvFk1XrOsbsKLjEdrvny42CZ+a8sXbk8KWpY/bDwS+FLL2UQ==", + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", "dev": true, "requires": { "fast-deep-equal": "^3.1.1", From f2547128a707e8784dfb7ae4fea0259c58dc21aa Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 14 Feb 2022 22:39:26 +0000 Subject: [PATCH 03/50] chore(deps): bump follow-redirects from 1.11.0 to 1.14.8 Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.11.0 to 1.14.8. - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.11.0...v1.14.8) --- updated-dependencies: - dependency-name: follow-redirects dependency-type: indirect ... Signed-off-by: dependabot[bot] --- package-lock.json | 52 ++++++++++++++++------------------------------- 1 file changed, 18 insertions(+), 34 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6b2948aa..369b3a4d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10113,25 +10113,23 @@ } }, "node_modules/follow-redirects": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.11.0.tgz", - "integrity": "sha512-KZm0V+ll8PfBrKwMzdo5D13b1bur9Iq9Zd/RMmAoQQcl2PxxFml8cxXPaaPYVbV0RjNjq1CU7zIzAOqtUPudmA==", + "version": "1.14.8", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.8.tgz", + "integrity": "sha512-1x0S9UVJHsQprFcEC/qnNzBLcIxsjAV905f/UkQxbclCsoTWlacCNOpQa/anodLl2uaEKFhfWOvM2Qg77+15zA==", "dev": true, - "dependencies": { - "debug": "^3.0.0" - }, + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/RubenVerborgh" + } + ], "engines": { "node": ">=4.0" - } - }, - "node_modules/follow-redirects/node_modules/debug": { - "version": "3.2.6", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz", - "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==", - "deprecated": "Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)", - "dev": true, - "dependencies": { - "ms": "^2.1.1" + }, + "peerDependenciesMeta": { + "debug": { + "optional": true + } } }, "node_modules/for-in": { @@ -35518,24 +35516,10 @@ } }, "follow-redirects": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.11.0.tgz", - "integrity": "sha512-KZm0V+ll8PfBrKwMzdo5D13b1bur9Iq9Zd/RMmAoQQcl2PxxFml8cxXPaaPYVbV0RjNjq1CU7zIzAOqtUPudmA==", - "dev": true, - "requires": { - "debug": "^3.0.0" - }, - "dependencies": { - "debug": { - "version": "3.2.6", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz", - "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==", - "dev": true, - "requires": { - "ms": "^2.1.1" - } - } - } + "version": "1.14.8", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.8.tgz", + "integrity": "sha512-1x0S9UVJHsQprFcEC/qnNzBLcIxsjAV905f/UkQxbclCsoTWlacCNOpQa/anodLl2uaEKFhfWOvM2Qg77+15zA==", + "dev": true }, "for-in": { "version": "1.0.2", From 47409240d401125350f1fbc6fcc0ef43a914e094 Mon Sep 17 00:00:00 2001 From: Kurtil Date: Tue, 22 Feb 2022 16:54:27 +0100 Subject: [PATCH 04/50] PATCH: add empty viewer illustration --- .../EmptyViewer.vue | 49 +++++++++++++++++++ .../BIMDataLibraryIllustrations/index.js | 2 + .../Components/Illustrations/Illustrations.js | 5 ++ 3 files changed, 56 insertions(+) create mode 100644 src/BIMDataComponents/BIMDataIllustration/BIMDataLibraryIllustrations/EmptyViewer.vue diff --git a/src/BIMDataComponents/BIMDataIllustration/BIMDataLibraryIllustrations/EmptyViewer.vue b/src/BIMDataComponents/BIMDataIllustration/BIMDataLibraryIllustrations/EmptyViewer.vue new file mode 100644 index 00000000..119179a7 --- /dev/null +++ b/src/BIMDataComponents/BIMDataIllustration/BIMDataLibraryIllustrations/EmptyViewer.vue @@ -0,0 +1,49 @@ + diff --git a/src/BIMDataComponents/BIMDataIllustration/BIMDataLibraryIllustrations/index.js b/src/BIMDataComponents/BIMDataIllustration/BIMDataLibraryIllustrations/index.js index a63e288a..ee89a102 100644 --- a/src/BIMDataComponents/BIMDataIllustration/BIMDataLibraryIllustrations/index.js +++ b/src/BIMDataComponents/BIMDataIllustration/BIMDataLibraryIllustrations/index.js @@ -4,6 +4,7 @@ import emptyBucket from "./EmptyBucket.vue"; import emptyProperties from "./EmptyProperties.vue"; import emptySectionPlanes from "./EmptySectionPlanes.vue"; import emptyTree from "./EmptyTree.vue"; +import emptyViewer from "./EmptyViewer.vue"; import logo from "./Logo.vue"; import shortcutOpen from "./ShortcutOpen.vue"; import shortcutRotate from "./ShortcutRotate.vue"; @@ -17,6 +18,7 @@ export default { emptyProperties, emptySectionPlanes, emptyTree, + emptyViewer, logo, shortcutOpen, shortcutRotate, diff --git a/src/web/views/Components/Illustrations/Illustrations.js b/src/web/views/Components/Illustrations/Illustrations.js index eea38274..24f0bc71 100644 --- a/src/web/views/Components/Illustrations/Illustrations.js +++ b/src/web/views/Components/Illustrations/Illustrations.js @@ -29,6 +29,11 @@ export default Object.freeze([ x: "90", y: "90", }, + { + name: "emptyViewer", + x: "90", + y: "90", + }, { name: "logo", x: "90", From 3d85868cdd680f276aae8ba4c6e0751e7855d4d3 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Tue, 22 Feb 2022 15:55:05 +0000 Subject: [PATCH 05/50] chore(release): 1.2.0-rc.30 [skip ci] # [1.2.0-rc.30](https://github.com/bimdata/design-system/compare/v1.2.0-rc.29...v1.2.0-rc.30) (2022-02-22) ### PATCH * add empty viewer illustration ([4740924](https://github.com/bimdata/design-system/commit/47409240d401125350f1fbc6fcc0ef43a914e094)) --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index e7a212a9..8cf4694a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@bimdata/design-system", - "version": "1.2.0-rc.29", + "version": "1.2.0-rc.30", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@bimdata/design-system", - "version": "1.2.0-rc.29", + "version": "1.2.0-rc.30", "devDependencies": { "@babel/preset-env": "^7.10.2", "@bimdata/typescript-fetch-api-client": "^7.0.0", diff --git a/package.json b/package.json index 5df80e67..fd5de04f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@bimdata/design-system", - "version": "1.2.0-rc.29", + "version": "1.2.0-rc.30", "main": "./dist/js/BIMDataComponents/index.js", "module": "./dist/js/BIMDataComponents/index.js", "files": [ From 42e83e6799ea62775976c4d889bc335ffaaea875 Mon Sep 17 00:00:00 2001 From: Kurtil Date: Fri, 25 Feb 2022 09:40:37 +0100 Subject: [PATCH 06/50] PATCH: add caliper icon --- .../BIMDataLibraryIcons/Caliper.vue | 26 +++++++++++++++++++ .../BIMDataIcon/BIMDataLibraryIcons/index.js | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Caliper.vue diff --git a/src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Caliper.vue b/src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Caliper.vue new file mode 100644 index 00000000..4e3d63a9 --- /dev/null +++ b/src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Caliper.vue @@ -0,0 +1,26 @@ + diff --git a/src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/index.js b/src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/index.js index ee167473..5613bce7 100644 --- a/src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/index.js +++ b/src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/index.js @@ -12,6 +12,7 @@ import bcf from "./Bcf.vue"; import building from "./Building.vue"; import burgerMenu from "./BurgerMenu.vue"; import calendar from "./Calendar.vue"; +import caliper from "./Caliper.vue"; import camera from "./Camera.vue"; import cancelCamera from "./CancelCamera.vue"; import check from "./Check.vue"; @@ -131,6 +132,7 @@ export default { building, burgerMenu, calendar, + caliper, camera, cancelCamera, check, From f54c8f5d1d949a78bd4ff59575f23b6e78250bc3 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Fri, 25 Feb 2022 08:41:34 +0000 Subject: [PATCH 07/50] chore(release): 1.2.0-rc.31 [skip ci] # [1.2.0-rc.31](https://github.com/bimdata/design-system/compare/v1.2.0-rc.30...v1.2.0-rc.31) (2022-02-25) ### PATCH * add caliper icon ([42e83e6](https://github.com/bimdata/design-system/commit/42e83e6799ea62775976c4d889bc335ffaaea875)) --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8cf4694a..35a133cb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@bimdata/design-system", - "version": "1.2.0-rc.30", + "version": "1.2.0-rc.31", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@bimdata/design-system", - "version": "1.2.0-rc.30", + "version": "1.2.0-rc.31", "devDependencies": { "@babel/preset-env": "^7.10.2", "@bimdata/typescript-fetch-api-client": "^7.0.0", diff --git a/package.json b/package.json index fd5de04f..c6f5a27a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@bimdata/design-system", - "version": "1.2.0-rc.30", + "version": "1.2.0-rc.31", "main": "./dist/js/BIMDataComponents/index.js", "module": "./dist/js/BIMDataComponents/index.js", "files": [ From 91e40ef8522dffdecc3dc044f3e06347d1fd0893 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 27 Feb 2022 22:05:20 +0000 Subject: [PATCH 08/50] chore(deps): bump url-parse from 1.4.7 to 1.5.10 Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.4.7 to 1.5.10. - [Release notes](https://github.com/unshiftio/url-parse/releases) - [Commits](https://github.com/unshiftio/url-parse/compare/1.4.7...1.5.10) --- updated-dependencies: - dependency-name: url-parse dependency-type: indirect ... Signed-off-by: dependabot[bot] --- package-lock.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 35a133cb..38715e67 100644 --- a/package-lock.json +++ b/package-lock.json @@ -26181,9 +26181,9 @@ } }, "node_modules/url-parse": { - "version": "1.4.7", - "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.4.7.tgz", - "integrity": "sha512-d3uaVyzDB9tQoSXFvuSUNFibTd9zxd2bkVrDRvF5TmvWWQwqE4lgYJ5m+x1DbecWkw+LK4RNl2CU1hHuOKPVlg==", + "version": "1.5.10", + "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.10.tgz", + "integrity": "sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==", "dev": true, "dependencies": { "querystringify": "^2.1.1", @@ -47895,9 +47895,9 @@ } }, "url-parse": { - "version": "1.4.7", - "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.4.7.tgz", - "integrity": "sha512-d3uaVyzDB9tQoSXFvuSUNFibTd9zxd2bkVrDRvF5TmvWWQwqE4lgYJ5m+x1DbecWkw+LK4RNl2CU1hHuOKPVlg==", + "version": "1.5.10", + "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.10.tgz", + "integrity": "sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==", "dev": true, "requires": { "querystringify": "^2.1.1", From 7539409fd10fe052cf42bd7e0fdae3d10d8605f5 Mon Sep 17 00:00:00 2001 From: Kurtil Date: Wed, 2 Mar 2022 00:37:24 +0100 Subject: [PATCH 09/50] PATCH: add the ability to know in slots if drop down list is open --- .../BIMDataDropdownList/BIMDataDropdownList.vue | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/BIMDataComponents/BIMDataDropdownList/BIMDataDropdownList.vue b/src/BIMDataComponents/BIMDataDropdownList/BIMDataDropdownList.vue index fb107ca7..a1f5d62c 100644 --- a/src/BIMDataComponents/BIMDataDropdownList/BIMDataDropdownList.vue +++ b/src/BIMDataComponents/BIMDataDropdownList/BIMDataDropdownList.vue @@ -12,7 +12,7 @@ @click="onHeaderClick" :style="style" > - + - + From 2bff5d821c4f0e4ec9eedad73f413c72114443f4 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Tue, 1 Mar 2022 23:38:15 +0000 Subject: [PATCH 10/50] chore(release): 1.2.0-rc.32 [skip ci] # [1.2.0-rc.32](https://github.com/bimdata/design-system/compare/v1.2.0-rc.31...v1.2.0-rc.32) (2022-03-01) ### PATCH * add the ability to know in slots if drop down list is open ([7539409](https://github.com/bimdata/design-system/commit/7539409fd10fe052cf42bd7e0fdae3d10d8605f5)) --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 35a133cb..f79073a5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@bimdata/design-system", - "version": "1.2.0-rc.31", + "version": "1.2.0-rc.32", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@bimdata/design-system", - "version": "1.2.0-rc.31", + "version": "1.2.0-rc.32", "devDependencies": { "@babel/preset-env": "^7.10.2", "@bimdata/typescript-fetch-api-client": "^7.0.0", diff --git a/package.json b/package.json index c6f5a27a..5a91f8c9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@bimdata/design-system", - "version": "1.2.0-rc.31", + "version": "1.2.0-rc.32", "main": "./dist/js/BIMDataComponents/index.js", "module": "./dist/js/BIMDataComponents/index.js", "files": [ From 3446e484b6b2e54cdb5ddc7b158aad6ca4dde857 Mon Sep 17 00:00:00 2001 From: Paul Vilalta <64323277+pvilalta@users.noreply.github.com> Date: Wed, 2 Mar 2022 11:08:48 +0100 Subject: [PATCH 11/50] MINOR: add of uploader's initials to documents (#176) --- .../components/FileCard.vue | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/src/BIMDataSmartComponents/BIMDataFileManager/components/FileCard.vue b/src/BIMDataSmartComponents/BIMDataFileManager/components/FileCard.vue index 0060e5ec..c04f5cf8 100644 --- a/src/BIMDataSmartComponents/BIMDataFileManager/components/FileCard.vue +++ b/src/BIMDataSmartComponents/BIMDataFileManager/components/FileCard.vue @@ -100,6 +100,11 @@ + @@ -197,6 +202,15 @@ export default { loading() { return this.file.fileToLoad; }, + initials() { + return ( + this.file.createdBy && + ( + `${this.file.createdBy.firstname[0] || ""}` + + `${this.file.createdBy.lastname[0] || ""}` + ).toUpperCase() + ); + }, }, async created() { document.addEventListener("keydown", this.onKeyDown); @@ -346,6 +360,7 @@ export default { display: flex; flex-direction: column; justify-content: space-between; + position: relative; box-sizing: border-box; font-size: 12px; @@ -359,6 +374,21 @@ export default { &__date { color: $color-granite-light; } + + &__initials { + position: absolute; + display: flex; + justify-content: center; + align-items: center; + background-color: $color-primary; + color: $color-silver-light; + line-height: 1px; + border-radius: 50%; + height: 25px; + width: 25px; + bottom: 10px; + right: 18px; + } } } } From 2b984dede65f6ca1a4e84b7ae9c88f369e849dbd Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Wed, 2 Mar 2022 10:09:20 +0000 Subject: [PATCH 12/50] chore(release): 1.2.0-rc.33 [skip ci] # [1.2.0-rc.33](https://github.com/bimdata/design-system/compare/v1.2.0-rc.32...v1.2.0-rc.33) (2022-03-02) ### MINOR * add of uploader's initials to documents (#176) ([3446e48](https://github.com/bimdata/design-system/commit/3446e484b6b2e54cdb5ddc7b158aad6ca4dde857)), closes [#176](https://github.com/bimdata/design-system/issues/176) --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index f79073a5..489e1795 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@bimdata/design-system", - "version": "1.2.0-rc.32", + "version": "1.2.0-rc.33", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@bimdata/design-system", - "version": "1.2.0-rc.32", + "version": "1.2.0-rc.33", "devDependencies": { "@babel/preset-env": "^7.10.2", "@bimdata/typescript-fetch-api-client": "^7.0.0", diff --git a/package.json b/package.json index 5a91f8c9..5027f6e0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@bimdata/design-system", - "version": "1.2.0-rc.32", + "version": "1.2.0-rc.33", "main": "./dist/js/BIMDataComponents/index.js", "module": "./dist/js/BIMDataComponents/index.js", "files": [ From cc6c1ad3e7c2f2b77015d274f87871ded17efc0d Mon Sep 17 00:00:00 2001 From: NicolasRichel Date: Fri, 4 Mar 2022 09:56:33 +0100 Subject: [PATCH 13/50] PATCH: fix(file-icon): ignore extension case (#178) Co-authored-by: NicolasRichel --- src/BIMDataComponents/BIMDataFileIcon/BIMDataFileIcon.vue | 2 +- .../BIMDataFileManager/components/FileCard.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BIMDataComponents/BIMDataFileIcon/BIMDataFileIcon.vue b/src/BIMDataComponents/BIMDataFileIcon/BIMDataFileIcon.vue index a3d4fbab..131bc373 100644 --- a/src/BIMDataComponents/BIMDataFileIcon/BIMDataFileIcon.vue +++ b/src/BIMDataComponents/BIMDataFileIcon/BIMDataFileIcon.vue @@ -23,7 +23,7 @@ export default { }, computed: { name() { - return this.getFileExtension(this.fileName) || "unknown"; + return (this.getFileExtension(this.fileName) || "unknown").toLowerCase(); }, imageUrl() { return icons[`icon_${this.name}`] || icons.icon_unknown; diff --git a/src/BIMDataSmartComponents/BIMDataFileManager/components/FileCard.vue b/src/BIMDataSmartComponents/BIMDataFileManager/components/FileCard.vue index c04f5cf8..fad97fb2 100644 --- a/src/BIMDataSmartComponents/BIMDataFileManager/components/FileCard.vue +++ b/src/BIMDataSmartComponents/BIMDataFileManager/components/FileCard.vue @@ -55,7 +55,7 @@
Date: Fri, 4 Mar 2022 08:57:07 +0000 Subject: [PATCH 14/50] chore(release): 1.2.0-rc.34 [skip ci] # [1.2.0-rc.34](https://github.com/bimdata/design-system/compare/v1.2.0-rc.33...v1.2.0-rc.34) (2022-03-04) ### PATCH * fix(file-icon): ignore extension case (#178) ([cc6c1ad](https://github.com/bimdata/design-system/commit/cc6c1ad3e7c2f2b77015d274f87871ded17efc0d)), closes [#178](https://github.com/bimdata/design-system/issues/178) --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 489e1795..a25452ae 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@bimdata/design-system", - "version": "1.2.0-rc.33", + "version": "1.2.0-rc.34", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@bimdata/design-system", - "version": "1.2.0-rc.33", + "version": "1.2.0-rc.34", "devDependencies": { "@babel/preset-env": "^7.10.2", "@bimdata/typescript-fetch-api-client": "^7.0.0", diff --git a/package.json b/package.json index 5027f6e0..98ee8383 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@bimdata/design-system", - "version": "1.2.0-rc.33", + "version": "1.2.0-rc.34", "main": "./dist/js/BIMDataComponents/index.js", "module": "./dist/js/BIMDataComponents/index.js", "files": [ From 97cb68a5fc11d70c64ee4d10d316c5f0dd087da3 Mon Sep 17 00:00:00 2001 From: NicolasRichel Date: Fri, 4 Mar 2022 10:30:58 +0100 Subject: [PATCH 15/50] PATCH: fix file-icon regex to ignore case --- src/BIMDataComponents/BIMDataFileIcon/BIMDataFileIcon.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BIMDataComponents/BIMDataFileIcon/BIMDataFileIcon.vue b/src/BIMDataComponents/BIMDataFileIcon/BIMDataFileIcon.vue index 131bc373..dbf9c789 100644 --- a/src/BIMDataComponents/BIMDataFileIcon/BIMDataFileIcon.vue +++ b/src/BIMDataComponents/BIMDataFileIcon/BIMDataFileIcon.vue @@ -31,7 +31,7 @@ export default { }, methods: { getFileExtension(fileName = "") { - const match = fileName.match(/\.([0-9a-z]+$)/); + const match = fileName.match(/\.([0-9a-zA-Z]+$)/); const extension = match && match[1]; if (extension && extension.toLowerCase() === "ifczip") { return "ifc"; From e7481977d8d93626f9fff0ead5ecc410a786c1e3 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Fri, 4 Mar 2022 09:31:36 +0000 Subject: [PATCH 16/50] chore(release): 1.2.0-rc.35 [skip ci] # [1.2.0-rc.35](https://github.com/bimdata/design-system/compare/v1.2.0-rc.34...v1.2.0-rc.35) (2022-03-04) ### PATCH * fix file-icon regex to ignore case ([97cb68a](https://github.com/bimdata/design-system/commit/97cb68a5fc11d70c64ee4d10d316c5f0dd087da3)) --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index a25452ae..d15ab03c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@bimdata/design-system", - "version": "1.2.0-rc.34", + "version": "1.2.0-rc.35", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@bimdata/design-system", - "version": "1.2.0-rc.34", + "version": "1.2.0-rc.35", "devDependencies": { "@babel/preset-env": "^7.10.2", "@bimdata/typescript-fetch-api-client": "^7.0.0", diff --git a/package.json b/package.json index 98ee8383..f22cab0d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@bimdata/design-system", - "version": "1.2.0-rc.34", + "version": "1.2.0-rc.35", "main": "./dist/js/BIMDataComponents/index.js", "module": "./dist/js/BIMDataComponents/index.js", "files": [ From acfd55c61d187cc9c596f6838d7e0b7b0b337e59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20LAGIER?= Date: Wed, 9 Mar 2022 11:43:37 +0100 Subject: [PATCH 17/50] PATCH: fix hover on disabled buttons (#179) --- .../BIMDataButton/_BIMDataButton.scss | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/src/BIMDataComponents/BIMDataButton/_BIMDataButton.scss b/src/BIMDataComponents/BIMDataButton/_BIMDataButton.scss index 2b807b2c..586eea18 100644 --- a/src/BIMDataComponents/BIMDataButton/_BIMDataButton.scss +++ b/src/BIMDataComponents/BIMDataButton/_BIMDataButton.scss @@ -92,9 +92,6 @@ background-color: var(--color-silver-dark); color: var(--color-white); cursor: auto; - &:hover { - background-color: transparent; - } } } &__ripple { @@ -108,7 +105,7 @@ radial-gradient(circle, transparent 1%, var(--color-silver-light) 1%) center/15000%; } - &:active { + &:active:not(:disabled) { background-color: var(--color-silver-light); background-size: 100%; transition: background 0s; @@ -122,7 +119,7 @@ radial-gradient(circle, transparent 1%, var(--color-primary) 1%) center/15000%; } - &:active { + &:active:not(:disabled) { background-color: var(--color-primary-light); background-size: 100%; transition: background 0s; @@ -136,7 +133,7 @@ radial-gradient(circle, transparent 1%, var(--color-secondary) 1%) center/15000%; } - &:active { + &:active:not(:disabled) { background-color: var(--color-secondary-light); background-size: 100%; transition: background 0s; @@ -150,7 +147,7 @@ radial-gradient(circle, transparent 1%, var(--color-granite) 1%) center/15000%; } - &:active { + &:active:not(:disabled) { background-color: var(--color-granite-light); background-size: 100%; transition: background 0s; @@ -164,7 +161,7 @@ radial-gradient(circle, transparent 1%, var(--color-high) 1%) center/15000%; } - &:active { + &:active:not(:disabled) { background-color: var(--color-high-light); background-size: 100%; transition: background 0s; @@ -178,12 +175,17 @@ radial-gradient(circle, transparent 1%, var(--color-success) 1%) center/15000%; } - &:active { + &:active:not(:disabled) { background-color: var(--color-success-light); background-size: 100%; transition: background 0s; } } + &:disabled { + background-color: var(--color-silver-dark); + color: var(--color-white); + cursor: auto; + } } &__outline { justify-content: center; From a7899ef0cce20cfaae06e5d6303e795dd4b0e0c9 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Wed, 9 Mar 2022 10:44:09 +0000 Subject: [PATCH 18/50] chore(release): 1.2.0-rc.36 [skip ci] # [1.2.0-rc.36](https://github.com/bimdata/design-system/compare/v1.2.0-rc.35...v1.2.0-rc.36) (2022-03-09) ### PATCH * fix hover on disabled buttons (#179) ([acfd55c](https://github.com/bimdata/design-system/commit/acfd55c61d187cc9c596f6838d7e0b7b0b337e59)), closes [#179](https://github.com/bimdata/design-system/issues/179) --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index d15ab03c..786632cc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@bimdata/design-system", - "version": "1.2.0-rc.35", + "version": "1.2.0-rc.36", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@bimdata/design-system", - "version": "1.2.0-rc.35", + "version": "1.2.0-rc.36", "devDependencies": { "@babel/preset-env": "^7.10.2", "@bimdata/typescript-fetch-api-client": "^7.0.0", diff --git a/package.json b/package.json index f22cab0d..c06f641d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@bimdata/design-system", - "version": "1.2.0-rc.35", + "version": "1.2.0-rc.36", "main": "./dist/js/BIMDataComponents/index.js", "module": "./dist/js/BIMDataComponents/index.js", "files": [ From 251e860d7a3ac4bb90d00fe012d673eafa09e6a5 Mon Sep 17 00:00:00 2001 From: NicolasRichel Date: Mon, 14 Mar 2022 15:36:58 +0100 Subject: [PATCH 19/50] MINOR: feat(components): rewrite bimdata-tooltip component (#177) * feat(components): rewrite bimdata-tooltip component * feat(tooltip): add 'success', 'warning' & 'high' colors * fix: add retro-compatibility with old tooltip impl Co-authored-by: NicolasRichel --- .../BIMDataTooltip/BIMDataTooltip.vue | 139 ++++++------ .../BIMDataTooltip/_BIMDataTooltip.scss | 189 +++++++++------- .../BIMDataTooltip/_keyframes.scss | 24 --- src/web/views/Components/Tooltip/Tooltip.vue | 202 ++++++++++-------- .../views/Components/Tooltip/_Tooltip.scss | 13 -- .../views/Components/Tooltip/props-data.js | 39 ++++ 6 files changed, 325 insertions(+), 281 deletions(-) delete mode 100644 src/BIMDataComponents/BIMDataTooltip/_keyframes.scss delete mode 100644 src/web/views/Components/Tooltip/_Tooltip.scss create mode 100644 src/web/views/Components/Tooltip/props-data.js diff --git a/src/BIMDataComponents/BIMDataTooltip/BIMDataTooltip.vue b/src/BIMDataComponents/BIMDataTooltip/BIMDataTooltip.vue index 61ddddff..410d9a56 100644 --- a/src/BIMDataComponents/BIMDataTooltip/BIMDataTooltip.vue +++ b/src/BIMDataComponents/BIMDataTooltip/BIMDataTooltip.vue @@ -2,33 +2,73 @@
+ +
- {{ message }} + +
+ {{ _text }} +
+
- - - + diff --git a/src/BIMDataComponents/BIMDataTooltip/_BIMDataTooltip.scss b/src/BIMDataComponents/BIMDataTooltip/_BIMDataTooltip.scss index b526ff53..b794a371 100644 --- a/src/BIMDataComponents/BIMDataTooltip/_BIMDataTooltip.scss +++ b/src/BIMDataComponents/BIMDataTooltip/_BIMDataTooltip.scss @@ -1,99 +1,142 @@ +@import "../../assets/scss/_BIMDataVariables.scss"; +@import "../../assets/scss/utilities/_text.scss"; @import "../../assets/scss/mixins/_font-size.scss"; @import "../../assets/scss/mixins/_pseudo.scss"; -@import "./_keyframes.scss"; .bimdata-tooltip { position: relative; - font-family: var(--primary-font); - font-size: calculateEm(14px); - &__text { - padding: 0 6px; - width: max-content; - height: 21px; - min-width: 56px; + + &__tooltip { position: absolute; - display: flex; - align-items: center; - justify-content: center; + z-index: 2; + min-width: 60px; + width: max-content; + padding: calc(var(--spacing-unit) / 3) calc(var(--spacing-unit) / 2); border-radius: 3px; - color: var(--color-white); - line-height: 25px; - opacity: 0; text-align: center; + white-space: normal; word-wrap: break-word; - font-size: calculateEm(11px); - z-index: 2; - &::first-letter { - text-transform: capitalize; - } - } - &--arrow { - height: 28px; - line-height: 28px; - font-size: calculateEm(12px); + &::before { - @include pseudo; - top: calc((28px - 8px) / 2); + content: ""; + position: absolute; border-style: solid; - border-width: 0 0 8px 8px; + border-width: 8px 0 0 8px; } - } - &--left { - &::before { - left: -4px; - right: auto; - transform: rotate(135deg); + + // --- Position styles --- + &.bimdata-tooltip--up, // retro-compatibility + &--top { + top: -8px; + left: 50%; + transform: translateX(-50%) translateY(-100%); + &::before { + top: calc(100% - 4px); + left: calc(50% - 4px); + transform: rotate(135deg); + } } - } - &--right { - &::before { - right: -4px; - left: auto; - transform: rotate(-45deg); + + &.bimdata-tooltip--left, // retro-compatibility + &--right { + top: 50%; + left: calc(100% + 8px); + transform: translateY(-50%); + &::before { + top: calc(50% - 4px); + left: -4px; + transform: rotate(-135deg); + } } - } - &--up, - &--bottom { - left: 50%; - transform: translate(-50%); - line-height: 1.5; - } - &--up { - &::before { - bottom: -6px; + + &.bimdata-tooltip--bottom, // retro-compatibility + &--bottom { + top: calc(100% + 8px); left: 50%; - transform: rotate(44deg); - transform-origin: center; + transform: translateX(-50%); + &::before { + top: -4px; + left: calc(50% - 4px); + transform: rotate(-45deg); + } } - } - &--bottom { - &::before { - top: -4px; - left: 47%; - transform: rotate(-135deg); + + &.bimdata-tooltip--right, // retro-compatibility + &--left { + top: 50%; + left: -8px; + transform: translateX(-100%) translateY(-50%); + &::before { + top: calc(50% - 4px); + left: calc(100% - 4px); + transform: rotate(45deg); + } } - } - &--primary { - background-color: var(--color-primary); - &.bimdata-tooltip--arrow { + + // --- Color styles --- + &--white { + background-color: var(--color-white); + color: var(--color-primary); &::before { - border-color: transparent transparent var(--color-primary); + border-color: var(--color-white) transparent transparent; } } - } - &--grey { - background-color: var(--color-granite-light); - &.bimdata-tooltip--arrow { + + &.bimdata-tooltip--primary, // retro-compatibility + &--primary { + background-color: var(--color-primary); + color: var(--color-white); &::before { - border-color: transparent transparent var(--color-granite-light); + border-color: var(--color-primary) transparent transparent; } } - } - &__content { - &:hover { - cursor: pointer; - & ~ .bimdata-tooltip__text { - opacity: 1; + + &--secondary { + background-color: $color-secondary; + color: $color-primary; + &::before { + border-color: var(--color-secondary) transparent transparent; + } + } + + &.bimdata-tooltip--grey, // retro-compatibility + &--granite-light { + background-color: var(--color-granite-light); + color: var(--color-white); + &::before { + border-color: var(--color-granite-light) transparent transparent; + } + } + + &--silver-light { + background-color: var(--color-silver-light); + color: var(--color-primary); + &::before { + border-color: var(--color-silver-light) transparent transparent; + } + } + + &--success { + background-color: var(--color-success); + color: var(--color-white); + &::before { + border-color: var(--color-success) transparent transparent; + } + } + + &--warning { + background-color: var(--color-warning); + color: var(--color-white); + &::before { + border-color: var(--color-warning) transparent transparent; + } + } + + &--high { + background-color: var(--color-high); + color: var(--color-white); + &::before { + border-color: var(--color-high) transparent transparent; } } } diff --git a/src/BIMDataComponents/BIMDataTooltip/_keyframes.scss b/src/BIMDataComponents/BIMDataTooltip/_keyframes.scss deleted file mode 100644 index 5a752027..00000000 --- a/src/BIMDataComponents/BIMDataTooltip/_keyframes.scss +++ /dev/null @@ -1,24 +0,0 @@ -@keyframes fadeIn { - 0% { - opacity: 0; - } - 50% { - opacity: 1; - } -} -@keyframes fadeOut { - 0% { - opacity: 1; - } - 50% { - opacity: 0; - } -} -@keyframes scale-up-center { - 0% { - transform: scale(0.5); - } - 100% { - transform: scale(1); - } -} diff --git a/src/web/views/Components/Tooltip/Tooltip.vue b/src/web/views/Components/Tooltip/Tooltip.vue index c4bb423b..0f87b3cb 100644 --- a/src/web/views/Components/Tooltip/Tooltip.vue +++ b/src/web/views/Components/Tooltip/Tooltip.vue @@ -1,52 +1,88 @@ - - diff --git a/src/web/views/Components/Tooltip/_Tooltip.scss b/src/web/views/Components/Tooltip/_Tooltip.scss deleted file mode 100644 index 3695392b..00000000 --- a/src/web/views/Components/Tooltip/_Tooltip.scss +++ /dev/null @@ -1,13 +0,0 @@ -.article-tooltip { - .bimdata-ds__demo { - &__module { - span { - &:hover { - & ~ .bimdata-tooltip { - opacity: 1; - } - } - } - } - } -} diff --git a/src/web/views/Components/Tooltip/props-data.js b/src/web/views/Components/Tooltip/props-data.js new file mode 100644 index 00000000..84fc7431 --- /dev/null +++ b/src/web/views/Components/Tooltip/props-data.js @@ -0,0 +1,39 @@ +/* eslint-disable */ +export default [ + ["Props", "Type", "Default value", "Required", "Description"], + [ + "text", + "String", + "", + "", + "Set tooltip text.", + ], + [ + "maxWidth", + "String", + "240px", + "", + "Set the maximum with of the tooltip." + ], + [ + "position", + "String (Enum)", + "bottom", + "true", + "Set tooltip postion. Must be one of: 'top', 'right', 'bottom', 'left'", + ], + [ + "color", + "String (Enum)", + "primary", + "true", + "Set tooltip color. Must be one of: 'white', 'primary', 'secondary', 'granite-light', 'silver-light'", + ], + [ + "disabled", + "Boolean", + "false", + "", + "If true, the tooltip will never be shown." + ] +]; From 49a0f9d6aab7bf9f555be5a36a54886d2d339d55 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Mon, 14 Mar 2022 14:37:29 +0000 Subject: [PATCH 20/50] chore(release): 1.2.0-rc.37 [skip ci] # [1.2.0-rc.37](https://github.com/bimdata/design-system/compare/v1.2.0-rc.36...v1.2.0-rc.37) (2022-03-14) ### MINOR * feat(components): rewrite bimdata-tooltip component (#177) ([251e860](https://github.com/bimdata/design-system/commit/251e860d7a3ac4bb90d00fe012d673eafa09e6a5)), closes [#177](https://github.com/bimdata/design-system/issues/177) --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 786632cc..1b91342f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@bimdata/design-system", - "version": "1.2.0-rc.36", + "version": "1.2.0-rc.37", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@bimdata/design-system", - "version": "1.2.0-rc.36", + "version": "1.2.0-rc.37", "devDependencies": { "@babel/preset-env": "^7.10.2", "@bimdata/typescript-fetch-api-client": "^7.0.0", diff --git a/package.json b/package.json index c06f641d..e1f0a238 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@bimdata/design-system", - "version": "1.2.0-rc.36", + "version": "1.2.0-rc.37", "main": "./dist/js/BIMDataComponents/index.js", "module": "./dist/js/BIMDataComponents/index.js", "files": [ From 3099054499b1bc8af6c51f003993f01a9dd5b03a Mon Sep 17 00:00:00 2001 From: Paul Vilalta <64323277+pvilalta@users.noreply.github.com> Date: Thu, 17 Mar 2022 09:40:57 +0100 Subject: [PATCH 21/50] PATCH: file-manager / long IFC name fix (#180) --- .../BIMDataFileManager/components/FileCard.vue | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/BIMDataSmartComponents/BIMDataFileManager/components/FileCard.vue b/src/BIMDataSmartComponents/BIMDataFileManager/components/FileCard.vue index fad97fb2..f58c2e40 100644 --- a/src/BIMDataSmartComponents/BIMDataFileManager/components/FileCard.vue +++ b/src/BIMDataSmartComponents/BIMDataFileManager/components/FileCard.vue @@ -289,7 +289,7 @@ export default { @import "../../../assets/scss/BIMDataVariables"; .file-card { - height: 174px; + height: 179px; display: flex; align-items: center; justify-content: center; @@ -356,7 +356,7 @@ export default { } &__footer { - height: 85px; + height: 90px; display: flex; flex-direction: column; justify-content: space-between; @@ -381,12 +381,13 @@ export default { justify-content: center; align-items: center; background-color: $color-primary; + font-size: calc(var(--spacing-unit) / 1.1); color: $color-silver-light; - line-height: 1px; + line-height: 2px; border-radius: 50%; - height: 25px; - width: 25px; - bottom: 10px; + height: 20px; + width: 20px; + bottom: 9px; right: 18px; } } From b16e4bbcd76406002fa932b15e7a851a2785e2e7 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Thu, 17 Mar 2022 08:41:29 +0000 Subject: [PATCH 22/50] chore(release): 1.2.0-rc.38 [skip ci] # [1.2.0-rc.38](https://github.com/bimdata/design-system/compare/v1.2.0-rc.37...v1.2.0-rc.38) (2022-03-17) ### PATCH * file-manager / long IFC name fix (#180) ([3099054](https://github.com/bimdata/design-system/commit/3099054499b1bc8af6c51f003993f01a9dd5b03a)), closes [#180](https://github.com/bimdata/design-system/issues/180) --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1b91342f..3a462f83 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@bimdata/design-system", - "version": "1.2.0-rc.37", + "version": "1.2.0-rc.38", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@bimdata/design-system", - "version": "1.2.0-rc.37", + "version": "1.2.0-rc.38", "devDependencies": { "@babel/preset-env": "^7.10.2", "@bimdata/typescript-fetch-api-client": "^7.0.0", diff --git a/package.json b/package.json index e1f0a238..b74c2e5c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@bimdata/design-system", - "version": "1.2.0-rc.37", + "version": "1.2.0-rc.38", "main": "./dist/js/BIMDataComponents/index.js", "module": "./dist/js/BIMDataComponents/index.js", "files": [ From c0a9edda68d6abbdcf417f5122a682bdee9c1d90 Mon Sep 17 00:00:00 2001 From: Kurtil Date: Thu, 17 Mar 2022 09:58:59 +0100 Subject: [PATCH 23/50] PATCH: add empty measure illustration --- package-lock.json | 5 --- .../EmptyMeasure.vue | 44 +++++++++++++++++++ .../BIMDataLibraryIllustrations/index.js | 2 + .../Components/Illustrations/Illustrations.js | 5 +++ 4 files changed, 51 insertions(+), 5 deletions(-) create mode 100644 src/BIMDataComponents/BIMDataIllustration/BIMDataLibraryIllustrations/EmptyMeasure.vue diff --git a/package-lock.json b/package-lock.json index 3a462f83..7cefed0c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17619,11 +17619,6 @@ "safer-buffer": "^2.0.2", "tweetnacl": "~0.14.0" }, - "bin": { - "sshpk-conv": "bin/sshpk-conv", - "sshpk-sign": "bin/sshpk-sign", - "sshpk-verify": "bin/sshpk-verify" - }, "engines": { "node": ">=0.10.0" } diff --git a/src/BIMDataComponents/BIMDataIllustration/BIMDataLibraryIllustrations/EmptyMeasure.vue b/src/BIMDataComponents/BIMDataIllustration/BIMDataLibraryIllustrations/EmptyMeasure.vue new file mode 100644 index 00000000..f85f69ce --- /dev/null +++ b/src/BIMDataComponents/BIMDataIllustration/BIMDataLibraryIllustrations/EmptyMeasure.vue @@ -0,0 +1,44 @@ + diff --git a/src/BIMDataComponents/BIMDataIllustration/BIMDataLibraryIllustrations/index.js b/src/BIMDataComponents/BIMDataIllustration/BIMDataLibraryIllustrations/index.js index ee89a102..6333eaae 100644 --- a/src/BIMDataComponents/BIMDataIllustration/BIMDataLibraryIllustrations/index.js +++ b/src/BIMDataComponents/BIMDataIllustration/BIMDataLibraryIllustrations/index.js @@ -1,6 +1,7 @@ import click from "./Click.vue"; import emptyBcf from "./EmptyBcf.vue"; import emptyBucket from "./EmptyBucket.vue"; +import emptyMeasure from "./EmptyMeasure.vue"; import emptyProperties from "./EmptyProperties.vue"; import emptySectionPlanes from "./EmptySectionPlanes.vue"; import emptyTree from "./EmptyTree.vue"; @@ -15,6 +16,7 @@ export default { click, emptyBcf, emptyBucket, + emptyMeasure, emptyProperties, emptySectionPlanes, emptyTree, diff --git a/src/web/views/Components/Illustrations/Illustrations.js b/src/web/views/Components/Illustrations/Illustrations.js index 24f0bc71..21c0d8f8 100644 --- a/src/web/views/Components/Illustrations/Illustrations.js +++ b/src/web/views/Components/Illustrations/Illustrations.js @@ -14,6 +14,11 @@ export default Object.freeze([ x: "90", y: "90", }, + { + name: "emptyMeasure", + x: "90", + y: "90", + }, { name: "emptyProperties", x: "90", From b262aa38a036be166491e9cb6bb9e5a52e9a8157 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Thu, 17 Mar 2022 09:00:20 +0000 Subject: [PATCH 24/50] chore(release): 1.2.0-rc.39 [skip ci] # [1.2.0-rc.39](https://github.com/bimdata/design-system/compare/v1.2.0-rc.38...v1.2.0-rc.39) (2022-03-17) ### PATCH * add empty measure illustration ([c0a9edd](https://github.com/bimdata/design-system/commit/c0a9edda68d6abbdcf417f5122a682bdee9c1d90)) --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7cefed0c..b7c79b48 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@bimdata/design-system", - "version": "1.2.0-rc.38", + "version": "1.2.0-rc.39", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@bimdata/design-system", - "version": "1.2.0-rc.38", + "version": "1.2.0-rc.39", "devDependencies": { "@babel/preset-env": "^7.10.2", "@bimdata/typescript-fetch-api-client": "^7.0.0", diff --git a/package.json b/package.json index b74c2e5c..683b9e53 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@bimdata/design-system", - "version": "1.2.0-rc.38", + "version": "1.2.0-rc.39", "main": "./dist/js/BIMDataComponents/index.js", "module": "./dist/js/BIMDataComponents/index.js", "files": [ From c6d5d291cae87544b929bc66eb7d3b980611e4c8 Mon Sep 17 00:00:00 2001 From: NicolasRichel Date: Thu, 24 Mar 2022 16:00:06 +0100 Subject: [PATCH 25/50] PATCH: fix(input): set autocomplete 'off' by default on bimdata-input (#183) Co-authored-by: NicolasRichel --- src/BIMDataComponents/BIMDataInput/BIMDataInput.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/BIMDataComponents/BIMDataInput/BIMDataInput.vue b/src/BIMDataComponents/BIMDataInput/BIMDataInput.vue index f5b65601..080f1ea8 100644 --- a/src/BIMDataComponents/BIMDataInput/BIMDataInput.vue +++ b/src/BIMDataComponents/BIMDataInput/BIMDataInput.vue @@ -17,6 +17,7 @@ @blur="$emit('blur', $event)" @keypress="$emit('keypress', $event)" @change="$emit('change', $event)" + :autocomplete="autocomplete ? 'on' : 'off'" v-bind="$attrs" />
@@ -74,6 +75,10 @@ export default { type: String, default: "12px 0px", }, + autocomplete: { + type: Boolean, + default: false, + }, }, emits: ["update:modelValue", "blur", "keypress", "focus", "change"], computed: { From d65c206368e7c28b69e1ba5e84a586c40232eb84 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Thu, 24 Mar 2022 15:01:18 +0000 Subject: [PATCH 26/50] chore(release): 1.2.0-rc.40 [skip ci] # [1.2.0-rc.40](https://github.com/bimdata/design-system/compare/v1.2.0-rc.39...v1.2.0-rc.40) (2022-03-24) ### PATCH * fix(input): set autocomplete 'off' by default on bimdata-input (#183) ([c6d5d29](https://github.com/bimdata/design-system/commit/c6d5d291cae87544b929bc66eb7d3b980611e4c8)), closes [#183](https://github.com/bimdata/design-system/issues/183) --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index b7c79b48..482d0781 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@bimdata/design-system", - "version": "1.2.0-rc.39", + "version": "1.2.0-rc.40", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@bimdata/design-system", - "version": "1.2.0-rc.39", + "version": "1.2.0-rc.40", "devDependencies": { "@babel/preset-env": "^7.10.2", "@bimdata/typescript-fetch-api-client": "^7.0.0", diff --git a/package.json b/package.json index 683b9e53..5d3fb193 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@bimdata/design-system", - "version": "1.2.0-rc.39", + "version": "1.2.0-rc.40", "main": "./dist/js/BIMDataComponents/index.js", "module": "./dist/js/BIMDataComponents/index.js", "files": [ From 9392ea1613e3212002a730ff68ca9297f65d4f28 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 24 Mar 2022 15:20:28 +0000 Subject: [PATCH 27/50] chore(deps): bump minimist from 1.2.5 to 1.2.6 Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. - [Release notes](https://github.com/substack/minimist/releases) - [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6) --- updated-dependencies: - dependency-name: minimist dependency-type: indirect ... Signed-off-by: dependabot[bot] --- package-lock.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 482d0781..4bea4abf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14321,9 +14321,9 @@ } }, "node_modules/minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", + "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==", "dev": true }, "node_modules/minimist-options": { @@ -38847,9 +38847,9 @@ } }, "minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", + "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==", "dev": true }, "minimist-options": { From f7e0574367d5466716123c4a4d009987e109feba Mon Sep 17 00:00:00 2001 From: LrxGaelle Date: Fri, 25 Mar 2022 08:20:40 +0100 Subject: [PATCH 28/50] use CSS Variables instead of scss variables (#182) --- .../BIMDataFileManager.scss | 31 ++++++++++++------- .../components/FileCard.vue | 28 ++++++++--------- .../MultiLineTextBox/MultiLineTextBox.vue | 3 +- .../components/modals/DeleteModal.vue | 12 +++---- .../components/modals/RenameModal.vue | 8 ++--- .../components/newFolder/NewFolderButton.vue | 4 +-- .../components/newFolder/NewFolderForm.vue | 12 +++---- 7 files changed, 53 insertions(+), 45 deletions(-) diff --git a/src/BIMDataSmartComponents/BIMDataFileManager/BIMDataFileManager.scss b/src/BIMDataSmartComponents/BIMDataFileManager/BIMDataFileManager.scss index 50017122..d9b8db6d 100644 --- a/src/BIMDataSmartComponents/BIMDataFileManager/BIMDataFileManager.scss +++ b/src/BIMDataSmartComponents/BIMDataFileManager/BIMDataFileManager.scss @@ -5,17 +5,17 @@ display: flex; flex-direction: column; - gap: $spacing-unit; + gap: var(--spacing-unit); &__header { display: flex; - padding: 0 $spacing-unit; + padding: 0 var(--spacing-unit); &--xs { flex-direction: column; .bimdata-file-manager__header__upload { - margin: $spacing-unit 0; + margin: var(--spacing-unit) 0; } } @@ -24,26 +24,26 @@ flex-wrap: wrap; * { flex-shrink: 1; - flex-basis: calc(50% - calc($spacing-unit / 2)); + flex-basis: calc(50% - (var(--spacing-unit) / 2)); } .bimdata-file-manager__search { flex-basis: 100%; - margin-top: $spacing-unit; + margin-top: var(--spacing-unit); } .bimdata-file-manager__header__upload { - margin-left: $spacing-unit; + margin-left: var(--spacing-unit); } } &--l { .bimdata-file-manager__header__upload { - margin: 0 $spacing-unit; + margin: 0 var(--spacing-unit); } } } &__navigation { - padding: 0 $spacing-unit; + padding: 0 var(--spacing-unit); height: 31px; flex-shrink: 0; font-weight: bold; @@ -66,10 +66,19 @@ left: 0px; right: 0px; bottom: 0px; - background-color: rgba($color-primary, 0.9); display: flex; justify-content: center; align-items: center; + &::before { + content: ""; + height: 100%; + width: 100%; + position: absolute; + left: 0; + right: 0; + background-color: var(--color-primary); + opacity: 0.9; + } } &__container { @@ -77,8 +86,8 @@ height: 100%; &--empty { - margin: $spacing-unit; - background-color: $color-silver-light; + margin: var(--spacing-unit); + background-color: var(--color-silver-light); display: flex; justify-content: center; align-content: center; diff --git a/src/BIMDataSmartComponents/BIMDataFileManager/components/FileCard.vue b/src/BIMDataSmartComponents/BIMDataFileManager/components/FileCard.vue index f58c2e40..5be95f8e 100644 --- a/src/BIMDataSmartComponents/BIMDataFileManager/components/FileCard.vue +++ b/src/BIMDataSmartComponents/BIMDataFileManager/components/FileCard.vue @@ -299,22 +299,22 @@ export default { box-sizing: border-box; height: calc(100% - 24px); width: calc(100% - 24px); - background-color: $color-white; - box-shadow: $box-shadow; + background-color: var(--color-white); + box-shadow: var(--box-shadow); position: relative; &__menu { position: absolute; - background-color: $color-white; + background-color: var(--color-white); z-index: 1; - left: calc($spacing-unit / 3); - right: calc($spacing-unit / 3); - bottom: $spacing-unit; - box-shadow: $box-shadow; + left: calc(var(--spacing-unit) / 3); + right: calc(var(--spacing-unit) / 3); + bottom: var(--spacing-unit); + box-shadow: var(--box-shadow); } &--selected { - border: solid $color-primary 3px; + border: solid var(--color-primary) 3px; } &--disabled { @@ -341,7 +341,7 @@ export default { align-items: center; justify-content: center; position: relative; - border-bottom: solid 1px $color-silver-light; + border-bottom: solid 1px var(--color-silver-light); &__btn-menu { position: absolute; @@ -364,15 +364,15 @@ export default { box-sizing: border-box; font-size: 12px; - padding: $spacing-unit; + padding: var(--spacing-unit); &__name { font-weight: bold; - color: $color-granite; + color: var(--color-granite); } &__date { - color: $color-granite-light; + color: var(--color-granite-light); } &__initials { @@ -380,9 +380,9 @@ export default { display: flex; justify-content: center; align-items: center; - background-color: $color-primary; + background-color: var(--color-primary); font-size: calc(var(--spacing-unit) / 1.1); - color: $color-silver-light; + color: var(--color-silver-light); line-height: 2px; border-radius: 50%; height: 20px; diff --git a/src/BIMDataSmartComponents/BIMDataFileManager/components/MultiLineTextBox/MultiLineTextBox.vue b/src/BIMDataSmartComponents/BIMDataFileManager/components/MultiLineTextBox/MultiLineTextBox.vue index 544107c2..000b546f 100644 --- a/src/BIMDataSmartComponents/BIMDataFileManager/components/MultiLineTextBox/MultiLineTextBox.vue +++ b/src/BIMDataSmartComponents/BIMDataFileManager/components/MultiLineTextBox/MultiLineTextBox.vue @@ -135,8 +135,7 @@ export default { position: absolute; top: 0px; left: 0px; - - background-color: white; + background-color: var(--color-white); } &__text { position: absolute; diff --git a/src/BIMDataSmartComponents/BIMDataFileManager/components/modals/DeleteModal.vue b/src/BIMDataSmartComponents/BIMDataFileManager/components/modals/DeleteModal.vue index 1eede459..95d5dd7c 100644 --- a/src/BIMDataSmartComponents/BIMDataFileManager/components/modals/DeleteModal.vue +++ b/src/BIMDataSmartComponents/BIMDataFileManager/components/modals/DeleteModal.vue @@ -134,7 +134,7 @@ export default { @import "../../../../assets/scss/_BIMDataVariables.scss"; .delete-modal { - background-color: $color-white; + background-color: var(--color-white); display: flex; position: relative; @@ -143,8 +143,8 @@ export default { &__close { position: absolute; - right: $spacing-unit; - top: $spacing-unit; + right: var(--spacing-unit); + top: var(--spacing-unit); } &__content { @@ -164,12 +164,12 @@ export default { &__detail { font-size: small; - margin-top: calc($spacing-unit * 2); + margin-top: calc(var(--spacing-unit) * 2); } ul { width: 100%; - margin: calc($spacing-unit * 2) 0; + margin: calc(var(--spacing-unit) * 2) 0; } li { @@ -183,7 +183,7 @@ export default { width: 100%; justify-content: space-between; &-submit { - margin-left: $spacing-unit; + margin-left: var(--spacing-unit); } } } diff --git a/src/BIMDataSmartComponents/BIMDataFileManager/components/modals/RenameModal.vue b/src/BIMDataSmartComponents/BIMDataFileManager/components/modals/RenameModal.vue index 77ae7715..7be635b7 100644 --- a/src/BIMDataSmartComponents/BIMDataFileManager/components/modals/RenameModal.vue +++ b/src/BIMDataSmartComponents/BIMDataFileManager/components/modals/RenameModal.vue @@ -148,7 +148,7 @@ export default { @import "../../../../assets/scss/_BIMDataVariables.scss"; .rename-modal { - background-color: $color-white; + background-color: var(--color-white); display: flex; position: relative; @@ -157,8 +157,8 @@ export default { &__close { position: absolute; - right: $spacing-unit; - top: $spacing-unit; + right: var(--spacing-unit); + top: var(--spacing-unit); } &__content { @@ -184,7 +184,7 @@ export default { width: 100%; justify-content: space-between; &-submit { - margin-left: $spacing-unit; + margin-left: var(--spacing-unit); } } } diff --git a/src/BIMDataSmartComponents/BIMDataFileManager/components/newFolder/NewFolderButton.vue b/src/BIMDataSmartComponents/BIMDataFileManager/components/newFolder/NewFolderButton.vue index 2782ff5a..264c344e 100644 --- a/src/BIMDataSmartComponents/BIMDataFileManager/components/newFolder/NewFolderButton.vue +++ b/src/BIMDataSmartComponents/BIMDataFileManager/components/newFolder/NewFolderButton.vue @@ -110,10 +110,10 @@ export default { &__form { position: absolute; - top: calc(100% + $spacing-unit); + top: calc(100% + var(--spacing-unit)); left: 0px; width: 260px; - box-shadow: $box-shadow; + box-shadow: var(--box-shadow); z-index: 1; } } diff --git a/src/BIMDataSmartComponents/BIMDataFileManager/components/newFolder/NewFolderForm.vue b/src/BIMDataSmartComponents/BIMDataFileManager/components/newFolder/NewFolderForm.vue index 010348a4..94a2fcef 100644 --- a/src/BIMDataSmartComponents/BIMDataFileManager/components/newFolder/NewFolderForm.vue +++ b/src/BIMDataSmartComponents/BIMDataFileManager/components/newFolder/NewFolderForm.vue @@ -133,8 +133,8 @@ export default { @import "../../../../assets/scss/_BIMDataVariables.scss"; .folder-creation-form { - padding: $spacing-unit; - background-color: $color-white; + padding: var(--spacing-unit); + background-color: var(--color-white); display: flex; flex-wrap: wrap; @@ -143,12 +143,12 @@ export default { width: 100%; display: flex; align-items: flex-end; - gap: calc($spacing-unit) / 2; - color: $color-primary; + gap: calc(var(--spacing-unit)) / 2; + color: var(--color-primary); span { font-size: small; - margin-left: $spacing-unit / 2; + margin-left: var(--spacing-unit) / 2; } } @@ -162,7 +162,7 @@ export default { } &__btn-submit { - margin-left: $spacing-unit; + margin-left: var(--spacing-unit); } } From c6b96ae50c54249c68177e854ce5052562e1aeaf Mon Sep 17 00:00:00 2001 From: Paul Vilalta <64323277+pvilalta@users.noreply.github.com> Date: Wed, 30 Mar 2022 10:20:37 +0200 Subject: [PATCH 29/50] MINOR: add message as property for BIMDataLoading (#186) * add message as property for BIMDataLoading --- .../BIMDataLoading/BIMDataLoading.vue | 13 ++++++++++++- .../BIMDataLoading/_BIMDataLoading.scss | 4 ++++ src/web/views/Components/Loaders/Loaders.vue | 14 ++++++++++++++ 3 files changed, 30 insertions(+), 1 deletion(-) diff --git a/src/BIMDataComponents/BIMDataLoading/BIMDataLoading.vue b/src/BIMDataComponents/BIMDataLoading/BIMDataLoading.vue index 19cab599..5eb3084a 100644 --- a/src/BIMDataComponents/BIMDataLoading/BIMDataLoading.vue +++ b/src/BIMDataComponents/BIMDataLoading/BIMDataLoading.vue @@ -2,7 +2,8 @@
loading...

{{ message }}

+

{{ subMessage }}

@@ -13,6 +14,16 @@ export default { components: { BIMDataText, }, + props: { + message: { + type: String, + default: "loading...", + }, + subMessage: { + type: String, + default: "", + }, + }, }; diff --git a/src/BIMDataComponents/BIMDataLoading/_BIMDataLoading.scss b/src/BIMDataComponents/BIMDataLoading/_BIMDataLoading.scss index 110ab61c..3a88150f 100644 --- a/src/BIMDataComponents/BIMDataLoading/_BIMDataLoading.scss +++ b/src/BIMDataComponents/BIMDataLoading/_BIMDataLoading.scss @@ -32,4 +32,8 @@ margin-top: 12px; display: block; } + p { + text-align: center; + margin: 0; + } } diff --git a/src/web/views/Components/Loaders/Loaders.vue b/src/web/views/Components/Loaders/Loaders.vue index 03541a7a..be791e1b 100644 --- a/src/web/views/Components/Loaders/Loaders.vue +++ b/src/web/views/Components/Loaders/Loaders.vue @@ -27,6 +27,15 @@ form validation)

+
+ BIMDataLoading props: + +