@cooperco/cooper-component-library 0.1.121 → 0.1.122
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cms/0090-splitmodule-flat-fields.cjs +114 -0
- package/dist/cms/0091-splitmodule-migrate-data.cjs +73 -0
- package/dist/cms/0092-splitmodule-collection-constraints.cjs +88 -0
- package/dist/cms/0093-splitmodule-bodycopy-no-embeds.cjs +57 -0
- package/dist/cms/containerCollectionModule.query.ts +0 -6
- package/dist/cms/contentful/migrations/scripts/0090-splitmodule-flat-fields.cjs +114 -0
- package/dist/cms/contentful/migrations/scripts/0091-splitmodule-migrate-data.cjs +73 -0
- package/dist/cms/contentful/migrations/scripts/0092-splitmodule-collection-constraints.cjs +88 -0
- package/dist/cms/contentful/migrations/scripts/0093-splitmodule-bodycopy-no-embeds.cjs +57 -0
- package/dist/cms/contentful/queries/containerCollectionModule.query.js +0 -6
- package/dist/cms/contentful/queries/containerCollectionModule.query.ts +0 -6
- package/dist/cms/contentful/queries/page.query.js +0 -5
- package/dist/cms/contentful/queries/page.query.ts +0 -5
- package/dist/cms/contentful/queries/splitModule.query.js +30 -56
- package/dist/cms/contentful/queries/splitModule.query.ts +30 -56
- package/dist/cms/migrations/scripts/0090-splitmodule-flat-fields.cjs +114 -0
- package/dist/cms/migrations/scripts/0091-splitmodule-migrate-data.cjs +73 -0
- package/dist/cms/migrations/scripts/0092-splitmodule-collection-constraints.cjs +88 -0
- package/dist/cms/migrations/scripts/0093-splitmodule-bodycopy-no-embeds.cjs +57 -0
- package/dist/cms/page.query.ts +0 -5
- package/dist/cms/queries/containerCollectionModule.query.ts +0 -6
- package/dist/cms/queries/page.query.ts +0 -5
- package/dist/cms/queries/splitModule.query.ts +30 -56
- package/dist/cms/scripts/0090-splitmodule-flat-fields.cjs +114 -0
- package/dist/cms/scripts/0091-splitmodule-migrate-data.cjs +73 -0
- package/dist/cms/scripts/0092-splitmodule-collection-constraints.cjs +88 -0
- package/dist/cms/scripts/0093-splitmodule-bodycopy-no-embeds.cjs +57 -0
- package/dist/cms/splitModule.query.ts +30 -56
- package/dist/lib/component-lib.js +2656 -2595
- package/dist/lib/component-lib.umd.cjs +23 -23
- package/dist/lib/css/main.css +12 -0
- package/dist/lib/style.css +1 -1
- package/dist/types/src/components/ContainerCollectionModule/ContainerCollectionModule.d.ts +2 -2
- package/dist/types/src/components/ContainerModule/ContainerModule.d.ts +0 -1
- package/dist/types/src/components/SplitModule/SplitModule.d.ts +12 -11
- package/dist/types/src/config/defaultPassthrough/types.d.ts +3 -1
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Component, ComponentPassthrough } from '../../types';
|
|
2
|
-
import { ContainerModule } from '../ContainerModule/ContainerModule';
|
|
3
2
|
import { SplitModule } from '../SplitModule/SplitModule';
|
|
4
3
|
export interface ContainerCollectionModule extends Component {
|
|
5
4
|
__typename?: 'ContainerCollection';
|
|
5
|
+
entryName?: string;
|
|
6
6
|
headline?: string;
|
|
7
|
-
modules:
|
|
7
|
+
modules: SplitModule[];
|
|
8
8
|
backgroundColor?: string;
|
|
9
9
|
pt?: ComponentPassthrough;
|
|
10
10
|
}
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { Image } from '../Image/Image';
|
|
2
|
-
import { ContentModule } from '../ContentModule/ContentModule';
|
|
3
|
-
import { Video } from '../Video/Video';
|
|
4
2
|
import { Component, ComponentPassthrough } from '../../types';
|
|
3
|
+
export interface SplitModulePassthrough extends ComponentPassthrough {
|
|
4
|
+
root?: string;
|
|
5
|
+
image?: string;
|
|
6
|
+
header?: string;
|
|
7
|
+
bodyCopy?: string;
|
|
8
|
+
}
|
|
5
9
|
export interface SplitModule extends Component {
|
|
6
10
|
__typename?: 'SplitModule';
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
backgroundImage?: Image;
|
|
11
|
+
entryName?: string;
|
|
12
|
+
image?: Image;
|
|
13
|
+
header?: string;
|
|
14
|
+
bodyCopy?: string;
|
|
15
|
+
variant: '2 Section' | '3 Section' | 'Background Image';
|
|
13
16
|
backgroundColor?: string;
|
|
14
|
-
pt?:
|
|
15
|
-
isChild?: boolean;
|
|
16
|
-
isContainerCollectionChild?: boolean;
|
|
17
|
+
pt?: SplitModulePassthrough;
|
|
17
18
|
}
|
|
@@ -10,7 +10,8 @@ import { CTAPassthrough } from '../../components/CTA/CTA';
|
|
|
10
10
|
import { TileLabelPassthrough } from '../../components/TileLabel/TileLabel';
|
|
11
11
|
import { ChartModulePassthrough } from '../../components/ChartModule/ChartModule';
|
|
12
12
|
import { HelloBannerPassthrough } from '../../components/HelloBanner/HelloBanner';
|
|
13
|
-
|
|
13
|
+
import { SplitModulePassthrough } from '../../components/SplitModule/SplitModule';
|
|
14
|
+
export interface GenericComponentPassthrough extends ComponentPassthrough, TileLabelPassthrough, AccordionPassthrough, AccordionItemPassthrough, CarouselPassthrough, ContainerModulePassthrough, ContentModulePassthrough, CTAPassthrough, SplitModulePassthrough, TestimonialModulePassthrough, TileContentPassthrough, HelloBannerPassthrough, ChartModulePassthrough {
|
|
14
15
|
}
|
|
15
16
|
export interface AccordionPtVariants {
|
|
16
17
|
List: AccordionPassthrough;
|
|
@@ -41,6 +42,7 @@ export interface Pt_Overrides {
|
|
|
41
42
|
LogoCollectionModule?: GenericComponentPassthrough;
|
|
42
43
|
NavigationElement?: GenericComponentPassthrough;
|
|
43
44
|
PrimaryNavigation?: GenericComponentPassthrough;
|
|
45
|
+
ContainerCollectionModule?: GenericComponentPassthrough;
|
|
44
46
|
SplitModule?: GenericComponentPassthrough;
|
|
45
47
|
TestimonialModule?: GenericComponentPassthrough;
|
|
46
48
|
TileCollectionModule?: GenericComponentPassthrough;
|