diff --git a/packages/web-components/gulp-tasks/clean.js b/packages/web-components/gulp-tasks/clean.js index 06c2a198e1f..4e5913b2a75 100644 --- a/packages/web-components/gulp-tasks/clean.js +++ b/packages/web-components/gulp-tasks/clean.js @@ -25,6 +25,7 @@ function _clean() { del(config.cjsDestDir), del(config.jsDestDir), del(config.sassDestDir), + del(config.vendorSrcDirBase), del('custom-elements.json'), del('storybook-static'), ]); diff --git a/packages/web-components/gulp-tasks/config.js b/packages/web-components/gulp-tasks/config.js index 870e5f96363..fec23b14cc3 100644 --- a/packages/web-components/gulp-tasks/config.js +++ b/packages/web-components/gulp-tasks/config.js @@ -86,6 +86,10 @@ module.exports = { ), 'es' ), + servicesStoreVendorSrcDir: path.resolve( + __dirname, + '../src/internal/vendor/@carbon/ibmdotcom-services-store' + ), servicesStoreVendorESDstDir: path.resolve( __dirname, '../es/internal/vendor/@carbon/ibmdotcom-services-store' diff --git a/packages/web-components/gulp-tasks/vendor.js b/packages/web-components/gulp-tasks/vendor.js index 5182f0d28e9..68bbc8a36c2 100644 --- a/packages/web-components/gulp-tasks/vendor.js +++ b/packages/web-components/gulp-tasks/vendor.js @@ -17,6 +17,7 @@ const { servicesVendorESDstDir, servicesStoreCJSSrcDir, servicesStoreESSrcDir, + servicesStoreVendorSrcDir, servicesStoreVendorCJSDstDir, servicesStoreVendorESDstDir, utilitiesCJSSrcDir, @@ -41,6 +42,14 @@ const servicesVendorCJSDst = () => .src([`${servicesCJSSrcDir}/**/*`, '!**/*-{test,story}.js']) .pipe(gulp.dest(servicesVendorCJSDstDir)); +/** + * Generates `src/internal/vendor` contents. + */ +const servicesStoreVendorSrc = () => + gulp + .src([`${servicesStoreESSrcDir}/**/*`, '!**/*-{test,story}.js']) + .pipe(gulp.dest(servicesStoreVendorSrcDir)); + /** * Generate `es/internal/vendor` contents. */ @@ -84,7 +93,11 @@ gulp.task( ); gulp.task( 'vendor:services-store', - gulp.parallel(servicesStoreVendorCJSDst, servicesStoreVendorESDst) + gulp.parallel( + servicesStoreVendorSrc, + servicesStoreVendorCJSDst, + servicesStoreVendorESDst + ) ); gulp.task( 'vendor', diff --git a/packages/web-components/src/components/cta/video-cta-composite.ts b/packages/web-components/src/components/cta/video-cta-composite.ts index 6f2dfbd6e62..e8ec0be84d5 100644 --- a/packages/web-components/src/components/cta/video-cta-composite.ts +++ b/packages/web-components/src/components/cta/video-cta-composite.ts @@ -15,7 +15,7 @@ import HostListener from '@carbon/web-components/es/globals/decorators/host-list import HostListenerMixin from '@carbon/web-components/es/globals/mixins/host-listener.js'; import settings from '@carbon/ibmdotcom-utilities/es/utilities/settings/settings.js'; import ModalRenderMixin from '../../globals/mixins/modal-render'; -import { MediaData } from '@carbon/ibmdotcom-services-store/es/types/kalturaPlayerAPI'; +import { MediaData } from '../../internal/vendor/@carbon/ibmdotcom-services-store/types/kalturaPlayerAPI'; import Handle from '../../globals/internal/handle'; import C4DLightboxVideoPlayerComposite from '../lightbox-media-viewer/lightbox-video-player-composite'; // Above import is interface-only ref and thus code won't be brought into the build diff --git a/packages/web-components/src/components/cta/video-cta-container.ts b/packages/web-components/src/components/cta/video-cta-container.ts index a064bf66170..9ced494430d 100644 --- a/packages/web-components/src/components/cta/video-cta-container.ts +++ b/packages/web-components/src/components/cta/video-cta-container.ts @@ -12,10 +12,10 @@ import settings from '@carbon/ibmdotcom-utilities/es/utilities/settings/settings import { MediaData, MediaPlayerAPIState, -} from '@carbon/ibmdotcom-services-store/es/types/kalturaPlayerAPI'; -import store from '@carbon/ibmdotcom-services-store/es/store.js'; -import { loadMediaData } from '@carbon/ibmdotcom-services-store/es/actions/kalturaPlayerAPI.js'; -import { MediaPlayerAPIActions } from '@carbon/ibmdotcom-services-store/es/actions/kalturaPlayerAPI'; +} from '../../internal/vendor/@carbon/ibmdotcom-services-store/types/kalturaPlayerAPI'; +import store from '../../internal/vendor/@carbon/ibmdotcom-services-store/store.js'; +import { loadMediaData } from '../../internal/vendor/@carbon/ibmdotcom-services-store/actions/kalturaPlayerAPI.js'; +import { MediaPlayerAPIActions } from '../../internal/vendor/@carbon/ibmdotcom-services-store/actions/kalturaPlayerAPI'; import { C4DVideoPlayerContainerMixin, mapStateToProps, diff --git a/packages/web-components/src/components/dotcom-shell/__stories__/dotcom-shell.stories.ts b/packages/web-components/src/components/dotcom-shell/__stories__/dotcom-shell.stories.ts index 4cffb2aef5f..0a7baf8a783 100644 --- a/packages/web-components/src/components/dotcom-shell/__stories__/dotcom-shell.stories.ts +++ b/packages/web-components/src/components/dotcom-shell/__stories__/dotcom-shell.stories.ts @@ -37,7 +37,7 @@ import { tocContent, contentLeadspaceSearch, } from './data/content'; -import { UNAUTHENTICATED_STATUS } from '@carbon/ibmdotcom-services-store/es/types/profileAPI'; +import { UNAUTHENTICATED_STATUS } from '../../../internal/vendor/@carbon/ibmdotcom-services-store/types/profileAPI'; import { TOC_TYPES } from '../../table-of-contents/defs'; // eslint-disable-next-line sort-imports diff --git a/packages/web-components/src/components/dotcom-shell/dotcom-shell-composite.ts b/packages/web-components/src/components/dotcom-shell/dotcom-shell-composite.ts index f197cae95e3..8ab829a43ef 100644 --- a/packages/web-components/src/components/dotcom-shell/dotcom-shell-composite.ts +++ b/packages/web-components/src/components/dotcom-shell/dotcom-shell-composite.ts @@ -12,7 +12,7 @@ import { LitElement, html } from 'lit'; import { property } from 'lit/decorators.js'; import settings from '@carbon/ibmdotcom-utilities/es/utilities/settings/settings.js'; import { globalInit } from '@carbon/ibmdotcom-services/es/services/global/global.js'; -import { LocaleList } from '@carbon/ibmdotcom-services-store/es/types/localeAPI'; +import { LocaleList } from '../../internal/vendor/@carbon/ibmdotcom-services-store/types/localeAPI'; import { BasicLink, BasicLinkSet, @@ -20,8 +20,8 @@ import { L0MenuItem, MastheadProfileItem, Translation, -} from '@carbon/ibmdotcom-services-store/es/types/translateAPI'; -import { UNAUTHENTICATED_STATUS } from '@carbon/ibmdotcom-services-store/es/types/profileAPI'; +} from '../../internal/vendor/@carbon/ibmdotcom-services-store/types/translateAPI'; +import { UNAUTHENTICATED_STATUS } from '../../internal/vendor/@carbon/ibmdotcom-services-store/types/profileAPI'; import { FOOTER_SIZE } from '../footer/footer'; import '../footer/footer-composite'; import './dotcom-shell'; diff --git a/packages/web-components/src/components/dotcom-shell/dotcom-shell-container.ts b/packages/web-components/src/components/dotcom-shell/dotcom-shell-container.ts index 60d2826e71c..16853d5af30 100644 --- a/packages/web-components/src/components/dotcom-shell/dotcom-shell-container.ts +++ b/packages/web-components/src/components/dotcom-shell/dotcom-shell-container.ts @@ -10,11 +10,11 @@ import { ActionCreatorsMapObject, Dispatch, Store } from 'redux'; import settings from '@carbon/ibmdotcom-utilities/es/utilities/settings/settings.js'; import ConnectMixin from '../../globals/mixins/connect'; -import store from '@carbon/ibmdotcom-services-store/es/store.js'; -import { LocaleAPIActions } from '@carbon/ibmdotcom-services-store/es/actions/localeAPI'; -import { TranslateAPIActions } from '@carbon/ibmdotcom-services-store/es/actions/translateAPI'; -import { ProfileAPIActions } from '@carbon/ibmdotcom-services-store/es/actions/profileAPI'; -import { SearchAPIActions } from '@carbon/ibmdotcom-services-store/es/actions/searchAPI'; +import store from '../../internal/vendor/@carbon/ibmdotcom-services-store/store.js'; +import { LocaleAPIActions } from '../../internal/vendor/@carbon/ibmdotcom-services-store/actions/localeAPI'; +import { TranslateAPIActions } from '../../internal/vendor/@carbon/ibmdotcom-services-store/actions/translateAPI'; +import { ProfileAPIActions } from '../../internal/vendor/@carbon/ibmdotcom-services-store/actions/profileAPI'; +import { SearchAPIActions } from '../../internal/vendor/@carbon/ibmdotcom-services-store/actions/searchAPI'; import { FooterContainerActions, FooterContainerState, diff --git a/packages/web-components/src/components/footer/__stories__/adjunct-links.ts b/packages/web-components/src/components/footer/__stories__/adjunct-links.ts index e35204f5ff8..d891a3f288b 100644 --- a/packages/web-components/src/components/footer/__stories__/adjunct-links.ts +++ b/packages/web-components/src/components/footer/__stories__/adjunct-links.ts @@ -7,7 +7,7 @@ * LICENSE file in the root directory of this source tree. */ -import { BasicLink } from '@carbon/ibmdotcom-services-store/es/types/translateAPI'; +import { BasicLink } from '../../../internal/vendor/@carbon/ibmdotcom-services-store/types/translateAPI'; const adjunctLinks: BasicLink[] = [ { diff --git a/packages/web-components/src/components/footer/__stories__/legal-links.ts b/packages/web-components/src/components/footer/__stories__/legal-links.ts index 823cc6b5117..bbbcddf6a85 100644 --- a/packages/web-components/src/components/footer/__stories__/legal-links.ts +++ b/packages/web-components/src/components/footer/__stories__/legal-links.ts @@ -7,7 +7,7 @@ * LICENSE file in the root directory of this source tree. */ -import { BasicLink } from '@carbon/ibmdotcom-services-store/es/types/translateAPI'; +import { BasicLink } from '../../../internal/vendor/@carbon/ibmdotcom-services-store/types/translateAPI'; const legalLinks: BasicLink[] = [ { diff --git a/packages/web-components/src/components/footer/__stories__/links.ts b/packages/web-components/src/components/footer/__stories__/links.ts index 1c5da3e2204..3f6424486c4 100644 --- a/packages/web-components/src/components/footer/__stories__/links.ts +++ b/packages/web-components/src/components/footer/__stories__/links.ts @@ -7,7 +7,7 @@ * LICENSE file in the root directory of this source tree. */ -import { BasicLinkSet } from '@carbon/ibmdotcom-services-store/es/types/translateAPI'; +import { BasicLinkSet } from '../../../internal/vendor/@carbon/ibmdotcom-services-store/types/translateAPI'; /** * Footer links. diff --git a/packages/web-components/src/components/footer/__tests__/footer-composite.test.ts b/packages/web-components/src/components/footer/__tests__/footer-composite.test.ts index 7dda94f505f..07574d5906a 100644 --- a/packages/web-components/src/components/footer/__tests__/footer-composite.test.ts +++ b/packages/web-components/src/components/footer/__tests__/footer-composite.test.ts @@ -9,11 +9,11 @@ import { render } from 'lit/html.js'; import { forEach } from '../../../globals/internal/collection-helpers'; -import { LocaleList } from '@carbon/ibmdotcom-services-store/es/types/localeAPI'; +import { LocaleList } from '../../../internal/vendor/@carbon/ibmdotcom-services-store/types/localeAPI'; import { BasicLink, BasicLinkSet, -} from '@carbon/ibmdotcom-services-store/es/types/translateAPI'; +} from '../../../internal/vendor/@carbon/ibmdotcom-services-store/types/translateAPI'; import '../footer-composite'; import { Default } from '../__stories__/footer.stories'; diff --git a/packages/web-components/src/components/footer/footer-composite.ts b/packages/web-components/src/components/footer/footer-composite.ts index cf542efd379..fe930f0100b 100644 --- a/packages/web-components/src/components/footer/footer-composite.ts +++ b/packages/web-components/src/components/footer/footer-composite.ts @@ -21,12 +21,12 @@ import MediaQueryMixin, { import HybridRenderMixin from '../../globals/mixins/hybrid-render'; import ModalRenderMixin from '../../globals/mixins/modal-render'; import { globalInit } from '@carbon/ibmdotcom-services/es/services/global/global.js'; -import { LocaleList } from '@carbon/ibmdotcom-services-store/es/types/localeAPI'; +import { LocaleList } from '../../internal/vendor/@carbon/ibmdotcom-services-store/types/localeAPI'; import { BasicLink, BasicLinkSet, Translation, -} from '@carbon/ibmdotcom-services-store/es/types/translateAPI'; +} from '../../internal/vendor/@carbon/ibmdotcom-services-store/types/translateAPI'; import { FOOTER_SIZE } from './footer'; import { DROPDOWN_SIZE } from './combo-box'; // Above import is interface-only ref and thus code won't be brought into the build diff --git a/packages/web-components/src/components/footer/footer-container.ts b/packages/web-components/src/components/footer/footer-container.ts index 4986ce3c26b..0c325c89191 100644 --- a/packages/web-components/src/components/footer/footer-container.ts +++ b/packages/web-components/src/components/footer/footer-container.ts @@ -16,25 +16,25 @@ import { } from 'redux'; import settings from '@carbon/ibmdotcom-utilities/es/utilities/settings/settings.js'; import ConnectMixin from '../../globals/mixins/connect'; -import store from '@carbon/ibmdotcom-services-store/es/store.js'; -import { LocaleAPIState } from '@carbon/ibmdotcom-services-store/es/types/localeAPI'; +import store from '../../internal/vendor/@carbon/ibmdotcom-services-store/store.js'; +import { LocaleAPIState } from '../../internal/vendor/@carbon/ibmdotcom-services-store/types/localeAPI'; import { BasicLink, BasicLinkSet, TranslateAPIState, -} from '@carbon/ibmdotcom-services-store/es/types/translateAPI'; +} from '../../internal/vendor/@carbon/ibmdotcom-services-store/types/translateAPI'; import { loadLanguage, setLanguage, loadLocaleList, setLocaleList, -} from '@carbon/ibmdotcom-services-store/es/actions/localeAPI.js'; -import { LocaleAPIActions } from '@carbon/ibmdotcom-services-store/es/actions/localeAPI'; +} from '../../internal/vendor/@carbon/ibmdotcom-services-store/actions/localeAPI.js'; +import { LocaleAPIActions } from '../../internal/vendor/@carbon/ibmdotcom-services-store/actions/localeAPI'; import { loadTranslation, setTranslation, -} from '@carbon/ibmdotcom-services-store/es/actions/translateAPI.js'; -import { TranslateAPIActions } from '@carbon/ibmdotcom-services-store/es/actions/translateAPI'; +} from '../../internal/vendor/@carbon/ibmdotcom-services-store/actions/translateAPI.js'; +import { TranslateAPIActions } from '../../internal/vendor/@carbon/ibmdotcom-services-store/actions/translateAPI'; import { LocaleModalContainerState, LocaleModalContainerStateProps, diff --git a/packages/web-components/src/components/leaving-ibm/leaving-ibm-composite.ts b/packages/web-components/src/components/leaving-ibm/leaving-ibm-composite.ts index efba3d86869..0edda6c7986 100644 --- a/packages/web-components/src/components/leaving-ibm/leaving-ibm-composite.ts +++ b/packages/web-components/src/components/leaving-ibm/leaving-ibm-composite.ts @@ -16,7 +16,7 @@ import settings from '@carbon/ibmdotcom-utilities/es/utilities/settings/settings import { LeavingIBMLabels, Translation, -} from '@carbon/ibmdotcom-services-store/es/types/translateAPI'; +} from '../../internal/vendor/@carbon/ibmdotcom-services-store/types/translateAPI'; import './leaving-ibm-modal'; import './leaving-ibm-modal-body'; import './leaving-ibm-modal-heading'; diff --git a/packages/web-components/src/components/leaving-ibm/leaving-ibm-connect.ts b/packages/web-components/src/components/leaving-ibm/leaving-ibm-connect.ts index f947537f7c4..29188171fb5 100644 --- a/packages/web-components/src/components/leaving-ibm/leaving-ibm-connect.ts +++ b/packages/web-components/src/components/leaving-ibm/leaving-ibm-connect.ts @@ -8,15 +8,15 @@ */ import { ActionCreatorsMapObject, Dispatch, bindActionCreators } from 'redux'; -import { LocaleAPIState } from '@carbon/ibmdotcom-services-store/es/types/localeAPI'; +import { LocaleAPIState } from '../../internal/vendor/@carbon/ibmdotcom-services-store/types/localeAPI'; import { LeavingIBMLabels, MiscLabels, TranslateAPIState, -} from '@carbon/ibmdotcom-services-store/es/types/translateAPI'; -import { loadTranslation } from '@carbon/ibmdotcom-services-store/es/actions/translateAPI.js'; -import { TranslateAPIActions } from '@carbon/ibmdotcom-services-store/es/actions/translateAPI'; -import { setLanguage } from '@carbon/ibmdotcom-services-store/es/actions/localeAPI.js'; +} from '../../internal/vendor/@carbon/ibmdotcom-services-store/types/translateAPI'; +import { loadTranslation } from '../../internal/vendor/@carbon/ibmdotcom-services-store/actions/translateAPI.js'; +import { TranslateAPIActions } from '../../internal/vendor/@carbon/ibmdotcom-services-store/actions/translateAPI'; +import { setLanguage } from '../../internal/vendor/@carbon/ibmdotcom-services-store/actions/localeAPI.js'; /** * The Redux state used for ``. diff --git a/packages/web-components/src/components/leaving-ibm/leaving-ibm-container.ts b/packages/web-components/src/components/leaving-ibm/leaving-ibm-container.ts index 468fa7ec9f7..6c863fac86d 100644 --- a/packages/web-components/src/components/leaving-ibm/leaving-ibm-container.ts +++ b/packages/web-components/src/components/leaving-ibm/leaving-ibm-container.ts @@ -9,9 +9,9 @@ import { ActionCreatorsMapObject, Store } from 'redux'; import settings from '@carbon/ibmdotcom-utilities/es/utilities/settings/settings.js'; -import store from '@carbon/ibmdotcom-services-store/es/store.js'; -import { LocaleAPIActions } from '@carbon/ibmdotcom-services-store/es/actions/localeAPI'; -import { TranslateAPIActions } from '@carbon/ibmdotcom-services-store/es/actions/translateAPI'; +import store from '../../internal/vendor/@carbon/ibmdotcom-services-store/store.js'; +import { LocaleAPIActions } from '../../internal/vendor/@carbon/ibmdotcom-services-store/actions/localeAPI'; +import { TranslateAPIActions } from '../../internal/vendor/@carbon/ibmdotcom-services-store/actions/translateAPI'; import ConnectMixin from '../../globals/mixins/connect'; import { mapStateToProps, diff --git a/packages/web-components/src/components/lightbox-media-viewer/lightbox-video-player-composite.ts b/packages/web-components/src/components/lightbox-media-viewer/lightbox-video-player-composite.ts index 031615b35c3..9bc896bae03 100644 --- a/packages/web-components/src/components/lightbox-media-viewer/lightbox-video-player-composite.ts +++ b/packages/web-components/src/components/lightbox-media-viewer/lightbox-video-player-composite.ts @@ -13,7 +13,7 @@ import on from '@carbon/web-components/es/globals/mixins/on.js'; import { ifDefined } from 'lit/directives/if-defined.js'; import HostListener from '@carbon/web-components/es/globals/decorators/host-listener.js'; import settings from '@carbon/ibmdotcom-utilities/es/utilities/settings/settings.js'; -import { MediaData } from '@carbon/ibmdotcom-services-store/es/types/kalturaPlayerAPI'; +import { MediaData } from '../../internal/vendor/@carbon/ibmdotcom-services-store/types/kalturaPlayerAPI'; import ModalRenderMixin from '../../globals/mixins/modal-render'; import Handle from '../../globals/internal/handle'; import C4DVideoPlayerComposite from '../video-player/video-player-composite'; diff --git a/packages/web-components/src/components/lightbox-media-viewer/lightbox-video-player-container.ts b/packages/web-components/src/components/lightbox-media-viewer/lightbox-video-player-container.ts index 947c4abc9f5..1bf0ef039fd 100644 --- a/packages/web-components/src/components/lightbox-media-viewer/lightbox-video-player-container.ts +++ b/packages/web-components/src/components/lightbox-media-viewer/lightbox-video-player-container.ts @@ -9,8 +9,8 @@ import { ActionCreatorsMapObject, Store } from 'redux'; import settings from '@carbon/ibmdotcom-utilities/es/utilities/settings/settings.js'; -import store from '@carbon/ibmdotcom-services-store/es/store.js'; -import { MediaPlayerAPIActions } from '@carbon/ibmdotcom-services-store/es/actions/kalturaPlayerAPI'; +import store from '../../internal/vendor/@carbon/ibmdotcom-services-store/store.js'; +import { MediaPlayerAPIActions } from '../../internal/vendor/@carbon/ibmdotcom-services-store/actions/kalturaPlayerAPI'; import ConnectMixin from '../../globals/mixins/connect'; import { VideoPlayerContainerState, diff --git a/packages/web-components/src/components/locale-modal/__tests__/locale-modal-composite.test.ts b/packages/web-components/src/components/locale-modal/__tests__/locale-modal-composite.test.ts index 467a5b65846..65a7a319558 100644 --- a/packages/web-components/src/components/locale-modal/__tests__/locale-modal-composite.test.ts +++ b/packages/web-components/src/components/locale-modal/__tests__/locale-modal-composite.test.ts @@ -9,7 +9,7 @@ import { html, render } from 'lit/html.js'; import { ifDefined } from 'lit/directives/if-defined.js'; -import { LocaleList } from '@carbon/ibmdotcom-services-store/es/types/localeAPI'; +import { LocaleList } from '../../../internal/vendor/@carbon/ibmdotcom-services-store/types/localeAPI'; // Above import is interface-only ref and thus code won't be brought into the build import '../locale-modal-container'; import localeData from '../__stories__/locale-data.json'; diff --git a/packages/web-components/src/components/locale-modal/locale-modal-composite.ts b/packages/web-components/src/components/locale-modal/locale-modal-composite.ts index ea8f1490f11..59e44e131c1 100644 --- a/packages/web-components/src/components/locale-modal/locale-modal-composite.ts +++ b/packages/web-components/src/components/locale-modal/locale-modal-composite.ts @@ -21,7 +21,7 @@ import HybridRenderMixin from '../../globals/mixins/hybrid-render'; import { Country, LocaleList, -} from '@carbon/ibmdotcom-services-store/es/types/localeAPI'; +} from '../../internal/vendor/@carbon/ibmdotcom-services-store/types/localeAPI'; import './locale-modal'; import C4DLocaleModal from './locale-modal'; import './regions'; diff --git a/packages/web-components/src/components/locale-modal/locale-modal-container.ts b/packages/web-components/src/components/locale-modal/locale-modal-container.ts index 4451251c268..6eb34f19cf9 100644 --- a/packages/web-components/src/components/locale-modal/locale-modal-container.ts +++ b/packages/web-components/src/components/locale-modal/locale-modal-container.ts @@ -16,17 +16,17 @@ import { } from 'redux'; import settings from '@carbon/ibmdotcom-utilities/es/utilities/settings/settings.js'; import ConnectMixin from '../../globals/mixins/connect'; -import store from '@carbon/ibmdotcom-services-store/es/store.js'; +import store from '../../internal/vendor/@carbon/ibmdotcom-services-store/store.js'; import { LocaleList, LocaleAPIState, -} from '@carbon/ibmdotcom-services-store/es/types/localeAPI'; +} from '../../internal/vendor/@carbon/ibmdotcom-services-store/types/localeAPI'; import { loadLanguage, setLanguage, loadLocaleList, -} from '@carbon/ibmdotcom-services-store/es/actions/localeAPI.js'; -import { LocaleAPIActions } from '@carbon/ibmdotcom-services-store/es/actions/localeAPI'; +} from '../../internal/vendor/@carbon/ibmdotcom-services-store/actions/localeAPI.js'; +import { LocaleAPIActions } from '../../internal/vendor/@carbon/ibmdotcom-services-store/actions/localeAPI'; import C4DLocaleModalComposite from './locale-modal-composite'; import { carbonElement as customElement } from '@carbon/web-components/es/globals/decorators/carbon-element.js'; diff --git a/packages/web-components/src/components/masthead/__stories__/links.ts b/packages/web-components/src/components/masthead/__stories__/links.ts index d0724e98c7b..ea523f1aaf7 100644 --- a/packages/web-components/src/components/masthead/__stories__/links.ts +++ b/packages/web-components/src/components/masthead/__stories__/links.ts @@ -11,7 +11,7 @@ import { MastheadL1, MastheadLogoData, L0MenuItem, -} from '@carbon/ibmdotcom-services-store/es/types/translateAPI'; +} from '../../../internal/vendor/@carbon/ibmdotcom-services-store/types/translateAPI'; /* eslint-disable max-len */ diff --git a/packages/web-components/src/components/masthead/__stories__/masthead.stories.ts b/packages/web-components/src/components/masthead/__stories__/masthead.stories.ts index 6d614d1eb3d..cdfcab5b7d4 100644 --- a/packages/web-components/src/components/masthead/__stories__/masthead.stories.ts +++ b/packages/web-components/src/components/masthead/__stories__/masthead.stories.ts @@ -26,7 +26,7 @@ import { import { UNAUTHENTICATED_STATUS, MASTHEAD_AUTH_METHOD, -} from '@carbon/ibmdotcom-services-store/es/types/profileAPI.js'; +} from '../../../internal/vendor/@carbon/ibmdotcom-services-store/types/profileAPI.js'; import { authenticatedProfileItems, unauthenticatedProfileItems, diff --git a/packages/web-components/src/components/masthead/__stories__/profile-items.ts b/packages/web-components/src/components/masthead/__stories__/profile-items.ts index 9815a349522..1fe3ec935f4 100644 --- a/packages/web-components/src/components/masthead/__stories__/profile-items.ts +++ b/packages/web-components/src/components/masthead/__stories__/profile-items.ts @@ -7,7 +7,7 @@ * LICENSE file in the root directory of this source tree. */ -import { MastheadProfileItem } from '@carbon/ibmdotcom-services-store/es/types/translateAPI'; +import { MastheadProfileItem } from '../../../internal/vendor/@carbon/ibmdotcom-services-store/types/translateAPI'; const searchParams = new URLSearchParams(); searchParams.append('response_type', 'token'); diff --git a/packages/web-components/src/components/masthead/__stories__/scoped-search-masthead.stories.ts b/packages/web-components/src/components/masthead/__stories__/scoped-search-masthead.stories.ts index c9506be8337..f74d1621660 100644 --- a/packages/web-components/src/components/masthead/__stories__/scoped-search-masthead.stories.ts +++ b/packages/web-components/src/components/masthead/__stories__/scoped-search-masthead.stories.ts @@ -17,7 +17,7 @@ import c4dLeftNav from '../left-nav'; import '../masthead-container'; import styles from './masthead.stories.scss'; import { mastheadL0Data } from './links'; -import { UNAUTHENTICATED_STATUS } from '@carbon/ibmdotcom-services-store/es/types/profileAPI.js'; +import { UNAUTHENTICATED_STATUS } from '../../../internal/vendor/@carbon/ibmdotcom-services-store/types/profileAPI.js'; import { authenticatedProfileItems, unauthenticatedProfileItems, diff --git a/packages/web-components/src/components/masthead/masthead-composite.ts b/packages/web-components/src/components/masthead/masthead-composite.ts index 25a6be4b4f1..fe9dc2817ab 100644 --- a/packages/web-components/src/components/masthead/masthead-composite.ts +++ b/packages/web-components/src/components/masthead/masthead-composite.ts @@ -30,12 +30,12 @@ import { L0Megamenu, Megapanel, MegapanelLinkGroup, -} from '@carbon/ibmdotcom-services-store/es/types/translateAPI'; +} from '../../internal/vendor/@carbon/ibmdotcom-services-store/types/translateAPI'; import { UNAUTHENTICATED_STATUS, CLOUD_UNAUTHENTICATED_STATUS, MASTHEAD_AUTH_METHOD, -} from '@carbon/ibmdotcom-services-store/es/types/profileAPI.js'; +} from '../../internal/vendor/@carbon/ibmdotcom-services-store/types/profileAPI.js'; import { MEGAMENU_RIGHT_NAVIGATION_STYLE_SCHEME } from './megamenu-right-navigation'; import { C4D_CUSTOM_PROFILE_LOGIN } from '../../globals/internal/feature-flags'; import C4DMastheadLogo from './masthead-logo'; diff --git a/packages/web-components/src/components/masthead/masthead-container.ts b/packages/web-components/src/components/masthead/masthead-container.ts index 29fb74ef7a4..f74b1b27379 100644 --- a/packages/web-components/src/components/masthead/masthead-container.ts +++ b/packages/web-components/src/components/masthead/masthead-container.ts @@ -15,22 +15,22 @@ import { bindActionCreators, } from 'redux'; import settings from '@carbon/ibmdotcom-utilities/es/utilities/settings/settings.js'; -import { LocaleAPIState } from '@carbon/ibmdotcom-services-store/es/types/localeAPI'; +import { LocaleAPIState } from '../../internal/vendor/@carbon/ibmdotcom-services-store/types/localeAPI'; import { L0MenuItem, TranslateAPIState, -} from '@carbon/ibmdotcom-services-store/es/types/translateAPI'; -import { ProfileAPIState } from '@carbon/ibmdotcom-services-store/es/types/profileAPI'; -import store from '@carbon/ibmdotcom-services-store/es/store.js'; +} from '../../internal/vendor/@carbon/ibmdotcom-services-store/types/translateAPI'; +import { ProfileAPIState } from '../../internal/vendor/@carbon/ibmdotcom-services-store/types/profileAPI'; +import store from '../../internal/vendor/@carbon/ibmdotcom-services-store/store.js'; import { loadLanguage, setLanguage, -} from '@carbon/ibmdotcom-services-store/es/actions/localeAPI.js'; -import { LocaleAPIActions } from '@carbon/ibmdotcom-services-store/es/actions/localeAPI'; -import { loadTranslation } from '@carbon/ibmdotcom-services-store/es/actions/translateAPI.js'; -import { TranslateAPIActions } from '@carbon/ibmdotcom-services-store/es/actions/translateAPI'; -import { loadUserStatus } from '@carbon/ibmdotcom-services-store/es/actions/profileAPI.js'; -import { ProfileAPIActions } from '@carbon/ibmdotcom-services-store/es/actions/profileAPI'; +} from '../../internal/vendor/@carbon/ibmdotcom-services-store/actions/localeAPI.js'; +import { LocaleAPIActions } from '../../internal/vendor/@carbon/ibmdotcom-services-store/actions/localeAPI'; +import { loadTranslation } from '../../internal/vendor/@carbon/ibmdotcom-services-store/actions/translateAPI.js'; +import { TranslateAPIActions } from '../../internal/vendor/@carbon/ibmdotcom-services-store/actions/translateAPI'; +import { loadUserStatus } from '../../internal/vendor/@carbon/ibmdotcom-services-store/actions/profileAPI.js'; +import { ProfileAPIActions } from '../../internal/vendor/@carbon/ibmdotcom-services-store/actions/profileAPI'; import ConnectMixin from '../../globals/mixins/connect'; import C4DMastheadComposite from './masthead-composite'; diff --git a/packages/web-components/src/components/masthead/masthead-l1.ts b/packages/web-components/src/components/masthead/masthead-l1.ts index 9b5bcb9e1ab..17c6c8247a5 100644 --- a/packages/web-components/src/components/masthead/masthead-l1.ts +++ b/packages/web-components/src/components/masthead/masthead-l1.ts @@ -19,7 +19,7 @@ import { L1CtaLink, L1SubmenuSectionHeading, MastheadL1, -} from '@carbon/ibmdotcom-services-store/es/types/translateAPI'; +} from '../../internal/vendor/@carbon/ibmdotcom-services-store/types/translateAPI'; import { ifDefined } from 'lit/directives/if-defined.js'; import { unsafeHTML } from 'lit/directives/unsafe-html.js'; import ChevronDown16 from '@carbon/web-components/es/icons/chevron--down/16.js'; diff --git a/packages/web-components/src/components/video-player/video-player-composite.ts b/packages/web-components/src/components/video-player/video-player-composite.ts index 712aaf853b4..a7fd888a819 100644 --- a/packages/web-components/src/components/video-player/video-player-composite.ts +++ b/packages/web-components/src/components/video-player/video-player-composite.ts @@ -15,7 +15,7 @@ import HostListenerMixin from '@carbon/web-components/es/globals/mixins/host-lis import settings from '@carbon/ibmdotcom-utilities/es/utilities/settings/settings.js'; import KalturaPlayerAPI from '@carbon/ibmdotcom-services/es/services/KalturaPlayer/KalturaPlayer.js'; import HybridRenderMixin from '../../globals/mixins/hybrid-render'; -import { MediaData } from '@carbon/ibmdotcom-services-store/es/types/kalturaPlayerAPI'; +import { MediaData } from '../../internal/vendor/@carbon/ibmdotcom-services-store/types/kalturaPlayerAPI'; import { VIDEO_PLAYER_CONTENT_STATE, VIDEO_PLAYER_PLAYING_MODE, diff --git a/packages/web-components/src/components/video-player/video-player-container.ts b/packages/web-components/src/components/video-player/video-player-container.ts index 38191667523..6ac26b6a0b9 100644 --- a/packages/web-components/src/components/video-player/video-player-container.ts +++ b/packages/web-components/src/components/video-player/video-player-container.ts @@ -16,13 +16,13 @@ import { import {} from 'lit'; import KalturaPlayerAPI from '@carbon/ibmdotcom-services/es/services/KalturaPlayer/KalturaPlayer.js'; import settings from '@carbon/ibmdotcom-utilities/es/utilities/settings/settings.js'; -import store from '@carbon/ibmdotcom-services-store/es/store.js'; +import store from '../../internal/vendor/@carbon/ibmdotcom-services-store/store.js'; import { MediaData, MediaPlayerAPIState, -} from '@carbon/ibmdotcom-services-store/es/types/kalturaPlayerAPI'; -import { loadMediaData } from '@carbon/ibmdotcom-services-store/es/actions/kalturaPlayerAPI.js'; -import { MediaPlayerAPIActions } from '@carbon/ibmdotcom-services-store/es/actions/kalturaPlayerAPI'; +} from '../../internal/vendor/@carbon/ibmdotcom-services-store/types/kalturaPlayerAPI'; +import { loadMediaData } from '../../internal/vendor/@carbon/ibmdotcom-services-store/actions/kalturaPlayerAPI.js'; +import { MediaPlayerAPIActions } from '../../internal/vendor/@carbon/ibmdotcom-services-store/actions/kalturaPlayerAPI'; import { Constructor } from '../../globals/defs'; import ConnectMixin from '../../globals/mixins/connect'; import StableSelectorMixin from '../../globals/mixins/stable-selector';