diff --git a/.eslintrc.json b/.eslintrc.json index 4a87c8ea..5f7a672f 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -22,6 +22,7 @@ "linebreak-style": ["error", "unix"], "quotes": ["error", "double", "avoid-escape"], "semi": ["error", "always"], + "vue/multi-word-component-names": "off", "vue/order-in-components": [ "error", { diff --git a/.npmignore b/.npmignore index 5d0c303a..bd9bde3e 100644 --- a/.npmignore +++ b/.npmignore @@ -1,5 +1,2 @@ -# ignore test files -src/**/__test__/ - # ignore design system app files src/web/ diff --git a/package.json b/package.json index 705c4a40..f3b3f632 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,6 @@ "src/BIMDataDirectives", "src/BIMDataSmartComponents", "design-system.png", - "index.js", "vue3-plugin.js" ], "scripts": { @@ -41,4 +40,4 @@ "vue-router": "^4.2.2", "vue3-clipboard": "^1.0.0" } -} +} \ No newline at end of file diff --git a/src/BIMDataComponents/BIMDataBigSpinner/BIMDataBigSpinner.vue b/src/BIMDataComponents/BIMDataBigSpinner/BIMDataBigSpinner.vue index 0a94680e..96798b7d 100644 --- a/src/BIMDataComponents/BIMDataBigSpinner/BIMDataBigSpinner.vue +++ b/src/BIMDataComponents/BIMDataBigSpinner/BIMDataBigSpinner.vue @@ -40,7 +40,4 @@ export default { }; - + diff --git a/src/BIMDataComponents/BIMDataBigSpinner/_BIMDataBigSpinner.scss b/src/BIMDataComponents/BIMDataBigSpinner/_BIMDataBigSpinner.scss index 41a051d9..39c8a464 100644 --- a/src/BIMDataComponents/BIMDataBigSpinner/_BIMDataBigSpinner.scss +++ b/src/BIMDataComponents/BIMDataBigSpinner/_BIMDataBigSpinner.scss @@ -1,3 +1,5 @@ +@import "./_keyframes.scss"; + .animate-draw { opacity: 1; animation: 0.5s ease-in-out 0s infinite alternate fadeInOut; diff --git a/src/BIMDataComponents/BIMDataBreadcrumb/BIMDataBreadcrumb.vue b/src/BIMDataComponents/BIMDataBreadcrumb/BIMDataBreadcrumb.vue index 127992b5..3f90afd8 100644 --- a/src/BIMDataComponents/BIMDataBreadcrumb/BIMDataBreadcrumb.vue +++ b/src/BIMDataComponents/BIMDataBreadcrumb/BIMDataBreadcrumb.vue @@ -100,7 +100,7 @@ export default { }; - - - + diff --git a/src/BIMDataComponents/BIMDataButton/_BIMDataButton.scss b/src/BIMDataComponents/BIMDataButton/_BIMDataButton.scss index 586eea18..f37f65b5 100644 --- a/src/BIMDataComponents/BIMDataButton/_BIMDataButton.scss +++ b/src/BIMDataComponents/BIMDataButton/_BIMDataButton.scss @@ -1,4 +1,5 @@ @import "../../assets/scss/mixins/_font-size.scss"; + .bimdata-btn { padding: 0 var(--spacing-unit); height: fit-content; diff --git a/src/BIMDataComponents/BIMDataButton/__tests__/BIMDataButton.test.js b/src/BIMDataComponents/BIMDataButton/__tests__/BIMDataButton.test.js deleted file mode 100644 index 9ad78a45..00000000 --- a/src/BIMDataComponents/BIMDataButton/__tests__/BIMDataButton.test.js +++ /dev/null @@ -1,47 +0,0 @@ -import { shallowMount } from "@vue/test-utils"; -import BIMDataButton from "../BIMDataButton.vue"; - -describe("BIMDataButton", () => { - it("should render component and match snapshot", () => { - const wrapper = shallowMount(BIMDataButton); - expect(wrapper.html()).toMatchSnapshot(); - }); - - it("should render a button with a slot and match snapshot", () => { - const wrapper = shallowMount(BIMDataButton, { - slots: { - default: "test", - }, - }); - expect(wrapper.html()).toMatchSnapshot(); - }); - - it("should render a button with a custom width and match snapshot", () => { - const wrapper = shallowMount(BIMDataButton, { - propsData: { - width: "50px", - }, - }); - expect(wrapper.html()).toMatchSnapshot(); - }); - - it("should render a button with a custom height and match snapshot", () => { - const wrapper = shallowMount(BIMDataButton, { - propsData: { - height: "50px", - }, - }); - expect(wrapper.html()).toMatchSnapshot(); - }); - - it("should emit a click event", () => { - const onClick = jest.fn(); - const wrapper = shallowMount(BIMDataButton, { - listeners: { - click: onClick, - }, - }); - wrapper.trigger("click"); - expect(onClick).toHaveBeenCalled(); - }); -}); diff --git a/src/BIMDataComponents/BIMDataButton/__tests__/__snapshots__/BIMDataButton.test.js.snap b/src/BIMDataComponents/BIMDataButton/__tests__/__snapshots__/BIMDataButton.test.js.snap deleted file mode 100644 index d859c4f5..00000000 --- a/src/BIMDataComponents/BIMDataButton/__tests__/__snapshots__/BIMDataButton.test.js.snap +++ /dev/null @@ -1,9 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`BIMDataButton should render a button with a custom height and match snapshot 1`] = `""`; - -exports[`BIMDataButton should render a button with a custom width and match snapshot 1`] = `""`; - -exports[`BIMDataButton should render a button with a slot and match snapshot 1`] = `""`; - -exports[`BIMDataButton should render component and match snapshot 1`] = `""`; diff --git a/src/BIMDataComponents/BIMDataCard/BIMDataCard.vue b/src/BIMDataComponents/BIMDataCard/BIMDataCard.vue index 1de4ba20..5e5a0cbf 100644 --- a/src/BIMDataComponents/BIMDataCard/BIMDataCard.vue +++ b/src/BIMDataComponents/BIMDataCard/BIMDataCard.vue @@ -73,9 +73,4 @@ export default { }; - - - + diff --git a/src/BIMDataComponents/BIMDataCard/BIMDataCardBand.vue b/src/BIMDataComponents/BIMDataCard/BIMDataCardBand.vue index a26d43ea..99e1a4af 100644 --- a/src/BIMDataComponents/BIMDataCard/BIMDataCardBand.vue +++ b/src/BIMDataComponents/BIMDataCard/BIMDataCardBand.vue @@ -18,6 +18,4 @@ export default { }; - - - + diff --git a/src/BIMDataComponents/BIMDataCard/_BIMDataCard.scss b/src/BIMDataComponents/BIMDataCard/_BIMDataCard.scss index 56772581..46b69421 100644 --- a/src/BIMDataComponents/BIMDataCard/_BIMDataCard.scss +++ b/src/BIMDataComponents/BIMDataCard/_BIMDataCard.scss @@ -1,4 +1,5 @@ @import "../../assets/scss/mixins/_font-size.scss"; + .bimdata-card { background-color: var(--color-white); box-shadow: var(--box-shadow); diff --git a/src/BIMDataComponents/BIMDataCard/__tests__/BIMDataCard.test.js b/src/BIMDataComponents/BIMDataCard/__tests__/BIMDataCard.test.js deleted file mode 100644 index d3d6c113..00000000 --- a/src/BIMDataComponents/BIMDataCard/__tests__/BIMDataCard.test.js +++ /dev/null @@ -1,81 +0,0 @@ -import { shallowMount } from "@vue/test-utils"; -import BIMDataCard from "../BIMDataCard.vue"; - -describe("BIMDataCard", () => { - it("should render component and match snapshot", () => { - const wrapper = shallowMount(BIMDataCard); - expect(wrapper.html()).toMatchSnapshot(); - }); - - it("should render component with title header", () => { - const wrapper = shallowMount(BIMDataCard, { - propsData: { - titleHeader: "Hearder title card", - }, - }); - expect(wrapper.html()).toMatchSnapshot(); - }); - - it("should render component with submenu text", () => { - const wrapper = shallowMount(BIMDataCard, { - propsData: { - submenuText: "Submenu text card", - }, - }); - expect(wrapper.html()).toMatchSnapshot(); - }); - - it("should render component with a custom width", () => { - const wrapper = shallowMount(BIMDataCard, { - propsData: { - width: "350px", - }, - }); - expect(wrapper.html()).toMatchSnapshot(); - }); - - it("should render a card with a headerIcons slot and match snapshot", () => { - const wrapper = shallowMount(BIMDataCard, { - slots: { - headerIcons: "header icons slot", - }, - }); - expect(wrapper.html()).toMatchSnapshot(); - }); - - it("should render a card with a left slot and match snapshot", () => { - const wrapper = shallowMount(BIMDataCard, { - slots: { - left: "left slot", - }, - }); - expect(wrapper.html()).toMatchSnapshot(); - }); - - it("should render a card with a left slot and match snapshot", () => { - const wrapper = shallowMount(BIMDataCard, { - slots: { - right: "right slot", - }, - }); - expect(wrapper.html()).toMatchSnapshot(); - }); - - it("should render a card with a content slot and match snapshot", () => { - const wrapper = shallowMount(BIMDataCard, { - slots: { - content: "content slot", - }, - }); - expect(wrapper.html()).toMatchSnapshot(); - }); - - it("should render a card with a footer slot and match snapshot", () => { - const wrapper = shallowMount(BIMDataCard, { - slots: { - footer: "footer slot", - }, - }); - expect(wrapper.html()).toMatchSnapshot(); - }); -}); diff --git a/src/BIMDataComponents/BIMDataCard/__tests__/__snapshots__/BIMDataCard.test.js.snap b/src/BIMDataComponents/BIMDataCard/__tests__/__snapshots__/BIMDataCard.test.js.snap deleted file mode 100644 index ca32652a..00000000 --- a/src/BIMDataComponents/BIMDataCard/__tests__/__snapshots__/BIMDataCard.test.js.snap +++ /dev/null @@ -1,82 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`BIMDataCard should render a card with a content slot and match snapshot 1`] = ` -"
- - -
content slot
- -
" -`; - -exports[`BIMDataCard should render a card with a footer slot and match snapshot 1`] = ` -"
- - - - -
" -`; - -exports[`BIMDataCard should render a card with a headerIcons slot and match snapshot 1`] = ` -"
- - - - -
" -`; - -exports[`BIMDataCard should render a card with a left slot and match snapshot 1`] = ` -"
- - - - -
" -`; - -exports[`BIMDataCard should render a card with a left slot and match snapshot 2`] = ` -"
- - - - -
" -`; - -exports[`BIMDataCard should render component and match snapshot 1`] = ` -"
- - - - -
" -`; - -exports[`BIMDataCard should render component with a custom width 1`] = ` -"
- - - - -
" -`; - -exports[`BIMDataCard should render component with submenu text 1`] = ` -"
- - - - -
" -`; - -exports[`BIMDataCard should render component with title header 1`] = ` -"
- - - - -
" -`; diff --git a/src/BIMDataComponents/BIMDataCheckbox/BIMDataCheckbox.vue b/src/BIMDataComponents/BIMDataCheckbox/BIMDataCheckbox.vue index 91ce5ca8..0735917a 100644 --- a/src/BIMDataComponents/BIMDataCheckbox/BIMDataCheckbox.vue +++ b/src/BIMDataComponents/BIMDataCheckbox/BIMDataCheckbox.vue @@ -65,9 +65,4 @@ export default { }; - - - + diff --git a/src/BIMDataComponents/BIMDataCheckbox/_BIMDataCheckbox.scss b/src/BIMDataComponents/BIMDataCheckbox/_BIMDataCheckbox.scss index 300ace41..18863f73 100644 --- a/src/BIMDataComponents/BIMDataCheckbox/_BIMDataCheckbox.scss +++ b/src/BIMDataComponents/BIMDataCheckbox/_BIMDataCheckbox.scss @@ -1,5 +1,5 @@ -// import BIMDATA MIXINS @import "../../assets/scss/mixins/_font-size.scss"; + //custom LABEL .bimdata-checkbox { position: relative; diff --git a/src/BIMDataComponents/BIMDataCheckbox/__tests__/BIMDataCheckbox.test.js b/src/BIMDataComponents/BIMDataCheckbox/__tests__/BIMDataCheckbox.test.js deleted file mode 100644 index 1358f56d..00000000 --- a/src/BIMDataComponents/BIMDataCheckbox/__tests__/BIMDataCheckbox.test.js +++ /dev/null @@ -1,95 +0,0 @@ -import { shallowMount } from "@vue/test-utils"; -import BIMDataCheckbox from "../BIMDataCheckbox.vue"; - -describe("BIMDataCheckbox", () => { - it("should render component and match snapshot", () => { - const wrapper = shallowMount(BIMDataCheckbox, { - propsData: { - modelValue: false, - }, - }); - expect(wrapper.html()).toMatchSnapshot(); - }); - - it("should render component with text and match snapshot", () => { - const wrapper = shallowMount(BIMDataCheckbox, { - propsData: { - modelValue: false, - text: "text checkbox", - }, - }); - expect(wrapper.html()).toMatchSnapshot(); - }); - - it("should contain 'bimdata-checkbox' class when state false", () => { - const wrapper = shallowMount(BIMDataCheckbox, { - propsData: { - modelValue: false, - }, - }); - - expect(wrapper.html()).toMatchSnapshot(); - }); - - it("should contain 'bimdata-chekbox' and 'checked' class when state true", () => { - const wrapper = shallowMount(BIMDataCheckbox, { - propsData: { - modelValue: true, - }, - }); - - expect(wrapper.html()).toMatchSnapshot(); - }); - - it("should contain 'bimdata-chekbox', 'checked' and 'indeterminate' class when state null", () => { - const wrapper = shallowMount(BIMDataCheckbox, { - propsData: { - modelValue: null, - }, - }); - - expect(wrapper.html()).toMatchSnapshot(); - }); - - it("should emit change with true if state is false", () => { - const onClick = jest.fn(); - const wrapper = shallowMount(BIMDataCheckbox, { - propsData: { - modelValue: false, - }, - listeners: { - "update:modelValue": onClick, - }, - }); - wrapper.trigger("click"); - expect(onClick).toHaveBeenCalledWith(true); - }); - - it("should emit change with false if state is true", () => { - const onClick = jest.fn(); - const wrapper = shallowMount(BIMDataCheckbox, { - propsData: { - modelValue: true, - }, - listeners: { - "update:modelValue": onClick, - }, - }); - wrapper.trigger("click"); - expect(onClick).toHaveBeenCalledWith(false); - }); - - it("should emit change with false if state is null", () => { - const onClick = jest.fn(); - const wrapper = shallowMount(BIMDataCheckbox, { - propsData: { - modelValue: null, - }, - listeners: { - "update:modelValue": onClick, - }, - }); - wrapper.trigger("click"); - expect(onClick).toHaveBeenCalledWith(false); - }); -}); diff --git a/src/BIMDataComponents/BIMDataCheckbox/__tests__/__snapshots__/BIMDataCheckbox.test.js.snap b/src/BIMDataComponents/BIMDataCheckbox/__tests__/__snapshots__/BIMDataCheckbox.test.js.snap deleted file mode 100644 index 8a49d16f..00000000 --- a/src/BIMDataComponents/BIMDataCheckbox/__tests__/__snapshots__/BIMDataCheckbox.test.js.snap +++ /dev/null @@ -1,27 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`BIMDataCheckbox should contain 'bimdata-checkbox' class when state false 1`] = ` -"
- -
" -`; - -exports[`BIMDataCheckbox should contain 'bimdata-chekbox' and 'checked' class when state true 1`] = ` -"
- -
" -`; - -exports[`BIMDataCheckbox should contain 'bimdata-chekbox', 'checked' and 'indeterminate' class when state null 1`] = ` -"
- -
" -`; - -exports[`BIMDataCheckbox should render component and match snapshot 1`] = ` -"
- -
" -`; - -exports[`BIMDataCheckbox should render component with text and match snapshot 1`] = `"
text checkbox
"`; diff --git a/src/BIMDataComponents/BIMDataDatePicker/BIMDataDatePicker.vue b/src/BIMDataComponents/BIMDataDatePicker/BIMDataDatePicker.vue index 37177c99..2f33f3bb 100644 --- a/src/BIMDataComponents/BIMDataDatePicker/BIMDataDatePicker.vue +++ b/src/BIMDataComponents/BIMDataDatePicker/BIMDataDatePicker.vue @@ -877,10 +877,4 @@ export default { }; - - - + diff --git a/src/BIMDataComponents/BIMDataDatePicker/_BIMDataDatePicker.scss b/src/BIMDataComponents/BIMDataDatePicker/_BIMDataDatePicker.scss index 7ba41895..30fa94d5 100644 --- a/src/BIMDataComponents/BIMDataDatePicker/_BIMDataDatePicker.scss +++ b/src/BIMDataComponents/BIMDataDatePicker/_BIMDataDatePicker.scss @@ -1,4 +1,3 @@ -@import "../../assets/css/transitions.css"; .bimdata-datepicker { position: relative; text-align: left; diff --git a/src/BIMDataComponents/BIMDataDropdownList/BIMDataDropdownList.vue b/src/BIMDataComponents/BIMDataDropdownList/BIMDataDropdownList.vue index 64f4c90c..5bb9e7a5 100644 --- a/src/BIMDataComponents/BIMDataDropdownList/BIMDataDropdownList.vue +++ b/src/BIMDataComponents/BIMDataDropdownList/BIMDataDropdownList.vue @@ -142,6 +142,4 @@ export default { }; - - - + diff --git a/src/BIMDataComponents/BIMDataDropdownList/_BIMDataDropdownList.scss b/src/BIMDataComponents/BIMDataDropdownList/_BIMDataDropdownList.scss index 7f8d05db..f063bef1 100644 --- a/src/BIMDataComponents/BIMDataDropdownList/_BIMDataDropdownList.scss +++ b/src/BIMDataComponents/BIMDataDropdownList/_BIMDataDropdownList.scss @@ -1,6 +1,3 @@ -@import "../../assets/css/transitions.css"; -@import "../../assets/css/elements/_submenu.css"; - .bimdata-dropdown-list { height: 42px; position: relative; diff --git a/src/BIMDataComponents/BIMDataDropdownMenu/BIMDataDropdownMenu.vue b/src/BIMDataComponents/BIMDataDropdownMenu/BIMDataDropdownMenu.vue index 4041d8cc..92acc4cc 100644 --- a/src/BIMDataComponents/BIMDataDropdownMenu/BIMDataDropdownMenu.vue +++ b/src/BIMDataComponents/BIMDataDropdownMenu/BIMDataDropdownMenu.vue @@ -200,10 +200,4 @@ export default { }; - - - + diff --git a/src/BIMDataComponents/BIMDataDropdownMenu/_BIMDataDropdownMenu.scss b/src/BIMDataComponents/BIMDataDropdownMenu/_BIMDataDropdownMenu.scss index 01e510f1..afd933b0 100644 --- a/src/BIMDataComponents/BIMDataDropdownMenu/_BIMDataDropdownMenu.scss +++ b/src/BIMDataComponents/BIMDataDropdownMenu/_BIMDataDropdownMenu.scss @@ -1,6 +1,3 @@ -// import BIMDATA VARIABLES -@import "../../assets/css/transitions.css"; -@import "../../assets/css/elements/_submenu.css"; .bimdata-dropdown { height: 42px; position: relative; diff --git a/src/BIMDataComponents/BIMDataIcon/BIMDataIcon.vue b/src/BIMDataComponents/BIMDataIcon/BIMDataIcon.vue index e4646eef..1d58ece0 100644 --- a/src/BIMDataComponents/BIMDataIcon/BIMDataIcon.vue +++ b/src/BIMDataComponents/BIMDataIcon/BIMDataIcon.vue @@ -116,6 +116,4 @@ export default { }; - - - + diff --git a/src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconChevron.vue b/src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconChevron.vue index 11d75e8d..50ad4a14 100644 --- a/src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconChevron.vue +++ b/src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconChevron.vue @@ -19,6 +19,4 @@ import makeIcon from "./iconFactory.js"; export default makeIcon("Chevron", Chevron); - - - + diff --git a/src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconClose.vue b/src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconClose.vue index b0186221..72118e2a 100644 --- a/src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconClose.vue +++ b/src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconClose.vue @@ -19,6 +19,4 @@ import makeIcon from "./iconFactory.js"; export default makeIcon("Close", Close); - - - + diff --git a/src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconDoubleChevron.vue b/src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconDoubleChevron.vue index 46234d43..f76f53c7 100644 --- a/src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconDoubleChevron.vue +++ b/src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconDoubleChevron.vue @@ -19,6 +19,4 @@ import makeIcon from "./iconFactory.js"; export default makeIcon("DoubleChevron", DoubleChevron); - - - + diff --git a/src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconSearch.vue b/src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconSearch.vue index a0ab31ce..b1e19b30 100644 --- a/src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconSearch.vue +++ b/src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconSearch.vue @@ -19,6 +19,4 @@ import makeIcon from "./iconFactory.js"; export default makeIcon("Search", Search); - - - + diff --git a/src/BIMDataComponents/BIMDataIllustration/BIMDataIllustration.vue b/src/BIMDataComponents/BIMDataIllustration/BIMDataIllustration.vue index 68a41c34..be00cff5 100644 --- a/src/BIMDataComponents/BIMDataIllustration/BIMDataIllustration.vue +++ b/src/BIMDataComponents/BIMDataIllustration/BIMDataIllustration.vue @@ -73,9 +73,3 @@ function formatIconComponentsNames(illustrations = {}) { return illustrationsCopy; } - - diff --git a/src/BIMDataComponents/BIMDataInput/BIMDataInput.vue b/src/BIMDataComponents/BIMDataInput/BIMDataInput.vue index 5879ffac..1df5fdf2 100644 --- a/src/BIMDataComponents/BIMDataInput/BIMDataInput.vue +++ b/src/BIMDataComponents/BIMDataInput/BIMDataInput.vue @@ -113,9 +113,4 @@ export default { }; - - - + diff --git a/src/BIMDataComponents/BIMDataInput/_BIMDataInput.scss b/src/BIMDataComponents/BIMDataInput/_BIMDataInput.scss index c2fd16f6..d4bdec62 100644 --- a/src/BIMDataComponents/BIMDataInput/_BIMDataInput.scss +++ b/src/BIMDataComponents/BIMDataInput/_BIMDataInput.scss @@ -1,7 +1,6 @@ -// import BIMDATA MIXINS @import "../../assets/scss/mixins/_font-size.scss"; -// import COMPONENT STYLE @import "./_keyframes.scss"; + input:-webkit-autofill { box-shadow: 0 0 0px 1000px var(--color-white) inset; } diff --git a/src/BIMDataComponents/BIMDataInput/__tests__/BIMDataInput.test.js b/src/BIMDataComponents/BIMDataInput/__tests__/BIMDataInput.test.js deleted file mode 100644 index 8371c8d3..00000000 --- a/src/BIMDataComponents/BIMDataInput/__tests__/BIMDataInput.test.js +++ /dev/null @@ -1,92 +0,0 @@ -import { shallowMount } from "@vue/test-utils"; -import BIMDataInput from "../BIMDataInput.vue"; - -describe("BIMDataInput", () => { - it("should render component and match snapshot", () => { - const wrapper = shallowMount(BIMDataInput); - expect(wrapper.html()).toMatchSnapshot(); - }); - - it("should render component with placeholder and match snapshot", () => { - const wrapper = shallowMount(BIMDataInput, { - propsData: { - placeholder: "input placeholder", - }, - }); - expect(wrapper.html()).toMatchSnapshot(); - }); - - it("should render component with error message and match snapshot", () => { - const wrapper = shallowMount(BIMDataInput, { - propsData: { - error: true, - errorMessage: "error message", - }, - }); - expect(wrapper.html()).toMatchSnapshot(); - }); - - it("should render component with success message and match snapshot", () => { - const wrapper = shallowMount(BIMDataInput, { - propsData: { - success: true, - successMessage: "success message", - }, - }); - expect(wrapper.html()).toMatchSnapshot(); - }); - - it("should render loading component and match snapshot", () => { - const wrapper = shallowMount(BIMDataInput, { - propsData: { - loading: true, - }, - }); - expect(wrapper.html()).toMatchSnapshot(); - }); - - it("should render disabled component and match snapshot", () => { - const wrapper = shallowMount(BIMDataInput, { - propsData: { - disabled: true, - }, - }); - expect(wrapper.html()).toMatchSnapshot(); - }); - - it("should render component with 'not empty' class and match snapshot", () => { - const wrapper = shallowMount(BIMDataInput, { - propsData: { - modelValue: "text message", - }, - }); - expect(wrapper.classes("not-empty")).toBe(true); - expect(wrapper.html()).toMatchSnapshot(); - }); - - it("should work with v-model binding", async () => { - const onInput = jest.fn(); - const wrapper = shallowMount(BIMDataInput, { - listeners: { - "update:modelValue": onInput, - }, - }); - expect(wrapper.find("input").element.value).toBe(""); - - wrapper.find("input").setValue("x"); - expect(onInput).toHaveBeenCalledWith("x"); - - wrapper.setProps({ modelValue: "message" }); - await wrapper.vm.$nextTick(); - expect(wrapper.find("input").element.value).toBe("message"); - }); - - it("should render a button with a slot and match snapshot", () => { - const wrapper = shallowMount(BIMDataInput, { - slots: { - inputIcon: "test icon slot", - }, - }); - expect(wrapper.html()).toMatchSnapshot(); - }); -}); diff --git a/src/BIMDataComponents/BIMDataInput/__tests__/__snapshots__/BIMDataInput.test.js.snap b/src/BIMDataComponents/BIMDataInput/__tests__/__snapshots__/BIMDataInput.test.js.snap deleted file mode 100644 index 892793b1..00000000 --- a/src/BIMDataComponents/BIMDataInput/__tests__/__snapshots__/BIMDataInput.test.js.snap +++ /dev/null @@ -1,63 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`BIMDataInput should render a button with a slot and match snapshot 1`] = ` -"
-
test icon slot
- - -
" -`; - -exports[`BIMDataInput should render component and match snapshot 1`] = ` -"
-
- - -
" -`; - -exports[`BIMDataInput should render component with 'not empty' class and match snapshot 1`] = ` -"
-
- - -
" -`; - -exports[`BIMDataInput should render component with error message and match snapshot 1`] = ` -"
-
error message - -
" -`; - -exports[`BIMDataInput should render component with placeholder and match snapshot 1`] = ` -"
-
- - -
" -`; - -exports[`BIMDataInput should render component with success message and match snapshot 1`] = ` -"
-
- success message -
" -`; - -exports[`BIMDataInput should render disabled component and match snapshot 1`] = ` -"
-
- - -
" -`; - -exports[`BIMDataInput should render loading component and match snapshot 1`] = ` -"
-
- - -
" -`; diff --git a/src/BIMDataComponents/BIMDataLoading/BIMDataLoading.vue b/src/BIMDataComponents/BIMDataLoading/BIMDataLoading.vue index 820047d0..9570d1aa 100644 --- a/src/BIMDataComponents/BIMDataLoading/BIMDataLoading.vue +++ b/src/BIMDataComponents/BIMDataLoading/BIMDataLoading.vue @@ -27,6 +27,4 @@ export default { }; - - - + diff --git a/src/BIMDataComponents/BIMDataLoading/_BIMDataLoading.scss b/src/BIMDataComponents/BIMDataLoading/_BIMDataLoading.scss index 3a88150f..e1f1d5ca 100644 --- a/src/BIMDataComponents/BIMDataLoading/_BIMDataLoading.scss +++ b/src/BIMDataComponents/BIMDataLoading/_BIMDataLoading.scss @@ -1,4 +1,5 @@ @import "./_keyframes.scss"; + .bimdata-loading { width: 100%; height: 100%; diff --git a/src/BIMDataComponents/BIMDataMenu/BIMDataMenu.vue b/src/BIMDataComponents/BIMDataMenu/BIMDataMenu.vue index 6735eee0..a8b9f862 100644 --- a/src/BIMDataComponents/BIMDataMenu/BIMDataMenu.vue +++ b/src/BIMDataComponents/BIMDataMenu/BIMDataMenu.vue @@ -151,4 +151,4 @@ export default { }; - + diff --git a/src/BIMDataComponents/BIMDataMenuInline/BIMDataMenuInline.vue b/src/BIMDataComponents/BIMDataMenuInline/BIMDataMenuInline.vue index 5dda3231..d9185f12 100644 --- a/src/BIMDataComponents/BIMDataMenuInline/BIMDataMenuInline.vue +++ b/src/BIMDataComponents/BIMDataMenuInline/BIMDataMenuInline.vue @@ -104,4 +104,4 @@ export default { }; - + diff --git a/src/BIMDataComponents/BIMDataNavigation/BIMDataNavigation.vue b/src/BIMDataComponents/BIMDataNavigation/BIMDataNavigation.vue index aa6af470..1765294b 100644 --- a/src/BIMDataComponents/BIMDataNavigation/BIMDataNavigation.vue +++ b/src/BIMDataComponents/BIMDataNavigation/BIMDataNavigation.vue @@ -119,9 +119,4 @@ export default { }; - - diff --git a/src/BIMDataComponents/BIMDataNavigation/__tests__/BIMDataNavigation.test.js b/src/BIMDataComponents/BIMDataNavigation/__tests__/BIMDataNavigation.test.js deleted file mode 100644 index 4dd31c8f..00000000 --- a/src/BIMDataComponents/BIMDataNavigation/__tests__/BIMDataNavigation.test.js +++ /dev/null @@ -1,86 +0,0 @@ -import { shallowMount } from "@vue/test-utils"; -import BIMDataNavigation from "../BIMDataNavigation.vue"; -import BIMDataButton from "../../BIMDataButton/BIMDataButton.vue"; - -describe("BIMDataNavigation", () => { - it("should render component and match snapshot", () => { - const wrapper = shallowMount(BIMDataNavigation); - expect(wrapper.html()).toMatchSnapshot(); - }); - - it("should render a navigation with a left slot and match snapshot", () => { - const wrapper = shallowMount(BIMDataNavigation, { - slots: { - left: "left slot", - }, - }); - expect(wrapper.html()).toMatchSnapshot(); - }); - - it("should render a navigation with a right slot and match snapshot", () => { - const wrapper = shallowMount(BIMDataNavigation, { - slots: { - right: "right slot", - }, - }); - expect(wrapper.html()).toMatchSnapshot(); - }); - - it("should render li tag", () => { - const wrapper = shallowMount(BIMDataNavigation); - expect(wrapper.find(".bimdata-navigation__item").element).toBeTruthy(); - }); - - it("should not render BIMDataButton", () => { - const wrapper = shallowMount(BIMDataNavigation, { - propsData: { - first: false, - last: false, - previous: false, - next: false, - }, - }); - expect(wrapper.findComponent(BIMDataButton).exists()).toBe(false); - }); - - it("should render BIMDataButton disabled", () => { - const wrapper = shallowMount(BIMDataNavigation, { - propsData: { - firstDisabled: true, - previousDisabled: true, - nextDisabled: true, - lastDisabled: true, - }, - }); - expect(wrapper.findComponent(BIMDataButton).classes("disabled")).toBe(true); - expect(wrapper.html()).toMatchSnapshot(); - }); - - it("should emit first event", async () => { - const wrapper = shallowMount(BIMDataNavigation); - wrapper.vm.$emit("first"); - await wrapper.vm.$nextTick(); - expect(wrapper.emitted("first")).toBeTruthy(); - }); - - it("should emit previous event", async () => { - const wrapper = shallowMount(BIMDataNavigation); - wrapper.vm.$emit("previous"); - await wrapper.vm.$nextTick(); - expect(wrapper.emitted("previous")).toBeTruthy(); - }); - - it("should emit next event", async () => { - const wrapper = shallowMount(BIMDataNavigation); - wrapper.vm.$emit("next"); - await wrapper.vm.$nextTick(); - expect(wrapper.emitted("next")).toBeTruthy(); - }); - - it("should emit last event", async () => { - const wrapper = shallowMount(BIMDataNavigation); - wrapper.vm.$emit("last"); - await wrapper.vm.$nextTick(); - expect(wrapper.emitted("last")).toBeTruthy(); - }); -}); diff --git a/src/BIMDataComponents/BIMDataNavigation/__tests__/__snapshots__/BIMDataNavigation.test.js.snap b/src/BIMDataComponents/BIMDataNavigation/__tests__/__snapshots__/BIMDataNavigation.test.js.snap deleted file mode 100644 index 31c45e93..00000000 --- a/src/BIMDataComponents/BIMDataNavigation/__tests__/__snapshots__/BIMDataNavigation.test.js.snap +++ /dev/null @@ -1,113 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`BIMDataNavigation should render BIMDataButton disabled 1`] = ` -"" -`; - -exports[`BIMDataNavigation should render a navigation with a left slot and match snapshot 1`] = ` -"" -`; - -exports[`BIMDataNavigation should render a navigation with a right slot and match snapshot 1`] = ` -"" -`; - -exports[`BIMDataNavigation should render component and match snapshot 1`] = ` -"" -`; diff --git a/src/BIMDataComponents/BIMDataPDFViewer/BIMDataPDFViewer.vue b/src/BIMDataComponents/BIMDataPDFViewer/BIMDataPDFViewer.vue index 4de8449e..56980bea 100644 --- a/src/BIMDataComponents/BIMDataPDFViewer/BIMDataPDFViewer.vue +++ b/src/BIMDataComponents/BIMDataPDFViewer/BIMDataPDFViewer.vue @@ -82,9 +82,6 @@ export default { - diff --git a/src/BIMDataComponents/BIMDataPagination/BIMDataPagination.vue b/src/BIMDataComponents/BIMDataPagination/BIMDataPagination.vue index 30a422bd..28ba2eb5 100644 --- a/src/BIMDataComponents/BIMDataPagination/BIMDataPagination.vue +++ b/src/BIMDataComponents/BIMDataPagination/BIMDataPagination.vue @@ -92,6 +92,4 @@ export default { }; - - diff --git a/src/BIMDataComponents/BIMDataPieSpinner/BIMDataPieSpinner.vue b/src/BIMDataComponents/BIMDataPieSpinner/BIMDataPieSpinner.vue index d59f5976..5fb40215 100644 --- a/src/BIMDataComponents/BIMDataPieSpinner/BIMDataPieSpinner.vue +++ b/src/BIMDataComponents/BIMDataPieSpinner/BIMDataPieSpinner.vue @@ -75,6 +75,4 @@ export default { }; - + diff --git a/src/BIMDataComponents/BIMDataRadio/BIMDataRadio.vue b/src/BIMDataComponents/BIMDataRadio/BIMDataRadio.vue index 96e7ca8e..a115ccb2 100644 --- a/src/BIMDataComponents/BIMDataRadio/BIMDataRadio.vue +++ b/src/BIMDataComponents/BIMDataRadio/BIMDataRadio.vue @@ -55,9 +55,4 @@ export default { }; - - - + diff --git a/src/BIMDataComponents/BIMDataRadio/_BIMDataRadio.scss b/src/BIMDataComponents/BIMDataRadio/_BIMDataRadio.scss index e0f17cfd..658f67b9 100644 --- a/src/BIMDataComponents/BIMDataRadio/_BIMDataRadio.scss +++ b/src/BIMDataComponents/BIMDataRadio/_BIMDataRadio.scss @@ -1,4 +1,5 @@ @import "../../assets/scss/mixins/_font-size.scss"; + .bimdata-radio { position: relative; color: var(--color-primary); diff --git a/src/BIMDataComponents/BIMDataSearch/BIMDataSearch.vue b/src/BIMDataComponents/BIMDataSearch/BIMDataSearch.vue index faf3a1b3..ae8cf1b3 100644 --- a/src/BIMDataComponents/BIMDataSearch/BIMDataSearch.vue +++ b/src/BIMDataComponents/BIMDataSearch/BIMDataSearch.vue @@ -134,9 +134,4 @@ export default { }; - - - + diff --git a/src/BIMDataComponents/BIMDataSearch/_BIMDataSearch.scss b/src/BIMDataComponents/BIMDataSearch/_BIMDataSearch.scss index f7bfdb0a..b19cc243 100644 --- a/src/BIMDataComponents/BIMDataSearch/_BIMDataSearch.scss +++ b/src/BIMDataComponents/BIMDataSearch/_BIMDataSearch.scss @@ -1,4 +1,5 @@ @import "../../assets/scss/mixins/_font-size.scss"; + .bimdata-search-bar { display: flex; align-items: center; diff --git a/src/BIMDataComponents/BIMDataSearchAutocomplete/BIMDataSearchAutocomplete.vue b/src/BIMDataComponents/BIMDataSearchAutocomplete/BIMDataSearchAutocomplete.vue index fa70ddcf..de7d9fb1 100644 --- a/src/BIMDataComponents/BIMDataSearchAutocomplete/BIMDataSearchAutocomplete.vue +++ b/src/BIMDataComponents/BIMDataSearchAutocomplete/BIMDataSearchAutocomplete.vue @@ -206,4 +206,4 @@ export default { }; - + diff --git a/src/BIMDataComponents/BIMDataSelect/BIMDataSelect.scss b/src/BIMDataComponents/BIMDataSelect/BIMDataSelect.scss index 1874dd56..5b84b8ca 100644 --- a/src/BIMDataComponents/BIMDataSelect/BIMDataSelect.scss +++ b/src/BIMDataComponents/BIMDataSelect/BIMDataSelect.scss @@ -1,4 +1,3 @@ -@import "../../assets/css/variables.css"; @import "../../assets/scss/mixins/_font-size.scss"; .bimdata-select { diff --git a/src/BIMDataComponents/BIMDataSpinner/BIMDataSpinner.vue b/src/BIMDataComponents/BIMDataSpinner/BIMDataSpinner.vue index 849ddf3b..98b3546a 100644 --- a/src/BIMDataComponents/BIMDataSpinner/BIMDataSpinner.vue +++ b/src/BIMDataComponents/BIMDataSpinner/BIMDataSpinner.vue @@ -21,6 +21,4 @@ export default { }; - - - + diff --git a/src/BIMDataComponents/BIMDataSpinner/_BIMDataSpinner.scss b/src/BIMDataComponents/BIMDataSpinner/_BIMDataSpinner.scss index 16675c17..deacb86a 100644 --- a/src/BIMDataComponents/BIMDataSpinner/_BIMDataSpinner.scss +++ b/src/BIMDataComponents/BIMDataSpinner/_BIMDataSpinner.scss @@ -1,4 +1,5 @@ @import "./_keyframes.scss"; + .bimdata-spinner { display: flex; &--square { diff --git a/src/BIMDataComponents/BIMDataTable/_BIMDataTable.scss b/src/BIMDataComponents/BIMDataTable/_BIMDataTable.scss index e3230fab..67f1648e 100644 --- a/src/BIMDataComponents/BIMDataTable/_BIMDataTable.scss +++ b/src/BIMDataComponents/BIMDataTable/_BIMDataTable.scss @@ -1,5 +1,3 @@ -@import "../../assets/css/variables.css"; - .bimdata-table { width: 100%; font-size: 0.9rem; diff --git a/src/BIMDataComponents/BIMDataTabs/BIMDataTabs.vue b/src/BIMDataComponents/BIMDataTabs/BIMDataTabs.vue index fa520225..d3396291 100644 --- a/src/BIMDataComponents/BIMDataTabs/BIMDataTabs.vue +++ b/src/BIMDataComponents/BIMDataTabs/BIMDataTabs.vue @@ -162,7 +162,4 @@ export default { }; - + diff --git a/src/BIMDataComponents/BIMDataTextarea/BIMDataTextarea.vue b/src/BIMDataComponents/BIMDataTextarea/BIMDataTextarea.vue index 5e182d29..f3072cef 100644 --- a/src/BIMDataComponents/BIMDataTextarea/BIMDataTextarea.vue +++ b/src/BIMDataComponents/BIMDataTextarea/BIMDataTextarea.vue @@ -120,9 +120,4 @@ export default { }; - - - + diff --git a/src/BIMDataComponents/BIMDataTextarea/_BIMDataTextarea.scss b/src/BIMDataComponents/BIMDataTextarea/_BIMDataTextarea.scss index f887837f..28085b69 100644 --- a/src/BIMDataComponents/BIMDataTextarea/_BIMDataTextarea.scss +++ b/src/BIMDataComponents/BIMDataTextarea/_BIMDataTextarea.scss @@ -1,4 +1,3 @@ -// import BIMDATA MIXINS @import "../../assets/scss/mixins/_font-size.scss"; textarea:-webkit-autofill { diff --git a/src/BIMDataComponents/BIMDataTextarea/__tests__/BIMDataTextarea.test.js b/src/BIMDataComponents/BIMDataTextarea/__tests__/BIMDataTextarea.test.js deleted file mode 100644 index 0519bc46..00000000 --- a/src/BIMDataComponents/BIMDataTextarea/__tests__/BIMDataTextarea.test.js +++ /dev/null @@ -1,87 +0,0 @@ -import { shallowMount } from "@vue/test-utils"; -import BIMDataTextarea from "../BIMDataTextarea.vue"; - -describe("BIMDataTextarea", () => { - it("should render component and match snapshot", () => { - const wrapper = shallowMount(BIMDataTextarea); - expect(wrapper.html()).toMatchSnapshot(); - }); - - it("should render component with custom name, match with id and match snapshot", () => { - const wrapper = shallowMount(BIMDataTextarea, { - propsData: { - name: "placeholderName", - }, - }); - expect(wrapper.find("textarea").element.name).toBe("placeholderName"); - expect(wrapper.find("textarea").element.id).toBe("placeholderName"); - expect(wrapper.html()).toMatchSnapshot(); - }); - - it("should render component with message and 'not-empty' class", async () => { - const onInput = jest.fn(); - const wrapper = shallowMount(BIMDataTextarea, { - propsData: { - modelValue: null, - }, - listeners: { - "update:modelValue": onInput, - }, - }); - expect(wrapper.find("textarea").element.value).toBe(""); - - wrapper.find("textarea").setValue("x"); - expect(onInput).toHaveBeenCalledWith("x"); - - wrapper.setProps({ modelValue: "message" }); - await wrapper.vm.$nextTick(); - expect(wrapper.classes("not-empty")).toBe(true); - expect(wrapper.find("textarea").element.value).toBe("message"); - }); - - it("should render component with custom placeholder, contains 'not-empty' class and match snapshot", () => { - const wrapper = shallowMount(BIMDataTextarea, { - propsData: { - placeholder: "textarea placeholder", - }, - }); - expect(wrapper.classes("not-empty")).toBe(true); - expect(wrapper.html()).toMatchSnapshot(); - }); - - it("should render component with custom label and match snapshot", () => { - const wrapper = shallowMount(BIMDataTextarea, { - propsData: { - label: "textarea label", - }, - }); - expect(wrapper.html()).toMatchSnapshot(); - }); - - it("should render component with a custom width and match snapshot", () => { - const wrapper = shallowMount(BIMDataTextarea, { - propsData: { - width: "50px", - }, - }); - expect(wrapper.html()).toMatchSnapshot(); - }); - - it("should render component with a custom height and match snapshot", () => { - const wrapper = shallowMount(BIMDataTextarea, { - propsData: { - height: "50px", - }, - }); - expect(wrapper.html()).toMatchSnapshot(); - }); - - it("should render a disabled component and match snapshot", () => { - const wrapper = shallowMount(BIMDataTextarea, { - propsData: { - disabled: true, - }, - }); - expect(wrapper.html()).toMatchSnapshot(); - }); -}); diff --git a/src/BIMDataComponents/BIMDataTextarea/__tests__/__snapshots__/BIMDataTextarea.test.js.snap b/src/BIMDataComponents/BIMDataTextarea/__tests__/__snapshots__/BIMDataTextarea.test.js.snap deleted file mode 100644 index 09e7c3dc..00000000 --- a/src/BIMDataComponents/BIMDataTextarea/__tests__/__snapshots__/BIMDataTextarea.test.js.snap +++ /dev/null @@ -1,50 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`BIMDataTextarea should render a disabled component and match snapshot 1`] = ` -"
- - -
" -`; - -exports[`BIMDataTextarea should render component and match snapshot 1`] = ` -"
- - -
" -`; - -exports[`BIMDataTextarea should render component with a custom height and match snapshot 1`] = ` -"
- - -
" -`; - -exports[`BIMDataTextarea should render component with a custom width and match snapshot 1`] = ` -"
- - -
" -`; - -exports[`BIMDataTextarea should render component with custom label and match snapshot 1`] = ` -"
- - -
" -`; - -exports[`BIMDataTextarea should render component with custom name, match with id and match snapshot 1`] = ` -"
- - -
" -`; - -exports[`BIMDataTextarea should render component with custom placeholder, contains 'not-empty' class and match snapshot 1`] = ` -"
- - -
" -`; diff --git a/src/BIMDataComponents/BIMDataTextbox/BIMDataTextbox.vue b/src/BIMDataComponents/BIMDataTextbox/BIMDataTextbox.vue index 00d52a0e..9cde1329 100644 --- a/src/BIMDataComponents/BIMDataTextbox/BIMDataTextbox.vue +++ b/src/BIMDataComponents/BIMDataTextbox/BIMDataTextbox.vue @@ -129,7 +129,4 @@ export default { }; - + diff --git a/src/BIMDataComponents/BIMDataToggle/BIMDataToggle.vue b/src/BIMDataComponents/BIMDataToggle/BIMDataToggle.vue index 75f36a26..64b69763 100644 --- a/src/BIMDataComponents/BIMDataToggle/BIMDataToggle.vue +++ b/src/BIMDataComponents/BIMDataToggle/BIMDataToggle.vue @@ -55,6 +55,4 @@ export default { }; - - - + diff --git a/src/BIMDataComponents/BIMDataTooltip/BIMDataTooltip.vue b/src/BIMDataComponents/BIMDataTooltip/BIMDataTooltip.vue index 410d9a56..cdb023f4 100644 --- a/src/BIMDataComponents/BIMDataTooltip/BIMDataTooltip.vue +++ b/src/BIMDataComponents/BIMDataTooltip/BIMDataTooltip.vue @@ -96,4 +96,4 @@ export default { }; - + diff --git a/src/BIMDataComponents/BIMDataTooltip/_BIMDataTooltip.scss b/src/BIMDataComponents/BIMDataTooltip/_BIMDataTooltip.scss index 6bbb0f2a..708d4860 100644 --- a/src/BIMDataComponents/BIMDataTooltip/_BIMDataTooltip.scss +++ b/src/BIMDataComponents/BIMDataTooltip/_BIMDataTooltip.scss @@ -1,5 +1,3 @@ -@import "../../assets/css/variables.css"; -@import "../../assets/css/utilities/_text.css"; @import "../../assets/scss/mixins/_font-size.scss"; .bimdata-tooltip { diff --git a/src/BIMDataSmartComponents/BIMDataFileManager/BIMDataFileManager.scss b/src/BIMDataSmartComponents/BIMDataFileManager/BIMDataFileManager.scss index 25b4b1fe..b3483095 100644 --- a/src/BIMDataSmartComponents/BIMDataFileManager/BIMDataFileManager.scss +++ b/src/BIMDataSmartComponents/BIMDataFileManager/BIMDataFileManager.scss @@ -1,5 +1,3 @@ -@import "../../assets/css/variables.css"; - .bimdata-file-manager { width: 100%; diff --git a/src/BIMDataSmartComponents/BIMDataFileManager/components/FileCard.vue b/src/BIMDataSmartComponents/BIMDataFileManager/components/FileCard.vue index f4ae2cc4..582f639c 100644 --- a/src/BIMDataSmartComponents/BIMDataFileManager/components/FileCard.vue +++ b/src/BIMDataSmartComponents/BIMDataFileManager/components/FileCard.vue @@ -325,8 +325,6 @@ export default { + diff --git a/src/web/_DesignSystem-global.scss b/src/web/_DesignSystem-global.scss index 5556eade..e70282ac 100644 --- a/src/web/_DesignSystem-global.scss +++ b/src/web/_DesignSystem-global.scss @@ -1,3 +1,6 @@ +@import "../../node_modules/prismjs/themes/prism-tomorrow.css"; +@import "../assets/css/design-system.css"; + html, body, #app { @@ -48,7 +51,7 @@ pre[class*="language-"] { line-height: 18px; transition: all 0.25s ease-in; &:hover { - background-color: hsl(45, 94.5, 57.5 * 0.8); + background-color: hsl(45deg, 94.5%, 46%); transition: all 0.25s ease-in; } } diff --git a/src/web/views/Components/Card/Card.vue b/src/web/views/Components/Card/Card.vue index 1d9fe171..9bb37fd2 100644 --- a/src/web/views/Components/Card/Card.vue +++ b/src/web/views/Components/Card/Card.vue @@ -17,7 +17,7 @@ {{ getHeaderIcons() }}