diff --git a/rollup.config.js b/rollup.config.js index ee28fceb..73b47e06 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -53,14 +53,25 @@ function getAllComponentsBundleConfiguration() { replace({ "~@/assets": "node_modules/@bimdata/design-system/dist", delimiters: ["", ""], + preventAssignment: true, }), css({ output: "dist/css/design-system.css", }), copy({ targets: [ - { src: "src/assets/fonts", dest: "dist" }, - { src: "src/assets/scss", dest: "dist" }, + { + src: "src/assets/fonts", + dest: "dist", + }, + { + src: "src/assets/scss", + dest: "dist", + }, + { + src: "src/BIMDataComponents/BIMDataColorSelector/colors.js", + dest: "dist", + }, { src: "src/assets/css/_BIMDataFonts.css", dest: "dist/css", @@ -106,6 +117,7 @@ function getAllComponentsBundleConfiguration() { replace({ "~@/assets": "node_modules/@bimdata/design-system/dist", delimiters: ["", ""], + preventAssignment: true, }), vue3({ template: { isProduction: true }, @@ -136,6 +148,7 @@ function getSingleSmartComponentConfigurations() { replace({ "~@/assets": "node_modules/@bimdata/design-system/dist", delimiters: ["", ""], + preventAssignment: true, }), vue2({ template: { isProduction: true }, @@ -196,6 +209,7 @@ function getSingleComponentConfigurations() { replace({ "~@/assets": "node_modules/@bimdata/design-system/dist", delimiters: ["", ""], + preventAssignment: true, }), vue2({ template: { isProduction: true }, @@ -223,6 +237,7 @@ function getSingleComponentConfigurations() { replace({ "~@/assets": "node_modules/@bimdata/design-system/dist", delimiters: ["", ""], + preventAssignment: true, }), vue3({ template: { isProduction: true }, diff --git a/src/BIMDataComponents/BIMDataFileIcon/file-icons/index.js b/src/BIMDataComponents/BIMDataFileIcon/file-icons/index.js index fb0225b9..6fbeda3c 100644 --- a/src/BIMDataComponents/BIMDataFileIcon/file-icons/index.js +++ b/src/BIMDataComponents/BIMDataFileIcon/file-icons/index.js @@ -108,7 +108,6 @@ import icon_iff from "./iff.svg"; import icon_image from "./image.svg"; import icon_img from "./img.svg"; import icon_indd from "./indd.svg"; -import icon_index from "./index.js"; import icon_inf from "./inf.svg"; import icon_ini from "./ini.svg"; import icon_iso from "./iso.svg"; @@ -392,7 +391,6 @@ export default { icon_image, icon_img, icon_indd, - icon_index, icon_inf, icon_ini, icon_iso, diff --git a/src/assets/scss/mixins/_font-size.scss b/src/assets/scss/mixins/_font-size.scss index f33d927a..76e1f8ad 100644 --- a/src/assets/scss/mixins/_font-size.scss +++ b/src/assets/scss/mixins/_font-size.scss @@ -9,5 +9,5 @@ $browser-context: 14; $context: $context * 1px; } - @return $pixels / $context * 1em; + @return calc($pixels / $context * 1em); } \ No newline at end of file