From 3b28047b56d22e8ea5300e3c02cafef6d47af670 Mon Sep 17 00:00:00 2001 From: Andrea Delgado <114981520+andreadlgdo@users.noreply.github.com> Date: Tue, 21 May 2024 09:41:41 +0200 Subject: [PATCH] fix: avoid imports from barrel --- .../x-modules/search-box/components/clear-search-input.vue | 3 ++- .../src/x-modules/search-box/components/search-button.vue | 4 +++- .../search-box/components/search-input-placeholder.vue | 4 +++- .../src/x-modules/search-box/components/search-input.vue | 4 +++- 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/packages/x-components/src/x-modules/search-box/components/clear-search-input.vue b/packages/x-components/src/x-modules/search-box/components/clear-search-input.vue index 36693e0754..d1be96646c 100644 --- a/packages/x-components/src/x-modules/search-box/components/clear-search-input.vue +++ b/packages/x-components/src/x-modules/search-box/components/clear-search-input.vue @@ -14,7 +14,8 @@ import { defineComponent, computed, ref } from 'vue'; import BaseEventButton from '../../../components/base-event-button.vue'; import { VueCSSClasses } from '../../../utils/types'; - import { useRegisterXModule, useState } from '../../../composables'; + import { useRegisterXModule } from '../../../composables/use-register-x-module'; + import { useState } from '../../../composables/use-state'; import { searchBoxXModule } from '../x-module'; /** diff --git a/packages/x-components/src/x-modules/search-box/components/search-button.vue b/packages/x-components/src/x-modules/search-box/components/search-button.vue index 78748a48d5..ed4c8e37f7 100644 --- a/packages/x-components/src/x-modules/search-box/components/search-button.vue +++ b/packages/x-components/src/x-modules/search-box/components/search-button.vue @@ -15,7 +15,9 @@ import { computed, defineComponent, ref } from 'vue'; import { VueCSSClasses } from '../../../utils/types'; import { WireMetadata } from '../../../wiring/wiring.types'; - import { use$x, useRegisterXModule, useState } from '../../../composables'; + import { use$x } from '../../../composables/use-$x'; + import { useRegisterXModule } from '../../../composables/use-register-x-module'; + import { useState } from '../../../composables/use-state'; import { searchBoxXModule } from '../x-module'; /** diff --git a/packages/x-components/src/x-modules/search-box/components/search-input-placeholder.vue b/packages/x-components/src/x-modules/search-box/components/search-input-placeholder.vue index 9198c53ecf..66b7995b0d 100644 --- a/packages/x-components/src/x-modules/search-box/components/search-input-placeholder.vue +++ b/packages/x-components/src/x-modules/search-box/components/search-input-placeholder.vue @@ -14,7 +14,9 @@