@cooperco/cooper-component-library 0.1.101 → 0.1.103
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/{contentful/migrations/scripts/0085-add-vertical-alignment-to-content-module.cjs → 0087-add-table-highlight-to-content-module.cjs} +8 -14
- package/dist/cms/containerModule.query.ts +3 -0
- package/dist/cms/contentModule.query.ts +1 -0
- package/dist/cms/{0085-add-vertical-alignment-to-content-module.cjs → contentful/migrations/scripts/0087-add-table-highlight-to-content-module.cjs} +8 -14
- package/dist/cms/contentful/queries/containerModule.query.js +3 -0
- package/dist/cms/contentful/queries/containerModule.query.ts +3 -0
- package/dist/cms/contentful/queries/contentModule.query.js +1 -0
- package/dist/cms/contentful/queries/contentModule.query.ts +1 -0
- package/dist/cms/migrations/scripts/{0085-add-vertical-alignment-to-content-module.cjs → 0087-add-table-highlight-to-content-module.cjs} +8 -14
- package/dist/cms/queries/containerModule.query.ts +3 -0
- package/dist/cms/queries/contentModule.query.ts +1 -0
- package/dist/cms/scripts/{0085-add-vertical-alignment-to-content-module.cjs → 0087-add-table-highlight-to-content-module.cjs} +8 -14
- package/dist/lib/component-lib.js +1860 -1795
- package/dist/lib/component-lib.umd.cjs +23 -23
- package/dist/lib/css/main.css +16 -8
- package/dist/lib/style.css +1 -1
- package/dist/types/src/components/ContentModule/ContentModule.d.ts +6 -0
- package/package.json +1 -1
- package/dist/cms/0058-update-cta.js +0 -16
- package/dist/cms/0059-update-navigation-element.js +0 -23
- package/dist/cms/0060-update-testimonial-module.js +0 -24
- package/dist/cms/0076-rename-image-to-media-tile-content.cjs +0 -34
- package/dist/cms/0077-add-feature-variant-to-container-module.cjs +0 -37
- package/dist/cms/contentful/graphql/queries/accordion.query.d.ts +0 -2
- package/dist/cms/contentful/graphql/queries/accordion.query.js +0 -19
- package/dist/cms/contentful/graphql/queries/carousel.query.d.ts +0 -2
- package/dist/cms/contentful/graphql/queries/carousel.query.js +0 -32
- package/dist/cms/contentful/graphql/queries/containerModule.query.d.ts +0 -2
- package/dist/cms/contentful/graphql/queries/containerModule.query.js +0 -140
- package/dist/cms/contentful/graphql/queries/contentModule.query.d.ts +0 -2
- package/dist/cms/contentful/graphql/queries/contentModule.query.js +0 -49
- package/dist/cms/contentful/graphql/queries/cta.query.d.ts +0 -2
- package/dist/cms/contentful/graphql/queries/cta.query.js +0 -10
- package/dist/cms/contentful/graphql/queries/footer.query.d.ts +0 -2
- package/dist/cms/contentful/graphql/queries/footer.query.js +0 -44
- package/dist/cms/contentful/graphql/queries/fragments.d.ts +0 -11
- package/dist/cms/contentful/graphql/queries/fragments.js +0 -172
- package/dist/cms/contentful/graphql/queries/header.query.d.ts +0 -2
- package/dist/cms/contentful/graphql/queries/header.query.js +0 -39
- package/dist/cms/contentful/graphql/queries/image.query.d.ts +0 -2
- package/dist/cms/contentful/graphql/queries/image.query.js +0 -10
- package/dist/cms/contentful/graphql/queries/index.d.ts +0 -18
- package/dist/cms/contentful/graphql/queries/index.js +0 -18
- package/dist/cms/contentful/graphql/queries/link.query.d.ts +0 -2
- package/dist/cms/contentful/graphql/queries/link.query.js +0 -10
- package/dist/cms/contentful/graphql/queries/logoCollection.query.d.ts +0 -2
- package/dist/cms/contentful/graphql/queries/logoCollection.query.js +0 -16
- package/dist/cms/contentful/graphql/queries/navigation.query.d.ts +0 -2
- package/dist/cms/contentful/graphql/queries/navigation.query.js +0 -10
- package/dist/cms/contentful/graphql/queries/page.query.d.ts +0 -2
- package/dist/cms/contentful/graphql/queries/page.query.js +0 -23
- package/dist/cms/contentful/graphql/queries/pageMetadata.query.d.ts +0 -2
- package/dist/cms/contentful/graphql/queries/pageMetadata.query.js +0 -16
- package/dist/cms/contentful/graphql/queries/productModule.query.d.ts +0 -2
- package/dist/cms/contentful/graphql/queries/productModule.query.js +0 -59
- package/dist/cms/contentful/graphql/queries/testimonial.query.d.ts +0 -2
- package/dist/cms/contentful/graphql/queries/testimonial.query.js +0 -23
- package/dist/cms/contentful/graphql/queries/tileCollection.query.d.ts +0 -4
- package/dist/cms/contentful/graphql/queries/tileCollection.query.js +0 -35
- package/dist/cms/contentful/graphql/queries/video.query.d.ts +0 -2
- package/dist/cms/contentful/graphql/queries/video.query.js +0 -11
- package/dist/cms/contentful/migrations/drafts/0058-update-cta.js +0 -16
- package/dist/cms/contentful/migrations/drafts/0059-update-navigation-element.js +0 -23
- package/dist/cms/contentful/migrations/drafts/create-hello-banner.cjs +0 -62
- package/dist/cms/contentful/migrations/scripts/0060-update-testimonial-module.js +0 -24
- package/dist/cms/contentful/migrations/scripts/0076-rename-image-to-media-tile-content.cjs +0 -34
- package/dist/cms/contentful/migrations/scripts/0077-add-feature-variant-to-container-module.cjs +0 -37
- package/dist/cms/create-hello-banner.cjs +0 -62
- package/dist/cms/drafts/0058-update-cta.js +0 -16
- package/dist/cms/drafts/0059-update-navigation-element.js +0 -23
- package/dist/cms/drafts/create-hello-banner.cjs +0 -62
- package/dist/cms/migrations/drafts/0058-update-cta.js +0 -16
- package/dist/cms/migrations/drafts/0059-update-navigation-element.js +0 -23
- package/dist/cms/migrations/drafts/create-hello-banner.cjs +0 -62
- package/dist/cms/migrations/scripts/0060-update-testimonial-module.js +0 -24
- package/dist/cms/migrations/scripts/0076-rename-image-to-media-tile-content.cjs +0 -34
- package/dist/cms/migrations/scripts/0077-add-feature-variant-to-container-module.cjs +0 -37
- package/dist/cms/scripts/0060-update-testimonial-module.js +0 -24
- package/dist/cms/scripts/0076-rename-image-to-media-tile-content.cjs +0 -34
- package/dist/cms/scripts/0077-add-feature-variant-to-container-module.cjs +0 -37
- package/dist/types/App.vue.d.ts +0 -2
- package/dist/types/cms/contentful/graphql/queries/accordion.query.d.ts +0 -2
- package/dist/types/cms/contentful/graphql/queries/carousel.query.d.ts +0 -2
- package/dist/types/cms/contentful/graphql/queries/containerModule.query.d.ts +0 -2
- package/dist/types/cms/contentful/graphql/queries/contentModule.query.d.ts +0 -2
- package/dist/types/cms/contentful/graphql/queries/cta.query.d.ts +0 -2
- package/dist/types/cms/contentful/graphql/queries/footer.query.d.ts +0 -2
- package/dist/types/cms/contentful/graphql/queries/fragments.d.ts +0 -11
- package/dist/types/cms/contentful/graphql/queries/header.query.d.ts +0 -2
- package/dist/types/cms/contentful/graphql/queries/image.query.d.ts +0 -2
- package/dist/types/cms/contentful/graphql/queries/index.d.ts +0 -18
- package/dist/types/cms/contentful/graphql/queries/link.query.d.ts +0 -2
- package/dist/types/cms/contentful/graphql/queries/logoCollection.query.d.ts +0 -2
- package/dist/types/cms/contentful/graphql/queries/navigation.query.d.ts +0 -2
- package/dist/types/cms/contentful/graphql/queries/page.query.d.ts +0 -2
- package/dist/types/cms/contentful/graphql/queries/pageMetadata.query.d.ts +0 -2
- package/dist/types/cms/contentful/graphql/queries/productModule.query.d.ts +0 -2
- package/dist/types/cms/contentful/graphql/queries/testimonial.query.d.ts +0 -2
- package/dist/types/cms/contentful/graphql/queries/tileCollection.query.d.ts +0 -4
- package/dist/types/cms/contentful/graphql/queries/video.query.d.ts +0 -2
- package/dist/types/components/Accordion/Accordion.d.ts +0 -19
- package/dist/types/components/Accordion/Accordion.vue.d.ts +0 -5
- package/dist/types/components/Accordion/AccordionItem.d.ts +0 -24
- package/dist/types/components/Accordion/AccordionItem.vue.d.ts +0 -9
- package/dist/types/components/Accordion/AccordionListItem.vue.d.ts +0 -3
- package/dist/types/components/Accordion/AccordionTileItem.vue.d.ts +0 -7
- package/dist/types/components/AnimationWrapper/AnimationWrapper.d.ts +0 -7
- package/dist/types/components/AnimationWrapper/AnimationWrapper.vue.d.ts +0 -10
- package/dist/types/components/CTA/CTA.d.ts +0 -25
- package/dist/types/components/CTA/CTA.vue.d.ts +0 -7
- package/dist/types/components/CarouselModule/CarouselModule.d.ts +0 -22
- package/dist/types/components/CarouselModule/CarouselModule.vue.d.ts +0 -5
- package/dist/types/components/ContainerCollectionModule/ContainerCollectionModule.d.ts +0 -10
- package/dist/types/components/ContainerCollectionModule/ContainerCollectionModule.vue.d.ts +0 -3
- package/dist/types/components/ContainerModule/ContainerModule.d.ts +0 -29
- package/dist/types/components/ContainerModule/ContainerModule.vue.d.ts +0 -14
- package/dist/types/components/ContentModule/ContentModule.d.ts +0 -31
- package/dist/types/components/ContentModule/ContentModule.vue.d.ts +0 -7
- package/dist/types/components/Footer/FooterCopyright/FooterCopyright.d.ts +0 -10
- package/dist/types/components/Footer/FooterCopyright/FooterCopyright.vue.d.ts +0 -3
- package/dist/types/components/Footer/FooterNavigation/FooterNavigation.d.ts +0 -14
- package/dist/types/components/Footer/FooterNavigation/FooterNavigation.vue.d.ts +0 -3
- package/dist/types/components/Footer/SocialMediaRef/SocialMediaRef.d.ts +0 -4
- package/dist/types/components/Footer/SocialMediaRef/SocialMediaRef.vue.d.ts +0 -3
- package/dist/types/components/Image/Image.d.ts +0 -15
- package/dist/types/components/Image/Image.vue.d.ts +0 -6
- package/dist/types/components/LogoCollectionModule/LogoCollectionModule.d.ts +0 -9
- package/dist/types/components/LogoCollectionModule/LogoCollectionModule.vue.d.ts +0 -3
- package/dist/types/components/NavigationElement/NavigationElement.d.ts +0 -20
- package/dist/types/components/NavigationElement/NavigationElement.vue.d.ts +0 -3
- package/dist/types/components/PrimaryNavigation/PrimaryNavigation.d.ts +0 -10
- package/dist/types/components/PrimaryNavigation/PrimaryNavigation.vue.d.ts +0 -9
- package/dist/types/components/SplitModule/SplitModule.d.ts +0 -16
- package/dist/types/components/SplitModule/SplitModule.vue.d.ts +0 -3
- package/dist/types/components/TestimonialModule/TestimonialModule.d.ts +0 -21
- package/dist/types/components/TestimonialModule/TestimonialModule.vue.d.ts +0 -3
- package/dist/types/components/TileCollectionModule/TileCollectionModule.d.ts +0 -18
- package/dist/types/components/TileCollectionModule/TileCollectionModule.vue.d.ts +0 -6
- package/dist/types/components/TileContent/TileContent.d.ts +0 -55
- package/dist/types/components/TileContent/TileContentIconTile.vue.d.ts +0 -5
- package/dist/types/components/TileContent/TileContentImageStackedAnimatedTile.vue.d.ts +0 -3
- package/dist/types/components/TileContent/TileContentImageTile.vue.d.ts +0 -5
- package/dist/types/components/TileContent/TileContentTextTile.vue.d.ts +0 -5
- package/dist/types/components/TileContent/TileContentVideoTile.vue.d.ts +0 -5
- package/dist/types/components/TileLabel/TileLabel.d.ts +0 -14
- package/dist/types/components/TileLabel/TileLabel.vue.d.ts +0 -6
- package/dist/types/components/Video/Video.d.ts +0 -7
- package/dist/types/components/Video/Video.vue.d.ts +0 -3
- package/dist/types/components/components.d.ts +0 -26
- package/dist/types/components/types.d.ts +0 -19
- package/dist/types/config/colorPalettes.d.ts +0 -59
- package/dist/types/config/defaultPassthrough/config.d.ts +0 -3
- package/dist/types/config/defaultPassthrough/index.d.ts +0 -67
- package/dist/types/config/defaultPassthrough/types.d.ts +0 -51
- package/dist/types/index.d.ts +0 -13
- package/dist/types/init.d.ts +0 -3
- package/dist/types/pages/index.vue.d.ts +0 -2
- package/dist/types/router.d.ts +0 -5
- package/dist/types/src/components/HelloBar/HelloBar.d.ts +0 -23
- package/dist/types/src/components/HelloBar/HelloBar.vue.d.ts +0 -3
- package/dist/types/src/components/_internal/SimpleCard.vue.d.ts +0 -16
- package/dist/types/src/components/_internal/SimpleCarousel.vue.d.ts +0 -63
- package/dist/types/src/config/defaultPassthrough/ChartModulePt.d.ts +0 -1
- package/dist/types/types.d.ts +0 -61
- package/dist/types/utils/getTarget.d.ts +0 -2
|
@@ -44,4 +44,10 @@ export interface ContentModule extends Component {
|
|
|
44
44
|
* Headline keeps mobile sizing (27px) at md, only stepping up at lg+.
|
|
45
45
|
*/
|
|
46
46
|
isFeature?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Table highlight option for tables in bodyCopy.
|
|
49
|
+
* When 'Row' is selected, the first row is highlighted and bolded.
|
|
50
|
+
* When 'Column' is selected, the first column is highlighted and bolded.
|
|
51
|
+
*/
|
|
52
|
+
tableHighlight?: 'Row' | 'Column';
|
|
47
53
|
}
|
package/package.json
CHANGED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
/** @type { import('contentful-migration').MigrationFunction } */
|
|
3
|
-
up: function (migration) {
|
|
4
|
-
const cta = migration.editContentType('cta')
|
|
5
|
-
|
|
6
|
-
cta.createField('highlighted', {
|
|
7
|
-
name: 'Highlighted',
|
|
8
|
-
type: 'Boolean',
|
|
9
|
-
defaultValue: false,
|
|
10
|
-
})
|
|
11
|
-
},
|
|
12
|
-
down: function (migration) {
|
|
13
|
-
const cta = migration.editContentType('cta')
|
|
14
|
-
cta.deleteField('highlighted')
|
|
15
|
-
},
|
|
16
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
/** @type { import('contentful-migration').MigrationFunction } */
|
|
3
|
-
up: function (migration) {
|
|
4
|
-
const navigationElement = migration.editContentType('navigationElement')
|
|
5
|
-
|
|
6
|
-
navigationElement.createField('highlighted', {
|
|
7
|
-
name: 'Highlighted',
|
|
8
|
-
type: 'Boolean',
|
|
9
|
-
defaultValue: false,
|
|
10
|
-
})
|
|
11
|
-
|
|
12
|
-
navigationElement.createField('expandedMobile', {
|
|
13
|
-
name: 'Expanded Mobile',
|
|
14
|
-
type: 'Boolean',
|
|
15
|
-
defaultValue: false,
|
|
16
|
-
})
|
|
17
|
-
},
|
|
18
|
-
down: function (migration) {
|
|
19
|
-
const navigationElement = migration.editContentType('navigationElement')
|
|
20
|
-
navigationElement.deleteField('highlighted')
|
|
21
|
-
navigationElement.deleteField('expandedMobile')
|
|
22
|
-
},
|
|
23
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
// @ts-check
|
|
3
|
-
/** @type { import('contentful-migration').MigrationFunction } */
|
|
4
|
-
up: async function (migration) {
|
|
5
|
-
const testimonialModule = migration.editContentType('testimonialModule')
|
|
6
|
-
|
|
7
|
-
testimonialModule.createField('mediaPosition', {
|
|
8
|
-
name: 'Media Position',
|
|
9
|
-
type: 'Symbol',
|
|
10
|
-
defaultValue: {
|
|
11
|
-
'en-US': 'Left',
|
|
12
|
-
},
|
|
13
|
-
validations: [
|
|
14
|
-
{
|
|
15
|
-
in: ['Left', 'Right'],
|
|
16
|
-
},
|
|
17
|
-
],
|
|
18
|
-
})
|
|
19
|
-
},
|
|
20
|
-
down: async function (migration) {
|
|
21
|
-
const testimonialModule = migration.editContentType('testimonialModule')
|
|
22
|
-
testimonialModule.deleteField('mediaPosition')
|
|
23
|
-
},
|
|
24
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
// @ts-check
|
|
3
|
-
/** @type { import('contentful-migration').MigrationFunction } */
|
|
4
|
-
up: function (migration) {
|
|
5
|
-
const tileContent = migration.editContentType('tileContent')
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
// Create the new media field with support for both image and video
|
|
9
|
-
tileContent.editField('image', {
|
|
10
|
-
name: 'Media',
|
|
11
|
-
type: 'Link',
|
|
12
|
-
linkType: 'Entry',
|
|
13
|
-
required: false,
|
|
14
|
-
validations: [{ linkContentType: ['image', 'video'] }],
|
|
15
|
-
})
|
|
16
|
-
|
|
17
|
-
},
|
|
18
|
-
|
|
19
|
-
// @ts-check
|
|
20
|
-
/** @type { import('contentful-migration').MigrationFunction } */
|
|
21
|
-
down: async function (migration) {
|
|
22
|
-
const tileContent = migration.editContentType('tileContent')
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
// Restore the old image field
|
|
26
|
-
tileContent.editField('image', {
|
|
27
|
-
name: 'Image',
|
|
28
|
-
type: 'Link',
|
|
29
|
-
linkType: 'Entry',
|
|
30
|
-
required: false,
|
|
31
|
-
validations: [{ linkContentType: ['image'] }],
|
|
32
|
-
})
|
|
33
|
-
},
|
|
34
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
// @ts-check
|
|
3
|
-
/** @type { import('contentful-migration').MigrationFunction } */
|
|
4
|
-
up: function (migration) {
|
|
5
|
-
const containerModule = migration.editContentType('containerModule')
|
|
6
|
-
containerModule.editField('variant').items({
|
|
7
|
-
type: 'Symbol',
|
|
8
|
-
validations: [
|
|
9
|
-
{
|
|
10
|
-
in: ['Hero', 'Centered', 'Feature'],
|
|
11
|
-
},
|
|
12
|
-
],
|
|
13
|
-
})
|
|
14
|
-
containerModule.changeFieldControl('variant', 'builtin', 'checkbox', {
|
|
15
|
-
helpText:
|
|
16
|
-
'Determines layout style. Hero: full-bleed page hero with h1. Centered: standard centered layout. Feature: 50/50 split with flush image, stacks at tablet.',
|
|
17
|
-
})
|
|
18
|
-
},
|
|
19
|
-
|
|
20
|
-
// @ts-check
|
|
21
|
-
/** @type { import('contentful-migration').MigrationFunction } */
|
|
22
|
-
down: async function (migration) {
|
|
23
|
-
const containerModule = migration.editContentType('containerModule')
|
|
24
|
-
containerModule.editField('variant').items({
|
|
25
|
-
type: 'Symbol',
|
|
26
|
-
validations: [
|
|
27
|
-
{
|
|
28
|
-
in: ['Hero', 'Centered'],
|
|
29
|
-
},
|
|
30
|
-
],
|
|
31
|
-
})
|
|
32
|
-
containerModule.changeFieldControl('variant', 'builtin', 'checkbox', {
|
|
33
|
-
helpText:
|
|
34
|
-
'Determines Text size and alignment will be top left unless centered is selected as well',
|
|
35
|
-
})
|
|
36
|
-
},
|
|
37
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { gql } from 'graphql-tag';
|
|
2
|
-
import { accordionItemFragment } from './fragments.js';
|
|
3
|
-
export const getAccordion = gql `
|
|
4
|
-
${accordionItemFragment}
|
|
5
|
-
query accordionQuery($id: String!, $preview: Boolean = false) {
|
|
6
|
-
accordion(id: $id, preview: $preview) {
|
|
7
|
-
__typename
|
|
8
|
-
headline
|
|
9
|
-
accordionType
|
|
10
|
-
loadMoreButtonTitle
|
|
11
|
-
startOpen
|
|
12
|
-
accordionItemCollection {
|
|
13
|
-
items {
|
|
14
|
-
...accordionItemFragment
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
`;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { gql } from 'graphql-tag';
|
|
2
|
-
export const getCarousel = gql `
|
|
3
|
-
query carouselQuery($id: String!, $preview: Boolean = false) {
|
|
4
|
-
carouselModule(id: $id, preview: $preview) {
|
|
5
|
-
headline
|
|
6
|
-
backgroundColor
|
|
7
|
-
variant
|
|
8
|
-
carouselItemsCollection {
|
|
9
|
-
items {
|
|
10
|
-
... on TestimonialModule {
|
|
11
|
-
sys {
|
|
12
|
-
id
|
|
13
|
-
}
|
|
14
|
-
__typename
|
|
15
|
-
}
|
|
16
|
-
... on TileContent {
|
|
17
|
-
sys {
|
|
18
|
-
id
|
|
19
|
-
}
|
|
20
|
-
__typename
|
|
21
|
-
}
|
|
22
|
-
... on ContainerModule {
|
|
23
|
-
sys {
|
|
24
|
-
id
|
|
25
|
-
}
|
|
26
|
-
__typename
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
`;
|
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
import { gql } from 'graphql-tag';
|
|
2
|
-
import { imageFragment, videoFragment } from './fragments.js';
|
|
3
|
-
export const getContainerModule = gql `
|
|
4
|
-
${imageFragment}
|
|
5
|
-
${videoFragment}
|
|
6
|
-
query containerModuleQuery($id: String!, $preview: Boolean = false) {
|
|
7
|
-
containerModule(id: $id, preview: $preview) {
|
|
8
|
-
headline {
|
|
9
|
-
json
|
|
10
|
-
links {
|
|
11
|
-
entries {
|
|
12
|
-
inline {
|
|
13
|
-
sys {
|
|
14
|
-
id
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
fullWidthContent {
|
|
21
|
-
... on Accordion {
|
|
22
|
-
sys {
|
|
23
|
-
id
|
|
24
|
-
}
|
|
25
|
-
__typename
|
|
26
|
-
}
|
|
27
|
-
... on TileContent {
|
|
28
|
-
sys {
|
|
29
|
-
id
|
|
30
|
-
}
|
|
31
|
-
__typename
|
|
32
|
-
}
|
|
33
|
-
... on ContentModule {
|
|
34
|
-
sys {
|
|
35
|
-
id
|
|
36
|
-
}
|
|
37
|
-
__typename
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
leftContent {
|
|
41
|
-
... on Accordion {
|
|
42
|
-
sys {
|
|
43
|
-
id
|
|
44
|
-
}
|
|
45
|
-
__typename
|
|
46
|
-
}
|
|
47
|
-
... on TileContent {
|
|
48
|
-
sys {
|
|
49
|
-
id
|
|
50
|
-
}
|
|
51
|
-
__typename
|
|
52
|
-
}
|
|
53
|
-
... on ContentModule {
|
|
54
|
-
sys {
|
|
55
|
-
id
|
|
56
|
-
}
|
|
57
|
-
__typename
|
|
58
|
-
bodyCopy {
|
|
59
|
-
json
|
|
60
|
-
links {
|
|
61
|
-
entries {
|
|
62
|
-
inline {
|
|
63
|
-
sys {
|
|
64
|
-
id
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
backgroundColor
|
|
71
|
-
}
|
|
72
|
-
... on Image {
|
|
73
|
-
sys {
|
|
74
|
-
id
|
|
75
|
-
}
|
|
76
|
-
__typename
|
|
77
|
-
}
|
|
78
|
-
... on Video {
|
|
79
|
-
sys {
|
|
80
|
-
id
|
|
81
|
-
}
|
|
82
|
-
__typename
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
rightContent {
|
|
86
|
-
... on Accordion {
|
|
87
|
-
sys {
|
|
88
|
-
id
|
|
89
|
-
}
|
|
90
|
-
__typename
|
|
91
|
-
}
|
|
92
|
-
... on TileContent {
|
|
93
|
-
sys {
|
|
94
|
-
id
|
|
95
|
-
}
|
|
96
|
-
__typename
|
|
97
|
-
}
|
|
98
|
-
... on ContentModule {
|
|
99
|
-
sys {
|
|
100
|
-
id
|
|
101
|
-
}
|
|
102
|
-
__typename
|
|
103
|
-
}
|
|
104
|
-
... on Image {
|
|
105
|
-
sys {
|
|
106
|
-
id
|
|
107
|
-
}
|
|
108
|
-
__typename
|
|
109
|
-
}
|
|
110
|
-
... on Video {
|
|
111
|
-
sys {
|
|
112
|
-
id
|
|
113
|
-
}
|
|
114
|
-
__typename
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
backgroundImage {
|
|
118
|
-
...imageFragment
|
|
119
|
-
}
|
|
120
|
-
backgroundColor
|
|
121
|
-
variant
|
|
122
|
-
mobileImagePosition
|
|
123
|
-
testimonialTile {
|
|
124
|
-
entryName
|
|
125
|
-
headline
|
|
126
|
-
quote
|
|
127
|
-
author
|
|
128
|
-
details
|
|
129
|
-
media {
|
|
130
|
-
... on Image {
|
|
131
|
-
...imageFragment
|
|
132
|
-
}
|
|
133
|
-
... on Video {
|
|
134
|
-
...videoFragment
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
`;
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { gql } from 'graphql-tag';
|
|
2
|
-
import { imageFragment, ctaFragment } from './fragments.js';
|
|
3
|
-
export const getContentModule = gql `
|
|
4
|
-
${imageFragment}
|
|
5
|
-
${ctaFragment}
|
|
6
|
-
query contentModuleQuery($id: String!, $preview: Boolean = false) {
|
|
7
|
-
contentModule(id: $id, preview: $preview) {
|
|
8
|
-
alignment
|
|
9
|
-
logo {
|
|
10
|
-
...imageFragment
|
|
11
|
-
}
|
|
12
|
-
subHeadline
|
|
13
|
-
headline {
|
|
14
|
-
json
|
|
15
|
-
links {
|
|
16
|
-
entries {
|
|
17
|
-
inline {
|
|
18
|
-
sys {
|
|
19
|
-
id
|
|
20
|
-
}
|
|
21
|
-
... on HighlightedText {
|
|
22
|
-
text
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
bodyCopy {
|
|
29
|
-
json
|
|
30
|
-
links {
|
|
31
|
-
entries {
|
|
32
|
-
inline {
|
|
33
|
-
sys {
|
|
34
|
-
id
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
ctasCollection(limit: 6) {
|
|
41
|
-
items {
|
|
42
|
-
...ctaFragment
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
backgroundColor
|
|
46
|
-
alignment
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
`;
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { gql } from 'graphql-tag';
|
|
2
|
-
import { socialMediaFragment, imageFragment, linkFragment, } from './fragments.js';
|
|
3
|
-
export const getFooter = gql `
|
|
4
|
-
${socialMediaFragment}
|
|
5
|
-
${imageFragment}
|
|
6
|
-
${linkFragment}
|
|
7
|
-
query footerQuery($id: String!, $preview: Boolean = false) {
|
|
8
|
-
footer(id: $id, preview: $preview) {
|
|
9
|
-
backgroundColor
|
|
10
|
-
logo {
|
|
11
|
-
...imageFragment
|
|
12
|
-
}
|
|
13
|
-
socialMediaCollection(limit: 10) {
|
|
14
|
-
items {
|
|
15
|
-
...socialMediaFragment
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
navigationElementsCollection(limit: 10) {
|
|
19
|
-
items {
|
|
20
|
-
sys {
|
|
21
|
-
id
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
copyright
|
|
26
|
-
copyrightLinksCollection {
|
|
27
|
-
items {
|
|
28
|
-
sys {
|
|
29
|
-
id
|
|
30
|
-
}
|
|
31
|
-
link {
|
|
32
|
-
...linkFragment
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
copyrightLogosCollection {
|
|
37
|
-
items {
|
|
38
|
-
...imageFragment
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
legalText
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
`;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { DocumentNode } from 'graphql';
|
|
2
|
-
export declare const imageFragment: DocumentNode;
|
|
3
|
-
export declare const videoFragment: DocumentNode;
|
|
4
|
-
export declare const metaDataFragment: DocumentNode;
|
|
5
|
-
export declare const accordionItemFragment: DocumentNode;
|
|
6
|
-
export declare const linkFragment: DocumentNode;
|
|
7
|
-
export declare const ctaFragment: DocumentNode;
|
|
8
|
-
export declare const tileLabelFragment: DocumentNode;
|
|
9
|
-
export declare const tileContentFragment: DocumentNode;
|
|
10
|
-
export declare const socialMediaFragment: DocumentNode;
|
|
11
|
-
export declare const navigationElementFragment: DocumentNode;
|
|
@@ -1,172 +0,0 @@
|
|
|
1
|
-
import { gql } from 'graphql-tag';
|
|
2
|
-
export const imageFragment = gql `
|
|
3
|
-
fragment imageFragment on Image {
|
|
4
|
-
__typename
|
|
5
|
-
entryName
|
|
6
|
-
altTag
|
|
7
|
-
media {
|
|
8
|
-
url
|
|
9
|
-
title
|
|
10
|
-
description
|
|
11
|
-
}
|
|
12
|
-
mobileMedia {
|
|
13
|
-
url
|
|
14
|
-
title
|
|
15
|
-
description
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
`;
|
|
19
|
-
export const videoFragment = gql `
|
|
20
|
-
fragment videoFragment on Video {
|
|
21
|
-
__typename
|
|
22
|
-
entryName
|
|
23
|
-
url
|
|
24
|
-
thumbnail {
|
|
25
|
-
...imageFragment
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
`;
|
|
29
|
-
export const metaDataFragment = gql `
|
|
30
|
-
${imageFragment}
|
|
31
|
-
fragment metaDataFragment on PageMetadata {
|
|
32
|
-
entryName
|
|
33
|
-
title
|
|
34
|
-
description
|
|
35
|
-
keywords
|
|
36
|
-
socialImage {
|
|
37
|
-
...imageFragment
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
`;
|
|
41
|
-
export const accordionItemFragment = gql `
|
|
42
|
-
${imageFragment}
|
|
43
|
-
fragment accordionItemFragment on AccordionItem {
|
|
44
|
-
headline
|
|
45
|
-
bodyCopy {
|
|
46
|
-
json
|
|
47
|
-
links {
|
|
48
|
-
entries {
|
|
49
|
-
inline {
|
|
50
|
-
sys {
|
|
51
|
-
id
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
icon {
|
|
58
|
-
...imageFragment
|
|
59
|
-
}
|
|
60
|
-
color
|
|
61
|
-
}
|
|
62
|
-
`;
|
|
63
|
-
export const linkFragment = gql `
|
|
64
|
-
fragment linkFragment on Link {
|
|
65
|
-
ariaDescription
|
|
66
|
-
page {
|
|
67
|
-
sys {
|
|
68
|
-
id
|
|
69
|
-
}
|
|
70
|
-
slug
|
|
71
|
-
}
|
|
72
|
-
anchor
|
|
73
|
-
externalUrl
|
|
74
|
-
target
|
|
75
|
-
ariaLabel
|
|
76
|
-
}
|
|
77
|
-
`;
|
|
78
|
-
export const ctaFragment = gql `
|
|
79
|
-
${linkFragment}
|
|
80
|
-
${imageFragment}
|
|
81
|
-
fragment ctaFragment on Cta {
|
|
82
|
-
title
|
|
83
|
-
link {
|
|
84
|
-
...linkFragment
|
|
85
|
-
}
|
|
86
|
-
type
|
|
87
|
-
logo {
|
|
88
|
-
...imageFragment
|
|
89
|
-
}
|
|
90
|
-
ariaLabel
|
|
91
|
-
ariaDescription
|
|
92
|
-
target
|
|
93
|
-
anchor
|
|
94
|
-
size
|
|
95
|
-
}
|
|
96
|
-
`;
|
|
97
|
-
export const tileLabelFragment = gql `
|
|
98
|
-
fragment tileLabelFragment on TileLabel {
|
|
99
|
-
entryName
|
|
100
|
-
copy
|
|
101
|
-
color
|
|
102
|
-
}
|
|
103
|
-
`;
|
|
104
|
-
export const tileContentFragment = gql `
|
|
105
|
-
${imageFragment}
|
|
106
|
-
${ctaFragment}
|
|
107
|
-
${tileLabelFragment}
|
|
108
|
-
fragment tileContentFragment on TileContent {
|
|
109
|
-
subheadline
|
|
110
|
-
headline
|
|
111
|
-
bodyCopy {
|
|
112
|
-
json
|
|
113
|
-
links {
|
|
114
|
-
entries {
|
|
115
|
-
inline {
|
|
116
|
-
sys {
|
|
117
|
-
id
|
|
118
|
-
}
|
|
119
|
-
... on HighlightedText {
|
|
120
|
-
text
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
image {
|
|
127
|
-
...imageFragment
|
|
128
|
-
}
|
|
129
|
-
backgroundColor
|
|
130
|
-
ctasCollection(limit: 6) {
|
|
131
|
-
items {
|
|
132
|
-
...ctaFragment
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
tileLabel {
|
|
136
|
-
...tileLabelFragment
|
|
137
|
-
}
|
|
138
|
-
alignment
|
|
139
|
-
variant
|
|
140
|
-
}
|
|
141
|
-
`;
|
|
142
|
-
export const socialMediaFragment = gql `
|
|
143
|
-
${imageFragment}
|
|
144
|
-
${linkFragment}
|
|
145
|
-
fragment socialMediaFragment on SocialMedia {
|
|
146
|
-
link {
|
|
147
|
-
...linkFragment
|
|
148
|
-
}
|
|
149
|
-
icon {
|
|
150
|
-
...imageFragment
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
`;
|
|
154
|
-
export const navigationElementFragment = gql `
|
|
155
|
-
${linkFragment}
|
|
156
|
-
fragment navigationElementFragment on NavigationElement {
|
|
157
|
-
title
|
|
158
|
-
link {
|
|
159
|
-
...linkFragment
|
|
160
|
-
}
|
|
161
|
-
subNavigationElementsCollection(limit: 10) {
|
|
162
|
-
items {
|
|
163
|
-
... on NavigationElement {
|
|
164
|
-
title
|
|
165
|
-
link {
|
|
166
|
-
...linkFragment
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
`;
|