From f208c75ad384e93159d280424bb23e66d1ff8969 Mon Sep 17 00:00:00 2001 From: Javier Iglesias Date: Sun, 17 Jul 2022 17:53:29 +0200 Subject: [PATCH 1/3] WIP: feat: add x-components XModal EX-6701 --- package.json | 2 +- rollup.config.js | 2 +- src/App.vue | 14 ++++------ src/components/custom-x-modal.vue | 30 +++++++++++++++++++++ src/components/desktop/desktop.vue | 4 +-- src/components/mobile/mobile.vue | 4 +-- src/components/x-modal.vue | 42 ------------------------------ 7 files changed, 41 insertions(+), 57 deletions(-) create mode 100644 src/components/custom-x-modal.vue delete mode 100644 src/components/x-modal.vue diff --git a/package.json b/package.json index 712105e2..a92fe3f9 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "test:unit": "vue-cli-service test:unit", "lint": "eslint src tests build --ext .ts,.tsx,.vue,.js,.jsx", "lint:fix": "npm run lint -- --fix", - "install:local": "npm install file:../x/packages/x-components/empathyco-x-components-3.0.0-alpha.124.tgz --no-save", + "install:local": "npm install file:../x/packages/x-components/empathyco-x-components-3.0.0-alpha.133.tgz --no-save", "json:csv": "json-csv ./src/i18n/messages", "csv:json": "csv-json ./output ./src/i18n/messages" }, diff --git a/rollup.config.js b/rollup.config.js index 17b83e7e..a0920802 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -8,7 +8,7 @@ export default createConfig({ output: { chunkFileNames: chunkInfo => { switch (chunkInfo.name) { - case 'x-modal': + case 'custom-x-modal': return 'x-empty-search-[hash].js'; case 'index': return 'x-search-[hash].js'; diff --git a/src/App.vue b/src/App.vue index 794c9d47..f8f579d9 100644 --- a/src/App.vue +++ b/src/App.vue @@ -5,12 +5,12 @@ - + diff --git a/src/components/desktop/desktop.vue b/src/components/desktop/desktop.vue index 8117ffd8..f4a203e2 100644 --- a/src/components/desktop/desktop.vue +++ b/src/components/desktop/desktop.vue @@ -80,7 +80,7 @@ From 7793d0ea38166504a1523fcb06f28c6b0b00d4f0 Mon Sep 17 00:00:00 2001 From: Javier Iglesias Date: Mon, 25 Jul 2022 08:59:04 +0200 Subject: [PATCH 2/3] PR fixes --- src/components/desktop/desktop.vue | 6 +++--- src/components/mobile/mobile.vue | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/desktop/desktop.vue b/src/components/desktop/desktop.vue index 76d633c2..12a695ed 100644 --- a/src/components/desktop/desktop.vue +++ b/src/components/desktop/desktop.vue @@ -32,9 +32,9 @@ > - + - + @@ -111,7 +111,7 @@ BaseVariableColumnGrid, BaseIdModal, CartIcon, - Close: CloseMainModal, + CloseMainModal, CrossIcon, CrossTinyIcon, DesktopToolbar, diff --git a/src/components/mobile/mobile.vue b/src/components/mobile/mobile.vue index e7246cf8..acecf3b1 100644 --- a/src/components/mobile/mobile.vue +++ b/src/components/mobile/mobile.vue @@ -12,12 +12,12 @@ x-background--neutral-100 " > - - + @@ -111,7 +111,7 @@ BaseIdModal, BaseIdModalOpen, BaseScroll, - Close: CloseMainModal, + CloseMainModal, ColumnPicker: BaseColumnPickerList, FiltersIcon, LocationProvider, From f9ab9ae0f88a5ce4c0f121f9a2177802946b3189 Mon Sep 17 00:00:00 2001 From: Javier Iglesias Date: Mon, 25 Jul 2022 10:32:35 +0200 Subject: [PATCH 3/3] PR fixes --- rollup.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rollup.config.js b/rollup.config.js index d28840ed..93c4434b 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -8,7 +8,7 @@ export default createConfig({ output: { chunkFileNames: chunkInfo => { switch (chunkInfo.name) { - case 'custom-mamodal': + case 'custom-main-modal': return 'x-empty-search-[hash].js'; case 'index': return 'x-search-[hash].js';